adding -R to the skeleton file for the PAGER variable

From: Larry Rosenman <ler_at_FreeBSD.org>
Date: Thu, 25 May 2017 20:17:57 -0500
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_at_FreeBSD.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281

Received on Thu May 25 2017 - 23:17:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC