home *** CD-ROM | disk | FTP | other *** search
- struct ttychars {
- char tc_erase;
- char tc_kill;
- char tc_intrc;
- char tc_quitc;
- char tc_startc;
- char tc_stopc;
- char tc_eofc;
- char tc_brkc;
- char tc_suspc;
- char tc_dsuspc;
- char tc_rprntc;
- char tc_flushc;
- char tc_werasec;
- char tc_lnextc;
- };
- #define CTRL(c) ('c'&037)
- #define CERASE 0177
- #define CKILL CTRL(u)
- #define CINTR CTRL(c)
- #define CQUIT 034
- #define CSTART CTRL(q)
- #define CSTOP CTRL(s)
- #define CEOF CTRL(d)
- #define CEOT CEOF
- #define CBRK 0377
- #define CSUSP CTRL(z)
- #define CDSUSP CTRL(y)
- #define CRPRNT CTRL(r)
- #define CFLUSH CTRL(o)
- #define CWERASE CTRL(w)
- #define CLNEXT CTRL(v)
-