Le ven. 29 janv. 2021 à 12:28, Michael Kerrisk (man-pages) <mtk.manpa...@gmail.com> a écrit : > > On Fri, 29 Jan 2021 at 12:00, Bastien Roucariès > <roucaries.bast...@gmail.com> wrote: > > > > 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 use Fedora. The default is "less" on the applications I looked at. > When you say "it is not the standard", can you say more precisely what > you mean?
According to POSIX mailx manual: PAGER Determine a string representing an output filtering or pagination command for writing the output to the terminal. Any string acceptable as a command_string operand to the sh -c command shall be valid. When standard output is a terminal device, the message output shall be piped through the command if the mailx internal variable crt is set to a value less the number of lines in the message; see Internal Variables in mailx. If the PAGER variable is null or not set, the paginator shall be either more or another paginator utility documented in the system documentation. The effects of this variable are unspecified if the User Portability Utilities option is not supported. So it is up to the distribution to use less, > > Thanks, > > Michael > > > -- > Michael Kerrisk > Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ > Linux/UNIX System Programming Training: http://man7.org/training/