Is it possible to change the background color of Terminal.app from the shell? If so, how?
osascript -e "tell the application \" Terminal \ "to set the background color of window 1 to {0.45000,0,0}"
(I can not take a loan)
I do not know the specifics, but I assume that you will want to write an AppleScript program that you call from your shell script. AppleScript will "Tell" Terminal change the background color.