View Single Post
  #4  
Old March 27th, 2003, 01:57 PM
Giaguara's Avatar
Giaguara Giaguara is offline
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 7,759
Thanks: 2
Thanked 23 Times in 23 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Colors:

0 Reset colors to 37;40
1 Bold text. In reality, it's not really bold, text is only brighter.
5 Blinking text. Many terminal apps don't support this
7 Reverse video, inverts the background and the foreground colors
30 Black
31 Red
32 Green
33 Yellow
34 Blue
35 Magenta
36 Cyan
37 White
40 Black background
41 Red background
42 Green background
43 Yellow background
44 Blue background
45 Magenta background
46 Cyan background
47 White background

How to set colors I remember having it seen here - but the format the set prompt code is given in teh article does not seem to work - thus after trying and trying and trying untill setting it to what I wanted exactly, the code was the one i posted below ( set prompt="%{\033[31m\033[1m%}[%T][%n@%m %c3] %#%{\033[0m%} " )

To have e.g. magenta prompt but similar just change the 31 to 35 - if you are lazy trying to decipher the full prompt code thing, just try e.g. bold and any color you like - it really helps to find what you were doing or what the machine answered while working on termianl.
__________________
MacBook Pro + Mac mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote