rxvt -e 'bash -l -i' + use of $LINES & $COLUMNS in .profile
Hannu E K Nevalainen
garbage_collector@telia.com
Sat Oct 11 13:33:00 GMT 2003
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/
More information about the Cygwin
mailing list