Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libterm Update man page to document new tgetent behaviour.
details: https://anonhg.NetBSD.org/src/rev/e8828b9d6ff6
branches: trunk
changeset: 485981:e8828b9d6ff6
user: blymn <blymn%NetBSD.org@localhost>
date: Wed May 10 11:13:35 2000 +0000
description:
Update man page to document new tgetent behaviour.
diffstat:
lib/libterm/termcap.3 | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r 8d28a74b6e57 -r e8828b9d6ff6 lib/libterm/termcap.3
--- a/lib/libterm/termcap.3 Wed May 10 08:55:22 2000 +0000
+++ b/lib/libterm/termcap.3 Wed May 10 11:13:35 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: termcap.3,v 1.17 2000/04/19 13:41:28 blymn Exp $
+.\" $NetBSD: termcap.3,v 1.18 2000/05/10 11:13:35 blymn Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -119,7 +119,10 @@
It will look in the environment for a
.Ev TERMCAP
variable.
-If found, and the value does not begin with a slash,
+If found, and the value does not begin with a slash, the value does
+not contain the ZZ capability (see
+.Em NOTES
+for a description of this capability),
and the terminal type
.Fa name
is the same as the environment string
@@ -128,8 +131,16 @@
.Ev TERMCAP
string is used instead of reading a
.Nm termcap
-file.
-If it does begin with a slash, the string is used as a path name
+file. If the value does contain the ZZ capability then the
+.Ev TERM
+environment string is used to read
+.Nm termcap ,
+if the read fails for any reason the value of
+.Ev TERMCAP
+will be used despite it containing ZZ.
+If
+.Ev TERMCAP
+does begin with a slash, the string is used as a path name
of the
.Nm termcap
file to search.
Home |
Main Index |
Thread Index |
Old Index