]>
Commit | Line | Data |
---|---|---|
6dbe3af9 KZ |
1 | .\" Copyright 1992 Rickard E. Faith (faith@cs.unc.edu) |
2 | .\" May be distributed under the GNU General Public License | |
232dc924 | 3 | .TH RESET 1 "October 1993" "util-linux" "User Commands" |
6dbe3af9 KZ |
4 | .SH NAME |
5 | reset \- reset the terminal | |
6 | .SH SYNOPSIS | |
fd6b7a7f | 7 | .BR reset |
6dbe3af9 KZ |
8 | .SH DESCRIPTION |
9 | .B reset | |
10 | calls | |
11 | .BR tput (1) | |
12 | with the | |
74bb20eb PB |
13 | .IR clear , |
14 | .IR rmacs , | |
15 | .IR rmm , | |
16 | .IR rmul , | |
17 | .IR rs1 , | |
18 | .IR rs2 , | |
19 | and | |
20 | .I rs3 | |
6dbe3af9 KZ |
21 | arguments. This causes |
22 | .B tput | |
23 | to send appropriate reset strings to the terminal based on information in | |
726f69e2 KZ |
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 ). | |
6e72fa59 BS |
31 | This sequence seems to be sufficient to reset a Linux VC when it |
32 | starts printing "funny-looking" characters. For good measure, | |
6dbe3af9 KZ |
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" | |
fd6b7a7f | 38 | .BR clear (1), |
6dbe3af9 KZ |
39 | .BR stty (1), |
40 | .BR tput (1) | |
41 | .SH AUTHOR | |
42 | Rik Faith (faith@cs.unc.edu) | |
86d62711 | 43 | .SH AVAILABILITY |
601d12fb | 44 | The reset command is part of the util-linux package and is available from |
d673b74e | 45 | https://www.kernel.org/pub/linux/utils/util-linux/. |