home *** CD-ROM | disk | FTP | other *** search
Unknown | 1998-03-02 | 20.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: 'HELP('
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 48 45 4c 50 28 00 00 00 | fa 00 00 00 ff ff ff ff |HELP(...|........|
|00000010| 2c 00 00 00 00 fd ff ff | 00 00 00 00 84 02 00 00 |,.......|........|
|00000020| 00 01 00 00 00 00 00 00 | 24 00 00 00 44 49 52 24 |........|$...DIR$|
|00000030| 8c 02 00 00 8c 02 00 00 | b8 02 00 00 47 fd ff ff |........|....G...|
|00000040| 9c 49 c5 cd 38 01 00 00 | 13 00 00 00 00 00 00 00 |.I..8...|........|
|00000050| 21 52 6f 6f 74 00 00 00 | f0 03 00 00 47 fd ff ff |!Root...|....G...|
|00000060| f6 4f c5 cd 2c 00 00 00 | 13 01 00 00 00 00 00 00 |.O..,...|........|
|00000070| 44 4e 53 52 65 73 6f 6c | 76 65 72 5f 00 00 00 00 |DNSResol|ver_....|
|00000080| 54 05 00 00 47 fd ff ff | 4b 50 c5 cd 2c 00 00 00 |T...G...|KP..,...|
|00000090| 13 01 00 00 00 00 00 00 | 45 63 5f 00 e8 05 00 00 |........|Ec_.....|
|000000a0| 47 fd ff ff 63 50 c5 cd | 98 00 00 00 13 01 00 00 |G...cP..|........|
|000000b0| 00 00 00 00 48 54 4d 4c | 44 65 63 6f 64 65 5f 00 |....HTML|Decode_.|
|000000c0| 74 0f 00 00 47 fd ff ff | b0 50 c5 cd 4c 00 00 00 |t...G...|.P..L...|
|000000d0| 13 01 00 00 00 00 00 00 | 48 54 54 50 5f 00 00 00 |........|HTTP_...|
|000000e0| 44 12 00 00 47 fd ff ff | ea 50 c5 cd 80 01 00 00 |D...G...|.P......|
|000000f0| 13 01 00 00 00 00 00 00 | 49 6e 74 65 72 6e 65 74 |........|Internet|
|00000100| 5f 00 00 00 a0 23 00 00 | 47 fd ff ff a0 51 c5 cd |_....#..|G....Q..|
|00000110| 2c 00 00 00 13 01 00 00 | 00 00 00 00 4b 41 39 51 |,.......|....KA9Q|
|00000120| 41 55 4e 5f 00 00 00 00 | 80 24 00 00 47 fd ff ff |AUN_....|.$..G...|
|00000130| c2 51 c5 cd 2c 00 00 00 | 13 01 00 00 00 00 00 00 |.Q..,...|........|
|00000140| 4d 62 75 66 5f 00 00 00 | 24 25 00 00 47 fd ff ff |Mbuf_...|$%..G...|
|00000150| d5 51 c5 cd 2c 00 00 00 | 13 01 00 00 00 00 00 00 |.Q..,...|........|
|00000160| 53 4c 49 50 64 72 69 76 | 65 72 5f 00 d4 25 00 00 |SLIPdriv|er_..%..|
|00000170| 47 fd ff ff eb 51 c5 cd | 2c 00 00 00 13 01 00 00 |G....Q..|,.......|
|00000180| 00 00 00 00 53 6f 63 6b | 65 74 5f 00 0c 27 00 00 |....Sock|et_..'..|
|00000190| 47 fd ff ff 0a 52 c5 cd | 58 02 00 00 13 01 00 00 |G....R..|X.......|
|000001a0| 00 00 00 00 53 79 73 4c | 6f 67 5f 00 fc 3e 00 00 |....SysL|og_..>..|
|000001b0| 47 fd ff ff ad 53 c5 cd | bc 00 00 00 13 01 00 00 |G....S..|........|
|000001c0| 00 00 00 00 55 52 49 5f | 00 00 00 00 fc 45 00 00 |....URI_|.....E..|
|000001d0| 47 fd ff ff 44 54 c5 cd | 2c 00 00 00 13 01 00 00 |G...DT..|,.......|
|000001e0| 00 00 00 00 57 65 62 46 | 54 50 5f 00 64 46 00 00 |....WebF|TP_.dF..|
|000001f0| 47 fd ff ff 75 54 c5 cd | 2c 00 00 00 13 01 00 00 |G...uT..|,.......|
|00000200| 00 00 00 00 57 65 62 47 | 6f 70 68 65 72 5f 00 00 |....WebG|opher_..|
|00000210| d0 46 00 00 45 fc ff ff | c3 d8 0e e3 20 00 00 00 |.F..E...|.... ...|
|00000220| 13 00 00 00 00 00 00 00 | 21 50 72 65 00 00 00 00 |........|!Pre....|
|00000230| f0 46 00 00 47 fd ff ff | b8 54 c5 cd 74 00 00 00 |.F..G...|.T..t...|
|00000240| 13 01 00 00 00 00 00 00 | 52 47 42 5f 00 00 00 00 |........|RGB_....|
|00000250| 30 4b 00 00 47 fd ff ff | 1c 55 c5 cd 2c 00 00 00 |0K..G...|.U..,...|
|00000260| 13 01 00 00 00 00 00 00 | 50 50 50 64 72 69 76 65 |........|PPPdrive|
|00000270| 72 5f 00 00 d0 4b 00 00 | 47 fd ff ff 45 55 c5 cd |r_...K..|G...EU..|
|00000280| 50 00 00 00 13 01 00 00 | 00 00 00 00 4d 69 6d 65 |P.......|....Mime|
|00000290| 4d 61 70 5f 00 00 00 00 | 00 4f 00 00 47 fd ff ff |Map_....|.O..G...|
|000002a0| cd 96 c4 cd 04 03 00 00 | 13 00 00 00 00 00 00 00 |........|........|
|000002b0| 61 62 6f 75 74 00 00 00 | 44 41 54 41 38 01 00 00 |about...|DATA8...|
|000002c0| 49 6e 74 65 72 6e 65 74 | 20 53 57 49 73 0a 23 50 |Internet| SWIs.#P|
|000002d0| 61 72 65 6e 74 20 53 74 | 72 6f 6e 67 48 65 6c 70 |arent St|rongHelp|
|000002e0| 3a 21 4d 65 6e 75 0a 23 | 50 6f 73 74 66 69 78 20 |:!Menu.#|Postfix |
|000002f0| 5f 0a 23 54 61 62 6c 65 | 20 43 6f 6c 75 6d 6e 73 |_.#Table| Columns|
|00000300| 20 34 0a 3c 44 4e 53 52 | 65 73 6f 6c 76 65 72 3e | 4.<DNSR|esolver>|
|00000310| 0a 3c 45 63 3e 0a 3c 48 | 54 4d 4c 44 65 63 6f 64 |.<Ec>.<H|TMLDecod|
|00000320| 65 3e 0a 3c 48 54 54 50 | 3e 0a 3c 49 6e 74 65 72 |e>.<HTTP|>.<Inter|
|00000330| 6e 65 74 3e 0a 3c 4b 41 | 39 51 41 55 4e 3e 0a 3c |net>.<KA|9QAUN>.<|
|00000340| 4d 62 75 66 3e 0a 3c 4d | 69 6d 65 4d 61 70 3e 0a |Mbuf>.<M|imeMap>.|
|00000350| 3c 50 50 50 64 72 69 76 | 65 72 3e 0a 3c 52 47 42 |<PPPdriv|er>.<RGB|
|00000360| 3e 0a 3c 53 4c 49 50 64 | 72 69 76 65 72 3e 0a 3c |>.<SLIPd|river>.<|
|00000370| 53 6f 63 6b 65 74 3d 3e | 49 6e 65 74 3a 21 52 6f |Socket=>|Inet:!Ro|
|00000380| 6f 74 3e 0a 3c 53 79 73 | 4c 6f 67 3e 0a 3c 55 52 |ot>.<Sys|Log>.<UR|
|00000390| 49 3e 0a 3c 57 65 62 46 | 54 50 3e 0a 3c 57 65 62 |I>.<WebF|TP>.<Web|
|000003a0| 47 6f 70 68 65 72 3e 0a | 23 45 6e 64 54 61 62 6c |Gopher>.|#EndTabl|
|000003b0| 65 0a 23 4c 69 6e 65 0a | 23 61 6c 69 67 6e 20 63 |e.#Line.|#align c|
|000003c0| 65 6e 74 72 65 0a 7b 2f | 7d 3c 49 6e 74 65 72 6e |entre.{/|}<Intern|
|000003d0| 65 74 20 53 57 49 73 20 | 6d 61 6e 75 61 6c 3d 3e |et SWIs |manual=>|
|000003e0| 61 62 6f 75 74 3e 2c 20 | 76 31 2e 30 30 7b 2f 7d |about>, |v1.00{/}|
|000003f0| 44 49 52 24 2c 00 00 00 | 2c 00 00 00 1c 04 00 00 |DIR$,...|,.......|
|00000400| 47 fd ff ff ee cb cd 13 | 35 01 00 00 13 00 00 00 |G.......|5.......|
|00000410| 00 00 00 00 21 52 6f 6f | 74 00 00 00 44 41 54 41 |....!Roo|t...DATA|
|00000420| 35 01 00 00 44 4e 53 52 | 65 73 6f 6c 76 65 72 0a |5...DNSR|esolver.|
|00000430| 23 50 61 72 65 6e 74 20 | 21 52 6f 6f 74 0a 23 50 |#Parent |!Root.#P|
|00000440| 72 65 66 69 78 20 44 4e | 53 52 65 73 6f 6c 76 65 |refix DN|SResolve|
|00000450| 72 5f 0a 23 54 61 62 6c | 65 20 43 6f 6c 75 6d 6e |r_.#Tabl|e Column|
|00000460| 73 20 32 0a 47 65 74 48 | 6f 73 74 42 79 4e 61 6d |s 2.GetH|ostByNam|
|00000470| 65 0a 47 65 74 48 6f 73 | 74 42 79 41 64 64 72 0a |e.GetHos|tByAddr.|
|00000480| 53 74 61 72 74 0a 43 68 | 65 63 6b 0a 44 69 73 70 |Start.Ch|eck.Disp|
|00000490| 6f 73 65 0a 47 65 74 41 | 6e 73 77 65 72 0a 47 65 |ose.GetA|nswer.Ge|
|000004a0| 74 41 6e 73 77 65 72 52 | 61 77 0a 47 65 74 41 6e |tAnswerR|aw.GetAn|
|000004b0| 73 77 65 72 4d 58 0a 47 | 65 74 41 6e 73 77 65 72 |swerMX.G|etAnswer|
|000004c0| 4e 53 0a 47 65 74 41 6e | 73 77 65 72 53 4f 41 0a |NS.GetAn|swerSOA.|
|000004d0| 4d 54 47 65 74 48 6f 73 | 74 42 79 4e 61 6d 65 0a |MTGetHos|tByName.|
|000004e0| 4d 54 47 65 74 48 6f 73 | 74 42 79 41 64 64 72 0a |MTGetHos|tByAddr.|
|000004f0| 53 74 61 74 75 73 0a 44 | 65 62 75 67 0a 55 73 65 |Status.D|ebug.Use|
|00000500| 56 43 0a 56 65 72 73 69 | 6f 6e 0a 53 68 6f 77 41 |VC.Versi|on.ShowA|
|00000510| 6e 73 77 65 72 0a 44 6e | 43 6f 6d 70 0a 44 6e 45 |nswer.Dn|Comp.DnE|
|00000520| 78 70 61 6e 64 0a 47 65 | 74 48 6f 73 74 4e 61 6d |xpand.Ge|tHostNam|
|00000530| 65 0a 52 65 73 51 75 65 | 72 79 0a 4e 61 6d 65 73 |e.ResQue|ry.Names|
|00000540| 65 72 76 65 72 73 0a 23 | 45 6e 64 54 61 62 6c 65 |ervers.#|EndTable|
|00000550| 0a 00 00 00 44 49 52 24 | 2c 00 00 00 2c 00 00 00 |....DIR$|,...,...|
|00000560| 80 05 00 00 47 fd ff ff | d2 59 bc 21 67 00 00 00 |....G...|.Y.!g...|
|00000570| 13 00 00 00 00 00 00 00 | 21 52 6f 6f 74 00 00 00 |........|!Root...|
|00000580| 44 41 54 41 67 00 00 00 | 45 63 0a 23 50 61 72 65 |DATAg...|Ec.#Pare|
|00000590| 6e 74 20 21 52 6f 6f 74 | 0a 23 50 72 65 66 69 78 |nt !Root|.#Prefix|
|000005a0| 20 45 63 5f 0a 23 54 61 | 62 6c 65 20 43 6f 6c 75 | Ec_.#Ta|ble Colu|
|000005b0| 6d 6e 73 20 32 0a 53 74 | 61 72 74 0a 55 70 0a 44 |mns 2.St|art.Up.D|
|000005c0| 6f 77 6e 0a 53 65 6e 64 | 0a 56 65 72 73 69 6f 6e |own.Send|.Version|
|000005d0| 0a 4d 54 55 0a 54 78 45 | 76 52 65 71 0a 23 45 6e |.MTU.TxE|vReq.#En|
|000005e0| 64 54 61 62 6c 65 0a 00 | 44 49 52 24 98 00 00 00 |dTable..|DIR$....|
|000005f0| 98 00 00 00 80 06 00 00 | 47 fd ff ff de 00 e0 12 |........|G.......|
|00000600| 75 00 00 00 13 00 00 00 | 00 00 00 00 21 52 6f 6f |u.......|....!Roo|
|00000610| 74 00 00 00 f8 06 00 00 | 47 ff ff ff 27 fa e4 c3 |t.......|G...'...|
|00000620| 36 05 00 00 13 00 00 00 | 00 00 00 00 47 65 74 57 |6.......|....GetW|
|00000630| 6f 72 64 00 30 0c 00 00 | 47 ff ff ff 8b b3 e1 12 |ord.0...|G.......|
|00000640| c7 01 00 00 13 00 00 00 | 00 00 00 00 4d 6f 76 65 |........|....Move|
|00000650| 42 79 74 65 73 00 00 00 | f8 0d 00 00 47 ff ff ff |Bytes...|....G...|
|00000660| dc 6b e1 12 79 01 00 00 | 13 00 00 00 00 00 00 00 |.k..y...|........|
|00000670| 47 65 74 41 74 74 72 69 | 62 75 74 65 00 00 00 00 |GetAttri|bute....|
|00000680| 44 41 54 41 75 00 00 00 | 48 54 4d 4c 44 65 63 6f |DATAu...|HTMLDeco|
|00000690| 64 65 0a 23 50 61 72 65 | 6e 74 20 21 52 6f 6f 74 |de.#Pare|nt !Root|
|000006a0| 0a 23 50 72 65 66 69 78 | 20 48 54 4d 4c 44 65 63 |.#Prefix| HTMLDec|
|000006b0| 6f 64 65 5f 0a 23 54 61 | 62 6c 65 20 43 6f 6c 75 |ode_.#Ta|ble Colu|
|000006c0| 6d 6e 73 20 32 0a 3c 47 | 65 74 57 6f 72 64 3e 0a |mns 2.<G|etWord>.|
|000006d0| 3c 47 65 74 41 74 74 72 | 69 62 75 74 65 3e 0a 3c |<GetAttr|ibute>.<|
|000006e0| 4d 6f 76 65 42 79 74 65 | 73 3e 0a 23 45 6e 64 54 |MoveByte|s>.#EndT|
|000006f0| 61 62 6c 65 0a 00 00 00 | 44 41 54 41 36 05 00 00 |able....|DATA6...|
|00000700| 48 54 4d 4c 44 65 63 6f | 64 65 5f 47 65 74 57 6f |HTMLDeco|de_GetWo|
|00000710| 72 64 20 20 28 26 34 44 | 38 34 30 29 0a 23 50 61 |rd (&4D|840).#Pa|
|00000720| 72 65 6e 74 20 48 54 4d | 4c 44 65 63 6f 64 65 5f |rent HTM|LDecode_|
|00000730| 0a 3d 3e 09 52 30 20 3d | 09 70 6f 69 6e 74 65 72 |.=>.R0 =|.pointer|
|00000740| 20 74 6f 20 69 6e 70 75 | 74 20 62 75 66 66 65 72 | to inpu|t buffer|
|00000750| 0a 09 52 31 20 3d 09 6c | 65 6e 67 74 68 20 6f 66 |..R1 =.l|ength of|
|00000760| 20 62 75 66 66 65 72 0a | 09 52 32 20 3d 09 3c 66 | buffer.|.R2 =.<f|
|00000770| 6c 61 67 73 3d 3e 2e 66 | 6c 61 67 73 3e 0a 0a 3c |lags=>.f|lags>..<|
|00000780| 3d 09 52 30 20 3d 09 70 | 6f 69 6e 74 65 72 20 74 |=.R0 =.p|ointer t|
|00000790| 6f 20 73 74 72 69 6e 67 | 2c 20 6f 72 20 30 20 69 |o string|, or 0 i|
|000007a0| 66 20 6e 6f 20 73 74 72 | 69 6e 67 20 70 72 65 73 |f no str|ing pres|
|000007b0| 65 6e 74 0a 09 52 31 20 | 3d 09 6c 65 6e 67 74 68 |ent..R1 |=.length|
|000007c0| 20 74 6f 20 72 65 64 75 | 63 65 20 62 75 66 66 65 | to redu|ce buffe|
|000007d0| 72 20 62 79 0a 0a 54 68 | 69 73 20 53 57 49 20 72 |r by..Th|is SWI r|
|000007e0| 65 61 64 73 20 61 20 73 | 69 6e 67 6c 65 20 77 6f |eads a s|ingle wo|
|000007f0| 72 64 2c 20 6f 72 20 74 | 61 67 20 66 72 6f 6d 20 |rd, or t|ag from |
|00000800| 61 20 73 74 72 65 61 6d | 20 6f 66 20 72 61 77 20 |a stream| of raw |
|00000810| 48 54 4d 4c 20 64 61 74 | 61 2e 20 53 74 72 69 6e |HTML dat|a. Strin|
|00000820| 67 73 20 72 65 74 75 72 | 6e 65 64 20 6d 61 79 20 |gs retur|ned may |
|00000830| 62 65 20 75 70 20 74 6f | 20 35 31 32 20 62 79 74 |be up to| 512 byt|
|00000840| 65 73 20 69 6e 20 6c 65 | 6e 67 74 68 20 61 6e 64 |es in le|ngth and|
|00000850| 20 61 72 65 20 76 61 6c | 69 64 20 75 6e 74 69 6c | are val|id until|
|00000860| 20 74 68 65 20 6e 65 78 | 74 20 63 61 6c 6c 20 74 | the nex|t call t|
|00000870| 6f 20 48 54 4d 4c 44 65 | 63 6f 64 65 5f 47 65 74 |o HTMLDe|code_Get|
|00000880| 57 6f 72 64 2e 20 43 6f | 6d 6d 65 6e 74 20 74 61 |Word. Co|mment ta|
|00000890| 67 73 20 77 69 6c 6c 20 | 6e 65 76 65 72 20 62 65 |gs will |never be|
|000008a0| 20 72 65 74 75 72 6e 65 | 64 20 61 73 20 74 68 65 | returne|d as the|
|000008b0| 73 65 20 61 72 65 20 73 | 74 72 69 70 70 65 64 20 |se are s|tripped |
|000008c0| 63 6f 6d 70 6c 65 74 65 | 6c 79 2e 0a 23 53 75 62 |complete|ly..#Sub|
|000008d0| 70 61 67 65 20 66 6c 61 | 67 73 0a 46 6c 61 67 73 |page fla|gs.Flags|
|000008e0| 20 75 73 65 64 20 69 6e | 20 48 54 4d 4c 44 65 63 | used in| HTMLDec|
|000008f0| 6f 64 65 5f 47 65 74 57 | 6f 72 64 73 0a 42 69 74 |ode_GetW|ords.Bit|
|00000900| 09 4d 65 61 6e 69 6e 67 | 20 69 66 20 73 65 74 0a |.Meaning| if set.|
|00000910| 23 4c 69 6e 65 0a 30 09 | 3c 46 69 6c 65 20 69 73 |#Line.0.|<File is|
|00000920| 20 63 6f 6d 70 6c 65 74 | 65 3d 3e 2e 66 6c 61 67 | complet|e=>.flag|
|00000930| 62 69 74 30 3e 0a 23 53 | 75 62 70 61 67 65 20 66 |bit0>.#S|ubpage f|
|00000940| 6c 61 67 62 69 74 30 0a | 46 6c 61 67 20 62 69 74 |lagbit0.|Flag bit|
|00000950| 20 30 20 66 6f 72 20 48 | 54 4d 4c 44 65 63 6f 64 | 0 for H|TMLDecod|
|00000960| 65 5f 47 65 74 57 6f 72 | 64 0a 49 6e 20 6f 72 64 |e_GetWor|d.In ord|
|00000970| 65 72 20 74 68 61 74 20 | 48 54 4d 4c 44 65 63 6f |er that |HTMLDeco|
|00000980| 64 65 20 6d 61 79 20 70 | 72 6f 63 65 73 73 20 66 |de may p|rocess f|
|00000990| 69 6c 65 73 20 27 6f 6e | 20 74 68 65 20 66 6c 79 |iles 'on| the fly|
|000009a0| 27 20 77 68 69 6c 73 74 | 20 64 61 74 61 20 69 73 |' whilst| data is|
|000009b0| 20 6f 6e 6c 79 20 70 61 | 72 74 69 61 6c 6c 79 20 | only pa|rtially |
|000009c0| 61 76 61 69 6c 61 62 6c | 65 20 74 68 65 20 66 6c |availabl|e the fl|
|000009d0| 61 67 20 77 6f 72 64 20 | 69 6e 64 69 63 61 74 65 |ag word |indicate|
|000009e0| 73 20 77 68 65 74 68 65 | 72 20 74 68 65 20 64 61 |s whethe|r the da|
|000009f0| 74 61 20 69 6e 20 74 68 | 65 20 62 75 66 66 65 72 |ta in th|e buffer|
|00000a00| 20 69 73 20 74 68 65 20 | 63 6f 6d 70 6c 65 74 65 | is the |complete|
|00000a10| 20 64 61 74 61 20 66 72 | 6f 6d 20 74 68 65 20 73 | data fr|om the s|
|00000a20| 65 72 76 65 72 2c 20 6f | 72 20 77 68 65 74 68 65 |erver, o|r whethe|
|00000a30| 72 20 74 68 65 72 65 20 | 69 73 20 6d 6f 72 65 20 |r there |is more |
|00000a40| 74 6f 20 63 6f 6d 65 20 | 62 75 74 20 74 68 61 74 |to come |but that|
|00000a50| 20 69 74 20 69 73 20 6e | 6f 74 20 69 6e 20 74 68 | it is n|ot in th|
|00000a60| 65 20 62 75 66 66 65 72 | 20 61 74 20 74 68 65 20 |e buffer| at the |
|00000a70| 6d 6f 6d 65 6e 74 2e 0a | 0a 54 68 65 72 65 66 6f |moment..|.Therefo|
|00000a80| 72 65 2c 20 77 68 65 6e | 20 74 68 65 20 65 6e 64 |re, when| the end|
|00000a90| 20 6f 66 20 74 68 65 20 | 62 75 66 66 65 72 20 69 | of the |buffer i|
|00000aa0| 73 20 72 65 61 63 68 65 | 64 20 61 6e 64 20 74 68 |s reache|d and th|
|00000ab0| 65 20 66 6c 61 67 20 69 | 73 20 75 6e 73 65 74 20 |e flag i|s unset |
|00000ac0| 74 68 65 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |then the| current|
|00000ad0| 6c 79 20 70 72 6f 63 65 | 73 73 65 64 20 73 74 72 |ly proce|ssed str|
|00000ae0| 69 6e 67 20 69 73 20 61 | 62 61 6e 64 6f 6e 65 64 |ing is a|bandoned|
|00000af0| 20 61 6e 64 20 30 20 72 | 65 74 75 72 6e 65 64 2e | and 0 r|eturned.|
|00000b00| 20 54 68 65 20 62 75 66 | 66 65 72 20 77 69 6c 6c | The buf|fer will|
|00000b10| 20 68 61 76 65 20 62 65 | 65 6e 20 73 63 61 6e 6e | have be|en scann|
|00000b20| 65 64 20 66 6f 72 20 63 | 6f 6d 6d 65 6e 74 73 20 |ed for c|omments |
|00000b30| 61 6e 64 20 73 70 61 63 | 65 73 20 61 6e 64 20 74 |and spac|es and t|
|00000b40| 68 65 72 65 66 6f 72 65 | 20 52 31 20 69 73 20 76 |herefore| R1 is v|
|00000b50| 61 6c 69 64 2e 0a 0a 49 | 66 20 74 68 65 20 65 6e |alid...I|f the en|
|00000b60| 64 20 6f 66 20 74 68 65 | 20 62 75 66 66 65 72 20 |d of the| buffer |
|00000b70| 69 73 20 72 65 61 63 68 | 65 64 20 61 6e 64 20 74 |is reach|ed and t|
|00000b80| 68 65 20 66 6c 61 67 20 | 69 73 20 73 65 74 20 74 |he flag |is set t|
|00000b90| 68 65 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 6c |hen the |currentl|
|00000ba0| 79 20 70 72 6f 63 65 73 | 73 65 64 20 73 74 72 69 |y proces|sed stri|
|00000bb0| 6e 67 20 77 69 6c 6c 20 | 62 65 20 74 65 72 6d 69 |ng will |be termi|
|00000bc0| 6e 61 74 65 64 20 61 6e | 64 20 72 65 74 75 72 6e |nated an|d return|
|00000bd0| 65 64 20 61 73 20 74 68 | 65 20 6c 61 73 74 20 73 |ed as th|e last s|
|00000be0| 74 72 69 6e 67 2e 20 53 | 75 62 73 65 71 75 65 6e |tring. S|ubsequen|
|00000bf0| 74 20 63 61 6c 6c 73 20 | 77 69 6c 6c 20 72 65 74 |t calls |will ret|
|00000c00| 75 72 6e 20 30 20 69 6e | 64 69 63 61 74 69 6e 67 |urn 0 in|dicating|
|00000c10| 20 74 68 61 74 20 74 68 | 65 20 64 65 63 6f 64 65 | that th|e decode|
|00000c20| 20 69 73 20 63 6f 6d 70 | 6c 65 74 65 2e 0a 00 00 | is comp|lete....|
|00000c30| 44 41 54 41 c7 01 00 00 | 48 54 4d 4c 44 65 63 6f |DATA....|HTMLDeco|
|00000c40| 64 65 5f 4d 6f 76 65 42 | 79 74 65 73 20 20 28 26 |de_MoveB|ytes (&|
|00000c50| 34 44 38 34 32 29 0a 23 | 50 61 72 65 6e 74 20 48 |4D842).#|Parent H|
|00000c60| 54 4d 4c 44 65 63 6f 64 | 65 5f 0a 3d 3e 09 52 30 |TMLDecod|e_.=>.R0|
|00000c70| 20 3d 09 70 6f 69 6e 74 | 65 72 20 74 6f 20 73 6f | =.point|er to so|
|00000c80| 75 72 63 65 20 61 64 64 | 72 65 73 73 0a 09 52 31 |urce add|ress..R1|
|00000c90| 20 3d 09 70 6f 69 6e 74 | 65 72 20 74 6f 20 64 65 | =.point|er to de|
|00000ca0| 73 74 69 6e 61 74 69 6f | 6e 20 61 64 64 72 65 73 |stinatio|n addres|
|00000cb0| 73 0a 09 52 32 20 3d 09 | 6c 65 6e 67 74 68 20 6f |s..R2 =.|length o|
|00000cc0| 66 20 64 61 74 61 0a 0a | 54 68 69 73 20 53 57 49 |f data..|This SWI|
|00000cd0| 20 73 68 6f 75 6c 64 20 | 62 65 20 74 6f 20 6d 6f | should |be to mo|
|00000ce0| 76 65 20 61 20 71 75 65 | 75 65 20 6f 66 20 64 61 |ve a que|ue of da|
|00000cf0| 74 61 20 64 6f 77 6e 20 | 69 6e 20 6d 65 6d 6f 72 |ta down |in memor|
|00000d00| 79 2e 20 54 68 65 20 69 | 64 65 61 20 69 73 20 74 |y. The i|dea is t|
|00000d10| 68 61 74 20 79 6f 75 20 | 63 61 6c 6c 20 74 68 69 |hat you |call thi|
|00000d20| 73 20 74 6f 20 6d 6f 76 | 65 20 74 68 65 20 64 61 |s to mov|e the da|
|00000d30| 74 61 20 64 6f 77 6e 20 | 69 6e 20 61 20 63 6f 6e |ta down |in a con|
|00000d40| 74 69 6e 75 6f 75 73 20 | 62 75 66 66 65 72 20 73 |tinuous |buffer s|
|00000d50| 6f 20 74 68 61 74 20 79 | 6f 75 20 63 61 6e 20 72 |o that y|ou can r|
|00000d60| 65 61 64 20 70 61 72 74 | 73 20 6f 66 20 61 20 66 |ead part|s of a f|
|00000d70| 69 6c 65 20 69 6e 2c 20 | 70 61 72 73 65 20 69 74 |ile in, |parse it|
|00000d80| 20 61 6e 64 20 74 68 65 | 6e 20 6c 6f 61 64 20 6d | and the|n load m|
|00000d90| 6f 72 65 2e 20 41 20 76 | 65 72 79 20 73 69 6d 70 |ore. A v|ery simp|
|00000da0| 6c 65 20 63 6f 70 79 20 | 69 73 20 70 65 72 66 6f |le copy |is perfo|
|00000db0| 72 6d 65 64 20 2d 20 74 | 68 65 20 73 6f 75 72 63 |rmed - t|he sourc|
|00000dc0| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 61 62 6f 76 |e should| be abov|
|00000dd0| 65 20 74 68 65 20 64 65 | 73 74 69 6e 61 74 69 6f |e the de|stinatio|
|00000de0| 6e 20 69 66 20 74 68 65 | 20 61 72 65 61 73 20 6f |n if the| areas o|
|00000df0| 76 65 72 6c 61 70 2e 00 | 44 41 54 41 79 01 00 00 |verlap..|DATAy...|
|00000e00| 48 54 4d 4c 44 65 63 6f | 64 65 5f 47 65 74 41 74 |HTMLDeco|de_GetAt|
|00000e10| 74 72 69 62 20 20 28 26 | 34 44 38 34 31 29 0a 23 |trib (&|4D841).#|
|00000e20| 50 61 72 65 6e 74 20 48 | 54 4d 4c 44 65 63 6f 64 |Parent H|TMLDecod|
|00000e30| 65 5f 0a 3d 3e 09 52 30 | 20 3d 09 70 6f 69 6e 74 |e_.=>.R0| =.point|
|00000e40| 65 72 20 74 6f 20 73 74 | 72 69 6e 67 20 6f 66 20 |er to st|ring of |
|00000e50| 61 74 74 72 69 62 75 74 | 65 73 0a 0a 3c 3d 09 52 |attribut|es..<=.R|
|00000e60| 30 20 3d 09 70 6f 69 6e | 74 65 72 20 74 6f 20 72 |0 =.poin|ter to r|
|00000e70| 65 73 74 20 6f 66 20 73 | 74 72 69 6e 67 3b 20 61 |est of s|tring; a|
|00000e80| 66 74 65 72 20 61 74 74 | 72 69 62 75 74 65 0a 09 |fter att|ribute..|
|00000e90| 52 31 20 3d 09 63 61 70 | 69 74 61 6c 69 73 65 64 |R1 =.cap|italised|
|00000ea0| 20 61 74 74 72 69 62 75 | 74 65 20 6e 61 6d 65 2c | attribu|te name,|
|00000eb0| 20 6f 72 20 30 20 69 66 | 20 6e 6f 6e 65 20 6c 65 | or 0 if| none le|
|00000ec0| 66 74 0a 09 52 32 20 3d | 09 76 61 6c 75 65 20 6f |ft..R2 =|.value o|
|00000ed0| 66 20 61 74 74 72 69 62 | 75 74 65 2c 20 6f 72 20 |f attrib|ute, or |
|00000ee0| 30 20 69 66 20 6e 6f 6e | 65 20 67 69 76 65 6e 0a |0 if non|e given.|
|00000ef0| 0a 54 68 69 73 20 53 57 | 49 20 73 68 6f 75 6c 64 |.This SW|I should|
|00000f00| 20 62 65 20 63 61 6c 6c | 65 64 20 66 6f 72 20 74 | be call|ed for t|
|00000f10| 61 67 73 2c 20 61 66 74 | 65 72 20 74 68 65 20 74 |ags, aft|er the t|
|00000f20| 61 67 20 69 74 73 65 6c | 66 20 68 61 73 20 62 65 |ag itsel|f has be|
|00000f30| 65 6e 20 72 65 6d 6f 76 | 65 64 2e 20 54 68 69 73 |en remov|ed. This|
|00000f40| 20 73 68 6f 75 6c 64 20 | 73 69 6d 70 6c 69 66 79 | should |simplify|
|00000f50| 20 74 68 65 20 64 65 63 | 6f 64 69 6e 67 20 6f 66 | the dec|oding of|
|00000f60| 20 48 54 4d 4c 20 61 74 | 74 72 69 62 75 74 65 73 | HTML at|tributes|
|00000f70| 2e 00 00 00 44 49 52 24 | 4c 00 00 00 4c 00 00 00 |....DIR$|L...L...|
|00000f80| c0 0f 00 00 47 fd ff ff | 65 e2 1c a9 8c 00 00 00 |....G...|e.......|
|00000f90| 13 00 00 00 00 00 00 00 | 21 52 6f 6f 74 00 00 00 |........|!Root...|
|00000fa0| 4c 10 00 00 47 ff ff ff | cb 00 21 a9 f6 01 00 00 |L...G...|..!.....|
|00000fb0| 33 00 00 00 00 00 00 00 | 4f 70 65 6e 00 00 00 00 |3.......|Open....|
|00000fc0| 44 41 54 41 8c 00 00 00 | 48 54 54 50 0a 23 50 61 |DATA....|HTTP.#Pa|
|00000fd0| 72 65 6e 74 20 21 52 6f | 6f 74 0a 23 50 72 65 66 |rent !Ro|ot.#Pref|
|00000fe0| 69 78 20 48 54 54 50 5f | 0a 23 54 61 62 6c 65 20 |ix HTTP_|.#Table |
|00000ff0| 43 6f 6c 75 6d 6e 73 20 | 32 0a 3c 4f 70 65 6e 3e |Columns |2.<Open>|
|00001000| 0a 53 74 61 74 75 73 0a | 43 6c 6f 73 65 0a 4d 61 |.Status.|Close.Ma|
|00001010| 70 54 6f 52 49 53 43 4f | 53 0a 4d 61 70 46 72 6f |pToRISCO|S.MapFro|
|00001020| 6d 52 49 53 43 4f 53 0a | 53 65 74 46 69 6c 65 54 |mRISCOS.|SetFileT|
|00001030| 79 70 65 0a 43 6f 6d 70 | 6c 65 74 65 64 50 61 72 |ype.Comp|letedPar|
|00001040| 74 0a 23 45 6e 64 54 61 | 62 6c 65 0a 44 41 54 41 |t.#EndTa|ble.DATA|
|00001050| f6 01 00 00 48 54 54 50 | 5f 4f 70 65 6e 0a 23 50 |....HTTP|_Open.#P|
|00001060| 61 72 65 6e 74 20 48 54 | 54 50 5f 0a 3d 3e 09 52 |arent HT|TP_.=>.R|
|00001070| 30 20 3d 09 70 6f 69 6e | 74 65 72 20 74 6f 20 61 |0 =.poin|ter to a|
|00001080| 20 3c 68 6f 73 74 65 6e | 74 20 73 74 72 75 63 74 | <hosten|t struct|
|00001090| 75 72 65 3d 3e 49 6e 74 | 65 72 6e 65 74 5f 68 6f |ure=>Int|ernet_ho|
|000010a0| 73 74 65 6e 74 3e 0a 09 | 52 31 20 3d 09 70 6f 69 |stent>..|R1 =.poi|
|000010b0| 6e 74 65 72 20 74 6f 20 | 70 61 67 65 20 74 6f 20 |nter to |page to |
|000010c0| 66 65 74 63 68 2c 20 6f | 72 20 30 20 66 6f 72 20 |fetch, o|r 0 for |
|000010d0| 72 6f 6f 74 0a 09 52 32 | 20 3d 09 28 73 6f 6d 65 |root..R2| =.(some|
|000010e0| 20 66 6f 72 6d 20 6f 66 | 20 68 65 61 64 65 72 20 | form of| header |
|000010f0| 64 61 74 61 29 0a 09 52 | 33 20 3d 09 70 6f 69 6e |data)..R|3 =.poin|
|00001100| 74 65 72 20 74 6f 20 66 | 69 6c 65 6e 61 6d 65 20 |ter to f|ilename |
|00001110| 74 6f 20 72 65 74 72 69 | 65 76 65 20 62 6f 64 79 |to retri|eve body|
|00001120| 20 69 6e 74 6f 0a 09 52 | 34 20 3d 09 70 6f 69 6e | into..R|4 =.poin|
|00001130| 74 65 72 20 74 6f 20 66 | 69 6c 65 6e 61 6d 65 20 |ter to f|ilename |
|00001140| 74 6f 20 75 73 65 20 61 | 73 20 70 6f 73 74 69 6e |to use a|s postin|
|00001150| 67 20 62 6f 64 79 0a 09 | 52 35 20 3d 09 3c 66 6c |g body..|R5 =.<fl|
|00001160| 61 67 73 3d 3e 2e 66 6c | 61 67 73 3e 0a 0a 54 68 |ags=>.fl|ags>..Th|
|00001170| 69 73 20 77 69 6c 6c 20 | 6f 70 65 6e 20 61 20 48 |is will |open a H|
|00001180| 54 54 50 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 61 |TTP conn|ection a|
|00001190| 6e 64 20 66 65 74 63 68 | 20 74 68 65 20 72 65 71 |nd fetch| the req|
|000011a0| 75 65 73 74 65 64 20 70 | 61 67 65 2e 0a 23 53 75 |uested p|age..#Su|
|000011b0| 62 70 61 67 65 20 66 6c | 61 67 73 0a 48 54 54 50 |bpage fl|ags.HTTP|
|000011c0| 5f 4f 70 65 6e 20 66 6c | 61 67 73 0a 42 69 74 09 |_Open fl|ags.Bit.|
|000011d0| 4d 65 61 6e 69 6e 67 20 | 69 66 20 73 65 74 0a 23 |Meaning |if set.#|
|000011e0| 4c 69 6e 65 0a 30 09 55 | 73 65 20 48 54 54 50 53 |Line.0.U|se HTTPS|
|000011f0| 20 28 69 66 20 61 76 61 | 69 6c 61 62 6c 65 29 0a | (if ava|ilable).|
|00001200| 31 09 3f 0a 32 09 52 65 | 71 75 65 73 74 20 6a 75 |1.?.2.Re|quest ju|
|00001210| 73 74 20 68 65 61 64 0a | 33 09 3f 0a 34 09 53 75 |st head.|3.?.4.Su|
|00001220| 70 70 6c 79 20 27 52 61 | 6e 67 65 27 20 68 65 61 |pply 'Ra|nge' hea|
|00001230| 64 65 72 0a 6f 74 68 65 | 72 73 09 75 6e 6b 6e 6f |der.othe|rs.unkno|
|00001240| 77 6e 00 00 44 49 52 24 | 80 01 00 00 80 01 00 00 |wn..DIR$|........|
|00001250| c4 13 00 00 47 fd ff ff | 56 c3 e4 c3 71 01 00 00 |....G...|V...q...|
|00001260| 13 00 00 00 00 00 00 00 | 21 52 6f 6f 74 00 00 00 |........|!Root...|
|00001270| 38 15 00 00 47 ff ff ff | 3d d4 e4 c3 90 01 00 00 |8...G...|=.......|
|00001280| 13 00 00 00 00 00 00 00 | 47 65 74 48 6f 73 74 42 |........|GetHostB|
|00001290| 79 4e 61 6d 65 00 00 00 | c8 16 00 00 47 fd ff ff |yName...|....G...|
|000012a0| 2c fa ce 13 23 03 00 00 | 13 00 00 00 00 00 00 00 |,...#...|........|
|000012b0| 68 6f 73 74 65 6e 74 00 | ec 19 00 00 47 ff ff ff |hostent.|....G...|
|000012c0| 92 e7 e4 c3 14 01 00 00 | 13 00 00 00 00 00 00 00 |........|........|
|000012d0| 47 65 74 48 6f 73 74 42 | 79 41 64 64 72 00 00 00 |GetHostB|yAddr...|
|000012e0| 00 1b 00 00 47 ff ff ff | c7 56 d0 13 56 01 00 00 |....G...|.V..V...|
|000012f0| 13 00 00 00 00 00 00 00 | 47 65 74 53 65 72 76 69 |........|GetServi|
|00001300| 63 65 42 79 50 6f 72 74 | 00 00 00 00 58 1c 00 00 |ceByPort|....X...|
|00001310| 47 fd ff ff 01 c8 f7 13 | ab 02 00 00 13 00 00 00 |G.......|........|
|00001320| 00 00 00 00 73 65 72 76 | 65 6e 74 00 04 1f 00 00 |....serv|ent.....|
|00001330| 47 ff ff ff 61 bd cf 13 | 5a 01 00 00 13 00 00 00 |G...a...|Z.......|
|00001340| 00 00 00 00 47 65 74 53 | 65 72 76 69 63 65 42 79 |....GetS|erviceBy|
|00001350| 4e 61 6d 65 00 00 00 00 | 60 20 00 00 47 ff ff ff |Name....|` ..G...|
|00001360| fd 33 ff 35 b4 00 00 00 | 13 00 00 00 00 00 00 00 |.3.5....|........|
|00001370| 44 65 63 6f 64 65 45 72 | 72 6f 72 00 14 21 00 00 |DecodeEr|ror..!..|
|00001380| 47 ff ff ff b4 b5 e4 c3 | fe 00 00 00 13 00 00 00 |G.......|........|
|00001390| 00 00 00 00 47 65 74 53 | 65 72 76 69 63 65 73 4d |....GetS|ervicesM|
|000013a0| 65 6e 75 00 14 22 00 00 | 47 ff ff ff 74 dd e4 c3 |enu.."..|G...t...|
|000013b0| 8a 01 00 00 13 00 00 00 | 00 00 00 00 47 65 74 48 |........|....GetH|
|000013c0| 6f 73 74 00 44 41 54 41 | 71 01 00 00 49 6e 74 65 |ost.DATA|q...Inte|
|000013d0| 72 6e 65 74 0a 23 50 61 | 72 65 6e 74 20 21 52 6f |rnet.#Pa|rent !Ro|
|000013e0| 6f 74 0a 23 50 72 65 66 | 69 78 20 49 6e 74 65 72 |ot.#Pref|ix Inter|
|000013f0| 6e 65 74 5f 0a 49 6e 65 | 74 53 65 72 76 69 63 65 |net_.Ine|tService|
|00001400| 73 20 3a 0a 23 49 6e 64 | 65 6e 74 20 32 0a 23 54 |s :.#Ind|ent 2.#T|
|00001410| 61 62 6c 65 20 43 6f 6c | 75 6d 6e 73 20 32 0a 3c |able Col|umns 2.<|
|00001420| 47 65 74 53 65 72 76 69 | 63 65 42 79 4e 61 6d 65 |GetServi|ceByName|
|00001430| 3e 0a 3c 47 65 74 53 65 | 72 76 69 63 65 42 79 50 |>.<GetSe|rviceByP|
|00001440| 6f 72 74 3e 0a 3c 44 65 | 63 6f 64 65 45 72 72 6f |ort>.<De|codeErro|
|00001450| 72 3e 0a 3c 47 65 74 53 | 65 72 76 69 63 65 73 4d |r>.<GetS|ervicesM|
|00001460| 65 6e 75 3e 0a 23 45 6e | 64 54 61 62 6c 65 0a 0a |enu>.#En|dTable..|
|00001470| 23 49 6e 64 65 6e 74 20 | 30 0a 49 6e 65 74 44 42 |#Indent |0.InetDB|
|00001480| 20 3a 0a 23 49 6e 64 65 | 6e 74 20 32 0a 23 54 61 | :.#Inde|nt 2.#Ta|
|00001490| 62 6c 65 20 43 6f 6c 75 | 6d 6e 73 20 32 0a 3c 47 |ble Colu|mns 2.<G|
|000014a0| 65 74 48 6f 73 74 42 79 | 4e 61 6d 65 3e 0a 3c 47 |etHostBy|Name>.<G|
|000014b0| 65 74 48 6f 73 74 42 79 | 41 64 64 72 3e 0a 23 45 |etHostBy|Addr>.#E|
|000014c0| 6e 64 54 61 62 6c 65 0a | 23 49 6e 64 65 6e 74 0a |ndTable.|#Indent.|
|000014d0| 0a 41 4e 54 20 52 65 73 | 6f 6c 76 65 72 20 3a 0a |.ANT Res|olver :.|
|000014e0| 23 49 6e 64 65 6e 74 20 | 32 0a 23 54 61 62 6c 65 |#Indent |2.#Table|
|000014f0| 20 43 6f 6c 75 6d 6e 73 | 20 32 0a 3c 47 65 74 48 | Columns| 2.<GetH|
|00001500| 6f 73 74 42 79 4e 61 6d | 65 3e 0a 3c 47 65 74 48 |ostByNam|e>.<GetH|
|00001510| 6f 73 74 3e 0a 47 65 74 | 43 61 63 68 65 0a 43 61 |ost>.Get|Cache.Ca|
|00001520| 63 68 65 43 6f 6e 74 72 | 6f 6c 0a 23 45 6e 64 54 |cheContr|ol.#EndT|
|00001530| 61 62 6c 65 0a 00 00 00 | 44 41 54 41 90 01 00 00 |able....|DATA....|
|00001540| 49 6e 74 65 72 6e 65 74 | 5f 47 65 74 48 6f 73 74 |Internet|_GetHost|
|00001550| 42 79 4e 61 6d 65 20 20 | 28 26 34 36 30 30 30 29 |ByName |(&46000)|
|00001560| 0a 23 50 61 72 65 6e 74 | 20 49 6e 74 65 72 6e 65 |.#Parent| Interne|
|00001570| 74 5f 0a 3d 3e 09 52 30 | 20 3d 09 30 0a 09 52 31 |t_.=>.R0| =.0..R1|
|00001580| 20 3d 09 70 6f 69 6e 74 | 65 72 20 74 6f 20 68 6f | =.point|er to ho|
|00001590| 73 74 20 6e 61 6d 65 0a | 3c 3d 09 52 30 20 3d 09 |st name.|<=.R0 =.|
|000015a0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 65 72 72 6f 72 |pointer |to error|
|000015b0| 20 62 6c 6f 63 6b 20 69 | 66 20 65 72 72 6f 72 2c | block i|f error,|
|000015c0| 20 6f 72 20 6e 65 74 62 | 73 64 20 3c 65 72 72 6f | or netb|sd <erro|
|000015d0| 72 20 6e 75 6d 62 65 72 | 3d 3e 49 6e 65 74 3a 45 |r number|=>Inet:E|
|000015e0| 3e 0a 09 52 31 20 3d 09 | 70 6f 69 6e 74 65 72 20 |>..R1 =.|pointer |
|000015f0| 74 6f 20 3c 68 6f 73 74 | 65 6e 74 3d 3e 49 6e 74 |to <host|ent=>Int|
|00001600| 65 72 6e 65 74 5f 68 6f | 73 74 65 6e 74 3e 20 73 |ernet_ho|stent> s|
|00001610| 74 72 75 63 74 75 72 65 | 2c 20 6f 72 20 30 20 69 |tructure|, or 0 i|
|00001620| 66 20 6e 6f 74 20 66 6f | 75 6e 64 0a 0a 52 65 74 |f not fo|und..Ret|
|00001630| 75 72 6e 73 20 61 20 68 | 6f 73 74 65 6e 74 20 62 |urns a h|ostent b|
|00001640| 6c 6f 63 6b 20 66 6f 72 | 20 74 68 65 20 72 65 71 |lock for| the req|
|00001650| 75 65 73 74 65 64 20 68 | 6f 73 74 20 6e 61 6d 65 |uested h|ost name|
|00001660| 2e 20 54 68 69 73 20 68 | 6f 73 74 65 6e 74 20 62 |. This h|ostent b|
|00001670| 6c 6f 63 6b 20 77 69 6c | 6c 20 72 65 6d 61 69 6e |lock wil|l remain|
|00001680| 20 73 74 61 74 69 63 20 | 66 6f 72 20 32 34 20 68 | static |for 24 h|
|00001690| 6f 75 72 73 20 61 66 74 | 65 72 20 77 68 69 63 68 |ours aft|er which|
|000016a0| 20 69 74 20 77 69 6c 6c | 20 65 78 70 69 72 65 20 | it will| expire |
|000016b0| 61 6e 64 20 6e 6f 20 6c | 6f 6e 67 65 72 20 62 65 |and no l|onger be|
|000016c0| 20 76 61 6c 69 64 2e 0a | 44 41 54 41 23 03 00 00 | valid..|DATA#...|
|000016d0| 48 6f 73 74 20 65 6e 74 | 72 79 20 62 6c 6f 63 6b |Host ent|ry block|
|000016e0| 0a 54 68 65 20 68 6f 73 | 74 65 6e 74 20 62 6c 6f |.The hos|tent blo|
|000016f0| 63 6b 20 69 73 20 61 73 | 20 64 65 66 69 6e 65 64 |ck is as| defined|
|00001700| 20 69 6e 20 75 6e 69 78 | 20 43 2e 20 54 68 65 20 | in unix| C. The |
|00001710| 61 64 64 72 65 73 73 65 | 73 20 67 69 76 65 6e 20 |addresse|s given |
|00001720| 61 72 65 20 69 6e 20 6e | 65 74 77 6f 72 6b 20 62 |are in n|etwork b|
|00001730| 79 74 65 20 6f 72 64 65 | 72 20 28 74 68 65 20 72 |yte orde|r (the r|
|00001740| 65 76 65 72 73 65 20 6f | 66 20 6e 6f 72 6d 61 6c |everse o|f normal|
|00001750| 20 41 63 6f 72 6e 20 77 | 6f 72 64 73 29 2e 0a 0a | Acorn w|ords)...|
|00001760| 4f 66 66 73 65 74 09 43 | 6f 6e 74 65 6e 74 73 0a |Offset.C|ontents.|
|00001770| 23 4c 69 6e 65 0a 30 09 | 70 6f 69 6e 74 65 72 20 |#Line.0.|pointer |
|00001780| 74 6f 20 70 72 69 6d 61 | 72 79 20 6e 61 6d 65 20 |to prima|ry name |
|00001790| 6f 66 20 68 6f 73 74 0a | 34 09 70 6f 69 6e 74 65 |of host.|4.pointe|
|000017a0| 72 20 74 6f 20 61 20 62 | 6c 6f 63 6b 20 6f 66 20 |r to a b|lock of |
|000017b0| 70 6f 69 6e 74 65 72 73 | 20 74 6f 20 61 6c 69 61 |pointers| to alia|
|000017c0| 73 20 6e 61 6d 65 73 20 | 66 6f 72 20 74 68 65 20 |s names |for the |
|000017d0| 68 6f 73 74 0a 38 09 61 | 64 64 72 65 73 73 20 74 |host.8.a|ddress t|
|000017e0| 79 70 65 0a 31 32 09 61 | 64 64 72 65 73 73 20 6c |ype.12.a|ddress l|
|000017f0| 65 6e 67 74 68 0a 31 36 | 09 70 6f 69 6e 74 65 72 |ength.16|.pointer|
|00001800| 20 74 6f 20 61 20 6c 69 | 73 74 20 6f 66 20 61 64 | to a li|st of ad|
|00001810| 64 72 65 73 73 65 73 20 | 66 6f 72 20 68 6f 73 74 |dresses |for host|
|00001820| 0a 0a 4f 72 2c 20 69 6e | 20 43 20 3a 0a 23 49 6e |..Or, in| C :.#In|
|00001830| 64 65 6e 74 20 32 0a 23 | 57 72 61 70 20 4f 66 66 |dent 2.#|Wrap Off|
|00001840| 3b 66 43 6f 64 65 3b 54 | 61 62 20 66 43 6f 64 65 |;fCode;T|ab fCode|
|00001850| 2c 66 43 6f 64 65 0a 73 | 74 72 75 63 74 20 68 6f |,fCode.s|truct ho|
|00001860| 73 74 65 6e 74 20 5c 7b | 0a 20 20 63 68 61 72 20 |stent \{|. char |
|00001870| 2a 68 5f 6e 61 6d 65 3b | 09 2f 2a 20 4f 66 66 69 |*h_name;|./* Offi|
|00001880| 63 69 61 6c 20 6e 61 6d | 65 20 6f 66 20 68 6f 73 |cial nam|e of hos|
|00001890| 74 20 2a 2f 0a 20 20 63 | 68 61 72 20 2a 2a 68 5f |t */. c|har **h_|
|000018a0| 61 6c 69 61 73 65 73 3b | 09 2f 2a 20 41 6c 74 65 |aliases;|./* Alte|
|000018b0| 72 6e 61 74 69 76 65 20 | 6e 61 6d 65 73 20 66 6f |rnative |names fo|
|000018c0| 72 20 68 6f 73 74 20 2a | 2f 0a 20 20 69 6e 74 20 |r host *|/. int |
|000018d0| 20 68 5f 61 64 64 72 74 | 79 70 65 3b 09 2f 2a 20 | h_addrt|ype;./* |
|000018e0| 48 6f 73 74 20 61 64 64 | 72 65 73 73 20 74 79 70 |Host add|ress typ|
|000018f0| 65 20 2a 2f 0a 20 20 69 | 6e 74 20 20 68 5f 6c 65 |e */. i|nt h_le|
|00001900| 6e 67 74 68 3b 09 2f 2a | 20 4c 65 6e 67 74 68 20 |ngth;./*| Length |
|00001910| 6f 66 20 65 61 63 68 20 | 61 64 64 72 65 73 73 20 |of each |address |
|00001920| 2a 2f 0a 20 20 63 68 61 | 72 20 2a 2a 68 5f 61 64 |*/. cha|r **h_ad|
|00001930| 64 72 5f 6c 69 73 74 3b | 09 2f 2a 20 4c 69 73 74 |dr_list;|./* List|
|00001940| 20 6f 66 20 61 64 64 72 | 65 73 73 65 73 20 66 6f | of addr|esses fo|
|00001950| 72 20 68 6f 73 74 20 2a | 2f 0a 5c 23 64 65 66 69 |r host *|/.\#defi|
|00001960| 6e 65 20 68 5f 61 64 64 | 72 20 68 5f 61 64 64 72 |ne h_add|r h_addr|
|00001970| 5f 6c 69 73 74 5b 30 5d | 09 2f 2a 20 41 64 64 72 |_list[0]|./* Addr|
|00001980| 65 73 73 2c 20 66 6f 72 | 20 62 61 63 6b 20 63 6f |ess, for| back co|
|00001990| 6d 70 61 74 61 62 69 6c | 69 74 79 20 2a 2f 0a 5c |mpatabil|ity */.\|
|000019a0| 7d 3b 0a 0a 23 77 72 61 | 70 3b 66 3b 49 6e 64 65 |};..#wra|p;f;Inde|
|000019b0| 6e 74 20 30 0a 49 6e 20 | 42 41 53 49 43 20 79 6f |nt 0.In |BASIC yo|
|000019c0| 75 20 77 69 6c 6c 20 75 | 73 75 61 6c 6c 79 20 77 |u will u|sually w|
|000019d0| 61 6e 74 20 74 6f 20 75 | 73 65 20 21 21 28 68 6f |ant to u|se !!(ho|
|000019e0| 73 74 65 6e 74 2b 31 36 | 29 2e 0a 00 44 41 54 41 |stent+16|)...DATA|
|000019f0| 14 01 00 00 49 6e 74 65 | 72 6e 65 74 5f 47 65 74 |....Inte|rnet_Get|
|00001a00| 48 6f 73 74 42 79 41 64 | 64 72 20 28 26 34 36 30 |HostByAd|dr (&460|
|00001a10| 30 31 29 0a 23 50 61 72 | 65 6e 74 20 49 6e 74 65 |01).#Par|ent Inte|
|00001a20| 72 6e 65 74 5f 0a 3d 3e | 09 52 30 20 3d 09 30 0a |rnet_.=>|.R0 =.0.|
|00001a30| 09 52 31 20 3d 09 70 6f | 69 6e 74 65 72 20 74 6f |.R1 =.po|inter to|
|00001a40| 20 68 6f 73 74 20 61 64 | 64 72 65 73 73 0a 09 52 | host ad|dress..R|
|00001a50| 32 20 3d 09 6c 65 6e 67 | 74 68 20 6f 66 20 61 64 |2 =.leng|th of ad|
|00001a60| 64 72 65 73 73 0a 09 52 | 33 20 3d 09 74 79 70 65 |dress..R|3 =.type|
|00001a70| 20 6f 66 20 61 64 64 72 | 65 73 73 0a 3c 3d 09 52 | of addr|ess.<=.R|
|00001a80| 31 20 3d 09 70 6f 69 6e | 74 65 72 20 74 6f 20 3c |1 =.poin|ter to <|
|00001a90| 68 6f 73 74 65 6e 74 3d | 3e 49 6e 74 65 72 6e 65 |hostent=|>Interne|
|00001aa0| 74 5f 68 6f 73 74 65 6e | 74 3e 20 73 74 72 75 63 |t_hosten|t> struc|
|00001ab0| 74 75 72 65 2c 20 6f 72 | 20 30 20 69 66 20 6e 6f |ture, or| 0 if no|
|00001ac0| 74 20 66 6f 75 6e 64 0a | 0a 52 65 74 75 72 6e 73 |t found.|.Returns|
|00001ad0| 20 61 20 68 6f 73 74 65 | 6e 74 20 62 6c 6f 63 6b | a hoste|nt block|
|00001ae0| 20 66 6f 72 20 74 68 65 | 20 72 65 71 75 65 73 74 | for the| request|
|00001af0| 65 64 20 68 6f 73 74 20 | 61 64 64 72 65 73 73 2e |ed host |address.|
|00001b00| 44 41 54 41 56 01 00 00 | 49 6e 74 65 72 6e 65 74 |DATAV...|Internet|
|00001b10| 5f 47 65 74 53 65 72 76 | 69 63 65 42 79 50 6f 72 |_GetServ|iceByPor|
|00001b20| 74 0a 23 50 61 72 65 6e | 74 20 49 6e 74 65 72 6e |t.#Paren|t Intern|
|00001b30| 65 74 5f 0a 3d 3e 09 52 | 30 20 3d 09 70 6f 72 74 |et_.=>.R|0 =.port|
|00001b40| 20 6e 75 6d 62 65 72 0a | 09 52 31 20 3d 09 70 72 | number.|.R1 =.pr|
|00001b50| 6f 74 6f 63 6f 6c 2c 20 | 6f 72 20 30 20 66 6f 72 |otocol, |or 0 for|
|00001b60| 20 64 65 66 61 75 6c 74 | 20 70 72 6f 74 6f 63 6f | default| protoco|
|00001b70| 6c 20 28 74 63 70 29 0a | 3c 3d 09 52 31 20 3d 09 |l (tcp).|<=.R1 =.|
|00001b80| 70 6f 69 6e 74 65 72 20 | 74 6f 20 3c 73 65 72 76 |pointer |to <serv|
|00001b90| 65 6e 74 3d 3e 49 6e 74 | 65 72 6e 65 74 5f 73 65 |ent=>Int|ernet_se|
|00001ba0| 72 76 65 6e 74 3e 20 73 | 74 72 75 63 74 75 72 65 |rvent> s|tructure|
|00001bb0| 2c 20 6f 72 20 30 20 69 | 66 20 6e 6f 74 20 66 6f |, or 0 i|f not fo|
|00001bc0| 75 6e 64 0a 0a 52 65 74 | 75 72 6e 73 20 61 20 73 |und..Ret|urns a s|
|00001bd0| 65 72 76 65 6e 74 20 62 | 6c 6f 63 6b 20 66 6f 72 |ervent b|lock for|
|00001be0| 20 74 68 65 20 72 65 71 | 75 65 73 74 65 64 20 70 | the req|uested p|
|00001bf0| 6f 72 74 2e 20 54 68 69 | 73 20 69 73 20 6e 6f 74 |ort. Thi|s is not|
|00001c00| 20 67 75 61 72 65 6e 74 | 65 65 64 20 74 6f 20 72 | guarent|eed to r|
|00001c10| 65 6d 61 69 6e 20 73 74 | 61 74 69 63 20 61 6e 64 |emain st|atic and|
|00001c20| 20 73 68 6f 75 6c 64 20 | 6f 6e 6c 79 20 62 65 20 | should |only be |
|00001c30| 63 6f 6e 73 69 64 65 72 | 65 64 20 76 61 6c 69 64 |consider|ed valid|
|00001c40| 20 75 6e 74 69 6c 20 74 | 68 65 20 6e 65 78 74 20 | until t|he next |
|00001c50| 63 61 6c 6c 2e 0a 00 00 | 44 41 54 41 ab 02 00 00 |call....|DATA....|
|00001c60| 53 65 72 76 69 63 65 20 | 65 6e 74 72 79 20 62 6c |Service |entry bl|
|00001c70| 6f 63 6b 0a 54 68 65 20 | 73 65 72 76 65 6e 74 20 |ock.The |servent |
|00001c80| 62 6c 6f 63 6b 20 69 73 | 20 61 73 20 64 65 66 69 |block is| as defi|
|00001c90| 6e 65 64 20 69 6e 20 75 | 6e 69 78 20 43 2e 0a 0a |ned in u|nix C...|
|00001ca0| 4f 66 66 73 65 74 09 43 | 6f 6e 74 65 6e 74 73 0a |Offset.C|ontents.|
|00001cb0| 23 4c 69 6e 65 0a 30 09 | 70 6f 69 6e 74 65 72 20 |#Line.0.|pointer |
|00001cc0| 74 6f 20 6f 66 66 69 63 | 69 61 6c 20 6e 61 6d 65 |to offic|ial name|
|00001cd0| 20 6f 66 20 73 65 72 76 | 69 63 65 0a 34 09 70 6f | of serv|ice.4.po|
|00001ce0| 69 6e 74 65 72 20 74 6f | 20 3c 61 6c 69 61 73 65 |inter to| <aliase|
|00001cf0| 73 20 6c 69 73 74 3d 3e | 2e 61 6c 69 61 73 65 73 |s list=>|.aliases|
|00001d00| 3e 20 66 6f 72 20 74 68 | 65 20 73 65 72 76 69 63 |> for th|e servic|
|00001d10| 65 2c 20 6f 72 20 30 20 | 69 66 20 6e 6f 6e 65 2e |e, or 0 |if none.|
|00001d20| 0a 38 09 70 6f 72 74 20 | 6e 75 6d 62 65 72 0a 31 |.8.port |number.1|
|00001d30| 32 09 70 6f 69 6e 74 65 | 72 20 74 6f 20 6e 61 6d |2.pointe|r to nam|
|00001d40| 65 20 6f 66 20 70 72 6f | 74 6f 63 6f 6c 0a 0a 4f |e of pro|tocol..O|
|00001d50| 72 2c 20 69 6e 20 43 20 | 3a 0a 23 49 6e 64 65 6e |r, in C |:.#Inden|
|00001d60| 74 20 32 0a 23 57 72 61 | 70 20 4f 66 66 3b 66 43 |t 2.#Wra|p Off;fC|
|00001d70| 6f 64 65 3b 54 61 62 20 | 66 43 6f 64 65 2c 66 43 |ode;Tab |fCode,fC|
|00001d80| 6f 64 65 0a 73 74 72 75 | 63 74 20 73 65 72 76 65 |ode.stru|ct serve|
|00001d90| 6e 74 20 5c 7b 0a 20 20 | 63 68 61 72 20 2a 73 5f |nt \{. |char *s_|
|00001da0| 6e 61 6d 65 3b 09 09 2f | 2a 20 4f 66 66 69 63 69 |name;../|* Offici|
|00001db0| 61 6c 20 6e 61 6d 65 20 | 6f 66 20 73 65 72 76 69 |al name |of servi|
|00001dc0| 63 65 20 2a 2f 0a 20 20 | 63 68 61 72 20 2a 2a 73 |ce */. |char **s|
|00001dd0| 5f 61 6c 69 61 73 65 73 | 3b 09 2f 2a 20 41 6c 74 |_aliases|;./* Alt|
|00001de0| 65 72 6e 61 74 69 76 65 | 20 6e 61 6d 65 73 20 66 |ernative| names f|
|00001df0| 6f 72 20 73 65 72 76 69 | 63 65 20 2a 2f 0a 20 20 |or servi|ce */. |
|00001e00| 69 6e 74 20 20 73 5f 70 | 6f 72 74 3b 09 09 2f 2a |int s_p|ort;../*|
|00001e10| 20 50 6f 72 74 20 6e 75 | 6d 62 65 72 20 74 6f 20 | Port nu|mber to |
|00001e20| 75 73 65 20 2a 2f 0a 20 | 20 63 68 61 72 20 2a 73 |use */. | char *s|
|00001e30| 5f 70 72 6f 74 6f 3b 09 | 2f 2a 20 50 72 6f 74 6f |_proto;.|/* Proto|
|00001e40| 63 6f 6c 20 74 6f 20 75 | 73 65 20 2a 2f 0a 5c 7d |col to u|se */.\}|
|00001e50| 3b 0a 23 0a 23 53 75 62 | 70 61 67 65 20 61 6c 69 |;.#.#Sub|page ali|
|00001e60| 61 73 65 73 0a 53 65 72 | 76 69 63 65 20 61 6c 69 |ases.Ser|vice ali|
|00001e70| 61 73 65 73 20 6c 69 73 | 74 0a 54 68 65 20 61 6c |ases lis|t.The al|
|00001e80| 69 61 73 65 73 20 6c 69 | 73 74 20 63 6f 6e 73 69 |iases li|st consi|
|00001e90| 73 74 73 20 6f 66 20 61 | 20 30 2d 74 65 72 6d 69 |sts of a| 0-termi|
|00001ea0| 6e 61 74 65 64 20 6c 69 | 73 74 20 6f 66 20 70 6f |nated li|st of po|
|00001eb0| 69 6e 74 65 72 73 20 74 | 6f 20 74 68 65 20 61 6c |inters t|o the al|
|00001ec0| 69 61 73 20 6e 61 6d 65 | 73 2e 20 54 68 65 20 6c |ias name|s. The l|
|00001ed0| 69 73 74 2c 20 6c 69 6b | 65 20 74 68 65 20 73 65 |ist, lik|e the se|
|00001ee0| 72 76 65 6e 74 20 62 6c | 6f 63 6b 20 69 74 73 65 |rvent bl|ock itse|
|00001ef0| 6c 66 2c 20 69 73 20 6e | 6f 74 20 73 74 61 74 69 |lf, is n|ot stati|
|00001f00| 63 2e 0a 00 44 41 54 41 | 5a 01 00 00 49 6e 74 65 |c...DATA|Z...Inte|
|00001f10| 72 6e 65 74 5f 47 65 74 | 53 65 72 76 69 63 65 42 |rnet_Get|ServiceB|
|00001f20| 79 4e 61 6d 65 0a 23 50 | 61 72 65 6e 74 20 49 6e |yName.#P|arent In|
|00001f30| 74 65 72 6e 65 74 5f 0a | 3d 3e 09 52 30 20 3d 09 |ternet_.|=>.R0 =.|
|00001f40| 73 65 72 76 69 63 65 20 | 6e 61 6d 65 0a 09 52 31 |service |name..R1|
|00001f50| 20 3d 09 70 72 6f 74 6f | 63 6f 6c 2c 20 6f 72 20 | =.proto|col, or |
|00001f60| 30 20 66 6f 72 20 64 65 | 66 61 75 6c 74 20 70 72 |0 for de|fault pr|
|00001f70| 6f 74 6f 63 6f 6c 20 28 | 74 63 70 29 0a 3c 3d 09 |otocol (|tcp).<=.|
|00001f80| 52 31 20 3d 09 70 6f 69 | 6e 74 65 72 20 74 6f 20 |R1 =.poi|nter to |
|00001f90| 3c 73 65 72 76 65 6e 74 | 3d 3e 49 6e 74 65 72 6e |<servent|=>Intern|
|00001fa0| 65 74 5f 73 65 72 76 65 | 6e 74 3e 20 73 74 72 75 |et_serve|nt> stru|
|00001fb0| 63 74 75 72 65 2c 20 6f | 72 20 30 20 69 66 20 6e |cture, o|r 0 if n|
|00001fc0| 6f 74 20 66 6f 75 6e 64 | 0a 0a 52 65 74 75 72 6e |ot found|..Return|
|00001fd0| 73 20 61 20 73 65 72 76 | 65 6e 74 20 62 6c 6f 63 |s a serv|ent bloc|
|00001fe0| 6b 20 66 6f 72 20 74 68 | 65 20 72 65 71 75 65 73 |k for th|e reques|
|00001ff0| 74 65 64 20 73 65 72 76 | 69 63 65 2e 20 54 68 69 |ted serv|ice. Thi|
|00002000| 73 20 69 73 20 6e 6f 74 | 20 67 75 61 72 65 6e 74 |s is not| guarent|
|00002010| 65 65 64 20 74 6f 20 72 | 65 6d 61 69 6e 20 73 74 |eed to r|emain st|
|00002020| 61 74 69 63 20 61 6e 64 | 20 73 68 6f 75 6c 64 20 |atic and| should |
|00002030| 6f 6e 6c 79 20 62 65 20 | 63 6f 6e 73 69 64 65 72 |only be |consider|
|00002040| 65 64 20 76 61 6c 69 64 | 20 75 6e 74 69 6c 20 74 |ed valid| until t|
|00002050| 68 65 20 6e 65 78 74 20 | 63 61 6c 6c 2e 0a 00 00 |he next |call....|
|00002060| 44 41 54 41 b4 00 00 00 | 49 6e 74 65 72 6e 65 74 |DATA....|Internet|
|00002070| 5f 44 65 63 6f 64 65 45 | 72 72 6f 72 0a 23 50 61 |_DecodeE|rror.#Pa|
|00002080| 72 65 6e 74 20 49 6e 74 | 65 72 6e 65 74 5f 0a 3d |rent Int|ernet_.=|
|00002090| 3e 09 52 30 20 3d 09 65 | 72 72 6f 72 20 6e 75 6d |>.R0 =.e|rror num|
|000020a0| 62 65 72 0a 3c 3d 09 52 | 30 20 3d 09 70 6f 69 6e |ber.<=.R|0 =.poin|
|000020b0| 74 65 72 20 74 6f 20 65 | 72 72 6f 72 20 6d 65 73 |ter to e|rror mes|
|000020c0| 73 61 67 65 0a 0a 52 65 | 74 75 72 6e 73 20 61 20 |sage..Re|turns a |
|000020d0| 74 65 78 74 75 61 6c 20 | 76 65 72 73 69 6f 6e 20 |textual |version |
|000020e0| 6f 66 20 74 68 65 20 65 | 72 72 6f 72 20 6e 75 6d |of the e|rror num|
|000020f0| 62 65 72 20 67 69 76 65 | 6e 20 62 79 20 74 68 65 |ber give|n by the|
|00002100| 20 73 6f 63 6b 65 74 73 | 20 69 6e 74 65 72 66 61 | sockets| interfa|
|00002110| 63 65 2e 0a 44 41 54 41 | fe 00 00 00 49 6e 74 65 |ce..DATA|....Inte|
|00002120| 72 6e 65 74 5f 47 65 74 | 53 65 72 76 69 63 65 73 |rnet_Get|Services|
|00002130| 4d 65 6e 75 0a 23 50 61 | 72 65 6e 74 20 49 6e 74 |Menu.#Pa|rent Int|
|00002140| 65 72 6e 65 74 5f 0a 3d | 3e 09 52 30 20 3d 09 70 |ernet_.=|>.R0 =.p|
|00002150| 6f 69 6e 74 65 72 20 74 | 6f 20 6e 61 6d 65 20 6f |ointer t|o name o|
|00002160| 66 20 69 74 65 6d 20 74 | 6f 20 74 69 63 6b 2c 20 |f item t|o tick, |
|00002170| 6f 72 20 30 20 66 6f 72 | 20 6e 6f 6e 65 0a 09 52 |or 0 for| none..R|
|00002180| 31 20 3d 09 70 6f 69 6e | 74 65 72 20 74 6f 20 70 |1 =.poin|ter to p|
|00002190| 72 6f 74 6f 63 6f 6c 20 | 6e 61 6d 65 2c 20 6f 72 |rotocol |name, or|
|000021a0| 20 30 20 66 6f 72 20 64 | 65 66 61 75 6c 74 0a 3c | 0 for d|efault.<|
|000021b0| 3d 09 52 30 20 3d 09 70 | 6f 69 6e 74 65 72 20 74 |=.R0 =.p|ointer t|
|000021c0| 6f 20 6d 65 6e 75 20 73 | 74 72 75 63 74 75 72 65 |o menu s|tructure|
|000021d0| 0a 0a 43 72 65 61 74 65 | 73 20 61 20 6d 65 6e 75 |..Create|s a menu|
|000021e0| 20 73 74 72 75 63 74 75 | 72 65 20 6f 66 20 73 65 | structu|re of se|
|000021f0| 72 76 69 63 65 73 20 77 | 68 69 63 68 20 61 72 65 |rvices w|hich are|
|00002200| 20 63 75 72 72 65 6e 74 | 6c 79 20 6b 6e 6f 77 6e | current|ly known|
|00002210| 2e 0a 00 00 44 41 54 41 | 8a 01 00 00 52 65 73 6f |....DATA|....Reso|
|00002220| 6c 76 65 72 5f 47 65 74 | 48 6f 73 74 20 20 28 26 |lver_Get|Host (&|
|00002230| 34 36 30 30 31 29 0a 23 | 50 61 72 65 6e 74 20 49 |46001).#|Parent I|
|00002240| 6e 74 65 72 6e 65 74 5f | 0a 3d 3e 09 52 30 20 3d |nternet_|.=>.R0 =|
|00002250| 09 70 6f 69 6e 74 65 72 | 20 74 6f 20 7a 65 72 6f |.pointer| to zero|
|00002260| 2d 74 65 72 6d 69 6e 61 | 74 65 64 20 68 6f 73 74 |-termina|ted host|
|00002270| 20 6e 61 6d 65 0a 3c 3d | 09 52 30 20 3d 09 70 6f | name.<=|.R0 =.po|
|00002280| 69 6e 74 65 72 20 74 6f | 20 65 72 72 6f 72 20 62 |inter to| error b|
|00002290| 6c 6f 63 6b 20 69 66 20 | 65 72 72 6f 72 2c 20 6f |lock if |error, o|
|000022a0| 72 20 6e 65 74 62 73 64 | 20 3c 65 72 72 6f 72 20 |r netbsd| <error |
|000022b0| 6e 75 6d 62 65 72 3d 3e | 49 6e 65 74 3a 45 3e 0a |number=>|Inet:E>.|
|000022c0| 09 52 31 20 3d 09 70 6f | 69 6e 74 65 72 20 74 6f |.R1 =.po|inter to|
|000022d0| 20 3c 68 6f 73 74 65 6e | 74 3d 3e 49 6e 74 65 72 | <hosten|t=>Inter|
|000022e0| 6e 65 74 5f 68 6f 73 74 | 65 6e 74 3e 20 73 74 72 |net_host|ent> str|
|000022f0| 75 63 74 75 72 65 20 69 | 66 20 73 75 63 63 65 73 |ucture i|f succes|
|00002300| 73 66 75 6c 2c 20 6f 72 | 20 30 20 6f 74 68 65 72 |sful, or| 0 other|
|00002310| 77 69 73 65 0a 0a 54 68 | 69 73 20 53 57 49 20 77 |wise..Th|is SWI w|
|00002320| 69 6c 6c 20 65 69 74 68 | 65 72 20 72 65 74 75 72 |ill eith|er retur|
|00002330| 6e 20 61 20 68 6f 73 74 | 20 65 6e 74 72 79 20 69 |n a host| entry i|
|00002340| 66 20 6f 6e 65 20 69 73 | 20 63 61 63 68 65 64 20 |f one is| cached |
|00002350| 6f 72 20 62 65 67 69 6e | 20 61 20 6c 6f 6f 6b 75 |or begin| a looku|
|00002360| 70 20 69 66 20 6e 6f 74 | 2e 20 54 68 69 73 20 63 |p if not|. This c|
|00002370| 61 6c 6c 20 73 68 6f 75 | 6c 64 20 62 65 20 75 73 |all shou|ld be us|
|00002380| 65 64 20 66 6f 72 20 6d | 75 6c 74 69 2d 74 61 73 |ed for m|ulti-tas|
|00002390| 6b 69 6e 67 20 6c 6f 6f | 6b 75 70 73 2e 0a 00 00 |king loo|kups....|
|000023a0| 44 49 52 24 2c 00 00 00 | 2c 00 00 00 cc 23 00 00 |DIR$,...|,....#..|
|000023b0| 47 fd ff ff 45 5d bc 21 | b1 00 00 00 13 00 00 00 |G...E].!|........|
|000023c0| 00 00 00 00 21 52 6f 6f | 74 00 00 00 44 41 54 41 |....!Roo|t...DATA|
|000023d0| b1 00 00 00 4b 41 39 51 | 41 55 4e 0a 23 50 61 72 |....KA9Q|AUN.#Par|
|000023e0| 65 6e 74 20 21 52 6f 6f | 74 0a 23 50 72 65 66 69 |ent !Roo|t.#Prefi|
|000023f0| 78 20 4b 41 39 51 41 55 | 4e 5f 0a 23 54 61 62 6c |x KA9QAU|N_.#Tabl|
|00002400| 65 20 43 6f 6c 75 6d 6e | 73 20 32 0a 4e 65 74 77 |e Column|s 2.Netw|
|00002410| 6f 72 6b 49 66 53 74 61 | 72 74 0a 4e 65 74 77 6f |orkIfSta|rt.Netwo|
|00002420| 72 6b 49 66 55 70 0a 4e | 65 74 77 6f 72 6b 49 66 |rkIfUp.N|etworkIf|
|00002430| 44 6f 77 6e 0a 4e 65 74 | 77 6f 72 6b 49 66 53 65 |Down.Net|workIfSe|
|00002440| 6e 64 0a 44 43 49 56 65 | 72 73 69 6f 6e 0a 4e 65 |nd.DCIVe|rsion.Ne|
|00002450| 74 77 6f 72 6b 4d 54 55 | 0a 54 78 45 76 65 6e 74 |tworkMTU|.TxEvent|
|00002460| 52 65 71 75 69 72 65 64 | 0a 53 74 61 4e 75 6d 52 |Required|.StaNumR|
|00002470| 65 71 0a 23 45 6e 64 54 | 61 62 6c 65 0a 00 00 00 |eq.#EndT|able....|
|00002480| 44 49 52 24 2c 00 00 00 | 2c 00 00 00 ac 24 00 00 |DIR$,...|,....$..|
|00002490| 47 fd ff ff 82 65 cd 13 | 76 00 00 00 13 00 00 00 |G....e..|v.......|
|000024a0| 00 00 00 00 21 52 6f 6f | 74 00 00 00 44 41 54 41 |....!Roo|t...DATA|
|000024b0| 76 00 00 00 4d 62 75 66 | 0a 23 50 61 72 65 6e 74 |v...Mbuf|.#Parent|
|000024c0| 20 21 52 6f 6f 74 0a 23 | 50 72 65 66 69 78 20 4d | !Root.#|Prefix M|
|000024d0| 62 75 66 5f 0a 23 54 61 | 62 6c 65 20 43 6f 6c 75 |buf_.#Ta|ble Colu|
|000024e0| 6d 6e 73 20 32 0a 4f 70 | 65 6e 53 65 73 73 69 6f |mns 2.Op|enSessio|
|000024f0| 6e 0a 43 6c 6f 73 65 53 | 65 73 73 69 6f 6e 0a 4d |n.CloseS|ession.M|
|00002500| 65 6d 6f 72 79 0a 53 74 | 61 74 69 73 74 69 63 0a |emory.St|atistic.|
|00002510| 43 6f 6e 74 72 6f 6c 0a | 23 45 6e 64 54 61 62 6c |Control.|#EndTabl|
|00002520| 65 0a 00 00 44 49 52 24 | 2c 00 00 00 2c 00 00 00 |e...DIR$|,...,...|
|00002530| 50 25 00 00 47 fd ff ff | 6a 5f bc 21 81 00 00 00 |P%..G...|j_.!....|
|00002540| 13 00 00 00 00 00 00 00 | 21 52 6f 6f 74 00 00 00 |........|!Root...|
|00002550| 44 41 54 41 81 00 00 00 | 53 4c 49 50 64 72 69 76 |DATA....|SLIPdriv|
|00002560| 65 72 0a 23 50 61 72 65 | 6e 74 20 21 52 6f 6f 74 |er.#Pare|nt !Root|
|00002570| 0a 23 50 72 65 66 69 78 | 20 53 4c 49 50 64 72 69 |.#Prefix| SLIPdri|
|00002580| 76 65 72 5f 0a 23 54 61 | 62 6c 65 20 43 6f 6c 75 |ver_.#Ta|ble Colu|
|00002590| 6d 6e 73 20 32 0a 53 74 | 61 72 74 0a 55 70 0a 44 |mns 2.St|art.Up.D|
|000025a0| 6f 77 6e 0a 53 65 6e 64 | 0a 56 65 72 73 69 6f 6e |own.Send|.Version|
|000025b0| 0a 4d 54 55 0a 54 78 45 | 76 52 65 71 0a 53 74 61 |.MTU.TxE|vReq.Sta|
|000025c0| 4e 75 6d 52 65 71 0a 23 | 45 6e 64 54 61 62 6c 65 |NumReq.#|EndTable|
|000025d0| 0a 00 00 00 44 49 52 24 | 2c 00 00 00 2c 00 00 00 |....DIR$|,...,...|
|000025e0| 00 26 00 00 47 fd ff ff | 93 58 b1 13 0c 01 00 00 |.&..G...|.X......|
|000025f0| 13 00 00 00 00 00 00 00 | 21 52 6f 6f 74 00 00 00 |........|!Root...|
|00002600| 44 41 54 41 0c 01 00 00 | 53 6f 63 6b 65 74 0a 23 |DATA....|Socket.#|
|00002610| 50 61 72 65 6e 74 20 21 | 52 6f 6f 74 0a 23 50 72 |Parent !|Root.#Pr|
|00002620| 65 66 69 78 20 53 6f 63 | 6b 65 74 5f 0a 23 54 61 |efix Soc|ket_.#Ta|
|00002630| 62 6c 65 20 43 6f 6c 75 | 6d 6e 73 20 32 0a 43 72 |ble Colu|mns 2.Cr|
|00002640| 65 61 74 0a 42 69 6e 64 | 0a 4c 69 73 74 65 6e 0a |eat.Bind|.Listen.|
|00002650| 41 63 63 65 70 74 0a 43 | 6f 6e 6e 65 63 74 0a 52 |Accept.C|onnect.R|
|00002660| 65 63 76 0a 52 65 63 76 | 66 72 6f 6d 0a 52 65 63 |ecv.Recv|from.Rec|
|00002670| 76 6d 73 67 0a 53 65 6e | 64 0a 53 65 6e 64 74 6f |vmsg.Sen|d.Sendto|
|00002680| 0a 53 65 6e 64 6d 73 67 | 0a 53 68 75 74 64 6f 77 |.Sendmsg|.Shutdow|
|00002690| 6e 0a 53 65 74 73 6f 63 | 6b 6f 70 74 0a 47 65 74 |n.Setsoc|kopt.Get|
|000026a0| 73 6f 63 6b 6f 70 74 0a | 47 65 74 70 65 65 72 6e |sockopt.|Getpeern|
|000026b0| 61 6d 65 0a 47 65 74 73 | 6f 63 6b 6e 61 6d 65 0a |ame.Gets|ockname.|
|000026c0| 43 6c 6f 73 65 0a 53 65 | 6c 65 63 74 0a 49 6f 63 |Close.Se|lect.Ioc|
|000026d0| 74 6c 0a 52 65 61 64 0a | 57 72 69 74 65 0a 53 74 |tl.Read.|Write.St|
|000026e0| 61 74 0a 52 65 61 64 76 | 0a 57 72 69 74 65 76 0a |at.Readv|.Writev.|
|000026f0| 47 65 74 74 73 69 7a 65 | 0a 53 65 6e 64 74 6f 73 |Gettsize|.Sendtos|
|00002700| 6d 0a 23 45 6e 64 54 61 | 62 6c 65 0a 44 49 52 24 |m.#EndTa|ble.DIR$|
|00002710| 58 02 00 00 58 02 00 00 | 64 29 00 00 47 fd ff ff |X...X...|d)..G...|
|00002720| 9b 7e fd 60 07 01 00 00 | 13 00 00 00 00 00 00 00 |.~.`....|........|
|00002730| 21 52 6f 6f 74 00 00 00 | 6c 2a 00 00 47 ff ff ff |!Root...|l*..G...|
|00002740| a1 20 e5 c3 fa 00 00 00 | 13 00 00 00 00 00 00 00 |. ......|........|
|00002750| 4c 6f 67 4d 65 73 73 61 | 67 65 00 00 68 2b 00 00 |LogMessa|ge..h+..|
|00002760| 47 ff ff ff e4 d3 f9 60 | c4 00 00 00 13 00 00 00 |G......`|........|
|00002770| 00 00 00 00 47 65 74 4c | 6f 67 4c 65 76 65 6c 00 |....GetL|ogLevel.|
|00002780| 2c 2c 00 00 47 ff ff ff | df f0 f9 60 be 00 00 00 |,,..G...|...`....|
|00002790| 13 00 00 00 00 00 00 00 | 46 6c 75 73 68 4c 6f 67 |........|FlushLog|
|000027a0| 00 00 00 00 ec 2c 00 00 | 47 ff ff ff 54 2f fa 60 |.....,..|G...T/.`|
|000027b0| 12 01 00 00 13 00 00 00 | 00 00 00 00 53 65 74 4c |........|....SetL|
|000027c0| 6f 67 4c 65 76 65 6c 00 | 00 2e 00 00 47 ff ff ff |ogLevel.|....G...|
|000027d0| 77 d3 fe 60 48 01 00 00 | 13 00 00 00 00 00 00 00 |w..`H...|........|
|000027e0| 4c 6f 67 55 6e 73 74 61 | 6d 70 65 64 00 00 00 00 |LogUnsta|mped....|
|000027f0| 48 2f 00 00 47 ff ff ff | 05 11 ff 60 16 01 00 00 |H/..G...|...`....|
|00002800| 13 00 00 00 00 00 00 00 | 49 6e 64 65 6e 74 00 00 |........|Indent..|
|00002810| 60 30 00 00 47 ff ff ff | fd 7a fa 60 0f 01 00 00 |`0..G...|.z.`....|
|00002820| 13 00 00 00 00 00 00 00 | 55 6e 49 6e 64 65 6e 74 |........|UnIndent|
|00002830| 00 00 00 00 70 31 00 00 | 47 ff ff ff 81 99 fa 60 |....p1..|G......`|
|00002840| e5 00 00 00 13 00 00 00 | 00 00 00 00 4e 6f 49 6e |........|....NoIn|
|00002850| 64 65 6e 74 00 00 00 00 | 58 32 00 00 47 ff ff ff |dent....|X2..G...|
|00002860| 01 d5 fa 60 73 01 00 00 | 13 00 00 00 00 00 00 00 |...`s...|........|
|00002870| 4f 70 65 6e 53 65 73 73 | 69 6f 6e 4c 6f 67 00 00 |OpenSess|ionLog..|
|00002880| cc 33 00 00 47 ff ff ff | aa 20 ff 60 94 00 00 00 |.3..G...|. .`....|
|00002890| 13 00 00 00 00 00 00 00 | 43 6c 6f 73 65 53 65 73 |........|CloseSes|
|000028a0| 73 69 6f 6e 4c 6f 67 00 | 60 34 00 00 47 ff ff ff |sionLog.|`4..G...|
|000028b0| 76 3b fb 60 60 01 00 00 | 13 00 00 00 00 00 00 00 |v;.``...|........|
|000028c0| 4c 6f 67 44 61 74 61 00 | c0 35 00 00 47 ff ff ff |LogData.|.5..G...|
|000028d0| a5 cf fd 60 09 06 00 00 | 13 00 00 00 00 00 00 00 |...`....|........|
|000028e0| 4c 6f 67 46 6f 72 6d 61 | 74 74 65 64 00 00 00 00 |LogForma|tted....|
|000028f0| cc 3b 00 00 47 ff ff ff | 58 bb fb 60 af 00 00 00 |.;..G...|X..`....|
|00002900| 13 00 00 00 00 00 00 00 | 52 65 61 64 45 72 72 6f |........|ReadErro|
|00002910| 72 4d 65 73 73 61 67 65 | 00 00 00 00 7c 3c 00 00 |rMessage|....|<..|
|00002920| 47 ff ff ff 8e d7 fb 60 | dc 00 00 00 13 00 00 00 |G......`|........|
|00002930| 00 00 00 00 4c 6f 67 43 | 6f 6d 70 6c 65 74 65 00 |....LogC|omplete.|
|00002940| 58 3d 00 00 47 fd ff ff | 7f 21 fe 60 a1 01 00 00 |X=..G...|.!.`....|
|00002950| 13 00 00 00 00 00 00 00 | 70 72 69 6f 72 69 74 69 |........|prioriti|
|00002960| 65 73 00 00 44 41 54 41 | 07 01 00 00 53 79 73 4c |es..DATA|....SysL|
|00002970| 6f 67 0a 23 50 61 72 65 | 6e 74 20 21 52 6f 6f 74 |og.#Pare|nt !Root|
|00002980| 0a 23 50 72 65 66 69 78 | 20 53 79 73 4c 6f 67 5f |.#Prefix| SysLog_|
|00002990| 0a 23 54 61 62 6c 65 20 | 43 6f 6c 75 6d 6e 73 20 |.#Table |Columns |
|000029a0| 32 0a 3c 4c 6f 67 4d 65 | 73 73 61 67 65 3e 0a 3c |2.<LogMe|ssage>.<|
|000029b0| 47 65 74 4c 6f 67 4c 65 | 76 65 6c 3e 0a 3c 46 6c |GetLogLe|vel>.<Fl|
|000029c0| 75 73 68 4c 6f 67 3e 0a | 3c 53 65 74 4c 6f 67 4c |ushLog>.|<SetLogL|
|000029d0| 65 76 65 6c 3e 0a 3c 4c | 6f 67 55 6e 73 74 61 6d |evel>.<L|ogUnstam|
|000029e0| 70 65 64 3e 0a 3c 49 6e | 64 65 6e 74 3e 0a 3c 55 |ped>.<In|dent>.<U|
|000029f0| 6e 49 6e 64 65 6e 74 3e | 0a 3c 4e 6f 49 6e 64 65 |nIndent>|.<NoInde|
|00002a00| 6e 74 3e 0a 3c 4f 70 65 | 6e 53 65 73 73 69 6f 6e |nt>.<Ope|nSession|
|00002a10| 4c 6f 67 3e 0a 3c 43 6c | 6f 73 65 53 65 73 73 69 |Log>.<Cl|oseSessi|
|00002a20| 6f 6e 4c 6f 67 3e 0a 3c | 4c 6f 67 44 61 74 61 3e |onLog>.<|LogData>|
|00002a30| 0a 3c 4c 6f 67 46 6f 72 | 6d 61 74 74 65 64 3e 0a |.<LogFor|matted>.|
|00002a40| 3c 52 65 61 64 45 72 72 | 6f 72 4d 65 73 73 61 67 |<ReadErr|orMessag|
|00002a50| 65 3e 0a 3c 4c 6f 67 43 | 6f 6d 70 6c 65 74 65 3e |e>.<LogC|omplete>|
|00002a60| 0a 23 45 6e 64 54 61 62 | 6c 65 0a 00 44 41 54 41 |.#EndTab|le..DATA|
|00002a70| fa 00 00 00 53 79 73 4c | 6f 67 5f 4c 6f 67 4d 65 |....SysL|og_LogMe|
|00002a80| 73 73 61 67 65 20 28 26 | 34 43 38 38 30 29 0a 23 |ssage (&|4C880).#|
|00002a90| 50 61 72 65 6e 74 20 53 | 79 73 4c 6f 67 5f 0a 3d |Parent S|ysLog_.=|
|00002aa0| 3e 09 52 30 20 3d 09 70 | 6f 69 6e 74 65 72 20 74 |>.R0 =.p|ointer t|
|00002ab0| 6f 20 6c 6f 67 20 6e 61 | 6d 65 2c 20 6f 72 20 73 |o log na|me, or s|
|00002ac0| 65 73 73 69 6f 6e 20 6c | 6f 67 20 68 61 6e 64 6c |ession l|og handl|
|00002ad0| 65 0a 09 52 31 20 3d 09 | 70 6f 69 6e 74 65 72 20 |e..R1 =.|pointer |
|00002ae0| 74 6f 20 74 65 78 74 20 | 74 6f 20 6c 6f 67 0a 09 |to text |to log..|
|00002af0| 52 32 20 3d 09 3c 70 72 | 69 6f 72 69 74 79 3d 3e |R2 =.<pr|iority=>|
|00002b00| 53 79 73 4c 6f 67 5f 70 | 72 69 6f 72 69 74 69 65 |SysLog_p|rioritie|
|00002b10| 73 3e 0a 0a 4c 6f 67 73 | 20 61 20 6d 65 73 73 61 |s>..Logs| a messa|
|00002b20| 67 65 20 69 6e 20 61 20 | 6e 61 6d 65 64 20 73 79 |ge in a |named sy|
|00002b30| 73 74 65 6d 20 6c 6f 67 | 20 6f 72 20 73 65 73 73 |stem log| or sess|
|00002b40| 69 6f 6e 20 6c 6f 67 20 | 28 73 65 65 20 3c 53 79 |ion log |(see <Sy|
|00002b50| 73 4c 6f 67 5f 4f 70 65 | 6e 53 65 73 73 69 6f 6e |sLog_Ope|nSession|
|00002b60| 4c 6f 67 3e 29 2e 00 00 | 44 41 54 41 c4 00 00 00 |Log>)...|DATA....|
|00002b70| 53 79 73 4c 6f 67 5f 47 | 65 74 4c 6f 67 4c 65 76 |SysLog_G|etLogLev|
|00002b80| 65 6c 20 28 26 34 43 38 | 38 31 29 0a 23 50 61 72 |el (&4C8|81).#Par|
|00002b90| 65 6e 74 20 53 79 73 4c | 6f 67 5f 0a 3d 3e 09 52 |ent SysL|og_.=>.R|
|00002ba0| 30 20 3d 09 70 6f 69 6e | 74 65 72 20 74 6f 20 6c |0 =.poin|ter to l|
|00002bb0| 6f 67 20 6e 61 6d 65 2c | 20 6f 72 20 73 65 73 73 |og name,| or sess|
|00002bc0| 69 6f 6e 20 6c 6f 67 20 | 68 61 6e 64 6c 65 0a 3c |ion log |handle.<|
|00002bd0| 3d 09 52 30 20 3d 09 3c | 70 72 69 6f 72 69 74 79 |=.R0 =.<|priority|
|00002be0| 3d 3e 53 79 73 4c 6f 67 | 5f 70 72 69 6f 72 69 74 |=>SysLog|_priorit|
|00002bf0| 69 65 73 3e 0a 0a 52 65 | 61 64 73 20 74 68 65 20 |ies>..Re|ads the |
|00002c00| 63 75 72 72 65 6e 74 20 | 6c 6f 67 67 69 6e 67 20 |current |logging |
|00002c10| 6c 65 76 65 6c 20 66 6f | 72 20 61 20 70 61 72 74 |level fo|r a part|
|00002c20| 69 63 75 6c 61 72 20 6c | 6f 67 2e 0a 44 41 54 41 |icular l|og..DATA|
|00002c30| be 00 00 00 53 79 73 4c | 6f 67 5f 46 6c 75 73 68 |....SysL|og_Flush|
|00002c40| 4c 6f 67 20 28 26 34 43 | 38 38 32 29 0a 23 50 61 |Log (&4C|882).#Pa|
|00002c50| 72 65 6e 74 20 53 79 73 | 4c 6f 67 5f 0a 3d 3e 09 |rent Sys|Log_.=>.|
|00002c60| 52 30 20 3d 09 70 6f 69 | 6e 74 65 72 20 74 6f 20 |R0 =.poi|nter to |
|00002c70| 6c 6f 67 20 6e 61 6d 65 | 2c 20 73 65 73 73 69 6f |log name|, sessio|
|00002c80| 6e 20 6c 6f 67 20 68 61 | 6e 64 6c 65 2c 20 6f 72 |n log ha|ndle, or|
|00002c90| 20 30 20 74 6f 20 66 6c | 75 73 68 20 61 6c 6c 0a | 0 to fl|ush all.|
|00002ca0| 0a 57 72 69 74 65 73 20 | 6f 75 74 20 61 6e 79 20 |.Writes |out any |
|00002cb0| 63 61 63 68 65 64 20 64 | 61 74 61 20 66 72 6f 6d |cached d|ata from|
|00002cc0| 20 6d 65 6d 6f 72 79 20 | 74 6f 20 74 68 65 20 6c | memory |to the l|
|00002cd0| 6f 67 73 20 61 6e 64 20 | 63 6c 6f 73 65 73 20 74 |ogs and |closes t|
|00002ce0| 68 65 20 66 69 6c 65 73 | 2e 0a 00 00 44 41 54 41 |he files|....DATA|
|00002cf0| 12 01 00 00 53 79 73 4c | 6f 67 5f 53 65 74 4c 6f |....SysL|og_SetLo|
|00002d00| 67 4c 65 76 65 6c 20 28 | 26 34 43 38 38 33 29 0a |gLevel (|&4C883).|
|00002d10| 23 50 61 72 65 6e 74 20 | 53 79 73 4c 6f 67 5f 0a |#Parent |SysLog_.|
|00002d20| 3d 3e 09 52 30 20 3d 09 | 70 6f 69 6e 74 65 72 20 |=>.R0 =.|pointer |
|00002d30| 74 6f 20 6c 6f 67 20 6e | 61 6d 65 2c 20 6f 72 20 |to log n|ame, or |
|00002d40| 73 65 73 73 69 6f 6e 20 | 6c 6f 67 20 68 61 6e 64 |session |log hand|
|00002d50| 6c 65 0a 09 52 31 20 3d | 09 3c 6e 65 77 20 70 72 |le..R1 =|.<new pr|
|00002d60| 69 6f 72 69 74 79 3d 3e | 53 79 73 4c 6f 67 5f 70 |iority=>|SysLog_p|
|00002d70| 72 69 6f 72 69 74 69 65 | 73 3e 0a 0a 53 65 74 73 |rioritie|s>..Sets|
|00002d80| 20 74 65 20 6c 6f 67 67 | 69 6e 67 20 6c 65 76 65 | te logg|ing leve|
|00002d90| 6c 20 66 6f 72 20 61 20 | 70 61 72 74 69 63 75 6c |l for a |particul|
|00002da0| 61 72 20 6c 6f 67 20 6f | 72 20 73 65 73 73 69 6f |ar log o|r sessio|
|00002db0| 6e 2e 20 54 68 69 73 20 | 63 61 6c 6c 20 69 73 20 |n. This |call is |
|00002dc0| 66 6f 72 20 64 65 62 75 | 67 67 69 6e 67 20 70 75 |for debu|gging pu|
|00002dd0| 72 70 6f 73 65 73 20 6f | 6e 6c 79 20 2d 20 64 6f |rposes o|nly - do|
|00002de0| 20 6e 6f 74 20 75 73 65 | 20 69 6e 20 64 69 73 74 | not use| in dist|
|00002df0| 72 69 62 75 74 65 64 20 | 63 6f 64 65 20 21 00 00 |ributed |code !..|
|00002e00| 44 41 54 41 48 01 00 00 | 53 79 73 4c 6f 67 5f 4c |DATAH...|SysLog_L|
|00002e10| 6f 67 55 6e 73 74 61 6d | 70 65 64 20 28 26 34 43 |ogUnstam|ped (&4C|
|00002e20| 38 38 34 29 0a 23 50 61 | 72 65 6e 74 20 53 79 73 |884).#Pa|rent Sys|
|00002e30| 4c 6f 67 5f 0a 3d 3e 09 | 52 30 20 3d 09 70 6f 69 |Log_.=>.|R0 =.poi|
|00002e40| 6e 74 65 72 20 74 6f 20 | 6c 6f 67 20 6e 61 6d 65 |nter to |log name|
|00002e50| 2c 20 6f 72 20 73 65 73 | 73 69 6f 6e 20 6c 6f 67 |, or ses|sion log|
|00002e60| 20 68 61 6e 64 6c 65 0a | 09 52 31 20 3d 09 70 6f | handle.|.R1 =.po|
|00002e70| 69 6e 74 65 72 20 74 6f | 20 74 65 78 74 20 74 6f |inter to| text to|
|00002e80| 20 6c 6f 67 0a 09 52 32 | 20 3d 09 3c 70 72 69 6f | log..R2| =.<prio|
|00002e90| 72 69 74 79 3d 3e 53 79 | 73 4c 6f 67 5f 70 72 69 |rity=>Sy|sLog_pri|
|00002ea0| 6f 72 69 74 69 65 73 3e | 0a 0a 57 72 69 74 65 73 |orities>|..Writes|
|00002eb0| 20 61 20 6d 65 73 73 61 | 67 65 20 74 6f 20 61 20 | a messa|ge to a |
|00002ec0| 6c 6f 67 20 66 69 6c 65 | 20 2f 77 69 74 68 6f 75 |log file| /withou|
|00002ed0| 74 2f 20 73 74 61 6d 70 | 69 6e 67 20 69 74 20 77 |t/ stamp|ing it w|
|00002ee0| 69 74 68 20 74 68 65 20 | 74 69 6d 65 20 61 6e 64 |ith the |time and|
|00002ef0| 20 64 61 74 65 2e 20 54 | 68 69 73 20 73 68 6f 75 | date. T|his shou|
|00002f00| 6c 64 20 75 73 75 61 6c | 6c 79 20 62 65 20 72 65 |ld usual|ly be re|
|00002f10| 71 75 69 72 65 64 20 2d | 20 75 73 65 20 3c 53 79 |quired -| use <Sy|
|00002f20| 73 4c 6f 67 5f 4c 6f 67 | 4d 65 73 73 61 67 65 3e |sLog_Log|Message>|
|00002f30| 20 69 6e 20 70 72 65 66 | 65 72 65 6e 63 65 20 74 | in pref|erence t|
|00002f40| 6f 20 74 68 69 73 2e 0a | 44 41 54 41 16 01 00 00 |o this..|DATA....|
|00002f50| 53 79 73 4c 6f 67 5f 49 | 6e 64 65 6e 74 20 28 26 |SysLog_I|ndent (&|
|00002f60| 34 43 38 38 35 29 0a 23 | 50 61 72 65 6e 74 20 53 |4C885).#|Parent S|
|00002f70| 79 73 4c 6f 67 5f 0a 3d | 3e 09 52 30 20 3d 09 70 |ysLog_.=|>.R0 =.p|
|00002f80| 6f 69 6e 74 65 72 20 74 | 6f 20 6c 6f 67 20 6e 61 |ointer t|o log na|
|00002f90| 6d 65 2c 20 6f 72 20 73 | 65 73 73 69 6f 6e 20 6c |me, or s|ession l|
|00002fa0| 6f 67 20 68 61 6e 64 6c | 65 0a 0a 49 6e 63 72 65 |og handl|e..Incre|
|00002fb0| 61 73 65 73 20 74 68 65 | 20 69 6e 64 65 6e 74 20 |ases the| indent |
|00002fc0| 66 6f 72 20 74 68 65 20 | 6c 6f 67 2e 20 54 68 69 |for the |log. Thi|
|00002fd0| 73 20 69 73 20 75 73 65 | 66 75 6c 20 69 66 20 79 |s is use|ful if y|
|00002fe0| 6f 75 20 61 72 65 20 77 | 72 69 74 69 6e 67 20 6c |ou are w|riting l|
|00002ff0| 6f 6e 67 20 64 65 62 75 | 67 67 69 6e 67 20 72 6f |ong debu|gging ro|
|00003000| 75 74 69 6e 65 73 20 77 | 68 69 63 68 20 6c 6f 67 |utines w|hich log|
|00003010| 20 61 63 63 6f 72 64 69 | 6e 67 20 74 6f 20 74 68 | accordi|ng to th|
|00003020| 65 20 72 6f 75 74 69 6e | 65 20 74 68 65 79 20 61 |e routin|e they a|
|00003030| 72 65 20 69 6e 2e 20 55 | 73 65 20 3c 53 79 73 4c |re in. U|se <SysL|
|00003040| 6f 67 5f 55 6e 49 6e 64 | 65 6e 74 3e 20 74 6f 20 |og_UnInd|ent> to |
|00003050| 72 65 76 65 72 73 65 20 | 74 68 69 73 2e 0a 00 00 |reverse |this....|
|00003060| 44 41 54 41 0f 01 00 00 | 53 79 73 4c 6f 67 5f 55 |DATA....|SysLog_U|
|00003070| 6e 49 6e 64 65 6e 74 20 | 28 26 34 43 38 38 36 29 |nIndent |(&4C886)|
|00003080| 0a 23 50 61 72 65 6e 74 | 20 53 79 73 4c 6f 67 5f |.#Parent| SysLog_|
|00003090| 0a 3d 3e 09 52 30 20 3d | 09 70 6f 69 6e 74 65 72 |.=>.R0 =|.pointer|
|000030a0| 20 74 6f 20 6c 6f 67 20 | 6e 61 6d 65 2c 20 6f 72 | to log |name, or|
|000030b0| 20 73 65 73 73 69 6f 6e | 20 6c 6f 67 20 68 61 6e | session| log han|
|000030c0| 64 6c 65 0a 0a 44 65 63 | 72 65 61 73 65 73 20 74 |dle..Dec|reases t|
|000030d0| 68 65 20 69 6e 64 65 6e | 74 20 66 6f 72 20 74 68 |he inden|t for th|
|000030e0| 65 20 6c 6f 67 2e 20 54 | 68 69 73 20 69 73 20 75 |e log. T|his is u|
|000030f0| 73 65 66 75 6c 20 69 66 | 20 79 6f 75 20 61 72 65 |seful if| you are|
|00003100| 20 77 72 69 74 69 6e 67 | 20 6c 6f 6e 67 20 64 65 | writing| long de|
|00003110| 62 75 67 67 69 6e 67 20 | 72 6f 75 74 69 6e 65 73 |bugging |routines|
|00003120| 20 77 68 69 63 68 20 6c | 6f 67 20 61 63 63 6f 72 | which l|og accor|
|00003130| 64 69 6e 67 20 74 6f 20 | 74 68 65 20 72 6f 75 74 |ding to |the rout|
|00003140| 69 6e 65 20 74 68 65 79 | 20 61 72 65 20 69 6e 2e |ine they| are in.|
|00003150| 20 55 73 65 64 20 74 6f | 20 75 6e 64 6f 20 3c 53 | Used to| undo <S|
|00003160| 79 73 4c 6f 67 5f 49 6e | 64 65 6e 74 3e 2e 0a 00 |ysLog_In|dent>...|
|00003170| 44 41 54 41 e5 00 00 00 | 53 79 73 4c 6f 67 5f 4e |DATA....|SysLog_N|
|00003180| 6f 49 6e 64 65 6e 74 20 | 28 26 34 43 38 38 37 29 |oIndent |(&4C887)|
|00003190| 0a 23 50 61 72 65 6e 74 | 20 53 79 73 4c 6f 67 5f |.#Parent| SysLog_|
|000031a0| 0a 3d 3e 09 52 30 20 3d | 09 70 6f 69 6e 74 65 72 |.=>.R0 =|.pointer|
|000031b0| 20 74 6f 20 6c 6f 67 20 | 6e 61 6d 65 2c 20 6f 72 | to log |name, or|
|000031c0| 20 73 65 73 73 69 6f 6e | 20 6c 6f 67 20 68 61 6e | session| log han|
|000031d0| 64 6c 65 0a 0a 52 65 73 | 65 74 73 20 74 68 65 20 |dle..Res|ets the |
|000031e0| 69 6e 64 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |indentat|ion for |
|000031f0| 61 20 6c 6f 67 2e 20 54 | 68 69 73 20 73 68 6f 75 |a log. T|his shou|
|00003200| 6c 64 20 62 65 20 75 73 | 65 64 20 77 68 65 6e 20 |ld be us|ed when |
|00003210| 79 6f 75 72 20 70 72 6f | 67 72 61 6d 20 6c 6f 61 |your pro|gram loa|
|00003220| 64 73 20 69 66 20 69 74 | 20 75 73 65 73 20 3c 53 |ds if it| uses <S|
|00003230| 79 73 4c 6f 67 5f 49 6e | 64 65 6e 74 3e 20 61 6e |ysLog_In|dent> an|
|00003240| 64 20 3c 53 79 73 4c 6f | 67 5f 55 6e 49 6e 64 65 |d <SysLo|g_UnInde|
|00003250| 6e 74 3e 2e 0a 00 00 00 | 44 41 54 41 73 01 00 00 |nt>.....|DATAs...|
|00003260| 53 79 73 4c 6f 67 5f 4f | 70 65 6e 53 65 73 73 69 |SysLog_O|penSessi|
|00003270| 6f 6e 4c 6f 67 20 28 26 | 34 43 38 38 38 29 0a 23 |onLog (&|4C888).#|
|00003280| 50 61 72 65 6e 74 20 53 | 79 73 4c 6f 67 5f 0a 3d |Parent S|ysLog_.=|
|00003290| 3e 09 52 30 20 3d 09 70 | 6f 69 6e 74 65 72 20 74 |>.R0 =.p|ointer t|
|000032a0| 6f 20 6c 6f 67 20 6e 61 | 6d 65 0a 09 52 31 20 3d |o log na|me..R1 =|
|000032b0| 09 70 72 69 6f 72 69 74 | 79 0a 3c 3d 09 52 30 20 |.priorit|y.<=.R0 |
|000032c0| 3d 09 73 65 73 73 69 6f | 6e 20 6c 6f 67 20 68 61 |=.sessio|n log ha|
|000032d0| 6e 64 6c 65 2c 20 6f 72 | 20 30 20 69 66 20 74 68 |ndle, or| 0 if th|
|000032e0| 65 20 6c 6f 67 73 20 77 | 69 6c 6c 20 62 65 20 69 |e logs w|ill be i|
|000032f0| 67 6e 6f 72 65 64 0a 0a | 4f 70 65 6e 73 20 61 20 |gnored..|Opens a |
|00003300| 73 65 73 73 69 6f 6e 20 | 6c 6f 67 20 66 69 6c 65 |session |log file|
|00003310| 20 77 69 74 68 20 61 20 | 70 61 72 74 69 63 75 6c | with a |particul|
|00003320| 61 72 20 70 72 69 6f 72 | 69 74 79 2e 20 53 65 73 |ar prior|ity. Ses|
|00003330| 73 69 6f 6e 20 6c 6f 67 | 73 20 63 61 6e 20 62 65 |sion log|s can be|
|00003340| 20 75 73 65 64 20 74 6f | 20 67 72 6f 75 70 20 70 | used to| group p|
|00003350| 61 72 74 69 63 75 6c 61 | 72 20 65 76 65 6e 74 73 |articula|r events|
|00003360| 20 74 6f 67 65 74 68 65 | 72 20 73 6f 20 74 68 61 | togethe|r so tha|
|00003370| 74 20 74 68 65 79 20 61 | 70 70 65 61 72 20 63 6f |t they a|ppear co|
|00003380| 6e 73 65 63 75 74 69 76 | 65 6c 79 20 69 6e 20 74 |nsecutiv|ely in t|
|00003390| 68 65 20 6c 6f 67 20 66 | 69 6c 65 2e 20 55 73 65 |he log f|ile. Use|
|000033a0| 20 3c 53 79 73 4c 6f 67 | 5f 43 6c 6f 73 65 53 65 | <SysLog|_CloseSe|
|000033b0| 73 73 69 6f 6e 4c 6f 67 | 3e 20 74 6f 20 65 6e 64 |ssionLog|> to end|
|000033c0| 20 61 20 73 65 73 73 69 | 6f 6e 2e 00 44 41 54 41 | a sessi|on..DATA|
|000033d0| 94 00 00 00 53 79 73 4c | 6f 67 5f 43 6c 6f 73 65 |....SysL|og_Close|
|000033e0| 53 65 73 73 69 6f 6e 4c | 6f 67 20 28 26 34 43 38 |SessionL|og (&4C8|
|000033f0| 38 39 29 0a 23 50 61 72 | 65 6e 74 20 53 79 73 4c |89).#Par|ent SysL|
|00003400| 6f 67 5f 0a 3d 3e 09 52 | 30 20 3d 09 73 65 73 73 |og_.=>.R|0 =.sess|
|00003410| 69 6f 6e 20 6c 6f 67 20 | 68 61 6e 64 6c 65 0a 0a |ion log |handle..|
|00003420| 43 6c 6f 73 65 73 20 61 | 20 73 65 73 73 69 6f 6e |Closes a| session|
|00003430| 20 6c 6f 67 20 61 6e 64 | 20 61 70 70 65 6e 64 73 | log and| appends|
|00003440| 20 69 74 27 73 20 64 61 | 74 61 20 74 6f 20 74 68 | it's da|ta to th|
|00003450| 65 20 6d 61 69 6e 20 6c | 6f 67 20 66 69 6c 65 2e |e main l|og file.|
|00003460| 44 41 54 41 60 01 00 00 | 53 79 73 4c 6f 67 5f 4c |DATA`...|SysLog_L|
|00003470| 6f 67 44 61 74 61 20 28 | 26 34 43 38 38 41 29 0a |ogData (|&4C88A).|
|00003480| 23 50 61 72 65 6e 74 20 | 53 79 73 4c 6f 67 5f 0a |#Parent |SysLog_.|
|00003490| 3d 3e 09 52 30 20 3d 09 | 73 65 73 73 69 6f 6e 20 |=>.R0 =.|session |
|000034a0| 6c 6f 67 20 68 61 6e 64 | 6c 65 0a 09 52 31 20 3d |log hand|le..R1 =|
|000034b0| 09 3c 70 72 69 6f 72 69 | 74 79 3d 3e 53 79 73 4c |.<priori|ty=>SysL|
|000034c0| 6f 67 5f 70 72 69 6f 72 | 69 74 69 65 73 3e 0a 09 |og_prior|ities>..|
|000034d0| 52 32 20 3d 09 70 6f 69 | 6e 74 65 72 20 74 6f 20 |R2 =.poi|nter to |
|000034e0| 74 68 65 20 64 61 74 61 | 0a 09 52 33 20 3d 09 6e |the data|..R3 =.n|
|000034f0| 75 6d 62 65 72 20 6f 66 | 20 62 79 74 65 73 20 74 |umber of| bytes t|
|00003500| 6f 20 6c 6f 67 0a 09 52 | 34 20 3d 09 62 61 73 65 |o log..R|4 =.base|
|00003510| 20 6f 66 66 73 65 74 20 | 6f 66 20 62 6c 6f 63 6b | offset |of block|
|00003520| 2c 20 6f 72 20 2d 31 20 | 66 6f 72 20 6e 6f 6e 65 |, or -1 |for none|
|00003530| 2e 0a 0a 57 72 69 74 65 | 73 20 61 20 64 61 74 61 |...Write|s a data|
|00003540| 20 62 6c 6f 63 6b 20 74 | 6f 20 61 20 6c 6f 67 20 | block t|o a log |
|00003550| 66 69 6c 65 20 69 6e 20 | 61 20 73 69 6d 69 6c 61 |file in |a simila|
|00003560| 72 20 66 6f 72 6d 20 74 | 6f 20 2a 44 75 6d 70 2e |r form t|o *Dump.|
|00003570| 20 41 74 74 65 6d 70 74 | 73 20 74 6f 20 6c 6f 67 | Attempt|s to log|
|00003580| 20 64 61 74 61 20 62 6c | 6f 63 6b 73 20 62 69 67 | data bl|ocks big|
|00003590| 67 65 72 20 74 68 61 6e | 20 31 30 4b 20 77 69 6c |ger than| 10K wil|
|000035a0| 6c 20 62 65 20 66 61 75 | 6c 74 65 64 20 66 6f 72 |l be fau|lted for|
|000035b0| 20 79 6f 75 72 20 6f 77 | 6e 20 67 6f 6f 64 2e 0a | your ow|n good..|
|000035c0| 44 41 54 41 09 06 00 00 | 53 79 73 4c 6f 67 5f 4c |DATA....|SysLog_L|
|000035d0| 6f 67 46 6f 72 6d 61 74 | 74 65 64 20 28 26 34 43 |ogFormat|ted (&4C|
|000035e0| 38 38 42 29 0a 23 50 61 | 72 65 6e 74 20 53 79 73 |88B).#Pa|rent Sys|
|000035f0| 4c 6f 67 5f 0a 3d 3e 09 | 52 30 20 3d 09 73 65 73 |Log_.=>.|R0 =.ses|
|00003600| 73 69 6f 6e 20 6c 6f 67 | 20 68 61 6e 64 6c 65 0a |sion log| handle.|
|00003610| 09 52 31 20 3d 09 3c 66 | 6f 72 6d 61 74 20 73 74 |.R1 =.<f|ormat st|
|00003620| 72 69 6e 67 3d 3e 2e 66 | 6f 72 6d 61 74 3e 0a 09 |ring=>.f|ormat>..|
|00003630| 52 32 20 3d 09 3c 70 72 | 69 6f 72 69 74 79 3d 3e |R2 =.<pr|iority=>|
|00003640| 53 79 73 4c 6f 67 5f 70 | 72 69 6f 72 69 74 69 65 |SysLog_p|rioritie|
|00003650| 73 3e 0a 09 52 33 20 3d | 09 70 6f 69 6e 74 65 72 |s>..R3 =|.pointer|
|00003660| 20 62 6c 6f 63 6b 20 63 | 6f 6e 74 61 69 6e 69 6e | block c|ontainin|
|00003670| 67 20 72 30 2d 72 33 2c | 20 72 38 2d 72 31 32 20 |g r0-r3,| r8-r12 |
|00003680| 61 6e 64 20 72 31 34 0a | 09 52 34 2d 52 37 20 3d |and r14.|.R4-R7 =|
|00003690| 09 70 61 72 61 6d 65 74 | 65 72 73 0a 0a 41 70 70 |.paramet|ers..App|
|000036a0| 65 6e 64 73 20 61 20 27 | 66 6f 72 6d 61 74 74 65 |ends a '|formatte|
|000036b0| 64 20 73 74 72 69 6e 67 | 27 20 74 6f 20 74 68 65 |d string|' to the|
|000036c0| 20 6c 6f 67 20 75 73 69 | 6e 67 20 74 68 65 20 72 | log usi|ng the r|
|000036d0| 65 67 69 73 74 65 72 73 | 20 73 70 65 63 69 66 65 |egisters| specife|
|000036e0| 64 2e 0a 0a 55 73 75 61 | 6c 6c 79 20 79 6f 75 27 |d...Usua|lly you'|
|000036f0| 64 20 75 73 65 20 63 6f | 64 65 20 6c 69 6b 65 20 |d use co|de like |
|00003700| 74 68 69 73 20 74 6f 20 | 63 61 6c 6c 20 4c 6f 67 |this to |call Log|
|00003710| 46 6f 72 6d 61 74 74 65 | 64 20 3a 0a 23 54 61 62 |Formatte|d :.#Tab|
|00003720| 20 2c 66 43 6f 64 65 2c | 66 43 6f 64 65 2c 66 2f | ,fCode,|fCode,f/|
|00003730| 0a 20 20 20 09 53 54 4d | 46 44 09 28 73 70 29 21 |. .STM|FD.(sp)!|
|00003740| 2c 5c 7b 72 30 2d 72 33 | 2c 72 38 2d 72 31 32 2c |,\{r0-r3|,r8-r12,|
|00003750| 6c 69 6e 6b 5c 7d 09 20 | 0a 09 41 44 52 09 72 30 |link\}. |..ADR.r0|
|00003760| 2c 6f 75 72 6c 6f 67 6e | 61 6d 65 09 09 09 74 68 |,ourlogn|ame...th|
|00003770| 65 20 6c 6f 67 20 6e 61 | 6d 65 0a 09 41 44 44 09 |e log na|me..ADD.|
|00003780| 72 31 2c 70 63 2c 23 31 | 32 09 09 09 74 68 65 20 |r1,pc,#1|2...the |
|00003790| 66 6f 72 6d 61 74 20 73 | 74 72 69 6e 67 0a 09 4d |format s|tring..M|
|000037a0| 4f 56 09 72 32 2c 23 31 | 32 34 09 09 09 09 74 68 |OV.r2,#1|24....th|
|000037b0| 65 20 70 72 69 6f 72 69 | 74 79 0a 09 4d 4f 56 09 |e priori|ty..MOV.|
|000037c0| 72 33 2c 73 70 09 09 09 | 09 74 68 65 20 62 6c 6f |r3,sp...|.the blo|
|000037d0| 63 6b 20 6f 66 20 72 65 | 67 69 73 74 65 72 73 0a |ck of re|gisters.|
|000037e0| 09 53 57 49 09 22 53 79 | 73 4c 6f 67 5f 4c 6f 67 |.SWI."Sy|sLog_Log|
|000037f0| 46 6f 72 6d 61 74 74 65 | 64 22 0a 09 42 09 50 25 |Formatte|d"..B.P%|
|00003800| 2b 28 4c 45 4e 74 24 2b | 38 29 41 4e 44 4e 4f 54 |+(LENt$+|8)ANDNOT|
|00003810| 33 0a 09 45 51 55 53 09 | 74 24 2b 53 54 52 49 4e |3..EQUS.|t$+STRIN|
|00003820| 47 24 28 34 2d 28 4c 45 | 4e 74 24 41 4e 44 33 29 |G$(4-(LE|Nt$AND3)|
|00003830| 2c 43 48 52 24 30 29 0a | 09 4c 44 4d 46 44 09 28 |,CHR$0).|.LDMFD.(|
|00003840| 73 70 29 21 2c 5c 7b 72 | 30 2d 72 33 2c 72 38 2d |sp)!,\{r|0-r3,r8-|
|00003850| 72 31 32 2c 6c 69 6e 6b | 5c 7d 0a 23 66 43 6f 64 |r12,link|\}.#fCod|
|00003860| 65 0a 23 0a 23 53 75 62 | 70 61 67 65 20 66 6f 72 |e.#.#Sub|page for|
|00003870| 6d 61 74 0a 53 79 73 4c | 6f 67 5f 4c 6f 67 46 6f |mat.SysL|og_LogFo|
|00003880| 72 6d 61 74 74 65 64 20 | 66 6f 72 6d 61 74 20 73 |rmatted |format s|
|00003890| 74 72 69 6e 67 0a 54 68 | 65 73 65 20 73 74 72 69 |tring.Th|ese stri|
|000038a0| 6e 67 73 20 61 72 65 20 | 69 6e 20 61 20 73 69 6d |ngs are |in a sim|
|000038b0| 69 6c 61 72 20 73 74 79 | 6c 65 20 74 6f 20 74 68 |ilar sty|le to th|
|000038c0| 65 20 43 20 27 70 72 69 | 6e 74 66 27 2c 20 6f 72 |e C 'pri|ntf', or|
|000038d0| 20 4a 46 50 61 74 63 68 | 20 27 52 45 4d 27 20 6f | JFPatch| 'REM' o|
|000038e0| 75 74 70 75 74 20 66 6f | 72 6d 61 74 20 73 74 72 |utput fo|rmat str|
|000038f0| 69 6e 67 73 2e 20 54 68 | 65 20 66 6f 72 6d 61 74 |ings. Th|e format|
|00003900| 20 73 74 72 69 6e 67 20 | 69 73 20 61 20 74 65 6d | string |is a tem|
|00003910| 70 6c 61 74 65 20 66 6f | 72 20 77 68 69 63 68 20 |plate fo|r which |
|00003920| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 65 |the foll|owing se|
|00003930| 71 75 65 6e 63 65 73 20 | 77 69 6c 6c 20 62 65 20 |quences |will be |
|00003940| 65 78 70 61 6e 64 65 64 | 20 3a 0a 0a 53 65 71 75 |expanded| :..Sequ|
|00003950| 65 6e 63 65 09 45 78 70 | 61 6e 73 69 6f 6e 0a 23 |ence.Exp|ansion.#|
|00003960| 6c 69 6e 65 0a 25 25 09 | 09 61 20 25 20 63 68 61 |line.%%.|.a % cha|
|00003970| 72 61 63 74 65 72 0a 25 | 5c 3c 72 65 67 5c 3e 61 |racter.%|\<reg\>a|
|00003980| 09 74 68 65 20 6e 65 74 | 77 6f 72 6b 20 6f 72 64 |.the net|work ord|
|00003990| 65 72 65 64 20 69 70 20 | 61 64 64 72 65 73 73 20 |ered ip |address |
|000039a0| 69 6e 20 72 65 67 69 73 | 74 65 72 20 5c 3c 72 65 |in regis|ter \<re|
|000039b0| 67 5c 3e 0a 25 5c 3c 72 | 65 67 5c 3e 63 09 74 68 |g\>.%\<r|eg\>c.th|
|000039c0| 65 20 61 73 63 69 69 20 | 63 68 61 72 61 63 74 65 |e ascii |characte|
|000039d0| 72 20 69 6e 20 72 65 67 | 69 73 74 65 72 20 5c 3c |r in reg|ister \<|
|000039e0| 72 65 67 5c 3e 0a 25 5c | 3c 72 65 67 5c 3e 64 09 |reg\>.%\|<reg\>d.|
|000039f0| 74 68 65 20 73 69 67 6e | 65 64 20 64 65 63 69 6d |the sign|ed decim|
|00003a00| 61 6c 20 6e 75 6d 62 65 | 72 20 69 6e 20 72 65 67 |al numbe|r in reg|
|00003a10| 69 73 74 65 72 20 5c 3c | 72 65 67 5c 3e 0a 25 5c |ister \<|reg\>.%\|
|00003a20| 3c 72 65 67 5c 3e 65 09 | 74 68 65 20 69 6e 74 65 |<reg\>e.|the inte|
|00003a30| 72 6e 65 74 20 65 72 72 | 6f 72 20 69 6e 20 72 65 |rnet err|or in re|
|00003a40| 67 69 73 74 65 72 20 5c | 3c 72 65 67 5c 3e 0a 25 |gister \|<reg\>.%|
|00003a50| 5c 3c 72 65 67 5c 3e 66 | 09 74 68 65 20 66 69 6c |\<reg\>f|.the fil|
|00003a60| 65 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 68 61 6e |ename of| the han|
|00003a70| 64 6c 65 20 69 6e 20 72 | 65 67 69 73 74 65 72 20 |dle in r|egister |
|00003a80| 5c 3c 72 65 67 5c 3e 0a | 25 5c 3c 72 65 67 5c 3e |\<reg\>.|%\<reg\>|
|00003a90| 70 09 74 68 65 20 6f 62 | 6a 65 63 74 20 70 6f 69 |p.the ob|ject poi|
|00003aa0| 6e 74 65 64 20 74 6f 20 | 62 79 20 72 65 67 69 73 |nted to |by regis|
|00003ab0| 74 65 72 20 5c 3c 72 65 | 67 5c 3e 0a 09 09 28 4e |ter \<re|g\>...(N|
|00003ac0| 6f 74 65 3a 20 54 68 69 | 73 20 73 68 6f 75 6c 64 |ote: Thi|s should|
|00003ad0| 20 62 65 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 | be foll|owed by |
|00003ae0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 6f 74 68 65 72 |one of t|he other|
|00003af0| 20 71 75 61 6c 69 66 69 | 65 72 73 20 69 6e 20 74 | qualifi|ers in t|
|00003b00| 68 69 73 20 6c 69 73 74 | 29 0a 25 5c 3c 72 65 67 |his list|).%\<reg|
|00003b10| 5c 3e 73 09 74 68 65 20 | 63 74 72 6c 20 74 65 72 |\>s.the |ctrl ter|
|00003b20| 6d 69 6e 61 74 65 64 20 | 73 74 72 69 6e 67 20 70 |minated |string p|
|00003b30| 6f 69 6e 74 65 64 20 74 | 6f 20 62 79 20 72 65 67 |ointed t|o by reg|
|00003b40| 69 73 74 65 72 20 5c 3c | 72 65 67 5c 3e 0a 25 5c |ister \<|reg\>.%\|
|00003b50| 3c 72 65 67 5c 3e 78 09 | 74 68 65 20 75 6e 73 69 |<reg\>x.|the unsi|
|00003b60| 67 6e 65 64 20 68 65 78 | 20 69 6e 74 65 67 65 72 |gned hex| integer|
|00003b70| 20 69 6e 20 72 65 67 69 | 73 74 65 72 20 5c 3c 72 | in regi|ster \<r|
|00003b80| 65 67 5c 3e 0a 25 5c 3c | 72 65 67 5c 3e 7a 09 74 |eg\>.%\<|reg\>z.t|
|00003b90| 68 65 20 7a 65 72 6f 20 | 74 65 72 6d 69 6e 61 74 |he zero |terminat|
|00003ba0| 65 64 20 73 74 72 69 6e | 67 20 70 6f 69 6e 74 65 |ed strin|g pointe|
|00003bb0| 64 20 74 6f 20 62 79 20 | 72 65 67 69 73 74 65 72 |d to by |register|
|00003bc0| 20 5c 3c 72 65 67 5c 3e | 0a 00 00 00 44 41 54 41 | \<reg\>|....DATA|
|00003bd0| af 00 00 00 53 79 73 4c | 6f 67 5f 52 65 61 64 45 |....SysL|og_ReadE|
|00003be0| 72 72 6f 72 4d 65 73 73 | 61 67 65 20 28 26 34 43 |rrorMess|age (&4C|
|00003bf0| 38 38 43 29 0a 23 50 61 | 72 65 6e 74 20 53 79 73 |88C).#Pa|rent Sys|
|00003c00| 4c 6f 67 5f 0a 3d 3e 09 | 52 30 20 3d 09 65 72 72 |Log_.=>.|R0 =.err|
|00003c10| 6f 72 20 6e 75 6d 62 65 | 72 0a 3c 3d 09 52 30 20 |or numbe|r.<=.R0 |
|00003c20| 3d 09 70 6f 69 6e 74 65 | 72 20 74 6f 20 65 72 72 |=.pointe|r to err|
|00003c30| 6f 72 20 6d 65 73 73 61 | 67 65 0a 0a 44 65 63 6f |or messa|ge..Deco|
|00003c40| 64 65 73 20 74 68 65 20 | 65 72 72 6f 72 73 20 72 |des the |errors r|
|00003c50| 65 74 75 72 6e 65 64 20 | 62 79 20 74 68 65 20 73 |eturned |by the s|
|00003c60| 74 61 63 6b 20 69 6e 74 | 6f 20 45 6e 67 6c 69 73 |tack int|o Englis|
|00003c70| 68 20 73 74 72 69 6e 67 | 73 2e 0a 00 44 41 54 41 |h string|s...DATA|
|00003c80| dc 00 00 00 53 79 73 4c | 6f 67 5f 4c 6f 67 43 6f |....SysL|og_LogCo|
|00003c90| 6d 70 6c 65 74 65 20 28 | 26 34 43 38 38 44 29 0a |mplete (|&4C88D).|
|00003ca0| 23 50 61 72 65 6e 74 20 | 53 79 73 4c 6f 67 5f 0a |#Parent |SysLog_.|
|00003cb0| 3d 3e 09 52 30 20 3d 09 | 70 6f 69 6e 74 65 72 20 |=>.R0 =.|pointer |
|00003cc0| 74 6f 20 6c 6f 67 20 6e | 61 6d 65 0a 0a 46 6c 75 |to log n|ame..Flu|
|00003cd0| 73 68 65 73 20 74 68 65 | 20 6e 61 6d 65 64 20 6c |shes the| named l|
|00003ce0| 6f 67 20 61 6e 64 20 64 | 65 2d 61 6c 6c 6f 63 61 |og and d|e-alloca|
|00003cf0| 74 65 73 20 74 68 65 20 | 73 70 61 63 65 20 73 65 |tes the |space se|
|00003d00| 74 20 61 73 69 64 65 20 | 66 6f 72 20 69 74 2e 20 |t aside |for it. |
|00003d10| 4f 6e 6c 79 20 63 61 6c | 6c 20 74 68 69 73 20 69 |Only cal|l this i|
|00003d20| 66 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |f your a|pplicati|
|00003d30| 6f 6e 20 69 73 20 61 62 | 6f 75 74 20 74 6f 20 62 |on is ab|out to b|
|00003d40| 65 67 69 6e 20 61 20 6c | 6f 6e 67 20 69 64 6c 65 |egin a l|ong idle|
|00003d50| 20 73 74 61 74 65 2e 0a | 44 41 54 41 a1 01 00 00 | state..|DATA....|
|00003d60| 53 79 73 4c 6f 67 20 70 | 72 69 6f 72 69 74 69 65 |SysLog p|rioritie|
|00003d70| 73 0a 53 79 73 4c 6f 67 | 20 61 6c 6c 6f 77 73 20 |s.SysLog| allows |
|00003d80| 79 6f 75 20 74 6f 20 67 | 69 76 65 20 65 61 63 68 |you to g|ive each|
|00003d90| 20 6d 65 73 73 61 67 65 | 20 69 6e 20 74 68 65 20 | message| in the |
|00003da0| 6c 6f 67 20 61 20 27 70 | 72 69 6f 72 69 74 79 20 |log a 'p|riority |
|00003db0| 6c 65 76 65 6c 27 2e 20 | 54 68 65 20 75 73 65 72 |level'. |The user|
|00003dc0| 20 63 61 6e 20 73 65 74 | 20 74 68 65 20 6c 65 76 | can set| the lev|
|00003dd0| 65 6c 20 61 74 20 77 68 | 69 63 68 20 74 68 65 20 |el at wh|ich the |
|00003de0| 6d 65 73 73 61 67 65 73 | 20 73 74 6f 70 20 62 65 |messages| stop be|
|00003df0| 69 6e 67 20 6c 6f 67 67 | 65 64 20 73 6f 20 74 68 |ing logg|ed so th|
|00003e00| 61 74 20 6f 6e 6c 79 20 | 63 65 72 74 61 69 6e 20 |at only |certain |
|00003e10| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 73 20 61 |informat|ion is a|
|00003e20| 63 74 75 61 6c 6c 79 20 | 6c 6f 67 67 65 64 2e 0a |ctually |logged..|
|00003e30| 0a 54 68 65 20 6c 6f 77 | 65 72 20 74 68 65 20 70 |.The low|er the p|
|00003e40| 72 69 6f 72 69 74 79 20 | 74 68 65 20 6d 6f 72 65 |riority |the more|
|00003e50| 20 69 6d 70 6f 72 74 61 | 6e 74 20 74 68 65 20 6d | importa|nt the m|
|00003e60| 65 73 73 61 67 65 20 69 | 73 2c 20 74 68 65 20 68 |essage i|s, the h|
|00003e70| 69 67 68 65 72 20 74 68 | 65 20 70 72 69 6f 72 69 |igher th|e priori|
|00003e80| 74 79 20 74 68 65 20 6d | 6f 72 65 20 6c 69 6b 65 |ty the m|ore like|
|00003e90| 20 64 65 62 75 67 67 69 | 6e 67 20 6f 75 74 70 75 | debuggi|ng outpu|
|00003ea0| 74 20 69 74 20 69 73 2e | 20 42 79 20 64 65 66 61 |t it is.| By defa|
|00003eb0| 75 6c 74 20 74 68 65 20 | 6c 6f 67 73 20 73 74 61 |ult the |logs sta|
|00003ec0| 72 74 20 61 74 20 6c 65 | 76 65 6c 20 31 32 34 20 |rt at le|vel 124 |
|00003ed0| 61 6e 64 20 6f 6e 6c 79 | 20 6d 65 73 73 61 67 65 |and only| message|
|00003ee0| 73 20 62 65 6c 6f 77 20 | 74 68 69 73 20 61 72 65 |s below |this are|
|00003ef0| 20 6c 6f 67 67 65 64 2e | 0a 00 00 00 44 49 52 24 | logged.|....DIR$|
|00003f00| bc 00 00 00 bc 00 00 00 | b8 3f 00 00 47 fd ff ff |........|.?..G...|
|00003f10| 1a d3 c7 c3 2e 01 00 00 | 13 00 00 00 00 00 00 00 |........|........|
|00003f20| 21 52 6f 6f 74 00 00 00 | e8 40 00 00 47 ff ff ff |!Root...|.@..G...|
|00003f30| be ab 2b 4f a6 00 00 00 | 13 00 00 00 00 00 00 00 |..+O....|........|
|00003f40| 56 65 72 73 69 6f 6e 00 | 90 41 00 00 47 ff ff ff |Version.|.A..G...|
|00003f50| 6a 19 c1 cd 5a 02 00 00 | 13 00 00 00 00 00 00 00 |j...Z...|........|
|00003f60| 64 69 73 70 61 74 63 68 | 00 00 00 00 ec 43 00 00 |dispatch|.....C..|
|00003f70| 47 ff ff ff 69 ee 31 4f | 75 01 00 00 13 00 00 00 |G...i.1O|u.......|
|00003f80| 00 00 00 00 52 65 71 75 | 65 73 74 55 52 49 00 00 |....Requ|estURI..|
|00003f90| 64 45 00 00 47 ff ff ff | c3 01 32 4f 97 00 00 00 |dE..G...|..2O....|
|00003fa0| 13 00 00 00 00 00 00 00 | 49 6e 76 61 6c 69 64 61 |........|Invalida|
|00003fb0| 74 65 55 52 49 00 00 00 | 44 41 54 41 2e 01 00 00 |teURI...|DATA....|
|00003fc0| 55 52 49 0a 23 50 61 72 | 65 6e 74 20 21 52 6f 6f |URI.#Par|ent !Roo|
|00003fd0| 74 0a 23 50 72 65 66 69 | 78 20 55 52 49 5f 0a 23 |t.#Prefi|x URI_.#|
|00003fe0| 54 61 62 6c 65 20 43 6f | 6c 75 6d 6e 73 20 32 0a |Table Co|lumns 2.|
|00003ff0| 3c 56 65 72 73 69 6f 6e | 3e 0a 3c 44 69 73 70 61 |<Version|>.<Dispa|
|00004000| 74 63 68 3e 0a 3c 52 65 | 71 75 65 73 74 55 52 49 |tch>.<Re|questURI|
|00004010| 3e 0a 3c 49 6e 76 61 6c | 69 64 61 74 65 55 52 49 |>.<Inval|idateURI|
|00004020| 3e 0a 23 45 6e 64 54 61 | 62 6c 65 0a 0a 4d 65 73 |>.#EndTa|ble..Mes|
|00004030| 73 61 67 65 20 63 61 6c | 6c 73 20 3a 0a 23 49 6e |sage cal|ls :.#In|
|00004040| 64 65 6e 74 20 34 0a 23 | 54 61 62 6c 65 20 32 20 |dent 4.#|Table 2 |
|00004050| 32 34 0a 3c 34 45 33 38 | 30 20 55 52 49 53 74 61 |24.<4E38|0 URISta|
|00004060| 72 74 65 64 3d 3e 57 69 | 6d 70 3a 6d 73 67 5f 34 |rted=>Wi|mp:msg_4|
|00004070| 45 33 38 30 3e 0a 3c 34 | 45 33 38 31 20 55 52 49 |E380>.<4|E381 URI|
|00004080| 44 79 69 6e 67 3d 3e 57 | 69 6d 70 3a 6d 73 67 5f |Dying=>W|imp:msg_|
|00004090| 34 45 33 38 31 3e 0a 3c | 34 45 33 38 32 20 55 52 |4E381>.<|4E382 UR|
|000040a0| 49 52 65 71 75 65 73 74 | 3d 3e 57 69 6d 70 3a 6d |IRequest|=>Wimp:m|
|000040b0| 73 67 5f 34 45 33 38 32 | 3e 0a 3c 34 45 33 38 33 |sg_4E382|>.<4E383|
|000040c0| 20 55 52 49 52 65 73 75 | 6c 74 3d 3e 57 69 6d 70 | URIResu|lt=>Wimp|
|000040d0| 3a 6d 73 67 5f 34 45 33 | 38 33 3e 0a 23 45 6e 64 |:msg_4E3|83>.#End|
|000040e0| 54 61 62 6c 65 0a 00 00 | 44 41 54 41 a6 00 00 00 |Table...|DATA....|
|000040f0| 55 52 49 5f 56 65 72 73 | 69 6f 6e 20 20 28 26 34 |URI_Vers|ion (&4|
|00004100| 45 33 38 30 29 0a 23 50 | 61 72 65 6e 74 20 55 52 |E380).#P|arent UR|
|00004110| 49 5f 0a 3d 3e 09 52 30 | 20 3d 09 66 6c 61 67 73 |I_.=>.R0| =.flags|
|00004120| 20 28 63 75 72 72 65 6e | 74 6c 79 20 72 65 73 65 | (curren|tly rese|
|00004130| 72 76 65 64 29 0a 5c 3c | 3d 09 52 30 20 3d 09 63 |rved).\<|=.R0 =.c|
|00004140| 75 72 72 65 6e 74 20 76 | 65 72 73 69 6f 6e 20 2a |urrent v|ersion *|
|00004150| 20 31 30 30 0a 0a 54 68 | 69 73 20 53 57 49 20 69 | 100..Th|is SWI i|
|00004160| 73 20 75 73 65 64 20 74 | 6f 20 66 69 6e 64 20 74 |s used t|o find t|
|00004170| 68 65 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 |he versi|on of th|
|00004180| 65 20 55 52 49 20 6d 6f | 64 75 6c 65 2e 0a 00 00 |e URI mo|dule....|
|00004190| 44 41 54 41 5a 02 00 00 | 55 52 49 5f 44 69 73 70 |DATAZ...|URI_Disp|
|000041a0| 61 74 63 68 20 20 28 26 | 34 45 33 38 31 29 0a 23 |atch (&|4E381).#|
|000041b0| 50 61 72 65 6e 74 20 55 | 52 49 5f 0a 3d 3e 09 52 |Parent U|RI_.=>.R|
|000041c0| 30 20 3d 09 3c 66 6c 61 | 67 73 3d 3e 2e 66 6c 61 |0 =.<fla|gs=>.fla|
|000041d0| 67 73 3e 0a 09 52 31 20 | 3d 09 70 6f 69 6e 74 65 |gs>..R1 |=.pointe|
|000041e0| 72 20 74 6f 20 30 20 74 | 65 72 6d 69 6e 61 74 65 |r to 0 t|erminate|
|000041f0| 64 20 55 52 49 0a 09 52 | 32 20 3d 09 73 6f 75 72 |d URI..R|2 =.sour|
|00004200| 63 65 20 74 61 73 6b 20 | 68 61 6e 64 6c 65 20 28 |ce task |handle (|
|00004210| 69 66 20 62 30 20 73 65 | 74 29 0a 5c 3c 3d 09 52 |if b0 se|t).\<=.R|
|00004220| 30 20 3d 09 72 65 74 75 | 72 6e 20 66 6c 61 67 73 |0 =.retu|rn flags|
|00004230| 20 28 30 20 3d 20 61 63 | 63 65 70 74 65 64 29 0a | (0 = ac|cepted).|
|00004240| 09 52 32 20 3d 09 74 61 | 73 6b 20 68 61 6e 64 6c |.R2 =.ta|sk handl|
|00004250| 65 20 6f 66 20 55 52 49 | 20 68 61 6e 64 6c 65 72 |e of URI| handler|
|00004260| 0a 09 52 33 20 3d 09 55 | 52 49 20 68 61 6e 64 6c |..R3 =.U|RI handl|
|00004270| 65 0a 0a 54 68 69 73 20 | 53 57 49 20 69 73 20 75 |e..This |SWI is u|
|00004280| 73 65 64 20 62 79 20 61 | 6e 20 61 70 70 6c 69 63 |sed by a|n applic|
|00004290| 61 74 69 6f 6e 20 74 6f | 20 63 68 65 63 6b 20 74 |ation to| check t|
|000042a0| 68 65 20 76 61 6c 69 64 | 69 74 79 20 6f 66 2c 20 |he valid|ity of, |
|000042b0| 6f 72 20 61 63 63 65 73 | 73 20 61 20 55 52 49 2e |or acces|s a URI.|
|000042c0| 20 54 68 65 20 74 61 73 | 6b 20 77 69 6c 6c 20 62 | The tas|k will b|
|000042d0| 65 20 69 6e 66 6f 72 6d | 65 64 20 6f 66 20 74 68 |e inform|ed of th|
|000042e0| 65 20 72 65 73 75 6c 74 | 20 62 79 20 77 69 6d 70 |e result| by wimp|
|000042f0| 20 6d 65 73 73 61 67 65 | 20 3c 55 52 49 5f 52 65 | message| <URI_Re|
|00004300| 70 6c 79 3d 3e 57 69 6d | 70 3a 4d 73 67 5f 34 45 |ply=>Wim|p:Msg_4E|
|00004310| 33 38 33 3e 2e 0a 23 53 | 75 62 70 61 67 65 20 66 |383>..#S|ubpage f|
|00004320| 6c 61 67 73 0a 55 52 49 | 5f 44 69 73 70 61 74 63 |lags.URI|_Dispatc|
|00004330| 68 20 66 6c 61 67 73 0a | 62 69 74 09 6d 65 61 6e |h flags.|bit.mean|
|00004340| 69 6e 67 20 69 66 20 73 | 65 74 0a 23 4c 69 6e 65 |ing if s|et.#Line|
|00004350| 0a 30 09 69 6e 66 6f 72 | 6d 20 63 61 6c 6c 65 72 |.0.infor|m caller|
|00004360| 20 6f 66 20 72 65 73 75 | 6c 74 20 28 72 32 20 76 | of resu|lt (r2 v|
|00004370| 61 6c 69 64 29 0a 31 09 | 6a 75 73 74 20 63 68 65 |alid).1.|just che|
|00004380| 63 6b 2c 20 69 66 20 75 | 6e 73 65 74 2c 20 70 72 |ck, if u|nset, pr|
|00004390| 6f 63 65 73 73 20 28 62 | 30 20 6d 75 73 74 20 62 |ocess (b|0 must b|
|000043a0| 65 20 73 65 74 29 0a 32 | 09 64 6f 6e 27 74 20 61 |e set).2|.don't a|
|000043b0| 74 74 65 6d 70 74 20 65 | 78 74 65 72 6e 61 6c 20 |ttempt e|xternal |
|000043c0| 70 72 6f 63 65 73 73 20 | 73 74 61 72 74 75 70 0a |process |startup.|
|000043d0| 33 2d 33 31 09 72 65 73 | 65 72 76 65 64 20 28 6d |3-31.res|erved (m|
|000043e0| 75 73 74 20 62 65 20 30 | 29 0a 00 00 44 41 54 41 |ust be 0|)...DATA|
|000043f0| 75 01 00 00 55 52 49 5f | 52 65 71 75 65 73 74 55 |u...URI_|RequestU|
|00004400| 52 49 20 20 28 26 34 45 | 33 38 32 29 0a 23 50 61 |RI (&4E|382).#Pa|
|00004410| 72 65 6e 74 20 55 52 49 | 5f 0a 3d 3e 09 52 30 20 |rent URI|_.=>.R0 |
|00004420| 3d 09 66 6c 61 67 73 20 | 28 63 75 72 72 65 6e 74 |=.flags |(current|
|00004430| 6c 79 20 72 65 73 65 72 | 76 65 64 29 0a 09 52 31 |ly reser|ved)..R1|
|00004440| 20 3d 09 70 6f 69 6e 74 | 65 72 20 74 6f 20 62 75 | =.point|er to bu|
|00004450| 66 66 65 72 20 66 6f 72 | 20 55 52 49 2c 20 6f 72 |ffer for| URI, or|
|00004460| 20 30 20 74 6f 20 72 65 | 61 64 20 73 69 7a 65 0a | 0 to re|ad size.|
|00004470| 09 52 32 20 3d 09 6c 65 | 6e 67 74 68 20 6f 66 20 |.R2 =.le|ngth of |
|00004480| 62 75 66 66 65 72 0a 09 | 52 33 20 3d 09 55 52 49 |buffer..|R3 =.URI|
|00004490| 20 68 61 6e 64 6c 65 0a | 0a 5c 3c 3d 09 52 32 20 | handle.|.\<=.R2 |
|000044a0| 3d 09 6f 66 66 73 65 74 | 20 6f 66 20 74 65 72 6d |=.offset| of term|
|000044b0| 69 6e 61 74 69 6e 67 20 | 6e 75 6c 6c 2c 20 6f 72 |inating |null, or|
|000044c0| 20 73 69 7a 65 20 69 66 | 20 72 31 20 77 61 73 20 | size if| r1 was |
|000044d0| 30 2e 0a 0a 54 68 69 73 | 20 53 57 49 20 69 73 20 |0...This| SWI is |
|000044e0| 75 73 65 64 20 62 79 20 | 61 6e 20 61 70 70 6c 69 |used by |an appli|
|000044f0| 63 61 74 69 6f 6e 20 6f | 72 20 6d 6f 64 75 6c 65 |cation o|r module|
|00004500| 20 74 6f 20 66 69 6e 64 | 20 74 68 65 20 73 69 7a | to find| the siz|
|00004510| 65 20 6f 66 20 61 20 74 | 68 65 20 55 52 49 20 6f |e of a t|he URI o|
|00004520| 72 20 74 6f 20 63 6f 70 | 79 20 69 74 20 69 6e 74 |r to cop|y it int|
|00004530| 6f 20 69 74 27 73 20 62 | 75 66 66 65 72 20 61 6e |o it's b|uffer an|
|00004540| 64 20 61 63 63 65 70 74 | 20 74 68 61 74 20 69 74 |d accept| that it|
|00004550| 20 77 69 6c 6c 20 68 61 | 6e 64 6c 65 20 69 74 2e | will ha|ndle it.|
|00004560| 0a 00 00 00 44 41 54 41 | 97 00 00 00 55 52 49 5f |....DATA|....URI_|
|00004570| 49 6e 76 61 6c 69 64 61 | 74 65 55 52 49 20 20 28 |Invalida|teURI (|
|00004580| 26 34 45 33 38 33 29 0a | 23 50 61 72 65 6e 74 20 |&4E383).|#Parent |
|00004590| 55 52 49 5f 0a 3d 3e 09 | 52 30 20 3d 09 66 6c 61 |URI_.=>.|R0 =.fla|
|000045a0| 67 73 20 28 63 75 72 72 | 65 6e 74 6c 79 20 72 65 |gs (curr|ently re|
|000045b0| 73 65 72 76 65 64 29 0a | 09 52 33 20 3d 09 55 52 |served).|.R3 =.UR|
|000045c0| 49 20 68 61 6e 64 6c 65 | 0a 0a 54 68 69 73 20 53 |I handle|..This S|
|000045d0| 57 49 20 69 73 20 75 73 | 65 64 20 74 6f 20 6d 61 |WI is us|ed to ma|
|000045e0| 72 6b 20 61 20 55 52 49 | 20 61 73 20 62 65 69 6e |rk a URI| as bein|
|000045f0| 67 20 69 6e 76 61 6c 69 | 64 2e 0a 00 44 49 52 24 |g invali|d...DIR$|
|00004600| 2c 00 00 00 2c 00 00 00 | 28 46 00 00 47 fd ff ff |,...,...|(F..G...|
|00004610| f6 55 14 a9 3c 00 00 00 | 33 00 00 00 00 00 00 00 |.U..<...|3.......|
|00004620| 21 52 6f 6f 74 00 00 00 | 44 41 54 41 3c 00 00 00 |!Root...|DATA<...|
|00004630| 57 65 62 46 54 50 0a 23 | 54 61 62 6c 65 20 43 6f |WebFTP.#|Table Co|
|00004640| 6c 75 6d 6e 73 20 32 0a | 4f 70 65 6e 0a 53 74 61 |lumns 2.|Open.Sta|
|00004650| 74 75 73 0a 43 6c 6f 73 | 65 0a 23 45 6e 64 54 61 |tus.Clos|e.#EndTa|
|00004660| 62 6c 65 0a 44 49 52 24 | 2c 00 00 00 2c 00 00 00 |ble.DIR$|,...,...|
|00004670| 90 46 00 00 47 fd ff ff | 65 6b 14 a9 3f 00 00 00 |.F..G...|ek..?...|
|00004680| 33 00 00 00 00 00 00 00 | 21 52 6f 6f 74 00 00 00 |3.......|!Root...|
|00004690| 44 41 54 41 3f 00 00 00 | 57 65 62 47 6f 70 68 65 |DATA?...|WebGophe|
|000046a0| 72 0a 23 54 61 62 6c 65 | 20 43 6f 6c 75 6d 6e 73 |r.#Table| Columns|
|000046b0| 20 32 0a 4f 70 65 6e 0a | 53 74 61 74 75 73 0a 43 | 2.Open.|Status.C|
|000046c0| 6c 6f 73 65 0a 23 45 6e | 64 54 61 62 6c 65 0a 00 |lose.#En|dTable..|
|000046d0| 44 41 54 41 20 00 00 00 | 00 40 2d e9 00 e0 d0 e5 |DATA ...|.@-.....|
|000046e0| 58 00 5e e3 78 00 5e 13 | 01 00 80 02 00 80 fd e8 |X.^.x.^.|........|
|000046f0| 44 49 52 24 74 00 00 00 | 74 00 00 00 64 47 00 00 |DIR$t...|t...dG..|
|00004700| 47 fd ff ff 5d 31 e4 c3 | 2e 00 00 00 33 00 00 00 |G...]1..|....3...|
|00004710| 00 00 00 00 21 52 6f 6f | 74 00 00 00 94 47 00 00 |....!Roo|t....G..|
|00004720| 47 ff ff ff c2 51 e4 c3 | 56 01 00 00 33 00 00 00 |G....Q..|V...3...|
|00004730| 00 00 00 00 44 65 63 6f | 64 65 4e 61 6d 65 00 00 |....Deco|deName..|
|00004740| ec 48 00 00 47 ff ff ff | 9e a8 e4 c3 42 02 00 00 |.H..G...|....B...|
|00004750| 33 00 00 00 00 00 00 00 | 45 6e 63 6f 64 65 4e 61 |3.......|EncodeNa|
|00004760| 6d 65 00 00 44 41 54 41 | 2e 00 00 00 52 47 42 0a |me..DATA|....RGB.|
|00004770| 3c 52 47 42 5f 44 65 63 | 6f 64 65 4e 61 6d 65 3e |<RGB_Dec|odeName>|
|00004780| 0a 3c 52 47 42 5f 45 6e | 63 6f 64 65 4e 61 6d 65 |.<RGB_En|codeName|
|00004790| 3e 0a 00 00 44 41 54 41 | 56 01 00 00 52 47 42 5f |>...DATA|V...RGB_|
|000047a0| 44 65 63 6f 64 65 4e 61 | 6d 65 20 20 28 26 39 30 |DecodeNa|me (&90|
|000047b0| 36 38 30 29 0a 23 50 61 | 72 65 6e 74 20 52 47 42 |680).#Pa|rent RGB|
|000047c0| 5f 0a 3d 3e 09 52 30 20 | 3d 09 70 6f 69 6e 74 65 |_.=>.R0 |=.pointe|
|000047d0| 72 20 74 6f 20 63 6f 6c | 6f 75 72 20 6e 61 6d 65 |r to col|our name|
|000047e0| 0a 09 52 32 20 3d 09 70 | 6f 69 6e 74 65 72 20 74 |..R2 =.p|ointer t|
|000047f0| 6f 20 36 34 20 62 79 74 | 65 20 62 75 66 66 65 72 |o 64 byt|e buffer|
|00004800| 0a 3c 3d 09 52 31 20 3d | 09 26 42 42 47 47 52 52 |.<=.R1 =|.&BBGGRR|
|00004810| 30 30 20 6f 66 20 63 6f | 6c 6f 75 72 2c 20 6f 72 |00 of co|lour, or|
|00004820| 20 2d 31 20 69 66 20 63 | 6f 6c 6f 75 72 20 63 6f | -1 if c|olour co|
|00004830| 75 6c 64 20 6e 6f 74 20 | 62 65 20 66 6f 75 6e 64 |uld not |be found|
|00004840| 20 69 6e 20 64 61 74 61 | 62 61 73 65 0a 0a 54 68 | in data|base..Th|
|00004850| 69 73 20 53 57 49 20 63 | 6f 6e 76 65 72 74 73 20 |is SWI c|onverts |
|00004860| 61 20 63 6f 6c 6f 75 72 | 20 6e 61 6d 65 20 69 6e |a colour| name in|
|00004870| 74 6f 20 61 20 63 6f 6c | 6f 75 72 20 6e 75 6d 62 |to a col|our numb|
|00004880| 65 72 2e 20 23 72 72 67 | 67 62 62 20 6e 61 6d 65 |er. #rrg|gbb name|
|00004890| 73 20 77 69 6c 6c 20 61 | 6c 77 61 79 73 20 77 6f |s will a|lways wo|
|000048a0| 72 6b 2c 20 62 75 74 20 | 27 72 65 61 6c 27 20 6e |rk, but |'real' n|
|000048b0| 61 6d 65 73 20 72 65 71 | 75 69 72 65 20 74 68 65 |ames req|uire the|
|000048c0| 20 64 61 74 61 62 61 73 | 65 20 74 6f 20 62 65 20 | databas|e to be |
|000048d0| 70 72 65 73 65 6e 74 20 | 69 6e 20 49 6e 65 74 44 |present |in InetD|
|000048e0| 42 61 73 65 3a 72 67 62 | 2e 0a 00 00 44 41 54 41 |Base:rgb|....DATA|
|000048f0| 42 02 00 00 52 47 42 5f | 45 6e 63 6f 64 65 4e 61 |B...RGB_|EncodeNa|
|00004900| 6d 65 20 28 26 39 30 36 | 38 31 29 0a 23 50 61 72 |me (&906|81).#Par|
|00004910| 65 6e 74 20 52 47 42 5f | 0a 3d 3e 09 52 30 20 3d |ent RGB_|.=>.R0 =|
|00004920| 09 26 42 42 47 47 52 52 | 30 30 20 6f 66 20 63 6f |.&BBGGRR|00 of co|
|00004930| 6c 6f 75 72 0a 09 52 31 | 20 3d 09 3c 66 6c 61 67 |lour..R1| =.<flag|
|00004940| 73 3d 3e 2e 66 6c 61 67 | 73 3e 0a 09 52 32 20 3d |s=>.flag|s>..R2 =|
|00004950| 09 70 6f 69 6e 74 65 72 | 20 74 6f 20 36 34 20 62 |.pointer| to 64 b|
|00004960| 79 74 65 20 62 6c 6f 63 | 6b 20 28 31 32 38 20 62 |yte bloc|k (128 b|
|00004970| 79 74 65 73 20 69 66 20 | 62 30 20 73 65 74 29 0a |ytes if |b0 set).|
|00004980| 3c 3d 09 52 30 20 3d 09 | 64 69 73 74 61 6e 63 65 |<=.R0 =.|distance|
|00004990| 20 6f 66 20 72 65 74 75 | 72 6e 65 64 20 63 6f 6c | of retu|rned col|
|000049a0| 6f 75 72 20 66 72 6f 6d | 20 74 68 61 74 20 72 65 |our from| that re|
|000049b0| 71 75 65 73 74 65 64 2c | 20 69 66 20 62 30 20 73 |quested,| if b0 s|
|000049c0| 65 74 0a 09 52 31 20 3d | 09 70 6f 69 6e 74 65 72 |et..R1 =|.pointer|
|000049d0| 20 74 6f 20 6e 61 6d 65 | 2c 20 6f 72 20 2d 31 20 | to name|, or -1 |
|000049e0| 69 66 20 63 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |if could| not be |
|000049f0| 6d 61 74 63 68 65 64 0a | 0a 54 68 69 73 20 53 57 |matched.|.This SW|
|00004a00| 49 20 63 6f 6e 76 65 72 | 74 73 20 61 20 63 6f 6c |I conver|ts a col|
|00004a10| 6f 75 72 20 6e 75 6d 62 | 65 72 20 69 6e 74 6f 20 |our numb|er into |
|00004a20| 61 20 63 6f 6c 6f 75 72 | 20 6e 61 6d 65 2e 20 54 |a colour| name. T|
|00004a30| 68 65 20 27 62 65 73 74 | 20 6d 61 74 63 68 27 20 |he 'best| match' |
|00004a40| 72 75 6c 65 20 75 73 65 | 73 20 74 68 65 20 73 61 |rule use|s the sa|
|00004a50| 6d 65 20 77 65 69 67 68 | 74 69 6e 67 73 20 61 73 |me weigh|tings as|
|00004a60| 20 74 68 65 20 43 6f 6c | 6f 75 72 54 72 61 6e 73 | the Col|ourTrans|
|00004a70| 20 6d 6f 64 75 6c 65 20 | 28 52 3d 32 2c 20 47 3d | module |(R=2, G=|
|00004a80| 34 2c 20 42 3d 31 29 2e | 0a 23 0a 23 53 75 62 70 |4, B=1).|.#.#Subp|
|00004a90| 61 67 65 20 66 6c 61 67 | 73 0a 52 47 42 5f 45 6e |age flag|s.RGB_En|
|00004aa0| 63 6f 64 65 4e 61 6d 65 | 20 66 6c 61 67 73 0a 42 |codeName| flags.B|
|00004ab0| 69 74 09 4d 65 61 6e 69 | 6e 67 20 69 66 20 73 65 |it.Meani|ng if se|
|00004ac0| 74 0a 23 6c 69 6e 65 0a | 30 09 66 69 6e 64 20 62 |t.#line.|0.find b|
|00004ad0| 65 73 74 20 6d 61 74 63 | 68 20 77 69 74 68 6f 75 |est matc|h withou|
|00004ae0| 74 20 72 65 73 6f 72 74 | 69 6e 67 20 74 6f 20 23 |t resort|ing to #|
|00004af0| 72 72 67 67 62 62 2c 20 | 6f 74 68 65 72 77 69 73 |rrggbb, |otherwis|
|00004b00| 65 20 66 69 6e 64 20 65 | 78 61 63 74 20 6d 61 74 |e find e|xact mat|
|00004b10| 63 68 0a 6f 74 68 65 72 | 73 09 72 65 73 65 72 76 |ch.other|s.reserv|
|00004b20| 65 64 2c 20 6d 75 73 74 | 20 62 65 20 30 0a 00 00 |ed, must| be 0...|
|00004b30| 44 49 52 24 2c 00 00 00 | 2c 00 00 00 5c 4b 00 00 |DIR$,...|,...\K..|
|00004b40| 47 fd ff ff 02 a5 e5 c3 | 72 00 00 00 33 00 00 00 |G.......|r...3...|
|00004b50| 00 00 00 00 21 72 6f 6f | 74 00 00 00 44 41 54 41 |....!roo|t...DATA|
|00004b60| 72 00 00 00 50 50 50 64 | 72 69 76 65 72 0a 23 74 |r...PPPd|river.#t|
|00004b70| 61 62 6c 65 20 63 6f 6c | 75 6d 6e 73 20 32 0a 44 |able col|umns 2.D|
|00004b80| 43 49 56 65 72 73 69 6f | 6e 0a 49 6e 71 75 69 72 |CIVersio|n.Inquir|
|00004b90| 65 0a 47 65 74 4e 65 74 | 77 6f 72 6b 4d 54 55 0a |e.GetNet|workMTU.|
|00004ba0| 53 65 74 4e 65 74 77 6f | 72 6b 4d 54 55 0a 54 72 |SetNetwo|rkMTU.Tr|
|00004bb0| 61 6e 73 6d 69 74 0a 46 | 69 6c 74 65 72 0a 53 74 |ansmit.F|ilter.St|
|00004bc0| 61 74 73 0a 23 65 6e 64 | 74 61 62 6c 65 0a 00 00 |ats.#end|table...|
|00004bd0| 44 49 52 24 50 00 00 00 | 50 00 00 00 20 4c 00 00 |DIR$P...|P... L..|
|00004be0| 47 fd ff ff a0 95 c0 cd | 32 00 00 00 33 00 00 00 |G.......|2...3...|
|00004bf0| 00 00 00 00 21 52 6f 6f | 74 00 00 00 54 4c 00 00 |....!Roo|t...TL..|
|00004c00| 47 ff ff ff 1c a5 e6 c3 | ab 02 00 00 33 00 00 00 |G.......|....3...|
|00004c10| 00 00 00 00 54 72 61 6e | 73 6c 61 74 65 00 00 00 |....Tran|slate...|
|00004c20| 44 41 54 41 32 00 00 00 | 4d 69 6d 65 4d 61 70 0a |DATA2...|MimeMap.|
|00004c30| 23 50 61 72 65 6e 74 20 | 21 52 6f 6f 74 0a 3c 4d |#Parent |!Root.<M|
|00004c40| 69 6d 65 4d 61 70 5f 54 | 72 61 6e 73 6c 61 74 65 |imeMap_T|ranslate|
|00004c50| 3e 0a 00 00 44 41 54 41 | ab 02 00 00 4d 69 6d 65 |>...DATA|....Mime|
|00004c60| 4d 61 70 5f 54 72 61 6e | 73 6c 61 74 65 20 20 28 |Map_Tran|slate (|
|00004c70| 26 42 43 44 30 30 29 0a | 23 50 61 72 65 6e 74 20 |&BCD00).|#Parent |
|00004c80| 4d 69 6d 65 4d 61 70 5f | 0a 3d 3e 09 52 30 20 3d |MimeMap_|.=>.R0 =|
|00004c90| 09 69 6e 70 75 74 20 3c | 66 6f 72 6d 61 74 3d 3e |.input <|format=>|
|00004ca0| 2e 66 6f 72 6d 61 74 3e | 0a 09 52 31 20 3d 09 66 |.format>|..R1 =.f|
|00004cb0| 69 6c 65 74 79 70 65 2c | 20 6f 72 20 70 6f 69 6e |iletype,| or poin|
|00004cc0| 74 65 72 20 74 6f 20 62 | 75 66 66 65 72 0a 09 52 |ter to b|uffer..R|
|00004cd0| 32 20 3d 09 6f 75 74 70 | 75 74 20 3c 66 6f 72 6d |2 =.outp|ut <form|
|00004ce0| 61 74 3d 3e 2e 66 6f 72 | 6d 61 74 3e 0a 09 52 33 |at=>.for|mat>..R3|
|00004cf0| 20 3d 09 6f 75 74 70 75 | 74 20 62 75 66 66 65 72 | =.outpu|t buffer|
|00004d00| 2c 20 69 66 20 6e 65 65 | 64 65 64 0a 0a 3c 3d 09 |, if nee|ded..<=.|
|00004d10| 52 30 2d 52 32 20 70 72 | 65 73 65 72 76 65 64 0a |R0-R2 pr|eserved.|
|00004d20| 09 52 33 20 3d 09 72 65 | 73 75 6c 74 2c 20 6f 72 |.R3 =.re|sult, or|
|00004d30| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 62 75 66 66 | pointer| to buff|
|00004d40| 65 72 0a 0a 54 68 69 73 | 20 53 57 49 20 69 73 20 |er..This| SWI is |
|00004d50| 75 73 65 64 20 74 6f 20 | 63 6f 6e 76 65 72 74 73 |used to |converts|
|00004d60| 20 62 65 74 77 65 65 6e | 20 52 49 53 43 20 4f 53 | between| RISC OS|
|00004d70| 20 66 69 6c 65 20 74 79 | 70 65 73 2c 20 4d 49 4d | file ty|pes, MIM|
|00004d80| 45 20 63 6f 6e 74 65 6e | 74 20 74 79 70 65 73 20 |E conten|t types |
|00004d90| 61 6e 64 20 27 64 6f 74 | 27 20 65 78 74 65 6e 73 |and 'dot|' extens|
|00004da0| 69 6f 6e 73 20 74 6f 20 | 66 69 6c 65 20 6e 61 6d |ions to |file nam|
|00004db0| 65 73 2e 20 41 6e 20 65 | 72 72 6f 72 20 77 69 6c |es. An e|rror wil|
|00004dc0| 6c 20 62 65 20 72 65 74 | 75 72 6e 65 64 20 69 66 |l be ret|urned if|
|00004dd0| 20 74 68 65 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e | the tra|nslation|
|00004de0| 20 63 61 6e 6e 6f 74 20 | 62 65 20 70 65 72 66 6f | cannot |be perfo|
|00004df0| 72 6d 65 64 2e 0a 23 53 | 75 62 70 61 67 65 20 66 |rmed..#S|ubpage f|
|00004e00| 6f 72 6d 61 74 0a 4d 69 | 6d 65 4d 61 70 20 74 72 |ormat.Mi|meMap tr|
|00004e10| 61 6e 73 6c 61 74 69 6f | 6e 20 66 6f 72 6d 61 74 |anslatio|n format|
|00004e20| 73 0a 46 6f 72 6d 61 74 | 09 4e 61 6d 65 09 09 09 |s.Format|.Name...|
|00004e30| 4d 65 61 6e 69 6e 67 0a | 23 4c 69 6e 65 3b 57 72 |Meaning.|#Line;Wr|
|00004e40| 61 70 20 6f 66 66 0a 30 | 09 4d 4d 4d 5f 54 59 50 |ap off.0|.MMM_TYP|
|00004e50| 45 5f 52 49 53 43 4f 53 | 09 09 46 69 6c 65 74 79 |E_RISCOS|..Filety|
|00004e60| 70 65 20 61 73 20 61 20 | 6e 75 6d 62 65 72 0a 31 |pe as a |number.1|
|00004e70| 09 4d 4d 4d 5f 54 59 50 | 45 5f 52 49 53 43 4f 53 |.MMM_TYP|E_RISCOS|
|00004e80| 5f 53 54 52 49 4e 47 09 | 46 69 6c 65 74 79 70 65 |_STRING.|Filetype|
|00004e90| 20 61 73 20 73 74 72 69 | 6e 67 0a 32 09 4d 4d 4d | as stri|ng.2.MMM|
|00004ea0| 5f 54 59 50 45 5f 4d 49 | 4d 45 09 09 43 6f 6e 74 |_TYPE_MI|ME..Cont|
|00004eb0| 65 6e 74 20 74 79 70 65 | 20 61 73 20 73 74 72 69 |ent type| as stri|
|00004ec0| 6e 67 0a 33 09 4d 4d 4d | 5f 54 59 50 45 5f 44 4f |ng.3.MMM|_TYPE_DO|
|00004ed0| 54 5f 45 58 54 4e 09 45 | 78 74 65 6e 74 69 6f 6e |T_EXTN.E|xtention|
|00004ee0| 20 61 73 20 73 74 72 69 | 6e 67 0a 6f 74 68 65 72 | as stri|ng.other|
|00004ef0| 73 09 20 09 09 09 72 65 | 73 65 72 76 65 64 0a 00 |s. ...re|served..|
|00004f00| 44 41 54 41 04 03 00 00 | 49 6e 74 65 72 6e 65 74 |DATA....|Internet|
|00004f10| 20 53 57 49 73 20 6d 61 | 6e 75 61 6c 0a 23 41 6c | SWIs ma|nual.#Al|
|00004f20| 69 67 6e 20 43 65 6e 74 | 72 65 0a 7b 66 68 33 7d |ign Cent|re.{fh3}|
|00004f30| 49 6e 74 65 72 6e 65 74 | 20 53 57 49 73 20 6d 61 |Internet| SWIs ma|
|00004f40| 6e 75 61 6c 20 76 31 2e | 30 30 7b 66 7d 0a 23 41 |nual v1.|00{f}.#A|
|00004f50| 6c 69 67 6e 20 4c 65 66 | 74 0a 54 68 69 73 20 6d |lign Lef|t.This m|
|00004f60| 61 6e 75 61 6c 20 69 73 | 20 70 61 72 74 20 6f 66 |anual is| part of|
|00004f70| 20 61 20 73 65 74 20 77 | 68 69 63 68 20 70 72 65 | a set w|hich pre|
|00004f80| 76 69 6f 75 73 6c 79 20 | 63 6f 6d 70 72 69 73 65 |viously |comprise|
|00004f90| 64 20 74 68 65 20 6f 76 | 65 72 2d 6c 61 72 67 65 |d the ov|er-large|
|00004fa0| 20 27 53 57 49 73 27 20 | 6d 61 6e 75 61 6c 2e 20 | 'SWIs' |manual. |
|00004fb0| 54 68 65 20 6f 74 68 65 | 72 20 6d 61 6e 75 61 6c |The othe|r manual|
|00004fc0| 73 20 69 6e 20 74 68 65 | 20 73 65 72 69 65 73 20 |s in the| series |
|00004fd0| 61 72 65 20 3a 0a 23 49 | 6e 64 65 6e 74 20 32 0a |are :.#I|ndent 2.|
|00004fe0| 23 50 6f 73 74 66 69 78 | 20 3a 21 52 6f 6f 74 0a |#Postfix| :!Root.|
|00004ff0| 3c 4f 53 3e 09 09 54 68 | 65 20 62 61 73 65 20 6f |<OS>..Th|e base o|
|00005000| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 20 |perating| system |
|00005010| 73 74 75 66 66 0a 3c 57 | 69 6d 70 3e 09 09 54 68 |stuff.<W|imp>..Th|
|00005020| 65 20 64 65 73 6b 74 6f | 70 20 70 61 72 74 20 6f |e deskto|p part o|
|00005030| 66 20 74 68 65 20 6f 70 | 65 72 61 74 69 6e 67 20 |f the op|erating |
|00005040| 73 79 73 74 65 6d 0a 3c | 49 6e 65 74 53 57 49 73 |system.<|InetSWIs|
|00005050| 3e 09 49 6e 74 65 72 6e | 65 74 20 53 57 49 73 20 |>.Intern|et SWIs |
|00005060| 28 69 6e 63 6f 6d 70 6c | 65 74 65 29 0a 3c 4d 69 |(incompl|ete).<Mi|
|00005070| 73 63 53 57 49 73 3e 09 | 4d 69 73 63 65 6c 6c 61 |scSWIs>.|Miscella|
|00005080| 6e 65 6f 75 73 20 53 57 | 49 73 20 28 69 6e 63 6f |neous SW|Is (inco|
|00005090| 6d 70 6c 65 74 65 29 0a | 3c 54 42 53 57 49 73 3e |mplete).|<TBSWIs>|
|000050a0| 09 54 6f 6f 6c 62 6f 78 | 20 53 57 49 73 20 28 69 |.Toolbox| SWIs (i|
|000050b0| 6e 63 6f 6d 70 6c 65 74 | 65 29 0a 23 49 6e 64 65 |ncomplet|e).#Inde|
|000050c0| 6e 74 0a 0a 54 68 65 20 | 73 74 61 74 65 20 6f 66 |nt..The |state of|
|000050d0| 20 74 68 65 73 65 20 6d | 61 6e 75 61 6c 73 20 69 | these m|anuals i|
|000050e0| 73 20 63 75 72 72 65 6e | 74 6c 79 20 75 6e 64 65 |s curren|tly unde|
|000050f0| 72 20 72 65 76 69 65 77 | 2e 20 46 6f 72 20 63 6f |r review|. For co|
|00005100| 6d 6d 65 6e 74 73 20 61 | 62 6f 75 74 20 74 68 65 |mments a|bout the|
|00005110| 73 65 2c 20 70 6c 65 61 | 73 65 20 6d 61 69 6c 20 |se, plea|se mail |
|00005120| 4a 75 73 74 69 6e 20 46 | 6c 65 74 63 68 65 72 20 |Justin F|letcher |
|00005130| 3c 5c 3c 67 65 72 70 68 | 40 69 6e 6e 6f 63 65 6e |<\<gerph|@innocen|
|00005140| 74 2e 63 6f 6d 5c 3e 3d | 3e 23 55 52 4c 20 6d 61 |t.com\>=|>#URL ma|
|00005150| 69 6c 74 6f 3a 67 65 72 | 70 68 40 69 6e 6e 6f 63 |ilto:ger|ph@innoc|
|00005160| 65 6e 74 2e 63 6f 6d 3e | 2e 0a 0a 43 6c 69 63 6b |ent.com>|...Click|
|00005170| 20 3c 68 65 72 65 3d 3e | 2e 68 69 73 74 31 30 30 | <here=>|.hist100|
|00005180| 3e 20 66 6f 72 20 68 69 | 73 74 6f 72 79 20 69 6e |> for hi|story in|
|00005190| 66 6f 72 6d 61 74 69 6f | 6e 2e 0a 23 0a 23 53 75 |formatio|n..#.#Su|
|000051a0| 62 70 61 67 65 20 68 69 | 73 74 31 30 30 0a 48 69 |bpage hi|st100.Hi|
|000051b0| 73 74 6f 72 79 20 66 6f | 72 20 49 6e 65 74 53 57 |story fo|r InetSW|
|000051c0| 49 73 20 76 31 2e 30 30 | 0a 23 41 6c 69 67 6e 20 |Is v1.00|.#Align |
|000051d0| 52 69 67 68 74 0a 7b 2f | 7d 32 32 20 53 65 70 20 |Right.{/|}22 Sep |
|000051e0| 31 39 39 37 7b 2f 7d 0a | 23 41 6c 69 67 6e 20 4c |1997{/}.|#Align L|
|000051f0| 65 66 74 0a 8f 09 46 69 | 72 73 74 20 72 65 6c 65 |eft...Fi|rst rele|
|00005200| 61 73 65 0a | |ase. | |
+--------+-------------------------+-------------------------+--------+--------+