mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
disabling --persist because on our arm board it confuses things
with --persist enabled even something basic like seq 5 | feedgnuplot --terminal dumb does not work. feedgnuplot simply sits there doing nothing. This is likely a gnuplot bug. Those boards run an older gnuplot build, and I can't easily install a new one to test. It's possible the newer gnuplots fix this, but it's easier to release a new feedgnuplot instead
This commit is contained in:
parent
0c32afacfd
commit
8cc51461a3
@ -454,12 +454,6 @@ sub makeDomainNumeric
|
|||||||
sub mainThread
|
sub mainThread
|
||||||
{
|
{
|
||||||
local *PIPE;
|
local *PIPE;
|
||||||
my $dopersist = '';
|
|
||||||
|
|
||||||
if( !$options{stream} && getGnuplotVersion() >= 4.3)
|
|
||||||
{
|
|
||||||
$dopersist = '--persist';
|
|
||||||
}
|
|
||||||
|
|
||||||
if(exists $options{dump})
|
if(exists $options{dump})
|
||||||
{
|
{
|
||||||
@ -469,7 +463,7 @@ sub mainThread
|
|||||||
{
|
{
|
||||||
my $geometry = defined $options{geometry} ?
|
my $geometry = defined $options{geometry} ?
|
||||||
"-geometry $options{geometry}" : '';
|
"-geometry $options{geometry}" : '';
|
||||||
open PIPE, "|gnuplot $geometry $dopersist" or die "Can't initialize gnuplot\n";
|
open PIPE, "|gnuplot $geometry" or die "Can't initialize gnuplot\n";
|
||||||
}
|
}
|
||||||
autoflush PIPE 1;
|
autoflush PIPE 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user