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: <4BE0903A DOT 3030207 AT towo DOT net> Date: Wed, 5 May 2010 05:48:53 +0100 Message-ID: Subject: Re: Resizing a terminal window From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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