From: Tony Richardson <richardson@ev...> - 2005-06-23 18:07:17
The -persist option no longer seems to work for me with the 4.0.0 version
of gnuplot under Windows. At a cmd prompt:
echo plot sin(x) | pgnuplot -persist
The graph appears briefly, before disappearing. This used to work for me
under previous gnuplot versions. Looking at the source to pgnuplot, it
that the -persist option is just passed on to wgnuplot.exe, so I assume that
problem lies there. Can someone else confirm this problem or is it local to
my setup? I *think* this is causing me problems getting maxima to create
plots for me.
Tony Richardson wrote:
> The -persist option no longer seems to work for me with the 4.0.0 version
> of gnuplot under Windows.
Where "no longer" means since when, actually? What did you change that
> At a cmd prompt:
> echo plot sin(x) | pgnuplot -persist
> The graph appears briefly, before disappearing. This used to work for me
> under previous gnuplot versions.
That's a little hard to believe --- according to the changelogs,
"-persist" was only added in 2004-02, i.e. in the run-up phase to the
Anyway, -persist means rather a different thing to the Windows terminal
than it does on X11, where it originated: in X11, the gnuplot process
and the X11 window process are separate programs, in Windows they're the
same one, so we can't stop one and keep only the other running (until
somebody closes the window). That's why it was called differently in
Windows: /noend, which meant the program itself wouldn't stop after
having read all the scripts (and you could type further commands into
the console window).
But yes, something is broken in that area. I can't (easily) cross-check
it right now. Please file this as a bug report in our tracker, so it
doesn't get lost.