home *** CD-ROM | disk | FTP | other *** search
- Lone Star Look
- (PC World September 1986 Star-Dot-Star)
-
- You can design a DOS prompt that displays the state flag of Texas
- on a color system when ANSI.SYS is installed. The trick is adding
- ANSI.SYS commands to the DOS prompt. When the prompt is displayed,
- the ANSI.SYS driver generates the image. The $p$g near the end of the
- PROMPT command displays the current path and the greater-than symbol to
- the right of the flag. When you actually create the PROMPT command,
- replace each of the 19 carets (^) with a space, and in the place of
- each of the 5 exclamation points, hold down the Alt key, type 223 on
- the numeric keypad, and then release the Alt key.
- Instead of scrolling when it reaches the bottom of the screen,
- the flag prompt leaves a partially drawn image. The image, though
- perhaps inelegant, is unique.
-
- prompt $e[44m^^^$e[47m^^^^^$e[9D$e[1B$e[44;41m^*^$e[47;41m!!!!!$e[9D
- $e[1B$e[44m^^^$e[41m^^^^^$e[0m^$e[44m$p$g$e[0m
-
- -----------------------------------------------------------------
- Trouble in Texas
- (PC World January 1987 Star-Dot-Star)
-
- The DOS prompt to display the Texas state flag in PC World Sept
- 1986 Star-Dot-Star (above) is not correct. The flag had a red field
- behind its star. The prompt is also fixed to make it scroll properly
- when displayed at the bottom of the screen.
- The result is TEXFLAG2.BAT. When typing in the prompt command,
- remember to replace each caret (^) with a space, each exclamation
- point (!) with Alt-223, and each question mark (?) with Alt-219.
- The flag on this prompt is drawn in bright white to better match
- the intensity of the red and blue stripes.
-
- PROMPT $_$_$_$e[22;3H$e[1m$e[44m^^^$e[47m?????$e[23;3H$e[44m^*^
- $e[47;41m!!!!!$e[24;3H$e[44m^^^$e[41m^^^^^$e[40m$$$p$g$e[0m$e[2C
-