[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The GEL lib (NILS read this!)
I strongly agree. Debian uses only ncurses - a termcap-compat library is
avialable for those who want to run binary termcap applications. ncurses
is definately the way to go.
On Fri, 11 Feb 2000 georgesk@boltz.univ-littoral.fr wrote:
> Nils Barth writes:
> > Thus spake George:
> > > weird ... do you know which library has tgetent? (try "nm libblah.a | grep
> > > tgetent")
> >
> > er, what should I put in for ``libblah.a''?
> > when I tried grep * -ire tgetent, it showed up in:
> > configure.in
> > genius/genius.c
>
> I recently discussed with Hilaire about tgetent. genius.c is now
> linked with the old libtermcap library, which is announced as
> obsolete.
>
> The new way to use the same functionality is to use the library
> libncurses which is actively maintained.
>
> the following changes are efficient :
>
> add the lines
>
> #include <curses.h>
> #include <term.h>
>
> in genius/genius.c instead of #include <termcap.h>
>
> link against -lcurses instead of -ltermcap.
>
> the configure script needs no more testing the presence of libtermcap,
> but the presence of libncurses.
>
> just my 2 c.
>
> --
> Georges Khaznadar.
>
>
>
>