Re: gplt_x11 ignores SIGINT and SIGTSTP. Why?

Hans-Bernhard Bröker <[email protected]> Fri, 2 Sep 2022 18:47:12 +0200
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <[email protected]>
Am 02.09.2022 um 02:22 schrieb Dima Kogan:

> I suspected this predates you. 

Oh, there's no question at all about that ;-).  Those lines have 
remained essentially unchanged since version 3.2, from 1992.  Yes, 
that's 30 years ago.

> It feels like an odd thing to do to
> specifically mask out SIGTSTP, but I guess that's fine. Masking out
> SIGINT creates zombies, though, 

Well, the documented intent is to keep gnuplot_x11 from being killed by 
Ctrl-C or Ctrl-Z typed into the console --- presumably the one its 
parent gnuplot process was started from.

It would be _very_ surprising to find out that this particular snippet 
would have been as badly wrong as you claim it to be, after all this 
time.  X11 may be considered unimportant by some today, but that 
definitely would have been no excuse of the majority of that time frame.


_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta