.\"***************************************************************************
-.\" Copyright 2018-2020,2021 Thomas E. Dickey *
+.\" Copyright 2018-2022,2023 Thomas E. Dickey *
.\" Copyright 1998-2016,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: clear.1,v 1.26 2021/12/26 00:13:25 tom Exp $
-.TH @CLEAR@ 1 ""
+.\" $Id: clear.1,v 1.38 2023/09/16 23:39:05 tom Exp $
+.TH @CLEAR@ 1 2023-09-16 "ncurses 6.4" "User commands"
+.ie n .ds CW R
+.el \{
+.ie \n(.g .ds CW CR
+.el .ds CW CW
+.\}
.\" these would be fallbacks for DS/DE,
.\" but groff changed the meaning of the macros.
.de NS
.ie n .in +4
.el .in +2
.nf
-.ft C \" Courier
+.ft \*(CW
..
.de NE
.fi
..
.ds n 5
.SH NAME
-\fB@CLEAR@\fP \- clear the terminal screen
+\fB\%@CLEAR@\fP \-
+clear the terminal screen
.SH SYNOPSIS
-\fB@CLEAR@\fP [\fB\-T\fP\fItype\fP] [\fB\-V\fP] [\fB\-x\fP]
-.br
+\fB@CLEAR@\fR [\fB\-T\fItype\fR] [\fB\-V\fR] [\fB\-x\fR]
.SH DESCRIPTION
\fB@CLEAR@\fP clears your terminal's screen if this is possible,
including the terminal's scrollback buffer
\fB@CLEAR@\fP from actually clearing the screen),
and later \fBcat\fP the file to the screen, clearing it at that point.
.SH OPTIONS
-.PP
.TP 5
.B \-T \fItype\fP
indicates the \fItype\fP of terminal.
either via a shell script or by an alias (such as a symbolic link) to
run \fB@TPUT@\fP as \fB@CLEAR@\fP.
.SH SEE ALSO
-\fB@TPUT@\fP(1), \fBterminfo\fP(\*n), \fBxterm\fP(1).
+\fB@TPUT@\fP(1),
+\fBxterm\fP(1),
+\fBterminfo\fP(\*n).
.PP
This describes \fBncurses\fP
version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).