delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/19/08:07:17

X-Recipient: archive-cygwin AT delorie DOT 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 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
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 AT towo DOT 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 AT cygwin DOT com
Subject: Re: mintty: WINCH-signal to child
References: <op DOT xnx12ju9ofd6j1 AT nebbiolo DOT upc DOT de> <20141019084829 DOT GA7649 AT dimstar DOT local DOT net> <op DOT xny2kta5ofd6j1 AT nebbiolo DOT upc DOT de>
In-Reply-To: <op.xny2kta5ofd6j1@nebbiolo.upc.de>
X-TagToolbar-Keys: D20141019140649331
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

- Raw text -


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