Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

color problem

4 views
Skip to first unread message

Atom 'Smasher'

unread,
Feb 25, 2004, 3:17:45 AM2/25/04
to
i'm a power user in pine and considering converting to mutt.

in pine i can force the display to use 16 colors and i have a lot of things
using those colors.

in mutt, i seem to have 16 colors but not the way i want them... i seem to
have 8 "normal" colors and another 8 "bright" colors.

example line from my ~/.muttrc is this:
color indicator brightyellow yellow

which produces this:
http://atom.smasher.org/tmp/mutt-color.png

"brightyellow" is not only *bold*, but it's a different color than "yellow",
despite what the DOCs say:
foreground can optionally be prefixed with the keyword bright to
make the foreground color boldfaced (e.g., brightred).

anyway... how can i get the "brightyellow" color (and other *bright* colors)
without the bold? the same thing happens with all of the colors... bright*
makes it bold AND changes the color. i want to get the brighter colors
(which i find easier to read) but not bold (which i find makes it harder to
read).

this shot:
http://atom.smasher.org/tmp/color.png
shows the colors that i *should* have.

i've tried setting TERM to different values and setting/unsetting COLORTERM
and i keep getting the same results.

i've also tried colorX but any "X" > 7 causes a notice on startup that the
color is not supported.

this is Mutt 1.4.2.1i

Ben Finney

unread,
Feb 25, 2004, 4:07:01 PM2/25/04
to
On Wed, 25 Feb 2004 03:17:45 -0500, Atom 'Smasher' wrote:
> anyway... how can i get the "brightyellow" color (and other *bright*
> colors) without the bold?

This is a feature of your terminal; Mutt is not specifying any bolding
(it doesn't know how). Investigate your X terminal program's features
to see how to disable bold for bright colours.

--
\ "I was in the first submarine. Instead of a periscope, they had |
`\ a kaleidoscope. 'We're surrounded.'" -- Steven Wright |
_o__) |
Ben Finney <http://bignose.squidly.org/>

Atom 'Smasher'

unread,
Feb 25, 2004, 8:22:32 PM2/25/04
to
> This is a feature of your terminal; Mutt is not specifying any bolding
> (it doesn't know how). Investigate your X terminal program's features
> to see how to disable bold for bright colours.
>
===============

http://atom.smasher.org/tmp/color2.png

in the shot above, you can see that BOLD and BRIGHT are dealt with as
distinctly different things by my terminal(s).

~something~ is telling my terminal to display the the text as both bold and
bright. what is it and how do i turn it off?

thanks...

Ben Finney

unread,
Feb 25, 2004, 8:39:09 PM2/25/04
to
On Wed, 25 Feb 2004 20:22:32 -0500, Atom 'Smasher' wrote:
> http://atom.smasher.org/tmp/color2.png
>
> in the shot above, you can see that BOLD and BRIGHT are dealt with as
> distinctly different things by my terminal(s).

So how did you get your terminal to produce that image?

> ~something~ is telling my terminal to display the the text as both
> bold and bright. what is it and how do i turn it off?

It may be a feature of ncurses; most full-screen console apps use that
library for painting the console.

--
\ "I put contact lenses in my dog's eyes. They had little |
`\ pictures of cats on them. Then I took one out and he ran around |
_o__) in circles." -- Steven Wright |
Ben Finney <http://bignose.squidly.org/>

Atom 'Smasher'

unread,
Feb 25, 2004, 10:23:42 PM2/25/04
to
>> http://atom.smasher.org/tmp/color2.png
>>
>> in the shot above, you can see that BOLD and BRIGHT are dealt with as
>> distinctly different things by my terminal(s).
>
> So how did you get your terminal to produce that image?
=============================

http://atom.smasher.org/tmp/colors.gz

`cat colors`


>> ~something~ is telling my terminal to display the the text as both
>> bold and bright. what is it and how do i turn it off?
>
> It may be a feature of ncurses; most full-screen console apps use that
> library for painting the console.

===============================

hehe... a "feature" indeed...

would it be a bad idea to compile with slang instead? would that make a
difference?

Ben Finney

unread,
Feb 25, 2004, 10:13:44 PM2/25/04
to
On Wed, 25 Feb 2004 22:23:42 -0500, Atom 'Smasher' wrote:
> Ben Finney wrote:

>> Atom wrote:
>>> ~something~ is telling my terminal to display the the text as both
>>> bold and bright. what is it and how do i turn it off?
>> It may be a feature of ncurses; most full-screen console apps use
>> that library for painting the console.
>
> would it be a bad idea to compile with slang instead? would that make
> a difference?

You have the source to Mutt available, and you are in a position to
determine whether compiling with a different library gives the result
you want. Please feel free to try it out!

--
\ "Sunday: A day given over by Americans to wishing that they |
`\ themselves were dead and in Heaven, and that their neighbors |
_o__) were dead and in Hell." -- Henry L. Mencken |
Ben Finney <http://bignose.squidly.org/>

Atom 'Smasher'

unread,
Feb 25, 2004, 11:13:29 PM2/25/04
to
>> would it be a bad idea to compile with slang instead? would that make
>> a difference?
>
> You have the source to Mutt available, and you are in a position to
> determine whether compiling with a different library gives the result
> you want. Please feel free to try it out!
==========================

apparently it makes no difference.

and yes, it did compile correctly. where strings in the binary previously
had "libncurses.so" it now has "libslang.so.1".

i still get bold [and bright] text when i specify bright, and i still get
"color not supported by term" when i try colorX > 7.

since both libraries produce the same (unintended) results, and i know my
terminal can produce bright AND/OR bold text, i'm starting to think the
problem is in mutt.

now what?

i don't consider myself a C programmer, but i guess i'll start poking around
in the mutt code....

Sven Guckes

unread,
Feb 27, 2004, 10:35:36 PM2/27/04
to
* Atom 'Smasher' <ng...@fhfcvpvbhf.bet> [2004-02-26]:
> now what?

terminal name + version
program name + version
liberary name + version
screen+ssh? XFree?
$TERM $TERMCAP
etc etc

mutt understands 256 colors - with a patch.
$TERM must be correct and $TREMCAP, too.
screen might get in your way, too.
and.. lots of programs and problems.

one of these days i'll write abook about it.
that is, if i *ever* understand it all.. :-/

Sven

0 new messages