|
|
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: ! 13: char tc_intrc; /* interrupt */ ! 14: char tc_quitc; /* quit */ ! 15: char tc_startc; /* start output */ ! 16: char tc_stopc; /* stop output */ ! 17: char tc_eofc; /* end-of-file */ ! 18: char tc_brkc; /* input delimiter (like nl) */ ! 19: char tc_fill1; /* to fill up to sizeof struct tchars */ ! 20: char tc_fill2; ! 21: ! 22: char tc_suspc; /* stop process signal */ ! 23: char tc_dsuspc; /* delayed stop process signal */ ! 24: char tc_rprntc; /* reprint line */ ! 25: char tc_flushc; /* flush output (toggles) */ ! 26: char tc_werasc; /* word erase */ ! 27: char tc_lnextc; /* literal next character */ ! 28: char tc_fill3; /* to fill up to sizeof struct ltchars */ ! 29: char tc_fill4; ! 30: }; ! 31: ! 32: #define CTRL(c) ('c'&037) ! 33: ! 34: /* default special characters */ ! 35: #ifdef DECDEFCHARS ! 36: #define CERASE 0177 ! 37: #define CKILL CTRL(u) ! 38: #define CINTR CTRL(c) ! 39: #else DECDEFCHARS ! 40: #define CERASE CTRL(h) ! 41: #define CKILL CTRL(x) ! 42: #define CINTR 0177 ! 43: #endif DECDEFCHARS ! 44: #define CQUIT CTRL(\\) ! 45: #define CSTART CTRL(q) ! 46: #define CSTOP CTRL(s) ! 47: #define CEOF CTRL(d) ! 48: #define CEOT CEOF ! 49: #define CBRK 0377 ! 50: #define CSUSP CTRL(z) ! 51: #define CDSUSP CTRL(y) ! 52: #define CRPRNT CTRL(r) ! 53: #define CFLUSH CTRL(o) ! 54: #define CWERASE CTRL(w) ! 55: #define CLNEXT CTRL(v) ! 56: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.