Hi Xavier, All,
Is there a way for a user to configure the default pager mode in Modules? As far as I can see, the options are:
a) Disable the pager feature altogether by clearing MODULES_PAGER or assigning it the value "cat". No pagination is available.
b) Accept the default pagination with "less -eFKRX" and make the user disable it manually with "-no-pager"
I am looking for a third option:
c) Keep "less -eFKRX" in MODULES_PAGER but allow the default pagination to be no-pager. If the user wanted to paginate the output, they would need to explicitly use "-paginate"
This c) option to me is the most natural behaviour and allows the user to configure a default pagination mode whilst having the option to override it with an explicit command line switch. The current functionality is not neutral as It's skewed towards displaying the output with pagination by default.
While on the subject, would it be possible to consider shortcuts for the "-paginate" and "-no-pager" command line options?
Many thanks,
Marc.
|