Annotation of researchv8dc/sys/h/nioctl.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * stuff to be added to ioctl.h
        !             3:  */
        !             4: 
        !             5: 
        !             6: /*
        !             7:  * local special characters
        !             8:  */
        !             9: struct ltchars {
        !            10:        char    t_suspc;        /* stop process signal */
        !            11:        char    t_dsuspc;       /* delayed stop process signal */
        !            12:        char    t_rprntc;       /* reprint line */
        !            13:        char    t_flushc;       /* flush output (toggles) */
        !            14:        char    t_werasc;       /* word erase */
        !            15:        char    t_lnextc;       /* literal next character */
        !            16: };
        !            17: 
        !            18: 
        !            19: /*
        !            20:  * local undo special characters
        !            21:  */
        !            22: struct luchars {
        !            23:        char    t_undoc;        /* erase/kill/werase undo character */
        !            24:        char    t_urotc;        /* rotate undo stack character */
        !            25: };
        !            26: 
        !            27: 
        !            28: /*
        !            29:  * local mode settings
        !            30:  */
        !            31: #define        LCRTBS  0000001         /* correct backspacing for crt */
        !            32: #define        LPRTERA 0000002         /* printing terminal \ ... / erase */
        !            33: #define        LCRTERA 0000004         /* do "\b \b" to wipe out character */
        !            34: #define        LTILDE  0000010         /* IIASA - hazeltine tilde kludge */
        !            35: #define        LMDMBUF 0000020         /* IIASA - start/stop output on carrier intr */
        !            36: #define        LLITOUT 0000040         /* IIASA - suppress any output translations */
        !            37: #define        LTOSTOP 0000100         /* send stop for any background tty output */
        !            38: #define        LFLUSHO 0000200         /* flush output sent to terminal */
        !            39: #define        LNOHANG 0000400         /* IIASA - don't send hangup on carrier drop */
        !            40: #define        LETXACK 0001000         /* IIASA - diablo style buffer hacking */
        !            41: #define        LCRTKIL 0002000         /* erase whole line ala LCRTERA */
        !            42: #define        LINTRUP 0004000         /* interrupt on every input char - SIGTINT */
        !            43: #define        LCTLECH 0010000         /* echo control characters as ^X */
        !            44: #define        LPENDIN 0020000         /* tp->t_rawq is waiting to be reread */
        !            45: #define        LDECCTQ 0040000         /* only ^Q starts after ^S */
        !            46: 
        !            47: /* local state */
        !            48: #define        LSBKSL  01              /* state bit for lowercase backslash work */
        !            49: #define        LSQUOT  02              /* last character input was \ */
        !            50: #define        LSERASE 04              /* within a \.../ for LPRTRUB */
        !            51: #define        LSLNCH  010             /* next character is literal */
        !            52: #define        LSTYPEN 020             /* retyping suspended input (LPENDIN) */
        !            53: #define        LSCNTTB 040             /* counting width of tab; leave LFLUSHO alone */
        !            54: 
        !            55: /*
        !            56:  * tty ioctl commands
        !            57:  */
        !            58: #define        TIOCLBIS        (('t'<<8)|127)  /* bis local mode bits */
        !            59: #define        TIOCLBIC        (('t'<<8)|126)  /* bic local mode bits */
        !            60: #define        TIOCLSET        (('t'<<8)|125)  /* set entire local mode word */
        !            61: #define        TIOCLGET        (('t'<<8)|124)  /* get local modes */
        !            62: #define        TIOCSLTC        (('t'<<8)|117)  /* set local special characters */
        !            63: #define        TIOCGLTC        (('t'<<8)|116)  /* get local special characters */
        !            64: #define        TIOCOUTQ        (('t'<<8)|115)  /* number of chars in output queue */
        !            65: 
        !            66: #define TIOCSLUC       (('t'<<8)|113)  /* set local undo special characters */
        !            67: #define TIOCGLUC       (('t'<<8)|112)  /* get local undo special characters */
        !            68: 
        !            69: /*
        !            70:  * stream tracer ioctls
        !            71:  */
        !            72: #define        TRCGNAME        (('T'<<8)|6)    /* get trace module name */
        !            73: #define        TRCSNAME        (('T'<<8)|7)    /* set trace module name */
        !            74: #define        TRCGMASK        (('T'<<8)|8)    /* get trace module mask */
        !            75: #define        TRCSMASK        (('T'<<8)|9)    /* set trace module mask */
        !            76: 
        !            77: /*
        !            78:  * stream tracer mask values
        !            79:  */
        !            80: #define        TR_DATA         0x1
        !            81: #define        TR_BREAK        0x2
        !            82: #define        TR_HANGUP       0x4
        !            83: #define        TR_DELIM        0x8
        !            84: #define        TR_ECHO         0x10
        !            85: #define        TR_ACK          0x20
        !            86: #define        TR_IOCTL        0x40
        !            87: #define        TR_DELAY        0x80
        !            88: #define        TR_CTL          0x100
        !            89: #define        TR_SIGNAL       0x200
        !            90: #define        TR_FLUSH        0x400
        !            91: #define        TR_STOP         0x800
        !            92: #define        TR_START        0x1000
        !            93: #define        TR_IOCACK       0x2000
        !            94: #define        TR_IOCNAK       0x4000
        !            95: #define        TR_CLOSE        0x8000

unix.superglobalmegacorp.com

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