Update man page to document new tgetent behaviour.
This commit is contained in:
parent
df234d8698
commit
fac11bb07f
|
@ -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 @@ and 1 if all goes well.
|
|||
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 @@ the
|
|||
.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.
|
||||
|
|
Loading…
Reference in New Issue