This is the mail archive of the
mailing list for the Cygwin project.
Re: problem with vi over ssh
- From: Mark Ord <emailbox at chimera dot home>
- To: cygwin at cygwin dot com
- Date: Thu, 26 Dec 2002 12:11:27 +1100
- Subject: Re: problem with vi over ssh
- References: <email@example.com>
> i noticed a problem with vi when i connect to a linux. i found no
> answers about this problem anywhere: i start my cygwin and connect
> over ssh to a linux machine. when i want to open a file using vi ->
> vi file_name, i get the following:
> i am having this problem only if i use cygwin.
> any ideas? or is this normal?
A Linux machine knows nothing about the terminal type 'cygwin'. This is
normal. You'll also only really experience this when sshing from a
console window - if you ssh from rxvt (term = xterm) everything should be
If, however, you want to ssh in a console window, simply add some explicit
term setting in your startup file on the remote server.
For example, I have in .bashrc:
# Cygwin term type is unrecognised, and sucks on Linux, so if ssh'ing from
# a console window, set the term to something that works nicely.
if [ "$TERM" == "cygwin" ]; then
Or add the appropriate syntax to the appropriate file if you use a different
Mark Ord | "We always have music playing,
Melbourne, Australia | it's up to us to hear it as
mailto://firstname.lastname@example.org | bosanova..."
http://www.alphalink.com.au/~ord/home/ | - Roger Clyne -
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html