TIP: Click on subject to list as thread! ANSI
echo: alt_dos
to: All
from: shadow{at}shadowgard.com
date: 2003-12-03 03:38:28
subject: Re: ANSI.SYS

From: shadow{at}shadowgard.com

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




--- Internet Rex 2.29
* Origin: The gateway at Capitol City Online (1:2320/105.999)
SEEN-BY: 633/267 270
@PATH: 2320/105 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.