use %etcdir% for spacing instead of hardcoding
[mmh] / man / rcvpack.man
1 .\"
2 .\" %nmhwarning%
3 .\" $Id$
4 .\"
5 .TH RCVPACK %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 .SH NAME
7 rcvpack \- append message to file
8 .SH SYNOPSIS
9 .HP 5
10 .na
11 .B %libdir%/rcvpack
12 .I file
13 .RB [ \-mbox ]
14 .RB [ \-mmdf ]
15 .RB [ \-version ]
16 .RB [ \-help ]
17 .ad
18 .SH DESCRIPTION
19 The
20 .B rcvpack
21 program will append a copy of the message to the file
22 listed on its command line.
23 .PP
24 If the
25 .B \-mbox
26 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.).
29 .PP 
30 If the
31 .B \-mmdf
32 switch is given, then the messages are separated by
33 mmdf style delimiters.  Each message in the file is separated by four
34 CTRL\-A's and a newline.
35 .PP
36 .B rcvpack
37 will correctly lock and unlock the file to serialize
38 access to the file, when running multiple copies of
39 .B rcvpack .
40 .PP
41 In general, its use is obsoleted by the
42 .B file
43 action of
44 .BR slocal ,
45 although it might still have occasional uses in various
46 shell scripts.
47
48 .SH FILES
49 .fc ^ ~
50 .nf
51 .ta \w'%etcdir%/ExtraBigFileName  'u
52 ^%etcdir%/mts.conf~^nmh mts configuration file
53 .fi
54
55 .SH "SEE ALSO"
56 rcvdist(1), rcvstore(1), rcvtty(1), slocal(1)
57
58 .SH BUGS
59 Only two return codes are meaningful, others should be.