[Gllug] Changing the text colour at the command line

Tethys tet at accucard.com
Tue Dec 10 20:12:58 UTC 2002


Nix writes:

>On xterm, \033[0;39m should do the trick as well; that's `restore to
>default', rather than changing to any specific colour.
>
>(That should be `CSI [0;39m', of course... ;} )

	tput op sgr0

will do this in a terminal independent way.

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list