Free 14-Day Evaluations    
Product Downloads    

Sign in     


DESKTOP MOBILE DOWNLOAD PURCHASE SUPPORT INFO COMPANY
 Home  >>  Support  >>  Knowledge Base

Restore Default Attributes in SCOANSI

At the SCO UNIX console, the sequence \033[0m resets the text attributes. It removes all bold, reverse, blink, etc., characteristics, and restores the colors to their defined defaults, normally white text on a black background.

When TinyTERM is configured for SCOANSI emulation, \033[0m restores all text attributes to normal except color. If the colors have been changed, they stay changed.

The documentation is a little ambiguous. It reads in part:

Disable all attribute modifiers (bold, underline, italic, reverse video, concealed and blinking). In the default mode, set the font back to font 0. In backwards compatibility mode, only set the font if the SGR0 control option is set . . .

There is no mention of color at all. So whether or not TinyTERM is acting correctly is not strictly defined.

CR 542

Comments are closed.

  Copyright © 2024 Century Software, Inc. All Rights Reserved999 TERMS OF USE PRIVACY POLICY EULA