Operating System - Linux
1827894 Members
1595 Online
109969 Solutions
New Discussion

Enabling backspace during Login

 
ricky2
Frequent Advisor

Enabling backspace during Login

Hi!!!

I need to set my backspace key to work on linux telnet sessions.
Currently it is set to ^h but I want to use backspace.
however the backspace key works after the login but I want to get enabled during the login prompt.
could anyone help me out asap??

thanks,
Ricky
6 REPLIES 6
pabel
Valued Contributor

Re: Enabling backspace during Login

Try this command:

stty erase ^h

Regards.
ricky2
Frequent Advisor

Re: Enabling backspace during Login

pablo,

i know to use stty erase but as I have allready mentoned that I need to work this at the login prompt

ricky
pabel
Valued Contributor

Re: Enabling backspace during Login

Sorry Ricky, I thought you have have this problem after logon. A couple of years ago with fix this problem (Spanish RH 7.3) using:

echo "keycode 14 = BackSpace" | loadkeys

Maybe you can give it a try. If this works you can use a scrip to execute this at boot time or modify your default keymap.

Good luck.
ricky2
Frequent Advisor

Re: Enabling backspace during Login

Pablo,
thanks for the reply ,does it work the same way for english keyboard?
I havent tried the command u had send as I would like to know how to revert back to the original loadkey in case if it doesnt work?..any idea..plz
rgds,
ricky
Alan_152
Honored Contributor

Re: Enabling backspace during Login

In my experience, this is somewhat dependant on the user's shell (so you can set the parameters in the correct file). Which shell are we talking about?
Ken Stailey
Frequent Advisor

Re: Enabling backspace during Login

Try this command:

stty erase "^H" kill "^U" < /dev/ttyconf