Category : Tutorials + Patches
Archive   : DOSTIPS6.ZIP
Filename : DOSPRMPT
Output of file : DOSPRMPT contained in archive : DOSTIPS6.ZIP
(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
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/