PDA

View Full Version : Colored Terminal Text


blanky
December 26th, 2005, 03:03 AM
Hey guys, I'd like to know how to create colored text in Linux Console Programs. In windows, I had a header file with a class called MyColor.h ( http://blank.cjb.cc/code4/?a=sb&i=3 ). I'd like to know how to be able to do that in *nix. I'm using C/C++.

coredump
December 26th, 2005, 12:35 PM
Here's a link to a Linux Journal artice about using colour on the Linux console in C:

http://www.linuxjournal.com/article/8603

I found it by Googling for: linux console terminal color

blanky
December 26th, 2005, 03:00 PM
Thanks, I appreciate it.