bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 13/51] man/curs_ins{_w,}str.3x: Revise ordering of function 4-tup


From: G. Branden Robinson
Subject: [PATCH 13/51] man/curs_ins{_w,}str.3x: Revise ordering of function 4-tuples in "NAME" and "SYNOPSIS" sections.
Date: Fri, 26 Jul 2024 12:48:58 -0500

Reorganize list of functions, grouping them by common 4-tuple described
in ncurses (that is, in order of increasing argument count); a given
ncurses function often has four variants, with a prefix that is empty,
"w", "mv", or "mvw".  The w-prefixed function is the elementary one (the
others are macros).
---
 man/curs_ins_wstr.3x | 14 +++++++-------
 man/curs_insstr.3x   | 12 ++++++------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/man/curs_ins_wstr.3x b/man/curs_ins_wstr.3x
index 921e6b2f6..c7d039a36 100644
--- a/man/curs_ins_wstr.3x
+++ b/man/curs_ins_wstr.3x
@@ -46,12 +46,12 @@
 ..
 .SH NAME
 \fB\%ins_wstr\fP,
-\fB\%ins_nwstr\fP,
 \fB\%wins_wstr\fP,
-\fB\%wins_nwstr\fP,
 \fB\%mvins_wstr\fP,
-\fB\%mvins_nwstr\fP,
 \fB\%mvwins_wstr\fP,
+\fB\%ins_nwstr\fP,
+\fB\%wins_nwstr\fP,
+\fB\%mvins_nwstr\fP,
 \fB\%mvwins_nwstr\fP \-
 insert a wide-character string in a \fIcurses\fR window
 .SH SYNOPSIS
@@ -59,13 +59,13 @@ .SH SYNOPSIS
 \fB#include <curses.h>
 .PP
 \fBint ins_wstr(const wchar_t * \fIwstr\fP);
-\fBint ins_nwstr(const wchar_t * \fIwstr\fP, int \fIn\fP);
 \fBint wins_wstr(WINDOW * \fIwin\fP, const wchar_t * \fIwstr\fP);
-\fBint wins_nwstr(WINDOW * \fIwin\fP, const wchar_t * \fIwstr\fP, int \fIn\fP);
-.PP
 \fBint mvins_wstr(int \fIy\fP, int \fIx\fP, const wchar_t * \fIwstr\fP);
-\fBint mvins_nwstr(int \fIy\fP, int \fIx\fP, const wchar_t * \fIwstr\fP, int 
\fIn\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);
 .fi
 .SH DESCRIPTION
diff --git a/man/curs_insstr.3x b/man/curs_insstr.3x
index 022b74987..a305596d6 100644
--- a/man/curs_insstr.3x
+++ b/man/curs_insstr.3x
@@ -46,11 +46,11 @@
 ..
 .SH NAME
 \fB\%insstr\fP,
-\fB\%insnstr\fP,
 \fB\%winsstr\fP,
-\fB\%winsnstr\fP,
 \fB\%mvinsstr\fP,
 \fB\%mvinsnstr\fP,
+\fB\%insnstr\fP,
+\fB\%winsnstr\fP,
 \fB\%mvwinsstr\fP,
 \fB\%mvwinsnstr\fP \-
 insert a string in a \fIcurses\fR window
@@ -58,13 +58,13 @@ .SH SYNOPSIS
 .nf
 \fB#include <curses.h>
 \fBint insstr(const char * \fIstr\fP);
-\fBint insnstr(const char * \fIstr\fP, int \fIn\fP);
 \fBint winsstr(WINDOW * \fIwin\fP, const char * \fIstr\fP);
-\fBint winsnstr(WINDOW * \fIwin\fP, const char * \fIstr\fP, int \fIn\fP);
-.PP
 \fBint mvinsstr(int \fIy\fP, int \fIx\fP, const char * \fIstr\fP);
-\fBint mvinsnstr(int \fIy\fP, int \fIx\fP, const char * \fIstr\fP, int 
\fIn\fP);
 \fBint mvwinsstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const char * 
\fIstr\fP);
+.PP
+\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);
 .fi
 .SH DESCRIPTION
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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