Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2016 00:41:29 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Zaphod Beeblebrox <zbeeble@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: SIG_WINCH ... getting out of our current state of disarray.
Message-ID:  <570A8239.4070603@freebsd.org>
In-Reply-To: <CACpH0McpQyAFSJjxDc52g6481OzY9xdPULD13bp9_i%2BsbSkW4A@mail.gmail.com>
References:  <CACpH0McpQyAFSJjxDc52g6481OzY9xdPULD13bp9_i%2BsbSkW4A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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..





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?570A8239.4070603>