rxvt window size change not detected

Phil Betts Phil.Betts@ascribe.com
Thu Mar 13 11:27:00 GMT 2008


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/



More information about the Cygwin-xfree mailing list