]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/clear.1
ncurses 6.4 - patch 20230918
[ncurses.git] / man / clear.1
index a854baae0d393f5e7c1b600cbc6403ffbadfa373..7b620fe80a1d2d4777138889c2aa9415f03241d1 100644 (file)
@@ -1,5 +1,5 @@
 .\"***************************************************************************
-.\" 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
@@ -37,7 +42,7 @@
 .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
@@ -73,7 +78,6 @@ You can redirect the standard output to a file (which prevents
 \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.
@@ -157,7 +161,9 @@ The latter documents \fBtput\fP, which could be used to replace this utility
 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@).