bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 19/34] man/ncurses.3x: Revise `U8` capability example.


From: G. Branden Robinson
Subject: [PATCH 19/34] man/ncurses.3x: Revise `U8` capability example.
Date: Fri, 6 Oct 2023 00:16:20 -0500

* Use `EX`/`EE` macros instead of formatter requests.
* Use `\-` special character escape sequence to get "ASCII" hyphen-minus
  characters in example, to facilitate copy-and-paste from PDF or UTF-8
  terminals.

(Normally, one does not use `\-` for a hyphen in *roff document
composition, but this is an example of ISO 646/ASCII/Unicode Basic Latin
input.)
---
 man/ncurses.3x | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/man/ncurses.3x b/man/ncurses.3x
index d5ac6a20..0b16b2a3 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1039,19 +1039,16 @@ .SS NCURSES_NO_UTF8_ACS
 This is a numeric capability which can be compiled using \fB@TIC@\ \-x\fP.
 For example
 .RS 3
-.ft \*(CW
-.sp
-.nf
+.EX
 # linux console, if patched to provide working
-# VT100 shift-in/shift-out, with corresponding font.
-linux-vt100|linux console with VT100 line-graphics,
+# VT100 shift\-in/shift\-out, with corresponding font.
+linux\-vt100|linux console with VT100 line\-graphics,
         U8#0, use=linux,
-.sp
+
 # uxterm with vt100Graphics resource set to false
-xterm-utf8|xterm relying on UTF-8 line-graphics,
+xterm\-utf8|xterm relying on UTF\-8 line\-graphics,
         U8#1, use=xterm,
-.fi
-.ft R
+.EE
 .RE
 .PP
 The name \*(``U8\*('' is chosen to be two characters,
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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