home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource3
/
192_01
/
color.doc
< prev
next >
Wrap
Text File
|
1979-12-31
|
2KB
|
65 lines
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
COLOR COMMAND
Michael M. Yokoyama
June, 1986
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Summary:
COLOR command to select text colors for on IBM-PC under PC-DOS and compatibles
under MS-DOS. The COLOR command is used in the same manner as the MS-BASIC
COLOR command.
Syntax:
COLOR <foreground>[+] [<background>]\n",ESC,ESC);
Examples:
COLOR 0 3 Black on yellow (for that expensive terminal look)
COLOR 1 4 Red on blue (for emphasis?!)
Default:
The background color code may be omitted; the default is black.\n");
COLOR 4 Blue (on default black)
COLOR 3 Yellow (on default black; looks like those amber monitors)
Highlighting:
Append a plus (+) after the foreground code to highlight the color. Mote that
highlighting applies only to foreground colors.
COLOR 2+ 4 Bright green on blue
Notes:
This program uses ANSI escape sequences. To use this program, you must have
the file named ANSI.SYS on the root directory of your boot disk, and the
following statement in your CONFIG.SYS file.
device=ANSI.SYS
Help screen:
To view the help scren for the COLOR command, enter the command without
parameters as follows:
COLOR
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
MS-DOS and MS-BASIC are registered trademarks of Microsoft Corporation.
PC-DOS and IBM are registered trademarks of International Business Machines
Corporation.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=