delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2003/12/03/16:39:45

X-Authentication-Warning: delorie.com: mail set sender to opendos-bounces using -f
From: "mark lewis" <ccoky AT iglou DOT com>
To: opendos AT delorie DOT com
Subject: ANSI.SYS
Message-ID: <MSGID_1=3a3634=2f12=40fidonet_a88b45f1@fidonet.org>
Date: Wednesday, 03 Dec 2003 12:19:32 -0500
X-Mailer: Internet Rex gateway (2.29)
In-Reply-To: <Pine.GSO.4.56.0312031901200.23957@jedi.apana.org.au>
X-Fido-From: mark lewis, 1:3634/12
X-Fido-To: DONALD PEDDER
MIME-Version: 1.0
X-IgLou-Customer: verified
X-Originating-IP: 204.252.74.37
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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019