Character Attributes - Terminal Devices

Characters displayed may use any of the following attributes:

Mnemonic

Description

'SF','SB'

High/low intensity

'BU','EU'

Start/end underline

'BB','EB'

Start/end blink

'BR','ER'

Start/end reverse

'ATTR'

Set all attributes

If an attribute is not available on the terminal, it will not affect the display. Some terminals may support a particular attribute in a manner that prevents PRO/5 from using it. As an example, some terminals use a position on the display to retain an attribute. Setting this would require PRO/5 to redisplay an entire line and possibly discard display characters to support this mode of handling attributes. PRO/5 will ignore attributes that require space on the display to function. For further information see Character Attributes.

Colors

PRO/5 maintains two colors for each character: a foreground color and a background color. The foreground color is the color of the character itself; the background color is the color of everything except the character in the region around the character.

The display of color on terminals capable of handling colors is accomplished using:

Mnemonic

Description

'BLACK'

Color black

'BLUE'

Color blue

'GREEN'

Color green

'CYAN'

Color cyan

'RED'

Color red

'MAGENTA'

Color magenta

'YELLOW'

Color yellow

'WHITE'

Color white

'RGB'

Set foreground and background colors

'BACKGR'

Make next color set background