X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0	tests=AWL,BAYES_20,RCVD_IN_SORBS_WEB,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
connect(): No such file or directory
From: david@adboyd.com (J. David Boyd)
Subject: Re: Resizing a terminal window
Date: Tue, 04 May 2010 15:38:48 -0400
Lines: 38
Message-ID: <e8rbpcvwj7b.fsf@FLM000025LVE9F.catmktg.com>
References: <e8rljbzahnf.fsf@FLM000025LVE9F.catmktg.com>	<i2o416096c61005041134u487a0463sf6b6986f553c557d@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (cygwin)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Andy Koppe <andy.koppe@gmail.com> writes:

> J. David Boyd wrote:
>> I'm using Cygwin to provide my own X server, and using Xterms locally,
>> and to connect to remote servers.
>>
>> Locally, I can use the mouse to resize a window, and the $COLUMNS and
>> $LINES variables are automatically filled in.
>>
>> On many remote xterm sessions, they aren't.
>>
>> Does anyone have any idea where to start figuring out what is wrong, and
>> what I can do to correct it?
>>
>> My quick work-around is to resize the window, then call "eval `resize`",
>> but I would like it to be automatic.
>
> Any particular reason to think that this is an issue with Cygwin
> rather than your remote systems?
>
> Resizing is working fine here when connected to a Debian box either
> via ssh or telnet running in a local xterm. If you're running xterm on
> the remote system with only its display forwarded to your Cygwin/X
> server, then Cygwin doesn't have anything to do with the terminal
> resize notifications.
>
> Andy

I don't think it is a Cygwin issue at all.  And, I'm certain it is a
remote server problem, as it works on many boxes.  I re-discovered the
shopt parameter of checkwinsize, which is what controls Bash monitoring
the window size from my prior message.   

I was just looking for some help and ideas, and the Cygwin list seemed a
good place to start since I use Cygwin.   But I never meant to cast
disparagements on Cygwin, it is a great piece of software...

Dave


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

