Terminal emulator color maps

SCO Console (ANSI) and VT420 terminals support 16 colors. The Tarantella terminal emulator uses a color map to determine how these colors are presented in an emulator session.

Note Wyse 60 terminals are monochrome. You can only switch the background and foreground colors (black and white) using the color map. However, you can map character attributes such as bold or underline to any of the 16 logical colors supported by the terminal emulator.

The color map maps the logical colors Color_0 through to Color_15 (inclusive) to colors and the RGB values that Tarantella uses to represent those colors. The default mappings are as follows:

Logical colorTerminal colorRGB value used by Tarantella
Color_0Black0 0 0
Color_1Light red255 0 0
Color_2Light green0 255 0
Color_3Yellow255 255 0
Color_4Light blue0 0 255
Color_5Light magenta255 0 255
Color_6Light cyan0 255 255
Color_7High white255 255 255
Color_8Gray128 128 128
Color_9Red128 0 0
Color_10Green0 128 0
Color_11Brown128 128 0
Color_12Blue0 0 128
Color_13Magenta128 0 128
Color_14Cyan0 128 128
Color_15White192 192 192

To alter the defaults for a particular application, create your own color map and specify it in the application object's Color Map attribute.

A default text-format color map install_dir/etc/data/colormap.txt is provided.

Examples

For example, you might want to make the color red brighter. To do this, you would change the RGB setting of Color_9 to 192 0 0.

Or, if you wanted items that appear in light green to appear yellow, you would change the RGB setting of Color_2 to 255 255 0 (the RGB value of yellow).

One common color change is to switch the foreground and background colors between black and white. When you do this, you are not changing the foreground or background color as such -- you're changing the way black (Color_0) and white (Color_15) are displayed. Therefore, if your application has a white background and you want to change it to a black background, you would change the value of Color_15 to 0 0 0 (the RGB value of black).

Related topics
  • Terminal emulator attribute maps
  • Terminal emulator keyboard maps
  • Color Map (--colormap)