X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=cHWQ
	OY94vy9lTBrPeFVV19+VOfUiX2V6vqOjQXcKpA3+ZiWsf33UlH/Vwp7gZqVVIm4S
	ID7/i9euszWtB1ej5fvvMAt6S2sJE1EwI1p2cuUeBlHos1CoV3QmYcrVRHR2qwyh
	PtFMzrikn7+zc2+4V3IYNeXqf78Qt7n6n+voFT8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=PGU4JPILvC
	yUhnsH+xHF3xTfX78=; b=dGSgItb1/0rq0Af52WLxjPLGDfdwhFitJ3WdOHd9o0
	Y8AELlVnsCgDtNGGQ49NpHZYaPgPy6/Ilcyh88VCKYhjq7LOW3Wlc5/+8rETLzLp
	2h/rHdJH1ltTBL/fl8Nzb8Cv4Lai8FN4Z4fMg6T3Bj03+Ulce713LDI/eZeNDM8E
	8=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: mail107.syd.optusnet.com.au
Date: Sun, 19 Oct 2014 19:48:29 +1100
From: Duncan Roe <duncan_roe@acslink.net.au>
To: cygwin@cygwin.com
Subject: Re: mintty: WINCH-signal to child
Message-ID: <20141019084829.GA7649@dimstar.local.net>
Mail-Followup-To: cygwin@cygwin.com
References: <op.xnx12ju9ofd6j1@nebbiolo.upc.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <op.xnx12ju9ofd6j1@nebbiolo.upc.de>
User-Agent: Mutt/1.5.22 (2013-10-16)
X-Optus-CM-Score: 0
X-Optus-CM-Analysis: v=2.1 cv=fvDlOjIf c=1 sm=1 tr=0	a=+cDhJlqnNvz9E7c5l3ERGg==:117 a=+cDhJlqnNvz9E7c5l3ERGg==:17	a=y26AOypDAAAA:8 a=PO7r1zJSAAAA:8 a=M1kyBYkWWGkA:10 a=kj9zAlcOel0A:10	a=iaFubHWvAAAA:8 a=cZ5n2zM5P7z8S1lMYsMA:9 a=CjuIK1q_8ugA:10
X-IsSubscribed: yes

On Sat, Oct 18, 2014 at 10:02:33PM +0100, Helmut Karlowski wrote:
>
> When I run for example an editor from a shell in a mintty-window and change
> the window-size the editor is informed by a WINCH-signal. That is good. But
> the shell it was started from does not know about the change, so after
> exiting the editor the shell uses the old size. Could mintty send a
> WINCH-signal to its direct child (-pgrp) perhaps?
>
> Of course for more complicated situations it could be difficult to inform
> all involved processes when not all have the same pgrp, but it would be
> better than nothing.
>
> Or do I miss something?
>
> -Helmut
>
bash at least has "shopt -s checkwinsize" to achieve what you want,

Cheers ... Duncan.

--
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

