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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: <20141019084829 DOT GA7649 AT dimstar DOT local DOT net> In-Reply-To: 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