10.0;lcm (load_color_map), revision 1.0, 88/01/21
lcm (load_color_map) - load a color map.
usage: lcm [-p pathname]
DESCRIPTION
lcm loads a color map from a file that specifies a set of color map
entries. Each entry establishes an association between an index and a
color value. When the DM is initially loaded, it sets the node's color
map from the file in /sys/dm/color_map.
If no pathname is given, lcm loads the color map from /sys/dm/color_map.
In this case, all 16 colors (that is, color entries for color slots 0-15)
are reloaded. If you specify a pathname, lcm reads the given file and
tries to load the colors associated with the indexes.
NOTE
If there are direct mode graphics programs running that have changed the
color values for color slots 0-15, the execution changes the colors in
these windows as well as resetting the DM's colors.
OPTIONS
-p pathname
Specify the file that contains the color values for red, green,
and blue. The format of this file should be identical to the
DM's color map file, /sys/dm/color_map. For more information
about the format of this file, please refer to the manual
Programmer's Guide to Domain Graphics Primitives.
EXAMPLES
Load the DM's color map found in the file /sys/dm/color_map.
$ lcm
Load the color map specified in the file my_colormap.
$ lcm -p my_colormap