This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
rxvt -e 'bash -l -i' + use of $LINES & $COLUMNS in .profile
- From: "Hannu E K Nevalainen" <garbage_collector at telia dot com>
- To: "ML CygWIN" <cygwin at cygwin dot com>
- Date: Sat, 11 Oct 2003 15:23:37 +0200
- Subject: rxvt -e 'bash -l -i' + use of $LINES & $COLUMNS in .profile
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/