|
|
1.1 root 1: .TH STTY 1
2: .CT 1 comm_term
3: .SH NAME
4: stty \- set terminal options
5: .SH SYNOPSIS
6: .B stty
7: [
8: .I option ...
9: ]
10: .SH DESCRIPTION
11: .I Stty
12: sets certain I/O options for the terminal open on
13: .F /dev/tty
14: (file descriptor 3).
15: With no argument, it reports the current settings of the options.
16: The options are:
17: .TP 10n
18: .B even
19: Allow even parity.
20: .PD 0
21: .TP
22: .B -even
23: Disallow even parity.
24: .TP
25: .B odd
26: Allow odd parity.
27: .TP
28: .B -odd
29: Disallow odd parity.
30: .TP
31: .B raw
32: Raw mode input:
33: no erase, kill, interrupt, quit, EOT;
34: parity bit passed to processes.
35: .TP
36: .B -raw
37: Turn off raw mode.
38: .TP
39: .B 8bit
40: Eight-bit mode:
41: don't strip parity in the device driver.
42: .TP
43: .B -8bit
44: Turn off eight-bit mode.
45: .TP
46: .B cooked
47: Same as
48: .LR -raw .
49: .TP
50: .B cbreak
51: Make each character available to
52: .IR read (2)
53: as received; no erase and kill.
54: .TP
55: .B -cbreak
56: Make characters available to
57: .I read
58: only when newline is received.
59: .TP
60: .B -nl
61: Allow carriage return for new-line,
62: and output CR-LF for carriage return or new-line.
63: .TP
64: .B nl
65: Accept only new-line to end lines.
66: .TP
67: .B echo
68: Echo back every character typed.
69: .TP
70: .B -echo
71: Turn off echo.
72: .TP
73: .B lcase
74: Map upper case to lower case.
75: .TP
76: .B -lcase
77: Preserve case.
78: .TP
79: .B -tabs
80: Replace tabs by spaces when printing.
81: .TP
82: .B tabs
83: Preserve tabs.
84: .TP
85: .B ek
86: Reset erase and kill characters to traditional
87: .B # and
88: .BR @ .
89: .TP
90: .BI erase \ c
91: Set erase character to
92: .I c
93: (initially
94: .LR # ).
95: In this and other character-setting options
96: a
97: .L ^
98: may precede
99: .I c
100: to signify
101: .RI control- c.
102: .TP
103: .BI kill \ c
104: Set kill character to
105: .I c
106: (initially
107: .BR @ ).
108: .TP
109: .BI intr " c"
110: Set interrupt character to
111: .I c
112: (initially DEL).
113: .TP
114: .BI quit " c"
115: Set quit character to
116: .I c
117: (initially
118: .RB control- \e ).
119: .TP
120: .BI stop " c"
121: Set stop character to
122: .I c
123: (initially
124: .RB control- S ).
125: .TP
126: .BI start " c"
127: Set start character to
128: .I c
129: (initially
130: .RB control- Q ).
131: .TP
132: .BI eof " c"
133: Set `end of file' character to
134: .I c
135: (initially
136: .RB control- D ).
137: .TP
138: .BI brk " c"
139: Set `line-break' character to
140: .I c
141: (initially undefined).
142: .TP
143: .B cr0 cr1 cr2 cr3
144: .br
145: Select style of delay for carriage return; see
146: .IR ioctl (2).
147: .TP
148: .B nl0 nl1 nl2 nl3
149: .br
150: Select style of delay for linefeed.
151: .TP
152: .B tab0 tab1 tab2 tab3
153: .br
154: Select style of delay for tab.
155: .TP
156: .B ff0 ff1
157: Select style of delay for form feed.
158: .TP
159: .B bs0 bs1
160: Select style of delay for backspace.
161: .TP
162: .B hup
163: Hang up on last close.
164: .TP
165: .B 0
166: Hang up immediately.
167: .TP
168: .B "50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 exta extb"
169: .br
170: Set terminal baud rate to the number given, if possible.
171: .TP
172: .B old
173: Arrange to use normal teletype line discipline,
174: .IR ttyld (4).
175: .TP
176: .B old!
177: Force normal teletype line discipline,
178: even if no teletype driver was present.
179: .TP
180: .B notty
181: Remove the top-level teletype driver.
182: .PD
183: .SH "SEE ALSO"
184: .IR ttyld (4),
185: .IR ioctl (2),
186: .IR tabs (1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.