Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ clear(C) — OpenDesktop 2.0.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

environ(M)

termcap(F)

tput(C)


 clear(C)                        19 June 1992                        clear(C)


 Name

    clear - clear a terminal screen

 Syntax

    clear [ term ]

 Description

    The clear command clears the screen.  If term is not specified, the ter-
    minal type is obtained from the TERM environment variable.

    If a video terminal does not have a clear screen capability, newlines are
    output to scroll the screen clear.  If the standard output is a hardcopy,
    the paper is advanced to the top of the next page.

 File

    /etc/termcap

 See also

    environ(M), termcap(F), tput(C)

 Note

    If the standard output is not a terminal, clear issues an error message.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026