[darcs-users] darcs patch: Support command line arguments in PAGER or DARCS_PAGER
Trent W. Buck
twb at cybersource.com.au
Mon Aug 24 03:45:13 UTC 2009
joe at elem.com writes:
> PAGER="less -is" darcs help
This specific example is dumb. The correct way to do it is
PAGER=less LESS=is
Indeed, git will actually set LESS=FR (or so) if it is not set.
Perhaps a better example would be
PAGER='w3m -title'
since unfortunately (AFAIK) w3m provides no better way to get -title
semantics.
PS: Personally I got so sick of apps mishandling arguments and such in
$VISUAL, $BROWSER &c that I just switched to using wrappers:
http://twb.ath.cx/Preferences/.bin/twb-pager
http://twb.ath.cx/Preferences/.bin/twb-browser
http://twb.ath.cx/Preferences/.bin/twb-editor
http://twb.ath.cx/Preferences/.bin/twb-emacsclient
More information about the darcs-users
mailing list