This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin, ssh, and top

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

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? ->
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

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

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]