
UNIX Port of EXAFSPAK (Linux)

1) Installation.

EXAFSPAK is supplied as a single file - ep_linux_01.tar.gz.
 
a) Unpack this file into it's own directory thus:

  mkdir  ~/exafspak
  cd  ~/exafspak
  gunzip  ep_linux_01.tar.gz
  tar  -xf  ep_linux_01.tar 

Some of the files are hidden.  Use ls -a to give a complete
listing.

b) modify your .bashrc file (or whatever) to include:

  export  EXAFS=$HOME/exafspak
  export  PATH=$PATH:$EXAFS

If you do not have a .bashrc file then simply copy the
supplied example thus:

  cp  ~/exafspak/.bashrc_eg  ~/.bashrc

otherwise append it, for example:
 
  cat  ~/.bashrc  ~/exafspak/.bashrc_eg  >  ~/.bashrc


If your shell is not bash then modify the appropriate
startup file.


c) copy/create example startup and setup files.

These files are all hidden.  Those ending "rc" specify fonts, 
X-window sizes etc (see below).  Those ending ".stp" are
EXAFSPAK setup files.

Move the example (hidden) files into the $HOME directory thus:

  mv  ~/exafspak/.*rc  ~/
  mv  ~/exafspak/.*.stp  ~/


d) When you restart - EXAFSPAK should be working.


-------------------------------------------------------------

2) X-Window FONTS etc.

These are specified in ~/.gplotrc.  Each EXAFSPAK program 
can also have its own *rc file (~/.processrc, ~/optrc etc) 
which will override the settings in ~/.gplotrc.
Any variable not in (for example) ~/.processrc will default
to the value in ~/gplotrc, - or if not there either - the 
internal program default.

This is an example ~/.gplotrc file:

X-WINDOWS=ON
TERMINAL=0,0
BACKGROUND=black 
FONT=-adobe-courier-medium-r-normal--20-200-75-75-m-*- ...
AFONT=SOFT
LFONT=OFF
G_HFONT=-adobe-courier-medium-r-normal--18-180-75-75-m ...
G_VFONT=SOFT
FONTSIZE=20
G_DEVICE=10,2,80,24,1
G_DEVICE=11,0,70,34,0
G_DEVICE=12,0,50,20,0

Explanation of each variable:
X_WINDOWS=ON    These turn on or off the X-interface
X_WINDOWS=OFF   (default is usually ON - except for mave).
                 
TERMINAL=0,0    Dimensions (columns,rows) of the VT terminal.
                (default = 80,24) 0,0 means try and detect 
                automatically.

BACKGROUND=black  Background color of X-window.  (Also sets   
BACKGROUND=white  background color of VT100 terminal...)

FONT=<main_font>,<bold_font>  Names of two fonts, one medium 
                and one bold used by the X-Window for text.
                These must be fixed spacing.

FONT=SOFT       Uses the (not very nice) internal FONT.  This
                is the default if fonts fail to load.

AFONT=<alt_font>,<alt_bold_font>  Names of medium and bold
                "dectech" fonts.  Same size as FONT - used for
                linedrawing.

AFONT=TRANS     If the linedrawing characters are in FONT
                at char < 32 then this will work. 

AFONT=SOFT      This draws the linedrawing characters using
                the internal FONT - looks OK but a little 
                slower.

LFONT=OFF       Does nothing (yet).

G_HFONT=font1,font2,symbol_font - three fonts used for horizontal
                graphics characters.
                These should be a little smaller than FONT.
                font1 and font2 are medium and bold regular
                characters, symbol_font is ... a -symbol- font.

G_HFONT=SOFT    Uses the internal font for horizontal graphics 
                characters.

G_VFONT=SOFT    Uses the internal font for vertical graphics 
                characters - currently the only option.

FONTSIZE=20     Default size for the internal font.  Normally
                this will scale to FONT - if loaded, otherwise
                this is the size.

G_DEVICE=10,2,80,24,1  Defines a GPLOT X-Window device.  Here
                the numbers are:
                10 - the GPLOT device number
                2  - the mode: 0 = resizable window
                               2 = fixed window
                80 - window width in characters
                24 - window height in characters
                1  - the IOPAK mode: 1 = IOPAK writes to this 
                                         window.
                                     0 = IOPAK doesn't write
                                         to this window.
                     only one window can have this set.

G_DEVICE=11,OFF  Turns off a GPLOT X-window device.



The ~/.gplotrc supplied uses a Courier Font.  An Alternative
"~/.gplotrc_terminal" uses a Terminal Font.  Just rename it
to .gplotrc to use it.


