~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to term-utils/reset.1

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" Copyright 1992 Rickard E. Faith (faith@cs.unc.edu)
 
2
.\" May be distributed under the GNU General Public License
 
3
.TH RESET 1 "October 1993" "util-linux" "User Commands"
 
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 package and is available from
 
45
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.