Kbase 11215: CTOS/BTOS and colors
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
CTOS/BTOS and colors
COLOR MONITORS
The eight base colors used are defined by the "CP" variable.
The default value is:
:CP=\017\003\014\010\077\052\060\074:Colors:
Cyan,Blue,Green,Half-Green,White,Half-While,Red,Yellow
The Color palette may be expanded to 16 bytes to support background
color.
:CP=\077\003\060\017\007\000\063\060\003\052\074\063\060\017\014\000:Colors:
While/Blue, Blue/Gray, Red/Yellow, Cyan/Magenta, While/Red, Black/Cyan
, Magenta/Green, Red/Black
* Progress establishes the color palette by reading the CP protermcap
entry. This is unique to CTOS.
* The CP entry must be followd by 8 bytes. Each byte defines one of
eight available colors.
* Color is made by combining red, blue, and green at various intensity
levels.
* For background color the first foreground color used gets the 9th
color for background color. This one to one relationship continues
thoughout the palette.
* Background color is not supported by earlier versions of the
operating system. You must have BTOS 3.2 or CTOS II 3.3 or later.
* Also availabe are the reverse of each color.
* Refer to the Using Color section of your CTOS Programming Guide
for more information.
Note:
If the application refers to a color that is not defined, PROGRESS
uses normal color/attributes (as color DISPLAY NORMAL).
If your version of VAM/VOM doew not support background color,
you may loose video control (blank screen) when you exit PROGRESS.
If this happens, make sure the CP entry only specifies 8 bytes.
Progress Software Technical Support Note # 11215