Previous Topic: Customizing Your Scan Code Files

Next Topic: Identifying Terminal Emulators


Sample Operation Definitions

The following example shows some sample operation definitions for a 3270-type terminal:

Operation Definition

What it Does

3270_KEY=a,3270_SCAN=60

Map a lowercase "a" to scan code 60.

3270_KEY=A,3270_SCAN=(4d,60,cd)

Map an uppercase "A" to scan code 4d,60,cd.

3270_KEY=SINGLE_QUOTE,3270_SCAN=12

Map a single quotation mark to scan code 12.

3270_KEY=PF1,3270_SCAN=(4f,21,cf)

Map PF1 to scan code 4f,21,cf.

3270_KEY=MODE_SEL,3270_SCAN=50

Map the MODE_SEL operation to scan code 50.