📄 uuenview.1
字号:
.\" $Id: uuenview.1,v 1.12 2002/03/06 13:57:36 fp Exp $ ".TH UUENVIEW 1 "June 2001".SH NAMEuuenview \- a powerful encoder for binary files.SH SYNOPSIS.B "uuenview [options] \fIfile(s)\fP".br.SH DESCRIPTION.B uuenviewencodes a binary file into ASCII text for sending over non-8-bitelectronic data channels, such as electronic mail or the usenet..B uuenviewis a superset of and fully backwards compatible with the standard.BR uuencode (1)command, featuring more comfort and more flexibility..PPFiles encoded with.B uuenvieware compatible with virtually all decoders, as long as the encodingmethod (see below) is supported by the remote side. If the remoteside uses.BR uudeview (1),there shouldn't be any problems at all..PPIf properly configured,.B uuenviewcan directly send encoded files by email or to the usenet. Thesemessages are wrapped into a proper MIME envelope, which is handy ifthe recipient uses MIME-compliant mail or news software..SH OPTIONS.SS ENCODING SELECTION.TP.B -bChooses the.I Base64encoding method as specified by the.I MIMEstandard..TP.B -uChooses the.I uuencodingmethod, for compatibility with.BR uuencode (1)..TP.B -yChooses the.I yEncodingmethod..TP.B -xChooses the now obsolete.I xxencodingmethod..TP.B -tSends the file(s) as plain text..TP.B -qEncodes the file(s) using quoted printable encoding..PPThese options are positional and affect the encoding of all remainingfiles on the command line until changed..PPWhen sending, posting or attaching files, the default is to useBase64, resulting in MIME compliant messages. Otherwise, when encodingto standard output or into a file, the default is to use uuencoding..SS TARGETS.TP.B -oSpecifies that output shall be written into files. These files willhave the same base name as the source file and an extension of.B .001, .002etc, depending on the number of parts required by the.B \-linesoption. The encoded files are written to the current directory..TP.BI -od " path"Same as '-o', but the encoded files are written to the givendirectory instead..TP.BI -m " email"Mails the encoded file(s), each one probably split into multiple parts,to the given email address. Multiple recipients can be given as a quoted, comma-separated list. On Unix systems, mail is usually pipedto.BR sendmail (8)..TP.BI -p " newsgroup"Posts the encoded file(s), each one probably split into multiple parts,to the given newsgroup. Multiple newsgroups can be given as a quoted,comma-separated list. The.BR inews (1)program is invoked for posting. You may have to set the.I NNTPSERVERenviroment variable to your news server..TP.B -aAttaches files. This feature is expected to be used from shell scriptsand the like. In attach mode, a message is read from standard input,complete with headers. The files given on the command line are then"attached" to the message, which is converted, if necessary, to aproper MIME multipart format. The.B -aoption can be combined with.B -mor.B -pin order to directly mail or post the result. Else, the message,complete with attachments, is written to standard output..PPIf no target option is given, the encoded data is printed to standardoutput..SS HEADERSWhen mailing or posting a file, it is possible to set certain headers.Be careful to quote parameters that consist of more than one word..TP.BI -s " subject"Set the.I Subject:header line. The file name and part number are automaticallyappended. Without this, a default subject header is generated..TP.BI -f " from"Set the.I From:header line..TP.BI -r " reply"Set the.I Reply-To:header line..SS OTHER.TP.B -vVerbosely prints everything the program's trying to do..TP.BI - linesSubstituting.I lineswith a number,sets the maximum number of encoded lines per part. The encoded datais automatically split into as many parts as required. Line countsless than 200 are ignored. The uuencoding and xxencoding methodsencode 45k, and Base64 encodes 57k of data in 1000 lines. If thisoption is not specified, the default is unlimited lines per part,resulting in exactly one part..TP.I file(s)One or more filenames to be processed. To encode a file from thestandard input, use a single hyphen '\-' and give a filename to beused for the encoded file as the next parameter..PPOptions may also be set in the $UUENVIEW environment variable, whichis read before processing the options on the command line..SH NOTES.PPFiles read from standard input can only be used once, meaning thatat most one target option may be given..PPOutput written to standard output cannot be split into multiple parts.In this case, the.BI - linesoption is ignored..PP.B uuenviewmust be correctly configured at compile time in order for mailing andposting to work. If it doesn't, consult your system administrator.The program used for posting a file can be set at runtime using the.I INEWSenvironment variable. This setting overrides the compile-time configuration..PPBase64 is not MIME. Base64 is the encoding specified by the MIME standard,but in order for a message to become a proper MIME message, a number ofheaders are required..B uuenviewproduces these headers when mailing or posting, but not when writing toa file. In this case,.B uuenviewdoes not have any control over the headers. If you include Base64output into your messages, they are.B notMIME-compliant!.PPIf you rename, copy or link the program to.BR uuencode ,it may act as a smart replacement for the standard, accepting the samecommand-line syntax. This has not been well-tested yet..SH EXAMPLES.TP.B uuenview -m 'root,fred@somewhere.com' uudeview.tgzEncodes the file.I uudeview.tgzand mails it to both your local system administrator and to your friendFred at the Somewhere company..PPIf you give more than one filename on the command line, each file isusually handled separately. A workaround is to send them all asattachment to a single (or empty) mail:.TP.B uuenview -m root -b -a file1 file2 < /dev/nullCreates an empty mail and attaches the two given files, encoded inBase64 format, and mails the result to your system administrator..SH "SEE ALSO".BR uudeview (1),.BR uuencode (1),.BR uudecode (1),.BR sendmail (8),.BR inews (1)..PD 0.PPThe.B uudeviewhomepage on the Web, .PD 0.PPhttp://www.fpx.de/fp/Software/UUDeview/.PD.SH BUGS.PPThe program does not detect error conditions when mailing or posting..PPAttaching only works reliably if certain headers of the input message(for example Content-Type) are not folded and shorter than 1024characters..PPIt is not possible to encode into BinHex..PPThe program will quite likely fail to handle binary data as input forplain text or quoted-printable attachments. On plain text attachments,the line length (must be less than 998 characters according to MIME)is not enforced..PPIt is not possible to set the "charset" value of plain textattachments..PPIt is not possible to set the content type value of attachments..PP.BR sendmail (8)stops reading upon a line consisting only of a single dot..I uudeviewdoes not check plain text input files against this condition. (Theproblem is worked around when using quoted-printable, and does notexist with the other encodings.)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -