Delete key prints “~” in putty

putty

i am SSHing to a RHEL-3 box using Putty. Backspace works correctly, but when I press the "Delete" key the deletion does not happen. Instead, it prints "~" on the screen.

Thanks in advance,
Ajay

Best Answer

Have you tried changing your options in the PuTTY keyboard pannel?

Alternatively, you can try to create a ~/.inputrc file on the RH box, with the following contents:

"\e[3~": delete-char

Once you've created the ~/.inputrc file, restart the shell.