View previous topic :: View next topic |
Author |
Message |
Pseud Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 19 Mar 2004 Posts: 273 Location: Bangalore, India
|
Posted: Wed Sep 22, 2004 6:41 pm Post subject: backspace ^H madness [solved] |
|
|
I use ssh to connect to machines at work. When I edit a file with vi on the remote system, I am forced to use ^H instead of backspace (pressing backspace prints some weird symbols). It works fine on the command line, though ... so I dont know if it has anything to do with stty. Any ideas?
Thanks! _________________ eschew obfuscation
Last edited by Pseud on Wed Sep 22, 2004 10:48 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Wed Sep 22, 2004 6:46 pm Post subject: |
|
|
Moved from Gentoo Chat. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Wed Sep 22, 2004 9:11 pm Post subject: |
|
|
It might be the shell you're getting on the remote machines. Next time you login type bash and see if the behavior changes.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pseud Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 19 Mar 2004 Posts: 273 Location: Bangalore, India
|
Posted: Wed Sep 22, 2004 9:54 pm Post subject: |
|
|
kashani wrote: | It might be the shell you're getting on the remote machines. Next time you login type bash and see if the behavior changes.
kashani |
I guess not ... just tried it and it didn't work with bash either _________________ eschew obfuscation |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MrStaticVoid Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Jul 2003 Posts: 114 Location: Maryland
|
Posted: Wed Sep 22, 2004 10:32 pm Post subject: |
|
|
I had this same problem when I had to use the ssh servers for compsci here at school. I fixed it by adding:
if &term == "xterm"
set t_kb=
fixdel
endif
to my .vimrc. Make sure that you are using vim though. I made an alias for vi to vim just in case. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pseud Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 19 Mar 2004 Posts: 273 Location: Bangalore, India
|
Posted: Wed Sep 22, 2004 10:48 pm Post subject: |
|
|
Mr. Static Void wrote: | I had this same problem when I had to use the ssh servers for compsci here at school. I fixed it by adding:
if &term == "xterm"
set t_kb=
fixdel
endif
to my .vimrc. Make sure that you are using vim though. I made an alias for vi to vim just in case. |
Perfect! Thanks a lot ![Smile :)](images/smiles/icon_smile.gif) _________________ eschew obfuscation |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|