bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 32/43] man/ncurses.3x: Soften portability advice.


From: G. Branden Robinson
Subject: [PATCH 32/43] man/ncurses.3x: Soften portability advice.
Date: Mon, 9 Sep 2024 09:18:10 -0500

It's cleaner for users of the low-level curses API to #include only
term.h (particularly on systems that supply a separate "tinfo" library
housing the implementation), and it seems this should work everywhere
except on versions of AIX that were "very old" when Thomas wrote the
surrounding portability analysis in 2020.

According to IBM, support for AIX 7.1, released 2010,[1] was withdrawn
in April 2023.[2]

[1] 
https://web.archive.org/web/20230121235838/https://www.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&appname=iSource&supplier=897&letternum=ENUS210-200
[2] 
https://web.archive.org/web/20230121235838/https://www.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&appname=iSource&supplier=897&letternum=ENUS921-107
---
 man/ncurses.3x | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/ncurses.3x b/man/ncurses.3x
index aaa21413e..2c6b24614 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -2250,8 +2250,8 @@ .SS "Header Files"
 so
 .IR \%ncurses 's
 own header files can be included in any order.
-But for portability,
-you should include
+For portability even to old AIX systems,
+include
 .I \%curses.h
 before
 .IR \%term.h .
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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