This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Allow to link with ncursesw
- From: Pedro Alves <palves at redhat dot com>
- To: Matthias Klose <doko at ubuntu dot com>, gdb-patches at sourceware dot org, John Baldwin <jhb at freebsd dot org>
- Date: Wed, 20 Sep 2017 22:22:29 +0100
- Subject: Re: [patch] Allow to link with ncursesw
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5845B461F9
- References: <bb52db91-88bc-164e-bbea-b53a14dde34e@ubuntu.com> <85b197cb-3a52-2e96-e7a3-a387afc3f158@redhat.com> <efd9c02d-767f-bc13-0c1e-85dbc8a7acd8@ubuntu.com>
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