[PATCH STABLE] pager: set MORE=FRX on OS X and FreeBSD

Augie Fackler raf at durin42.com
Sat Apr 22 10:30:37 EDT 2017


> On Apr 21, 2017, at 23:45, Yuya Nishihara <yuya at tcha.org> wrote:
> 
>> For changing "fallbackpager" from "more" to "less", I'm +0.5 but I may be
>> biased. Others should comment.
> 
> +1 for this. Perhaps that is the default of git?

`less` is a better default if and only if it's available - in my (limited) research, `more` was the only pager we can be sure exists. The way git handles this is that the default-default is `less`, but you're one compile-time config knob from changing it to something else. Same for the default-default LESS environment variable.

We can probably get away with `less` as the default-default, but we should still strongly encourage packagers to do the right thing with a config rather than patching the code (since they don't need to.)


More information about the Mercurial-devel mailing list