Contains common API key-value definitions.
The /usr/include/g32keys.inc file provides key definitions for use with the HCON Pascal-language g32_send_keys function. Each module that uses the HCON Pascal g32_send_keys function must include the g32keys.inc file.
The key-value definitions in the g32keys.inc file are:
ENTER = chr(2) || chr(49); /* enter key (host) */ PA1 = chr(2) || chr(45); /* PA1 */ PA2 = chr(2) || chr(46); /* PA2 */ PA3 = chr(2) || chr(47); /* PA3 */ PF1 = chr(2) || chr(21); /* PF1 */ PF2 = chr(2) || chr(22); /* PF2 */ PF3 = chr(2) || chr(23); /* PF3 */ PF4 = chr(2) || chr(24); /* PF4 */ PF5 = chr(2) || chr(25); /* PF5 */ PF6 = chr(2) || chr(26); /* PF6 */ PF7 = chr(2) || chr(27); /* PF7 */ PF8 = chr(2) || chr(28); /* PF8 */ PF9 = chr(2) || chr(29); /* PF9 */ PF10 = chr(2) || chr(30); /* PF10 */ PF11 = chr(2) || chr(31); /* PF11 */ PF12 = chr(2) || chr(32); /* PF12 */ PF13 = chr(2) || chr(33); /* PF13 */ PF14 = chr(2) || chr(34); /* PF14 */ PF15 = chr(2) || chr(35); /* PF15 */ PF16 = chr(2) || chr(36); /* PF16 */ PF17 = chr(2) || chr(37); /* PF17 */ PF18 = chr(2) || chr(38); /* PF18 */ PF19 = chr(2) || chr(39); /* PF19 */ PF20 = chr(2) || chr(40); /* PF20 */ PF21 = chr(2) || chr(41); /* PF21 */ PF22 = chr(2) || chr(42); /* PF22 */ PF23 = chr(2) || chr(43); /* PF23 */ PF24 = chr(2) || chr(44); /* PF24 */ CLEAR = chr(2) || chr(48); /* clear */ DUP = chr(2) || chr(54); /* dup */ FM = chr(2) || chr(55); /* field mark */ INS = chr(2) || chr(20); /* insert */ DEL = chr(2) || chr(17); /* delete */ C_UP = chr(2) || chr(2); /* cursor up */ C_DN = chr(2) || chr(3); /* cursor down */ C_LT = chr(2) || chr(1); /* cursor left */ C_RT = chr(2) || chr(4); /* cursor right */ C_UUP = chr(2) || chr(6); /* cursor up fast */ C_DDN = chr(2) || chr(7); /* cursor right fast */ C_LLT = chr(2) || chr(5); /* cursor left fast */ C_RRT = chr(2) || chr(8); /* cursor right fast */ TAB = chr(2) || chr(11); /* tab */ B_TAB = chr(2) || chr(12); /* back tab */ CR = chr(2) || chr(10); /* carriage return */ RESET = chr(3) || chr(2); /* reset */ E_INP = chr(2) || chr(18); /* erase input */ E_EOF = chr(2) || chr(19); /* erase to end of field */ SYSREQ = chr(3) || chr(27); /* sys request(SNA only) */ ATTN = chr(3) || chr(18); /* attN key (SNA only) */ T_REQ = chr(3) || chr(27); /* test/sys request */ HOME = chr(2) || chr(13); /* home cursor */ CURSEL = chr(2) || chr(56); /* cursor select */
The g32_keys.inc file is part of the Host Connection Program (HCON).
This file requires the use of a Pascal compiler.
The g32_send_keys function.