IIRC, as I scripted this and haven't looked at it for a long time: LESS=-MMs
Sent using a tiny phone keyboard.
Apologies for any typos and autocorrect.
Also, this old phone only supports top post. Apologies.
<cy.schub...@cschubert.com> or <c...@freebsd.org>
The need of the many outweighs the greed of the few.
Sent: 06/12/2017 15:03
To: Alan Somers
Cc: freebsd-hack...@freebsd.org; Jamie Landeg-Jones; FreeBSD CURRENT
Subject: Re: Strange behavior about pattern matching on manual pages [FIXED]
> 在 2017年12月7日，06:53，Alan Somers <asom...@freebsd.org> 写道：
> On Wed, Dec 6, 2017 at 3:35 PM, Jamie Landeg-Jones <ja...@catflap.org
> <mailto:ja...@catflap.org>> wrote:
> Alan Somers <asom...@freebsd.org <mailto:asom...@freebsd.org>> wrote:
> > How about just setting MANPAGER=less in your environment?
> Because some of us prefer "more"?
> And as I said, it's related to searching using the more(1) command generally.
> I was under the impression that fixing bugs in existing commands was a better
> solution than telling someone to simply use something else.
> Yes, it certainly is. Are you sure this is actually a bug in less, or is it
> just weird-but-intended behavior when less is emulating some old version of
> more? It would be worth comparing our less sources to upstream's to see what
> differences have crept in, and svn blaming them to see why.
I just test it in FreeBSD 11.1-RELEASE-p5
It works well when I change PAGER=more to PAGER=less before man(1).
And I found more(1) and less(1) is the same thing(they have the same inode
number laying in fs), may be just different command name, different behavior.
If it is emulating more(1) behavior by less(1), why not just replace default
freebsd-hack...@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"