summaryrefslogtreecommitdiff
path: root/misc-utils/reset.1
blob: 1e2f0f301c918f63e2ff1fa01814fedbc5216271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.\" Copyright 1992 Rickard E. Faith (faith@cs.unc.edu)
.\" May be distributed under the GNU General Public License
.TH RESET 1 "10 October 1993" "Linux 0.99" "Linux Programmer's Manual"
.SH NAME
reset \- reset the terminal
.SH SYNOPSIS
.BR reset
.SH DESCRIPTION
.B reset
calls
.BR tput (1)
with the
.IR clear ,
.IR rmacs ,
.IR rmm ,
.IR rmul ,
.IR rs1 ,
.IR rs2 ,
and
.I rs3
arguments.  This causes
.B tput
to send appropriate reset strings to the terminal based on information in
.I /etc/termcap
(for the GNU or BSD
.BR tput )
or in the terminfo database
(for the
.B ncurses
.BR tput ).
This sequence seems to be sufficient to reset the Linux VC's when they
start printing "funny-looking" characters.  For good measure,
.BR stty (1)
is called with the
.I sane
argument in an attempt to get cooked mode back.
.SH "SEE ALSO"
.BR clear (1),
.BR stty (1),
.BR tput (1)
.SH AUTHOR
Rik Faith (faith@cs.unc.edu)
.SH AVAILABILITY
The reset command is part of the util-linux package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.