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

Yuya Nishihara yuya at tcha.org
Fri Apr 21 23:45:23 EDT 2017


On Fri, 21 Apr 2017 17:30:50 -0700, Jun Wu wrote:
> Excerpts from Gregory Szorc's message of 2017-04-21 17:19:37 -0700:
> > I think this patch is acceptable. However, at the point we're sniffing
> > platforms and assuming that `more` is `less`, wouldn't we be better off
> > switching the default pager to `less` on these platforms? After all,
> > `MORE=FRX more` will cause actual/not-less `more` to error with "unknown
> > option -FRX." So if we know we're using `less,` let's just use it and avoid
> > less's "more compatibility mode" altogether.
> 
> I think both are nice to have. This patch also solves issues if people
> specify "pager.pager=more" explicitly.

-0. This might show cryptic error if he installed "more" of util-linux.

> 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?


More information about the Mercurial-devel mailing list