Commit | Line | Data |
---|---|---|
506a359f KT |
1 | struct clist { |
2 | int c_cc; | |
3 | int c_cf; | |
4 | int c_cl; | |
5 | } | |
6 | ||
7 | struct tty { | |
8 | struct clist t_rawq; | |
9 | struct clist t_canq; | |
10 | struct clist t_outq; | |
11 | int t_flags; | |
12 | int *t_addr; | |
13 | char t_delct; | |
14 | char t_col; | |
15 | char t_intrup; | |
16 | char t_quit; | |
17 | char t_state; | |
18 | int t_speeds; | |
19 | }; | |
20 | ||
21 | char partab[]; | |
22 | ||
23 | #define TTIPRI 10 | |
24 | #define TTOPRI 20 | |
25 | #define CERASE '#' | |
26 | #define CEOT 004 | |
27 | #define CKILL '@' | |
28 | ||
29 | /* limits */ | |
30 | #define TTHIWAT 50 | |
31 | #define TTLOWAT 30 | |
32 | #define TTYHOG 256 | |
33 | ||
34 | /* modes */ | |
35 | #define NODELAY 01 | |
36 | #define XTABS 02 | |
37 | #define LCASE 04 | |
38 | #define ECHO 010 | |
39 | #define CRMOD 020 | |
40 | #define RAW 040 | |
41 | #define ODDP 0100 | |
42 | #define EVENP 0200 | |
43 | #define M2741 0400 | |
44 | #define OCORR 02000 | |
45 | #define ICORR 04000 | |
46 | #define NTDELAY 010000 | |
47 | ||
48 | /* Bits */ | |
49 | ||
50 | #define DONE 0200 | |
51 | #define IENABLE 0100 | |
52 | #define TIMEOUT 01 | |
53 | #define WOPEN 02 | |
54 | #define ISOPEN 04 |