]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - doc/html/man/clear.1.html
ncurses 6.5 - patch 20240519
[ncurses.git] / doc / html / man / clear.1.html
index 4f2e2aa2bc1f8a41bf54a5c0171d5f7677dd7b1a..e7da4da4f41d59be982dcb9197aab14b96aec09a 100644 (file)
@@ -1,6 +1,6 @@
 <!--
   ****************************************************************************
-  * Copyright 2018-2022,2023 Thomas E. Dickey                                *
+  * Copyright 2018-2023,2024 Thomas E. Dickey                                *
   * Copyright 1998-2016,2017 Free Software Foundation, Inc.                  *
   *                                                                          *
   * Permission is hereby granted, free of charge, to any person obtaining a  *
   * sale, use or other dealings in this Software without prior written       *
   * authorization.                                                           *
   ****************************************************************************
-  * @Id: clear.1,v 1.43 2023/11/25 14:32:36 tom Exp @
-  * https://minnie.tuhs.org/cgi-bin/utree.pl?file=2BSD/src/clear.c
-  * https://minnie.tuhs.org/cgi-bin/utree.pl?file=Net2/usr/src/usr.bin/\
-  *   tput/clear.sh
+  * @Id: clear.1,v 1.48 2024/03/16 15:35:01 tom Exp @
 -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <HTML>
 <HEAD>
 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
 <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>clear 1 2023-11-25 ncurses 6.4 User commands</TITLE>
+<TITLE>clear 1 2024-03-16 ncurses 6.5 User commands</TITLE>
 <link rel="author" href="mailto:bug-ncurses@gnu.org">
 
 </HEAD>
 <BODY>
-<H1 class="no-header">clear 1 2023-11-25 ncurses 6.4 User commands</H1>
+<H1 class="no-header">clear 1 2024-03-16 ncurses 6.5 User commands</H1>
 <PRE>
 <STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>                         User commands                        <STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>
 
@@ -61,7 +58,7 @@
 
 </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
        <STRONG>clear</STRONG>  clears your terminal's screen and its scrollback buffer, if any.
-       <STRONG>clear</STRONG> retrieves the terminal type from the environment  variable  <STRONG>TERM</STRONG>,
+       <STRONG>clear</STRONG> retrieves the terminal type from the environment  variable  <EM>TERM</EM>,
        then  consults the <EM>terminfo</EM> terminal capability database entry for that
        type to determine how to perform these actions.
 
@@ -76,9 +73,9 @@
 
        <STRONG>-T</STRONG> <EM>type</EM>  produces   instructions   suitable   for  the  terminal  <EM>type</EM>.
                 Normally, this option is  unnecessary,  because  the  terminal
-                type  is inferred from the environment variable <STRONG>TERM</STRONG>.  If this
+                type  is inferred from the environment variable <EM>TERM</EM>.  If this
                 option is specified, <STRONG>clear</STRONG> ignores the  environment  variables
-                <STRONG>LINES</STRONG> and <STRONG>COLUMNS</STRONG> as well.
+                <EM>LINES</EM> and <EM>COLUMNS</EM> as well.
 
        <STRONG>-V</STRONG>       reports  the  version  of <EM>ncurses</EM> associated with this program
                 and exits with a successful status.
@@ -88,7 +85,7 @@
 
 </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
        Neither IEEE Std 1003.1/The Open  Group  Base  Specifications  Issue  7
-       (POSIX.1-2008) nor X/Open Curses Issue 7 documents <STRONG>tset</STRONG> or <STRONG>reset</STRONG>.
+       (POSIX.1-2008) nor X/Open Curses Issue 7 documents <STRONG>clear</STRONG>.
 
        The  latter documents <STRONG>tput</STRONG>, which could be used to replace this utility
        either via a shell script or by an alias (such as a symbolic  link)  to
 
                printf '\033[2J'
 
-           one could clear the scrollback buffer using
+           one could clear the scrollback buffer as well by using
 
                printf '\033[<STRONG>3</STRONG>J'
 
 
 
 
-ncurses 6.4                       2023-11-25                          <STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>
+ncurses 6.5                       2024-03-16                          <STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>
 </PRE>
 <div class="nav">
 <ul>