On Fri, Jun 09, 2000 at 10:56:04PM +0100, Nigel Tamplin wrote:
> How do the color names in the muttrc file related to real colors on
> the screen.
> 
> I am running mutt on Solaris within an xterm.
> 
> If I set TERM=vt100, everything works, but only in black and white.
> 
> If I leave TERM=xterm, then I get colors, however the only colours that seem
> to work are white, brightyellow and black.
> 
> Meaning that if the muttrc contains the line:
> 
> color tree magenta default
> 
> Then the magenta won't show up at all, making my thread trees black on black.
> 
> What do I need to do?
> 
> Thanks,
> 
> -- 

I solved my own problem, it was to do with the X resources.

I'm using rxvt on Sparc Solaris 7.

Find out where your XResrouces are kept, ~/.XDefaults,
/etc/dt/app-defaults/C/???, /etc/dt/config/C/sys.resources etc..

Then for rxvt you will need to add:

  rxvt*color0:    #000000
  rxvt*color1:    #a80000
  rxvt*color2:    #00a800
  rxvt*color3:    #a8a800
  rxvt*color4:    #0000a8
  rxvt*color5:    #a800a8
  rxvt*color6:    #00a8a8
  rxvt*color7:    #a8a8a8

  rxvt*color8:    #000054
  rxvt*color9:    #ff0054
  rxvt*color10:   #00ff54
  rxvt*color11:   #ffff54
  rxvt*color12:   #0000ff
  rxvt*color13:   #ff00ff
  rxvt*color14:   #00ffff
  rxvt*color15:   #ffffff

And then there was color! Even magenta!

In my particular instance I edited the rxvt src/Makefile (after
running ./configure) and added a
-DXAPPLOADDIR=\"/etc/dt/app-defaults/C\" to the DEFS, I then put the
above color definitions in a file named /etc/dt/app-defaults/Rxvt,
leaving off the leading "rxvt" from each line: thus

*color0:    #000000
*color1:    #a80000
*color2:    #00a800
etc...

-- 
Nigel Tamplin.
email:   [EMAIL PROTECTED]

Reply via email to