$DEFAULT_TERM

Set the default keyboard and display table name.

$DEFAULT_TERM {=} TranslationTableName

Defaults

Assignment file: client assignment files
Section: [SETTINGS]
Default value: None

Description

If Uniface cannot determine what kind of translation table to use, or if the defined table cannot be found, it uses the default terminal tables specified by $DEFAULT_TERM.

$DEFAULT_TERM sets the (combined) default keyboard and display table name for the application. If you have not used $KEYBOARD and $DISPLAY to define the keyboard and display in use, and if the UKEYB and UDISP system variables are not defined, the $DEFAULT_TERM setting is used when the application starts.

If $DEFAULT_TERM has not been set in an assignment file, Uniface uses an appropriate default. The choice of a default table is determined by the GUI being used.

Default values for $DISPLAY and $KEYBOARD
GUI in use $GUI Assignment Setting Default value
Character mode $CHR USYSTERM
Microsoft Windows $MSW MSWIN3

If $DEFAULT_TERM is not assigned and the system returns a terminal type of ‘unknown’, Uniface opts for the USYSTERM by default. USYSTERM is a very basic device driver designed to work in as many environments as possible, on the basis of managing the ‘lowest common denominator’ of requirements. It is always better to specify the exact keyboard and display device translation tables with $KEYBOARD and $DISPLAY or with the UKEYB and UDISP system variables.

$DEFAULT_TERM

Setting $DEFAULT_TERM to ‘VT’ is a good way of covering almost all VT-series terminals and clones.

$DEFAULT_TERM = VT

Related Topics