On 2/16/06, Taco Hoekwater wrote:
Hi Mojca,
Can you tell/send me what I need to get (and where) to compile a GNUplot from source with your terminal in it (on linux)?
You can either get gnuplot source from CVS repository (http://sourceforge.net/cvs/?group_id=2055) or take one from the distribution, although it may be that the interface changed since the version used in sources used in linux distributions (I don't know, I didn't succeed to compile it yet under linux, although it should be ten times more simple). You have to copy the context.trm into term/ folder and add a line # include "context.trm" to src/term.h You need to have pdflib and gd library as well, but I had so many problems with inclusion of the two that I removed/commented them/#undef HAVE_PDFLIB_H in config file or something similar (don't remember exactly). I don't need them for testing context terminal anyway. You're warned: the terminal is in very preliminary state and doesn't do anything else than drawing lines, points (I guess I forgot to include Hans's code for that in the zip) and text. The rest is more or less marked as "TODO". It's really simple to edit the source (except the undocummented part), so if anyone would like to contribute, it's not a big deal, but the decision has to be made how the things are to be implemented, so that they will allow as flexible output as possible (easy configuration of fonts & styles). The only problem with gnuplot is that it's not that easy to compile it and they might need a bit long time between releases (last one in April 2004), so if you just miss one, it may take forever before the next release comes out. I'll put the files somewhere online (probably together with windows executable) for testing & collecting proposals, but it's still far from being ready. Mojca