
There are a lot of solutions for this problem. But for me, the first thing to try is to change the terminal type in bash.
If you get the following and you are using bash:
$env | grep TERM
TERM=xterm-color
Try changing the .bashrc file by adding the following line:
TERM=xterm
Log out of the terminal session and log back in to use the new terminal type. Your delete key should now work properly.
This has solved my backspace and delete mismappings 90% of the time.
© 2010–2011 Crumpeta Consulting LLC.