X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Subject: RE: window resizing not updating COLUMNS and LINES
Date: Wed, 31 May 2006 17:40:04 -0400
Message-ID: <31DDB7BE4BF41D4888D41709C476B65704168A13@NIHCESMLBX5.nih.gov>
In-Reply-To: <20060531204028.GA5406@trixie.casa.cgf.cx>
From: "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder@niaid.nih.gov>
To: <cygwin@cygwin.com>
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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k4VLecIl025241

Christopher Faylor wrote:
> On Wed, May 31, 2006 at 04:18:23PM -0400, Christopher Faylor wrote:
>> On Wed, May 31, 2006 at 03:44:14PM -0400, Kenneth Nellis wrote:
>>> (My reply to Christopher Faylor's reply to my original post ["LINES
>>> and COLUMNS not getting updated"] was blocked, I suspect because
>>> this thread has been marked inappropriate for this list. However,
>>> as this turns out not to be an X-Windows/xterm issue after all and
>>> because I cannot continue on the original thread, I start anew, if
>>> that's not a problem [and I sure hope it's not]...)
>> 
>> I am the list administrator for cygwin and cygwin-xfree.
>> 
>> I want this discussed on cygwin-xfree.
>> 
>> Is that now clear?
>> 
>> Thanks.
> 
> Nevermind.  I apologize for the harshness of the above.
> 
> My reason for wanting to discuss this in cygwin-xfree is because I
> thought the xterm maintainer would have lots of insight into this
> problem.  
> 
> If you want to take your chances in the cygwin list, then feel free.
> 
> cgf

It's not just X or rxvt.

Starting bash as
C:\cygwin\bin\bash.exe -i

/c> shopt checkwinsize
checkwinsize    on
/c> export COLUMNS=80
/c> printenv COLUMNS
80
# resize window to 120 columns
/c> printenv COLUMNS
80
/c> echo $COLUMNS
80
/c> stty -a
speed 38400 baud; rows 27; columns 120; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = ^Z; start = ^Q; stop = ^S;

susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1;
time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff -iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo -echoe -echok -echonl -noflsh -tostop -echoctl
-echoke

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


