Making Mac OS X Terminal Behave Like DOS/Linux - Sems.org
Tue. Oct 14th, 2025

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.

KeyActionKeystrokes
control cursor left\033bESC b
control cursor right\033fESC f
end\005CTRL+e
home\001CTRL+a
page down\026CTRL+v
page up\033vESC v

That will be give you back the settings you are used to :), kudos goes to Brian Duff

By Sems

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.