Christopher Faylor, le Wed 31 May 2006 11:47:54 -0400, a écrit : > On Wed, May 31, 2006 at 10:07:48AM -0400, Kenneth Nellis wrote: > >In my Cygwin X-Windows xterm environment, I'm not seeing the LINES and > >COLUMNS environment variables getting updated correctly after my window is > >resized. Furthermore, "echo $COLUMNS" and "printenv COLUMNS" don't agree. (I > >didn't see relevant articles in the archives.) > > > >It seems to start off working as expected, but soon fails. What seems to > >work reliably is the following sequence in a new login shell: > >1) export COLUMNS=80 > >2) printenv COLUMNS; # correctly shows 80 > >3) # resize xterm window width > >4) printenv COLUMNS; # correctly shows new width > > Please go back and read http://cygwin.com/lists.html . This question is not > appropriate for the general cygwin list. > > This message belongs on the cygwin-xfree list - a list that the xterm > maintainer > reads.
Mmm, it doesn't seem to me like only an xterm issue. Maybe xterm has troubles sending SIGWINCH, but apparently the shell itself has troubles updating the COLUMNS variable. Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/