Hi,

On Mon, 11 Apr 2011 11:29:23 +0200 Markus Klotzbuecher <m...@marumbi.de> wrote:

> On Sun, Apr 10, 2011 at 11:43:26PM -0700, Chris Bolton wrote:
>> anyone know how one would go about printing bold/colored text to a terminal? 
>> I
>> tried running "echo -e $(tput bold) stuff" with process-run but it didn't
>> process the variable and just printed "$(tupt bold) stuff"
>
> I like to use the fmt egg for that:
>
> $ csi 
> #;1> (use fmt fmt-color)
> #;2> (fmt #t (fmt-green (fmt-bold  "this is green")) nl)
> this is green
> #;3> 

There is also http://wiki.call-cc.org/egg/ansi-escape-sequences

Best wishes.
Mario
-- 
http://parenteses.org/mario

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to