"Tim Golden" <m...@timgolden.me.uk> wrote in message news:4ad471e6.7050...@timgolden.me.uk...
Alan Gauld wrote:
"Tim Golden" <m...@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


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to