[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] color
From: |
Mario Domenech Goulart |
Subject: |
Re: [Chicken-users] color |
Date: |
Mon, 11 Apr 2011 06:13:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
Hi,
On Mon, 11 Apr 2011 11:29:23 +0200 Markus Klotzbuecher <address@hidden> 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