Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Blinking a row

by bart (Canon)
on Sep 10, 2003 at 14:09 UTC ( #290427=note: print w/ replies, xml ) Need Help??


in reply to Blinking a row

If you mean in a normal text terminal, then look into the proper VT-100 escape codes. In that table "^[" is used as a symbolic representation of the escape character, chr(27) — in Perl you can use "\e".

So I think you want

print "\e[5m";
after which you can print your text. Disable it again with
print "\e[0m";

I must say: I've tried it, and it doesn't blink. I think the resulting behaviour is very much dependent on your terminal. Instead, I see dark red on black. At least it stands out.


Comment on Re: Blinking a row
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (19)
As of 2015-07-28 18:59 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 (258 votes), past polls