On Sat, 20 Nov 1999, Subba Rao wrote:

> I do have some basic colors working. When I try different colors, that are
> listed by the 'showrgb' command, mutt does not find most of these colors.
> Why is that? How can I use some of the colors listed by 'showrgb'?
> 
> Thank you in advance.

The colors in "showrgb" are aliases for colors in X11.  They
have nothing to do with the colors displayed in a terminal
window.  Terminal windows only have a certain number of colors,
usually 16.  Here is the list, from the RXVT man page:

       color0         (black)              = Black
       color1         (red)                = Red3
       color2         (green)              = Green3
       color3         (yellow)             = Yellow3
       color4         (blue)               = Blue3
       color5         (magenta)            = Magenta3
       color6         (cyan)               = Cyan3
       color7         (white)              = AntiqueWhite
       color8         (bright black)       = Grey25
       color9         (bright red)         = Red
       color10        (bright green)       = Green
       color11        (bright yellow)      = Yellow
       color12        (bright blue)        = Blue
       color13        (bright magenta)     = Magenta
       color14        (bright cyan)        = Cyan
       color15        (bright white)       = White
       foreground                          = Black
       background                          = White

The names on the right are from "showrgb".  The names in the
middle are what mutt thinks they are.  The names on the left
can be used as described below:

Many terminals will let you remap the available colors to a
different set, though.  In your .Xresources (or .Xdefaults)
file, you can do something like this:

XTerm*color0: grey20
XTerm*color1: midnight blue
...
XTerm*color15: wheat4

Then try it by running "xrdb -merge .Xresources", and start up
a new terminal window.


BTW, Mutt will understand these colors only as they are
originally named.  So, if you make the "black" color really
look like forest green, mutt will still think it's black.


 _  _ _  _ ___ ___  ------------"Use the source, Luke!"---------
( \/ ( \/ (__ (__ ) |     Scott Scriven (Toy Keeper / XYZZ)    |
 \  / \  /  //  //  |       mailto:[EMAIL PROTECTED]      |
 /  \ / /  //_ //_  |     irc:serdevian.dyn.omnipotent.net     |
(_/\_(_/  (___(___) |  http://www.vis.colostate.edu/~scriven/  |

Reply via email to