Subject: lib/32417: NetBSD curses subwindow support is broken.
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <dickey@radix.net>
List: netbsd-bugs
Date: 12/30/2005 17:20:00
>Number:         32417
>Category:       lib
>Synopsis:       NetBSD curses subwindow support is broken.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 30 17:20:00 +0000 2005
>Originator:     Thomas Dickey
>Release:        2.0
>Organization:
>Environment:
NetBSD cyclops 2.0_RC1 NetBSD 2.0_RC1 (GENERIC) #0: Thu Sep 30 08:32:31 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC i386

>Description:
See
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libcurses/newwin.c
Revision 1.37

That's incorrect (noticed in regression testing Cdk, which works
with other curses implementations).  Compare with

http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libcurses/screen/derwin.c#57

It works properly with ncurses of course.
>How-To-Repeat:
Cdk is here:
http://invisible-island.net/cdk/

configure && make all
cd examples
./alphalist_ex

The 20050524 snapshot dumps core (newer versions won't dump core, but will simply exit with an error).
>Fix:
Use ncurses.