bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 36/42] man/curs_terminfo.3x: Fix ellipses in synopses.


From: G. Branden Robinson
Subject: [PATCH 36/42] man/curs_terminfo.3x: Fix ellipses in synopses.
Date: Sat, 16 Dec 2023 11:48:21 -0600

* Consistently set them in roman, not italics.
* Use `\|` ("thin space") escape sequences to spread the dots pleasantly
  on typesetters.
---
 man/curs_terminfo.3x | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index c1bab7a09..d13301d0e 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -88,9 +88,9 @@ .SH SYNOPSIS
 \fBint del_curterm(TERMINAL *\fIoterm\fP);
 \fBint restartterm(const char *\fIterm\fP, int \fIfiledes\fP, int 
*\fIerrret\fP);
 .PP
-\fBchar *tparm(const char *\fIstr\fP, ...);
-       \fIor
-\fBchar *tparm(const char *\fIstr\fP, long \fIp1 ... \fPlong \fIp9\fP);
+\fBchar *tparm(const char *\fIstr\fP, \fR.\|.\|.\fP);
+       \fI/* or */
+\fBchar *tparm(const char *\fIstr\fP, long \fIp1\fP \fR.\|.\|.\fP \fBlong\fP 
\fIp9\fP);
 .PP
 \fBint tputs(const char *\fIstr\fP, int \fIaffcnt\fP, int (*\fIputc\fP)(int));
 \fBint putp(const char *\fIstr\fP);
@@ -106,7 +106,7 @@ .SH SYNOPSIS
 \fBint tigetnum(const char *\fIcapname\fP);
 \fBchar *tigetstr(const char *\fIcapname\fP);
 .PP
-\fBchar *tiparm(const char *\fIstr\fP, ...);
+\fBchar *tiparm(const char *\fIstr\fP, \fR.\|.\|.\fP);
 .PP
 \fI/* extensions */
 \fBchar *tiparm_s(int \fIexpected\fP, int \fImask\fP, const char *\fIstr\fP, 
...);
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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