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:

    [EMAIL PROTECTED]:~$ 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? -> [EMAIL PROTECTED]
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/

Reply via email to