1 /* BEGIN INCLUDE FILE: emulator.h */ 2 3 /* HISTORY COMMENTS: 4 1) change(86-09-01,Lee), approve(87-07-13,MCR7580), audit(87-07-13,Leskiw), 5 install(87-08-07,MR12.1-1072): 6 Created. 7 2) change(86-12-04,Flegel), approve(87-07-13,MCR7580), 8 audit(87-07-13,Leskiw), install(87-08-07,MR12.1-1072): 9 Added DELAY_INTERVAL constant. 10 END HISTORY COMMENTS */ 11 12 13 /* FUNCTION: 14 Define values and modes used by the MOWSE terminal emulator 15 */ 16 17 #define DELAY_INTERVAL 300 /* Waste time loop count */ 18 19 #define DEL_LINE 512 /* key value defined for deleting */ 20 /* a line */ 21 22 #define KB_BUFFERSIZE 1024 /* size of keyboard buffer */ 23 #define KB_STACKSIZE 1024 /* size of keyboard stack (should */ 24 /* be same as keyboard buffer) */ 25 #define KB_TABSIZE 10 /* default tab size used by emulator */ 26 27 /* keyboard display modes */ 28 29 #define ASCII_ONLY 0 /* flag meaning display only printable chars */ 30 #define NON_ASCII_OCTAL 1 /* flag - non printable chars displayed as octal */ 31 #define ANY_CHAR 2 /* flag - display all characters */ 32 33 #ifndef TRUE /* define TRUE if not already defined */ 34 #define TRUE 1 35 #endif 36 37 #ifndef FALSE /* define FALSE if not already defined */ 38 #define FALSE 0 39 #endif 40 41 42 /* define number buffers for storing background messages */ 43 44 #define BG_SENDBUFF_SIZE (NUMBER_OF_CAT_ENTRIES+1) 45 46 #define OP_FREEZE 1 /* code value to "freezing" emulator */ 47 #define OP_BREAK 2 /* code value to sending a break char */ 48 #define OP_EXEDOSCMD 3 /* code value to executing DOS command */ 49 #define OP_BG_REPLY 4 /* code value to send background reply */ 50 #define OP_EXIT 5 /* code value to exit the emulator */ 51 52 /* : Set EM_DEBUG to 1 for debugging version, 53 set to 0 for non-debugging version */ 54 55 #define EM_DEBUG 0 56 57 58 /* END INCLUDE FILE: emulator.h */ 59 ^Z