Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 20 of 33

TE 2000 5250 Terminal Emulation Programmer's Guide: Section 5: Customizing Your Configuration, pages 161 to 169

Pages 161 to 169 of 270, from TE 2000 5250 Terminal Emulation Programmer's Guide

The original document is the PDF (4.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec 6400

Page 161

SECTION 5

Customizing Your Configuration remap=<0070>=“string” remap=<0071>=“string” remap=<0072>=“string” remap=<0073>=“string” remap=<0074>=“string” remap=<0075>=“string” remap=<0076>=“string” remap=<0077>=“string” remap=<0078>=“string” remap=<0079>=“string” remap=<007a>=“string”

/* p key*/ /* q key*/ /* r key*/ /* s key*/ /* t key*/ /* u key*/ /* v key*/ /* w key*/ /* x key*/ /* y key*/ /* z key*/ remap=<007b>=“string” remap=<007c>=“string” remap=<007d>=“string” remap=<007e>=“string” remap=<007f>=“string”

/* { key */ /* | key */ /* } key */ /* ~ key */ /* Del key */ remap=<1030>=“string” /* Home key */ remap=<1031>=“string” /* F1 key */ remap=<1032>=“string” /* F2 key */ remap=<1033>=“string” /* F3 key */ remap=<1034>=“string” /* F4 key */ remap=<1035>=“string” /* F5 key */ remap=<1036>=“string” /* F6 key */ remap=<1037>=“string” /* F7 key */ remap=<1038>=“string” /* F8 key */ remap=<1039>=“string” /* F9 key */ remap=<103c>=“string”/* Backspace key */ remap=<1042>=“string” remap=<1043>=“string” remap=<1044>=“string” remap=<1045>=“string” remap=<1048>= “string” remap=<1049>=“string” remap=<104c>=“string” remap=<104e>=“string”

/* Back Tab key */ /* Clear key */ /* Del key */ /* Enter key */ /* Help key */ /* Insert key */ /* Window/viewport left key */ /* New Line key */ remap=<1050>=“string” remap=<1052>=“string” remap=<1054>=“string” remap=<1055>=“string” remap=<1056>=“string” remap=<105a>=“string”

/* Print key */ /* Reset key */ /* Tab key */ /* Window/viewport up key */ /* Window/viewport down key */ /* Window/viewport right key */ remap=<1061>=“string” remap=<1062>=“string” remap=<1063>=“string” remap=<1064>=“string” remap=<1065>=“string” remap=<1066>=“string” remap=<1067>=“string” remap=<1068>=“string” remap=<1069>=“string” remap=<106a>=“string” remap=<106b>=“string” remap=<106c>=“string”

/* F10 key */ /* F11 key */ /* F12 key */ /* F13 key */ /* F15 key */ /* F16 key */ /* F17 key */ /* F18 key */ /* F19 key */ /* F20 key */ /* F21 key */ /* F22 key */ TE 2000t 5250 Terminal Emulation Programmer’s Guide

5-37

Page 162

SECTION 5

Customizing Your Configuration remap=<106d>=“string” remap=<106e>=“string”

/* F23 key */ /* F24 key */ remap=<1075>=“string” remap=<1076>=“string”

/* Roll Up key */ /* Roll Down key */ remap=<2041>=“string” remap=<206c>=“string”

/* Auto-Login Restart key */ /* Menu key */ remap=<3020>=“string” /* Field minus key */ remap=<302b>= “string” /* Field plus key */ remap=<3045>=“string” remap=<3046>=“string” remap=<3048>=“string” remap=<304c>=“string”

/* Field Exit key */ /* Erase Input key */ /* System request key */ /* Page left key */ remap=<3051>=“string” remap=<3055>=“string” remap=<3056>=“string” remap=<3057>=“string” remap=<3058>=“string” remap=<305a>=“string”

/*Attention key */ /* Page up key */ /* Page down key */ /* Field mark key */ /* HEX key */ /* Page right key */ remap=<4044>=“string”

/*Duplicate key */

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 5-46. Display character translation files are binary files consisting of ordered pairs of eight-bit values. Each pair of values remaps a displayable character to a different displayable character. The first byte of a pair is the ASCII value of the character to be replaced. The second byte of a pair is the replacement ASCII value. 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 uppercase 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 display character set values for B, beta, Z, and omega, respectively.

5-38

TE 2000t 5250 Terminal Emulation Programmer’s Guide

Page 163

SECTION 5

Customizing Your Configuration

Customizing 5250 EBCDIC to ASCII Translation The 5250 data stream translates all data from the host from 8-bit EBCDIC to 8-bit ASCII for processing in the terminal. Before the data is sent back to the host, it is again translated from ASCII to EBCDIC. The default translation is shown below. You can customize the operation of the 5250 data stream by changing the default EBCDIC to ASCII translation table. You can replace the default table with one that is combined with the HEX file that you download to the terminal. You can use ASEBTBLD.EXE to create the file. You must name it ASCEBD.TBL. Type asebtbld to display this information: ASEBTBLD ASCII-EBCDIC Translation Table Creation. $Revision: 1.0 $ $Date: 03 Apr 1998 13:46:14 $ Copyright 1995, Norand Corporation. Usage: ASEBTBLD [<options>] <commands> <fname> <options>: -r<file> Input file containing replacement table type, 0x00-0xff table index, 0x00-0xff value. -v Verbose, display processing steps. <fname> Output file name, extension ignored.

ASEBTBLD creates <fname>.TBL from the default ASCII and EBCDIC tables using the replacement values specified in --r<file>. Typing the following creates the file ASCEBD.TBL, with the replacement values specified in CHANGES.MY. asebtbld -rchanges.my ascebd The replacement file is an ASCII text file formatted as follows: -----------------top of replacement file-------------------/* Any line beginning with ‘/*’ in column 1 is a comment. /* A=ASCII=> /* EBCDIC /* E=EBCDIC=> 0-based hex /* ASCII index value Anything after value is a comment /* --------------------A 0x30 0xf0 ASCII ‘0’ returns EBCDIC ‘0’ E 0xf0 0x30 EBCDIC ‘0’ returns ASCII ‘0’ E 0xc9 0x3f Unknown EBCDIC 0xc9 returns ASCII ‘?’ /* Any number of blanks, tabs allowed before, between and /* after values. /* blank lines allowed -----------------bottom of replacement file-------------------

ASEBTBLD creates the following default tables if no replacement file, or an empty replacement file, is specified. TE 2000t 5250 Terminal Emulation Programmer’s Guide

5-39

Page 164

SECTION 5

Customizing Your Configuration

ASCII to EBCDIC

5-40

0x00 0x00 0x16 0x10 0x18

0x01 0x05 0x11 0x19

0x02 0x25 0x12 0x3f

0x03 0x0b 0x13 0x27

0x37 0x0c 0x3c 0x22

0x2d 0x0d 0x00 0x00

0x2e 0x4f 0x32 0x35

0x2f 0x0f 0x1c 0x00

0x20 0x40 0x4d 0xf0 0xf8

0x5a 0x5d 0xf1 0xf9

0x7f 0x5c 0xf2 0x7a

0x7b 0x4e 0xf3 0x5e

0x5b 0x6b 0xf4 0x4c

0x6c 0x60 0xf5 0x7e

0x50 0x4b 0xf6 0x6e

0x7d 0x61 0xf7 0x6f

0x40 0x7c 0xc8 0xd7 0xe7

0xc1 0xc9 0xd8 0xe8

0xc2 0xd1 0xd9 0xe9

0xc3 0xd2 0xe2 0x5b

0xc4 0xd3 0xe3 0xe0

0xc5 0xd4 0xe4 0x5d

0xc6 0xd5 0xe5 0x6a

0xc7 0xd6 0xe6 0x6d

0x60 0x79 0x88 0x97 0xa7

0x81 0x89 0x98 0xa8

0x82 0x91 0x99 0xa9

0x83 0x92 0xa2 0xc0

0x84 0x93 0xa3 0x6a

0x85 0x94 0xa4 0xd0

0x86 0x95 0xa5 0xa1

0x87 0x96 0xa6 0x07

0x80 0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x4a

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0xa0 0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x5f 0x00 0x00

0x00 0x00 0xad 0x00

0x00 0x00 0x9d 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0xbc

0xc0 0xab 0x00 0x00 0x00

0x8c 0x00 0x00 0xbb

0x8b 0x00 0x00 0xac

0x8d 0x00 0x00 0x00

0xbf 0x00 0x00 0x00

0x8e 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0xe0 0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

TE 2000t 5250 Terminal Emulation Programmer’s Guide

Page 165

SECTION 5

Customizing Your Configuration

EBCDIC to ASCII 0x00 0x00 0x00 0x10 0x18

0x01 0x00 0x11 0x19

0x02 0x00 0x12 0x00

0x03 0x0B 0x13 0x00

0x00 0x09 0x00 0x0C 0x0D 0x0E 0x00 0x00 0x08 A_DUP 0x00 0x00

0x7F 0x0F 0x00 0x00

0x20 0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x00

0x1C 0x00 0x16 0x00

0x00 0x00 0x00 0x00

0x00 0x00 0x00 0x14

0x0A 0x05 0x1E 0x16

0x17 0x06 0x00 0x00

0x1B 0x07 0x04 0x1A

0x40 0x20 0x00 0x26 0x00

0x00 0x00 0x00 0x00

0x00 0x9b 0x00 0x21

0x00 0x2E 0x00 0x24

0x00 0x3C 0x00 0x2A

0x00 0x28 0x00 0x29

0x00 0x2B 0x00 0x3B

0x00 0x0e 0x00 0xaa

0x60 0x2D 0x00 0x00 0x00

0x2F 0x00 0x00 0x60

0x00 0x7C 0x00 0x3A

0x00 0x2C 0x00 0x23

0x00 0x25 0x00 0x40

0x00 0x5F 0x00 0x27

0x00 0x3E 0x00 0x3D

0x00 0x3F 0x00 0x22

0x80 0x00 0x68 0x00 0x71

0x61 0x69 0x6A 0x72

0x62 0x00 0x6B 0x00

0x63 0xc2 0x6C 0x00

0x64 0xc1 0x6D 0x00

0x65 0xc3 0x6E 0xb4

0x66 0xc5 0x6F 0x00

0x67 0x00 0x70 0x00

0xa0 0x00 0x79 0x00 0x00

0x7E 0x7A 0x00 0x00

0x73 0x00 0x00 0x00

0x74 0xc0 0x00 0xd9

0x75 0xda 0x00 0xbf

0x76 0xb3 0x00 0x00

0x77 0x00 0x00 0x00

0x78 0x00 0x00 0xc4

0xc0 0x7B 0x48 0x7D 0x51

0x41 0x49 0x4A 0x52

0x42 0x00 0x4B 0x00

0x43 0x00 0x4C 0x00

0x44 0x00 0x4D 0x00

0x45 0x00 0x4E 0x00

0x46 0x00 0x4F 0x00

0x47 0x00 0x50 0x00

0xe0 0x5c 0x59 0x30 0x38

0x00 0x5A 0x31 0x39

0x53 0x00 0x32 0x00

0x54 0x00 0x33 0x00

0x55 0x00 0x34 x00

0x56 0x00 0x35 0x00

0x57 0x00 0x36 0x00

0x58 0x00 0x37 0x00

TE 2000t 5250 Terminal Emulation Programmer’s Guide

5-41

Page 166

Customizing Your Configuration

SECTION 5

Substituting National Characters This topic tells how to create a file that remaps one character in the terminal’s Terminal Font Set for another character in the set. Use this information to provide characters on the terminal in the local language. Intermec Technologies Corporation provides a table for converting from characters used in English (U.S.) to German, Danish, Finnish, Italian, Spanish, French, Belgian, and English (UK). The procedure for converting the characters appears first. Then two slightly longer procedures show how to remap any character to another. One procedure describes the steps with the symbol’s EBCDIC value. The other one describes the steps without a value. Finally, examples show the remap files for German characters and a few English symbols. For all procedures, the terminal’s Terminal Font Set table is needed. The table lists characters and their decimal and hexadecimal values. For the font set table for the 2415, 2425, 2435A, 2455, and 248X, refer to the terminal’s user manual. For the font set table for the 5020, 5055, 6400, 59XX, 17XX, or 11XX, see Appendix D.

Creating the File Follow these steps to create a table that substitutes characters in the local language for characters normally used in U.S. English. These steps apply if the EBCDIC value is 4A, 4F, 5A, 5B, 5F, 6A, 79, 7B, 7C, 7F, A1, C0, D0, or E0. 1. Find the character to replace in Table 5-2 on page 5-43 and determine its EBCDIC value. 2. Find the default translation value in Table 5-3 on page 5-43 (2415, 2425, 2435A, 2455, or 248X Terminal) or Table 5-4 on page 5-44 (6400, 5020, 5055, 59XX, 17XX, 11XX, or Terminal). 3. Using the default value from step 2, search the terminal’s Terminal Font Set for the character. If the default character is correct, you are done. If the default character is incorrect, go to step 4. 4. Search the terminal’s Terminal Font Set for the character you want. 5. Create file 5250.XLT. Put the default value of the font character (found in step 2) as the first byte in the file. Put the replacement value (found in step 4) as the second byte in the file. 6. Repeat steps 1 through 5 until all replacement characters are completed. 7. Download 5250.XLT to your terminal and restart the terminal emulation program for the changes to take effect. For downloading information, see “Downloading Files” on page 5-46.

5-42

TE 2000t 5250 Terminal Emulation Programmer’s Guide

Page 167

SECTION 5

Customizing Your Configuration

Table 5-2 EBCDIC Values Character Set

4A 4F 5A 5B 5F 6A 79 7B 7C 7F A1 C0 D0 E0

EBCDIC

English (US)

¢

|

!

$

¬

¦

‘

#

@

~

{

}

\

Austrian/German Austrian/German (alternate) Danish/Norwegian Danish/Norwegian (alternate) Finnish/Swedish Finnish/Swedish (alternate) French Italian Portuguese Spanish Spanish (alternate) English (UK) Belgian Brazilian/ Portuguese Japanese (English) Spanish Speaking Canadian (French) International

Ä ö # ø § ö

Ü ü ¤ å ¤ å § é ] ] ! ! ] $

$ Ü Å Å Å Å $ $ $

ö b ø ¦ ö ¦ ù ò õ ñ ¦ ¦ ù ç

§ Ö Ø Ø Ö Ö à § Õ @ @ @ à Ã

ä

æ

ä

ñ

ä

ü

Ö

ü

æ

å

\

ü

ä

å

É

∙∙ ì ç ∙∙

é à ã {

è è ’ }

ç ç Ç \

‘ ‘ ã

# Ä Æ Æ Ä Ä £ £ Ã Ñ Ñ # # Õ b

£ $ Ç

^ ¬ ^ ¬ ^ ¬ ^ ^ ^ ¬ ¬, ^ ^

‘

[ [ ¢ $ [ É

! | ! | ! | ! ! ! | | | ! !

– ∙∙ ~

{ é õ

} è é

\ ç \

£ [ à [

| | ! !

! ] ’ ]

¥ $ $ $

¬ ¬ ^ ^

¦ ñ ù ¦

‘ ‘ ‘ ‘

# Ñ # #

@ @ @ @

– ∙∙ ∙∙ ~

{ { é {

} } è }

$ \

° °

Pts Pts

‘ é ‘ ù ‘ ‘

\

Table 5-3 ASCII Equivalents for EBCDIC Values (2415, 2425, 2435A, 2455, 248X Terminals) ASCII English (US) German Danish/Norwegian Finnish/Swedish Italian Spanish French Belgian English (UK)

4A

4F

5A

5B

5F

6A

79

7B

7C 7F

A1

C0

D0

E0

BD 8E 23 F5 F8 5B F8 5B 24

7C 21 21 21 21 7C 21 21 7C

21 9A 0F 0F 82 5D F5 5D 21

24 24 8F 8F 24, 24 24 9C

AA DD 5E 94 5E 9B 5E 94 5E 95 AA A4 5E 97 5E 97 AA DD

60 60 60 82 97 60 60 60 60

23 23 92 8E 9C A5 9C 23 23

40 F5 90 99 F5 40 85 85 40

7E E1 81 81 8D F9 F9 F9 16

7B 7D 84 81 91 86 84 86 85 8A 7B 7D 82 8A 82 8A 7B 7D

5C 99 5C 90 87 5C 87 87 5C

TE 2000t 5250 Terminal Emulation Programmer’s Guide

5-43

22 22 22 22 22 22 22 22 22

Page 168

SECTION 5

Customizing Your Configuration

Table 5-4 ASCII Equivalents for EBCDIC Values (6400, 5020, 5055, 59XX, 17XX, 11XX Terminals) ASCII English (US) German Danish/Norwegian Finnish/Swedish Italian Spanish French Belgian English (UK)

4A

4F

5A

5B

5F

6A

79

7B

7C 7F

A1

C0

D0

E0

9B 8E 23 15 F8 5B F8 5B 24

0E 21 21 21 21 OE 21 21 OE

21 9A 0F 0F 82 5D 15 50 21

24 24 8F 8F 24, 24 24 9C

AA 7C 5E 94 5E ED 5E 7C 5E 95 AA A4 5E 97 5E 97 AA 7C

60 60 60 82 97 60 60 60 60

23 23 92 8E 9C A5 9C 23 23

40 15 05 99 15 40 85 85 40

7E E1 81 81 8D 06 06 06 5F

7B 7D 84 81 91 86 84 86 85 8A 7B 7D 82 8A 82 8A 7B 7D

5C 99 5C 90 87 5C 87 87 5C

22 22 22 22 22 22 22 22 22

For characters other than those in Table 5-3 on page 5-43, refer to the appropriate IBM character set. Languages and set numbers are in Table 5-5. Table 5-5 IBM Character Sets Number

Language

IBM Set

1 2 3 4 5 6 7 8

English (U.S.) German Danish/Norwegian Swedish/Finnish Italian Spanish French Belgian

037–850 273–850 277–850 278–850 280–850 284–850 297–850 500–850

Examples "

"

"

5-44

The first example on the next page remaps three characters. It applies only to 2415, 2425, 2435A, 2455, or 248X Terminals. It does not apply to 6400, 5020, 5055, 59XX, 17XX, or 11XX Terminals because U.S. English values are correct in these terminals. The second example applies to 2415, 2425, 2435A, 2455, or 248X Terminals. This example remaps 14 characters appropriate to U.S. English to 14 characters more appropriate to Austrian/German. The third example applies to 6400, 5020, 5055, 59XX, 17XX, or 11XX Terminals. This example also remaps 14 characters appropriate to U.S. English to 14 characters more appropriate to Austrian/German.

TE 2000t 5250 Terminal Emulation Programmer’s Guide

Page 169

SECTION 5

EXAMPLE 1:

EXAMPLE 2:

Customizing Your Configuration

ASCII hexadecimal file 5250.XLT remaps 3 characters 0x9B 0xBD 0x0E 0x7C 0x7C 0xDD EBCDIC Hex Value

Original to be Replaced

Replacement for Display

4A 4F 7C

ø

¢ | ¶

|

ASCII hexadecimal file 5250.XLT remaps for German (2415, 2425, 2435A, 2455, 284X Terminals) 0x9B 0x8E 0x0E 0x21 0x21 0x9A 0x24 0x24 0xAA 0x5E 0x7C 0x94 0x60 0x60 0x23 0x23 0x40 0xF5 0x22 0x22 0x7E 0xE1 0x7B 0x84 0x7D 0x81 0x5C 0x99 EBCDIC Hex Value

Original to be Replaced

Replacement for Display

4A 4F 5A 5B 5F 6A 79 7B 7C 7F A1 C0 D0 E0

¢ | ! $ ¬

Ä ! Ü $ ^ ö ` # § b ä ü Ö

¶ ` # @

~ { } \

TE 2000t 5250 Terminal Emulation Programmer’s Guide

5-45