Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Blinking a row

by bart (Canon)
on Sep 10, 2003 at 14:09 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-23 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found