bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 28/34] man/term_variables.3x: Revise example.


From: G. Branden Robinson
Subject: [PATCH 28/34] man/term_variables.3x: Revise example.
Date: Fri, 6 Oct 2023 00:17:54 -0500

* Use `EX`/`EE` macros to set example (instead of formatter requests).
* Fix unescaped hyphen.
* Drop page-local definition of `CW` string, no longer needed.
---
 man/term_variables.3x | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/man/term_variables.3x b/man/term_variables.3x
index 1aba91fd..8c3179f3 100644
--- a/man/term_variables.3x
+++ b/man/term_variables.3x
@@ -40,12 +40,6 @@
 .el   .ds '' ""
 .\}
 .
-.ie n .ds CW R
-.el   \{
-.ie \n(.g .ds CW CR
-.el       .ds CW CW
-.\}
-.
 .ds n 5
 .SH NAME
 \fB\%SP\fP,
@@ -160,11 +154,9 @@ .SS Terminfo Names
 These are in terms of the symbol \fBCUR\fP,
 which is defined
 .PP
-.nf
-.ft \*(CW
-#define CUR ((TERMTYPE *)(cur_term))->
-.fi
-.ft R
+.EX
+#define CUR ((TERMTYPE *)(cur_term))\->
+.EE
 .PP
 These symbols provide a faster method of accessing terminfo capabilities
 than using \fBtigetstr\fP(3X), etc.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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