•  Back 
  •  AES 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-File
                              The GEM.CNF File


When running under MultiTOS, the AES will load and process an ASCII text
file called 'GEM.CNF' which contains command lines that set environment
and AES system variables and may run GEM programs. In addition,
a replacement shell program may be specified in this file (see Chapter 9:
Desktop for more information).

AES environment variables may be set in the 'GEM.CNF' file with the
command 'setenv' as in the following example:

setenv TOSRUN=c:\multitos\miniwin.app

Several AES system variables may also be set in this file as shown in the
following example:

AE_FONTID=3

Currently recognized AES system variables that may be set are shown in
the following table:

Variable    Meaning

AE_FONTID   This variable may be set to any valid Speedo outline font ID
            which will be used as the AES default text font.This feature
            is only valid as of AES version 4.1.

AE_PNTSIZE  This variable defines the size of the AES default text font in
            points.This feature is only valid as of AES version 4.1.

AE_SREDRAW  Setting this variable to 1 causes the AES to send
            a full-screen redraw message whenever an application starts.
            Setting it to 0 disables this feature. The default is 1.

AE_TREDRAW  Setting this variable to 1 causes the AES to send
            a full-screen redraw message whenever an application
            terminates. Setting it to 0 disables this feature. The default
            is 1.

AE_LANG     The AE_LANG specifies a valid country code (see appl_getinfo)
            for the AES

The 'GEM.CNF' file may also be used to automatically start applications
as shown in the following example:

run c:\multitos\tclock.prg