home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive
| default
| |
99%
| file
| POSIX tar archive, directory ange-ftp-4.2/, mode 000755 , uid 027043 , gid 000013 , size 00000000000 , seconds 05214346505, user marca, group pinheads
| default
| |
98%
| file
| data
| default
| |
62%
| TrID
| TAR - Tape ARchive (POSIX)
| default
| |
37%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| POSIX tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive, owner user name: "-4.2/"
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 61 6e 67 65 2d 66 74 70 | 2d 34 2e 32 2f 00 00 00 |ange-ftp|-4.2/...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 30 30 30 37 | 35 35 20 00 30 32 37 30 |....0007|55 .0270|
|00000070| 34 33 20 00 30 30 30 30 | 31 33 20 00 30 30 30 30 |43 .0000|13 .0000|
|00000080| 30 30 30 30 30 30 30 20 | 30 35 32 31 34 33 34 36 |0000000 |05214346|
|00000090| 35 30 35 20 30 31 32 35 | 37 36 00 20 35 00 00 00 |505 0125|76. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 00 30 | 30 6d 61 72 63 61 00 00 |.ustar.0|0marca..|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 70 69 6e 68 65 61 64 |........|.pinhead|
|00000130| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 61 6e 67 65 2d 66 74 70 | 2d 34 2e 32 2f 61 6e 67 |ange-ftp|-4.2/ang|
|00000210| 65 2d 66 74 70 2e 65 6c | 00 00 00 00 00 00 00 00 |e-ftp.el|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 30 30 30 36 | 34 34 20 00 30 32 37 30 |....0006|44 .0270|
|00000270| 34 33 20 00 30 30 30 30 | 31 33 20 00 30 30 30 30 |43 .0000|13 .0000|
|00000280| 30 36 31 36 35 36 30 20 | 30 35 31 37 30 30 36 37 |0616560 |05170067|
|00000290| 36 33 34 20 30 31 34 36 | 34 33 00 20 30 00 00 00 |634 0146|43. 0...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 00 30 | 30 6d 61 72 63 61 00 00 |.ustar.0|0marca..|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 70 69 6e 68 65 61 64 |........|.pinhead|
|00000330| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 3b 3b 20 2d 2a 2d 45 6d | 61 63 73 2d 4c 69 73 70 |;; -*-Em|acs-Lisp|
|00000410| 2d 2a 2d 0a 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |-*-.;;;;|;;;;;;;;|
|00000420| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000430| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000440| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000450| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000460| 3b 3b 3b 0a 3b 3b 0a 3b | 3b 20 46 69 6c 65 3a 20 |;;;.;;.;|; File: |
|00000470| 20 20 20 20 20 20 20 20 | 61 6e 67 65 2d 66 74 70 | |ange-ftp|
|00000480| 2e 65 6c 0a 3b 3b 20 52 | 43 53 3a 20 20 20 20 20 |.el.;; R|CS: |
|00000490| 20 20 20 20 20 24 48 65 | 61 64 65 72 3a 20 61 6e | $He|ader: an|
|000004a0| 67 65 2d 66 74 70 2e 65 | 6c 2c 76 20 34 2e 32 20 |ge-ftp.e|l,v 4.2 |
|000004b0| 39 32 2f 30 34 2f 30 33 | 20 31 37 3a 30 35 3a 35 |92/04/03| 17:05:5|
|000004c0| 34 20 61 6e 67 65 20 45 | 78 70 20 24 0a 3b 3b 20 |4 ange E|xp $.;; |
|000004d0| 44 65 73 63 72 69 70 74 | 69 6f 6e 3a 20 20 74 72 |Descript|ion: tr|
|000004e0| 61 6e 73 70 61 72 65 6e | 74 20 46 54 50 20 73 75 |ansparen|t FTP su|
|000004f0| 70 70 6f 72 74 20 66 6f | 72 20 47 4e 55 20 45 6d |pport fo|r GNU Em|
|00000500| 61 63 73 0a 3b 3b 20 41 | 75 74 68 6f 72 3a 20 20 |acs.;; A|uthor: |
|00000510| 20 20 20 20 20 41 6e 64 | 79 20 4e 6f 72 6d 61 6e | And|y Norman|
|00000520| 2c 20 61 6e 67 65 40 68 | 70 6c 62 2e 68 70 6c 2e |, ange@h|plb.hpl.|
|00000530| 68 70 2e 63 6f 6d 0a 3b | 3b 20 43 72 65 61 74 65 |hp.com.;|; Create|
|00000540| 64 3a 20 20 20 20 20 20 | 54 68 75 20 4f 63 74 20 |d: |Thu Oct |
|00000550| 31 32 20 31 34 3a 30 30 | 3a 30 35 20 31 39 38 39 |12 14:00|:05 1989|
|00000560| 0a 3b 3b 20 4d 6f 64 69 | 66 69 65 64 3a 20 20 20 |.;; Modi|fied: |
|00000570| 20 20 46 72 69 20 41 70 | 72 20 20 33 20 31 36 3a | Fri Ap|r 3 16:|
|00000580| 33 32 3a 34 37 20 31 39 | 39 32 20 28 41 6e 67 65 |32:47 19|92 (Ange|
|00000590| 29 20 61 6e 67 65 40 61 | 6e 6f 72 6d 61 6e 0a 3b |) ange@a|norman.;|
|000005a0| 3b 0a 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;.;;;;;;|;;;;;;;;|
|000005b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000005c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000005d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000005e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000005f0| 3b 0a 0a 3b 3b 3b 20 43 | 6f 70 79 72 69 67 68 74 |;..;;; C|opyright|
|00000600| 20 28 43 29 20 31 39 38 | 39 2c 20 31 39 39 30 2c | (C) 198|9, 1990,|
|00000610| 20 31 39 39 31 2c 20 31 | 39 39 32 20 20 41 6e 64 | 1991, 1|992 And|
|00000620| 79 20 4e 6f 72 6d 61 6e | 2e 0a 3b 3b 3b 0a 3b 3b |y Norman|..;;;.;;|
|00000630| 3b 20 41 75 74 68 6f 72 | 3a 20 41 6e 64 79 20 4e |; Author|: Andy N|
|00000640| 6f 72 6d 61 6e 20 28 61 | 6e 67 65 40 68 70 6c 62 |orman (a|nge@hplb|
|00000650| 2e 68 70 6c 2e 68 70 2e | 63 6f 6d 29 0a 3b 3b 3b |.hpl.hp.|com).;;;|
|00000660| 0a 3b 3b 3b 20 54 68 69 | 73 20 70 72 6f 67 72 61 |.;;; Thi|s progra|
|00000670| 6d 20 69 73 20 66 72 65 | 65 20 73 6f 66 74 77 61 |m is fre|e softwa|
|00000680| 72 65 3b 20 79 6f 75 20 | 63 61 6e 20 72 65 64 69 |re; you |can redi|
|00000690| 73 74 72 69 62 75 74 65 | 20 69 74 20 61 6e 64 2f |stribute| it and/|
|000006a0| 6f 72 20 6d 6f 64 69 66 | 79 0a 3b 3b 3b 20 69 74 |or modif|y.;;; it|
|000006b0| 20 75 6e 64 65 72 20 74 | 68 65 20 74 65 72 6d 73 | under t|he terms|
|000006c0| 20 6f 66 20 74 68 65 20 | 47 4e 55 20 47 65 6e 65 | of the |GNU Gene|
|000006d0| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|000006e0| 73 65 20 61 73 20 70 75 | 62 6c 69 73 68 65 64 20 |se as pu|blished |
|000006f0| 62 79 0a 3b 3b 3b 20 74 | 68 65 20 46 72 65 65 20 |by.;;; t|he Free |
|00000700| 53 6f 66 74 77 61 72 65 | 20 46 6f 75 6e 64 61 74 |Software| Foundat|
|00000710| 69 6f 6e 3b 20 65 69 74 | 68 65 72 20 76 65 72 73 |ion; eit|her vers|
|00000720| 69 6f 6e 20 31 2c 20 6f | 72 20 28 61 74 20 79 6f |ion 1, o|r (at yo|
|00000730| 75 72 20 6f 70 74 69 6f | 6e 29 0a 3b 3b 3b 20 61 |ur optio|n).;;; a|
|00000740| 6e 79 20 6c 61 74 65 72 | 20 76 65 72 73 69 6f 6e |ny later| version|
|00000750| 2e 0a 3b 3b 3b 0a 3b 3b | 3b 20 54 68 69 73 20 70 |..;;;.;;|; This p|
|00000760| 72 6f 67 72 61 6d 20 69 | 73 20 64 69 73 74 72 69 |rogram i|s distri|
|00000770| 62 75 74 65 64 20 69 6e | 20 74 68 65 20 68 6f 70 |buted in| the hop|
|00000780| 65 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 62 |e that i|t will b|
|00000790| 65 20 75 73 65 66 75 6c | 2c 0a 3b 3b 3b 20 62 75 |e useful|,.;;; bu|
|000007a0| 74 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 57 41 |t WITHOU|T ANY WA|
|000007b0| 52 52 41 4e 54 59 3b 20 | 77 69 74 68 6f 75 74 20 |RRANTY; |without |
|000007c0| 65 76 65 6e 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |even the| implied|
|000007d0| 20 77 61 72 72 61 6e 74 | 79 20 6f 66 0a 3b 3b 3b | warrant|y of.;;;|
|000007e0| 20 4d 45 52 43 48 41 4e | 54 41 42 49 4c 49 54 59 | MERCHAN|TABILITY|
|000007f0| 20 6f 72 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 | or FITN|ESS FOR |
|00000800| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00000810| 50 4f 53 45 2e 20 20 53 | 65 65 20 74 68 65 0a 3b |POSE. S|ee the.;|
|00000820| 3b 3b 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 |;; GNU G|eneral P|
|00000830| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 66 6f |ublic Li|cense fo|
|00000840| 72 20 6d 6f 72 65 20 64 | 65 74 61 69 6c 73 2e 0a |r more d|etails..|
|00000850| 3b 3b 3b 0a 3b 3b 3b 20 | 41 20 63 6f 70 79 20 6f |;;;.;;; |A copy o|
|00000860| 66 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |f the GN|U Genera|
|00000870| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00000880| 20 63 61 6e 20 62 65 20 | 6f 62 74 61 69 6e 65 64 | can be |obtained|
|00000890| 20 66 72 6f 6d 20 74 68 | 69 73 0a 3b 3b 3b 20 70 | from th|is.;;; p|
|000008a0| 72 6f 67 72 61 6d 27 73 | 20 61 75 74 68 6f 72 20 |rogram's| author |
|000008b0| 28 73 65 6e 64 20 65 6c | 65 63 74 72 6f 6e 69 63 |(send el|ectronic|
|000008c0| 20 6d 61 69 6c 20 74 6f | 20 61 6e 67 65 40 68 70 | mail to| ange@hp|
|000008d0| 6c 62 2e 68 70 6c 2e 68 | 70 2e 63 6f 6d 29 20 6f |lb.hpl.h|p.com) o|
|000008e0| 72 20 66 72 6f 6d 0a 3b | 3b 3b 20 74 68 65 20 46 |r from.;|;; the F|
|000008f0| 72 65 65 20 53 6f 66 74 | 77 61 72 65 20 46 6f 75 |ree Soft|ware Fou|
|00000900| 6e 64 61 74 69 6f 6e 2c | 20 49 6e 63 2e 2c 20 36 |ndation,| Inc., 6|
|00000910| 37 35 20 4d 61 73 73 20 | 41 76 65 2c 20 43 61 6d |75 Mass |Ave, Cam|
|00000920| 62 72 69 64 67 65 2c 20 | 4d 41 0a 3b 3b 3b 20 30 |bridge, |MA.;;; 0|
|00000930| 32 31 33 39 2c 20 55 53 | 41 2e 0a 0a 3b 3b 3b 20 |2139, US|A...;;; |
|00000940| 44 65 73 63 72 69 70 74 | 69 6f 6e 3a 0a 3b 3b 3b |Descript|ion:.;;;|
|00000950| 0a 3b 3b 3b 20 54 68 69 | 73 20 70 61 63 6b 61 67 |.;;; Thi|s packag|
|00000960| 65 20 61 74 74 65 6d 70 | 74 73 20 74 6f 20 6d 61 |e attemp|ts to ma|
|00000970| 6b 65 20 61 63 63 65 73 | 73 69 6e 67 20 66 69 6c |ke acces|sing fil|
|00000980| 65 73 20 61 6e 64 20 64 | 69 72 65 63 74 6f 72 69 |es and d|irectori|
|00000990| 65 73 20 75 73 69 6e 67 | 20 46 54 50 0a 3b 3b 3b |es using| FTP.;;;|
|000009a0| 20 66 72 6f 6d 20 77 69 | 74 68 69 6e 20 47 4e 55 | from wi|thin GNU|
|000009b0| 20 45 6d 61 63 73 20 61 | 73 20 73 69 6d 70 6c 65 | Emacs a|s simple|
|000009c0| 20 61 6e 64 20 74 72 61 | 6e 73 70 61 72 65 6e 74 | and tra|nsparent|
|000009d0| 20 61 73 20 70 6f 73 73 | 69 62 6c 65 2e 20 20 41 | as poss|ible. A|
|000009e0| 20 73 75 62 73 65 74 20 | 6f 66 0a 3b 3b 3b 20 74 | subset |of.;;; t|
|000009f0| 68 65 20 63 6f 6d 6d 6f | 6e 20 66 69 6c 65 2d 68 |he commo|n file-h|
|00000a00| 61 6e 64 6c 69 6e 67 20 | 72 6f 75 74 69 6e 65 73 |andling |routines|
|00000a10| 20 61 72 65 20 65 78 74 | 65 6e 64 65 64 20 74 6f | are ext|ended to|
|00000a20| 20 69 6e 74 65 72 61 63 | 74 20 77 69 74 68 20 46 | interac|t with F|
|00000a30| 54 50 2e 0a 0a 3b 3b 3b | 20 49 6e 73 74 61 6c 6c |TP...;;;| Install|
|00000a40| 61 74 69 6f 6e 3a 0a 3b | 3b 3b 0a 3b 3b 3b 20 42 |ation:.;|;;.;;; B|
|00000a50| 79 74 65 2d 63 6f 6d 70 | 69 6c 65 20 61 6e 67 65 |yte-comp|ile ange|
|00000a60| 2d 66 74 70 2e 65 6c 20 | 74 6f 20 61 6e 67 65 2d |-ftp.el |to ange-|
|00000a70| 66 74 70 2e 65 6c 63 20 | 61 6e 64 20 70 75 74 20 |ftp.elc |and put |
|00000a80| 74 68 65 6d 20 62 6f 74 | 68 20 69 6e 20 61 20 64 |them bot|h in a d|
|00000a90| 69 72 65 63 74 6f 72 79 | 0a 3b 3b 3b 20 6f 6e 20 |irectory|.;;; on |
|00000aa0| 79 6f 75 72 20 6c 6f 61 | 64 2d 70 61 74 68 2e 20 |your loa|d-path. |
|00000ab0| 20 4c 6f 61 64 20 74 68 | 65 20 70 61 63 6b 61 67 | Load th|e packag|
|00000ac0| 65 20 66 72 6f 6d 20 79 | 6f 75 72 20 2e 65 6d 61 |e from y|our .ema|
|00000ad0| 63 73 20 66 69 6c 65 20 | 77 69 74 68 3a 0a 3b 3b |cs file |with:.;;|
|00000ae0| 3b 0a 3b 3b 3b 20 20 20 | 28 72 65 71 75 69 72 65 |;.;;; |(require|
|00000af0| 20 27 61 6e 67 65 2d 66 | 74 70 29 2e 0a 3b 3b 3b | 'ange-f|tp)..;;;|
|00000b00| 0a 3b 3b 3b 20 61 6e 67 | 65 2d 66 74 70 20 63 61 |.;;; ang|e-ftp ca|
|00000b10| 6e 27 74 20 73 65 6e 73 | 69 62 6c 79 20 62 65 20 |n't sens|ibly be |
|00000b20| 61 75 74 6f 2d 6c 6f 61 | 64 65 64 3b 20 79 6f 75 |auto-loa|ded; you|
|00000b30| 20 61 72 65 20 65 69 74 | 68 65 72 20 75 73 69 6e | are eit|her usin|
|00000b40| 67 20 69 74 2c 20 6f 72 | 20 79 6f 75 0a 3b 3b 3b |g it, or| you.;;;|
|00000b50| 20 61 69 6e 27 74 2e 0a | 0a 3b 3b 3b 20 55 73 61 | ain't..|.;;; Usa|
|00000b60| 67 65 3a 0a 3b 3b 3b 0a | 3b 3b 3b 20 53 6f 6d 65 |ge:.;;;.|;;; Some|
|00000b70| 20 6f 66 20 74 68 65 20 | 63 6f 6d 6d 6f 6e 20 47 | of the |common G|
|00000b80| 4e 55 20 45 6d 61 63 73 | 20 66 69 6c 65 2d 68 61 |NU Emacs| file-ha|
|00000b90| 6e 64 6c 69 6e 67 20 6f | 70 65 72 61 74 69 6f 6e |ndling o|peration|
|00000ba0| 73 20 68 61 76 65 20 62 | 65 65 6e 20 6d 61 64 65 |s have b|een made|
|00000bb0| 0a 3b 3b 3b 20 46 54 50 | 2d 73 6d 61 72 74 2e 20 |.;;; FTP|-smart. |
|00000bc0| 20 49 66 20 6f 6e 65 20 | 6f 66 20 74 68 65 73 65 | If one |of these|
|00000bd0| 20 72 6f 75 74 69 6e 65 | 73 20 69 73 20 67 69 76 | routine|s is giv|
|00000be0| 65 6e 20 61 20 66 69 6c | 65 6e 61 6d 65 20 74 68 |en a fil|ename th|
|00000bf0| 61 74 20 6d 61 74 63 68 | 65 73 0a 3b 3b 3b 20 27 |at match|es.;;; '|
|00000c00| 2f 75 73 65 72 40 68 6f | 73 74 3a 70 61 74 68 27 |/user@ho|st:path'|
|00000c10| 20 74 68 65 6e 20 69 74 | 20 77 69 6c 6c 20 73 70 | then it| will sp|
|00000c20| 61 77 6e 20 61 6e 20 46 | 54 50 20 70 72 6f 63 65 |awn an F|TP proce|
|00000c30| 73 73 20 63 6f 6e 6e 65 | 63 74 69 6e 67 20 74 6f |ss conne|cting to|
|00000c40| 20 6d 61 63 68 69 6e 65 | 0a 3b 3b 3b 20 27 68 6f | machine|.;;; 'ho|
|00000c50| 73 74 27 20 61 73 20 61 | 63 63 6f 75 6e 74 20 27 |st' as a|ccount '|
|00000c60| 75 73 65 72 27 20 61 6e | 64 20 70 65 72 66 6f 72 |user' an|d perfor|
|00000c70| 6d 20 69 74 73 20 6f 70 | 65 72 61 74 69 6f 6e 20 |m its op|eration |
|00000c80| 6f 6e 20 74 68 65 20 66 | 69 6c 65 20 27 70 61 74 |on the f|ile 'pat|
|00000c90| 68 27 2e 0a 3b 3b 3b 0a | 3b 3b 3b 20 46 6f 72 20 |h'..;;;.|;;; For |
|00000ca0| 65 78 61 6d 70 6c 65 3a | 20 69 66 20 66 69 6e 64 |example:| if find|
|00000cb0| 2d 66 69 6c 65 20 69 73 | 20 67 69 76 65 6e 20 61 |-file is| given a|
|00000cc0| 20 66 69 6c 65 6e 61 6d | 65 20 6f 66 3a 0a 3b 3b | filenam|e of:.;;|
|00000cd0| 3b 0a 3b 3b 3b 20 20 20 | 2f 61 6e 67 65 40 61 6e |;.;;; |/ange@an|
|00000ce0| 6f 72 6d 61 6e 3a 2f 74 | 6d 70 2f 6e 6f 74 65 73 |orman:/t|mp/notes|
|00000cf0| 0a 3b 3b 3b 0a 3b 3b 3b | 20 74 68 65 6e 20 61 6e |.;;;.;;;| then an|
|00000d00| 67 65 2d 66 74 70 20 77 | 69 6c 6c 20 73 70 61 77 |ge-ftp w|ill spaw|
|00000d10| 6e 20 61 6e 20 46 54 50 | 20 70 72 6f 63 65 73 73 |n an FTP| process|
|00000d20| 2c 20 63 6f 6e 6e 65 63 | 74 20 74 6f 20 74 68 65 |, connec|t to the|
|00000d30| 20 68 6f 73 74 20 27 61 | 6e 6f 72 6d 61 6e 27 20 | host 'a|norman' |
|00000d40| 61 73 0a 3b 3b 3b 20 75 | 73 65 72 20 27 61 6e 67 |as.;;; u|ser 'ang|
|00000d50| 65 27 2c 20 67 65 74 20 | 74 68 65 20 66 69 6c 65 |e', get |the file|
|00000d60| 20 27 2f 74 6d 70 2f 6e | 6f 74 65 73 27 20 61 6e | '/tmp/n|otes' an|
|00000d70| 64 20 70 6f 70 20 75 70 | 20 61 20 62 75 66 66 65 |d pop up| a buffe|
|00000d80| 72 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |r contai|ning the|
|00000d90| 0a 3b 3b 3b 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 |.;;; con|tents of|
|00000da0| 20 74 68 61 74 20 66 69 | 6c 65 20 61 73 20 69 66 | that fi|le as if|
|00000db0| 20 69 74 20 77 65 72 65 | 20 6f 6e 20 74 68 65 20 | it were| on the |
|00000dc0| 6c 6f 63 61 6c 20 66 69 | 6c 65 73 79 73 74 65 6d |local fi|lesystem|
|00000dd0| 2e 20 20 49 66 20 61 6e | 67 65 2d 66 74 70 0a 3b |. If an|ge-ftp.;|
|00000de0| 3b 3b 20 6e 65 65 64 65 | 64 20 61 20 70 61 73 73 |;; neede|d a pass|
|00000df0| 77 6f 72 64 20 74 6f 20 | 63 6f 6e 6e 65 63 74 20 |word to |connect |
|00000e00| 74 68 65 6e 20 69 74 20 | 77 6f 75 6c 64 20 70 72 |then it |would pr|
|00000e10| 6f 6d 70 74 20 74 68 65 | 20 75 73 65 72 20 69 6e |ompt the| user in|
|00000e20| 20 74 68 65 0a 3b 3b 3b | 20 6d 69 6e 69 62 75 66 | the.;;;| minibuf|
|00000e30| 66 65 72 2e 0a 0a 3b 3b | 3b 20 45 78 74 65 6e 64 |fer...;;|; Extend|
|00000e40| 65 64 20 66 69 6c 65 6e | 61 6d 65 20 73 79 6e 74 |ed filen|ame synt|
|00000e50| 61 78 3a 0a 3b 3b 3b 0a | 3b 3b 3b 20 54 68 65 20 |ax:.;;;.|;;; The |
|00000e60| 64 65 66 61 75 6c 74 20 | 65 78 74 65 6e 64 65 64 |default |extended|
|00000e70| 20 66 69 6c 65 6e 61 6d | 65 20 73 79 6e 74 61 78 | filenam|e syntax|
|00000e80| 20 69 73 20 27 2f 75 73 | 65 72 40 68 6f 73 74 3a | is '/us|er@host:|
|00000e90| 70 61 74 68 27 2c 20 77 | 68 65 72 65 20 74 68 65 |path', w|here the|
|00000ea0| 0a 3b 3b 3b 20 27 75 73 | 65 72 40 27 20 70 61 72 |.;;; 'us|er@' par|
|00000eb0| 74 20 6d 61 79 20 62 65 | 20 6f 6d 69 74 74 65 64 |t may be| omitted|
|00000ec0| 2e 20 20 54 68 69 73 20 | 73 79 6e 74 61 78 20 63 |. This |syntax c|
|00000ed0| 61 6e 20 62 65 20 63 75 | 73 74 6f 6d 69 73 65 64 |an be cu|stomised|
|00000ee0| 20 74 6f 20 61 20 63 65 | 72 74 61 69 6e 0a 3b 3b | to a ce|rtain.;;|
|00000ef0| 3b 20 65 78 74 65 6e 74 | 20 62 79 20 63 68 61 6e |; extent| by chan|
|00000f00| 67 69 6e 67 20 61 6e 67 | 65 2d 66 74 70 2d 70 61 |ging ang|e-ftp-pa|
|00000f10| 74 68 2d 66 6f 72 6d 61 | 74 2e 20 20 54 68 65 72 |th-forma|t. Ther|
|00000f20| 65 20 61 72 65 20 6c 69 | 6d 69 74 61 74 69 6f 6e |e are li|mitation|
|00000f30| 73 2e 0a 3b 3b 3b 0a 3b | 3b 3b 20 49 66 20 74 68 |s..;;;.;|;; If th|
|00000f40| 65 20 75 73 65 72 20 70 | 61 72 74 20 69 73 20 6f |e user p|art is o|
|00000f50| 6d 69 74 74 65 64 20 74 | 68 65 6e 20 61 6e 67 65 |mitted t|hen ange|
|00000f60| 2d 66 74 70 20 77 69 6c | 6c 20 67 65 6e 65 72 61 |-ftp wil|l genera|
|00000f70| 74 65 20 61 20 64 65 66 | 61 75 6c 74 20 75 73 65 |te a def|ault use|
|00000f80| 72 0a 3b 3b 3b 20 69 6e | 73 74 65 61 64 20 77 68 |r.;;; in|stead wh|
|00000f90| 6f 73 65 20 76 61 6c 75 | 65 20 64 65 70 65 6e 64 |ose valu|e depend|
|00000fa0| 73 20 6f 6e 20 74 68 65 | 20 76 61 72 69 61 62 6c |s on the| variabl|
|00000fb0| 65 20 61 6e 67 65 2d 66 | 74 70 2d 64 65 66 61 75 |e ange-f|tp-defau|
|00000fc0| 6c 74 2d 75 73 65 72 2e | 0a 0a 3b 3b 3b 20 50 61 |lt-user.|..;;; Pa|
|00000fd0| 73 73 77 6f 72 64 73 3a | 0a 3b 3b 3b 0a 3b 3b 3b |sswords:|.;;;.;;;|
|00000fe0| 20 41 20 70 61 73 73 77 | 6f 72 64 20 69 73 20 72 | A passw|ord is r|
|00000ff0| 65 71 75 69 72 65 64 20 | 66 6f 72 20 65 61 63 68 |equired |for each|
|00001000| 20 68 6f 73 74 20 2f 20 | 75 73 65 72 20 70 61 69 | host / |user pai|
|00001010| 72 2e 20 20 54 68 69 73 | 20 77 69 6c 6c 20 62 65 |r. This| will be|
|00001020| 20 70 72 6f 6d 70 74 65 | 64 0a 3b 3b 3b 20 66 6f | prompte|d.;;; fo|
|00001030| 72 20 77 68 65 6e 20 6e | 65 65 64 65 64 2c 20 75 |r when n|eeded, u|
|00001040| 6e 6c 65 73 73 20 61 6c | 72 65 61 64 79 20 73 65 |nless al|ready se|
|00001050| 74 20 62 79 20 63 61 6c | 6c 69 6e 67 20 61 6e 67 |t by cal|ling ang|
|00001060| 65 2d 66 74 70 2d 73 65 | 74 2d 70 61 73 73 77 64 |e-ftp-se|t-passwd|
|00001070| 2c 20 6f 72 0a 3b 3b 3b | 20 73 70 65 63 69 66 69 |, or.;;;| specifi|
|00001080| 65 64 20 69 6e 20 61 20 | 2a 76 61 6c 69 64 2a 20 |ed in a |*valid* |
|00001090| 7e 2f 2e 6e 65 74 72 63 | 20 66 69 6c 65 2e 0a 0a |~/.netrc| file...|
|000010a0| 3b 3b 3b 20 50 61 73 73 | 77 6f 72 64 73 20 66 6f |;;; Pass|words fo|
|000010b0| 72 20 75 73 65 72 20 22 | 61 6e 6f 6e 79 6d 6f 75 |r user "|anonymou|
|000010c0| 73 22 3a 0a 3b 3b 3b 0a | 3b 3b 3b 20 50 61 73 73 |s":.;;;.|;;; Pass|
|000010d0| 77 6f 72 64 73 20 66 6f | 72 20 74 68 65 20 75 73 |words fo|r the us|
|000010e0| 65 72 20 22 61 6e 6f 6e | 79 6d 6f 75 73 22 20 28 |er "anon|ymous" (|
|000010f0| 6f 72 20 22 66 74 70 22 | 29 20 61 72 65 20 68 61 |or "ftp"|) are ha|
|00001100| 6e 64 6c 65 64 20 73 70 | 65 63 69 61 6c 6c 79 2e |ndled sp|ecially.|
|00001110| 20 20 54 68 65 0a 3b 3b | 3b 20 76 61 72 69 61 62 | The.;;|; variab|
|00001120| 6c 65 20 61 6e 67 65 2d | 66 74 70 2d 67 65 6e 65 |le ange-|ftp-gene|
|00001130| 72 61 74 65 2d 61 6e 6f | 6e 79 6d 6f 75 73 2d 70 |rate-ano|nymous-p|
|00001140| 61 73 73 77 6f 72 64 20 | 63 6f 6e 74 72 6f 6c 73 |assword |controls|
|00001150| 20 77 68 61 74 20 68 61 | 70 70 65 6e 73 3a 20 69 | what ha|ppens: i|
|00001160| 66 0a 3b 3b 3b 20 74 68 | 65 20 76 61 6c 75 65 20 |f.;;; th|e value |
|00001170| 6f 66 20 74 68 69 73 20 | 76 61 72 69 61 62 6c 65 |of this |variable|
|00001180| 20 69 73 20 61 20 73 74 | 72 69 6e 67 2c 20 74 68 | is a st|ring, th|
|00001190| 65 6e 20 74 68 69 73 20 | 69 73 20 75 73 65 64 20 |en this |is used |
|000011a0| 61 73 20 74 68 65 20 70 | 61 73 73 77 6f 72 64 3b |as the p|assword;|
|000011b0| 0a 3b 3b 3b 20 69 66 20 | 6e 6f 6e 2d 6e 69 6c 2c |.;;; if |non-nil,|
|000011c0| 20 74 68 65 6e 20 61 20 | 70 61 73 73 77 6f 72 64 | then a |password|
|000011d0| 20 69 73 20 63 72 65 61 | 74 65 64 20 66 72 6f 6d | is crea|ted from|
|000011e0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|000011f0| 20 75 73 65 72 20 61 6e | 64 20 74 68 65 0a 3b 3b | user an|d the.;;|
|00001200| 3b 20 68 6f 73 74 6e 61 | 6d 65 20 6f 66 20 74 68 |; hostna|me of th|
|00001210| 65 20 6d 61 63 68 69 6e | 65 20 6f 6e 20 77 68 69 |e machin|e on whi|
|00001220| 63 68 20 47 4e 55 20 45 | 6d 61 63 73 20 69 73 20 |ch GNU E|macs is |
|00001230| 72 75 6e 6e 69 6e 67 3b | 20 69 66 20 6e 69 6c 20 |running;| if nil |
|00001240| 28 74 68 65 0a 3b 3b 3b | 20 64 65 66 61 75 6c 74 |(the.;;;| default|
|00001250| 29 20 74 68 65 6e 20 74 | 68 65 20 75 73 65 72 20 |) then t|he user |
|00001260| 69 73 20 70 72 6f 6d 70 | 74 65 64 20 66 6f 72 20 |is promp|ted for |
|00001270| 61 20 70 61 73 73 77 6f | 72 64 20 61 73 20 6e 6f |a passwo|rd as no|
|00001280| 72 6d 61 6c 2e 0a 0a 3b | 3b 3b 20 22 44 75 6d 62 |rmal...;|;; "Dumb|
|00001290| 22 20 55 4e 49 58 20 68 | 6f 73 74 73 3a 0a 3b 3b |" UNIX h|osts:.;;|
|000012a0| 3b 0a 3b 3b 3b 20 54 68 | 65 20 46 54 50 20 73 65 |;.;;; Th|e FTP se|
|000012b0| 72 76 65 72 73 20 6f 6e | 20 73 6f 6d 65 20 55 4e |rvers on| some UN|
|000012c0| 49 58 20 6d 61 63 68 69 | 6e 65 73 20 68 61 76 65 |IX machi|nes have|
|000012d0| 20 70 72 6f 62 6c 65 6d | 73 20 69 66 20 74 68 65 | problem|s if the|
|000012e0| 20 27 6c 73 27 20 63 6f | 6d 6d 61 6e 64 20 69 73 | 'ls' co|mmand is|
|000012f0| 0a 3b 3b 3b 20 75 73 65 | 64 2e 0a 3b 3b 3b 0a 3b |.;;; use|d..;;;.;|
|00001300| 3b 3b 20 54 68 65 20 72 | 6f 75 74 69 6e 65 20 61 |;; The r|outine a|
|00001310| 6e 67 65 2d 66 74 70 2d | 61 64 64 2d 64 75 6d 62 |nge-ftp-|add-dumb|
|00001320| 2d 75 6e 69 78 2d 68 6f | 73 74 20 63 61 6e 20 62 |-unix-ho|st can b|
|00001330| 65 20 63 61 6c 6c 65 64 | 20 74 6f 20 74 65 6c 6c |e called| to tell|
|00001340| 20 61 6e 67 65 2d 66 74 | 70 20 74 6f 0a 3b 3b 3b | ange-ft|p to.;;;|
|00001350| 20 6c 69 6d 69 74 20 69 | 74 73 65 6c 66 20 74 6f | limit i|tself to|
|00001360| 20 74 68 65 20 44 49 52 | 20 63 6f 6d 6d 61 6e 64 | the DIR| command|
|00001370| 20 61 6e 64 20 6e 6f 74 | 20 27 6c 73 27 20 66 6f | and not| 'ls' fo|
|00001380| 72 20 61 20 67 69 76 65 | 6e 20 55 4e 49 58 20 68 |r a give|n UNIX h|
|00001390| 6f 73 74 2e 20 20 4e 6f | 74 65 0a 3b 3b 3b 20 74 |ost. No|te.;;; t|
|000013a0| 68 61 74 20 74 68 69 73 | 20 63 68 61 6e 67 65 20 |hat this| change |
|000013b0| 77 69 6c 6c 20 74 61 6b | 65 20 65 66 66 65 63 74 |will tak|e effect|
|000013c0| 20 66 6f 72 20 74 68 65 | 20 63 75 72 72 65 6e 74 | for the| current|
|000013d0| 20 47 4e 55 20 45 6d 61 | 63 73 20 73 65 73 73 69 | GNU Ema|cs sessi|
|000013e0| 6f 6e 20 6f 6e 6c 79 2e | 0a 3b 3b 3b 20 53 65 65 |on only.|.;;; See|
|000013f0| 20 62 65 6c 6f 77 20 66 | 6f 72 20 61 20 64 69 73 | below f|or a dis|
|00001400| 63 75 73 73 69 6f 6e 20 | 6f 66 20 6e 6f 6e 2d 55 |cussion |of non-U|
|00001410| 4e 49 58 20 68 6f 73 74 | 73 2e 20 20 49 66 20 61 |NIX host|s. If a|
|00001420| 20 6c 61 72 67 65 20 6e | 75 6d 62 65 72 20 6f 66 | large n|umber of|
|00001430| 0a 3b 3b 3b 20 6d 61 63 | 68 69 6e 65 73 20 77 69 |.;;; mac|hines wi|
|00001440| 74 68 20 73 69 6d 69 6c | 61 72 20 68 6f 73 74 6e |th simil|ar hostn|
|00001450| 61 6d 65 73 20 68 61 76 | 65 20 74 68 69 73 20 70 |ames hav|e this p|
|00001460| 72 6f 62 6c 65 6d 20 74 | 68 65 6e 20 69 74 20 69 |roblem t|hen it i|
|00001470| 73 20 65 61 73 69 65 72 | 20 74 6f 20 73 65 74 0a |s easier| to set.|
|00001480| 3b 3b 3b 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |;;; the |value of|
|00001490| 20 61 6e 67 65 2d 66 74 | 70 2d 64 75 6d 62 2d 75 | ange-ft|p-dumb-u|
|000014a0| 6e 69 78 2d 68 6f 73 74 | 2d 72 65 67 65 78 70 20 |nix-host|-regexp |
|000014b0| 69 6e 20 79 6f 75 72 20 | 2e 65 6d 61 63 73 20 66 |in your |.emacs f|
|000014c0| 69 6c 65 2e 20 61 6e 67 | 65 2d 66 74 70 0a 3b 3b |ile. ang|e-ftp.;;|
|000014d0| 3b 20 69 73 20 75 6e 61 | 62 6c 65 20 74 6f 20 61 |; is una|ble to a|
|000014e0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 72 65 63 |utomatic|ally rec|
|000014f0| 6f 67 6e 69 7a 65 20 64 | 75 6d 62 20 75 6e 69 78 |ognize d|umb unix|
|00001500| 20 68 6f 73 74 73 2e 0a | 0a 3b 3b 3b 20 46 69 6c | hosts..|.;;; Fil|
|00001510| 65 20 6e 61 6d 65 20 63 | 6f 6d 70 6c 65 74 69 6f |e name c|ompletio|
|00001520| 6e 3a 0a 3b 3b 3b 0a 3b | 3b 3b 20 46 75 6c 6c 20 |n:.;;;.;|;; Full |
|00001530| 66 69 6c 65 2d 6e 61 6d | 65 20 63 6f 6d 70 6c 65 |file-nam|e comple|
|00001540| 74 69 6f 6e 20 69 73 20 | 73 75 70 70 6f 72 74 65 |tion is |supporte|
|00001550| 64 20 6f 6e 20 55 4e 49 | 58 2c 20 56 4d 53 2c 20 |d on UNI|X, VMS, |
|00001560| 43 4d 53 2c 20 61 6e 64 | 20 4d 54 53 20 68 6f 73 |CMS, and| MTS hos|
|00001570| 74 73 2e 0a 3b 3b 3b 20 | 54 6f 20 64 6f 20 66 69 |ts..;;; |To do fi|
|00001580| 6c 65 6e 61 6d 65 20 63 | 6f 6d 70 6c 65 74 69 6f |lename c|ompletio|
|00001590| 6e 2c 20 61 6e 67 65 2d | 66 74 70 20 6e 65 65 64 |n, ange-|ftp need|
|000015a0| 73 20 61 20 6c 69 73 74 | 69 6e 67 20 66 72 6f 6d |s a list|ing from|
|000015b0| 20 74 68 65 20 72 65 6d | 6f 74 65 20 68 6f 73 74 | the rem|ote host|
|000015c0| 2e 0a 3b 3b 3b 20 54 68 | 65 72 65 66 6f 72 65 2c |..;;; Th|erefore,|
|000015d0| 20 66 6f 72 20 76 65 72 | 79 20 73 6c 6f 77 20 63 | for ver|y slow c|
|000015e0| 6f 6e 6e 65 63 74 69 6f | 6e 73 2c 20 69 74 20 6d |onnectio|ns, it m|
|000015f0| 69 67 68 74 20 6e 6f 74 | 20 73 61 76 65 20 61 6e |ight not| save an|
|00001600| 79 20 74 69 6d 65 2e 0a | 0a 3b 3b 3b 20 46 54 50 |y time..|.;;; FTP|
|00001610| 20 70 72 6f 63 65 73 73 | 65 73 3a 0a 3b 3b 3b 0a | process|es:.;;;.|
|00001620| 3b 3b 3b 20 57 68 65 6e | 20 61 6e 67 65 2d 66 74 |;;; When| ange-ft|
|00001630| 70 20 73 74 61 72 74 73 | 20 75 70 20 61 6e 20 46 |p starts| up an F|
|00001640| 54 50 20 70 72 6f 63 65 | 73 73 2c 20 69 74 20 6c |TP proce|ss, it l|
|00001650| 65 61 76 65 73 20 69 74 | 20 72 75 6e 6e 69 6e 67 |eaves it| running|
|00001660| 20 66 6f 72 20 73 70 65 | 65 64 0a 3b 3b 3b 20 70 | for spe|ed.;;; p|
|00001670| 75 72 70 6f 73 65 73 2e | 20 20 53 6f 6d 65 20 46 |urposes.| Some F|
|00001680| 54 50 20 73 65 72 76 65 | 72 73 20 77 69 6c 6c 20 |TP serve|rs will |
|00001690| 63 6c 6f 73 65 20 74 68 | 65 20 63 6f 6e 6e 65 63 |close th|e connec|
|000016a0| 74 69 6f 6e 20 61 66 74 | 65 72 20 61 20 70 65 72 |tion aft|er a per|
|000016b0| 69 6f 64 20 6f 66 0a 3b | 3b 3b 20 74 69 6d 65 2c |iod of.;|;; time,|
|000016c0| 20 62 75 74 20 61 6e 67 | 65 2d 66 74 70 20 73 68 | but ang|e-ftp sh|
|000016d0| 6f 75 6c 64 20 62 65 20 | 61 62 6c 65 20 74 6f 20 |ould be |able to |
|000016e0| 71 75 69 65 74 6c 79 20 | 72 65 63 6f 6e 6e 65 63 |quietly |reconnec|
|000016f0| 74 20 74 68 65 20 6e 65 | 78 74 20 74 69 6d 65 20 |t the ne|xt time |
|00001700| 74 68 61 74 0a 3b 3b 3b | 20 74 68 65 20 70 72 6f |that.;;;| the pro|
|00001710| 63 65 73 73 20 69 73 20 | 6e 65 65 64 65 64 2e 0a |cess is |needed..|
|00001720| 3b 3b 3b 0a 3b 3b 3b 20 | 54 68 65 20 46 54 50 20 |;;;.;;; |The FTP |
|00001730| 70 72 6f 63 65 73 73 20 | 77 69 6c 6c 20 62 65 20 |process |will be |
|00001740| 6b 69 6c 6c 65 64 20 73 | 68 6f 75 6c 64 20 74 68 |killed s|hould th|
|00001750| 65 20 61 73 73 6f 63 69 | 61 74 65 64 20 22 2a 66 |e associ|ated "*f|
|00001760| 74 70 20 75 73 65 72 40 | 68 6f 73 74 2a 22 0a 3b |tp user@|host*".;|
|00001770| 3b 3b 20 62 75 66 66 65 | 72 20 62 65 20 64 65 6c |;; buffe|r be del|
|00001780| 65 74 65 64 2e 20 20 54 | 68 69 73 20 73 68 6f 75 |eted. T|his shou|
|00001790| 6c 64 20 6e 6f 74 20 63 | 61 75 73 65 20 61 6e 67 |ld not c|ause ang|
|000017a0| 65 2d 66 74 70 20 61 6e | 79 20 67 72 69 65 66 2e |e-ftp an|y grief.|
|000017b0| 0a 0a 3b 3b 3b 20 42 69 | 6e 61 72 79 20 66 69 6c |..;;; Bi|nary fil|
|000017c0| 65 20 74 72 61 6e 73 66 | 65 72 73 3a 0a 3b 3b 3b |e transf|ers:.;;;|
|000017d0| 0a 3b 3b 3b 20 42 79 20 | 64 65 66 61 75 6c 74 20 |.;;; By |default |
|000017e0| 61 6e 67 65 2d 66 74 70 | 20 77 69 6c 6c 20 74 72 |ange-ftp| will tr|
|000017f0| 61 6e 73 66 65 72 20 66 | 69 6c 65 73 20 69 6e 20 |ansfer f|iles in |
|00001800| 41 53 43 49 49 20 6d 6f | 64 65 2e 20 20 49 66 20 |ASCII mo|de. If |
|00001810| 61 20 66 69 6c 65 20 62 | 65 69 6e 67 0a 3b 3b 3b |a file b|eing.;;;|
|00001820| 20 74 72 61 6e 73 66 65 | 72 72 65 64 20 6d 61 74 | transfe|rred mat|
|00001830| 63 68 65 73 20 74 68 65 | 20 76 61 6c 75 65 20 6f |ches the| value o|
|00001840| 66 20 61 6e 67 65 2d 66 | 74 70 2d 62 69 6e 61 72 |f ange-f|tp-binar|
|00001850| 79 2d 66 69 6c 65 2d 6e | 61 6d 65 2d 72 65 67 65 |y-file-n|ame-rege|
|00001860| 78 70 20 74 68 65 6e 20 | 74 68 65 0a 3b 3b 3b 20 |xp then |the.;;; |
|00001870| 46 54 50 20 70 72 6f 63 | 65 73 73 20 77 69 6c 6c |FTP proc|ess will|
|00001880| 20 62 65 20 74 6f 67 67 | 6c 65 64 20 69 6e 74 6f | be togg|led into|
|00001890| 20 42 49 4e 41 52 59 20 | 6d 6f 64 65 20 62 65 66 | BINARY |mode bef|
|000018a0| 6f 72 65 20 74 68 65 20 | 74 72 61 6e 73 66 65 72 |ore the |transfer|
|000018b0| 20 61 6e 64 20 62 61 63 | 6b 0a 3b 3b 3b 20 74 6f | and bac|k.;;; to|
|000018c0| 20 41 53 43 49 49 20 6d | 6f 64 65 20 61 66 74 65 | ASCII m|ode afte|
|000018d0| 72 20 74 68 65 20 74 72 | 61 6e 73 66 65 72 2e 0a |r the tr|ansfer..|
|000018e0| 0a 3b 3b 3b 20 41 63 63 | 6f 75 6e 74 20 70 61 73 |.;;; Acc|ount pas|
|000018f0| 73 77 6f 72 64 73 3a 0a | 3b 3b 3b 0a 3b 3b 3b 20 |swords:.|;;;.;;; |
|00001900| 53 6f 6d 65 20 46 54 50 | 20 73 65 72 76 65 72 73 |Some FTP| servers|
|00001910| 20 72 65 71 75 69 72 65 | 20 61 6e 20 61 64 64 69 | require| an addi|
|00001920| 74 69 6f 6e 61 6c 20 70 | 61 73 73 77 6f 72 64 20 |tional p|assword |
|00001930| 77 68 69 63 68 20 69 73 | 20 73 65 6e 74 20 62 79 |which is| sent by|
|00001940| 20 74 68 65 0a 3b 3b 3b | 20 41 43 43 4f 55 4e 54 | the.;;;| ACCOUNT|
|00001950| 20 63 6f 6d 6d 61 6e 64 | 2e 20 20 61 6e 67 65 2d | command|. ange-|
|00001960| 66 74 70 20 70 61 72 74 | 69 61 6c 6c 79 20 73 75 |ftp part|ially su|
|00001970| 70 70 6f 72 74 73 20 74 | 68 69 73 20 62 79 20 61 |pports t|his by a|
|00001980| 6c 6c 6f 77 69 6e 67 20 | 74 68 65 20 75 73 65 72 |llowing |the user|
|00001990| 20 74 6f 0a 3b 3b 3b 20 | 73 70 65 63 69 66 79 20 | to.;;; |specify |
|000019a0| 61 6e 20 61 63 63 6f 75 | 6e 74 20 70 61 73 73 77 |an accou|nt passw|
|000019b0| 6f 72 64 20 62 79 20 65 | 69 74 68 65 72 20 63 61 |ord by e|ither ca|
|000019c0| 6c 6c 69 6e 67 20 61 6e | 67 65 2d 66 74 70 2d 73 |lling an|ge-ftp-s|
|000019d0| 65 74 2d 61 63 63 6f 75 | 6e 74 2c 20 6f 72 20 62 |et-accou|nt, or b|
|000019e0| 79 0a 3b 3b 3b 20 73 70 | 65 63 69 66 79 69 6e 67 |y.;;; sp|ecifying|
|000019f0| 20 61 6e 20 61 63 63 6f | 75 6e 74 20 74 6f 6b 65 | an acco|unt toke|
|00001a00| 6e 20 69 6e 20 74 68 65 | 20 2e 6e 65 74 72 63 20 |n in the| .netrc |
|00001a10| 66 69 6c 65 2e 20 20 49 | 66 20 74 68 65 20 61 63 |file. I|f the ac|
|00001a20| 63 6f 75 6e 74 20 70 61 | 73 73 77 6f 72 64 0a 3b |count pa|ssword.;|
|00001a30| 3b 3b 20 69 73 20 73 65 | 74 20 62 79 20 65 69 74 |;; is se|t by eit|
|00001a40| 68 65 72 20 6f 66 20 74 | 68 65 73 65 20 6d 65 74 |her of t|hese met|
|00001a50| 68 6f 64 73 20 74 68 65 | 6e 20 61 6e 67 65 2d 66 |hods the|n ange-f|
|00001a60| 74 70 20 77 69 6c 6c 20 | 69 73 73 75 65 20 61 6e |tp will |issue an|
|00001a70| 20 41 43 43 4f 55 4e 54 | 0a 3b 3b 3b 20 63 6f 6d | ACCOUNT|.;;; com|
|00001a80| 6d 61 6e 64 20 75 70 6f | 6e 20 73 74 61 72 74 69 |mand upo|n starti|
|00001a90| 6e 67 20 74 68 65 20 46 | 54 50 20 70 72 6f 63 65 |ng the F|TP proce|
|00001aa0| 73 73 2e 0a 0a 3b 3b 3b | 20 50 72 65 6c 6f 61 64 |ss...;;;| Preload|
|00001ab0| 69 6e 67 3a 0a 3b 3b 3b | 0a 3b 3b 3b 20 61 6e 67 |ing:.;;;|.;;; ang|
|00001ac0| 65 2d 66 74 70 20 63 61 | 6e 20 62 65 20 70 72 65 |e-ftp ca|n be pre|
|00001ad0| 6c 6f 61 64 65 64 2c 20 | 62 75 74 20 6d 75 73 74 |loaded, |but must|
|00001ae0| 20 62 65 20 70 75 74 20 | 69 6e 20 74 68 65 20 73 | be put |in the s|
|00001af0| 69 74 65 2d 69 6e 69 74 | 2e 65 6c 20 66 69 6c 65 |ite-init|.el file|
|00001b00| 20 61 6e 64 0a 3b 3b 3b | 20 6e 6f 74 20 74 68 65 | and.;;;| not the|
|00001b10| 20 73 69 74 65 2d 6c 6f | 61 64 2e 65 6c 20 66 69 | site-lo|ad.el fi|
|00001b20| 6c 65 20 69 6e 20 6f 72 | 64 65 72 20 66 6f 72 20 |le in or|der for |
|00001b30| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|00001b40| 6e 20 73 74 72 69 6e 67 | 73 20 66 6f 72 20 74 68 |n string|s for th|
|00001b50| 65 0a 3b 3b 3b 20 66 75 | 6e 63 74 69 6f 6e 73 20 |e.;;; fu|nctions |
|00001b60| 62 65 69 6e 67 20 6f 76 | 65 72 6c 6f 61 64 65 64 |being ov|erloaded|
|00001b70| 20 74 6f 20 62 65 20 61 | 76 61 69 6c 61 62 6c 65 | to be a|vailable|
|00001b80| 2e 0a 0a 3b 3b 3b 20 53 | 74 61 74 75 73 20 72 65 |...;;; S|tatus re|
|00001b90| 70 6f 72 74 73 3a 0a 3b | 3b 3b 0a 3b 3b 3b 20 4d |ports:.;|;;.;;; M|
|00001ba0| 6f 73 74 20 61 6e 67 65 | 2d 66 74 70 20 63 6f 6d |ost ange|-ftp com|
|00001bb0| 6d 61 6e 64 73 20 74 68 | 61 74 20 74 61 6c 6b 20 |mands th|at talk |
|00001bc0| 74 6f 20 74 68 65 20 46 | 54 50 20 70 72 6f 63 65 |to the F|TP proce|
|00001bd0| 73 73 20 6f 75 74 70 75 | 74 20 61 20 73 74 61 74 |ss outpu|t a stat|
|00001be0| 75 73 0a 3b 3b 3b 20 6d | 65 73 73 61 67 65 20 6f |us.;;; m|essage o|
|00001bf0| 6e 20 77 68 61 74 20 74 | 68 65 79 20 61 72 65 20 |n what t|hey are |
|00001c00| 64 6f 69 6e 67 2e 20 20 | 49 6e 20 61 64 64 69 74 |doing. |In addit|
|00001c10| 69 6f 6e 2c 20 61 6e 67 | 65 2d 66 74 70 20 63 61 |ion, ang|e-ftp ca|
|00001c20| 6e 20 74 61 6b 65 20 61 | 64 76 61 6e 74 61 67 65 |n take a|dvantage|
|00001c30| 0a 3b 3b 3b 20 6f 66 20 | 74 68 65 20 46 54 50 20 |.;;; of |the FTP |
|00001c40| 63 6c 69 65 6e 74 27 73 | 20 48 41 53 48 20 63 6f |client's| HASH co|
|00001c50| 6d 6d 61 6e 64 20 74 6f | 20 64 69 73 70 6c 61 79 |mmand to| display|
|00001c60| 20 74 68 65 20 73 74 61 | 74 75 73 20 6f 66 20 74 | the sta|tus of t|
|00001c70| 72 61 6e 73 66 65 72 72 | 69 6e 67 0a 3b 3b 3b 20 |ransferr|ing.;;; |
|00001c80| 66 69 6c 65 73 20 61 6e | 64 20 6c 69 73 74 69 6e |files an|d listin|
|00001c90| 67 20 64 69 72 65 63 74 | 6f 72 69 65 73 2e 20 20 |g direct|ories. |
|00001ca0| 53 65 65 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |See the |document|
|00001cb0| 61 74 69 6f 6e 20 66 6f | 72 20 74 68 65 20 76 61 |ation fo|r the va|
|00001cc0| 72 69 61 62 6c 65 73 0a | 3b 3b 3b 20 61 6e 67 65 |riables.|;;; ange|
|00001cd0| 2d 66 74 70 2d 68 61 73 | 68 2d 6d 61 72 6b 2d 73 |-ftp-has|h-mark-s|
|00001ce0| 69 7a 65 20 61 6e 64 20 | 61 6e 67 65 2d 66 74 70 |ize and |ange-ftp|
|00001cf0| 2d 70 72 6f 63 65 73 73 | 2d 76 65 72 62 6f 73 65 |-process|-verbose|
|00001d00| 20 66 6f 72 20 6d 6f 72 | 65 20 64 65 74 61 69 6c | for mor|e detail|
|00001d10| 73 2e 0a 0a 3b 3b 3b 20 | 47 61 74 65 77 61 79 73 |s...;;; |Gateways|
|00001d20| 3a 0a 3b 3b 3b 0a 3b 3b | 3b 20 53 6f 6d 65 74 69 |:.;;;.;;|; Someti|
|00001d30| 6d 65 73 20 69 74 20 69 | 73 20 6e 65 63 63 65 73 |mes it i|s necces|
|00001d40| 73 61 72 79 20 66 6f 72 | 20 74 68 65 20 46 54 50 |sary for| the FTP|
|00001d50| 20 70 72 6f 63 65 73 73 | 20 74 6f 20 62 65 20 72 | process| to be r|
|00001d60| 75 6e 20 6f 6e 20 61 20 | 64 69 66 66 65 72 65 6e |un on a |differen|
|00001d70| 74 0a 3b 3b 3b 20 6d 61 | 63 68 69 6e 65 20 74 68 |t.;;; ma|chine th|
|00001d80| 61 6e 20 74 68 65 20 6d | 61 63 68 69 6e 65 20 72 |an the m|achine r|
|00001d90| 75 6e 6e 69 6e 67 20 47 | 4e 55 20 45 6d 61 63 73 |unning G|NU Emacs|
|00001da0| 2e 20 20 54 68 69 73 20 | 63 61 6e 20 68 61 70 70 |. This |can happ|
|00001db0| 65 6e 20 77 68 65 6e 20 | 74 68 65 0a 3b 3b 3b 20 |en when |the.;;; |
|00001dc0| 6c 6f 63 61 6c 20 6d 61 | 63 68 69 6e 65 20 68 61 |local ma|chine ha|
|00001dd0| 73 20 72 65 73 74 72 69 | 63 74 69 6f 6e 73 20 6f |s restri|ctions o|
|00001de0| 6e 20 77 68 61 74 20 68 | 6f 73 74 73 20 69 74 20 |n what h|osts it |
|00001df0| 63 61 6e 20 61 63 63 65 | 73 73 2e 0a 3b 3b 3b 0a |can acce|ss..;;;.|
|00001e00| 3b 3b 3b 20 61 6e 67 65 | 2d 66 74 70 20 68 61 73 |;;; ange|-ftp has|
|00001e10| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 72 75 6e | support| for run|
|00001e20| 6e 69 6e 67 20 74 68 65 | 20 66 74 70 20 70 72 6f |ning the| ftp pro|
|00001e30| 63 65 73 73 20 6f 6e 20 | 61 20 64 69 66 66 65 72 |cess on |a differ|
|00001e40| 65 6e 74 20 28 67 61 74 | 65 77 61 79 29 0a 3b 3b |ent (gat|eway).;;|
|00001e50| 3b 20 6d 61 63 68 69 6e | 65 2e 20 20 54 68 65 20 |; machin|e. The |
|00001e60| 77 61 79 20 69 74 20 77 | 6f 72 6b 73 20 69 73 20 |way it w|orks is |
|00001e70| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0a 3b 3b 3b 0a |as follo|ws:.;;;.|
|00001e80| 3b 3b 3b 20 31 29 20 53 | 65 74 20 74 68 65 20 76 |;;; 1) S|et the v|
|00001e90| 61 72 69 61 62 6c 65 20 | 27 61 6e 67 65 2d 66 74 |ariable |'ange-ft|
|00001ea0| 70 2d 67 61 74 65 77 61 | 79 2d 68 6f 73 74 27 20 |p-gatewa|y-host' |
|00001eb0| 74 6f 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 61 |to the n|ame of a|
|00001ec0| 20 6d 61 63 68 69 6e 65 | 0a 3b 3b 3b 20 20 20 20 | machine|.;;; |
|00001ed0| 74 68 61 74 20 64 6f 65 | 73 6e 27 74 20 68 61 76 |that doe|sn't hav|
|00001ee0| 65 20 74 68 65 20 61 63 | 63 65 73 73 20 72 65 73 |e the ac|cess res|
|00001ef0| 74 72 69 63 74 69 6f 6e | 73 2e 0a 3b 3b 3b 0a 3b |triction|s..;;;.;|
|00001f00| 3b 3b 20 32 29 20 53 65 | 74 20 74 68 65 20 76 61 |;; 2) Se|t the va|
|00001f10| 72 69 61 62 6c 65 20 27 | 61 6e 67 65 2d 66 74 70 |riable '|ange-ftp|
|00001f20| 2d 6c 6f 63 61 6c 2d 68 | 6f 73 74 2d 72 65 67 65 |-local-h|ost-rege|
|00001f30| 78 70 27 20 74 6f 20 61 | 20 72 65 67 75 6c 61 72 |xp' to a| regular|
|00001f40| 20 65 78 70 72 65 73 73 | 69 6f 6e 0a 3b 3b 3b 20 | express|ion.;;; |
|00001f50| 20 20 20 74 68 61 74 20 | 6d 61 74 63 68 65 73 20 | that |matches |
|00001f60| 68 6f 73 74 73 20 74 68 | 61 74 20 63 61 6e 20 62 |hosts th|at can b|
|00001f70| 65 20 63 6f 6e 74 61 63 | 74 65 64 20 66 72 6f 6d |e contac|ted from|
|00001f80| 20 72 75 6e 6e 69 6e 67 | 20 61 20 6c 6f 63 61 6c | running| a local|
|00001f90| 20 66 74 70 0a 3b 3b 3b | 20 20 20 20 70 72 6f 63 | ftp.;;;| proc|
|00001fa0| 65 73 73 2c 20 62 75 74 | 20 66 61 69 6c 73 20 74 |ess, but| fails t|
|00001fb0| 6f 20 6d 61 74 63 68 20 | 68 6f 73 74 73 20 74 68 |o match |hosts th|
|00001fc0| 61 74 20 63 61 6e 27 74 | 20 62 65 20 61 63 63 65 |at can't| be acce|
|00001fd0| 73 73 65 64 20 6c 6f 63 | 61 6c 6c 79 2e 20 20 46 |ssed loc|ally. F|
|00001fe0| 6f 72 0a 3b 3b 3b 20 20 | 20 20 65 78 61 6d 70 6c |or.;;; | exampl|
|00001ff0| 65 3a 0a 3b 3b 3b 0a 3b | 3b 3b 20 20 20 20 22 5c |e:.;;;.;|;; "\|
|00002000| 5c 2e 68 70 5c 5c 2e 63 | 6f 6d 24 5c 5c 7c 5e 5b |\.hp\\.c|om$\\|^[|
|00002010| 5e 2e 5d 2a 24 22 0a 3b | 3b 3b 0a 3b 3b 3b 20 20 |^.]*$".;|;;.;;; |
|00002020| 20 20 77 69 6c 6c 20 6d | 61 74 63 68 20 61 6c 6c | will m|atch all|
|00002030| 20 68 6f 73 74 73 20 74 | 68 61 74 20 61 72 65 20 | hosts t|hat are |
|00002040| 69 6e 20 74 68 65 20 2e | 68 70 2e 63 6f 6d 20 64 |in the .|hp.com d|
|00002050| 6f 6d 61 69 6e 2c 20 6f | 72 20 64 6f 6e 27 74 20 |omain, o|r don't |
|00002060| 68 61 76 65 20 61 6e 0a | 3b 3b 3b 20 20 20 20 65 |have an.|;;; e|
|00002070| 78 70 6c 69 63 69 74 20 | 64 6f 6d 61 69 6e 20 69 |xplicit |domain i|
|00002080| 6e 20 74 68 65 69 72 20 | 6e 61 6d 65 2c 20 62 75 |n their |name, bu|
|00002090| 74 20 77 69 6c 6c 20 66 | 61 69 6c 20 74 6f 20 6d |t will f|ail to m|
|000020a0| 61 74 63 68 20 68 6f 73 | 74 73 20 77 69 74 68 0a |atch hos|ts with.|
|000020b0| 3b 3b 3b 20 20 20 20 65 | 78 70 6c 69 63 69 74 20 |;;; e|xplicit |
|000020c0| 64 6f 6d 61 69 6e 73 20 | 6f 72 20 74 68 61 74 20 |domains |or that |
|000020d0| 61 72 65 20 73 70 65 63 | 69 66 69 65 64 20 62 79 |are spec|ified by|
|000020e0| 20 74 68 65 69 72 20 69 | 70 20 61 64 64 72 65 73 | their i|p addres|
|000020f0| 73 2e 0a 3b 3b 3b 0a 3b | 3b 3b 20 33 29 20 55 73 |s..;;;.;|;; 3) Us|
|00002100| 69 6e 67 20 4e 46 53 20 | 61 6e 64 20 73 79 6d 6c |ing NFS |and syml|
|00002110| 69 6e 6b 73 2c 20 6d 61 | 6b 65 20 73 75 72 65 20 |inks, ma|ke sure |
|00002120| 74 68 61 74 20 74 68 65 | 72 65 20 69 73 20 61 20 |that the|re is a |
|00002130| 73 68 61 72 65 64 20 64 | 69 72 65 63 74 6f 72 79 |shared d|irectory|
|00002140| 20 77 69 74 68 0a 3b 3b | 3b 20 20 20 20 74 68 65 | with.;;|; the|
|00002150| 20 2a 73 61 6d 65 2a 20 | 6e 61 6d 65 20 62 65 74 | *same* |name bet|
|00002160| 77 65 65 6e 20 74 68 65 | 20 6c 6f 63 61 6c 20 6d |ween the| local m|
|00002170| 61 63 68 69 6e 65 20 61 | 6e 64 20 74 68 65 20 67 |achine a|nd the g|
|00002180| 61 74 65 77 61 79 20 6d | 61 63 68 69 6e 65 2e 0a |ateway m|achine..|
|00002190| 3b 3b 3b 20 20 20 20 54 | 68 69 73 20 64 69 72 65 |;;; T|his dire|
|000021a0| 63 74 6f 72 79 20 69 73 | 20 6e 65 63 63 65 73 73 |ctory is| neccess|
|000021b0| 61 72 79 20 66 6f 72 20 | 74 65 6d 70 6f 72 61 72 |ary for |temporar|
|000021c0| 79 20 66 69 6c 65 73 20 | 63 72 65 61 74 65 64 20 |y files |created |
|000021d0| 62 79 20 61 6e 67 65 2d | 66 74 70 2e 0a 3b 3b 3b |by ange-|ftp..;;;|
|000021e0| 0a 3b 3b 3b 20 34 29 20 | 53 65 74 20 74 68 65 20 |.;;; 4) |Set the |
|000021f0| 76 61 72 69 61 62 6c 65 | 20 27 61 6e 67 65 2d 66 |variable| 'ange-f|
|00002200| 74 70 2d 67 61 74 65 77 | 61 79 2d 74 6d 70 2d 6e |tp-gatew|ay-tmp-n|
|00002210| 61 6d 65 2d 74 65 6d 70 | 6c 61 74 65 27 20 74 6f |ame-temp|late' to|
|00002220| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 0a 3b 3b 3b | the nam|e of.;;;|
|00002230| 20 20 20 20 74 68 69 73 | 20 64 69 72 65 63 74 6f | this| directo|
|00002240| 72 79 20 70 6c 75 73 20 | 61 6e 20 69 64 65 6e 74 |ry plus |an ident|
|00002250| 69 66 79 69 6e 67 20 66 | 69 6c 65 6e 61 6d 65 20 |ifying f|ilename |
|00002260| 70 72 65 66 69 78 2e 20 | 20 46 6f 72 20 65 78 61 |prefix. | For exa|
|00002270| 6d 70 6c 65 3a 0a 3b 3b | 3b 0a 3b 3b 3b 20 20 20 |mple:.;;|;.;;; |
|00002280| 20 22 2f 6e 66 73 2f 68 | 70 6c 6f 73 65 2f 61 6e | "/nfs/h|plose/an|
|00002290| 67 65 2f 61 6e 67 65 2d | 66 74 70 22 0a 3b 3b 3b |ge/ange-|ftp".;;;|
|000022a0| 0a 3b 3b 3b 20 20 20 20 | 77 68 65 72 65 20 2f 6e |.;;; |where /n|
|000022b0| 66 73 2f 68 70 6c 6f 73 | 65 2f 61 6e 67 65 20 69 |fs/hplos|e/ange i|
|000022c0| 73 20 61 20 64 69 72 65 | 63 74 6f 72 79 20 74 68 |s a dire|ctory th|
|000022d0| 61 74 20 69 73 20 73 68 | 61 72 65 64 20 62 65 74 |at is sh|ared bet|
|000022e0| 77 65 65 6e 20 74 68 65 | 0a 3b 3b 3b 20 20 20 20 |ween the|.;;; |
|000022f0| 67 61 74 65 77 61 79 20 | 6d 61 63 68 69 6e 65 20 |gateway |machine |
|00002300| 61 6e 64 20 74 68 65 20 | 6c 6f 63 61 6c 20 6d 61 |and the |local ma|
|00002310| 63 68 69 6e 65 2e 0a 3b | 3b 3b 0a 3b 3b 3b 20 54 |chine..;|;;.;;; T|
|00002320| 68 65 20 73 69 6d 70 6c | 65 73 74 20 77 61 79 20 |he simpl|est way |
|00002330| 6f 66 20 67 65 74 74 69 | 6e 67 20 61 20 66 74 70 |of getti|ng a ftp|
|00002340| 20 70 72 6f 63 65 73 73 | 20 72 75 6e 6e 69 6e 67 | process| running|
|00002350| 20 6f 6e 20 74 68 65 20 | 67 61 74 65 77 61 79 20 | on the |gateway |
|00002360| 6d 61 63 68 69 6e 65 0a | 3b 3b 3b 20 69 73 20 69 |machine.|;;; is i|
|00002370| 66 20 79 6f 75 20 63 61 | 6e 20 73 70 61 77 6e 20 |f you ca|n spawn |
|00002380| 61 20 72 65 6d 6f 74 65 | 20 73 68 65 6c 6c 20 75 |a remote| shell u|
|00002390| 73 69 6e 67 20 65 69 74 | 68 65 72 20 27 72 73 68 |sing eit|her 'rsh|
|000023a0| 27 20 6f 72 20 27 72 65 | 6d 73 68 27 2e 20 20 49 |' or 're|msh'. I|
|000023b0| 66 20 79 6f 75 0a 3b 3b | 3b 20 63 61 6e 27 74 20 |f you.;;|; can't |
|000023c0| 64 6f 20 74 68 69 73 20 | 66 6f 72 20 73 6f 6d 65 |do this |for some|
|000023d0| 20 72 65 61 73 6f 6e 20 | 73 75 63 68 20 61 73 20 | reason |such as |
|000023e0| 73 65 63 75 72 69 74 79 | 20 74 68 65 6e 20 70 6f |security| then po|
|000023f0| 69 6e 74 73 20 37 20 6f | 6e 77 61 72 64 73 20 77 |ints 7 o|nwards w|
|00002400| 69 6c 6c 0a 3b 3b 3b 20 | 64 69 73 63 75 73 73 20 |ill.;;; |discuss |
|00002410| 61 6e 20 61 6c 74 65 72 | 6e 61 74 69 76 65 20 61 |an alter|native a|
|00002420| 70 70 72 6f 61 63 68 2e | 0a 3b 3b 3b 0a 3b 3b 3b |pproach.|.;;;.;;;|
|00002430| 20 35 29 20 53 65 74 20 | 74 68 65 20 76 61 72 69 | 5) Set |the vari|
|00002440| 61 62 6c 65 20 61 6e 67 | 65 2d 66 74 70 2d 67 61 |able ang|e-ftp-ga|
|00002450| 74 65 77 61 79 2d 70 72 | 6f 67 72 61 6d 20 74 6f |teway-pr|ogram to|
|00002460| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00002470| 20 72 65 6d 6f 74 65 0a | 3b 3b 3b 20 20 20 20 73 | remote.|;;; s|
|00002480| 68 65 6c 6c 20 70 72 6f | 63 65 73 73 20 73 75 63 |hell pro|cess suc|
|00002490| 68 20 61 73 20 27 72 65 | 6d 73 68 27 20 6f 72 20 |h as 're|msh' or |
|000024a0| 27 72 73 68 27 20 69 66 | 20 74 68 65 20 64 65 66 |'rsh' if| the def|
|000024b0| 61 75 6c 74 20 69 73 6e | 27 74 20 63 6f 72 72 65 |ault isn|'t corre|
|000024c0| 63 74 2e 0a 3b 3b 3b 0a | 3b 3b 3b 20 36 29 20 53 |ct..;;;.|;;; 6) S|
|000024d0| 65 74 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |et the v|ariable |
|000024e0| 61 6e 67 65 2d 66 74 70 | 2d 67 61 74 65 77 61 79 |ange-ftp|-gateway|
|000024f0| 2d 70 72 6f 67 72 61 6d | 2d 69 6e 74 65 72 61 63 |-program|-interac|
|00002500| 74 69 76 65 20 74 6f 20 | 6e 69 6c 20 69 66 20 69 |tive to |nil if i|
|00002510| 74 0a 3b 3b 3b 20 20 20 | 20 69 73 6e 27 74 20 61 |t.;;; | isn't a|
|00002520| 6c 72 65 61 64 79 2e 20 | 20 54 68 69 73 20 74 65 |lready. | This te|
|00002530| 6c 6c 73 20 61 6e 67 65 | 2d 66 74 70 20 74 68 61 |lls ange|-ftp tha|
|00002540| 74 20 79 6f 75 20 61 72 | 65 20 75 73 69 6e 67 20 |t you ar|e using |
|00002550| 61 20 72 65 6d 6f 74 65 | 20 73 68 65 6c 6c 0a 3b |a remote| shell.;|
|00002560| 3b 3b 20 20 20 20 72 61 | 74 68 65 72 20 74 68 61 |;; ra|ther tha|
|00002570| 6e 20 6c 6f 67 67 69 6e | 67 20 69 6e 20 75 73 69 |n loggin|g in usi|
|00002580| 6e 67 20 74 65 6c 6e 65 | 74 20 6f 72 20 72 6c 6f |ng telne|t or rlo|
|00002590| 67 69 6e 2e 0a 3b 3b 3b | 0a 3b 3b 3b 20 54 68 61 |gin..;;;|.;;; Tha|
|000025a0| 74 20 73 68 6f 75 6c 64 | 20 62 65 20 61 6c 6c 20 |t should| be all |
|000025b0| 79 6f 75 20 6e 65 65 64 | 20 74 6f 20 61 6c 6c 6f |you need| to allo|
|000025c0| 77 20 61 6e 67 65 2d 66 | 74 70 20 74 6f 20 73 70 |w ange-f|tp to sp|
|000025d0| 61 77 6e 20 61 20 66 74 | 70 20 70 72 6f 63 65 73 |awn a ft|p proces|
|000025e0| 73 20 6f 6e 0a 3b 3b 3b | 20 74 68 65 20 67 61 74 |s on.;;;| the gat|
|000025f0| 65 77 61 79 20 6d 61 63 | 68 69 6e 65 2e 20 20 49 |eway mac|hine. I|
|00002600| 66 20 79 6f 75 20 68 61 | 76 65 20 74 6f 20 75 73 |f you ha|ve to us|
|00002610| 65 20 74 65 6c 6e 65 74 | 20 6f 72 20 72 6c 6f 67 |e telnet| or rlog|
|00002620| 69 6e 20 74 6f 20 67 65 | 74 20 74 6f 20 74 68 65 |in to ge|t to the|
|00002630| 0a 3b 3b 3b 20 67 61 74 | 65 77 61 79 20 6d 61 63 |.;;; gat|eway mac|
|00002640| 68 69 6e 65 20 74 68 65 | 6e 20 66 6f 6c 6c 6f 77 |hine the|n follow|
|00002650| 20 74 68 65 20 69 6e 73 | 74 72 75 63 74 69 6f 6e | the ins|truction|
|00002660| 73 20 62 65 6c 6f 77 2e | 0a 3b 3b 3b 0a 3b 3b 3b |s below.|.;;;.;;;|
|00002670| 20 37 29 20 53 65 74 20 | 74 68 65 20 76 61 72 69 | 7) Set |the vari|
|00002680| 61 62 6c 65 20 61 6e 67 | 65 2d 66 74 70 2d 67 61 |able ang|e-ftp-ga|
|00002690| 74 65 77 61 79 2d 70 72 | 6f 67 72 61 6d 20 74 6f |teway-pr|ogram to|
|000026a0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|000026b0| 20 70 72 6f 67 72 61 6d | 0a 3b 3b 3b 20 20 20 20 | program|.;;; |
|000026c0| 74 68 61 74 20 6c 65 74 | 73 20 79 6f 75 20 6c 6f |that let|s you lo|
|000026d0| 67 20 6f 6e 74 6f 20 74 | 68 65 20 67 61 74 65 77 |g onto t|he gatew|
|000026e0| 61 79 20 6d 61 63 68 69 | 6e 65 2e 20 20 54 68 69 |ay machi|ne. Thi|
|000026f0| 73 20 6d 61 79 20 62 65 | 20 73 6f 6d 65 74 68 69 |s may be| somethi|
|00002700| 6e 67 20 6c 69 6b 65 0a | 3b 3b 3b 20 20 20 20 74 |ng like.|;;; t|
|00002710| 65 6c 6e 65 74 20 6f 72 | 20 72 6c 6f 67 69 6e 2e |elnet or| rlogin.|
|00002720| 0a 3b 3b 3b 0a 3b 3b 3b | 20 38 29 20 53 65 74 20 |.;;;.;;;| 8) Set |
|00002730| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 61 6e 67 |the vari|able ang|
|00002740| 65 2d 66 74 70 2d 67 61 | 74 65 77 61 79 2d 70 72 |e-ftp-ga|teway-pr|
|00002750| 6f 6d 70 74 2d 70 61 74 | 74 65 72 6e 20 74 6f 20 |ompt-pat|tern to |
|00002760| 61 20 72 65 67 75 6c 61 | 72 0a 3b 3b 3b 20 20 20 |a regula|r.;;; |
|00002770| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 74 68 61 74 | express|ion that|
|00002780| 20 6d 61 74 63 68 65 73 | 20 74 68 65 20 70 72 6f | matches| the pro|
|00002790| 6d 70 74 20 79 6f 75 20 | 67 65 74 20 77 68 65 6e |mpt you |get when|
|000027a0| 20 79 6f 75 20 6c 6f 67 | 69 6e 20 74 6f 20 74 68 | you log|in to th|
|000027b0| 65 0a 3b 3b 3b 20 20 20 | 20 67 61 74 65 77 61 79 |e.;;; | gateway|
|000027c0| 20 6d 61 63 68 69 6e 65 | 2e 20 20 42 65 20 76 65 | machine|. Be ve|
|000027d0| 72 79 20 73 70 65 63 69 | 66 69 63 20 68 65 72 65 |ry speci|fic here|
|000027e0| 3b 20 74 68 69 73 20 72 | 65 67 65 78 70 20 6d 75 |; this r|egexp mu|
|000027f0| 73 74 20 6e 6f 74 20 6d | 61 74 63 68 0a 3b 3b 3b |st not m|atch.;;;|
|00002800| 20 20 20 20 2a 61 6e 79 | 74 68 69 6e 67 2a 20 69 | *any|thing* i|
|00002810| 6e 20 79 6f 75 72 20 6c | 6f 67 69 6e 20 62 61 6e |n your l|ogin ban|
|00002820| 6e 65 72 20 65 78 63 65 | 70 74 20 74 68 69 73 20 |ner exce|pt this |
|00002830| 70 72 6f 6d 70 74 2e 0a | 3b 3b 3b 20 20 20 20 73 |prompt..|;;; s|
|00002840| 68 65 6c 6c 2d 70 72 6f | 6d 70 74 2d 70 61 74 74 |hell-pro|mpt-patt|
|00002850| 65 72 6e 20 69 73 20 66 | 61 72 20 74 6f 6f 20 67 |ern is f|ar too g|
|00002860| 65 6e 65 72 61 6c 20 61 | 73 20 69 74 20 61 70 70 |eneral a|s it app|
|00002870| 65 61 72 73 20 74 6f 20 | 6d 61 74 63 68 20 73 6f |ears to |match so|
|00002880| 6d 65 0a 3b 3b 3b 20 20 | 20 20 6c 6f 67 69 6e 20 |me.;;; | login |
|00002890| 62 61 6e 6e 65 72 73 20 | 66 72 6f 6d 20 53 75 6e |banners |from Sun|
|000028a0| 20 6d 61 63 68 69 6e 65 | 73 2e 20 20 46 6f 72 20 | machine|s. For |
|000028b0| 65 78 61 6d 70 6c 65 3a | 0a 3b 3b 3b 0a 3b 3b 3b |example:|.;;;.;;;|
|000028c0| 20 20 20 20 22 5e 24 2a | 24 20 2a 22 0a 3b 3b 3b | "^$*|$ *".;;;|
|000028d0| 0a 3b 3b 3b 20 39 29 20 | 53 65 74 20 74 68 65 20 |.;;; 9) |Set the |
|000028e0| 76 61 72 69 61 62 6c 65 | 20 61 6e 67 65 2d 66 74 |variable| ange-ft|
|000028f0| 70 2d 67 61 74 65 77 61 | 79 2d 70 72 6f 67 72 61 |p-gatewa|y-progra|
|00002900| 6d 2d 69 6e 74 65 72 61 | 63 74 69 76 65 20 74 6f |m-intera|ctive to|
|00002910| 20 27 74 27 20 74 6f 20 | 6c 65 74 0a 3b 3b 3b 20 | 't' to |let.;;; |
|00002920| 20 20 20 61 6e 67 65 2d | 66 74 70 20 6b 6e 6f 77 | ange-|ftp know|
|00002930| 20 74 68 61 74 20 69 74 | 20 68 61 73 20 74 6f 20 | that it| has to |
|00002940| 22 68 61 6e 64 2d 68 6f | 6c 64 22 20 74 68 65 20 |"hand-ho|ld" the |
|00002950| 6c 6f 67 69 6e 20 74 6f | 20 74 68 65 20 67 61 74 |login to| the gat|
|00002960| 65 77 61 79 0a 3b 3b 3b | 20 20 20 20 6d 61 63 68 |eway.;;;| mach|
|00002970| 69 6e 65 2e 0a 3b 3b 3b | 0a 3b 3b 3b 20 31 30 29 |ine..;;;|.;;; 10)|
|00002980| 20 53 65 74 20 74 68 65 | 20 76 61 72 69 61 62 6c | Set the| variabl|
|00002990| 65 20 61 6e 67 65 2d 66 | 74 70 2d 67 61 74 65 77 |e ange-f|tp-gatew|
|000029a0| 61 79 2d 73 65 74 75 70 | 2d 74 65 72 6d 2d 63 6f |ay-setup|-term-co|
|000029b0| 6d 6d 61 6e 64 20 74 6f | 20 61 20 55 4e 49 58 20 |mmand to| a UNIX |
|000029c0| 63 6f 6d 6d 61 6e 64 0a | 3b 3b 3b 20 20 20 20 20 |command.|;;; |
|000029d0| 74 68 61 74 20 77 69 6c | 6c 20 70 75 74 20 74 68 |that wil|l put th|
|000029e0| 65 20 70 74 79 20 63 6f | 6e 6e 65 63 74 65 64 20 |e pty co|nnected |
|000029f0| 74 6f 20 74 68 65 20 67 | 61 74 65 77 61 79 20 6d |to the g|ateway m|
|00002a00| 61 63 68 69 6e 65 20 69 | 6e 74 6f 20 61 0a 3b 3b |achine i|nto a.;;|
|00002a10| 3b 20 20 20 20 20 6e 6f | 2d 65 63 68 6f 69 6e 67 |; no|-echoing|
|00002a20| 20 6d 6f 64 65 2c 20 61 | 6e 64 20 77 69 6c 6c 20 | mode, a|nd will |
|00002a30| 73 74 72 69 70 20 6f 66 | 66 20 63 61 72 72 69 61 |strip of|f carria|
|00002a40| 67 65 2d 72 65 74 75 72 | 6e 73 20 66 72 6f 6d 20 |ge-retur|ns from |
|00002a50| 6f 75 74 70 75 74 20 66 | 72 6f 6d 0a 3b 3b 3b 20 |output f|rom.;;; |
|00002a60| 20 20 20 20 74 68 65 20 | 67 61 74 65 77 61 79 20 | the |gateway |
|00002a70| 6d 61 63 68 69 6e 65 2e | 20 20 46 6f 72 20 65 78 |machine.| For ex|
|00002a80| 61 6d 70 6c 65 3a 0a 3b | 3b 3b 0a 3b 3b 3b 20 20 |ample:.;|;;.;;; |
|00002a90| 20 20 20 22 73 74 74 79 | 20 2d 6f 6e 6c 63 72 20 | "stty| -onlcr |
|00002aa0| 2d 65 63 68 6f 22 0a 3b | 3b 3b 0a 3b 3b 3b 20 20 |-echo".;|;;.;;; |
|00002ab0| 20 20 20 77 69 6c 6c 20 | 77 6f 72 6b 20 6f 6e 20 | will |work on |
|00002ac0| 48 50 2d 55 58 20 6d 61 | 63 68 69 6e 65 73 2c 20 |HP-UX ma|chines, |
|00002ad0| 77 68 65 72 65 61 73 3a | 0a 3b 3b 3b 0a 3b 3b 3b |whereas:|.;;;.;;;|
|00002ae0| 20 20 20 20 20 22 73 74 | 74 79 20 2d 65 63 68 6f | "st|ty -echo|
|00002af0| 20 6e 6c 22 0a 3b 3b 3b | 0a 3b 3b 3b 20 20 20 20 | nl".;;;|.;;; |
|00002b00| 20 61 70 70 65 61 72 73 | 20 74 6f 20 77 6f 72 6b | appears| to work|
|00002b10| 20 66 6f 72 20 73 6f 6d | 65 20 53 75 6e 20 6d 61 | for som|e Sun ma|
|00002b20| 63 68 69 6e 65 73 2e 0a | 3b 3b 3b 0a 3b 3b 3b 20 |chines..|;;;.;;; |
|00002b30| 54 68 61 74 27 73 20 61 | 6c 6c 20 74 68 65 72 65 |That's a|ll there|
|00002b40| 20 69 73 20 74 6f 20 69 | 74 2e 0a 0a 3b 3b 3b 20 | is to i|t...;;; |
|00002b50| 53 6d 61 72 74 20 67 61 | 74 65 77 61 79 73 3a 0a |Smart ga|teways:.|
|00002b60| 3b 3b 3b 0a 3b 3b 3b 20 | 49 66 20 79 6f 75 20 68 |;;;.;;; |If you h|
|00002b70| 61 76 65 20 61 20 22 73 | 6d 61 72 74 22 20 66 74 |ave a "s|mart" ft|
|00002b80| 70 20 70 72 6f 67 72 61 | 6d 20 74 68 61 74 20 61 |p progra|m that a|
|00002b90| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 69 73 73 |llows yo|u to iss|
|00002ba0| 75 65 20 63 6f 6d 6d 61 | 6e 64 73 20 6c 69 6b 65 |ue comma|nds like|
|00002bb0| 0a 3b 3b 3b 20 22 55 53 | 45 52 20 66 6f 6f 40 62 |.;;; "US|ER foo@b|
|00002bc0| 61 72 22 20 77 68 69 63 | 68 20 64 6f 20 6e 69 63 |ar" whic|h do nic|
|00002bd0| 65 20 70 72 6f 78 79 20 | 74 68 69 6e 67 73 2c 20 |e proxy |things, |
|00002be0| 74 68 65 6e 20 6c 6f 6f | 6b 20 61 74 20 74 68 65 |then loo|k at the|
|00002bf0| 20 76 61 72 69 61 62 6c | 65 73 0a 3b 3b 3b 20 61 | variabl|es.;;; a|
|00002c00| 6e 67 65 2d 66 74 70 2d | 73 6d 61 72 74 2d 67 61 |nge-ftp-|smart-ga|
|00002c10| 74 65 77 61 79 20 61 6e | 64 20 61 6e 67 65 2d 66 |teway an|d ange-f|
|00002c20| 74 70 2d 73 6d 61 72 74 | 2d 67 61 74 65 77 61 79 |tp-smart|-gateway|
|00002c30| 2d 70 6f 72 74 2e 0a 0a | 3b 3b 3b 20 54 69 70 73 |-port...|;;; Tips|
|00002c40| 20 66 6f 72 20 75 73 69 | 6e 67 20 61 6e 67 65 2d | for usi|ng ange-|
|00002c50| 66 74 70 3a 0a 3b 3b 3b | 0a 3b 3b 3b 20 31 2e 20 |ftp:.;;;|.;;; 1. |
|00002c60| 46 6f 72 20 64 69 72 65 | 64 20 74 6f 20 77 6f 72 |For dire|d to wor|
|00002c70| 6b 20 6f 6e 20 61 20 68 | 6f 73 74 20 77 68 69 63 |k on a h|ost whic|
|00002c80| 68 20 6d 61 72 6b 73 20 | 73 79 6d 6c 69 6e 6b 73 |h marks |symlinks|
|00002c90| 20 77 69 74 68 20 61 20 | 74 72 61 69 6c 69 6e 67 | with a |trailing|
|00002ca0| 20 40 20 69 6e 0a 3b 3b | 3b 20 20 20 20 61 6e 20 | @ in.;;|; an |
|00002cb0| 6c 73 20 2d 61 6c 46 20 | 6c 69 73 74 69 6e 67 2c |ls -alF |listing,|
|00002cc0| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 28 73 65 | you nee|d to (se|
|00002cd0| 74 71 20 64 69 72 65 64 | 2d 6c 73 2d 46 2d 6d 61 |tq dired|-ls-F-ma|
|00002ce0| 72 6b 73 2d 73 79 6d 6c | 69 6e 6b 73 20 74 29 2e |rks-syml|inks t).|
|00002cf0| 0a 3b 3b 3b 20 20 20 20 | 4d 6f 73 74 20 55 4e 49 |.;;; |Most UNI|
|00002d00| 58 20 73 79 73 74 65 6d | 73 20 64 6f 20 6e 6f 74 |X system|s do not|
|00002d10| 20 64 6f 20 74 68 69 73 | 2c 20 62 75 74 20 55 4c | do this|, but UL|
|00002d20| 54 52 49 58 20 64 6f 65 | 73 2e 20 49 66 20 79 6f |TRIX doe|s. If yo|
|00002d30| 75 20 74 68 69 6e 6b 20 | 74 68 61 74 0a 3b 3b 3b |u think |that.;;;|
|00002d40| 20 20 20 20 74 68 65 72 | 65 20 69 73 20 61 20 63 | ther|e is a c|
|00002d50| 68 61 6e 63 65 20 79 6f | 75 20 6d 69 67 68 74 20 |hance yo|u might |
|00002d60| 63 6f 6e 6e 65 63 74 20 | 74 6f 20 61 6e 20 55 4c |connect |to an UL|
|00002d70| 54 52 49 58 20 6d 61 63 | 68 69 6e 65 20 28 73 75 |TRIX mac|hine (su|
|00002d80| 63 68 20 61 73 0a 3b 3b | 3b 20 20 20 20 70 72 65 |ch as.;;|; pre|
|00002d90| 70 2e 61 69 2e 6d 69 74 | 2e 65 64 75 29 2c 20 74 |p.ai.mit|.edu), t|
|00002da0| 68 65 6e 20 73 65 74 20 | 74 68 69 73 20 76 61 72 |hen set |this var|
|00002db0| 69 61 62 6c 65 20 61 63 | 63 6f 72 64 69 6e 67 6c |iable ac|cordingl|
|00002dc0| 79 2e 20 20 54 68 69 73 | 20 77 69 6c 6c 20 68 61 |y. This| will ha|
|00002dd0| 76 65 0a 3b 3b 3b 20 20 | 20 20 74 68 65 20 73 69 |ve.;;; | the si|
|00002de0| 64 65 20 65 66 66 65 63 | 74 20 74 68 61 74 20 64 |de effec|t that d|
|00002df0| 69 72 65 64 20 77 69 6c | 6c 20 68 61 76 65 20 70 |ired wil|l have p|
|00002e00| 72 6f 62 6c 65 6d 73 20 | 77 69 74 68 20 73 79 6d |roblems |with sym|
|00002e10| 6c 69 6e 6b 73 20 77 68 | 6f 73 65 20 6e 61 6d 65 |links wh|ose name|
|00002e20| 73 0a 3b 3b 3b 20 20 20 | 20 65 6e 64 20 69 6e 20 |s.;;; | end in |
|00002e30| 61 6e 20 40 2e 20 49 66 | 20 79 6f 75 20 67 65 74 |an @. If| you get|
|00002e40| 20 79 6f 75 73 65 6c 66 | 20 69 6e 74 6f 20 74 68 | youself| into th|
|00002e50| 69 73 20 73 69 74 75 61 | 74 69 6f 6e 20 74 68 65 |is situa|tion the|
|00002e60| 6e 20 65 64 69 74 69 6e | 67 0a 3b 3b 3b 20 20 20 |n editin|g.;;; |
|00002e70| 20 64 69 72 65 64 27 73 | 20 6c 73 2d 73 77 69 74 | dired's| ls-swit|
|00002e80| 63 68 65 73 20 74 6f 20 | 72 65 6d 6f 76 65 20 22 |ches to |remove "|
|00002e90| 46 22 2c 20 77 69 6c 6c | 20 74 65 6d 70 6f 72 61 |F", will| tempora|
|00002ea0| 72 69 6c 79 20 66 69 78 | 20 74 68 69 6e 67 73 2e |rily fix| things.|
|00002eb0| 0a 3b 3b 3b 0a 3b 3b 3b | 20 32 2e 20 49 66 20 79 |.;;;.;;;| 2. If y|
|00002ec0| 6f 75 20 6b 6e 6f 77 20 | 74 68 61 74 20 79 6f 75 |ou know |that you|
|00002ed0| 20 61 72 65 20 63 6f 6e | 6e 65 63 74 69 6e 67 20 | are con|necting |
|00002ee0| 74 6f 20 61 20 63 65 72 | 74 61 69 6e 20 6e 6f 6e |to a cer|tain non|
|00002ef0| 2d 55 4e 49 58 20 6d 61 | 63 68 69 6e 65 0a 3b 3b |-UNIX ma|chine.;;|
|00002f00| 3b 20 20 20 20 66 72 65 | 71 75 65 6e 74 6c 79 2c |; fre|quently,|
|00002f10| 20 61 6e 64 20 61 6e 67 | 65 2d 66 74 70 20 73 65 | and ang|e-ftp se|
|00002f20| 65 6d 73 20 74 6f 20 62 | 65 20 75 6e 61 62 6c 65 |ems to b|e unable|
|00002f30| 20 74 6f 20 67 75 65 73 | 73 20 69 74 73 20 68 6f | to gues|s its ho|
|00002f40| 73 74 2d 74 79 70 65 2c | 0a 3b 3b 3b 20 20 20 20 |st-type,|.;;; |
|00002f50| 74 68 65 6e 20 73 65 74 | 74 69 6e 67 20 74 68 65 |then set|ting the|
|00002f60| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 68 6f 73 | appropr|iate hos|
|00002f70| 74 2d 74 79 70 65 20 72 | 65 67 65 78 70 0a 3b 3b |t-type r|egexp.;;|
|00002f80| 3b 20 20 20 20 28 61 6e | 67 65 2d 66 74 70 2d 76 |; (an|ge-ftp-v|
|00002f90| 6d 73 2d 68 6f 73 74 2d | 72 65 67 65 78 70 2c 20 |ms-host-|regexp, |
|00002fa0| 61 6e 67 65 2d 66 74 70 | 2d 6d 74 73 2d 68 6f 73 |ange-ftp|-mts-hos|
|00002fb0| 74 2d 72 65 67 65 78 70 | 2c 20 6f 72 0a 3b 3b 3b |t-regexp|, or.;;;|
|00002fc0| 20 20 20 20 61 6e 67 65 | 2d 66 74 70 2d 63 6d 73 | ange|-ftp-cms|
|00002fd0| 2d 68 6f 73 74 2d 72 65 | 67 65 78 70 29 20 61 63 |-host-re|gexp) ac|
|00002fe0| 63 6f 72 64 69 6e 67 6c | 79 20 73 68 6f 75 6c 64 |cordingl|y should|
|00002ff0| 20 68 65 6c 70 2e 20 41 | 6c 73 6f 2c 20 70 6c 65 | help. A|lso, ple|
|00003000| 61 73 65 20 72 65 70 6f | 72 74 0a 3b 3b 3b 20 20 |ase repo|rt.;;; |
|00003010| 20 20 61 6e 67 65 2d 66 | 74 70 27 73 20 69 6e 61 | ange-f|tp's ina|
|00003020| 62 69 6c 69 74 79 20 74 | 6f 20 72 65 63 6f 67 6e |bility t|o recogn|
|00003030| 69 7a 65 20 74 68 65 20 | 68 6f 73 74 2d 74 79 70 |ize the |host-typ|
|00003040| 65 20 61 73 20 61 20 62 | 75 67 2e 0a 3b 3b 3b 0a |e as a b|ug..;;;.|
|00003050| 3b 3b 3b 20 33 2e 20 46 | 6f 72 20 73 6c 6f 77 20 |;;; 3. F|or slow |
|00003060| 63 6f 6e 6e 65 63 74 69 | 6f 6e 73 2c 20 79 6f 75 |connecti|ons, you|
|00003070| 20 6d 69 67 68 74 20 67 | 65 74 20 22 6c 69 73 74 | might g|et "list|
|00003080| 69 6e 67 20 75 6e 72 65 | 61 64 61 62 6c 65 22 20 |ing unre|adable" |
|00003090| 65 72 72 6f 72 0a 3b 3b | 3b 20 20 20 20 6d 65 73 |error.;;|; mes|
|000030a0| 73 61 67 65 73 2c 20 6f | 72 20 67 65 74 20 61 6e |sages, o|r get an|
|000030b0| 20 65 6d 70 74 79 20 62 | 75 66 66 65 72 20 66 6f | empty b|uffer fo|
|000030c0| 72 20 61 20 66 69 6c 65 | 20 74 68 61 74 20 79 6f |r a file| that yo|
|000030d0| 75 20 6b 6e 6f 77 20 68 | 61 73 20 73 6f 6d 65 74 |u know h|as somet|
|000030e0| 68 69 6e 67 0a 3b 3b 3b | 20 20 20 20 69 6e 20 69 |hing.;;;| in i|
|000030f0| 74 2e 20 54 68 65 20 73 | 6f 6c 75 74 69 6f 6e 20 |t. The s|olution |
|00003100| 69 73 20 74 6f 20 69 6e | 63 72 65 61 73 65 20 74 |is to in|crease t|
|00003110| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 61 6e 67 65 |he value| of ange|
|00003120| 2d 66 74 70 2d 72 65 74 | 72 79 2d 74 69 6d 65 2e |-ftp-ret|ry-time.|
|00003130| 0a 3b 3b 3b 20 20 20 20 | 49 74 73 20 64 65 66 61 |.;;; |Its defa|
|00003140| 75 6c 74 20 76 61 6c 75 | 65 20 69 73 20 35 20 77 |ult valu|e is 5 w|
|00003150| 68 69 63 68 20 69 73 20 | 70 6c 65 6e 74 79 20 66 |hich is |plenty f|
|00003160| 6f 72 20 72 65 61 73 6f | 6e 61 62 6c 65 20 63 6f |or reaso|nable co|
|00003170| 6e 6e 65 63 74 69 6f 6e | 73 2e 0a 3b 3b 3b 20 20 |nnection|s..;;; |
|00003180| 20 20 48 6f 77 65 76 65 | 72 2c 20 66 6f 72 20 73 | Howeve|r, for s|
|00003190| 6f 6d 65 20 74 72 61 6e | 73 61 74 6c 61 6e 74 69 |ome tran|satlanti|
|000031a0| 63 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 73 20 49 20 |c connec|tions I |
|000031b0| 73 65 74 20 74 68 69 73 | 20 74 6f 20 32 30 2e 0a |set this| to 20..|
|000031c0| 3b 3b 3b 0a 3b 3b 3b 20 | 34 2e 20 42 65 77 61 72 |;;;.;;; |4. Bewar|
|000031d0| 65 20 6f 66 20 63 6f 6d | 70 72 65 73 73 69 6e 67 |e of com|pressing|
|000031e0| 20 66 69 6c 65 73 20 6f | 6e 20 6e 6f 6e 2d 55 4e | files o|n non-UN|
|000031f0| 49 58 20 68 6f 73 74 73 | 2e 20 41 6e 67 65 2d 66 |IX hosts|. Ange-f|
|00003200| 74 70 20 77 69 6c 6c 20 | 64 6f 20 69 74 20 62 79 |tp will |do it by|
|00003210| 0a 3b 3b 3b 20 20 20 20 | 63 6f 70 79 69 6e 67 20 |.;;; |copying |
|00003220| 74 68 65 20 66 69 6c 65 | 20 74 6f 20 74 68 65 20 |the file| to the |
|00003230| 6c 6f 63 61 6c 20 6d 61 | 63 68 69 6e 65 2c 20 63 |local ma|chine, c|
|00003240| 6f 6d 70 72 65 73 73 69 | 6e 67 20 69 74 20 74 68 |ompressi|ng it th|
|00003250| 65 72 65 2c 20 61 6e 64 | 20 74 68 65 6e 0a 3b 3b |ere, and| then.;;|
|00003260| 3b 20 20 20 20 73 65 6e | 64 69 6e 67 20 69 74 20 |; sen|ding it |
|00003270| 62 61 63 6b 2e 20 42 69 | 6e 61 72 79 20 66 69 6c |back. Bi|nary fil|
|00003280| 65 20 74 72 61 6e 73 66 | 65 72 73 20 62 65 74 77 |e transf|ers betw|
|00003290| 65 65 6e 20 6d 61 63 68 | 69 6e 65 73 20 6f 66 20 |een mach|ines of |
|000032a0| 64 69 66 66 65 72 65 6e | 74 0a 3b 3b 3b 20 20 20 |differen|t.;;; |
|000032b0| 20 61 72 63 68 69 74 65 | 63 74 75 72 65 73 20 63 | archite|ctures c|
|000032c0| 61 6e 20 62 65 20 61 20 | 72 69 73 6b 79 20 62 75 |an be a |risky bu|
|000032d0| 73 69 6e 65 73 73 2e 20 | 54 65 73 74 20 74 68 69 |siness. |Test thi|
|000032e0| 6e 67 73 20 6f 75 74 20 | 66 69 72 73 74 20 6f 6e |ngs out |first on|
|000032f0| 20 73 6f 6d 65 0a 3b 3b | 3b 20 20 20 20 74 65 73 | some.;;|; tes|
|00003300| 74 20 66 69 6c 65 73 2e | 20 53 65 65 20 22 42 75 |t files.| See "Bu|
|00003310| 67 73 22 20 62 65 6c 6f | 77 2e 20 41 6c 73 6f 2c |gs" belo|w. Also,|
|00003320| 20 6e 6f 74 65 20 74 68 | 61 74 20 61 6e 67 65 2d | note th|at ange-|
|00003330| 66 74 70 20 63 6f 70 69 | 65 73 20 66 69 6c 65 73 |ftp copi|es files|
|00003340| 20 62 79 0a 3b 3b 3b 20 | 20 20 20 6d 6f 76 69 6e | by.;;; | movin|
|00003350| 67 20 74 68 65 6d 20 74 | 68 72 6f 75 67 68 20 74 |g them t|hrough t|
|00003360| 68 65 20 6c 6f 63 61 6c | 20 6d 61 63 68 69 6e 65 |he local| machine|
|00003370| 2e 20 41 67 61 69 6e 2c | 20 62 65 20 63 61 72 65 |. Again,| be care|
|00003380| 66 75 6c 20 77 68 65 6e | 20 64 6f 69 6e 67 0a 3b |ful when| doing.;|
|00003390| 3b 3b 20 20 20 20 74 68 | 69 73 20 77 69 74 68 20 |;; th|is with |
|000033a0| 62 69 6e 61 72 79 20 66 | 69 6c 65 73 20 6f 6e 20 |binary f|iles on |
|000033b0| 6e 6f 6e 2d 55 6e 69 78 | 20 6d 61 63 68 69 6e 65 |non-Unix| machine|
|000033c0| 73 2e 0a 3b 3b 3b 0a 3b | 3b 3b 20 35 2e 20 42 65 |s..;;;.;|;; 5. Be|
|000033d0| 77 61 72 65 20 74 68 61 | 74 20 64 69 72 65 64 20 |ware tha|t dired |
|000033e0| 6f 76 65 72 20 66 74 70 | 20 77 69 6c 6c 20 75 73 |over ftp| will us|
|000033f0| 65 20 79 6f 75 72 20 73 | 65 74 74 69 6e 67 20 6f |e your s|etting o|
|00003400| 66 20 64 69 72 65 64 2d | 6e 6f 2d 63 6f 6e 66 69 |f dired-|no-confi|
|00003410| 72 6d 0a 3b 3b 3b 20 20 | 20 20 28 6c 69 73 74 20 |rm.;;; | (list |
|00003420| 6f 66 20 64 69 72 65 64 | 20 63 6f 6d 6d 61 6e 64 |of dired| command|
|00003430| 73 20 66 6f 72 20 77 68 | 69 63 68 20 63 6f 6e 66 |s for wh|ich conf|
|00003440| 69 72 6d 61 74 69 6f 6e | 20 69 73 20 6e 6f 74 20 |irmation| is not |
|00003450| 61 73 6b 65 64 29 2e 20 | 20 59 6f 75 0a 3b 3b 3b |asked). | You.;;;|
|00003460| 20 20 20 20 6d 69 67 68 | 74 20 77 61 6e 74 20 74 | migh|t want t|
|00003470| 6f 20 72 65 63 6f 6e 73 | 69 64 65 72 20 79 6f 75 |o recons|ider you|
|00003480| 72 20 73 65 74 74 69 6e | 67 20 6f 66 20 74 68 69 |r settin|g of thi|
|00003490| 73 20 76 61 72 69 61 62 | 6c 65 2c 20 62 65 63 61 |s variab|le, beca|
|000034a0| 75 73 65 20 79 6f 75 0a | 3b 3b 3b 20 20 20 20 6d |use you.|;;; m|
|000034b0| 69 67 68 74 20 77 61 6e | 74 20 63 6f 6e 66 69 72 |ight wan|t confir|
|000034c0| 6d 61 74 69 6f 6e 20 66 | 6f 72 20 6d 6f 72 65 20 |mation f|or more |
|000034d0| 63 6f 6d 6d 61 6e 64 73 | 20 6f 6e 20 72 65 6d 6f |commands| on remo|
|000034e0| 74 65 20 64 69 72 65 64 | 73 20 74 68 61 6e 20 6f |te dired|s than o|
|000034f0| 6e 0a 3b 3b 3b 20 20 20 | 20 6c 6f 63 61 6c 20 64 |n.;;; | local d|
|00003500| 69 72 65 64 73 2e 20 46 | 6f 72 20 65 78 61 6d 70 |ireds. F|or examp|
|00003510| 6c 65 2c 20 49 20 73 74 | 72 6f 6e 67 6c 79 20 72 |le, I st|rongly r|
|00003520| 65 63 6f 6d 6d 65 6e 64 | 20 74 68 61 74 20 79 6f |ecommend| that yo|
|00003530| 75 20 6e 6f 74 20 69 6e | 63 6c 75 64 65 0a 3b 3b |u not in|clude.;;|
|00003540| 3b 20 20 20 20 63 6f 6d | 70 72 65 73 73 20 61 6e |; com|press an|
|00003550| 64 20 75 6e 63 6f 6d 70 | 72 65 73 73 20 69 6e 20 |d uncomp|ress in |
|00003560| 74 68 69 73 20 6c 69 73 | 74 2e 20 49 66 20 74 68 |this lis|t. If th|
|00003570| 65 72 65 20 69 73 20 65 | 6e 6f 75 67 68 20 64 65 |ere is e|nough de|
|00003580| 6d 61 6e 64 20 69 74 0a | 3b 3b 3b 20 20 20 20 6d |mand it.|;;; m|
|00003590| 69 67 68 74 20 62 65 20 | 61 20 67 6f 6f 64 20 69 |ight be |a good i|
|000035a0| 64 65 61 20 74 6f 20 68 | 61 76 65 20 61 6e 20 61 |dea to h|ave an a|
|000035b0| 6c 69 73 74 20 61 6e 67 | 65 2d 66 74 70 2d 64 69 |list ang|e-ftp-di|
|000035c0| 72 65 64 2d 6e 6f 2d 63 | 6f 6e 66 69 72 6d 20 6f |red-no-c|onfirm o|
|000035d0| 66 0a 3b 3b 3b 20 20 20 | 20 70 61 69 72 73 20 28 |f.;;; | pairs (|
|000035e0| 20 54 59 50 45 20 2e 20 | 4c 49 53 54 20 29 2c 20 | TYPE . |LIST ), |
|000035f0| 77 68 65 72 65 20 54 59 | 50 45 20 69 73 20 61 6e |where TY|PE is an|
|00003600| 20 6f 70 65 72 61 74 69 | 6e 67 20 73 79 73 74 65 | operati|ng syste|
|00003610| 6d 20 74 79 70 65 20 61 | 6e 64 20 4c 49 53 54 0a |m type a|nd LIST.|
|00003620| 3b 3b 3b 20 20 20 20 69 | 73 20 61 20 6c 69 73 74 |;;; i|s a list|
|00003630| 20 6f 66 20 63 6f 6d 6d | 61 6e 64 73 20 66 6f 72 | of comm|ands for|
|00003640| 20 77 68 69 63 68 20 63 | 6f 6e 66 69 72 6d 61 74 | which c|onfirmat|
|00003650| 69 6f 6e 20 77 6f 75 6c | 64 20 62 65 20 73 75 70 |ion woul|d be sup|
|00003660| 70 72 65 73 73 65 64 2e | 20 20 54 68 65 6e 0a 3b |pressed.| Then.;|
|00003670| 3b 3b 20 20 20 20 72 65 | 6d 6f 74 65 20 64 69 72 |;; re|mote dir|
|00003680| 65 64 20 6c 69 73 74 69 | 6e 67 73 20 77 6f 75 6c |ed listi|ngs woul|
|00003690| 64 20 74 61 6b 65 20 74 | 68 65 69 72 20 28 62 75 |d take t|heir (bu|
|000036a0| 66 66 65 72 2d 6c 6f 63 | 61 6c 29 20 76 61 6c 75 |ffer-loc|al) valu|
|000036b0| 65 20 6f 66 0a 3b 3b 3b | 20 20 20 20 64 69 72 65 |e of.;;;| dire|
|000036c0| 64 2d 6e 6f 2d 63 6f 6e | 66 69 72 6d 20 66 72 6f |d-no-con|firm fro|
|000036d0| 6d 20 74 68 69 73 20 61 | 6c 69 73 74 2e 20 57 68 |m this a|list. Wh|
|000036e0| 6f 20 76 6f 74 65 73 20 | 66 6f 72 20 74 68 69 73 |o votes |for this|
|000036f0| 3f 0a 0a 3b 3b 3b 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |?..;;; -|--------|
|00003700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003710| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003720| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003730| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 3b 3b 3b |--------|----.;;;|
|00003740| 20 4e 6f 6e 2d 55 4e 49 | 58 20 73 75 70 70 6f 72 | Non-UNI|X suppor|
|00003750| 74 3a 0a 3b 3b 3b 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |t:.;;; -|--------|
|00003760| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003790| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 3b 3b |--------|----..;;|
|000037a0| 3b 20 56 4d 53 20 73 75 | 70 70 6f 72 74 3a 0a 3b |; VMS su|pport:.;|
|000037b0| 3b 3b 0a 3b 3b 3b 20 41 | 6e 67 65 2d 66 74 70 20 |;;.;;; A|nge-ftp |
|000037c0| 68 61 73 20 66 75 6c 6c | 20 73 75 70 70 6f 72 74 |has full| support|
|000037d0| 20 66 6f 72 20 56 4d 53 | 20 68 6f 73 74 73 2c 20 | for VMS| hosts, |
|000037e0| 69 6e 63 6c 75 64 69 6e | 67 20 74 72 65 65 20 64 |includin|g tree d|
|000037f0| 69 72 65 64 20 73 75 70 | 70 6f 72 74 2e 20 20 49 |ired sup|port. I|
|00003800| 74 0a 3b 3b 3b 20 73 68 | 6f 75 6c 64 20 62 65 20 |t.;;; sh|ould be |
|00003810| 61 62 6c 65 20 74 6f 20 | 61 75 74 6f 6d 61 74 69 |able to |automati|
|00003820| 63 61 6c 6c 79 20 72 65 | 63 6f 67 6e 69 7a 65 20 |cally re|cognize |
|00003830| 61 6e 79 20 56 4d 53 20 | 6d 61 63 68 69 6e 65 2e |any VMS |machine.|
|00003840| 20 48 6f 77 65 76 65 72 | 2c 20 69 66 20 69 74 0a | However|, if it.|
|00003850| 3b 3b 3b 20 66 61 69 6c | 73 20 74 6f 20 64 6f 20 |;;; fail|s to do |
|00003860| 74 68 69 73 2c 20 79 6f | 75 20 63 61 6e 20 75 73 |this, yo|u can us|
|00003870| 65 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 61 6e |e the co|mmand an|
|00003880| 67 65 2d 66 74 70 2d 61 | 64 64 2d 76 6d 73 2d 68 |ge-ftp-a|dd-vms-h|
|00003890| 6f 73 74 2e 20 20 41 73 | 20 77 65 6c 6c 2c 0a 3b |ost. As| well,.;|
|000038a0| 3b 3b 20 79 6f 75 20 63 | 61 6e 20 73 65 74 20 74 |;; you c|an set t|
|000038b0| 68 65 20 76 61 72 69 61 | 62 6c 65 20 61 6e 67 65 |he varia|ble ange|
|000038c0| 2d 66 74 70 2d 76 6d 73 | 2d 68 6f 73 74 2d 72 65 |-ftp-vms|-host-re|
|000038d0| 67 65 78 70 20 69 6e 20 | 79 6f 75 72 20 2e 65 6d |gexp in |your .em|
|000038e0| 61 63 73 20 66 69 6c 65 | 2e 20 57 65 0a 3b 3b 3b |acs file|. We.;;;|
|000038f0| 20 77 6f 75 6c 64 20 62 | 65 20 67 72 61 74 65 66 | would b|e gratef|
|00003900| 75 6c 20 69 66 20 79 6f | 75 20 77 6f 75 6c 64 20 |ul if yo|u would |
|00003910| 72 65 70 6f 72 74 20 61 | 6e 79 20 66 61 69 6c 75 |report a|ny failu|
|00003920| 72 65 73 20 74 6f 20 61 | 75 74 6f 6d 61 74 69 63 |res to a|utomatic|
|00003930| 61 6c 6c 79 0a 3b 3b 3b | 20 72 65 63 6f 67 6e 69 |ally.;;;| recogni|
|00003940| 7a 65 20 61 20 56 4d 53 | 20 68 6f 73 74 20 61 73 |ze a VMS| host as|
|00003950| 20 61 20 62 75 67 2e 0a | 3b 3b 3b 0a 3b 3b 3b 20 | a bug..|;;;.;;; |
|00003960| 46 69 6c 65 6e 61 6d 65 | 20 53 79 6e 74 61 78 3a |Filename| Syntax:|
|00003970| 0a 3b 3b 3b 0a 3b 3b 3b | 20 46 6f 72 20 65 61 73 |.;;;.;;;| For eas|
|00003980| 65 20 6f 66 20 2a 69 6d | 70 6c 65 6d 65 6e 74 61 |e of *im|plementa|
|00003990| 74 69 6f 6e 2a 2c 20 74 | 68 65 20 75 73 65 72 20 |tion*, t|he user |
|000039a0| 65 6e 74 65 72 73 20 74 | 68 65 20 56 4d 53 20 66 |enters t|he VMS f|
|000039b0| 69 6c 65 6e 61 6d 65 20 | 73 79 6e 74 61 78 20 69 |ilename |syntax i|
|000039c0| 6e 20 61 0a 3b 3b 3b 20 | 55 4e 49 58 2d 79 20 77 |n a.;;; |UNIX-y w|
|000039d0| 61 79 2e 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ay. For| example|
|000039e0| 3a 0a 3b 3b 3b 20 20 50 | 55 42 24 3a 5b 41 4e 4f |:.;;; P|UB$:[ANO|
|000039f0| 4e 59 4d 4f 55 53 2e 53 | 44 53 43 50 55 42 2e 4e |NYMOUS.S|DSCPUB.N|
|00003a00| 45 58 54 5d 52 45 41 44 | 4d 45 2e 54 58 54 3b 31 |EXT]READ|ME.TXT;1|
|00003a10| 0a 3b 3b 3b 20 77 6f 75 | 6c 64 20 62 65 20 65 6e |.;;; wou|ld be en|
|00003a20| 74 65 72 65 64 20 61 73 | 3a 0a 3b 3b 3b 20 20 2f |tered as|:.;;; /|
|00003a30| 50 55 42 24 24 3a 2f 41 | 4e 4f 4e 59 4d 4f 55 53 |PUB$$:/A|NONYMOUS|
|00003a40| 2f 53 44 53 43 50 55 42 | 2f 4e 45 58 54 2f 52 45 |/SDSCPUB|/NEXT/RE|
|00003a50| 41 44 4d 45 2e 54 58 54 | 3b 31 0a 3b 3b 3b 20 69 |ADME.TXT|;1.;;; i|
|00003a60| 2e 65 2e 20 74 6f 20 6c | 6f 67 20 69 6e 20 61 73 |.e. to l|og in as|
|00003a70| 20 61 6e 6f 6e 79 6d 6f | 75 73 20 6f 6e 20 79 6d | anonymo|us on ym|
|00003a80| 69 72 2e 63 6c 61 72 65 | 6d 6f 6e 74 2e 65 64 75 |ir.clare|mont.edu|
|00003a90| 20 61 6e 64 20 67 72 61 | 62 20 74 68 65 20 66 69 | and gra|b the fi|
|00003aa0| 6c 65 3a 0a 3b 3b 3b 20 | 20 5b 2e 43 53 56 2e 50 |le:.;;; | [.CSV.P|
|00003ab0| 4f 4c 49 43 59 5d 52 55 | 4c 45 53 2e 4d 45 4d 0a |OLICY]RU|LES.MEM.|
|00003ac0| 3b 3b 3b 20 79 6f 75 20 | 77 6f 75 6c 64 20 74 79 |;;; you |would ty|
|00003ad0| 70 65 3a 0a 3b 3b 3b 20 | 20 43 2d 78 20 43 2d 66 |pe:.;;; | C-x C-f|
|00003ae0| 20 2f 61 6e 6f 6e 79 6d | 6f 75 73 40 79 6d 69 72 | /anonym|ous@ymir|
|00003af0| 2e 63 6c 61 72 65 6d 6f | 6e 74 2e 65 64 75 3a 43 |.claremo|nt.edu:C|
|00003b00| 53 56 2f 50 4f 4c 49 43 | 59 2f 52 55 4c 45 53 2e |SV/POLIC|Y/RULES.|
|00003b10| 4d 45 4d 0a 3b 3b 3b 0a | 3b 3b 3b 20 41 20 6c 65 |MEM.;;;.|;;; A le|
|00003b20| 67 61 6c 20 56 4d 53 20 | 66 69 6c 65 6e 61 6d 65 |gal VMS |filename|
|00003b30| 20 69 73 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 3a | is of t|he form:|
|00003b40| 20 46 49 4c 45 2e 54 59 | 50 45 3b 23 23 0a 3b 3b | FILE.TY|PE;##.;;|
|00003b50| 3b 20 77 68 65 72 65 20 | 46 49 4c 45 20 63 61 6e |; where |FILE can|
|00003b60| 20 62 65 20 75 70 20 74 | 6f 20 33 39 20 63 68 61 | be up t|o 39 cha|
|00003b70| 72 61 63 74 65 72 73 0a | 3b 3b 3b 20 20 20 20 20 |racters.|;;; |
|00003b80| 20 20 54 59 50 45 20 63 | 61 6e 20 62 65 20 75 70 | TYPE c|an be up|
|00003b90| 20 74 6f 20 33 39 20 63 | 68 61 72 61 63 74 65 72 | to 39 c|haracter|
|00003ba0| 73 0a 3b 3b 3b 20 20 20 | 20 20 20 20 23 23 20 69 |s.;;; | ## i|
|00003bb0| 73 20 61 20 76 65 72 73 | 69 6f 6e 20 6e 75 6d 62 |s a vers|ion numb|
|00003bc0| 65 72 20 28 61 6e 20 69 | 6e 74 65 67 65 72 20 62 |er (an i|nteger b|
|00003bd0| 65 74 77 65 65 6e 20 31 | 20 61 6e 64 20 33 32 2c |etween 1| and 32,|
|00003be0| 37 36 37 29 0a 3b 3b 3b | 20 56 61 6c 69 64 20 63 |767).;;;| Valid c|
|00003bf0| 68 61 72 61 63 74 65 72 | 73 20 69 6e 20 46 49 4c |haracter|s in FIL|
|00003c00| 45 20 61 6e 64 20 54 59 | 50 45 20 61 72 65 20 41 |E and TY|PE are A|
|00003c10| 2d 5a 20 30 2d 39 20 5f | 20 2d 20 24 0a 3b 3b 3b |-Z 0-9 _| - $.;;;|
|00003c20| 20 24 20 63 61 6e 6e 6f | 74 20 62 65 67 69 6e 20 | $ canno|t begin |
|00003c30| 61 20 66 69 6c 65 6e 61 | 6d 65 2c 20 61 6e 64 20 |a filena|me, and |
|00003c40| 2d 20 63 61 6e 6e 6f 74 | 20 62 65 20 75 73 65 64 |- cannot| be used|
|00003c50| 20 61 73 20 74 68 65 20 | 66 69 72 73 74 20 6f 72 | as the |first or|
|00003c60| 20 6c 61 73 74 0a 3b 3b | 3b 20 63 68 61 72 61 63 | last.;;|; charac|
|00003c70| 74 65 72 2e 0a 3b 3b 3b | 0a 3b 3b 3b 20 54 69 70 |ter..;;;|.;;; Tip|
|00003c80| 73 3a 0a 3b 3b 3b 20 31 | 2e 20 41 6c 74 68 6f 75 |s:.;;; 1|. Althou|
|00003c90| 67 68 20 56 4d 53 20 69 | 73 20 6e 6f 74 20 63 61 |gh VMS i|s not ca|
|00003ca0| 73 65 20 73 65 6e 73 69 | 74 69 76 65 2c 20 45 4d |se sensi|tive, EM|
|00003cb0| 41 43 53 20 72 75 6e 6e | 69 6e 67 20 75 6e 64 65 |ACS runn|ing unde|
|00003cc0| 72 20 55 4e 49 58 20 69 | 73 2e 0a 3b 3b 3b 20 20 |r UNIX i|s..;;; |
|00003cd0| 20 20 54 68 65 72 65 66 | 6f 72 65 2c 20 74 6f 20 | Theref|ore, to |
|00003ce0| 61 63 63 65 73 73 20 61 | 20 56 4d 53 20 66 69 6c |access a| VMS fil|
|00003cf0| 65 2c 20 79 6f 75 20 6d | 75 73 74 20 65 6e 74 65 |e, you m|ust ente|
|00003d00| 72 20 74 68 65 20 66 69 | 6c 65 6e 61 6d 65 20 77 |r the fi|lename w|
|00003d10| 69 74 68 20 75 70 70 65 | 72 0a 3b 3b 3b 20 20 20 |ith uppe|r.;;; |
|00003d20| 20 63 61 73 65 20 6c 65 | 74 74 65 72 73 2e 0a 3b | case le|tters..;|
|00003d30| 3b 3b 20 32 2e 20 54 6f | 20 61 63 63 65 73 73 20 |;; 2. To| access |
|00003d40| 74 68 65 20 6c 61 74 65 | 73 74 20 76 65 72 73 69 |the late|st versi|
|00003d50| 6f 6e 20 6f 66 20 66 69 | 6c 65 20 75 6e 64 65 72 |on of fi|le under|
|00003d60| 20 56 4d 53 2c 20 79 6f | 75 20 75 73 65 20 74 68 | VMS, yo|u use th|
|00003d70| 65 20 66 69 6c 65 6e 61 | 6d 65 0a 3b 3b 3b 20 20 |e filena|me.;;; |
|00003d80| 20 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 22 3b | withou|t the ";|
|00003d90| 22 20 61 6e 64 20 76 65 | 72 73 69 6f 6e 20 6e 75 |" and ve|rsion nu|
|00003da0| 6d 62 65 72 2e 20 59 6f | 75 20 73 68 6f 75 6c 64 |mber. Yo|u should|
|00003db0| 20 61 6c 77 61 79 73 20 | 65 64 69 74 20 74 68 65 | always |edit the|
|00003dc0| 20 6c 61 74 65 73 74 0a | 3b 3b 3b 20 20 20 20 76 | latest.|;;; v|
|00003dd0| 65 72 73 69 6f 6e 20 6f | 66 20 61 20 66 69 6c 65 |ersion o|f a file|
|00003de0| 2e 20 49 66 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |. If you| want to|
|00003df0| 20 65 64 69 74 20 61 6e | 20 65 61 72 6c 69 65 72 | edit an| earlier|
|00003e00| 20 76 65 72 73 69 6f 6e | 2c 20 63 6f 70 79 20 69 | version|, copy i|
|00003e10| 74 20 74 6f 20 61 0a 3b | 3b 3b 20 20 20 20 6e 65 |t to a.;|;; ne|
|00003e20| 77 20 66 69 6c 65 20 66 | 69 72 73 74 2e 20 54 68 |w file f|irst. Th|
|00003e30| 69 73 20 68 61 73 20 6e | 6f 74 68 69 6e 67 20 74 |is has n|othing t|
|00003e40| 6f 20 64 6f 20 77 69 74 | 68 20 61 6e 67 65 2d 66 |o do wit|h ange-f|
|00003e50| 74 70 2c 20 62 75 74 20 | 69 73 20 73 69 6d 70 6c |tp, but |is simpl|
|00003e60| 79 0a 3b 3b 3b 20 20 20 | 20 67 6f 6f 64 20 56 4d |y.;;; | good VM|
|00003e70| 53 20 6f 70 65 72 61 74 | 69 6e 67 20 70 72 61 63 |S operat|ing prac|
|00003e80| 74 69 63 65 2e 20 54 68 | 65 72 65 66 6f 72 65 2c |tice. Th|erefore,|
|00003e90| 20 74 6f 20 65 64 69 74 | 20 46 49 4c 45 2e 54 58 | to edit| FILE.TX|
|00003ea0| 54 3b 33 20 28 73 61 79 | 20 33 20 69 73 0a 3b 3b |T;3 (say| 3 is.;;|
|00003eb0| 3b 20 20 20 20 6c 61 74 | 65 73 74 20 76 65 72 73 |; lat|est vers|
|00003ec0| 69 6f 6e 29 2c 20 64 6f | 20 43 2d 78 20 43 2d 66 |ion), do| C-x C-f|
|00003ed0| 20 2f 79 6d 69 72 2e 63 | 6c 61 72 65 6d 6f 6e 74 | /ymir.c|laremont|
|00003ee0| 2e 65 64 75 3a 46 49 4c | 45 2e 54 58 54 2e 20 49 |.edu:FIL|E.TXT. I|
|00003ef0| 66 20 79 6f 75 0a 3b 3b | 3b 20 20 20 20 69 6e 61 |f you.;;|; ina|
|00003f00| 64 76 65 72 74 65 6e 74 | 6c 79 20 64 6f 20 43 2d |dvertent|ly do C-|
|00003f10| 78 20 43 2d 66 20 2f 79 | 6d 69 72 2e 63 6c 61 72 |x C-f /y|mir.clar|
|00003f20| 65 6d 6f 6e 74 2e 65 64 | 75 3a 46 49 4c 45 2e 54 |emont.ed|u:FILE.T|
|00003f30| 58 54 3b 33 2c 20 79 6f | 75 20 77 69 6c 6c 20 66 |XT;3, yo|u will f|
|00003f40| 69 6e 64 0a 3b 3b 3b 20 | 20 20 20 74 68 61 74 20 |ind.;;; | that |
|00003f50| 56 4d 53 20 77 69 6c 6c | 20 6e 6f 74 20 61 6c 6c |VMS will| not all|
|00003f60| 6f 77 20 79 6f 75 20 74 | 6f 20 73 61 76 65 20 74 |ow you t|o save t|
|00003f70| 68 65 20 66 69 6c 65 20 | 62 65 63 61 75 73 65 20 |he file |because |
|00003f80| 69 74 20 77 69 6c 6c 20 | 72 65 66 75 73 65 20 74 |it will |refuse t|
|00003f90| 6f 0a 3b 3b 3b 20 20 20 | 20 6f 76 65 72 77 72 69 |o.;;; | overwri|
|00003fa0| 74 65 20 46 49 4c 45 2e | 54 58 54 3b 33 2c 20 62 |te FILE.|TXT;3, b|
|00003fb0| 75 74 20 69 6e 73 74 65 | 61 64 20 77 69 6c 6c 20 |ut inste|ad will |
|00003fc0| 77 61 6e 74 20 74 6f 20 | 63 72 65 61 74 65 20 46 |want to |create F|
|00003fd0| 49 4c 45 2e 54 58 54 3b | 34 2c 20 61 6e 64 0a 3b |ILE.TXT;|4, and.;|
|00003fe0| 3b 3b 20 20 20 20 61 74 | 74 61 63 68 20 74 68 65 |;; at|tach the|
|00003ff0| 20 62 75 66 66 65 72 20 | 74 6f 20 74 68 69 73 20 | buffer |to this |
|00004000| 66 69 6c 65 2e 20 54 6f | 20 67 65 74 20 6f 75 74 |file. To| get out|
|00004010| 20 6f 66 20 74 68 69 73 | 20 73 69 74 75 61 74 69 | of this| situati|
|00004020| 6f 6e 2c 20 4d 2d 78 0a | 3b 3b 3b 20 20 20 20 77 |on, M-x.|;;; w|
|00004030| 72 69 74 65 2d 66 69 6c | 65 20 2f 79 6d 69 72 2e |rite-fil|e /ymir.|
|00004040| 63 6c 61 72 65 6d 6f 6e | 74 2e 65 64 75 3a 46 49 |claremon|t.edu:FI|
|00004050| 4c 45 2e 54 58 54 20 77 | 69 6c 6c 20 61 74 74 61 |LE.TXT w|ill atta|
|00004060| 63 68 20 74 68 65 20 62 | 75 66 66 65 72 20 74 6f |ch the b|uffer to|
|00004070| 0a 3b 3b 3b 20 20 20 20 | 6c 61 74 65 73 74 20 76 |.;;; |latest v|
|00004080| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 66 69 |ersion o|f the fi|
|00004090| 6c 65 2e 20 46 6f 72 20 | 74 68 69 73 20 72 65 61 |le. For |this rea|
|000040a0| 73 6f 6e 2c 20 69 6e 20 | 74 72 65 65 20 64 69 72 |son, in |tree dir|
|000040b0| 65 64 20 22 66 22 0a 3b | 3b 3b 20 20 20 20 28 64 |ed "f".;|;; (d|
|000040c0| 69 72 65 64 2d 66 69 6e | 64 2d 66 69 6c 65 29 2c |ired-fin|d-file),|
|000040d0| 20 61 6c 77 61 79 73 20 | 6c 6f 61 64 73 20 74 68 | always |loads th|
|000040e0| 65 20 66 69 6c 65 20 73 | 61 6e 73 20 76 65 72 73 |e file s|ans vers|
|000040f0| 69 6f 6e 2c 20 77 68 65 | 72 65 61 73 20 22 76 22 |ion, whe|reas "v"|
|00004100| 2c 0a 3b 3b 3b 20 20 20 | 20 28 64 69 72 65 64 2d |,.;;; | (dired-|
|00004110| 76 69 65 77 2d 66 69 6c | 65 29 2c 20 61 6c 77 61 |view-fil|e), alwa|
|00004120| 79 73 20 6c 6f 61 64 73 | 20 74 68 65 20 65 78 70 |ys loads| the exp|
|00004130| 6c 69 63 69 74 20 76 65 | 72 73 69 6f 6e 20 6e 75 |licit ve|rsion nu|
|00004140| 6d 62 65 72 2e 20 54 68 | 65 0a 3b 3b 3b 20 20 20 |mber. Th|e.;;; |
|00004150| 20 72 65 61 73 6f 6e 69 | 6e 67 20 62 65 69 6e 67 | reasoni|ng being|
|00004160| 20 74 68 61 74 20 69 74 | 20 72 65 61 73 6f 6e 61 | that it| reasona|
|00004170| 62 6c 65 20 74 6f 20 76 | 69 65 77 20 6f 6c 64 20 |ble to v|iew old |
|00004180| 76 65 72 73 69 6f 6e 73 | 20 6f 66 20 61 20 66 69 |versions| of a fi|
|00004190| 6c 65 2c 20 62 75 74 0a | 3b 3b 3b 20 20 20 20 6e |le, but.|;;; n|
|000041a0| 6f 74 20 74 6f 20 65 64 | 69 74 20 74 68 65 6d 2e |ot to ed|it them.|
|000041b0| 0a 3b 3b 3b 20 33 2e 20 | 45 4d 41 43 53 20 68 61 |.;;; 3. |EMACS ha|
|000041c0| 73 20 61 20 66 65 61 74 | 75 72 65 20 69 6e 20 77 |s a feat|ure in w|
|000041d0| 68 69 63 68 20 69 74 20 | 64 6f 65 73 20 65 6e 76 |hich it |does env|
|000041e0| 69 72 6f 6e 6d 65 6e 74 | 20 76 61 72 69 61 62 6c |ironment| variabl|
|000041f0| 65 20 73 75 62 73 74 69 | 74 75 74 69 6f 6e 0a 3b |e substi|tution.;|
|00004200| 3b 3b 20 20 20 20 69 6e | 20 66 69 6c 65 6e 61 6d |;; in| filenam|
|00004210| 65 73 2e 20 54 68 65 72 | 65 66 6f 72 65 2c 20 74 |es. Ther|efore, t|
|00004220| 6f 20 65 6e 74 65 72 20 | 61 20 24 20 69 6e 20 61 |o enter |a $ in a|
|00004230| 20 66 69 6c 65 6e 61 6d | 65 2c 20 79 6f 75 20 6d | filenam|e, you m|
|00004240| 75 73 74 20 71 75 6f 74 | 65 20 69 74 0a 3b 3b 3b |ust quot|e it.;;;|
|00004250| 20 20 20 20 62 79 20 74 | 79 70 69 6e 67 20 24 24 | by t|yping $$|
|00004260| 2e 20 54 68 65 72 65 20 | 69 73 20 61 20 62 75 67 |. There |is a bug|
|00004270| 20 69 6e 20 45 4d 41 43 | 53 2c 20 69 6e 20 74 68 | in EMAC|S, in th|
|00004280| 61 74 20 69 74 20 6e 65 | 67 6c 65 63 74 73 20 74 |at it ne|glects t|
|00004290| 6f 20 71 75 6f 74 65 20 | 74 68 65 0a 3b 3b 3b 20 |o quote |the.;;; |
|000042a0| 20 20 20 24 27 73 20 69 | 6e 20 74 68 65 20 64 65 | $'s i|n the de|
|000042b0| 66 61 75 6c 74 20 64 69 | 72 65 63 74 6f 72 79 20 |fault di|rectory |
|000042c0| 77 68 65 6e 20 69 74 20 | 77 72 69 74 65 73 20 69 |when it |writes i|
|000042d0| 74 20 69 6e 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |t in the| minibuf|
|000042e0| 66 65 72 2e 20 20 59 6f | 75 0a 3b 3b 3b 20 20 20 |fer. Yo|u.;;; |
|000042f0| 20 6d 75 73 74 20 65 64 | 69 74 20 74 68 65 20 6d | must ed|it the m|
|00004300| 69 6e 69 62 75 66 66 65 | 72 20 74 6f 20 71 75 6f |inibuffe|r to quo|
|00004310| 74 65 20 74 68 65 20 24 | 27 73 20 6d 61 6e 75 61 |te the $|'s manua|
|00004320| 6c 6c 79 2e 20 48 6f 70 | 65 66 75 6c 6c 79 2c 20 |lly. Hop|efully, |
|00004330| 74 68 69 73 20 62 75 67 | 0a 3b 3b 3b 20 20 20 20 |this bug|.;;; |
|00004340| 77 69 6c 6c 20 62 65 20 | 66 69 78 65 64 20 69 6e |will be |fixed in|
|00004350| 20 45 4d 41 43 53 20 31 | 39 2e 20 49 66 20 79 6f | EMACS 1|9. If yo|
|00004360| 75 20 75 73 65 20 53 65 | 62 61 73 74 69 61 6e 20 |u use Se|bastian |
|00004370| 4b 72 65 6d 65 72 27 73 | 20 67 6d 68 69 73 74 20 |Kremer's| gmhist |
|00004380| 28 56 20 34 2e 32 36 0a | 3b 3b 3b 20 20 20 20 6f |(V 4.26.|;;; o|
|00004390| 72 20 6e 65 77 65 72 29 | 2c 20 79 6f 75 20 77 69 |r newer)|, you wi|
|000043a0| 6c 6c 20 6e 6f 74 20 68 | 61 76 65 20 74 68 69 73 |ll not h|ave this|
|000043b0| 20 70 72 6f 62 6c 65 6d | 2e 0a 0a 3b 3b 3b 20 4d | problem|...;;; M|
|000043c0| 54 53 20 73 75 70 70 6f | 72 74 3a 0a 3b 3b 3b 0a |TS suppo|rt:.;;;.|
|000043d0| 3b 3b 3b 20 41 6e 67 65 | 2d 66 74 70 20 68 61 73 |;;; Ange|-ftp has|
|000043e0| 20 66 75 6c 6c 20 73 75 | 70 70 6f 72 74 2c 20 69 | full su|pport, i|
|000043f0| 6e 63 6c 75 64 69 6e 67 | 20 74 72 65 65 20 64 69 |ncluding| tree di|
|00004400| 72 65 64 20 73 75 70 70 | 6f 72 74 2c 20 66 6f 72 |red supp|ort, for|
|00004410| 20 68 6f 73 74 73 20 72 | 75 6e 6e 69 6e 67 0a 3b | hosts r|unning.;|
|00004420| 3b 3b 20 74 68 65 20 4d | 69 63 68 69 67 61 6e 20 |;; the M|ichigan |
|00004430| 74 65 72 6d 69 6e 61 6c | 20 73 79 73 74 65 6d 2e |terminal| system.|
|00004440| 20 20 49 74 20 73 68 6f | 75 6c 64 20 62 65 20 61 | It sho|uld be a|
|00004450| 62 6c 65 20 74 6f 20 61 | 75 74 6f 6d 61 74 69 63 |ble to a|utomatic|
|00004460| 61 6c 6c 79 0a 3b 3b 3b | 20 72 65 63 6f 67 6e 69 |ally.;;;| recogni|
|00004470| 7a 65 20 61 6e 79 20 4d | 54 53 20 6d 61 63 68 69 |ze any M|TS machi|
|00004480| 6e 65 2e 20 48 6f 77 65 | 76 65 72 2c 20 69 66 20 |ne. Howe|ver, if |
|00004490| 69 74 20 66 61 69 6c 73 | 20 74 6f 20 64 6f 20 74 |it fails| to do t|
|000044a0| 68 69 73 2c 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |his, you| can use|
|000044b0| 0a 3b 3b 3b 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |.;;; the| command|
|000044c0| 20 61 6e 67 65 2d 66 74 | 70 2d 61 64 64 2d 6d 74 | ange-ft|p-add-mt|
|000044d0| 73 2d 68 6f 73 74 2e 20 | 20 41 73 20 77 65 6c 6c |s-host. | As well|
|000044e0| 2c 20 79 6f 75 20 63 61 | 6e 20 73 65 74 20 74 68 |, you ca|n set th|
|000044f0| 65 20 76 61 72 69 61 62 | 6c 65 0a 3b 3b 3b 20 61 |e variab|le.;;; a|
|00004500| 6e 67 65 2d 66 74 70 2d | 6d 74 73 2d 68 6f 73 74 |nge-ftp-|mts-host|
|00004510| 2d 72 65 67 65 78 70 20 | 69 6e 20 79 6f 75 72 20 |-regexp |in your |
|00004520| 2e 65 6d 61 63 73 20 66 | 69 6c 65 2e 20 57 65 20 |.emacs f|ile. We |
|00004530| 77 6f 75 6c 64 20 62 65 | 20 67 72 61 74 65 66 75 |would be| gratefu|
|00004540| 6c 20 69 66 20 79 6f 75 | 0a 3b 3b 3b 20 77 6f 75 |l if you|.;;; wou|
|00004550| 6c 64 20 72 65 70 6f 72 | 74 20 61 6e 79 20 66 61 |ld repor|t any fa|
|00004560| 69 6c 75 72 65 73 20 74 | 6f 20 61 75 74 6f 6d 61 |ilures t|o automa|
|00004570| 74 69 63 61 6c 6c 79 20 | 72 65 63 6f 67 6e 69 7a |tically |recogniz|
|00004580| 65 20 61 20 4d 54 53 20 | 68 6f 73 74 20 61 73 20 |e a MTS |host as |
|00004590| 61 20 62 75 67 2e 0a 3b | 3b 3b 0a 3b 3b 3b 20 46 |a bug..;|;;.;;; F|
|000045a0| 69 6c 65 6e 61 6d 65 20 | 73 79 6e 74 61 78 3a 0a |ilename |syntax:.|
|000045b0| 3b 3b 3b 20 0a 3b 3b 3b | 20 4d 54 53 20 66 69 6c |;;; .;;;| MTS fil|
|000045c0| 65 6e 61 6d 65 73 20 61 | 72 65 20 65 6e 74 65 72 |enames a|re enter|
|000045d0| 65 64 20 69 6e 20 61 20 | 55 4e 49 58 2d 79 20 77 |ed in a |UNIX-y w|
|000045e0| 61 79 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |ay. For |example,|
|000045f0| 20 69 66 20 79 6f 75 72 | 20 61 63 63 6f 75 6e 74 | if your| account|
|00004600| 0a 3b 3b 3b 20 77 61 73 | 20 59 59 59 59 2c 20 74 |.;;; was| YYYY, t|
|00004610| 68 65 20 66 69 6c 65 20 | 46 49 4c 45 20 69 6e 20 |he file |FILE in |
|00004620| 74 68 65 20 61 63 63 6f | 75 6e 74 20 58 58 58 58 |the acco|unt XXXX|
|00004630| 3a 20 6f 6e 20 6d 74 73 | 67 2e 75 62 63 2e 63 61 |: on mts|g.ubc.ca|
|00004640| 20 77 6f 75 6c 64 20 62 | 65 0a 3b 3b 3b 20 65 6e | would b|e.;;; en|
|00004650| 74 65 72 65 64 20 61 73 | 0a 3b 3b 3b 20 20 20 2f |tered as|.;;; /|
|00004660| 59 59 59 59 40 6d 74 73 | 67 2e 75 62 63 2e 63 61 |YYYY@mts|g.ubc.ca|
|00004670| 3a 2f 58 58 58 58 3a 2f | 46 49 4c 45 0a 3b 3b 3b |:/XXXX:/|FILE.;;;|
|00004680| 20 49 6e 20 6f 74 68 65 | 72 20 77 6f 72 64 73 2c | In othe|r words,|
|00004690| 20 4d 54 53 20 61 63 63 | 6f 75 6e 74 73 20 61 72 | MTS acc|ounts ar|
|000046a0| 65 20 74 72 65 61 74 65 | 64 20 61 73 20 55 4e 49 |e treate|d as UNI|
|000046b0| 58 20 64 69 72 65 63 74 | 6f 72 69 65 73 2e 20 4f |X direct|ories. O|
|000046c0| 66 20 63 6f 75 72 73 65 | 2c 0a 3b 3b 3b 20 74 6f |f course|,.;;; to|
|000046d0| 20 61 63 63 65 73 73 20 | 61 20 66 69 6c 65 20 69 | access |a file i|
|000046e0| 6e 20 61 6e 6f 74 68 65 | 72 20 61 63 63 6f 75 6e |n anothe|r accoun|
|000046f0| 74 2c 20 79 6f 75 20 6d | 75 73 74 20 68 61 76 65 |t, you m|ust have|
|00004700| 20 61 63 63 65 73 73 20 | 70 65 72 6d 69 73 73 69 | access |permissi|
|00004710| 6f 6e 20 66 6f 72 0a 3b | 3b 3b 20 69 74 2e 20 20 |on for.;|;; it. |
|00004720| 49 66 20 46 49 4c 45 20 | 77 65 72 65 20 69 6e 20 |If FILE |were in |
|00004730| 79 6f 75 72 20 6f 77 6e | 20 61 63 63 6f 75 6e 74 |your own| account|
|00004740| 2c 20 74 68 65 6e 20 79 | 6f 75 20 63 6f 75 6c 64 |, then y|ou could|
|00004750| 20 65 6e 74 65 72 20 69 | 74 20 69 6e 20 61 0a 3b | enter i|t in a.;|
|00004760| 3b 3b 20 72 65 6c 61 74 | 69 76 65 20 70 61 74 68 |;; relat|ive path|
|00004770| 20 66 61 73 68 69 6f 6e | 20 61 73 0a 3b 3b 3b 20 | fashion| as.;;; |
|00004780| 20 20 2f 59 59 59 59 40 | 6d 74 73 67 2e 75 62 63 | /YYYY@|mtsg.ubc|
|00004790| 2e 63 61 3a 46 49 4c 45 | 0a 3b 3b 3b 20 4d 54 53 |.ca:FILE|.;;; MTS|
|000047a0| 20 66 69 6c 65 6e 61 6d | 65 73 20 63 61 6e 20 62 | filenam|es can b|
|000047b0| 65 20 75 70 20 74 6f 20 | 31 32 20 63 68 61 72 61 |e up to |12 chara|
|000047c0| 63 74 65 72 73 2e 20 4c | 69 6b 65 20 55 4e 49 58 |cters. L|ike UNIX|
|000047d0| 2c 20 74 68 65 20 73 74 | 72 75 63 74 75 72 65 20 |, the st|ructure |
|000047e0| 6f 66 20 74 68 65 0a 3b | 3b 3b 20 66 69 6c 65 6e |of the.;|;; filen|
|000047f0| 61 6d 65 20 64 6f 65 73 | 20 6e 6f 74 20 63 6f 6e |ame does| not con|
|00004800| 74 61 69 6e 20 61 20 54 | 59 50 45 20 28 69 2e 65 |tain a T|YPE (i.e|
|00004810| 2e 20 69 74 20 63 61 6e | 20 68 61 76 65 20 61 73 |. it can| have as|
|00004820| 20 6d 61 6e 79 20 22 2e | 22 27 73 20 61 73 20 79 | many ".|"'s as y|
|00004830| 6f 75 0a 3b 3b 3b 20 6c | 69 6b 65 2e 29 20 4d 54 |ou.;;; l|ike.) MT|
|00004840| 53 20 66 69 6c 65 6e 61 | 6d 65 73 20 61 72 65 20 |S filena|mes are |
|00004850| 61 6c 77 61 79 73 20 69 | 6e 20 75 70 70 65 72 20 |always i|n upper |
|00004860| 63 61 73 65 2c 20 61 6e | 64 20 68 65 6e 63 65 20 |case, an|d hence |
|00004870| 62 65 20 73 75 72 65 20 | 74 6f 20 65 6e 74 65 72 |be sure |to enter|
|00004880| 0a 3b 3b 3b 20 74 68 65 | 6d 20 61 73 20 73 75 63 |.;;; the|m as suc|
|00004890| 68 21 20 4d 54 53 20 69 | 73 20 6e 6f 74 20 63 61 |h! MTS i|s not ca|
|000048a0| 73 65 20 73 65 6e 73 69 | 74 69 76 65 2c 20 62 75 |se sensi|tive, bu|
|000048b0| 74 20 61 6e 20 45 4d 41 | 43 53 20 72 75 6e 6e 69 |t an EMA|CS runni|
|000048c0| 6e 67 20 75 6e 64 65 72 | 20 55 4e 49 58 0a 3b 3b |ng under| UNIX.;;|
|000048d0| 3b 20 69 73 2e 0a 0a 3b | 3b 3b 20 43 4d 53 20 73 |; is...;|;; CMS s|
|000048e0| 75 70 70 6f 72 74 3a 0a | 3b 3b 3b 20 0a 3b 3b 3b |upport:.|;;; .;;;|
|000048f0| 20 41 6e 67 65 2d 66 74 | 70 20 68 61 73 20 66 75 | Ange-ft|p has fu|
|00004900| 6c 6c 20 73 75 70 70 6f | 72 74 2c 20 69 6e 63 6c |ll suppo|rt, incl|
|00004910| 75 64 69 6e 67 20 74 72 | 65 65 20 64 69 72 65 64 |uding tr|ee dired|
|00004920| 20 73 75 70 70 6f 72 74 | 2c 20 66 6f 72 20 68 6f | support|, for ho|
|00004930| 73 74 73 20 72 75 6e 6e | 69 6e 67 0a 3b 3b 3b 20 |sts runn|ing.;;; |
|00004940| 43 4d 53 2e 20 20 49 74 | 20 73 68 6f 75 6c 64 20 |CMS. It| should |
|00004950| 62 65 20 61 62 6c 65 20 | 74 6f 20 61 75 74 6f 6d |be able |to autom|
|00004960| 61 74 69 63 61 6c 6c 79 | 20 72 65 63 6f 67 6e 69 |atically| recogni|
|00004970| 7a 65 20 61 6e 79 20 43 | 4d 53 20 6d 61 63 68 69 |ze any C|MS machi|
|00004980| 6e 65 2e 0a 3b 3b 3b 20 | 48 6f 77 65 76 65 72 2c |ne..;;; |However,|
|00004990| 20 69 66 20 69 74 20 66 | 61 69 6c 73 20 74 6f 20 | if it f|ails to |
|000049a0| 64 6f 20 74 68 69 73 2c | 20 79 6f 75 20 63 61 6e |do this,| you can|
|000049b0| 20 75 73 65 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 | use the| command|
|000049c0| 0a 3b 3b 3b 20 61 6e 67 | 65 2d 66 74 70 2d 61 64 |.;;; ang|e-ftp-ad|
|000049d0| 64 2d 63 6d 73 2d 68 6f | 73 74 2e 20 20 41 73 20 |d-cms-ho|st. As |
|000049e0| 77 65 6c 6c 2c 20 79 6f | 75 20 63 61 6e 20 73 65 |well, yo|u can se|
|000049f0| 74 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 0a 3b |t the va|riable.;|
|00004a00| 3b 3b 20 61 6e 67 65 2d | 66 74 70 2d 63 6d 73 2d |;; ange-|ftp-cms-|
|00004a10| 68 6f 73 74 2d 72 65 67 | 65 78 70 20 69 6e 20 79 |host-reg|exp in y|
|00004a20| 6f 75 72 20 2e 65 6d 61 | 63 73 20 66 69 6c 65 2e |our .ema|cs file.|
|00004a30| 20 57 65 20 77 6f 75 6c | 64 20 62 65 20 67 72 61 | We woul|d be gra|
|00004a40| 74 65 66 75 6c 20 69 66 | 20 79 6f 75 0a 3b 3b 3b |teful if| you.;;;|
|00004a50| 20 77 6f 75 6c 64 20 72 | 65 70 6f 72 74 20 61 6e | would r|eport an|
|00004a60| 79 20 66 61 69 6c 75 72 | 65 73 20 74 6f 20 61 75 |y failur|es to au|
|00004a70| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 72 65 63 6f |tomatica|lly reco|
|00004a80| 67 6e 69 7a 65 20 61 20 | 43 4d 53 20 68 6f 73 74 |gnize a |CMS host|
|00004a90| 20 61 73 20 61 20 62 75 | 67 2e 0a 3b 3b 3b 20 0a | as a bu|g..;;; .|
|00004aa0| 3b 3b 3b 20 46 69 6c 65 | 6e 61 6d 65 20 73 79 6e |;;; File|name syn|
|00004ab0| 74 61 78 3a 0a 3b 3b 3b | 0a 3b 3b 3b 20 43 4d 53 |tax:.;;;|.;;; CMS|
|00004ac0| 20 66 69 6c 65 6e 61 6d | 65 73 20 61 72 65 20 65 | filenam|es are e|
|00004ad0| 6e 74 65 72 65 64 20 69 | 6e 20 61 20 55 4e 49 58 |ntered i|n a UNIX|
|00004ae0| 2d 79 20 77 61 79 2e 20 | 49 6e 20 6f 74 68 65 72 |-y way. |In other|
|00004af0| 77 6f 72 64 73 2c 20 6d | 69 6e 69 64 69 73 6b 73 |words, m|inidisks|
|00004b00| 20 61 72 65 0a 3b 3b 3b | 20 74 72 65 61 74 65 64 | are.;;;| treated|
|00004b10| 20 61 73 20 55 4e 49 58 | 20 64 69 72 65 63 74 6f | as UNIX| directo|
|00004b20| 72 69 65 73 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |ries. Fo|r exampl|
|00004b30| 65 20 74 6f 20 61 63 63 | 65 73 73 20 74 68 65 20 |e to acc|ess the |
|00004b40| 66 69 6c 65 20 52 45 41 | 44 2e 4d 45 20 69 6e 0a |file REA|D.ME in.|
|00004b50| 3b 3b 3b 20 6d 69 6e 69 | 64 69 73 6b 20 2a 2e 33 |;;; mini|disk *.3|
|00004b60| 31 31 20 6f 6e 20 63 75 | 76 6d 62 2e 63 63 2e 63 |11 on cu|vmb.cc.c|
|00004b70| 6f 6c 75 6d 62 69 61 2e | 65 64 75 2c 20 79 6f 75 |olumbia.|edu, you|
|00004b80| 20 77 6f 75 6c 64 20 65 | 6e 74 65 72 0a 3b 3b 3b | would e|nter.;;;|
|00004b90| 20 20 20 2f 61 6e 6f 6e | 79 6d 6f 75 73 40 63 75 | /anon|ymous@cu|
|00004ba0| 76 6d 62 2e 63 63 2e 63 | 6f 6c 75 6d 62 69 61 2e |vmb.cc.c|olumbia.|
|00004bb0| 65 64 75 3a 2f 2a 2e 33 | 31 31 2f 52 45 41 44 2e |edu:/*.3|11/READ.|
|00004bc0| 4d 45 0a 3b 3b 3b 20 49 | 66 20 2a 2e 33 30 31 20 |ME.;;; I|f *.301 |
|00004bd0| 69 73 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 6d |is the d|efault m|
|00004be0| 69 6e 69 64 69 73 6b 20 | 66 6f 72 20 74 68 69 73 |inidisk |for this|
|00004bf0| 20 61 63 63 6f 75 6e 74 | 2c 20 79 6f 75 20 63 6f | account|, you co|
|00004c00| 75 6c 64 20 61 63 63 65 | 73 73 0a 3b 3b 3b 20 46 |uld acce|ss.;;; F|
|00004c10| 4f 4f 2e 42 41 52 20 6f | 6e 20 74 68 69 73 20 6d |OO.BAR o|n this m|
|00004c20| 69 6e 69 64 69 73 6b 20 | 61 73 0a 3b 3b 3b 20 20 |inidisk |as.;;; |
|00004c30| 20 2f 61 6e 6f 6e 79 6d | 6f 75 73 40 63 75 76 6d | /anonym|ous@cuvm|
|00004c40| 62 2e 63 63 2e 63 6f 6c | 75 6d 62 69 61 2e 65 64 |b.cc.col|umbia.ed|
|00004c50| 75 3a 46 4f 4f 2e 42 41 | 52 0a 3b 3b 3b 20 43 4d |u:FOO.BA|R.;;; CM|
|00004c60| 53 20 66 69 6c 65 6e 61 | 6d 65 73 20 61 72 65 20 |S filena|mes are |
|00004c70| 6f 66 20 74 68 65 20 66 | 6f 72 6d 20 46 49 4c 45 |of the f|orm FILE|
|00004c80| 2e 54 59 50 45 2c 20 77 | 68 65 72 65 20 62 6f 74 |.TYPE, w|here bot|
|00004c90| 68 20 46 49 4c 45 20 61 | 6e 64 20 54 59 50 45 20 |h FILE a|nd TYPE |
|00004ca0| 63 61 6e 20 62 65 0a 3b | 3b 3b 20 75 70 20 74 6f |can be.;|;; up to|
|00004cb0| 20 38 20 63 68 61 72 61 | 63 74 65 72 73 2e 20 41 | 8 chara|cters. A|
|00004cc0| 67 61 69 6e 2c 20 62 65 | 77 61 72 65 20 74 68 61 |gain, be|ware tha|
|00004cd0| 74 20 43 4d 53 20 66 69 | 6c 65 6e 61 6d 65 73 20 |t CMS fi|lenames |
|00004ce0| 61 72 65 20 61 6c 77 61 | 79 73 20 75 70 70 65 72 |are alwa|ys upper|
|00004cf0| 0a 3b 3b 3b 20 63 61 73 | 65 2c 20 61 6e 64 20 68 |.;;; cas|e, and h|
|00004d00| 65 6e 63 65 20 6d 75 73 | 74 20 62 65 20 65 6e 74 |ence mus|t be ent|
|00004d10| 65 72 65 64 20 61 73 20 | 73 75 63 68 2e 0a 3b 3b |ered as |such..;;|
|00004d20| 3b 0a 3b 3b 3b 20 54 69 | 70 73 3a 0a 3b 3b 3b 20 |;.;;; Ti|ps:.;;; |
|00004d30| 31 2e 20 43 4d 53 20 6d | 61 63 68 69 6e 65 73 2c |1. CMS m|achines,|
|00004d40| 20 77 69 74 68 20 74 68 | 65 20 65 78 63 65 70 74 | with th|e except|
|00004d50| 69 6f 6e 20 6f 66 20 61 | 6e 6f 6e 79 6d 6f 75 73 |ion of a|nonymous|
|00004d60| 20 61 63 63 6f 75 6e 74 | 73 2c 20 6e 65 61 72 6c | account|s, nearl|
|00004d70| 79 20 61 6c 77 61 79 73 | 0a 3b 3b 3b 20 20 20 20 |y always|.;;; |
|00004d80| 6e 65 65 64 20 61 6e 20 | 61 63 63 6f 75 6e 74 20 |need an |account |
|00004d90| 70 61 73 73 77 6f 72 64 | 2e 20 54 6f 20 68 61 76 |password|. To hav|
|00004da0| 65 20 61 6e 67 65 2d 66 | 74 70 20 73 65 6e 64 20 |e ange-f|tp send |
|00004db0| 61 6e 20 61 63 63 6f 75 | 6e 74 20 70 61 73 73 77 |an accou|nt passw|
|00004dc0| 6f 72 64 2c 0a 3b 3b 3b | 20 20 20 20 79 6f 75 20 |ord,.;;;| you |
|00004dd0| 63 61 6e 20 65 69 74 68 | 65 72 20 69 6e 63 6c 75 |can eith|er inclu|
|00004de0| 64 65 20 69 74 20 69 6e | 20 79 6f 75 72 20 2e 6e |de it in| your .n|
|00004df0| 65 74 72 63 20 66 69 6c | 65 2c 20 6f 72 20 75 73 |etrc fil|e, or us|
|00004e00| 65 0a 3b 3b 3b 20 20 20 | 20 61 6e 67 65 2d 66 74 |e.;;; | ange-ft|
|00004e10| 70 2d 73 65 74 2d 61 63 | 63 6f 75 6e 74 2e 0a 3b |p-set-ac|count..;|
|00004e20| 3b 3b 20 32 2e 20 41 6e | 67 65 2d 66 74 70 20 63 |;; 2. An|ge-ftp c|
|00004e30| 61 6e 6e 6f 74 20 73 65 | 6e 64 20 22 77 72 69 74 |annot se|nd "writ|
|00004e40| 65 20 70 61 73 73 77 6f | 72 64 73 22 20 66 6f 72 |e passwo|rds" for|
|00004e50| 20 61 20 6d 69 6e 69 64 | 69 73 6b 2e 20 48 6f 70 | a minid|isk. Hop|
|00004e60| 65 66 75 6c 6c 79 2c 20 | 77 65 0a 3b 3b 3b 20 20 |efully, |we.;;; |
|00004e70| 20 20 63 61 6e 20 66 69 | 78 20 74 68 69 73 2e 0a | can fi|x this..|
|00004e80| 3b 3b 3b 0a 3b 3b 3b 20 | 2d 2d 2d 2d 2d 2d 2d 2d |;;;.;;; |--------|
|00004e90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004ea0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004eb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004ec0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 3b 3b 3b 20 42 |--------|--.;;; B|
|00004ed0| 75 67 73 3a 0a 3b 3b 3b | 20 2d 2d 2d 2d 2d 2d 2d |ugs:.;;;| -------|
|00004ee0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004ef0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 3b 3b 3b 20 |--------|---.;;; |
|00004f20| 0a 3b 3b 3b 20 31 2e 20 | 55 6d 61 73 6b 20 70 72 |.;;; 1. |Umask pr|
|00004f30| 6f 62 6c 65 6d 73 3a 0a | 3b 3b 3b 20 20 20 20 42 |oblems:.|;;; B|
|00004f40| 65 20 77 61 72 6e 65 64 | 20 74 68 61 74 20 66 69 |e warned| that fi|
|00004f50| 6c 65 73 20 63 72 65 61 | 74 65 64 20 62 79 20 75 |les crea|ted by u|
|00004f60| 73 69 6e 67 20 61 6e 67 | 65 2d 66 74 70 20 77 69 |sing ang|e-ftp wi|
|00004f70| 6c 6c 20 74 61 6b 65 20 | 61 63 63 6f 75 6e 74 20 |ll take |account |
|00004f80| 6f 66 20 74 68 65 0a 3b | 3b 3b 20 20 20 20 75 6d |of the.;|;; um|
|00004f90| 61 73 6b 20 6f 66 20 74 | 68 65 20 66 74 70 20 64 |ask of t|he ftp d|
|00004fa0| 61 65 6d 6f 6e 20 70 72 | 6f 63 65 73 73 20 72 61 |aemon pr|ocess ra|
|00004fb0| 74 68 65 72 20 74 68 61 | 6e 20 74 68 65 20 75 6d |ther tha|n the um|
|00004fc0| 61 73 6b 20 6f 66 20 74 | 68 65 20 63 72 65 61 74 |ask of t|he creat|
|00004fd0| 69 6e 67 0a 3b 3b 3b 20 | 20 20 20 75 73 65 72 2e |ing.;;; | user.|
|00004fe0| 20 20 54 68 69 73 20 69 | 73 20 70 61 72 74 69 63 | This i|s partic|
|00004ff0| 75 6c 61 72 79 20 69 6d | 70 6f 72 74 61 6e 74 20 |ulary im|portant |
|00005000| 77 68 65 6e 20 6c 6f 67 | 67 69 6e 67 20 69 6e 20 |when log|ging in |
|00005010| 61 73 20 74 68 65 20 72 | 6f 6f 74 20 75 73 65 72 |as the r|oot user|
|00005020| 2e 0a 3b 3b 3b 20 20 20 | 20 54 68 65 20 77 61 79 |..;;; | The way|
|00005030| 20 74 68 61 74 20 49 20 | 74 69 67 68 74 65 6e 20 | that I |tighten |
|00005040| 75 70 20 74 68 65 20 66 | 74 70 20 64 61 65 6d 6f |up the f|tp daemo|
|00005050| 6e 27 73 20 75 6d 61 73 | 6b 20 75 6e 64 65 72 20 |n's umas|k under |
|00005060| 48 50 2d 55 58 20 69 73 | 20 74 6f 20 6d 61 6b 65 |HP-UX is| to make|
|00005070| 0a 3b 3b 3b 20 20 20 20 | 73 75 72 65 20 74 68 61 |.;;; |sure tha|
|00005080| 74 20 74 68 65 20 75 6d | 61 73 6b 20 69 73 20 63 |t the um|ask is c|
|00005090| 68 61 6e 67 65 64 20 74 | 6f 20 30 32 37 20 62 65 |hanged t|o 027 be|
|000050a0| 66 6f 72 65 20 49 20 73 | 70 61 77 6e 20 2f 65 74 |fore I s|pawn /et|
|000050b0| 63 2f 69 6e 65 74 64 2e | 20 20 49 0a 3b 3b 3b 20 |c/inetd.| I.;;; |
|000050c0| 20 20 20 73 75 73 70 65 | 63 74 20 74 68 61 74 20 | suspe|ct that |
|000050d0| 74 68 65 72 65 20 69 73 | 20 73 6f 6d 65 74 68 69 |there is| somethi|
|000050e0| 6e 67 20 73 69 6d 69 6c | 61 72 20 6f 6e 20 6f 74 |ng simil|ar on ot|
|000050f0| 68 65 72 20 73 79 73 74 | 65 6d 73 2e 0a 3b 3b 3b |her syst|ems..;;;|
|00005100| 0a 3b 3b 3b 20 32 2e 20 | 53 6f 6d 65 20 63 6f 6d |.;;; 2. |Some com|
|00005110| 62 69 6e 61 74 69 6f 6e | 73 20 6f 66 20 46 54 50 |bination|s of FTP|
|00005120| 20 63 6c 69 65 6e 74 73 | 20 61 6e 64 20 73 65 72 | clients| and ser|
|00005130| 76 65 72 73 20 62 72 65 | 61 6b 20 61 6e 64 20 67 |vers bre|ak and g|
|00005140| 65 74 20 6f 75 74 20 6f | 66 20 73 79 6e 63 0a 3b |et out o|f sync.;|
|00005150| 3b 3b 20 20 20 20 77 68 | 65 6e 20 61 73 6b 65 64 |;; wh|en asked|
|00005160| 20 74 6f 20 6c 69 73 74 | 20 61 20 6e 6f 6e 2d 65 | to list| a non-e|
|00005170| 78 69 73 74 65 6e 74 20 | 64 69 72 65 63 74 6f 72 |xistent |director|
|00005180| 79 2e 20 20 53 6f 6d 65 | 20 6f 66 20 74 68 65 20 |y. Some| of the |
|00005190| 61 69 2e 6d 69 74 2e 65 | 64 75 0a 3b 3b 3b 20 20 |ai.mit.e|du.;;; |
|000051a0| 20 20 6d 61 63 68 69 6e | 65 73 20 63 61 75 73 65 | machin|es cause|
|000051b0| 20 74 68 69 73 20 70 72 | 6f 62 6c 65 6d 20 66 6f | this pr|oblem fo|
|000051c0| 72 20 73 6f 6d 65 20 46 | 54 50 20 63 6c 69 65 6e |r some F|TP clien|
|000051d0| 74 73 2e 20 55 73 69 6e | 67 0a 3b 3b 3b 20 20 20 |ts. Usin|g.;;; |
|000051e0| 20 61 6e 67 65 2d 66 74 | 70 2d 6b 69 6c 6c 2d 70 | ange-ft|p-kill-p|
|000051f0| 72 6f 63 65 73 73 20 63 | 61 6e 20 62 65 20 75 73 |rocess c|an be us|
|00005200| 65 64 20 74 6f 20 72 65 | 73 74 61 72 74 20 74 68 |ed to re|start th|
|00005210| 65 20 66 74 70 20 70 72 | 6f 63 65 73 73 2c 20 77 |e ftp pr|ocess, w|
|00005220| 68 69 63 68 0a 3b 3b 3b | 20 20 20 20 73 68 6f 75 |hich.;;;| shou|
|00005230| 6c 64 20 67 65 74 20 74 | 68 69 6e 67 73 20 62 61 |ld get t|hings ba|
|00005240| 63 6b 20 69 6e 20 73 79 | 6e 63 68 2e 0a 3b 3b 3b |ck in sy|nch..;;;|
|00005250| 0a 3b 3b 3b 20 33 2e 20 | 41 6e 67 65 2d 66 74 70 |.;;; 3. |Ange-ftp|
|00005260| 20 64 6f 65 73 20 6e 6f | 74 20 63 68 65 63 6b 20 | does no|t check |
|00005270| 74 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 61 |to make |sure tha|
|00005280| 74 20 77 68 65 6e 20 63 | 72 65 61 74 69 6e 67 20 |t when c|reating |
|00005290| 61 20 6e 65 77 20 66 69 | 6c 65 2c 0a 3b 3b 3b 20 |a new fi|le,.;;; |
|000052a0| 20 20 20 79 6f 75 20 70 | 72 6f 76 69 64 65 20 61 | you p|rovide a|
|000052b0| 20 76 61 6c 69 64 20 66 | 69 6c 65 6e 61 6d 65 20 | valid f|ilename |
|000052c0| 66 6f 72 20 74 68 65 20 | 72 65 6d 6f 74 65 20 6f |for the |remote o|
|000052d0| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 2e |perating| system.|
|000052e0| 0a 3b 3b 3b 20 20 20 20 | 49 66 20 79 6f 75 20 64 |.;;; |If you d|
|000052f0| 6f 20 6e 6f 74 2c 20 74 | 68 65 6e 20 74 68 65 20 |o not, t|hen the |
|00005300| 72 65 6d 6f 74 65 20 46 | 54 50 20 73 65 72 76 65 |remote F|TP serve|
|00005310| 72 20 77 69 6c 6c 20 6d | 6f 73 74 20 6c 69 6b 65 |r will m|ost like|
|00005320| 6c 79 0a 3b 3b 3b 20 20 | 20 20 74 72 61 6e 73 6c |ly.;;; | transl|
|00005330| 61 74 65 20 79 6f 75 72 | 20 66 69 6c 65 6e 61 6d |ate your| filenam|
|00005340| 65 20 69 6e 20 73 6f 6d | 65 20 77 61 79 2e 20 54 |e in som|e way. T|
|00005350| 68 69 73 20 6d 61 79 20 | 63 61 75 73 65 20 61 6e |his may |cause an|
|00005360| 67 65 2d 66 74 70 20 74 | 6f 0a 3b 3b 3b 20 20 20 |ge-ftp t|o.;;; |
|00005370| 20 67 65 74 20 63 6f 6e | 66 75 73 65 64 20 61 62 | get con|fused ab|
|00005380| 6f 75 74 20 77 68 61 74 | 20 65 78 61 63 74 6c 79 |out what| exactly|
|00005390| 20 69 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 | is the |name of |
|000053a0| 74 68 65 20 66 69 6c 65 | 2e 20 54 68 65 0a 3b 3b |the file|. The.;;|
|000053b0| 3b 20 20 20 20 6d 6f 73 | 74 20 63 6f 6d 6d 6f 6e |; mos|t common|
|000053c0| 20 63 61 75 73 65 73 20 | 6f 66 20 74 68 69 73 20 | causes |of this |
|000053d0| 61 72 65 20 75 73 69 6e | 67 20 6c 6f 77 65 72 20 |are usin|g lower |
|000053e0| 63 61 73 65 20 66 69 6c | 65 6e 61 6d 65 73 20 6f |case fil|enames o|
|000053f0| 6e 20 73 79 73 74 65 6d | 73 0a 3b 3b 3b 20 20 20 |n system|s.;;; |
|00005400| 20 77 68 69 63 68 20 73 | 75 70 70 6f 72 74 20 6f | which s|upport o|
|00005410| 6e 6c 79 20 75 70 70 65 | 72 20 63 61 73 65 2c 20 |nly uppe|r case, |
|00005420| 61 6e 64 20 75 73 69 6e | 67 20 66 69 6c 65 6e 61 |and usin|g filena|
|00005430| 6d 65 73 20 77 68 69 63 | 68 20 61 72 65 20 74 6f |mes whic|h are to|
|00005440| 6f 0a 3b 3b 3b 20 20 20 | 20 6c 6f 6e 67 2e 0a 3b |o.;;; | long..;|
|00005450| 3b 3b 0a 3b 3b 3b 20 34 | 2e 20 4e 75 6c 6c 20 28 |;;.;;; 4|. Null (|
|00005460| 62 6c 61 6e 6b 29 20 70 | 61 73 73 77 6f 72 64 73 |blank) p|asswords|
|00005470| 20 63 6f 6e 66 75 73 65 | 20 62 6f 74 68 20 61 6e | confuse| both an|
|00005480| 67 65 2d 66 74 70 20 61 | 6e 64 20 73 6f 6d 65 20 |ge-ftp a|nd some |
|00005490| 46 54 50 20 64 61 65 6d | 6f 6e 73 2e 0a 3b 3b 3b |FTP daem|ons..;;;|
|000054a0| 0a 3b 3b 3b 20 35 2e 20 | 41 6e 67 65 2d 66 74 70 |.;;; 5. |Ange-ftp|
|000054b0| 20 6c 69 6b 65 73 20 74 | 6f 20 75 73 65 20 70 74 | likes t|o use pt|
|000054c0| 79 27 73 20 74 6f 20 74 | 61 6c 6b 20 74 6f 20 69 |y's to t|alk to i|
|000054d0| 74 73 20 46 54 50 20 70 | 72 6f 63 65 73 73 65 73 |ts FTP p|rocesses|
|000054e0| 2e 20 20 49 66 20 47 4e | 55 20 45 6d 61 63 73 0a |. If GN|U Emacs.|
|000054f0| 3b 3b 3b 20 20 20 20 66 | 6f 72 20 73 6f 6d 65 20 |;;; f|or some |
|00005500| 72 65 61 73 6f 6e 20 63 | 72 65 61 74 65 73 20 61 |reason c|reates a|
|00005510| 20 46 54 50 20 70 72 6f | 63 65 73 73 20 74 68 61 | FTP pro|cess tha|
|00005520| 74 20 6f 6e 6c 79 20 74 | 61 6c 6b 73 20 76 69 61 |t only t|alks via|
|00005530| 20 70 69 70 65 73 20 74 | 68 65 6e 0a 3b 3b 3b 20 | pipes t|hen.;;; |
|00005540| 20 20 20 61 6e 67 65 2d | 66 74 70 20 77 6f 6e 27 | ange-|ftp won'|
|00005550| 74 20 62 65 20 67 65 74 | 74 69 6e 67 20 74 68 65 |t be get|ting the|
|00005560| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 74 20 | informa|tion it |
|00005570| 72 65 71 75 69 72 65 73 | 20 61 74 20 74 68 65 20 |requires| at the |
|00005580| 74 69 6d 65 20 74 68 61 | 74 0a 3b 3b 3b 20 20 20 |time tha|t.;;; |
|00005590| 20 69 74 20 77 61 6e 74 | 73 20 69 74 20 73 69 6e | it want|s it sin|
|000055a0| 63 65 20 70 69 70 65 73 | 20 66 6c 75 73 68 20 61 |ce pipes| flush a|
|000055b0| 74 20 64 69 66 66 65 72 | 65 6e 74 20 74 69 6d 65 |t differ|ent time|
|000055c0| 73 20 74 6f 20 70 74 79 | 27 73 2e 20 20 4f 6e 65 |s to pty|'s. One|
|000055d0| 0a 3b 3b 3b 20 20 20 20 | 64 69 73 67 75 73 74 69 |.;;; |disgusti|
|000055e0| 6e 67 20 77 61 79 20 61 | 72 6f 75 6e 64 20 74 68 |ng way a|round th|
|000055f0| 69 73 20 70 72 6f 62 6c | 65 6d 20 69 73 20 74 6f |is probl|em is to|
|00005600| 20 74 61 6c 6b 20 74 6f | 20 74 68 65 20 46 54 50 | talk to| the FTP|
|00005610| 20 70 72 6f 63 65 73 73 | 20 76 69 61 0a 3b 3b 3b | process| via.;;;|
|00005620| 20 20 20 20 72 6c 6f 67 | 69 6e 20 77 68 69 63 68 | rlog|in which|
|00005630| 20 64 6f 65 73 20 74 68 | 65 20 27 72 69 67 68 74 | does th|e 'right|
|00005640| 27 20 74 68 69 6e 67 73 | 20 77 69 74 68 20 70 74 |' things| with pt|
|00005650| 79 27 73 2e 0a 3b 3b 3b | 0a 3b 3b 3b 20 36 2e 20 |y's..;;;|.;;; 6. |
|00005660| 46 6f 72 20 43 4d 53 20 | 73 75 70 70 6f 72 74 2c |For CMS |support,|
|00005670| 20 77 65 20 73 65 6e 64 | 20 74 6f 6f 20 6d 61 6e | we send| too man|
|00005680| 79 20 63 64 27 73 2e 20 | 53 69 6e 63 65 20 63 64 |y cd's. |Since cd|
|00005690| 27 73 20 61 72 65 20 63 | 68 65 61 70 2c 20 49 20 |'s are c|heap, I |
|000056a0| 68 61 76 65 6e 27 74 0a | 3b 3b 3b 20 20 20 20 77 |haven't.|;;; w|
|000056b0| 6f 72 72 69 65 64 20 61 | 62 6f 75 74 20 74 68 69 |orried a|bout thi|
|000056c0| 73 20 74 6f 6f 20 6d 75 | 63 68 2e 20 45 76 65 6e |s too mu|ch. Even|
|000056d0| 74 75 61 6c 6c 79 2c 20 | 77 65 20 73 68 6f 75 6c |tually, |we shoul|
|000056e0| 64 20 68 61 76 65 20 73 | 6f 6d 65 20 63 61 63 68 |d have s|ome cach|
|000056f0| 69 6e 67 0a 3b 3b 3b 20 | 20 20 20 6f 66 20 74 68 |ing.;;; | of th|
|00005700| 65 20 63 75 72 72 65 6e | 74 20 6d 69 6e 69 64 69 |e curren|t minidi|
|00005710| 73 6b 2e 0a 3b 3b 3b 20 | 20 20 20 0a 3b 3b 3b 20 |sk..;;; | .;;; |
|00005720| 37 2e 20 53 6f 6d 65 20 | 43 4d 53 20 6d 61 63 68 |7. Some |CMS mach|
|00005730| 69 6e 65 73 20 64 6f 20 | 6e 6f 74 20 61 73 73 69 |ines do |not assi|
|00005740| 67 6e 20 61 20 64 65 66 | 61 75 6c 74 20 6d 69 6e |gn a def|ault min|
|00005750| 69 64 69 73 6b 20 77 68 | 65 6e 20 79 6f 75 20 66 |idisk wh|en you f|
|00005760| 74 70 20 74 68 65 6d 20 | 61 73 0a 3b 3b 3b 20 20 |tp them |as.;;; |
|00005770| 20 20 61 6e 6f 6e 79 6d | 6f 75 73 2e 20 49 74 20 | anonym|ous. It |
|00005780| 69 73 20 74 68 65 6e 20 | 6e 65 63 65 73 73 61 72 |is then |necessar|
|00005790| 79 20 74 6f 20 67 75 65 | 73 73 20 61 20 76 61 6c |y to gue|ss a val|
|000057a0| 69 64 20 6d 69 6e 69 64 | 69 73 6b 20 6e 61 6d 65 |id minid|isk name|
|000057b0| 2c 20 61 6e 64 20 63 64 | 0a 3b 3b 3b 20 20 20 20 |, and cd|.;;; |
|000057c0| 74 6f 20 69 74 2e 20 54 | 68 69 73 20 69 73 20 28 |to it. T|his is (|
|000057d0| 75 6e 64 65 72 73 74 61 | 6e 64 61 62 6c 79 29 20 |understa|ndably) |
|000057e0| 62 65 79 6f 6e 64 20 61 | 6e 67 65 2d 66 74 70 2e |beyond a|nge-ftp.|
|000057f0| 0a 3b 3b 3b 0a 3b 3b 3b | 20 38 2e 20 52 65 6d 6f |.;;;.;;;| 8. Remo|
|00005800| 74 65 20 74 6f 20 72 65 | 6d 6f 74 65 20 63 6f 70 |te to re|mote cop|
|00005810| 79 69 6e 67 20 6f 66 20 | 66 69 6c 65 73 20 6f 6e |ying of |files on|
|00005820| 20 6e 6f 6e 2d 55 6e 69 | 78 20 6d 61 63 68 69 6e | non-Uni|x machin|
|00005830| 65 73 20 63 61 6e 20 62 | 65 20 72 69 73 6b 79 2e |es can b|e risky.|
|00005840| 0a 3b 3b 3b 20 20 20 20 | 44 65 70 65 6e 64 69 6e |.;;; |Dependin|
|00005850| 67 20 6f 6e 20 74 68 65 | 20 76 61 72 69 61 62 6c |g on the| variabl|
|00005860| 65 20 61 6e 67 65 2d 66 | 74 70 2d 62 69 6e 61 72 |e ange-f|tp-binar|
|00005870| 79 2d 66 69 6c 65 2d 6e | 61 6d 65 2d 72 65 67 65 |y-file-n|ame-rege|
|00005880| 78 70 2c 20 61 6e 67 65 | 2d 66 74 70 0a 3b 3b 3b |xp, ange|-ftp.;;;|
|00005890| 20 20 20 20 77 69 6c 6c | 20 75 73 65 20 62 69 6e | will| use bin|
|000058a0| 61 72 79 20 6d 6f 64 65 | 20 66 6f 72 20 74 68 65 |ary mode| for the|
|000058b0| 20 63 6f 70 79 2e 20 42 | 65 74 77 65 65 6e 20 73 | copy. B|etween s|
|000058c0| 79 73 74 65 6d 73 20 6f | 66 20 64 69 66 66 65 72 |ystems o|f differ|
|000058d0| 65 6e 74 0a 3b 3b 3b 20 | 20 20 20 61 72 63 68 69 |ent.;;; | archi|
|000058e0| 74 65 63 74 75 72 65 2c | 20 74 68 69 73 20 73 74 |tecture,| this st|
|000058f0| 69 6c 6c 20 6d 61 79 20 | 6e 6f 74 20 62 65 20 65 |ill may |not be e|
|00005900| 6e 6f 75 67 68 20 74 6f | 20 67 75 61 72 61 6e 74 |nough to| guarant|
|00005910| 65 65 20 74 68 65 20 69 | 6e 74 65 67 72 69 74 79 |ee the i|ntegrity|
|00005920| 0a 3b 3b 3b 20 20 20 20 | 6f 66 20 62 69 6e 61 72 |.;;; |of binar|
|00005930| 79 20 66 69 6c 65 73 2e | 20 42 69 6e 61 72 79 20 |y files.| Binary |
|00005940| 66 69 6c 65 20 74 72 61 | 6e 73 66 65 72 73 20 66 |file tra|nsfers f|
|00005950| 72 6f 6d 20 56 4d 53 20 | 6d 61 63 68 69 6e 65 73 |rom VMS |machines|
|00005960| 20 61 72 65 0a 3b 3b 3b | 20 20 20 20 70 61 72 74 | are.;;;| part|
|00005970| 69 63 75 6c 61 72 6c 79 | 20 70 72 6f 62 6c 65 6d |icularly| problem|
|00005980| 61 74 69 63 61 6c 2e 20 | 53 68 6f 75 6c 64 20 61 |atical. |Should a|
|00005990| 6e 67 65 2d 66 74 70 2d | 62 69 6e 61 72 79 2d 66 |nge-ftp-|binary-f|
|000059a0| 69 6c 65 2d 6e 61 6d 65 | 2d 72 65 67 65 78 70 20 |ile-name|-regexp |
|000059b0| 62 65 0a 3b 3b 3b 20 20 | 20 20 61 6e 20 61 6c 69 |be.;;; | an ali|
|000059c0| 73 74 20 6f 66 20 4f 53 | 20 74 79 70 65 2c 20 72 |st of OS| type, r|
|000059d0| 65 67 65 78 70 20 70 61 | 69 72 73 3f 0a 3b 3b 3b |egexp pa|irs?.;;;|
|000059e0| 0a 3b 3b 3b 20 39 2e 20 | 54 68 65 20 63 6f 64 65 |.;;; 9. |The code|
|000059f0| 20 74 6f 20 64 6f 20 63 | 6f 6d 70 72 65 73 73 69 | to do c|ompressi|
|00005a00| 6f 6e 20 6f 66 20 66 69 | 6c 65 73 20 6f 76 65 72 |on of fi|les over|
|00005a10| 20 66 74 70 20 69 73 20 | 6e 6f 74 20 61 73 20 63 | ftp is |not as c|
|00005a20| 61 72 65 66 75 6c 20 61 | 73 20 69 74 0a 3b 3b 3b |areful a|s it.;;;|
|00005a30| 20 20 20 20 73 68 6f 75 | 6c 64 20 62 65 2e 20 49 | shou|ld be. I|
|00005a40| 74 20 64 65 6c 65 74 65 | 73 20 74 68 65 20 6f 6c |t delete|s the ol|
|00005a50| 64 20 72 65 6d 6f 74 65 | 20 76 65 72 73 69 6f 6e |d remote| version|
|00005a60| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 2c 20 62 65 | of the |file, be|
|00005a70| 66 6f 72 65 0a 3b 3b 3b | 20 20 20 20 61 63 74 75 |fore.;;;| actu|
|00005a80| 61 6c 6c 79 20 63 68 65 | 63 6b 69 6e 67 20 69 66 |ally che|cking if|
|00005a90| 20 74 68 65 20 6c 6f 63 | 61 6c 20 74 6f 20 72 65 | the loc|al to re|
|00005aa0| 6d 6f 74 65 20 74 72 61 | 6e 73 66 65 72 20 6f 66 |mote tra|nsfer of|
|00005ab0| 20 74 68 65 20 63 6f 6d | 70 72 65 73 73 65 64 0a | the com|pressed.|
|00005ac0| 3b 3b 3b 20 20 20 20 66 | 69 6c 65 20 73 75 63 63 |;;; f|ile succ|
|00005ad0| 65 65 64 73 2e 20 4f 66 | 20 63 6f 75 72 73 65 20 |eeds. Of| course |
|00005ae0| 74 6f 20 64 65 6c 65 74 | 65 20 74 68 65 20 6f 72 |to delet|e the or|
|00005af0| 69 67 69 6e 61 6c 20 76 | 65 72 73 69 6f 6e 20 6f |iginal v|ersion o|
|00005b00| 66 20 74 68 65 20 66 69 | 6c 65 0a 3b 3b 3b 20 20 |f the fi|le.;;; |
|00005b10| 20 20 61 66 74 65 72 20 | 74 72 61 6e 73 66 65 72 | after |transfer|
|00005b20| 72 69 6e 67 20 74 68 65 | 20 63 6f 6d 70 72 65 73 |ring the| compres|
|00005b30| 73 65 64 20 76 65 72 73 | 69 6f 6e 20 62 61 63 6b |sed vers|ion back|
|00005b40| 20 69 73 20 61 6c 73 6f | 20 64 61 6e 67 65 72 6f | is also| dangero|
|00005b50| 75 73 2c 0a 3b 3b 3b 20 | 20 20 20 62 65 63 61 75 |us,.;;; | becau|
|00005b60| 73 65 20 73 6f 6d 65 20 | 4f 53 27 73 20 68 61 76 |se some |OS's hav|
|00005b70| 65 20 73 65 76 65 72 65 | 20 72 65 73 74 72 69 63 |e severe| restric|
|00005b80| 74 69 6f 6e 73 20 6f 6e | 20 74 68 65 20 6c 65 6e |tions on| the len|
|00005b90| 67 74 68 20 6f 66 20 66 | 69 6c 65 6e 61 6d 65 73 |gth of f|ilenames|
|00005ba0| 2c 0a 3b 3b 3b 20 20 20 | 20 61 6e 64 20 77 68 65 |,.;;; | and whe|
|00005bb0| 6e 20 74 68 65 20 63 6f | 6d 70 72 65 73 73 65 64 |n the co|mpressed|
|00005bc0| 20 76 65 72 73 69 6f 6e | 20 69 73 20 63 6f 70 69 | version| is copi|
|00005bd0| 65 64 20 62 61 63 6b 20 | 74 68 65 20 22 2d 5a 22 |ed back |the "-Z"|
|00005be0| 20 6f 72 20 22 2e 5a 22 | 20 6d 61 79 20 62 65 0a | or ".Z"| may be.|
|00005bf0| 3b 3b 3b 20 20 20 20 74 | 72 75 6e 63 61 74 65 64 |;;; t|runcated|
|00005c00| 2e 20 54 68 65 6e 2c 20 | 61 6e 67 65 2d 66 74 70 |. Then, |ange-ftp|
|00005c10| 20 77 6f 75 6c 64 20 64 | 65 6c 65 74 65 20 74 68 | would d|elete th|
|00005c20| 65 20 6f 6e 6c 79 20 72 | 65 6d 61 69 6e 69 6e 67 |e only r|emaining|
|00005c30| 20 76 65 72 73 69 6f 6e | 20 6f 66 0a 3b 3b 3b 20 | version| of.;;; |
|00005c40| 20 20 20 74 68 65 20 66 | 69 6c 65 2e 20 20 4d 61 | the f|ile. Ma|
|00005c50| 79 62 65 20 61 6e 67 65 | 2d 66 74 70 20 73 68 6f |ybe ange|-ftp sho|
|00005c60| 75 6c 64 20 6d 61 6b 65 | 20 62 61 63 6b 75 70 73 |uld make| backups|
|00005c70| 20 77 68 65 6e 20 69 74 | 20 63 6f 6d 70 72 65 73 | when it| compres|
|00005c80| 73 65 73 20 66 69 6c 65 | 73 0a 3b 3b 3b 20 20 20 |ses file|s.;;; |
|00005c90| 20 28 6f 66 20 63 6f 75 | 72 73 65 2c 20 74 68 65 | (of cou|rse, the|
|00005ca0| 20 62 61 63 6b 75 70 20 | 22 7e 22 20 63 6f 75 6c | backup |"~" coul|
|00005cb0| 64 20 61 6c 73 6f 20 62 | 65 20 74 72 75 6e 63 61 |d also b|e trunca|
|00005cc0| 74 65 64 20 6f 66 66 2c | 20 73 69 67 68 2e 2e 2e |ted off,| sigh...|
|00005cd0| 29 2e 0a 3b 3b 3b 20 20 | 20 20 53 75 67 67 65 73 |)..;;; | Sugges|
|00005ce0| 74 69 6f 6e 73 3f 0a 3b | 3b 3b 0a 0a 3b 3b 3b 20 |tions?.;|;;..;;; |
|00005cf0| 31 30 2e 20 44 6f 65 73 | 6e 27 74 20 61 75 74 6f |10. Does|n't auto|
|00005d00| 73 61 76 65 2e 20 49 74 | 20 73 68 6f 75 6c 64 20 |save. It| should |
|00005d10| 62 65 20 70 6f 73 73 69 | 62 6c 65 20 74 6f 20 68 |be possi|ble to h|
|00005d20| 61 76 65 20 61 6c 6c 20 | 61 6e 67 65 2d 66 74 70 |ave all |ange-ftp|
|00005d30| 0a 3b 3b 3b 20 20 20 20 | 20 61 75 74 6f 2d 73 61 |.;;; | auto-sa|
|00005d40| 76 65 73 20 70 75 74 20 | 69 6e 20 6f 6e 65 20 6c |ves put |in one l|
|00005d50| 6f 63 61 6c 20 64 69 72 | 65 63 74 6f 72 79 2c 20 |ocal dir|ectory, |
|00005d60| 73 61 79 20 7e 2e 20 41 | 20 72 65 61 73 6f 6e 61 |say ~. A| reasona|
|00005d70| 62 6c 65 20 6e 61 6d 69 | 6e 67 0a 3b 3b 3b 20 20 |ble nami|ng.;;; |
|00005d80| 20 20 20 63 6f 6e 76 65 | 6e 74 69 6f 6e 20 6d 69 | conve|ntion mi|
|00005d90| 67 68 74 20 62 65 3a 0a | 3b 3b 3b 20 20 20 20 20 |ght be:.|;;; |
|00005da0| 2f 75 73 65 72 40 6d 61 | 63 68 69 6e 65 3a 2f 66 |/user@ma|chine:/f|
|00005db0| 6f 6f 2f 62 61 72 20 2d | 2d 3e 20 23 75 73 65 72 |oo/bar -|-> #user|
|00005dc0| 40 6d 61 63 68 69 6e 65 | 3a 23 66 6f 6f 23 62 61 |@machine|:#foo#ba|
|00005dd0| 72 23 0a 3b 3b 3b 0a 3b | 3b 3b 20 20 20 20 20 41 |r#.;;;.;|;; A|
|00005de0| 70 70 65 6e 64 75 6d 3a | 20 54 68 65 20 66 6f 6c |ppendum:| The fol|
|00005df0| 6c 6f 77 69 6e 67 20 61 | 70 70 65 61 72 65 64 20 |lowing a|ppeared |
|00005e00| 69 6e 20 61 6e 67 65 2d | 66 74 70 2d 6c 6f 76 65 |in ange-|ftp-love|
|00005e10| 72 73 0a 3b 3b 3b 20 20 | 20 20 20 66 69 6c 65 3a |rs.;;; | file:|
|00005e20| 20 61 75 74 6f 73 61 76 | 65 2d 69 6e 2d 74 6d 70 | autosav|e-in-tmp|
|00005e30| 2e 65 6c 0a 3b 3b 3b 20 | 20 20 20 20 3b 3b 3b 20 |.el.;;; | ;;; |
|00005e40| 2d 2a 2d 20 4d 6f 64 65 | 3a 45 6d 61 63 73 2d 4c |-*- Mode|:Emacs-L|
|00005e50| 69 73 70 20 2d 2a 2d 0a | 3b 3b 3b 0a 3b 3b 3b 20 |isp -*-.|;;;.;;; |
|00005e60| 20 20 20 20 3b 3b 3b 20 | 43 72 65 61 74 65 64 20 | ;;; |Created |
|00005e70| 36 2d 64 65 63 2d 39 30 | 20 62 79 20 4a 61 6d 69 |6-dec-90| by Jami|
|00005e80| 65 20 5a 61 77 69 6e 73 | 6b 69 20 3c 6a 77 7a 40 |e Zawins|ki <jwz@|
|00005e90| 6c 75 63 69 64 2e 63 6f | 6d 3e 0a 3b 3b 3b 20 20 |lucid.co|m>.;;; |
|00005ea0| 20 20 20 3b 3b 3b 20 6d | 6f 64 69 66 69 65 64 20 | ;;; m|odified |
|00005eb0| 32 32 20 64 65 63 20 39 | 30 20 6a 77 7a 0a 3b 3b |22 dec 9|0 jwz.;;|
|00005ec0| 3b 20 20 20 20 20 2e 2e | 2e 63 6f 64 65 20 64 65 |; ..|.code de|
|00005ed0| 6c 65 74 65 64 2e 2e 2e | 0a 3b 3b 3b 0a 3b 3b 3b |leted...|.;;;.;;;|
|00005ee0| 20 20 20 20 20 47 65 6e | 65 72 61 6c 6c 79 20 61 | Gen|erally a|
|00005ef0| 20 67 6f 6f 64 20 69 64 | 65 61 2c 20 62 75 74 20 | good id|ea, but |
|00005f00| 73 68 6f 75 6c 64 6e 27 | 74 20 64 6f 20 69 74 20 |shouldn'|t do it |
|00005f10| 69 6e 20 2f 74 6d 70 2e | 20 48 6f 6d 65 20 64 69 |in /tmp.| Home di|
|00005f20| 72 65 63 74 6f 72 79 20 | 69 73 0a 3b 3b 3b 20 20 |rectory |is.;;; |
|00005f30| 20 20 20 6d 75 63 68 20 | 62 65 74 74 65 72 2e 20 | much |better. |
|00005f40| 20 54 68 65 20 70 6f 69 | 6e 74 20 6f 66 20 61 6e | The poi|nt of an|
|00005f50| 20 61 75 74 6f 2d 73 61 | 76 65 20 69 73 20 74 68 | auto-sa|ve is th|
|00005f60| 61 74 20 69 74 20 61 6c | 6c 6f 77 73 20 75 73 65 |at it al|lows use|
|00005f70| 72 73 20 74 6f 0a 3b 3b | 3b 20 20 20 20 20 72 65 |rs to.;;|; re|
|00005f80| 63 6f 76 65 72 20 69 6e | 20 63 61 73 65 20 6f 66 |cover in| case of|
|00005f90| 20 61 20 73 79 73 74 65 | 6d 20 63 72 61 73 68 2e | a syste|m crash.|
|00005fa0| 20 2f 74 6d 70 20 64 6f | 65 73 20 6e 6f 74 20 75 | /tmp do|es not u|
|00005fb0| 73 75 61 6c 6c 79 20 73 | 75 72 76 69 76 65 0a 3b |sually s|urvive.;|
|00005fc0| 3b 3b 20 20 20 20 20 73 | 79 73 74 65 6d 20 63 72 |;; s|ystem cr|
|00005fd0| 61 73 68 65 73 2c 20 65 | 69 74 68 65 72 20 62 65 |ashes, e|ither be|
|00005fe0| 63 61 75 73 65 20 69 74 | 20 69 73 20 63 6c 65 61 |cause it| is clea|
|00005ff0| 6e 65 64 20 61 74 20 62 | 6f 6f 74 20 74 69 6d 65 |ned at b|oot time|
|00006000| 2c 20 6f 72 20 62 65 63 | 61 75 73 65 0a 3b 3b 3b |, or bec|ause.;;;|
|00006010| 20 20 20 20 20 69 74 20 | 69 73 20 6d 6f 75 6e 74 | it |is mount|
|00006020| 65 64 20 61 73 20 61 20 | 74 65 6d 70 6f 72 61 72 |ed as a |temporar|
|00006030| 79 20 66 69 6c 65 20 73 | 79 73 74 65 6d 20 28 61 |y file s|ystem (a|
|00006040| 74 20 6c 65 61 73 74 20 | 6f 6e 20 53 75 6e 73 29 |t least |on Suns)|
|00006050| 2e 20 57 68 61 74 0a 3b | 3b 3b 20 20 20 20 20 61 |. What.;|;; a|
|00006060| 62 6f 75 74 20 68 61 76 | 69 6e 67 20 61 20 76 61 |bout hav|ing a va|
|00006070| 72 69 61 62 6c 65 20 61 | 6e 67 65 2d 66 74 70 2d |riable a|nge-ftp-|
|00006080| 61 75 74 6f 73 61 76 65 | 2c 20 66 6f 72 20 77 68 |autosave|, for wh|
|00006090| 69 63 68 20 6e 69 6c 20 | 77 6f 75 6c 64 20 6d 65 |ich nil |would me|
|000060a0| 61 6e 0a 3b 3b 3b 20 20 | 20 20 20 64 6f 6e 27 74 |an.;;; | don't|
|000060b0| 20 61 75 74 6f 73 61 76 | 65 2c 20 74 20 77 6f 75 | autosav|e, t wou|
|000060c0| 6c 64 20 6d 65 61 6e 20 | 61 75 74 6f 73 61 76 65 |ld mean |autosave|
|000060d0| 20 61 73 79 6e 63 68 72 | 6f 6e 6f 75 73 6c 79 20 | asynchr|onously |
|000060e0| 74 6f 20 74 68 65 20 72 | 65 6d 6f 74 65 0a 3b 3b |to the r|emote.;;|
|000060f0| 3b 20 20 20 20 20 6d 61 | 63 68 69 6e 65 2c 20 61 |; ma|chine, a|
|00006100| 6e 64 20 61 20 73 74 72 | 69 6e 67 20 77 6f 75 6c |nd a str|ing woul|
|00006110| 64 20 6d 65 61 6e 20 61 | 75 74 6f 73 61 76 65 20 |d mean a|utosave |
|00006120| 74 6f 20 61 20 6c 6f 63 | 61 6c 20 64 69 72 65 63 |to a loc|al direc|
|00006130| 74 6f 72 79 20 67 69 76 | 65 6e 0a 3b 3b 3b 20 20 |tory giv|en.;;; |
|00006140| 20 20 20 62 79 20 74 68 | 65 20 73 74 72 69 6e 67 | by th|e string|
|00006150| 3f 0a 3b 3b 3b 0a 3b 3b | 3b 20 31 31 2e 20 49 66 |?.;;;.;;|; 11. If|
|00006160| 20 61 20 64 69 72 20 6c | 69 73 74 69 6e 67 20 69 | a dir l|isting i|
|00006170| 73 20 61 74 74 65 6d 70 | 74 65 64 20 66 6f 72 20 |s attemp|ted for |
|00006180| 61 6e 20 65 6d 70 74 79 | 20 64 69 72 65 63 74 6f |an empty| directo|
|00006190| 72 79 20 6f 6e 20 28 61 | 74 20 6c 65 61 73 74 0a |ry on (a|t least.|
|000061a0| 3b 3b 3b 20 20 20 20 20 | 73 6f 6d 65 29 20 56 4d |;;; |some) VM|
|000061b0| 53 20 68 6f 73 74 73 2c | 20 61 6e 20 66 74 70 20 |S hosts,| an ftp |
|000061c0| 65 72 72 6f 72 20 69 73 | 20 67 69 76 65 6e 2e 20 |error is| given. |
|000061d0| 54 68 69 73 20 69 73 20 | 72 65 61 6c 6c 79 20 61 |This is |really a|
|000061e0| 6e 20 66 74 70 20 62 75 | 67 2c 20 61 6e 64 0a 3b |n ftp bu|g, and.;|
|000061f0| 3b 3b 20 20 20 20 20 49 | 20 64 6f 6e 27 74 20 6b |;; I| don't k|
|00006200| 6e 6f 77 20 68 6f 77 20 | 74 6f 20 67 65 74 20 61 |now how |to get a|
|00006210| 6e 67 65 2d 66 74 70 20 | 77 6f 72 6b 20 74 6f 20 |nge-ftp |work to |
|00006220| 61 72 6f 75 6e 64 20 69 | 74 2e 0a 3b 3b 3b 0a 3b |around i|t..;;;.;|
|00006230| 3b 3b 20 31 32 2e 20 42 | 6f 6d 62 73 20 6f 6e 20 |;; 12. B|ombs on |
|00006240| 66 69 6c 65 6e 61 6d 65 | 73 20 74 68 61 74 20 73 |filename|s that s|
|00006250| 74 61 72 74 20 77 69 74 | 68 20 61 20 73 70 61 63 |tart wit|h a spac|
|00006260| 65 2e 20 44 65 61 6c 73 | 20 77 65 6c 6c 20 77 69 |e. Deals| well wi|
|00006270| 74 68 20 66 69 6c 65 6e | 61 6d 65 73 0a 3b 3b 3b |th filen|ames.;;;|
|00006280| 20 20 20 20 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 | con|taining |
|00006290| 73 70 61 63 65 73 2c 20 | 62 75 74 20 62 65 77 61 |spaces, |but bewa|
|000062a0| 72 65 20 74 68 61 74 20 | 74 68 65 20 72 65 6d 6f |re that |the remo|
|000062b0| 74 65 20 66 74 70 64 20 | 6d 61 79 20 6e 6f 74 20 |te ftpd |may not |
|000062c0| 6c 69 6b 65 20 74 68 65 | 6d 0a 3b 3b 3b 20 20 20 |like the|m.;;; |
|000062d0| 20 20 6d 75 63 68 2e 0a | 3b 3b 3b 0a 3b 3b 3b 20 | much..|;;;.;;; |
|000062e0| 31 33 2e 20 4e 6f 20 63 | 6c 61 73 73 69 63 20 64 |13. No c|lassic d|
|000062f0| 69 72 65 64 20 73 75 70 | 70 6f 72 74 20 66 6f 72 |ired sup|port for|
|00006300| 20 6e 6f 6e 2d 55 4e 49 | 58 20 73 79 73 74 65 6d | non-UNI|X system|
|00006310| 73 2e 20 54 72 65 65 20 | 64 69 72 65 64 20 77 61 |s. Tree |dired wa|
|00006320| 73 20 65 6e 6f 75 67 68 | 2e 0a 3b 3b 3b 20 0a 3b |s enough|..;;; .;|
|00006330| 3b 3b 20 31 34 2e 20 54 | 68 65 20 66 61 6d 6f 75 |;; 14. T|he famou|
|00006340| 73 20 40 20 62 75 67 2e | 20 41 73 20 6d 65 6e 74 |s @ bug.| As ment|
|00006350| 69 6f 6e 65 64 20 61 62 | 6f 76 65 20 69 6e 20 54 |ioned ab|ove in T|
|00006360| 49 50 53 2c 20 55 4c 54 | 52 49 58 20 6d 61 72 6b |IPS, ULT|RIX mark|
|00006370| 73 20 73 79 6d 6c 69 6e | 6b 73 0a 3b 3b 3b 20 20 |s symlin|ks.;;; |
|00006380| 20 20 20 77 69 74 68 20 | 61 20 74 72 61 69 6c 69 | with |a traili|
|00006390| 6e 67 20 40 20 69 6e 20 | 61 20 6c 73 20 2d 61 6c |ng @ in |a ls -al|
|000063a0| 46 20 6c 69 73 74 69 6e | 67 2e 20 49 6e 20 6f 72 |F listin|g. In or|
|000063b0| 64 65 72 20 74 6f 20 61 | 63 63 6f 75 6e 74 20 66 |der to a|ccount f|
|000063c0| 6f 72 20 74 68 69 73 0a | 3b 3b 3b 20 20 20 20 20 |or this.|;;; |
|000063d0| 61 6e 67 65 2d 66 74 70 | 20 6c 6f 6f 6b 73 20 74 |ange-ftp| looks t|
|000063e0| 6f 20 63 68 6f 70 20 74 | 72 61 69 6c 69 6e 67 20 |o chop t|railing |
|000063f0| 40 27 73 20 6f 66 66 20 | 6f 66 20 73 79 6d 6c 69 |@'s off |of symli|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.