NetBSD-Bugs archive

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

Re: lib/23910 (libcurses: bug in redraw()?)



The following reply was made to PR lib/23910; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/23910 (libcurses: bug in redraw()?)
Date: Sat, 10 Nov 2018 05:41:27 +0300

 This is likely an incompatibility in the way we do color pairs.  I
 don't know for sure, but I do know that misc/dialog handles netbsd
 curses specially in that area (cf. its util.c).  Someone with more
 clue * time should probably take a closer look at that.
 
 
 PS: It looks like ncurses initscr() just exits when newterm fails and
 so programs don't check its retrun value.  So when netbsd curses
 returns NULL the program happily proceeds with calling more curses
 functions and crash.  E.g. try TERM=xxx vifm
 
 This is probably something for packagers to be aware off and patch
 when using FAKE_NCURSES=yes
 
 -uwe
 


Home | Main Index | Thread Index | Old Index