delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/19/04:49:00

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: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 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=-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 AT acslink DOT net DOT au>
To: cygwin AT cygwin DOT com
Subject: Re: mintty: WINCH-signal to child
Message-ID: <20141019084829.GA7649@dimstar.local.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <op DOT xnx12ju9ofd6j1 AT nebbiolo DOT upc DOT de>
MIME-Version: 1.0
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

- Raw text -


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