Tip of the Day: Fixing Page Up and Page Down Keys in Leopard's Terminal.app 1

Posted by Ben Allen Mon, 12 May 2008 06:15:00 GMT

To expand on my last post about fixing the home and end keys in Terminal here is how to fix the Page Up and Page Down keys.

Follow the directions in my last post, but instead of choosing the end or home keys select the page up and page down keys.

Set action to send string to shell and in the text box copy and paste: \033[6~ for page down, and \033[5~ for page up in the text box under the action pull-down.

If you can't copy and paste, the key sequence goes as the following: ESC [ 6 ~ and ESC [ 5 ~ respectively. Those two key sequences should expand to the above text.

Trackbacks

Use the following link to trackback from your own site:
http://www.sysadminschronicles.com/trackbacks?article_id=tip-of-the-day-fixing-page-up-and-page-down-keys-in-leopards-terminal-app&day=11&month=05&year=2008

Comments

Leave a comment

  1. Stefan 10 days later:

    Hi,

    this doesen’t work for me. Home and end were fixed though but page up and down still produces the ~ character.

    Stefan

Comments