Manpage logo

clear - clear the screen

NAME  SYNOPSIS  DESCRIPTION  TYPIST  BUGS  SEE ALSO 

NAME

clear − clear the screen

SYNOPSIS

clear

DESCRIPTION

Look in the termcap database, find the character to clear the screen, and emit it.

This is a direct lift from Section 15.7, Ringing the Terminal Bell, from Perl Cookbook, with "cl" substituted for "vb".

TYPIST

Jeffrey S. Haemer

BUGS

clear should probably take an argument, like yes, that will let users send arbitrary termcap sequences, with "cl" as the default.

SEE ALSO

Term::Cap(3)


Updated 2026-06-01 - jenkler.se | uex.se