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/

Reply via email to