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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=eefZ1LG7T0I66LaiDw2RsQpqzllPEr/ZPXcDoRgAzNZ
	wyc54waZ2Z2YSeCRtU4e864tX5OyESpEdmtX5Jn93wwIBHwTNeGtOaQGSFmsgtQe
	y4XKm4KwQkWTMAxiQPAqtofrYXQqrW1c/GB2jnKdW+e6KFmiZ9QH3nHJLr63YJGo
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=pfNGEuXtzJHCMYmtA+K5Wzn7Sd0=; b=JF7CzCG8XXsMPTh2b
	MfVlS5YNb5hgbhw72xapVD/LIpq9WCxPmbQvGGpGYUoX/GgVBNKkARDBt9kWJ8wJ
	bo33WT5ANF6Kzz2h28vtyKzj3sFK2ANPtcEYm1awC9C477GFYFsLCDyZfX7j90NT
	/4c5Udia/msGOdLrQpmYpVG/EM=
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=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mout.kundenserver.de
Message-ID: <5443A959.4030101@towo.net>
Date: Sun, 19 Oct 2014 14:06:49 +0200
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: mintty: WINCH-signal to child
References: <op.xnx12ju9ofd6j1@nebbiolo.upc.de> <20141019084829.GA7649@dimstar.local.net> <op.xny2kta5ofd6j1@nebbiolo.upc.de>
In-Reply-To: <op.xny2kta5ofd6j1@nebbiolo.upc.de>
X-TagToolbar-Keys: D20141019140649331
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-UI-Out-Filterresults: notjunk:1;
X-IsSubscribed: yes

Am 19.10.2014 12:11, schrieb Helmut Karlowski:
> Am 19.10.2014, 09:48 Uhr, schrieb Duncan Roe:
>
>> bash at least has "shopt -s checkwinsize" to achieve what you want,
>
> That would be a workaround for bash. Ideally every process should 
> forward the WINCH-signal to its parent, or the terminal should walk 
> through the call-tree. Both not very likely to happen.
>
> xterm does the same as mintty BTW.
There must be something more about it:
Mined does resend a received SIGWINCH to its parent (as an application 
should indeed) and it's actually received by bash as can be confirmed 
with 'trap "echo WINCH" SIGWINCH'. Despite of the received signal bash 
does not adapt its command line width assumption (as can be checked by 
typing a long line and seeing where it wraps) (unless that option is 
enabled).
Probably a bash bug.
Same in mintty as in xterm in all cases.
Same on Linux (bash 3.2.39 on Debian on PowerPC), so not cygwin-specific.
------
Thomas

>
>
> Thanks,
>
> Helmut
>
> -- 
>
> -- 
> 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
>


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

