UNIX Command for flashing????


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UNIX Command for flashing????
# 1  
Old 12-19-2005
Error UNIX Command for flashing????

What's the command to show text on any Xwindow that makes the text flashing / blinking ???
# 2  
Old 12-19-2005
hmm, are you talking bt flashing text in a console window. what shell do you intend to use.
what i do is, I set the variables in env as shown below, and then output text as
echo $VAR1 $TEXT $NORMAL

The variables i set are as follows.

BGGREEN=`echo "\033[42m"` # background to green
BGCYAN=`echo "\033[45m"` # background to cyan
BGWHITE=`echo "\033[47m"` # background to white
FGBLACK=`echo "\033[30m"` # foreground to black
FGRED=`echo "\033[31m"` # foreground to red
BGBLACK=`echo "\033[40m"` # background to black
FGGREEN=`echo "\033[32m"` # foreground to green
BGWHITEFGBLUE=`echo "\033[91m"` # background to white & foreground to blue
#BGWHITEFGBLUE=`echo "\033[94m"` # background to white & foreground to blue
BGWHITEFGMAGENTA=`echo "\033[95m"` # background to white & fg to magenta
BGYELLOW=`echo "\033[43m"` # background to yellow
FGBLUE=`echo "\033[34m"` # foreground to blue
FGMAGENTA=`echo "\033[35m"` # foreground to magenta
FGCYAN=`echo "\033[36m"` # foreground to cyan
BGBLUE=`echo "\033[44m"` # background to blue
BGRED=`echo "\033[41m"` # background to red
FGWHITE=`echo "\033[37m"` # foreground to white
BGCYAN=`echo "\033[45m"` # background to cyan
BLINK=`echo "\033[5m"` #terminal to blink
NORMAL=`echo "\033[m"` #terminal to normal
UNDERLINE=`echo "\033[4m"` #terminal to underline
NOUNDERLINE=`echo "\033[24m"` #terminal to cancel underline
REVERSE=`echo "\033[7m"` #terminal to reverse video
BGMAGENTA=`echo "\033[45m"` # background to magenta
BOLD=`echo "\033[1m"` #bold
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

UNIX command to copy files from Windows to UNIX box

Hi Folks, I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/ now the credentials of unix box are abc345 -->(dummyid) ftyiu88--->(dummy passwd) ... (4 Replies)
Discussion started by: punpun66
4 Replies

2. UNIX Desktop Questions & Answers

Can Unix access Windows' File through Command Prompt in Unix

Hi all, I wish to know whether Unix can access window's file in Unix's terminal? Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies

3. UNIX for Advanced & Expert Users

ls flashing red

Can someone please tell me what the flashing red means? http://i255.photobucket.com/albums/hh133/COKEDUDEUSF/ls_flashing.jpg (10 Replies)
Discussion started by: cokedude
10 Replies

4. UNIX for Advanced & Expert Users

unix command : how to insert text at the cursor location via command line?

Hi, Well my title isn't very clear I think. So to understand my goal: I have a script "test1" #!/bin/bash xvkbd -text blabla with xbindkeys, I bind F5 key in order it runs my test1 script So when I press F5, test1 runs. I'm under Emacs/Vi and I press F5 in order to have "blabla" be... (0 Replies)
Discussion started by: xib.be
0 Replies

5. Shell Programming and Scripting

Flashing and Animated Scripts ..

Guy's is there some one has Flashing and Animated Scripts .. like the welcoming interface coming in AIX and Flashing or Animated Scripts to beautify the manuscript ... :) ... (0 Replies)
Discussion started by: ITHelper
0 Replies

6. UNIX for Dummies Questions & Answers

flashing cursor

I am running a psychology experiment with a UNIX shell script as a front end. This precedes each trial: echo -e "\n\n\n ***Ready***" sleep 1 clear Is there a way to get rid of the flashing cursor after the clear command has been executed or another command I could use instead? It is a... (0 Replies)
Discussion started by: darwin_886
0 Replies

7. HP-UX

System LED flashing

hi guys, i have 2 hp-ux servers at my office with flashing system LED. am very new to hp-ux...no much of access directly to the server. how can i check for faults relating to this flashing of this system LED? the DC is pretty far from my office...all i have is an ssh access into the server.... (4 Replies)
Discussion started by: cromohawk
4 Replies

8. Shell Programming and Scripting

assign a command line argument and a unix command to awk variables

Hi , I have a piece of code ...wherein I need to assign the following ... 1) A command line argument to a variable e.g origCount=ARGV 2) A unix command to a variable e.g result=`wc -l testFile.txt` in my awk shell script When I do this : print "origCount" origCount --> I get the... (0 Replies)
Discussion started by: sweta_doshi
0 Replies

9. HP-UX

How to use more than one MPE command STREAM with Unix command in a single shell?

Hello, I have problem in writing the shell script involving MPE command STREAM related to HP-UX and Unix command. Script is sh "nlshCMD 'STREAM <job name1>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name2>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name3>' |... (1 Reply)
Discussion started by: bosskr
1 Replies
Login or Register to Ask a Question