Programming enhanced display modes in GNOME Terminal

I wanted to make characters white, bold in the GNOME terminal.  I tried:

	printf ("^[[1;37mTest: %s\n", "This is a Test");

where '37' stands for white color and '1' stands for bold.  'm' stands
for character rendition. 
I did this based on info I picked up from
/usr/doc/console-tools-19990302/contrib/console.doc under RH6.0.

But the output had escape sequences: 

	^[[1;37mTest: This is a Test 

in the terminal output without doing the character rendition.  Can
somebody please help me how to do this?

Thank you.

  ^    ^
 ("\''/").__..-''"`-. .          Bhola De
 `9_ 9  )   `-. (    ).`-._.`)
 (_Y_.)' ._   ) `._`.  " -.-'   
  _.`.`-'_..-_/ /-'_.'           
(!)-'' ((!).' ((!.'

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]