Hi.

This directory contains the source code for my cool new NeXTstep
gnuplot filter, version 1.1.  For more details about the usage of the filter,
please see the GnuTerm distribution.

This document describes how to compile the distribution.

Because the terminal works via NeXTstep distributed objects, the
source code contains two parts, modifications to the gnuplot 
source distribution and the source for GnuTerm.app itself.

Note that this distribution does not include the (large) source
to gnuplot.  You'll have to get that yourself.

Here's how I recommend building it:

Building gnuplot

Note that you may wish to back up the following files before proceeding:
term.c
term.h
term/next.trm
Makefile

Then

host% cp GTsource.tar.gz /YourGnuplotSourceDirectory
host% cd /YourGnuplotSourceDirectory
host% gunzip GTsource.tar 
host% tar -xf GTsource.tar 
host% mv makefile.nxt Makefile

Edit term.c and term.h to make sure all your favorite terminals are included.
Edit Makefile and change CFLAGS and LDFLAGS so you get the right fatness.

host% make gnuplot

This will build the new gnuplot in /YourGnuplotSourceDirectory.
You will probably then want to move gnuplot to /usr/local/bin or ~/bin.

Building GnuTerm.app

Fire up /NextDeveloper/Apps/ProjectBuilder.app
Open /YourGnuplotSourceDirectory/NeXT/PB.Project from ProjectBuilder's File->Open menu.
Select your desired fatness from the options panel.
Click on BUILD.

This will build GnuTerm.app in /YourGnuplotSourceDirectory/NeXT.
You will probably then want to move GnuTerm.app to /LocalApps or ~/Apps.

Note that if your modifying and testing repeatedly, you may want to take advantage
of the GNUTERMPATH environment variable for gnuplot.

A Note on Propriety

Please don't remove my name from the distribution.  I have spent some time on this and 
all I get is recognition.
If you change and redistribute the source, please comment your changes.
If you modify the source for the better, please drop me a note.  This way I can make sure 
that the next "official" distribution is as useful as possible.

If you have any suggestions or uncover bugs please address all correspondance to me at robert@amo.mit.edu

Robert Lutwak
June 23, 1995