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

On Ubuntu (9.10) I have the problem that when I open a terminal (standard gnome terminal), the del key does not work. Instead it print a ~ character. When I open an new tab, it most of the time is resolved in this old tab, but not in the new one.

What can be the thing that is causing this? The gnome terminal compatibility settings are "ASCII DEL" for the backspace key and "Automatic" for the delete key.

One thing I noticed, when I ssh into a machine in a different network (with different account/bashrc etc.) the del key starts working. When I ssh into a machine here in the network with the same account/bashrc/bash_profile it still doesn't work.

What can I do to fix this?

share|improve this question
up vote 3 down vote accepted

Read "Consistent BackSpace and Delete Configuration", especially the section about "Bash":

"\e[3~": delete-char

try to put that to your .bashrc.

share|improve this answer
I just copied all the suggested code into .inputrc. Thanks for the help! – Peter Smit Jul 16 '10 at 7:49

You must log in to answer this question.

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