tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: the zen of SIGPIPE



On Tue, Jan 08, 2013 at 03:16:01AM -0500, Mouse wrote:
> 
> If SIGINT is tty-generated, it will hit the whole process group
> already.  If that hits xargs, there's no need to push it up; if it
> doesn't, there's probably a reason and it arguably shouldn't.

Some of the tty-generated signals have an 'interesting' path.
IIRC they (at least on some unix) got sent to the shell (as
session? leader) which then sends them to all the members itself
(rather than the kernel sending the signal to everyone).

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index