Re: [fossil-users] Colored output on console
Just to clarify, the fsl wrapper is not my work (although I contributed to the cookbook and one of the standard enhancements in the default .fslrc file was put in at my behest). I'm just a fan of DIY customization instead of asking the core devs to add every little feature every user can think of, and fsl is the single best approach I've seen to that for Fossil. On 26 April 2016 at 00:05, Matt Wellandwrote: > Hi Michael, > > I've wanted to try your wrapper several times now but I've not had time > and "just copy to a location on your path" is sadly a barrier to those of > us who are chronically overloaded. If you want to get some momentum maybe > consider adding a windows installer which includes fsl and fossil. Note > that there is another wrapper out there and in parallel with you and for > different reasons I created yet another wrapper ( > http://chiselapp.com/user/kiatoa/repository/fsl/index). I would love to > move my wrapper into yours if it made sense. Really the only thing from my > wrapper that I need is the repo extension. Would you be interested in > adding something like that to the base fsl wrapper as a standard filter? > > You can get a sense of what the repo extension does from this wiki page: > http://chiselapp.com/user/kiatoa/repository/fsl/wiki?name=Usage > > Thanks, > > Matt > -=- > > On Mon, Apr 25, 2016 at 7:48 AM, 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. >> >> 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 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 >>> 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 >> >> > -- "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
Re: [fossil-users] Colored output on console
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 {[0m} set GREEN {[1;32m} set ret [catch {exec fossil {*}$::argv} out] regsub -all {\} $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 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
Re: [fossil-users] Colored output on console
On Apr 25, 2016 8:48 AM, "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? I don't use fsl myself, though I have no quarrel with its existence. I think inferring hostility in failure to mention or discuss any third party tool on a list dedicated to the primary tool itself is a bit over the top. Given the nature of fossil, perhaps this is an opportunity to craft a page that could reside in in main documentation pointing people to the tool and explaining the advantages? I can't say myself that it would be accepted, but it seems it might have a chance. You can't expect everyone to know or promote something they don't use. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On 25 April 2016 05:33PM, j. van den hoff wrote: > @michael: I have been using `fsl' myself happily for several years now. I > also have tried a couple of times to draw attention to its existence on > this list (getting the same feedback -- i.e.: none -- as you). but I am > sure you are mistaken in your interpretation why this happens. why should > anybody be hostile to you (or the tool)? I'm sure the lack of feedback has > a much more profane reason: most people just don't care for any wrapper > around fossil's CLI (or have their own) but are waiting for native support > of the asked-for functionality or are much more interested in the web GUI. ...because the web UI already provides the functionality they're looking for. > @everybody: `fsl' indeed seems massively under-appreciated. it is very > helpful and improves CLI interaction with fossil substantially in my > experience (notably the branch where I have further adjusted everything to > my own liking ("dresden") ;-)). colorized diff and timeline output and the > alias facility alone are worth it (personally I wanted chronological > "symbolic" checkin enumeration a la `hg' as well and got it in the > above-mentioned branch ...). Anything that extends Fossil's current capabilities, even if it's mostly on the UI side, probably warrants a special mention on the Fossil website, I think. :) Thank you, Arnel ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Mon, Apr 25, 2016 at 6:42 PM, j. van den hoffwrote: > just for the record: `fsl' has been written by marc simpson (and he also > still hosts the `fsl' repo). so (nearly or completely) all of the core > functionality of `fsl' (as found on trunk) is due to him, I think. further > tweaks/modifications can be found in some branches (one maintained by > michael, another one by me...). My sincerest apologies for the mis-attribution. i've never personally used it and didn't search my email archives before attributing it to Michael. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Mon, 25 Apr 2016 18:03:27 +0200, Stephan Bealwrote: On Mon, Apr 25, 2016 at 5:33 PM, Steve Schow wrote: On Apr 25, 2016, at 9:22 AM, Stephan Beal wrote: On Mon, Apr 25, 2016 at 4:48 PM, Michael Richter wrote: http://fossil.0branch.com/fsl/wiki?name=Cookbook, fwiw, i think you've misconstrued the conventional silence. i've always intended it as, "whew! We dodged that bullet again!" Stephan…I’m new here. What do you mean by “dodged a bullet? Is fsl something to be afraid of for any reason? I don’t want to waste my time if so. but I know I am going to write my own wrapper scripts. So I’m genuinely interesting in anything that anyone else has done. Let me back up and try to unmuddle the muddling i've done... a) i'm _thrilled_ that Michael offers people a solution for this so that they... just for the record: `fsl' has been written by marc simpson (and he also still hosts the `fsl' repo). so (nearly or completely) all of the core functionality of `fsl' (as found on trunk) is due to him, I think. further tweaks/modifications can be found in some branches (one maintained by michael, another one by me...). b) temporarily forget that fossil doesn't natively do it, until... c) 4-6 months have passed and a newcomer, unaware of the fsl wrapper, points out that fossil doesn't have this capability ;). i personally have a strong allergy against platform-specific code (because i code for coding's sake, and having to coddle various platforms takes the fun out of it), and terminal output is one of those things which requires platform-specific code. (Fossil has a good deal of code to ensure that something as mundane as streaming console output behaves well in various Windows environments.) But that's just my opinion, and those are very often in the minority, so please don't take any of them too seriously. -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Mon, Apr 25, 2016 at 5:33 PM, Steve Schowwrote: > On Apr 25, 2016, at 9:22 AM, Stephan Beal wrote: > > On Mon, Apr 25, 2016 at 4:48 PM, Michael Richter > wrote: > >> http://fossil.0branch.com/fsl/wiki?name=Cookbook, >> > fwiw, i think you've misconstrued the conventional silence. i've always > intended it as, "whew! We dodged that bullet again!" > > Stephan…I’m new here. What do you mean by “dodged a bullet? Is fsl > something to be afraid of for any reason? I don’t want to waste my time if > so. but I know I am going to write my own wrapper scripts. So I’m > genuinely interesting in anything that anyone else has done. > Let me back up and try to unmuddle the muddling i've done... a) i'm _thrilled_ that Michael offers people a solution for this so that they... b) temporarily forget that fossil doesn't natively do it, until... c) 4-6 months have passed and a newcomer, unaware of the fsl wrapper, points out that fossil doesn't have this capability ;). i personally have a strong allergy against platform-specific code (because i code for coding's sake, and having to coddle various platforms takes the fun out of it), and terminal output is one of those things which requires platform-specific code. (Fossil has a good deal of code to ensure that something as mundane as streaming console output behaves well in various Windows environments.) But that's just my opinion, and those are very often in the minority, so please don't take any of them too seriously. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
I’m new to fossil and thanks for pointing out this wrapper tool I’m going to check it out for sure! On Apr 25, 2016, at 8:48 AM, Michael Richterwrote: > 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 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 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Mon, Apr 25, 2016 at 5:34 PM, Joerg Sonnenbergerwrote: > On Mon, Apr 25, 2016 at 05:22:54PM +0200, Stephan Beal wrote: > > Yes, colorization is commonly-request feature, but is also not trivial to > > do portably, which is probably why relatively few people are interested > in > > implementing it. > > Uses terminfo is not that difficult and there are even separate > implementations :) > "not trivial" was admittedly possibly overstated. My own view is that as soon as code contains: #if defined(WIN32) the steam kinda goes out of my sails. :/ i admit to being somewhat of a weenie in that regard. ANSI escape codes cover _most_ cases but there are always terminals out there which get confused by them and i always seem to stumble across such terminals, so i am generally not a friend of colorized output. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Mon, Apr 25, 2016 at 5:33 PM, Steve Schowwrote: > On Apr 25, 2016, at 9:22 AM, Stephan Beal wrote: > Stephan…I’m new here. What do you mean by “dodged a bullet? Is fsl > something to be afraid of for any reason? > No, quite the opposite: colorized output is a feature people keep asking for and Michael has repeatedly offered a solution which requires no code changes in fossil. > I don’t want to waste my time if so. but I know I am going to write my > own wrapper scripts. So I’m genuinely interesting in anything that anyone > else has done. > Nononono - that was not at all my intention. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Mon, Apr 25, 2016 at 05:22:54PM +0200, Stephan Beal wrote: > Yes, colorization is commonly-request feature, but is also not trivial to > do portably, which is probably why relatively few people are interested in > implementing it. Uses terminfo is not that difficult and there are even separate implementations :) Joerg ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Apr 25, 2016, at 9:22 AM, Stephan Bealwrote: > > > On Mon, Apr 25, 2016 at 4:48 PM, Michael Richter wrote: > http://fossil.0branch.com/fsl/wiki?name=Cookbook, > fwiw, i think you've misconstrued the conventional silence. i've always > intended it as, "whew! We dodged that bullet again!" > Stephan…I’m new here. What do you mean by “dodged a bullet? Is fsl something to be afraid of for any reason? I don’t want to waste my time if so. but I know I am going to write my own wrapper scripts. So I’m genuinely interesting in anything that anyone else has done. I just perused it a little bit and at least my first impression is that it may be over engineered a bit, with a lot of TCL flexibility, but therein lies the potential source of user error bugs in the creation of custom TCL scripts to make it do what you want it to do…so… is that what you mean by dodged a bullet? ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Mon, 25 Apr 2016 16:48:43 +0200, Michael Richterwrote: @michael: I have been using `fsl' myself happily for several years now. I also have tried a couple of times to draw attention to its existence on this list (getting the same feedback -- i.e.: none -- as you). but I am sure you are mistaken in your interpretation why this happens. why should anybody be hostile to you (or the tool)? I'm sure the lack of feedback has a much more profane reason: most people just don't care for any wrapper around fossil's CLI (or have their own) but are waiting for native support of the asked-for functionality or are much more interested in the web GUI. @everybody: `fsl' indeed seems massively under-appreciated. it is very helpful and improves CLI interaction with fossil substantially in my experience (notably the branch where I have further adjusted everything to my own liking ("dresden") ;-)). colorized diff and timeline output and the alias facility alone are worth it (personally I wanted chronological "symbolic" checkin enumeration a la `hg' as well and got it in the above-mentioned branch ...). 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 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 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 -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Mon, Apr 25, 2016 at 4:48 PM, Michael Richterwrote: > 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. > fwiw, i think you've misconstrued the conventional silence. i've always intended it as, "whew! We dodged that bullet again!" Yes, colorization is commonly-request feature, but is also not trivial to do portably, which is probably why relatively few people are interested in implementing it. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
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 Schowwrote: > 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 > 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
Re: [fossil-users] Colored output on console
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äningwrote: > 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
Re: [fossil-users] Colored output on console
Possibly the best ‘color-blind proof’ method is reverse video. Not the best looking in all cases, but certainly effective. From: Scott Robison Sent: Sunday, April 24, 2016 7:39 PM To: Fossil SCM user's discussion Subject: Re: [fossil-users] Colored output on console On Apr 24, 2016 4:07 AM, "Marko Käning" <mailto:sec001%2bfos...@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. I will just observe here that typically red text on a black background is really hard for me to see. If someone were to add such a thing, having it be opt in would be appreciated. Different people have different, of course. I hate color blindness. > > 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
Hi Scott, On 24.04.2016 18:39, Scott Robison wrote: I will just observe here that typically red text on a black background is really hard for me to see. If someone were to add such a thing, having it be opt in would be appreciated. Different people have different, of course. I hate color blindness. how right you are. I also have trouble with red/green deficiency. See my other post regarding "Howto change diff output colorisation". Khaki hit against green diff output, impossible to see for my eyes, but clearly visible for my friend. ;-) Yes, opt-in and configurable would be the way to go. Greets, Marko ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Colored output on console
On Apr 24, 2016 4:07 AM, "Marko Käning"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. I will just observe here that typically red text on a black background is really hard for me to see. If someone were to add such a thing, having it be opt in would be appreciated. Different people have different, of course. I hate color blindness. > > 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
[fossil-users] Colored output on console
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