[haskell-gnuplot] gnuplot package

haskell at henning-thielemann.de haskell at henning-thielemann.de
Thu Jun 6 09:25:17 BST 2013


On Wed, 5 Jun 2013, Mike Izbicki wrote:

> I've been meaning to make a bug fix to the gnuplot package, but haven't since I don't know how to use darcs.
> Anyways, you can't run gnuplot from ghci right now because it corrupts the terminal. I asked on SO here (*)
> how to fix the problem and got an answer.
> 
> This (**) SO question inspired me to finally email you.
> 
> (*) http://stackoverflow.com/questions/15936469/calling-gnuplot-from-within-ghci-corrupts-the-terminal-is-i
> t-possible-to-rest
> 
> (**) http://stackoverflow.com/questions/16803070/gnuplot-in-haskell-dont-enter-gnuplot-terminal


I had the first problem, too, but no real solution. Somehow 'gnuplot' 
disabled echoing of the terminal. You can get it back, if you blindly 
enter ':reload'. Which version of the gnuplot package do you use? Recently 
I have switched to run gnuplot via forkIO. You can download the current 
repository state from:
    darcs get http://code.haskell.org/gnuplot/

However, people have reported that when starting a bunch of gnuplot 
instances, some of them fail to open. :-(


More information about the Gnuplot mailing list