How to make HOME or END keys work in mc running on OS X (ssh)
- by Sorin Sbarnea
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.
I have to mention that I'm using putty and I am able to use the keyboard very well on Linux machines like Fedora, Ubuntu,...
Here is putty keyboard configuration (a configuration I found to be optimal over time):
Backspace key: 127
Home/End keys: Standard
Function keys: Xterm R6
Cursor keys: Normal
Numpad: normal
Terminal type string: xterm-color
I'm looking for a command line solution/script that does these changes, this make much easier to create a prepare OS script for configuring a new OS.