Subject: colors again

From: "Petr [Dingo] Dvorak" <[email-masked]>
Date: Wed, 21 Jun 2000 00:16:32 -0500 (CDT)

Re,

well i tried about every terminal emulation what i can think of to get the 16
colors working and still no dice, would someone kindly point me to the list of
terminals what do work in 16 colors ?

					Thanks,

                                                Dingo.

PS: i would like to ask if the force_16_colors feature could be changed so it
    really forces the 16 colors ?

                                      ).|.(
                                    '.`___'.`
                                   ' `(>~<)' `
     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-
      Petr [Dingo] Dvorak                   [email-masked]
      Coder - Purple Dragon MUD         pdragon.inetsolve.com port 5555
     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-
      Just because you paranoid, it doesn't mean, they're not after you
     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

---

From: Bob Rasmussen <[email-masked]>
Date: Wed, 21 Jun 2000 08:50:15 -0700 (PDT)

>From the Pine kelp on color setup:

      Many terminal emulators know about the same eight colors above plus
eight more. This
      option attempts to use all 16 colors. The same escape sequences as for
the eight-color
      terminal are used for the first eight colors. The escape sequences used
to set
      foreground colors 8-15 are the same as for 0-7 except the "3" is
replaced with a "9".
      The background color sequences for colors 8-15 are the same as for 0-7
except the "4"
      is replaced with "10". You can tell if the 16 colors are working by
turning on this
      option and then going into one of the color configuration screens, for
example, the
      configuration screen for Normal Color. If you see 16 different colors to
select from,
      it's working.

As the author of a terminal emulator, I can say I have never seen this scheme
(although we might be able to add it to our product). I'd be very interested
whether anyone has this working.

-- 
Regards,
....Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: [email-masked]
 company e-mail: [email-masked] 
          voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
            fax: (US) 503-624-0760
            web: http://www.anzio.com

---

From: "Petr [Dingo] Dvorak" <[email-masked]>
Date: Wed, 21 Jun 2000 12:16:21 -0500 (CDT)

On Wed, 21 Jun 2000, Bob Rasmussen wrote:

->> well i tried about every terminal emulation what i can think of to get the 16
->> colors working and still no dice, would someone kindly point me to the list of
->> terminals what do work in 16 colors ?
->
->>From the Pine kelp on color setup:
->
->      Many terminal emulators know about the same eight colors above plus
        -=[Snip]=-
->      Color. If you see 16 different colors to select from, it's working.
->
->As the author of a terminal emulator, I can say I have never seen this scheme
->(although we might be able to add it to our product). I'd be very interested
->whether anyone has this working.

I've spent last 3 days grepping thru the pine source looking for some clues how
to force the pine display the 16 fore colors, and modifying terminfo/termcap to
the specifications in tech-notes doc file, and experimenting with the pine, but
i still don't see any way how to make it work, not even talking about not
finding any way to save more than 8 colors in .pinerc. Linux console does
support the 16 foreground color, pine even uses them to highlight the url's
[bright white] and stuff, i'm begining to thing that the color feature is
either unfinished or it has a bug in it.

                                                Dingo.

                                      ).|.(
                                    '.`___'.`
                                   ' `(>~<)' `

---

From: Steve Hubert <[email-masked]>
Date: Wed, 21 Jun 2000 12:38:03 -0700 (PDT)

It works with xterm on Linux (Redhat6.1) and FreeBSD (which is probably
the same xterm, I suppose). I believe ncurses supports it. Ncurses has a
terminfo entry called xterm-16color which looks like it is doing this.
There is a comment about aixterm using this method.

I've attached a file which contains the escape codes pine uses for ansi
color. If, when you "cat" it in your terminal emulator, you get 16
distinct colors, then pine's force-ansi-16color will work. If there are
only 8 colors, then pine's force-ansi-8color will work. If you use the
force-ansi color-styles you don't have to set up the termcap entry.

--
Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle