delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/05/00:49:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SARE_MSGID_LONG45,TW_RX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4BE0903A.3030207@towo.net>
References: <e8rljbzahnf DOT fsf AT FLM000025LVE9F DOT catmktg DOT com> <4BE0903A DOT 3030207 AT towo DOT net>
Date: Wed, 5 May 2010 05:48:53 +0100
Message-ID: <p2v416096c61005042148uf97918eag65de1a0031818359@mail.gmail.com>
Subject: Re: Resizing a terminal window
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Thomas Wolff wrote:
> LINES and COLUMNS are legacy mechanisms which may serve as a workaround if
> the system doesn't otherwise handle screen size changes properly. They
> should not be needed on modern systems where the tty driver maintains the
> information.

Yep.

> (You may note that mintty has not set them initially but they get set on
> resize - by whatever means... - while in a cygwin console they are not used
> at all.)

Xterm and rxvt don't set them either. Bash sets them on receiving a
SIGWINCH, but not at startup. Go figure.

Andy

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019