delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/07/28/10:26:44

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <1a8f01c474ae$dafd6e70$0600000a@broadpark.no>
From: "Gisle Vanem" <giva AT bgnett DOT no>
To: "djgpp" <djgpp AT delorie DOT com>
References: <4106EABF DOT 9080407 AT acm DOT org> <175301c4746f$de0751b0$0600000a AT broadpark DOT no> <4107AA84 DOT 80401 AT acm DOT org>
Subject: Re: Using ANSI escape sequences with DJGPP
Date: Wed, 28 Jul 2004 16:26:21 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Reply-To: djgpp AT delorie DOT com

"Cesar Rabak" <crabak AT acm DOT org> said:

> OK. The machine I use has a file 'CONFIG.NT' that loads ANSI.SYS. The 
> file "ANSI.NT" was put by the sysadmin as a remark in case an update 
> wipes the CONFIG.NT (I checked this today with her).

I've always thought the 'P' in PC mean Personal. What's a sysadmin
messing with your setup for? 

> So just to check my understanding: Given the ANSI.SYS driver available 
> (via CONFIG.NT), a DJGPP program will work if using escape sequences 
> even if invoked from a CMD.EXE command prompt?

Correct. A djgpp program is invoked by NTVDM which applies whatever 
config.nt/autoexec.nt file there are in your system32-folder. 

Not sure there are any Registry settings for this, but you could 
always override these files with a dummy.nt if you like. I've done that,
but for 4DOS.PIF. You should try editing the properties of command.com 
(i.e. the %systemroot%\system32\command.pif file). Look under
'Program | Advanced'.

--gv

- Raw text -


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