File: README.os2

package info (click to toggle)
gnuplot 3.5beta6.347-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 5,032 kB
  • ctags: 4,235
  • sloc: ansic: 42,086; makefile: 561; asm: 539; sh: 386; objc: 379; csh: 297; pascal: 194; perl: 138; lisp: 88
file content (95 lines) | stat: -rw-r--r-- 3,851 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
GNUPLOT 3.3 for OS/2 v 2.0
==========================

1) Introduction
===============

This file discusses the version of GNUPLOT 3.3 implemented for OS/2 2.0.

The command line interface of GNUPLOT is retained, while graphics output is
plotted in a Presentation Manager Window. The GNUPLOT command line
appears in another text-mode window on the screen.

The PM window has facilities for printing the plot on the default printer,
for changing the fonts used on the plot, and for switching between different
ways of plotting the lines (with colour, as dot/dashed lines, or both).

The command line window offers the usual GNUPLOT interface. Both Unix-style
and DOS-style editing keys are supported.

The GNUPLOT program was compiled with the emx version of the GNU compiler.
It supports the shell command (type 'exit' to return to GNUPLOT), can pipe
datafiles through external commands using '<', and supports command-line
substitution. It runs the full set of demonstration programs supplied in
the GNUPLOT source code distribution without problems.

The GNUPLOT 3.3 port to OS/2 differs slightly from the 3.2 port, in that
the PM driver is started from GNUPLOT, rather than the other way round.
This means that the program name will have to be changed in the program
object that runs GNUPLOT, if you install 3.3 over 3.2.
This change does however make the GNUPLOT command line accessible to programs
that pipe commands to GNUPLOT.


2) Running GNUPLOT
==================

GNUPLOT can be run from the command line of an OS/2 session (preferrably
a windowed command session, so that the command line and the displayed
graph can be viewed at the same time), or can be set up as a program object
in the WPS.

GNUPLOT starts up as a command line session which accepts the usual
GNUPLOT input. The Presentation Manager window for graphics display
is only opened when the first 'plot' or 'splot' command is entered.

If GNUPLOT is set up as a program object, it can be configured for
'drag and drop' in the usual way, by specifying '%*' as the program
parameter.

The PM window has facilities for printing the plot, for changing
the fonts used in the plot, and so on. These of course are handled
through the usual PM interface.
In addition, you can 'drop' a font onto the window to change the font.

The usual GNUPLOT commands can also be used to produce output on
supported devices.

Settings and the positions and sizes of the windows can be saved in
the file gnushell.ini. This file is saved in the program's working
directory; several different directories can be set up (as program
objects) with different options, if you wish.

GNUPLOT can be run with the PM display window maximised: clicking on
the 'GNUPLOT' menu item (or pressing 'ESC') will bring the GNUPLOT
window to the foreground; it will disappear again when plotting begins.

GNUPLOT itself communicates with the PM display window (which is a
separate program) through a named pipe. Plotting commands are sent to
the PM window which produces the plot when all commands have been received.

3) The port of GNUPLOT to OS/2
==============================

Changes to the code have been kept minimal. Besides the obvious addition
of the PM driver code, the following are the major changes:

1) Addition of code in readline.c to map keypad keys to editing functions,
   to duplicate the MS-DOS mode of editing the command line. (See GNUPLOT manual,
   page 2.)

The rest of the changes are associated with defining the use of the OS2
conditional value, and setting system-dependent stuff like names, signal
handling, and end-of-line handling (LF vs CR+LF).

See the file patches.os2 for changes to the GNUPLOT source.

4) gnupmdrv.exe
===============

Gnupmdrv.exe is the 'outboard' driver for GNUPLOT. It is a multithreaded
PM program.

Roger Fearick
fearick@physci.uct.ac.za
5 November 1992