This directory contains my GIF driver for GCG 8.1.  The driver is based on
GD 1.3 by Thomas Boutell.  It has been tested on OpenVMS but should work
correctly on Unix too.  However, since I don't have a GCG Unix system I
can't provide installation instructions for that.  Note also that the 
graphics driver on VMS is compiled using /STANDARD=VAXC because it breaks
in the parts provided by GCG without it.  You will likely have to use an
equally sloppy compiler mode on Unix. For instance, what "cc" with no args
will give you. 

After unpacking this directory modify [GCG.GCGSOURCE.MAKEFILES]DRIVERS.AXP
or DRIVERS.VAX by adding the line:

GenObLib:gif.Obj  GenImage:GIFShare.Exe        GIF

Then build and install the driver with:

$ @BUILD_GCGGIF.COM

If you want to build GD as well (not required) also do

$ @MAKE_VMS.COM

Then append this line to GENCOM:SITELOGICALS.COM

$ GIF :== @GENCOM:GIF

and to GENCOM:SITEDEVICES.CONFIGURE add

!   GIF driver
command:     GIF = @GENCOM:GIF
description: Print through the GIF driver to a file OUT.GIF
context:     setplot,wpi

When using SETPLOT the output will always go to OUT.GIF.  When using the 
command line the output may be directed to another file via:

$ GIF DIFFERENT_NAME.GIF

GIF's do not use LZ compression (due to legal issues) and so can be pretty large.

Here's an example:

$ GIF PLOTTEST.GIF
$ PLOTTEST

The GIF's produced have a white background color so be sure that you don't
draw with a white pen or the resulting graphic will be invisible!

Please report any bugs,

15-DEC-1999
David Mathog
mathog@caltech.edu
Manager, sequence analysis facility, biology division, Caltech 
