Colours

There has been a previous question about displaying text in different colours using a script in Bourne - this doesn't seem to work the same for Korn...

Is it possible to display text in different colours when using the Korn shell or am I doing it wrong?

This works fine for me in ksh:

echo ^[[33mhello^[[37m

displays the word "hello" in yellow text. To get the "^[" sequence you have to hit ctrl-v, then escape.
The numbers control the color codes. Search previous postings for a list of the different color values. I have posted them in the past.

If you want it for a large portion of the script, check out ctheme:
http://www.linux.org/apps/AppId_1150.html

Thanks...it works perfectly.