Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Understanding ANSI Output Failure

by bibo (Pilgrim)
on Mar 02, 2005 at 13:47 UTC ( #435822=note: print w/replies, xml ) Need Help??


in reply to Understanding ANSI Output Failure

From the readme of Win32::Console::Ansi

"Windows NT/2000/XP does not support ANSI escape sequences in Win32 Console applications. This module emulate an ANSI console for the script which uses it."

Also I found this link about loading ansi.sys

As far as your original post, you indicate a perl program does not produce the same results as a C program, when both are writing to STDOUT. Have you tried unbuffering the output?

$| = 1;

--bibo

Replies are listed 'Best First'.
Re^2: Understanding ANSI Output Failure
by marinersk (Priest) on Mar 21, 2005 at 20:13 UTC
    Ah, I wasn't sure the buffering status of STDOUT could be adjusted. I'll give that a shot -- thanks!
      Nope. Didn't help. Hmm...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://435822]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-05-21 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?