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

--f4b2qcw6lssdp66x
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I ran into an "interesting" issue today using the devel/awscli
port.=20

aws help

generates almost unreadable output using the "standard" shell .profile, etc=
=2E=20

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

PAGER=3Dmore

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

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

PAGER=3D"more -R"

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

Comments?


--=20
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

--f4b2qcw6lssdp66x
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

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

--f4b2qcw6lssdp66x--



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