Resizing a terminal window

Andy Koppe andy.koppe@gmail.com
Wed May 5 04:48:00 GMT 2010


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



More information about the Cygwin mailing list