Process: now it executes "pause mouse close" command just before "exit" command, and it won't wait for the process to finish even in sync-mode (it does wait for output from the gnuplot process, though).
That way, the gnuplot main process remains if the user creates a plot window (terminals like x11 and wxt).
This is much more stable and functional than the "persist" mode process we used.
Windows controlled by the "persist" mode process sometimes lack functionalities like zooming and grid.
See also: http://sourceforge.net/p/gnuplot/bugs/1418/
Process: now it removes the process from $processes if waitpid() returns -1, which means there's no such process.
I think this happens when the user reaps the child process.
Process: now the package variables can be configured via environment variables.
Process: Add $PAUSE_FINISH config param to control if "pause mouse close" is inserted or not.
xt/pause_finish.t: remove test for default value of PAUSE_FINISH because the default can be changed by the environment variable.
Process: bug fix: now you can set PAUSE_FINISH via the environment variable.
xt/*t: wait for all gnuplot processes at the end of each test.
xt/testlib/XTUtil: it should not fail even if there are gnuplot processes.
Depending on PAUSE_MOUSE and COMMAND, it's possible for some gnuplot processes to persist.
xt: skip checking return value of plotting methods in Windows. Still in progress. Migrate process_mocktool.t and run.t.
xt: fix tests.
XTUtil: show Gnuplot::Builder::Process config params at the end.
xt/process_mocktool.t: fix test. the expectation now reflects $Gnuplot::Builder::Process::PAUSE_FINISH.
xt/process_mocktool.t: fix typo.
xt/plot.t: optionally it tests qt term.
Script: synopsis now describes 'key => value' interface instead of single-string DSL. I think the former is cooler.
Process: PAUSE_FINISH is now 0 by default. It creates never-ending gnuplot processes when qt term is used (as of gnuplot 4.6.5). That's too dangerous.
Builder: Add documentation about plot windows.
Builder, Process: add notice that the default configurations can be changed in future releases of Gnuplot::Builder.
xt/testlib/tee.pl: make tee.pl more prone to quit. This is necessary in Windows environment where pipes suck.
xt/plot.t: cond_check() was not applied to an assertion. Fixed.