I am trying to get my bash scripts to highlight some of their output in colour, a bit like ls --color
It seems that I have to use ANSI esc sequences ...


man xterm ..

SEE ALSO
      resize(1), X(7), pty(4), tty(4)
      Xterm Control Sequences (this is the file ctlseqs.ms).

http://dickey.his.com/xterm/xterm.html

I cant find the control sequences document ctlseqs.ms, though I have searched the system as root for it.

Google suggested
<esc>[33] .. for yellow

I tried various forms, it just prints the string ...
Any ideas guys .. some of those error messages would look great in colour

Dave


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to