, it's actually pkg/include/ncurses.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tooleym@Douglas.BC.CA>
List: netbsd-bugs
Date: 03/15/1998 19:55:29
>Number: 5163
>Category: pkg
>Synopsis: The ncurses man pages installed via pkgsrc/devel/ncurses wrong
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 15 20:05:01 1998
>Last-Modified:
>Originator: Marc Tooley
>Organization:
None that I know of.. :)
>Release: NetBSD-1.3 Official release. Presumably -current too.
>Environment:
System: NetBSD battle.war.com 1.3 NetBSD 1.3 (BATTLE) #1: Sun Feb 1 18:02:00 PST 1998 root@battle.war.com:/usr/src/sys/arch/amiga/compile/BATTLE amiga
>Description:
The ncurses man pages are slightly inaccurate, since I don't think
ncurses actually REPLACES the old netbsd curses.. the include file
for ncurses is not written over the old curses.h in the regular
/usr/include as the man pages imply. Instead they are plugged into
/usr/pkg/include as ncurses.h. I like splat.. I WOULD splat the
man pages but I haven't quite figured out sed yet. :)
>How-To-Repeat:
man ncurses -- see #include <curses.h>
Then, compile a program with libncurses.a from /usr/pkg/lib and
use getyx(WINDOW *, int, int) .. printf the results. Next, compile
with the include file from /usr/pkg/include/ncurses.h
Recompile the four-line program. Notice how well it runs now!
>Fix:
sed #include <curses.h> into #include </usr/pkg/include/ncurses.h>
>Audit-Trail:
>Unformatted: