On 30 March 2011 21:32, Daniel J Sebald <[email protected]> wrote: > On 03/30/2011 09:57 PM, Ben Abbott wrote: > >>> Should I propose a new feature for gnuplot that will cause an exit if an >>> interactive window is closed? >> >> I don't think that is a good idea. >> >> (1) There is no synchronous communication between gnuplot and octave, >> and(2) Gnuplot can't tell us when its windows are closed. >> >> It may be possible to request the x11 window id from gnuplot, but that >> will not help with other terminal types (aqua, windows ,etc). Nor does it >> resolve the problem with missing synchronous communication. > > Well, what I was thinking is that whenever one of the interactive windows is > closed, it would trigger gnuplot to exit and gnuplot's process would no > longer be in the operating system. > > Octave would just need to check if its registered process ID still exists.
Ick. Check when? Are you proposing to spin on IPC? I agree with Ben here. This is the biggest reason why we have a different graphics backend to begin with. IPC with gnuplot is messy. Better to focus our efforts on fixing outstanding fltk backend issues. - Jordi G. H. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
