summaryrefslogblamecommitdiffstats
path: root/misc-utils/reset.1
blob: ee820f4a73367896b4bf759a8ccf270b4b66d5e1 (plain) (tree)
1
2
3
4
5
6
7





                                                                      
         








                                                                         






                           






                                                                      
              



                            


                                                                            
.\" 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 , rmacs , rmm , rmul , rs1 , rs2 ", and " 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-ng package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.