1: /*
   2:  *	Copyright 1984, 1985 by the Regents of the University of
   3:  *	California and by Gregory Glenn Minshall.
   4:  *
   5:  *	Permission to use, copy, modify, and distribute these
   6:  *	programs and their documentation for any purpose and
   7:  *	without fee is hereby granted, provided that this
   8:  *	copyright and permission appear on all copies and
   9:  *	supporting documentation, the name of the Regents of
  10:  *	the University of California not be used in advertising
  11:  *	or publicity pertaining to distribution of the programs
  12:  *	without specific prior permission, and notice be given in
  13:  *	supporting documentation that copying and distribution is
  14:  *	by permission of the Regents of the University of California
  15:  *	and by Gregory Glenn Minshall.  Neither the Regents of the
  16:  *	University of California nor Gregory Glenn Minshall make
  17:  *	representations about the suitability of this software
  18:  *	for any purpose.  It is provided "as is" without
  19:  *	express or implied warranty.
  20:  */
  21: 
  22: /* define orders given to 3270's */
  23: #define ORDER_SF    0x1d        /* Start Field */
  24: #define ORDER_SBA   0x11        /* Set Buffer Address (for output) */
  25: #define ORDER_IC    0x13        /* Insert Cursor (at buffer address) */
  26: #define ORDER_PT    0x05        /* Program Tab (absurdly complicated) */
  27: #define ORDER_RA    0x3c        /* Repeat next character to some addr */
  28: #define ORDER_EUA   0x12        /* Null out every unprotected field
  29: 					 * to some address.
  30: 					 */
  31: #define ORDER_YALE  0x2b        /* This is a special YALE order, which
  32: 					 * introduces YALE extended orders
  33: 					 * (like setting tabs, etc.).
  34: 					 */
  35: 
  36: #define ATTR_MASK       0xc0        /* control bits */
  37: #define ATTR_PROT       0x20        /* protected bit */
  38: #define ATTR_NUMERIC        0x10        /* numeric field */
  39: #define ATTR_AUTO_SKIP_MASK 0x30        /* mask to check auto skip */
  40: #define ATTR_AUTO_SKIP_VALUE    0x30        /* value to have auto skip */
  41: #define ATTR_DSPD_MASK      0x0c        /* highlighting, etc. */
  42: #define ATTR_DSPD_DNSPD     0x00        /* display, no select */
  43: #define ATTR_DSPD_DSPD      0x04        /* display, select */
  44: #define ATTR_DSPD_HIGH      0x08        /* highlighted, select */
  45: #define ATTR_DSPD_NONDISPLAY    0x0c        /* non-display, no select */
  46: #define ATTR_MDT        0x01        /* modified data tag */
  47: 
  48: 
  49: #define CMD_ERASE_ALL_UNPROTECTED   0x0f
  50: #define CMD_ERASE_WRITE         0x05
  51: #define CMD_WRITE           0x01
  52: #define CMD_READ_MODIFIED       0x06
  53: #define CMD_READ_BUFFER         0x02
  54: 
  55: 
  56: #define WCC_ALARM   0x04
  57: #define WCC_RESTORE 0x02
  58: #define WCC_RESET_MDT   0x01
  59: 
  60: 
  61: #define AID_PA1     0x6c
  62: #define AID_PA2     0x6e
  63: #define AID_PA3     0x6b
  64: #define AID_CLEAR   0x6d
  65: 
  66: /* Special EBCDIC characters unique to a 3270 */
  67: 
  68: #define EBCDIC_DUP  0x1c
  69: #define EBCDIC_FM   0x1e

Defined macros

AID_CLEAR defined in line 64; used 1 times
AID_PA1 defined in line 61; used 1 times
AID_PA2 defined in line 62; used 1 times
AID_PA3 defined in line 63; used 1 times
ATTR_AUTO_SKIP_MASK defined in line 39; used 1 times
ATTR_AUTO_SKIP_VALUE defined in line 40; used 1 times
ATTR_DSPD_DNSPD defined in line 42; never used
ATTR_DSPD_DSPD defined in line 43; never used
ATTR_DSPD_HIGH defined in line 44; never used
ATTR_DSPD_MASK defined in line 41; never used
ATTR_DSPD_NONDISPLAY defined in line 45; never used
ATTR_MASK defined in line 36; never used
ATTR_MDT defined in line 46; never used
ATTR_NUMERIC defined in line 38; never used
ATTR_PROT defined in line 37; never used
CMD_ERASE_ALL_UNPROTECTED defined in line 49; never used
CMD_ERASE_WRITE defined in line 50; never used
CMD_READ_BUFFER defined in line 53; never used
CMD_READ_MODIFIED defined in line 52; never used
CMD_WRITE defined in line 51; never used
EBCDIC_DUP defined in line 68; used 1 times
EBCDIC_FM defined in line 69; used 1 times
ORDER_EUA defined in line 28; never used
ORDER_IC defined in line 25; never used
ORDER_PT defined in line 26; never used
ORDER_RA defined in line 27; never used
ORDER_SBA defined in line 24; used 1 times
ORDER_SF defined in line 23; used 1 times
ORDER_YALE defined in line 31; never used
WCC_ALARM defined in line 56; used 1 times
WCC_RESET_MDT defined in line 58; used 1 times
WCC_RESTORE defined in line 57; used 1 times

Usage of this include

Last modified: 1986-04-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1278
Valid CSS Valid XHTML 1.0 Strict