1834639 Members
3280 Online
110069 Solutions
New Discussion

Re: blinking text

 
SOLVED
Go to solution
Simeon Harwood
Regular Advisor

blinking text

Afternoon all,

This should be an easy one, but I just can't remember how to do it....

If I'm writing a script and I want some text to stay on the screen and flash, while the script is off doing other stuff. How do I make the text flash???????
Sime.
You never had this problem with a pencil and paper!
3 REPLIES 3
MarkSyder
Honored Contributor
Solution

Re: blinking text

while :
do
tput smso
echo this is flashing
clear
tput rmso
clear
echo this is flashing
clear
done

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
MarkSyder
Honored Contributor

Re: blinking text

I've just tested my first response. You might want to put a couple of sleep commands in there otherwise it flashes far too fast.

Mark
The triumph of evil requires only that good men do nothing
Simeon Harwood
Regular Advisor

Re: blinking text

That's it.

Thanks. I knew it was somothing like that, but my memory was failing me!!!!!

Thanks.

Sime.
You never had this problem with a pencil and paper!