>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> sperber(a)informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) writes:
kazz> You could just do "stty erase ^H", instead of using "Delete"
for
kazz> erase.
kazz> You'd lose Backspace for help-command prefix but you could use f1.
>
> Sure, F1 works. But I don't really want to globally use ^H for
> erase.
Jan> Then why do you have your backspace generating that code? Note that the
Jan> problem is that most shell support ^H as erase regardless of the stty
Jan> setting and thus hide the problem. Try something less intelligent that
Jan> takes tty input and you'll see that ^h doesn't work there too.
> Why can't I rebind the damn key in XEmacs?
Jan> You can. Just set tty-erase-char explicitly. However you really don't
Jan> want to do that. What you really want is to make your backspace key
Jan> generate DEL instead.
Jan> For instance in xterms you do this
Jan> XTerm*vt100.translations: #override <Key>BackSpace: string(0x7f) \n\
Jan> <Key>Delete: string(0x1b) string([3~)
Jan> Every terminal emulator worthy of the name has a similar option.
All excellent answers. (Thanks, Jan!) They still doesn't answer the
basic question why I can't rebind this key inside XEmacs, when I can
rebind every other key. Note that I don't care about most of the
issues raised by other people. I don't care about Help, specifically.
--
Cheers =8-} Chipsy
Friede, Völkerverständigung und überhaupt blabla