delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/10/16:54:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Doug Wyatt" <dwyatt AT sunflower DOT com>
To: cygwin AT cygwin DOT com
Date: Mon, 10 Feb 2003 15:54:09 -0600
MIME-Version: 1.0
Subject: Re: Question about latest build - openssh-3.5p1-2
Reply-to: dwyatt AT sunflower DOT com
Message-ID: <3E47CB21.13869.97B4F17@localhost>
In-reply-to: <20030210131537.GA20568@cygbert.vinschen.de>
References: <3E4730A5 DOT 22099 DOT 71FD413 AT localhost>

Thanks for the suggestion.  I should have thought of trying this myself,
but a long time ago I put a 'cygwin' terminfo entry on the Linux host and
after a while trying to get it to work without success I just settled on using
TERM=linux.  The current 'cygwin' entry is substantially different from the
older one, so I thought this was going to work.

I've transferred a copy of the 'sygwin' terminfo entry from Cygwin to the
Linux host (infocmp ==> tic) and after 'export TERM=cygwin' tried a few
vim samples.  This works no better or worse than TERM=vt100, even
after setting 'syntax' and 'filetype' manually to appropriate values (they
don't currently auto-set, here) I get no syntax highlighting.  I'll continue
to investigate this further.

I've now also tried opening an xterm (tunneling X11 through ssh) and in
this case, with TERM=xterm, vim works well and properly as far as I can
tell at this point.  So, this is a reasonable workaround for now and also
suggests that there isn't something drastically wrong with the vim setup.

Thanks again for the help.

Doug

On 10 Feb 2003 at 14:15, Corinna Vinschen wrote:

> On Mon, Feb 10, 2003 at 04:55:01AM -0600, Doug Wyatt wrote:
> > Finally, the vim problem only occurs when the linux env var TERM=linux,
> > but not when it is set to 'vt100'.  Of course, there is lost functionality with
> > vt100 - this is a useable workaround but really not an acceptable fix.
> 
> Try copying the terminfo file "cygwin" to the appropriate place on
> your linux box and set TERM=cygwin.
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin AT cygwin DOT com
> Red Hat, Inc.
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019