This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Resizing a terminal window
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