home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1993-04-01 | 10.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
20%
| dexvert
| Image System (image/imageSystem)
| fileSize
| Supported |
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 77 7a 40 74 68 61 |piled by| jwz@tha|
|00000020| 6c 69 64 6f 6d 69 64 65 | 20 6f 6e 20 4d 6f 6e 20 |lidomide| on Mon |
|00000030| 46 65 62 20 20 31 20 31 | 39 3a 31 34 3a 31 36 20 |Feb 1 1|9:14:16 |
|00000040| 31 39 39 33 0a 3b 3b 3b | 20 66 72 6f 6d 20 66 69 |1993.;;;| from fi|
|00000050| 6c 65 20 2f 63 61 64 69 | 6c 6c 61 63 31 2f 63 6f |le /cadi|llac1/co|
|00000060| 64 65 2f 62 75 69 6c 64 | 2f 6c 65 6d 61 63 73 2f |de/build|/lemacs/|
|00000070| 6c 69 73 70 2f 70 61 63 | 6b 61 67 65 73 2f 72 65 |lisp/pac|kages/re|
|00000080| 6d 6f 74 65 2e 65 6c 0a | 3b 3b 3b 20 65 6d 61 63 |mote.el.|;;; emac|
|00000090| 73 20 76 65 72 73 69 6f | 6e 20 31 39 2e 34 2e 31 |s versio|n 19.4.1|
|000000a0| 33 20 4c 75 63 69 64 2e | 0a 3b 3b 3b 20 62 79 74 |3 Lucid.|.;;; byt|
|000000b0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 32 2e |ecomp ve|rsion 2.|
|000000c0| 31 30 3b 20 20 31 2d 66 | 65 62 2d 39 33 2e 0a 3b |10; 1-f|eb-93..;|
|000000d0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000e0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|000000f0| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000100| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000110| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 31 38 2e |xist in |Emacs18.|
|00000120| 0a 0a 28 69 66 20 28 61 | 6e 64 20 28 62 6f 75 6e |..(if (a|nd (boun|
|00000130| 64 70 20 27 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |dp 'emac|s-versio|
|00000140| 6e 29 0a 09 20 28 6f 72 | 20 28 61 6e 64 20 28 62 |n).. (or| (and (b|
|00000150| 6f 75 6e 64 70 20 27 65 | 70 6f 63 68 3a 3a 76 65 |oundp 'e|poch::ve|
|00000160| 72 73 69 6f 6e 29 20 65 | 70 6f 63 68 3a 3a 76 65 |rsion) e|poch::ve|
|00000170| 72 73 69 6f 6e 29 0a 09 | 20 20 20 20 20 28 73 74 |rsion)..| (st|
|00000180| 72 69 6e 67 2d 6c 65 73 | 73 70 20 65 6d 61 63 73 |ring-les|sp emacs|
|00000190| 2d 76 65 72 73 69 6f 6e | 20 22 31 39 22 29 29 29 |-version| "19")))|
|000001a0| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 54 68 69 |. (er|ror "Thi|
|000001b0| 73 20 66 69 6c 65 20 77 | 61 73 20 63 6f 6d 70 69 |s file w|as compi|
|000001c0| 6c 65 64 20 66 6f 72 20 | 45 6d 61 63 73 31 39 2e |led for |Emacs19.|
|000001d0| 22 29 29 0a 0a 28 64 65 | 66 76 61 72 20 64 65 66 |"))..(de|fvar def|
|000001e0| 61 75 6c 74 2d 72 65 6d | 6f 74 65 2d 68 6f 73 74 |ault-rem|ote-host|
|000001f0| 20 22 6e 61 76 69 65 72 | 3a 22 20 22 5c 0a 54 68 | "navier|:" "\.Th|
|00000200| 65 20 68 6f 73 74 20 74 | 6f 20 75 73 65 20 66 6f |e host t|o use fo|
|00000210| 72 20 72 65 6d 6f 74 65 | 20 66 69 6c 65 20 6f 70 |r remote| file op|
|00000220| 65 72 61 74 69 6f 6e 73 | 20 77 68 65 6e 20 6e 6f |erations| when no|
|00000230| 6e 65 20 6f 74 68 65 72 | 20 69 73 20 61 70 70 72 |ne other| is appr|
|00000240| 6f 70 72 69 61 74 65 2e | 22 29 0a 28 64 65 66 76 |opriate.|").(defv|
|00000250| 61 72 20 74 72 61 63 6b | 2d 64 65 66 61 75 6c 74 |ar track|-default|
|00000260| 2d 72 65 6d 6f 74 65 2d | 68 6f 73 74 20 74 20 22 |-remote-|host t "|
|00000270| 5c 0a 43 6f 6e 74 72 6f | 6c 73 20 77 68 65 74 68 |\.Contro|ls wheth|
|00000280| 65 72 20 20 64 65 66 61 | 75 6c 74 2d 72 65 6d 6f |er defa|ult-remo|
|00000290| 74 65 2d 68 6f 73 74 20 | 20 69 73 20 63 68 61 6e |te-host | is chan|
|000002a0| 67 65 64 20 61 66 74 65 | 72 20 72 65 61 64 69 6e |ged afte|r readin|
|000002b0| 67 20 61 20 72 65 6d 6f | 74 65 20 66 69 6c 65 20 |g a remo|te file |
|000002c0| 6e 61 6d 65 2e 0a 57 68 | 65 6e 20 6e 6f 6e 2d 6e |name..Wh|en non-n|
|000002d0| 69 6c 2c 20 20 64 65 66 | 61 75 6c 74 2d 72 65 6d |il, def|ault-rem|
|000002e0| 6f 74 65 2d 68 6f 73 74 | 20 20 77 69 6c 6c 20 68 |ote-host| will h|
|000002f0| 61 76 65 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |ave the |value of|
|00000300| 20 74 68 65 20 6c 61 73 | 74 20 72 65 6d 6f 74 65 | the las|t remote|
|00000310| 20 68 6f 73 74 20 72 65 | 61 64 2e 22 29 0a 28 62 | host re|ad.").(b|
|00000320| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 21 88 c2 c1 |yte-code| "..!...|
|00000330| c3 5c 22 88 c0 c4 21 88 | c5 c6 21 ac 93 c7 c8 21 |.\"...!.|..!....!|
|00000340| ab 83 c8 aa 89 c7 c9 21 | ab 83 c9 aa 81 ca 16 06 |.......!|........|
|00000350| cb c4 0e 0c 5c 22 ac 86 | cd 0e 0c 42 16 0c c0 87 |....\"..|...B....|
|00000360| 22 20 5b 6d 61 6b 65 2d | 76 61 72 69 61 62 6c 65 |" [make-|variable|
|00000370| 2d 62 75 66 66 65 72 2d | 6c 6f 63 61 6c 20 62 75 |-buffer-|local bu|
|00000380| 66 66 65 72 2d 72 65 6d | 6f 74 65 2d 66 69 6c 65 |ffer-rem|ote-file|
|00000390| 2d 6e 61 6d 65 20 73 65 | 74 2d 64 65 66 61 75 6c |-name se|t-defaul|
|000003a0| 74 20 22 22 20 72 65 6d | 6f 74 65 2d 65 64 69 74 |t "" rem|ote-edit|
|000003b0| 69 6e 67 20 62 6f 75 6e | 64 70 20 72 63 70 20 66 |ing boun|dp rcp f|
|000003c0| 69 6c 65 2d 65 78 69 73 | 74 73 2d 70 20 22 2f 62 |ile-exis|ts-p "/b|
|000003d0| 69 6e 2f 72 63 70 22 20 | 22 2f 75 73 72 2f 62 73 |in/rcp" |"/usr/bs|
|000003e0| 64 2f 72 63 70 22 20 22 | 72 63 70 22 20 61 73 73 |d/rcp" "|rcp" ass|
|000003f0| 6f 63 20 6d 69 6e 6f 72 | 2d 6d 6f 64 65 2d 61 6c |oc minor|-mode-al|
|00000400| 69 73 74 20 28 72 65 6d | 6f 74 65 2d 65 64 69 74 |ist (rem|ote-edit|
|00000410| 69 6e 67 20 22 20 52 65 | 6d 6f 74 65 22 29 5d 20 |ing " Re|mote")] |
|00000420| 33 29 0a 28 66 73 65 74 | 20 27 72 65 6d 6f 74 65 |3).(fset| 'remote|
|00000430| 2d 65 64 69 74 69 6e 67 | 20 23 5b 28 61 72 67 29 |-editing| #[(arg)|
|00000440| 20 22 08 ac 84 09 3f aa | 85 c2 08 21 c3 56 11 c4 | "....?.|...!.V..|
|00000450| c5 20 21 87 22 20 5b 61 | 72 67 20 72 65 6d 6f 74 |. !." [a|rg remot|
|00000460| 65 2d 65 64 69 74 69 6e | 67 20 70 72 65 66 69 78 |e-editin|g prefix|
|00000470| 2d 6e 75 6d 65 72 69 63 | 2d 76 61 6c 75 65 20 30 |-numeric|-value 0|
|00000480| 20 73 65 74 2d 62 75 66 | 66 65 72 2d 6d 6f 64 69 | set-buf|fer-modi|
|00000490| 66 69 65 64 2d 70 20 62 | 75 66 66 65 72 2d 6d 6f |fied-p b|uffer-mo|
|000004a0| 64 69 66 69 65 64 2d 70 | 5d 20 32 20 22 5c 0a 54 |dified-p|] 2 "\.T|
|000004b0| 6f 67 67 6c 65 20 72 65 | 6d 6f 74 65 2d 65 64 69 |oggle re|mote-edi|
|000004c0| 74 69 6e 67 20 6d 6f 64 | 65 2e 0a 57 69 74 68 20 |ting mod|e..With |
|000004d0| 61 72 67 2c 20 74 75 72 | 6e 20 6f 6e 20 72 65 6d |arg, tur|n on rem|
|000004e0| 6f 74 65 20 65 64 69 74 | 69 6e 67 20 6d 6f 64 65 |ote edit|ing mode|
|000004f0| 20 69 66 66 20 61 72 67 | 20 69 73 20 70 6f 73 69 | iff arg| is posi|
|00000500| 74 69 76 65 2c 20 6f 74 | 68 65 72 77 69 73 65 20 |tive, ot|herwise |
|00000510| 6a 75 73 74 20 74 6f 67 | 67 6c 65 20 69 74 2e 0a |just tog|gle it..|
|00000520| 0a 49 6e 20 72 65 6d 6f | 74 65 20 65 64 69 74 69 |.In remo|te editi|
|00000530| 6e 67 20 6d 6f 64 65 2c | 20 74 68 65 20 6e 6f 72 |ng mode,| the nor|
|00000540| 6d 61 6c 20 62 69 6e 64 | 69 6e 67 73 20 66 6f 72 |mal bind|ings for|
|00000550| 20 66 69 6e 64 2d 66 69 | 6c 65 2c 0a 66 69 6e 64 | find-fi|le,.find|
|00000560| 2d 66 69 6c 65 2d 72 65 | 61 64 2d 6f 6e 6c 79 2c |-file-re|ad-only,|
|00000570| 20 66 69 6e 64 2d 61 6c | 74 65 72 6e 61 74 65 2d | find-al|ternate-|
|00000580| 66 69 6c 65 2c 20 73 61 | 76 65 2d 62 75 66 66 65 |file, sa|ve-buffe|
|00000590| 72 2c 20 77 72 69 74 65 | 2d 66 69 6c 65 2c 0a 61 |r, write|-file,.a|
|000005a0| 6e 64 20 69 6e 73 65 72 | 74 2d 66 69 6c 65 20 61 |nd inser|t-file a|
|000005b0| 72 65 20 63 68 61 6e 67 | 65 64 20 74 6f 20 6f 70 |re chang|ed to op|
|000005c0| 65 72 61 74 65 20 6f 6e | 20 61 20 72 65 6d 6f 74 |erate on| a remot|
|000005d0| 65 20 73 79 73 74 65 6d | 20 62 79 20 64 65 66 61 |e system| by defa|
|000005e0| 75 6c 74 2e 0a 0a 57 68 | 65 6e 20 72 65 6d 6f 74 |ult...Wh|en remot|
|000005f0| 65 20 65 64 69 74 69 6e | 67 2c 20 61 20 70 72 65 |e editin|g, a pre|
|00000600| 66 69 78 20 61 72 67 20 | 61 6c 6c 6f 77 73 20 6c |fix arg |allows l|
|00000610| 6f 63 61 6c 20 66 69 6c | 65 20 6f 70 65 72 61 74 |ocal fil|e operat|
|00000620| 69 6f 6e 73 2e 20 20 57 | 68 65 6e 20 6e 6f 74 0a |ions. W|hen not.|
|00000630| 72 65 6d 6f 74 65 20 65 | 64 69 74 69 6e 67 2c 20 |remote e|diting, |
|00000640| 61 20 70 72 65 66 69 78 | 20 61 72 67 20 61 6c 6c |a prefix| arg all|
|00000650| 6f 77 73 20 72 65 6d 6f | 74 65 20 66 69 6c 65 20 |ows remo|te file |
|00000660| 6f 70 65 72 61 74 69 6f | 6e 73 2e 0a 0a 49 74 20 |operatio|ns...It |
|00000670| 69 73 20 61 73 73 75 6d | 65 64 20 74 68 61 74 20 |is assum|ed that |
|00000680| 2e 72 68 6f 73 74 73 20 | 66 69 6c 65 73 20 61 72 |.rhosts |files ar|
|00000690| 65 20 73 65 74 20 75 70 | 20 70 72 6f 70 65 72 6c |e set up| properl|
|000006a0| 79 20 6f 6e 20 62 6f 74 | 68 20 6d 61 63 68 69 6e |y on bot|h machin|
|000006b0| 65 73 2e 22 20 22 50 22 | 5d 29 0a 28 62 79 74 65 |es." "P"|]).(byte|
|000006c0| 2d 63 6f 64 65 20 22 c0 | c1 c2 5c 22 88 c3 c4 4d |-code ".|..\"...M|
|000006d0| 88 c0 c5 c6 5c 22 87 22 | 20 5b 67 6c 6f 62 61 6c |....\"."| [global|
|000006e0| 2d 73 65 74 2d 6b 65 79 | 20 22 18 72 22 20 72 65 |-set-key| ".r" re|
|000006f0| 6d 6f 74 65 2d 65 64 69 | 74 69 6e 67 20 64 65 66 |mote-edi|ting def|
|00000700| 2d 6c 6f 63 61 6c 2d 6f | 72 2d 72 65 6d 6f 74 65 |-local-o|r-remote|
|00000710| 20 28 6d 61 63 72 6f 20 | 2e 20 23 5b 28 62 69 6e | (macro |. #[(bin|
|00000720| 64 69 6e 67 20 6e 61 6d | 65 20 72 65 6d 6f 74 65 |ding nam|e remote|
|00000730| 20 6c 6f 63 61 6c 29 20 | 22 c0 c1 5c 6e 21 21 c0 | local) |"..\n!!.|
|00000740| c1 0b 21 21 1c 1d c6 c7 | 0e 08 c9 0e 5c 6e 44 45 |..!!....|....\nDE|
|00000750| cb 0e 5c 6e cc cd 0d ce | 0c cf 0d d0 0c d1 0d d2 |..\n....|........|
|00000760| 0c d3 b0 0d d4 d5 d6 d7 | 5c 6e 0b 46 44 af 06 45 |........|\n.FD..E|
|00000770| 2a 87 22 20 5b 73 79 6d | 62 6f 6c 2d 6e 61 6d 65 |*." [sym|bol-name|
|00000780| 20 65 76 61 6c 20 72 65 | 6d 6f 74 65 20 6c 6f 63 | eval re|mote loc|
|00000790| 61 6c 20 6c 20 72 20 70 | 72 6f 67 6e 20 67 6c 6f |al l r p|rogn glo|
|000007a0| 62 61 6c 2d 73 65 74 2d | 6b 65 79 20 62 69 6e 64 |bal-set-|key bind|
|000007b0| 69 6e 67 20 71 75 6f 74 | 65 20 6e 61 6d 65 20 64 |ing quot|e name d|
|000007c0| 65 66 75 6e 20 28 61 72 | 67 29 20 22 43 61 6c 6c |efun (ar|g) "Call|
|000007d0| 20 65 69 74 68 65 72 20 | 22 20 22 20 6f 72 20 22 | either |" " or "|
|000007e0| 20 22 2e 5c 6e 49 66 20 | 72 65 6d 6f 74 65 2d 65 | ".\nIf |remote-e|
|000007f0| 64 69 74 69 6e 67 20 28 | 77 68 69 63 68 20 73 65 |diting (|which se|
|00000800| 65 29 2c 20 63 61 6c 6c | 20 22 20 22 2c 20 65 6c |e), call| " ", el|
|00000810| 73 65 20 63 61 6c 6c 20 | 22 20 22 2e 5c 6e 5c 6e |se call |" ".\n\n|
|00000820| 53 65 65 20 61 6c 73 6f | 20 74 68 65 20 64 6f 63 |See also| the doc|
|00000830| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 22 |umentati|on for "|
|00000840| 20 22 20 61 6e 64 20 22 | 20 22 2e 22 20 28 69 6e | " and "| "." (in|
|00000850| 74 65 72 61 63 74 69 76 | 65 20 22 50 22 29 20 63 |teractiv|e "P") c|
|00000860| 61 6c 6c 2d 69 6e 74 65 | 72 61 63 74 69 76 65 6c |all-inte|ractivel|
|00000870| 79 20 69 66 20 28 78 6f | 72 20 72 65 6d 6f 74 65 |y if (xo|r remote|
|00000880| 2d 65 64 69 74 69 6e 67 | 20 61 72 67 29 5d 20 31 |-editing| arg)] 1|
|00000890| 38 5d 29 20 22 18 06 22 | 20 66 69 6e 64 2d 6c 6f |8]) ".."| find-lo|
|000008a0| 63 61 6c 2d 6f 72 2d 72 | 65 6d 6f 74 65 2d 66 69 |cal-or-r|emote-fi|
|000008b0| 6c 65 5d 20 33 29 0a 28 | 66 73 65 74 20 27 66 69 |le] 3).(|fset 'fi|
|000008c0| 6e 64 2d 6c 6f 63 61 6c | 2d 6f 72 2d 72 65 6d 6f |nd-local|-or-remo|
|000008d0| 74 65 2d 66 69 6c 65 20 | 23 5b 28 61 72 67 29 20 |te-file |#[(arg) |
|000008e0| 22 c0 c1 5c 6e 0b 5c 22 | ab 83 c4 aa 81 c5 21 87 |"..\n.\"|......!.|
|000008f0| 22 20 5b 63 61 6c 6c 2d | 69 6e 74 65 72 61 63 74 |" [call-|interact|
|00000900| 69 76 65 6c 79 20 78 6f | 72 20 72 65 6d 6f 74 65 |ively xo|r remote|
|00000910| 2d 65 64 69 74 69 6e 67 | 20 61 72 67 20 66 69 6e |-editing| arg fin|
|00000920| 64 2d 72 65 6d 6f 74 65 | 2d 66 69 6c 65 20 66 69 |d-remote|-file fi|
|00000930| 6e 64 2d 66 69 6c 65 5d | 20 34 20 22 5c 0a 43 61 |nd-file]| 4 "\.Ca|
|00000940| 6c 6c 20 65 69 74 68 65 | 72 20 66 69 6e 64 2d 72 |ll eithe|r find-r|
|00000950| 65 6d 6f 74 65 2d 66 69 | 6c 65 20 6f 72 20 66 69 |emote-fi|le or fi|
|00000960| 6e 64 2d 66 69 6c 65 2e | 0a 49 66 20 72 65 6d 6f |nd-file.|.If remo|
|00000970| 74 65 2d 65 64 69 74 69 | 6e 67 20 28 77 68 69 63 |te-editi|ng (whic|
|00000980| 68 20 73 65 65 29 2c 20 | 63 61 6c 6c 20 66 69 6e |h see), |call fin|
|00000990| 64 2d 72 65 6d 6f 74 65 | 2d 66 69 6c 65 2c 20 65 |d-remote|-file, e|
|000009a0| 6c 73 65 20 63 61 6c 6c | 20 66 69 6e 64 2d 66 69 |lse call| find-fi|
|000009b0| 6c 65 2e 0a 0a 53 65 65 | 20 61 6c 73 6f 20 74 68 |le...See| also th|
|000009c0| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |e docume|ntation |
|000009d0| 66 6f 72 20 66 69 6e 64 | 2d 72 65 6d 6f 74 65 2d |for find|-remote-|
|000009e0| 66 69 6c 65 20 61 6e 64 | 20 66 69 6e 64 2d 66 69 |file and| find-fi|
|000009f0| 6c 65 2e 22 20 22 50 22 | 5d 29 0a 28 67 6c 6f 62 |le." "P"|]).(glob|
|00000a00| 61 6c 2d 73 65 74 2d 6b | 65 79 20 22 18 12 22 20 |al-set-k|ey ".." |
|00000a10| 27 66 69 6e 64 2d 6c 6f | 63 61 6c 2d 6f 72 2d 72 |'find-lo|cal-or-r|
|00000a20| 65 6d 6f 74 65 2d 66 69 | 6c 65 2d 72 65 61 64 2d |emote-fi|le-read-|
|00000a30| 6f 6e 6c 79 29 0a 28 66 | 73 65 74 20 27 66 69 6e |only).(f|set 'fin|
|00000a40| 64 2d 6c 6f 63 61 6c 2d | 6f 72 2d 72 65 6d 6f 74 |d-local-|or-remot|
|00000a50| 65 2d 66 69 6c 65 2d 72 | 65 61 64 2d 6f 6e 6c 79 |e-file-r|ead-only|
|00000a60| 20 23 5b 28 61 72 67 29 | 20 22 c0 c1 5c 6e 0b 5c | #[(arg)| "..\n.\|
|00000a70| 22 ab 83 c4 aa 81 c5 21 | 87 22 20 5b 63 61 6c 6c |"......!|." [call|
|00000a80| 2d 69 6e 74 65 72 61 63 | 74 69 76 65 6c 79 20 78 |-interac|tively x|
|00000a90| 6f 72 20 72 65 6d 6f 74 | 65 2d 65 64 69 74 69 6e |or remot|e-editin|
|00000aa0| 67 20 61 72 67 20 66 69 | 6e 64 2d 72 65 6d 6f 74 |g arg fi|nd-remot|
|00000ab0| 65 2d 66 69 6c 65 2d 72 | 65 61 64 2d 6f 6e 6c 79 |e-file-r|ead-only|
|00000ac0| 20 66 69 6e 64 2d 66 69 | 6c 65 2d 72 65 61 64 2d | find-fi|le-read-|
|00000ad0| 6f 6e 6c 79 5d 20 34 20 | 22 5c 0a 43 61 6c 6c 20 |only] 4 |"\.Call |
|00000ae0| 65 69 74 68 65 72 20 66 | 69 6e 64 2d 72 65 6d 6f |either f|ind-remo|
|00000af0| 74 65 2d 66 69 6c 65 2d | 72 65 61 64 2d 6f 6e 6c |te-file-|read-onl|
|00000b00| 79 20 6f 72 20 66 69 6e | 64 2d 66 69 6c 65 2d 72 |y or fin|d-file-r|
|00000b10| 65 61 64 2d 6f 6e 6c 79 | 2e 0a 49 66 20 72 65 6d |ead-only|..If rem|
|00000b20| 6f 74 65 2d 65 64 69 74 | 69 6e 67 20 28 77 68 69 |ote-edit|ing (whi|
|00000b30| 63 68 20 73 65 65 29 2c | 20 63 61 6c 6c 20 66 69 |ch see),| call fi|
|00000b40| 6e 64 2d 72 65 6d 6f 74 | 65 2d 66 69 6c 65 2d 72 |nd-remot|e-file-r|
|00000b50| 65 61 64 2d 6f 6e 6c 79 | 2c 20 65 6c 73 65 20 63 |ead-only|, else c|
|00000b60| 61 6c 6c 20 66 69 6e 64 | 2d 66 69 6c 65 2d 72 65 |all find|-file-re|
|00000b70| 61 64 2d 6f 6e 6c 79 2e | 0a 0a 53 65 65 20 61 6c |ad-only.|..See al|
|00000b80| 73 6f 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 61 |so the d|ocumenta|
|00000b90| 74 69 6f 6e 20 66 6f 72 | 20 66 69 6e 64 2d 72 65 |tion for| find-re|
|00000ba0| 6d 6f 74 65 2d 66 69 6c | 65 2d 72 65 61 64 2d 6f |mote-fil|e-read-o|
|00000bb0| 6e 6c 79 20 61 6e 64 20 | 66 69 6e 64 2d 66 69 6c |nly and |find-fil|
|00000bc0| 65 2d 72 65 61 64 2d 6f | 6e 6c 79 2e 22 20 22 50 |e-read-o|nly." "P|
|00000bd0| 22 5d 29 0a 28 67 6c 6f | 62 61 6c 2d 73 65 74 2d |"]).(glo|bal-set-|
|00000be0| 6b 65 79 20 22 18 16 22 | 20 27 66 69 6e 64 2d 61 |key ".."| 'find-a|
|00000bf0| 6c 74 65 72 6e 61 74 65 | 2d 6c 6f 63 61 6c 2d 6f |lternate|-local-o|
|00000c00| 72 2d 72 65 6d 6f 74 65 | 2d 66 69 6c 65 29 0a 28 |r-remote|-file).(|
|00000c10| 66 73 65 74 20 27 66 69 | 6e 64 2d 61 6c 74 65 72 |fset 'fi|nd-alter|
|00000c20| 6e 61 74 65 2d 6c 6f 63 | 61 6c 2d 6f 72 2d 72 65 |nate-loc|al-or-re|
|00000c30| 6d 6f 74 65 2d 66 69 6c | 65 20 23 5b 28 61 72 67 |mote-fil|e #[(arg|
|00000c40| 29 20 22 c0 c1 5c 6e 0b | 5c 22 ab 83 c4 aa 81 c5 |) "..\n.|\"......|
|00000c50| 21 87 22 20 5b 63 61 6c | 6c 2d 69 6e 74 65 72 61 |!." [cal|l-intera|
|00000c60| 63 74 69 76 65 6c 79 20 | 78 6f 72 20 72 65 6d 6f |ctively |xor remo|
|00000c70| 74 65 2d 65 64 69 74 69 | 6e 67 20 61 72 67 20 66 |te-editi|ng arg f|
|00000c80| 69 6e 64 2d 61 6c 74 65 | 72 6e 61 74 65 2d 72 65 |ind-alte|rnate-re|
|00000c90| 6d 6f 74 65 2d 66 69 6c | 65 20 66 69 6e 64 2d 61 |mote-fil|e find-a|
|00000ca0| 6c 74 65 72 6e 61 74 65 | 2d 66 69 6c 65 5d 20 34 |lternate|-file] 4|
|00000cb0| 20 22 5c 0a 43 61 6c 6c | 20 65 69 74 68 65 72 20 | "\.Call| either |
|00000cc0| 66 69 6e 64 2d 61 6c 74 | 65 72 6e 61 74 65 2d 72 |find-alt|ernate-r|
|00000cd0| 65 6d 6f 74 65 2d 66 69 | 6c 65 20 6f 72 20 66 69 |emote-fi|le or fi|
|00000ce0| 6e 64 2d 61 6c 74 65 72 | 6e 61 74 65 2d 66 69 6c |nd-alter|nate-fil|
|00000cf0| 65 2e 0a 49 66 20 72 65 | 6d 6f 74 65 2d 65 64 69 |e..If re|mote-edi|
|00000d00| 74 69 6e 67 20 28 77 68 | 69 63 68 20 73 65 65 29 |ting (wh|ich see)|
|00000d10| 2c 20 63 61 6c 6c 20 66 | 69 6e 64 2d 61 6c 74 65 |, call f|ind-alte|
|00000d20| 72 6e 61 74 65 2d 72 65 | 6d 6f 74 65 2d 66 69 6c |rnate-re|mote-fil|
|00000d30| 65 2c 20 65 6c 73 65 20 | 63 61 6c 6c 20 66 69 6e |e, else |call fin|
|00000d40| 64 2d 61 6c 74 65 72 6e | 61 74 65 2d 66 69 6c 65 |d-altern|ate-file|
|00000d50| 2e 0a 0a 53 65 65 20 61 | 6c 73 6f 20 74 68 65 20 |...See a|lso the |
|00000d60| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 66 6f |document|ation fo|
|00000d70| 72 20 66 69 6e 64 2d 61 | 6c 74 65 72 6e 61 74 65 |r find-a|lternate|
|00000d80| 2d 72 65 6d 6f 74 65 2d | 66 69 6c 65 20 61 6e 64 |-remote-|file and|
|00000d90| 20 66 69 6e 64 2d 61 6c | 74 65 72 6e 61 74 65 2d | find-al|ternate-|
|00000da0| 66 69 6c 65 2e 22 20 22 | 50 22 5d 29 0a 28 67 6c |file." "|P"]).(gl|
|00000db0| 6f 62 61 6c 2d 73 65 74 | 2d 6b 65 79 20 22 18 13 |obal-set|-key "..|
|00000dc0| 22 20 27 73 61 76 65 2d | 6c 6f 63 61 6c 2d 6f 72 |" 'save-|local-or|
|00000dd0| 2d 72 65 6d 6f 74 65 2d | 62 75 66 66 65 72 29 0a |-remote-|buffer).|
|00000de0| 28 66 73 65 74 20 27 73 | 61 76 65 2d 6c 6f 63 61 |(fset 's|ave-loca|
|00000df0| 6c 2d 6f 72 2d 72 65 6d | 6f 74 65 2d 62 75 66 66 |l-or-rem|ote-buff|
|00000e00| 65 72 20 23 5b 28 61 72 | 67 29 20 22 c0 c1 5c 6e |er #[(ar|g) "..\n|
|00000e10| 0b 5c 22 ab 83 c4 aa 81 | c5 21 87 22 20 5b 63 61 |.\".....|.!." [ca|
|00000e20| 6c 6c 2d 69 6e 74 65 72 | 61 63 74 69 76 65 6c 79 |ll-inter|actively|
|00000e30| 20 78 6f 72 20 72 65 6d | 6f 74 65 2d 65 64 69 74 | xor rem|ote-edit|
|00000e40| 69 6e 67 20 61 72 67 20 | 73 61 76 65 2d 72 65 6d |ing arg |save-rem|
|00000e50| 6f 74 65 2d 62 75 66 66 | 65 72 20 73 61 76 65 2d |ote-buff|er save-|
|00000e60| 62 75 66 66 65 72 5d 20 | 34 20 22 5c 0a 43 61 6c |buffer] |4 "\.Cal|
|00000e70| 6c 20 65 69 74 68 65 72 | 20 73 61 76 65 2d 72 65 |l either| save-re|
|00000e80| 6d 6f 74 65 2d 62 75 66 | 66 65 72 20 6f 72 20 73 |mote-buf|fer or s|
|00000e90| 61 76 65 2d 62 75 66 66 | 65 72 2e 0a 49 66 20 72 |ave-buff|er..If r|
|00000ea0| 65 6d 6f 74 65 2d 65 64 | 69 74 69 6e 67 20 28 77 |emote-ed|iting (w|
|00000eb0| 68 69 63 68 20 73 65 65 | 29 2c 20 63 61 6c 6c 20 |hich see|), call |
|00000ec0| 73 61 76 65 2d 72 65 6d | 6f 74 65 2d 62 75 66 66 |save-rem|ote-buff|
|00000ed0| 65 72 2c 20 65 6c 73 65 | 20 63 61 6c 6c 20 73 61 |er, else| call sa|
|00000ee0| 76 65 2d 62 75 66 66 65 | 72 2e 0a 0a 53 65 65 20 |ve-buffe|r...See |
|00000ef0| 61 6c 73 6f 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |also the| documen|
|00000f00| 74 61 74 69 6f 6e 20 66 | 6f 72 20 73 61 76 65 2d |tation f|or save-|
|00000f10| 72 65 6d 6f 74 65 2d 62 | 75 66 66 65 72 20 61 6e |remote-b|uffer an|
|00000f20| 64 20 73 61 76 65 2d 62 | 75 66 66 65 72 2e 22 20 |d save-b|uffer." |
|00000f30| 22 50 22 5d 29 0a 28 67 | 6c 6f 62 61 6c 2d 73 65 |"P"]).(g|lobal-se|
|00000f40| 74 2d 6b 65 79 20 22 18 | 17 22 20 27 77 72 69 74 |t-key ".|." 'writ|
|00000f50| 65 2d 6c 6f 63 61 6c 2d | 6f 72 2d 72 65 6d 6f 74 |e-local-|or-remot|
|00000f60| 65 2d 66 69 6c 65 29 0a | 28 66 73 65 74 20 27 77 |e-file).|(fset 'w|
|00000f70| 72 69 74 65 2d 6c 6f 63 | 61 6c 2d 6f 72 2d 72 65 |rite-loc|al-or-re|
|00000f80| 6d 6f 74 65 2d 66 69 6c | 65 20 23 5b 28 61 72 67 |mote-fil|e #[(arg|
|00000f90| 29 20 22 c0 c1 5c 6e 0b | 5c 22 ab 83 c4 aa 81 c5 |) "..\n.|\"......|
|00000fa0| 21 87 22 20 5b 63 61 6c | 6c 2d 69 6e 74 65 72 61 |!." [cal|l-intera|
|00000fb0| 63 74 69 76 65 6c 79 20 | 78 6f 72 20 72 65 6d 6f |ctively |xor remo|
|00000fc0| 74 65 2d 65 64 69 74 69 | 6e 67 20 61 72 67 20 77 |te-editi|ng arg w|
|00000fd0| 72 69 74 65 2d 72 65 6d | 6f 74 65 2d 66 69 6c 65 |rite-rem|ote-file|
|00000fe0| 20 77 72 69 74 65 2d 66 | 69 6c 65 5d 20 34 20 22 | write-f|ile] 4 "|
|00000ff0| 5c 0a 43 61 6c 6c 20 65 | 69 74 68 65 72 20 77 72 |\.Call e|ither wr|
|00001000| 69 74 65 2d 72 65 6d 6f | 74 65 2d 66 69 6c 65 20 |ite-remo|te-file |
|00001010| 6f 72 20 77 72 69 74 65 | 2d 66 69 6c 65 2e 0a 49 |or write|-file..I|
|00001020| 66 20 72 65 6d 6f 74 65 | 2d 65 64 69 74 69 6e 67 |f remote|-editing|
|00001030| 20 28 77 68 69 63 68 20 | 73 65 65 29 2c 20 63 61 | (which |see), ca|
|00001040| 6c 6c 20 77 72 69 74 65 | 2d 72 65 6d 6f 74 65 2d |ll write|-remote-|
|00001050| 66 69 6c 65 2c 20 65 6c | 73 65 20 63 61 6c 6c 20 |file, el|se call |
|00001060| 77 72 69 74 65 2d 66 69 | 6c 65 2e 0a 0a 53 65 65 |write-fi|le...See|
|00001070| 20 61 6c 73 6f 20 74 68 | 65 20 64 6f 63 75 6d 65 | also th|e docume|
|00001080| 6e 74 61 74 69 6f 6e 20 | 66 6f 72 20 77 72 69 74 |ntation |for writ|
|00001090| 65 2d 72 65 6d 6f 74 65 | 2d 66 69 6c 65 20 61 6e |e-remote|-file an|
|000010a0| 64 20 77 72 69 74 65 2d | 66 69 6c 65 2e 22 20 22 |d write-|file." "|
|000010b0| 50 22 5d 29 0a 28 67 6c | 6f 62 61 6c 2d 73 65 74 |P"]).(gl|obal-set|
|000010c0| 2d 6b 65 79 20 22 18 69 | 22 20 27 69 6e 73 65 72 |-key ".i|" 'inser|
|000010d0| 74 2d 6c 6f 63 61 6c 2d | 6f 72 2d 72 65 6d 6f 74 |t-local-|or-remot|
|000010e0| 65 2d 66 69 6c 65 29 0a | 28 66 73 65 74 20 27 69 |e-file).|(fset 'i|
|000010f0| 6e 73 65 72 74 2d 6c 6f | 63 61 6c 2d 6f 72 2d 72 |nsert-lo|cal-or-r|
|00001100| 65 6d 6f 74 65 2d 66 69 | 6c 65 20 23 5b 28 61 72 |emote-fi|le #[(ar|
|00001110| 67 29 20 22 c0 c1 5c 6e | 0b 5c 22 ab 83 c4 aa 81 |g) "..\n|.\".....|
|00001120| c5 21 87 22 20 5b 63 61 | 6c 6c 2d 69 6e 74 65 72 |.!." [ca|ll-inter|
|00001130| 61 63 74 69 76 65 6c 79 | 20 78 6f 72 20 72 65 6d |actively| xor rem|
|00001140| 6f 74 65 2d 65 64 69 74 | 69 6e 67 20 61 72 67 20 |ote-edit|ing arg |
|00001150| 69 6e 73 65 72 74 2d 72 | 65 6d 6f 74 65 2d 66 69 |insert-r|emote-fi|
|00001160| 6c 65 20 69 6e 73 65 72 | 74 2d 66 69 6c 65 5d 20 |le inser|t-file] |
|00001170| 34 20 22 5c 0a 43 61 6c | 6c 20 65 69 74 68 65 72 |4 "\.Cal|l either|
|00001180| 20 69 6e 73 65 72 74 2d | 72 65 6d 6f 74 65 2d 66 | insert-|remote-f|
|00001190| 69 6c 65 20 6f 72 20 69 | 6e 73 65 72 74 2d 66 69 |ile or i|nsert-fi|
|000011a0| 6c 65 2e 0a 49 66 20 72 | 65 6d 6f 74 65 2d 65 64 |le..If r|emote-ed|
|000011b0| 69 74 69 6e 67 20 28 77 | 68 69 63 68 20 73 65 65 |iting (w|hich see|
|000011c0| 29 2c 20 63 61 6c 6c 20 | 69 6e 73 65 72 74 2d 72 |), call |insert-r|
|000011d0| 65 6d 6f 74 65 2d 66 69 | 6c 65 2c 20 65 6c 73 65 |emote-fi|le, else|
|000011e0| 20 63 61 6c 6c 20 69 6e | 73 65 72 74 2d 66 69 6c | call in|sert-fil|
|000011f0| 65 2e 0a 0a 53 65 65 20 | 61 6c 73 6f 20 74 68 65 |e...See |also the|
|00001200| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 66 | documen|tation f|
|00001210| 6f 72 20 69 6e 73 65 72 | 74 2d 72 65 6d 6f 74 65 |or inser|t-remote|
|00001220| 2d 66 69 6c 65 20 61 6e | 64 20 69 6e 73 65 72 74 |-file an|d insert|
|00001230| 2d 66 69 6c 65 2e 22 20 | 22 50 22 5d 29 0a 28 66 |-file." |"P"]).(f|
|00001240| 73 65 74 20 27 66 69 6e | 64 2d 72 65 6d 6f 74 65 |set 'fin|d-remote|
|00001250| 2d 66 69 6c 65 20 23 5b | 28 68 6f 73 74 20 66 69 |-file #[|(host fi|
|00001260| 6c 65 29 20 22 c0 09 5c | 6e c3 23 c4 1d 89 1e 06 |le) "..\|n.#.....|
|00001270| ad c9 c7 0e 06 21 ab 86 | c8 0e 06 21 aa bd 0e 06 |.....!..|...!....|
|00001280| 15 c9 09 ca 5c 6e 21 50 | 21 1e 0b c8 0e 0b 21 88 |....\n!P|!.....!.|
|00001290| cc 0d 21 ac 86 cd ce 21 | 88 aa 8c cf 0d 21 88 d0 |..!....!|.....!..|
|000012a0| c4 21 88 d1 0d 21 88 09 | 5c 6e 50 1e 12 d3 20 88 |.!...!..|\nP... .|
|000012b0| d4 d5 21 88 0e 12 16 16 | d7 89 16 18 2a 2a 87 22 |..!.....|....**."|
|000012c0| 20 5b 67 65 74 2d 72 65 | 6d 6f 74 65 2d 66 69 6c | [get-re|mote-fil|
|000012d0| 65 2d 6f 72 2d 62 75 66 | 66 65 72 20 68 6f 73 74 |e-or-buf|fer host|
|000012e0| 20 66 69 6c 65 20 22 72 | 65 74 72 69 65 76 65 22 | file "r|etrieve"|
|000012f0| 20 6e 69 6c 20 6c 6f 63 | 61 6c 2d 66 69 6c 65 20 | nil loc|al-file |
|00001300| 62 75 66 66 65 72 2d 6f | 72 2d 66 69 6c 65 20 62 |buffer-o|r-file b|
|00001310| 75 66 66 65 72 70 20 73 | 77 69 74 63 68 2d 74 6f |ufferp s|witch-to|
|00001320| 2d 62 75 66 66 65 72 20 | 67 65 6e 65 72 61 74 65 |-buffer |generate|
|00001330| 2d 6e 65 77 2d 62 75 66 | 66 65 72 20 66 69 6c 65 |-new-buf|fer file|
|00001340| 2d 6e 61 6d 65 2d 6e 6f | 6e 64 69 72 65 63 74 6f |-name-no|ndirecto|
|00001350| 72 79 20 62 75 66 20 66 | 69 6c 65 2d 65 78 69 73 |ry buf f|ile-exis|
|00001360| 74 73 2d 70 20 6d 65 73 | 73 61 67 65 20 22 28 4e |ts-p mes|sage "(N|
|00001370| 65 77 20 72 65 6d 6f 74 | 65 20 66 69 6c 65 29 22 |ew remot|e file)"|
|00001380| 20 69 6e 73 65 72 74 2d | 66 69 6c 65 2d 63 6f 6e | insert-|file-con|
|00001390| 74 65 6e 74 73 20 73 65 | 74 2d 62 75 66 66 65 72 |tents se|t-buffer|
|000013a0| 2d 6d 6f 64 69 66 69 65 | 64 2d 70 20 64 65 6c 65 |-modifie|d-p dele|
|000013b0| 74 65 2d 66 69 6c 65 20 | 62 75 66 66 65 72 2d 66 |te-file |buffer-f|
|000013c0| 69 6c 65 2d 6e 61 6d 65 | 20 6e 6f 72 6d 61 6c 2d |ile-name| normal-|
|000013d0| 6d 6f 64 65 20 72 65 6d | 6f 74 65 2d 65 64 69 74 |mode rem|ote-edit|
|000013e0| 69 6e 67 20 31 20 62 75 | 66 66 65 72 2d 72 65 6d |ing 1 bu|ffer-rem|
|000013f0| 6f 74 65 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 74 20 |ote-file|-name t |
|00001400| 62 75 66 66 65 72 2d 6f | 66 66 65 72 2d 73 61 76 |buffer-o|ffer-sav|
|00001410| 65 5d 20 35 20 22 5c 0a | 45 64 69 74 20 72 65 6d |e] 5 "\.|Edit rem|
|00001420| 6f 74 65 20 66 69 6c 65 | 20 48 4f 53 54 3a 46 49 |ote file| HOST:FI|
|00001430| 4c 45 20 28 75 73 69 6e | 67 20 72 63 70 29 2e 0a |LE (usin|g rcp)..|
|00001440| 54 68 69 73 20 63 6f 6d | 6d 61 6e 64 20 69 73 20 |This com|mand is |
|00001450| 73 69 6d 69 6c 69 61 72 | 20 74 6f 20 66 69 6e 64 |similiar| to find|
|00001460| 2d 66 69 6c 65 2c 20 62 | 75 74 20 75 73 65 73 20 |-file, b|ut uses |
|00001470| 72 63 70 20 74 6f 20 72 | 65 61 64 20 74 68 65 20 |rcp to r|ead the |
|00001480| 66 69 6c 65 20 66 72 6f | 6d 0a 61 20 72 65 6d 6f |file fro|m.a remo|
|00001490| 74 65 20 6d 61 63 68 69 | 6e 65 2e 20 20 41 6c 73 |te machi|ne. Als|
|000014a0| 6f 20 73 65 65 20 72 65 | 6d 6f 74 65 2d 65 64 69 |o see re|mote-edi|
|000014b0| 74 69 6e 67 2e 22 20 28 | 72 65 61 64 2d 72 65 6d |ting." (|read-rem|
|000014c0| 6f 74 65 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 22 46 |ote-file|-name "F|
|000014d0| 69 6e 64 20 72 65 6d 6f | 74 65 20 66 69 6c 65 22 |ind remo|te file"|
|000014e0| 29 5d 29 0a 28 66 73 65 | 74 20 27 66 69 6e 64 2d |)]).(fse|t 'find-|
|000014f0| 72 65 6d 6f 74 65 2d 66 | 69 6c 65 2d 72 65 61 64 |remote-f|ile-read|
|00001500| 2d 6f 6e 6c 79 20 23 5b | 6e 69 6c 20 22 c0 c1 21 |-only #[|nil "..!|
|00001510| 88 c2 89 13 87 22 20 5b | 63 61 6c 6c 2d 69 6e 74 |....." [|call-int|
|00001520| 65 72 61 63 74 69 76 65 | 6c 79 20 66 69 6e 64 2d |eractive|ly find-|
|00001530| 72 65 6d 6f 74 65 2d 66 | 69 6c 65 20 74 20 62 75 |remote-f|ile t bu|
|00001540| 66 66 65 72 2d 72 65 61 | 64 2d 6f 6e 6c 79 5d 20 |ffer-rea|d-only] |
|00001550| 32 20 22 5c 0a 45 64 69 | 74 20 72 65 6d 6f 74 65 |2 "\.Edi|t remote|
|00001560| 20 66 69 6c 65 20 46 49 | 4c 45 4e 41 4d 45 2c 20 | file FI|LENAME, |
|00001570| 62 75 74 20 6d 61 72 6b | 20 62 75 66 66 65 72 20 |but mark| buffer |
|00001580| 61 73 20 72 65 61 64 2d | 6f 6e 6c 79 2e 0a 41 6c |as read-|only..Al|
|00001590| 73 6f 20 73 65 65 20 66 | 69 6e 64 2d 72 65 6d 6f |so see f|ind-remo|
|000015a0| 74 65 2d 66 69 6c 65 20 | 61 6e 64 20 72 65 6d 6f |te-file |and remo|
|000015b0| 74 65 2d 65 64 69 74 69 | 6e 67 2e 22 20 6e 69 6c |te-editi|ng." nil|
|000015c0| 5d 29 0a 28 66 73 65 74 | 20 27 66 69 6e 64 2d 61 |]).(fset| 'find-a|
|000015d0| 6c 74 65 72 6e 61 74 65 | 2d 72 65 6d 6f 74 65 2d |lternate|-remote-|
|000015e0| 66 69 6c 65 20 23 5b 6e | 69 6c 20 22 c0 20 ab 90 |file #[n|il ". ..|
|000015f0| 09 ac 8d c2 c3 c4 c5 20 | 5c 22 21 ac 84 c6 c7 21 |....... |\"!....!|
|00001600| 88 70 c5 20 1e 08 1e 09 | ca cb 21 88 cc 8e cd ce |.p. ....|..!.....|
|00001610| cf d0 21 5c 22 2b 87 22 | 20 5b 62 75 66 66 65 72 |..!\"+."| [buffer|
|00001620| 2d 6d 6f 64 69 66 69 65 | 64 2d 70 20 62 75 66 66 |-modifie|d-p buff|
|00001630| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 79 65 73 |er-read-|only yes|
|00001640| 2d 6f 72 2d 6e 6f 2d 70 | 20 66 6f 72 6d 61 74 20 |-or-no-p| format |
|00001650| 22 42 75 66 66 65 72 20 | 25 73 20 69 73 20 6d 6f |"Buffer |%s is mo|
|00001660| 64 69 66 69 65 64 3b 20 | 6b 69 6c 6c 20 61 6e 79 |dified; |kill any|
|00001670| 77 61 79 3f 20 22 20 62 | 75 66 66 65 72 2d 6e 61 |way? " b|uffer-na|
|00001680| 6d 65 20 65 72 72 6f 72 | 20 22 41 62 6f 72 74 65 |me error| "Aborte|
|00001690| 64 22 20 6f 6e 61 6d 65 | 20 6f 62 75 66 20 72 65 |d" oname| obuf re|
|000016a0| 6e 61 6d 65 2d 62 75 66 | 66 65 72 20 22 20 2a 2a |name-buf|fer " **|
|000016b0| 6c 6f 73 65 2a 2a 22 20 | 28 28 62 79 74 65 2d 63 |lose**" |((byte-c|
|000016c0| 6f 64 65 20 22 08 70 3d | ab 86 c1 5c 6e 21 88 aa |ode ".p=|...\n!..|
|000016d0| 84 c3 08 21 88 c1 87 22 | 20 5b 6f 62 75 66 20 72 |...!..."| [obuf r|
|000016e0| 65 6e 61 6d 65 2d 62 75 | 66 66 65 72 20 6f 6e 61 |ename-bu|ffer ona|
|000016f0| 6d 65 20 6b 69 6c 6c 2d | 62 75 66 66 65 72 5d 20 |me kill-|buffer] |
|00001700| 32 29 29 20 61 70 70 6c | 79 20 66 69 6e 64 2d 72 |2)) appl|y find-r|
|00001710| 65 6d 6f 74 65 2d 66 69 | 6c 65 20 72 65 61 64 2d |emote-fi|le read-|
|00001720| 72 65 6d 6f 74 65 2d 66 | 69 6c 65 2d 6e 61 6d 65 |remote-f|ile-name|
|00001730| 20 22 46 69 6e 64 20 72 | 65 6d 6f 74 65 20 61 6c | "Find r|emote al|
|00001740| 74 65 72 6e 61 74 65 20 | 66 69 6c 65 22 5d 20 34 |ternate |file"] 4|
|00001750| 20 22 5c 0a 46 69 6e 64 | 20 61 6c 74 65 72 6e 61 | "\.Find| alterna|
|00001760| 74 65 20 66 69 6c 65 20 | 75 73 69 6e 67 20 72 63 |te file |using rc|
|00001770| 70 2e 0a 54 68 69 73 20 | 63 6f 6d 6d 61 6e 64 20 |p..This |command |
|00001780| 69 73 20 73 69 6d 69 6c | 69 61 72 20 74 6f 20 66 |is simil|iar to f|
|00001790| 69 6e 64 2d 61 6c 74 65 | 72 6e 61 74 65 2d 66 69 |ind-alte|rnate-fi|
|000017a0| 6c 65 2c 20 62 75 74 20 | 75 73 65 73 20 72 63 70 |le, but |uses rcp|
|000017b0| 20 74 6f 20 72 65 61 64 | 20 74 68 65 20 66 69 6c | to read| the fil|
|000017c0| 65 20 66 72 6f 6d 0a 61 | 20 72 65 6d 6f 74 65 20 |e from.a| remote |
|000017d0| 6d 61 63 68 69 6e 65 2e | 20 20 41 6c 73 6f 20 73 |machine.| Also s|
|000017e0| 65 65 20 72 65 6d 6f 74 | 65 2d 65 64 69 74 69 6e |ee remot|e-editin|
|000017f0| 67 2e 22 20 6e 69 6c 5d | 29 0a 28 66 73 65 74 20 |g." nil]|).(fset |
|00001800| 27 73 61 76 65 2d 72 65 | 6d 6f 74 65 2d 62 75 66 |'save-re|mote-buf|
|00001810| 66 65 72 20 23 5b 6e 69 | 6c 20 22 c0 20 ab 8e 09 |fer #[ni|l ". ...|
|00001820| 47 c2 55 ab 84 c3 c4 21 | 87 c5 09 21 87 c6 c7 21 |G.U....!|...!...!|
|00001830| 87 22 20 5b 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |." [buff|er-modif|
|00001840| 69 65 64 2d 70 20 62 75 | 66 66 65 72 2d 72 65 6d |ied-p bu|ffer-rem|
|00001850| 6f 74 65 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 30 20 |ote-file|-name 0 |
|00001860| 63 61 6c 6c 2d 69 6e 74 | 65 72 61 63 74 69 76 65 |call-int|eractive|
|00001870| 6c 79 20 77 72 69 74 65 | 2d 72 65 6d 6f 74 65 2d |ly write|-remote-|
|00001880| 66 69 6c 65 20 64 6f 2d | 77 72 69 74 65 2d 72 65 |file do-|write-re|
|00001890| 6d 6f 74 65 2d 66 69 6c | 65 20 6d 65 73 73 61 67 |mote-fil|e messag|
|000018a0| 65 20 22 28 4e 6f 20 63 | 68 61 6e 67 65 73 20 6e |e "(No c|hanges n|
|000018b0| 65 65 64 20 74 6f 20 62 | 65 20 73 61 76 65 64 29 |eed to b|e saved)|
|000018c0| 22 5d 20 32 20 22 5c 0a | 53 61 76 65 20 61 20 66 |"] 2 "\.|Save a f|
|000018d0| 69 6c 65 20 75 73 69 6e | 67 20 72 63 70 2e 0a 54 |ile usin|g rcp..T|
|000018e0| 68 69 73 20 63 6f 6d 6d | 61 6e 64 20 69 73 20 73 |his comm|and is s|
|000018f0| 69 6d 69 6c 69 61 72 20 | 74 6f 20 73 61 76 65 2d |imiliar |to save-|
|00001900| 62 75 66 66 65 72 2c 20 | 62 75 74 20 75 73 65 73 |buffer, |but uses|
|00001910| 20 72 63 70 20 74 6f 20 | 77 72 69 74 65 20 74 68 | rcp to |write th|
|00001920| 65 20 66 69 6c 65 20 62 | 61 63 6b 0a 74 6f 20 61 |e file b|ack.to a|
|00001930| 20 72 65 6d 6f 74 65 20 | 6d 61 63 68 69 6e 65 2e | remote |machine.|
|00001940| 20 20 41 6c 73 6f 20 73 | 65 65 20 72 65 6d 6f 74 | Also s|ee remot|
|00001950| 65 2d 65 64 69 74 69 6e | 67 2e 22 20 6e 69 6c 5d |e-editin|g." nil]|
|00001960| 29 0a 28 66 73 65 74 20 | 27 77 72 69 74 65 2d 72 |).(fset |'write-r|
|00001970| 65 6d 6f 74 65 2d 66 69 | 6c 65 20 23 5b 28 68 6f |emote-fi|le #[(ho|
|00001980| 73 74 20 66 69 6c 65 29 | 20 22 c0 09 5c 6e 50 21 |st file)| "..\nP!|
|00001990| 87 22 20 5b 64 6f 2d 77 | 72 69 74 65 2d 72 65 6d |." [do-w|rite-rem|
|000019a0| 6f 74 65 2d 66 69 6c 65 | 20 68 6f 73 74 20 66 69 |ote-file| host fi|
|000019b0| 6c 65 5d 20 33 20 22 5c | 0a 57 72 69 74 65 20 61 |le] 3 "\|.Write a|
|000019c0| 20 66 69 6c 65 20 48 4f | 53 54 3a 46 49 4c 45 20 | file HO|ST:FILE |
|000019d0| 75 73 69 6e 67 20 72 63 | 70 2e 0a 54 68 69 73 20 |using rc|p..This |
|000019e0| 63 6f 6d 6d 61 6e 64 20 | 69 73 20 73 69 6d 69 6c |command |is simil|
|000019f0| 69 61 72 20 74 6f 20 77 | 72 69 74 65 2d 66 69 6c |iar to w|rite-fil|
|00001a00| 65 2c 20 62 75 74 20 75 | 73 65 73 20 72 63 70 20 |e, but u|ses rcp |
|00001a10| 74 6f 20 77 72 69 74 65 | 20 74 68 65 20 66 69 6c |to write| the fil|
|00001a20| 65 20 62 61 63 6b 0a 74 | 6f 20 61 20 72 65 6d 6f |e back.t|o a remo|
|00001a30| 74 65 20 6d 61 63 68 69 | 6e 65 2e 20 20 41 6c 73 |te machi|ne. Als|
|00001a40| 6f 20 73 65 65 20 72 65 | 6d 6f 74 65 2d 65 64 69 |o see re|mote-edi|
|00001a50| 74 69 6e 67 2e 22 20 28 | 62 79 74 65 2d 63 6f 64 |ting." (|byte-cod|
|00001a60| 65 20 22 c0 c1 c2 5c 22 | 87 22 20 5b 72 65 61 64 |e "...\"|." [read|
|00001a70| 2d 72 65 6d 6f 74 65 2d | 66 69 6c 65 2d 6e 61 6d |-remote-|file-nam|
|00001a80| 65 20 22 57 72 69 74 65 | 20 72 65 6d 6f 74 65 20 |e "Write| remote |
|00001a90| 66 69 6c 65 22 20 6e 6f | 2d 66 69 6c 65 2d 6f 6b |file" no|-file-ok|
|00001aa0| 5d 20 33 29 5d 29 0a 28 | 66 73 65 74 20 27 69 6e |] 3)]).(|fset 'in|
|00001ab0| 73 65 72 74 2d 72 65 6d | 6f 74 65 2d 66 69 6c 65 |sert-rem|ote-file|
|00001ac0| 20 23 5b 28 68 6f 73 74 | 20 66 69 6c 65 29 20 22 | #[(host| file) "|
|00001ad0| c0 09 5c 6e c3 23 89 1c | ad 91 c5 0c 21 ab 85 c6 |..\n.#..|....!...|
|00001ae0| 0c 21 aa 87 c7 0c 21 88 | c8 0c 21 29 87 22 20 5b |.!....!.|..!)." [|
|00001af0| 67 65 74 2d 72 65 6d 6f | 74 65 2d 66 69 6c 65 2d |get-remo|te-file-|
|00001b00| 6f 72 2d 62 75 66 66 65 | 72 20 68 6f 73 74 20 66 |or-buffe|r host f|
|00001b10| 69 6c 65 20 22 69 6e 73 | 65 72 74 22 20 66 2d 6f |ile "ins|ert" f-o|
|00001b20| 72 2d 62 20 62 75 66 66 | 65 72 70 20 69 6e 73 65 |r-b buff|erp inse|
|00001b30| 72 74 2d 62 75 66 66 65 | 72 20 69 6e 73 65 72 74 |rt-buffe|r insert|
|00001b40| 2d 66 69 6c 65 20 64 65 | 6c 65 74 65 2d 66 69 6c |-file de|lete-fil|
|00001b50| 65 5d 20 35 20 22 5c 0a | 49 6e 73 65 72 74 20 61 |e] 5 "\.|Insert a|
|00001b60| 20 72 65 6d 6f 74 65 20 | 66 69 6c 65 20 48 4f 53 | remote |file HOS|
|00001b70| 54 3a 46 49 4c 45 20 75 | 73 69 6e 67 20 72 63 70 |T:FILE u|sing rcp|
|00001b80| 2e 0a 54 68 69 73 20 63 | 6f 6d 6d 61 6e 64 20 69 |..This c|ommand i|
|00001b90| 73 20 73 69 6d 69 6c 69 | 61 72 20 74 6f 20 69 6e |s simili|ar to in|
|00001ba0| 73 65 72 74 2d 66 69 6c | 65 2c 20 62 75 74 20 75 |sert-fil|e, but u|
|00001bb0| 73 65 73 20 72 63 70 20 | 74 6f 20 72 65 61 64 20 |ses rcp |to read |
|00001bc0| 74 68 65 20 66 69 6c 65 | 20 66 72 6f 6d 0a 61 20 |the file| from.a |
|00001bd0| 72 65 6d 6f 74 65 20 6d | 61 63 68 69 6e 65 2e 20 |remote m|achine. |
|00001be0| 20 41 6c 73 6f 20 73 65 | 65 20 72 65 6d 6f 74 65 | Also se|e remote|
|00001bf0| 2d 65 64 69 74 69 6e 67 | 2e 22 20 28 72 65 61 64 |-editing|." (read|
|00001c00| 2d 72 65 6d 6f 74 65 2d | 66 69 6c 65 2d 6e 61 6d |-remote-|file-nam|
|00001c10| 65 20 22 49 6e 73 65 72 | 74 20 72 65 6d 6f 74 65 |e "Inser|t remote|
|00001c20| 20 66 69 6c 65 22 29 5d | 29 0a 28 66 73 65 74 20 | file")]|).(fset |
|00001c30| 27 64 6f 2d 77 72 69 74 | 65 2d 72 65 6d 6f 74 65 |'do-writ|e-remote|
|00001c40| 2d 66 69 6c 65 20 23 5b | 28 66 69 6c 65 29 20 22 |-file #[|(file) "|
|00001c50| c0 c1 20 50 1a 8a c3 c4 | 21 71 c5 20 88 29 1e 06 |.. P....|!q. .)..|
|00001c60| c7 1e 08 c9 1e 5c 6e 8c | 7e 88 cb 65 64 5c 6e c9 |.....\n.|~..ed\n.|
|00001c70| cc 25 88 29 cd ce 0e 0f | 5c 22 88 d0 d1 d2 0e 06 |.%.)....|\"......|
|00001c80| 0e 13 5c 6e 0e 0f 25 21 | 89 16 5c 6e ab b2 0e 14 |..\n..%!|..\n....|
|00001c90| ab 9d d5 0e 0f 21 d6 d7 | 0e 0f 21 21 50 1e 18 d9 |.....!..|..!!P...|
|00001ca0| 0e 18 21 ac 85 da 0e 18 | 21 88 db c9 21 88 29 0e |..!.....|!...!.).|
|00001cb0| 0f 16 1c cd dd de 20 0e | 5c 6e 23 88 df 5c 6e 21 |...... .|\n#..\n!|
|00001cc0| aa 87 e0 0e 06 0e 1c e1 | 23 2c 87 22 20 5b 22 2f |........|#,." ["/|
|00001cd0| 74 6d 70 2f 22 20 62 75 | 66 66 65 72 2d 6e 61 6d |tmp/" bu|ffer-nam|
|00001ce0| 65 20 74 65 6d 70 20 67 | 65 74 2d 62 75 66 66 65 |e temp g|et-buffe|
|00001cf0| 72 2d 63 72 65 61 74 65 | 20 22 2a 52 63 70 20 4f |r-create| "*Rcp O|
|00001d00| 75 74 70 75 74 2a 22 20 | 65 72 61 73 65 2d 62 75 |utput*" |erase-bu|
|00001d10| 66 66 65 72 20 6f 75 74 | 70 75 74 20 74 20 63 75 |ffer out|put t cu|
|00001d20| 72 73 6f 72 2d 69 6e 2d | 65 63 68 6f 2d 61 72 65 |rsor-in-|echo-are|
|00001d30| 61 20 6e 69 6c 20 74 69 | 6d 65 20 77 72 69 74 65 |a nil ti|me write|
|00001d40| 2d 72 65 67 69 6f 6e 20 | 6e 6f 2d 6d 65 73 73 61 |-region |no-messa|
|00001d50| 67 65 20 6d 65 73 73 61 | 67 65 20 22 53 65 6e 64 |ge messa|ge "Send|
|00001d60| 69 6e 67 20 25 73 2e 2e | 2e 22 20 66 69 6c 65 20 |ing %s..|." file |
|00001d70| 70 72 6f 63 65 73 73 2d | 77 61 69 74 20 73 74 61 |process-|wait sta|
|00001d80| 72 74 2d 70 72 6f 63 65 | 73 73 20 22 72 63 70 22 |rt-proce|ss "rcp"|
|00001d90| 20 72 63 70 20 72 65 6d | 6f 74 65 2d 65 64 69 74 | rcp rem|ote-edit|
|00001da0| 69 6e 67 20 68 6f 73 74 | 2d 70 61 72 74 2d 6f 6e |ing host|-part-on|
|00001db0| 6c 79 20 66 69 6c 65 2d | 6e 61 6d 65 2d 6e 6f 6e |ly file-|name-non|
|00001dc0| 64 69 72 65 63 74 6f 72 | 79 20 66 69 6c 65 2d 70 |director|y file-p|
|00001dd0| 61 72 74 2d 6f 6e 6c 79 | 20 6e 65 77 2d 6e 61 6d |art-only| new-nam|
|00001de0| 65 20 67 65 74 2d 62 75 | 66 66 65 72 20 72 65 6e |e get-bu|ffer ren|
|00001df0| 61 6d 65 2d 62 75 66 66 | 65 72 20 73 65 74 2d 62 |ame-buff|er set-b|
|00001e00| 75 66 66 65 72 2d 6d 6f | 64 69 66 69 65 64 2d 70 |uffer-mo|dified-p|
|00001e10| 20 62 75 66 66 65 72 2d | 72 65 6d 6f 74 65 2d 66 | buffer-|remote-f|
|00001e20| 69 6c 65 2d 6e 61 6d 65 | 20 22 25 64 20 62 79 74 |ile-name| "%d byt|
|00001e30| 65 73 20 69 6e 20 25 64 | 20 73 65 63 6f 6e 64 73 |es in %d| seconds|
|00001e40| 22 20 62 75 66 66 65 72 | 2d 73 69 7a 65 20 64 65 |" buffer|-size de|
|00001e50| 6c 65 74 65 2d 66 69 6c | 65 20 72 65 6d 6f 74 65 |lete-fil|e remote|
|00001e60| 2d 72 63 70 2d 65 72 72 | 6f 72 20 22 75 70 64 61 |-rcp-err|or "upda|
|00001e70| 74 65 22 5d 20 37 5d 29 | 0a 28 66 73 65 74 20 27 |te"] 7])|.(fset '|
|00001e80| 67 65 74 2d 72 65 6d 6f | 74 65 2d 66 69 6c 65 2d |get-remo|te-file-|
|00001e90| 6f 72 2d 62 75 66 66 65 | 72 20 23 5b 28 68 6f 73 |or-buffe|r #[(hos|
|00001ea0| 74 20 66 69 6c 65 20 6d | 65 73 73 61 67 65 29 20 |t file m|essage) |
|00001eb0| 22 08 09 50 c2 c3 09 21 | 50 c4 1d 1e 06 1e 07 09 |"..P...!|P.......|
|00001ec0| c8 09 21 98 ab 87 c9 ca | 21 88 c4 aa c3 cb 0e 07 |..!.....|!.......|
|00001ed0| 21 ae bd 8a cc cd 21 71 | ce 20 88 29 1e 0f d0 1e |!.....!q|. .)....|
|00001ee0| 11 c9 d2 0e 07 5c 22 88 | d3 d4 d5 0e 0f 0e 16 0e |.....\".|........|
|00001ef0| 07 0e 06 25 21 89 15 ab | 8f c9 d7 d8 d9 0e 06 21 |...%!...|.......!|
|00001f00| 38 0d 23 88 0e 06 aa 88 | da 0e 0f 0e 07 0e 09 23 |8.#.....|.......#|
|00001f10| 2a 2b 87 22 20 5b 68 6f | 73 74 20 66 69 6c 65 20 |*+." [ho|st file |
|00001f20| 22 2f 74 6d 70 2f 22 20 | 66 69 6c 65 2d 6e 61 6d |"/tmp/" |file-nam|
|00001f30| 65 2d 6e 6f 6e 64 69 72 | 65 63 74 6f 72 79 20 6e |e-nondir|ectory n|
|00001f40| 69 6c 20 74 69 6d 65 20 | 74 65 6d 70 20 72 65 6d |il time |temp rem|
|00001f50| 6f 74 65 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 64 69 |ote file|-name-di|
|00001f60| 72 65 63 74 6f 72 79 20 | 6d 65 73 73 61 67 65 20 |rectory |message |
|00001f70| 22 52 65 6d 6f 74 65 20 | 64 69 72 65 63 74 6f 72 |"Remote |director|
|00001f80| 79 20 6c 69 73 74 69 6e | 67 20 6e 6f 74 20 79 65 |y listin|g not ye|
|00001f90| 74 20 69 6d 70 6c 65 6d | 65 6e 74 65 64 22 20 67 |t implem|ented" g|
|00001fa0| 65 74 2d 72 65 6d 6f 74 | 65 2d 62 75 66 66 65 72 |et-remot|e-buffer|
|00001fb0| 20 67 65 74 2d 62 75 66 | 66 65 72 2d 63 72 65 61 | get-buf|fer-crea|
|00001fc0| 74 65 20 22 2a 52 63 70 | 20 4f 75 74 70 75 74 2a |te "*Rcp| Output*|
|00001fd0| 22 20 65 72 61 73 65 2d | 62 75 66 66 65 72 20 6f |" erase-|buffer o|
|00001fe0| 75 74 70 75 74 20 74 20 | 63 75 72 73 6f 72 2d 69 |utput t |cursor-i|
|00001ff0| 6e 2d 65 63 68 6f 2d 61 | 72 65 61 20 22 52 65 74 |n-echo-a|rea "Ret|
|00002000| 72 69 65 76 69 6e 67 20 | 25 73 2e 2e 2e 22 20 70 |rieving |%s..." p|
|00002010| 72 6f 63 65 73 73 2d 77 | 61 69 74 20 73 74 61 72 |rocess-w|ait star|
|00002020| 74 2d 70 72 6f 63 65 73 | 73 20 22 72 63 70 22 20 |t-proces|s "rcp" |
|00002030| 72 63 70 20 22 25 64 20 | 62 79 74 65 73 20 69 6e |rcp "%d |bytes in|
|00002040| 20 25 64 20 73 65 63 6f | 6e 64 73 22 20 37 20 66 | %d seco|nds" 7 f|
|00002050| 69 6c 65 2d 61 74 74 72 | 69 62 75 74 65 73 20 72 |ile-attr|ibutes r|
|00002060| 65 6d 6f 74 65 2d 72 63 | 70 2d 65 72 72 6f 72 5d |emote-rc|p-error]|
|00002070| 20 37 20 22 5c 0a 52 65 | 74 75 72 6e 20 61 20 72 | 7 "\.Re|turn a r|
|00002080| 65 6d 6f 74 65 20 66 69 | 6c 65 20 61 73 20 65 69 |emote fi|le as ei|
|00002090| 74 68 65 72 20 61 20 62 | 75 66 66 65 72 20 6f 72 |ther a b|uffer or|
|000020a0| 20 61 20 66 69 6c 65 2e | 0a 49 66 20 74 68 65 20 | a file.|.If the |
|000020b0| 66 69 6c 65 20 48 4f 53 | 54 3a 46 49 4c 45 20 61 |file HOS|T:FILE a|
|000020c0| 6c 72 65 61 64 79 20 68 | 61 73 20 62 65 65 6e 20 |lready h|as been |
|000020d0| 72 65 61 64 20 69 6e 2c | 20 72 65 74 75 72 6e 20 |read in,| return |
|000020e0| 74 68 65 20 62 75 66 66 | 65 72 0a 74 68 61 74 20 |the buff|er.that |
|000020f0| 63 6f 6e 74 61 69 6e 73 | 20 69 74 3b 20 6f 74 68 |contains| it; oth|
|00002100| 65 72 77 69 73 65 20 74 | 72 79 20 61 6e 64 20 72 |erwise t|ry and r|
|00002110| 63 70 20 74 68 65 20 66 | 69 6c 65 20 74 6f 20 74 |cp the f|ile to t|
|00002120| 68 65 20 6c 6f 63 61 6c | 20 6d 61 63 68 69 6e 65 |he local| machine|
|00002130| 2e 0a 49 66 20 73 75 63 | 63 65 73 73 66 75 6c 2c |..If suc|cessful,|
|00002140| 20 72 65 74 75 72 6e 20 | 74 68 65 20 6c 6f 63 61 | return |the loca|
|00002150| 6c 20 66 69 6c 65 20 6e | 61 6d 65 2e 22 5d 29 0a |l file n|ame."]).|
|00002160| 28 66 73 65 74 20 27 67 | 65 74 2d 72 65 6d 6f 74 |(fset 'g|et-remot|
|00002170| 65 2d 62 75 66 66 65 72 | 20 23 5b 28 6e 61 6d 65 |e-buffer| #[(name|
|00002180| 29 20 22 c0 8b 87 22 20 | 5b 28 28 62 79 74 65 2d |) "..." |[((byte-|
|00002190| 63 6f 64 65 20 22 c0 20 | c1 1a 1b 5c 6e ac 94 0b |code ". |...\n...|
|000021a0| ab 91 0b 40 71 88 0c 0d | 98 ab 83 0b 40 12 0b 41 |...@q...|....@..A|
|000021b0| 13 aa 69 5c 6e 2a 87 22 | 20 5b 62 75 66 66 65 72 |..i\n*."| [buffer|
|000021c0| 2d 6c 69 73 74 20 6e 69 | 6c 20 66 6f 75 6e 64 20 |-list ni|l found |
|000021d0| 62 75 66 66 65 72 73 20 | 6e 61 6d 65 20 62 75 66 |buffers |name buf|
|000021e0| 66 65 72 2d 72 65 6d 6f | 74 65 2d 66 69 6c 65 2d |fer-remo|te-file-|
|000021f0| 6e 61 6d 65 5d 20 32 29 | 29 5d 20 31 5d 29 0a 28 |name] 2)|)] 1]).(|
|00002200| 66 73 65 74 20 27 72 65 | 61 64 2d 72 65 6d 6f 74 |fset 're|ad-remot|
|00002210| 65 2d 66 69 6c 65 2d 6e | 61 6d 65 20 23 5b 28 70 |e-file-n|ame #[(p|
|00002220| 72 6f 6d 70 74 20 26 6f | 70 74 69 6f 6e 61 6c 20 |rompt &o|ptional |
|00002230| 6e 6f 2d 66 69 6c 65 2d | 6f 6b 29 20 22 c0 09 21 |no-file-|ok) "..!|
|00002240| ae 81 5c 6e 89 1b c4 c5 | 09 21 ae 81 c6 21 50 1e |..\n....|.!...!P.|
|00002250| 07 0e 08 c9 50 1e 08 ca | 1e 0b cc 0e 08 0e 07 5c |....P...|.......\|
|00002260| 22 16 07 cd 0e 0e ab 83 | cf aa 81 d0 0e 07 5c 22 |".......|......\"|
|00002270| ac 8a cc 0e 08 0e 07 5c | 22 16 07 aa 68 c0 0e 07 |.......\|"...h...|
|00002280| 21 13 c5 0e 07 21 16 0b | 0e 11 ab 82 0b 12 0b 0e |!....!..|........|
|00002290| 0b ab 89 0e 0b c4 0e 0b | 21 98 ab 99 0e 0b 09 c6 |........|!.......|
|000022a0| 98 ac 87 d2 c5 09 21 21 | ae 88 c5 d3 20 21 ae 82 |......!!|.... !..|
|000022b0| d3 20 50 aa 82 0e 0b 2c | 44 87 22 20 5b 68 6f 73 |. P....,|D." [hos|
|000022c0| 74 2d 70 61 72 74 2d 6f | 6e 6c 79 20 62 75 66 66 |t-part-o|nly buff|
|000022d0| 65 72 2d 72 65 6d 6f 74 | 65 2d 66 69 6c 65 2d 6e |er-remot|e-file-n|
|000022e0| 61 6d 65 20 64 65 66 61 | 75 6c 74 2d 72 65 6d 6f |ame defa|ult-remo|
|000022f0| 74 65 2d 68 6f 73 74 20 | 68 6f 73 74 20 66 69 6c |te-host |host fil|
|00002300| 65 2d 6e 61 6d 65 2d 64 | 69 72 65 63 74 6f 72 79 |e-name-d|irectory|
|00002310| 20 66 69 6c 65 2d 70 61 | 72 74 2d 6f 6e 6c 79 20 | file-pa|rt-only |
|00002320| 22 22 20 72 65 73 75 6c | 74 20 70 72 6f 6d 70 74 |"" resul|t prompt|
|00002330| 20 22 20 28 68 6f 73 74 | 3a 66 69 6c 65 29 3a 20 | " (host|:file): |
|00002340| 22 20 6e 69 6c 20 66 69 | 6c 65 20 72 65 61 64 2d |" nil fi|le read-|
|00002350| 6e 6f 2d 62 6c 61 6e 6b | 73 2d 69 6e 70 75 74 20 |no-blank|s-input |
|00002360| 73 74 72 69 6e 67 2d 6d | 61 74 63 68 20 6e 6f 2d |string-m|atch no-|
|00002370| 66 69 6c 65 2d 6f 6b 20 | 22 2e 2b 3a 22 20 22 2e |file-ok |".+:" ".|
|00002380| 2b 3a 2e 2b 22 20 74 72 | 61 63 6b 2d 64 65 66 61 |+:.+" tr|ack-defa|
|00002390| 75 6c 74 2d 72 65 6d 6f | 74 65 2d 68 6f 73 74 20 |ult-remo|te-host |
|000023a0| 66 69 6c 65 2d 6e 61 6d | 65 2d 6e 6f 6e 64 69 72 |file-nam|e-nondir|
|000023b0| 65 63 74 6f 72 79 20 62 | 75 66 66 65 72 2d 6e 61 |ectory b|uffer-na|
|000023c0| 6d 65 5d 20 36 20 22 5c | 0a 52 65 61 64 20 61 20 |me] 6 "\|.Read a |
|000023d0| 72 65 6d 6f 74 65 20 66 | 69 6c 65 20 73 70 65 63 |remote f|ile spec|
|000023e0| 69 66 69 63 61 74 69 6f | 6e 2c 20 61 6e 64 20 72 |ificatio|n, and r|
|000023f0| 65 74 75 72 6e 20 6c 69 | 73 74 20 28 68 6f 73 74 |eturn li|st (host|
|00002400| 20 66 69 6c 65 29 2e 0a | 50 72 6f 6d 70 74 69 6e | file)..|Promptin|
|00002410| 67 20 77 69 74 68 20 50 | 52 4f 4d 50 54 2c 20 72 |g with P|ROMPT, r|
|00002420| 65 61 64 20 61 20 73 74 | 72 69 6e 67 20 6f 66 20 |ead a st|ring of |
|00002430| 74 68 65 20 66 6f 72 6d | 20 68 6f 73 74 3a 66 69 |the form| host:fi|
|00002440| 6c 65 2e 20 20 54 68 65 | 20 64 65 66 61 75 6c 74 |le. The| default|
|00002450| 0a 76 61 6c 75 65 20 69 | 73 20 64 65 72 69 76 65 |.value i|s derive|
|00002460| 64 20 66 72 6f 6d 20 74 | 68 65 20 72 65 6d 6f 74 |d from t|he remot|
|00002470| 65 20 66 69 6c 65 20 6e | 61 6d 65 2c 20 6f 72 20 |e file n|ame, or |
|00002480| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 6e 65 |if there| is none|
|00002490| 2c 20 74 68 65 6e 0a 66 | 72 6f 6d 20 74 68 65 20 |, then.f|rom the |
|000024a0| 67 6c 6f 62 61 6c 20 64 | 65 66 61 75 6c 74 20 28 |global d|efault (|
|000024b0| 64 65 66 61 75 6c 74 2d | 72 65 6d 6f 74 65 2d 68 |default-|remote-h|
|000024c0| 6f 73 74 29 2e 22 5d 29 | 0a 28 62 79 74 65 2d 63 |ost)."])|.(byte-c|
|000024d0| 6f 64 65 20 22 c0 c1 4d | 88 c2 c3 4d 88 c4 c5 4d |ode "..M|...M...M|
|000024e0| 88 c6 c7 4d 88 c8 c9 4d | 88 ca cb 4d 87 22 20 5b |...M...M|...M." [|
|000024f0| 68 6f 73 74 2d 70 61 72 | 74 2d 6f 6e 6c 79 20 23 |host-par|t-only #|
|00002500| 5b 28 6e 61 6d 65 29 20 | 22 c0 c1 5c 6e 5c 22 ad |[(name) |"..\n\".|
|00002510| 85 5c 6e c3 89 95 4f 87 | 22 20 5b 73 74 72 69 6e |.\n...O.|" [strin|
|00002520| 67 2d 6d 61 74 63 68 20 | 22 2e 2b 3a 22 20 6e 61 |g-match |".+:" na|
|00002530| 6d 65 20 30 5d 20 33 5d | 20 66 69 6c 65 2d 70 61 |me 0] 3]| file-pa|
|00002540| 72 74 2d 6f 6e 6c 79 20 | 23 5b 28 6e 61 6d 65 29 |rt-only |#[(name)|
|00002550| 20 22 c0 c1 5c 6e 5c 22 | ad 86 5c 6e c3 94 c3 95 | "..\n\"|..\n....|
|00002560| 4f 87 22 20 5b 73 74 72 | 69 6e 67 2d 6d 61 74 63 |O." [str|ing-matc|
|00002570| 68 20 22 2e 2b 3a 5c 5c | 28 2e 2b 5c 5c 29 22 20 |h ".+:\\|(.+\\)" |
|00002580| 6e 61 6d 65 20 31 5d 20 | 33 5d 20 78 6f 72 20 23 |name 1] |3] xor #|
|00002590| 5b 28 61 20 62 29 20 22 | 08 3f 09 3f 3f 3d 87 22 |[(a b) "|.?.??=."|
|000025a0| 20 5b 61 20 62 5d 20 32 | 5d 20 70 72 6f 63 65 73 | [a b] 2|] proces|
|000025b0| 73 2d 77 61 69 74 20 23 | 5b 28 70 72 6f 63 29 20 |s-wait #|[(proc) |
|000025c0| 22 c0 19 c2 0b 21 c4 3d | ab 89 09 54 11 c5 c6 21 |"....!.=|...T...!|
|000025d0| 88 aa 70 c2 0b 21 c7 3d | ad 88 c8 0b 21 c0 3d ad |..p..!.=|....!.=.|
|000025e0| 81 09 29 87 22 20 5b 30 | 20 74 69 6d 65 20 70 72 |..)." [0| time pr|
|000025f0| 6f 63 65 73 73 2d 73 74 | 61 74 75 73 20 70 72 6f |ocess-st|atus pro|
|00002600| 63 20 72 75 6e 20 73 6c | 65 65 70 2d 66 6f 72 20 |c run sl|eep-for |
|00002610| 31 20 65 78 69 74 20 70 | 72 6f 63 65 73 73 2d 65 |1 exit p|rocess-e|
|00002620| 78 69 74 2d 73 74 61 74 | 75 73 5d 20 32 5d 20 72 |xit-stat|us] 2] r|
|00002630| 65 6d 6f 74 65 2d 72 63 | 70 2d 65 72 72 6f 72 20 |emote-rc|p-error |
|00002640| 23 5b 28 62 75 66 66 65 | 72 20 66 69 6c 65 2d 6e |#[(buffe|r file-n|
|00002650| 61 6d 65 20 6d 65 73 73 | 61 67 65 29 20 22 c0 8b |ame mess|age) "..|
|00002660| 87 22 20 5b 28 28 62 79 | 74 65 2d 63 6f 64 65 20 |." [((by|te-code |
|00002670| 22 c0 09 21 88 c2 20 88 | c3 62 88 c4 c5 0e 06 0e |"..!.. .|.b......|
|00002680| 07 23 63 88 64 62 88 c6 | c8 21 88 c9 20 88 ca 09 |.#c.db..|.!.. ...|
|00002690| 21 87 22 20 5b 73 77 69 | 74 63 68 2d 74 6f 2d 62 |!." [swi|tch-to-b|
|000026a0| 75 66 66 65 72 20 62 75 | 66 66 65 72 20 64 65 6c |uffer bu|ffer del|
|000026b0| 65 74 65 2d 6f 74 68 65 | 72 2d 77 69 6e 64 6f 77 |ete-othe|r-window|
|000026c0| 73 20 31 20 66 6f 72 6d | 61 74 20 22 55 6e 61 62 |s 1 form|at "Unab|
|000026d0| 6c 65 20 74 6f 20 25 73 | 20 25 73 5c 6e 5c 6e 22 |le to %s| %s\n\n"|
|000026e0| 20 6d 65 73 73 61 67 65 | 20 66 69 6c 65 2d 6e 61 | message| file-na|
|000026f0| 6d 65 20 22 48 69 74 20 | 61 6e 79 20 63 68 61 72 |me "Hit |any char|
|00002700| 61 63 74 65 72 20 74 6f | 20 63 6f 6e 74 69 6e 75 |acter to| continu|
|00002710| 65 22 20 72 65 61 64 2d | 63 68 61 72 20 62 75 72 |e" read-|char bur|
|00002720| 79 2d 62 75 66 66 65 72 | 5d 20 34 29 29 5d 20 31 |y-buffer|] 4))] 1|
|00002730| 5d 20 69 6e 63 72 65 6d | 65 6e 74 2d 76 65 72 73 |] increm|ent-vers|
|00002740| 69 6f 6e 20 23 5b 6e 69 | 6c 20 22 c0 20 c1 98 ad |ion #[ni|l ". ...|
|00002750| a5 c2 20 c3 98 ad 9f 8a | 65 62 88 c4 7f 88 c5 c6 |.. .....|eb......|
|00002760| 21 88 c7 75 88 8a c8 70 | 21 29 1e 09 ca 20 88 0e |!..u...p|!)... ..|
|00002770| 09 54 b0 01 63 2a 87 22 | 20 5b 75 73 65 72 2d 6c |.T..c*."| [user-l|
|00002780| 6f 67 69 6e 2d 6e 61 6d | 65 20 22 72 61 69 62 6c |ogin-nam|e "raibl|
|00002790| 65 22 20 62 75 66 66 65 | 72 2d 6e 61 6d 65 20 22 |e" buffe|r-name "|
|000027a0| 72 65 6d 6f 74 65 2e 65 | 6c 22 20 6e 69 6c 20 73 |remote.e|l" nil s|
|000027b0| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 20 22 |earch-ba|ckward "|
|000027c0| 2e 22 20 31 20 72 65 61 | 64 20 6d 69 6e 6f 72 20 |." 1 rea|d minor |
|000027d0| 6b 69 6c 6c 2d 6c 69 6e | 65 5d 20 32 20 6e 69 6c |kill-lin|e] 2 nil|
|000027e0| 20 6e 69 6c 5d 5d 20 32 | 29 0a | nil]] 2|). |
+--------+-------------------------+-------------------------+--------+--------+