I know that every time I mention this I get silently, perhaps even
hostilely, ignored, but really guys, why not just use fsl for your
customization needs?  Colourizing output is in the cookbook:
http://fossil.0branch.com/fsl/wiki?name=Cookbook, along with lots of other
nifty tricks like aliasing, adding commands (like workflow-based ones I've
done for my stuff), etc.  It really is a nifty little package and I don't
get the hostility (or at least utter apathy) it generates in the Fossil
community.

I look forward to the "ignore the very existence of this message" that is
traditional each time I bring it up.

On 25 April 2016 at 09:48, Steve Schow <st...@bstage.com> wrote:

> For now, if you’re on a unix platform, you can try a wrapper script like
> this:
>
>
>
> #!/bin/bash
>
> export COLOR_NC='^[[0m'
> export COLOR_RED='^[[1;31m’
>
> fossil $* |\
> sed -e "s/ERROR/${COLOR_RED}ERROR${COLOR_NC}/g” \
> sed -e “s/WARNING/${COLOR_RED}WARNING${COLOR_NC}/g”
>
>
>
>
>
>
>
> On Apr 24, 2016, at 4:07 AM, Marko Käning <sec001+fos...@posteo.net>
> wrote:
>
> > Hi devs,
> >
> > it would be great if one could colorise Fossil’s output on the console!
> >
> > Quite a few times I missed an error or warning message which slipped in
> between of many lines of the usual fossil output on the console.
> >
> > Red colouring of words like “warning” or “error” would be very helpful
> there.
> >
> > The poor man’s solution would at least be to use capital letters and
> some sort of line head along the lines of
> >
> >       > ERROR: blaa
> >       > WARNING: blubb
> >
> > Right now I can’t send an example of such a easily slipping through
> message, but I can deliver if I come across one again.
> >
> > Greets,
> > Marko
> >
> > _______________________________________________
> > fossil-users mailing list
> > fossil-users@lists.fossil-scm.org
> > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



-- 
"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to