From owner-freebsd-hackers@freebsd.org Sun Apr 10 17:02:51 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D5A5B0AE65 for ; Sun, 10 Apr 2016 17:02:51 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A23E1960 for ; Sun, 10 Apr 2016 17:02:51 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-253-185.lns20.per4.internode.on.net [121.45.253.185]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u3AGfY1A073281 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 10 Apr 2016 09:41:38 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: SIG_WINCH ... getting out of our current state of disarray. To: Zaphod Beeblebrox , FreeBSD Hackers References: From: Julian Elischer Message-ID: <570A8239.4070603@freebsd.org> Date: Mon, 11 Apr 2016 00:41:29 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2016 17:02:51 -0000 On 4/04/2016 10:21 AM, Zaphod Beeblebrox wrote: > So... here's the scenario... I'm running vi in screen on a server. I > resize my window. > > Now... screen seems to deliver the resize SIG_WINCH fine to the process... > but it seems BSD (and I don't use enough linux to have checked) only > delivers SIG_WINCH to the foreground process. > > Is it _bad_? to deliver SIG_WINCH to other terminal group processes? > Surely a shell knows that it started a process and should wait, but > something CTRL-Z'd or &'d might be a special case... dunno. > > Anyways... it seems that this would be something good to have happen. As > it is... i find myself resizing a window multiple times to the same size > just to get SIG_WINCH delivered to the now running application. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > I've never worked this out.. I often end up doign ^Z and then stty to set he size, and then fg. having screen or tmux in ht emix makes it even worse..