Previous Topic: Developing Input String Definitions for a Terminal TypeNext Topic: Terminal-Specific Function Key Definitions


Output Strings for the Keyboard Mapping file

Terminfo definitions include the ASCII strings for output functions such as clear screen and cursor motion and are listed in the following table. The file does not include standard codes for defining colors and highlighting. The p3270keys file contains the character string for colors, highlights, or both.

p3270keys Name

Termcap ID

Function

blink

mb

Start blink

ce

 

Clear screen to end of line

cI

 

Clear screen

cm

 

Cursor motion

md

 

Start bold

reset

me

Ends a previous screen attribute or mode. For example stops bold, blink, or reverse fields.

reverse

so

Start stand out

underscore

us

Start underscore

The following table lists the key words to identify colors and highlights:

Note: When using monochrome terminals with applications that set color or other special attributes, modify the p3270keys file entry for that particular terminal to send NULL (00) characters instead of escape sequences.

Colors

Highlights

Blue
Cyan
Green
Magenta
Red
White
Yellow

Blink
Normal
Reverse
Underscore

The following tables list the function and special keys available to use with generated applications. These tables also provide room to enter the specific keystrokes that correspond to the function, cursor movement, and special keys that correspond to your particular terminal. Print the tables and complete the tables for each type of terminal used with the IT or a generated application.