From: Petr M. <mi...@ph...> - 2004-06-17 12:26:25
|
> > Another point follows a recent discussion: when in "pause mouse" on X11, > > and closing the window, then gnuplot does not respond any longer and it > > must be killed. > > I can't replicate this behavior either with the current cvs version. > Yes, if you close the plot window then you need to type ctrl-C to exit the > pause-for-mouse state. But this doesn't kill gnuplot, it just returns to the > command line. Yes, it works as you explain. The problem is when "pause mouse" is issued by an application using gnuplot as its front end. Particular case: In Octave, I use ginput.m (see gnuplot web page for the script) to receive given number of point coordinates. Then, it send "pause mouse" to gnuplot and reads one coordinate after another using fifo. If you close gnuplot in between, then the reader gets blocked -- you will need "Ctrl-C" in your driving application, or to kill gnuplot, or like that. Do you have an idea how to avoid this block? --- PM |