Albert L. Ting wrote:
When running xemacs with the -nw switch, ctrl-h is treated as a
backspace. Anyway I can prevent this?
It depends.
1. If your Backspace key generates ASCII code 8, then there is
absolutely no way that XEmacs (or any other program) can tell the
difference between C-h and Backspace. Anything that prevents C-h from
generating 'backspace will also prevent the Backspace key from
generating 'backspace, which is likely to be undesirable.
2. OTOH, if your Backspace key generates something other than ASCII
code 8, then your terminal settings are misconfigured. XEmacs uses the
terminal's erase character (i.e. the "stty erase" setting) as
backspace (as does the kernel's tty driver).
The fix depends upon which of the above is true.
If it's case 1, you can either:
a) live with it, or
b) reconfigure your terminal so that case 2 applies.
If it's case 2, you can either fix it yourself (the details depend
upon the type of terminal, e.g. serial terminal, linux console, xterm,
telnet), or complain to your OS vendor until they fix it, or use an OS
which gets it right to start with.
--
Glynn Clements <glynn.clements(a)virgin.net>