Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Following this question, running /usr/bin/reset destroys my backspace functionality.

What can I do? After pressing backspace I get ^?

share|improve this question
1  
what terminal application are you using? gnome-terminal? can you try it on xterm or konsole or other terminal app and tell us if you get the same results? –  nmuntz Jul 26 '09 at 13:33
    
Also post the value of $TERM –  Dennis Williamson Jul 26 '09 at 13:58
add comment

3 Answers

up vote 4 down vote accepted

This will make the terminal interpret the key as Backspace:

stty erase "^?"

(^? can be either the Backspace key, or the literal ^ ?.)

share|improve this answer
    
works for me +1 –  flybywire Jul 27 '09 at 8:15
add comment

Probably you need to fix you TERM variable to more accurately reflect the terminal emulator you are actually using. See man reset.

What's happening here is reset is putting things into a very vanilla state to insure that you can do some interaction with the terminal. If your login scripts set up any key interpretation rules not covered by your TERM variable (like the one suggested by grawity), you will have to reapply these by hand.

share|improve this answer
add comment

The everything-you-wanted-to-know-and-more answer:

http://tldp.org/HOWTO/BackspaceDelete/index.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.