Annotation of 43BSD/ucb/tn3270/3270.h, revision 1.1

1.1     ! root        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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.