Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ clear(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

environ(M)

termcap(F)

tput(C)


 clear(C)                      06 January 1993                       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.

    Standard output may be redirected to another terminal to clear its
    screen.  You must have write permission on the other terminal for the
    command to take effect. The term parameter must be supplied if the termi-
    nal is of a different type than the one from which the command is issued.

    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.

 Files

    /etc/termcap

 See also

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

 Notes

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


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