X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: mwoehlke <mwoehlke@tibco.com>
Subject:  Re: window resizing not updating COLUMNS and LINES
Date:  Wed, 31 May 2006 18:47:24 -0500
Lines: 19
Message-ID: <e5l9uc$chq$1@sea.gmane.org>
References:  <004501c684ea$9aeb3f80$be32000a@idirect.net> <e5l4p3$uh8$1@sea.gmane.org> <20060531223424.GB8176@bouh.residence.ens-lyon.fr>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  8bit
User-Agent: Thunderbird 1.5.0.2 (X11/20060420)
In-Reply-To: <20060531223424.GB8176@bouh.residence.ens-lyon.fr>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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.

-- 
Matthew
Doom doom dooM doo-DooM dOOm DOom doOM... DOOM! -- Gir


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

