                                                           File: TERM_DAT.TXT


            ANNIE-IDE System Specification File (TERM.DAT)
                        Quick Reference Guide

                             January 1991


            Center for Exposure Assessment Modeling (CEAM)
            U.S. Environmental Protection Agency (U.S. EPA)
               Office of Research and Development (ORD)
            Athens Environmental Research Laboratory (AERL)
                       960 College Station Road
                      Athens, Georgia 30605-2700

                              706/546-3549



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

Introduction

The file TERM.DAT is an ANNIE Interactive Development Environment (ANNIE-IDE)
system specification or terminal definition file.  A unique TERM.DAT file is
distributed with and used by each CEAM program or model system that has an
ANNIE-IDE based pre-processor, main, and/or post-processor interactive
program.  ANNIE-IDE library files--used to build the executable, interactive
program task image files--contain parameters that can be system dependent. 
These parameters have a default value for a given system.  The defaults are in
the primary message file MESSAGE.WDM as distributed with the application
program or model system.  However, the user can override default values by
modifying the TERM.DAT file built by the software product's installation
(INSTALL or INSTALxx) program.

The TERM.DAT file is a formatted, sequential file that can be constructed
and/or modified with a text editor that can read and save files in ASCII
text (i.e., non-binary) file format.  One parameter name and its value are
specified per line.  The parameter name must be followed by one blank
character and then the desired value (e.g., CMPTYP PC).  Blank lines and/or
control-Z (end-of-file marker) characters on the top and/or bottom line of the
file can cause problems when processing the TERM.DAT file on selected computer
systems.  The number of lines in the file is limited only by the number of
parameters that the user needs to specify.


TERM.DAT File Parameters

The table on the following page lists and describes selected parameter names
and values for the TERM.DAT file.  It includes, for each parameter, a code
number, code name, default value if parameter not specified in TERM.DAT file,
allowable value(s), and a brief description.

     NOTE: The parameter code number is used only by the application
     program developer and/or programmer.  All other parameters can be
     used and/or modified by the application program user in the TERM.DAT
     file.

Parameter   Default   Allowable
Code/Name    Value     Value(s)        Description                            

 1 CMPTYP     PC      PC,PRIME,VAX     type of computer; use PC for IBM clone
 2 TRMTYP     PC      PC,VT100,OTHER   type of terminal
 3 TRMINP     1       0 - 10           FORTRAN unit no. for terminal read *(1)
 4 TRMOUT     1       0 - 10           FORTRAN unit no. for terminal write*(2)
 5 TRMPAU     124 (|) 33 - 127         pause in log file character (sequential
                                       number in character set)
 6 TRMFIL     64 (@)  33 - 127         invoke log file character (sequential
                                       number in character set)
 9 MENCRA     NONE    NONE,DOWN,NEXT   modify <Enter>/<CR> key attribute *(3)
13 FILMAX     15      10 - 99          max. no. file units open at same time
14 FILUNI     30      7 - 99           first unit no. used for ANNIE-IDE files
15 RECTYP     WORD    BYTE,WORD        OPEN statement dir access file rec len
16 GRAPHS     NO      YES,NO           GKS graphics installed/supported?
22 CLRFRM     15      0 - 15           foreground color - modified data *(4)
26 CLRFRE     4       0 - 15           foreground color - error messages
28 CLRFRD     15      0 - 15           foreground color - data window
30 CLRFRS     7       0 - 15           standard foreground color
32 CLRBKE     2       0 - 15           background color - error messages
33 CLRBKS     0       0 - 15           standard background color
35 BUGFLG     NONE    NONE,SOME,LOTS   amount of debug printout *(5)
45 USRLEV     0       0,2              user experience level *(6)

*(1) - 5 or 6 on most systems
*(2) - 1 for PRIME, 6 for DEC VAX and PC, 0 for Data General
*(3) - NONE does not move highlight bar on menu screen if <Enter>/<CR> key
            pressed
       DOWN moves highlight bar one option on menu screen (same as down arrow
            key)
       NEXT accepts menu option then moves to next screen (same as <F2> key)
*(4) - The following color code numbers are acceptable for the color
       specification parameter(s) (i.e., CLRFRM, CLRFRE, CLRFRD, CLRFRS,
       CLRBKE, CLRBKS) in the TERM.DAT file.

            0 - black             8 - dark gray (black)
            1 - light blue        9 - bright blue
            2 - light green      10 - bright green
            3 - light cyan       11 - bright cyan
            4 - light red        12 - bright red
            5 - light magenta    13 - bright magenta
            6 - light brown      14 - yellow
            7 - light gray       15 - white

            NOTE:  Color specification parameters can only be used on
            microcomputer systems with color monitors.

*(5) - BUGFLG has not been implemented with a CEAM application.
*(6) - 0=lots, 2=none.  USRLEV has been implemented with selected CEAM
       software products.  Therefore the use of this parameter is application
       (product) specific.  For demonstration purposes, USRLEV is implemented
       with the OFFSPACE program, a sample ANNIE-IDE application program
       available from CEAM.


                           #########################

DWD/dwd - November 1994 - Master copy in E:\AIDE\TERM_DAT.TXT
