This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
RE: rxvt window size change not detected
- From: "Phil Betts" <Phil dot Betts at ascribe dot com>
- To: <cygwin-xfree at cygwin dot com>
- Date: Thu, 13 Mar 2008 11:27:00 -0000
- Subject: RE: rxvt window size change not detected
- Reply-to: cygwin-xfree at cygwin dot com
Thomas Dickey wrote on Thursday, March 13, 2008 10:23 AM::
> On Thu, 13 Mar 2008, xerces8 wrote:
>
>> Hi!
>>
>> Found this problem:
>>
>> - start bash in rxvt (C:\cygwin\bin\rxvt.exe -sl 5000 -fn 20 -bg
>> black -fg white -sr -e bash --login
>> -i)
>> - less /etc/passwd
>> - maximize the rxvt window
>> - quit less (key "q")
>> - type a long command line in bash
>>
>> expected behavior :
>> - works fine
>>
>> actual behavior :
>> - the line is wrapped at the width of the windows as it was before
>> maximized and continues in the same line at first column (a mess,
>> basically)
>>
>> versions:
>> up to date as of today (13-mar-2008)
>>
>> bash 3.2.33-18
>
> I've seen several comments that indicate the problem is a bash setting
>
Put the following line in ~/.bashrc
shopt -s checkwinsize
Phil
--
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/