Dan Glastonbury wrote:
Is it possible to make backspace not invoke C-h and not break either
functionality?! When I want to use xemacs without a window, backspace
invokes help which is annoying, 'cos I tend to bash on backspace quite a
bit. So I tried adding
(keyboard-translate ?\C-h ?\C-?)
and backspace now deletes backwards. Yaa! But C-h doesn't invoke help
anymore. Boo :(.
What do I have to get this sorted out for tty emacsen, this problem doesn't
exist for in a windowed frame (ie. non-tty).
PS: I tried stty erase ^? in a shell before xemacs -nw, but backspace still
invoked help.
You have to ensure that the Backspace key actually generates \177,
e.g. using loadkeys (Linux console), Xt translations (xterm, rxvt)
etc. Otherwise, there's no way that you can distinguish Backspace from
C-h.
--
Glynn Clements <glynn(a)sensei.co.uk>