bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 02/17] man/term.5: Fix unescaped "ASCII literals".


From: G. Branden Robinson
Subject: [PATCH 02/17] man/term.5: Fix unescaped "ASCII literals".
Date: Fri, 13 Oct 2023 18:38:59 -0500

* Define a "'" string (like captoinfo.1m and clear.1, among others).
* Use it to obtain a neutral apostrophe (U+0027).
* Escape a '-' intented to represent U+002D.
---
 man/term.5 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/man/term.5 b/man/term.5
index b06c346f..007887fe 100644
--- a/man/term.5
+++ b/man/term.5
@@ -32,6 +32,7 @@
 .ie \n(.g \{\
 .ds `` \(lq
 .ds '' \(rq
+.ds '  \(aq
 .ds ^  \(ha
 .\}
 .el \{\
@@ -39,6 +40,7 @@
 .el   .ds `` ""
 .ie t .ds '' ''
 .el   .ds '' ""
+.ds       '  '
 .ds       ^  ^
 .\}
 .
@@ -361,8 +363,8 @@ .SH EXAMPLE
 0000  1a 01 10 00 02 00 03 00  82 00 31 00 61 64 6d 33  ........ ..1.adm3
 0010  61 7c 6c 73 69 20 61 64  6d 33 61 00 00 01 50 00  a|lsi ad m3a...P.
 0020  ff ff 18 00 ff ff 00 00  02 00 ff ff ff ff 04 00  ........ ........
-0030  ff ff ff ff ff ff ff ff  0a 00 25 00 27 00 ff ff  ........ ..%.'...
-0040  29 00 ff ff ff ff 2b 00  ff ff 2d 00 ff ff ff ff  ).....+. ..-.....
+0030  ff ff ff ff ff ff ff ff  0a 00 25 00 27 00 ff ff  ........ ..%.\*'...
+0040  29 00 ff ff ff ff 2b 00  ff ff 2d 00 ff ff ff ff  ).....+. ..\-.....
 0050  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ........ ........
 0060  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ........ ........
 0070  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  ........ ........
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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