Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2016-10-26 06:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.