Protected Character Clearing

If the terminal supports protected mode clearing, the following termcap sequences may be used:

Name

Description

Cw=str

Clear bright characters to end of screen

Cx=str

Clear bright characters in screen

Cy=str

Protect mode on

Cz=str

Protect mode off

Prior to clearing a portion of the screen, the presence of the protect mode set/reset will be tested. When possible, the sequence "Cy" will be sent immediately prior to the clear operation, and the "Cz" sent after the clear operation. After either the "Cy" or "Cz" is sent, the cursor is positioned at the start of the area to be cleared.

The protected clearing should clear all high-intensity characters to high-intensity blank characters for both the "clear to EOS" and the "clear screen."