[Tutor] Changing text colors on WinXP py2.6.2
Mark Tolonen
metolone+gmane at gmail.com
Tue Oct 13 16:11:53 CEST 2009
"Tim Golden" <mail at timgolden.me.uk> wrote in message
news:4AD471E6.7050304 at timgolden.me.uk...
> Alan Gauld wrote:
>> "Tim Golden" <mail at timgolden.me.uk> wrote
>>> No. ANSI escapes don't work on Windows.
>>
>> Wouldn't the ANSI codes work if ANSI.SYS were loaded?
>> I thought you could still load ANSI.SYS it just wasn't normally there?
>> The help system says you should load it in config.nt with:
>>
>> device=c:\winnt\system32\ansi.sys But I admit I've never tried it - I
>> didn't even like ANSI.SYS when I was using DOS!
>
>
> (from memory). I'm fairly sure that even that
> no longer works. When this question last came
> up I think we went round that loop and discovered
> that it didn't. Happy to be wrong. :)
That still works, but it only ever worked for command.com (the 16-bit
command interpreter that still comes with Windows XP). A 16-bit DOS program
or a batch file explicitly run under command.com can still use ANSI excapes.
-Mark
More information about the Tutor
mailing list