delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/05/11:36:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.3 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 AT cygwin DOT com
connect(): No such file or directory
From: david AT adboyd DOT com (J. David Boyd)
Subject: Re: Resizing a terminal window
Date: Wed, 05 May 2010 11:33:00 -0400
Lines: 38
Message-ID: <e8r1vdqe53n.fsf@FLM000025LVE9F.catmktg.com>
References: <e8rljbzahnf DOT fsf AT FLM000025LVE9F DOT catmktg DOT com> <i2o416096c61005041134u487a0463sf6b6986f553c557d AT mail DOT gmail DOT com> <e8rbpcvwj7b DOT fsf AT FLM000025LVE9F DOT catmktg DOT com> <r2w416096c61005042159y99e61537u22ec08e1c2a2a1a8 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (cygwin)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Andy Koppe <andy DOT koppe AT gmail DOT com> writes:

> J. David Boyd wrote:
>> 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 was just looking for some help and ideas, and the Cygwin list seemed a
>> good place to start since I use Cygwin.
>
> Right. This list is all about the misery of using Cygwin though.
>
>>  I re-discovered the
>> shopt parameter of checkwinsize, which is what controls Bash monitoring
>> the window size from my prior message.
>
> Bash also sets LINES and COLUMNS when it receives a SIGWINCH ("window
> change") signal, apparently independent of 'checkwinsize'. Only the
> foreground process gets that signal though. So without 'checkwinsize',
> the setting of those variables depends on whether bash was in the
> foreground when the terminal was resized.
>
> Andy


It is, as I am clicking the window I want to resize, and using the mouse to
drag the bottom right corner to the dimensions that I want.  

SSHing in to my Mandriva box, it works perfectly.

SSHing in to my SUSE Linux box, I have to do an "eval `resize`".


SSHing in to my Ubuntu 9.10 box, it works perfectly.


Something must be broken in SUSE Linux....

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019