bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 062/100] man/ncurses.3x: Recast "ENVIRONMENT" section, TERMCAP (1


From: G. Branden Robinson
Subject: [PATCH 062/100] man/ncurses.3x: Recast "ENVIRONMENT" section, TERMCAP (18/21).
Date: Sat, 30 Mar 2024 16:58:01 -0500

---
 man/ncurses.3x | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)

diff --git a/man/ncurses.3x b/man/ncurses.3x
index 78781a14c..aaa8039d2 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1456,16 +1456,31 @@ .SS "\fITERM\fP"
 as a parameter or configuration value do not change their behavior to
 match that setting.
 .SS "\fITERMCAP\fP"
-If the \fI\%ncurses\fP library has been configured with \fItermcap\fP
-support, \fI\%ncurses\fP will check for a terminal's description in
-termcap form if it is not available in the terminfo database.
-.PP
-The \fI\%TERMCAP\fP environment variable contains
-either a terminal description (with newlines stripped out),
-or a file name telling where the information denoted by
-the \fITERM\fP environment variable exists.
-In either case, setting it directs \fI\%ncurses\fP to ignore
-the usual place for this information, e.g., /etc/termcap.
+If
+.I \%ncurses
+is configured with
+.I termcap
+support,
+it checks for a terminal type description in
+.I termcap
+format if one in
+.I \%term\%info
+format is not available.
+Setting this variable directs
+.I \%ncurses
+to ignore the usual
+.I termcap
+database location,
+.IR \%/etc/termcap ;
+see
+.I \%TERMPATH
+below.
+.I \%TERMCAP
+should contain either a terminal description
+(with newlines stripped out),
+or a file name indicating where the information required by the
+.I TERM
+environment variable is stored.
 .SS "\fITERMINFO\fP"
 \fI\%ncurses\fP can be configured to read from multiple terminal
 databases.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]