CHAPTER 2: System Variables


2.1 Introduction

There are several Empress system variables which allow the user to control the Empress 4GL environment. They all have default values, which are defined in the file initfile in the Empress custom directory. These variables can be reset in the operating system before starting the Empress 4GL environment. Examples for each operating system are below.
 

UNIX C shell: 

   setenv VARIABLE value

UNIX Bourne shell: 

   VARIABLE=value; export VARIABLE

If value contains special characters or spaces, it must be quoted,i.e.: "some value"

 
Table 2-1
 
System Variable Function 
MS4GLCHKNULVAL If set to any value, null values for NOT NULL attributes will be detected by the check command.
MS4GLCOMPATCHK If set to any value, allows warning messages regarding possible compatibility problems to be issued when an application is compiled.
MS4GLDEBUGSETUP Specifies the pathname of the file containing the initialization information for Empress 4GL debugging.
MS4GLFLUSHTYPEAHEAD If set to any value, typeahead will be disabled. 
MS4GLFONTNAME Specifies the name of the font to use for workstation display managers.
MS4GLFONTNAME2 Fontname specification for the Korean implementation of Empress.
MS4GLKANJICONVERTER Specific to the Empress Kanji version.
MS4GLNOLOADRUNMSG If set to any value, loading and running informational messages will be suppressed.
MS4GLPRINTSCREEN Specifies the pathname of the file in which to store screen dumps.
MS4GLPRINTSCREENFORMAT Specifies which output format to use when printing a screen.
MS4GLPSHEADER Specifies the pathname of the header file for PostScript output. 
MS4GLPSHEIGHT Specifies the font height for PostScript output.
MS4GLPSWIDTH Specifies the font width for PostScript output.
MS4GLAPFMDB Specifies the pathname of the Empress 4GL system database.
MSTERM Specifies the name of the terminal in use.
MSTERMDB Specifies the pathname of the terminal information database.
MS4GLXASYNCOFF If set to any value, this variable disables immediate processing of the <Interrupt> key when the 4GL application is running X Windows.
MS4GLXCOLORTOLERANCE When running under X Windows, if Empress 4GL is unable to obtain a color, this variable specifies how much difference - between the request color and an obtainable one - Empress 4GL will tolerate.
MS4GLXCURSORCOLOR Specifies the foreground and background colors of the cursor of a 4GL application running under X Windows.
MS4GLXNEWCOLORMAP If set to any value, this variable enables instructs Empress 4GL to use a new colormap under X Windows.
MS4GLXPOINTERCOLOR This variable defines the pointer color under X Windows.
MS4GLXWINDOWTITLE Specifies the title for the Empress 4GL window under X Windows.



2.2 Description of System Variables

MS4GLCHKNULVAL

MS4GLCOMPATCHK

MS4GLDEBUGSETUP

MS4GLFLUSHTYPEAHEAD

MS4GLFONTNAME

MS4LGFONTNAME2

MS4GLKANJICONVERTER

MS4GLNOLOADRUNMSG

MS4GLPRINTSCREEN

MS4GLPRINTSCREENFORMAT

MS4GLPSHEADER

MS4GLPSHEIGHT

MS4GLPSWIDTH

MS4GLAPFMDB

MSTERM

MSTERMDB

MS4GLXASYNCOFF

MS4GLXCOLORTOLERANCE

MS4GLXCURSORCOLOR

MS4GLXNEWCOLORMAP

MS4GLXPOINTERCOLOR

MS4GLXWINDOWTITLE