Anybody know how to do this?

I want to use Term::ANSIColor on a windoze box, but when I run this:
use strict;
use warnings;
use Term::ANSIColor;


print( color 'bold blue');
print( "This text is bold blue.\n");
print( color 'reset');
print("This text is normal.\n");
print(colored ("Yellow on magenta.\n", 'yellow on_magenta'));
print( "This text is normal.\n");
print( colored ['yellow on_magenta'], "Yellow on magenta.\n");

I get this on cmd.exe:
F:\perl\practice\VRS>perl term1.pl
←[1;34mThis text is bold blue.
←[0mThis text is normal.
←[33;45mYellow on magenta.
←[0mThis text is normal.
←[33;45mYellow on magenta.
←[0m
F:\perl\practice\VRS>
If I enable my telnet service and then telnet into my machine from a cmd.exe 
session, the output displays correctly as the telnet client is ANSI compliant.

Any clues? Is this possible?

Cheers,
John


_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to