From 8cc51461a327a6c792e81617ab57b7604b1c9187 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Fri, 22 Aug 2014 14:54:06 -0700 Subject: [PATCH] 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 --- bin/feedgnuplot | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bin/feedgnuplot b/bin/feedgnuplot index b95ae77..0bd1dea 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -454,12 +454,6 @@ sub makeDomainNumeric sub mainThread { local *PIPE; - my $dopersist = ''; - - if( !$options{stream} && getGnuplotVersion() >= 4.3) - { - $dopersist = '--persist'; - } if(exists $options{dump}) { @@ -469,7 +463,7 @@ sub mainThread { my $geometry = defined $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;