NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: segfault in libterminfo with ncurses with nethack



On Thu, 31 Aug 2023, Rhialto wrote:

So I'm trying ncurses.

However at startup it crashes in NetBSD's libterminfo.


If you use ncurses, then you _shouldn't_ be linking in the system libterminfo
as well. Ncurses, as it's usually built, will have its own terminfo functions
built-in. (You can also pull this out as a libtinfo{,w}.*)

I think what's happening here is some functions are being pulled from the
system libterminfo and others from the ncurses impl. resulting in a
half-initialized mish-mash in ncurses's data-structures.

-RVP


Home | Main Index | Thread Index | Old Index