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
9 More Discussions You Might Find Interesting
1. HP-UX
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
2. Shell Programming and Scripting
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
3. HP-UX
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
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
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 Advanced & Expert Users
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
7. UNIX for Advanced & Expert Users
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
8. UNIX Desktop Questions & Answers
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
9. Shell Programming and Scripting
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
LEARN ABOUT OSF1
vje2jsytxt
jim_convert(1) General Commands Manual jim_convert(1)
NAME
jim_convert, jdic2txt, jsy2vjetxt, jsy2wxtxt, txt2jdic, vje2jsytxt, wx2jsytxt - Convert Japanese text and dictionary files between the JSY,
WX, and VJE input methods
SYNOPSIS
/usr/i18n/bin/jdic2txt [-v] [jsy-dictionary-filename]
/usr/i18n/bin/jsy2vjetxt [jsy-text-filename] [vje-text-filename]
/usr/i18n/bin/jsy2wxtxt [jsy-text-filename] [wx-text-filename]
/usr/i18n/bin/txt2jdic [[-a] jsy-dictionary-filename]
/usr/i18n/bin/vje2jsytxt [vje-text-filename] [jsy-text-filename]
/usr/i18n/bin/wx2jsytxt [wx-text-filename] [jsy-text-filename]
OPTIONS
Prints conversion statistics to stderr. Appends conversion results to an existing dictionary rather than creating a new dictionary.
OPERANDS
Specifies the name of a JSY dictionary file. Specifies the name of a text file in JSY format. Specifies the name of the text file in VJE
format. Specifies the name of a text file in WX format.
DESCRIPTION
Three Japanese input methods are used on a Tru64 UNIX system: the JSY input method (Compaq), the WX input method (A.I. Soft Company), and
the VJE input method (VACS Company). Software for the JSY input method is available in optional Tru64 UNIX subsets for Japanese language
support. Software for the other two Japanese input methods is included only with the Japanese Tru64 UNIX product that is sold in Japan.
Each of these input methods uses a specialized dictionary for conversion between Kana and Kanji characters. This fact makes it difficult
for users to migrate their personal dictionaries from one input method to another, or to create a customized dictionary from a text source
file for an existing dictionary. The converters described on this reference page help support customization and migration of private user
dictionaries for Kana-Kanji conversion.
The converters described on this reference page can be used in combination with utilities supplied with third-party software to migrate
Kana-Kanji dictionaries from one input method to another.
For the jsy2vjetxt, jsy2wxtxt, vje2jsytxt, and wx2jsytxt converters, both file operands are optional. If neither file is specified, stdin
and stdout are used as input and output. If only one file is specified, that file is used as input and stdout is used as output.
For the jdic2txt converter, stdin is used as input if the dictionary operand is omitted. The conversion results are always sent to stdout.
For the txt2jdic converter, stdin is used as input. If the dictionary file argument is omitted, results are sent to stdout.
The following diagrams show how the process for text file and dictionary conversion differs, depending on the input method format. In these
diagrams, wx3ent and wx31st are utilities packaged with the WX input method software, and vuty is a utility packaged with the VJE input
method software. The following diagrams show the process for converting dictionaries to text files using the same input method format:
Text file in JSY format -> txt2jdic -> JSY dictionary
JSY dictionary -> jdic2txt -> Text file in JSY format
Text file in WX format -> wx3ent -> WX dictionary
WX dictionary -> wx31st -> Text file in WX format
Text file in VJE format -> vuty -> VJE dictionary
VJE dictionary -> vuty -> Text file in VJE format The following diagrams show the process for converting text files from one input
method format to another:
Text file in JSY format -> jsy2wxtxt -> Text file in WX format
Text file in JSY format -> jsy2vjetxt -> Text file in VJE format
Text file in WX format -> wx2jsytxt -> Text file in JSY format
Text file in VJE format -> vje2jsytxt -> Text file in JSY format The following diagrams show the process for converting dictionaries
from one input method to another:
JSY dict. -> jdic2txt -> jsy2wxtxt -> wx3ent -> WX dict.
JSY dict. -> jdic2txt -> jsy2vjetxt -> vuty -> VJE dict.
WX dict. -> wx31st -> wx2jsytxt -> txt2jdic -> JSY dict.
VJE dict. -> vuty -> vje2jsytxt -> txt2jdic -> JSY dict.
FILES
Directory where converters reside.
SEE ALSO
Japanese(5)
jim_convert(1)