LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Redhat 5, backspace is not working? (https://www.linuxquestions.org/questions/linux-newbie-8/redhat-5-backspace-is-not-working-4175426532/)

sam_nyc 09-10-2012 10:14 AM

Redhat 5, backspace is not working?
 
Hi,

I installed Redhat 5 on a new server. I ssh to the server, I am able to back space and it works. But when I do vi, I type some thing wrong, when I try to backspace. I get ?. Please help.

Code:

#
/ddd^?


Wim Sturkenboom 09-10-2012 10:25 AM

Press <esc> (switch back to command mode) and press <x> (to delete).

bilyboy65 10-10-2012 01:19 PM

Quote:

Originally Posted by sam_nyc (Post 4776935)
Hi,

I installed Redhat 5 on a new server. I ssh to the server, I am able to back space and it works. But when I do vi, I type some thing wrong, when I try to backspace. I get ?. Please help.

Code:

#
/ddd^?


I had the same problem and I was able to solve it with either of these 2 methods.

Adding
:map! ^? ^H to the .exrc file
or
stty erase ^? to my profile file.

good luck.


All times are GMT -5. The time now is 09:16 AM.