bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 22/30] man/curs_kernel.3x: Expand "PORTABILITY" section.


From: G. Branden Robinson
Subject: [PATCH 22/30] man/curs_kernel.3x: Expand "PORTABILITY" section.
Date: Sat, 8 Jun 2024 07:19:23 -0500

Advise "NCURSES_VERSION" usage in "PORTABILITY" section when exercising
ncurses extensions.
---
 man/curs_kernel.3x | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/man/curs_kernel.3x b/man/curs_kernel.3x
index 024d37718..2566e1b8d 100644
--- a/man/curs_kernel.3x
+++ b/man/curs_kernel.3x
@@ -296,6 +296,12 @@ .SH EXTENSIONS
 rather than the least costly combination of absolute and relative
 motion.
 .SH PORTABILITY
+Applications employing
+.I \%ncurses
+extensions should condition their use on the visibility of the
+.B \%NCURSES_VERSION
+preprocessor macro.
+.PP
 The \fIvirtual screen\fP functions \fBsetsyx\fP and \fBgetsyx\fP
 are not described in X/Open Curses, Issue 4.
 All other functions are as described in X/Open Curses.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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