1 | @c |
---|
2 | @c COPYRIGHT (c) 1988-1998. |
---|
3 | @c On-Line Applications Research Corporation (OAR). |
---|
4 | @c All rights reserved. |
---|
5 | @c |
---|
6 | @c $Id$ |
---|
7 | @c |
---|
8 | |
---|
9 | @chapter Device- and Class-Specific Functions |
---|
10 | |
---|
11 | @section General Terminal Interface |
---|
12 | |
---|
13 | @subsection Interface Characteristics |
---|
14 | |
---|
15 | @subsubsection Opening a Terminal Device File |
---|
16 | |
---|
17 | @subsubsection Process Groups (TTY) |
---|
18 | |
---|
19 | @subsubsection The Controlling Terminal |
---|
20 | |
---|
21 | @subsubsection Terminal Access Control |
---|
22 | |
---|
23 | @subsubsection Input Processing and Reading Data |
---|
24 | |
---|
25 | @subsubsection Canonical Mode Input Processing |
---|
26 | |
---|
27 | @subsubsection Noncanonical Mode Input Processing |
---|
28 | |
---|
29 | @lowersections |
---|
30 | |
---|
31 | @subsubsection Case A --- MIN > 0 and TIME > 0 |
---|
32 | |
---|
33 | @subsubsection Case B --- MIN > 0 and TIME = 0 |
---|
34 | |
---|
35 | @subsubsection Case C --- MIN = 0 and TIME > 0 |
---|
36 | |
---|
37 | @subsubsection Case D --- MIN = 0 and TIME = 0 |
---|
38 | |
---|
39 | @raisesections |
---|
40 | |
---|
41 | @subsubsection Writing Data and Output Processing |
---|
42 | |
---|
43 | @subsubsection Special Characters |
---|
44 | |
---|
45 | @example |
---|
46 | INTR, Constant, Unimplemented |
---|
47 | QUIT, Constant, Unimplemented |
---|
48 | ERASE, Constant, Unimplemented |
---|
49 | KILL, Constant, Unimplemented |
---|
50 | EOF, Constant, Unimplemented |
---|
51 | NL, Constant, Unimplemented |
---|
52 | EOL, Constant, Unimplemented |
---|
53 | SUSP, Constant, Unimplemented |
---|
54 | STOP, Constant, Unimplemented |
---|
55 | START, Constant, Unimplemented |
---|
56 | CR, Constant, Unimplemented |
---|
57 | @end example |
---|
58 | |
---|
59 | @subsubsection Modem Disconnect |
---|
60 | |
---|
61 | @subsubsection Closing a Terminal Device File |
---|
62 | |
---|
63 | @subsection Parameters That Can Be Set |
---|
64 | |
---|
65 | @subsubsection @code{termios} Structure |
---|
66 | |
---|
67 | @example |
---|
68 | tcflag_t, Type, Implemented |
---|
69 | cc_t, Type, Implemented |
---|
70 | struct termios, Type, Partial Implementation |
---|
71 | @end example |
---|
72 | |
---|
73 | @subsubsection Input Modes |
---|
74 | |
---|
75 | @example |
---|
76 | BRKINT, Constant, Implemented |
---|
77 | ICRNL, Constant, Implemented |
---|
78 | IGNBREAK, Constant, Unimplemented |
---|
79 | IGNCR, Constant, Implemented |
---|
80 | IGNPAR, Constant, Implemented |
---|
81 | INLCR, Constant, Implemented |
---|
82 | INPCK, Constant, Implemented |
---|
83 | ISTRIP, Constant, Implemented |
---|
84 | IXOFF, Constant, Implemented |
---|
85 | IXON, Constant, Implemented |
---|
86 | PARMRK, Constant, Implemented |
---|
87 | @end example |
---|
88 | |
---|
89 | @subsubsection Output Modes |
---|
90 | |
---|
91 | @example |
---|
92 | OPOST, Constant, Implemented |
---|
93 | @end example |
---|
94 | |
---|
95 | @subsubsection Control Modes |
---|
96 | |
---|
97 | @example |
---|
98 | CLOCAL, Constant, Implemented |
---|
99 | CREAD, Constant, Implemented |
---|
100 | CSIZE, Constant, Implemented |
---|
101 | CS5, Constant, Implemented |
---|
102 | CS6, Constant, Implemented |
---|
103 | CS7, Constant, Implemented |
---|
104 | CS8, Constant, Implemented |
---|
105 | CSTOPB, Constant, Implemented |
---|
106 | HUPCL, Constant, Implemented |
---|
107 | PARENB, Constant, Implemented |
---|
108 | PARODD, Constant, Implemented |
---|
109 | @end example |
---|
110 | |
---|
111 | @subsubsection Local Modes |
---|
112 | |
---|
113 | @example |
---|
114 | ECHO, Constant, Implemented |
---|
115 | ECHOE, Constant, Implemented |
---|
116 | ECHOK, Constant, Implemented |
---|
117 | ECHONL, Constant, Implemented |
---|
118 | ICANON, Constant, Implemented |
---|
119 | IEXTEN, Constant, Implemented |
---|
120 | ISIG, Constant, Implemented |
---|
121 | NOFLSH, Constant, Implemented |
---|
122 | TOSTOP, Constant, Implemented |
---|
123 | @end example |
---|
124 | |
---|
125 | @subsubsection Special Control Characters |
---|
126 | |
---|
127 | @example |
---|
128 | VEOF, Constant, Implemented |
---|
129 | VEOL, Constant, Implemented |
---|
130 | VERASE, Constant, Implemented |
---|
131 | VINTR, Constant, Implemented |
---|
132 | VKILL, Constant, Implemented |
---|
133 | VQUIT, Constant, Implemented |
---|
134 | VSUSP, Constant, Implemented |
---|
135 | VSTART, Constant, Implemented |
---|
136 | VSTOP, Constant, Implemented |
---|
137 | VMIN, Constant, Implemented |
---|
138 | VTIME, Constant, Implemented |
---|
139 | @end example |
---|
140 | |
---|
141 | @subsection Baud Rate Values |
---|
142 | |
---|
143 | @example |
---|
144 | B0, Constant, Implemented |
---|
145 | B50, Constant, Implemented |
---|
146 | B75, Constant, Implemented |
---|
147 | B110, Constant, Implemented |
---|
148 | B134, Constant, Implemented |
---|
149 | B150, Constant, Implemented |
---|
150 | B200, Constant, Implemented |
---|
151 | B300, Constant, Implemented |
---|
152 | B600, Constant, Implemented |
---|
153 | B1200, Constant, Implemented |
---|
154 | B1800, Constant, Implemented |
---|
155 | B2400, Constant, Implemented |
---|
156 | B4800, Constant, Implemented |
---|
157 | B9600, Constant, Implemented |
---|
158 | B19200, Constant, Implemented |
---|
159 | B38400, Constant, Implemented |
---|
160 | @end example |
---|
161 | |
---|
162 | @subsubsection Baud Rate Functions |
---|
163 | |
---|
164 | @example |
---|
165 | cfgetospeed(), Function, Unimplemented |
---|
166 | cfsetospeed(), Function, Unimplemented |
---|
167 | cfgetispeed(), Function, Unimplemented |
---|
168 | cfsetispeed(), Function, Unimplemented |
---|
169 | TCIFLUSH, Constant, Implemented |
---|
170 | TCOFLUSH, Constant, Implemented |
---|
171 | TCIOFLUSH, Constant, Implemented |
---|
172 | TCOOFF, Constant, Implemented |
---|
173 | TCOON, Constant, Implemented |
---|
174 | TCIOOFF, Constant, Implemented |
---|
175 | TCIOON, Constant, Implemented |
---|
176 | @end example |
---|
177 | |
---|
178 | @section General Terminal Interface Control Functions |
---|
179 | |
---|
180 | @subsection Get and Set State |
---|
181 | |
---|
182 | @example |
---|
183 | tcgetattr(), Function, Implemented |
---|
184 | tcsetattr(), Function, Implemented |
---|
185 | @end example |
---|
186 | |
---|
187 | @subsection Line Control Functions |
---|
188 | |
---|
189 | @example |
---|
190 | tcsendbreak(), Function, Unimplemented |
---|
191 | tcdrain(), Function, Unimplemented |
---|
192 | tcflush(), Function, Unimplemented |
---|
193 | tcflow(), Function, Unimplemented |
---|
194 | @end example |
---|
195 | |
---|
196 | @subsection Get Foreground Process Group ID |
---|
197 | |
---|
198 | @example |
---|
199 | tcgetprgrp(), Function, Unimplemented |
---|
200 | @end example |
---|
201 | |
---|
202 | @subsection Set Foreground Process Group ID |
---|
203 | |
---|
204 | @example |
---|
205 | tcsetprgrp(), Function, Unimplemented |
---|
206 | @end example |
---|
207 | |
---|