I have a fresh Redhat Linux version 7 install. I have managed to get the backspace key to work under all X programs, but the Delete key is still giving me headaches. The delete key under X works for the login prompt (graphical) and it works fine in Netscape. However in all terminal programs it just produces ~ symbols. I have a UK keyboard if this helps? this is similar to bug 18771 but that was for backspace and not the delete key. If I use 'less' the the backspace key just produces ^H's and the delete key, enters the entry and does not delete. Also ftp to any remote system with a command line ftp, backspace produces ^H and delete produces ~[[3 or something like that. Any suggestions. If the delete key didn't work in the login and netscape programs I would think it q bug, but as it only doesn;t work in terminal and related command line programs I'm stuck. I have read the HOWTOs etc and no end of playing with keymaps, stty etc, makes no difference. This use to work fine with Redhat 5.0, 5.1, 5.2, 6.0 and 6.1. Please help.
I should have included that I am using TCSH as the shell.
tcsh needs to learn ^[[3~ is delete.
I have tried this and sure enough delete now works in tcsh sessions, however command line 'ftp' and 'more' still do not work, so these must be using the terminal driver? any idea how I can force the terminal driver to operate on delete correctly?
/etc/csh.login has been updated so that tcsh gets taught what the delete key is.
Isn't there any more generic solution? When you ssh into non-RH7{,1} boxes, delete key is broken unless you add it to the shell initialization there too.
Shouldn't the fix in /etc/csh.login go into /etc/csh.cshrc instead? Otherwise the delete key keeps failing in non-login shells (e.g., terminal under X).