This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bash-3.2.5-7: COLUMNS and LINES variables are not set
- From: Mark Edgar <mark dot edgar at gcmail dot maricopa dot edu>
- To: cygwin at cygwin dot com
- Date: Tue, 05 Dec 2006 17:42:24 -0700
- Subject: bash-3.2.5-7: COLUMNS and LINES variables are not set
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 <termios.h> 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/