Compare commits

..

5 Commits

Author SHA1 Message Date
Dima Kogan
fa997f2c16 changelog bump 2014-08-22 17:26:39 -07:00
Dima Kogan
62a38826ee Merge commit '8cc51461a327a6c792e81617ab57b7604b1c9187' into stir_nopersist 2014-08-22 17:26:13 -07:00
Dima Kogan
8cc51461a3 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
2014-08-22 17:18:30 -07:00
Dima Kogan
0c32afacfd fixed typo 2014-08-22 17:17:18 -07:00
Dima Kogan
1688496f34 an "exit" command now has effect even with triggered-only replotting 2014-05-28 02:34:39 -07:00
2 changed files with 9 additions and 10 deletions

View File

@@ -75,6 +75,7 @@ if($options{stream})
} }
$streamingFinished = 1; $streamingFinished = 1;
$dataQueue->enqueue(undef);
$plotThr->join() if defined $plotThr; $plotThr->join() if defined $plotThr;
$addThr->join(); $addThr->join();
@@ -413,8 +414,6 @@ sub plotUpdateThread
# indicate that the timer was the replot source # indicate that the timer was the replot source
$dataQueue->enqueue('replot timertick'); $dataQueue->enqueue('replot timertick');
} }
$dataQueue->enqueue(undef);
} }
sub sendRangeCommand sub sendRangeCommand
@@ -455,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})
{ {
@@ -470,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;
@@ -768,7 +761,7 @@ sub mainThread
# sleep until the plot file exists, and it is closed. Sometimes the output # sleep until the plot file exists, and it is closed. Sometimes the output
# is still being written at this point. If the output filename starts with # is still being written at this point. If the output filename starts with
# '|', gnuplot pipes the output to that process, instead of writing to a # '|', gnuplot pipes the output to that process, instead of writing to a
# file. In that case I don't make sure the file exists, since there IS not # file. In that case I don't make sure the file exists, since there IS no
# file # file
if( $options{hardcopy} !~ /^\|/ ) if( $options{hardcopy} !~ /^\|/ )
{ {

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
feedgnuplot (1.34stir1-1) unstable; urgency=medium
* disabled --persist because on our arm board it confuses things
-- Dima Kogan <dima@secretsauce.net> Fri, 22 Aug 2014 14:59:05 -0700
feedgnuplot (1.34-1) unstable; urgency=medium feedgnuplot (1.34-1) unstable; urgency=medium
* Very minor upstream update * Very minor upstream update