Blinking cursors in Linux - How do they do that?

Posted by: Scorp1us

Blinking cursors in Linux - How do they do that? - 14/08/2002 14:25

On the seek tool, there's this sub-second blinking cursor. I'd love to make one myself, but I don't know how. I could poll or use a timer, but I don't know of anythign that does not busy wait and for less than a second at that.
How can I do it so steady like that. It looks to be 1hz, (on 1/2 sec, off 1/2 sec). Plus it looks pretty un affected by what's going on in the unit.

Many thanks in advance!
Posted by: wfaulk

Re: Blinking cursors in Linux - How do they do that? - 14/08/2002 14:28

man setitimer