This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: window resizing not updating COLUMNS and LINES
- From: "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: <cygwin at cygwin dot com>
- Date: Wed, 31 May 2006 17:40:04 -0400
- Subject: RE: window resizing not updating COLUMNS and LINES
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/