ContentsIndexPreviousNext

INTENSITY_FLAGS

This variable takes effect only if you use COLOR_TRANS and only if it changes your color scheme. After any color transformation is completed, the runtime system then transforms the foreground and background intensities according to the setting of INTENSITY_FLAGS. The value for this variable is actually the sum of the values you choose from the list below. The default value is "0".

Set INTENSITY_FLAGS to a combination of the following options by adding their values together:

1 Exchanges the foreground and background intensities for each other. This is useful if you are swapping a black background into the foreground and want to assign the foreground's intensity to the background.
2 Causes the foreground intensity to be inverted. That is, if the foreground is high-intensity, it becomes low-intensity. Otherwise it becomes high-intensity. This is useful if you are transforming the background to white and the foreground to black. Setting this causes your low-intensity foreground to be shown as gray while your high-intensity item shows as black.
4 Forces the foreground to high-intensity. This is not applied to a black foreground.
8 Forces the foreground to low-intensity. This may not be used if "4" is used.
16 Causes the "4" or "8" setting to be used even if the COLOR_TRANS setting had no effect. This is an override switch that you can use to cause all foreground intensities to be set to high or low.
32 Forces the background to high-intensity. This is not applied to a black background.
64 Forces the background to low-intensity. This may not be used if "32" is used.
128 Forces the background to high-intensity, but only if it is black. This may be used in conjunction with setting "32" or "64" for special effects.
256 Causes the "32", "64", or "128" setting to be used even if the COLOR_TRANS setting had no effect.

These transformations are performed in the order listed above. After this variable is applied, the COLOR_TABLE setting is applied to the program.