Inverse Video

I am trying to discover the sequence of escape characters that I need to pass ksh in order to turn inverse video on and off. I need this information for two reasons:

  • I want to include inverse video text in some shell scripts
  • I wish to highlight a section of an /etc/motd file

Thanks for any help:

Check here: http://linuxdocs.org/HOWTOs/Bash-Prompt-HOWTO-6.html

This is info on changing your prompt color, but you can apply the information to shell scripts too. Just "echo" the characters.

Cheers.