On Sat, Oct 05, 2002 at 05:59:08PM +0200, Hanspeter Roth wrote: > On Oct 01 at 16:15, Thomas Dickey spoke: > > > On Tue, Oct 01, 2002 at 09:52:34PM +0200, Hanspeter Roth wrote: > > > > > > If I could manage to build a mutt linked against an standard > > > ncurses5.x then shoud there be a working use_default_colors() > > > available? > > > > yes - I added the feature with ncurses 4.2 > > > > Bear in mind that when I'm building applications with ncurses, it is usually > > not using the *BSD ports - I frequently see problems reported that are due > > to that. > > I installed ncurses 5.2 in a separate path /usr/opt/ncurses-5.2. > Then I built mutt 1.2.5.1: > > ./configure --prefix=/usr/opt/mutt-1.2.5.1 \ > --includedir=/usr/opt/ncurses-5.2/include \ > --libdir=/usr/opt/ncurses-5.2/lib --with-curses=/usr/opt/ncurses-5.2 > > It requires xterm-16color or similar. > But still it doesn't recognize default as background color. but what does the output of the configure script look like? For example, the related section when I configure:
checking for ispell... /usr/bin/ispell checking for initscr in -lncurses... yes checking for ncurses.h... yes checking for start_color declaration... yes checking for typeahead declaration... yes checking for bkgdset declaration... yes checking for curs_set declaration... yes checking for meta declaration... yes checking for use_default_colors declaration... yes checking for resizeterm declaration... yes checking for ANSI C header files... yes (the "use_default_colors" line is needed). -- Thomas E. Dickey <[EMAIL PROTECTED]> http://invisible-island.net ftp://invisible-island.net