[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44932] Add support for gnuplot xterm terminal
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #44932] Add support for gnuplot xterm terminal type |
Date: |
Mon, 27 Apr 2015 17:41:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2376.0 Safari/537.36 |
Follow-up Comment #4, bug #44932 (project octave):
So I managed to get it to work, but the patch is not particularly nice.
When gnuplot is set to xterm, it will not output to a file in the same way as
it would when set to dumb. This means I am forced to get the output from
popen2, which stops working after the first read. The only way I could get it
to work repeatedly is to SIGTERM gnuplot and set __plot_stream__ to [].
This works fine until you put it in a loop. The rapid forking and terminating
of gnuplot seems to cause errors.
I do not think my patch is worthy of a merge, but I am happy to share if
people want it.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44932>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/