Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers

Thread Tools Rate Thread Display Modes
Old 05-18-2009, 01:21 PM   #1
Registered User
Join Date: May 2009
Posts: 1
delete (backspace) problem in x11 when telnetting to solaris

I installed solaris on a box and for convenience I want to administer it from my macbook.

When I start x11 and telnet the solaris machine then login every thing is fine, however I can't delete characters after the shell prompt.

i get this character when I hit delete key ---> ^H

when I use leopard terminal to telnet the solaris machine the delete key works fine it deletes characters after the prompt, however vi won't work correctly that's why I use x11 (vi no problem), but delete key won't work.

I tried searching the net however I wasn't able to find a similar issue.

I really would appreciate your help.

here is a copy of the x11 telnet session:

bash-3.2$ uname
bash-3.2$ telnet
Connected to
Escape character is '^]'.
Last login: Mon May 18 21:10:51 from
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ echo $SHELL
$ echi^H^H^H^H^H ------> trying to delete "i" character
n.almarzouki is offline   Reply With Quote
Old 05-18-2009, 05:28 PM   #2
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,459
Try using the 'stty' program to set the proper key for 'erase':
Type in:
stty erase
then a space
and then press Control-V and then press the Delete key and then Return.
(It should look like: stty erase ^? )

Alternatively try setting your TERM environment variable to something appropriate.

By the way, I think the difference between Terminal and xterm is due to the different shell startup files they read - see the shell config section of this Unix FAQ
hayne is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 04:10 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.