Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 exploiting the Monastery: (7)
As of 2014-12-29 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (185 votes), past polls