Customizing Your ConfigurationChapter —5
240 TE 2000
5250 Terminal Emulation Programmer’s Guide
Remapping Characters
You can use display character translation files to remap characters as they
are written to the display. The translation file name for 5250 TE must be
5250.XLT. For instructions on how to download the file to the terminal,
see “Downloading Files” on page 251.
Display character translation files are binary f iles consisting of ordered
pairs of eight bit values. Each pair of values remaps a displayable character
to a different displayable character.
S The first byte of a pair is the ASCII value of the character to replace.
S ThesecondbyteofapairistheASCIIvaluethatreplacesthefirst.
These translations are only made when a character is written to a display
device. If the character is sent to the host (such as keystroke or scan data)
or sent to an external device (such as a printer), it is sent as the original,
untranslated value.
Suppose you want a terminal running 5250 emulation to replace the up-
percase B with the Greek letter beta, and replace the uppercase Z with the
Greek letter omega. Create a file named 5250. XLT that is four bytes long
(two ordered pairs of two bytes each). The file should contain the 0x42,
0xE1, 0x5A, and 0xEA bytes in this order. These represent the ASCII dis-
play character set values for B, beta, Z, and omega, respectively.