bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 12/51] man/curs_add{w,}str.3x: Revise ordering of function 4-tupl


From: G. Branden Robinson
Subject: [PATCH 12/51] man/curs_add{w,}str.3x: Revise ordering of function 4-tuples in "NAME" and "SYNOPSIS" sections.
Date: Fri, 26 Jul 2024 12:48:49 -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_addstr.3x  | 10 +++++-----
 man/curs_addwstr.3x | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/man/curs_addstr.3x b/man/curs_addstr.3x
index e835bd1ff..51e525dd6 100644
--- a/man/curs_addstr.3x
+++ b/man/curs_addstr.3x
@@ -46,12 +46,12 @@
 ..
 .SH NAME
 \fB\%addstr\fP,
-\fB\%addnstr\fP,
 \fB\%waddstr\fP,
-\fB\%waddnstr\fP,
 \fB\%mvaddstr\fP,
-\fB\%mvaddnstr\fP,
 \fB\%mvwaddstr\fP,
+\fB\%addnstr\fP,
+\fB\%waddnstr\fP,
+\fB\%mvaddnstr\fP,
 \fB\%mvwaddnstr\fP \-
 add a string to a \fIcurses\fR window and advance the cursor
 .SH SYNOPSIS
@@ -59,14 +59,14 @@ .SH SYNOPSIS
 \fB#include <curses.h>
 .PP
 \fBint addstr(const char * \fIstr\fP);
+\fBint waddstr(WINDOW * \fIwin\fP, const char * \fIstr\fP);
 \fBint mvaddstr(int \fIy\fP, int \fIx\fP, const char * \fIstr\fP);
 \fBint mvwaddstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const char * 
\fIstr\fP);
-\fBint waddstr(WINDOW * \fIwin\fP, const char * \fIstr\fP);
 .PP
 \fBint addnstr(const char * \fIstr\fP, int \fIn\fP);
+\fBint waddnstr(WINDOW * \fIwin\fP, const char * \fIstr\fP, int \fIn\fP);
 \fBint mvaddnstr(int \fIy\fP, int \fIx\fP, const char * \fIstr\fP, int 
\fIn\fP);
 \fBint mvwaddnstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const char * 
\fIstr\fP, int \fIn\fP);
-\fBint waddnstr(WINDOW * \fIwin\fP, const char * \fIstr\fP, int \fIn\fP);
 .fi
 .SH DESCRIPTION
 .B waddstr
diff --git a/man/curs_addwstr.3x b/man/curs_addwstr.3x
index 6077798c6..411cace48 100644
--- a/man/curs_addwstr.3x
+++ b/man/curs_addwstr.3x
@@ -46,12 +46,12 @@
 ..
 .SH NAME
 \fB\%addwstr\fP,
-\fB\%addnwstr\fP,
 \fB\%waddwstr\fP,
-\fB\%waddnwstr\fP,
 \fB\%mvaddwstr\fP,
-\fB\%mvaddnwstr\fP,
 \fB\%mvwaddwstr\fP,
+\fB\%addnwstr\fP,
+\fB\%waddnwstr\fP,
+\fB\%mvaddnwstr\fP,
 \fB\%mvwaddnwstr\fP \-
 add a wide-character string to a \fIcurses\fR window and advance the cursor
 .SH SYNOPSIS
@@ -59,14 +59,14 @@ .SH SYNOPSIS
 \fB#include <curses.h>
 .PP
 \fBint addwstr(const wchar_t * \fIwstr\fP);
+\fBint waddwstr(WINDOW * \fIwin\fP, const wchar_t * \fIwstr\fP);
 \fBint mvaddwstr(int \fIy\fP, int \fIx\fP, const wchar_t * \fIwstr\fP);
 \fBint mvwaddwstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const wchar_t 
* \fIwstr\fP);
-\fBint waddwstr(WINDOW * \fIwin\fP, const wchar_t * \fIwstr\fP);
 .PP
 \fBint addnwstr(const wchar_t * \fIwstr\fP, int \fIn\fP);
+\fBint waddnwstr(WINDOW * \fIwin\fP, const wchar_t * \fIwstr\fP, int \fIn\fP);
 \fBint mvaddnwstr(int \fIy\fP, int \fIx\fP, const wchar_t * \fIwstr\fP, int 
\fIn\fP);
 \fBint mvwaddnwstr(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const wchar_t 
* \fIwstr\fP, int \fIn\fP);
-\fBint waddnwstr(WINDOW * \fIwin\fP, const wchar_t * \fIwstr\fP, int \fIn\fP);
 .fi
 .SH DESCRIPTION
 .B waddwstr
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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