Reputation:
I am developing programs in c++ on linux platform (g++ compiler) . Where in one point I want my output character to blink on the terminal. How can I do it?
Upvotes: 1
Views: 1420
Reputation: 11551
From looking at Wikipedia, the string \e[5mfoo\e[m
produces a blinking "foo" in xterm or in the Linux console (as in Ctrl-Alt-F1). Worth noting that gnome-terminal
doesn't respond to it (just produces a plain foo), and neither xterm nor gnome-terminal nor tty1 respond to 6 (blink rapid), at least on my system (Ubuntu 9.04).
Upvotes: 3