On Thu, Sep 26, 2002 at 01:24:29AM +0200, D. J. Bolderman wrote:
> On Wed, 25 Sep 2002, Thomas Dickey wrote:
>
> > > > I want to color my headers, but something goes wrong here. For
> > > > example: I have the subject colored white, with a blue
> > > > background, but the rest of the line stays black... I've
> > > > searched the archives but didn't find a proper solution.
> > >
> > > I think the consensus is that this is an ncurses issue. I fixed
> > > it for myself by compiling with s-lang instead of ncurses.
> >
> > uh no - it's a mutt issue.
> > ncurses and slang have comparable capabilities in this area, the issue is
> > that mutt isn't calling ncurses to achieve the effect.
>
> So how do I get Mutt to call ncurses then ? Do I have to recompile or
> something ??
mutt does - but there are some missing pieces. The calls using the macro
BKGDSET are either incomplete, or there is needed some related calls to the
bkgd function.
#if !defined(USE_SLANG_CURSES) && defined(HAVE_BKGDSET)
#define BKGDSET(x) bkgdset (ColorDefs[x] | ' ')
#else
#define BKGDSET(x)
#endif
(if I had less work to do, I'd have a patch for mutt, but have been busy
on - besides my day job - xterm, lynx, ncurses and vile within the past
month).
--
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net