This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin, ssh, and top
- From: David Rothenberger <daveroth at acm dot org>
- To: cygwin at cygwin dot com
- Date: Sun, 16 Oct 2005 08:41:52 -0700
- Subject: Re: Cygwin, ssh, and top
- References: <002a01c5d203$d4320570$0a01a8c0@p42800e>
- 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@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@daveroth.dyndns.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/