also try
xmodmap -e 'keycode 83 = BackSpace'
Main Topics
Browse All TopicsHello,
How can I enable backspace on xterms on a Linux machine? Now I need to
'ctrl+H' to erase for the same. When I type backspace , "~" appears.
I have tried all the following but no effect
1) stty erase ^h
2) stty erase ^H
3) stty erase ^?
4) stty erase ~
I am putting the display of 'stty -a' on the Linux machine
stty -a
speed 38400 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
Thanks for any pointers,
Regards,
Harsha
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.
Hello avizit,
Thanks for your time and help.
Yes. I have tried stty erase <backspace key> but no effect.
I did the following, but again no effect
xmodmap -e 'keycode 83 = BackSpace'
Hello makhan,
Thanks for your time and help.
I suppose I am connecting thru telnet. The sequence is like this.
First I will login to a solaris machine. From there I will login to a Linux machine using 'ssh'. Now in console, I do not find this problem. But if I use xterm, the problem is seen. Also in our work, we have accesses to router-consoles thru telnet. When we login to routers thru such connections, this problem is seen.
Thanks,
Harsha
Now when u connect using ssh... There are a few considerations.
It depends on your terminal setting after the login shell is given to you..
So you have to check what is ur TERM setting.
May be u should try and use the command below to check what is your TERM variable
set | grep TERM
this will give u the current term setting.
It may be ANSI or some other variable depending upon the settings in your /etc/profile or /home/<youruser>/.bash_pro
You need to set the TERM variable equal to what is specified for the Solaris terminal from where you are doing the ssh login.
Also if the specified terminal is not in linux terminal definitions (/etc/termcap) then u have to use a nearest match or otherwise
define a termcap entry for your terminal. .. you can perhaps migrate the setting from your solaris machine...
this is a plain text file entry.
Regards!
Business Accounts
Answer for Membership
by: avizitPosted on 2004-12-07 at 22:02:11ID: 12770900
did you try
stty erase <backspace key>