bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 12/34] Fix unescaped hyphens.


From: G. Branden Robinson
Subject: [PATCH 12/34] Fix unescaped hyphens.
Date: Fri, 6 Oct 2023 00:15:06 -0500

* man/infocmp.1m:
* man/ncurses.3x:
* man/scr_dump.5:
* man/tabs.1:
* man/terminfo.tail:
* man/user_caps.5: Do it.
---
 man/infocmp.1m    | 2 +-
 man/ncurses.3x    | 2 +-
 man/scr_dump.5    | 2 +-
 man/tabs.1        | 2 +-
 man/terminfo.tail | 6 +++---
 man/user_caps.5   | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/man/infocmp.1m b/man/infocmp.1m
index 6c00d5e3..ca36a29d 100644
--- a/man/infocmp.1m
+++ b/man/infocmp.1m
@@ -462,7 +462,7 @@ .SS Other Options
 For example, this prints the compiled terminfo value as a string
 which could be assigned to the \fBTERMINFO\fP environment variable:
 .NS
-@INFOCMP@ -0 -q -Q2
+@INFOCMP@ \-0 \-q \-Q2
 .NE
 .TP 5
 \fB\-q\fP
diff --git a/man/ncurses.3x b/man/ncurses.3x
index ecb0170a..7f8b40f6 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1140,7 +1140,7 @@ .SS TERMINFO
 description.
 You might produce the base64 format using \fBinfocmp\fP(1M):
 .NS
-TERMINFO="$(infocmp -0 -Q2 -q)"
+TERMINFO="$(infocmp \-0 \-Q2 \-q)"
 export TERMINFO
 .NE
 .IP
diff --git a/man/scr_dump.5 b/man/scr_dump.5
index fb0db23f..1e024530 100644
--- a/man/scr_dump.5
+++ b/man/scr_dump.5
@@ -385,7 +385,7 @@ .SH EXAMPLE
 .PP
 On the other hand, the SVr4 curses library does know about the background 
color.
 However, its screen dumps are in binary.
-Here is the corresponding dump (using \*(``od -t x1\*(''):
+Here is the corresponding dump (using \*(``od \-t x1\*(''):
 .NS
 0000000 1c 01 c3 d6 f3 58 05 00 0b 00 0a 00 14 00 00 00
 0000020 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
diff --git a/man/tabs.1 b/man/tabs.1
index 98b689d5..68e3c08a 100644
--- a/man/tabs.1
+++ b/man/tabs.1
@@ -85,7 +85,7 @@ .SH DESCRIPTION
 Before running curses programs,
 you should either reset tab-stops to the standard interval
 .NS
-tabs -8
+tabs \-8
 .NE
 .PP
 or use the \fB@RESET@\fP program,
diff --git a/man/terminfo.tail b/man/terminfo.tail
index 0cfb092a..e0c9f12d 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -85,10 +85,10 @@ The following entry, describing an ANSI-standard terminal, 
is representative
 of what a \fBterminfo\fP entry for a modern terminal typically looks like.
 .PP
 .EX
-\s-2ansi|ansi/pc-term compatible with color,
+\s-2ansi|ansi/pc\-term compatible with color,
         am, mc5i, mir, msgr,
         colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
-        acsc=+\e020\e,\e021-\e030.\*^Y0\e333\(ga\e004a\e261f\e370g\e361h\e260
+        acsc=+\e020\e,\e021\-\e030.\*^Y0\e333\(ga\e004a\e261f\e370g\e361h\e260
              j\e331k\e277l\e332m\e300n\e305o\*~p\e304q\e304r\e304s_t\e303
              u\e264v\e301w\e302x\e263y\e363z\e362{\e343|\e330}\e234\*~\e376,
         bel=\*^G, blink=\eE[5m, bold=\eE[1m, cbt=\eE[Z, clear=\eE[H\eE[J,
@@ -101,7 +101,7 @@ of what a \fBterminfo\fP entry for a modern terminal 
typically looks like.
         indn=\eE[%p1%dS, invis=\eE[8m, kbs=\*^H, kcbt=\eE[Z, kcub1=\eE[D,
         kcud1=\eE[B, kcuf1=\eE[C, kcuu1=\eE[A, khome=\eE[H, kich1=\eE[L,
         mc4=\eE[4i, mc5=\eE[5i, nel=\er\eE[S, op=\eE[39;49m,
-        rep=%p1%c\eE[%p2%{1}%-%db, rev=\eE[7m, rin=\eE[%p1%dT,
+        rep=%p1%c\eE[%p2%{1}%\-%db, rev=\eE[7m, rin=\eE[%p1%dT,
         rmacs=\eE[10m, rmpch=\eE[10m, rmso=\eE[m, rmul=\eE[m,
         s0ds=\eE(B, s1ds=\eE)B, s2ds=\eE*B, s3ds=\eE+B,
         setab=\eE[4%p1%dm, setaf=\eE[3%p1%dm,
diff --git a/man/user_caps.5 b/man/user_caps.5
index 3020cbba..f5f9b1c2 100644
--- a/man/user_caps.5
+++ b/man/user_caps.5
@@ -42,7 +42,7 @@ .SH NAME
 user_caps \-
 user-defined \fIterminfo\fR capability format
 .SH SYNOPSIS
-.B @TIC@ -x, @INFOCMP@ -x
+.B @TIC@ \-x, @INFOCMP@ \-x
 .SH DESCRIPTION
 .SS Background
 Before ncurses 5.0,
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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