bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 33/61] Relocate "NOTES" section before "PORTABILITY".


From: G. Branden Robinson
Subject: [PATCH 33/61] Relocate "NOTES" section before "PORTABILITY".
Date: Fri, 24 Nov 2023 12:05:40 -0600

* man/curs_deleteln.3x:
* man/curs_outopts.3x:
* man/curs_touch.3x: Do it.
---
 man/curs_deleteln.3x | 10 +++++-----
 man/curs_outopts.3x  | 20 ++++++++++----------
 man/curs_touch.3x    |  4 ++--
 3 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/man/curs_deleteln.3x b/man/curs_deleteln.3x
index 9cc5ef18..7e104001 100644
--- a/man/curs_deleteln.3x
+++ b/man/curs_deleteln.3x
@@ -76,11 +76,6 @@ .SH RETURN VALUE
 X/Open defines no error conditions.
 In this implementation,
 if the window parameter is null, an error is returned.
-.SH PORTABILITY
-These functions are described in the XSI Curses standard, Issue 4.
-The
-standard specifies that they return \fBERR\fP on failure, but specifies no
-error conditions.
 .SH NOTES
 Note that all but \fBwinsdelln\fP may be macros.
 .PP
@@ -88,5 +83,10 @@ .SH NOTES
 terminal.
 In fact, they will not use hardware line delete/insert unless
 \fBidlok(..., TRUE)\fP has been set on the current window.
+.SH PORTABILITY
+These functions are described in the XSI Curses standard, Issue 4.
+The
+standard specifies that they return \fBERR\fP on failure, but specifies no
+error conditions.
 .SH SEE ALSO
 \fB\%curses\fP(3X)
diff --git a/man/curs_outopts.3x b/man/curs_outopts.3x
index 85c350b4..8a3d9957 100644
--- a/man/curs_outopts.3x
+++ b/man/curs_outopts.3x
@@ -156,6 +156,16 @@ .SH RETURN VALUE
 X/Open does not define any error conditions.
 This implementation returns an error
 if the window pointer is null.
+.SH NOTES
+Note that
+\fBclearok\fP,
+\fBleaveok\fP,
+\fBscrollok\fP,
+\fBidcok\fP, and
+\fBsetscrreg\fP may be macros.
+.PP
+The \fBimmedok\fP routine is useful for windows that are used as terminal
+emulators.
 .SH PORTABILITY
 These functions are described in the XSI Curses standard, Issue 4.
 .PP
@@ -188,16 +198,6 @@ .SH PORTABILITY
 made invisible as a side-effect of \fBleaveok\fP.
 SVr4 curses documentation does this, but the code does not.
 Use \fBcurs_set\fP to make the cursor invisible.
-.SH NOTES
-Note that
-\fBclearok\fP,
-\fBleaveok\fP,
-\fBscrollok\fP,
-\fBidcok\fP, and
-\fBsetscrreg\fP may be macros.
-.PP
-The \fBimmedok\fP routine is useful for windows that are used as terminal
-emulators.
 .SH SEE ALSO
 \fB\%curses\fP(3X),
 \fB\%curs_addch\fP(3X),
diff --git a/man/curs_touch.3x b/man/curs_touch.3x
index 8fc44abe..9252515e 100644
--- a/man/curs_touch.3x
+++ b/man/curs_touch.3x
@@ -105,6 +105,8 @@ .SH RETURN VALUE
 if the window pointer is null, or
 if the line number is outside the window.
 .RE
+.SH NOTES
+All of these routines except \fB\%wtouchln\fP may be macros.
 .SH PORTABILITY
 These functions were introduced by SVr4.
 The Solaris \fIcurses\fP header file,
@@ -116,8 +118,6 @@ .SH PORTABILITY
 .PP
 The XSI Curses standard, Issue 4 describes these functions,
 but defines no error conditions.
-.SH NOTES
-All of these routines except \fB\%wtouchln\fP may be macros.
 .SH SEE ALSO
 \fB\%curses\fP(3X),
 \fB\%curs_refresh\fP(3X),
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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