I'm on a linux box:
jla@jaspden-desktop$ uname -a Linux jaspden-desktop 126.96.36.199-92.fc14.i686 #1 SMP Sat May 21 17:39:42 UTC 2011 i686 i686 i386 GNU/Linux
here, at the command prompt, the backspace key deletes the character behind the cursor, and the delete key deletes the character underneath the cursor.
I log in remotely to another box of ours:
$ ssh anvil Last login: Thu Sep 15 11:58:38 2011 from maspben-desktop.uk.level5networks.com $ uname -a Linux anvil 2.6.9-89.ELlargesmp #1 SMP Mon Apr 20 10:43:12 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Now the backspace key still works as before, but the delete key doesn't delete anything. Instead, it inserts a tilde like so:
If I then run tcsh on the remote box,
The delete key works as if it were backspace, deleting the character behind the cursor.
If I go back to bash, it reverts to its tilde-inserting mode.
Any ideas how to fix/debug this? It's driving me up the wall.