Annotation of 42BSD/sys/h/ttychars.h, revision 1.1

1.1     ! root        1: /*     ttychars.h      6.1     83/07/29        */
        !             2: 
        !             3: /*
        !             4:  * User visible structures and constants
        !             5:  * related to terminal handling.
        !             6:  */
        !             7: #ifndef _TTYCHARS_
        !             8: #define        _TTYCHARS_
        !             9: struct ttychars {
        !            10:        char    tc_erase;       /* erase last character */
        !            11:        char    tc_kill;        /* erase entire line */
        !            12:        char    tc_intrc;       /* interrupt */
        !            13:        char    tc_quitc;       /* quit */
        !            14:        char    tc_startc;      /* start output */
        !            15:        char    tc_stopc;       /* stop output */
        !            16:        char    tc_eofc;        /* end-of-file */
        !            17:        char    tc_brkc;        /* input delimiter (like nl) */
        !            18:        char    tc_suspc;       /* stop process signal */
        !            19:        char    tc_dsuspc;      /* delayed stop process signal */
        !            20:        char    tc_rprntc;      /* reprint line */
        !            21:        char    tc_flushc;      /* flush output (toggles) */
        !            22:        char    tc_werasc;      /* word erase */
        !            23:        char    tc_lnextc;      /* literal next character */
        !            24: };
        !            25: 
        !            26: #define        CTRL(c) ('c'&037)
        !            27: 
        !            28: /* default special characters */
        !            29: #define        CERASE  0177
        !            30: #define        CKILL   CTRL(u)
        !            31: #define        CINTR   CTRL(c)
        !            32: #define        CQUIT   034             /* FS, ^\ */
        !            33: #define        CSTART  CTRL(q)
        !            34: #define        CSTOP   CTRL(s)
        !            35: #define        CEOF    CTRL(d)
        !            36: #define        CEOT    CEOF
        !            37: #define        CBRK    0377
        !            38: #define        CSUSP   CTRL(z)
        !            39: #define        CDSUSP  CTRL(y)
        !            40: #define        CRPRNT  CTRL(r)
        !            41: #define        CFLUSH  CTRL(o)
        !            42: #define        CWERASE CTRL(w)
        !            43: #define        CLNEXT  CTRL(v)
        !            44: #endif

unix.superglobalmegacorp.com

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