diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-11-02 20:15:39 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-11-02 20:15:39 +0400 |
commit | b13154de3eca5ba28fbb4854d916cd0be5febeed (patch) | |
tree | 30f2e9e89ab71a2df837076ac68c3ba770230294 /term-utils/reset.1 | |
download | util-linux-upstream/2.22.tar.gz |
Imported Upstream version 2.22upstream/2.22upstream
Diffstat (limited to 'term-utils/reset.1')
-rw-r--r-- | term-utils/reset.1 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/term-utils/reset.1 b/term-utils/reset.1 new file mode 100644 index 0000000..fdf67e2 --- /dev/null +++ b/term-utils/reset.1 @@ -0,0 +1,45 @@ +.\" Copyright 1992 Rickard E. Faith (faith@cs.unc.edu) +.\" May be distributed under the GNU General Public License +.TH RESET 1 "October 1993" "util-linux" "User Commands" +.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/. |