All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Kemper <saint.snit@gmail.com>
To: groff@gnu.org, linux-man@vger.kernel.org
Cc: "Helge Kreutzmann" <debian@helgefjell.de>,
	"Mario Blättermann" <mario.blaettermann@gmail.com>
Subject: Re: getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?)
Date: Mon, 17 May 2021 11:38:11 -0500	[thread overview]
Message-ID: <CACRhBXNpg8JTwQJdQnSo+X-+0BPsFrdttL9B7GTN16XUpECPLg@mail.gmail.com> (raw)
In-Reply-To: <20210517025022.wgjbt6esup7crgbo@localhost.localdomain>

On 5/16/21, G. Branden Robinson <g.branden.robinson@gmail.com> wrote:
> At 2021-05-16T20:29:30-0500, Dave Kemper wrote:
>> less's default is for searches to be case-sensitive.  Its -i option
>> (which can be given on the command line or while less is running) is
>> what activates the behavior described above.  A user or a distro might
>> make -i the default in their environment (I do) through the $LESS
>> environment variable or an alias, but that isn't less's out-of-the-box
>> behavior.
>
> On my Debian buster-based system, less(1) behaves that way, but $LESS is
> not defined in my environment and I don't have a shell alias or function
> set up.  Checking the source package, I don't see patches to turn -i on
> by default.  Baffling!

Maybe less's build system has a switch to compile in a different
default?  Maybe this is a recent change?  Maybe I'm completely wrong?
I haven't looked at the source or built it myself from github; I'm
going by the behavior on my systems, behavior I've observed on other
systems, and the wording of the man page (which documents "-i" to
invoke case-mostly-insensitive searches rather than an option to
switch to case-sensitive ones).

      parent reply	other threads:[~2021-05-17 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACRhBXNqafUZm_Tk4+GyK4hrEnmS8F_e=s_kwVMeX0utvOHkzQ@mail.gmail.com>
2021-05-17  2:50 ` getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?) G. Branden Robinson
2021-05-17  4:24   ` Michael Kerrisk (man-pages)
2021-05-17 16:38   ` Dave Kemper [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACRhBXNpg8JTwQJdQnSo+X-+0BPsFrdttL9B7GTN16XUpECPLg@mail.gmail.com \
    --to=saint.snit@gmail.com \
    --cc=debian@helgefjell.de \
    --cc=groff@gnu.org \
    --cc=linux-man@vger.kernel.org \
    --cc=mario.blaettermann@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.