version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
MPACK |
| |
|
2 |
!!!MPACK |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
OPTIONS |
| |
|
7 |
ENVIRONMENT |
| |
|
8 |
---- |
| |
|
9 |
!!NAME |
| |
|
10 |
|
| |
|
11 |
|
| |
|
12 |
mpack - pack a file in MIME format |
| |
|
13 |
!!SYNOPSIS |
| |
|
14 |
|
| |
|
15 |
|
| |
|
16 |
__mpack__ [[ __-s__ ''subject'' ] [[ __-d__ |
| |
|
17 |
''descriptionfile'' ] [[ __-m__ ''maxsize'' ] [[ |
| |
|
18 |
__-c__ ''content-type'' ] ''file address |
| |
|
19 |
...''__ |
| |
|
20 |
mpack__ [[ __-s__ ''subject'' ] [[ __-d__ |
| |
|
21 |
''descriptionfile'' ] [[ __-m__ ''maxsize'' ] [[ |
| |
|
22 |
__-c__ ''content-type'' ] __-o__ ''outputfile |
| |
|
23 |
file''__ |
| |
|
24 |
mpack__ [[ __-s__ ''subject'' ] [[ __-d__ |
| |
|
25 |
''descriptionfile'' ] [[ __-m__ ''maxsize'' ] [[ |
| |
|
26 |
__-c__ ''content-type'' ] __-n__ ''newsgroups |
| |
|
27 |
file'' |
| |
|
28 |
!!DESCRIPTION |
| |
|
29 |
|
| |
|
30 |
|
| |
|
31 |
The ''mpack'' program encodes the the named file in one |
| |
|
32 |
or more MIME messages. The resulting messages are mailed to |
| |
|
33 |
one or more recipients, written to a named file or set of |
| |
|
34 |
files, or posted to a set of newsgroups. |
| |
|
35 |
!!OPTIONS |
| |
|
36 |
|
| |
|
37 |
|
| |
|
38 |
__-s__ ''subject'' |
| |
|
39 |
|
| |
|
40 |
|
| |
|
41 |
Set the __Subject__ header field to ''Subject''. By |
| |
|
42 |
default, __mpack__ will prompt for the contents of the |
| |
|
43 |
subject header. |
| |
|
44 |
|
| |
|
45 |
|
| |
|
46 |
__-d__ ''descriptionfile'' |
| |
|
47 |
|
| |
|
48 |
|
| |
|
49 |
Include the contents of the file ''descriptionfile'' in |
| |
|
50 |
an introductory section at the beginning of the first |
| |
|
51 |
generated message. |
| |
|
52 |
|
| |
|
53 |
|
| |
|
54 |
__-m__ ''maxsize'' |
| |
|
55 |
|
| |
|
56 |
|
| |
|
57 |
Split the message (if necessary) into partial messages, each |
| |
|
58 |
not exceeding ''maxsize'' characters. The default limit |
| |
|
59 |
is the value of the __SPLITSIZE__ environment variable, |
| |
|
60 |
or no limit if the environment variable does not exist. |
| |
|
61 |
Specifying a ''maxsize'' of 0 means there is no limit to |
| |
|
62 |
the size of the generated message. |
| |
|
63 |
|
| |
|
64 |
|
| |
|
65 |
__-c__ ''content-type'' |
| |
|
66 |
|
| |
|
67 |
|
| |
|
68 |
Label the included file as being of MIME type |
| |
|
69 |
''content-type'', which must be a subtype of |
| |
|
70 |
__application__, __audio__, __image__, or |
| |
|
71 |
__video__. If this switch is not given, __mpack__ |
| |
|
72 |
examines the file to determine its type. |
| |
|
73 |
|
| |
|
74 |
|
| |
|
75 |
__-o__ ''outputfile'' |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
Write the generated message to the file ''outputfile''. |
| |
|
79 |
If the message has to be split, the partial messages will |
| |
|
80 |
instead be written to the files ''outputfile''.01, |
| |
|
81 |
''outputfile''.02, etc. |
| |
|
82 |
|
| |
|
83 |
|
| |
|
84 |
__-n__ ''newsgroups'' |
| |
|
85 |
|
| |
|
86 |
|
| |
|
87 |
Post the generated message(s) to the comma-separated netnews |
| |
|
88 |
''newsgroups''. |
| |
|
89 |
|
| |
|
90 |
|
| |
|
91 |
''file'' |
| |
|
92 |
|
| |
|
93 |
|
| |
|
94 |
Encode the named ''file''. |
| |
|
95 |
|
| |
|
96 |
|
| |
|
97 |
''address ...'' |
| |
|
98 |
|
| |
|
99 |
|
| |
|
100 |
Mail the generated messages to the specified |
| |
|
101 |
addresses. |
| |
|
102 |
!!ENVIRONMENT |
| |
|
103 |
|
| |
|
104 |
|
| |
|
105 |
__TMPDIR__ |
| |
|
106 |
|
| |
|
107 |
|
| |
|
108 |
Directory to store temporary files. Default is |
| |
|
109 |
/var/tmp. |
| |
|
110 |
|
| |
|
111 |
|
| |
|
112 |
__SPLITSIZE__ |
| |
|
113 |
|
| |
|
114 |
|
| |
|
115 |
Default value of the -m switch. |
| |
|
116 |
---- |