<<< Date Index >>>     <<< Thread Index >>>

Re: adventures in coloring lines of the index view



Thus spake Christian Ebert [03/29/07 @ 08.07.15 +0200]:
> * Greg Novack on Wednesday, March 28, 2007 at 22:29:24 -0500:
> > Thus spake Derek Martin [03/28/07 @ 21.21.22 -0400]:
> >> On Wed, Mar 28, 2007 at 02:57:03PM -0500, Greg Novack wrote:
> >>> I wanted new messages in the index view to be colored in bold
> >>> yellow.  Hence I put 'color index brightyellow default ~N' in my
> >>> sourced color file.  What I'm about to explain is a way in which
> >>> this seems to work incorrectly, while 'color index brightyellow
> >>> black ~N' works properly.  
> 
> What setting do you have for indicator?

color indicator white red

> 
> >> If it's compiled against curses, then most likely it's a problem with
> >> the provided termcap/terminfo settings.  If that's the case, there are
> >> probably other people having similar problems.  Did you search the
> >> archives and/or the web for this problem?  I do vaguely recall people
> >> complaining about terminal-related stuff not working properly on Macs
> >> before...
> >> 
> >> mutt -v will tell you how it was compiled:
> >> 
> >>  $ mutt -v |egrep 'curses|slang'
> >>  System: Linux <sanitized> [using slang 10405]
> > 
> > Apparently, it was compiled with ncurses 5.2.  As far as I
> > know, ncurses was put on my system (OSX10.3) by Fink, and
> > according to Fink it is not outdated (though that could just
> > mean that no newer version is within Fink's purview).  I'll do
> > more research on this.
> 
> You can upgrade. Also on 10.3 here:
> 
> $ fink list -t ncurses
>  i    libncurses5     5.4-20041023-9  Full-screen ascii drawing library
>  p    libncurses5-dev         [virtual package]
>  i    libncurses5-shlibs      5.4-20041023-9  Shared libraries for 
> libncurses5 package
>  i    libncursesw5    5.4-20041023-1  Full-screen ascii drawing library 
> (wchar version)
>  i    libncursesw5-shlibs     5.4-20041023-1  Shared libraries for 
> libncursesw5 package
>  i    ncurses 5.4-20041023-9  Executable files for ncurses
>       ncurses-dev     5.3-20031018-502        Development files for ncurses 
> package
>       ncurses-shlibs  5.3-20031018-502        Shared libraries for ncurses 
> package
> $ mutt -v | grep curses
> ncurses: ncurses 5.4.20041023 (compiled with 5.4)
> 
> c
> -- 
> _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>


Strangely, the mutt -v tells me ncurses 5.2, but the fink list command says 
ncurses 5.4-x for some things and 5.3-x for others.  mutt -v|grep curses yields:

System: Darwin 7.9.0 (Power Macintosh) [using ncurses 5.2] [using liniconv 1.9]

Also strangely, the issue disappears (as far as I can tell) if I run mutt 
inside an instance of screen in an xterm.

Many thanks,
GMN