Previous Topic: TYPESEC termname 3278_keyboard_textNext Topic: Other EPI Host Command Descriptions


TYPETEST termname 3278_keyboard_text

This command is provided for debugging a TYPE command. Instead of actually simulating the typing at a 3278 keyboard, the resulting keystrokes are returned as output lines, one for each key.

TYPETEST * !HOME!BACKTAB!ERASE_EOF'K E,D'!ENTER
 0  04  HOME
 0  0C  BACKTAB
 0  08  ERASE_EOF
 0  7D  '
 0  D2  K
 0  40
 0  C5  E
 0  6B  ,
 0  C4  D
 0  7D  '
 0  7D  ENTER
Return code:
  0 - Normal completion.
  4 - TYPE command not executed. A warning message was issued.
      virtual terminal is not defined.
      virtual terminal is not enabled.

In the above example, the first (one-digit) field can be 0 for a normal key, 1 for a shifted key, or 2 for a key pressed while the ALT key is held down. The next (two-digit) field is the EPI scancode (an internal code useful only for debugging purposes.) The last field is the EPI host key name.