Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3AEEB463.B459BBFC@yahoo.com>
Date: Tue, 01 May 2001 09:04:35 -0400
From: Earnie Boyd <earnie_boyd@yahoo.com>
Reply-To: Cygwin Users <cygwin@cygwin.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: termcap/terminfo for cygwin console
References: <20010501015407.77E8.GAUTIER@email.enst.fr> <20010430201302.F29804@redhat.com> <001301c0d1d4$c2c77f60$d938a8c0@Hadfield> <20010430202833.A30544@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Christopher Faylor wrote:
> 
> On Tue, May 01, 2001 at 12:22:09PM +1200, Mark Hadfield wrote:
> >> On Tue, May 01, 2001 at 02:00:50AM +0200, Fabrice Gautier wrote:
> >> >Hi,
> >> >
> >> >I'm often using cygwin and bash to telnet to linux or Sun stations.
> >> >I often get some terminal capabilities related problems (using less or
> >> >vi for example).
> >> >
> >> >I tried to set TERM=vt100 or TERM=linux but this was not a lot better.
> >> >
> >> >Is ther any terminfo or termcap files available for cygwin terminal? or
> >> >which "standard" terminal type should i choose for maximum compatibility?
> >>
> >> Both terminfo and termcap files are in the standard cygwin release.
> >>
> >> infocmp cygwin
> >>
> >> will display the cygwin settings.
> >
> >So, Fabrice, you could extract this info and load it onto the Linux & Sun
> >stations, or persuade their sysadmin to do so. The procedure is fairly
> >straightforward, but I won't try to tell you how or I will probably set you
> >wrong. Try man infocmp and go from there.
> >
> >If you can't do this (I've been waiting weeks for this to percolate to the
> >top of my sysadmin's TODO list) try TERM=linux or if that's not available,
> >TERM=ansi.
> >
> >You mentioned you had tried TERM=linux. What problems do you run into. Why
> >not e-mail me off-list about this.
> 
> Actually there are environment variables that you can set which will allow
> you to use your own local copies of both termcap and terminfo.
> 
> I'm pretty sure that the man pages for each of these would be helpful for
> figuring out what they are and how to use them.
> 

And if you don't wish to do that; I've been using TERM=ansi on the
remote host.  However there was a push to be more vt100 compatible and
for versions >= 1.3.0 then you could try TERM=vt100 on the remote host. 
I've just begun to try this one and don't have results yet.  It's a good
idea to use X11's resize program after setting the TERM value.

Earnie.

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


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

