Home » Questions » Computers [ Ask a new question ]

How to make HOME or END keys work in mc running on OS X (ssh)

How to make HOME or END keys work in mc running on OS X (ssh)

I installed MacPorts on OS X 10.5 and I found out that when I connect to the computer using SSH and use mc - Midnight Commander - the HOME and END keys do not work.

Asked by: Guest | Views: 373
Total answers/comments: 3
bert [Entry]

"The keyboard mappings for home and end in Terminal.app are not direct, but you can fix them. To get them to work directly, go to Terminal -> Preferences... -> Settings screen -> Keyboard and then find the lines for these keys and click the edit button for them (or add them if they are missing for some reason).

Be careful to not have any leading or trailing spaces as well for these.

home key code:

\033[H

end key code:

\033[F

page-up key code:

\033[5~

page-down key code:

\033[6~"
bert [Entry]

Hold down the shift key for Home/End PgUp/Pg down in Terminal.app in order to not let Terminal use these keys for the scrollback. This way (with shift) Terminal will pass the keys on to the application running in the window.
Qdawrd [Entry]

purchase lipitor pill <a href="https://lipiws.top/">buy atorvastatin without prescription</a> lipitor order online