


COLOR_MODEL*
This variable is typically used when a character-based application is moved to
a graphical environment. Use the COLOR_MODEL setting to perform uniform
changes to your program's color scheme. These changes are represented by rules that
act on your colors. An example of a rule is "exchange the foreground and
background colors". Use COLOR_MODEL to change your color scheme in a global way.
The default color model is model "0". It causes no changes to occur to your
color scheme. The remaining 10 models are "1" through "10"
- The odd-numbered models transform only those parts of your program that are
entirely black and white. Any character position that contains any color is left
unchanged.
- The even-numbered models apply the changes regardless of color. When
selecting a COLOR_MODEL, you can ignore the even-numbered models if you are satisfied
with the color portions of your program.
Each color model is actually a composite; it's the equivalent of two or more
runtime configuration variable settings:
- COLOR_MODEL "1" is equivalent to:
COLOR_TRANS "5", INTENSITY_FLAGS "34", and BACKGROUND_INTENSITY "1".
- COLOR_MODEL "2" is equivalent to:
COLOR_TRANS "4", INTENSITY_FLAGS "34", and BACKGROUND_INTENSITY "1".
- COLOR_MODEL "3" is equivalent to:
COLOR_TRANS "3" and INTENSITY_FLAGS "34".
- COLOR_MODEL "4" is equivalent to:
COLOR_TRANS "1" and INTENSITY_FLAGS "34".
- COLOR_MODEL "5" is equivalent to:
COLOR_TRANS "1" and INTENSITY_FLAGS "129".
- COLOR_MODEL "6" is equivalent to:
COLOR_TRANS "1", INTENSITY_FLAGS "129", and BACKGROUND_INTENSITY "2".
- COLOR_MODEL "7" is equivalent to:
COLOR_TRANS "3" and INTENSITY_FLAGS "161".
- COLOR_MODEL "8" is equivalent to:
COLOR_TRANS "1" and INTENSITY_FLAGS "161".
- COLOR_MODEL "9" is equivalent to:
COLOR_TRANS "3" and INTENSITY_FLAGS "193".
- COLOR_MODEL "10" is equivalent to:
COLOR_TRANS "1" and INTENSITY_FLAGS "193".