summaryrefslogtreecommitdiffstats
path: root/share/termcap/termcap.5
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-12-14 07:18:31 +0000
committerdougb <dougb@FreeBSD.org>2009-12-14 07:18:31 +0000
commitc11b08a13feb3063076c0f358bdaf4b56bbad5ed (patch)
tree46c11536f2cd916e99ad859247e4394a4cb05300 /share/termcap/termcap.5
parent4c54179e42c0eb7748290950408bdf5650c6b13e (diff)
downloadFreeBSD-src-c11b08a13feb3063076c0f358bdaf4b56bbad5ed.zip
FreeBSD-src-c11b08a13feb3063076c0f358bdaf4b56bbad5ed.tar.gz
Revert the xterm terminal behavior to NOT clear the screen after
exiting a pager, vi, etc. Add some example xterm*-clear entries to the termcap files to make it easier for people to enable that behavior. Document the examples in the man page to make them easier to find.
Diffstat (limited to 'share/termcap/termcap.5')
-rw-r--r--share/termcap/termcap.519
1 files changed, 18 insertions, 1 deletions
diff --git a/share/termcap/termcap.5 b/share/termcap/termcap.5
index bb5b512..603e786 100644
--- a/share/termcap/termcap.5
+++ b/share/termcap/termcap.5
@@ -53,7 +53,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 16, 1994
+.Dd December 13, 2009
.Dt TERMCAP 5
.Os
.Sh NAME
@@ -1999,6 +1999,22 @@ Unfortunately, due to lack of a definition for string parameters in
only
.Xr terminfo 5
supports these capabilities.
+.Pp
+For the
+.Xr xterm 1
+terminal emulator the traditional behavior in
+FreeBSD when exiting a pager such as
+.Xr less 1
+or
+.Xr more 1 ,
+or an editor such as
+.Xr vi 1
+is NOT to clear the screen after the program exits.
+If you prefer to clear the screen there are a number of
+.Dq xterm-clear
+entries that add this capability in the
+.Nm
+file that you can use directly, or as examples.
.Ss Glitches and Braindamage
Hazeltine terminals, which do not allow `~' characters to be displayed,
should indicate
@@ -2105,6 +2121,7 @@ Hash database file containing terminal descriptions (see
.Xr tset 1 ,
.Xr ul 1 ,
.Xr vi 1 ,
+.Xr xterm 1 ,
.Xr ncurses 3 ,
.Xr printf 3 ,
.Xr termcap 3 ,
OpenPOWER on IntegriCloud