Since I do not have a C or C++ build environment, I was looking for the less 530 release for Windows.
I found it via these links:
- [WayBack] Less FAQ
- [WayBack] Less version history
- [WayBack] Downloading less
- win32 version 530 in [Archive.is] Index of /misc/less
- version 530 [WayBack] less: README | Fossies
- [WayBack] GitHub – gwsw/less: Less – text pager
- Stuck at 530: [WayBack] GitHub – rivy/less
Searching for less 530
, I bumped in these links as well:
- [WayBack] `less` performs differently when invoked from Bash and from Git – Unix & Linux Stack Exchange
- When invoked via
git
, it does not restore screen content
- When invoked via
- Cause: [WayBack] Git – git-config Documentation:
core.pager
core.pager
Text viewer for use by Git commands (e.g., less). The value is meant to be interpreted by the shell. The order of preference is the
$GIT_PAGER
environment variable, thencore.pager
configuration, then$PAGER
, and then the default chosen at compile time (usually less).When the
LESS
environment variable is unset, Git sets it toFRX
(ifLESS
environment variable is set, Git does not change it at all). If you want to selectively override Git’s default setting forLESS
, you can setcore.pager
to e.g.less -S
. This will be passed to the shell by Git, which will translate the final command toLESS=FRX less -S
. The environment does not set theS
option but the command line does, instructing less to truncate long lines. Similarly, settingcore.pager
toless -+F
will deactivate theF
option specified by the environment from the command-line, deactivating the “quit if one screen” behavior ofless
. One can specifically activate some flags for particular commands: for example, settingpager.blame
toless -S
enables line truncation only forgit blame
.Likewise, when the
LV
environment variable is unset, Git sets it to-c
. You can override this setting by exportingLV
with another value or settingcore.pager
tolv +c
.
–jeroen