Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^7: How to print colored word in text file

by soonix (Curate)
on Jun 23, 2013 at 17:23 UTC ( #1040334=note: print w/ replies, xml ) Need Help??


in reply to Re^6: How to print colored word in text file
in thread How to print colored word in text file

Bold and Normal did work, colors didn't...
(Win 7 Pro 64bit, Strawberry PortableZIP version 5.16.2)

However, as I recall, under MSDOS you had to enable ANSI.SYS for color codes to work.

Wikipedia says this still holds true up to Vista. Obviusly, Win 7 is no different...

Update: seems like
    use Win32::Console::ANSI;
changes the behaviour of Term::ANSIColor, but not the behaviour of Term::ANSIColor::Print ...


Comment on Re^7: How to print colored word in text file
Re^8: How to print colored word in text file
by Khen1950fx (Canon) on Jun 23, 2013 at 18:24 UTC
    Thanks for the feedback. I'll remember ANSI.SYS now:-).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-12-22 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls