delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/11/09:23:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Hannu E K Nevalainen" <garbage_collector AT telia DOT com>
To: "ML CygWIN" <cygwin AT cygwin DOT com>
Subject: rxvt -e 'bash -l -i' + use of $LINES & $COLUMNS in .profile
Date: Sat, 11 Oct 2003 15:23:37 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEOECHDFAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019