BOB, check out tput commands Here's some examples The problem with colors is people use different defaults so you're better with highlighting bold or reverse video. Then you may be color blind too. And blinking will drive you nuts. Larry echo "\n`tput bold`find $Anchor -name \"*$Filename*\" 2>/dev/null |pg &`tput sgr0`\n" For Christmas echo;tput bold;echo "Fat man in ${FGRD}${BGGR}RED${SANE}${BGBL} suit:";tput sgr0 #@(#)HL Written by Lawrence Wolfson 09/12/96 alias ll="ls -l" Machine=`uname -n` if [ "$TERM" = "" ] then TERM=hpterm else if [ "$TERM" != "UNKNOWN" ] then BOLD=`tput smso` #Starts highlighting CI=`tput civis` #Cursor invisible CN=`tput cnorm` #Cursor normal CS=`tput clear` #Clear screen and home cursor NATS=`tput sgr0` #Ends All attributes NOLD=`tput rmso` #Ends highlighting/bolding/blinking SANE=`tput rs2` #Rstore to sane mode RC=`tput rc` #Restore cursor position SC=`tput sc` #Save cursor position ST=`tput ri` #Scroll text down SU=`tput ind` #Scroll text up TB=`tput ht` #Go to next hardware tab TC=`tput tbc` #Tab clear TS=`tput hts` #Tab set ULNR=`tput rmul` #Ends underlining ULNS=`tput smul` #Starts underlining blnk="" #Starts blinking BLNK=`tput blink` #Starts blinking bold=`tput bold` #Starts Light Bold revv=`tput rev` #Starts Reverse Video fi fi : #@(#)HLC Written by Lawrence Wolfson 10/28/96 FGBK=`echo " [1m [30m"` #FOREGROUND BLACK FGRD=`echo " [1m [31m"` #FOREGROUND RED FGGR=`echo " [1m [32m"` #FOREGROUND GREEN FGYE=`echo " [1m [33m"` #FOREGROUND YELLOW FGBL=`echo " [1m [34m"` #FOREGROUND BLUE FGMA=`echo " [1m [35m"` #FOREGROUND MAGENTA FGAQ=`echo " [1m [36m"` #FOREGROUND AQUAMARINE FGWH=`echo " [1m [37m"` #FOREGROUND WHITE BGBK=`echo " [1m [40m"` #BACKGROUND BLACK BGRD=`echo " [1m [41m"` #BACKGROUND RED BGGR=`echo " [1m [42m"` #BACKGROUND GREEN BGYE=`echo " [1m [43m"` #BACKGROUND YELLOW BGBL=`echo " [1m [44m"` #BACKGROUND BLUE BGMA=`echo " [1m [45m"` #BACKGROUND MAGENTA BGAQ=`echo " [1m [46m"` #BACKGROUND AQUAMARINE BGWH=`echo " [1m [47m"` #BACKGROUND WHITE if [ "$TERM" = "hpterm" \ -o "$TERM" = "hp" ] then NATS=`tput sgr0` #Ends All attributes NOLD=`tput rmso` #Ends highlighting/bolding/blinking FGBK=`echo ""` #FOREGROUND BLACK FGRD=`echo "\033&v1S"` FGGR=`echo "\033&v2S"` FGYE=`echo "\033&v3S"` FGBL=`echo "\033&v4S"` FGMA=`echo "\033&v5S"` FGAQ=`echo "\033&v6S"` FGWH=`echo ""` #FOREGROUND WHITE BGBK=`echo ""` #BACKGROUND BLACK BGRD=`echo ""` #BACKGROUND RED BGGR=`echo ""` #BACKGROUND GREEN BGYE=`echo ""` #BACKGROUND YELLOW BGBL=`echo ""` #BACKGROUND BLUE BGMA=`echo ""` #BACKGROUND MAGENTA BGAQ=`echo ""` #BACKGROUND AQUAMARINE BGWH=`echo ""` #BACKGROUND WHITE REVV=`echo "\033&v7S"` fi -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Bob Metelsky Sent: Thursday, November 11, 2004 8:48 PM To: oracle-l@xxxxxxxxxxxxx Subject: silly vi question ummm does anyone use syntax highlighting for vi or vim? Id like to at least get .oracle- .sql and possible shell scripts. The black and white gets my eyes crossed in a few hours ;-) The syntax highlighting would be a god send! I googled for it but nothing is prominent, so I thought asking here would be more efficient than trying all sorts of things that dont work. Thanks Bob -- "Oracle error messages being what they are, do not highlight the correct cause of fault, but will identify some other error located close to where the real fault lies." -- //www.freelists.org/webpage/oracle-l ********************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. -- //www.freelists.org/webpage/oracle-l