screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stty erase & ssh & vi


From: s c
Subject: stty erase & ssh & vi
Date: Thu, 17 Jun 2004 17:30:30 -0700 (PDT)

hello screen users.

i've got a small problem with fedora core 2 and OpenSSH_3.8.1p1 and
screen-4.0.2-2 and vi.

after firing up `screen` and starting an ssh connection with `ssh -t
192.168.0.99` [connecting to a redhat 7.3 machine] my backspace key works fine
in the shell and `stty -a` shows:

address@hidden root]# stty -a   
speed 38400 baud; rows 36; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; 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

but the backspace key shows "^?" in vi. `stty erase [CTRL-v] [backspace]` will
fix the backspace problem with vi but i'd like a persistent fix so i don't have
to manually fix it everytime. unfortunately, i know nothing of how to set
termcapinfo. 

otherwise screen is working great as usual. the only prob is with using vi on
an shh connection. using vi locally is fine.

fc2 defaults to erase = ^? but i thought most linuxes are happy with ^? or ^H,
is this incorrect? 

this prob is definitely more related to fc2 than it is to screen since i don't
have the same problem with fc1 but i figured ppl on this mailing list might've
encountered the same problem. any help would be appreciated, thanks.


                
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]