Subject: pkg/5163: ncurses quickie--man pages say , it's actually pkg/include/ncurses.h
To: None <>
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
>Originator:     Marc Tooley
None that I know of.. :)
>Release:        NetBSD-1.3 Official release. Presumably -current too.
System: NetBSD 1.3 NetBSD 1.3 (BATTLE) #1: Sun Feb 1 18:02:00 PST 1998 amiga

	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. :)
	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!
	sed #include <curses.h> into #include </usr/pkg/include/ncurses.h>