Ncurses support?

2022-02-24 Thread Jeffrey Walton
Hi Everyone, I saw Gnulib started carrying some terminal info support. My goal is to find a way to drop Ncurses from my build scripts. It causes too much trouble. The rub is, a lot of programs depend on it. Is it possible to provide a Ncurses replacement via Gnulib? Is this something the project

Re: Ncurses support?

2022-02-24 Thread Bruno Haible
Hi Jeffrey, > My goal is to find a way to drop Ncurses from my build scripts. It > causes too much trouble. What trouble do you get? Portability problems? > The rub is, a lot of programs depend on it. What do these programs actually need? Ncurses? Any implementation of curses? Just the terminal

Re: Ncurses support?

2022-02-24 Thread Jeffrey Walton
> > My goal is to find a way to drop Ncurses from my build scripts. It > > causes too much trouble. > > What trouble do you get? Portability problems? Fails to build on some platforms. Solaris is the latest casualty. > > The rub is, a lot of programs depend on it. > > What do these programs actua

Re: Ncurses support?

2022-02-24 Thread Bruno Haible
Jeffrey Walton wrote: > > What trouble do you get? Portability problems? > > Fails to build on some platforms. Solaris is the latest casualty. On Solaris, why not use '-lcurses' instead of '-lncurses'? > > So far, I'm not seeing a need. Ncurses is GNU, has regular releases, > > and supports most

Re: Ncurses support?

2022-02-24 Thread Mike Frysinger
i'm not seeing how any of this feedback translates into "gnulib should fork ncurses". as Bruno mentioned, ncurses, like gnulib, is a GNU project, so that alone is pretty brow-raising. but even from a purely technical pov, ncurses does a _lot_, and i struggle to see why any of it makes sense in gn

Re: Ncurses support?

2022-02-24 Thread Jeffrey Walton
On Thu, Feb 24, 2022 at 6:07 PM Bruno Haible wrote: > > Jeffrey Walton wrote: > > > What trouble do you get? Portability problems? > > > > Fails to build on some platforms. Solaris is the latest casualty. > > ... > > 3. Runtime execution. Leaks memory like a sieve. Impossible to test > > with some

Re: Ncurses support?

2022-02-24 Thread Mike Frysinger
On 25 Feb 2022 00:42, Jeffrey Walton wrote: > On Thu, Feb 24, 2022 at 6:07 PM Bruno Haible wrote: > > Have you reported it? > > https://invisible-island.net/ncurses/ncurses.faq.html#report_bugs > > Oh yeah, forgot to mention... No public bug tracker. You could have > looked this up yourself if the

Re: Ncurses support?

2022-02-24 Thread Jeffrey Walton
On Fri, Feb 25, 2022 at 1:53 AM Mike Frysinger wrote: > > On 25 Feb 2022 00:42, Jeffrey Walton wrote: > > On Thu, Feb 24, 2022 at 6:07 PM Bruno Haible wrote: > > > Have you reported it? > > > https://invisible-island.net/ncurses/ncurses.faq.html#report_bugs > > > > Oh yeah, forgot to mention... No

Re: Ncurses support?

2022-02-25 Thread Mike Frysinger
On 25 Feb 2022 02:45, Jeffrey Walton wrote: > On Fri, Feb 25, 2022 at 1:53 AM Mike Frysinger wrote: > > On 25 Feb 2022 00:42, Jeffrey Walton wrote: > > > On Thu, Feb 24, 2022 at 6:07 PM Bruno Haible wrote: > > > > Have you reported it? > > > > https://invisible-island.net/ncurses/ncurses.faq.html#r

Re: Ncurses support?

2022-02-25 Thread Jeffrey Walton
On Fri, Feb 25, 2022 at 3:58 AM Mike Frysinger wrote: > > On 25 Feb 2022 02:45, Jeffrey Walton wrote: > > On Fri, Feb 25, 2022 at 1:53 AM Mike Frysinger wrote: > > > On 25 Feb 2022 00:42, Jeffrey Walton wrote: > > > > On Thu, Feb 24, 2022 at 6:07 PM Bruno Haible wrote: > > > > > Have you reported

Re: Ncurses support?

2022-02-25 Thread Mike Frysinger
On 25 Feb 2022 04:31, Jeffrey Walton wrote: > On Fri, Feb 25, 2022 at 3:58 AM Mike Frysinger wrote: > > On 25 Feb 2022 02:45, Jeffrey Walton wrote: > > > On Fri, Feb 25, 2022 at 1:53 AM Mike Frysinger wrote: > > > > On 25 Feb 2022 00:42, Jeffrey Walton wrote: > > > > > On Thu, Feb 24, 2022 at 6:07

Re: Ncurses support?

2022-02-25 Thread Jeffrey Walton
On Fri, Feb 25, 2022 at 2:26 PM Mike Frysinger wrote: > > On 25 Feb 2022 04:31, Jeffrey Walton wrote: > > On Fri, Feb 25, 2022 at 3:58 AM Mike Frysinger wrote: > > > On 25 Feb 2022 02:45, Jeffrey Walton wrote: > > > > On Fri, Feb 25, 2022 at 1:53 AM Mike Frysinger wrote: > > > > > On 25 Feb 2022 0

Re: Ncurses support?

2022-02-25 Thread Mike Frysinger
On 25 Feb 2022 14:32, Jeffrey Walton wrote: > On Fri, Feb 25, 2022 at 2:26 PM Mike Frysinger wrote: > > On 25 Feb 2022 04:31, Jeffrey Walton wrote: > > > On Fri, Feb 25, 2022 at 3:58 AM Mike Frysinger wrote: > > > > On 25 Feb 2022 02:45, Jeffrey Walton wrote: > > > > > On Fri, Feb 25, 2022 at 1:53

Re: Ncurses support?

2022-02-25 Thread Mike Frysinger
On 25 Feb 2022 00:07, Bruno Haible wrote: > Jeffrey Walton wrote: > > > So far, I'm not seeing a need. Ncurses is GNU, has regular releases, > > > and supports most platforms nicely. When a package depends on it, I > > > just install it. > > > > Ncurses has a lot of problems: > > > > 1. Governanc

Re: Ncurses support?

2022-02-25 Thread Paul Eggert
On 2/25/22 11:26, Mike Frysinger wrote: you also seem to be unfamiliar with what goes into a functional curses library (including the terminfo library). this is not a trivial undertaking by any means. I contributed to termcap in the 1970s, when Bill Joy was still in charge of it. You can see

Re: Ncurses support?

2022-02-25 Thread Bruno Haible
Jeffrey Walton wrote: > > > > but since you're trying to build a list of reasons that gnulib should > > > > fork, > > > > please point me to gnulib's "bug tracker" that isn't a mailing list > > > > > > Gnulib does not have one either. But it's irrelevant to this conversation. > > > > it is not: yo