STTY and backspace key
Hello,
From my local fedora machine at home I SSH to my remote linux account at work.
The backspace key is not working. When I press the backspace key, the character is not erased, instead I get a new line. Ctrl-H works fine and it erases the characters typed.
I would like to change that so that my backspace key works and I do not have to use the Ctrl-H combination.
I am trying to undestand the man pages for stty but I cannot figure out how to use stty to solve my problem.
I type stty -a and I see that erase = ^? . That is very weird, when I type Ctrl-H, it erases characters, therefore stty -a should show that erase = ^H instead ?
Just to experiment I change the erase key to something else.
stty erase ^I
stty -a now shows that erase = ^I
But Ctrl-I does not do anything and Ctrl-H still erases characters. I am totally lost here can someone please explain to me how that stty command works. I thought that whatever key combinations stty shows for erase should actually erase the characters. It would be great if someone can tell me how to use stty to set my backspace key to work.
Thanks
Richard
|