+ exec tput clear
+
+ The remainder of the script in each case is a copyright notice.
+
+ In 1995, <EM>ncurses</EM>'s <STRONG>clear</STRONG> began by adapting BSD's original <STRONG>clear</STRONG> command
+ to use <EM>terminfo</EM>. The <STRONG>E3</STRONG> extension came later.
+
+ <STRONG>o</STRONG> In June 1999, <EM>xterm</EM> provided an extension to the standard control
+ sequence for clearing the screen. Rather than clearing just the
+ visible part of the screen using
+
+ printf '\033[2J'
+
+ one could clear the scrollback buffer as well by using
+
+ printf '\033[<STRONG>3</STRONG>J'
+
+ instead. "XTerm Control Sequences" documents this feature as
+ originating with <EM>xterm</EM>.
+
+ <STRONG>o</STRONG> A few other terminal emulators adopted it, such as PuTTY in 2006.
+
+ <STRONG>o</STRONG> In April 2011, a Red Hat developer submitted a patch to the Linux
+ kernel, modifying its console driver to do the same thing.
+ Documentation of this change, appearing in Linux 3.0, did not
+ mention <EM>xterm</EM>, although that program was cited in the Red Hat bug
+ report (#683733) motivating the feature.
+
+ <STRONG>o</STRONG> Subsequently, more terminal developers adopted the feature. The
+ next relevant step was to change the <EM>ncurses</EM> <STRONG>clear</STRONG> program in 2013
+ to incorporate this extension.
+
+ <STRONG>o</STRONG> In 2013, the <STRONG>E3</STRONG> capability was not exercised by "<STRONG>tput</STRONG> <STRONG>clear</STRONG>". That
+ oversight was addressed in 2016 by reorganizing <STRONG>tput</STRONG> to share its
+ logic with <STRONG>clear</STRONG> and <STRONG>tset</STRONG>.
+
+
+</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
+ <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG>xterm(1)</STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>