Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by soonix (Vicar)
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 examining the Monastery: (5)
As of 2015-07-05 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls