Hi!

Currently, a BackSpace key stroke produces ^? on my console
(TERM=linux) and Eterm, indicated by CTRL-v BACKSPACE.

$ ssty -a    
... erase = ^? ...

Vim, man etc. all behave as expected with these settings (backspace
deletes previous character, delete removes character under cursor).
The mutt pager, however, should have <backspace> bound to
<previous-line>, while pressing backspace only results in "key is
not bound". In the shell from inside mutt I can see that stty has
set "erase = ^H". The strange thing is that forcing the console to
send ^H doesn't help but setting TERM="vt100" (and sending ^?)
does.

xterm does "setterm erase ^H" by itself and sends ^H on BACKSPACE,
mutt-pager works.

Eterm only works if sending ^H and stty erase=^H. The problem is
that I can't find a proper configuration for both Eterm and console.

Could somebody explain what this whole ^H/^?-mess is all about? Is
there no clean fix for this issue, without cluttering bashrc with
stty entries and hacking the keymap?

Thank you very much!
Raimar Sandner

--
[EMAIL PROTECTED] mailing list

Reply via email to