Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
backspace ^H madness [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Pseud
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 273
Location: Bangalore, India

PostPosted: Wed Sep 22, 2004 6:41 pm    Post subject: backspace ^H madness [solved] Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20588

PostPosted: Wed Sep 22, 2004 6:46 pm    Post subject: Reply with quote

Moved from Gentoo Chat.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Wed Sep 22, 2004 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pseud
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 273
Location: Bangalore, India

PostPosted: Wed Sep 22, 2004 9:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
MrStaticVoid
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 114
Location: Maryland

PostPosted: Wed Sep 22, 2004 10:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pseud
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 273
Location: Bangalore, India

PostPosted: Wed Sep 22, 2004 10:48 pm    Post subject: Reply with quote

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 :)
_________________
eschew obfuscation
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum