Setting Text Color to White Using ANSI.SYS
Posted: Fri Apr 12, 2013 6:43 am
Since DOS decides to set the text color to gray every time it starts, I want to use ANSI.SYS to set it back to, IMHO, a much more readable white color. I've found some way to do this, but unfortunately I can't figure out how to make them work. I think part of the problem may be that I have to use an Escape Key code, which I'm not sure is possible on the PCjr keyboard.
After looking at some websites it appears that I need to enter something like this in my Autoexec.bat file:
prompt $e[0m$p$g
or
prompt $p$g$e[37m
I also found a refence to a code like this:
ESC[1;37;40m
Can anyone help me figure out how to do this? I want to keep the background black and set the text to a nice bright white.
After looking at some websites it appears that I need to enter something like this in my Autoexec.bat file:
prompt $e[0m$p$g
or
prompt $p$g$e[37m
I also found a refence to a code like this:
ESC[1;37;40m
Can anyone help me figure out how to do this? I want to keep the background black and set the text to a nice bright white.