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

Re: A colorful text



<shay.meshulam@aks.com> writes:

> Hi,
> Is it away to present the content of a text file (a message ) in deferent
> color ?
> ( like the way  ls  -la - - color do).

some trick using setterm?

echo "this is `setterm -foreground red`red`setterm -default`"

works for me on the console, but not in xterm, but this is probably
a configuration issue. `setterm -bold on` works fine.
 
-- 
Oleg Goldshmidt | BLOOMBERG L.P. (BFM) | oleg@bfr.co.il
"A sense of the fundamental decencies is parceled out 
unequally at birth." [F. Scott FitzGerald]

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il