WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ncurses and ncursesw extensions tc-9.x  (Read 12525 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
ncurses and ncursesw extensions tc-9.x
« on: March 02, 2018, 03:34:05 AM »
Due to problems with the ncurses extension in tc-7.x (it contained an lfs fudge linking the standard and wide libs), the ncurses extension in tc-8.x/9.x has only the standard libs.

There are several issues with this:

* some (very) old apps might only link with the ncurses5 abi
* some (very) old apps will only link with the standard libs
* some (very) old apps require libtinfo and/or libtic to be separate from libncurses
* some new apps will not link if libtinfo and/or libtic are separate from libncurses
* some new apps will only link with the wide libs

From tc-9.x onwards, ncursesw should be considered as the standard ncurses extension for compiling new or updated extensions.

The ncurses or ncurses5 extensions should only be used if apps fail to compile against ncursesw.

If any extensions require ncurses5 for an extended period of time, ncurses6 will be compiled with the ncurses5 abi in order to take advantage of security patches, etc.
« Last Edit: March 02, 2018, 03:35:45 AM by Juanito »

Offline polikuo

  • Hero Member
  • *****
  • Posts: 726
Re: ncurses and ncursesw extensions tc-9.x
« Reply #1 on: March 13, 2018, 10:47:34 AM »
Will there be a ncursesw.tcz for raspberry pi port ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: ncurses and ncursesw extensions tc-9.x
« Reply #2 on: March 15, 2018, 04:19:46 AM »
the current piCore ncurses extension contains the lfs fudge, so it should work as both ncurses and ncursesw (in most cases)