[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 056/177] man/curs_ins{,_w}str.3x: Ensure synopses don't overset t
From: |
G. Branden Robinson |
Subject: |
[PATCH 056/177] man/curs_ins{,_w}str.3x: Ensure synopses don't overset the line. |
Date: |
Mon, 13 Jan 2025 11:23:28 -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_ins_wstr.3x | 6 ++++--
man/curs_insstr.3x | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/man/curs_ins_wstr.3x b/man/curs_ins_wstr.3x
index e6f0f14f8..b357a6dfd 100644
--- a/man/curs_ins_wstr.3x
+++ b/man/curs_ins_wstr.3x
@@ -61,12 +61,14 @@ .SH SYNOPSIS
\fBint ins_wstr(const wchar_t * \fIwstr\fP);
\fBint wins_wstr(WINDOW * \fIwin\fP, const wchar_t * \fIwstr\fP);
\fBint mvins_wstr(int \fIy\fP, int \fIx\fP, const wchar_t * \fIwstr\fP);
-\fBint mvwins_wstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const wchar_t
* \fIwstr\fP);
+\fBint mvwins_wstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP,
+ const wchar_t * \fIwstr\fP);
.PP
\fBint ins_nwstr(const wchar_t * \fIwstr\fP, int \fIn\fP);
\fBint wins_nwstr(WINDOW * \fIwin\fP, const wchar_t * \fIwstr\fP, int \fIn\fP);
\fBint mvins_nwstr(int \fIy\fP, int \fIx\fP, const wchar_t * \fIwstr\fP, int
\fIn\fP);
-\fBint mvwins_nwstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const
wchar_t * \fIwstr\fP, int \fIn\fP);
+\fBint mvwins_nwstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP,
+ const wchar_t * \fIwstr\fP, int \fIn\fP);
.fi
.SH DESCRIPTION
.B \%wins_wstr
diff --git a/man/curs_insstr.3x b/man/curs_insstr.3x
index 35da14041..fc3f1768d 100644
--- a/man/curs_insstr.3x
+++ b/man/curs_insstr.3x
@@ -66,7 +66,8 @@ .SH SYNOPSIS
\fBint insnstr(const char * \fIstr\fP, int \fIn\fP);
\fBint winsnstr(WINDOW * \fIwin\fP, const char * \fIstr\fP, int \fIn\fP);
\fBint mvinsnstr(int \fIy\fP, int \fIx\fP, const char * \fIstr\fP, int
\fIn\fP);
-\fBint mvwinsnstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const char *
\fIstr\fP, int \fIn\fP);
+\fBint mvwinsnstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const char *
\fIstr\fP,
+ int \fIn\fP);
.fi
.SH DESCRIPTION
.B \%winsstr
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 056/177] man/curs_ins{,_w}str.3x: Ensure synopses don't overset the line.,
G. Branden Robinson <=