marinersk has asked for the wisdom of the Perl Monks concerning the following question:
In researching this, I find modules like Win32::Console::ANSI, Term::ANSIScreen, and Curses, so I'm not looking for a solution, per se. I'm looking to understand why this doesn't work otherwise.
In a Windows CMD console, having run ANSI.COM, using ActiveState Perl v5.6.1, output using print or even print STDOUT do not actually cause the ANSI sequences to be interpretted as they are in C when I do printf.
Why not? I can almost buy print failing due to some idea that bypassing STDOUTis more efficient (but not portable!), but if I pointedly ask to print to STDOUTI would expect it to go where the ANSI interpretter can intercept it.
What gives?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Understanding ANSI Output Failure
by ikegami (Patriarch) on Mar 02, 2005 at 05:12 UTC | |
by marinersk (Priest) on Mar 21, 2005 at 20:11 UTC | |
by marinersk (Priest) on Mar 21, 2005 at 20:38 UTC | |
|
Re: Understanding ANSI Output Failure
by bibo (Pilgrim) on Mar 02, 2005 at 13:47 UTC | |
by marinersk (Priest) on Mar 21, 2005 at 20:13 UTC | |
by marinersk (Priest) on Mar 21, 2005 at 20:39 UTC |