Bug#2313: xterm keymapping problems suspected
I see with "cat -v" that the HOME key produces ^[[^@
(escape, '[', '\000') from an xterm. This seems improper.
Also, with "stty raw; cat -v", I see that the Backspace and DEL
keys both produce ^? ('\177') in an xterm. (the "cat -v" will
need to be killed from another terminal session after this, and
"reset" or "stty sane" done). The Backspace and DEL keys should
produce distinct sequences.
Also, "infocmp xterm" shows some missing key capability entries and
some entries which don't match what xterm produces for the
corresponding keys. That'll need to be brought into sync with what is
produced by an xterm. This is an ncurses issue, not an xterm issue, but
it can't be fully addressed until xterm behavior is finalized (hopefully
eliminating the problems discussed above).
Note: I'm using a U.S. keyboard (/usr/lib/kbd/keytables/us.map).
firstname.lastname@example.org (Bill Mitchell)