Lines Matching full:clear

30 .\" $Id: clear.1,v 1.48 2024/03/16 15:35:01 tom Exp $
31 .TH @CLEAR@ 1 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "User commands"
52 \fB\%@CLEAR@\fP \-
53 clear the terminal screen
55 .B @CLEAR@
60 .B "@CLEAR@ \-V"
62 \fB\%@CLEAR@\fP clears your terminal's screen and its scrollback buffer,
64 \fB\%@CLEAR@\fP retrieves the terminal type from the environment
69 The capabilities to clear the screen and scrollback buffer are named
70 \*(``clear\*('' and \*(``E3\*('', respectively.
75 \fB\%@CLEAR@\fP recognizes the following options.
84 \fB\%@CLEAR@\fP ignores the environment variables \fILINES\fP and
92 prevents \fB\%@CLEAR@\fP from attempting to clear the scrollback buffer.
95 (POSIX.1-2008) nor X/Open Curses Issue 7 documents \fB\%@CLEAR@\fP.
101 to run \fB\%@TPUT@\fP as \fB\%@CLEAR@\fP.
103 A \fBclear\fP command using the \fItermcap\fP database and library
105 .\" https://minnie.tuhs.org/cgi-bin/utree.pl?file=2BSD/src/clear.c
111 and replaced the \fBclear\fP program with a shell script that called
112 \*(``\fBtput clear\fP\*(''.
116 /usr/bin/tput ${1:+\-T$1} clear 2> /dev/null
123 he added a \fBclear\fP shell script as well.
125 .\" tput/clear.sh
129 exec tput clear
136 \fI\%ncurses\fP's \fBclear\fP began by adapting BSD's original
137 \fBclear\fP command to use \fIterminfo\fP.
150 one could clear the scrollback buffer as well by using
175 The next relevant step was to change the \fI\%ncurses\fP \fBclear\fP
180 \*(``\fB\%@TPUT@ clear\fP\*(''.
182 share its logic with \fB\%@CLEAR@\fP and \fB\%@TSET@\fP.