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