[Ilugc] current text and background color of shell

  • From: combiofriends@xxxxxxxxx (com bio)
  • Date: Tue Jun 14 14:34:30 2005

Hello,
 I would like to get the current colour of the text
and background of shell in a c program. I know to
change the colour of text and background. some console
have black and some white backgroud. I would like to 
revert back to same colour after printing my stuff
alone in a different colour. So do tell me if there is
a way i can do this without getting the current
colour.
 I use FC3 and g++.

Deepan Chakravarthy

home page  http://deepan.tk
resume: http://deepanchakravarthy.tk

-------------------------------------------
Center for Biotechnology,
Anna University,
Chennai,
India.
pin: 600025

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ;

Other related posts: