1 GHCM
This program is for getting listing files from a ReGIS terminal (VT240)
suitable for LN03, LA50 or LA100/LA210 output.  It has options for sel-
ecting  only  some graphs in a big ReGIS file, allowing you  to  select
only certain graphs for getting hardcopy.

Calling sequence:

  $ ghcm=="$sys$cusp:ghcm"
  $ ghcm  infile  [listfile]
2 Parameters
The input file is usually Datatrieve output.  It must contain a complete
ReGIS graphic between the begin/end escape sequences.

The output file is optional.  If specified, it receives all listing output.
If not specified, then it defaults to <infile>.1, <infile>.2, etc where
the numbers are the selected plots (see /SELECT option).
2 Qualifiers
2 /FORM
Adds formfeeds between each plot.
2 /TRIM
Trims left hand graphic margins from listings.  (NOT TESTED!)
2 /SELECT=(list)
Selects plots based on ordinal numbers (1,2,3,...) of the plots in <infile>.
For Datatrieve bar graphs, for instance, the plots appear twice: the first
time with solid colours, the second time is crosshatched.  Normally you
only want to print the crosshatched version.  Note that Datatrieve only
plots the Legend once, so that GHCM will plot both (n-1) and (n) if (n)
is the plot specified in the /SELECT.
2 Examples
Plot one graph:

  $ ghcm /form infile.regis infile.lis

Plot six graphs, where each is a bar graph:

  $ ghcm /form infile.regis/select=(2,4,6,8,10,12) infile.lis

Plot six graphs, producing files INFILE.2,INFILE.4,INFILE.6,INFILE.8,
INFILE.10 and INFILE.12:

  $ ghcm /form infile.regis/select=(2,4,6,8,10,12) 

