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