A bit OT: vi in telnet session

Vikas amitvikas@yahoo.com
Mon Aug 21 03:31:00 GMT 2000


Andreas Zielke wrote:
> When I telnet to a machine (running SunOS 5.7), using the telnet-
> program that comes with 1.1.4 Cygwin an start vi I get this error-
> message:
> 
> bash-2.03$ vi
> cygwin: Unknown terminal type
> Visual needs addressable cursor or upline capability
> :

execute "bash$ set TERM=vt100" and done!
You can even set TERM to "linux" or "vt103".
check whether your telnet client supports it.
vi won't execute untill it knows the terminal type.
One way is the environment variable and the other way is through
command line like "bash$ vi -t vt100".

-- 
/*
** http://www.programmingParadise.com
*/
#Vikas Yadav, India
//PGP key: http://www.programmingparadise.com/misc/vikas.pgp
'E-mail:vikas@programmingparadise.com

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list