X-Spam-Check-By: sourceware.org X-T2-Posting-ID: dCnToGxhL58ot4EWY8b+QGwMembwLoz1X2yB7MdtIiA= X-Cloudmark-Score: 0.000000 [] Date: Thu, 1 Jun 2006 00:34:24 +0200 From: Samuel Thibault To: cygwin AT cygwin DOT com Subject: Re: window resizing not updating COLUMNS and LINES Message-ID: <20060531223424.GB8176@bouh.residence.ens-lyon.fr> Mail-Followup-To: cygwin AT cygwin DOT com References: <004501c684ea$9aeb3f80$be32000a AT idirect DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.9i-nntp X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com mwoehlke, le Wed 31 May 2006 17:19:15 -0500, a écrit : > Kenneth Nellis wrote: > >mwoehlke wrote: > >>Kenneth Nellis wrote: > >>>I'm not seeing the LINES and COLUMNS environment variables getting > >>>updated > >>>correctly after resizing my terminal window. This occurs whether I'm > >>>using > >>>rxvt or xterm. Furthermore, "echo $COLUMNS" and "printenv COLUMNS" don't > >>>agree. (I didn't see relevant articles in the archives.) > >>> > >>>This occurs regardless of how "shopt -s checkwinsize" is set. > >> > >>FWIW, on *my* Cygwin, LINES and COLUMNS aren't even set... go figure. > >>:-) > > > >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. Samuel -- 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/