2 .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH CLEAR 1 "Jul 12, 2002"
8 clear \- clear the terminal screen
12 \fBclear\fR [\fIterm\fR]
18 The \fBclear\fR utility clears the terminal screen if this is possible. It
19 looks in the environment for the terminal type, if this is not already
20 specified by the \fIterm\fR operand, and then looks up the terminfo database to
21 figure out how to clear the screen.
29 Indicates the type of terminal. Normally, this operand is unnecessary because
30 the default is taken from the environment variable \fBTERM\fR.
36 \fBtput\fR(1), \fBattributes\fR(5)