[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building termlib on Windows (with terminal drivers)
From: |
Thomas Dickey |
Subject: |
Re: Building termlib on Windows (with terminal drivers) |
Date: |
Sat, 3 Oct 2020 15:45:04 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Sat, Oct 03, 2020 at 08:07:30PM +0200, Anonymous Maarten wrote:
> Hello!
>
> Building the terminfo library on Windows is currently not possible
> (--enable-termlib).
> The configure script fails because Windows requires a terminal driver,
> which is incompatible with termlib.
> See
> https://github.com/ThomasDickey/ncurses-snapshots/blob/2d4d88d2ed06c478e6149556f453f09d23dc1c7d/configure.in#L1176-L1184
>
> When building notcurses, tinfo is required.
> See
> https://github.com/dankamongmen/notcurses/blob/a29bfe9c4238c516a227d5f5c92b60b6a56f69b8/CMakeLists.txt#L76
>
> Is there a possibility to move the terminal driver to the tinfo library?
perhaps - Juergen moved some stuff which may be relevant to the check
that I added in 2015.
With the check removed in the configure script, the regular
MinGW build currently fails due to the wide-character fallbacks and the
stubs for terminal I/O (such as isatty) being missing from the tinfo build.
If those were moved to the low-level library, it might be possible to link
with the resulting pair of libraries. (The pieces that I see failing don't
have dependencies on the high-level library).
> What are the technical obstacles?
if it's as simple as I see at the moment, it's "only" moving things around
and verifying against the build configurations.
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature