bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 16/61] man/curs_terminfo.3x: Update sectional structure.


From: G. Branden Robinson
Subject: [PATCH 16/61] man/curs_terminfo.3x: Update sectional structure.
Date: Fri, 24 Nov 2023 12:01:40 -0600

* Promote "Legacy functions" subsection out of "PORTABILITY" to become
  new "NOTES" section.  Relocate it ahead of "EXTENSIONS".
* Promote "Extensions" subsection out of "PORTABILITY" to section.
  Relocate it ahead of "PORTABILITY".
---
 man/curs_terminfo.3x | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index 4d6c8b7d..5dd89972 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -509,6 +509,18 @@ .SH RETURN VALUE
 of the output function \fIputc\fP.
 .RE
 .\" ***************************************************************************
+.SH NOTES
+X/Open notes that \fBvidattr\fP and \fBvidputs\fP may be macros.
+.\" ***************************************************************************
+.SH EXTENSIONS
+The functions marked as extensions were designed for \fBncurses\fP(3X),
+and are not found in SVr4 curses, 4.4BSD curses,
+or any other previous version of curses.
+.\" ***************************************************************************
+.SH PORTABILITY
+The function \fBsetterm\fP is not described by X/Open and must
+be considered non-portable.
+All other functions are as described by X/Open.
 .SS Compatibility macros
 This implementation provides a few macros for compatibility with systems
 before SVr4 (see \fIHISTORY\fP).
@@ -533,18 +545,6 @@ .SS Compatibility macros
 and is not recommended for new programs.
 This implementation provides each of those symbols
 as macros for BSD compatibility.
-.\" ***************************************************************************
-.SH PORTABILITY
-.SS Extensions
-The functions marked as extensions were designed for \fBncurses\fP(3X),
-and are not found in SVr4 curses, 4.4BSD curses,
-or any other previous version of curses.
-.SS Legacy functions
-X/Open notes that \fBvidattr\fP and \fBvidputs\fP may be macros.
-.PP
-The function \fBsetterm\fP is not described by X/Open and must
-be considered non-portable.
-All other functions are as described by X/Open.
 .SS Legacy data
 \fBsetupterm\fP copies the terminal name to the array \fBttytype\fP.
 This is not part of X/Open Curses, but is assumed by some applications.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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