[Malvern] Backspace setting during login

Steve Cashmore mlug at cashmore.me.uk
Wed Sep 6 14:24:31 BST 2006


Hi all,

I have been bugged for a long time regarding the handling of the 
backspace key during a remote login to Linux boxes.  It crops up and I 
try to fix it, give up, and then forget until it comes around again!

The issue is that the default login handler treats DEL (0x7F) as the 
delete last character code rather than BACKSPACE (0x08).  While this can 
easily be changed *post-login* with "stty erase ^H", I have yet to find 
a way to do it *pre-login* on the linux box in question, Fedora 4.

I'm logging into the Fedora box via an embedded PC using telnet.  This 
does transmit 0x08 when pressing the backspace key so I just need to 
find a way to persuade the Fedora box to perform the above environment 
change before 'telnetd' calls 'login'.

Any bright ideas, so far I've failed miserably?
-- 
Steve




More information about the Malvern mailing list