|05-18-2009, 02:21 PM||#1|
Join Date: May 2009
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$ telnet 192.168.2.21
Connected to 192.168.2.21.
Escape character is '^]'.
Last login: Mon May 18 21:10:51 from 192.168.2.22
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ echo $SHELL
$ echi^H^H^H^H^H ------> trying to delete "i" character
|05-18-2009, 06:28 PM||#2|
Join Date: Jan 2002
Try using the 'stty' program to set the proper key for '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
|Display Modes||Rate This Thread|