ansi.sys and windows XP

A

Alain COSTE

Hello,

a question from a dinosaurus....
I run an sml compiler in a console, and I use ansi escape sequences to
control
the display (esc[7m for reverse video, for instance). Till now my
program ran on a sparc worstation and everything worked well.
I installed successfully SML on my PC (windows XP family edition), but
the ANSI
escape sequences dont work.
I run SML from command.com (directory windows/system32) through a link,
and set
properties to run first autoexec.nt and config.nt (from the same
directory).
I modified config.nt with the line "device=ansi.sys".
I checked that autoexec and config were excuted (by inserting errors in
those files).

But the console does'nt understand ansi sequences;in fact it displays
litterally the sequence!

I tried the same manip with exec.cmd : same result.
another try with a command.com from windows98 -> error message: bad
msdos version.

Did anybody tried this or knows how to do ?

Please could you answer me by email, as It's not easy for me to consult
this newsgroup.

Thanks in advance.
 
R

Ron Martell

Alain COSTE said:
Hello,

a question from a dinosaurus....
I run an sml compiler in a console, and I use ansi escape sequences to
control
the display (esc[7m for reverse video, for instance). Till now my
program ran on a sparc worstation and everything worked well.
I installed successfully SML on my PC (windows XP family edition), but
the ANSI
escape sequences dont work.
I run SML from command.com (directory windows/system32) through a link,
and set
properties to run first autoexec.nt and config.nt (from the same
directory).
I modified config.nt with the line "device=ansi.sys".
I checked that autoexec and config were excuted (by inserting errors in
those files).

But the console does'nt understand ansi sequences;in fact it displays
litterally the sequence!

I tried the same manip with exec.cmd : same result.
another try with a command.com from windows98 -> error message: bad
msdos version.

Did anybody tried this or knows how to do ?

Please could you answer me by email, as It's not easy for me to consult
this newsgroup.

Thanks in advance.

Try using ansi.com instead of ansi.sys and load it from autoexec.nt
http://www.dosonly.net/source.htm


Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

"The reason computer chips are so small is computers don't eat much."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top