public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Voelker, Bernhard" <bernhard.voelker@siemens-enterprise.com>
To: "cygwin-xfree@cygwin.com" <cygwin-xfree@cygwin.com>
Subject: xterm does't handle LINES and COLS correctly anymore
Date: Tue, 20 Mar 2012 11:34:00 -0000	[thread overview]
Message-ID: <7856072A9D04C24B82DFE2B1112FE38A0F0D6354CA@MCHP058A.global-ad.net> (raw)

Since one of the last updates this year, the output
in an xterm is sometimes wrapped after a few columns.
They same applies to the number of lines.

Sometimes it works, i.e. xterm wraps the line when
the content really doesn't fit into the line anymore,
but sometimes the lines are wrapped after 4 or 30
characters.

The effect sometimes appears locally (i.e. in xcygwin),
but happens more often when logging into a remote 
server via SSH. In such a case, the terminal is unusable.

I noticed that LINES and COLS is not set on the cygwin
side, and remotely (2 SLES servers) I get something like
this:
  $ echo LINES:$LINES COLS:$COLS
  LINES:2 COLS:

Setting the LINES before and/or after ssh'ing into
the server sometimes helps, but not very often.

Any ideas?

Thank you & have a nice day,
Berny

P.S. It's Win7, and I start openbox from ~/.xinitrc
via the .bat lines
  chdir /d d:\cygwin\bin
  .\run bash -l -c /bin/startx


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


                 reply	other threads:[~2012-03-20 11:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7856072A9D04C24B82DFE2B1112FE38A0F0D6354CA@MCHP058A.global-ad.net \
    --to=bernhard.voelker@siemens-enterprise.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).