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 >
Text File  |  1992-08-08  |  1KB  |  34 lines

  1.                                              CLEAR [DUAL MODE]
  2.      
  3.      NAME CLEAR - clear the display and optionally set colors
  4.      
  5.      
  6.      SYNTAX
  7.      
  8.      clear [prefix]basiccolor on [prefix]basiccolor
  9.      where
  10.           prefix = LIGHT_ | DARK_
  11.           basiccolor =
  12.           [BLACK|RED|GREEN|YELLOW|BLUE|MAGENTA|CYAN|WHITE|DEFA
  13.           ULT]
  14.      
  15.      USAGE
  16.      
  17.      Clear is used to clear the display and optionally set the
  18.      colors of  the display.  It's parameters  are similar  to
  19.      color. E.g:
  20.      CLEAR green on black
  21.      would clear  the screen and set the colors of the display
  22.      to green letters on black background.
  23.      
  24.      
  25.      Clear uses  ANSI escape  sequences. If the ANSI sequences
  26.      are off,  clear sets  ANSI on  for the  duration  of  the
  27.      process and restores the original situation at the end of
  28.      the process. Unlikely to color-command, the colors change
  29.      every time.  Still CLS-command  seems to  reset colors to
  30.      their default values (white on black) if ANSI is off.
  31.      
  32.      SEE ALSO
  33.      color, normal
  34.