bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 10/39] man/curs_initscr.3x: Clarify.


From: G. Branden Robinson
Subject: [PATCH 10/39] man/curs_initscr.3x: Clarify.
Date: Sat, 1 Mar 2025 06:20:51 -0600

Explain that we're discussing the "TERM" environment variable, not some
C symbol with that name.  (A novice might be led astray by LINES and/or
ESCDELAY.)
---
 man/curs_initscr.3x | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man/curs_initscr.3x b/man/curs_initscr.3x
index 941db2d86..730128c8c 100644
--- a/man/curs_initscr.3x
+++ b/man/curs_initscr.3x
@@ -550,10 +550,10 @@ .SS "High-level versus Low-level"
 \fB\%def_prog_mode\fP(3X).
 SVr4 uses the descriptor in
 .IR SCREEN "."
-.SS "Unset \fITERM\fP Variable"
+.SS "Unset \fITERM\fP Environment Variable"
 If the
 .I TERM
-variable is missing or empty,
+variable is not set in the environment or has an empty value,
 .I \%initscr
 uses the value \*(``unknown\*('',
 which normally corresponds to a terminal entry with the
@@ -563,7 +563,7 @@ .SS "Unset \fITERM\fP Variable"
 Generic entries are detected by \fB\%setupterm\fP(3X)
 and cannot be used for full-screen operation.
 Other implementations may handle
-a missing/empty
+a missing or empty
 .I TERM
 variable differently.
 .SS "Signal Handlers"
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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