9.6;cdm (change_display_manager_mode) *DM*, revision 1.0, 87/03/05
CDM (CHANGE_DISPLAY_MANAGER_MODE) -- Change the display manager mode.
usage: cdm [-P 1 | 8]
FORMAT
CDM [-P 1 | 8]
The CDM command changes the display mode of the hardware which affects the
colors used by the Display Manager. A user normally uses this command in
preparation for running a direct color application, which requires a 24-plane
workstation. In this case it is necessary to restrict the Display Manager to
only using 2 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 causes a visual change in the colors on the screen of a
24-plane workstation only. It has no effect on any other display hardware and
the DM will give an error message, "wrong display hardware", if this command
is issued 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 a -P option that allows the user
to specify the number of planes that the Display Manager should use to get
color. For example, a "CDM -P 1" causes all DM output to be displayed in only
2 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 the user
is finished running a direct color application, the DM can be restored to its
original state by issuing the "CDM -P 8" command. The DM's original state is
such that it uses 4 colors for window background, 4 more colors for window
banner background, white for banner text, and black for text in DM windows.
If no options are specified, CDM defaults to highest number of planes, causing
the the display to be reset to its original state where existing indirect
color applications work as before.
Default options are indicated by "(D)."
-P 1 This causes the Display Manager to put the hardware in a
state where the DM draws in only 1 plane, causing the DM's
output to appear in 2 colors.
-P 8 (D) This instructs the DM to use all 8 planes for drawing. The
hardware mode is changed to allow the DM to use 8 planes.
The DM's output appears in many colors. This option is
currently equivalent to giving the CDM command with no
options.
RELATED TOPICS
More information is available. Type:
scrch - show_screen_characteristics of your display hardware type.