It sounds like you are suggesting that no correction of this condition can be made. If so, I am open to suggestions as to other ssh clients.
Main Topics
Browse All TopicsI am using putty to connect to a FreeBSD system. I would like the delete key to operate by deleting the character under the cursor and leaving the cursor in the same posiion.
Instead, it causes a beep and inserts a hyphen ("-"). <-- not a smiley, showing the hyphen.
This happens no matter what keyboard emulation or setting I have in putty (except that SCO emulation makes it act like the backspace key).
I believe that putty it is trying to insert ESC- for the delete key . The backspace works normally.
Is there a stty setting that I can use to enable "proper" delete key functioning?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
That's been bugging me for ages to, your question prompted me to find the solution. I hope you enjoy it as much as I do now ;)
Caveat: this is a solution for the Bash shell (which I assume you are using). If you're using another shell, follow the link at the bottom for other workarounds.
Create a file, /etc/inputrc for system wide use or ~/.inputrc for personal use. Actually, this is the readline initialization file, readline is a library that some programs (bash, kvt) use to read input (try bind -v to see a list of readline key and function bindings). Cut and paste the following in the file to make the Delete key delete characters under the cursor, and make Home and End work as well:
"\e[3~": delete-char
# this is actually equivalent to "\C-?": delete-char
# VT
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# kvt
"\e[H":beginning-of-line
"\e[F":end-of-line
# rxvt and konsole (i.e. the KDE-app...)
"\e[7~":beginning-of-line
"\e[8~":end-of-line
I did it with a local ~/.inputrc. Log in again and enjoy. (The solution will also fix the Home/End keys)
You can find out everything you could every want to know about the Delete/Backspace keys on linux here: http://www.ibb.net/~anne/k
I found that link from here: http://staff.washington.ed
Regards,
Patrick
Rubbish, it's in the ports tree. The fact that jasimon9 was having the same term/PuTTY problems as me makes me think he/she may be using bash like I am.
FYI, long description of the bash port here: http://www.freebsd.org/cgi
Business Accounts
Answer for Membership
by: gheistPosted on 2006-04-01 at 00:59:22ID: 16348834
Putty as installed on FreeBSD constantly inserts Esc[n~ no matter keyboard config tickmarks , which is fine by Linux, but not good with anything else.