pterm color choices

Helpviewer has such a nice black text on light background color scheme.

Could this be made a choice for pterm?


Art Hays
National Institutes of Health
avhays@nih.gov

Art Hays <avhays@nih.gov> wrote:

Helpviewer has such a nice black text on light background color scheme.

Could this be made a choice for pterm?

You can use the -K option to pterm to choose the initial background and
foreground colours: -K07 will give you black on white. This setting is
saved when you hit Done in the Properties dialog, so you only need to
use the option once. (Of course, programs you run in the terminal are
free to change your colours to something else; but these changed values
will not get saved.)

Unfortunately, the “white” that you’ll get this way is really a light
gray. That’s because terminals distinguish between “normal” colours and
“bright” colours, and the ANSI protocol only allows “normal” colours to
be the background – and since “bright” white is expected to be brighter
than “normal” white, “normal” white must be less white than real white.
Do I sound like an ad for a laundry detergent? :wink:

You can tweak the exact RGB values assigned to the 8 “normal” and 8
“bright” colours by defining a palette file. The docs describe how to
do that. Keep in mind that if you make your “normal” white identical to
your “bright” white, you won’t be able to notice when a program uses
“bright” white text and expects you to distinguish it from “normal”
white text.


Wojtek Lerch QNX Software Systems Ltd.