$DISPLAY

Specify a translation table for display in character-based user interface (CHUI).

$DISPLAY {=} DeviceTranslationTable{-80|-132|:Mode}

Arguments

  • DeviceTranslationTable—name of a device translation table.
  • -80 or -132—width of the print layout in characters.
  • Mode—mode in the VT device translation table supplied by Uniface (available in the library USYS), which determines how wide the screen is for display and printing purposes.
Modes for VT Device Translation Tables
(Except VT340G)
Mode Explanation
0 Normal screen dimension, 80 columns, 24 lines.
1 Wide screen dimension, 132 columns, 24 lines.
4 Print layout for 80 columns, 66 lines.
5 Print layout for 132 columns, 66 lines.
6 Print layout for 80 columns, 72 lines.
7 Print layout for 80 columns, 72 lines.

Defaults

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

Description

$DISPLAY causes Uniface to load and use DeviceTranslationTable for the current library.

You can use the ProcScript function $display to test for the current display device translation table. Remember that the device translation table loaded depends on the library in use when the application is started.

$DISPLAY

The following example loads the device translation table VT340G:

$DISPLAY = VT340G

The following example loads the VT device translation table with mode1 (132 characters by 24 lines) set:

$DISPLAY = VT:1

The following example loads the VT device translation table with a width of 132 characters:

$DISPLAY = VT-132

Related Topics