Okay, maybe it's a -tad- frivolous, but I like to have each of
my pseudo-terminals set at a different color upon login.
I just call this script as part of profile, maybe someone else
out there likes colorful screens too... <shrug>
=========================================================================== # ttycolor ===========================================================================
# colors [black,blue,green,cyan,red,magenta,yellow,white]
# some options [ -bold -blink on|off ] Type setterm for more.
tty > tty_geb
ttynumber=`cut -c9,9 tty_geb`
case "$ttynumber"
in
1) setterm -background blue -foreground white;;
2) setterm -background blue -foreground white -bold;;
3) setterm -background blue -foreground cyan -bold;;
4) setterm -background blue -foreground green;;
5) setterm -background black -foreground magenta;;
6) setterm -background green -foreground black;;
esac
rm tty_geb
clear