http://lkraider.eipper.com.br/blog/2009/04/using-os-x-terminal-keys-on-macbook-pro.html
Thanks to this post I finally found how to get back the shift PgUp ! you have no idea how vexing it is to use the arrow keys to scroll man pages ..
On the Terminal preferences, go to the Settings item, and choose the Keyboard tab.
Find these keys and edit them (note that the \033 you can get by pressing the esc key):
End - send string to shell: \033[4~
Home - send string to shell: \033[1~
Page down - send string to shell: \033[6~
Page up - send string to shell: \033[5~
Shift page down - scroll to next page in buffer
Shift page up - scroll to previous page in buffer
Find these keys and edit them (note that the \033 you can get by pressing the esc key):
End - send string to shell: \033[4~
Home - send string to shell: \033[1~
Page down - send string to shell: \033[6~
Page up - send string to shell: \033[5~
Shift page down - scroll to next page in buffer
Shift page up - scroll to previous page in buffer
I gave up Mac OS X on my Mac Pro workstation at work and went back to Ubuntu just for this kind of stuffs. I felt like I was swimming against the tide.
ReplyDeleteI still keep Mac OS X in a Macbook Pro at home, but there I use iTerm2[1]. Heck of an improvement over Terminal.
[1]http://www.iterm2.com/
--Carlos