X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fbcd71b31868c9969836b00a90a0bf32b13111ef..9f8418e870a70c264eda1598f2d470e5428c216d:/man/mh-folders.man?ds=inline diff --git a/man/mh-folders.man b/man/mh-folders.man index 4b560e47..65a1d3e9 100644 --- a/man/mh-folders.man +++ b/man/mh-folders.man @@ -1,4 +1,4 @@ -.TH MH-MAIL %manext5% "March 7, 2013" "%nmhversion%" +.TH MH-FOLDERS %manext5% "February 25, 2016" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -108,7 +108,7 @@ the sequence file should be updated to remove the missing messages from the sequence. If a sequence contains no messages, it should be removed from the sequence file. The exception to this is the .B cur -sequence, which can refer to a nonexistant message. +sequence, which can refer to a nonexistent message. .RE .PP .SS Locking @@ -128,32 +128,64 @@ outside of that accesses these files must be sure to lock them using the same locking method as .BR nmh . -The locking method is selected when +The default data locking method is selected when .B nmh is configured and can be accessed as a string using -.BR "mhparam lockmethod" . +.BR "mhparam datalocking" . +By default, fcntl locking is used, but this may be overridden with +the +.B datalocking +profile entry. +.PP +A second, possibly different, locking method is used by +.BR inc (1) +when accessing the user's mail spool file or by +.B nmh +programs that open any mbox file. This locking method can be overridden +when +.B nmh +is configured, or in the +.B nmh +mts configuration file, and can be accessed as a string using +.BR "mhparam spoollocking" . By default, kernel-level locking is used if appropriate for the platform, and it is for popular platforms. That default should also be the same as used by the .B mail program, if provided on the platform. +.PP +.SS Naming +.B nmh +folders can be given arbitrary names, with one exception: +folders should not be given all-numeric names. This +limitation results from +.B nmh +messages themselves being stored +in numerically named files -- allowing folders to be named +similarly would make +.B nmh +slower, and introduce usage ambiguities. .SH FILES -.fc ^ ~ -.nf -.ta \w'^/\&.mh\(rusequences~'u -^/context~^The user context -^or $MHCONTEXT~^Rather than the standard context -^/\&.mh\(rusequences~^Public sequences for -.fi +.PD 0 +.TP 20 +/context +The user's context. +.TP 20 +$MHCONTEXT +Overrides the above context. +.TP 20 +/\&.mh\-sequences +Public sequences for . .SH "SEE ALSO" .I .IR flist (1), .IR folder (1), .IR mail (1), .IR mark (1), -.IR mh\-param (1), -.IR mh\-path (1), +.IR mhparam (1), +.IR mhpath (1), .IR mh\-profile (5), .IR mh\-sequence (5), +.IR mh\-tailor (5), .IR pick (1), .IR rcvstore (1)