Mail Archives: opendos/2003/12/03/16:39:45
Originally to: DONALD PEDDER
DP> From: DONALD PEDDER <jims_son AT jedi DOT apana DOT org DOT au>
DP> Okay, I finally found the code for green foreground
DP> in the help for ANSI.SYS, but now what? I put
DP> ANSI.SYS in my config and re-booted (however I don't
DP> see it when I do a "mem /a", unless it's under "CON"
DP> or "DOS").
you listed it as DEVICE=ANSI.SYS with the proper path, correct?
DP> I created a file with the escape sequence in it,
DP> but when I do a "type" on it, my text is still white.
what escape sequence did you use?
DP> DOSbook isn't very precise on how to use ANSI.SYS -
DP> it says to put it in the config, which I did, it says
DP> to edit a file with the escape sequence and then do
DP> a "type" on it, which I did, and that's all it says,
that's rather sad...
DP> yet I still have white text. Does this file need to
DP> be passed to ANSI.SYS in the config or something?
DP> Confused.
try it this way... assuming your current prompt is $p $g...
PROMPT=$e[0;32;1m$p $g
put that in your autoexec.bat... if it is too bright, remove the ';1' portion...
you should be able to set this manually at your prompt to find the sequence that
you like...
)\/(ark
- Raw text -