home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-01-09 | 11.3 KB | [DIRC/PTM2] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Resident Macros 1202
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Apr 17 14:27:47 1995, modified Thu Jan 9 14:32:40 1997, creator 'PTM2', type 'DIRC', 10761 bytes "Resident Macros 1202" , at 0x2a89 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| raw Group 3 FAX bitmap
| default (weak)
| |
33%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [DIRC] |
macFileCreator | [PTM2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 52 65 73 69 64 65 | 6e 74 20 4d 61 63 72 6f |..Reside|nt Macro|
|00000010| 73 20 31 32 30 32 00 00 | 00 00 00 00 00 00 00 00 |s 1202..|........|
|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 44 49 52 43 50 54 4d | 32 01 00 00 00 00 00 00 |.DIRCPTM|2.......|
|00000050| 00 00 00 00 00 2a 09 00 | 00 01 ac ab b8 63 a3 ae |.....*..|.....c..|
|00000060| fa f8 58 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..X.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3e 3c 00 00 |........|....><..|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 0d 20 | 2a 20 20 20 20 20 20 20 |******. |* |
|000000b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 0d 20 2a | | *. *|
|000000d0| 20 20 50 72 6f 54 45 52 | 4d 2f 4d 61 63 20 52 65 | ProTER|M/Mac Re|
|000000e0| 73 69 64 65 6e 74 20 4d | 61 63 72 6f 20 46 69 6c |sident M|acro Fil|
|000000f0| 65 20 20 2a 0d 20 2a 20 | 20 20 20 20 20 20 20 20 |e *. * | |
|00000100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000110| 20 20 20 20 20 20 20 20 | 20 20 2a 0d 20 2a 20 20 | | *. * |
|00000120| 20 56 65 72 73 69 6f 6e | 20 31 32 30 32 20 20 55 | Version| 1202 U|
|00000130| 70 64 61 74 65 64 20 31 | 2f 38 2f 39 37 20 20 20 |pdated 1|/8/97 |
|00000140| 20 2a 0d 20 2a 20 20 20 | 20 20 20 20 20 20 20 20 | *. * | |
|00000150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000160| 20 20 20 20 20 20 20 20 | 2a 0d 20 2a 2a 2a 2a 2a | |*. *****|
|00000170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000190| 2f 0d 0d 2f 2a 0d 54 68 | 69 73 20 66 69 6c 65 20 |/../*.Th|is file |
|000001a0| 69 73 20 70 65 72 69 6f | 64 69 63 61 6c 6c 79 20 |is perio|dically |
|000001b0| 75 70 64 61 74 65 64 20 | 62 79 20 49 6e 54 72 65 |updated |by InTre|
|000001c0| 63 20 53 6f 66 74 77 61 | 72 65 2e 20 41 73 20 73 |c Softwa|re. As s|
|000001d0| 75 63 68 2c 20 6d 6f 64 | 69 66 69 63 61 74 69 6f |uch, mod|ificatio|
|000001e0| 6e 73 20 74 6f 20 74 68 | 69 73 20 66 69 6c 65 20 |ns to th|is file |
|000001f0| 61 72 65 20 6e 6f 74 20 | 61 64 76 69 73 65 64 20 |are not |advised |
|00000200| 28 62 65 63 61 75 73 65 | 20 69 74 20 62 65 63 6f |(because| it beco|
|00000210| 6d 65 73 20 76 65 72 79 | 20 64 69 66 66 69 63 75 |mes very| difficu|
|00000220| 6c 74 20 74 6f 20 6d 6f | 76 65 20 79 6f 75 72 20 |lt to mo|ve your |
|00000230| 63 68 61 6e 67 65 73 20 | 74 6f 20 6e 65 77 20 76 |changes |to new v|
|00000240| 65 72 73 69 6f 6e 73 20 | 6f 66 20 74 68 69 73 20 |ersions |of this |
|00000250| 66 69 6c 65 29 2e 20 49 | 6e 73 74 65 61 64 2c 20 |file). I|nstead, |
|00000260| 6d 61 6b 65 20 79 6f 75 | 72 20 63 68 61 6e 67 65 |make you|r change|
|00000270| 73 20 74 6f 20 74 68 65 | 20 52 65 73 69 64 65 6e |s to the| Residen|
|00000280| 74 20 55 73 65 72 20 23 | 20 28 77 68 65 72 65 20 |t User #| (where |
|00000290| 23 20 69 73 20 61 20 6e | 75 6d 62 65 72 29 20 66 |# is a n|umber) f|
|000002a0| 69 6c 65 20 69 6e 73 74 | 65 61 64 2e 20 54 68 61 |ile inst|ead. Tha|
|000002b0| 74 20 77 61 79 2c 20 65 | 76 65 6e 20 69 66 20 79 |t way, e|ven if y|
|000002c0| 6f 75 20 67 65 74 20 61 | 6e 20 75 70 64 61 74 65 |ou get a|n update|
|000002d0| 64 20 76 65 72 73 69 6f | 6e 20 6f 66 20 52 65 73 |d versio|n of Res|
|000002e0| 69 64 65 6e 74 20 4d 61 | 63 72 6f 73 2c 20 79 6f |ident Ma|cros, yo|
|000002f0| 75 72 20 6f 77 6e 20 70 | 65 72 73 6f 6e 61 6c 20 |ur own p|ersonal |
|00000300| 6d 61 63 72 6f 73 20 72 | 65 6d 61 69 6e 20 75 6e |macros r|emain un|
|00000310| 63 68 61 6e 67 65 64 20 | 77 69 74 68 69 6e 20 74 |changed |within t|
|00000320| 68 65 20 52 65 73 69 64 | 65 6e 74 20 55 73 65 72 |he Resid|ent User|
|00000330| 20 23 20 66 69 6c 65 2e | 20 4e 6f 74 65 20 74 68 | # file.| Note th|
|00000340| 61 74 20 74 68 65 73 65 | 20 64 69 72 65 63 74 69 |at these| directi|
|00000350| 6f 6e 73 20 73 75 70 65 | 72 63 65 64 65 20 74 68 |ons supe|rcede th|
|00000360| 6f 73 65 20 67 69 76 65 | 6e 20 69 6e 20 74 68 65 |ose give|n in the|
|00000370| 20 4d 61 63 72 6f 73 20 | 63 68 61 70 74 65 72 20 | Macros |chapter |
|00000380| 6f 66 20 74 68 65 20 6d | 61 6e 75 61 6c 20 77 68 |of the m|anual wh|
|00000390| 69 63 68 20 61 64 76 69 | 73 65 73 20 63 68 61 6e |ich advi|ses chan|
|000003a0| 67 69 6e 67 20 74 68 65 | 20 52 65 73 69 64 65 6e |ging the| Residen|
|000003b0| 74 20 4d 61 63 72 6f 73 | 20 66 69 6c 65 20 64 69 |t Macros| file di|
|000003c0| 72 65 63 74 6c 79 2e 0d | 0d 54 68 65 20 52 65 73 |rectly..|.The Res|
|000003d0| 69 64 65 6e 74 20 55 73 | 65 72 20 23 20 66 69 6c |ident Us|er # fil|
|000003e0| 65 73 20 68 61 76 65 20 | 70 72 65 63 65 64 65 6e |es have |preceden|
|000003f0| 63 65 20 6f 76 65 72 20 | 74 68 65 20 52 65 73 69 |ce over |the Resi|
|00000400| 64 65 6e 74 20 4d 61 63 | 72 6f 73 20 66 69 6c 65 |dent Mac|ros file|
|00000410| 2e 20 54 68 65 72 65 66 | 6f 72 65 2c 20 69 66 20 |. Theref|ore, if |
|00000420| 79 6f 75 20 64 65 66 69 | 6e 65 20 64 75 70 6c 69 |you defi|ne dupli|
|00000430| 63 61 74 65 20 72 6f 75 | 74 69 6e 65 73 20 6f 72 |cate rou|tines or|
|00000440| 20 76 61 72 69 61 62 6c | 65 73 20 69 6e 20 74 68 | variabl|es in th|
|00000450| 65 20 52 65 73 69 64 65 | 6e 74 20 55 73 65 72 20 |e Reside|nt User |
|00000460| 23 20 66 69 6c 65 73 2c | 20 74 68 65 79 20 77 69 |# files,| they wi|
|00000470| 6c 6c 20 62 65 20 75 73 | 65 64 20 69 6e 73 74 65 |ll be us|ed inste|
|00000480| 61 64 20 6f 66 20 74 68 | 6f 73 65 20 69 6e 20 74 |ad of th|ose in t|
|00000490| 68 65 20 52 65 73 69 64 | 65 6e 74 20 4d 61 63 72 |he Resid|ent Macr|
|000004a0| 6f 73 20 66 69 6c 65 2e | 0d 2a 2f 0d 0d 2f 2f 20 |os file.|.*/..// |
|000004b0| 73 70 65 63 69 61 6c 20 | 63 6f 64 65 20 74 6f 20 |special |code to |
|000004c0| 61 6c 6c 6f 77 20 64 69 | 72 65 63 74 20 65 78 65 |allow di|rect exe|
|000004d0| 63 75 74 69 6f 6e 0d 46 | 55 4e 43 20 6d 61 69 6e |cution.F|UNC main|
|000004e0| 28 29 0d 7b 0d 20 45 58 | 54 45 52 4e 28 50 52 45 |().{. EX|TERN(PRE|
|000004f0| 46 5f 47 45 54 28 22 6d | 61 63 31 22 29 2c 6d 61 |F_GET("m|ac1"),ma|
|00000500| 69 6e 28 31 29 29 3b 0d | 20 52 45 54 55 52 4e 3b |in(1));.| RETURN;|
|00000510| 0d 7d 0d 0d 0d 2f 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.}.../**|********|
|00000520| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000530| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000540| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000550| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2f 0d 2f |********|*****/./|
|00000560| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |* | |
|00000570| 20 20 20 20 53 74 61 72 | 74 20 6f 66 20 53 74 61 | Star|t of Sta|
|00000580| 72 74 75 70 20 4d 61 63 | 72 6f 73 20 20 20 20 20 |rtup Mac|ros |
|00000590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005a0| 20 20 20 20 20 20 2a 2f | 0d 2f 2a 2a 2a 2a 2a 2a | */|./******|
|000005b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005f0| 2a 2f 0d 0d 46 55 4e 43 | 20 73 74 61 72 74 75 70 |*/..FUNC| startup|
|00000600| 28 29 0d 7b 0d 20 53 48 | 41 52 45 44 20 53 54 52 |().{. SH|ARED STR|
|00000610| 20 5f 52 4d 41 43 3b 0d | 20 5f 52 4d 41 43 20 3d | _RMAC;.| _RMAC =|
|00000620| 20 22 31 30 33 34 22 3b | 20 20 20 20 20 20 20 20 | "1034";| |
|00000630| 20 20 20 20 20 20 20 20 | 2f 2f 20 64 6f 6e 27 74 | |// don't|
|00000640| 20 72 65 6d 6f 76 65 20 | 74 68 69 73 20 2f 2f 0d | remove |this //.|
|00000650| 0d 2f 2f 20 46 69 6c 65 | 74 79 70 65 73 20 74 6f |.// File|types to|
|00000660| 20 62 65 20 73 65 6e 74 | 20 61 73 20 22 74 65 78 | be sent| as "tex|
|00000670| 74 22 20 77 69 74 68 20 | 54 65 78 74 2f 4d 61 63 |t" with |Text/Mac|
|00000680| 42 69 6e 61 72 79 20 6d | 6f 64 65 3a 0d 20 50 52 |Binary m|ode:. PR|
|00000690| 45 46 5f 53 45 54 28 22 | 73 74 78 74 22 2c 22 54 |EF_SET("|stxt","T|
|000006a0| 45 58 54 74 74 72 6f 45 | 50 53 46 22 29 3b 0d 2f |EXTttroE|PSF");./|
|000006b0| 2f 20 46 69 6c 65 74 79 | 70 65 73 20 74 6f 20 62 |/ Filety|pes to b|
|000006c0| 65 20 73 65 6e 74 20 61 | 73 20 22 62 69 6e 61 72 |e sent a|s "binar|
|000006d0| 79 22 20 77 69 74 68 20 | 54 65 78 74 2f 4d 61 63 |y" with |Text/Mac|
|000006e0| 42 69 6e 61 72 79 20 6d | 6f 64 65 3a 0d 20 50 52 |Binary m|ode:. PR|
|000006f0| 45 46 5f 53 45 54 28 22 | 73 62 69 6e 22 2c 22 4a |EF_SET("|sbin","J|
|00000700| 50 45 47 4a 46 49 46 47 | 49 46 66 54 49 46 46 4d |PEGJFIFG|IFfTIFFM|
|00000710| 50 45 47 5a 49 56 55 54 | 41 52 46 50 44 46 20 3f |PEGZIVUT|ARFPDF ?|
|00000720| 3f 3f 3f 22 29 3b 0d 2f | 2f 20 41 6c 6c 20 6f 74 |???");./|/ All ot|
|00000730| 68 65 72 20 66 69 6c 65 | 73 74 79 70 65 73 20 75 |her file|stypes u|
|00000740| 73 65 20 22 6d 61 63 62 | 69 6e 61 72 79 22 20 77 |se "macb|inary" w|
|00000750| 69 74 68 20 54 65 78 74 | 2f 4d 61 63 42 69 6e 61 |ith Text|/MacBina|
|00000760| 72 79 20 6d 6f 64 65 2e | 0d 0d 2f 2f 20 6c 65 61 |ry mode.|..// lea|
|00000770| 76 65 20 74 68 69 73 20 | 63 6f 64 65 20 75 6e 63 |ve this |code unc|
|00000780| 68 61 6e 67 65 64 0d 20 | 52 45 53 49 44 45 4e 54 |hanged. |RESIDENT|
|00000790| 28 22 22 2c 30 2c 23 4b | 65 79 41 63 63 65 73 73 |("",0,#K|eyAccess|
|000007a0| 2b 23 4c 69 62 41 63 63 | 65 73 73 29 3b 0d 20 52 |+#LibAcc|ess);. R|
|000007b0| 45 54 55 52 4e 3b 0d 7d | 0d 0d 0d 2f 2a 2a 2a 2a |ETURN;.}|.../****|
|000007c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000007d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000007e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000007f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000800| 2a 2a 2a 2f 0d 2f 2a 20 | 20 20 20 20 20 20 20 20 |***/./* | |
|00000810| 20 20 20 20 20 20 20 20 | 20 20 53 74 61 72 74 20 | | Start |
|00000820| 6f 66 20 4b 65 79 62 6f | 61 72 64 20 4d 61 63 72 |of Keybo|ard Macr|
|00000830| 6f 73 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |os | |
|00000840| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 2f 0d 2f | | */./|
|00000850| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000860| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000870| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000880| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000890| 2a 2a 2a 2a 2a 2a 2a 2f | 0d 0d 0d 2f 2f 0d 2f 2f |*******/|...//.//|
|000008a0| 20 43 4f 4d 4d 41 4e 44 | 2b 4f 50 54 49 4f 4e 2b | COMMAND|+OPTION+|
|000008b0| 5c 3a 20 41 74 74 65 6d | 70 74 20 74 6f 20 6c 61 |\: Attem|pt to la|
|000008c0| 75 6e 63 68 20 55 52 4c | 0d 2f 2f 0d 46 55 4e 43 |unch URL|.//.FUNC|
|000008d0| 20 6b 65 64 5f 30 39 32 | 61 28 29 0d 7b 0d 20 49 | ked_092|a().{. I|
|000008e0| 4e 54 20 61 6e 63 2c 65 | 78 74 2c 77 69 6e 2c 65 |NT anc,e|xt,win,e|
|000008f0| 72 72 2c 6c 65 6e 3b 0d | 20 53 54 52 20 75 72 6c |rr,len;.| STR url|
|00000900| 3b 0d 0d 20 77 69 6e 20 | 3d 20 57 49 4e 5f 41 43 |;.. win |= WIN_AC|
|00000910| 54 49 56 45 28 30 29 3b | 0d 20 61 6e 63 20 3d 20 |TIVE(0);|. anc = |
|00000920| 49 4f 5f 47 45 54 50 4f | 53 28 77 69 6e 29 3b 0d |IO_GETPO|S(win);.|
|00000930| 20 65 78 74 20 3d 20 49 | 4f 5f 47 45 54 53 45 4c | ext = I|O_GETSEL|
|00000940| 28 77 69 6e 29 3b 0d 0d | 20 49 46 20 28 61 6e 63 |(win);..| IF (anc|
|00000950| 20 3e 20 65 78 74 29 20 | 7b 0d 20 20 49 4f 5f 53 | > ext) |{. IO_S|
|00000960| 45 54 50 4f 53 28 77 69 | 6e 2c 65 78 74 29 3b 0d |ETPOS(wi|n,ext);.|
|00000970| 20 20 6c 65 6e 20 3d 20 | 61 6e 63 2d 65 78 74 3b | len = |anc-ext;|
|00000980| 0d 20 7d 20 45 4c 53 45 | 20 7b 0d 20 20 49 4f 5f |. } ELSE| {. IO_|
|00000990| 53 45 54 53 45 4c 28 77 | 69 6e 2c 61 6e 63 29 3b |SETSEL(w|in,anc);|
|000009a0| 0d 20 20 6c 65 6e 20 3d | 20 65 78 74 2d 61 6e 63 |. len =| ext-anc|
|000009b0| 3b 0d 20 7d 0d 20 75 72 | 6c 20 3d 20 49 4f 5f 52 |;. }. ur|l = IO_R|
|000009c0| 45 41 44 28 77 69 6e 2c | 6c 65 6e 29 3b 0d 20 49 |EAD(win,|len);. I|
|000009d0| 4f 5f 53 45 54 50 4f 53 | 28 77 69 6e 2c 61 6e 63 |O_SETPOS|(win,anc|
|000009e0| 29 3b 0d 20 49 4f 5f 53 | 45 54 53 45 4c 28 77 69 |);. IO_S|ETSEL(wi|
|000009f0| 6e 2c 65 78 74 29 3b 0d | 0d 20 65 72 72 20 3d 20 |n,ext);.|. err = |
|00000a00| 2d 31 3b 0d 20 49 46 20 | 28 75 72 6c 20 21 3d 20 |-1;. IF |(url != |
|00000a10| 22 22 29 20 7b 20 65 72 | 72 20 3d 20 49 43 5f 4c |"") { er|r = IC_L|
|00000a20| 41 55 4e 43 48 28 22 22 | 2c 75 72 6c 29 20 7d 0d |AUNCH(""|,url) }.|
|00000a30| 20 49 46 20 28 65 72 72 | 20 3d 3d 20 2d 31 29 20 | IF (err| == -1) |
|00000a40| 7b 20 57 49 4e 5f 4e 4f | 54 45 28 31 2c 22 4e 6f |{ WIN_NO|TE(1,"No|
|00000a50| 20 55 52 4c 20 53 65 6c | 65 63 74 65 64 22 29 20 | URL Sel|ected") |
|00000a60| 7d 0d 20 49 46 20 28 65 | 72 72 20 3c 20 2d 31 29 |}. IF (e|rr < -1)|
|00000a70| 20 7b 20 57 49 4e 5f 4e | 4f 54 45 28 31 2c 22 55 | { WIN_N|OTE(1,"U|
|00000a80| 6e 61 62 6c 65 20 74 6f | 20 50 61 72 73 65 20 55 |nable to| Parse U|
|00000a90| 52 4c 22 29 20 7d 0d 20 | 52 45 54 55 52 4e 28 65 |RL") }. |RETURN(e|
|00000aa0| 72 72 29 3b 0d 7d 0d 0d | 0d 2f 2f 0d 2f 2f 20 43 |rr);.}..|.//.// C|
|00000ab0| 4f 4d 4d 41 4e 44 2b 4f | 50 54 49 4f 4e 2b 2f 3a |OMMAND+O|PTION+/:|
|00000ac0| 20 49 6e 73 65 72 74 20 | 61 20 70 61 74 68 6e 61 | Insert |a pathna|
|00000ad0| 6d 65 2f 66 69 6c 65 6e | 61 6d 65 20 69 6e 74 6f |me/filen|ame into|
|00000ae0| 20 61 20 64 6f 63 75 6d | 65 6e 74 0d 2f 2f 0d 46 | a docum|ent.//.F|
|00000af0| 55 4e 43 20 6b 65 64 5f | 30 39 32 43 28 29 0d 7b |UNC ked_|092C().{|
|00000b00| 0d 20 53 54 52 20 66 69 | 6c 65 20 3d 20 46 4e 5f |. STR fi|le = FN_|
|00000b10| 4f 50 45 4e 28 30 2c 22 | 54 79 70 65 20 4e 61 6d |OPEN(0,"|Type Nam|
|00000b20| 65 22 2c 22 3f 3f 3f 3f | 22 29 3b 0d 20 49 46 20 |e","????|");. IF |
|00000b30| 28 66 69 6c 65 20 21 3d | 20 22 22 29 20 7b 20 55 |(file !=| "") { U|
|00000b40| 49 5f 54 59 50 45 28 66 | 69 6c 65 29 20 7d 0d 20 |I_TYPE(f|ile) }. |
|00000b50| 52 45 54 55 52 4e 3b 0d | 7d 20 0d 0d 0d 2f 2f 0d |RETURN;.|} ...//.|
|00000b60| 2f 2f 20 43 4f 4d 4d 41 | 4e 44 2b 4f 50 54 49 4f |// COMMA|ND+OPTIO|
|00000b70| 4e 2b 49 3a 20 53 65 74 | 20 44 65 66 61 75 6c 74 |N+I: Set| Default|
|00000b80| 20 52 65 63 65 69 76 65 | 20 46 6f 6c 64 65 72 0d | Receive| Folder.|
|00000b90| 2f 2f 0d 46 55 4e 43 20 | 6b 65 79 5f 30 39 32 32 |//.FUNC |key_0922|
|00000ba0| 28 29 0d 7b 0d 20 53 54 | 52 20 70 61 74 68 20 3d |().{. ST|R path =|
|00000bb0| 20 46 4e 5f 50 41 54 48 | 28 34 2c 22 53 65 74 20 | FN_PATH|(4,"Set |
|00000bc0| 52 65 63 76 22 29 3b 0d | 20 49 46 20 28 70 61 74 |Recv");.| IF (pat|
|00000bd0| 68 20 21 3d 20 22 22 29 | 20 7b 0d 20 20 46 4e 5f |h != "")| {. FN_|
|00000be0| 53 45 54 50 41 54 48 28 | 34 2c 70 61 74 68 29 3b |SETPATH(|4,path);|
|00000bf0| 0d 20 7d 0d 20 52 45 54 | 55 52 4e 3b 0d 7d 0d 0d |. }. RET|URN;.}..|
|00000c00| 0d 2f 2f 0d 2f 2f 20 43 | 4f 4d 4d 41 4e 44 2b 4f |.//.// C|OMMAND+O|
|00000c10| 50 54 49 4f 4e 2b 44 3a | 20 4b 65 79 62 6f 61 72 |PTION+D:| Keyboar|
|00000c20| 64 20 44 69 61 6c 69 6e | 67 20 4c 69 73 74 0d 2f |d Dialin|g List./|
|00000c30| 2f 0d 46 55 4e 43 20 6b | 65 79 5f 30 39 30 32 28 |/.FUNC k|ey_0902(|
|00000c40| 29 0d 7b 0d 20 53 54 52 | 20 66 69 6c 65 20 3d 20 |).{. STR| file = |
|00000c50| 46 4e 5f 4f 50 45 4e 28 | 35 2c 22 43 6f 6e 6e 65 |FN_OPEN(|5,"Conne|
|00000c60| 63 74 22 2c 22 53 52 56 | 53 53 52 56 4c 22 29 3b |ct","SRV|SSRVL");|
|00000c70| 0d 20 49 46 20 28 66 69 | 6c 65 20 21 3d 20 22 22 |. IF (fi|le != ""|
|00000c80| 29 20 7b 0d 20 20 55 49 | 5f 4f 50 45 4e 28 66 69 |) {. UI|_OPEN(fi|
|00000c90| 6c 65 29 3b 0d 20 20 55 | 49 5f 43 4c 49 43 4b 28 |le);. U|I_CLICK(|
|00000ca0| 22 43 6f 6e 6e 65 63 74 | 3a 32 22 29 3b 0d 20 7d |"Connect|:2");. }|
|00000cb0| 0d 20 52 45 54 55 52 4e | 3b 0d 7d 0d 0d 0d 2f 2f |. RETURN|;.}...//|
|00000cc0| 0d 2f 2f 20 43 4f 4d 4d | 41 4e 44 2b 4f 50 54 49 |.// COMM|AND+OPTI|
|00000cd0| 4f 4e 2b 4c 3a 20 52 65 | 63 6f 6e 6e 65 63 74 20 |ON+L: Re|connect |
|00000ce0| 74 6f 20 50 72 69 6f 72 | 20 53 65 72 76 69 63 65 |to Prior| Service|
|00000cf0| 0d 2f 2f 0d 46 55 4e 43 | 20 6b 65 79 5f 30 39 32 |.//.FUNC| key_092|
|00000d00| 35 28 29 0d 7b 0d 20 49 | 46 20 28 57 49 4e 5f 54 |5().{. I|F (WIN_T|
|00000d10| 59 50 45 28 57 49 4e 5f | 41 43 54 49 56 45 28 30 |YPE(WIN_|ACTIVE(0|
|00000d20| 29 29 20 3d 3d 20 22 52 | 45 56 57 22 29 20 7b 0d |)) == "R|EVW") {.|
|00000d30| 20 20 55 49 5f 4f 50 45 | 4e 28 53 45 53 5f 47 45 | UI_OPE|N(SES_GE|
|00000d40| 54 28 57 49 4e 5f 41 43 | 54 49 56 45 28 30 29 2c |T(WIN_AC|TIVE(0),|
|00000d50| 22 50 41 54 48 22 29 29 | 3b 0d 20 20 55 49 5f 43 |"PATH"))|;. UI_C|
|00000d60| 4c 49 43 4b 28 22 52 65 | 74 72 79 22 29 3b 0d 20 |LICK("Re|try");. |
|00000d70| 7d 0d 20 52 45 54 55 52 | 4e 3b 0d 7d 0d 0d 0d 2f |}. RETUR|N;.}.../|
|00000d80| 2f 0d 2f 2f 20 43 4f 4d | 4d 41 4e 44 2b 4f 50 54 |/.// COM|MAND+OPT|
|00000d90| 49 4f 4e 2b 52 3a 20 53 | 74 61 72 74 20 50 72 6f |ION+R: S|tart Pro|
|00000da0| 74 6f 63 6f 6c 20 52 65 | 63 65 69 76 65 20 66 72 |tocol Re|ceive fr|
|00000db0| 6f 6d 20 4b 65 79 62 6f | 61 72 64 0d 2f 2f 0d 46 |om Keybo|ard.//.F|
|00000dc0| 55 4e 43 20 6b 74 72 5f | 30 39 30 46 28 29 0d 7b |UNC ktr_|090F().{|
|00000dd0| 0d 20 53 45 53 53 49 4f | 4e 20 53 54 52 20 72 65 |. SESSIO|N STR re|
|00000de0| 63 76 5f 70 72 6f 74 6f | 3b 0d 20 49 46 20 28 72 |cv_proto|;. IF (r|
|00000df0| 65 63 76 5f 70 72 6f 74 | 6f 20 21 3d 20 22 22 29 |ecv_prot|o != "")|
|00000e00| 20 7b 0d 20 20 55 49 5f | 4d 45 4e 55 28 22 4f 6e | {. UI_|MENU("On|
|00000e10| 6c 69 6e 65 3a 52 65 63 | 65 69 76 65 3a 22 2b 72 |line:Rec|eive:"+r|
|00000e20| 65 63 76 5f 70 72 6f 74 | 6f 29 3b 0d 20 7d 0d 20 |ecv_prot|o);. }. |
|00000e30| 52 45 54 55 52 4e 3b 0d | 7d 0d 0d 0d 2f 2f 0d 2f |RETURN;.|}...//./|
|00000e40| 2f 20 43 4f 4d 4d 41 4e | 44 2b 4f 50 54 49 4f 4e |/ COMMAN|D+OPTION|
|00000e50| 2b 53 3a 20 53 74 61 72 | 74 20 50 72 6f 74 6f 63 |+S: Star|t Protoc|
|00000e60| 6f 6c 20 53 65 6e 64 20 | 66 72 6f 6d 20 4b 65 79 |ol Send |from Key|
|00000e70| 62 6f 61 72 64 0d 2f 2f | 0d 46 55 4e 43 20 6b 74 |board.//|.FUNC kt|
|00000e80| 72 5f 30 39 30 31 28 29 | 0d 7b 0d 20 53 45 53 53 |r_0901()|.{. SESS|
|00000e90| 49 4f 4e 20 53 54 52 20 | 73 65 6e 64 5f 70 72 6f |ION STR |send_pro|
|00000ea0| 74 6f 3b 0d 20 49 46 20 | 28 73 65 6e 64 5f 70 72 |to;. IF |(send_pr|
|00000eb0| 6f 74 6f 20 21 3d 20 22 | 22 29 20 7b 0d 20 20 55 |oto != "|") {. U|
|00000ec0| 49 5f 4d 45 4e 55 28 22 | 4f 6e 6c 69 6e 65 3a 53 |I_MENU("|Online:S|
|00000ed0| 65 6e 64 3a 22 2b 73 65 | 6e 64 5f 70 72 6f 74 6f |end:"+se|nd_proto|
|00000ee0| 29 3b 0d 20 7d 0d 20 52 | 45 54 55 52 4e 3b 0d 7d |);. }. R|ETURN;.}|
|00000ef0| 0d 0d 0d 2f 2f 0d 2f 2f | 20 43 4f 4d 4d 41 4e 44 |...//.//| COMMAND|
|00000f00| 2b 4f 50 54 49 4f 4e 2b | 5a 3a 20 72 65 6c 6f 61 |+OPTION+|Z: reloa|
|00000f10| 64 20 67 6c 6f 62 61 6c | 20 6d 61 63 72 6f 73 0d |d global| macros.|
|00000f20| 2f 2f 0d 46 55 4e 43 20 | 6b 65 79 5f 30 39 30 36 |//.FUNC |key_0906|
|00000f30| 28 29 0d 7b 0d 20 6d 61 | 69 6e 28 31 29 3b 0d 20 |().{. ma|in(1);. |
|00000f40| 52 45 54 55 52 4e 3b 0d | 7d 0d 0d 0d 2f 2f 0d 2f |RETURN;.|}...//./|
|00000f50| 2f 20 50 67 55 70 3a 20 | 53 63 72 6f 6c 6c 20 55 |/ PgUp: |Scroll U|
|00000f60| 70 20 61 20 50 61 67 65 | 20 28 74 65 72 6d 69 6e |p a Page| (termin|
|00000f70| 61 6c 20 77 69 6e 64 6f | 77 20 6f 6e 6c 79 29 0d |al windo|w only).|
|00000f80| 2f 2f 0d 46 55 4e 43 20 | 6b 74 72 5f 30 30 37 34 |//.FUNC |ktr_0074|
|00000f90| 28 29 0d 7b 0d 20 55 49 | 5f 53 45 54 28 22 76 73 |().{. UI|_SET("vs|
|00000fa0| 63 72 6f 6c 6c 22 2c 20 | 22 3c 22 29 3b 0d 20 52 |croll", |"<");. R|
|00000fb0| 45 54 55 52 4e 3b 0d 7d | 0d 0d 2f 2f 0d 2f 2f 20 |ETURN;.}|..//.// |
|00000fc0| 50 67 44 6e 3a 20 53 63 | 72 6f 6c 6c 20 44 6f 77 |PgDn: Sc|roll Dow|
|00000fd0| 6e 20 61 20 50 61 67 65 | 20 28 74 65 72 6d 69 6e |n a Page| (termin|
|00000fe0| 61 6c 20 77 69 6e 64 6f | 77 20 6f 6e 6c 79 29 0d |al windo|w only).|
|00000ff0| 2f 2f 0d 46 55 4e 43 20 | 6b 74 72 5f 30 30 37 39 |//.FUNC |ktr_0079|
|00001000| 28 29 0d 7b 0d 20 55 49 | 5f 53 45 54 28 22 76 73 |().{. UI|_SET("vs|
|00001010| 63 72 6f 6c 6c 22 2c 20 | 22 3e 22 29 3b 0d 20 52 |croll", |">");. R|
|00001020| 45 54 55 52 4e 3b 0d 7d | 0d 0d 2f 2f 0d 2f 2f 20 |ETURN;.}|..//.// |
|00001030| 48 6f 6d 65 3a 20 4d 6f | 76 65 20 74 6f 20 53 74 |Home: Mo|ve to St|
|00001040| 61 72 74 20 6f 66 20 57 | 69 6e 64 6f 77 20 28 74 |art of W|indow (t|
|00001050| 65 72 6d 69 6e 61 6c 20 | 77 69 6e 64 6f 77 20 6f |erminal |window o|
|00001060| 6e 6c 79 29 0d 2f 2f 0d | 46 55 4e 43 20 6b 74 72 |nly).//.|FUNC ktr|
|00001070| 5f 30 30 37 33 28 29 0d | 7b 0d 20 55 49 5f 53 45 |_0073().|{. UI_SE|
|00001080| 54 28 22 76 73 63 72 6f | 6c 6c 22 2c 20 22 30 22 |T("vscro|ll", "0"|
|00001090| 29 3b 0d 20 52 45 54 55 | 52 4e 3b 0d 7d 0d 0d 2f |);. RETU|RN;.}../|
|000010a0| 2f 0d 2f 2f 20 45 6e 64 | 3a 20 4d 6f 76 65 20 74 |/.// End|: Move t|
|000010b0| 6f 20 45 6e 64 20 6f 66 | 20 57 69 6e 64 6f 77 20 |o End of| Window |
|000010c0| 28 74 65 72 6d 69 6e 61 | 6c 20 77 69 6e 64 6f 77 |(termina|l window|
|000010d0| 20 6f 6e 6c 79 29 0d 2f | 2f 0d 46 55 4e 43 20 6b | only)./|/.FUNC k|
|000010e0| 74 72 5f 30 30 37 37 28 | 29 0d 7b 0d 20 55 49 5f |tr_0077(|).{. UI_|
|000010f0| 53 45 54 28 22 76 73 63 | 72 6f 6c 6c 22 2c 20 22 |SET("vsc|roll", "|
|00001100| 31 30 30 22 29 3b 0d 20 | 52 45 54 55 52 4e 3b 0d |100");. |RETURN;.|
|00001110| 7d 0d 0d 2f 2f 0d 2f 2f | 20 49 6e 73 3a 20 53 63 |}..//.//| Ins: Sc|
|00001120| 72 6f 6c 6c 20 55 70 20 | 61 20 4c 69 6e 65 20 28 |roll Up |a Line (|
|00001130| 74 65 72 6d 69 6e 61 6c | 20 77 69 6e 64 6f 77 20 |terminal| window |
|00001140| 6f 6e 6c 79 29 0d 2f 2f | 0d 46 55 4e 43 20 6b 74 |only).//|.FUNC kt|
|00001150| 72 5f 30 30 37 32 28 29 | 0d 7b 0d 20 55 49 5f 53 |r_0072()|.{. UI_S|
|00001160| 45 54 28 22 76 73 63 72 | 6f 6c 6c 22 2c 20 22 2d |ET("vscr|oll", "-|
|00001170| 22 29 3b 0d 20 52 45 54 | 55 52 4e 3b 0d 7d 0d 0d |");. RET|URN;.}..|
|00001180| 2f 2f 0d 2f 2f 20 44 65 | 6c 3a 20 53 63 72 6f 6c |//.// De|l: Scrol|
|00001190| 6c 20 44 6f 77 6e 20 61 | 20 4c 69 6e 65 20 28 74 |l Down a| Line (t|
|000011a0| 65 72 6d 69 6e 61 6c 20 | 77 69 6e 64 6f 77 20 6f |erminal |window o|
|000011b0| 6e 6c 79 29 0d 2f 2f 0d | 46 55 4e 43 20 6b 74 72 |nly).//.|FUNC ktr|
|000011c0| 5f 30 30 37 35 28 29 0d | 7b 0d 20 55 49 5f 53 45 |_0075().|{. UI_SE|
|000011d0| 54 28 22 76 73 63 72 6f | 6c 6c 22 2c 20 22 2b 22 |T("vscro|ll", "+"|
|000011e0| 29 3b 0d 20 52 45 54 55 | 52 4e 3b 0d 7d 0d 0d 0d |);. RETU|RN;.}...|
|000011f0| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00001200| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001210| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001220| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001230| 2a 2a 2a 2a 2a 2a 2a 2a | 2f 0d 2f 2a 20 20 20 20 |********|/./* |
|00001240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 | | S|
|00001250| 74 61 72 74 20 6f 66 20 | 4c 69 62 72 61 72 79 20 |tart of |Library |
|00001260| 4d 61 63 72 6f 73 20 20 | 20 20 20 20 20 20 20 20 |Macros | |
|00001270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001280| 20 2a 2f 0d 2f 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | */./***|********|
|00001290| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000012a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000012b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000012c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2f 0d 0d 0d |********|****/...|
|000012d0| 2f 2f 0d 2f 2f 20 53 65 | 6e 64 20 74 65 78 74 20 |//.// Se|nd text |
|000012e0| 64 69 72 65 63 74 6c 79 | 20 74 6f 20 65 6d 75 6c |directly| to emul|
|000012f0| 61 74 69 6f 6e 20 6d 6f | 64 75 6c 65 0d 2f 2f 0d |ation mo|dule.//.|
|00001300| 46 55 4e 43 20 73 65 73 | 5f 65 6d 75 6c 28 61 72 |FUNC ses|_emul(ar|
|00001310| 67 31 29 0d 7b 0d 20 49 | 46 20 28 49 53 5f 53 54 |g1).{. I|F (IS_ST|
|00001320| 52 28 61 72 67 31 29 29 | 20 7b 0d 20 20 49 4f 5f |R(arg1))| {. IO_|
|00001330| 50 52 49 4e 54 28 57 49 | 4e 5f 46 49 4e 44 28 53 |PRINT(WI|N_FIND(S|
|00001340| 45 53 5f 47 45 54 28 30 | 2c 22 54 45 52 4d 20 57 |ES_GET(0|,"TERM W|
|00001350| 49 4e 44 4f 57 20 4e 41 | 4d 45 22 29 2c 22 54 45 |INDOW NA|ME"),"TE|
|00001360| 52 4d 22 29 2c 61 72 67 | 31 29 3b 0d 20 7d 20 45 |RM"),arg|1);. } E|
|00001370| 4c 53 45 20 7b 0d 20 20 | 49 4f 5f 50 52 49 4e 54 |LSE {. |IO_PRINT|
|00001380| 28 57 49 4e 5f 46 49 4e | 44 28 53 45 53 5f 47 45 |(WIN_FIN|D(SES_GE|
|00001390| 54 28 61 72 67 31 2c 22 | 54 45 52 4d 20 57 49 4e |T(arg1,"|TERM WIN|
|000013a0| 44 4f 57 20 4e 41 4d 45 | 22 29 2c 22 54 45 52 4d |DOW NAME|"),"TERM|
|000013b0| 22 29 2c 41 52 47 56 28 | 32 29 29 3b 0d 20 7d 0d |"),ARGV(|2));. }.|
|000013c0| 20 52 45 54 55 52 4e 3b | 0d 7d 0d 0d 0d 2f 2f 0d | RETURN;|.}...//.|
|000013d0| 2f 2f 20 44 69 73 70 6c | 61 79 20 69 6e 69 74 69 |// Displ|ay initi|
|000013e0| 61 6c 20 63 6f 6e 6e 65 | 63 74 20 69 6e 66 6f 20 |al conne|ct info |
|000013f0| 69 6e 20 74 65 72 6d 69 | 6e 61 6c 20 77 69 6e 64 |in termi|nal wind|
|00001400| 6f 77 0d 2f 2f 0d 46 55 | 4e 43 20 73 65 73 5f 72 |ow.//.FU|NC ses_r|
|00001410| 61 74 65 28 29 0d 7b 0d | 20 49 4e 54 20 74 63 3b |ate().{.| INT tc;|
|00001420| 0d 20 53 54 52 20 6c 63 | 2c 72 74 3b 0d 0d 20 74 |. STR lc|,rt;.. t|
|00001430| 63 20 3d 20 57 49 4e 5f | 46 49 4e 44 28 53 45 53 |c = WIN_|FIND(SES|
|00001440| 5f 47 45 54 28 30 2c 22 | 54 45 52 4d 20 57 49 4e |_GET(0,"|TERM WIN|
|00001450| 44 4f 57 20 4e 41 4d 45 | 22 29 29 3b 0d 20 6c 63 |DOW NAME|"));. lc|
|00001460| 20 3d 20 53 45 53 5f 47 | 45 54 28 30 2c 22 4c 41 | = SES_G|ET(0,"LA|
|00001470| 53 54 20 43 4f 4e 4e 45 | 43 54 22 29 3b 0d 20 53 |ST CONNE|CT");. S|
|00001480| 54 52 5f 50 41 52 53 45 | 28 6c 63 2c 22 25 2a 73 |TR_PARSE|(lc,"%*s|
|00001490| 28 25 73 29 22 2c 72 74 | 29 3b 0d 20 49 4f 5f 50 |(%s)",rt|);. IO_P|
|000014a0| 52 49 4e 54 46 28 74 63 | 2c 22 5e 6d 25 73 5e 6d |RINTF(tc|,"^m%s^m|
|000014b0| 5e 6a 5e 6d 5e 6a 22 2c | 72 74 29 3b 0d 20 52 45 |^j^m^j",|rt);. RE|
|000014c0| 54 55 52 4e 3b 0d 7d 0d | 0d 0d 2f 2f 0d 2f 2f 20 |TURN;.}.|..//.// |
|000014d0| 67 6c 75 65 20 63 6f 64 | 65 20 74 6f 20 6c 69 6e |glue cod|e to lin|
|000014e0| 6b 20 74 6f 20 50 72 6f | 54 45 52 4d 20 4d 65 73 |k to Pro|TERM Mes|
|000014f0| 73 65 6e 67 65 72 0d 2f | 2f 0d 46 55 4e 43 20 73 |senger./|/.FUNC s|
|00001500| 65 73 5f 6d 73 67 72 28 | 29 0d 7b 0d 20 53 54 52 |es_msgr(|).{. STR|
|00001510| 20 68 6f 6d 65 3b 0d 0d | 20 68 6f 6d 65 20 3d 20 | home;..| home = |
|00001520| 46 4e 5f 57 48 45 52 45 | 28 53 45 53 5f 47 45 54 |FN_WHERE|(SES_GET|
|00001530| 28 23 54 65 72 6d 43 68 | 61 6e 2c 22 50 41 54 48 |(#TermCh|an,"PATH|
|00001540| 22 29 29 3b 0d 20 45 58 | 54 45 52 4e 28 68 6f 6d |"));. EX|TERN(hom|
|00001550| 65 2b 22 49 6e 74 65 72 | 66 61 63 65 22 2c 63 6f |e+"Inter|face",co|
|00001560| 6e 5f 61 75 74 6f 28 68 | 6f 6d 65 29 29 3b 0d 20 |n_auto(h|ome));. |
|00001570| 45 58 54 45 52 4e 28 68 | 6f 6d 65 2b 22 3a 21 4d |EXTERN(h|ome+":!M|
|00001580| 65 73 73 65 6e 67 65 72 | 22 2c 6d 61 69 6e 28 31 |essenger|",main(1|
|00001590| 29 29 3b 0d 20 52 45 54 | 55 52 4e 3b 0d 7d 0d 0d |));. RET|URN;.}..|
|000015a0| 0d 2f 2f 0d 2f 2f 20 73 | 65 74 75 70 20 6b 65 79 |.//.// s|etup key|
|000015b0| 62 6f 61 72 64 20 73 65 | 6e 64 2f 72 65 63 65 69 |board se|nd/recei|
|000015c0| 76 65 20 70 72 6f 74 6f | 63 6f 6c 0d 2f 2f 0d 46 |ve proto|col.//.F|
|000015d0| 55 4e 43 20 6b 65 79 5f | 78 66 65 72 28 73 74 72 |UNC key_|xfer(str|
|000015e0| 20 70 72 6f 74 6f 29 0d | 7b 0d 20 53 45 53 53 49 | proto).|{. SESSI|
|000015f0| 4f 4e 20 53 54 52 20 73 | 65 6e 64 5f 70 72 6f 74 |ON STR s|end_prot|
|00001600| 6f 3b 0d 20 53 45 53 53 | 49 4f 4e 20 53 54 52 20 |o;. SESS|ION STR |
|00001610| 72 65 63 76 5f 70 72 6f | 74 6f 3b 0d 20 73 65 6e |recv_pro|to;. sen|
|00001620| 64 5f 70 72 6f 74 6f 20 | 3d 20 72 65 63 76 5f 70 |d_proto |= recv_p|
|00001630| 72 6f 74 6f 20 3d 20 70 | 72 6f 74 6f 3b 0d 20 52 |roto = p|roto;. R|
|00001640| 45 54 55 52 4e 3b 0d 7d | 0d 0d 2f 2f 0d 2f 2f 20 |ETURN;.}|..//.// |
|00001650| 73 65 74 75 70 20 6b 65 | 79 62 6f 61 72 64 20 72 |setup ke|yboard r|
|00001660| 65 63 65 69 76 65 20 70 | 72 6f 74 6f 63 6f 6c 0d |eceive p|rotocol.|
|00001670| 2f 2f 0d 46 55 4e 43 20 | 6b 65 79 5f 72 65 63 76 |//.FUNC |key_recv|
|00001680| 28 53 54 52 20 70 72 6f | 74 6f 29 0d 7b 0d 20 53 |(STR pro|to).{. S|
|00001690| 45 53 53 49 4f 4e 20 53 | 54 52 20 72 65 63 76 5f |ESSION S|TR recv_|
|000016a0| 70 72 6f 74 6f 3b 0d 20 | 72 65 63 76 5f 70 72 6f |proto;. |recv_pro|
|000016b0| 74 6f 20 3d 20 70 72 6f | 74 6f 3b 0d 20 52 45 54 |to = pro|to;. RET|
|000016c0| 55 52 4e 3b 0d 7d 0d 0d | 2f 2f 0d 2f 2f 20 73 65 |URN;.}..|//.// se|
|000016d0| 74 75 70 20 6b 65 79 62 | 6f 61 72 64 20 73 65 6e |tup keyb|oard sen|
|000016e0| 64 20 70 72 6f 74 6f 63 | 6f 6c 0d 2f 2f 0d 46 55 |d protoc|ol.//.FU|
|000016f0| 4e 43 20 6b 65 79 5f 73 | 65 6e 64 28 53 54 52 20 |NC key_s|end(STR |
|00001700| 70 72 6f 74 6f 29 0d 7b | 0d 20 53 45 53 53 49 4f |proto).{|. SESSIO|
|00001710| 4e 20 53 54 52 20 73 65 | 6e 64 5f 70 72 6f 74 6f |N STR se|nd_proto|
|00001720| 3b 0d 20 73 65 6e 64 5f | 70 72 6f 74 6f 20 3d 20 |;. send_|proto = |
|00001730| 70 72 6f 74 6f 3b 0d 20 | 52 45 54 55 52 4e 3b 0d |proto;. |RETURN;.|
|00001740| 7d 0d 0d 0d 2f 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |}.../***|********|
|00001750| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001760| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001770| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001780| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2f 0d 2f 2a |********|****/./*|
|00001790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 41 72 | | Ar|
|000017b0| 72 61 79 20 4d 61 63 72 | 6f 73 20 20 20 20 20 20 |ray Macr|os |
|000017c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017d0| 20 20 20 20 20 2a 2f 0d | 2f 2a 2a 2a 2a 2a 2a 2a | */.|/*******|
|000017e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001800| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001810| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001820| 2f 0d 0d 0d 2f 2f 0d 2f | 2f 20 63 72 65 61 74 65 |/...//./|/ create|
|00001830| 20 61 20 6e 75 6d 65 72 | 69 63 20 61 72 72 61 79 | a numer|ic array|
|00001840| 0d 2f 2f 0d 2f 2f 20 65 | 6e 74 72 79 3a 20 73 69 |.//.// e|ntry: si|
|00001850| 7a 65 3d 73 69 7a 65 20 | 6f 66 20 61 72 72 61 79 |ze=size |of array|
|00001860| 20 28 30 20 74 6f 20 33 | 30 30 30 20 65 6c 65 6d | (0 to 3|000 elem|
|00001870| 65 6e 74 73 29 0d 2f 2f | 20 65 78 69 74 3a 20 72 |ents).//| exit: r|
|00001880| 65 74 75 72 6e 73 20 74 | 68 65 20 61 72 72 61 79 |eturns t|he array|
|00001890| 20 61 73 20 61 20 73 74 | 72 69 6e 67 0d 2f 2f 0d | as a st|ring.//.|
|000018a0| 46 55 4e 43 20 61 72 72 | 61 79 5f 6e 75 6d 28 49 |FUNC arr|ay_num(I|
|000018b0| 4e 54 20 73 69 7a 65 29 | 0d 7b 0d 20 49 46 20 28 |NT size)|.{. IF (|
|000018c0| 28 73 69 7a 65 20 3c 20 | 30 29 20 7c 7c 20 28 73 |(size < |0) || (s|
|000018d0| 69 7a 65 20 3e 20 33 30 | 30 30 29 29 20 7b 0d 20 |ize > 30|00)) {. |
|000018e0| 20 45 52 52 4f 52 28 22 | 41 72 72 61 79 20 53 69 | ERROR("|Array Si|
|000018f0| 7a 65 20 4f 75 74 20 6f | 66 20 52 61 6e 67 65 20 |ze Out o|f Range |
|00001900| 28 30 2e 2e 33 30 30 30 | 29 22 29 3b 0d 20 7d 0d |(0..3000|)");. }.|
|00001910| 20 52 45 54 55 52 4e 28 | 53 54 52 5f 4c 4f 4e 47 | RETURN(|STR_LONG|
|00001920| 28 73 69 7a 65 29 2b 53 | 54 52 5f 4c 4f 4e 47 28 |(size)+S|TR_LONG(|
|00001930| 34 29 2b 53 54 52 5f 52 | 45 50 45 41 54 28 22 5e |4)+STR_R|EPEAT("^|
|00001940| 30 22 2c 73 69 7a 65 2a | 34 29 29 3b 0d 7d 0d 0d |0",size*|4));.}..|
|00001950| 2f 2f 0d 2f 2f 20 63 72 | 65 61 74 65 20 61 20 73 |//.// cr|eate a s|
|00001960| 74 72 69 6e 67 20 61 72 | 72 61 79 0d 2f 2f 0d 2f |tring ar|ray.//./|
|00001970| 2f 20 65 6e 74 72 79 3a | 20 73 69 7a 65 3d 73 69 |/ entry:| size=si|
|00001980| 7a 65 20 6f 66 20 61 72 | 72 61 79 20 28 30 20 74 |ze of ar|ray (0 t|
|00001990| 6f 20 33 30 30 30 20 65 | 6c 65 6d 65 6e 74 73 29 |o 3000 e|lements)|
|000019a0| 0d 2f 2f 20 65 78 69 74 | 3a 20 72 65 74 75 72 6e |.// exit|: return|
|000019b0| 73 20 74 68 65 20 61 72 | 72 61 79 20 61 73 20 61 |s the ar|ray as a|
|000019c0| 20 73 74 72 69 6e 67 0d | 2f 2f 0d 46 55 4e 43 20 | string.|//.FUNC |
|000019d0| 61 72 72 61 79 5f 73 74 | 72 28 49 4e 54 20 77 69 |array_st|r(INT wi|
|000019e0| 64 74 68 2c 20 49 4e 54 | 20 73 69 7a 65 29 0d 7b |dth, INT| size).{|
|000019f0| 0d 20 49 46 20 28 28 77 | 69 64 74 68 20 3c 20 31 |. IF ((w|idth < 1|
|00001a00| 29 20 7c 7c 20 28 77 69 | 64 74 68 20 3e 20 31 30 |) || (wi|dth > 10|
|00001a10| 32 34 29 29 20 7b 0d 20 | 20 45 52 52 4f 52 28 22 |24)) {. | ERROR("|
|00001a20| 41 72 72 61 79 20 57 69 | 64 74 68 20 4f 75 74 20 |Array Wi|dth Out |
|00001a30| 6f 66 20 52 61 6e 67 65 | 20 28 31 2e 2e 31 30 32 |of Range| (1..102|
|00001a40| 34 29 22 29 3b 0d 20 7d | 0d 20 49 46 20 28 28 73 |4)");. }|. IF ((s|
|00001a50| 69 7a 65 20 3c 20 30 29 | 20 7c 7c 20 28 73 69 7a |ize < 0)| || (siz|
|00001a60| 65 20 3e 20 33 30 30 30 | 29 29 20 7b 0d 20 20 45 |e > 3000|)) {. E|
|00001a70| 52 52 4f 52 28 22 41 72 | 72 61 79 20 53 69 7a 65 |RROR("Ar|ray Size|
|00001a80| 20 4f 75 74 20 6f 66 20 | 52 61 6e 67 65 20 28 30 | Out of |Range (0|
|00001a90| 2e 2e 33 30 30 30 22 29 | 3b 0d 20 7d 0d 20 49 46 |..3000")|;. }. IF|
|00001aa0| 20 28 73 69 7a 65 2a 77 | 69 64 74 68 20 3e 20 32 | (size*w|idth > 2|
|00001ab0| 35 30 30 30 29 20 7b 0d | 20 20 45 52 52 4f 52 28 |5000) {.| ERROR(|
|00001ac0| 22 41 72 72 61 79 20 52 | 65 71 75 69 72 65 73 20 |"Array R|equires |
|00001ad0| 54 6f 6f 20 4d 75 63 68 | 20 4d 65 6d 6f 72 79 22 |Too Much| Memory"|
|00001ae0| 29 3b 0d 20 7d 0d 0d 20 | 49 46 20 28 77 69 64 74 |);. }.. |IF (widt|
|00001af0| 68 20 3c 20 34 29 20 7b | 20 77 69 64 74 68 20 3d |h < 4) {| width =|
|00001b00| 20 34 20 7d 0d 20 77 69 | 64 74 68 20 3d 20 77 69 | 4 }. wi|dth = wi|
|00001b10| 64 74 68 20 2b 20 31 3b | 0d 20 52 45 54 55 52 4e |dth + 1;|. RETURN|
|00001b20| 28 53 54 52 5f 4c 4f 4e | 47 28 73 69 7a 65 29 2b |(STR_LON|G(size)+|
|00001b30| 53 54 52 5f 4c 4f 4e 47 | 28 77 69 64 74 68 29 2b |STR_LONG|(width)+|
|00001b40| 53 54 52 5f 52 45 50 45 | 41 54 28 22 5e 30 22 2c |STR_REPE|AT("^0",|
|00001b50| 73 69 7a 65 2a 77 69 64 | 74 68 29 29 3b 0d 7d 0d |size*wid|th));.}.|
|00001b60| 0d 2f 2f 0d 2f 2f 20 72 | 65 74 75 72 6e 20 61 72 |.//.// r|eturn ar|
|00001b70| 72 61 79 20 73 69 7a 65 | 20 69 6e 66 6f 72 6d 61 |ray size| informa|
|00001b80| 74 69 6f 6e 0d 2f 2f 0d | 2f 2f 20 65 6e 74 72 79 |tion.//.|// entry|
|00001b90| 3a 20 61 72 72 61 79 3d | 74 68 65 20 61 72 72 61 |: array=|the arra|
|00001ba0| 79 2c 20 64 69 6d 69 6e | 3a 20 30 3d 72 65 74 75 |y, dimin|: 0=retu|
|00001bb0| 72 6e 20 77 69 64 74 68 | 20 28 62 79 74 65 73 29 |rn width| (bytes)|
|00001bc0| 2c 20 31 3d 72 65 74 75 | 72 6e 20 73 69 7a 65 20 |, 1=retu|rn size |
|00001bd0| 28 69 74 65 6d 73 29 0d | 2f 2f 20 65 78 69 74 3a |(items).|// exit:|
|00001be0| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 73 69 7a | returns| the siz|
|00001bf0| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 0d 2f 2f |e inform|ation.//|
|00001c00| 0d 46 55 4e 43 20 61 72 | 72 61 79 5f 73 69 7a 65 |.FUNC ar|ray_size|
|00001c10| 28 53 54 52 20 61 72 72 | 61 79 2c 20 49 4e 54 20 |(STR arr|ay, INT |
|00001c20| 64 69 6d 69 6e 29 0d 7b | 0d 20 49 4e 54 20 78 3b |dimin).{|. INT x;|
|00001c30| 0d 0d 20 78 20 3d 20 53 | 57 49 54 43 48 28 64 69 |.. x = S|WITCH(di|
|00001c40| 6d 69 6e 29 20 7b 0d 20 | 20 43 41 53 45 20 30 3a |min) {. | CASE 0:|
|00001c50| 20 7b 0d 20 20 20 78 20 | 3d 20 4e 55 4d 5f 4c 4f | {. x |= NUM_LO|
|00001c60| 4e 47 28 53 54 52 5f 4d | 49 44 28 61 72 72 61 79 |NG(STR_M|ID(array|
|00001c70| 2c 34 29 29 3b 0d 20 20 | 20 49 46 20 28 78 20 3c |,4));. | IF (x <|
|00001c80| 3d 20 34 29 20 7b 20 31 | 20 7d 20 45 4c 53 45 20 |= 4) { 1| } ELSE |
|00001c90| 7b 20 78 2d 31 20 7d 3b | 0d 20 20 7d 0d 20 20 43 |{ x-1 };|. }. C|
|00001ca0| 41 53 45 20 31 3a 20 7b | 0d 20 20 20 4e 55 4d 5f |ASE 1: {|. NUM_|
|00001cb0| 4c 4f 4e 47 28 61 72 72 | 61 79 29 3b 0d 20 20 7d |LONG(arr|ay);. }|
|00001cc0| 0d 20 20 44 45 46 41 55 | 4c 54 3a 20 7b 0d 20 20 |. DEFAU|LT: {. |
|00001cd0| 20 30 3b 0d 20 20 7d 0d | 20 7d 0d 20 52 45 54 55 | 0;. }.| }. RETU|
|00001ce0| 52 4e 28 78 29 3b 0d 7d | 0d 0d 2f 2f 0d 2f 2f 20 |RN(x);.}|..//.// |
|00001cf0| 67 65 74 20 61 20 76 61 | 6c 75 65 20 66 72 6f 6d |get a va|lue from|
|00001d00| 20 61 6e 20 61 72 72 61 | 79 0d 2f 2f 0d 2f 2f 20 | an arra|y.//.// |
|00001d10| 65 6e 74 72 79 3a 20 61 | 72 72 61 79 3d 74 68 65 |entry: a|rray=the|
|00001d20| 20 61 72 72 61 79 2c 20 | 69 6e 64 65 78 3d 74 68 | array, |index=th|
|00001d30| 65 20 65 6c 65 6d 65 6e | 74 20 69 6e 64 65 78 0d |e elemen|t index.|
|00001d40| 2f 2f 20 65 78 69 74 3a | 20 72 65 74 75 72 6e 73 |// exit:| returns|
|00001d50| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00001d60| 65 20 65 6c 65 6d 65 6e | 74 20 61 74 20 74 68 65 |e elemen|t at the|
|00001d70| 20 73 70 65 63 69 66 69 | 65 64 20 69 6e 64 65 78 | specifi|ed index|
|00001d80| 0d 2f 2f 0d 46 55 4e 43 | 20 61 72 72 61 79 5f 67 |.//.FUNC| array_g|
|00001d90| 65 74 28 53 54 52 20 61 | 72 72 61 79 2c 20 49 4e |et(STR a|rray, IN|
|00001da0| 54 20 69 6e 64 65 78 29 | 0d 7b 0d 20 49 4e 54 20 |T index)|.{. INT |
|00001db0| 77 69 64 74 68 20 3d 20 | 4e 55 4d 5f 4c 4f 4e 47 |width = |NUM_LONG|
|00001dc0| 28 53 54 52 5f 4d 49 44 | 28 61 72 72 61 79 2c 34 |(STR_MID|(array,4|
|00001dd0| 2c 34 29 29 3b 0d 20 49 | 4e 54 20 6c 65 6e 67 74 |,4));. I|NT lengt|
|00001de0| 68 20 3d 20 4e 55 4d 5f | 4c 4f 4e 47 28 53 54 52 |h = NUM_|LONG(STR|
|00001df0| 5f 4d 49 44 28 61 72 72 | 61 79 2c 30 2c 34 29 29 |_MID(arr|ay,0,4))|
|00001e00| 3b 0d 20 53 54 52 20 76 | 61 6c 75 65 3b 0d 0d 20 |;. STR v|alue;.. |
|00001e10| 2f 2f 20 6d 61 6b 65 20 | 73 75 72 65 20 6e 6f 74 |// make |sure not|
|00001e20| 20 63 6f 6d 70 6c 65 74 | 65 6c 79 20 6f 75 74 20 | complet|ely out |
|00001e30| 6f 66 20 72 61 6e 67 65 | 0d 20 49 46 20 28 28 69 |of range|. IF ((i|
|00001e40| 6e 64 65 78 20 3c 20 30 | 29 20 7c 7c 20 28 69 6e |ndex < 0|) || (in|
|00001e50| 64 65 78 20 3e 20 6c 65 | 6e 67 74 68 29 29 20 7b |dex > le|ngth)) {|
|00001e60| 0d 20 20 45 52 52 4f 52 | 28 22 41 72 72 61 79 20 |. ERROR|("Array |
|00001e70| 49 6e 64 65 78 20 4f 75 | 74 20 6f 66 20 52 61 6e |Index Ou|t of Ran|
|00001e80| 67 65 22 29 3b 0d 20 7d | 0d 0d 20 2f 2f 20 67 65 |ge");. }|.. // ge|
|00001e90| 74 20 74 68 65 20 65 6c | 65 6d 65 6e 74 20 63 6f |t the el|ement co|
|00001ea0| 6e 74 65 6e 74 73 0d 20 | 76 61 6c 75 65 20 3d 20 |ntents. |value = |
|00001eb0| 53 54 52 5f 4d 49 44 28 | 61 72 72 61 79 2c 38 2b |STR_MID(|array,8+|
|00001ec0| 69 6e 64 65 78 2a 77 69 | 64 74 68 2c 77 69 64 74 |index*wi|dth,widt|
|00001ed0| 68 29 3b 0d 0d 20 2f 2f | 20 72 65 74 75 72 6e 20 |h);.. //| return |
|00001ee0| 6e 75 6d 65 72 69 63 20 | 76 61 6c 75 65 0d 20 49 |numeric |value. I|
|00001ef0| 46 20 28 77 69 64 74 68 | 20 3d 3d 20 34 29 20 7b |F (width| == 4) {|
|00001f00| 0d 20 20 52 45 54 55 52 | 4e 28 4e 55 4d 5f 4c 4f |. RETUR|N(NUM_LO|
|00001f10| 4e 47 28 76 61 6c 75 65 | 29 29 3b 0d 20 7d 0d 0d |NG(value|));. }..|
|00001f20| 20 2f 2f 20 72 65 74 75 | 72 6e 20 73 74 72 69 6e | // retu|rn strin|
|00001f30| 67 20 76 61 6c 75 65 0d | 20 52 45 54 55 52 4e 28 |g value.| RETURN(|
|00001f40| 53 54 52 5f 4d 49 44 28 | 76 61 6c 75 65 2c 31 2c |STR_MID(|value,1,|
|00001f50| 4e 55 4d 5f 42 59 54 45 | 28 76 61 6c 75 65 29 29 |NUM_BYTE|(value))|
|00001f60| 29 3b 0d 7d 0d 0d 0d 2f | 2f 0d 2f 2f 20 73 65 74 |);.}.../|/.// set|
|00001f70| 20 61 20 76 61 6c 75 65 | 20 77 69 74 68 69 6e 20 | a value| within |
|00001f80| 61 6e 20 61 72 72 61 79 | 0d 2f 2f 0d 2f 2f 20 65 |an array|.//.// e|
|00001f90| 6e 74 72 79 3a 20 61 72 | 72 61 79 3d 74 68 65 20 |ntry: ar|ray=the |
|00001fa0| 61 72 72 61 79 2c 20 76 | 61 6c 75 65 3d 74 68 65 |array, v|alue=the|
|00001fb0| 20 6e 65 77 20 76 61 6c | 75 65 2c 20 69 6e 64 65 | new val|ue, inde|
|00001fc0| 78 3d 74 68 65 20 65 6c | 65 6d 65 6e 74 20 69 6e |x=the el|ement in|
|00001fd0| 64 65 78 0d 2f 2f 20 65 | 78 69 74 3a 20 72 65 74 |dex.// e|xit: ret|
|00001fe0| 75 72 6e 73 20 61 6e 20 | 75 70 64 61 74 65 64 20 |urns an |updated |
|00001ff0| 61 72 72 61 79 20 77 69 | 74 68 20 74 68 65 20 63 |array wi|th the c|
|00002000| 68 61 6e 67 65 64 20 76 | 61 6c 75 65 0d 2f 2f 0d |hanged v|alue.//.|
|00002010| 46 55 4e 43 20 61 72 72 | 61 79 5f 73 65 74 28 53 |FUNC arr|ay_set(S|
|00002020| 54 52 20 61 72 72 61 79 | 2c 20 76 61 6c 75 65 2c |TR array|, value,|
|00002030| 20 49 4e 54 20 69 6e 64 | 65 78 29 0d 7b 0d 20 49 | INT ind|ex).{. I|
|00002040| 4e 54 20 77 69 64 74 68 | 20 3d 20 4e 55 4d 5f 4c |NT width| = NUM_L|
|00002050| 4f 4e 47 28 53 54 52 5f | 4d 49 44 28 61 72 72 61 |ONG(STR_|MID(arra|
|00002060| 79 2c 34 2c 34 29 29 3b | 0d 20 49 4e 54 20 6c 65 |y,4,4));|. INT le|
|00002070| 6e 67 74 68 20 3d 20 4e | 55 4d 5f 4c 4f 4e 47 28 |ngth = N|UM_LONG(|
|00002080| 53 54 52 5f 4d 49 44 28 | 61 72 72 61 79 2c 30 2c |STR_MID(|array,0,|
|00002090| 34 29 29 3b 0d 0d 20 2f | 2f 20 6d 61 6b 65 20 73 |4));.. /|/ make s|
|000020a0| 75 72 65 20 6e 6f 74 20 | 63 6f 6d 70 6c 65 74 65 |ure not |complete|
|000020b0| 6c 79 20 6f 75 74 20 6f | 66 20 72 61 6e 67 65 0d |ly out o|f range.|
|000020c0| 20 49 46 20 28 28 69 6e | 64 65 78 20 3c 20 30 29 | IF ((in|dex < 0)|
|000020d0| 20 7c 7c 20 28 69 6e 64 | 65 78 20 3e 20 6c 65 6e | || (ind|ex > len|
|000020e0| 67 74 68 29 29 20 7b 0d | 20 20 45 52 52 4f 52 28 |gth)) {.| ERROR(|
|000020f0| 22 41 72 72 61 79 20 49 | 6e 64 65 78 20 4f 75 74 |"Array I|ndex Out|
|00002100| 20 6f 66 20 52 61 6e 67 | 65 22 29 3b 0d 20 7d 0d | of Rang|e");. }.|
|00002110| 0d 20 2f 2f 20 73 65 65 | 20 69 66 20 77 65 20 6e |. // see| if we n|
|00002120| 65 65 64 20 74 6f 20 65 | 78 74 65 6e 64 20 62 6f |eed to e|xtend bo|
|00002130| 75 6e 64 73 0d 20 49 46 | 20 28 69 6e 64 65 78 20 |unds. IF| (index |
|00002140| 3d 3d 20 6c 65 6e 67 74 | 68 29 20 7b 0d 20 20 52 |== lengt|h) {. R|
|00002150| 45 54 55 52 4e 28 41 52 | 52 41 59 5f 41 44 44 28 |ETURN(AR|RAY_ADD(|
|00002160| 61 72 72 61 79 2c 76 61 | 6c 75 65 29 29 3b 0d 20 |array,va|lue));. |
|00002170| 7d 0d 0d 20 2f 2f 20 69 | 66 20 69 74 73 20 61 20 |}.. // i|f its a |
|00002180| 6e 75 6d 62 65 72 2e 2e | 2e 0d 20 49 46 20 28 77 |number..|.. IF (w|
|00002190| 69 64 74 68 20 3d 3d 20 | 34 29 20 7b 0d 20 20 20 |idth == |4) {. |
|000021a0| 52 45 54 55 52 4e 28 53 | 54 52 5f 4c 45 46 54 28 |RETURN(S|TR_LEFT(|
|000021b0| 61 72 72 61 79 2c 38 2b | 69 6e 64 65 78 2a 34 29 |array,8+|index*4)|
|000021c0| 2b 0d 20 20 20 20 20 20 | 20 20 20 20 53 54 52 5f |+. | STR_|
|000021d0| 4c 4f 4e 47 28 76 61 6c | 75 65 29 2b 0d 20 20 20 |LONG(val|ue)+. |
|000021e0| 20 20 20 20 20 20 20 53 | 54 52 5f 4d 49 44 28 61 | S|TR_MID(a|
|000021f0| 72 72 61 79 2c 38 2b 28 | 69 6e 64 65 78 2b 31 29 |rray,8+(|index+1)|
|00002200| 2a 34 29 29 3b 0d 20 7d | 0d 0d 20 2f 2f 20 69 66 |*4));. }|.. // if|
|00002210| 20 69 74 73 20 61 20 73 | 74 72 69 6e 67 2e 2e 2e | its a s|tring...|
|00002220| 0d 20 52 45 54 55 52 4e | 28 53 54 52 5f 4c 45 46 |. RETURN|(STR_LEF|
|00002230| 54 28 61 72 72 61 79 2c | 38 2b 69 6e 64 65 78 2a |T(array,|8+index*|
|00002240| 77 69 64 74 68 29 2b 0d | 20 20 20 20 20 20 20 20 |width)+.| |
|00002250| 53 54 52 5f 42 59 54 45 | 28 53 54 52 5f 4c 45 4e |STR_BYTE|(STR_LEN|
|00002260| 28 76 61 6c 75 65 29 29 | 2b 0d 20 20 20 20 20 20 |(value))|+. |
|00002270| 20 20 53 54 52 5f 52 45 | 50 45 41 54 28 76 61 6c | STR_RE|PEAT(val|
|00002280| 75 65 2c 77 69 64 74 68 | 2d 31 29 2b 0d 20 20 20 |ue,width|-1)+. |
|00002290| 20 20 20 20 20 53 54 52 | 5f 4d 49 44 28 61 72 72 | STR|_MID(arr|
|000022a0| 61 79 2c 38 2b 28 69 6e | 64 65 78 2b 31 29 2a 77 |ay,8+(in|dex+1)*w|
|000022b0| 69 64 74 68 29 29 3b 0d | 7d 0d 0d 0d 2f 2f 0d 2f |idth));.|}...//./|
|000022c0| 2f 20 61 70 70 65 6e 64 | 20 61 20 6e 65 77 20 76 |/ append| a new v|
|000022d0| 61 6c 75 65 20 74 6f 20 | 61 6e 20 61 72 72 61 79 |alue to |an array|
|000022e0| 20 28 65 78 74 65 6e 64 | 20 62 6f 75 6e 64 73 29 | (extend| bounds)|
|000022f0| 0d 2f 2f 0d 2f 2f 20 65 | 6e 74 72 79 3a 20 61 72 |.//.// e|ntry: ar|
|00002300| 72 61 79 3d 74 68 65 20 | 61 72 72 61 79 2c 20 76 |ray=the |array, v|
|00002310| 61 6c 75 65 3d 74 68 65 | 20 6e 65 77 20 76 61 6c |alue=the| new val|
|00002320| 75 65 0d 2f 2f 20 65 78 | 69 74 3a 20 72 65 74 75 |ue.// ex|it: retu|
|00002330| 72 6e 73 20 61 6e 20 75 | 70 64 61 74 65 64 20 61 |rns an u|pdated a|
|00002340| 72 72 61 79 20 77 69 74 | 68 20 74 68 65 20 63 68 |rray wit|h the ch|
|00002350| 61 6e 67 65 64 20 76 61 | 6c 75 65 0d 2f 2f 0d 46 |anged va|lue.//.F|
|00002360| 55 4e 43 20 61 72 72 61 | 79 5f 61 64 64 28 53 54 |UNC arra|y_add(ST|
|00002370| 52 20 61 72 72 61 79 2c | 20 76 61 6c 75 65 29 0d |R array,| value).|
|00002380| 7b 0d 20 49 4e 54 20 77 | 69 64 74 68 20 3d 20 4e |{. INT w|idth = N|
|00002390| 55 4d 5f 4c 4f 4e 47 28 | 53 54 52 5f 4d 49 44 28 |UM_LONG(|STR_MID(|
|000023a0| 61 72 72 61 79 2c 34 2c | 34 29 29 3b 0d 20 49 4e |array,4,|4));. IN|
|000023b0| 54 20 6c 65 6e 67 74 68 | 20 3d 20 4e 55 4d 5f 4c |T length| = NUM_L|
|000023c0| 4f 4e 47 28 53 54 52 5f | 4d 49 44 28 61 72 72 61 |ONG(STR_|MID(arra|
|000023d0| 79 2c 30 2c 34 29 29 3b | 0d 0d 20 2f 2f 20 73 65 |y,0,4));|.. // se|
|000023e0| 65 20 69 66 20 69 74 73 | 20 61 20 6e 75 6d 62 65 |e if its| a numbe|
|000023f0| 72 0d 20 49 46 20 28 77 | 69 64 74 68 20 3d 3d 20 |r. IF (w|idth == |
|00002400| 34 29 20 7b 0d 20 20 52 | 45 54 55 52 4e 28 53 54 |4) {. R|ETURN(ST|
|00002410| 52 5f 4c 4f 4e 47 28 6c | 65 6e 67 74 68 2b 31 29 |R_LONG(l|ength+1)|
|00002420| 2b 53 54 52 5f 4d 49 44 | 28 61 72 72 61 79 2c 34 |+STR_MID|(array,4|
|00002430| 29 2b 0d 20 20 20 20 20 | 20 20 20 20 53 54 52 5f |)+. | STR_|
|00002440| 4c 4f 4e 47 28 76 61 6c | 75 65 29 29 3b 0d 20 7d |LONG(val|ue));. }|
|00002450| 0d 0d 20 2f 2f 20 69 74 | 73 20 61 20 73 74 72 69 |.. // it|s a stri|
|00002460| 6e 67 0d 20 52 45 54 55 | 52 4e 28 53 54 52 5f 4c |ng. RETU|RN(STR_L|
|00002470| 4f 4e 47 28 6c 65 6e 67 | 74 68 2b 31 29 2b 53 54 |ONG(leng|th+1)+ST|
|00002480| 52 5f 4d 49 44 28 61 72 | 72 61 79 2c 34 29 2b 0d |R_MID(ar|ray,4)+.|
|00002490| 20 20 20 20 20 20 20 20 | 53 54 52 5f 42 59 54 45 | |STR_BYTE|
|000024a0| 28 53 54 52 5f 4c 45 4e | 28 76 61 6c 75 65 29 29 |(STR_LEN|(value))|
|000024b0| 2b 53 54 52 5f 52 45 50 | 45 41 54 28 76 61 6c 75 |+STR_REP|EAT(valu|
|000024c0| 65 2c 77 69 64 74 68 2d | 31 29 29 3b 0d 7d 0d 0d |e,width-|1));.}..|
|000024d0| 0d 2f 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |./******|********|
|000024e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000024f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002500| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002510| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2f 0d 2f 2a 20 20 20 |********|*/./* |
|00002520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002530| 20 20 20 20 20 20 20 20 | 20 47 6c 75 65 20 46 75 | | Glue Fu|
|00002540| 6e 63 74 69 6f 6e 73 20 | 20 20 20 20 20 20 20 20 |nctions | |
|00002550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002560| 20 20 2a 2f 0d 2f 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | */./**|********|
|00002570| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002580| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002590| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000025a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2f 0d 0d |********|*****/..|
|000025b0| 46 55 4e 43 20 75 69 5f | 6e 65 77 28 53 54 52 20 |FUNC ui_|new(STR |
|000025c0| 66 69 6c 65 29 0d 7b 0d | 20 49 46 20 28 49 53 5f |file).{.| IF (IS_|
|000025d0| 46 49 4c 45 28 66 69 6c | 65 29 29 20 7b 20 52 45 |FILE(fil|e)) { RE|
|000025e0| 54 55 52 4e 28 2d 31 29 | 20 7d 0d 20 46 5f 43 52 |TURN(-1)| }. F_CR|
|000025f0| 45 41 54 45 28 66 69 6c | 65 29 3b 0d 20 55 49 5f |EATE(fil|e);. UI_|
|00002600| 4f 50 45 4e 28 66 69 6c | 65 29 3b 0d 20 52 45 54 |OPEN(fil|e);. RET|
|00002610| 55 52 4e 28 30 29 3b 0d | 7d 0d 0d 46 55 4e 43 20 |URN(0);.|}..FUNC |
|00002620| 75 69 5f 6f 70 65 6e 28 | 53 54 52 20 66 69 6c 65 |ui_open(|STR file|
|00002630| 29 0d 7b 0d 20 53 54 52 | 20 74 79 70 65 20 3d 20 |).{. STR| type = |
|00002640| 46 5f 45 58 49 53 54 53 | 28 66 69 6c 65 29 3b 0d |F_EXISTS|(file);.|
|00002650| 20 49 46 20 28 74 79 70 | 65 20 21 3d 20 22 22 29 | IF (typ|e != "")|
|00002660| 20 7b 0d 20 20 55 49 5f | 43 4d 44 28 27 63 6d 64 | {. UI_|CMD('cmd|
|00002670| 3d 6d 65 6e 75 20 63 61 | 6c 6c 3d 22 23 53 75 62 |=menu ca|ll="#Sub|
|00002680| 3a 4f 70 65 6e 22 20 66 | 69 6c 65 3d 26 25 2a 32 |:Open" f|ile=&%*2|
|00002690| 73 20 74 79 70 65 3d 40 | 25 73 27 2c 66 69 6c 65 |s type=@|%s',file|
|000026a0| 2c 74 79 70 65 29 3b 0d | 20 7d 0d 20 52 45 54 55 |,type);.| }. RETU|
|000026b0| 52 4e 28 30 29 3b 0d 7d | 0d 0d 46 55 4e 43 20 75 |RN(0);.}|..FUNC u|
|000026c0| 69 5f 63 6c 6f 73 65 28 | 53 54 52 20 66 69 6c 65 |i_close(|STR file|
|000026d0| 29 0d 7b 0d 20 49 4e 54 | 20 77 69 6e 20 3d 20 57 |).{. INT| win = W|
|000026e0| 49 4e 5f 46 49 4c 45 28 | 66 69 6c 65 29 3b 0d 20 |IN_FILE(|file);. |
|000026f0| 55 49 5f 43 4d 44 28 27 | 63 6d 64 3d 6d 73 67 20 |UI_CMD('|cmd=msg |
|00002700| 77 69 6e 64 3d 25 64 20 | 6d 73 67 3d 43 4c 4f 53 |wind=%d |msg=CLOS|
|00002710| 27 2c 77 69 6e 29 3b 0d | 20 52 45 54 55 52 4e 28 |',win);.| RETURN(|
|00002720| 30 29 3b 0d 7d 0d 0d 46 | 55 4e 43 20 75 69 5f 73 |0);.}..F|UNC ui_s|
|00002730| 61 76 65 28 53 54 52 20 | 66 69 6c 65 29 0d 7b 0d |ave(STR |file).{.|
|00002740| 20 49 4e 54 20 77 69 6e | 20 3d 20 57 49 4e 5f 46 | INT win| = WIN_F|
|00002750| 49 4c 45 28 66 69 6c 65 | 29 3b 0d 20 55 49 5f 43 |ILE(file|);. UI_C|
|00002760| 4d 44 28 27 63 6d 64 3d | 66 69 6c 65 20 23 73 61 |MD('cmd=|file #sa|
|00002770| 76 65 20 77 69 6e 64 3d | 25 64 27 2c 77 69 6e 29 |ve wind=|%d',win)|
|00002780| 3b 0d 20 52 45 54 55 52 | 4e 28 30 29 3b 0d 7d 0d |;. RETUR|N(0);.}.|
|00002790| 0d 46 55 4e 43 20 75 69 | 5f 67 65 74 28 53 54 52 |.FUNC ui|_get(STR|
|000027a0| 20 69 74 65 6d 29 0d 7b | 0d 20 52 45 54 55 52 4e | item).{|. RETURN|
|000027b0| 28 44 5f 47 45 54 28 57 | 49 4e 5f 41 43 54 49 56 |(D_GET(W|IN_ACTIV|
|000027c0| 45 28 30 29 2c 69 74 65 | 6d 29 29 3b 0d 7d 0d 0d |E(0),ite|m));.}..|
|000027d0| 46 55 4e 43 20 75 69 5f | 73 65 74 28 53 54 52 20 |FUNC ui_|set(STR |
|000027e0| 69 74 65 6d 2c 20 53 54 | 52 20 76 61 6c 75 65 29 |item, ST|R value)|
|000027f0| 0d 7b 0d 20 49 4e 54 20 | 77 69 6e 2c 72 65 74 3b |.{. INT |win,ret;|
|00002800| 0d 20 53 54 52 20 74 79 | 70 65 3b 0d 0d 20 77 69 |. STR ty|pe;.. wi|
|00002810| 6e 20 3d 20 57 49 4e 5f | 41 43 54 49 56 45 28 30 |n = WIN_|ACTIVE(0|
|00002820| 29 3b 0d 20 72 65 74 20 | 3d 20 44 5f 53 45 54 28 |);. ret |= D_SET(|
|00002830| 77 69 6e 2c 69 74 65 6d | 2c 76 61 6c 75 65 29 3b |win,item|,value);|
|00002840| 0d 20 74 79 70 65 20 3d | 20 57 49 4e 5f 54 59 50 |. type =| WIN_TYP|
|00002850| 45 28 77 69 6e 29 3b 0d | 20 49 46 20 28 28 74 79 |E(win);.| IF ((ty|
|00002860| 70 65 20 3d 3d 20 22 46 | 53 32 2a 22 29 20 7c 7c |pe == "F|S2*") |||
|00002870| 20 28 74 79 70 65 20 3d | 3d 20 22 46 53 33 2a 22 | (type =|= "FS3*"|
|00002880| 29 20 7c 7c 20 28 74 79 | 70 65 20 3d 3d 20 22 46 |) || (ty|pe == "F|
|00002890| 53 34 2a 22 29 29 20 7b | 0d 20 20 49 46 20 28 53 |S4*")) {|. IF (S|
|000028a0| 54 52 5f 55 50 50 45 52 | 28 69 74 65 6d 29 20 3d |TR_UPPER|(item) =|
|000028b0| 3d 20 22 46 49 4c 45 22 | 29 20 7b 20 57 49 4e 5f |= "FILE"|) { WIN_|
|000028c0| 57 41 49 54 28 77 69 6e | 29 20 7d 0d 20 7d 0d 20 |WAIT(win|) }. }. |
|000028d0| 52 45 54 55 52 4e 28 72 | 65 74 29 3b 0d 7d 0d 0d |RETURN(r|et);.}..|
|000028e0| 46 55 4e 43 20 75 69 5f | 63 6c 69 63 6b 28 53 54 |FUNC ui_|click(ST|
|000028f0| 52 20 69 74 65 6d 29 0d | 7b 0d 20 52 45 54 55 52 |R item).|{. RETUR|
|00002900| 4e 28 44 5f 53 45 54 28 | 57 49 4e 5f 41 43 54 49 |N(D_SET(|WIN_ACTI|
|00002910| 56 45 28 30 29 2c 69 74 | 65 6d 2c 22 7e 22 29 29 |VE(0),it|em,"~"))|
|00002920| 3b 0d 7d 0d 0d 46 55 4e | 43 20 75 69 5f 65 71 75 |;.}..FUN|C ui_equ|
|00002930| 69 76 28 53 54 52 20 6d | 65 6e 75 2c 20 53 54 52 |iv(STR m|enu, STR|
|00002940| 20 6b 65 79 29 0d 7b 0d | 20 49 46 20 28 6b 65 79 | key).{.| IF (key|
|00002950| 20 3d 3d 20 22 22 29 20 | 7b 20 6b 65 79 20 3d 20 | == "") |{ key = |
|00002960| 22 20 22 20 7d 0d 20 52 | 45 54 55 52 4e 28 4d 4d |" " }. R|ETURN(MM|
|00002970| 5f 4b 45 59 28 6d 65 6e | 75 2c 6b 65 79 29 29 3b |_KEY(men|u,key));|
|00002980| 0d 7d 0d 0d 46 55 4e 43 | 20 75 69 5f 63 6f 6e 6e |.}..FUNC| ui_conn|
|00002990| 65 63 74 28 53 54 52 20 | 66 69 6c 65 2c 49 4e 54 |ect(STR |file,INT|
|000029a0| 20 63 6f 75 6e 74 2c 49 | 4e 54 20 73 79 6e 63 29 | count,I|NT sync)|
|000029b0| 0d 7b 0d 20 53 54 52 20 | 73 79 6e 63 65 72 3b 0d |.{. STR |syncer;.|
|000029c0| 20 53 54 52 20 72 65 73 | 75 6c 74 3b 0d 0d 20 73 | STR res|ult;.. s|
|000029d0| 79 6e 63 65 72 20 3d 20 | 22 22 3b 0d 20 49 46 20 |yncer = |"";. IF |
|000029e0| 28 73 79 6e 63 20 3e 20 | 30 29 20 7b 20 73 79 6e |(sync > |0) { syn|
|000029f0| 63 65 72 20 3d 20 22 23 | 53 59 4e 43 22 20 7d 0d |cer = "#|SYNC" }.|
|00002a00| 0d 20 49 46 20 28 46 5f | 45 58 49 53 54 53 28 66 |. IF (F_|EXISTS(f|
|00002a10| 69 6c 65 29 20 21 3d 20 | 22 53 52 56 53 22 29 20 |ile) != |"SRVS") |
|00002a20| 7b 20 52 45 54 55 52 4e | 28 22 22 29 20 7d 0d 20 |{ RETURN|("") }. |
|00002a30| 72 65 73 75 6c 74 20 3d | 20 55 49 5f 43 4d 44 28 |result =| UI_CMD(|
|00002a40| 22 63 6d 64 3d 63 6f 6e | 6e 65 63 74 20 66 69 6c |"cmd=con|nect fil|
|00002a50| 65 3d 26 25 2a 32 73 20 | 63 6f 75 6e 74 3d 25 64 |e=&%*2s |count=%d|
|00002a60| 20 25 73 22 2c 66 69 6c | 65 2c 63 6f 75 6e 74 2c | %s",fil|e,count,|
|00002a70| 73 79 6e 63 65 72 29 3b | 0d 20 52 45 54 55 52 4e |syncer);|. RETURN|
|00002a80| 28 22 22 29 3b 0d 7d 0d | 0d 00 00 00 00 00 00 00 |("");.}.|........|
|00002a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00002b10| 00 c8 57 20 2b 01 04 ea | d0 01 80 00 9f 76 05 ff |..W +...|.....v..|
|00002b20| d4 3e 2d f6 c4 de 6d f6 | c6 67 03 60 72 0c 6e 80 |.>-...m.|.g.`r.n.|
|00002b30| 14 52 65 73 69 64 65 6e | 74 20 4d 61 63 72 6f 73 |.Residen|t Macros|
|00002b40| 20 31 32 30 32 73 02 00 | 00 00 44 49 52 43 50 54 | 1202s..|..DIRCPT|
|00002b50| 00 00 44 49 52 43 50 54 | 4d 32 01 00 00 00 00 00 |..DIRCPT|M2......|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 ab b8 63 a3 00 00 | 2a 09 00 00 01 ac 9f 50 |....c...|*......P|
|00002b80| 01 03 4a 57 20 2b 20 09 | 8e 01 ff 7e 7f ae 87 26 |..JW + .|...~...&|
|00002b90| 9f 02 6f 06 31 6e 9f 87 | 7f ae a4 26 94 02 6c 06 |..o.1n..|...&..l.|
|00002ba0| 31 6e 94 a4 73 c4 01 ff | c0 38 4b 01 2f 0a 59 4f |1n..s...|.8K./.YO|
|00002bb0| e9 4d 02 22 51 45 e9 ac | 03 24 d8 24 d8 24 6e 5b |.M."QE..|.$.$.$n[|
|00002bc0| 38 5b 5c 6a 23 5a 54 46 | 60 4c 01 f7 56 7f 64 b5 |8[\j#ZTF|`L..V.d.|
|00002bd0| 58 64 e2 c0 5b 58 01 26 | 68 4d 5a 54 60 52 51 58 |Xd..[X.&|hMZT`RQX|
|00002be0| 02 22 68 00 cc 48 73 84 | 72 38 5f 5c 92 23 57 5f |."h..Hs.|r8_\.#W_|
|00002bf0| 50 01 08 72 7f 64 20 04 | b2 5f 04 45 e8 00 3c 24 |P..r.d .|._.E..<$|
|00002c00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 72 0d 0d |...H..Mo|naco.r..|
|00002c10| 01 26 a6 70 6f 76 65 71 | 09 23 30 2c 64 31 0d 09 |.&.poveq|.#0,d1..|
|00002c20| 09 09 6d 6f 76 65 00 06 | 00 04 00 64 00 1c 02 6d |..move..|...d...m|
|00002c30| 02 fd 00 64 00 1c 02 6d | 02 fd ae f9 75 33 00 00 |...d...m|....u3..|
|00002c40| 1f 0b 00 00 1f 0b 00 00 | 1b d3 01 00 00 00 00 1e |........|........|
|00002c50| 00 64 00 1c 02 6d 02 fd | 00 64 00 1c 02 6d 02 fd |.d...m..|.d...m..|
|00002c60| 00 00 1b d3 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c70| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 01 17 |.....n..|.n...>..|
|00002c80| ec 98 19 58 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |...X....|.>..MPSR|
|00002c90| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 03 f0 ff ff 00 00 00 4c | 01 1d e8 54 00 00 00 00 |.......L|...T....|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+