Skip past navigation linksSecure Global Desktop Administration Guide > Applications, documents and hosts > Terminal emulator color maps

Terminal emulator color maps

SCO Console (ANSI) and VT420 terminals support 16 colors. The Secure Global Desktop 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 Secure Global Desktop uses to represent those colors. The default mappings are as follows:

Logical color Terminal color RGB value used by Secure Global Desktop
Color_0 Black 0 0 0
Color_1 Light red 255 0 0
Color_2 Light green 0 255 0
Color_3 Yellow 255 255 0
Color_4 Light blue 0 0 255
Color_5 Light magenta 255 0 255
Color_6 Light cyan 0 255 255
Color_7 High white 255 255 255
Color_8 Gray 128 128 128
Color_9 Red 128 0 0
Color_10 Green 0 128 0
Color_11 Brown 128 128 0
Color_12 Blue 0 0 128
Color_13 Magenta 128 0 128
Color_14 Cyan 0 128 128
Color_15 White 192 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 /opt/tarantella/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