bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 050/177] man/curs_in{, w}str.3x: Ensure synopses don't overset th


From: G. Branden Robinson
Subject: [PATCH 050/177] man/curs_in{, w}str.3x: Ensure synopses don't overset the line.
Date: Mon, 13 Jan 2025 11:22:29 -0600

Break long synopses across lines where they exceed 65 columns on nroff
devices.  This was the line length used by AT&T troff (and BSD troff
until they adopted groff in their Net/2 release), and is, in my opinion,
the minimum line length one can expect to look nice.  groff 1.24 is
expected to feature enhanced `SY`/`YS` macros that work as well with C
function declarations as command-line syntax.  Perhaps we can inline
their definitions in the ncurses man pages (which need to be portable to
legacy Unix systems) after they've seen more field testing.
---
 man/curs_instr.3x  | 3 ++-
 man/curs_inwstr.3x | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/man/curs_instr.3x b/man/curs_instr.3x
index eac54da87..1efde801b 100644
--- a/man/curs_instr.3x
+++ b/man/curs_instr.3x
@@ -66,7 +66,8 @@ .SH SYNOPSIS
 \fBint innstr(char * \fIstr\fP, int \fIn\fP);
 \fBint winnstr(WINDOW * \fIwin\fP, char * \fIstr\fP, int \fIn\fP);
 \fBint mvinnstr(int \fIy\fP, int \fIx\fP, char * \fIstr\fP, int \fIn\fP);
-\fBint mvwinnstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, char * 
\fIstr\fP, int \fIn\fP);
+\fBint mvwinnstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, char * 
\fIstr\fP,
+      int \fIn\fP);
 .fi
 .SH DESCRIPTION
 .B \%winstr
diff --git a/man/curs_inwstr.3x b/man/curs_inwstr.3x
index 295940a52..f1ac492d4 100644
--- a/man/curs_inwstr.3x
+++ b/man/curs_inwstr.3x
@@ -65,7 +65,8 @@ .SH SYNOPSIS
 \fBint innwstr(wchar_t * \fIwstr\fP, int \fIn\fP);
 \fBint winnwstr(WINDOW * \fIwin\fP, wchar_t * \fIwstr\fP, int \fIn\fP);
 \fBint mvinnwstr(int \fIy\fP, int \fIx\fP, wchar_t * \fIwstr\fP, int \fIn\fP);
-\fBint mvwinnwstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, wchar_t * 
\fIwstr\fP, int \fIn\fP);
+\fBint mvwinnwstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, wchar_t * 
\fIwstr\fP,
+      int \fIn\fP);
 .fi
 .SH DESCRIPTION
 .B \%winwstr
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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