Warning, /tools/mpack-1.6/unixpk.man is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit e768bd12 on 2008-02-26 17:05:00 UTC
ec6cf3b09d Ed H*0001 .TH MPACK 1
0002 .SH NAME
0003 mpack \- pack a file in MIME format
0004 .SH SYNOPSIS
0005 .B mpack
0006 [
e768bd1221 Jean*0007 .B \-a
0008 ]
0009 [
ec6cf3b09d Ed H*0010 .B \-s
0011 .I subject
0012 ]
0013 [
0014 .B \-d
0015 .I descriptionfile
0016 ]
0017 [
0018 .B \-m
0019 .I maxsize
0020 ]
0021 [
0022 .B \-c
0023 .I content-type
0024 ]
0025 .I file
0026 .I "address \&..."
0027 .br
0028 .B mpack
0029 [
e768bd1221 Jean*0030 .B \-a
0031 ]
0032 [
ec6cf3b09d Ed H*0033 .B \-s
0034 .I subject
0035 ]
0036 [
0037 .B \-d
0038 .I descriptionfile
0039 ]
0040 [
0041 .B \-m
0042 .I maxsize
0043 ]
0044 [
0045 .B \-c
0046 .I content-type
0047 ]
0048 .B \-o
0049 .I outputfile
0050 .I file
0051 .br
0052 .B mpack
0053 [
e768bd1221 Jean*0054 .B \-a
0055 ]
0056 [
ec6cf3b09d Ed H*0057 .B \-s
0058 .I subject
0059 ]
0060 [
0061 .B \-d
0062 .I descriptionfile
0063 ]
0064 [
0065 .B \-m
0066 .I maxsize
0067 ]
0068 [
0069 .B \-c
0070 .I content-type
0071 ]
0072 .B \-n
0073 .I newsgroups
0074 .I file
0075 .SH DESCRIPTION
0076 The
0077 .I mpack
0078 program encodes the
0079 the named file in one or more MIME messages.
0080 The resulting messages are mailed to one or more recipients,
0081 written to a named file or set of files, or posted to a set of
0082 newsgroups.
0083 .PP
0084 .SH OPTIONS
0085 .TP
e768bd1221 Jean*0086 .BI \-a
0087 Set the Content-Disposition to attachment. If \-a is not used
0088 the Content-Disposition is inline.
0089 .TP
ec6cf3b09d Ed H*0090 .BI \-s " subject"
0091 Set the
0092 .B Subject
0093 header field to
0094 .IR Subject .
0095 By default,
0096 .B mpack
0097 will prompt for the contents of the subject header.
0098 .TP
0099 .BI \-d " descriptionfile
0100 Include the contents of the file
0101 .I descriptionfile
0102 in an introductory section at the beginning of the first
0103 generated message.
0104 .TP
0105 .BI \-m " maxsize"
0106 Split the message (if necessary) into partial messages, each not
0107 exceeding
0108 .I maxsize
0109 characters. The default limit is the value of the
0110 .B SPLITSIZE
0111 environment variable, or no limit if the environment variable
0112 does not exist.
0113 Specifying a
0114 .I maxsize
0115 of 0 means there is no limit to the size of the generated message.
0116 .TP
0117 .BI \-c " content-type"
0118 Label the included file as being of MIME type
0119 .IR content-type ,
0120 which must be a subtype of
0121 .BR application ,
0122 .BR audio ,
0123 .BR image ,
0124 or
0125 .BR video .
0126 If this switch is not given,
0127 .B mpack
0128 examines the file to determine its type.
0129 .TP
0130 .BI \-o " outputfile"
0131 Write the generated message to the file
0132 .IR outputfile .
0133 If the message has to be split, the partial messages will instead be
0134 written to the files
0135 .IR outputfile .01,
0136 .IR outputfile .02,
0137 etc.
0138 .TP
0139 .BI \-n " newsgroups"
0140 Post the generated message(s) to the comma-separated netnews
0141 .IR newsgroups .
0142 .TP
0143 .I file
0144 Encode the named
0145 .IR file .
0146 .TP
0147 .I "address \&..."
0148 Mail the generated messages to the specified addresses.
0149 .SH ENVIRONMENT
0150 .TP
0151 .B TMPDIR
e768bd1221 Jean*0152 Directory to store temporary files. Default is /var/tmp.
ec6cf3b09d Ed H*0153 .TP
0154 .B SPLITSIZE
0155 Default value of the -m switch.