|
From: Petr M. <mi...@ph...> - 2008-11-11 12:24:35
|
> When wgnuplot is closed manually, the pgnuplot program stays alive. It is > therefore very hard to detect whether the gnuplot instance has been killed (in > which case I want to respawn one). I've attached a patch to pgnuplot.c to fix > this issue: it will check whether the wgnuplot process is still alive when it > receives input. By writing an empty string from my python program twice (with > a small delay in between) I can detect that wgnuplot is closed. Perhaps it > would be even better to call select() on stdin, but I think this is usually > good enough. There is a new pgnuplot replacement just available from cvs; we are discussing the proper name (pgnuplot? gnuplot?) -- you should have got a copy of this email. With this new pgnuplot you will have no such problems. > The second problem is that my programs spawns quite a few gnuplot instances, > and they become hard to distinguish. On linux the wxt terminal supports a > "title" option that allows to give the windows a title, e.g. set terminal wxt > title "test". It would be great to have this in the windows terminal too. This feature is available in the development version 4.3.x since May. It seems it would be interesting if this gets ported into 4.2. Well, what about a portable way set termoption title "xxx" Is this feasible? --- PM |