dkogan/feedgnuplot

Bad handling of lots of incoming data

vi opened this issue · 3 comments

vi commented

Example: plotting the the input of soundcard:

arecord | hexdump -ve '1/1 "%d\n"' | feedGnuplot.pl --xlen 24000

# some data read, some plot is drawn, but then:

gnuplot> 55580
         ^
         line 126069: invalid command


gnuplot> -1
         ^
         line 126069: invalid command


gnuplot> 55581
         ^
         line 126069: invalid command

Thanks for the report. I just looked into it, and I think I found and fixed the bug. It works for me now. Can you please try the new version and close the bug if it works?
Thanks.

vi commented

Checked latest git version, now it works better for sound.
But I still get such messages when ^C the script.

Thanks for rapid fixing.

vi commented

(Considering poor Ctrl+C behaviour as something separate program common to all Gnuplot feeders and closing)