


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 configuration file 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", 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".
For more information, see Book 2, Chapter 9 , and Appendix L .