ncurses5 vs. ncurses6

Brandon Allbery allbery.b at gmail.com
Thu Nov 5 03:37:04 PST 2015


On Thu, Nov 5, 2015 at 6:25 AM, René J.V. <rjvbertin at gmail.com> wrote:

> Out of pure curiosity, does anyone know what happens when an application
> links to ncurses6 and one of its dependencies to a (runtime) library from
> ncurses5?


If it's using terminfo level stuff only and doesn't share it around (e.g.
most uses of readline, which doesn't expose any curses/terminfo
interfaces), it should work fine if it links successfully. Curses level
will probably explode; the internal structures changed a lot, and curses
uses a lot of macros some of which expose (or used to expose) internal
state.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20151105/0717acb4/attachment.html>


More information about the macports-users mailing list