On Mon, 25 Apr 2016, Michael Richter wrote:

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.

But, they have to install Tcl, Expect and Tcllib (cmdline).  Right?
Indeed, interactive things easier to do using Expect. But, if all about
colorizing and simple filters in Tcl ... Jim Tcl is closer

  cd fossil
  cc -o jimsh0 autosetup/jimsh0.c
  mv jimsh0 /usr/local/bin

Green Fossil example

  #! /usr/bin/env jimsh0
  set RESET {}
  set GREEN {}
  set ret [catch {exec fossil {*}$::argv} out]
  regsub -all {\<fossil\>} $out $GREEN\&$RESET out
  puts $out
  exit $ret

If they do not need to install additional packages, then you're more
likely to be heard. What if

  $EDITOR tools/cfossil

and implement a script for colorizing/filtering just in Jim Tcl?

Sergei

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
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