This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A bit OT: vi in telnet session


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]