Re: 'git log' escape symbols shown as ESC[33 and ESC[m
- From
Jeff King <peff@peff.net>
- Date
- Jan 17, 2014, 03:21 UTC
- Message-ID
- <20140117032151.GA17311@sigill.intra.peff.net>
- In-Reply-To
- <20140117023548.GB13023@sigill.intra.peff.net>
On Thu, Jan 16, 2014 at 09:35:48PM -0500, Jeff King wrote:
Show 7 quoted lines
> I think we should make an effort to set MORE=R on FreeBSD. We can > perhaps just set it unconditionally, and assume that primitive "more" > will ignore it. And then assume that "more" will handle colors (either > because of the R setting, or because it is too dumb to escape it). > > I can prepare a patch series, but I happily no longer have any antique > systems to test this kind of stuff on.
Meh. I figured I would have to go to an antique system to find breakage, but it is easy to do it on Debian:
$ MORE=R more more: unknown option -R
So we do need to make it conditional.
-Peff