On Mon, Nov 15, 1999 at 12:04:07PM +0100, Andy Spiegl wrote:
> > There is a maximum number of color definitions which is imposed by
> > the terminal handling library (curses or slang).
> Oh, I see!

But see bellow.

> > When you make a new color definition, mutt will check if the limit is
> > reached and if this is the case it will silently use the "normal" color
> > instead of defining a new one.
> Hm, "silently".  Shouldn't we consider this a bug?  I mean I was
> desparately trying to set my colors right (for hours) and just couldn't
> understand why mutt was ignoring _some_ (not the last!) settings.  A simple
> message on stdout would have made my life a lot easier.

I had many problems with colors when I first started using mutt.  I was
using some old version of ncurses then.  90% of my color settings would
be ignored.  I tried debugging the source and found out, that
  (a) Maximum number of color definitions was big enough (64)
  (b) Mutt passed correct attribute values to ncurses routines.
However, the display was wrong.

Recompiling mutt with slang helped.

(Actually, even now I do not get precisely all the colours I want, both
with slang 1.2.2 and ncurses 4.2.0.  Maybe it's time to upgrade again?)

Marius Gedminas
-- 
"Linux: the operating system with a CLUE... Command Line User Environment".
(seen in a posting in comp.software.testing)

Reply via email to