tags:

views:

221

answers:

3

Hai

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?

Thank you in advance

+5  A: 

ncurses library will be of help.

Alan Haggai Alavi
Also be prepared to invest a lot more time in your terminal output as soon as you want to do things nicely.
Eric
+3  A: 

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).

Chris Boyle
Yes because blinking text is annoying.
Zan Lynx
A: 

install vtoo it can help you