ncurses update to 6.0

Miroslav Lichvar mlichvar at redhat.com
Wed Aug 19 08:15:58 UTC 2015


On Tue, Aug 18, 2015 at 11:38:08PM +0100, Richard W.M. Jones wrote:
> guestfish uses APIs from readline and libtinfo directly.  It does not
> use ncurses APIs directly.

> So it is overlinked, but IIRC that's because you had to use
> `-lreadline -lncurses' to make readline work properly on some old
> systems.

Yeah, that was needed to allow the applications to make a choice
between libtermcap and libncurses.

> Can we replace that with `-lreadline'?
> 
> Are there any implications for a program which actually uses
> termcap/libtinfo functions also?

If guestfish does need the terminfo functions, I think it should be
linked with libtinfo or libncurses (on systems where libtinfo is not
separated from libncurses).

-- 
Miroslav Lichvar


More information about the devel mailing list