[Nix-dev] less: When assumptions ruin the world

Bjørn Forsman bjorn.forsman at gmail.com
Fri Jan 2 14:18:25 CET 2015


On 2 January 2015 at 14:01, Ertugrul Söylemez <ertesx at gmx.de> wrote:
[...]
> Of course all of this is my personal opinion.  If the majority of the
> community disagrees, then I will have to live with it.  I have opened
> this thread because I think that many people will actually agree.

Hm, I've never thought of "automatic less" as a misfeature before. I
didn't have anything to do with its inclusion in nix, but I remember
when I started using git that I was pleasantly surprised by it's use
of less, which made git more fun to work with. (If I was a nix
developer I might have added "automatic less" myself.)

So what's the best way forward? Using $NIX_PAGER first, as suggested
by Michael Jones earlier in this thread? That should cover your use
case, right? (_And_ preserve the current behaviour for people liking
it "interactive"?

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list