3 stty \- set terminal parameters
92 shows or changes the parameters of the terminal connected to standard input.
94 takes a myriad of arguments most of which are mapped directly to
95 the flags and special characters described in
97 so we won't describe them here.
100 has three forms of operation. First, without any arguments
102 shows all terminal attributes that are different from the default state.
107 print all terminal attributes, and
111 print the attributes in a special encoded form, a simple row of colon separated
114 In the second form of operation
116 takes an encoded form as produced by the
118 option and sets the terminals attributes to its decoded value.
122 interprets a series of flags and parameters settings and modifies the
123 terminal attributes accordingly. Flags can be given as
127 for instance, either setting or clearing the
130 Special character values can by set like
132 for example, which sets the interrupt character to CTRL-C. You can either
133 use a real CTRL-C, or the two characters `^' and `C'. In any case
134 it is probably necessary to use quotes to guard it from the shell:
137 A number alone is interpreted as a baud rate setting for both the input and
138 output rate. The input or the output rate can be set separately with use
143 prefixes to the number. The character size can be set with
154 value, the number of rows and columns, and the xpixels and ypixels of the
155 window can also be set using one of the keywords
163 followed by a decimal number that is the value of the setting.
166 accepts several keywords that are not named by corresponding flags or
169 They set several attributes at once:
173 .BR "icrnl ixon opost onlcr isig icanon iexten echo" ,
174 setting all the attributes that are needed for line oriented mode.
178 .BR "\-icrnl \-ixon \-opost \-onlcr \-isig \-icanon \-iexten \-echo" ,
179 setting all the attributes for a raw data channel.
182 These synonyms are equal to
183 .BR "cs7 parenb \-parodd" ,
184 setting the line to 7 bits even parity.
188 .BR "cs7 parenb parodd" ,
189 setting the line to 7 bits odd parity.
191 .B "\-parity \-evenp \-oddp"
194 setting the line to 8 bits, no parity.
199 setting carriage return to line feed input translation.
203 .BR "\-icrnl \-inlcr \-igncr" ,
204 disabling any carriage return or line feed handling.
211 special characters back to the default.
214 Set all attributes to the default except things like the line speed and
215 parity, because their "sane" value is probably what it is right now.
216 The default values are compiled into
218 from the <termios.h> include file. Use
219 .B "stty sane; stty -a"
220 to know what they are.
226 field of this file may contain an
228 command to set the attributes to match an attached RS232 terminal or modem.
241 keywords are MINIX 3 additions beyond the keywords defined by POSIX.
245 are common UNIX extensions, however.
246 There are more MINIX 3 specific flags that match the MINIX 3 specific attributes
250 Kees J. Bot <kjb@cs.vu.nl>