next up previous contents index
Next: List of routines Up: General Hints for Previous: Plotting numbers as

GKSPACK

GKSPACK contains routines which may be placed into several categories.

For various technical reasons it has been decided to include entry points for all routines in GKSPACK in the GTS-GRAL libraries gif maintained by CERN. This means that users of GKSGRAL do not need to link to a separate library in order to have access to GKSPACK routines, which is a change to the previous situation when it was necessary to link applications also with the CERN library 'NGRAFLIB'.

For users of other GKS implementations a PAM file, named GKSPACK, is available. Initially, apart from GKSGRAL, this has support only for DECGKS. The PAM file distributed by the CERN Program Library will be included also on the GTS-GRAL distribution tape, and is available at CERN as follows:

IBM:
via GIME CERNPAMS
VXCERN:
in CERN_ROOT:[PAM]GKSPACK.PAM
Apollo:
in /cern/pro/pam/gkspack.pam
UNIX:
in $CERN/pro/pam/gkspack.pam
The compiled version for DECGKS is available at CERN:
VXCERN:
GKS_ROOT:[LIB]GKSPACK_DEC.OLB

As mentioned above, GKSPACK includes some routines for which it may not be possible to produce correctly working versions for implementations other than GKSGRAL. For example, this is the situation for GCATOG and GCGTOA with DECGKS. In these cases GKSPACK contains dummy routines with the correct calling sequences, but which write out an error message to a file named GKSPACK.ERR. In fact, for GCATOG and GCGTOA, calling the dummy routines when using a terminal gif actually stops the application program as well. This is because if the application mixes Fortran I/O and graphics without using correctly working versions of GCATOG and GCGTOA then probably the terminal will block and need to be re-set. (If used via VM/CMS this also can block the communications.)

The GKSPACK routines which provide access to the implementation dependant values for workstation types and connection identifiers require access to a data file. Examples of this file are distributed with GKSPACK, and at CERN are available as follows:

IBM
The file is called GKS$IMPL DAT. A GTS-GRAL GKS version is available on the 'Q' disk, but users may provide their own if they wish.
VAX
The file is available via the Logical Name GKS_IMPLEMENTATION. Both GTS-GRAL and DECGKS versions of the file exist, and users must assign the one they wish to use.
GKS_ROOT:[DAT]GKS_IMPLEM.GTS
GKS_ROOT:[DAT]GKS_IMPLEM.DEC
UNIX
The file is accessed via $GKS_IMPLEM, which must be defined as an environment variable. A GTS-GRAL GKS version called gks_implem.gts is available in $gkshome, or in /cern/gks/pro/dat.
An example of such a file would be:
DECGKS
NB WKTYPES    5
 
PSTSCR            61     9
T4107             82     0
VT340             17     0
VXUIS             41     0
WISS               5     1



next up previous contents index
Next: List of routines Up: General Hints for Previous: Plotting numbers as


Janne Saarela
Mon Apr 3 17:00:12 METDST 1995