Re: gplt_x11 ignores SIGINT and SIGTSTP. Why?

Ethan A Merritt <[email protected]> Sat, 03 Sep 2022 16:04:23 -0700
Newsgroups gmane.comp.graphics.gnuplot.devel
Organization University of Washington
Message-ID <12145951.CDJkKcVGEf@stonelion>
On Saturday, 3 September 2022 15:07:23 PDT Dima Kogan wrote:
> Ethan A Merritt <[email protected]> writes:

> > In the file .../src/Makefile.am is a commented out section that builds
> > a simple Qt app with embedded gnuplot windows.  
> >
> > Edit that file to un-comment the section and re-run
> >     ./prepare; ./configure; make
> >     ./embed_example
> 
> Cool! If this works, should building this be enabled by default?
> 
> I just tried it, and it doesn't work right for me. The embed_example
> program builds. Running it pops up a window that disappears immediately.
> Then I get the shell prompt back implying that the embed_example
> application has exited. BUT it keeps running in the background
> apparently. And I do get a qt window with a plot maybe a minute later.
> Sometimes. Sometimes the background process just exits after a few
> minutes without showing me a plot.

???
I cannot explain any of that.  It works normally for me here.
A qt window pops up immediately with four embedded gnuplot widgets
and a text pane.  Output from gnuplot appears in the text pane.
The demo replots to one of the widgets every second or so and
continues to do so until I close the window or hit Ctrl-C in the
controlling terminal.   No zombies either :-)

	Ethan





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