|
|
1.1 root 1: /*
2: * Structure for stty and gtty system calls.
3: */
4:
5: #include <sys/types.h>
6: #ifndef _IOCTL_
7: #include <sys/ioctl.h>
8: #endif
9: /*
10: * Modes
11: */
12: #define TANDEM 01
13: #define CBREAK 02
14: #define LCASE 04
15: #define ECHO 010
16: #define CRMOD 020
17: #define RAW 040
18: #define ODDP 0100
19: #define EVENP 0200
20: #define ANYP 0300
21: #define NLDELAY 001400
22: #define TBDELAY 006000
23: #define XTABS 06000
24: #define CRDELAY 030000
25: #define VTDELAY 040000
26: #define BSDELAY 0100000
27: #define ALLDELAY 0177400
28:
29: /*
30: * Delay algorithms
31: */
32: #define CR0 0
33: #define CR1 010000
34: #define CR2 020000
35: #define CR3 030000
36: #define NL0 0
37: #define NL1 000400
38: #define NL2 001000
39: #define NL3 001400
40: #define TAB0 0
41: #define TAB1 002000
42: #define TAB2 004000
43: #define FF0 0
44: #define FF1 040000
45: #define BS0 0
46: #define BS1 0100000
47:
48: /*
49: * Speeds
50: */
51: #define B0 0
52: #define B50 1
53: #define B75 2
54: #define B110 3
55: #define B134 4
56: #define B150 5
57: #define B200 6
58: #define B300 7
59: #define B600 8
60: #define B1200 9
61: #define B1800 10
62: #define B2400 11
63: #define B4800 12
64: #define B9600 13
65: #define EXTA 14
66: #define EXTB 15
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.