Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Apr 2016 22:21:40 -0400
From:      Zaphod Beeblebrox <zbeeble@gmail.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   SIG_WINCH ... getting out of our current state of disarray.
Message-ID:  <CACpH0McpQyAFSJjxDc52g6481OzY9xdPULD13bp9_i%2BsbSkW4A@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACpH0McpQyAFSJjxDc52g6481OzY9xdPULD13bp9_i%2BsbSkW4A>