Commands Used for Color (Linux)
You can use these commands to turn on color in terminals or monitors that support color. These are mapped to the color codes, from 0 to 7, as defined for the VIFRED form. Some terminals, such as the VT2410, are capable of only four colors.
The ya command specifies the default color for foreground objects, and the other commands indicate colors for fields as specified in the VIFRED attributes form. Alternatively, you can express these color specifications in the embedded query language with the set_frs statement and in 4GL with the set_forms statement. For more information, see your query language reference guide or the Forms-based Application Development Tools User Guide.
All the commands are strings and can have optional padding. The commands are described in the following table:
Example: Envision
E3|envisionc|envision230|this has the color definitions:\
:ya=2\Ea7:yb=2\Ea1:yc=2\Ea2:yd=2\Ea3:\
:ye=2\Ea4:\:yf=2\Ea5:yg=2\Ea6:\
:yh=2\Ea7:tc=vt100k:
Last modified date: 11/09/2022