delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/04/14:59:11

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 4 Feb 2004 14:58:39 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Harold AT Levy DOT synopsys DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: terminal size problems
In-Reply-To: <20040204194156.GC18755@shark.synopsys.com>
Message-ID: <Pine.GSO.4.56.0402041450390.8094@slinky.cs.nyu.edu>
References: <20040204194156 DOT GC18755 AT shark DOT synopsys DOT com>
MIME-Version: 1.0

On Wed, 4 Feb 2004 Harold<at>Levy<dot>synopsys<dot>com wrote:

> Hi, when my cygwin terminals are sized to something other than 24 rows

I'm assuming you're talking about the command windows running bash.

> they don't work correctly with apps like vim/mutt/less when I connect to
> a remote unix system; these apps behave like they think the terminal
> has 24 rows.  It doesn't matter whether I use the bash shell or an
> xterm,

Huh?

> whether I set TERMINFO on the remote machine, whether I do
> terminal reset/resize, or whether the remote machine is Linux/SunOS.

Depending on the version of Windows you have, the command windows behave
differently.  Win9x command windows are completely retarded, and nothing
can be done to save them.  Win2k's cmd ones are slightly better, and if
your remote machine has the correct definition of the "cygwin"
termcap/terminfo entry, they should work.  FWIW, I'm not seeing any
problems running vi on a RedHat 9.0 machine via ssh from a Win2k cmd
window sized 120x40.

> I'm using the latest cygwin updates as of today.  I don't have this
> problem when I use a terminal emulator like SecureCRT.
>
> Thank you very much for any help,
> -Harold

In any case, you can use rxvt in Win32 mode under Cygwin as a workaround.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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