* The following are the various functions which the keyboard can ask
* the controller to perform.
* Note that this file (the following entries) are scanned by mkhit.c,
* and that the format must remain more-or-less consistent
undefined
= 0, /* Not yet touched */
FCN_NULL
, /* Illegal sequence */
FCN_RESET
, /* unlock keyboard */
FCN_MAKE_SHIFT
, /* shift key pressed DOWN */
FCN_BREAK_SHIFT
, /* shift key released */
FCN_MAKE_ALT
, /* alt key pressed DOWN */
FCN_BREAK_ALT
, /* alt key released */
FCN_MONOCASE
, /* DISPLAY in upper case */
FCN_CHARACTER
, /* Not one of the following, but ... */
FCN_VERTICAL_BAR
, /* EBCDIC solid vertical bar */
FCN_CENTSIGN
, /* EBCDIC cent sign */
FCN_SPACE
, /* EBCDIC space */
FCN_DP
, /* EBCDIC dup character */
FCN_FM
, /* EBCDIC field mark */
FCN_AID
, /* Some AID key */
FCN_CURSEL
, /* Cursor select function (and aid) */
FCN_TEST
, /* Test function */
FCN_EINP
, /* erase input (dangerous) */
* Local editing functions
FCN_SETTAB
, /* set a column tab */
FCN_INDENT
, /* more margin over one col tab */
FCN_ERASE
, /* erase last character */
FCN_WORDTAB
, /* tab to start of next word */
FCN_WORDEND
, /* find next end of word */
FCN_FIELDEND
, /* find next end of field */
FCN_APLON
, /* start using apl character set */
FCN_INIT
, /* re-init screen */
FCN_SYNCH
, /* synch up after line/control error */
FCN_FLINP
, /* flush input buffer */
FCN_RESHOW
, /* redraw screen */
FCN_MASTER_RESET
, /* FLINP, RESET, RESHOW, + more */
FCN_DISC
, /* suspend application */
FCN_ESCAPE
, /* enter command mode */
FCN_ALTK
, /* Dvorak keyboard */
FCN_XOFF
, /* suspend output to screen */
FCN_XON
, /* resume output to screen */
FCN_LPRT
/* print screen on printer */
#endif /* !defined(PURE3274) */
* The following is the structure which defines what a 3270 keystroke
unsigned char code
; /* AID value or 3270 display code */
} hit
[4]; /* plain, shifted, alted, shiftalted */
extern struct hits hits
[];