OLD | NEW |
| (Empty) |
1 # Copyright (c) 2001-2004 Twisted Matrix Laboratories. | |
2 # See LICENSE for details. | |
3 | |
4 # | |
5 | |
6 import tty | |
7 # this module was autogenerated. | |
8 | |
9 VINTR = 1 | |
10 VQUIT = 2 | |
11 VERASE = 3 | |
12 VKILL = 4 | |
13 VEOF = 5 | |
14 VEOL = 6 | |
15 VEOL2 = 7 | |
16 VSTART = 8 | |
17 VSTOP = 9 | |
18 VSUSP = 10 | |
19 VDSUSP = 11 | |
20 VREPRINT = 12 | |
21 VWERASE = 13 | |
22 VLNEXT = 14 | |
23 VFLUSH = 15 | |
24 VSWTCH = 16 | |
25 VSTATUS = 17 | |
26 VDISCARD = 18 | |
27 IGNPAR = 30 | |
28 PARMRK = 31 | |
29 INPCK = 32 | |
30 ISTRIP = 33 | |
31 INLCR = 34 | |
32 IGNCR = 35 | |
33 ICRNL = 36 | |
34 IUCLC = 37 | |
35 IXON = 38 | |
36 IXANY = 39 | |
37 IXOFF = 40 | |
38 IMAXBEL = 41 | |
39 ISIG = 50 | |
40 ICANON = 51 | |
41 XCASE = 52 | |
42 ECHO = 53 | |
43 ECHOE = 54 | |
44 ECHOK = 55 | |
45 ECHONL = 56 | |
46 NOFLSH = 57 | |
47 TOSTOP = 58 | |
48 IEXTEN = 59 | |
49 ECHOCTL = 60 | |
50 ECHOKE = 61 | |
51 PENDIN = 62 | |
52 OPOST = 70 | |
53 OLCUC = 71 | |
54 ONLCR = 72 | |
55 OCRNL = 73 | |
56 ONOCR = 74 | |
57 ONLRET = 75 | |
58 CS7 = 90 | |
59 CS8 = 91 | |
60 PARENB = 92 | |
61 PARODD = 93 | |
62 TTY_OP_ISPEED = 128 | |
63 TTY_OP_OSPEED = 129 | |
64 | |
65 TTYMODES = { | |
66 1 : 'VINTR', | |
67 2 : 'VQUIT', | |
68 3 : 'VERASE', | |
69 4 : 'VKILL', | |
70 5 : 'VEOF', | |
71 6 : 'VEOL', | |
72 7 : 'VEOL2', | |
73 8 : 'VSTART', | |
74 9 : 'VSTOP', | |
75 10 : 'VSUSP', | |
76 11 : 'VDSUSP', | |
77 12 : 'VREPRINT', | |
78 13 : 'VWERASE', | |
79 14 : 'VLNEXT', | |
80 15 : 'VFLUSH', | |
81 16 : 'VSWTCH', | |
82 17 : 'VSTATUS', | |
83 18 : 'VDISCARD', | |
84 30 : (tty.IFLAG, 'IGNPAR'), | |
85 31 : (tty.IFLAG, 'PARMRK'), | |
86 32 : (tty.IFLAG, 'INPCK'), | |
87 33 : (tty.IFLAG, 'ISTRIP'), | |
88 34 : (tty.IFLAG, 'INLCR'), | |
89 35 : (tty.IFLAG, 'IGNCR'), | |
90 36 : (tty.IFLAG, 'ICRNL'), | |
91 37 : (tty.IFLAG, 'IUCLC'), | |
92 38 : (tty.IFLAG, 'IXON'), | |
93 39 : (tty.IFLAG, 'IXANY'), | |
94 40 : (tty.IFLAG, 'IXOFF'), | |
95 41 : (tty.IFLAG, 'IMAXBEL'), | |
96 50 : (tty.LFLAG, 'ISIG'), | |
97 51 : (tty.LFLAG, 'ICANON'), | |
98 52 : (tty.LFLAG, 'XCASE'), | |
99 53 : (tty.LFLAG, 'ECHO'), | |
100 54 : (tty.LFLAG, 'ECHOE'), | |
101 55 : (tty.LFLAG, 'ECHOK'), | |
102 56 : (tty.LFLAG, 'ECHONL'), | |
103 57 : (tty.LFLAG, 'NOFLSH'), | |
104 58 : (tty.LFLAG, 'TOSTOP'), | |
105 59 : (tty.LFLAG, 'IEXTEN'), | |
106 60 : (tty.LFLAG, 'ECHOCTL'), | |
107 61 : (tty.LFLAG, 'ECHOKE'), | |
108 62 : (tty.LFLAG, 'PENDIN'), | |
109 70 : (tty.OFLAG, 'OPOST'), | |
110 71 : (tty.OFLAG, 'OLCUC'), | |
111 72 : (tty.OFLAG, 'ONLCR'), | |
112 73 : (tty.OFLAG, 'OCRNL'), | |
113 74 : (tty.OFLAG, 'ONOCR'), | |
114 75 : (tty.OFLAG, 'ONLRET'), | |
115 # 90 : (tty.CFLAG, 'CS7'), | |
116 # 91 : (tty.CFLAG, 'CS8'), | |
117 92 : (tty.CFLAG, 'PARENB'), | |
118 93 : (tty.CFLAG, 'PARODD'), | |
119 128 : 'ISPEED', | |
120 129 : 'OSPEED' | |
121 } | |
OLD | NEW |