Le jeudi 28 janvier 2021, 09:31:00 UTC Michael Kerrisk (man-pages) a écrit :
> On 1/27/21 4:48 PM, roucaries.bast...@gmail.com wrote:
> > From: Bastien Roucariès <ro...@debian.org>
> > 
> > More is the default pager in a lot of system mention it
> 
> Really "more" and not "less"?

Yes, debian distribution have been patched to fallback to pager that is less 
by default. But it is not the standard

I plan to add a debian specific patch

Bastien
> 
> On my system, 'git commit' and 'man' use less(1) when PAGER
> is not set.
> 
> Thanks,
> 
> Michael
> 
> > ---
> > 
> >  man7/environ.7 | 8 +++++++-
> >  1 file changed, 7 insertions(+), 1 deletion(-)
> > 
> > diff --git a/man7/environ.7 b/man7/environ.7
> > index 81932d894..981038ea1 100644
> > --- a/man7/environ.7
> > +++ b/man7/environ.7
> > @@ -132,7 +132,12 @@ The terminal type for which output is to be prepared.
> > 
> >  The user's preferred utility to display text files.
> >  Any string acceptable as a command_string operand to the
> >  .I sh\ \-c
> > 
> > -command shall be valid.
> > +command shall be valid. If the
> > +.B PAGER
> > +variable is null or not set,
> > +command could fall back
> > +.B more (1)
> > +or any suitable paging utility as the system default.
> > 
> >  .TP
> >  .BR EDITOR / VISUAL
> >  The user's preferred utility to edit text files.
> > 
> > @@ -362,6 +367,7 @@ should use instead an explicit \(aq\fB.\fP\(aq.
> > 
> >  .BR env (1),
> >  .BR login (1),
> >  .BR mktemp (1),
> > 
> > +.BR more (1),
> > 
> >  .BR printenv (1),
> >  .BR sh (1),
> >  .BR su (1),

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to