Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

share|improve this question
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
up vote 5 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

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

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .