10.0;cdm (change_display_manager_mode) *DM*, revision 1.0, 88/03/09
cdm (change_display_manager_mode) - change the display manager mode
usage: cdm [-p 1 | 8]
DESCRIPTION
The cdm command changes the display mode of the hardware that affects the
colors the DM uses. You normally use this command in preparation for
running a direct color application, which requires a 24-plane
workstation. When you run such an application, you must restrict the DM
to using only two colors.
At login, the default is cdm (with no options), which instructs the
hardware to use the highest number of planes (normally 8) when drawing
colors. This is an indirect color mode where the DM uses several colors
for window banners, window background, and text.
Note that this command changes the colors on the screen of a 24-plane
workstation only. It has no effect on any other display hardware and the
DM gives an error message, "wrong display hardware", if you issue the cdm
command on any device other than a 24-plane workstation.
The cdm command differs from the mono command in that the mono command
does not affect the 24-plane hardware in any way. The mono command
simply instructs the DM to use black and white for all its drawing
operations, thus freeing up color slots in the color map.
OPTIONS
The only option that the cdm command takes is -p n, which allows you to
specify the number of planes that the DM should use to get color. For
example, cdm -p 1 causes all DM output to be displayed in only two
colors, through the use of one plane. This is necessary to free up all
24 planes so that some application can run in direct color mode. When
you finish running a direct color application, you can restore the DM to
its original state by issuing the cdm -p 8 command. The default display
mode for the DM is four colors for window background; four more for
window banner background; white for banner text; and black for text in DM
windows.
If you do not specify an option, cdm defaults to the highest number of
planes, causing the display to be reset to its original state where
existing indirect color applications work as before.
-p 1 This causes the DM to put the hardware in a state where the DM
draws in only one plane, causing the DM's output to appear in
two colors.
-p 8 (default)
This instructs the DM to use all eight planes for drawing. It
changes the hardware mode to allow the DM to use eight planes.
The DM's output appears in many colors. This option is
currently equivalent to giving the cdm command with no options.
SEE ALSO
More information is available. Type the following at an Aegis shell
prompt:
help scrattr For information on how to list your screen characteristics
help mono For information on ontrolling window color on color
monitors
help inv For information on controlling window color on monochrome
monitors
help bgc For information on controlling background color on
monochrome monitors