X-Spam-Check-By: sourceware.org Message-ID: <457611F0.9060606@gcmail.maricopa.edu> Date: Tue, 05 Dec 2006 17:42:24 -0700 From: Mark Edgar User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: bash-3.2.5-7: COLUMNS and LINES variables are not set Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 It seems that bash for Cygwin does not set the COLUMNS and LINES shell variables, neither at startup nor when WINCH is delivered. Defining TIOCGWINSZ by including in lib/sh/winsize.c fixes the issue. -Mark -- 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/