home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
GRAPHICS
/
gnuplot32x.tar.Z
/
gnuplot32x.tar
/
os9gnuplot3
/
README.OS9
< prev
Wrap
Text File
|
1992-06-29
|
3KB
|
70 lines
This is the information file for porting GNUPLOT 3.2 to OS-9/68000
Now, it includes readline facilities and X windows support.
X windows driver program for 68020 is ready compiled, because you
might have no X11 librarys on your computer.
You need:
a) gnuplot3.2 (included with this package for right \n chars in sources)
b) gcc version 1.?? (I used 1.40, but others should do)
c) v7make or another make, which sets option -c per default (not -r)
d) the blarslib from Bob Larson, you can get from hermit or another
library, which contains neccesary UNIX like functions. We use
our own os9lib.l, which is derived from os9lib at hermit.
I include it with this package, use os9lib.l or os9lib020.l
for your processor, but you have to get the right header files
yourself.
e) If you want to compile the X11 windows driver, you need the
X11R4 package from hermit (headers and librarys).
To compile:
0) if neccesary copy the os9lib.l or os9lib020.l to your lib directory
1) copy all text files from OS9GNUPLOT3 to gnuplot (with the -r flag)
2) edit makefile gnuplot/Makefile.OSK for right locations, libs etc.
3) edit plot.h and term.h for right SHELL and termflags
4) make -fMakefile.OSK in directory gnuplot
5) for test run demos in gnuplot/demo.
X11 windows support:
It is only an option. If you don't need it, set the X flags at Makefile.OSK
empty. If you want it, you can only set the PLOTXFLAG and use the ready
gnuplot_X11, which you have to copy to your path, or if you have a working
X11 package, set GNUPLOT_X11 at the Makefile.OSK and make it. too. for
that, you have to copy the gnuplot_X11.c from OS9GNUPLOT3 to ../GNUPLOT,
because there is a slight difference between it and the original. For
it, you has to use the -r copy option by copying the files. You can
compile the original gnuplot_X11.c, too, but the select() from os9lib.l has
an error, so you have to "touch" every plot with the mouse to get a new one.
The correction terminates select() after one second to update the plot, if
neccesary.
Known bugs:
None, to this time (please tell me).
Shortcomings:
None.
Remark:
Because of incompatibility of termio between UNIX and OSK, we
replaced the original readline() function by getline() from
Chris Thewalt. Norbert Nicolay did the work for adapting
getline.c to OSK. See getline.c for function details.
If you have any questions, ask: budelsky@haegar.ikp.uni-koeln.de
or budelsky@snert.ikp.uni-koeln.de
Dietmar Budelsky
/* Copyright notice from Chris Thewalt */
/*
* Copyright (C) 1991 by Chris Thewalt
*
* Permission to use, copy, modify, and distribute this software
* for any purpose and without fee is hereby granted, provided
* that the above copyright notices appear in all copies and that both the
* copyright notice and this permission notice appear in supporting
* documentation. This software is provided "as is" without express or
* implied warranty.
*/