Does anybody know how to set colors on the terminals?
I don't mean the colors associated with the ls command which can be realized 
by the entry alias="ls --color" in ./bashrc or ./profile but rather a way to 
controll how output to the console looks like. I need this because I want to 
make shellscripts that output something on screen look better (just like 
emerge :-) ).
I have tried:
setterm -foreground ... -background ... 
but it wouldn't work.
The only thing that works is setterm -bold under X and setterm -reversescreen 
under the ordinary shells (without X).

I have read through a bunch of mailing lists in order to find the reason for 
this and somebody had noted that it was because of some escape sequences that 
are automatically added because of my configuration.
I have pasted the message from that mailinglist beneath.

any suggestions? 
email me at [EMAIL PROTECTED]

Thanx in advance.
momesana.

  setterm -inversescreen on

worked on my potato, but

        setterm -background black -foreground green
        setterm -background green -foreground black

seemed to do nothing... then i realized i have some escape
sequences built in to my command prompt -- plus, whenever i do a
"ls --color" the escape sequences always reset it to white.

just thought i send out a flare to give the folks new to
"setterm" a heads-up on various caveats... terminal settings can
be transient and changed easily through escape sequences
(editors, listings, etc)...


--
[EMAIL PROTECTED] mailing list

Reply via email to