[Prev][Next][Index][Thread]

Linux console colors.



Katsman Shimon writes:
 > Hi guys!
 > How could i chande foreground color for linux console,
 > when i work in text mode from white to somefing else.
 > 
 > (Dont send me to color-ls manpage , it's working perfectly)
 > -- 
 > __________________________________________________________________________ 
 > Katsman Shimon                    |    E-Mail
 > :katsman@avoda.jct.ac.il       
 > Jerusalem College of Technology   |    Phone  :050-988609,02-6251173

Are you through with "man setterm" as well? ;-)

Something like "setterm -foreground yellow -background green -store"
should work. You can color your consoles differently using "case"
on $V_TERMINAL, or redirect the comand to /dev/ttyX, or do a score of
other tricks. I like to color the console differently when I work as
root and as a regular user, so I put the setterm command in .profile.

Enjoy, Oleg.
goldshmt@netvision.net.il


References: