home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
376_01
/
os2tool.000
/
CLEAR.TXT
< prev
next >
Wrap
Text File
|
1992-08-08
|
1KB
|
34 lines
CLEAR [DUAL MODE]
NAME CLEAR - clear the display and optionally set colors
SYNTAX
clear [prefix]basiccolor on [prefix]basiccolor
where
prefix = LIGHT_ | DARK_
basiccolor =
[BLACK|RED|GREEN|YELLOW|BLUE|MAGENTA|CYAN|WHITE|DEFA
ULT]
USAGE
Clear is used to clear the display and optionally set the
colors of the display. It's parameters are similar to
color. E.g:
CLEAR green on black
would clear the screen and set the colors of the display
to green letters on black background.
Clear uses ANSI escape sequences. If the ANSI sequences
are off, clear sets ANSI on for the duration of the
process and restores the original situation at the end of
the process. Unlikely to color-command, the colors change
every time. Still CLS-command seems to reset colors to
their default values (white on black) if ANSI is off.
SEE ALSO
color, normal