#Version 3
14-02-90

1.  Parameters => environment variables

If a parameter set is changed (from a menu) the
shell variables with their values are automatically
added to the environent. This allows the use of
system commands like:

   Sys "vi $GLDIR/$GLFILE"

This removes the need for most action routines programmed in C.

2.  MAINDIR always defined in environment

As an extra environment variable you can use $MAINDIR, which
always points to the Esprit directory.  This allows you to write
system commands like:

  Sys "more $MAINDIR/glue/glue.report"

3.  Better MENU.DAT file

The menu.dat file (default menu file) is updated to be a
better interface to the FORFUN programs.  


4.  Default values always in environment

The default values for all parameter sets are immediately
loaded in environment variables.


5.  Action lists now possible

If an item is selected a lists of actions has to be 
specified. You can specify actions like:

    [Ask 0002, Sys "vi $EDDIR/$EDFIL"]

    (Parset 0002 " Edit file: enter filename and directory "
       [ ("File", "EDFIL", "user8", 'F', 1, String),
         ("Directory", "EDDIR", ".", 'D', 1, String)
       ]
    )

6.  Identifying character for "Exit" changed into 'x' or 'X'

The character 'E' occurs in a lot of menus. X is more natural
for a program terminating key. 


#Version 2
30-01-90


Shell script pglue is now available that reads a single 
parameter set from stdin (in a user friendly syntax) and
starts glue with parameters to only ask for the values in this
parameter set.  Parameters + values are written to file setpars.
In csh parameters in this file can be added to enviroment with
'source setpars'.  In sh parameters can be added to environment
with '. setpars'.  To see pglue working run 'make test'.
Pglue can be used with 'here-files'.

Shell escapes from menu now possible. If glue is used with -c
option, 'csh' will be called, otherwise 'sh'.

Command line options in this version are:
-----------------------------------------
   -i file : use file as menu data file.
   -m n    : start with menu n as main menu.
   -p n    : only ask for parameter set n.
   -c      : use csh for shell escapes (otherwise sh),
             generate setpars file in csh format.
   -o file : use file as parameter output file.


The curses library has a bug in the getstr function.
To circumvent this a function wgetstr_edit was written
that handles editing keys backspace, delete and ^U
itself. The <return> key also works (used to be
only new-line).  Replacing string values for parameters 
behaves therefore correctly now.


#Version 1
Glue started November 1989.
