Do *not* parse arguments in PAGER #430
Labels
feature-request
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
We recently introduced command-line argument parsing for
PAGER
andBAT_PAGER
and it's been causing some problems, because some people have setPAGER="less -X"
(or similar) without including the-R
argument which is needed in order forbat
to work withless
(enables parsing of ANSI sequences).I think we should disable parsing of command line arguments for
PAGER
again but leave it forBAT_PAGER
. If someone hasPAGER="less -X"
set, we should fall back to the default behavior (useless
with-FRX
).The text was updated successfully, but these errors were encountered: