> ... Emacs (emacs-nox) does some strange stuff with the
> delete and backspace keys when run in an xterm (works fine in virtual
> terminal) So basicly I have to use the delete key to edit text while the
> backspace key sends ctrl-h ...
Best solution:
Don't run it in an xterm. And don't use the -nox version.
When emacs gets run with the DISPLAY environment set, so that (the X
capable version) it knows that it's running to an X display (try xon
if you're not running it locally), then it connects to the server
directly, and can tell the difference between the backspace key and a
control-H just fine. It is the xterm that is making the keys
indistinguishable, sending 0x08 for both.
Otherwise:
If you can't run the X capable version, or can't properly set
the DISPLAY environment variable, or can't get Xauthority or xhosts
set correctly, maybe you can arrange for xterm to treat the backspace
key as delete, but I doubt it. It is (probably) possible to remove
the help binding from control-H and bind it to delete-backward-char in
emacs, if you want to live without the help system. Or you could set
the X keyboard bindings so that the backspace key is treated as DEL,
but, I believe, only globally, so you wouldn't have backspace availble
in other programs (unless control-H works).
Bill
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************