Posted by: Anonymous Coward
on November 25, 2004 01:44 AM
I suggest using the tput command, rather than ANSI. It recognizes your terminal, and outputs the correct escape codes for whatever terminal you are using (eg. VT102, etc.). As well, if your terminal doesn't support a particular attribute, it doesn't output anything.
There are a bunch of examples, eg. http://www.linuxforum.com/linux-bash/clockt.html http://www.patoche.org/LTT/shell/00000080.html http://lists.debian.org/debian-user/1998/12/msg00<nobr>3<wbr></nobr> 23.html
Using TPUT
Posted by: Anonymous Coward on November 25, 2004 01:44 AMThere are a bunch of examples, eg.
http://www.linuxforum.com/linux-bash/clockt.html
http://www.patoche.org/LTT/shell/00000080.html
http://lists.debian.org/debian-user/1998/12/msg00<nobr>3<wbr></nobr> 23.html
Cheers,
Brian Hunt
#