Subject: pkg/15207: our (n)curses misses functionality for mutt
To: None <>
From: Rhialto <>
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
>Originator:     Rhialto
>Release:        NetBSD 1.5
System: NetBSD 1.5.1_BETA NetBSD 1.5.1_BETA (AZENOMEI) #0: Sun Apr 22 00:38:14 CEST 2001 alpha

	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

	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

	I think this PR should be filed both in the pkg and lib
	See above.
	Add the use_default_colors() function to our own curses.
	Add SIGWINCH handling to our own curses.


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/"
+# NetBSD's curses ignores SIGWINCH and misses use_default_colors()
+USE_NCURSES=		defined
 .include "../../devel/ncurses/"