blob: 99150b6433dbf21aac4d61ea887328f8e7c36886 [file] [log] [blame]
.\" 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-ng package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.