When I use lynx via sshing to a Debian box from MacOS X (Leopard), it doesn't recognize my default backspace ('^?') as such. I would like to know how to map backspace to '^?' for that particular process. I haven't been satisfied with these solutions:
1) Setting Terminal to send ^H on Delete and then using 'stty erase ^H' in my bashrc. This makes things work for lynx but it breaks emacs; I'm used to hitting M-del to delete a whole word and using ^H breaks this behavior for me.
2) Recompile lynx to accept ^? as 'erase'. This isn't worth it to me.
3) Use a simpler term value like vt100. I use xterm-color because I like colors.
I've read this http://www.ibb.net/~anne/keyboard.html which was interesting, but configuring inputrc didn't help.
Thanks
^?
is the default behavior on Debian (so it's supposed to work in all applications by default), and on my Debian (lenny) box, both^?
and^h
do backspace in lynx, withTERM=xterm-color
and eitherstty erase '^?'
orstty erase '^h'
.