SIG_WINCH ... getting out of our current state of disarray.

Zaphod Beeblebrox zbeeble at gmail.com
Mon Apr 4 02:21:41 UTC 2016


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.


More information about the freebsd-hackers mailing list