delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/21/08:10:36

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Re: window resizing not updating COLUMNS and LINES
Date: Wed, 21 Jun 2006 13:10:15 +0100
Message-ID: <7CFBCCAA27B7934C9307AB098F728A5361DC59@zuk35exm61.ds.mot.com>
From: "Valster Nico-anv009" <nvalster AT motorola DOT com>
To: "mwoehlke" <mwoehlke AT tibco DOT com>, <cygwin AT cygwin DOT com>
X-White-List-Member: TRUE
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k5LCAWaa009684

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
> Of mwoehlke
> Sent: Thursday, June 01, 2006 1:47 AM
> To: cygwin AT cygwin DOT com
> Subject: Re: window resizing not updating COLUMNS and LINES
> 
> Samuel Thibault wrote:
> > mwoehlke, le Wed 31 May 2006 17:19:15 -0500, a écrit :
> >> Kenneth Nellis wrote:
> >>> Same here...I do my own export to get things started. --Ken
> >>
> >> Wait, wait, step back... this in itself sounds like a problem.
> >
> > 'export COLUMNS' is needed for 'printenv COLUMNS' to work,
> > since in the printenv case you need the variable to be
> > transferred to the child printenv process.
> 
> Ok, that makes sense, although my understanding is that if the child
> process is 'bash' (including a script run by bash), then it will have a
> non-exported copy of the var set correctly. Or rather, it would/should
> if this was working at all.
> 


My command window does not show COLUMNS or LINES at all, i.e. echo $COLUMNS gives no output. 
After "export COLUMNS=80" as stated somewhere in the thread, both echo $COLUMNS and printenv COLUMNS give 80, but resizing the window does not influence this.
What am I missing to get COLUMNS and LINES in the first place

P.S. rxvt behaves the same but that mentioning that would make this mail inappropriate for this list if I read this thread correctly

Nico Valster


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