Karl Kleinpaste wrote:
When XEmacs is run in an xterm, however, I learn instead that
the command delete-backward-char" and "B BS is undefined". Worse, it
knows that the key marked "Delete" is generating '\010', because it
induces help functions just like typing an actual "Control H".
I know the keyboard is sending the right characters (\177s generated
 [14:10:37] beaver:~> od -c
0000000 177 177 177 177 \n
It's not a BS, it's a DEL. There's an important difference between
them, and I picked the specified meaning myself. What is giving
XEmacs the idea that it should make some silly extra remapping just
because I'm running it inside an xterm?
XEmacs treats the code which corresponds to the VERASE character as
Backspace (i.e. it is consistent with the kernel's tty driver). If
your Backspace key generates \010, then you need to use
stty erase ^V^H
to tell the tty driver about it.
Glynn Clements <glynn(a)sensei.co.uk>