bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 027/100] man/ncurses.3x: Recast "Effects of GUIs and Environment


From: G. Branden Robinson
Subject: [PATCH 027/100] man/ncurses.3x: Recast "Effects of GUIs and Environment Variables" subsection.
Date: Sat, 30 Mar 2024 16:51:31 -0500

Style:
* Protect man page topic names from hyphenation.
* Quote inline multi-word example.

Markup:
* Protect man page cross references from hyphenation.
* Favor man(7) font style macros over *roff font selection escape
  sequences, except for man page cross references (because
  man/make_sed.sh recognizes only certain patterns when rewriting such
  cross references).
---
 man/ncurses.3x | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/man/ncurses.3x b/man/ncurses.3x
index 769eedcec..396cb0679 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -345,12 +345,21 @@ .SS Overview
 .I "key codes."
 See \fB\%getch\fP(3X).
 .SS "Effects of GUIs and Environment Variables"
-Before a \fBcurses\fP program is run, the tab stops of the terminal
-should be set and its initialization strings, if defined, must be output.
-This can be done by executing the \fB@TPUT@ init\fP command
-after the shell environment variable \fITERM\fP has been exported.
+Before a
+.I curses
+program is run,
+the tab stops of the terminal should be set and its initialization
+strings,
+if defined,
+must be written to it.
+Achieve this by exporting the
+.I TERM
+environment variable in the shell,
+then run the
+.RB \*(`` "@TPUT@ init" \*(''
+command.
 (The BSD-style \fB\%@TSET@\fP(1) utility also performs this function.)
-See subsection \*(``Tabs and Initialization\*('' of \fBterminfo\fP(5).
+See subsection \*(``Tabs and Initialization\*('' of \fB\%terminfo\fP(5).
 .PP
 The selection of an appropriate value of
 .I TERM
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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