mhonarc-commits
[Top] [All Lists]

CVS: mhonarc/MHonArc/lib mhusage.pl,2.27,2.28

2011-01-02 01:28:57
Update of mhonarc/MHonArc/lib
Modified Files:
	mhusage.pl 
Log Message:
Added check for /etc/alternatives/pager if PAGER envvar is not set.
Added some command-line options that are new, and some older ones
that were not included previously in the usage message.


======================================================================
FILE: mhonarc/MHonArc/lib/mhusage.pl
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mhonarc/MHonArc/lib/mhusage.pl?rev=2.28>

<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mhonarc/MHonArc/lib/mhusage.pl.diff?r1=2.27&r2=2.28&diff_format=h>
--- mhusage.pl	8 Jul 2005 06:34:04 -0000	2.27
+++ mhusage.pl	2 Jan 2011 07:28:55 -0000	2.28
@@ -36,4 +36,6 @@
                 (-t STDOUT) &&
                 (($ENV{'PAGER'} && open(PAGER, "| $ENV{'PAGER'}")) ||
+                 (-e '/etc/alternatives/pager' &&
+                  open(PAGER, '| /etc/alternatives/pager')) ||
                  (open(PAGER, '| more')))) {
             $usefh = \*PAGER;
@@ -86,6 +88,8 @@
   -expiredate <date>       : Message cut-off date
   -expireage <secs>        : Time from current when messages expire
+  -fasttempfiles           : Use non-random temporary filenames
   -fileperms <octal>       : File permissions for archive files
                              (def: "0666" -- UMASK is still applied)
+  -followsymlinks          : Allow/follow symlinks
   -folrefs                 : Print links to follow-ups/references
   -force                   : Perform archive operations even if unable to lock
@@ -118,5 +122,5 @@
   -mailtourl <url>         : URL to use for e-mail address hyperlinks
                              (def: "mailto:\$TO\$";)
-  -main                    : Create a main index
+  -main                    : Create a main index (the default)
   -maxpgs <#>              : Maximum number of index pages
   -maxsize <#>             : Maximum number of messages allowed in archive
@@ -143,4 +147,6 @@
   -nodecodeheads           : Leave message headers "as is" when read
   -nodoc                   : Do not print link to doc at end of index page
+  -nofasttempfiles         : Use random temporary filenames (the default)
+  -nofollowsymlinks        : Do not allow/follow symlinks (the default)
   -nofolrefs               : Do not print links to follow-ups/references
   -nogzipfiles             : Do not Gzip files (the default)
@@ -151,4 +157,6 @@
   -nomailto                : Do not add in mailto links for e-mail addresses
   -nomain                  : Do not create a main index
+  -nomodifybodyaddresses   : ADDRESSMODIFYCODE does not apply to text entities
+                             (the default)
   -nomodtime               : Do not set mod time on files to message date
   -nomsgpgs                : Do not create message pages
@@ -162,5 +170,5 @@
   -nosaveresources         : Do not save resource values in DB
   -nosort                  : Do not sort messages
-  -nospammode              : Do not obfuscate addresses
+  -nospammode              : Do not obfuscate addresses (the default)
   -nosubjectthreads        : Do not check subjects for threads
   -nosubjecttxt <text>     : Text to use if message has no subject

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS