Quote:
Originally Posted by daemonfowl
Thanks for this nice gift !! .. a peaceful light green which reminds of the Netbsd.macppc fg color ..
|
The other color, foreground, background and blink escape code sequences are found variously on google, but here's one link to digest.
http://wiki.bash-hackers.org/scripting/terminalcodes
You may also use tput(1). For example,
Code:
export PS1="\[$(tput setaf 3)\]\u@\h:\w \$ \[$(tput sgr0)\]"
is functionally the same as my script fragment.
tput(1) may be a little easier to use if you're combining FG & BG and other visual attribute.
Knock yourself out!
/S