Subject: pkg/15207: our (n)curses misses functionality for mutt
To: None <gnats-bugs@gnats.netbsd.org>
From: Rhialto <rhialto@azenomei.knuffel.net>
List: netbsd-bugs
Date: 01/11/2002 15:55:35
>Number: 15207
>Category: pkg
>Synopsis: our (n)curses misses functionality for mutt
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 11 06:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Rhialto
>Release: NetBSD 1.5
>Organization:
>Environment:
System: NetBSD azenomei.falu.nl 1.5.1_BETA NetBSD 1.5.1_BETA (AZENOMEI) #0: Sun Apr 22 00:38:14 CEST 2001 rhialto@azenomei.falu.nl:/vol1/rhialto/cvs/netbsd-1-5/syssrc/sys/arch/alpha/compile/AZENOMEI alpha
>Description:
If you configure mutt on a relative recent installation, it will
use the base system version of (n)curses. However, mutt tests for
the function use_default_colors(), which our (n)curses does not have.
Also, our (n)curses does not react to SIGWINCH which is quite
annoying.
On older NetBSD installations, such as 1.4, this problem does
not occur, since the pkg system elects to use the pkgsrc version
of ncurses 5.x. This version does not have either of these
problems.
I think this PR should be filed both in the pkg and lib
catories.
>How-To-Repeat:
See above.
>Fix:
Add the use_default_colors() function to our own curses.
Add SIGWINCH handling to our own curses.
Workaround:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/mutt-devel/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile 2002/01/02 09:07:45 1.18
+++ Makefile 2002/01/11 14:49:58
@@ -32,7 +32,8 @@
.include "../../devel/libslang/buildlink.mk"
.else
CONFIGURE_ARGS+= --with-curses=${BUILDLINK_DIR}
-
+# NetBSD's curses ignores SIGWINCH and misses use_default_colors()
+USE_NCURSES= defined
.include "../../devel/ncurses/buildlink.mk"
.endif
>Release-Note:
>Audit-Trail:
>Unformatted: