9.6;lcm (load_color_map) *DM*, revision 1.0, 87/03/20
LCM (LOAD_COLOR_MAP) -- Load a color map.
usage: lcm [-p pathname]
FORMAT
LCM [-p pathname]
LCM loads a color map from a file which 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, then 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, then the execution of this command will
change the colors in these windows as well as resetting the DM's colors.
OPTIONS
-Ppathname Specify file which 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
1. Load the DM's color map found in the file /sys/dm/color_map.
Command: lcm
2. Load the color map specified in the file my_colormap.
Command: lcm -p my_colormap