Hi, Tom Eastep wrote: > The PAGER isn't compiled into the generated script; the script doesn't > produce output requiring a pager. So it is strictly within the CLI that > PAGER is used.
Mh, OK. I only noticed that when I set "PAGER=foo" in shorewall[6].conf I'll get an error regarding PAGER on safe-restart. That's why I thought it will be compiled into the script. My fault. > When it comes to default settings, I generally don't change them except > at a major release. As you have noted, another factor is that there is > no uniformity with respect to the default pager implementation among the > distributions. The current Shorewall philosophy is that > distribution-specific settings are in the shorewallrc file. So we could > add a new variable such as DEFAULTPAGER to the shorewallrc file and set > it via the configure[.pl] script(s). Then, shorewall[6].conf could have > PAGER=$DEFAULTPAGER. Well, specifying PAGER in shorewallrc is another thing for me: For me the main idea was to use the system (user) default if set. So the user has something working out of the box. Only if the user don't want to use the default PAGER in shorewall or no pager at all shorewall[6].conf needs to be touched. So when you set PAGER=/usr/bin/less in shorewallrc because currently the user has set PAGER=/usr/bin/less environment variable this wouldn't be dynamic: If the user changes the default pager, shorewall should instantly use the same new default pager if shorewall is set to use "system default". That was at least my idea. :) -Thomas
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users