Greg Wooledge (12024-10-02): > In that case, there are THREE foreground processes which receive a SIGINT: > > * The interactive shell, which ignores it, because interactive shells > always ignore SIGINT.
You are very right on the rest, but this is a mistake: the interactive shell is not in the foreground at this point. Since foreground / background is about process group, it could not: each pipeline is started in a group, so that it can be moved from the foreground to the background and back. The parent shell cannot enter and leave these groups at will. Regards, -- Nicolas George