home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1990-09-07 | 94.5 KB | [STAK/WILD] |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: HyperFTP
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Sep 7 07:39:27 1990, modified Fri Sep 7 07:39:27 1990, creator HyperCard, type HyperCard stack, 47168 bytes "HyperFTP" , at 0xb8c0 49342 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 48 79 70 65 72 46 | 54 50 00 00 00 00 00 00 |..HyperF|TP......|
|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 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 b8 40 00 | 00 c0 be a3 0d 37 6f a3 |......@.|.....7o.|
|00000060| 0d 37 6f 00 00 0c 00 00 | 00 00 00 00 00 00 00 00 |.7o.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 81 73 00 00 |........|.....s..|
|00000080| 00 00 08 00 53 54 41 4b | ff ff ff ff 3c e1 66 a5 |....STAK|....<.f.|
|00000090| 00 00 00 08 00 00 b8 40 | 00 00 08 00 00 00 00 00 |.......@|........|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 0e 00 00 00 04 |........|........|
|000000b0| 00 00 0b 18 00 00 08 6c | 00 00 00 00 00 00 00 00 |.......l|........|
|000000c0| 00 00 0d ed 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 25 80 00 01 25 80 00 | 01 25 80 00 01 25 80 00 |.%...%..|.%...%..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 22 00 00 00 22 00 |........|.."...".|
|00000350| 88 00 22 00 88 00 22 00 | cc 00 33 00 cc 00 33 00 |.."...".|..3...3.|
|00000360| cc 88 33 22 cc 88 33 22 | ff 00 ff 00 ff 00 ff 00 |..3"..3"|........|
|00000370| ee cc bb 33 ee cc bb 33 | ff cc ff 33 ff cc ff 33 |...3...3|...3...3|
|00000380| ff ee ff bb ff ee ff bb | ff ff ff bb ff ff ff bb |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 55 55 55 55 55 55 55 55 | 82 44 39 44 82 01 01 01 |UUUUUUUU|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 50 6c 00 00 54 6c | 00 00 94 0e 00 04 77 18 |..Pl..Tl|......w.|
|000008b0| 00 04 3e e4 00 05 bb ed | 00 00 00 00 00 00 00 00 |..>.....|........|
|000008c0| 00 04 79 bd 00 00 00 00 | 00 05 44 87 00 05 87 33 |..y.....|..D....3|
|000008d0| 00 05 94 c9 00 05 ae 2a | 00 00 00 00 00 00 00 00 |.......*|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a80| 00 00 00 80 4c 49 53 54 | 00 00 08 6c 00 00 00 01 |....LIST|...l....|
|00000a90| 00 00 08 00 00 00 00 04 | 00 34 00 02 00 0c 00 03 |........|.4......|
|00000aa0| 80 00 01 31 00 00 00 04 | 00 00 00 00 00 00 00 00 |...1....|........|
|00000ab0| 00 00 09 6c 00 04 00 00 | 00 00 00 00 00 00 00 00 |...l....|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 08 00 50 41 47 45 | 00 00 09 6c 00 00 08 6c |....PAGE|...l...l|
|00000b10| 4c 00 02 ec 00 00 00 00 | 00 00 0b 18 e0 00 00 00 |L.......|........|
|00000b20| 10 00 00 10 00 08 20 00 | 00 00 02 00 00 00 00 00 |...... .|........|
|00000b30| 00 00 00 00 00 00 80 00 | 00 20 00 00 00 10 00 00 |........|. ......|
|00000b40| 00 00 00 00 20 00 00 00 | 00 00 00 00 00 00 10 bd |.... ...|........|
|00000b50| a0 7f ee db ef e7 ff fd | ff fa ff ff d6 8f ff bf |........|........|
|00000b60| fa de ef ff fb ff f3 d7 | cf 7f ff ff ff fc 6f be |........|......o.|
|00000b70| ed fe ff f7 ff ff f5 ff | ff dd d7 dd 7f 2e fb f0 |........|........|
|00000b80| 00 00 12 87 a0 21 60 06 | b4 a0 a6 51 ac 72 6a 7c |.....!`.|...Q.rj||
|00000b90| 01 01 29 03 48 d0 99 1c | 31 00 89 09 45 54 52 49 |..).H...|1...ETRI|
|00000ba0| 4d a2 63 98 98 5c a8 64 | 49 59 98 00 4f 0c 16 59 |M.c..\.d|IY..O..Y|
|00000bb0| 31 a1 08 c8 00 00 14 c9 | a0 00 0a 00 20 00 00 00 |1.......|.... ...|
|00000bc0| 00 98 09 01 00 00 22 00 | 80 00 00 00 20 00 00 00 |......".|.... ...|
|00000bd0| 04 00 00 09 54 80 00 d0 | 80 00 c0 00 00 00 00 10 |....T...|........|
|00000be0| e0 00 00 00 50 01 00 00 | 00 00 00 00 00 00 00 00 |....P...|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 75 40 42 4b 47 44 | 00 00 0a 0e 00 00 0c e4 |..u@BKGD|........|
|00001310| 40 00 00 00 00 00 00 04 | 00 00 0a 0e 00 00 0a 0e |@.......|........|
|00001320| 00 17 00 55 00 00 27 40 | 00 00 00 00 00 00 00 26 |...U..'@|.......&|
|00001330| 00 2d 02 01 01 40 00 0d | 01 4e 01 e4 00 02 00 00 |.-...@..|.N......|
|00001340| 00 00 00 00 00 03 00 09 | 00 00 00 0c 44 69 61 67 |........|....Diag|
|00001350| 00 00 00 00 04 c4 00 1d | 01 00 00 12 01 59 00 2f |........|.....Y./|
|00001360| 01 b6 a0 03 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|00001370| 00 10 43 6f 6e 6e 65 63 | 74 00 00 2d 2d 20 74 68 |..Connec|t..-- th|
|00001380| 69 73 20 62 75 74 74 6f | 6e 20 63 61 6e 20 68 61 |is butto|n can ha|
|00001390| 76 65 20 6f 6e 65 20 6f | 66 20 74 77 6f 20 6e 61 |ve one o|f two na|
|000013a0| 6d 65 73 20 61 6e 64 20 | 69 73 20 73 65 74 20 62 |mes and |is set b|
|000013b0| 79 20 74 68 65 20 62 67 | 20 73 63 72 69 70 74 0d |y the bg| script.|
|000013c0| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 64 6f 20 74 68 |on mouse|Up.do th|
|000013d0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|000013e0| 6d 65 20 2d 2d 20 22 63 | 6f 6e 6e 65 63 74 22 20 |me -- "c|onnect" |
|000013f0| 6f 72 20 22 64 69 73 63 | 6f 6e 6e 65 63 74 22 0d |or "disc|onnect".|
|00001400| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 0d 2d 2d 20 |end mous|eUp..-- |
|00001410| 65 73 74 61 62 6c 69 73 | 68 20 61 20 63 6f 6e 6e |establis|h a conn|
|00001420| 65 63 74 69 6f 6e 20 77 | 69 74 68 20 61 20 68 6f |ection w|ith a ho|
|00001430| 73 74 0d 6f 6e 20 63 6f | 6e 6e 65 63 74 0d 67 6c |st.on co|nnect.gl|
|00001440| 6f 62 61 6c 20 63 6f 6e | 6e 49 44 0d 0d 69 66 20 |obal con|nID..if |
|00001450| 62 67 20 66 6c 64 20 22 | 48 6f 73 74 20 4e 61 6d |bg fld "|Host Nam|
|00001460| 65 22 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |e" is em|pty then|
|00001470| 0d 64 69 61 67 4d 73 67 | 20 22 50 6c 65 61 73 65 |.diagMsg| "Please|
|00001480| 20 65 6e 74 65 72 20 61 | 20 68 6f 73 74 20 6e 61 | enter a| host na|
|00001490| 6d 65 20 6f 72 20 61 64 | 64 72 65 73 73 22 0d 65 |me or ad|dress".e|
|000014a0| 78 69 74 20 63 6f 6e 6e | 65 63 74 0d 65 6e 64 20 |xit conn|ect.end |
|000014b0| 69 66 0d 0d 64 69 61 67 | 4d 73 67 20 22 46 69 6e |if..diag|Msg "Fin|
|000014c0| 64 69 6e 67 20 74 68 65 | 20 61 64 64 72 65 73 73 |ding the| address|
|000014d0| 20 66 6f 72 20 68 6f 73 | 74 20 d4 22 20 26 20 62 | for hos|t ." & b|
|000014e0| 67 20 66 6c 64 20 22 48 | 6f 73 74 20 4e 61 6d 65 |g fld "H|ost Name|
|000014f0| 22 20 26 20 22 d5 22 0d | 73 65 74 20 63 75 72 73 |" & ".".|set curs|
|00001500| 6f 72 20 74 6f 20 62 75 | 73 79 20 2d 2d 20 74 68 |or to bu|sy -- th|
|00001510| 69 73 20 6d 61 79 20 74 | 61 6b 65 20 61 20 77 68 |is may t|ake a wh|
|00001520| 69 6c 65 c9 0d 67 65 74 | 20 54 43 50 4e 61 6d 65 |ile..get| TCPName|
|00001530| 54 6f 41 64 64 72 28 20 | 62 67 20 66 6c 64 20 22 |ToAddr( |bg fld "|
|00001540| 48 6f 73 74 20 4e 61 6d | 65 22 20 29 0d 0d 69 66 |Host Nam|e" )..if|
|00001550| 20 63 68 61 72 20 31 20 | 6f 66 20 69 74 20 69 73 | char 1 |of it is|
|00001560| 20 22 a4 22 20 74 68 65 | 6e 0d 69 66 20 69 74 20 | "." the|n.if it |
|00001570| 63 6f 6e 74 61 69 6e 73 | 20 22 63 6f 75 6c 64 6e |contains| "couldn|
|00001580| 27 74 20 6f 70 65 6e 20 | 72 65 73 6f 75 72 63 65 |'t open |resource|
|00001590| 22 0d 74 68 65 6e 20 64 | 69 61 67 4d 73 67 20 22 |".then d|iagMsg "|
|000015a0| 4d 61 63 54 43 50 aa 20 | 68 61 73 20 6e 6f 74 20 |MacTCP. |has not |
|000015b0| 62 65 65 6e 20 69 6e 73 | 74 61 6c 6c 65 64 2e 22 |been ins|talled."|
|000015c0| 0d 65 6c 73 65 20 64 69 | 61 67 4d 73 67 20 22 43 |.else di|agMsg "C|
|000015d0| 61 6e 27 74 20 67 65 74 | 20 74 68 65 20 49 50 20 |an't get| the IP |
|000015e0| 61 64 64 72 65 73 73 20 | 66 6f 72 20 d4 22 20 c2 |address |for ." .|
|000015f0| 0d 26 20 62 67 20 66 6c | 64 20 22 48 6f 73 74 20 |.& bg fl|d "Host |
|00001600| 4e 61 6d 65 22 20 26 20 | 22 d5 22 0d 65 78 69 74 |Name" & |".".exit|
|00001610| 20 63 6f 6e 6e 65 63 74 | 0d 65 6e 64 20 69 66 0d | connect|.end if.|
|00001620| 0d 64 69 61 67 4d 73 67 | 20 22 4f 70 65 6e 69 6e |.diagMsg| "Openin|
|00001630| 67 20 46 54 50 20 63 6f | 6e 6e 65 63 74 69 6f 6e |g FTP co|nnection|
|00001640| 22 0d 70 75 74 20 54 43 | 50 41 63 74 69 76 65 4f |".put TC|PActiveO|
|00001650| 70 65 6e 28 20 69 74 65 | 6d 20 31 20 6f 66 20 69 |pen( ite|m 1 of i|
|00001660| 74 2c 20 32 31 2c 20 30 | 20 29 20 69 6e 74 6f 20 |t, 21, 0| ) into |
|00001670| 63 6f 6e 6e 49 44 20 2d | 2d 20 32 31 20 3d 20 66 |connID -|- 21 = f|
|00001680| 74 70 0d 0d 69 66 20 63 | 6f 6e 6e 49 44 20 63 6f |tp..if c|onnID co|
|00001690| 6e 74 61 69 6e 73 20 22 | 66 61 69 6c 22 20 74 68 |ntains "|fail" th|
|000016a0| 65 6e 0d 64 69 61 67 4d | 73 67 20 63 6f 6e 6e 49 |en.diagM|sg connI|
|000016b0| 44 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |D.put em|pty into|
|000016c0| 20 63 6f 6e 6e 49 44 0d | 65 6e 64 20 69 66 0d 65 | connID.|end if.e|
|000016d0| 6e 64 20 63 6f 6e 6e 65 | 63 74 0d 0d 2d 2d 20 43 |nd conne|ct..-- C|
|000016e0| 6c 6f 73 65 20 74 68 65 | 20 63 6f 6d 6d 75 6e 69 |lose the| communi|
|000016f0| 63 61 74 69 6f 6e 20 63 | 6f 6e 6e 65 63 74 69 6f |cation c|onnectio|
|00001700| 6e 0d 6f 6e 20 64 69 73 | 63 6f 6e 6e 65 63 74 0d |n.on dis|connect.|
|00001710| 67 6c 6f 62 61 6c 20 63 | 6f 6e 6e 49 44 0d 0d 69 |global c|onnID..i|
|00001720| 66 20 62 67 20 66 6c 64 | 20 22 53 74 61 74 65 22 |f bg fld| "State"|
|00001730| 20 69 73 20 22 65 73 74 | 61 62 6c 69 73 68 65 64 | is "est|ablished|
|00001740| 22 20 74 68 65 6e 0d 73 | 65 6e 64 4c 69 6e 65 20 |" then.s|endLine |
|00001750| 22 51 55 49 54 22 20 2d | 2d 20 62 65 20 6e 69 63 |"QUIT" -|- be nic|
|00001760| 65 20 61 6e 64 20 73 65 | 6e 64 20 61 20 71 75 69 |e and se|nd a qui|
|00001770| 74 20 63 6d 64 20 74 6f | 20 74 68 65 20 68 6f 73 |t cmd to| the hos|
|00001780| 74 0d 69 66 20 67 65 74 | 4c 69 6e 65 28 29 20 69 |t.if get|Line() i|
|00001790| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|000017a0| 20 65 78 69 74 20 64 69 | 73 63 6f 6e 6e 65 63 74 | exit di|sconnect|
|000017b0| 20 2d 2d 20 77 61 69 74 | 20 66 6f 72 20 63 6c 6f | -- wait| for clo|
|000017c0| 73 65 0d 65 6e 64 20 69 | 66 0d 0d 54 43 50 43 6c |se.end i|f..TCPCl|
|000017d0| 6f 73 65 20 63 6f 6e 6e | 49 44 20 2d 2d 20 73 6f |ose conn|ID -- so|
|000017e0| 6d 65 74 68 69 6e 67 20 | 6d 75 73 74 20 62 65 20 |mething |must be |
|000017f0| 77 72 6f 6e 67 20 73 6f | 20 6a 75 73 74 20 63 6c |wrong so| just cl|
|00001800| 6f 73 65 20 69 74 0d 65 | 6e 64 20 64 69 73 63 6f |ose it.e|nd disco|
|00001810| 6e 6e 65 63 74 0d 00 00 | 00 26 00 25 02 01 00 23 |nnect...|.&.%...#|
|00001820| 00 94 00 37 01 33 00 04 | 00 00 00 00 00 00 00 02 |...7.3..|........|
|00001830| 00 0c 02 00 00 10 53 74 | 61 74 65 00 00 00 01 5c |......St|ate....\|
|00001840| 00 35 02 00 00 0c 00 36 | 00 1e 01 31 00 02 00 00 |.5.....6|...1....|
|00001850| 00 00 00 00 00 03 00 0c | 00 00 00 10 48 6f 73 74 |........|....Host|
|00001860| 20 4e 61 6d 65 00 00 2d | 2d 20 4d 61 6b 65 20 70 | Name..-|- Make p|
|00001870| 72 65 73 73 69 6e 67 20 | 72 65 74 75 72 6e 20 6f |ressing |return o|
|00001880| 72 20 65 6e 74 65 72 20 | 69 6e 20 74 68 65 20 48 |r enter |in the H|
|00001890| 6f 73 74 20 4e 61 6d 65 | 20 66 69 65 6c 64 0d 2d |ost Name| field.-|
|000018a0| 2d 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |- automa|tically |
|000018b0| 63 6f 6e 6e 65 63 74 20 | 74 6f 20 74 68 65 20 68 |connect |to the h|
|000018c0| 6f 73 74 2e 0d 2d 2d 20 | 49 74 20 61 6c 73 6f 20 |ost..-- |It also |
|000018d0| 70 72 65 76 65 6e 74 73 | 20 72 65 74 75 72 6e 20 |prevents| return |
|000018e0| 63 68 61 72 73 20 66 72 | 6f 6d 20 67 65 74 74 69 |chars fr|om getti|
|000018f0| 6e 67 20 69 6e 74 6f 20 | 74 68 65 20 66 69 65 6c |ng into |the fiel|
|00001900| 64 20 74 65 78 74 2e 0d | 0d 6f 6e 20 72 65 74 75 |d text..|.on retu|
|00001910| 72 6e 49 6e 46 69 65 6c | 64 0d 61 75 74 6f 43 6f |rnInFiel|d.autoCo|
|00001920| 6e 6e 65 63 74 20 2d 2d | 20 73 65 6e 64 20 6d 73 |nnect --| send ms|
|00001930| 67 20 74 6f 20 62 61 63 | 6b 67 72 6f 75 6e 64 0d |g to bac|kground.|
|00001940| 65 6e 64 20 72 65 74 75 | 72 6e 49 6e 46 69 65 6c |end retu|rnInFiel|
|00001950| 64 0d 0d 6f 6e 20 65 6e | 74 65 72 49 6e 46 69 65 |d..on en|terInFie|
|00001960| 6c 64 0d 61 75 74 6f 43 | 6f 6e 6e 65 63 74 20 2d |ld.autoC|onnect -|
|00001970| 2d 20 73 65 6e 64 20 6d | 73 67 20 74 6f 20 62 61 |- send m|sg to ba|
|00001980| 63 6b 67 72 6f 75 6e 64 | 0d 65 6e 64 20 65 6e 74 |ckground|.end ent|
|00001990| 65 72 49 6e 46 69 65 6c | 64 00 00 74 00 36 01 00 |erInFiel|d..t.6..|
|000019a0| 00 6f 01 83 00 7f 01 e5 | a0 02 00 00 00 00 00 01 |.o......|........|
|000019b0| 00 6f 00 0c 00 00 00 10 | 53 65 6e 64 c9 00 00 6f |.o......|Send...o|
|000019c0| 6e 20 6d 6f 75 73 65 55 | 70 0d 73 65 6e 64 46 69 |n mouseU|p.sendFi|
|000019d0| 6c 65 20 22 66 69 6c 65 | 22 20 2d 2d 20 73 65 6e |le "file|" -- sen|
|000019e0| 64 20 6d 65 73 73 61 67 | 65 20 74 6f 20 62 61 63 |d messag|e to bac|
|000019f0| 6b 67 72 6f 75 6e 64 20 | 68 61 6e 64 6c 65 72 0d |kground |handler.|
|00001a00| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 00 00 01 92 |end mous|eUp.....|
|00001a10| 00 3e 01 00 00 ca 01 83 | 00 da 01 d7 a0 02 00 00 |.>......|........|
|00001a20| 00 00 00 01 00 6f 00 0c | 00 00 00 10 53 65 74 c9 |.....o..|....Set.|
|00001a30| 00 00 2d 2d 20 53 65 74 | 20 74 68 65 20 63 75 72 |..-- Set| the cur|
|00001a40| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 20 6f |rent dir|ectory o|
|00001a50| 6e 20 74 68 65 20 68 6f | 73 74 2e 0d 6f 6e 20 6d |n the ho|st..on m|
|00001a60| 6f 75 73 65 55 70 0d 67 | 6c 6f 62 61 6c 20 73 4c |ouseUp.g|lobal sL|
|00001a70| 69 6e 65 0d 0d 69 66 20 | 73 4c 69 6e 65 20 69 73 |ine..if |sLine is|
|00001a80| 20 6e 6f 74 20 7a 65 72 | 6f 20 61 6e 64 20 74 68 | not zer|o and th|
|00001a90| 65 20 6f 70 74 69 6f 6e | 4b 65 79 20 69 73 20 75 |e option|Key is u|
|00001aa0| 70 20 74 68 65 6e 0d 67 | 65 74 20 6c 69 6e 65 20 |p then.g|et line |
|00001ab0| 73 4c 69 6e 65 20 6f 66 | 20 62 67 20 66 6c 64 20 |sLine of| bg fld |
|00001ac0| 22 44 69 72 20 4c 69 73 | 74 22 20 2d 2d 20 75 73 |"Dir Lis|t" -- us|
|00001ad0| 65 20 73 65 6c 65 63 74 | 65 64 20 65 6e 74 72 79 |e select|ed entry|
|00001ae0| 20 6e 61 6d 65 0d 65 6c | 73 65 0d 61 73 6b 20 22 | name.el|se.ask "|
|00001af0| 43 68 61 6e 67 65 20 64 | 69 72 65 63 74 6f 72 79 |Change d|irectory|
|00001b00| 20 74 6f 3a 22 20 77 69 | 74 68 20 62 67 20 66 6c | to:" wi|th bg fl|
|00001b10| 64 20 22 50 61 74 68 22 | 20 2d 2d 20 65 6c 73 65 |d "Path"| -- else|
|00001b20| 20 70 72 6f 6d 70 74 20 | 77 2f 20 70 61 74 68 0d | prompt |w/ path.|
|00001b30| 69 66 20 69 74 20 69 73 | 20 65 6d 70 74 79 20 74 |if it is| empty t|
|00001b40| 68 65 6e 20 65 78 69 74 | 20 6d 6f 75 73 65 55 70 |hen exit| mouseUp|
|00001b50| 0d 65 6e 64 20 69 66 0d | 0d 67 65 74 20 63 68 61 |.end if.|.get cha|
|00001b60| 6e 67 65 44 69 72 28 20 | 69 74 20 29 20 2d 2d 20 |ngeDir( |it ) -- |
|00001b70| 73 65 6e 64 20 6d 65 73 | 73 61 67 65 20 74 6f 20 |send mes|sage to |
|00001b80| 62 61 63 6b 67 72 6f 75 | 6e 64 20 73 63 72 69 70 |backgrou|nd scrip|
|00001b90| 74 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 0d 00 00 |t.end mo|useUp...|
|00001ba0| 01 68 00 40 02 01 00 4b | 00 5b 00 5f 01 ec 00 04 |.h.@...K|.[._....|
|00001bb0| 00 00 00 00 00 00 00 03 | 00 0c 02 00 00 10 50 61 |........|......Pa|
|00001bc0| 74 68 00 00 2d 2d 20 55 | 70 64 61 74 65 20 45 6e |th..-- U|pdate En|
|00001bd0| 74 72 69 65 73 20 61 6e | 64 20 44 69 72 65 63 74 |tries an|d Direct|
|00001be0| 6f 72 79 20 66 69 65 6c | 64 73 2e 0d 2d 2d 20 49 |ory fiel|ds..-- I|
|00001bf0| 74 20 73 68 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |t should| not be |
|00001c00| 6e 65 63 65 73 73 61 72 | 79 20 74 6f 20 64 6f 20 |necessar|y to do |
|00001c10| 62 75 74 20 69 74 20 63 | 61 6e 20 63 6f 6d 65 20 |but it c|an come |
|00001c20| 69 6e 20 68 61 6e 64 79 | 20 73 6f 6d 65 74 69 6d |in handy| sometim|
|00001c30| 65 73 2e 0d 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 |es..on m|ouseUp.g|
|00001c40| 6c 6f 62 61 6c 20 63 6f | 6e 6e 49 44 0d 0d 69 66 |lobal co|nnID..if|
|00001c50| 20 63 6f 6e 6e 49 44 20 | 69 73 20 6e 6f 74 20 65 | connID |is not e|
|00001c60| 6d 70 74 79 20 74 68 65 | 6e 20 2d 2d 20 6d 75 73 |mpty the|n -- mus|
|00001c70| 74 20 62 65 20 63 6f 6e | 6e 65 63 74 65 64 20 74 |t be con|nected t|
|00001c80| 6f 20 61 20 68 6f 73 74 | 0d 70 75 74 20 65 6d 70 |o a host|.put emp|
|00001c90| 74 79 20 69 6e 74 6f 20 | 62 67 20 66 6c 64 20 22 |ty into |bg fld "|
|00001ca0| 50 61 74 68 22 0d 70 75 | 74 20 65 6d 70 74 79 20 |Path".pu|t empty |
|00001cb0| 69 6e 74 6f 20 62 67 20 | 66 6c 64 20 22 44 69 72 |into bg |fld "Dir|
|00001cc0| 20 4c 69 73 74 22 0d 67 | 65 74 44 69 72 20 2d 2d | List".g|etDir --|
|00001cd0| 20 72 65 71 75 65 73 74 | 20 6e 65 77 20 64 69 72 | request| new dir|
|00001ce0| 20 69 6e 66 6f 20 66 72 | 6f 6d 20 74 68 65 20 68 | info fr|om the h|
|00001cf0| 6f 73 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6d |ost.end |if.end m|
|00001d00| 6f 75 73 65 55 70 0d 00 | 01 b4 00 42 01 00 00 81 |ouseUp..|...B....|
|00001d10| 01 83 00 91 01 e5 a0 02 | 00 00 00 00 00 01 00 6f |........|.......o|
|00001d20| 00 0c 00 00 00 10 52 65 | 63 65 69 76 65 c9 00 00 |......Re|ceive...|
|00001d30| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 67 6c 6f 62 61 |on mouse|Up.globa|
|00001d40| 6c 20 73 4c 69 6e 65 0d | 0d 69 66 20 73 4c 69 6e |l sLine.|.if sLin|
|00001d50| 65 20 69 73 20 6e 6f 74 | 20 7a 65 72 6f 0d 74 68 |e is not| zero.th|
|00001d60| 65 6e 20 70 75 74 20 6c | 69 6e 65 20 73 4c 69 6e |en put l|ine sLin|
|00001d70| 65 20 6f 66 20 62 67 20 | 66 6c 64 20 22 44 69 72 |e of bg |fld "Dir|
|00001d80| 20 4c 69 73 74 22 20 69 | 6e 74 6f 20 72 65 6d 6f | List" i|nto remo|
|00001d90| 74 65 4e 61 6d 65 0d 65 | 6c 73 65 20 70 75 74 20 |teName.e|lse put |
|00001da0| 65 6d 70 74 79 20 69 6e | 74 6f 20 72 65 6d 6f 74 |empty in|to remot|
|00001db0| 65 4e 61 6d 65 0d 0d 69 | 66 20 74 68 65 20 6f 70 |eName..i|f the op|
|00001dc0| 74 69 6f 6e 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 |tionKey |is down |
|00001dd0| 74 68 65 6e 0d 61 73 6b | 20 22 4e 61 6d 65 20 6f |then.ask| "Name o|
|00001de0| 66 20 74 68 65 20 66 69 | 6c 65 20 74 6f 20 72 65 |f the fi|le to re|
|00001df0| 63 65 69 76 65 3a 22 20 | 77 69 74 68 20 72 65 6d |ceive:" |with rem|
|00001e00| 6f 74 65 4e 61 6d 65 0d | 69 66 20 69 74 20 69 73 |oteName.|if it is|
|00001e10| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00001e20| 20 6d 6f 75 73 65 55 70 | 0d 70 75 74 20 69 74 20 | mouseUp|.put it |
|00001e30| 69 6e 74 6f 20 72 65 6d | 6f 74 65 4e 61 6d 65 0d |into rem|oteName.|
|00001e40| 65 6e 64 20 69 66 0d 0d | 69 66 20 72 65 6d 6f 74 |end if..|if remot|
|00001e50| 65 4e 61 6d 65 20 69 73 | 20 65 6d 70 74 79 20 74 |eName is| empty t|
|00001e60| 68 65 6e 0d 62 65 65 70 | 0d 65 78 69 74 20 6d 6f |hen.beep|.exit mo|
|00001e70| 75 73 65 55 70 0d 65 6e | 64 20 69 66 0d 0d 72 65 |useUp.en|d if..re|
|00001e80| 63 65 69 76 65 46 69 6c | 65 20 72 65 6d 6f 74 65 |ceiveFil|e remote|
|00001e90| 4e 61 6d 65 2c 20 22 66 | 69 6c 65 22 20 2d 2d 20 |Name, "f|ile" -- |
|00001ea0| 63 61 6c 6c 20 62 67 20 | 73 63 72 69 70 74 0d 65 |call bg |script.e|
|00001eb0| 6e 64 20 6d 6f 75 73 65 | 55 70 0d 00 02 14 00 43 |nd mouse|Up.....C|
|00001ec0| 01 00 00 0c 01 cf 00 1e | 01 e1 00 00 00 00 68 0b |........|......h.|
|00001ed0| 00 01 00 00 00 0c 00 00 | 00 10 48 65 6c 70 00 00 |........|..Help..|
|00001ee0| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 67 6c 6f 62 61 |on mouse|Up.globa|
|00001ef0| 6c 20 73 68 6f 77 46 75 | 6c 6c 44 69 72 0d 0d 6c |l showFu|llDir..l|
|00001f00| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 65 74 20 74 |ock scre|en.get t|
|00001f10| 68 65 20 68 69 6c 69 74 | 65 20 6f 66 20 6d 65 0d |he hilit|e of me.|
|00001f20| 73 65 74 20 74 68 65 20 | 68 69 6c 69 67 68 74 20 |set the |hilight |
|00001f30| 6f 66 20 6d 65 20 74 6f | 20 6e 6f 74 20 69 74 0d |of me to| not it.|
|00001f40| 0d 69 66 20 69 74 20 69 | 73 20 74 72 75 65 20 74 |.if it i|s true t|
|00001f50| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 76 69 73 69 |hen.set |the visi|
|00001f60| 62 6c 65 20 6f 66 20 62 | 67 20 66 6c 64 20 22 46 |ble of b|g fld "F|
|00001f70| 75 6c 6c 20 44 69 72 22 | 20 74 6f 20 73 68 6f 77 |ull Dir"| to show|
|00001f80| 46 75 6c 6c 44 69 72 0d | 73 65 74 20 74 68 65 20 |FullDir.|set the |
|00001f90| 76 69 73 69 62 6c 65 20 | 6f 66 20 62 67 20 62 74 |visible |of bg bt|
|00001fa0| 6e 20 22 5a 6f 6f 6d 20 | 49 6e 22 20 20 74 6f 20 |n "Zoom |In" to |
|00001fb0| 73 68 6f 77 46 75 6c 6c | 44 69 72 0d 70 75 74 20 |showFull|Dir.put |
|00001fc0| 65 6d 70 74 79 20 69 6e | 74 6f 20 73 68 6f 77 46 |empty in|to showF|
|00001fd0| 75 6c 6c 44 69 72 0d 67 | 6f 20 63 61 72 64 20 22 |ullDir.g|o card "|
|00001fe0| 4d 61 69 6e 22 0d 65 6c | 73 65 0d 70 75 74 20 74 |Main".el|se.put t|
|00001ff0| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 67 |he visib|le of bg|
|00002000| 20 66 6c 64 20 22 46 75 | 6c 6c 20 44 69 72 22 20 | fld "Fu|ll Dir" |
|00002010| 69 6e 74 6f 20 73 68 6f | 77 46 75 6c 6c 44 69 72 |into sho|wFullDir|
|00002020| 0d 73 65 74 20 74 68 65 | 20 76 69 73 69 62 6c 65 |.set the| visible|
|00002030| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 46 75 6c 6c | of bg f|ld "Full|
|00002040| 20 44 69 72 22 20 74 6f | 20 66 61 6c 73 65 0d 73 | Dir" to| false.s|
|00002050| 65 74 20 74 68 65 20 76 | 69 73 69 62 6c 65 20 6f |et the v|isible o|
|00002060| 66 20 62 67 20 62 74 6e | 20 22 5a 6f 6f 6d 20 49 |f bg btn| "Zoom I|
|00002070| 6e 22 20 20 74 6f 20 66 | 61 6c 73 65 0d 67 6f 20 |n" to f|alse.go |
|00002080| 63 61 72 64 20 22 49 6e | 66 6f 22 0d 65 6e 64 20 |card "In|fo".end |
|00002090| 69 66 0d 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |if..unlo|ck scree|
|000020a0| 6e 20 77 69 74 68 20 76 | 69 73 75 61 6c 20 65 66 |n with v|isual ef|
|000020b0| 66 65 63 74 20 64 69 73 | 73 6f 6c 76 65 20 66 61 |fect dis|solve fa|
|000020c0| 73 74 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |st.end m|ouseUp..|
|000020d0| 04 ea 00 47 01 00 00 0c | 01 33 00 1e 01 47 00 04 |...G....|.3...G..|
|000020e0| 00 00 2e 75 00 01 00 00 | 00 0c 00 00 00 10 48 6f |...u....|......Ho|
|000020f0| 73 74 20 4c 69 73 74 00 | 00 2d 2d 20 44 69 73 70 |st List.|.-- Disp|
|00002100| 6c 61 79 20 74 68 65 20 | 48 6f 73 74 20 4c 69 73 |lay the |Host Lis|
|00002110| 74 20 70 6f 70 2d 75 70 | 20 6d 65 6e 75 2e 0d 2d |t pop-up| menu..-|
|00002120| 2d 20 53 65 6c 65 63 74 | 20 61 6e 20 65 6e 74 72 |- Select| an entr|
|00002130| 79 20 61 6e 64 20 69 74 | 20 77 69 6c 6c 20 62 65 |y and it| will be|
|00002140| 20 70 75 74 20 69 6e 74 | 6f 20 74 68 65 20 48 6f | put int|o the Ho|
|00002150| 73 74 20 4e 61 6d 65 20 | 66 69 65 6c 64 20 61 6e |st Name |field an|
|00002160| 64 0d 2d 2d 20 74 68 65 | 20 43 6f 6e 6e 65 63 74 |d.-- the| Connect|
|00002170| 20 62 75 74 74 6f 6e 20 | 77 69 6c 6c 20 62 65 20 | button |will be |
|00002180| 70 72 65 73 73 65 64 2e | 20 20 53 65 6c 65 63 74 |pressed.| Select|
|00002190| 20 45 64 69 74 20 48 6f | 73 74 20 4c 69 73 74 20 | Edit Ho|st List |
|000021a0| 66 72 6f 6d 20 74 68 65 | 0d 2d 2d 20 6d 65 6e 75 |from the|.-- menu|
|000021b0| 20 74 6f 20 6d 6f 64 69 | 66 79 20 74 68 65 20 6d | to modi|fy the m|
|000021c0| 65 6e 75 20 63 6f 6e 74 | 65 6e 74 73 2e 0d 0d 6f |enu cont|ents...o|
|000021d0| 6e 20 6d 6f 75 73 65 44 | 6f 77 6e 0d 70 75 74 20 |n mouseD|own.put |
|000021e0| 62 67 20 66 6c 64 20 22 | 48 6f 73 74 20 4e 61 6d |bg fld "|Host Nam|
|000021f0| 65 22 20 69 6e 74 6f 20 | 48 6f 73 74 4e 61 6d 65 |e" into |HostName|
|00002200| 0d 69 66 20 48 6f 73 74 | 4e 61 6d 65 20 69 73 20 |.if Host|Name is |
|00002210| 6e 6f 74 20 65 6d 70 74 | 79 0d 74 68 65 6e 20 70 |not empt|y.then p|
|00002220| 75 74 20 22 21 22 20 26 | 20 4e 75 6d 54 6f 43 68 |ut "!" &| NumToCh|
|00002230| 61 72 28 31 38 29 20 26 | 20 48 6f 73 74 4e 61 6d |ar(18) &| HostNam|
|00002240| 65 20 26 20 22 3b 2d 3b | 22 20 69 6e 74 6f 20 48 |e & ";-;|" into H|
|00002250| 6f 73 74 4e 61 6d 65 0d | 70 75 74 20 63 64 20 66 |ostName.|put cd f|
|00002260| 6c 64 20 22 48 6f 73 74 | 20 4c 69 73 74 22 20 6f |ld "Host| List" o|
|00002270| 66 20 63 61 72 64 20 22 | 48 6f 73 74 20 4c 69 73 |f card "|Host Lis|
|00002280| 74 22 20 69 6e 74 6f 20 | 48 6f 73 74 4c 69 73 74 |t" into |HostList|
|00002290| 0d 70 75 74 20 48 6f 73 | 74 4c 69 73 74 20 69 6e |.put Hos|tList in|
|000022a0| 74 6f 20 78 48 6f 73 74 | 4c 69 73 74 0d 69 66 20 |to xHost|List.if |
|000022b0| 48 6f 73 74 4c 69 73 74 | 20 69 73 20 6e 6f 74 20 |HostList| is not |
|000022c0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 22 |empty th|en put "|
|000022d0| 3b 2d 3b 22 20 61 66 74 | 65 72 20 78 48 6f 73 74 |;-;" aft|er xHost|
|000022e0| 4c 69 73 74 0d 0d 67 65 | 74 20 50 6f 70 55 70 4d |List..ge|t PopUpM|
|000022f0| 65 6e 75 28 20 48 6f 73 | 74 4e 61 6d 65 20 26 20 |enu( Hos|tName & |
|00002300| 78 48 6f 73 74 4c 69 73 | 74 20 26 20 22 3c 49 45 |xHostLis|t & "<IE|
|00002310| 64 69 74 20 48 6f 73 74 | 20 4c 69 73 74 c9 22 2c |dit Host| List.",|
|00002320| 20 65 6d 70 74 79 2c 20 | c2 0d 6c 65 66 74 20 6f | empty, |..left o|
|00002330| 66 20 63 61 72 64 20 77 | 69 6e 64 6f 77 20 2b 20 |f card w|indow + |
|00002340| 6c 65 66 74 20 6f 66 20 | 6d 65 20 2b 20 31 2c 20 |left of |me + 1, |
|00002350| c2 0d 74 6f 70 20 20 6f | 66 20 63 61 72 64 20 77 |..top o|f card w|
|00002360| 69 6e 64 6f 77 20 2b 20 | 74 6f 70 20 20 6f 66 20 |indow + |top of |
|00002370| 6d 65 20 2b 20 31 20 29 | 0d 0d 69 66 20 69 74 20 |me + 1 )|..if it |
|00002380| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|00002390| 69 74 20 6d 6f 75 73 65 | 44 6f 77 6e 20 2d 2d 20 |it mouse|Down -- |
|000023a0| 6e 6f 20 6d 65 6e 75 20 | 69 74 65 6d 20 77 61 73 |no menu |item was|
|000023b0| 20 63 68 6f 73 65 6e 0d | 69 66 20 48 6f 73 74 4e | chosen.|if HostN|
|000023c0| 61 6d 65 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ame is n|ot empty|
|000023d0| 20 74 68 65 6e 20 73 75 | 62 74 72 61 63 74 20 32 | then su|btract 2|
|000023e0| 20 66 72 6f 6d 20 69 74 | 0d 69 66 20 69 74 20 3c | from it|.if it <|
|000023f0| 20 31 20 74 68 65 6e 20 | 67 65 74 20 62 67 20 66 | 1 then |get bg f|
|00002400| 6c 64 20 22 48 6f 73 74 | 20 4e 61 6d 65 22 0d 65 |ld "Host| Name".e|
|00002410| 6c 73 65 20 67 65 74 20 | 77 6f 72 64 20 31 20 6f |lse get |word 1 o|
|00002420| 66 20 6c 69 6e 65 20 69 | 74 20 6f 66 20 48 6f 73 |f line i|t of Hos|
|00002430| 74 4c 69 73 74 20 2d 2d | 20 67 65 74 20 74 68 65 |tList --| get the|
|00002440| 20 68 6f 73 74 20 6e 61 | 6d 65 0d 0d 69 66 20 69 | host na|me..if i|
|00002450| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |t is emp|ty then |
|00002460| 2d 2d 20 65 64 69 74 20 | 68 6f 73 74 20 6c 69 73 |-- edit |host lis|
|00002470| 74 3f 0d 76 69 73 75 61 | 6c 20 65 66 66 65 63 74 |t?.visua|l effect|
|00002480| 20 69 72 69 73 20 6f 70 | 65 6e 20 66 61 73 74 0d | iris op|en fast.|
|00002490| 67 6f 20 63 61 72 64 20 | 22 48 6f 73 74 20 4c 69 |go card |"Host Li|
|000024a0| 73 74 22 0d 65 6c 73 65 | 0d 69 66 20 74 68 65 20 |st".else|.if the |
|000024b0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 62 67 |short na|me of bg|
|000024c0| 20 62 74 6e 20 69 64 20 | 32 39 20 69 73 20 22 44 | btn id |29 is "D|
|000024d0| 69 73 63 6f 6e 6e 65 63 | 74 22 20 74 68 65 6e 0d |isconnec|t" then.|
|000024e0| 62 65 65 70 0d 61 6e 73 | 77 65 72 20 22 44 69 73 |beep.ans|wer "Dis|
|000024f0| 63 6f 6e 6e 65 63 74 20 | 62 65 66 6f 72 65 20 63 |connect |before c|
|00002500| 68 6f 6f 73 69 6e 67 20 | 61 6e 6f 74 68 65 72 20 |hoosing |another |
|00002510| 68 6f 73 74 22 0d 65 6c | 73 65 0d 70 75 74 20 69 |host".el|se.put i|
|00002520| 74 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 22 48 |t into b|g fld "H|
|00002530| 6f 73 74 20 4e 61 6d 65 | 22 0d 69 66 20 74 68 65 |ost Name|".if the|
|00002540| 20 6f 70 74 69 6f 6e 4b | 65 79 20 69 73 20 6e 6f | optionK|ey is no|
|00002550| 74 20 64 6f 77 6e 20 74 | 68 65 6e 20 61 75 74 6f |t down t|hen auto|
|00002560| 43 6f 6e 6e 65 63 74 0d | 65 6e 64 20 69 66 0d 65 |Connect.|end if.e|
|00002570| 6e 64 20 69 66 0d 65 6e | 64 20 6d 6f 75 73 65 44 |nd if.en|d mouseD|
|00002580| 6f 77 6e 0d 0d 6f 6e 20 | 6d 6f 75 73 65 55 70 0d |own..on |mouseUp.|
|00002590| 2d 2d 20 64 6f 6e 27 74 | 20 73 65 6e 64 20 6d 6f |-- don't| send mo|
|000025a0| 75 73 65 55 70 20 74 6f | 20 62 67 0d 65 6e 64 20 |useUp to| bg.end |
|000025b0| 6d 6f 75 73 65 55 70 0d | 00 00 00 44 00 4a 01 00 |mouseUp.|...D.J..|
|000025c0| 00 21 01 cc 00 35 01 e5 | 20 00 00 00 54 c4 00 01 |.!...5..| ...T...|
|000025d0| 00 00 00 0c 00 00 00 10 | 48 6f 6d 65 00 00 6f 6e |........|Home..on|
|000025e0| 20 6d 6f 75 73 65 55 70 | 0d 67 6f 20 68 6f 6d 65 | mouseUp|.go home|
|000025f0| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 0d 00 00 90 |.end mou|seUp....|
|00002600| 00 4b 01 00 00 cc 01 d9 | 00 da 01 e7 20 00 00 00 |.K......|.... ...|
|00002610| 52 14 00 01 00 00 00 0c | 00 00 00 10 50 61 72 65 |R.......|....Pare|
|00002620| 6e 74 20 44 69 72 00 00 | 2d 2d 20 43 68 61 6e 67 |nt Dir..|-- Chang|
|00002630| 65 20 74 6f 20 74 68 65 | 20 70 61 72 65 6e 74 20 |e to the| parent |
|00002640| 64 69 72 65 63 74 6f 72 | 79 20 6f 6e 20 74 68 65 |director|y on the|
|00002650| 20 68 6f 73 74 2e 0d 6f | 6e 20 6d 6f 75 73 65 55 | host..o|n mouseU|
|00002660| 70 0d 63 64 75 70 20 2d | 2d 20 73 65 6e 64 20 6d |p.cdup -|- send m|
|00002670| 73 67 20 74 6f 20 62 6b | 67 20 73 63 72 69 70 74 |sg to bk|g script|
|00002680| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 0d 00 01 b6 |.end mou|seUp....|
|00002690| 00 4c 01 00 00 93 01 83 | 00 a3 01 e5 a0 02 00 00 |.L......|........|
|000026a0| 00 00 00 01 00 6f 00 0c | 00 00 00 10 44 69 73 70 |.....o..|....Disp|
|000026b0| 6c 61 79 00 00 6f 6e 20 | 6d 6f 75 73 65 55 70 0d |lay..on |mouseUp.|
|000026c0| 67 6c 6f 62 61 6c 20 73 | 4c 69 6e 65 0d 0d 69 66 |global s|Line..if|
|000026d0| 20 73 4c 69 6e 65 20 69 | 73 20 6e 6f 74 20 7a 65 | sLine i|s not ze|
|000026e0| 72 6f 0d 74 68 65 6e 20 | 70 75 74 20 6c 69 6e 65 |ro.then |put line|
|000026f0| 20 73 4c 69 6e 65 20 6f | 66 20 62 67 20 66 6c 64 | sLine o|f bg fld|
|00002700| 20 22 44 69 72 20 4c 69 | 73 74 22 20 69 6e 74 6f | "Dir Li|st" into|
|00002710| 20 72 65 6d 6f 74 65 4e | 61 6d 65 0d 65 6c 73 65 | remoteN|ame.else|
|00002720| 20 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 | put emp|ty into |
|00002730| 72 65 6d 6f 74 65 4e 61 | 6d 65 0d 0d 69 66 20 74 |remoteNa|me..if t|
|00002740| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 20 69 73 20 |he optio|nKey is |
|00002750| 64 6f 77 6e 20 74 68 65 | 6e 0d 61 73 6b 20 22 4e |down the|n.ask "N|
|00002760| 61 6d 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 20 |ame of t|he file |
|00002770| 74 6f 20 64 69 73 70 6c | 61 79 3a 22 20 77 69 74 |to displ|ay:" wit|
|00002780| 68 20 72 65 6d 6f 74 65 | 4e 61 6d 65 0d 69 66 20 |h remote|Name.if |
|00002790| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|000027a0| 20 65 78 69 74 20 6d 6f | 75 73 65 55 70 0d 70 75 | exit mo|useUp.pu|
|000027b0| 74 20 69 74 20 69 6e 74 | 6f 20 72 65 6d 6f 74 65 |t it int|o remote|
|000027c0| 4e 61 6d 65 0d 65 6e 64 | 20 69 66 0d 0d 69 66 20 |Name.end| if..if |
|000027d0| 72 65 6d 6f 74 65 4e 61 | 6d 65 20 69 73 20 65 6d |remoteNa|me is em|
|000027e0| 70 74 79 20 74 68 65 6e | 0d 62 65 65 70 0d 65 78 |pty then|.beep.ex|
|000027f0| 69 74 20 6d 6f 75 73 65 | 55 70 0d 65 6e 64 20 69 |it mouse|Up.end i|
|00002800| 66 0d 0d 72 65 63 65 69 | 76 65 46 69 6c 65 20 72 |f..recei|veFile r|
|00002810| 65 6d 6f 74 65 4e 61 6d | 65 2c 20 22 6d 65 6d 6f |emoteNam|e, "memo|
|00002820| 72 79 22 20 2d 2d 20 63 | 61 6c 6c 20 62 67 20 73 |ry" -- c|all bg s|
|00002830| 63 72 69 70 74 0d 65 6e | 64 20 6d 6f 75 73 65 55 |cript.en|d mouseU|
|00002840| 70 0d 00 00 02 72 00 4d | 01 00 00 a5 01 83 00 b5 |p....r.M|........|
|00002850| 01 e5 a0 02 00 00 00 00 | 00 01 00 6f 00 0c 00 00 |........|...o....|
|00002860| 00 10 44 65 6c 65 74 65 | 00 00 2d 2d 20 44 65 6c |..Delete|..-- Del|
|00002870| 65 74 65 20 61 20 66 69 | 6c 65 20 6f 72 20 64 69 |ete a fi|le or di|
|00002880| 72 65 63 74 6f 72 79 20 | 66 72 6f 6d 20 74 68 65 |rectory |from the|
|00002890| 20 68 6f 73 74 3a 0d 6f | 6e 20 6d 6f 75 73 65 55 | host:.o|n mouseU|
|000028a0| 70 0d 67 6c 6f 62 61 6c | 20 73 4c 69 6e 65 0d 0d |p.global| sLine..|
|000028b0| 69 66 20 73 4c 69 6e 65 | 20 69 73 20 6e 6f 74 20 |if sLine| is not |
|000028c0| 7a 65 72 6f 0d 74 68 65 | 6e 20 70 75 74 20 6c 69 |zero.the|n put li|
|000028d0| 6e 65 20 73 4c 69 6e 65 | 20 6f 66 20 62 67 20 66 |ne sLine| of bg f|
|000028e0| 6c 64 20 22 44 69 72 20 | 4c 69 73 74 22 20 69 6e |ld "Dir |List" in|
|000028f0| 74 6f 20 72 65 6d 6f 74 | 65 4e 61 6d 65 0d 65 6c |to remot|eName.el|
|00002900| 73 65 20 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |se put e|mpty int|
|00002910| 6f 20 72 65 6d 6f 74 65 | 4e 61 6d 65 0d 0d 69 66 |o remote|Name..if|
|00002920| 20 74 68 65 20 6f 70 74 | 69 6f 6e 4b 65 79 20 69 | the opt|ionKey i|
|00002930| 73 20 64 6f 77 6e 20 74 | 68 65 6e 0d 61 73 6b 20 |s down t|hen.ask |
|00002940| 22 4e 61 6d 65 20 6f 66 | 20 74 68 65 20 66 69 6c |"Name of| the fil|
|00002950| 65 20 74 6f 20 64 65 6c | 65 74 65 3a 22 20 77 69 |e to del|ete:" wi|
|00002960| 74 68 20 72 65 6d 6f 74 | 65 4e 61 6d 65 0d 69 66 |th remot|eName.if|
|00002970| 20 69 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 | it is e|mpty the|
|00002980| 6e 20 65 78 69 74 20 6d | 6f 75 73 65 55 70 0d 70 |n exit m|ouseUp.p|
|00002990| 75 74 20 69 74 20 69 6e | 74 6f 20 72 65 6d 6f 74 |ut it in|to remot|
|000029a0| 65 4e 61 6d 65 0d 65 6e | 64 20 69 66 0d 0d 69 66 |eName.en|d if..if|
|000029b0| 20 72 65 6d 6f 74 65 4e | 61 6d 65 20 69 73 20 65 | remoteN|ame is e|
|000029c0| 6d 70 74 79 20 74 68 65 | 6e 0d 62 65 65 70 0d 65 |mpty the|n.beep.e|
|000029d0| 78 69 74 20 6d 6f 75 73 | 65 55 70 0d 65 6e 64 20 |xit mous|eUp.end |
|000029e0| 69 66 0d 0d 61 6e 73 77 | 65 72 20 22 52 65 61 6c |if..answ|er "Real|
|000029f0| 6c 79 20 64 65 6c 65 74 | 65 20 d4 22 20 26 20 72 |ly delet|e ." & r|
|00002a00| 65 6d 6f 74 65 4e 61 6d | 65 20 26 20 22 d5 3f 22 |emoteNam|e & ".?"|
|00002a10| 20 77 69 74 68 20 22 44 | 65 6c 65 74 65 22 20 6f | with "D|elete" o|
|00002a20| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|00002a30| 20 69 73 20 22 44 65 6c | 65 74 65 22 20 74 68 65 | is "Del|ete" the|
|00002a40| 6e 0d 73 65 6e 64 4c 69 | 6e 65 20 22 44 45 4c 45 |n.sendLi|ne "DELE|
|00002a50| 22 20 26 26 20 72 65 6d | 6f 74 65 4e 61 6d 65 0d |" && rem|oteName.|
|00002a60| 69 66 20 63 68 61 72 20 | 31 20 6f 66 20 67 65 74 |if char |1 of get|
|00002a70| 4c 69 6e 65 28 29 20 69 | 73 20 22 32 22 20 74 68 |Line() i|s "2" th|
|00002a80| 65 6e 20 67 65 74 44 69 | 72 20 2d 2d 20 72 65 66 |en getDi|r -- ref|
|00002a90| 72 65 73 68 20 74 68 65 | 20 64 69 72 20 6c 69 73 |resh the| dir lis|
|00002aa0| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6d 6f 75 |t.end if|.end mou|
|00002ab0| 73 65 55 70 0d 00 02 80 | 00 4e 01 00 00 dc 01 83 |seUp....|.N......|
|00002ac0| 00 ec 01 e5 a0 02 00 00 | 00 00 00 01 00 6f 00 0c |........|.....o..|
|00002ad0| 00 00 00 10 43 72 65 61 | 74 65 c9 00 00 2d 2d 20 |....Crea|te...-- |
|00002ae0| 43 72 65 61 74 65 20 61 | 20 6e 65 77 20 64 69 72 |Create a| new dir|
|00002af0| 65 63 74 6f 72 79 20 6f | 6e 20 74 68 65 20 68 6f |ectory o|n the ho|
|00002b00| 73 74 2e 0d 2d 2d 20 53 | 6f 6d 65 20 46 54 50 20 |st..-- S|ome FTP |
|00002b10| 73 65 72 76 65 72 73 20 | 75 73 65 20 4d 4b 44 20 |servers |use MKD |
|00002b20| 61 6e 64 20 6f 74 68 65 | 72 73 20 75 73 65 20 58 |and othe|rs use X|
|00002b30| 4d 4b 44 20 73 6f 20 74 | 72 79 20 74 68 65 6d 20 |MKD so t|ry them |
|00002b40| 62 6f 74 68 2e 0d 0d 6f | 6e 20 6d 6f 75 73 65 55 |both...o|n mouseU|
|00002b50| 70 0d 67 6c 6f 62 61 6c | 20 4d 4b 44 63 6d 64 0d |p.global| MKDcmd.|
|00002b60| 0d 61 73 6b 20 22 4e 65 | 77 20 64 69 72 65 63 74 |.ask "Ne|w direct|
|00002b70| 6f 72 79 20 6e 61 6d 65 | 3a 22 0d 69 66 20 69 74 |ory name|:".if it|
|00002b80| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00002b90| 78 69 74 20 6d 6f 75 73 | 65 55 70 0d 70 75 74 20 |xit mous|eUp.put |
|00002ba0| 69 74 20 69 6e 74 6f 20 | 6e 65 77 44 69 72 0d 0d |it into |newDir..|
|00002bb0| 69 66 20 4d 4b 44 63 6d | 64 20 69 73 20 65 6d 70 |if MKDcm|d is emp|
|00002bc0| 74 79 20 74 68 65 6e 20 | 70 75 74 20 22 4d 4b 44 |ty then |put "MKD|
|00002bd0| 22 20 69 6e 74 6f 20 4d | 4b 44 63 6d 64 20 2d 2d |" into M|KDcmd --|
|00002be0| 20 66 69 72 73 74 20 74 | 72 79 20 22 4d 4b 44 22 | first t|ry "MKD"|
|00002bf0| 0d 0d 72 65 70 65 61 74 | 20 32 20 74 69 6d 65 73 |..repeat| 2 times|
|00002c00| 0d 73 65 6e 64 4c 69 6e | 65 20 4d 4b 44 63 6d 64 |.sendLin|e MKDcmd|
|00002c10| 20 26 26 20 6e 65 77 44 | 69 72 20 2d 2d 20 63 72 | && newD|ir -- cr|
|00002c20| 65 61 74 65 20 74 68 65 | 20 64 69 72 65 63 74 6f |eate the| directo|
|00002c30| 72 79 0d 69 66 20 63 68 | 61 72 20 31 20 6f 66 20 |ry.if ch|ar 1 of |
|00002c40| 67 65 74 4c 69 6e 65 28 | 29 20 69 73 20 22 32 22 |getLine(|) is "2"|
|00002c50| 20 74 68 65 6e 20 2d 2d | 20 64 69 64 20 69 74 20 | then --| did it |
|00002c60| 77 6f 72 6b 3f 0d 67 65 | 74 20 63 68 61 6e 67 65 |work?.ge|t change|
|00002c70| 44 69 72 28 20 6e 65 77 | 44 69 72 20 29 20 2d 2d |Dir( new|Dir ) --|
|00002c80| 20 63 68 61 6e 67 65 20 | 74 6f 20 74 68 65 20 6e | change |to the n|
|00002c90| 65 77 20 64 69 72 0d 65 | 78 69 74 20 72 65 70 65 |ew dir.e|xit repe|
|00002ca0| 61 74 0d 65 6e 64 20 69 | 66 0d 0d 69 66 20 4d 4b |at.end i|f..if MK|
|00002cb0| 44 63 6d 64 20 69 73 20 | 22 4d 4b 44 22 20 2d 2d |Dcmd is |"MKD" --|
|00002cc0| 20 64 69 64 6e 27 74 20 | 77 6f 72 6b 20 73 6f 20 | didn't |work so |
|00002cd0| 74 72 79 20 74 68 65 20 | 6f 74 68 65 72 20 63 6f |try the |other co|
|00002ce0| 6d 6d 61 6e 64 0d 74 68 | 65 6e 20 70 75 74 20 22 |mmand.th|en put "|
|00002cf0| 58 4d 4b 44 22 20 69 6e | 74 6f 20 4d 4b 44 63 6d |XMKD" in|to MKDcm|
|00002d00| 64 0d 65 6c 73 65 20 70 | 75 74 20 22 4d 4b 44 22 |d.else p|ut "MKD"|
|00002d10| 20 20 69 6e 74 6f 20 4d | 4b 44 63 6d 64 0d 65 6e | into M|KDcmd.en|
|00002d20| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 6d 6f 75 |d repeat|.end mou|
|00002d30| 73 65 55 70 0d 00 00 f4 | 00 49 01 00 00 69 01 7d |seUp....|.I...i.}|
|00002d40| 00 f0 01 eb 00 00 00 00 | 00 00 00 01 00 00 00 0c |........|........|
|00002d50| 00 00 00 10 48 69 64 65 | 20 58 66 65 72 73 00 00 |....Hide| Xfers..|
|00002d60| 2d 2d 20 74 68 69 73 20 | 62 75 74 74 6f 6e 20 69 |-- this |button i|
|00002d70| 73 20 6d 61 64 65 20 76 | 69 73 69 62 6c 65 20 77 |s made v|isible w|
|00002d80| 68 69 6c 65 20 74 68 65 | 72 65 20 69 73 20 6e 6f |hile the|re is no|
|00002d90| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 0d 2d 2d 20 69 | connect|ion.-- i|
|00002da0| 6e 20 6f 72 64 65 72 20 | 74 6f 20 64 69 73 61 62 |n order |to disab|
|00002db0| 6c 65 20 74 68 65 20 62 | 75 74 74 6f 6e 73 20 75 |le the b|uttons u|
|00002dc0| 6e 64 65 72 6e 65 61 74 | 68 20 69 74 2e 0d 6f 6e |nderneat|h it..on|
|00002dd0| 20 6d 6f 75 73 65 55 70 | 0d 64 69 61 67 4d 73 67 | mouseUp|.diagMsg|
|00002de0| 20 22 46 69 72 73 74 20 | 65 6e 74 65 72 20 61 20 | "First |enter a |
|00002df0| 68 6f 73 74 20 6e 61 6d | 65 20 61 6e 64 20 70 72 |host nam|e and pr|
|00002e00| 65 73 73 20 74 68 65 20 | 43 6f 6e 6e 65 63 74 20 |ess the |Connect |
|00002e10| 62 75 74 74 6f 6e 22 0d | 62 65 65 70 0d 65 6e 64 |button".|beep.end|
|00002e20| 20 6d 6f 75 73 65 55 70 | 0d 00 01 62 00 4f 02 03 | mouseUp|...b.O..|
|00002e30| 00 68 00 5b 01 20 01 73 | 00 07 00 00 00 00 00 00 |.h.[. .s|........|
|00002e40| 00 03 00 0c 00 00 00 0e | 44 69 72 20 4c 69 73 74 |........|Dir List|
|00002e50| 00 00 2d 2d 20 54 61 6b | 65 20 63 61 72 65 20 6f |..-- Tak|e care o|
|00002e60| 66 20 61 20 63 6c 69 63 | 6b 20 6f 6e 20 61 20 6c |f a clic|k on a l|
|00002e70| 69 6e 65 2e 20 20 53 65 | 6c 65 63 74 20 69 74 20 |ine. Se|lect it |
|00002e80| 69 66 20 69 74 27 73 20 | 74 68 65 20 66 69 72 73 |if it's |the firs|
|00002e90| 74 20 63 6c 69 63 6b 2e | 0d 2d 2d 20 49 66 20 74 |t click.|.-- If t|
|00002ea0| 68 65 20 73 65 63 6f 6e | 64 20 63 6c 69 63 6b 20 |he secon|d click |
|00002eb0| 65 69 74 68 65 72 20 63 | 68 61 6e 67 65 20 74 6f |either c|hange to|
|00002ec0| 20 69 74 20 69 66 20 69 | 74 27 73 20 61 20 64 69 | it if i|t's a di|
|00002ed0| 72 65 63 74 6f 72 79 0d | 2d 2d 20 6f 72 20 72 65 |rectory.|-- or re|
|00002ee0| 74 72 69 65 76 65 20 69 | 74 20 69 66 20 69 74 27 |trieve i|t if it'|
|00002ef0| 73 20 61 20 66 69 6c 65 | 2e 0d 6f 6e 20 6d 6f 75 |s a file|..on mou|
|00002f00| 73 65 55 70 0d 6c 69 6e | 65 43 6c 69 63 6b 0d 65 |seUp.lin|eClick.e|
|00002f10| 6e 64 20 6d 6f 75 73 65 | 55 70 0d 0d 2d 2d 20 50 |nd mouse|Up..-- P|
|00002f20| 72 65 73 73 69 6e 67 20 | 74 68 65 20 52 65 74 75 |ressing |the Retu|
|00002f30| 72 6e 20 6b 65 79 20 69 | 73 20 6a 75 73 74 20 6c |rn key i|s just l|
|00002f40| 69 6b 65 20 64 6f 75 62 | 6c 65 2d 63 6c 69 63 6b |ike doub|le-click|
|00002f50| 69 6e 67 20 6f 6e 20 61 | 6e 20 45 6e 74 72 79 0d |ing on a|n Entry.|
|00002f60| 6f 6e 20 72 65 74 75 72 | 6e 49 6e 46 69 65 6c 64 |on retur|nInField|
|00002f70| 0d 67 65 74 46 69 6c 65 | 0d 65 6e 64 20 72 65 74 |.getFile|.end ret|
|00002f80| 75 72 6e 49 6e 46 69 65 | 6c 64 0d 00 02 ae 00 50 |urnInFie|ld.....P|
|00002f90| 02 01 01 06 01 83 01 18 | 01 de 00 02 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 0c 00 00 | 00 10 4d 6f 64 65 00 00 |........|..Mode..|
|00002fb0| 2d 2d 20 44 69 73 70 6c | 61 79 20 61 20 70 6f 70 |-- Displ|ay a pop|
|00002fc0| 2d 75 70 20 6d 65 6e 75 | 20 77 68 65 6e 20 74 68 |-up menu| when th|
|00002fd0| 65 20 4d 6f 64 65 20 66 | 69 65 6c 64 20 69 73 20 |e Mode f|ield is |
|00002fe0| 73 65 6c 65 63 74 65 64 | 2e 0d 0d 6f 6e 20 6d 6f |selected|...on mo|
|00002ff0| 75 73 65 44 6f 77 6e 0d | 70 75 74 20 22 41 53 43 |useDown.|put "ASC|
|00003000| 49 49 2c 42 69 6e 61 72 | 79 2c 4d 61 63 42 69 6e |II,Binar|y,MacBin|
|00003010| 61 72 79 2c 42 69 6e 48 | 65 78 22 20 69 6e 74 6f |ary,BinH|ex" into|
|00003020| 20 6d 65 6e 75 49 74 65 | 6d 73 0d 69 66 20 6d 65 | menuIte|ms.if me|
|00003030| 20 69 73 20 22 41 53 43 | 49 49 22 20 74 68 65 6e | is "ASC|II" then|
|00003040| 20 70 75 74 20 31 20 69 | 6e 74 6f 20 63 75 72 49 | put 1 i|nto curI|
|00003050| 74 65 6d 0d 65 6c 73 65 | 20 69 66 20 6d 65 20 69 |tem.else| if me i|
|00003060| 73 20 22 42 69 6e 61 72 | 79 22 20 74 68 65 6e 20 |s "Binar|y" then |
|00003070| 70 75 74 20 32 20 69 6e | 74 6f 20 63 75 72 49 74 |put 2 in|to curIt|
|00003080| 65 6d 0d 65 6c 73 65 20 | 69 66 20 6d 65 20 69 73 |em.else |if me is|
|00003090| 20 22 4d 61 63 42 69 6e | 61 72 79 22 20 74 68 65 | "MacBin|ary" the|
|000030a0| 6e 20 70 75 74 20 33 20 | 69 6e 74 6f 20 63 75 72 |n put 3 |into cur|
|000030b0| 49 74 65 6d 0d 65 6c 73 | 65 20 70 75 74 20 34 20 |Item.els|e put 4 |
|000030c0| 69 6e 74 6f 20 63 75 72 | 49 74 65 6d 20 2d 2d 20 |into cur|Item -- |
|000030d0| 6d 75 73 74 20 62 65 20 | 42 69 6e 48 65 78 0d 0d |must be |BinHex..|
|000030e0| 67 65 74 20 50 6f 70 55 | 70 4d 65 6e 75 28 20 6d |get PopU|pMenu( m|
|000030f0| 65 6e 75 49 74 65 6d 73 | 2c 20 63 75 72 49 74 65 |enuItems|, curIte|
|00003100| 6d 2c 20 c2 0d 6c 65 66 | 74 20 6f 66 20 63 61 72 |m, ..lef|t of car|
|00003110| 64 20 77 69 6e 64 6f 77 | 20 2b 20 6c 65 66 74 20 |d window| + left |
|00003120| 6f 66 20 6d 65 20 2b 20 | 31 2c 20 c2 0d 74 6f 70 |of me + |1, ..top|
|00003130| 20 6f 66 20 63 61 72 64 | 20 77 69 6e 64 6f 77 20 | of card| window |
|00003140| 2b 20 74 6f 70 20 6f 66 | 20 6d 65 20 2b 20 31 20 |+ top of| me + 1 |
|00003150| 29 20 2d 2d 20 64 69 73 | 70 6c 61 79 20 74 68 65 |) -- dis|play the|
|00003160| 20 70 6f 70 2d 75 70 20 | 6d 65 6e 75 0d 0d 69 66 | pop-up |menu..if|
|00003170| 20 69 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 | it is e|mpty the|
|00003180| 6e 20 65 78 69 74 20 6d | 6f 75 73 65 44 6f 77 6e |n exit m|ouseDown|
|00003190| 20 2d 2d 20 6e 6f 74 68 | 69 6e 67 20 77 61 73 20 | -- noth|ing was |
|000031a0| 73 65 6c 65 63 74 65 64 | 0d 0d 70 75 74 20 69 74 |selected|..put it|
|000031b0| 65 6d 20 69 74 20 6f 66 | 20 6d 65 6e 75 49 74 65 |em it of| menuIte|
|000031c0| 6d 73 20 69 6e 74 6f 20 | 6d 65 20 2d 2d 20 72 65 |ms into |me -- re|
|000031d0| 70 6c 61 63 65 20 74 68 | 65 20 63 6f 6e 74 65 6e |place th|e conten|
|000031e0| 74 73 20 6f 66 20 74 68 | 65 20 66 69 65 6c 64 0d |ts of th|e field.|
|000031f0| 65 6e 64 20 6d 6f 75 73 | 65 44 6f 77 6e 0d 0d 6f |end mous|eDown..o|
|00003200| 6e 20 6d 6f 75 73 65 55 | 70 0d 2d 2d 20 64 6f 6e |n mouseU|p.-- don|
|00003210| 27 74 20 70 61 73 73 20 | 6d 6f 75 73 65 55 70 20 |'t pass |mouseUp |
|00003220| 74 6f 20 62 67 20 73 63 | 72 69 70 74 0d 65 6e 64 |to bg sc|ript.end|
|00003230| 20 6d 6f 75 73 65 55 70 | 00 00 00 a4 00 51 01 00 | mouseUp|.....Q..|
|00003240| 00 6a 01 55 00 76 01 61 | 00 02 00 00 23 3a 00 01 |.j.U.v.a|....#:..|
|00003250| 00 00 00 0c 00 00 00 10 | 5a 6f 6f 6d 20 4f 75 74 |........|Zoom Out|
|00003260| 00 00 6f 6e 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 69 |..on mou|seDown.i|
|00003270| 66 20 62 67 20 66 6c 64 | 20 22 53 74 61 74 65 22 |f bg fld| "State"|
|00003280| 20 69 73 20 6e 6f 74 20 | 22 65 73 74 61 62 6c 69 | is not |"establi|
|00003290| 73 68 65 64 22 20 74 68 | 65 6e 20 65 78 69 74 20 |shed" th|en exit |
|000032a0| 6d 6f 75 73 65 44 6f 77 | 6e 0d 64 69 72 5a 6f 6f |mouseDow|n.dirZoo|
|000032b0| 6d 20 22 6f 75 74 22 0d | 65 6e 64 20 6d 6f 75 73 |m "out".|end mous|
|000032c0| 65 44 6f 77 6e 0d 0d 6f | 6e 20 6d 6f 75 73 65 55 |eDown..o|n mouseU|
|000032d0| 70 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 00 01 62 |p.end mo|useUp..b|
|000032e0| 00 53 02 81 00 68 00 0b | 01 20 01 f1 00 07 00 00 |.S...h..|. ......|
|000032f0| 00 00 00 00 00 04 00 09 | 00 00 00 0e 46 75 6c 6c |........|....Full|
|00003300| 20 44 69 72 00 00 2d 2d | 20 54 61 6b 65 20 63 61 | Dir..--| Take ca|
|00003310| 72 65 20 6f 66 20 61 20 | 63 6c 69 63 6b 20 6f 6e |re of a |click on|
|00003320| 20 61 20 6c 69 6e 65 2e | 20 20 53 65 6c 65 63 74 | a line.| Select|
|00003330| 20 69 74 20 69 66 20 69 | 74 27 73 20 74 68 65 20 | it if i|t's the |
|00003340| 66 69 72 73 74 20 63 6c | 69 63 6b 2e 0d 2d 2d 20 |first cl|ick..-- |
|00003350| 49 66 20 74 68 65 20 73 | 65 63 6f 6e 64 20 63 6c |If the s|econd cl|
|00003360| 69 63 6b 20 65 69 74 68 | 65 72 20 63 68 61 6e 67 |ick eith|er chang|
|00003370| 65 20 74 6f 20 69 74 20 | 69 66 20 69 74 27 73 20 |e to it |if it's |
|00003380| 61 20 64 69 72 65 63 74 | 6f 72 79 0d 2d 2d 20 6f |a direct|ory.-- o|
|00003390| 72 20 72 65 74 72 69 65 | 76 65 20 69 74 20 69 66 |r retrie|ve it if|
|000033a0| 20 69 74 27 73 20 61 20 | 66 69 6c 65 2e 0d 6f 6e | it's a |file..on|
|000033b0| 20 6d 6f 75 73 65 55 70 | 0d 6c 69 6e 65 43 6c 69 | mouseUp|.lineCli|
|000033c0| 63 6b 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 0d |ck.end m|ouseUp..|
|000033d0| 2d 2d 20 50 72 65 73 73 | 69 6e 67 20 74 68 65 20 |-- Press|ing the |
|000033e0| 52 65 74 75 72 6e 20 6b | 65 79 20 69 73 20 6a 75 |Return k|ey is ju|
|000033f0| 73 74 20 6c 69 6b 65 20 | 64 6f 75 62 6c 65 2d 63 |st like |double-c|
|00003400| 6c 69 63 6b 69 6e 67 20 | 6f 6e 20 61 6e 20 45 6e |licking |on an En|
|00003410| 74 72 79 0d 6f 6e 20 72 | 65 74 75 72 6e 49 6e 46 |try.on r|eturnInF|
|00003420| 69 65 6c 64 0d 67 65 74 | 46 69 6c 65 0d 65 6e 64 |ield.get|File.end|
|00003430| 20 72 65 74 75 72 6e 49 | 6e 46 69 65 6c 64 0d 00 | returnI|nField..|
|00003440| 00 68 00 52 01 80 00 6a | 01 d3 00 76 01 df 00 02 |.h.R...j|...v....|
|00003450| 00 00 23 3a 00 01 00 00 | 00 0c 00 00 00 10 5a 6f |..#:....|......Zo|
|00003460| 6f 6d 20 49 6e 00 00 6f | 6e 20 6d 6f 75 73 65 44 |om In..o|n mouseD|
|00003470| 6f 77 6e 0d 64 69 72 5a | 6f 6f 6d 20 22 69 6e 22 |own.dirZ|oom "in"|
|00003480| 0d 65 6e 64 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 0d |.end mou|seDown..|
|00003490| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 65 6e 64 20 6d |on mouse|Up.end m|
|000034a0| 6f 75 73 65 55 70 00 00 | 02 d4 00 54 01 00 01 37 |ouseUp..|...T...7|
|000034b0| 01 e6 01 43 01 f2 20 00 | 00 00 00 00 00 01 00 00 |...C.. .|........|
|000034c0| 00 0c 00 00 00 10 44 69 | 61 67 20 55 70 00 00 2d |......Di|ag Up..-|
|000034d0| 2d 20 53 63 72 6f 6c 6c | 20 75 70 20 74 68 72 6f |- Scroll| up thro|
|000034e0| 75 67 68 20 74 68 65 20 | 72 65 63 65 6e 74 20 64 |ugh the |recent d|
|000034f0| 69 61 67 6e 6f 73 74 69 | 63 20 6c 69 6e 65 73 0d |iagnosti|c lines.|
|00003500| 6f 6e 20 6d 6f 75 73 65 | 44 6f 77 6e 0d 67 6c 6f |on mouse|Down.glo|
|00003510| 62 61 6c 20 64 69 61 67 | 54 78 74 2c 20 64 69 61 |bal diag|Txt, dia|
|00003520| 67 53 63 72 6f 6c 6c 0d | 0d 69 66 20 64 69 61 67 |gScroll.|.if diag|
|00003530| 53 63 72 6f 6c 6c 20 69 | 73 20 65 6d 70 74 79 0d |Scroll i|s empty.|
|00003540| 74 68 65 6e 20 70 75 74 | 20 74 68 65 20 6e 75 6d |then put| the num|
|00003550| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00003560| 64 69 61 67 54 78 74 20 | 69 6e 74 6f 20 64 69 61 |diagTxt |into dia|
|00003570| 67 53 63 72 6f 6c 6c 0d | 70 75 74 20 7a 65 72 6f |gScroll.|put zero|
|00003580| 20 69 6e 74 6f 20 74 69 | 6d 65 32 73 63 72 6f 6c | into ti|me2scrol|
|00003590| 6c 20 2d 2d 20 73 63 72 | 6f 6c 6c 20 6f 6e 63 65 |l -- scr|oll once|
|000035a0| 20 72 69 67 68 74 20 61 | 77 61 79 0d 70 75 74 20 | right a|way.put |
|000035b0| 34 35 20 69 6e 74 6f 20 | 73 63 49 6e 74 65 72 76 |45 into |scInterv|
|000035c0| 61 6c 20 2d 2d 20 66 69 | 72 73 74 20 73 63 72 6f |al -- fi|rst scro|
|000035d0| 6c 6c 20 69 6e 74 65 72 | 76 61 6c 0d 0d 72 65 70 |ll inter|val..rep|
|000035e0| 65 61 74 20 77 68 69 6c | 65 20 64 69 61 67 53 63 |eat whil|e diagSc|
|000035f0| 72 6f 6c 6c 20 3e 20 6f | 6e 65 0d 67 65 74 20 74 |roll > o|ne.get t|
|00003600| 68 65 20 74 69 63 6b 73 | 0d 69 66 20 69 74 20 b3 |he ticks|.if it .|
|00003610| 20 74 69 6d 65 32 73 63 | 72 6f 6c 6c 20 74 68 65 | time2sc|roll the|
|00003620| 6e 0d 70 75 74 20 69 74 | 20 2b 20 73 63 49 6e 74 |n.put it| + scInt|
|00003630| 65 72 76 61 6c 20 69 6e | 74 6f 20 74 69 6d 65 32 |erval in|to time2|
|00003640| 73 63 72 6f 6c 6c 20 2d | 2d 20 73 65 74 20 6e 65 |scroll -|- set ne|
|00003650| 78 74 20 74 69 6d 65 20 | 74 6f 20 73 63 72 6f 6c |xt time |to scrol|
|00003660| 6c 0d 70 75 74 20 31 35 | 20 69 6e 74 6f 20 73 63 |l.put 15| into sc|
|00003670| 49 6e 74 65 72 76 61 6c | 20 2d 2d 20 73 65 74 20 |Interval| -- set |
|00003680| 73 63 72 6f 6c 6c 20 69 | 6e 74 65 72 76 61 6c 20 |scroll i|nterval |
|00003690| 66 72 6f 6d 20 6e 6f 77 | 20 6f 6e 0d 73 75 62 74 |from now| on.subt|
|000036a0| 72 61 63 74 20 6f 6e 65 | 20 66 72 6f 6d 20 64 69 |ract one| from di|
|000036b0| 61 67 53 63 72 6f 6c 6c | 0d 70 75 74 20 6c 69 6e |agScroll|.put lin|
|000036c0| 65 20 64 69 61 67 53 63 | 72 6f 6c 6c 20 6f 66 20 |e diagSc|roll of |
|000036d0| 64 69 61 67 54 78 74 20 | 69 6e 74 6f 20 62 67 20 |diagTxt |into bg |
|000036e0| 66 6c 64 20 22 44 69 61 | 67 22 0d 65 6e 64 20 69 |fld "Dia|g".end i|
|000036f0| 66 0d 0d 69 66 20 74 68 | 65 20 6d 6f 75 73 65 20 |f..if th|e mouse |
|00003700| 69 73 20 75 70 20 74 68 | 65 6e 20 65 78 69 74 20 |is up th|en exit |
|00003710| 72 65 70 65 61 74 20 2d | 2d 20 63 68 65 63 6b 20 |repeat -|- check |
|00003720| 6d 6f 75 73 65 20 61 66 | 74 65 72 20 6c 6f 6f 70 |mouse af|ter loop|
|00003730| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00003740| 6d 6f 75 73 65 44 6f 77 | 6e 0d 0d 6f 6e 20 6d 6f |mouseDow|n..on mo|
|00003750| 75 73 65 55 70 0d 2d 2d | 20 64 6f 6e 27 74 20 70 |useUp.--| don't p|
|00003760| 61 73 73 20 6d 6f 75 73 | 65 55 70 20 6d 73 67 0d |ass mous|eUp msg.|
|00003770| 65 6e 64 20 6d 6f 75 73 | 65 55 70 00 02 f2 00 55 |end mous|eUp....U|
|00003780| 01 00 01 42 01 e6 01 4e | 01 f2 20 00 00 00 00 00 |...B...N|.. .....|
|00003790| 00 01 00 00 00 0c 00 00 | 00 10 44 69 61 67 20 44 |........|..Diag D|
|000037a0| 6f 77 6e 00 00 2d 2d 20 | 53 63 72 6f 6c 6c 20 64 |own..-- |Scroll d|
|000037b0| 6f 77 6e 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |own thro|ugh the |
|000037c0| 72 65 63 65 6e 74 20 64 | 69 61 67 6e 6f 73 74 69 |recent d|iagnosti|
|000037d0| 63 20 6c 69 6e 65 73 0d | 6f 6e 20 6d 6f 75 73 65 |c lines.|on mouse|
|000037e0| 44 6f 77 6e 0d 67 6c 6f | 62 61 6c 20 64 69 61 67 |Down.glo|bal diag|
|000037f0| 54 78 74 2c 20 64 69 61 | 67 53 63 72 6f 6c 6c 0d |Txt, dia|gScroll.|
|00003800| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00003810| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 64 69 61 67 |of lines| in diag|
|00003820| 54 78 74 20 69 6e 74 6f | 20 6e 75 6d 4c 69 6e 65 |Txt into| numLine|
|00003830| 73 0d 69 66 20 64 69 61 | 67 53 63 72 6f 6c 6c 20 |s.if dia|gScroll |
|00003840| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00003850| 74 20 6e 75 6d 4c 69 6e | 65 73 20 69 6e 74 6f 20 |t numLin|es into |
|00003860| 64 69 61 67 53 63 72 6f | 6c 6c 0d 70 75 74 20 7a |diagScro|ll.put z|
|00003870| 65 72 6f 20 69 6e 74 6f | 20 74 69 6d 65 32 73 63 |ero into| time2sc|
|00003880| 72 6f 6c 6c 20 2d 2d 20 | 73 63 72 6f 6c 6c 20 6f |roll -- |scroll o|
|00003890| 6e 63 65 20 72 69 67 68 | 74 20 61 77 61 79 0d 70 |nce righ|t away.p|
|000038a0| 75 74 20 34 35 20 69 6e | 74 6f 20 73 63 49 6e 74 |ut 45 in|to scInt|
|000038b0| 65 72 76 61 6c 20 2d 2d | 20 66 69 72 73 74 20 73 |erval --| first s|
|000038c0| 63 72 6f 6c 6c 20 69 6e | 74 65 72 76 61 6c 0d 0d |croll in|terval..|
|000038d0| 72 65 70 65 61 74 20 77 | 68 69 6c 65 20 64 69 61 |repeat w|hile dia|
|000038e0| 67 53 63 72 6f 6c 6c 20 | 3c 20 6e 75 6d 4c 69 6e |gScroll |< numLin|
|000038f0| 65 73 0d 67 65 74 20 74 | 68 65 20 74 69 63 6b 73 |es.get t|he ticks|
|00003900| 0d 69 66 20 69 74 20 b3 | 20 74 69 6d 65 32 73 63 |.if it .| time2sc|
|00003910| 72 6f 6c 6c 20 74 68 65 | 6e 0d 70 75 74 20 69 74 |roll the|n.put it|
|00003920| 20 2b 20 73 63 49 6e 74 | 65 72 76 61 6c 20 69 6e | + scInt|erval in|
|00003930| 74 6f 20 74 69 6d 65 32 | 73 63 72 6f 6c 6c 20 2d |to time2|scroll -|
|00003940| 2d 20 73 65 74 20 6e 65 | 78 74 20 74 69 6d 65 20 |- set ne|xt time |
|00003950| 74 6f 20 73 63 72 6f 6c | 6c 0d 70 75 74 20 31 35 |to scrol|l.put 15|
|00003960| 20 69 6e 74 6f 20 73 63 | 49 6e 74 65 72 76 61 6c | into sc|Interval|
|00003970| 20 2d 2d 20 73 65 74 20 | 73 63 72 6f 6c 6c 20 69 | -- set |scroll i|
|00003980| 6e 74 65 72 76 61 6c 20 | 66 72 6f 6d 20 6e 6f 77 |nterval |from now|
|00003990| 20 6f 6e 0d 61 64 64 20 | 6f 6e 65 20 74 6f 20 64 | on.add |one to d|
|000039a0| 69 61 67 53 63 72 6f 6c | 6c 0d 70 75 74 20 6c 69 |iagScrol|l.put li|
|000039b0| 6e 65 20 64 69 61 67 53 | 63 72 6f 6c 6c 20 6f 66 |ne diagS|croll of|
|000039c0| 20 64 69 61 67 54 78 74 | 20 69 6e 74 6f 20 62 67 | diagTxt| into bg|
|000039d0| 20 66 6c 64 20 22 44 69 | 61 67 22 0d 65 6e 64 20 | fld "Di|ag".end |
|000039e0| 69 66 0d 0d 69 66 20 74 | 68 65 20 6d 6f 75 73 65 |if..if t|he mouse|
|000039f0| 20 69 73 20 75 70 20 74 | 68 65 6e 20 65 78 69 74 | is up t|hen exit|
|00003a00| 20 72 65 70 65 61 74 20 | 2d 2d 20 63 68 65 63 6b | repeat |-- check|
|00003a10| 20 6d 6f 75 73 65 20 61 | 66 74 65 72 20 6c 6f 6f | mouse a|fter loo|
|00003a20| 70 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |p.end re|peat.end|
|00003a30| 20 6d 6f 75 73 65 44 6f | 77 6e 0d 0d 6f 6e 20 6d | mouseDo|wn..on m|
|00003a40| 6f 75 73 65 55 70 0d 2d | 2d 20 64 6f 6e 27 74 20 |ouseUp.-|- don't |
|00003a50| 70 61 73 73 20 6d 6f 75 | 73 65 55 70 20 6d 73 67 |pass mou|seUp msg|
|00003a60| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 00 00 4d 61 |.end mou|seUp..Ma|
|00003a70| 69 6e 00 2d 2d 20 48 79 | 70 65 72 46 54 50 20 62 |in.-- Hy|perFTP b|
|00003a80| 61 63 6b 67 72 6f 75 6e | 64 20 73 63 72 69 70 74 |ackgroun|d script|
|00003a90| 2e 20 20 d2 4d 6f 73 74 | 20 6f 66 20 74 68 65 20 |. .Most| of the |
|00003aa0| 73 6d 61 72 74 73 20 69 | 73 20 68 65 72 65 2e d3 |smarts i|s here..|
|00003ab0| 0d 2d 2d 20 62 79 20 44 | 6f 75 67 6c 61 73 20 48 |.-- by D|ouglas H|
|00003ac0| 6f 72 6e 69 67 2c 20 40 | 20 31 39 39 30 20 62 79 |ornig, @| 1990 by|
|00003ad0| 20 43 6f 72 6e 65 6c 6c | 20 55 6e 69 76 65 72 73 | Cornell| Univers|
|00003ae0| 69 74 79 0d 0d 2d 2d 20 | 73 65 6c 65 63 74 6c 69 |ity..-- |selectli|
|00003af0| 6e 65 58 43 4d 44 20 62 | 79 20 50 68 69 6c 20 42 |neXCMD b|y Phil B|
|00003b00| 65 69 73 65 6c 2c 20 a9 | 20 41 70 70 6c 65 20 43 |eisel, .| Apple C|
|00003b10| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 20 31 39 |omputer,| Inc. 19|
|00003b20| 38 39 0d 2d 2d 20 46 69 | 6c 65 4e 61 6d 65 2c 20 |89.-- Fi|leName, |
|00003b30| 4e 65 77 46 69 6c 65 4e | 61 6d 65 20 62 79 20 53 |NewFileN|ame by S|
|00003b40| 74 65 76 65 20 4d 61 6c | 6c 65 72 2c 20 41 6e 64 |teve Mal|ler, And|
|00003b50| 72 65 77 20 47 69 6c 6d | 61 72 74 69 6e 2c 20 4a |rew Gilm|artin, J|
|00003b60| 6f 6e 20 50 75 67 68 0d | 2d 2d 20 20 20 a9 20 31 |on Pugh.|-- . 1|
|00003b70| 39 38 37 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 |987 Appl|e Comput|
|00003b80| 65 72 20 26 20 42 72 6f | 77 6e 20 55 6e 69 76 65 |er & Bro|wn Unive|
|00003b90| 72 73 69 74 79 0d 2d 2d | 20 50 6f 70 55 70 4d 65 |rsity.--| PopUpMe|
|00003ba0| 6e 75 20 62 79 20 41 6e | 64 72 65 77 20 47 69 6c |nu by An|drew Gil|
|00003bb0| 6d 61 72 74 69 6e 20 a9 | 20 42 72 6f 77 6e 20 55 |martin .| Brown U|
|00003bc0| 6e 69 76 65 72 73 69 74 | 79 20 31 39 38 39 0d 2d |niversit|y 1989.-|
|00003bd0| 2d 20 54 43 50 4e 61 6d | 65 54 6f 41 64 64 72 2c |- TCPNam|eToAddr,|
|00003be0| 20 54 43 50 53 65 6e 64 | 2c 20 54 43 50 52 65 63 | TCPSend|, TCPRec|
|00003bf0| 76 55 70 54 6f 2c 20 54 | 43 50 53 74 61 74 65 2c |vUpTo, T|CPState,|
|00003c00| 20 54 43 50 52 65 6c 65 | 61 73 65 2c 20 54 43 50 | TCPRele|ase, TCP|
|00003c10| 43 6c 6f 73 65 2c 0d 2d | 2d 20 20 20 54 43 50 50 |Close,.-|- TCPP|
|00003c20| 61 73 73 69 76 65 4f 70 | 65 6e 20 62 79 20 48 61 |assiveOp|en by Ha|
|00003c30| 72 72 79 20 43 68 65 73 | 6c 65 79 20 a9 20 41 70 |rry Ches|ley . Ap|
|00003c40| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00003c50| 63 2e 20 31 39 38 39 0d | 2d 2d 20 50 61 73 73 77 |c. 1989.|-- Passw|
|00003c60| 6f 72 64 2c 20 4c 65 61 | 66 4e 61 6d 65 20 62 79 |ord, Lea|fName by|
|00003c70| 20 4b 65 76 69 6e 20 43 | 61 6c 68 6f 75 6e 0d 2d | Kevin C|alhoun.-|
|00003c80| 2d 20 20 20 a9 31 39 38 | 39 20 62 79 20 74 68 65 |- .198|9 by the|
|00003c90| 20 54 72 75 73 74 65 65 | 73 20 6f 66 20 44 61 72 | Trustee|s of Dar|
|00003ca0| 74 6d 6f 75 74 68 20 43 | 6f 6c 6c 65 67 65 0d 2d |tmouth C|ollege.-|
|00003cb0| 2d 20 54 43 50 47 65 74 | 41 64 64 72 2c 20 46 54 |- TCPGet|Addr, FT|
|00003cc0| 50 78 66 65 72 2c 20 46 | 54 50 4d 61 63 42 69 6e |Pxfer, F|TPMacBin|
|00003cd0| 58 66 65 72 2c 20 46 54 | 50 68 71 58 66 65 72 2c |Xfer, FT|PhqXfer,|
|00003ce0| 20 54 43 50 53 65 6e 64 | 55 72 67 65 6e 74 2c 0d | TCPSend|Urgent,.|
|00003cf0| 2d 2d 20 20 20 54 72 61 | 6e 73 6c 61 74 65 20 62 |-- Tra|nslate b|
|00003d00| 79 20 44 6f 75 67 6c 61 | 73 20 48 6f 72 6e 69 67 |y Dougla|s Hornig|
|00003d10| 20 a9 20 43 6f 72 6e 65 | 6c 6c 20 55 6e 69 76 65 | . Corne|ll Unive|
|00003d20| 72 73 69 74 79 20 31 39 | 39 30 0d 2d 2d 20 54 68 |rsity 19|90.-- Th|
|00003d30| 61 6e 6b 73 20 74 6f 20 | 47 61 69 67 65 20 42 2e |anks to |Gaige B.|
|00003d40| 20 50 61 75 6c 73 65 6e | 20 6f 66 20 4e 43 53 41 | Paulsen| of NCSA|
|00003d50| 2c 20 66 6f 72 20 73 61 | 6d 70 6c 65 20 4d 61 63 |, for sa|mple Mac|
|00003d60| 42 69 6e 61 72 79 20 63 | 6f 64 65 2e 0d 2d 2d 20 |Binary c|ode..-- |
|00003d70| 54 68 61 6e 6b 73 20 74 | 6f 20 44 6f 75 67 20 4d |Thanks t|o Doug M|
|00003d80| 6f 6f 72 65 20 6f 66 20 | 52 69 63 65 20 55 6e 69 |oore of |Rice Uni|
|00003d90| 76 65 72 73 69 74 79 2c | 20 66 6f 72 20 73 61 6d |versity,| for sam|
|00003da0| 70 6c 65 20 42 69 6e 48 | 65 78 20 63 6f 64 65 2e |ple BinH|ex code.|
|00003db0| 0d 0d 6f 6e 20 69 64 6c | 65 0d 67 6c 6f 62 61 6c |..on idl|e.global|
|00003dc0| 20 63 6f 6e 6e 49 44 2c | 20 64 61 74 61 49 44 2c | connID,| dataID,|
|00003dd0| 20 73 4c 69 6e 65 2c 20 | 70 61 72 74 4c 69 6e 65 | sLine, |partLine|
|00003de0| 2c 20 64 69 61 67 54 78 | 74 0d 0d 2d 2d 20 52 65 |, diagTx|t..-- Re|
|00003df0| 6c 65 61 73 65 20 74 68 | 65 20 64 61 74 61 20 63 |lease th|e data c|
|00003e00| 6f 6e 6e 65 63 74 69 6f | 6e 20 69 66 20 69 74 20 |onnectio|n if it |
|00003e10| 69 73 20 63 6c 6f 73 65 | 64 0d 69 66 20 64 61 74 |is close|d.if dat|
|00003e20| 61 49 44 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |aID is n|ot empty|
|00003e30| 20 74 68 65 6e 0d 67 65 | 74 20 54 43 50 53 74 61 | then.ge|t TCPSta|
|00003e40| 74 65 28 20 64 61 74 61 | 49 44 20 29 0d 69 66 20 |te( data|ID ).if |
|00003e50| 69 74 20 63 6f 6e 74 61 | 69 6e 73 20 22 63 6c 6f |it conta|ins "clo|
|00003e60| 73 65 22 20 74 68 65 6e | 0d 54 43 50 52 65 6c 65 |se" then|.TCPRele|
|00003e70| 61 73 65 20 64 61 74 61 | 49 44 0d 70 75 74 20 65 |ase data|ID.put e|
|00003e80| 6d 70 74 79 20 69 6e 74 | 6f 20 64 61 74 61 49 44 |mpty int|o dataID|
|00003e90| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 0d |.end if.|end if..|
|00003ea0| 2d 2d 20 43 68 65 63 6b | 20 74 68 65 20 73 74 61 |-- Check| the sta|
|00003eb0| 74 75 73 20 6f 66 20 74 | 68 65 20 63 6f 6d 6d 75 |tus of t|he commu|
|00003ec0| 6e 69 63 61 74 69 6f 6e | 73 20 63 6f 6e 6e 65 63 |nication|s connec|
|00003ed0| 74 69 6f 6e 0d 69 66 20 | 63 6f 6e 6e 49 44 20 69 |tion.if |connID i|
|00003ee0| 73 20 65 6d 70 74 79 0d | 74 68 65 6e 20 67 65 74 |s empty.|then get|
|00003ef0| 20 22 6e 6f 20 63 6f 6e | 6e 65 63 74 69 6f 6e 22 | "no con|nection"|
|00003f00| 20 65 6c 73 65 20 67 65 | 74 20 54 43 50 53 74 61 | else ge|t TCPSta|
|00003f10| 74 65 28 20 63 6f 6e 6e | 49 44 20 29 0d 63 68 65 |te( conn|ID ).che|
|00003f20| 63 6b 53 74 61 74 65 20 | 69 74 0d 69 66 20 69 74 |ckState |it.if it|
|00003f30| 20 69 73 20 6e 6f 74 20 | 22 65 73 74 61 62 6c 69 | is not |"establi|
|00003f40| 73 68 65 64 22 20 74 68 | 65 6e 20 65 78 69 74 20 |shed" th|en exit |
|00003f50| 69 64 6c 65 0d 0d 2d 2d | 20 53 6f 6d 65 20 6d 65 |idle..--| Some me|
|00003f60| 73 73 61 67 65 73 20 66 | 72 6f 6d 20 74 68 65 20 |ssages f|rom the |
|00003f70| 68 6f 73 74 20 61 72 65 | 20 72 65 63 65 69 76 65 |host are| receive|
|00003f80| 64 20 61 74 20 69 64 6c | 65 20 74 69 6d 65 3a 0d |d at idl|e time:.|
|00003f90| 72 65 70 65 61 74 0d 67 | 65 74 20 54 43 50 52 65 |repeat.g|et TCPRe|
|00003fa0| 63 76 55 70 54 6f 28 20 | 63 6f 6e 6e 49 44 2c 20 |cvUpTo( |connID, |
|00003fb0| 6c 69 6e 65 66 65 65 64 | 2c 20 7a 65 72 6f 2c 20 |linefeed|, zero, |
|00003fc0| 70 61 72 74 4c 69 6e 65 | 20 29 0d 69 66 20 69 74 |partLine| ).if it|
|00003fd0| 20 3d 20 70 61 72 74 4c | 69 6e 65 20 74 68 65 6e | = partL|ine then|
|00003fe0| 20 65 78 69 74 20 72 65 | 70 65 61 74 20 2d 2d 20 | exit re|peat -- |
|00003ff0| 6e 6f 20 6e 65 77 20 6d | 65 73 73 61 67 65 73 0d |no new m|essages.|
|00004000| 64 69 61 67 4d 73 67 20 | 69 74 20 2d 2d 20 64 69 |diagMsg |it -- di|
|00004010| 73 70 6c 61 79 20 69 6e | 20 64 69 61 67 6e 6f 73 |splay in| diagnos|
|00004020| 74 69 63 20 77 69 6e 64 | 6f 77 0d 0d 69 66 20 63 |tic wind|ow..if c|
|00004030| 68 61 72 20 31 20 6f 66 | 20 69 74 20 69 73 20 22 |har 1 of| it is "|
|00004040| a4 22 20 74 68 65 6e 20 | 2d 2d 20 65 72 72 6f 72 |." then |-- error|
|00004050| 20 66 72 6f 6d 20 4d 61 | 63 54 43 50 20 58 43 4d | from Ma|cTCP XCM|
|00004060| 44 3f 0d 54 43 50 52 65 | 6c 65 61 73 65 20 63 6f |D?.TCPRe|lease co|
|00004070| 6e 6e 49 44 20 2d 2d 20 | 61 62 6f 72 74 20 74 68 |nnID -- |abort th|
|00004080| 65 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 0d 70 75 74 |e connec|tion.put|
|00004090| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 63 6f 6e 6e | empty i|nto conn|
|000040a0| 49 44 0d 65 78 69 74 20 | 69 64 6c 65 0d 65 6e 64 |ID.exit |idle.end|
|000040b0| 20 69 66 0d 0d 69 66 20 | 63 68 61 72 20 6c 65 6e | if..if |char len|
|000040c0| 67 74 68 28 20 69 74 20 | 29 20 6f 66 20 69 74 20 |gth( it |) of it |
|000040d0| 69 73 20 6e 6f 74 20 6c | 69 6e 65 66 65 65 64 20 |is not l|inefeed |
|000040e0| 74 68 65 6e 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |then.put| it into|
|000040f0| 20 70 61 72 74 4c 69 6e | 65 0d 65 78 69 74 20 72 | partLin|e.exit r|
|00004100| 65 70 65 61 74 20 2d 2d | 20 70 61 72 74 69 61 6c |epeat --| partial|
|00004110| 20 6c 69 6e 65 3a 20 77 | 61 69 74 20 66 6f 72 20 | line: w|ait for |
|00004120| 74 68 65 20 72 65 73 74 | 0d 65 6e 64 20 69 66 0d |the rest|.end if.|
|00004130| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 70 |put empt|y into p|
|00004140| 61 72 74 4c 69 6e 65 20 | 2d 2d 20 67 6f 74 20 61 |artLine |-- got a|
|00004150| 20 77 68 6f 6c 65 20 6c | 69 6e 65 0d 0d 67 65 74 | whole l|ine..get|
|00004160| 20 77 6f 72 64 20 31 20 | 6f 66 20 69 74 20 2d 2d | word 1 |of it --|
|00004170| 20 65 78 74 72 61 63 74 | 20 74 68 65 20 46 54 50 | extract| the FTP|
|00004180| 20 72 65 73 70 6f 6e 73 | 65 20 63 6f 64 65 0d 69 | respons|e code.i|
|00004190| 66 20 69 74 20 69 73 20 | 32 32 30 20 74 68 65 6e |f it is |220 then|
|000041a0| 20 61 73 6b 55 73 65 72 | 0d 65 6c 73 65 20 69 66 | askUser|.else if|
|000041b0| 20 69 74 20 69 73 20 32 | 32 31 20 74 68 65 6e 20 | it is 2|21 then |
|000041c0| 71 75 69 74 49 74 0d 65 | 6c 73 65 20 69 66 20 69 |quitIt.e|lse if i|
|000041d0| 74 20 69 73 20 32 33 30 | 20 74 68 65 6e 20 67 65 |t is 230| then ge|
|000041e0| 74 44 69 72 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |tDir.els|e if it |
|000041f0| 69 73 20 33 33 31 20 74 | 68 65 6e 20 61 73 6b 50 |is 331 t|hen askP|
|00004200| 61 73 73 0d 65 6c 73 65 | 20 69 66 20 69 74 20 69 |ass.else| if it i|
|00004210| 73 20 35 33 30 20 74 68 | 65 6e 20 6e 6f 55 73 65 |s 530 th|en noUse|
|00004220| 72 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 0d 2d 2d |r.end re|peat..--|
|00004230| 20 43 68 61 6e 67 65 20 | 74 68 65 20 64 69 73 70 | Change |the disp|
|00004240| 6c 61 79 20 64 65 70 65 | 6e 64 69 6e 67 20 6f 6e |lay depe|nding on|
|00004250| 20 69 66 20 61 6e 20 65 | 6e 74 72 79 20 69 73 20 | if an e|ntry is |
|00004260| 73 65 6c 65 63 74 65 64 | 20 6f 72 20 6e 6f 74 3a |selected| or not:|
|00004270| 0d 69 66 20 73 4c 69 6e | 65 20 69 73 20 7a 65 72 |.if sLin|e is zer|
|00004280| 6f 20 74 68 65 6e 20 2d | 2d 20 6e 6f 74 68 69 6e |o then -|- nothin|
|00004290| 67 20 73 65 6c 65 63 74 | 65 64 0d 73 65 74 20 74 |g select|ed.set t|
|000042a0| 68 65 20 74 65 78 74 46 | 6f 6e 74 20 6f 66 20 62 |he textF|ont of b|
|000042b0| 67 20 62 74 6e 20 22 52 | 65 63 65 69 76 65 c9 22 |g btn "R|eceive."|
|000042c0| 20 74 6f 20 22 43 68 69 | 63 61 67 6f 20 47 72 61 | to "Chi|cago Gra|
|000042d0| 79 22 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 46 |y".set t|he textF|
|000042e0| 6f 6e 74 20 6f 66 20 62 | 67 20 62 74 6e 20 22 44 |ont of b|g btn "D|
|000042f0| 69 73 70 6c 61 79 22 20 | 20 74 6f 20 22 43 68 69 |isplay" | to "Chi|
|00004300| 63 61 67 6f 20 47 72 61 | 79 22 0d 73 65 74 20 74 |cago Gra|y".set t|
|00004310| 68 65 20 74 65 78 74 46 | 6f 6e 74 20 6f 66 20 62 |he textF|ont of b|
|00004320| 67 20 62 74 6e 20 22 44 | 65 6c 65 74 65 22 20 20 |g btn "D|elete" |
|00004330| 20 74 6f 20 22 43 68 69 | 63 61 67 6f 20 47 72 61 | to "Chi|cago Gra|
|00004340| 79 22 0d 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |y".set t|he name |
|00004350| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 36 32 20 |of bg bt|n id 62 |
|00004360| 74 6f 20 22 53 65 74 c9 | 22 0d 65 6c 73 65 0d 73 |to "Set.|".else.s|
|00004370| 65 74 20 74 68 65 20 74 | 65 78 74 46 6f 6e 74 20 |et the t|extFont |
|00004380| 6f 66 20 62 67 20 62 74 | 6e 20 22 52 65 63 65 69 |of bg bt|n "Recei|
|00004390| 76 65 c9 22 20 74 6f 20 | 22 43 68 69 63 61 67 6f |ve." to |"Chicago|
|000043a0| 22 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 46 6f |".set th|e textFo|
|000043b0| 6e 74 20 6f 66 20 62 67 | 20 62 74 6e 20 22 44 69 |nt of bg| btn "Di|
|000043c0| 73 70 6c 61 79 22 20 20 | 74 6f 20 22 43 68 69 63 |splay" |to "Chic|
|000043d0| 61 67 6f 22 0d 73 65 74 | 20 74 68 65 20 74 65 78 |ago".set| the tex|
|000043e0| 74 46 6f 6e 74 20 6f 66 | 20 62 67 20 62 74 6e 20 |tFont of| bg btn |
|000043f0| 22 44 65 6c 65 74 65 22 | 20 20 20 74 6f 20 22 43 |"Delete"| to "C|
|00004400| 68 69 63 61 67 6f 22 0d | 69 66 20 74 68 65 20 73 |hicago".|if the s|
|00004410| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 62 67 20 |hort nam|e of bg |
|00004420| 62 74 6e 20 69 64 20 36 | 32 20 69 73 20 6e 6f 74 |btn id 6|2 is not|
|00004430| 20 22 53 65 74 22 20 2d | 2d 20 73 6f 20 73 65 6c | "Set" -|- so sel|
|00004440| 65 63 74 69 6f 6e 20 77 | 6f 6e 27 74 20 66 6c 61 |ection w|on't fla|
|00004450| 73 68 0d 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |sh.then |set the |
|00004460| 6e 61 6d 65 20 6f 66 20 | 62 67 20 62 74 6e 20 69 |name of |bg btn i|
|00004470| 64 20 36 32 20 74 6f 20 | 22 53 65 74 22 0d 69 66 |d 62 to |"Set".if|
|00004480| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 62 67 20 66 | visible| of bg f|
|00004490| 6c 64 20 22 46 75 6c 6c | 20 44 69 72 22 0d 74 68 |ld "Full| Dir".th|
|000044a0| 65 6e 20 67 65 74 20 22 | 46 75 6c 6c 20 44 69 72 |en get "|Full Dir|
|000044b0| 22 20 65 6c 73 65 20 67 | 65 74 20 22 44 69 72 20 |" else g|et "Dir |
|000044c0| 4c 69 73 74 22 0d 73 65 | 6c 65 63 74 6c 69 6e 65 |List".se|lectline|
|000044d0| 58 43 4d 44 20 22 62 6b | 67 20 66 6c 64 22 20 26 |XCMD "bk|g fld" &|
|000044e0| 26 20 71 75 6f 74 65 20 | 26 20 69 74 20 26 20 71 |& quote |& it & q|
|000044f0| 75 6f 74 65 2c 20 73 4c | 69 6e 65 0d 65 6e 64 20 |uote, sL|ine.end |
|00004500| 69 66 0d 0d 67 65 74 20 | 74 68 65 20 6e 75 6d 62 |if..get |the numb|
|00004510| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 64 |er of li|nes in d|
|00004520| 69 61 67 54 78 74 0d 69 | 66 20 69 74 20 3e 20 31 |iagTxt.i|f it > 1|
|00004530| 36 20 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6c 69 |6 then d|elete li|
|00004540| 6e 65 20 6f 6e 65 20 74 | 6f 20 69 74 20 2d 20 31 |ne one t|o it - 1|
|00004550| 36 20 6f 66 20 64 69 61 | 67 54 78 74 0d 65 6e 64 |6 of dia|gTxt.end|
|00004560| 20 69 64 6c 65 0d 0d 2d | 2d 20 48 61 6e 64 6c 65 | idle..-|- Handle|
|00004570| 20 63 68 61 6e 67 65 73 | 20 69 6e 20 74 68 65 20 | changes| in the |
|00004580| 63 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 73 |communic|ations s|
|00004590| 74 61 74 65 0d 6f 6e 20 | 63 68 65 63 6b 53 74 61 |tate.on |checkSta|
|000045a0| 74 65 20 74 68 65 53 74 | 61 74 65 0d 67 6c 6f 62 |te theSt|ate.glob|
|000045b0| 61 6c 20 63 6f 6e 6e 49 | 44 2c 20 73 4c 69 6e 65 |al connI|D, sLine|
|000045c0| 2c 20 64 69 61 67 54 78 | 74 2c 20 64 69 61 67 53 |, diagTx|t, diagS|
|000045d0| 63 72 6f 6c 6c 2c 20 70 | 61 72 74 4c 69 6e 65 0d |croll, p|artLine.|
|000045e0| 0d 69 66 20 74 68 65 53 | 74 61 74 65 20 3d 20 62 |.if theS|tate = b|
|000045f0| 67 20 66 6c 64 20 22 53 | 74 61 74 65 22 20 74 68 |g fld "S|tate" th|
|00004600| 65 6e 20 65 78 69 74 20 | 63 68 65 63 6b 53 74 61 |en exit |checkSta|
|00004610| 74 65 20 2d 2d 20 6e 6f | 20 73 74 61 74 75 73 20 |te -- no| status |
|00004620| 63 68 61 6e 67 65 0d 6c | 6f 63 6b 20 73 63 72 65 |change.l|ock scre|
|00004630| 65 6e 0d 0d 69 66 20 74 | 68 65 53 74 61 74 65 20 |en..if t|heState |
|00004640| 69 73 20 22 6e 6f 20 63 | 6f 6e 6e 65 63 74 69 6f |is "no c|onnectio|
|00004650| 6e 22 20 74 68 65 6e 0d | 70 75 74 20 65 6d 70 74 |n" then.|put empt|
|00004660| 79 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 22 44 |y into b|g fld "D|
|00004670| 69 72 20 4c 69 73 74 22 | 0d 70 75 74 20 65 6d 70 |ir List"|.put emp|
|00004680| 74 79 20 69 6e 74 6f 20 | 62 67 20 66 6c 64 20 22 |ty into |bg fld "|
|00004690| 46 75 6c 6c 20 44 69 72 | 22 0d 70 75 74 20 65 6d |Full Dir|".put em|
|000046a0| 70 74 79 20 69 6e 74 6f | 20 62 67 20 66 6c 64 20 |pty into| bg fld |
|000046b0| 22 50 61 74 68 22 0d 70 | 75 74 20 65 6d 70 74 79 |"Path".p|ut empty|
|000046c0| 20 69 6e 74 6f 20 62 67 | 20 66 6c 64 20 22 44 69 | into bg| fld "Di|
|000046d0| 61 67 22 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |ag".put |empty in|
|000046e0| 74 6f 20 64 69 61 67 53 | 63 72 6f 6c 6c 0d 70 75 |to diagS|croll.pu|
|000046f0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 70 61 72 |t empty |into par|
|00004700| 74 4c 69 6e 65 0d 70 75 | 74 20 7a 65 72 6f 20 69 |tLine.pu|t zero i|
|00004710| 6e 74 6f 20 73 4c 69 6e | 65 0d 0d 73 65 74 20 74 |nto sLin|e..set t|
|00004720| 68 65 20 6e 61 6d 65 20 | 6f 66 20 62 67 20 62 74 |he name |of bg bt|
|00004730| 6e 20 69 64 20 32 39 20 | 74 6f 20 22 43 6f 6e 6e |n id 29 |to "Conn|
|00004740| 65 63 74 22 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |ect".set| the loc|
|00004750| 6b 54 65 78 74 20 6f 66 | 20 62 67 20 66 6c 64 20 |kText of| bg fld |
|00004760| 22 48 6f 73 74 20 4e 61 | 6d 65 22 20 20 74 6f 20 |"Host Na|me" to |
|00004770| 66 61 6c 73 65 0d 73 65 | 74 20 74 68 65 20 76 69 |false.se|t the vi|
|00004780| 73 69 62 6c 65 20 20 6f | 66 20 62 67 20 62 74 6e |sible o|f bg btn|
|00004790| 20 22 48 69 64 65 20 58 | 66 65 72 73 22 20 74 6f | "Hide X|fers" to|
|000047a0| 20 74 72 75 65 0d 0d 73 | 65 74 20 74 68 65 20 74 | true..s|et the t|
|000047b0| 65 78 74 46 6f 6e 74 20 | 6f 66 20 62 67 20 62 74 |extFont |of bg bt|
|000047c0| 6e 20 22 53 65 6e 64 c9 | 22 20 20 20 20 74 6f 20 |n "Send.|" to |
|000047d0| 22 43 68 69 63 61 67 6f | 20 47 72 61 79 22 0d 73 |"Chicago| Gray".s|
|000047e0| 65 74 20 74 68 65 20 74 | 65 78 74 46 6f 6e 74 20 |et the t|extFont |
|000047f0| 6f 66 20 62 67 20 62 74 | 6e 20 22 52 65 63 65 69 |of bg bt|n "Recei|
|00004800| 76 65 c9 22 20 74 6f 20 | 22 43 68 69 63 61 67 6f |ve." to |"Chicago|
|00004810| 20 47 72 61 79 22 0d 73 | 65 74 20 74 68 65 20 74 | Gray".s|et the t|
|00004820| 65 78 74 46 6f 6e 74 20 | 6f 66 20 62 67 20 62 74 |extFont |of bg bt|
|00004830| 6e 20 22 44 69 73 70 6c | 61 79 22 20 20 74 6f 20 |n "Displ|ay" to |
|00004840| 22 43 68 69 63 61 67 6f | 20 47 72 61 79 22 0d 73 |"Chicago| Gray".s|
|00004850| 65 74 20 74 68 65 20 74 | 65 78 74 46 6f 6e 74 20 |et the t|extFont |
|00004860| 6f 66 20 62 67 20 62 74 | 6e 20 22 44 65 6c 65 74 |of bg bt|n "Delet|
|00004870| 65 22 20 20 20 74 6f 20 | 22 43 68 69 63 61 67 6f |e" to |"Chicago|
|00004880| 20 47 72 61 79 22 0d 73 | 65 74 20 74 68 65 20 74 | Gray".s|et the t|
|00004890| 65 78 74 46 6f 6e 74 20 | 6f 66 20 62 67 20 62 74 |extFont |of bg bt|
|000048a0| 6e 20 69 64 20 36 32 20 | 20 20 20 20 20 74 6f 20 |n id 62 | to |
|000048b0| 22 43 68 69 63 61 67 6f | 20 47 72 61 79 22 20 2d |"Chicago| Gray" -|
|000048c0| 2d 20 22 53 65 74 22 0d | 73 65 74 20 74 68 65 20 |- "Set".|set the |
|000048d0| 74 65 78 74 46 6f 6e 74 | 20 6f 66 20 62 67 20 62 |textFont| of bg b|
|000048e0| 74 6e 20 22 43 72 65 61 | 74 65 c9 22 20 20 74 6f |tn "Crea|te." to|
|000048f0| 20 22 43 68 69 63 61 67 | 6f 20 47 72 61 79 22 0d | "Chicag|o Gray".|
|00004900| 73 65 74 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 |set the |icon of |
|00004910| 62 67 20 62 74 6e 20 22 | 50 61 72 65 6e 74 20 44 |bg btn "|Parent D|
|00004920| 69 72 22 20 74 6f 20 22 | 53 6d 6c 20 55 70 20 41 |ir" to "|Sml Up A|
|00004930| 72 72 6f 77 20 47 72 61 | 79 22 0d 65 6c 73 65 0d |rrow Gra|y".else.|
|00004940| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 54 65 78 74 |set the |lockText|
|00004950| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 48 6f 73 74 | of bg f|ld "Host|
|00004960| 20 4e 61 6d 65 22 20 74 | 6f 20 74 72 75 65 0d 65 | Name" t|o true.e|
|00004970| 6e 64 20 69 66 0d 0d 69 | 66 20 74 68 65 53 74 61 |nd if..i|f theSta|
|00004980| 74 65 20 69 73 20 22 65 | 73 74 61 62 6c 69 73 68 |te is "e|stablish|
|00004990| 65 64 22 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |ed" then|.set the|
|000049a0| 20 6e 61 6d 65 20 6f 66 | 20 62 67 20 62 74 6e 20 | name of| bg btn |
|000049b0| 69 64 20 32 39 20 74 6f | 20 22 44 69 73 63 6f 6e |id 29 to| "Discon|
|000049c0| 6e 65 63 74 22 0d 73 65 | 74 20 74 68 65 20 76 69 |nect".se|t the vi|
|000049d0| 73 69 62 6c 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |sible of| bg btn |
|000049e0| 22 48 69 64 65 20 58 66 | 65 72 73 22 20 74 6f 20 |"Hide Xf|ers" to |
|000049f0| 66 61 6c 73 65 0d 0d 73 | 65 74 20 74 68 65 20 74 |false..s|et the t|
|00004a00| 65 78 74 46 6f 6e 74 20 | 6f 66 20 62 67 20 62 74 |extFont |of bg bt|
|00004a10| 6e 20 22 53 65 6e 64 c9 | 22 20 20 20 74 6f 20 22 |n "Send.|" to "|
|00004a20| 43 68 69 63 61 67 6f 22 | 0d 73 65 74 20 74 68 65 |Chicago"|.set the|
|00004a30| 20 74 65 78 74 46 6f 6e | 74 20 6f 66 20 62 67 20 | textFon|t of bg |
|00004a40| 62 74 6e 20 69 64 20 36 | 32 20 20 20 20 20 74 6f |btn id 6|2 to|
|00004a50| 20 22 43 68 69 63 61 67 | 6f 22 20 2d 2d 20 22 53 | "Chicag|o" -- "S|
|00004a60| 65 74 22 0d 73 65 74 20 | 74 68 65 20 74 65 78 74 |et".set |the text|
|00004a70| 46 6f 6e 74 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |Font of |bg btn "|
|00004a80| 43 72 65 61 74 65 c9 22 | 20 74 6f 20 22 43 68 69 |Create."| to "Chi|
|00004a90| 63 61 67 6f 22 0d 73 65 | 74 20 74 68 65 20 69 63 |cago".se|t the ic|
|00004aa0| 6f 6e 20 6f 66 20 62 67 | 20 62 74 6e 20 22 50 61 |on of bg| btn "Pa|
|00004ab0| 72 65 6e 74 20 44 69 72 | 22 20 74 6f 20 22 53 6d |rent Dir|" to "Sm|
|00004ac0| 6c 20 55 70 20 41 72 72 | 6f 77 22 0d 65 6e 64 20 |l Up Arr|ow".end |
|00004ad0| 69 66 0d 0d 69 66 20 74 | 68 65 53 74 61 74 65 20 |if..if t|heState |
|00004ae0| 63 6f 6e 74 61 69 6e 73 | 20 22 63 6c 6f 73 65 22 |contains| "close"|
|00004af0| 20 74 68 65 6e 0d 54 43 | 50 43 6c 6f 73 65 20 63 | then.TC|PClose c|
|00004b00| 6f 6e 6e 49 44 0d 54 43 | 50 52 65 6c 65 61 73 65 |onnID.TC|PRelease|
|00004b10| 20 63 6f 6e 6e 49 44 0d | 70 75 74 20 65 6d 70 74 | connID.|put empt|
|00004b20| 79 20 69 6e 74 6f 20 63 | 6f 6e 6e 49 44 0d 65 6e |y into c|onnID.en|
|00004b30| 64 20 69 66 0d 0d 69 66 | 20 74 68 65 53 74 61 74 |d if..if| theStat|
|00004b40| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 77 61 69 74 |e contai|ns "wait|
|00004b50| 69 6e 67 22 0d 74 68 65 | 6e 20 73 65 74 20 74 68 |ing".the|n set th|
|00004b60| 65 20 6e 61 6d 65 20 6f | 66 20 62 67 20 62 74 6e |e name o|f bg btn|
|00004b70| 20 69 64 20 32 39 20 74 | 6f 20 22 44 69 73 63 6f | id 29 t|o "Disco|
|00004b80| 6e 6e 65 63 74 22 0d 0d | 70 75 74 20 74 68 65 53 |nnect"..|put theS|
|00004b90| 74 61 74 65 20 69 6e 74 | 6f 20 62 67 20 66 6c 64 |tate int|o bg fld|
|00004ba0| 20 22 53 74 61 74 65 22 | 0d 75 6e 6c 6f 63 6b 20 | "State"|.unlock |
|00004bb0| 73 63 72 65 65 6e 0d 65 | 6e 64 20 63 68 65 63 6b |screen.e|nd check|
|00004bc0| 53 74 61 74 65 0d 0d 2d | 2d 20 49 6e 69 74 69 61 |State..-|- Initia|
|00004bd0| 6c 69 7a 65 20 76 61 72 | 69 6f 75 73 20 74 68 69 |lize var|ious thi|
|00004be0| 6e 67 73 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |ngs.on o|penStack|
|00004bf0| 0d 67 6c 6f 62 61 6c 20 | 63 6f 6e 6e 49 44 2c 20 |.global |connID, |
|00004c00| 64 61 74 61 49 44 2c 20 | 70 61 72 74 4c 69 6e 65 |dataID, |partLine|
|00004c10| 0d 0d 69 66 20 74 68 65 | 20 76 65 72 73 69 6f 6e |..if the| version|
|00004c20| 20 3c 20 31 2e 32 20 74 | 68 65 6e 20 2d 2d 20 63 | < 1.2 t|hen -- c|
|00004c30| 68 65 63 6b 20 74 68 65 | 20 48 79 70 65 72 43 61 |heck the| HyperCa|
|00004c40| 72 64 20 76 65 72 73 69 | 6f 6e 0d 61 6e 73 77 65 |rd versi|on.answe|
|00004c50| 72 20 22 59 6f 75 20 6d | 75 73 74 20 68 61 76 65 |r "You m|ust have|
|00004c60| 20 48 79 70 65 72 43 61 | 72 64 20 76 65 72 73 69 | HyperCa|rd versi|
|00004c70| 6f 6e 20 31 2e 32 20 6f | 72 20 6c 61 74 65 72 2e |on 1.2 o|r later.|
|00004c80| 22 0d 67 6f 20 62 61 63 | 6b 0d 65 78 69 74 20 6f |".go bac|k.exit o|
|00004c90| 70 65 6e 53 74 61 63 6b | 0d 65 6e 64 20 69 66 0d |penStack|.end if.|
|00004ca0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 75 74 |.lock sc|reen.put|
|00004cb0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 63 6f 6e 6e | empty i|nto conn|
|00004cc0| 49 44 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |ID.put e|mpty int|
|00004cd0| 6f 20 64 61 74 61 49 44 | 0d 70 75 74 20 65 6d 70 |o dataID|.put emp|
|00004ce0| 74 79 20 69 6e 74 6f 20 | 70 61 72 74 4c 69 6e 65 |ty into |partLine|
|00004cf0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00004d00| 62 67 20 66 6c 64 20 22 | 53 74 61 74 65 22 20 2d |bg fld "|State" -|
|00004d10| 2d 20 73 65 74 20 22 6e | 6f 20 63 6f 6e 6e 65 63 |- set "n|o connec|
|00004d20| 74 69 6f 6e 22 20 73 74 | 61 74 65 20 6f 6e 20 69 |tion" st|ate on i|
|00004d30| 64 6c 65 0d 70 75 74 20 | 22 41 53 43 49 49 22 20 |dle.put |"ASCII" |
|00004d40| 69 6e 74 6f 20 62 67 20 | 66 6c 64 20 22 4d 6f 64 |into bg |fld "Mod|
|00004d50| 65 22 20 2d 2d 20 64 65 | 66 61 75 6c 74 20 74 6f |e" -- de|fault to|
|00004d60| 20 41 53 43 49 49 20 78 | 66 65 72 20 6d 6f 64 65 | ASCII x|fer mode|
|00004d70| 0d 0d 69 66 20 69 74 65 | 6d 20 32 20 6f 66 20 74 |..if ite|m 2 of t|
|00004d80| 68 65 20 6c 6f 63 20 6f | 66 20 63 61 72 64 20 77 |he loc o|f card w|
|00004d90| 69 6e 64 6f 77 20 b2 20 | 32 30 20 74 68 65 6e 20 |indow . |20 then |
|00004da0| 68 69 64 65 20 6d 65 6e | 75 42 61 72 0d 68 69 64 |hide men|uBar.hid|
|00004db0| 65 20 6d 73 67 20 62 6f | 78 0d 65 6e 64 20 6f 70 |e msg bo|x.end op|
|00004dc0| 65 6e 53 74 61 63 6b 0d | 0d 2d 2d 20 46 69 6e 69 |enStack.|.-- Fini|
|00004dd0| 73 68 20 75 70 20 76 61 | 72 69 6f 75 73 20 74 68 |sh up va|rious th|
|00004de0| 69 6e 67 73 0d 6f 6e 20 | 63 6c 6f 73 65 53 74 61 |ings.on |closeSta|
|00004df0| 63 6b 0d 67 6c 6f 62 61 | 6c 20 63 6f 6e 6e 49 44 |ck.globa|l connID|
|00004e00| 2c 20 64 61 74 61 49 44 | 0d 0d 69 66 20 63 6f 6e |, dataID|..if con|
|00004e10| 6e 49 44 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |nID is n|ot empty|
|00004e20| 20 74 68 65 6e 0d 54 43 | 50 52 65 6c 65 61 73 65 | then.TC|PRelease|
|00004e30| 20 63 6f 6e 6e 49 44 0d | 70 75 74 20 65 6d 70 74 | connID.|put empt|
|00004e40| 79 20 69 6e 74 6f 20 63 | 6f 6e 6e 49 44 0d 65 6e |y into c|onnID.en|
|00004e50| 64 20 69 66 0d 0d 69 66 | 20 64 61 74 61 49 44 20 |d if..if| dataID |
|00004e60| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00004e70| 6e 0d 54 43 50 52 65 6c | 65 61 73 65 20 64 61 74 |n.TCPRel|ease dat|
|00004e80| 61 49 44 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |aID.put |empty in|
|00004e90| 74 6f 20 64 61 74 61 49 | 44 0d 65 6e 64 20 69 66 |to dataI|D.end if|
|00004ea0| 0d 0d 69 66 20 74 68 65 | 20 66 72 65 65 53 69 7a |..if the| freeSiz|
|00004eb0| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00004ec0| b3 20 34 30 39 36 30 20 | 74 68 65 6e 20 2d 2d 20 |. 40960 |then -- |
|00004ed0| 34 30 4b 20 66 72 65 65 | 20 73 70 61 63 65 3f 0d |40K free| space?.|
|00004ee0| 64 69 61 67 4d 73 67 20 | 22 43 6f 6d 70 61 63 74 |diagMsg |"Compact|
|00004ef0| 69 6e 67 20 74 68 65 20 | 73 74 61 63 6b c9 22 0d |ing the |stack.".|
|00004f00| 70 75 74 20 74 68 65 20 | 75 73 65 72 4c 65 76 65 |put the |userLeve|
|00004f10| 6c 20 69 6e 74 6f 20 73 | 61 76 65 4c 65 76 65 6c |l into s|aveLevel|
|00004f20| 0d 69 66 20 73 61 76 65 | 4c 65 76 65 6c 20 3c 20 |.if save|Level < |
|00004f30| 33 20 74 68 65 6e 20 73 | 65 74 20 74 68 65 20 75 |3 then s|et the u|
|00004f40| 73 65 72 4c 65 76 65 6c | 20 74 6f 20 33 0d 73 65 |serLevel| to 3.se|
|00004f50| 6e 64 20 22 64 6f 4d 65 | 6e 75 20 43 6f 6d 70 61 |nd "doMe|nu Compa|
|00004f60| 63 74 20 53 74 61 63 6b | 22 20 74 6f 20 48 79 70 |ct Stack|" to Hyp|
|00004f70| 65 72 43 61 72 64 0d 73 | 65 74 20 74 68 65 20 75 |erCard.s|et the u|
|00004f80| 73 65 72 4c 65 76 65 6c | 20 74 6f 20 73 61 76 65 |serLevel| to save|
|00004f90| 4c 65 76 65 6c 0d 65 6e | 64 20 69 66 0d 0d 73 68 |Level.en|d if..sh|
|00004fa0| 6f 77 20 6d 65 6e 75 42 | 61 72 20 2d 2d 20 72 65 |ow menuB|ar -- re|
|00004fb0| 73 74 6f 72 65 20 74 68 | 65 20 6d 65 6e 75 42 61 |store th|e menuBa|
|00004fc0| 72 20 69 6e 20 63 61 73 | 65 20 77 65 20 68 69 64 |r in cas|e we hid|
|00004fd0| 20 69 74 0d 65 6e 64 20 | 63 6c 6f 73 65 53 74 61 | it.end |closeSta|
|00004fe0| 63 6b 0d 0d 2d 2d 20 4f | 70 65 6e 20 61 20 64 61 |ck..-- O|pen a da|
|00004ff0| 74 61 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 66 6f |ta conne|ction fo|
|00005000| 72 20 74 72 61 6e 73 66 | 65 72 72 69 6e 67 20 61 |r transf|erring a|
|00005010| 20 66 69 6c 65 2e 0d 2d | 2d 20 54 65 6c 6c 73 20 | file..-|- Tells |
|00005020| 74 68 65 20 68 6f 73 74 | 20 74 68 65 20 64 61 74 |the host| the dat|
|00005030| 61 20 63 6f 6e 6e 2e 20 | 70 6f 72 74 20 61 64 64 |a conn. |port add|
|00005040| 72 65 73 73 20 61 6e 64 | 20 74 68 65 20 74 72 61 |ress and| the tra|
|00005050| 6e 73 66 65 72 20 74 79 | 70 65 2e 0d 2d 2d 20 54 |nsfer ty|pe..-- T|
|00005060| 68 65 20 74 79 70 65 20 | 63 6f 64 65 20 69 73 20 |he type |code is |
|00005070| 22 41 22 28 41 53 43 49 | 49 29 2c 20 22 49 22 28 |"A"(ASCI|I), "I"(|
|00005080| 69 6d 61 67 65 29 2c 20 | 22 4d 22 28 4d 61 63 42 |image), |"M"(MacB|
|00005090| 69 6e 61 72 79 29 2c 20 | 22 48 22 28 42 69 6e 48 |inary), |"H"(BinH|
|000050a0| 65 78 29 0d 6f 6e 20 6f | 70 65 6e 44 61 74 61 20 |ex).on o|penData |
|000050b0| 74 79 70 65 43 6f 64 65 | 0d 67 6c 6f 62 61 6c 20 |typeCode|.global |
|000050c0| 64 61 74 61 49 44 0d 0d | 2d 2d 20 4d 61 63 42 69 |dataID..|-- MacBi|
|000050d0| 6e 61 72 79 20 3d 20 42 | 69 6e 61 72 79 20 61 6e |nary = B|inary an|
|000050e0| 64 20 42 69 6e 48 65 78 | 20 3d 20 41 53 43 49 49 |d BinHex| = ASCII|
|000050f0| 20 66 6f 72 20 6f 75 72 | 20 70 75 72 70 6f 73 65 | for our| purpose|
|00005100| 73 20 68 65 72 65 3a 0d | 69 66 20 74 79 70 65 43 |s here:.|if typeC|
|00005110| 6f 64 65 20 69 73 20 22 | 4d 22 20 74 68 65 6e 20 |ode is "|M" then |
|00005120| 70 75 74 20 22 49 22 20 | 69 6e 74 6f 20 74 79 70 |put "I" |into typ|
|00005130| 65 43 6f 64 65 0d 65 6c | 73 65 20 69 66 20 74 79 |eCode.el|se if ty|
|00005140| 70 65 43 6f 64 65 20 69 | 73 20 22 48 22 20 74 68 |peCode i|s "H" th|
|00005150| 65 6e 20 70 75 74 20 22 | 41 22 20 69 6e 74 6f 20 |en put "|A" into |
|00005160| 74 79 70 65 43 6f 64 65 | 0d 0d 2d 2d 20 4d 61 6b |typeCode|..-- Mak|
|00005170| 65 20 73 75 72 65 20 61 | 6e 79 20 70 72 65 76 69 |e sure a|ny previ|
|00005180| 6f 75 73 20 64 61 74 61 | 20 63 6f 6e 6e 65 63 74 |ous data| connect|
|00005190| 69 6f 6e 20 69 73 20 72 | 65 6c 65 61 73 65 64 0d |ion is r|eleased.|
|000051a0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 64 61 74 |repeat u|ntil dat|
|000051b0| 61 49 44 20 69 73 20 65 | 6d 70 74 79 0d 69 64 6c |aID is e|mpty.idl|
|000051c0| 65 43 75 72 73 6f 72 0d | 69 64 6c 65 0d 65 6e 64 |eCursor.|idle.end|
|000051d0| 20 72 65 70 65 61 74 0d | 0d 70 75 74 20 54 43 50 | repeat.|.put TCP|
|000051e0| 50 61 73 73 69 76 65 4f | 70 65 6e 28 20 30 2c 20 |PassiveO|pen( 0, |
|000051f0| 30 2c 20 30 20 29 20 69 | 6e 74 6f 20 64 61 74 61 |0, 0 ) i|nto data|
|00005200| 49 44 20 2d 2d 20 63 72 | 65 61 74 65 20 61 20 6e |ID -- cr|eate a n|
|00005210| 65 77 20 64 61 74 61 20 | 63 6f 6e 6e 2e 0d 0d 69 |ew data |conn...i|
|00005220| 66 20 64 61 74 61 49 44 | 20 63 6f 6e 74 61 69 6e |f dataID| contain|
|00005230| 73 20 22 66 61 69 6c 22 | 20 74 68 65 6e 0d 64 69 |s "fail"| then.di|
|00005240| 61 67 4d 73 67 20 64 61 | 74 61 49 44 20 2d 2d 20 |agMsg da|taID -- |
|00005250| 64 69 73 70 6c 61 79 20 | 74 68 65 20 65 72 72 6f |display |the erro|
|00005260| 72 20 6d 73 67 0d 70 75 | 74 20 65 6d 70 74 79 20 |r msg.pu|t empty |
|00005270| 69 6e 74 6f 20 64 61 74 | 61 49 44 0d 65 78 69 74 |into dat|aID.exit|
|00005280| 20 74 6f 20 48 79 70 65 | 72 43 61 72 64 20 2d 2d | to Hype|rCard --|
|00005290| 20 64 6f 6e 27 74 20 63 | 6f 6e 74 69 6e 75 65 20 | don't c|ontinue |
|000052a0| 77 69 74 68 20 66 69 6c | 65 20 74 72 61 6e 73 66 |with fil|e transf|
|000052b0| 65 72 0d 65 6e 64 20 69 | 66 0d 0d 77 61 69 74 20 |er.end i|f..wait |
|000052c0| 75 6e 74 69 6c 20 54 43 | 50 53 74 61 74 65 28 20 |until TC|PState( |
|000052d0| 64 61 74 61 49 44 20 29 | 20 63 6f 6e 74 61 69 6e |dataID )| contain|
|000052e0| 73 20 22 77 61 69 74 69 | 6e 67 22 20 2d 2d 20 68 |s "waiti|ng" -- h|
|000052f0| 61 70 70 65 6e 73 20 61 | 73 79 6e 63 68 2e 0d 0d |appens a|synch...|
|00005300| 73 65 6e 64 4c 69 6e 65 | 20 22 50 4f 52 54 22 20 |sendLine| "PORT" |
|00005310| 26 26 20 54 43 50 47 65 | 74 41 64 64 72 28 20 64 |&& TCPGe|tAddr( d|
|00005320| 61 74 61 49 44 2c 20 22 | 6c 6f 63 61 6c 22 20 29 |ataID, "|local" )|
|00005330| 20 2d 2d 20 67 65 74 20 | 6c 6f 63 61 6c 20 61 64 | -- get |local ad|
|00005340| 64 72 65 73 73 0d 70 75 | 74 20 63 68 61 72 20 31 |dress.pu|t char 1|
|00005350| 20 6f 66 20 67 65 74 4c | 69 6e 65 28 29 20 69 6e | of getL|ine() in|
|00005360| 74 6f 20 72 65 73 70 0d | 69 66 20 72 65 73 70 20 |to resp.|if resp |
|00005370| 69 73 20 22 32 22 20 74 | 68 65 6e 0d 73 65 6e 64 |is "2" t|hen.send|
|00005380| 4c 69 6e 65 20 22 54 59 | 50 45 22 20 26 26 20 74 |Line "TY|PE" && t|
|00005390| 79 70 65 43 6f 64 65 20 | 2d 2d 20 73 70 65 63 69 |ypeCode |-- speci|
|000053a0| 66 79 20 74 68 65 20 74 | 72 61 6e 73 66 65 72 20 |fy the t|ransfer |
|000053b0| 6d 6f 64 65 0d 70 75 74 | 20 63 68 61 72 20 31 20 |mode.put| char 1 |
|000053c0| 6f 66 20 67 65 74 4c 69 | 6e 65 28 29 20 69 6e 74 |of getLi|ne() int|
|000053d0| 6f 20 72 65 73 70 0d 0d | 69 66 20 72 65 73 70 20 |o resp..|if resp |
|000053e0| 69 73 20 22 32 22 20 61 | 6e 64 20 74 79 70 65 43 |is "2" a|nd typeC|
|000053f0| 6f 64 65 20 69 73 20 22 | 49 22 20 74 68 65 6e 0d |ode is "|I" then.|
|00005400| 73 65 6e 64 4c 69 6e 65 | 20 22 54 59 50 45 20 4c |sendLine| "TYPE L|
|00005410| 20 38 22 20 2d 2d 20 73 | 65 74 20 62 79 74 65 20 | 8" -- s|et byte |
|00005420| 6c 65 6e 67 74 68 20 74 | 6f 20 38 20 66 6f 72 20 |length t|o 8 for |
|00005430| 42 69 6e 61 72 79 0d 67 | 65 74 20 67 65 74 4c 69 |Binary.g|et getLi|
|00005440| 6e 65 28 29 20 2d 2d 20 | 69 67 6e 6f 72 65 20 74 |ne() -- |ignore t|
|00005450| 68 65 20 72 65 73 70 6f | 6e 73 65 0d 65 6e 64 20 |he respo|nse.end |
|00005460| 69 66 0d 65 6e 64 20 69 | 66 0d 0d 69 66 20 72 65 |if.end i|f..if re|
|00005470| 73 70 20 69 73 20 6e 6f | 74 20 22 32 22 20 74 68 |sp is no|t "2" th|
|00005480| 65 6e 0d 62 65 65 70 0d | 54 43 50 43 6c 6f 73 65 |en.beep.|TCPClose|
|00005490| 20 64 61 74 61 49 44 0d | 65 78 69 74 20 74 6f 20 | dataID.|exit to |
|000054a0| 48 79 70 65 72 43 61 72 | 64 20 2d 2d 20 64 6f 6e |HyperCar|d -- don|
|000054b0| 27 74 20 63 6f 6e 74 69 | 6e 75 65 20 77 69 74 68 |'t conti|nue with|
|000054c0| 20 66 69 6c 65 20 74 72 | 61 6e 73 66 65 72 0d 65 | file tr|ansfer.e|
|000054d0| 6e 64 20 69 66 0d 65 6e | 64 20 6f 70 65 6e 44 61 |nd if.en|d openDa|
|000054e0| 74 61 0d 0d 2d 2d 20 43 | 61 6c 6c 20 77 68 65 6e |ta..-- C|all when|
|000054f0| 20 77 65 27 72 65 20 64 | 6f 6e 65 20 77 69 74 68 | we're d|one with|
|00005500| 20 61 20 64 61 74 61 20 | 63 6f 6e 6e 65 63 74 69 | a data |connecti|
|00005510| 6f 6e 20 28 74 72 61 6e | 73 66 65 72 20 63 6f 6d |on (tran|sfer com|
|00005520| 70 6c 65 74 65 64 29 0d | 6f 6e 20 63 6c 6f 73 65 |pleted).|on close|
|00005530| 44 61 74 61 0d 67 6c 6f | 62 61 6c 20 64 61 74 61 |Data.glo|bal data|
|00005540| 49 44 0d 0d 54 43 50 43 | 6c 6f 73 65 20 64 61 74 |ID..TCPC|lose dat|
|00005550| 61 49 44 20 2d 2d 20 63 | 6c 6f 73 65 20 61 6e 64 |aID -- c|lose and|
|00005560| 20 6c 65 74 20 69 64 6c | 65 20 68 61 6e 64 6c 65 | let idl|e handle|
|00005570| 72 20 74 61 6b 65 20 63 | 61 72 65 20 6f 66 20 72 |r take c|are of r|
|00005580| 65 6c 65 61 73 65 0d 69 | 66 20 74 68 65 20 72 65 |elease.i|f the re|
|00005590| 73 75 6c 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |sult is |not empt|
|000055a0| 79 20 74 68 65 6e 20 64 | 69 61 67 4d 73 67 20 74 |y then d|iagMsg t|
|000055b0| 68 65 20 72 65 73 75 6c | 74 0d 65 6e 64 20 63 6c |he resul|t.end cl|
|000055c0| 6f 73 65 44 61 74 61 0d | 0d 2d 2d 20 48 61 6e 67 |oseData.|.-- Hang|
|000055d0| 20 6f 75 74 20 77 68 69 | 6c 65 20 74 68 65 20 64 | out whi|le the d|
|000055e0| 61 74 61 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 69 |ata conn|ection i|
|000055f0| 73 20 62 65 69 6e 67 20 | 65 73 74 61 62 6c 69 73 |s being |establis|
|00005600| 68 65 64 0d 66 75 6e 63 | 74 69 6f 6e 20 57 61 69 |hed.func|tion Wai|
|00005610| 74 46 6f 72 44 61 74 61 | 43 6f 6e 0d 67 6c 6f 62 |tForData|Con.glob|
|00005620| 61 6c 20 64 61 74 61 49 | 44 0d 0d 72 65 70 65 61 |al dataI|D..repea|
|00005630| 74 20 75 6e 74 69 6c 20 | 54 43 50 53 74 61 74 65 |t until |TCPState|
|00005640| 28 20 64 61 74 61 49 44 | 20 29 20 69 73 20 22 65 |( dataID| ) is "e|
|00005650| 73 74 61 62 6c 69 73 68 | 65 64 22 0d 69 66 20 54 |stablish|ed".if T|
|00005660| 43 50 53 74 61 74 65 28 | 20 64 61 74 61 49 44 20 |CPState(| dataID |
|00005670| 29 20 63 6f 6e 74 61 69 | 6e 73 20 22 63 6c 6f 73 |) contai|ns "clos|
|00005680| 65 22 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 66 |e" then |return f|
|00005690| 61 6c 73 65 0d 69 64 6c | 65 43 75 72 73 6f 72 0d |alse.idl|eCursor.|
|000056a0| 65 6e 64 20 72 65 70 65 | 61 74 0d 0d 72 65 74 75 |end repe|at..retu|
|000056b0| 72 6e 20 74 72 75 65 20 | 2d 2d 20 73 69 67 6e 61 |rn true |-- signa|
|000056c0| 6c 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 69 73 20 |l connec|tion is |
|000056d0| 65 73 74 61 62 6c 69 73 | 68 65 64 0d 65 6e 64 20 |establis|hed.end |
|000056e0| 57 61 69 74 46 6f 72 44 | 61 74 61 43 6f 6e 0d 0d |WaitForD|ataCon..|
|000056f0| 2d 2d 20 52 65 74 75 72 | 6e 20 61 20 6c 69 6e 65 |-- Retur|n a line|
|00005700| 20 66 72 6f 6d 20 74 68 | 65 20 63 6f 6d 6d 75 6e | from th|e commun|
|00005710| 69 63 61 74 69 6f 6e 73 | 20 63 6f 6e 6e 2e 20 31 |ications| conn. 1|
|00005720| 35 20 73 65 63 6f 6e 64 | 20 74 69 6d 65 20 6c 69 |5 second| time li|
|00005730| 6d 69 74 2e 0d 66 75 6e | 63 74 69 6f 6e 20 67 65 |mit..fun|ction ge|
|00005740| 74 4c 69 6e 65 0d 67 6c | 6f 62 61 6c 20 63 6f 6e |tLine.gl|obal con|
|00005750| 6e 49 44 0d 0d 72 65 70 | 65 61 74 20 31 35 20 74 |nID..rep|eat 15 t|
|00005760| 69 6d 65 73 0d 73 65 74 | 20 74 68 65 20 63 75 72 |imes.set| the cur|
|00005770| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 67 65 74 20 |sor to b|usy.get |
|00005780| 54 43 50 52 65 63 76 55 | 70 54 6f 28 20 63 6f 6e |TCPRecvU|pTo( con|
|00005790| 6e 49 44 2c 20 6c 69 6e | 65 66 65 65 64 2c 20 36 |nID, lin|efeed, 6|
|000057a0| 30 2c 20 65 6d 70 74 79 | 20 29 0d 69 66 20 69 74 |0, empty| ).if it|
|000057b0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|000057c0| 65 6e 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 |en exit |repeat.e|
|000057d0| 6e 64 20 72 65 70 65 61 | 74 0d 0d 64 69 61 67 4d |nd repea|t..diagM|
|000057e0| 73 67 20 69 74 20 2d 2d | 20 64 69 73 70 6c 61 79 |sg it --| display|
|000057f0| 20 74 68 65 20 6d 65 73 | 73 61 67 65 0d 72 65 74 | the mes|sage.ret|
|00005800| 75 72 6e 20 69 74 0d 65 | 6e 64 20 67 65 74 4c 69 |urn it.e|nd getLi|
|00005810| 6e 65 0d 0d 2d 2d 20 53 | 65 6e 64 20 73 6f 6d 65 |ne..-- S|end some|
|00005820| 20 74 65 78 74 20 28 77 | 69 74 68 20 72 65 74 75 | text (w|ith retu|
|00005830| 72 6e 20 26 20 6c 69 6e | 65 66 65 65 64 29 20 6f |rn & lin|efeed) o|
|00005840| 76 65 72 20 63 6f 6d 6d | 2e 20 63 6f 6e 6e 65 63 |ver comm|. connec|
|00005850| 74 69 6f 6e 0d 6f 6e 20 | 73 65 6e 64 4c 69 6e 65 |tion.on |sendLine|
|00005860| 20 74 65 78 74 0d 67 6c | 6f 62 61 6c 20 63 6f 6e | text.gl|obal con|
|00005870| 6e 49 44 0d 0d 54 43 50 | 53 65 6e 64 20 63 6f 6e |nID..TCP|Send con|
|00005880| 6e 49 44 2c 20 74 65 78 | 74 20 26 20 72 65 74 75 |nID, tex|t & retu|
|00005890| 72 6e 20 26 20 6c 69 6e | 65 66 65 65 64 0d 65 6e |rn & lin|efeed.en|
|000058a0| 64 20 73 65 6e 64 4c 69 | 6e 65 0d 0d 2d 2d 20 43 |d sendLi|ne..-- C|
|000058b0| 61 6c 6c 20 69 64 6c 65 | 43 75 72 73 6f 72 20 72 |all idle|Cursor r|
|000058c0| 65 70 65 61 74 65 64 6c | 79 20 77 68 69 6c 65 20 |epeatedl|y while |
|000058d0| 77 61 69 74 69 6e 67 20 | 66 6f 72 20 73 6f 6d 65 |waiting |for some|
|000058e0| 74 68 69 6e 67 2e 0d 6f | 6e 20 69 64 6c 65 43 75 |thing..o|n idleCu|
|000058f0| 72 73 6f 72 0d 67 6c 6f | 62 61 6c 20 6c 61 73 74 |rsor.glo|bal last|
|00005900| 54 75 72 6e 0d 0d 67 65 | 74 20 74 68 65 20 73 65 |Turn..ge|t the se|
|00005910| 63 6f 6e 64 73 0d 69 66 | 20 69 74 20 ad 20 6c 61 |conds.if| it . la|
|00005920| 73 74 54 75 72 6e 20 74 | 68 65 6e 0d 73 65 74 20 |stTurn t|hen.set |
|00005930| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |the curs|or to bu|
|00005940| 73 79 20 2d 2d 20 73 70 | 69 6e 20 74 68 65 20 62 |sy -- sp|in the b|
|00005950| 61 6c 6c 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |all.put |it into |
|00005960| 6c 61 73 74 54 75 72 6e | 0d 65 6e 64 20 69 66 0d |lastTurn|.end if.|
|00005970| 65 6e 64 20 69 64 6c 65 | 43 75 72 73 6f 72 0d 0d |end idle|Cursor..|
|00005980| 2d 2d 20 52 65 71 75 65 | 73 74 20 61 20 75 73 65 |-- Reque|st a use|
|00005990| 72 20 49 44 2e 0d 6f 6e | 20 61 73 6b 55 73 65 72 |r ID..on| askUser|
|000059a0| 0d 61 73 6b 20 22 55 73 | 65 72 20 6e 61 6d 65 3a |.ask "Us|er name:|
|000059b0| 22 20 77 69 74 68 20 22 | 61 6e 6f 6e 79 6d 6f 75 |" with "|anonymou|
|000059c0| 73 22 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |s".if it| is not |
|000059d0| 65 6d 70 74 79 20 74 68 | 65 6e 20 73 65 6e 64 4c |empty th|en sendL|
|000059e0| 69 6e 65 20 22 55 53 45 | 52 22 20 26 26 20 69 74 |ine "USE|R" && it|
|000059f0| 0d 65 6e 64 20 61 73 6b | 55 73 65 72 0d 0d 2d 2d |.end ask|User..--|
|00005a00| 20 52 65 71 75 65 73 74 | 20 61 20 75 73 65 72 20 | Request| a user |
|00005a10| 70 61 73 73 77 6f 72 64 | 0d 6f 6e 20 61 73 6b 50 |password|.on askP|
|00005a20| 61 73 73 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ass.lock| screen.|
|00005a30| 67 65 74 20 50 61 73 73 | 77 6f 72 64 28 20 22 45 |get Pass|word( "E|
|00005a40| 6e 74 65 72 20 74 68 65 | 20 70 61 73 73 77 6f 72 |nter the| passwor|
|00005a50| 64 3a 22 20 29 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |d:" ).un|lock scr|
|00005a60| 65 65 6e 0d 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |een.if i|t is not|
|00005a70| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 73 65 6e 64 | empty t|hen send|
|00005a80| 4c 69 6e 65 20 22 50 41 | 53 53 22 20 26 26 20 69 |Line "PA|SS" && i|
|00005a90| 74 0d 65 6e 64 20 61 73 | 6b 50 61 73 73 0d 0d 2d |t.end as|kPass..-|
|00005aa0| 2d 20 48 6f 73 74 20 72 | 65 71 75 65 73 74 65 64 |- Host r|equested|
|00005ab0| 20 65 6e 64 20 6f 66 20 | 73 65 73 73 69 6f 6e 0d | end of |session.|
|00005ac0| 6f 6e 20 71 75 69 74 49 | 74 0d 67 6c 6f 62 61 6c |on quitI|t.global|
|00005ad0| 20 63 6f 6e 6e 49 44 0d | 0d 54 43 50 43 6c 6f 73 | connID.|.TCPClos|
|00005ae0| 65 20 63 6f 6e 6e 49 44 | 0d 69 66 20 74 68 65 20 |e connID|.if the |
|00005af0| 72 65 73 75 6c 74 20 69 | 73 20 6e 6f 74 20 65 6d |result i|s not em|
|00005b00| 70 74 79 20 74 68 65 6e | 20 64 69 61 67 4d 73 67 |pty then| diagMsg|
|00005b10| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 65 6e 64 20 | the res|ult.end |
|00005b20| 71 75 69 74 49 74 0d 0d | 2d 2d 20 63 61 6c 6c 65 |quitIt..|-- calle|
|00005b30| 64 20 62 79 20 67 65 74 | 44 69 72 20 77 69 74 68 |d by get|Dir with|
|00005b40| 20 61 20 70 61 72 61 6d | 65 74 65 72 20 22 73 68 | a param|eter "sh|
|00005b50| 6f 72 74 22 20 6f 72 20 | 22 6c 6f 6e 67 22 2e 0d |ort" or |"long"..|
|00005b60| 2d 2d 20 22 73 68 6f 72 | 74 22 20 70 75 74 73 20 |-- "shor|t" puts |
|00005b70| 61 6e 20 4e 4c 53 54 20 | 66 69 6c 65 20 6c 69 73 |an NLST |file lis|
|00005b80| 74 20 69 6e 74 6f 20 74 | 68 65 20 66 69 65 6c 64 |t into t|he field|
|00005b90| 20 22 44 69 72 20 4c 69 | 73 74 22 2c 0d 2d 2d 20 | "Dir Li|st",.-- |
|00005ba0| 22 6c 6f 6e 67 22 20 70 | 75 74 73 20 61 20 4c 49 |"long" p|uts a LI|
|00005bb0| 53 54 20 66 69 6c 65 20 | 6c 69 73 74 20 69 6e 74 |ST file |list int|
|00005bc0| 6f 20 74 68 65 20 66 69 | 65 6c 64 20 22 46 75 6c |o the fi|eld "Ful|
|00005bd0| 6c 20 44 49 72 22 0d 6f | 6e 20 72 65 61 64 44 69 |l DIr".o|n readDi|
|00005be0| 72 20 73 68 74 4c 6e 67 | 20 2d 2d 20 73 68 74 4c |r shtLng| -- shtL|
|00005bf0| 6e 67 20 3d 20 73 68 6f | 72 74 20 6f 72 20 6c 6f |ng = sho|rt or lo|
|00005c00| 6e 67 0d 67 6c 6f 62 61 | 6c 20 64 61 74 61 49 44 |ng.globa|l dataID|
|00005c10| 0d 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |..put em|pty into|
|00005c20| 20 44 69 72 4c 69 73 74 | 0d 6f 70 65 6e 44 61 74 | DirList|.openDat|
|00005c30| 61 20 22 41 22 20 2d 2d | 20 75 73 65 20 41 53 43 |a "A" --| use ASC|
|00005c40| 49 49 20 6d 6f 64 65 20 | 74 72 61 6e 73 66 65 72 |II mode |transfer|
|00005c50| 0d 69 66 20 73 68 74 4c | 6e 67 20 69 73 20 22 6c |.if shtL|ng is "l|
|00005c60| 6f 6e 67 22 20 74 68 65 | 6e 20 73 65 6e 64 4c 69 |ong" the|n sendLi|
|00005c70| 6e 65 20 22 4c 49 53 54 | 22 20 65 6c 73 65 20 73 |ne "LIST|" else s|
|00005c80| 65 6e 64 4c 69 6e 65 20 | 22 4e 4c 53 54 22 0d 0d |endLine |"NLST"..|
|00005c90| 69 66 20 63 68 61 72 20 | 31 20 6f 66 20 67 65 74 |if char |1 of get|
|00005ca0| 4c 69 6e 65 28 29 20 69 | 73 20 22 31 22 20 74 68 |Line() i|s "1" th|
|00005cb0| 65 6e 0d 69 66 20 57 61 | 69 74 46 6f 72 44 61 74 |en.if Wa|itForDat|
|00005cc0| 61 43 6f 6e 28 29 20 74 | 68 65 6e 0d 46 54 50 78 |aCon() t|hen.FTPx|
|00005cd0| 66 65 72 20 64 61 74 61 | 49 44 2c 20 22 72 65 63 |fer data|ID, "rec|
|00005ce0| 65 69 76 65 22 2c 20 22 | 61 73 63 69 69 22 20 2d |eive", "|ascii" -|
|00005cf0| 2d 20 67 65 74 20 74 68 | 65 20 64 69 72 65 63 74 |- get th|e direct|
|00005d00| 6f 72 79 20 6c 69 73 74 | 0d 67 65 74 20 74 68 65 |ory list|.get the|
|00005d10| 20 72 65 73 75 6c 74 0d | 0d 69 66 20 63 68 61 72 | result.|.if char|
|00005d20| 20 31 20 6f 66 20 69 74 | 20 69 73 20 6e 6f 74 20 | 1 of it| is not |
|00005d30| 22 a4 22 20 74 68 65 6e | 20 70 75 74 20 69 74 20 |"." then| put it |
|00005d40| 69 6e 74 6f 20 44 69 72 | 4c 69 73 74 0d 65 6c 73 |into Dir|List.els|
|00005d50| 65 20 64 69 61 67 4d 73 | 67 20 69 74 0d 65 6e 64 |e diagMs|g it.end|
|00005d60| 20 69 66 0d 65 6e 64 20 | 69 66 0d 0d 63 6c 6f 73 | if.end |if..clos|
|00005d70| 65 44 61 74 61 20 2d 2d | 20 63 6c 6f 73 65 20 74 |eData --| close t|
|00005d80| 68 65 20 64 61 74 61 20 | 70 6f 72 74 0d 6c 6f 63 |he data |port.loc|
|00005d90| 6b 20 73 63 72 65 65 6e | 0d 69 66 20 73 68 74 4c |k screen|.if shtL|
|00005da0| 6e 67 20 69 73 20 22 6c | 6f 6e 67 22 20 74 68 65 |ng is "l|ong" the|
|00005db0| 6e 0d 67 65 74 20 6c 69 | 6e 65 20 6f 6e 65 20 6f |n.get li|ne one o|
|00005dc0| 66 20 44 69 72 4c 69 73 | 74 0d 69 66 20 77 6f 72 |f DirLis|t.if wor|
|00005dd0| 64 20 6f 6e 65 20 6f 66 | 20 69 74 20 69 73 20 22 |d one of| it is "|
|00005de0| 54 6f 74 61 6c 22 20 6f | 72 20 6f 66 66 73 65 74 |Total" o|r offset|
|00005df0| 28 20 22 3a 3c 22 2c 20 | 69 74 20 29 20 69 73 20 |( ":<", |it ) is |
|00005e00| 6e 6f 74 20 7a 65 72 6f | 0d 74 68 65 6e 20 64 65 |not zero|.then de|
|00005e10| 6c 65 74 65 20 6c 69 6e | 65 20 6f 6e 65 20 6f 66 |lete lin|e one of|
|00005e20| 20 44 69 72 4c 69 73 74 | 20 2d 2d 20 55 6e 69 78 | DirList| -- Unix|
|00005e30| 20 61 6e 64 20 54 6f 70 | 73 2d 32 30 20 61 64 64 | and Top|s-20 add|
|00005e40| 20 61 20 74 6f 70 20 6c | 69 6e 65 0d 0d 70 75 74 | a top l|ine..put|
|00005e50| 20 22 46 75 6c 6c 20 44 | 69 72 22 20 69 6e 74 6f | "Full D|ir" into|
|00005e60| 20 66 6c 64 4e 61 6d 65 | 0d 65 6c 73 65 20 70 75 | fldName|.else pu|
|00005e70| 74 20 22 44 69 72 20 4c | 69 73 74 22 20 69 6e 74 |t "Dir L|ist" int|
|00005e80| 6f 20 66 6c 64 4e 61 6d | 65 20 2d 2d 20 73 68 74 |o fldNam|e -- sht|
|00005e90| 4c 6e 67 20 69 73 20 22 | 73 68 6f 72 74 22 0d 0d |Lng is "|short"..|
|00005ea0| 67 65 74 20 6c 65 6e 67 | 74 68 28 20 44 69 72 4c |get leng|th( DirL|
|00005eb0| 69 73 74 20 29 0d 69 66 | 20 69 74 20 3e 3d 20 32 |ist ).if| it >= 2|
|00005ec0| 39 39 30 30 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |9900 the|n delete|
|00005ed0| 20 63 68 61 72 20 32 39 | 39 30 30 20 74 6f 20 69 | char 29|900 to i|
|00005ee0| 74 20 6f 66 20 44 69 72 | 4c 69 73 74 0d 70 75 74 |t of Dir|List.put|
|00005ef0| 20 44 69 72 4c 69 73 74 | 20 69 6e 74 6f 20 62 67 | DirList| into bg|
|00005f00| 20 66 6c 64 20 66 6c 64 | 4e 61 6d 65 0d 73 65 74 | fld fld|Name.set|
|00005f10| 20 74 68 65 20 73 63 72 | 6f 6c 6c 20 6f 66 20 62 | the scr|oll of b|
|00005f20| 67 20 66 6c 64 20 66 6c | 64 4e 61 6d 65 20 74 6f |g fld fl|dName to|
|00005f30| 20 7a 65 72 6f 0d 75 6e | 6c 6f 63 6b 20 73 63 72 | zero.un|lock scr|
|00005f40| 65 65 6e 0d 0d 69 66 20 | 44 69 72 4c 69 73 74 20 |een..if |DirList |
|00005f50| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005f60| 6e 20 67 65 74 20 67 65 | 74 4c 69 6e 65 28 29 20 |n get ge|tLine() |
|00005f70| 2d 2d 20 67 65 74 20 66 | 69 6e 61 6c 20 72 65 73 |-- get f|inal res|
|00005f80| 70 6f 6e 73 65 0d 65 6e | 64 20 72 65 61 64 44 69 |ponse.en|d readDi|
|00005f90| 72 0d 0d 2d 2d 20 47 65 | 74 20 61 20 6e 65 77 20 |r..-- Ge|t a new |
|00005fa0| 64 69 72 65 63 74 6f 72 | 79 20 6c 69 73 74 20 66 |director|y list f|
|00005fb0| 72 6f 6d 20 74 68 65 20 | 68 6f 73 74 2e 20 20 41 |rom the |host. A|
|00005fc0| 6c 73 6f 20 72 65 71 75 | 65 73 74 73 20 70 61 74 |lso requ|ests pat|
|00005fd0| 68 2e 0d 6f 6e 20 67 65 | 74 44 69 72 0d 67 6c 6f |h..on ge|tDir.glo|
|00005fe0| 62 61 6c 20 50 57 44 63 | 6d 64 2c 20 73 4c 69 6e |bal PWDc|md, sLin|
|00005ff0| 65 0d 0d 70 75 74 20 7a | 65 72 6f 20 69 6e 74 6f |e..put z|ero into|
|00006000| 20 73 4c 69 6e 65 20 2d | 2d 20 6e 6f 20 65 6e 74 | sLine -|- no ent|
|00006010| 72 79 20 69 73 20 73 65 | 6c 65 63 74 65 64 0d 70 |ry is se|lected.p|
|00006020| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 62 67 |ut empty| into bg|
|00006030| 20 66 6c 64 20 22 46 75 | 6c 6c 20 44 69 72 22 0d | fld "Fu|ll Dir".|
|00006040| 72 65 61 64 44 69 72 20 | 22 73 68 6f 72 74 22 0d |readDir |"short".|
|00006050| 69 66 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 67 |if visib|le of bg|
|00006060| 20 66 6c 64 20 22 46 75 | 6c 6c 20 44 69 72 22 20 | fld "Fu|ll Dir" |
|00006070| 74 68 65 6e 20 72 65 61 | 64 44 69 72 20 22 6c 6f |then rea|dDir "lo|
|00006080| 6e 67 22 0d 0d 2d 2d 20 | 55 70 64 61 74 65 20 74 |ng"..-- |Update t|
|00006090| 68 65 20 70 61 74 68 20 | 6e 61 6d 65 20 66 69 65 |he path |name fie|
|000060a0| 6c 64 3a 20 54 72 79 20 | 62 6f 74 68 20 22 50 57 |ld: Try |both "PW|
|000060b0| 44 22 20 61 6e 64 20 22 | 58 50 57 44 22 20 63 6f |D" and "|XPWD" co|
|000060c0| 6d 6d 61 6e 64 73 2e 0d | 69 66 20 50 57 44 63 6d |mmands..|if PWDcm|
|000060d0| 64 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |d is emp|ty then |
|000060e0| 70 75 74 20 22 50 57 44 | 22 20 69 6e 74 6f 20 50 |put "PWD|" into P|
|000060f0| 57 44 63 6d 64 0d 0d 72 | 65 70 65 61 74 20 32 20 |WDcmd..r|epeat 2 |
|00006100| 74 69 6d 65 73 20 2d 2d | 20 6d 61 79 20 68 61 76 |times --| may hav|
|00006110| 65 20 74 6f 20 74 72 79 | 20 62 6f 74 68 20 22 50 |e to try| both "P|
|00006120| 57 44 22 20 61 6e 64 20 | 22 58 50 57 44 22 0d 73 |WD" and |"XPWD".s|
|00006130| 65 6e 64 4c 69 6e 65 20 | 50 57 44 63 6d 64 20 2d |endLine |PWDcmd -|
|00006140| 2d 20 73 65 6e 64 20 74 | 68 65 20 63 6f 6d 6d 61 |- send t|he comma|
|00006150| 6e 64 0d 70 75 74 20 67 | 65 74 4c 69 6e 65 28 29 |nd.put g|etLine()|
|00006160| 20 69 6e 74 6f 20 70 61 | 74 68 4d 73 67 20 2d 2d | into pa|thMsg --|
|00006170| 20 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d | get the| result.|
|00006180| 0d 67 65 74 20 77 6f 72 | 64 20 31 20 6f 66 20 70 |.get wor|d 1 of p|
|00006190| 61 74 68 4d 73 67 0d 69 | 66 20 69 74 20 69 73 20 |athMsg.i|f it is |
|000061a0| 32 32 36 20 6f 72 20 69 | 74 20 69 73 20 32 35 30 |226 or i|t is 250|
|000061b0| 0d 74 68 65 6e 20 70 75 | 74 20 67 65 74 4c 69 6e |.then pu|t getLin|
|000061c0| 65 28 29 20 69 6e 74 6f | 20 70 61 74 68 4d 73 67 |e() into| pathMsg|
|000061d0| 20 2d 2d 20 73 6b 69 70 | 20 61 6e 79 20 6c 65 66 | -- skip| any lef|
|000061e0| 74 2d 6f 76 65 72 20 6d | 73 67 20 66 72 6f 6d 20 |t-over m|sg from |
|000061f0| 4e 4c 53 54 0d 0d 69 66 | 20 63 68 61 72 20 31 20 |NLST..if| char 1 |
|00006200| 6f 66 20 70 61 74 68 4d | 73 67 20 69 73 20 22 32 |of pathM|sg is "2|
|00006210| 22 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |" then e|xit repe|
|00006220| 61 74 0d 0d 69 66 20 50 | 57 44 63 6d 64 20 69 73 |at..if P|WDcmd is|
|00006230| 20 22 50 57 44 22 20 2d | 2d 20 74 72 79 20 74 68 | "PWD" -|- try th|
|00006240| 65 20 6f 74 68 65 72 20 | 63 6f 6d 6d 61 6e 64 0d |e other |command.|
|00006250| 74 68 65 6e 20 70 75 74 | 20 22 58 50 57 44 22 20 |then put| "XPWD" |
|00006260| 69 6e 74 6f 20 50 57 44 | 63 6d 64 0d 65 6c 73 65 |into PWD|cmd.else|
|00006270| 20 70 75 74 20 22 50 57 | 44 22 20 20 69 6e 74 6f | put "PW|D" into|
|00006280| 20 50 57 44 63 6d 64 0d | 65 6e 64 20 72 65 70 65 | PWDcmd.|end repe|
|00006290| 61 74 0d 0d 67 65 74 20 | 6f 66 66 73 65 74 28 20 |at..get |offset( |
|000062a0| 71 75 6f 74 65 2c 20 70 | 61 74 68 4d 73 67 20 29 |quote, p|athMsg )|
|000062b0| 20 2d 2d 20 65 78 74 72 | 61 63 74 20 74 68 65 20 | -- extr|act the |
|000062c0| 70 61 74 68 20 6e 61 6d | 65 20 28 68 6f 70 65 66 |path nam|e (hopef|
|000062d0| 75 6c 6c 79 29 0d 69 66 | 20 69 74 20 69 73 20 6e |ully).if| it is n|
|000062e0| 6f 74 20 7a 65 72 6f 20 | 74 68 65 6e 0d 64 65 6c |ot zero |then.del|
|000062f0| 65 74 65 20 63 68 61 72 | 20 31 20 74 6f 20 69 74 |ete char| 1 to it|
|00006300| 20 6f 66 20 70 61 74 68 | 4d 73 67 0d 67 65 74 20 | of path|Msg.get |
|00006310| 6f 66 66 73 65 74 28 20 | 71 75 6f 74 65 2c 20 70 |offset( |quote, p|
|00006320| 61 74 68 4d 73 67 20 29 | 0d 70 75 74 20 63 68 61 |athMsg )|.put cha|
|00006330| 72 20 31 20 74 6f 20 69 | 74 2d 31 20 6f 66 20 70 |r 1 to i|t-1 of p|
|00006340| 61 74 68 4d 73 67 20 69 | 6e 74 6f 20 62 67 20 66 |athMsg i|nto bg f|
|00006350| 6c 64 20 22 50 61 74 68 | 22 0d 65 6c 73 65 0d 70 |ld "Path|".else.p|
|00006360| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 62 67 |ut empty| into bg|
|00006370| 20 66 6c 64 20 22 50 61 | 74 68 22 20 2d 2d 20 63 | fld "Pa|th" -- c|
|00006380| 6f 75 6c 64 6e 27 74 20 | 67 65 74 20 74 68 65 20 |ouldn't |get the |
|00006390| 70 61 74 68 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |path.end| if.end |
|000063a0| 67 65 74 44 69 72 0d 0d | 2d 2d 20 48 6f 73 74 20 |getDir..|-- Host |
|000063b0| 64 69 64 6e 27 74 20 67 | 65 74 20 75 73 65 72 20 |didn't g|et user |
|000063c0| 49 44 0d 6f 6e 20 6e 6f | 55 73 65 72 0d 73 65 6e |ID.on no|User.sen|
|000063d0| 64 20 6d 6f 75 73 65 55 | 70 20 74 6f 20 62 67 20 |d mouseU|p to bg |
|000063e0| 62 74 6e 20 22 44 69 73 | 63 6f 6e 6e 65 63 74 22 |btn "Dis|connect"|
|000063f0| 0d 65 6e 64 20 6e 6f 55 | 73 65 72 0d 0d 2d 2d 20 |.end noU|ser..-- |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.