[patch] Allow to link with ncursesw

Pedro Alves palves@redhat.com
Wed Sep 20 21:22:00 GMT 2017


On 09/20/2017 08:51 PM, Matthias Klose wrote:
> On 20.09.2017 20:39, Pedro Alves wrote:

>> Did you reach out to readline/bash, see if they're willing
>> to try ncursesw before ncurses too?  Don't we need at least
>> a local patch to our local readline copy, to avoid breaking
>> those that use it and have it link with ncurses?
> 
> afaik, this is only the case if readline is linked with one of the curses
> libraries.  However these days everybody seems to have readline linked to just
> tinfo, so this shouldn't be an issue?

Everybody on GNU/Linux, it seems.  However, the Python bug
report talked about FreeBSD's readline linked with ncurses
Do you know whether they've switched to tinfo as well
meanwhile?  [Adding John as FreeBSD maintainer.]

> Python itself doesn't link to a curses library, it uses the only which is used
> for readline.
> 

And if readline doesn't use curses, what does Python do?

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list