VT510 Video Terminal Programmer Information

DECCARA—Change Attributes in Rectangular Area

This control function lets you change the visual character attributes (bold, blink, reverse video, and underline) of a specified rectangular area in page memory. The select attribute change extent (DECSACE) control function determines whether all or some of the character positions in the rectangle are affected. DECCARA does not change the values of characters just the visual attributes of those characters.

Available in: VT Level 4 mode only


Pt; Pl; Pb; Pr;
area to be changed
Ps1; . . . Psn
attributes to change


Pt; Pl; Pb; Pr;
define the rectangular area to be changed. A semicolon (3/11) separates parameters.

is the top-line border. Pt must be less than or equal to Pb.
Default: Pt = 1.

is the left-column border. Pl must be less than or equal to Pr.
Default: Pl = 1.

is the bottom-line border.
Default: Pb = last line of the active page.

is the right-column border.
Default: Pr = last column of the active page.

Ps1; . . . Psn
select the visual character attributes to change. These values correspond to the values used in the select graphic rendition.

Psn Meaning
Attributes off (no bold, no underline, no blink, positive image)
1 Bold
4 Underline
5 Blink
7 Negative image
22 No bold
24 No underline
25 No blink
27 Positive image

DECCARA ignores all other parameter values. When you use more than one parameter in a command, DECCARA executes them cumulatively in sequence.


The following sequence changes the video attributes of the complete screen to blink and underscore:

CSI ; ; ; ; 0; 4; 5 $ r

The following sequence turns off the blinking character attribute from position line 10, column 2 to position line 14, column 45 on the current page:

CSI 10; 2; 14; 45; 25 $ r

Notes on DECCARA