Subject: colors in xterm

From: Victor Stepanov <[email-masked]>
Date: Wed, 22 Oct 2003 17:33:44 +0400

Hello,

Is it possible to configure Pine (via M-K or .pinerc) to use exact colors in
terminal by specified color hex numbers (like #d0d0c8)? In other words, how
to get over 8/16 color limit of Pine?

Thank you!

V.
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Birl <[email-masked]>
Date: Wed, 22 Oct 2003 13:02:21 -0400 (EDT)

As it was written on Oct 22, thus Victor Stepanov typed:

victor:  Hello,
victor:
victor:  Is it possible to configure Pine (via M-K or .pinerc) to use exact colors in
victor:  terminal by specified color hex numbers (like #d0d0c8)? In other words, how
victor:  to get over 8/16 color limit of Pine?
victor:
victor:  Thank you!
victor:
victor:  V.

I dont think it's a limitation of Pine, but rather a limitation of ANSI
terminals.
What you seem to suggest is RGB-HTML-like colors, which I doubt exists.

 Thanks

 Scott Birl
 Senior Systems Administrator            Computer Services   Temple University
 1805 North Broad Street  Philadelphia   Pennsylvania 19122  United States
====*====*====*====*====*====*====*====+====*====*====*====*====*====*====*====*

---

From: Stephen Casner <[email-masked]>
Date: Wed, 22 Oct 2003 22:09:52 -0700 (PDT)

On Wed, 22 Oct 2003, Birl wrote:

> victor:  Is it possible to configure Pine (via M-K or .pinerc) to
> victor:  use exact colors in terminal by specified color hex numbers
> victor:  (like #d0d0c8)? In other words, how to get over 8/16 color
> victor:  limit of Pine?
> victor:
> victor:  Thank you!
> victor:
> victor:  V.
>
> I dont think it's a limitation of Pine, but rather a limitation of
> ANSI terminals.  What you seem to suggest is RGB-HTML-like colors,
> which I doubt exists.

Yes, Pine can only select from the set of colors that the ANSI
terminal provides.  However, you can set the colors in an xterm using
X resources (e.g., in the .Xdefaults file).  Here's what I use:

XTerm.VT100*color0: black
XTerm.VT100*color1: red
XTerm.VT100*color2: green
XTerm.VT100*color3: yellow
XTerm.VT100*color4: blue
XTerm.VT100*color5: magenta
XTerm.VT100*color6: cyan
XTerm.VT100*color7: white
XTerm.VT100*color8: gray70
XTerm.VT100*color9: gray50
XTerm.VT100*color10: gray30
XTerm.VT100*color11: rgb:E6/FF/CC
XTerm.VT100*color12: rgb:FF/FF/A8
XTerm.VT100*color13: lightblue
XTerm.VT100*color14: rgb:FF/D8/A0
XTerm.VT100*color15: white

                                                        -- Steve

---

From: Victor Stepanov <[email-masked]>
Date: Thu, 23 Oct 2003 11:55:47 +0400

> XTerm.VT100*color0: black

...

Steve, thank you for advice.

And to anyone who interested - for rxvt it will looks like:

Rxvt*color14: #000044

V.