On 12/19/15 3:44 PM, Random832 wrote:
Will Senn <[email protected]> writes:

I am trying to use xterm, now that I have terminal behaving
better. But, the keymapping is really weird: pressing the delete key
displays ^H, pressing CTRL-DELETE, effectively backspaces, and
pressing fn-F5, which in Terminal is mapped to ESC-O-w, displays 5~.
Do you know where xterm is getting its key mapping from? If it's a
file, do you know of a VT100 file of mappings? I have a feeling that
the default mapping is way off.
Xterm's mappings are bult in. F5 and beyond are based on the
VT220, since there were no equivalent keys on a real VT100.  You
would need to use a numeric keypad to get keys like ESC-O-w from
the default mappings. You can control the keys in ~/.Xdefaults,
though. See the answer to this question on Stack Overflow:
http://stackoverflow.com/questions/11840763/

Delete and Backspace is an issue with a long history, and can be
controlled through a separate option "backarrowKeyIsErase".


As for the delete-backspace issue, I appreciate the tip. Anne Baretta did a really good write up on how to get consistent behavior in linux for these miscreant keys:

http://www.ibb.net/~anne/keyboard/keyboard.html

Thanks,

Will

_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to