5 .\" include the -mh macro file
8 .TH PACKF %manext1% MH.6.8 [%nmhversion%]
10 packf \- pack messages in nmh folder into a single file
23 \fIPackf\fR will pack copies of messages from a folder, into a single
26 If the `-mbox' switch is given (the default), then the messages are
27 separated using mbox (uucp) style delimiters. This is the format used
28 by most mail clients (elm, mailx, etc.).
30 If the `-mmdf' switch is given, then the messages are separated by
31 mmdf style delimiters. Each message in the file is separated by four
32 CTRL\-A's and a newline.
34 You may specify the name of the file in which to use with the
35 `\-file\ name' switch. If you do not specify the name of the file, it
36 will default to `msgbox'.
38 If the given file name points to an existing file, then the specified
39 messages will be appended to the end of the file, otherwise the file
40 will be created and the messages appended.
42 \fIpackf\fR makes an mbox-style delimiter by examining the first line
43 of the message. If the first line is a \*(lqReturn-Path:\*(rq
44 field, its address and the current date and time are used. Otherwise,
45 if the first line has an \*(lqX-Envelope-From:\*(rq field, its
46 contents (which should already be in the correct format) are used.
47 Otherwise, a dummy address and the current date and time are used.
49 Messages that are packed by \fIpackf\fR can be unpacked using
53 ^$HOME/\&.mh\(ruprofile~^The user profile
54 ^\&.msgbox\&.map~^A binary index of the file
56 ^Path:~^To determine the user's nmh directory
58 ^Current\-Folder:~^To find the default current folder
60 ^Msg\-Protect:~^To set mode when creating a new `file'
64 `+folder' defaults to the current folder
66 `msgs' defaults to all
72 If a folder is given, it will become the current folder. The first
73 message packed will become the current message.