LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-18-2009, 03:51 AM   #1
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Rep: Reputation: 15
Question Blinking effect in dialog in linux


hi
how we can have blinking effect in dialog in linux
 
Old 06-18-2009, 08:05 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
do you mean have a terminal with a blinking cursor ? use gnome-terminal and enable blinking cursor in the the profiles.
 
Old 06-18-2009, 08:41 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,942

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Google .. Blinking effect in dialog in linux ..
ex.1) http://freeos.com/guides/lsst/misc.htm
From section " Linux Console (Screen) "
Code:
echo -e "\033[5m Flash!  \033[0m"
ex.2) http://www.cyberciti.biz/nixcraft/li...features/lsst/
Dialog : please see Chapter 4
User Interface and dialog utility-Part I
User Interface and dialog utility-Part II
Message Box (msgbox) using dialog utility
Confirmation Box (yesno box) using dialog utility
Input (inputbox) using dialog utility
User Interface using dialog Utility - Putting it all together
.....
 
Old 06-19-2009, 04:02 AM   #4
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Original Poster
Rep: Reputation: 15
i want to blink a line or word in dialog box
 
Old 06-19-2009, 04:47 AM   #5
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
you must use ASCII escape sequence to do this
echo -en "This is normal and \033[05;37;5m this is blinking \033[0m "
 
Old 06-19-2009, 05:10 AM   #6
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Original Poster
Rep: Reputation: 15
dialog --msgbox "`echo -en "This is normal and \033[05;37;5m this is blinking \033[0m "`" 10 30

not working (blinking)
 
Old 06-19-2009, 06:01 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,942

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Both

echo -en "This is normal and \033[05;37;5m this is blinking \033[0m "

and

echo -e "\033[5m Flash! \033[0m"

are blinking here !
.....
 
Old 06-20-2009, 12:29 AM   #8
speck
Member
 
Registered: Nov 2001
Location: California
Distribution: Slackware 14.1
Posts: 274

Rep: Reputation: 54
I've used Dialog quite a bit, but I've never seen an option for blinking text. Looking at the man page and the most recent ChangeLog, I don't see any reference to a blink option.

If you must have blinking text, you could create the dialog box using your language of choice (Perl, C++, etc) and the ncurses library.
 
  


Reply

Tags
dialog


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac OS X effect on Linux custangro Linux - Newbie 3 03-02-2007 07:34 PM
Linux console mono-color, blinking block cursor introuble Linux - General 1 06-24-2005 06:08 PM
linux echo effect Youssef_C Linux - Software 1 10-31-2004 04:26 PM
dual boot - blinking cursor after selecting LINUX at win2k loader its4 Linux - General 7 06-26-2002 01:06 AM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration