X-Authentication-Warning: delorie.com: mail set sender to opendos-bounces using -f From: shadow AT shadowgard DOT com To: opendos AT delorie DOT com Date: Wed, 03 Dec 2003 03:38:28 -0800 Subject: Re: ANSI.SYS Message-ID: <3FCD5AB4.10737.321285A@localhost> In-reply-to: X-mailer: Pegasus Mail for Windows (v4.02) Reply-To: opendos AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: opendos AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 3 Dec 2003 at 19:05, DONALD PEDDER wrote: > Okay, I finally found the code for green foreground in the help for > ANSI.SYS, but now what? I put ANSI.SYS in my config and re-booted (however > I don't see it when I do a "mem /a", unless it's under "CON" or "DOS"). It should be a line along the lines of: Device=\DRDOS7.03\ANSI.SYS You have to give the correct path to the file. > I > created a file with the escape sequence in it, but when I do a "type" on > it, my text is still white. > DOSbook isn't very precise on how to use ANSI.SYS - it says to put it > in the config, which I did, it says to edit a file with the escape > sequence and then do a "type" on it, which I did, and that's all it says, > yet I still have white text. Does this file need to be passed to ANSI.SYS > in the config or something? Confused. *How* are you "typing* the file? Also, are you certain that the editor you are using actually put in an escape character. Try this instead. Change your prompt. Assuming that it is currently the standard $p$g, try this: prompt $e[0;31;1m$p$g (note that is *zero* after the square bracket, and *one* before the m) Enter that on the command line. The prompt should then be red letters on a black background. If it isn't, either you mistyped it, or ANSI isn't properly installed. -- Leonard Erickson (aka shadow) shadow at krypton dot rain dot com