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

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

  • 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, 2009 at 13:33
  • Also post the value of $TERM Jul 26, 2009 at 13:58

3 Answers 3


This will make the terminal interpret the key as Backspace:

stty erase "^?"

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

  • works for me +1
    – flybywire
    Jul 27, 2009 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.


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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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