I just want to put this in the archives.

To use $LINES and/or $COLUMNS in the ~/.profile script one has to be aware
that there is a slight delay before they're actually available.

The delay is something like 200ms (P2/450), maybe less, but very much
noticeable if one uses $LINES/$COLUMNS early.

This:

$ head -3 ~/.profile
# Can we make COLUMNS and LINES appear maybe?
echo -en ".\b \b"
kill -SIGWINCH $$

...can help.

/Hannu E K Nevalainen, B.Sc. EE - 59�16.37'N, 17�12.60'E
-- UTC+01, DST -> UTC+02  --
--END OF MESSAGE--


--
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