delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/16/11:42:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Sun, 16 Oct 2005 08:41:52 -0700
From: David Rothenberger <daveroth AT acm DOT org>
Subject: Re: Cygwin, ssh, and top
In-reply-to: <002a01c5d203$d4320570$0a01a8c0@p42800e>
To: cygwin AT cygwin DOT com
Message-id: <435274C0.50209@acm.org>
MIME-version: 1.0
References: <002a01c5d203$d4320570$0a01a8c0 AT p42800e>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

On 10/15/2005 8:43 PM, David Christensen wrote:
> René Berber wrote:
> 
>>Yes but... the problem is caused by the terminfo data you showed:
>>columns is not defined.
>>Try "echo $COLUMNS"... now "export COLUMNS=80; top"; does it work?
> 
> 
> COLUMNS is getting set someplace:
> 
>     dpchrist AT p166v:~$ echo $COLUMNS
>     80
> 
> 
> Any other ideas?

Try setting COLUMNS to 79 with the comment "export COLUMNS=79".

I had this problem when I ran the Cygwin ssh client from bash *in a 
CMD.EXE window*. For some reason, Debian miscalculated the COLUMNS size; 
it was 1 column too large. When I manually set COLUMNS (from 130 to 129 
in my case), top worked correctly.

I recommend running ssh from bash in an rxvt window instead of using the 
CMD.EXE window. This will give you an "xterm" terminal in Debian which 
will work much better. I use it all the time with Debian 3.1 and have no 
problems.

-- 
David Rothenberger                spammer? -> spam AT daveroth DOT dyndns DOT org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

Kissing don't last, cookery do.
		-- George Meredith


--
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