Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2017 20:17:57 -0500
From:      Larry Rosenman <ler@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Subject:   adding -R to the skeleton file for the PAGER variable
Message-ID:  <20170526011757.ykuptsuroj4ucy5g@lrosenman.lerctr.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I ran into an "interesting" issue today using the devel/awscli
port. 

aws help

generates almost unreadable output using the "standard" shell .profile, etc. 

The reason is it uses $PAGER or $MANPAGER if it's present, and the skeleton
sets:

PAGER=more

which, using the .rst files that awscli has, just makes the output ESC 
sequences get printed and not acted upon. 

I'm wondering if there would be any objections to changing the "standard" 
skeleton PAGER environment to:

PAGER="more -R"

so the ESC sequences get passed through to the terminal unmolested and do the
right thing.

Comments?


-- 
Larry Rosenman                         https://people.FreeBSD.org/~ler/
Phone: +1 214-642-9640                 E-Mail: ler@FreeBSD.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQGTBAABCgB9FiEEHjgknedhWzvJgwVzaXyZsatIp30FAlkngkVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDFF
MzgyNDlERTc2MTVCM0JDOTgzMDU3MzY5N0M5OUIxQUI0OEE3N0QACgkQaXyZsatI
p33v9Af8DKcELw1BcSVuhCExlDFvYko+Svj1t+ozHVMlfnX7mok3A0Lf2IyBKczr
A5V0zNrtXMOmlXaYvhi4TblICuDCWsZzk4X4Q28UzmkqOzRHSS7m50zCYpvxDgie
/xdNzpRjPOLNL7YWrxubyGl787FFXJOk41gpsUr7gHaBfUfQIF0ZP11HmS7iZtmj
BxClc184MwigMdMnp9WAZpcD6PQxIIRsLJPkdBNQDNOsT8oYrc/vTN+qmLdKs1/D
UIOqhMefDwpyN3VOm21C32/jm2YLd6wRwnFHAaXUOQ2g0GzvMEoBmC7m/C04uCUG
3RQ4XeZYiiVhsU9En0h5ESxsc+cDcQ==
=UCxb
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170526011757.ykuptsuroj4ucy5g>