Commit | Line | Data |
---|---|---|
e16dc90a C |
1 | .TH UUENCODE 1C "1 June 1980" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | uuencode,uudecode \- encode/decode a binary file for tranmission via mail | |
5 | .SH SYNOPSIS | |
6 | .B uuencode | |
7 | [ source ] remotedest | | |
8 | .B mail | |
9 | sys1!sys2!..!decode | |
10 | .br | |
11 | .B uudecode | |
12 | [ file ] | |
13 | .SH DESCRIPTION | |
14 | .I Uuencode | |
15 | and | |
16 | .I uudecode | |
17 | are used to send a binary file via uucp (or other) mail. | |
18 | This combination can be used over indirect mail links | |
19 | even when | |
20 | .I uusend(1) | |
21 | is not available. | |
22 | .PP | |
23 | .I Uuencode | |
24 | takes the named source file (default standard input) and | |
25 | produces an encoded version on the standard output. | |
26 | The encoding uses only printing ASCII characters, | |
27 | and includes the mode of the file and the | |
28 | .I remotedest | |
29 | for recreation on the remote system. | |
30 | .PP | |
31 | .I Uudecode | |
32 | reads an encoded file, | |
33 | strips off any leading and trailing lines added by mailers, | |
34 | and recreates the original file with the specified mode and name. | |
35 | .PP | |
36 | The intent is that all mail to the user ``decode'' should be filtered | |
37 | through the uudecode program. This way the file is created automatically | |
38 | without human intervention. | |
39 | This is possible on the uucp network by either using | |
40 | .I delivermail | |
41 | or by making | |
42 | .I rmail | |
43 | be a link to | |
44 | .I Mail | |
45 | instead of | |
46 | .I mail. | |
47 | In each case, an alias must be created in a master file to get | |
48 | the automatic invocation of uudecode. | |
49 | .PP | |
50 | If these facilities are not available, the file can be sent to a | |
51 | user on the remote machine who can uudecode it manually. | |
52 | .PP | |
53 | The encode file has an ordinary text form and can be edited | |
54 | by any text editor to change the mode or remote name. | |
55 | .SH SEE\ ALSO | |
56 | uuencode(5), uusend(1), uucp(1), uux(1), mail(1) | |
57 | .SH AUTHOR | |
58 | Mark Horton | |
59 | .SH BUGS | |
60 | The file is expanded by 35% (3 bytes become 4 plus control information) | |
61 | causing it to take longer to transmit. | |
62 | .PP | |
63 | The user on the remote system who is invoking | |
64 | .I uudecode | |
65 | (often | |
66 | .I uucp) | |
67 | must have write permission on the specified file. |