Making Mac OS X Terminal Behave Like DOS/Linux
I was going through my bookmarks and such and I remembered an old gem. The default key settings in Mac OS X terminal will drive you nuts, if you are used to DOS or Linux terminal. Especially Home, End, Page Up and Page Down keys.
Fire up your Terminal, go to Preferences -> Settings – Keyboard and modify the following keys, so that their action matches the value shown. You can edit the keystroke for an item by double clicking on it, selecting “send string to shell”, and typing the indicated keys.
Key | Action | Keystrokes |
---|---|---|
control cursor left | \033b | ESC b |
control cursor right | \033f | ESC f |
end | \005 | CTRL+e |
home | \001 | CTRL+a |
page down | \026 | CTRL+v |
page up | \033v | ESC v |
That will be give you back the settings you are used to :), kudos goes to Brian Duff
Leave a Reply