]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/clear.1
ncurses 6.4 - patch 20231202
[ncurses.git] / man / clear.1
index 669bc1c73483b647fecac7fbe62c42054db28ca8..23d31bdf9f45ad2be31fb0d8b343fe600cef26ad 100644 (file)
@@ -27,8 +27,8 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: clear.1,v 1.43 2023/11/25 14:32:36 tom Exp $
-.TH @CLEAR@ 1 2023-11-25 "ncurses 6.4" "User commands"
+.\" $Id: clear.1,v 1.45 2023/12/02 20:49:04 tom Exp $
+.TH @CLEAR@ 1 2023-12-02 "ncurses 6.4" "User commands"
 .ie \n(.g \{\
 .ds `` \(lq
 .ds '' \(rq
@@ -62,7 +62,7 @@ clear the terminal screen
 \fB\%@CLEAR@\fP clears your terminal's screen and its scrollback buffer,
 if any.
 \fB\%@CLEAR@\fP retrieves the terminal type from the environment
-variable \fBTERM\fP,
+variable \fITERM\fP,
 then consults the \fIterminfo\fP terminal capability database entry for
 that type to determine how to perform these actions.
 .PP
@@ -78,10 +78,10 @@ produces instructions suitable for the terminal \fItype\fP.
 Normally,
 this option is unnecessary,
 because the terminal type is inferred from the environment variable
-\fBTERM\fP.
+\fITERM\fP.
 If this option is specified,
-\fB\%@CLEAR@\fP ignores the environment variables \fBLINES\fP and
-\fB\%COLUMNS\fP as well.
+\fB\%@CLEAR@\fP ignores the environment variables \fILINES\fP and
+\fI\%COLUMNS\fP as well.
 .TP
 .B \-V
 reports the version of \fIncurses\fP associated with this program and
@@ -91,8 +91,7 @@ exits with a successful status.
 prevents \fB\%@CLEAR@\fP from attempting to clear the scrollback buffer.
 .SH PORTABILITY
 Neither IEEE Std 1003.1/The Open Group Base Specifications Issue 7
-(POSIX.1-2008) nor X/Open Curses Issue 7 documents \fB\%@TSET@\fP or
-\fB\%@RESET@\fP.
+(POSIX.1-2008) nor X/Open Curses Issue 7 documents \fB\%@CLEAR@\fP.
 .PP
 The latter documents \fBtput\fP,
 which could be used to replace this utility either via a shell script or
@@ -147,7 +146,7 @@ printf \*'\e033[2J\*'
 .EE
 .RE
 .IP
-one could clear the scrollback buffer using
+one could clear the scrollback buffer as well by using
 .RS 8
 .PP
 .EX