Commit | Line | Data |
---|---|---|
e3758c96 C |
1 | .TH RESET 1 |
2 | .UC 4 | |
3 | .SH NAME | |
4 | reset \- reset the teletype bits to a sensible state | |
5 | .SH SYNOPSIS | |
6 | .B reset | |
7 | .SH DESCRIPTION | |
8 | .I Reset | |
9 | sets the terminal to cooked mode, turns off cbreak and raw modes, | |
10 | turns on nl, and restores special characters that are undefined | |
11 | to their default values. | |
12 | .PP | |
13 | This is most useful after a program dies leaving a terminal in a funny | |
14 | state; you have to type ``<LF>reset<LF>'' to get it to work then to the | |
15 | shell, as <CR> often doesn't work; often none of this will echo. | |
16 | .PP | |
17 | It isn't a bad idea to follow | |
18 | .I reset | |
19 | with | |
20 | .IR tset (1) | |
21 | .SH SEE ALSO | |
22 | stty(1), tset(1) | |
23 | .SH BUGS | |
24 | Doesn't set tabs properly; it can't intuit personal choices for interrupt | |
25 | and line kill characters, so it leaves these the old UNIX standards | |
26 | ^? (delete) for interrupt and @ for line kill. | |
27 | .PP | |
28 | It could well be argued that the shell should be responsible for insuring | |
29 | that the terminal remains in a sane state; this would eliminate the | |
30 | need for this program. |