Mail Archives: djgpp/2000/06/13/10:30:51
smile773 <smile773 AT bigfoot DOT com> wrote:
> Could one of you nice persons please share some code
> so that I can change the dos console to blue with white
> letters ?
The DOS console itself? I.e. the background of the command prompt? I
don't think you can do that. The problem is that some of DOS' own
commands, most notably 'mode con' can reset the video mode and that
will override whatever changes you wanted to make. About the only way
is to install ANSI.SYS (or an improved replacement of it), and put
ANSI-ESCape sequences into the PROMPT string.
And of course, this still doesn't mean that all DOS programs will
respect this. This is DOS, after all: the system where each and every
program is entitled to believe it can do to global system state
whatever it wants, and ignore anything set up before it was started.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -