home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: DiskDupe Disk Image
(archive/diskDupeDiskImage).
You can browse this item here: 4.ddi
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 49 4d 00 00 00 00 00 00 | 00 00 01 00 00 00 00 00 |IM......|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 01 01 00 00 | 00 01 01 02 00 00 00 01 |........|........|
|00000070| 01 03 00 00 00 01 01 04 | 00 00 00 01 01 05 00 00 |........|........|
|00000080| 00 01 01 06 00 00 00 01 | 01 07 00 00 00 01 01 08 |........|........|
|00000090| 00 00 00 01 01 09 00 00 | 00 01 01 0a 00 00 00 01 |........|........|
|000000a0| 01 0b 00 00 00 01 01 0c | 00 00 00 01 01 0d 00 00 |........|........|
|000000b0| 00 01 01 0e 00 00 00 01 | 01 0f 00 00 00 01 01 10 |........|........|
|000000c0| 00 00 00 01 01 11 00 00 | 00 01 01 12 00 00 00 01 |........|........|
|000000d0| 01 13 00 00 00 01 01 14 | 00 00 00 01 01 15 00 00 |........|........|
|000000e0| 00 01 01 16 00 00 00 01 | 01 17 00 00 00 01 01 18 |........|........|
|000000f0| 00 00 00 01 01 19 00 00 | 00 01 01 1a 00 00 00 01 |........|........|
|00000100| 01 1b 00 00 00 01 01 1c | 00 00 00 01 01 1d 00 00 |........|........|
|00000110| 00 01 01 1e 00 00 00 01 | 01 1f 00 00 00 01 01 20 |........|....... |
|00000120| 00 00 00 01 01 21 00 00 | 00 01 01 22 00 00 00 01 |.....!..|..."....|
|00000130| 01 23 00 00 00 01 01 24 | 00 00 00 01 01 25 00 00 |.#.....$|.....%..|
|00000140| 00 01 01 26 00 00 00 01 | 01 27 00 00 00 01 01 28 |...&....|.'.....(|
|00000150| 00 00 00 01 01 29 00 00 | 00 01 01 2a 00 00 00 01 |.....)..|...*....|
|00000160| 01 2b 00 00 00 01 01 2c | 00 00 00 01 01 2d 00 00 |.+.....,|.....-..|
|00000170| 00 01 01 2e 00 00 00 01 | 01 2f 00 00 00 01 01 30 |........|./.....0|
|00000180| 00 00 00 01 01 31 00 00 | 00 01 01 32 00 00 00 01 |.....1..|...2....|
|00000190| 01 33 00 00 00 01 01 34 | 00 00 00 01 01 35 00 00 |.3.....4|.....5..|
|000001a0| 00 01 01 36 00 00 00 01 | 01 37 00 00 00 01 01 38 |...6....|.7.....8|
|000001b0| 00 00 00 01 01 39 00 00 | 00 01 01 3a 00 00 00 01 |.....9..|...:....|
|000001c0| 01 3b 00 00 00 01 01 3c | 00 00 00 01 01 3d 00 00 |.;.....<|.....=..|
|000001d0| 00 01 01 3e 00 00 00 01 | 01 3f 00 00 00 01 01 40 |...>....|.?.....@|
|000001e0| 00 00 00 01 01 41 00 00 | 00 01 01 42 00 00 00 01 |.....A..|...B....|
|000001f0| 01 43 00 00 00 01 01 44 | 00 00 00 01 01 45 00 00 |.C.....D|.....E..|
|00000200| 00 01 01 46 00 00 00 01 | 01 47 00 00 00 01 01 48 |...F....|.G.....H|
|00000210| 00 00 00 01 01 49 00 00 | 00 01 01 4a 00 00 00 01 |.....I..|...J....|
|00000220| 01 4b 00 00 00 01 01 4c | 00 00 00 01 01 4d 00 00 |.K.....L|.....M..|
|00000230| 00 01 01 4e 00 00 00 01 | 01 4f 00 00 00 01 01 50 |...N....|.O.....P|
|00000240| 00 00 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| eb 2a 90 49 42 4d 20 20 | 33 2e 30 00 02 02 01 00 |.*.IBM |3.0.....|
|00001210| 02 70 00 d0 02 fd 02 00 | 09 00 02 00 00 00 00 00 |.p......|........|
|00001220| 14 00 00 00 00 0f 00 00 | 00 00 00 00 fa 33 c0 8e |........|.....3..|
|00001230| d0 bc 00 7c bb 78 00 36 | c5 37 1e 56 16 53 8e c0 |...|.x.6|.7.V.S..|
|00001240| bf 21 7c b9 0b 00 fc ac | 26 80 3d 00 74 03 26 8a |.!|.....|&.=.t.&.|
|00001250| 05 aa e2 f3 8c c0 8e d8 | 89 47 02 c7 07 21 7c fb |........|.G...!|.|
|00001260| cd 13 73 03 e9 c7 00 0e | 1f a0 10 7c 98 f7 26 16 |..s.....|...|..&.|
|00001270| 7c 03 06 1c 7c 03 06 0e | 7c a3 2c 7c a3 2e 7c b8 ||...|...||.,|..|.|
|00001280| 20 00 f7 26 11 7c bb 00 | 02 03 c3 48 f7 f3 01 06 | ..&.|..|...H....|
|00001290| 2e 7c b8 50 00 8e c0 a1 | 2c 7c e8 a7 00 33 db b8 |.|.P....|,|...3..|
|000012a0| 01 02 e8 b9 00 72 1a 33 | ff b9 0b 00 be d6 7d fc |.....r.3|......}.|
|000012b0| f3 a6 75 0d bf 20 00 be | e1 7d b9 0b 00 f3 a6 74 |..u.. ..|.}.....t|
|000012c0| 13 be 77 7d e8 6f 00 32 | e4 cd 16 5e 1f 8f 04 8f |..w}.o.2|...^....|
|000012d0| 44 02 cd 19 26 a1 1c 00 | bb 00 02 33 d2 f7 f3 fe |D...&...|...3....|
|000012e0| c0 a2 20 7c a1 2e 7c a3 | 75 7d b8 70 00 8e c0 33 |.. |..|.|u}.p...3|
|000012f0| db a1 2e 7c e8 4d 00 a0 | 18 7c 2a 06 16 7c fe c0 |...|.M..|.|*..|..|
|00001300| 32 e4 50 b4 02 e8 56 00 | 58 72 23 28 06 20 7c 76 |2.P...V.|Xr#(. |v|
|00001310| 0c 01 06 2e 7c f7 26 0b | 7c 03 d8 eb d4 8a 2e 15 |....|.&.||.......|
|00001320| 7c 8a 16 1e 7c 8b 1e 75 | 7d ea 00 00 70 00 be c0 ||...|..u|}...p...|
|00001330| 7d e8 02 00 eb fe ac a8 | ff 74 22 b4 0e bb 07 00 |}.......|.t".....|
|00001340| cd 10 eb f2 33 d2 f7 36 | 18 7c fe c2 88 16 16 7c |....3..6|.|.....||
|00001350| 33 d2 f7 36 1a 7c 88 16 | 1f 7c a3 30 7c c3 8b 16 |3..6.|..|.|.0|...|
|00001360| 30 7c b1 06 d2 e6 0a 36 | 16 7c 8b ca 86 e9 8b 16 |0|.....6|.|......|
|00001370| 1e 7c cd 13 c3 00 00 0d | 0a 4e 6f 6e 2d 53 79 73 |.|......|.Non-Sys|
|00001380| 74 65 6d 20 64 69 73 6b | 20 6f 72 20 64 69 73 6b |tem disk| or disk|
|00001390| 20 65 72 72 6f 72 0d 0a | 52 65 70 6c 61 63 65 20 | error..|Replace |
|000013a0| 61 6e 64 20 73 74 72 69 | 6b 65 20 61 6e 79 20 6b |and stri|ke any k|
|000013b0| 65 79 20 77 68 65 6e 20 | 72 65 61 64 79 0d 0a 00 |ey when |ready...|
|000013c0| 0d 0a 44 69 73 6b 20 42 | 6f 6f 74 20 66 61 69 6c |..Disk B|oot fail|
|000013d0| 75 72 65 0d 0a 00 49 42 | 4d 42 49 4f 20 20 43 4f |ure...IB|MBIO CO|
|000013e0| 4d 49 42 4d 44 4f 53 20 | 20 43 4f 4d 00 00 00 00 |MIBMDOS | COM....|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 55 aa |........|......U.|
|00001400| fd ff ff 53 40 00 ff 6f | 00 ff 8f 00 09 a0 00 0b |...S@..o|........|
|00001410| c0 00 0d e0 00 ff 0f 01 | 11 f0 ff 13 f0 ff 15 60 |........|.......`|
|00001420| 01 17 f0 ff ff ff ff 1b | f0 ff 1d f0 ff ff 0f 02 |........|........|
|00001430| 51 f1 ff ff 4f 02 ff ff | ff 27 80 02 2e f0 ff 2b |Q...O...|.'.....+|
|00001440| f0 ff 2d f0 ff 2f 00 03 | 31 d0 06 33 40 03 35 f0 |..-../..|1..3@.5.|
|00001450| ff 37 f0 ff 39 f0 ff 3b | f0 ff 3d f0 ff ff 0f 04 |.7..9..;|..=.....|
|00001460| 41 f0 ff ff 4f 04 ff 6f | 04 47 80 04 49 a0 04 4b |A...O..o|.G..I..K|
|00001470| c0 04 4d e0 04 4f 00 05 | 51 20 05 ff 0f 0a 55 60 |..M..O..|Q ....U`|
|00001480| 05 ff 8f 05 ff ff ff ff | cf 05 ff ff ff ff 0f 06 |........|........|
|00001490| 61 f0 ff 63 f0 ff ff 6f | 06 67 80 06 69 f0 ff 6b |a..c...o|.g..i..k|
|000014a0| c0 06 ff cf 07 ff ff ff | 71 f0 ff 73 f0 ff 75 60 |........|q..s..u`|
|000014b0| 07 ff 8f 07 ff af 07 7b | f0 ff 7d e0 07 ff af 0a |.......{|..}.....|
|000014c0| 81 20 08 83 40 08 85 f0 | ff 87 80 08 ff af 08 ff |. ..@...|........|
|000014d0| cf 08 ff ef 08 8f 00 09 | 91 20 09 ff ff ff ff 6f |........|. .....o|
|000014e0| 09 ff 8f 09 ff af 09 ff | cf 09 9d e0 09 9f f0 ff |........|........|
|000014f0| f0 20 0a ff 4f 0a a5 60 | 0a ff ff ff a9 f0 ff ab |. ..O..`|........|
|00001500| c0 0a ad e0 0a b4 00 0b | ff 2f 0b b3 f0 ff ff 6f |........|./.....o|
|00001510| 0b b7 f0 ff b9 a0 0b bb | c0 0b bd f0 0b ff 0f 0c |........|........|
|00001520| c6 f0 ff c3 f0 ff c5 f0 | ff c7 f0 ff ff af 0c cb |........|........|
|00001530| c0 0c cd f0 ff cf 00 0d | ff ff ff ff 4f 0d ff ff |........|....O...|
|00001540| ff ff ff ff d9 f0 ff db | f0 ff dd f0 ff df 00 0e |........|........|
|00001550| ff 2f 0e e3 f0 ff e5 60 | 0e e7 80 0e e9 f0 ff eb |./.....`|........|
|00001560| c0 0e ed e0 0e ff ff ff | ff ff ff ff 4f 0f ff 6f |........|....O..o|
|00001570| 0f ff 8f 0f f9 f0 ff ff | cf 0f fd f0 ff ff 00 10 |........|........|
|00001580| 01 21 10 03 81 10 05 61 | 10 07 f1 ff 09 a1 10 0b |.!.....a|........|
|00001590| c1 10 0d e1 10 0f f1 ff | 11 21 11 13 41 11 15 f1 |........|.!..A...|
|000015a0| ff 17 81 11 1f a1 11 ff | cf 11 1d f1 ff ff 0f 12 |........|........|
|000015b0| 21 21 12 23 f1 ff 25 61 | 12 27 f1 ff 29 a1 12 2b |!!.#..%a|.'..)..+|
|000015c0| c1 12 ff ef 12 2f 01 13 | ff 2f 13 ff 4f 13 ff ff |...../..|./..O...|
|000015d0| ff 37 81 13 ff af 13 3b | c1 13 3d e1 13 3f f1 ff |.7.....;|..=..?..|
|000015e0| 4e 21 14 43 41 14 ff 6f | 14 47 81 14 49 a1 14 4b |N!.CA..o|.G..I..K|
|000015f0| c1 14 4d f1 ff 4f f1 ff | 00 f0 ff 53 41 15 55 f1 |..M..O..|...SA.U.|
|00001600| ff 57 81 15 59 f1 ff ff | cf 15 5d e1 15 5f f1 ff |.W..Y...|..].._..|
|00001610| 61 f1 ff 25 00 00 00 00 | 00 00 00 00 00 00 00 00 |a..%....|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| fd ff ff 53 40 00 ff 6f | 00 ff 8f 00 09 a0 00 0b |...S@..o|........|
|00001810| c0 00 0d e0 00 ff 0f 01 | 11 f0 ff 13 f0 ff 15 60 |........|.......`|
|00001820| 01 17 f0 ff ff ff ff 1b | f0 ff 1d f0 ff ff 0f 02 |........|........|
|00001830| 51 f1 ff ff 4f 02 ff ff | ff 27 80 02 2e f0 ff 2b |Q...O...|.'.....+|
|00001840| f0 ff 2d f0 ff 2f 00 03 | 31 d0 06 33 40 03 35 f0 |..-../..|1..3@.5.|
|00001850| ff 37 f0 ff 39 f0 ff 3b | f0 ff 3d f0 ff ff 0f 04 |.7..9..;|..=.....|
|00001860| 41 f0 ff ff 4f 04 ff 6f | 04 47 80 04 49 a0 04 4b |A...O..o|.G..I..K|
|00001870| c0 04 4d e0 04 4f 00 05 | 51 20 05 ff 0f 0a 55 60 |..M..O..|Q ....U`|
|00001880| 05 ff 8f 05 ff ff ff ff | cf 05 ff ff ff ff 0f 06 |........|........|
|00001890| 61 f0 ff 63 f0 ff ff 6f | 06 67 80 06 69 f0 ff 6b |a..c...o|.g..i..k|
|000018a0| c0 06 ff cf 07 ff ff ff | 71 f0 ff 73 f0 ff 75 60 |........|q..s..u`|
|000018b0| 07 ff 8f 07 ff af 07 7b | f0 ff 7d e0 07 ff af 0a |.......{|..}.....|
|000018c0| 81 20 08 83 40 08 85 f0 | ff 87 80 08 ff af 08 ff |. ..@...|........|
|000018d0| cf 08 ff ef 08 8f 00 09 | 91 20 09 ff ff ff ff 6f |........|. .....o|
|000018e0| 09 ff 8f 09 ff af 09 ff | cf 09 9d e0 09 9f f0 ff |........|........|
|000018f0| f0 20 0a ff 4f 0a a5 60 | 0a ff ff ff a9 f0 ff ab |. ..O..`|........|
|00001900| c0 0a ad e0 0a b4 00 0b | ff 2f 0b b3 f0 ff ff 6f |........|./.....o|
|00001910| 0b b7 f0 ff b9 a0 0b bb | c0 0b bd f0 0b ff 0f 0c |........|........|
|00001920| c6 f0 ff c3 f0 ff c5 f0 | ff c7 f0 ff ff af 0c cb |........|........|
|00001930| c0 0c cd f0 ff cf 00 0d | ff ff ff ff 4f 0d ff ff |........|....O...|
|00001940| ff ff ff ff d9 f0 ff db | f0 ff dd f0 ff df 00 0e |........|........|
|00001950| ff 2f 0e e3 f0 ff e5 60 | 0e e7 80 0e e9 f0 ff eb |./.....`|........|
|00001960| c0 0e ed e0 0e ff ff ff | ff ff ff ff 4f 0f ff 6f |........|....O..o|
|00001970| 0f ff 8f 0f f9 f0 ff ff | cf 0f fd f0 ff ff 00 10 |........|........|
|00001980| 01 21 10 03 81 10 05 61 | 10 07 f1 ff 09 a1 10 0b |.!.....a|........|
|00001990| c1 10 0d e1 10 0f f1 ff | 11 21 11 13 41 11 15 f1 |........|.!..A...|
|000019a0| ff 17 81 11 1f a1 11 ff | cf 11 1d f1 ff ff 0f 12 |........|........|
|000019b0| 21 21 12 23 f1 ff 25 61 | 12 27 f1 ff 29 a1 12 2b |!!.#..%a|.'..)..+|
|000019c0| c1 12 ff ef 12 2f 01 13 | ff 2f 13 ff 4f 13 ff ff |...../..|./..O...|
|000019d0| ff 37 81 13 ff af 13 3b | c1 13 3d e1 13 3f f1 ff |.7.....;|..=..?..|
|000019e0| 4e 21 14 43 41 14 ff 6f | 14 47 81 14 49 a1 14 4b |N!.CA..o|.G..I..K|
|000019f0| c1 14 4d f1 ff 4f f1 ff | 00 f0 ff 53 41 15 55 f1 |..M..O..|...SA.U.|
|00001a00| ff 57 81 15 59 f1 ff ff | cf 15 5d e1 15 5f f1 ff |.W..Y...|..].._..|
|00001a10| 61 f1 ff 25 00 00 00 00 | 00 00 00 00 00 00 00 00 |a..%....|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c00| 43 54 50 35 32 31 35 20 | 44 23 34 28 00 00 00 00 |CTP5215 |D#4(....|
|00001c10| 00 00 00 00 00 00 51 5a | 05 0d 00 00 00 00 00 00 |......QZ|........|
|00001c20| 43 20 20 20 20 20 20 20 | 20 20 20 10 00 00 00 00 |C | .....|
|00001c30| 00 00 00 00 00 00 55 5a | 05 0d 02 00 00 00 00 00 |......UZ|........|
|00001c40| e5 41 50 20 20 20 20 20 | 45 58 45 20 00 00 00 00 |.AP |EXE ....|
|00001c50| 00 00 00 00 00 00 00 60 | 05 0d 51 01 3a 46 00 00 |.......`|..Q.:F..|
|00001c60| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001c70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001c80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001c90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001ca0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001cb0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001cc0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001cd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001ce0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001cf0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d00| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d10| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d20| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d30| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d40| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d50| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d60| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001d90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001da0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001db0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001dc0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001dd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001de0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001df0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e00| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e10| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e20| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e30| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e40| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e50| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e60| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001e90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001ea0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001eb0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001ec0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001ed0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001ee0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001ef0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f00| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f10| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f20| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f30| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f40| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f50| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f60| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001f90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001fa0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001fb0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001fc0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001fd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001fe0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00001ff0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002000| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002010| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002020| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002030| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002040| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002050| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002060| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002070| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002080| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002090| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000020a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000020b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000020c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000020d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000020e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000020f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002100| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002110| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002120| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002130| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002140| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002150| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002160| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002170| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002180| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002190| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000021a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000021b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000021c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000021d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000021e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000021f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002200| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002210| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002220| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002230| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002240| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002250| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002260| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002270| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002280| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002290| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000022a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000022b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000022c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000022d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000022e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000022f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002300| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002310| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002320| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002330| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002340| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002350| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002360| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002370| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002380| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002390| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000023a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000023b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000023c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000023d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000023e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000023f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002400| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002410| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002420| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002430| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002440| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002450| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002460| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002470| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002480| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002490| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000024a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000024b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000024c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000024d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000024e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000024f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002500| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002510| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002520| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002530| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002540| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002550| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002560| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002570| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002580| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002590| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002600| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002610| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002620| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002630| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002640| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002650| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002660| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002670| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002680| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002690| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002700| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002710| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002720| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002730| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002740| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002750| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002760| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002770| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002780| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002790| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002800| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002810| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002820| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002830| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002840| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002850| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002860| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002870| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002880| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002890| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002900| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002910| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002920| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002930| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002940| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002950| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002960| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002970| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002980| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002990| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002a00| 2e 20 20 20 20 20 20 20 | 20 20 20 10 00 00 00 00 |. | .....|
|00002a10| 00 00 00 00 00 00 55 5a | 05 0d 02 00 00 00 00 00 |......UZ|........|
|00002a20| 2e 2e 20 20 20 20 20 20 | 20 20 20 10 00 00 00 00 |.. | .....|
|00002a30| 00 00 00 00 00 00 55 5a | 05 0d 00 00 00 00 00 00 |......UZ|........|
|00002a40| 41 50 43 4f 4d 4c 49 4e | 43 20 20 20 00 00 00 00 |APCOMLIN|C ....|
|00002a50| 00 00 00 00 00 00 00 60 | 05 0d 03 00 37 07 00 00 |.......`|....7...|
|00002a60| 41 50 50 52 4f 4d 50 54 | 43 20 20 20 00 00 00 00 |APPROMPT|C ....|
|00002a70| 00 00 00 00 00 00 00 88 | 8d 0e 05 00 37 06 00 00 |........|....7...|
|00002a80| 41 50 51 55 45 52 59 20 | 43 20 20 20 00 00 00 00 |APQUERY |C ....|
|00002a90| 00 00 00 00 00 00 00 60 | 05 0d 07 00 19 1e 00 00 |.......`|........|
|00002aa0| 41 50 52 44 4e 55 4d 20 | 43 20 20 20 00 00 00 00 |APRDNUM |C ....|
|00002ab0| 00 00 00 00 00 00 00 60 | 05 0d 0f 00 96 0a 00 00 |.......`|........|
|00002ac0| 41 50 52 44 54 45 58 54 | 43 20 20 20 00 00 00 00 |APRDTEXT|C ....|
|00002ad0| 00 00 00 00 00 00 00 60 | 05 0d 12 00 3d 07 00 00 |.......`|....=...|
|00002ae0| 41 50 59 45 53 4e 4f 20 | 43 20 20 20 00 00 00 00 |APYESNO |C ....|
|00002af0| 00 00 00 00 00 00 00 60 | 05 0d 14 00 50 0f 00 00 |.......`|....P...|
|00002b00| 42 56 20 20 20 20 20 20 | 43 20 20 20 00 00 00 00 |BV |C ....|
|00002b10| 00 00 00 00 00 00 00 60 | 05 0d 18 00 df 02 00 00 |.......`|........|
|00002b20| 44 52 43 48 44 49 52 20 | 43 20 20 20 00 00 00 00 |DRCHDIR |C ....|
|00002b30| 00 00 00 00 00 00 00 60 | 05 0d 19 00 ff 03 00 00 |.......`|........|
|00002b40| 44 52 43 55 52 44 49 52 | 43 20 20 20 00 00 00 00 |DRCURDIR|C ....|
|00002b50| 00 00 00 00 00 00 00 60 | 05 0d 1a 00 9c 07 00 00 |.......`|........|
|00002b60| 44 52 44 54 32 53 54 50 | 43 20 20 20 00 00 00 00 |DRDT2STP|C ....|
|00002b70| 00 00 00 00 00 00 00 60 | 05 0d 1c 00 45 06 00 00 |.......`|....E...|
|00002b80| 44 52 4d 4b 44 49 52 20 | 43 20 20 20 00 00 00 00 |DRMKDIR |C ....|
|00002b90| 00 00 00 00 00 00 00 60 | 05 0d 1e 00 6f 03 00 00 |.......`|....o...|
|00002ba0| 44 52 52 45 4d 56 4f 4c | 43 20 20 20 00 00 00 00 |DRREMVOL|C ....|
|00002bb0| 00 00 00 00 00 00 00 88 | 8d 0e 1f 00 44 08 00 00 |........|....D...|
|00002bc0| 44 52 52 45 4e 41 4d 45 | 43 20 20 20 00 00 00 00 |DRRENAME|C ....|
|00002bd0| 00 00 00 00 00 00 00 60 | 05 0d 21 00 fa 03 00 00 |.......`|..!.....|
|00002be0| 44 52 52 45 54 44 52 56 | 43 20 20 20 00 00 00 00 |DRRETDRV|C ....|
|00002bf0| 00 00 00 00 00 00 00 60 | 05 0d 22 00 64 02 00 00 |.......`|..".d...|
|00002c00| 44 52 52 45 54 53 54 50 | 43 20 20 20 00 00 00 00 |DRRETSTP|C ....|
|00002c10| 00 00 00 00 00 00 00 60 | 05 0d 23 00 3f 06 00 00 |.......`|..#.?...|
|00002c20| 44 52 52 45 54 56 4f 4c | 43 20 20 20 00 00 00 00 |DRRETVOL|C ....|
|00002c30| 00 00 00 00 00 00 00 88 | 8d 0e 52 01 59 0d 00 00 |........|..R.Y...|
|00002c40| 44 52 52 4d 44 49 52 20 | 43 20 20 20 00 00 00 00 |DRRMDIR |C ....|
|00002c50| 00 00 00 00 00 00 00 60 | 05 0d 29 00 b1 03 00 00 |.......`|..).....|
|00002c60| 44 52 53 45 54 44 52 56 | 43 20 20 20 00 00 00 00 |DRSETDRV|C ....|
|00002c70| 00 00 00 00 00 00 00 60 | 05 0d 2a 00 3e 04 00 00 |.......`|..*.>...|
|00002c80| 44 52 53 45 54 53 54 50 | 43 20 20 20 00 00 00 00 |DRSETSTP|C ....|
|00002c90| 00 00 00 00 00 00 00 60 | 05 0d 2c 00 1b 06 00 00 |.......`|..,.....|
|00002ca0| 44 52 53 45 54 56 4f 4c | 43 20 20 20 00 00 00 00 |DRSETVOL|C ....|
|00002cb0| 00 00 00 00 00 00 00 88 | 8d 0e 56 01 24 0d 00 00 |........|..V.$...|
|00002cc0| 44 52 53 46 49 52 53 54 | 43 20 20 20 00 00 00 00 |DRSFIRST|C ....|
|00002cd0| 00 00 00 00 00 00 00 60 | 05 0d 32 00 22 0f 00 00 |.......`|..2."...|
|00002ce0| 44 52 53 4e 45 58 54 20 | 43 20 20 20 00 00 00 00 |DRSNEXT |C ....|
|00002cf0| 00 00 00 00 00 00 00 60 | 05 0d 36 00 f7 07 00 00 |.......`|..6.....|
|00002d00| 44 52 53 54 50 32 44 54 | 43 20 20 20 00 00 00 00 |DRSTP2DT|C ....|
|00002d10| 00 00 00 00 00 00 00 60 | 05 0d 38 00 5b 06 00 00 |.......`|..8.[...|
|00002d20| 44 52 53 54 50 32 54 4d | 43 20 20 20 00 00 00 00 |DRSTP2TM|C ....|
|00002d30| 00 00 00 00 00 00 00 60 | 05 0d 3a 00 bb 06 00 00 |.......`|..:.....|
|00002d40| 44 52 54 4d 32 53 54 50 | 43 20 20 20 00 00 00 00 |DRTM2STP|C ....|
|00002d50| 00 00 00 00 00 00 00 60 | 05 0d 3c 00 6a 06 00 00 |.......`|..<.j...|
|00002d60| 46 4c 43 4c 4f 53 45 20 | 43 20 20 20 00 00 00 00 |FLCLOSE |C ....|
|00002d70| 00 00 00 00 00 00 00 60 | 05 0d 3e 00 d6 02 00 00 |.......`|..>.....|
|00002d80| 46 4c 43 52 45 41 54 45 | 43 20 20 20 00 00 00 00 |FLCREATE|C ....|
|00002d90| 00 00 00 00 00 00 00 60 | 05 0d 3f 00 c8 08 00 00 |.......`|..?.....|
|00002da0| 46 4c 44 45 4c 45 54 45 | 43 20 20 20 00 00 00 00 |FLDELETE|C ....|
|00002db0| 00 00 00 00 00 00 00 60 | 05 0d 42 00 65 03 00 00 |.......`|..B.e...|
|00002dc0| 46 4c 4e 45 57 20 20 20 | 43 20 20 20 00 00 00 00 |FLNEW |C ....|
|00002dd0| 00 00 00 00 00 00 00 60 | 05 0d 43 00 f1 07 00 00 |.......`|..C.....|
|00002de0| 46 4c 4e 4f 52 4d 20 20 | 43 20 20 20 00 00 00 00 |FLNORM |C ....|
|00002df0| 00 00 00 00 00 00 00 60 | 05 0d 45 00 ab 35 00 00 |.......`|..E..5..|
|00002e00| 2f 2a 2a 0d 0a 2a 0d 0a | 2a 20 4e 61 6d 65 09 09 |/**..*..|* Name..|
|00002e10| 61 70 63 6f 6d 6c 69 6e | 20 2d 2d 20 52 65 74 75 |apcomlin| -- Retu|
|00002e20| 72 6e 20 74 68 65 20 44 | 4f 53 20 63 6f 6d 6d 61 |rn the D|OS comma|
|00002e30| 6e 64 20 6c 69 6e 65 0d | 0a 2a 0d 0a 2a 20 53 79 |nd line.|.*..* Sy|
|00002e40| 6e 6f 70 73 69 73 09 63 | 6c 65 6e 20 3d 20 61 70 |nopsis.c|len = ap|
|00002e50| 63 6f 6d 6c 69 6e 28 70 | 63 6d 64 29 3b 0d 0a 2a |comlin(p|cmd);..*|
|00002e60| 0d 0a 2a 09 09 69 6e 74 | 20 20 63 6c 65 6e 09 20 |..*..int| clen. |
|00002e70| 20 4c 65 6e 67 74 68 20 | 6f 66 20 74 68 65 20 63 | Length |of the c|
|00002e80| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 0d 0a 2a 09 09 |ommand l|ine..*..|
|00002e90| 63 68 61 72 20 2a 70 63 | 6d 64 09 20 20 42 75 66 |char *pc|md. Buf|
|00002ea0| 66 65 72 20 69 6e 20 77 | 68 69 63 68 20 74 6f 20 |fer in w|hich to |
|00002eb0| 70 75 74 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |put comm|and line|
|00002ec0| 0d 0a 2a 0d 0a 2a 20 44 | 65 73 63 72 69 70 74 69 |..*..* D|escripti|
|00002ed0| 6f 6e 09 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |on.This |function|
|00002ee0| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 63 6f 6d | returns| the com|
|00002ef0| 6d 61 6e 64 20 6c 69 6e | 65 20 74 79 70 65 64 20 |mand lin|e typed |
|00002f00| 61 74 20 74 68 65 20 44 | 4f 53 0d 0a 2a 09 09 6c |at the D|OS..*..l|
|00002f10| 65 76 65 6c 20 77 68 65 | 6e 20 74 68 65 20 70 72 |evel whe|n the pr|
|00002f20| 6f 67 72 61 6d 20 77 61 | 73 20 69 6e 76 6f 6b 65 |ogram wa|s invoke|
|00002f30| 64 2e 20 20 54 68 65 20 | 65 6e 74 69 72 65 20 63 |d. The |entire c|
|00002f40| 6f 6d 6d 61 6e 64 0d 0a | 2a 09 09 6c 69 6e 65 20 |ommand..|*..line |
|00002f50| 28 6d 69 6e 75 73 20 74 | 68 65 20 70 72 6f 67 72 |(minus t|he progr|
|00002f60| 61 6d 20 6e 61 6d 65 29 | 20 69 73 20 72 65 74 75 |am name)| is retu|
|00002f70| 72 6e 65 64 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |rned, in|cluding |
|00002f80| 61 6c 6c 0d 0a 2a 09 09 | 77 68 69 74 65 20 73 70 |all..*..|white sp|
|00002f90| 61 63 65 2e 20 20 54 68 | 65 20 6c 65 6e 67 74 68 |ace. Th|e length|
|00002fa0| 20 6f 66 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 | of the |command |
|00002fb0| 6c 69 6e 65 20 69 73 20 | 72 65 74 75 72 6e 65 64 |line is |returned|
|00002fc0| 0d 0a 2a 09 09 61 73 20 | 74 68 65 20 76 61 6c 75 |..*..as |the valu|
|00002fd0| 65 20 6f 66 20 74 68 65 | 20 66 75 6e 63 74 69 6f |e of the| functio|
|00002fe0| 6e 2e 20 20 53 70 61 63 | 65 20 66 6f 72 20 74 68 |n. Spac|e for th|
|00002ff0| 65 20 63 6f 6d 6d 61 6e | 64 0d 0a 2a 09 09 6c 69 |e comman|d..*..li|
|00003000| 6e 65 20 28 61 73 20 6d | 75 63 68 20 61 73 20 31 |ne (as m|uch as 1|
|00003010| 32 38 20 62 79 74 65 73 | 2c 20 69 6e 63 6c 75 64 |28 bytes|, includ|
|00003020| 69 6e 67 20 61 20 74 72 | 61 69 6c 69 6e 67 20 4e |ing a tr|ailing N|
|00003030| 55 4c 29 0d 0a 2a 09 09 | 6d 75 73 74 20 62 65 20 |UL)..*..|must be |
|00003040| 61 6c 6c 6f 63 61 74 65 | 64 20 62 79 20 74 68 65 |allocate|d by the|
|00003050| 20 63 61 6c 6c 69 6e 67 | 20 66 75 6e 63 74 69 6f | calling| functio|
|00003060| 6e 2e 0d 0a 2a 0d 0a 2a | 20 52 65 74 75 72 6e 73 |n...*..*| Returns|
|00003070| 09 63 6c 65 6e 09 09 20 | 20 4c 65 6e 67 74 68 20 |.clen.. | Length |
|00003080| 6f 66 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6c |of the c|ommand l|
|00003090| 69 6e 65 0d 0a 2a 09 09 | 2a 70 63 6d 64 09 09 20 |ine..*..|*pcmd.. |
|000030a0| 20 54 68 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e | The com|mand lin|
|000030b0| 65 20 73 74 72 69 6e 67 | 0d 0a 2a 0d 0a 2a 20 56 |e string|..*..* V|
|000030c0| 65 72 73 69 6f 6e 09 33 | 2e 30 20 28 43 29 43 6f |ersion.3|.0 (C)Co|
|000030d0| 70 79 72 69 67 68 74 20 | 42 6c 61 69 73 65 20 43 |pyright |Blaise C|
|000030e0| 6f 6d 70 75 74 69 6e 67 | 20 49 6e 63 2e 20 31 39 |omputing| Inc. 19|
|000030f0| 38 33 2c 31 39 38 34 2c | 31 39 38 35 2c 31 39 38 |83,1984,|1985,198|
|00003100| 36 0d 0a 2a 0d 0a 2a 2a | 2f 0d 0a 0d 0a 23 69 6e |6..*..**|/....#in|
|00003110| 63 6c 75 64 65 20 3c 62 | 61 70 70 6c 69 63 2e 68 |clude <b|applic.h|
|00003120| 3e 0d 0a 23 69 6e 63 6c | 75 64 65 20 3c 62 75 74 |>..#incl|ude <but|
|00003130| 69 6c 69 74 79 2e 68 3e | 0d 0a 0d 0a 69 6e 74 20 |ility.h>|....int |
|00003140| 61 70 63 6f 6d 6c 69 6e | 28 70 63 6d 64 29 0d 0a |apcomlin|(pcmd)..|
|00003150| 63 68 61 72 20 2a 70 63 | 6d 64 3b 0d 0a 7b 0d 0a |char *pc|md;..{..|
|00003160| 20 20 20 20 69 6e 74 20 | 63 6d 64 6c 65 6e 20 3d | int |cmdlen =|
|00003170| 20 30 3b 0d 0a 0d 0a 20 | 20 20 20 41 44 53 20 63 | 0;.... | ADS c|
|00003180| 6d 64 6c 65 6e 5f 61 64 | 73 3b 09 20 20 20 20 20 |mdlen_ad|s;. |
|00003190| 20 2f 2a 20 41 64 64 72 | 65 73 73 20 6f 66 20 63 | /* Addr|ess of c|
|000031a0| 6d 64 6c 65 6e 09 09 20 | 20 20 20 20 20 2a 2f 0d |mdlen.. | */.|
|000031b0| 0a 20 20 20 20 41 44 53 | 20 63 6d 64 5f 61 64 73 |. ADS| cmd_ads|
|000031c0| 3b 09 20 20 20 20 20 20 | 2f 2a 20 41 64 64 72 65 |;. |/* Addre|
|000031d0| 73 73 20 6f 66 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |ss of co|mmand li|
|000031e0| 6e 65 20 69 6e 20 74 68 | 65 20 50 53 50 20 20 20 |ne in th|e PSP |
|000031f0| 2a 2f 0d 0a 20 20 20 20 | 41 44 53 20 63 6d 64 62 |*/.. |ADS cmdb|
|00003200| 75 66 5f 61 64 73 3b 09 | 20 20 20 20 20 20 2f 2a |uf_ads;.| /*|
|00003210| 20 41 64 64 72 65 73 73 | 20 6f 66 20 63 61 6c 6c | Address| of call|
|00003220| 65 72 27 73 20 62 75 66 | 66 65 72 20 20 20 20 20 |er's buf|fer |
|00003230| 20 20 20 20 20 20 2a 2f | 0d 0a 0d 0a 20 20 20 20 | */|.... |
|00003240| 75 74 61 62 73 70 74 72 | 28 28 63 68 61 72 20 2a |utabsptr|((char *|
|00003250| 29 20 26 63 6d 64 6c 65 | 6e 2c 26 63 6d 64 6c 65 |) &cmdle|n,&cmdle|
|00003260| 6e 5f 61 64 73 29 3b 0d | 0a 0d 0a 20 20 20 20 63 |n_ads);.|... c|
|00003270| 6d 64 5f 61 64 73 2e 73 | 20 3d 20 75 74 70 73 70 |md_ads.s| = utpsp|
|00003280| 73 65 67 3b 09 20 20 20 | 20 20 20 2f 2a 20 4c 6f |seg;. | /* Lo|
|00003290| 63 61 74 69 6f 6e 20 6f | 66 20 63 6f 6d 6d 61 6e |cation o|f comman|
|000032a0| 64 20 6c 69 6e 65 20 69 | 73 20 20 2a 2f 0d 0a 20 |d line i|s */.. |
|000032b0| 20 20 20 63 6d 64 5f 61 | 64 73 2e 72 20 3d 20 30 | cmd_a|ds.r = 0|
|000032c0| 78 30 30 38 30 3b 20 09 | 20 20 20 20 20 20 2f 2a |x0080; .| /*|
|000032d0| 20 6f 66 66 73 65 74 20 | 68 65 78 20 38 30 20 69 | offset |hex 80 i|
|000032e0| 6e 20 74 68 65 09 20 20 | 20 20 20 20 2a 2f 0d 0a |n the. | */..|
|000032f0| 09 09 09 09 20 20 20 20 | 20 20 2f 2a 20 70 72 6f |.... | /* pro|
|00003300| 67 72 61 6d 20 73 65 67 | 6d 65 6e 74 20 70 72 65 |gram seg|ment pre|
|00003310| 66 69 78 2e 20 20 20 20 | 20 20 2a 2f 0d 0a 0d 0a |fix. | */....|
|00003320| 20 20 20 20 75 74 73 6c | 6d 6f 76 65 28 26 63 6d | utsl|move(&cm|
|00003330| 64 5f 61 64 73 2c 26 63 | 6d 64 6c 65 6e 5f 61 64 |d_ads,&c|mdlen_ad|
|00003340| 73 2c 31 29 3b 0d 0a 20 | 20 20 20 63 6d 64 6c 65 |s,1);.. | cmdle|
|00003350| 6e 20 26 3d 20 30 78 30 | 30 66 66 3b 09 09 20 20 |n &= 0x0|0ff;.. |
|00003360| 20 20 20 20 2f 2a 20 54 | 68 65 20 6c 65 6e 67 74 | /* T|he lengt|
|00003370| 68 20 69 73 20 61 20 73 | 69 6e 67 6c 65 20 62 79 |h is a s|ingle by|
|00003380| 74 65 2e 20 2a 2f 0d 0a | 0d 0a 20 20 20 20 63 6d |te. */..|.. cm|
|00003390| 64 5f 61 64 73 2e 72 2b | 2b 3b 09 09 20 20 20 20 |d_ads.r+|+;.. |
|000033a0| 20 20 2f 2a 20 4d 6f 76 | 65 20 74 6f 20 74 68 65 | /* Mov|e to the|
|000033b0| 20 6e 65 78 74 20 62 79 | 74 65 09 20 20 20 20 20 | next by|te. |
|000033c0| 20 2a 2f 0d 0a 20 20 20 | 20 75 74 61 62 73 70 74 | */.. | utabspt|
|000033d0| 72 28 70 63 6d 64 2c 26 | 63 6d 64 62 75 66 5f 61 |r(pcmd,&|cmdbuf_a|
|000033e0| 64 73 29 3b 0d 0a 20 20 | 20 20 75 74 73 6c 6d 6f |ds);.. | utslmo|
|000033f0| 76 65 28 26 63 6d 64 5f | 61 64 73 2c 26 63 6d 64 |ve(&cmd_|ads,&cmd|
|00003400| 62 75 66 5f 61 64 73 2c | 63 6d 64 6c 65 6e 29 3b |buf_ads,|cmdlen);|
|00003410| 0d 0a 20 20 20 20 70 63 | 6d 64 5b 63 6d 64 6c 65 |.. pc|md[cmdle|
|00003420| 6e 5d 20 3d 20 27 5c 30 | 27 3b 20 20 20 20 20 20 |n] = '\0|'; |
|00003430| 20 20 20 20 20 20 20 20 | 2f 2a 20 54 65 72 6d 69 | |/* Termi|
|00003440| 6e 61 74 69 6e 67 20 62 | 79 74 65 20 20 20 20 20 |nating b|yte |
|00003450| 20 20 20 20 20 20 20 20 | 2a 2f 0d 0a 0d 0a 23 69 | |*/....#i|
|00003460| 66 20 43 49 32 30 31 41 | 20 26 20 4c 44 41 54 41 |f CI201A| & LDATA|
|00003470| 0d 0a 20 20 20 20 66 6f | 72 20 28 69 20 3d 20 30 |.. fo|r (i = 0|
|00003480| 3b 20 69 20 3c 20 63 6d | 64 6c 65 6e 3b 20 69 2b |; i < cm|dlen; i+|
|00003490| 2b 29 20 20 20 20 20 20 | 2f 2a 20 46 69 78 20 62 |+) |/* Fix b|
|000034a0| 75 67 20 69 6e 20 43 38 | 36 20 6c 61 72 67 65 20 |ug in C8|6 large |
|000034b0| 6d 6f 64 65 6c 20 2d 20 | 2a 2f 0d 0a 09 69 66 20 |model - |*/...if |
|000034c0| 28 70 63 6d 64 5b 69 5d | 20 3d 3d 20 27 5c 30 27 |(pcmd[i]| == '\0'|
|000034d0| 29 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 69 74 |) | /* it|
|000034e0| 20 72 65 70 6c 61 63 65 | 64 20 62 6c 61 6e 6b 73 | replace|d blanks|
|000034f0| 20 77 69 74 68 20 6e 75 | 6c 6c 73 2a 2f 0d 0a 09 | with nu|lls*/...|
|00003500| 20 20 20 20 70 63 6d 64 | 5b 69 5d 20 3d 20 27 20 | pcmd|[i] = ' |
|00003510| 27 3b 0d 0a 23 65 6e 64 | 69 66 0d 0a 0d 0a 20 20 |';..#end|if.... |
|00003520| 20 20 72 65 74 75 72 6e | 28 63 6d 64 6c 65 6e 29 | return|(cmdlen)|
|00003530| 3b 0d 0a 7d 0d 0a 1a 00 | 00 00 00 00 00 00 00 00 |;..}....|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 2f 2a 2a 0d 0a 2a 0d 0a | 2a 20 4e 61 6d 65 09 09 |/**..*..|* Name..|
|00003610| 61 70 70 72 6f 6d 70 74 | 20 2d 2d 20 47 65 74 20 |apprompt| -- Get |
|00003620| 6f 6e 65 2d 6c 69 6e 65 | 20 72 65 73 70 6f 6e 73 |one-line| respons|
|00003630| 65 20 66 72 6f 6d 20 73 | 74 61 6e 64 61 72 64 20 |e from s|tandard |
|00003640| 69 6e 70 75 74 2c 0d 0a | 2a 09 09 09 20 20 20 20 |input,..|*... |
|00003650| 64 69 73 70 6c 61 79 69 | 6e 67 20 61 20 70 72 6f |displayi|ng a pro|
|00003660| 6d 70 74 20 69 66 20 61 | 70 70 72 6f 70 72 69 61 |mpt if a|ppropria|
|00003670| 74 65 2e 0d 0a 2a 0d 0a | 2a 20 53 79 6e 6f 70 73 |te...*..|* Synops|
|00003680| 69 73 09 65 72 63 6f 64 | 65 20 3d 20 61 70 70 72 |is.ercod|e = appr|
|00003690| 6f 6d 70 74 28 70 70 72 | 6f 6d 70 74 2c 70 72 65 |ompt(ppr|ompt,pre|
|000036a0| 73 70 2c 72 65 73 70 5f | 73 69 7a 65 29 3b 0d 0a |sp,resp_|size);..|
|000036b0| 2a 0d 0a 2a 09 09 69 6e | 74 20 20 65 72 63 6f 64 |*..*..in|t ercod|
|000036c0| 65 09 20 20 30 20 69 66 | 20 6f 6b 61 79 2c 20 31 |e. 0 if| okay, 1|
|000036d0| 20 69 66 20 65 6e 64 20 | 6f 66 20 66 69 6c 65 2c | if end |of file,|
|000036e0| 20 32 20 69 66 20 65 72 | 72 6f 72 2e 0d 0a 2a 09 | 2 if er|ror...*.|
|000036f0| 09 63 68 61 72 20 2a 70 | 70 72 6f 6d 70 74 09 20 |.char *p|prompt. |
|00003700| 20 54 68 65 20 70 72 6f | 6d 70 74 20 74 6f 20 62 | The pro|mpt to b|
|00003710| 65 20 64 69 73 70 6c 61 | 79 65 64 20 69 66 20 74 |e displa|yed if t|
|00003720| 68 65 0d 0a 2a 09 09 09 | 09 20 20 73 74 61 6e 64 |he..*...|. stand|
|00003730| 61 72 64 20 69 6e 70 75 | 74 20 63 68 61 6e 6e 65 |ard inpu|t channe|
|00003740| 6c 20 69 73 20 61 20 63 | 6f 6e 73 6f 6c 65 2e 0d |l is a c|onsole..|
|00003750| 0a 2a 09 09 63 68 61 72 | 20 2a 70 72 65 73 70 09 |.*..char| *presp.|
|00003760| 20 20 50 6f 69 6e 74 65 | 72 20 74 6f 20 63 68 61 | Pointe|r to cha|
|00003770| 72 61 63 74 65 72 20 62 | 75 66 66 65 72 20 69 6e |racter b|uffer in|
|00003780| 20 77 68 69 63 68 0d 0a | 2a 09 09 09 09 20 20 74 | which..|*.... t|
|00003790| 6f 20 70 75 74 20 72 65 | 73 70 6f 6e 73 65 2e 0d |o put re|sponse..|
|000037a0| 0a 2a 09 09 69 6e 74 20 | 20 72 65 73 70 5f 73 69 |.*..int | resp_si|
|000037b0| 7a 65 09 20 20 53 69 7a | 65 20 6f 66 20 72 65 73 |ze. Siz|e of res|
|000037c0| 70 6f 6e 73 65 20 62 75 | 66 66 65 72 20 28 69 6e |ponse bu|ffer (in|
|000037d0| 63 6c 75 64 69 6e 67 0d | 0a 2a 09 09 09 09 20 20 |cluding.|.*.... |
|000037e0| 6e 65 77 6c 69 6e 65 20 | 28 27 5c 6e 27 29 2c 20 |newline |('\n'), |
|000037f0| 69 66 20 61 6e 79 2c 20 | 61 6e 64 20 74 72 61 69 |if any, |and trai|
|00003800| 6c 69 6e 67 0d 0a 2a 09 | 09 09 09 20 20 4e 55 4c |ling..*.|... NUL|
|00003810| 20 28 27 5c 30 27 29 29 | 2e 0d 0a 2a 0d 0a 2a 20 | ('\0'))|...*..* |
|00003820| 44 65 73 63 72 69 70 74 | 69 6f 6e 09 54 68 69 73 |Descript|ion.This|
|00003830| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 74 75 72 6e | functio|n return|
|00003840| 73 20 6f 6e 65 20 6c 69 | 6e 65 20 6f 66 20 74 65 |s one li|ne of te|
|00003850| 78 74 20 66 72 6f 6d 20 | 73 74 61 6e 64 61 72 64 |xt from |standard|
|00003860| 0d 0a 2a 09 09 69 6e 70 | 75 74 2e 09 49 66 20 73 |..*..inp|ut..If s|
|00003870| 74 61 6e 64 61 72 64 20 | 69 6e 70 75 74 20 69 73 |tandard |input is|
|00003880| 20 61 20 63 6f 6e 73 6f | 6c 65 2c 20 41 50 50 52 | a conso|le, APPR|
|00003890| 4f 4d 50 54 20 66 69 72 | 73 74 0d 0a 2a 09 09 64 |OMPT fir|st..*..d|
|000038a0| 69 73 70 6c 61 79 73 20 | 74 68 65 20 70 72 6f 6d |isplays |the prom|
|000038b0| 70 74 20 6f 6e 20 74 68 | 65 20 63 75 72 72 65 6e |pt on th|e curren|
|000038c0| 74 20 63 6f 6e 73 6f 6c | 65 2e 0d 0a 2a 0d 0a 2a |t consol|e...*..*|
|000038d0| 20 52 65 74 75 72 6e 73 | 09 65 72 63 6f 64 65 09 | Returns|.ercode.|
|000038e0| 09 20 20 30 20 69 66 20 | 6f 6b 61 79 2c 20 31 20 |. 0 if |okay, 1 |
|000038f0| 69 66 20 65 6e 64 20 6f | 66 20 66 69 6c 65 2c 20 |if end o|f file, |
|00003900| 32 20 69 66 20 65 72 72 | 6f 72 2e 0d 0a 2a 09 09 |2 if err|or...*..|
|00003910| 2a 70 72 65 73 70 09 09 | 20 20 4c 69 6e 65 20 66 |*presp..| Line f|
|00003920| 72 6f 6d 20 73 74 61 6e | 64 61 72 64 20 69 6e 70 |rom stan|dard inp|
|00003930| 75 74 2c 20 69 6e 63 6c | 75 64 69 6e 67 0d 0a 2a |ut, incl|uding..*|
|00003940| 09 09 09 09 20 20 6e 65 | 77 6c 69 6e 65 20 28 27 |.... ne|wline ('|
|00003950| 5c 6e 27 29 2c 20 69 66 | 20 61 6e 79 2e 0d 0a 2a |\n'), if| any...*|
|00003960| 0d 0a 2a 20 56 65 72 73 | 69 6f 6e 09 33 2e 30 20 |..* Vers|ion.3.0 |
|00003970| 43 6f 70 79 72 69 67 68 | 74 20 28 43 29 20 42 6c |Copyrigh|t (C) Bl|
|00003980| 61 69 73 65 20 43 6f 6d | 70 75 74 69 6e 67 20 49 |aise Com|puting I|
|00003990| 6e 63 2e 20 31 39 38 36 | 0d 0a 2a 0d 0a 2a 20 56 |nc. 1986|..*..* V|
|000039a0| 65 72 73 69 6f 6e 09 33 | 2e 30 32 20 4d 61 72 63 |ersion.3|.02 Marc|
|000039b0| 68 20 32 33 2c 20 31 39 | 38 37 0d 0a 2a 09 09 46 |h 23, 19|87..*..F|
|000039c0| 6f 72 63 65 64 20 73 74 | 64 6f 75 74 20 61 6e 64 |orced st|dout and|
|000039d0| 20 73 74 64 65 72 72 20 | 74 6f 20 62 65 20 66 6c | stderr |to be fl|
|000039e0| 75 73 68 65 64 2e 0d 0a | 2a 0d 0a 2a 2a 2f 0d 0a |ushed...|*..**/..|
|000039f0| 0d 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 74 64 69 |..#inclu|de <stdi|
|00003a00| 6f 2e 68 3e 0d 0a 0d 0a | 23 69 6e 63 6c 75 64 65 |o.h>....|#include|
|00003a10| 20 3c 63 6f 6d 70 69 6c | 65 72 2e 68 3e 0d 0a 23 | <compil|er.h>..#|
|00003a20| 69 6e 63 6c 75 64 65 20 | 3c 62 61 70 70 6c 69 63 |include |<bapplic|
|00003a30| 2e 68 3e 0d 0a 0d 0a 23 | 69 66 20 4d 53 43 33 30 |.h>....#|if MSC30|
|00003a40| 30 0d 0a 23 69 6e 63 6c | 75 64 65 20 3c 69 6f 2e |0..#incl|ude <io.|
|00003a50| 68 3e 0d 0a 23 65 6c 73 | 65 0d 0a 23 69 6e 63 6c |h>..#els|e..#incl|
|00003a60| 75 64 65 20 3c 73 74 64 | 6c 69 62 2e 68 3e 0d 0a |ude <std|lib.h>..|
|00003a70| 23 65 6e 64 69 66 0d 0a | 0d 0a 23 64 65 66 69 6e |#endif..|..#defin|
|00003a80| 65 20 20 4f 4b 09 09 30 | 0d 0a 23 64 65 66 69 6e |e OK..0|..#defin|
|00003a90| 65 20 20 45 4e 44 5f 4f | 46 5f 46 49 4c 45 09 31 |e END_O|F_FILE.1|
|00003aa0| 0d 0a 23 64 65 66 69 6e | 65 20 20 45 52 52 4f 52 |..#defin|e ERROR|
|00003ab0| 09 09 32 0d 0a 0d 0a 69 | 6e 74 20 61 70 70 72 6f |..2....i|nt appro|
|00003ac0| 6d 70 74 28 70 70 72 6f | 6d 70 74 2c 70 72 65 73 |mpt(ppro|mpt,pres|
|00003ad0| 70 2c 72 65 73 70 5f 73 | 69 7a 65 29 0d 0a 63 68 |p,resp_s|ize)..ch|
|00003ae0| 61 72 20 2a 70 70 72 6f | 6d 70 74 2c 2a 70 72 65 |ar *ppro|mpt,*pre|
|00003af0| 73 70 3b 0d 0a 69 6e 74 | 20 20 72 65 73 70 5f 73 |sp;..int| resp_s|
|00003b00| 69 7a 65 3b 0d 0a 7b 0d | 0a 20 20 20 20 69 66 20 |ize;..{.|. if |
|00003b10| 28 69 73 61 74 74 79 28 | 28 69 6e 74 29 20 66 69 |(isatty(|(int) fi|
|00003b20| 6c 65 6e 6f 28 73 74 64 | 69 6e 29 29 29 0d 0a 20 |leno(std|in))).. |
|00003b30| 20 20 20 7b 0d 0a 09 66 | 66 6c 75 73 68 28 73 74 | {...f|flush(st|
|00003b40| 64 6f 75 74 29 3b 0d 0a | 09 66 70 75 74 73 28 70 |dout);..|.fputs(p|
|00003b50| 70 72 6f 6d 70 74 2c 73 | 74 64 65 72 72 29 3b 09 |prompt,s|tderr);.|
|00003b60| 20 20 20 20 20 20 2f 2a | 20 44 69 73 70 6c 61 79 | /*| Display|
|00003b70| 20 70 72 6f 6d 70 74 2e | 09 20 20 20 20 20 20 2a | prompt.|. *|
|00003b80| 2f 0d 0a 09 66 66 6c 75 | 73 68 28 73 74 64 65 72 |/...fflu|sh(stder|
|00003b90| 72 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 0d 0a 20 20 |r);.. | }.... |
|00003ba0| 20 20 69 66 20 28 66 67 | 65 74 73 28 70 72 65 73 | if (fg|ets(pres|
|00003bb0| 70 2c 72 65 73 70 5f 73 | 69 7a 65 2c 73 74 64 69 |p,resp_s|ize,stdi|
|00003bc0| 6e 29 20 3d 3d 20 4e 55 | 4c 4c 29 0d 0a 20 20 20 |n) == NU|LL).. |
|00003bd0| 20 7b 0d 0a 09 69 66 20 | 28 66 65 6f 66 28 73 74 | {...if |(feof(st|
|00003be0| 64 69 6e 29 29 0d 0a 09 | 20 20 20 20 72 65 74 75 |din))...| retu|
|00003bf0| 72 6e 20 45 4e 44 5f 4f | 46 5f 46 49 4c 45 3b 0d |rn END_O|F_FILE;.|
|00003c00| 0a 09 65 6c 73 65 0d 0a | 09 20 20 20 20 72 65 74 |..else..|. ret|
|00003c10| 75 72 6e 20 45 52 52 4f | 52 3b 0d 0a 20 20 20 20 |urn ERRO|R;.. |
|00003c20| 7d 0d 0a 20 20 20 20 72 | 65 74 75 72 6e 20 4f 4b |}.. r|eturn OK|
|00003c30| 3b 0d 0a 7d 0d 0a 1a 88 | 8d 0e 3c 05 0e 1f 00 00 |;..}....|..<.....|
|00003c40| 55 54 43 4f 44 50 54 52 | 43 20 20 20 00 00 00 00 |UTCODPTR|C ....|
|00003c50| 00 00 00 00 00 00 00 88 | 8d 0e 4c 05 74 06 00 00 |........|..L.t...|
|00003c60| 55 54 53 4c 45 45 50 20 | 43 20 20 20 00 00 00 00 |UTSLEEP |C ....|
|00003c70| 00 00 00 00 00 00 00 88 | 8d 0e 50 05 63 07 00 00 |........|..P.c...|
|00003c80| 55 54 53 50 4b 4f 4e 20 | 43 20 20 20 00 00 00 00 |UTSPKON |C ....|
|00003c90| 00 00 00 00 00 00 00 88 | 8d 0e 54 05 2e 08 00 00 |........|..T.....|
|00003ca0| 56 49 48 4f 52 49 5a 20 | 43 20 20 20 00 00 00 00 |VIHORIZ |C ....|
|00003cb0| 00 00 00 00 00 00 00 88 | 8d 0e 59 05 f6 0e 00 00 |........|..Y.....|
|00003cc0| 56 49 53 43 52 4f 4c 4c | 43 20 20 20 00 00 00 00 |VISCROLL|C ....|
|00003cd0| 00 00 00 00 00 00 00 88 | 8d 0e 61 05 88 0e 00 00 |........|..a.....|
|00003ce0| 57 4e 43 55 52 4d 4f 56 | 43 20 20 20 00 00 00 00 |WNCURMOV|C ....|
|00003cf0| 00 00 00 00 00 00 00 88 | 8d 0e 69 05 df 06 00 00 |........|..i.....|
|00003d00| 57 4e 44 53 50 4c 41 59 | 43 20 20 20 00 00 00 00 |WNDSPLAY|C ....|
|00003d10| 00 00 00 00 00 00 00 88 | 8d 0e 6d 05 0d 1d 00 00 |........|..m.....|
|00003d20| 57 4e 46 4f 52 47 45 54 | 43 20 20 20 00 00 00 00 |WNFORGET|C ....|
|00003d30| 00 00 00 00 00 00 00 88 | 8d 0e 7c 05 4a 0b 00 00 |........|..|.J...|
|00003d40| 57 4e 51 55 45 52 59 20 | 43 20 20 20 00 00 00 00 |WNQUERY |C ....|
|00003d50| 00 00 00 00 00 00 00 88 | 8d 0e 82 05 b7 1e 00 00 |........|........|
|00003d60| 57 4e 53 43 52 4f 4c 4c | 43 20 20 20 00 00 00 00 |WNSCROLL|C ....|
|00003d70| 00 00 00 00 00 00 00 88 | 8d 0e 92 05 c0 0f 00 00 |........|........|
|00003d80| 57 4e 53 45 4c 44 45 56 | 43 20 20 20 00 00 00 00 |WNSELDEV|C ....|
|00003d90| 00 00 00 00 00 00 00 88 | 8d 0e 9a 05 54 08 00 00 |........|....T...|
|00003da0| 57 4e 55 4e 48 49 44 45 | 43 20 20 20 00 00 00 00 |WNUNHIDE|C ....|
|00003db0| 00 00 00 00 00 00 00 88 | 8d 0e 9f 05 8b 13 00 00 |........|........|
|00003dc0| 57 4e 55 50 44 41 54 45 | 43 20 20 20 00 00 00 00 |WNUPDATE|C ....|
|00003dd0| 00 00 00 00 00 00 00 88 | 8d 0e a9 05 3b 0b 00 00 |........|....;...|
|00003de0| 57 4e 57 52 42 55 46 20 | 43 20 20 20 00 00 00 00 |WNWRBUF |C ....|
|00003df0| 00 00 00 00 00 00 00 88 | 8d 0e af 05 2c 1a 00 00 |........|....,...|
|00003e00| 2f 2a 2a 0d 0a 2a 0d 0a | 2a 20 4e 61 6d 65 09 09 |/**..*..|* Name..|
|00003e10| 61 70 71 75 65 72 79 20 | 2d 2d 20 52 65 61 64 20 |apquery |-- Read |
|00003e20| 72 65 73 70 6f 6e 73 65 | 20 66 72 6f 6d 20 43 4f |response| from CO|
|00003e30| 4e 3a 20 6b 65 79 62 6f | 61 72 64 2c 20 65 63 68 |N: keybo|ard, ech|
|00003e40| 6f 69 6e 67 0d 0a 2a 09 | 09 09 20 20 20 63 68 61 |oing..*.|.. cha|
|00003e50| 72 61 63 74 65 72 73 20 | 74 6f 20 74 68 65 20 61 |racters |to the a|
|00003e60| 63 74 69 76 65 20 70 61 | 67 65 20 6f 6e 20 74 68 |ctive pa|ge on th|
|00003e70| 65 20 63 75 72 72 65 6e | 74 0d 0a 2a 09 09 09 20 |e curren|t..*... |
|00003e80| 20 20 64 69 73 70 6c 61 | 79 20 64 65 76 69 63 65 | displa|y device|
|00003e90| 2e 0d 0a 2a 0d 0a 2a 20 | 53 79 6e 6f 70 73 69 73 |...*..* |Synopsis|
|00003ea0| 09 66 69 6e 61 6c 20 3d | 20 61 70 71 75 65 72 79 |.final =| apquery|
|00003eb0| 28 70 72 65 73 70 2c 72 | 65 73 70 5f 73 69 7a 65 |(presp,r|esp_size|
|00003ec0| 2c 70 73 63 61 6e 2c 70 | 6e 75 6d 5f 73 63 72 6f |,pscan,p|num_scro|
|00003ed0| 6c 6c 65 64 29 3b 0d 0a | 2a 0d 0a 2a 09 09 63 68 |lled);..|*..*..ch|
|00003ee0| 61 72 20 66 69 6e 61 6c | 09 43 68 61 72 61 63 74 |ar final|.Charact|
|00003ef0| 65 72 20 74 68 61 74 20 | 74 65 72 6d 69 6e 61 74 |er that |terminat|
|00003f00| 65 64 20 69 6e 70 75 74 | 2c 20 6f 72 0d 0a 2a 09 |ed input|, or..*.|
|00003f10| 09 09 09 4e 55 4c 20 28 | 27 5c 30 27 29 20 69 66 |...NUL (|'\0') if|
|00003f20| 20 61 6e 20 65 78 74 65 | 6e 64 65 64 20 6b 65 79 | an exte|nded key|
|00003f30| 0d 0a 2a 09 09 09 09 73 | 65 71 75 65 6e 63 65 20 |..*....s|equence |
|00003f40| 74 65 72 6d 69 6e 61 74 | 65 64 20 74 68 65 20 69 |terminat|ed the i|
|00003f50| 6e 70 75 74 2e 0d 0a 2a | 09 09 63 68 61 72 20 2a |nput...*|..char *|
|00003f60| 70 72 65 73 70 09 50 6f | 69 6e 74 65 72 20 74 6f |presp.Po|inter to|
|00003f70| 20 63 68 61 72 61 63 74 | 65 72 20 62 75 66 66 65 | charact|er buffe|
|00003f80| 72 20 69 6e 20 77 68 69 | 63 68 0d 0a 2a 09 09 09 |r in whi|ch..*...|
|00003f90| 09 74 6f 20 72 65 74 75 | 72 6e 20 72 65 73 70 6f |.to retu|rn respo|
|00003fa0| 6e 73 65 2e 0d 0a 2a 09 | 09 69 6e 74 20 20 72 65 |nse...*.|.int re|
|00003fb0| 73 70 5f 73 69 7a 65 09 | 53 69 7a 65 20 6f 66 20 |sp_size.|Size of |
|00003fc0| 69 6e 70 75 74 20 62 75 | 66 66 65 72 20 69 6e 20 |input bu|ffer in |
|00003fd0| 62 79 74 65 73 20 28 69 | 6e 63 6c 75 64 69 6e 67 |bytes (i|ncluding|
|00003fe0| 0d 0a 2a 09 09 09 09 6f | 6e 65 20 62 79 74 65 20 |..*....o|ne byte |
|00003ff0| 66 6f 72 20 74 68 65 20 | 74 72 61 69 6c 69 6e 67 |for the |trailing|
|00004000| 20 4e 55 4c 20 28 27 5c | 30 27 29 29 2e 0d 0a 2a | NUL ('\|0'))...*|
|00004010| 09 09 69 6e 74 20 20 2a | 70 73 63 61 6e 09 49 66 |..int *|pscan.If|
|00004020| 20 74 68 65 20 74 65 72 | 6d 69 6e 61 6c 20 63 68 | the ter|minal ch|
|00004030| 61 72 61 63 74 65 72 20 | 77 61 73 20 61 6e 20 41 |aracter |was an A|
|00004040| 53 43 49 49 0d 0a 2a 09 | 09 09 09 63 68 61 72 61 |SCII..*.|...chara|
|00004050| 63 74 65 72 2c 20 74 68 | 69 73 20 69 73 20 69 74 |cter, th|is is it|
|00004060| 73 20 76 61 6c 75 65 3b | 0d 0a 2a 09 09 09 09 69 |s value;|..*....i|
|00004070| 66 20 69 74 20 77 61 73 | 20 61 6e 20 65 78 74 65 |f it was| an exte|
|00004080| 6e 64 65 64 20 6b 65 79 | 0d 0a 2a 09 09 09 09 73 |nded key|..*....s|
|00004090| 65 71 75 65 6e 63 65 2c | 20 74 68 69 73 20 69 73 |equence,| this is|
|000040a0| 20 69 74 73 20 73 63 61 | 6e 20 63 6f 64 65 2e 0d | its sca|n code..|
|000040b0| 0a 2a 09 09 69 6e 74 20 | 20 2a 70 6e 75 6d 5f 73 |.*..int | *pnum_s|
|000040c0| 63 72 6f 6c 6c 65 64 0d | 0a 2a 09 09 09 09 4e 75 |crolled.|.*....Nu|
|000040d0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 74 68 |mber of |lines th|
|000040e0| 65 20 73 63 72 65 65 6e | 20 77 61 73 20 73 63 72 |e screen| was scr|
|000040f0| 6f 6c 6c 65 64 2e 0d 0a | 2a 0d 0a 2a 20 44 65 73 |olled...|*..* Des|
|00004100| 63 72 69 70 74 69 6f 6e | 09 54 68 69 73 20 66 75 |cription|.This fu|
|00004110| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 73 20 61 |nction r|eturns a|
|00004120| 20 73 74 72 69 6e 67 20 | 6f 66 20 6b 65 79 73 74 | string |of keyst|
|00004130| 72 6f 6b 65 73 20 66 72 | 6f 6d 20 74 68 65 0d 0a |rokes fr|om the..|
|00004140| 2a 09 09 75 73 65 72 2c | 20 65 63 68 6f 69 6e 67 |*..user,| echoing|
|00004150| 20 6b 65 79 73 74 72 6f | 6b 65 73 20 61 6e 64 20 | keystro|kes and |
|00004160| 63 6f 6e 66 69 6e 69 6e | 67 20 61 6c 6c 20 49 2f |confinin|g all I/|
|00004170| 4f 20 74 6f 20 74 68 65 | 0d 0a 2a 09 09 61 63 74 |O to the|..*..act|
|00004180| 69 76 65 20 70 61 67 65 | 20 6f 6e 20 74 68 65 20 |ive page| on the |
|00004190| 63 75 72 72 65 6e 74 20 | 64 69 73 70 6c 61 79 20 |current |display |
|000041a0| 64 65 76 69 63 65 2e 0d | 0a 2a 0d 0a 2a 09 09 54 |device..|.*..*..T|
|000041b0| 68 65 20 75 73 65 72 20 | 6d 61 79 20 74 79 70 65 |he user |may type|
|000041c0| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 73 20 75 | charact|ers as u|
|000041d0| 73 75 61 6c 2c 20 74 65 | 72 6d 69 6e 61 74 69 6e |sual, te|rminatin|
|000041e0| 67 20 74 68 65 0d 0a 2a | 09 09 69 6e 70 75 74 20 |g the..*|..input |
|000041f0| 62 79 20 6f 6e 65 20 6f | 66 20 74 68 65 20 66 6f |by one o|f the fo|
|00004200| 6c 6c 6f 77 69 6e 67 3a | 09 45 4e 54 45 52 2c 20 |llowing:|.ENTER, |
|00004210| 43 54 52 4c 2d 4d 2c 20 | 43 54 52 4c 2d 4a 2c 0d |CTRL-M, |CTRL-J,.|
|00004220| 0a 2a 09 09 6f 72 20 61 | 20 66 75 6e 63 74 69 6f |.*..or a| functio|
|00004230| 6e 20 6b 65 79 20 6f 72 | 20 6f 74 68 65 72 20 65 |n key or| other e|
|00004240| 78 74 65 6e 64 65 64 20 | 6b 65 79 20 73 65 71 75 |xtended |key sequ|
|00004250| 65 6e 63 65 2e 20 20 54 | 68 65 0d 0a 2a 09 09 63 |ence. T|he..*..c|
|00004260| 68 61 72 61 63 74 65 72 | 73 20 61 72 65 20 65 63 |haracter|s are ec|
|00004270| 68 6f 65 64 20 61 6e 64 | 20 74 68 65 20 63 75 72 |hoed and| the cur|
|00004280| 73 6f 72 20 6d 6f 76 65 | 73 20 61 63 72 6f 73 73 |sor move|s across|
|00004290| 20 74 68 65 0d 0a 2a 09 | 09 73 63 72 65 65 6e 2e | the..*.|.screen.|
|000042a0| 20 20 57 68 65 6e 20 74 | 68 65 20 72 69 67 68 74 | When t|he right|
|000042b0| 6d 6f 73 74 20 63 6f 6c | 75 6d 6e 20 6f 66 20 74 |most col|umn of t|
|000042c0| 68 65 20 73 63 72 65 65 | 6e 20 69 73 0d 0a 2a 09 |he scree|n is..*.|
|000042d0| 09 72 65 61 63 68 65 64 | 2c 20 74 68 65 20 63 75 |.reached|, the cu|
|000042e0| 72 73 6f 72 20 6d 6f 76 | 65 73 20 74 6f 20 74 68 |rsor mov|es to th|
|000042f0| 65 20 6e 65 78 74 20 72 | 6f 77 2c 20 65 78 63 65 |e next r|ow, exce|
|00004300| 70 74 20 74 68 61 74 0d | 0a 2a 09 09 74 68 65 20 |pt that.|.*..the |
|00004310| 73 63 72 65 65 6e 20 69 | 73 20 73 63 72 6f 6c 6c |screen i|s scroll|
|00004320| 65 64 20 77 68 65 6e 20 | 74 68 65 20 6c 6f 77 65 |ed when |the lowe|
|00004330| 72 20 72 69 67 68 74 20 | 63 6f 72 6e 65 72 20 6f |r right |corner o|
|00004340| 66 0d 0a 2a 09 09 74 68 | 65 20 73 63 72 65 65 6e |f..*..th|e screen|
|00004350| 20 69 73 20 72 65 61 63 | 68 65 64 2e 09 54 68 65 | is reac|hed..The|
|00004360| 20 69 6e 70 75 74 20 73 | 74 6f 70 73 20 77 68 65 | input s|tops whe|
|00004370| 6e 20 74 68 65 20 62 75 | 66 66 65 72 0d 0a 2a 09 |n the bu|ffer..*.|
|00004380| 09 69 73 20 66 75 6c 6c | 2e 0d 0a 2a 0d 0a 2a 09 |.is full|...*..*.|
|00004390| 09 4f 6e 63 65 20 74 68 | 65 20 69 6e 70 75 74 20 |.Once th|e input |
|000043a0| 62 75 66 66 65 72 20 69 | 73 20 66 75 6c 6c 2c 20 |buffer i|s full, |
|000043b0| 74 68 65 20 63 75 72 73 | 6f 72 20 72 65 6d 61 69 |the curs|or remai|
|000043c0| 6e 73 20 6a 75 73 74 0d | 0a 2a 09 09 61 66 74 65 |ns just.|.*..afte|
|000043d0| 72 20 74 68 65 20 6c 61 | 73 74 20 72 65 73 70 6f |r the la|st respo|
|000043e0| 6e 73 65 20 63 68 61 72 | 61 63 74 65 72 2e 20 20 |nse char|acter. |
|000043f0| 46 75 72 74 68 65 72 20 | 6b 65 79 73 74 72 6f 6b |Further |keystrok|
|00004400| 65 73 0d 0a 2a 09 09 28 | 65 78 63 65 70 74 20 66 |es..*..(|except f|
|00004410| 6f 72 20 62 61 63 6b 73 | 70 61 63 65 20 61 6e 64 |or backs|pace and|
|00004420| 20 74 65 72 6d 69 6e 61 | 74 69 6e 67 20 6b 65 79 | termina|ting key|
|00004430| 73 29 20 63 61 75 73 65 | 20 62 65 65 70 73 0d 0a |s) cause| beeps..|
|00004440| 2a 09 09 61 6e 64 20 61 | 72 65 20 64 69 73 63 61 |*..and a|re disca|
|00004450| 72 64 65 64 2e 20 20 42 | 61 63 6b 73 70 61 63 65 |rded. B|ackspace|
|00004460| 20 77 6f 72 6b 73 20 61 | 73 20 75 73 75 61 6c 2e | works a|s usual.|
|00004470| 20 20 54 68 65 0d 0a 2a | 09 09 66 75 6e 63 74 69 | The..*|..functi|
|00004480| 6f 6e 20 64 6f 65 73 20 | 6e 6f 74 20 72 65 74 75 |on does |not retu|
|00004490| 72 6e 20 75 6e 74 69 6c | 20 45 4e 54 45 52 20 6f |rn until| ENTER o|
|000044a0| 72 20 61 6e 6f 74 68 65 | 72 0d 0a 2a 09 09 74 65 |r anothe|r..*..te|
|000044b0| 72 6d 69 6e 61 74 69 6e | 67 20 6b 65 79 20 68 61 |rminatin|g key ha|
|000044c0| 73 20 62 65 65 6e 20 70 | 72 65 73 73 65 64 20 28 |s been p|ressed (|
|000044d0| 65 76 65 6e 20 69 66 20 | 74 68 65 20 62 75 66 66 |even if |the buff|
|000044e0| 65 72 20 69 73 0d 0a 2a | 09 09 66 75 6c 6c 29 2e |er is..*|..full).|
|000044f0| 0d 0a 2a 0d 0a 2a 09 09 | 54 68 65 20 74 65 72 6d |..*..*..|The term|
|00004500| 69 6e 61 74 69 6e 67 20 | 63 68 61 72 61 63 74 65 |inating |characte|
|00004510| 72 20 69 73 20 6e 6f 74 | 20 72 65 74 75 72 6e 65 |r is not| returne|
|00004520| 64 20 61 73 20 70 61 72 | 74 20 6f 66 20 74 68 65 |d as par|t of the|
|00004530| 0d 0a 2a 09 09 69 6e 70 | 75 74 2e 09 49 66 20 74 |..*..inp|ut..If t|
|00004540| 68 65 20 74 65 72 6d 69 | 6e 61 74 69 6e 67 20 63 |he termi|nating c|
|00004550| 68 61 72 61 63 74 65 72 | 20 69 73 20 61 6e 20 41 |haracter| is an A|
|00004560| 53 43 49 49 0d 0a 2a 09 | 09 63 68 61 72 61 63 74 |SCII..*.|.charact|
|00004570| 65 72 2c 20 69 74 73 20 | 76 61 6c 75 65 20 69 73 |er, its |value is|
|00004580| 20 72 65 74 75 72 6e 65 | 64 20 69 6e 20 2a 70 73 | returne|d in *ps|
|00004590| 63 61 6e 20 61 6e 64 20 | 61 73 20 74 68 65 0d 0a |can and |as the..|
|000045a0| 2a 09 09 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |*..value| of the |
|000045b0| 66 75 6e 63 74 69 6f 6e | 3b 20 69 66 20 69 74 20 |function|; if it |
|000045c0| 77 61 73 20 61 6e 20 65 | 78 74 65 6e 64 65 64 20 |was an e|xtended |
|000045d0| 6b 65 79 0d 0a 2a 09 09 | 73 65 71 75 65 6e 63 65 |key..*..|sequence|
|000045e0| 2c 20 69 74 73 20 73 63 | 61 6e 20 63 6f 64 65 20 |, its sc|an code |
|000045f0| 69 73 20 72 65 74 75 72 | 6e 65 64 20 69 6e 20 2a |is retur|ned in *|
|00004600| 70 73 63 61 6e 20 61 6e | 64 20 74 68 65 0d 0a 2a |pscan an|d the..*|
|00004610| 09 09 76 61 6c 75 65 20 | 6f 66 20 74 68 65 20 66 |..value |of the f|
|00004620| 75 6e 63 74 69 6f 6e 20 | 69 73 20 7a 65 72 6f 2e |unction |is zero.|
|00004630| 0d 0a 2a 0d 0a 2a 20 53 | 70 65 63 69 61 6c 09 54 |..*..* S|pecial.T|
|00004640| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6b 65 79 |he follo|wing key|
|00004650| 73 74 72 6f 6b 65 73 20 | 68 61 76 65 20 73 70 65 |strokes |have spe|
|00004660| 63 69 61 6c 20 65 66 66 | 65 63 74 73 20 77 68 65 |cial eff|ects whe|
|00004670| 6e 0d 0a 2a 20 63 68 61 | 72 61 63 74 65 72 73 09 |n..* cha|racters.|
|00004680| 65 6e 74 65 72 65 64 20 | 61 73 20 70 61 72 74 20 |entered |as part |
|00004690| 6f 66 20 74 68 65 20 72 | 65 73 70 6f 6e 73 65 3a |of the r|esponse:|
|000046a0| 0d 0a 2a 0d 0a 2a 09 09 | 42 61 63 6b 73 70 61 63 |..*..*..|Backspac|
|000046b0| 65 20 6f 72 20 43 54 52 | 4c 2d 48 20 28 27 5c 62 |e or CTR|L-H ('\b|
|000046c0| 27 29 20 64 65 6c 65 74 | 65 73 20 74 68 65 20 70 |') delet|es the p|
|000046d0| 72 65 76 69 6f 75 73 0d | 0a 2a 09 09 63 68 61 72 |revious.|.*..char|
|000046e0| 61 63 74 65 72 20 65 6e | 74 65 72 65 64 20 61 6e |acter en|tered an|
|000046f0| 64 20 6d 6f 76 65 73 20 | 74 68 65 20 63 75 72 73 |d moves |the curs|
|00004700| 6f 72 20 74 6f 20 74 68 | 61 74 0d 0a 2a 09 09 63 |or to th|at..*..c|
|00004710| 68 61 72 61 63 74 65 72 | 27 73 20 6c 6f 63 61 74 |haracter|'s locat|
|00004720| 69 6f 6e 2e 20 20 41 20 | 62 61 63 6b 73 70 61 63 |ion. A |backspac|
|00004730| 65 20 61 74 20 74 68 65 | 20 62 65 67 69 6e 6e 69 |e at the| beginni|
|00004740| 6e 67 20 6f 66 0d 0a 2a | 09 09 74 68 65 20 72 65 |ng of..*|..the re|
|00004750| 73 70 6f 6e 73 65 20 68 | 61 73 20 6e 6f 20 65 66 |sponse h|as no ef|
|00004760| 66 65 63 74 2e 0d 0a 2a | 0d 0a 2a 09 09 45 4e 54 |fect...*|..*..ENT|
|00004770| 45 52 20 6f 72 20 43 54 | 52 4c 2d 4d 20 28 27 5c |ER or CT|RL-M ('\|
|00004780| 31 35 27 29 20 74 65 72 | 6d 69 6e 61 74 65 73 20 |15') ter|minates |
|00004790| 74 68 65 20 72 65 73 70 | 6f 6e 73 65 2e 0d 0a 2a |the resp|onse...*|
|000047a0| 0d 0a 2a 09 09 43 54 52 | 4c 2d 4a 20 28 27 5c 31 |..*..CTR|L-J ('\1|
|000047b0| 32 27 29 20 74 65 72 6d | 69 6e 61 74 65 73 20 74 |2') term|inates t|
|000047c0| 68 65 20 72 65 73 70 6f | 6e 73 65 2e 0d 0a 2a 0d |he respo|nse...*.|
|000047d0| 0a 2a 09 09 4e 55 4c 73 | 20 28 41 53 43 49 49 20 |.*..NULs| (ASCII |
|000047e0| 30 29 20 61 72 65 20 69 | 67 6e 6f 72 65 64 20 61 |0) are i|gnored a|
|000047f0| 6e 64 20 64 69 73 63 61 | 72 64 65 64 2e 0d 0a 2a |nd disca|rded...*|
|00004800| 0d 0a 2a 09 09 54 41 42 | 20 6f 72 20 43 54 52 4c |..*..TAB| or CTRL|
|00004810| 2d 49 20 28 27 5c 39 27 | 29 20 69 73 20 65 63 68 |-I ('\9'|) is ech|
|00004820| 6f 65 64 20 61 73 20 6f | 6e 65 20 6f 72 20 6d 6f |oed as o|ne or mo|
|00004830| 72 65 20 62 6c 61 6e 6b | 0d 0a 2a 09 09 73 70 61 |re blank|..*..spa|
|00004840| 63 65 73 20 61 73 20 75 | 73 75 61 6c 2e 20 20 54 |ces as u|sual. T|
|00004850| 68 65 20 54 41 42 20 63 | 68 61 72 61 63 74 65 72 |he TAB c|haracter|
|00004860| 20 69 73 20 72 65 74 75 | 72 6e 65 64 20 69 6e 20 | is retu|rned in |
|00004870| 74 68 65 0d 0a 2a 09 09 | 62 75 66 66 65 72 2e 0d |the..*..|buffer..|
|00004880| 0a 2a 0d 0a 2a 09 09 43 | 54 52 4c 2d 47 20 63 61 |.*..*..C|TRL-G ca|
|00004890| 75 73 65 73 20 61 20 62 | 65 65 70 20 62 75 74 20 |uses a b|eep but |
|000048a0| 69 73 20 6e 6f 74 20 72 | 65 74 75 72 6e 65 64 20 |is not r|eturned |
|000048b0| 61 73 20 70 61 72 74 20 | 6f 66 20 74 68 65 0d 0a |as part |of the..|
|000048c0| 2a 09 09 72 65 73 70 6f | 6e 73 65 2e 0d 0a 2a 0d |*..respo|nse...*.|
|000048d0| 0a 2a 09 09 53 70 65 63 | 69 61 6c 20 6e 6f 6e 2d |.*..Spec|ial non-|
|000048e0| 41 53 43 49 49 20 49 42 | 4d 20 6b 65 79 73 20 28 |ASCII IB|M keys (|
|000048f0| 73 75 63 68 20 61 73 20 | 66 75 6e 63 74 69 6f 6e |such as |function|
|00004900| 20 6b 65 79 73 20 61 6e | 64 0d 0a 2a 09 09 73 6f | keys an|d..*..so|
|00004910| 6d 65 20 41 4c 54 20 6b | 65 79 73 29 20 74 65 72 |me ALT k|eys) ter|
|00004920| 6d 69 6e 61 74 65 20 74 | 68 65 20 72 65 73 70 6f |minate t|he respo|
|00004930| 6e 73 65 2e 0d 0a 2a 0d | 0a 2a 09 09 41 6c 6c 20 |nse...*.|.*..All |
|00004940| 6f 74 68 65 72 20 41 53 | 43 49 49 20 63 68 61 72 |other AS|CII char|
|00004950| 61 63 74 65 72 73 2c 20 | 69 6e 63 6c 75 64 69 6e |acters, |includin|
|00004960| 67 20 63 6f 6e 74 72 6f | 6c 0d 0a 2a 09 09 63 68 |g contro|l..*..ch|
|00004970| 61 72 61 63 74 65 72 73 | 2c 20 61 72 65 20 65 63 |aracters|, are ec|
|00004980| 68 6f 65 64 2e 20 20 28 | 43 6f 6e 74 72 6f 6c 20 |hoed. (|Control |
|00004990| 63 68 61 72 61 63 74 65 | 72 73 20 61 72 65 20 65 |characte|rs are e|
|000049a0| 63 68 6f 65 64 0d 0a 2a | 09 09 61 73 20 74 68 65 |choed..*|..as the|
|000049b0| 6d 73 65 6c 76 65 73 2c | 20 74 68 61 74 20 69 73 |mselves,| that is|
|000049c0| 2c 20 77 69 74 68 6f 75 | 74 20 61 6e 20 75 70 61 |, withou|t an upa|
|000049d0| 72 72 6f 77 20 28 27 5e | 27 29 0d 0a 2a 09 09 70 |rrow ('^|')..*..p|
|000049e0| 72 65 66 69 78 2e 29 0d | 0a 2a 0d 0a 2a 20 52 65 |refix.).|.*..* Re|
|000049f0| 74 75 72 6e 73 09 66 69 | 6e 61 6c 09 09 43 68 61 |turns.fi|nal..Cha|
|00004a00| 72 61 63 74 65 72 20 74 | 68 61 74 20 74 65 72 6d |racter t|hat term|
|00004a10| 69 6e 61 74 65 64 20 69 | 6e 70 75 74 2c 20 6f 72 |inated i|nput, or|
|00004a20| 0d 0a 2a 09 09 09 09 4e | 55 4c 20 28 27 5c 30 27 |..*....N|UL ('\0'|
|00004a30| 29 20 69 66 20 61 6e 20 | 65 78 74 65 6e 64 65 64 |) if an |extended|
|00004a40| 20 6b 65 79 0d 0a 2a 09 | 09 09 09 73 65 71 75 65 | key..*.|...seque|
|00004a50| 6e 63 65 20 74 65 72 6d | 69 6e 61 74 65 64 20 74 |nce term|inated t|
|00004a60| 68 65 20 69 6e 70 75 74 | 2e 0d 0a 2a 09 09 2a 70 |he input|...*..*p|
|00004a70| 73 63 61 6e 09 09 41 53 | 43 49 49 20 63 6f 64 65 |scan..AS|CII code|
|00004a80| 20 6f 72 20 65 78 74 65 | 6e 64 65 64 20 63 6f 64 | or exte|nded cod|
|00004a90| 65 20 6f 66 0d 0a 2a 09 | 09 09 09 6b 65 79 73 74 |e of..*.|...keyst|
|00004aa0| 72 6f 6b 65 20 74 68 61 | 74 20 74 65 72 6d 69 6e |roke tha|t termin|
|00004ab0| 61 74 65 64 20 69 6e 70 | 75 74 2e 0d 0a 2a 09 09 |ated inp|ut...*..|
|00004ac0| 2a 70 72 65 73 70 09 09 | 55 73 65 72 27 73 20 72 |*presp..|User's r|
|00004ad0| 65 73 70 6f 6e 73 65 20 | 61 73 20 61 20 73 74 72 |esponse |as a str|
|00004ae0| 69 6e 67 2e 0d 0a 2a 0d | 0a 2a 20 56 65 72 73 69 |ing...*.|.* Versi|
|00004af0| 6f 6e 09 33 2e 30 20 43 | 6f 70 79 72 69 67 68 74 |on.3.0 C|opyright|
|00004b00| 20 28 43 29 20 42 6c 61 | 69 73 65 20 43 6f 6d 70 | (C) Bla|ise Comp|
|00004b10| 75 74 69 6e 67 20 49 6e | 63 2e 20 31 39 38 36 0d |uting In|c. 1986.|
|00004b20| 0a 2a 0d 0a 2a 2a 2f 0d | 0a 0d 0a 23 69 6e 63 6c |.*..**/.|...#incl|
|00004b30| 75 64 65 20 3c 62 61 70 | 70 6c 69 63 2e 68 3e 0d |ude <bap|plic.h>.|
|00004b40| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 62 6b 65 79 62 |.#includ|e <bkeyb|
|00004b50| 64 2e 68 3e 0d 0a 23 69 | 6e 63 6c 75 64 65 20 3c |d.h>..#i|nclude <|
|00004b60| 62 73 63 72 65 65 6e 2e | 68 3e 0d 0a 0d 0a 23 64 |bscreen.|h>....#d|
|00004b70| 65 66 69 6e 65 20 20 42 | 45 4c 09 20 20 20 20 20 |efine B|EL. |
|00004b80| 37 09 20 20 20 20 20 20 | 2f 2a 20 42 65 6c 6c 09 |7. |/* Bell.|
|00004b90| 20 20 20 28 43 54 52 4c | 2d 47 29 09 09 20 20 20 | (CTRL|-G).. |
|00004ba0| 20 20 20 2a 2f 0d 0a 23 | 64 65 66 69 6e 65 20 20 | */..#|define |
|00004bb0| 42 53 09 20 20 20 20 20 | 38 09 20 20 20 20 20 20 |BS. |8. |
|00004bc0| 2f 2a 20 42 61 63 6b 73 | 70 61 63 65 20 28 43 54 |/* Backs|pace (CT|
|00004bd0| 52 4c 2d 48 29 09 09 20 | 20 20 20 20 20 2a 2f 0d |RL-H).. | */.|
|00004be0| 0a 23 64 65 66 69 6e 65 | 20 20 54 41 42 09 20 20 |.#define| TAB. |
|00004bf0| 20 20 20 39 09 20 20 20 | 20 20 20 2f 2a 20 54 61 | 9. | /* Ta|
|00004c00| 62 09 20 20 20 28 43 54 | 52 4c 2d 49 29 09 09 20 |b. (CT|RL-I).. |
|00004c10| 20 20 20 20 20 2a 2f 0d | 0a 23 64 65 66 69 6e 65 | */.|.#define|
|00004c20| 20 20 4c 46 09 20 20 20 | 20 31 30 09 20 20 20 20 | LF. | 10. |
|00004c30| 20 20 2f 2a 20 4c 69 6e | 65 20 66 65 65 64 20 28 | /* Lin|e feed (|
|00004c40| 43 54 52 4c 2d 4a 29 09 | 09 20 20 20 20 20 20 2a |CTRL-J).|. *|
|00004c50| 2f 0d 0a 23 64 65 66 69 | 6e 65 20 20 45 4e 54 45 |/..#defi|ne ENTE|
|00004c60| 52 09 20 20 20 20 31 33 | 09 20 20 20 20 20 20 2f |R. 13|. /|
|00004c70| 2a 20 45 4e 54 45 52 20 | 6f 72 20 63 61 72 72 69 |* ENTER |or carri|
|00004c80| 61 67 65 20 72 65 74 75 | 72 6e 20 28 43 54 52 4c |age retu|rn (CTRL|
|00004c90| 2d 4d 29 20 20 20 20 2a | 2f 0d 0a 23 64 65 66 69 |-M) *|/..#defi|
|00004ca0| 6e 65 20 20 43 52 09 20 | 20 20 20 31 33 0d 0a 0d |ne CR. | 13...|
|00004cb0| 0a 23 64 65 66 69 6e 65 | 20 20 54 41 42 5f 57 49 |.#define| TAB_WI|
|00004cc0| 44 54 48 20 20 20 38 09 | 20 20 20 20 20 20 2f 2a |DTH 8.| /*|
|00004cd0| 20 44 69 73 74 61 6e 63 | 65 20 62 65 74 77 65 65 | Distanc|e betwee|
|00004ce0| 6e 20 74 61 62 20 73 74 | 6f 70 73 20 28 66 6f 72 |n tab st|ops (for|
|00004cf0| 20 20 20 20 20 20 2a 2f | 0d 0a 09 09 09 20 20 20 | */|..... |
|00004d00| 20 20 20 2f 2a 20 65 63 | 68 6f 69 6e 67 20 54 41 | /* ec|hoing TA|
|00004d10| 42 20 63 68 61 72 61 63 | 74 65 72 73 29 09 20 20 |B charac|ters). |
|00004d20| 20 20 20 20 2a 2f 0d 0a | 0d 0a 63 68 61 72 20 61 | */..|..char a|
|00004d30| 70 71 75 65 72 79 28 70 | 72 65 73 70 2c 72 65 73 |pquery(p|resp,res|
|00004d40| 70 5f 73 69 7a 65 2c 70 | 73 63 61 6e 2c 70 6e 75 |p_size,p|scan,pnu|
|00004d50| 6d 5f 73 63 72 6f 6c 6c | 65 64 29 0d 0a 63 68 61 |m_scroll|ed)..cha|
|00004d60| 72 20 2a 70 72 65 73 70 | 3b 0d 0a 69 6e 74 20 20 |r *presp|;..int |
|00004d70| 72 65 73 70 5f 73 69 7a | 65 2c 2a 70 73 63 61 6e |resp_siz|e,*pscan|
|00004d80| 2c 2a 70 6e 75 6d 5f 73 | 63 72 6f 6c 6c 65 64 3b |,*pnum_s|crolled;|
|00004d90| 0d 0a 7b 0d 0a 20 20 20 | 20 69 6e 74 20 20 6f 6c |..{.. | int ol|
|00004da0| 64 5f 70 61 67 65 2c 6d | 6f 64 65 2c 63 6f 6c 75 |d_page,m|ode,colu|
|00004db0| 6d 6e 73 2c 61 63 74 5f | 70 61 67 65 3b 0d 0a 20 |mns,act_|page;.. |
|00004dc0| 20 20 20 63 68 61 72 20 | 63 68 3b 0d 0a 20 20 20 | char |ch;.. |
|00004dd0| 20 69 6e 74 20 20 69 73 | 5f 63 68 61 72 3b 0d 0a | int is|_char;..|
|00004de0| 20 20 20 20 69 6e 74 20 | 20 72 6f 77 2c 63 6f 6c | int | row,col|
|00004df0| 2c 62 65 67 69 6e 5f 72 | 6f 77 2c 62 65 67 69 6e |,begin_r|ow,begin|
|00004e00| 5f 63 6f 6c 3b 0d 0a 20 | 20 20 20 69 6e 74 20 20 |_col;.. | int |
|00004e10| 6e 75 6d 5f 68 61 76 65 | 20 3d 20 30 3b 0d 0a 20 |num_have| = 0;.. |
|00004e20| 20 20 20 63 68 61 72 20 | 2a 70 62 65 67 69 6e 20 | char |*pbegin |
|00004e30| 20 3d 20 70 72 65 73 70 | 3b 0d 0a 20 20 20 20 63 | = presp|;.. c|
|00004e40| 68 61 72 20 2a 70 74 65 | 6d 70 3b 0d 0a 0d 0a 20 |har *pte|mp;.... |
|00004e50| 20 20 20 6f 6c 64 5f 70 | 61 67 65 20 3d 20 62 5f | old_p|age = b_|
|00004e60| 63 75 72 70 61 67 65 3b | 09 20 20 20 20 20 20 2f |curpage;|. /|
|00004e70| 2a 20 53 61 76 65 20 66 | 6f 72 6d 65 72 20 64 69 |* Save f|ormer di|
|00004e80| 73 70 6c 61 79 20 70 61 | 67 65 2e 20 20 20 20 2a |splay pa|ge. *|
|00004e90| 2f 0d 0a 20 20 20 20 73 | 63 6d 6f 64 65 28 26 6d |/.. s|cmode(&m|
|00004ea0| 6f 64 65 2c 26 63 6f 6c | 75 6d 6e 73 2c 26 61 63 |ode,&col|umns,&ac|
|00004eb0| 74 5f 70 61 67 65 29 3b | 0d 0a 20 20 20 20 73 63 |t_page);|.. sc|
|00004ec0| 70 61 67 65 28 61 63 74 | 5f 70 61 67 65 29 3b 09 |page(act|_page);.|
|00004ed0| 09 20 20 20 20 20 20 2f | 2a 20 44 69 72 65 63 74 |. /|* Direct|
|00004ee0| 20 49 2f 4f 20 74 6f 20 | 61 63 74 69 76 65 20 70 | I/O to |active p|
|00004ef0| 61 67 65 2e 20 20 20 2a | 2f 0d 0a 0d 0a 20 20 20 |age. *|/.... |
|00004f00| 20 2a 70 6e 75 6d 5f 73 | 63 72 6f 6c 6c 65 64 20 | *pnum_s|crolled |
|00004f10| 3d 0d 0a 20 20 20 20 6e | 75 6d 5f 68 61 76 65 09 |=.. n|um_have.|
|00004f20| 20 20 20 3d 20 30 3b 0d | 0a 20 20 20 20 73 63 63 | = 0;.|. scc|
|00004f30| 75 72 70 6f 73 28 26 62 | 65 67 69 6e 5f 72 6f 77 |urpos(&b|egin_row|
|00004f40| 2c 26 62 65 67 69 6e 5f | 63 6f 6c 29 3b 0d 0a 20 |,&begin_|col);.. |
|00004f50| 20 20 20 72 6f 77 20 09 | 20 20 20 3d 20 62 65 67 | row .| = beg|
|00004f60| 69 6e 5f 72 6f 77 3b 0d | 0a 20 20 20 20 63 6f 6c |in_row;.|. col|
|00004f70| 20 09 20 20 20 3d 20 62 | 65 67 69 6e 5f 63 6f 6c | . = b|egin_col|
|00004f80| 3b 0d 0a 0d 0a 20 20 20 | 20 64 6f 09 09 09 09 20 |;.... | do.... |
|00004f90| 20 20 20 20 20 2f 2a 20 | 43 6f 6c 6c 65 63 74 20 | /* |Collect |
|00004fa0| 74 68 65 20 72 65 73 70 | 6f 6e 73 65 2e 09 20 20 |the resp|onse.. |
|00004fb0| 20 20 20 20 2a 2f 0d 0a | 20 20 20 20 7b 0d 0a 09 | */..| {...|
|00004fc0| 09 09 09 20 20 20 20 20 | 20 2f 2a 20 41 77 61 69 |... | /* Awai|
|00004fd0| 74 20 61 20 6b 65 79 73 | 74 72 6f 6b 65 2e 09 20 |t a keys|troke.. |
|00004fe0| 20 20 20 20 20 2a 2f 0d | 0a 09 69 66 20 28 69 73 | */.|..if (is|
|00004ff0| 5f 63 68 61 72 20 3d 20 | 6b 62 69 6e 28 70 73 63 |_char = |kbin(psc|
|00005000| 61 6e 29 29 0d 0a 09 7b | 09 09 09 20 20 20 20 20 |an))...{|... |
|00005010| 20 2f 2a 20 47 6f 74 20 | 61 6e 20 41 53 43 49 49 | /* Got |an ASCII|
|00005020| 20 63 68 61 72 61 63 74 | 65 72 2e 20 20 20 20 20 | charact|er. |
|00005030| 20 2a 2f 0d 0a 0d 0a 09 | 20 20 20 20 73 77 69 74 | */.....| swit|
|00005040| 63 68 20 28 63 68 20 3d | 20 28 63 68 61 72 29 20 |ch (ch =| (char) |
|00005050| 2a 70 73 63 61 6e 29 0d | 0a 09 20 20 20 20 7b 0d |*pscan).|.. {.|
|00005060| 0a 09 09 63 61 73 65 20 | 4c 46 3a 0d 0a 09 09 63 |...case |LF:....c|
|00005070| 61 73 65 20 45 4e 54 45 | 52 3a 0d 0a 09 09 20 20 |ase ENTE|R:.... |
|00005080| 20 20 62 72 65 61 6b 3b | 09 20 20 20 20 20 20 2f | break;|. /|
|00005090| 2a 20 54 68 69 73 20 69 | 73 20 61 20 74 65 72 6d |* This i|s a term|
|000050a0| 69 6e 61 74 69 6e 67 09 | 20 20 20 20 20 20 2a 2f |inating.| */|
|000050b0| 0d 0a 09 09 09 09 20 20 | 20 20 20 20 2f 2a 20 63 |...... | /* c|
|000050c0| 68 61 72 61 63 74 65 72 | 3a 20 20 68 61 6e 64 6c |haracter|: handl|
|000050d0| 65 20 69 74 20 61 74 20 | 20 20 20 20 2a 2f 0d 0a |e it at | */..|
|000050e0| 09 09 09 09 20 20 20 20 | 20 20 2f 2a 20 6c 6f 6f |.... | /* loo|
|000050f0| 70 20 65 78 69 74 2e 09 | 09 20 20 20 20 20 20 2a |p exit..|. *|
|00005100| 2f 0d 0a 0d 0a 09 09 63 | 61 73 65 20 27 5c 30 27 |/......c|ase '\0'|
|00005110| 3a 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 |: | /* |
|00005120| 49 67 6e 6f 72 65 20 4e | 55 4c 73 2e 20 20 20 20 |Ignore N|ULs. |
|00005130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2f 0d | | */.|
|00005140| 0a 09 09 20 20 20 20 62 | 72 65 61 6b 3b 0d 0a 0d |... b|reak;...|
|00005150| 0a 09 09 63 61 73 65 20 | 42 45 4c 3a 09 20 20 20 |...case |BEL:. |
|00005160| 20 20 20 2f 2a 20 42 45 | 4c 3a 20 20 6a 75 73 74 | /* BE|L: just|
|00005170| 20 62 65 65 70 2e 09 20 | 20 20 20 20 20 2a 2f 0d | beep.. | */.|
|00005180| 0a 09 09 20 20 20 20 73 | 63 74 74 79 77 72 74 28 |... s|cttywrt(|
|00005190| 28 63 68 61 72 29 20 42 | 45 4c 2c 31 29 3b 0d 0a |(char) B|EL,1);..|
|000051a0| 09 09 20 20 20 20 62 72 | 65 61 6b 3b 0d 0a 0d 0a |.. br|eak;....|
|000051b0| 09 09 64 65 66 61 75 6c | 74 3a 0d 0a 09 09 20 20 |..defaul|t:.... |
|000051c0| 20 20 69 66 20 28 6e 75 | 6d 5f 68 61 76 65 20 3e | if (nu|m_have >|
|000051d0| 3d 20 72 65 73 70 5f 73 | 69 7a 65 20 2d 20 31 29 |= resp_s|ize - 1)|
|000051e0| 20 20 20 20 20 2f 2a 20 | 42 75 66 66 65 72 20 66 | /* |Buffer f|
|000051f0| 75 6c 6c 20 2a 2f 0d 0a | 09 09 20 20 20 20 7b 0d |ull */..|.. {.|
|00005200| 0a 09 09 09 73 63 74 74 | 79 77 72 74 28 28 63 68 |....sctt|ywrt((ch|
|00005210| 61 72 29 20 42 45 4c 2c | 31 29 3b 0d 0a 09 09 20 |ar) BEL,|1);.... |
|00005220| 20 20 20 7d 0d 0a 09 09 | 20 20 20 20 65 6c 73 65 | }....| else|
|00005230| 0d 0a 09 09 20 20 20 20 | 7b 0d 0a 09 09 09 64 6f |.... |{.....do|
|00005240| 09 20 20 20 20 20 20 2f | 2a 20 45 63 68 6f 20 73 |. /|* Echo s|
|00005250| 70 61 63 65 73 20 6f 72 | 20 74 68 65 20 63 68 61 |paces or| the cha|
|00005260| 72 2c 20 20 20 20 20 2a | 2f 0d 0a 09 09 09 7b 09 |r, *|/.....{.|
|00005270| 20 20 20 20 20 20 2f 2a | 20 6e 6f 74 69 6e 67 20 | /*| noting |
|00005280| 61 6e 79 20 73 63 72 6f | 6c 6c 69 6e 67 2e 09 20 |any scro|lling.. |
|00005290| 20 20 20 20 20 2a 2f 0d | 0a 09 09 09 20 20 20 20 | */.|.... |
|000052a0| 69 66 20 28 20 20 20 63 | 6f 6c 20 3e 3d 20 63 6f |if ( c|ol >= co|
|000052b0| 6c 75 6d 6e 73 20 2d 20 | 31 0d 0a 09 09 09 09 26 |lumns - |1......&|
|000052c0| 26 20 72 6f 77 20 3e 3d | 20 73 63 72 6f 77 73 28 |& row >=| scrows(|
|000052d0| 29 20 2d 20 31 29 0d 0a | 09 09 09 09 2b 2b 2a 70 |) - 1)..|....++*p|
|000052e0| 6e 75 6d 5f 73 63 72 6f | 6c 6c 65 64 3b 0d 0a 09 |num_scro|lled;...|
|000052f0| 09 09 20 20 20 20 73 63 | 74 74 79 77 72 74 28 28 |.. sc|ttywrt((|
|00005300| 63 68 20 3d 3d 20 54 41 | 42 20 3f 20 28 63 68 61 |ch == TA|B ? (cha|
|00005310| 72 29 20 27 20 27 20 3a | 20 63 68 29 2c 31 29 3b |r) ' ' :| ch),1);|
|00005320| 0d 0a 09 09 09 20 20 20 | 20 73 63 63 75 72 70 6f |..... | sccurpo|
|00005330| 73 28 26 72 6f 77 2c 26 | 63 6f 6c 29 3b 0d 0a 09 |s(&row,&|col);...|
|00005340| 09 09 7d 20 77 68 69 6c | 65 20 28 63 68 20 3d 3d |..} whil|e (ch ==|
|00005350| 20 54 41 42 20 26 26 20 | 28 63 6f 6c 20 25 20 54 | TAB && |(col % T|
|00005360| 41 42 5f 57 49 44 54 48 | 29 29 3b 0d 0a 0d 0a 09 |AB_WIDTH|));.....|
|00005370| 09 09 09 20 20 20 20 20 | 20 2f 2a 20 55 70 64 61 |... | /* Upda|
|00005380| 74 65 20 72 65 73 70 6f | 6e 73 65 20 62 75 66 66 |te respo|nse buff|
|00005390| 65 72 2e 20 20 20 20 20 | 20 2a 2f 0d 0a 09 09 09 |er. | */.....|
|000053a0| 6e 75 6d 5f 68 61 76 65 | 2b 2b 3b 0d 0a 09 09 09 |num_have|++;.....|
|000053b0| 2a 70 72 65 73 70 2b 2b | 20 3d 20 63 68 3b 0d 0a |*presp++| = ch;..|
|000053c0| 09 09 20 20 20 20 7d 0d | 0a 09 09 20 20 20 20 62 |.. }.|... b|
|000053d0| 72 65 61 6b 3b 0d 0a 0d | 0a 09 09 63 61 73 65 20 |reak;...|...case |
|000053e0| 42 53 3a 0d 0a 09 09 20 | 20 20 20 69 66 20 28 6e |BS:.... | if (n|
|000053f0| 75 6d 5f 68 61 76 65 29 | 0d 0a 09 09 20 20 20 20 |um_have)|.... |
|00005400| 7b 0d 0a 09 09 09 6e 75 | 6d 5f 68 61 76 65 2d 2d |{.....nu|m_have--|
|00005410| 3b 0d 0a 09 09 09 09 20 | 20 20 20 20 20 2f 2a 20 |;...... | /* |
|00005420| 4d 6f 76 65 20 63 75 72 | 73 6f 72 20 74 6f 20 6c |Move cur|sor to l|
|00005430| 61 73 74 20 63 68 61 72 | 20 20 20 20 20 2a 2f 0d |ast char| */.|
|00005440| 0a 09 09 09 09 20 20 20 | 20 20 20 2f 2a 20 65 6e |..... | /* en|
|00005450| 74 65 72 65 64 2e 09 09 | 20 20 20 20 20 20 2a 2f |tered...| */|
|00005460| 0d 0a 09 09 09 69 66 20 | 28 2a 2d 2d 70 72 65 73 |.....if |(*--pres|
|00005470| 70 20 3d 3d 20 54 41 42 | 29 0d 0a 09 09 09 7b 09 |p == TAB|).....{.|
|00005480| 20 20 20 20 20 20 2f 2a | 20 44 65 6c 65 74 65 20 | /*| Delete |
|00005490| 54 41 42 73 20 73 70 65 | 63 69 61 6c 6c 79 3a 20 |TABs spe|cially: |
|000054a0| 20 20 20 20 20 20 2a 2f | 0d 0a 09 09 09 20 20 20 | */|..... |
|000054b0| 20 2a 70 72 65 73 70 20 | 3d 20 27 5c 30 27 3b 0d | *presp |= '\0';.|
|000054c0| 0a 09 09 09 20 20 20 20 | 72 6f 77 20 20 20 20 3d |.... |row =|
|000054d0| 20 62 65 67 69 6e 5f 72 | 6f 77 20 2d 20 2a 70 6e | begin_r|ow - *pn|
|000054e0| 75 6d 5f 73 63 72 6f 6c | 6c 65 64 3b 0d 0a 09 09 |um_scrol|led;....|
|000054f0| 09 20 20 20 20 63 6f 6c | 20 20 20 20 3d 20 62 65 |. col| = be|
|00005500| 67 69 6e 5f 63 6f 6c 3b | 0d 0a 09 09 09 20 20 20 |gin_col;|..... |
|00005510| 20 70 74 65 6d 70 20 20 | 3d 20 70 62 65 67 69 6e | ptemp |= pbegin|
|00005520| 3b 0d 0a 0d 0a 09 09 09 | 09 20 20 20 20 20 20 2f |;.......|. /|
|00005530| 2a 20 46 69 6e 64 20 6e | 65 77 20 63 75 72 73 6f |* Find n|ew curso|
|00005540| 72 20 6c 6f 63 61 74 69 | 6f 6e 20 62 79 20 20 2a |r locati|on by *|
|00005550| 2f 0d 0a 09 09 09 09 20 | 20 20 20 20 20 2f 2a 20 |/...... | /* |
|00005560| 77 61 6c 6b 69 6e 67 20 | 66 6f 72 77 61 72 64 20 |walking |forward |
|00005570| 74 68 72 6f 75 67 68 20 | 74 68 65 20 20 2a 2f 0d |through |the */.|
|00005580| 0a 09 09 09 09 20 20 20 | 20 20 20 2f 2a 20 72 65 |..... | /* re|
|00005590| 73 70 6f 6e 73 65 20 61 | 67 61 69 6e 2e 09 20 20 |sponse a|gain.. |
|000055a0| 20 20 20 20 2a 2f 0d 0a | 09 09 09 20 20 20 20 77 | */..|... w|
|000055b0| 68 69 6c 65 20 28 28 63 | 68 20 3d 20 2a 70 74 65 |hile ((c|h = *pte|
|000055c0| 6d 70 2b 2b 29 20 21 3d | 20 27 5c 30 27 29 0d 0a |mp++) !=| '\0')..|
|000055d0| 09 09 09 20 20 20 20 7b | 0d 0a 09 09 09 09 64 6f |... {|......do|
|000055e0| 0d 0a 09 09 09 09 7b 0d | 0a 09 09 09 09 20 20 20 |......{.|..... |
|000055f0| 20 69 66 20 28 2b 2b 63 | 6f 6c 20 3e 20 63 6f 6c | if (++c|ol > col|
|00005600| 75 6d 6e 73 20 2d 20 31 | 29 0d 0a 09 09 09 09 20 |umns - 1|)...... |
|00005610| 20 20 20 7b 0d 0a 09 09 | 09 09 09 72 6f 77 2b 2b | {....|...row++|
|00005620| 3b 0d 0a 09 09 09 09 09 | 63 6f 6c 20 3d 20 30 3b |;.......|col = 0;|
|00005630| 0d 0a 09 09 09 09 20 20 | 20 20 7d 0d 0a 09 09 09 |...... | }.....|
|00005640| 09 7d 20 77 68 69 6c 65 | 20 28 63 68 20 3d 3d 20 |.} while| (ch == |
|00005650| 54 41 42 20 26 26 20 28 | 63 6f 6c 20 25 20 54 41 |TAB && (|col % TA|
|00005660| 42 5f 57 49 44 54 48 29 | 29 3b 0d 0a 09 09 09 20 |B_WIDTH)|);..... |
|00005670| 20 20 20 7d 0d 0a 09 09 | 09 20 20 20 20 73 63 63 | }....|. scc|
|00005680| 75 72 73 65 74 28 72 6f | 77 2c 63 6f 6c 29 3b 0d |urset(ro|w,col);.|
|00005690| 0a 09 09 09 09 20 20 20 | 20 20 20 2f 2a 20 44 6f |..... | /* Do|
|000056a0| 6e 27 74 20 6e 65 65 64 | 20 74 6f 20 65 72 61 73 |n't need| to eras|
|000056b0| 65 20 77 69 74 68 20 61 | 20 20 20 2a 2f 0d 0a 09 |e with a| */...|
|000056c0| 09 09 09 20 20 20 20 20 | 20 2f 2a 20 62 6c 61 6e |... | /* blan|
|000056d0| 6b 20 73 69 6e 63 65 20 | 74 68 65 20 54 41 42 20 |k since |the TAB |
|000056e0| 77 61 73 20 20 20 20 20 | 20 2a 2f 0d 0a 09 09 09 |was | */.....|
|000056f0| 09 20 20 20 20 20 20 2f | 2a 20 61 6c 72 65 61 64 |. /|* alread|
|00005700| 79 20 64 69 73 70 6c 61 | 79 65 64 20 75 73 69 6e |y displa|yed usin|
|00005710| 67 20 20 20 20 20 20 2a | 2f 0d 0a 09 09 09 09 20 |g *|/...... |
|00005720| 20 20 20 20 20 2f 2a 20 | 62 6c 61 6e 6b 73 2e 09 | /* |blanks..|
|00005730| 09 20 20 20 20 20 20 2a | 2f 0d 0a 0d 0a 09 09 09 |. *|/.......|
|00005740| 09 20 20 20 20 20 20 2f | 2a 20 28 22 72 6f 77 22 |. /|* ("row"|
|00005750| 20 6d 61 79 20 62 65 20 | 6e 65 67 61 74 69 76 65 | may be |negative|
|00005760| 20 68 65 72 65 20 20 2a | 2f 0d 0a 09 09 09 09 20 | here *|/...... |
|00005770| 20 20 20 20 20 2f 2a 20 | 69 66 20 62 65 67 69 6e | /* |if begin|
|00005780| 5f 72 6f 77 20 77 61 73 | 20 73 63 72 6f 6c 6c 65 |_row was| scrolle|
|00005790| 64 20 20 20 20 2a 2f 0d | 0a 09 09 09 09 20 20 20 |d */.|..... |
|000057a0| 20 20 20 2f 2a 20 6f 66 | 66 20 74 68 65 20 73 63 | /* of|f the sc|
|000057b0| 72 65 65 6e 2c 20 62 75 | 74 20 74 68 61 74 20 20 |reen, bu|t that |
|000057c0| 20 20 20 2a 2f 0d 0a 09 | 09 09 09 20 20 20 20 20 | */...|... |
|000057d0| 20 2f 2a 20 63 61 6e 20 | 6f 6e 6c 79 20 68 61 70 | /* can |only hap|
|000057e0| 70 65 6e 20 69 66 20 75 | 73 65 72 20 20 20 20 20 |pen if u|ser |
|000057f0| 20 2a 2f 0d 0a 09 09 09 | 09 20 20 20 20 20 20 2f | */.....|. /|
|00005800| 2a 20 66 69 6c 6c 73 20 | 74 68 65 20 73 63 72 65 |* fills |the scre|
|00005810| 65 6e 20 77 69 74 68 20 | 69 6e 70 75 74 2e 29 2a |en with |input.)*|
|00005820| 2f 0d 0a 09 09 09 7d 0d | 0a 09 09 09 65 6c 73 65 |/.....}.|....else|
|00005830| 0d 0a 09 09 09 7b 09 20 | 20 20 20 20 20 2f 2a 20 |.....{. | /* |
|00005840| 4a 75 73 74 20 64 65 6c | 65 74 65 20 61 20 6e 6f |Just del|ete a no|
|00005850| 72 6d 61 6c 09 20 20 20 | 20 20 20 2a 2f 0d 0a 09 |rmal. | */...|
|00005860| 09 09 09 20 20 20 20 20 | 20 2f 2a 20 63 68 61 72 |... | /* char|
|00005870| 61 63 74 65 72 2e 09 09 | 20 20 20 20 20 20 2a 2f |acter...| */|
|00005880| 0d 0a 0d 0a 09 09 09 20 | 20 20 20 69 66 20 28 63 |....... | if (c|
|00005890| 6f 6c 29 09 20 20 2f 2a | 20 42 61 63 6b 20 75 70 |ol). /*| Back up|
|000058a0| 20 6f 6e 65 20 63 6f 6c | 75 6d 6e 2e 20 20 20 20 | one col|umn. |
|000058b0| 20 20 2a 2f 0d 0a 09 09 | 09 09 73 63 63 75 72 73 | */....|..sccurs|
|000058c0| 65 74 28 72 6f 77 2c 2d | 2d 63 6f 6c 29 3b 0d 0a |et(row,-|-col);..|
|000058d0| 09 09 09 20 20 20 20 65 | 6c 73 65 09 20 20 2f 2a |... e|lse. /*|
|000058e0| 20 42 61 63 6b 20 75 70 | 20 74 6f 20 70 72 65 76 | Back up| to prev|
|000058f0| 69 6f 75 73 20 72 6f 77 | 2e 20 2a 2f 0d 0a 09 09 |ious row|. */....|
|00005900| 09 09 73 63 63 75 72 73 | 65 74 28 2d 2d 72 6f 77 |..sccurs|et(--row|
|00005910| 2c 63 6f 6c 20 3d 20 63 | 6f 6c 75 6d 6e 73 20 2d |,col = c|olumns -|
|00005920| 20 31 29 3b 0d 0a 0d 0a | 09 09 09 09 09 20 20 2f | 1);....|..... /|
|00005930| 2a 20 45 72 61 73 65 20 | 70 72 65 76 69 6f 75 73 |* Erase |previous|
|00005940| 20 63 68 61 72 61 63 74 | 65 72 2e 2a 2f 0d 0a 09 | charact|er.*/...|
|00005950| 09 09 20 20 20 20 73 63 | 77 72 69 74 65 28 28 63 |.. sc|write((c|
|00005960| 68 61 72 29 20 27 20 27 | 2c 31 29 3b 0d 0a 09 09 |har) ' '|,1);....|
|00005970| 09 7d 0d 0a 09 09 20 20 | 20 20 7d 0d 0a 09 09 20 |.}.... | }.... |
|00005980| 20 20 20 65 6c 73 65 0d | 0a 09 09 20 20 20 20 7b | else.|... {|
|00005990| 0d 0a 09 09 09 2f 2a 20 | 44 6f 20 6e 6f 74 68 69 |...../* |Do nothi|
|000059a0| 6e 67 20 2a 2f 09 2f 2a | 20 43 61 6e 27 74 20 64 |ng */./*| Can't d|
|000059b0| 65 6c 65 74 65 20 70 61 | 73 74 20 20 2a 2f 0d 0a |elete pa|st */..|
|000059c0| 09 09 20 20 20 20 7d 09 | 09 09 09 2f 2a 20 62 65 |.. }.|.../* be|
|000059d0| 67 69 6e 6e 69 6e 67 2e | 09 20 20 20 20 20 20 2a |ginning.|. *|
|000059e0| 2f 0d 0a 0d 0a 09 09 20 | 20 20 20 62 72 65 61 6b |/...... | break|
|000059f0| 3b 0d 0a 09 20 20 20 20 | 7d 0d 0a 09 7d 0d 0a 0d |;... |}...}...|
|00005a00| 0a 09 2f 2a 20 4e 6f 74 | 65 3a 20 20 61 74 20 74 |../* Not|e: at t|
|00005a10| 68 69 73 20 70 6f 69 6e | 74 2c 20 72 6f 77 20 61 |his poin|t, row a|
|00005a20| 6e 64 20 63 6f 6c 20 69 | 6e 64 69 63 61 74 65 20 |nd col i|ndicate |
|00005a30| 74 68 65 20 6e 65 78 74 | 09 20 20 20 20 20 20 2a |the next|. *|
|00005a40| 2f 0d 0a 09 2f 2a 20 70 | 6f 73 69 74 69 6f 6e 20 |/.../* p|osition |
|00005a50| 6f 6e 20 74 68 65 20 73 | 63 72 65 65 6e 2e 09 09 |on the s|creen...|
|00005a60| 09 09 20 20 20 20 20 20 | 2a 2f 0d 0a 0d 0a 20 20 |.. |*/.... |
|00005a70| 20 20 7d 20 77 68 69 6c | 65 20 28 69 73 5f 63 68 | } whil|e (is_ch|
|00005a80| 61 72 20 26 26 20 28 63 | 68 20 21 3d 20 45 4e 54 |ar && (c|h != ENT|
|00005a90| 45 52 29 20 26 26 20 28 | 63 68 20 21 3d 20 4c 46 |ER) && (|ch != LF|
|00005aa0| 29 29 3b 0d 0a 0d 0a 20 | 20 20 20 2a 70 72 65 73 |));.... | *pres|
|00005ab0| 70 20 3d 20 27 5c 30 27 | 3b 20 20 20 20 20 20 20 |p = '\0'|; |
|00005ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00005ad0| 54 65 72 6d 69 6e 61 74 | 65 20 72 65 73 70 6f 6e |Terminat|e respon|
|00005ae0| 73 65 20 73 74 72 69 6e | 67 2e 20 20 20 2a 2f 0d |se strin|g. */.|
|00005af0| 0a 0d 0a 20 20 20 20 73 | 63 74 74 79 77 72 74 28 |... s|cttywrt(|
|00005b00| 28 63 68 61 72 29 20 43 | 52 2c 31 29 3b 09 20 20 |(char) C|R,1);. |
|00005b10| 20 20 20 20 2f 2a 20 50 | 65 72 66 6f 72 6d 20 61 | /* P|erform a|
|00005b20| 20 66 69 6e 61 6c 20 6e | 65 77 6c 69 6e 65 2e 20 | final n|ewline. |
|00005b30| 20 20 20 20 2a 2f 0d 0a | 20 20 20 20 73 63 74 74 | */..| sctt|
|00005b40| 79 77 72 74 28 28 63 68 | 61 72 29 20 4c 46 2c 31 |ywrt((ch|ar) LF,1|
|00005b50| 29 3b 0d 0a 20 20 20 20 | 69 66 20 28 72 6f 77 20 |);.. |if (row |
|00005b60| 3e 3d 20 73 63 72 6f 77 | 73 28 29 20 2d 20 31 29 |>= scrow|s() - 1)|
|00005b70| 0d 0a 09 2b 2b 2a 70 6e | 75 6d 5f 73 63 72 6f 6c |...++*pn|um_scrol|
|00005b80| 6c 65 64 3b 0d 0a 0d 0a | 20 20 20 20 73 63 70 61 |led;....| scpa|
|00005b90| 67 65 28 6f 6c 64 5f 70 | 61 67 65 29 3b 09 09 20 |ge(old_p|age);.. |
|00005ba0| 20 20 20 20 20 2f 2a 20 | 52 65 73 74 6f 72 65 20 | /* |Restore |
|00005bb0| 63 75 72 72 65 6e 74 20 | 64 69 73 70 6c 61 79 20 |current |display |
|00005bc0| 70 61 67 65 20 2a 2f 0d | 0a 0d 0a 20 20 20 20 72 |page */.|... r|
|00005bd0| 65 74 75 72 6e 20 69 73 | 5f 63 68 61 72 20 3f 20 |eturn is|_char ? |
|00005be0| 63 68 20 3a 20 28 63 68 | 61 72 29 20 27 5c 30 27 |ch : (ch|ar) '\0'|
|00005bf0| 3b 2f 2a 20 53 75 63 63 | 65 73 73 66 75 6c 20 65 |;/* Succ|essful e|
|00005c00| 78 69 74 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 |xit. | |
|00005c10| 20 2a 2f 0d 0a 7d 0d 0a | 1a 2b bd e2 2b bf 02 2c | */..}..|.+..+..,|
|00005c20| c1 22 2c ff 4f 2c c5 22 | 00 00 00 00 00 00 00 00 |.",.O,."|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 2f 2a 2a 0d 0a 2a 0d 0a | 2a 20 4e 61 6d 65 09 09 |/**..*..|* Name..|
|00005e10| 61 70 72 64 6e 75 6d 20 | 2d 2d 20 44 69 73 70 6c |aprdnum |-- Displ|
|00005e20| 61 79 20 61 20 70 72 6f | 6d 70 74 20 61 6e 64 20 |ay a pro|mpt and |
|00005e30| 67 65 74 20 61 6e 20 69 | 6e 74 65 67 65 72 20 72 |get an i|nteger r|
|00005e40| 65 73 70 6f 6e 73 65 0d | 0a 2a 0d 0a 2a 20 53 79 |esponse.|.*..* Sy|
|00005e50| 6e 6f 70 73 69 73 09 72 | 69 6e 74 20 3d 20 61 70 |nopsis.r|int = ap|
|00005e60| 72 64 6e 75 6d 28 70 6d | 73 67 29 3b 0d 0a 2a 0d |rdnum(pm|sg);..*.|
|00005e70| 0a 2a 09 09 69 6e 74 20 | 20 72 69 6e 74 09 20 20 |.*..int | rint. |
|00005e80| 54 68 65 20 69 6e 74 65 | 67 65 72 20 72 65 74 75 |The inte|ger retu|
|00005e90| 72 6e 65 64 0d 0a 2a 09 | 09 63 68 61 72 20 2a 70 |rned..*.|.char *p|
|00005ea0| 6d 73 67 09 20 20 54 68 | 65 20 6d 65 73 73 61 67 |msg. Th|e messag|
|00005eb0| 65 20 74 6f 20 62 65 20 | 64 69 73 70 6c 61 79 65 |e to be |displaye|
|00005ec0| 64 0d 0a 2a 0d 0a 2a 20 | 44 65 73 63 72 69 70 74 |d..*..* |Descript|
|00005ed0| 69 6f 6e 09 41 50 52 44 | 4e 55 4d 20 64 69 73 70 |ion.APRD|NUM disp|
|00005ee0| 6c 61 79 73 20 74 68 65 | 20 6d 65 73 73 61 67 65 |lays the| message|
|00005ef0| 20 6f 6e 20 74 68 65 20 | 61 63 74 69 76 65 20 70 | on the |active p|
|00005f00| 61 67 65 20 6f 66 20 74 | 68 65 0d 0a 2a 09 09 63 |age of t|he..*..c|
|00005f10| 75 72 72 65 6e 74 20 64 | 69 73 70 6c 61 79 20 64 |urrent d|isplay d|
|00005f20| 65 76 69 63 65 2c 20 61 | 70 70 65 6e 64 73 20 61 |evice, a|ppends a|
|00005f30| 20 63 6f 6c 6f 6e 20 61 | 6e 64 20 61 20 62 6c 61 | colon a|nd a bla|
|00005f40| 6e 6b 0d 0a 2a 09 09 28 | 22 3a 20 22 29 2c 20 61 |nk..*..(|": "), a|
|00005f50| 6e 64 20 61 63 63 65 70 | 74 73 20 61 6e 20 69 6e |nd accep|ts an in|
|00005f60| 74 65 67 65 72 20 72 65 | 73 70 6f 6e 73 65 2e 20 |teger re|sponse. |
|00005f70| 20 49 66 20 61 6e 20 69 | 6e 74 65 67 65 72 0d 0a | If an i|nteger..|
|00005f80| 2a 09 09 69 73 20 6e 6f | 74 20 65 6e 74 65 72 65 |*..is no|t entere|
|00005f90| 64 2c 20 74 68 65 20 63 | 75 72 73 6f 72 20 69 73 |d, the c|ursor is|
|00005fa0| 20 73 65 74 20 74 6f 20 | 61 20 66 75 6c 6c 20 62 | set to |a full b|
|00005fb0| 6f 78 20 61 6e 64 20 74 | 68 65 0d 0a 2a 09 09 72 |ox and t|he..*..r|
|00005fc0| 65 73 70 6f 6e 73 65 20 | 69 73 20 72 65 71 75 65 |esponse |is reque|
|00005fd0| 73 74 65 64 20 61 67 61 | 69 6e 2e 0d 0a 2a 0d 0a |sted aga|in...*..|
|00005fe0| 2a 09 09 53 65 65 20 41 | 50 51 55 45 52 59 20 66 |*..See A|PQUERY f|
|00005ff0| 6f 72 20 61 20 64 65 73 | 63 72 69 70 74 69 6f 6e |or a des|cription|
|00006000| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 20 65 | of the |screen e|
|00006010| 66 66 65 63 74 73 20 6f | 66 0d 0a 2a 09 09 76 61 |ffects o|f..*..va|
|00006020| 72 69 6f 75 73 20 6b 65 | 79 73 74 72 6f 6b 65 73 |rious ke|ystrokes|
|00006030| 20 61 73 20 74 68 65 20 | 72 65 73 70 6f 6e 73 65 | as the |response|
|00006040| 20 69 73 20 65 6e 74 65 | 72 65 64 2e 0d 0a 2a 0d | is ente|red...*.|
|00006050| 0a 2a 20 52 65 74 75 72 | 6e 73 09 72 69 6e 74 09 |.* Retur|ns.rint.|
|00006060| 09 20 20 54 68 65 20 69 | 6e 74 65 67 65 72 20 65 |. The i|nteger e|
|00006070| 6e 74 65 72 65 64 2e 0d | 0a 2a 0d 0a 2a 20 56 65 |ntered..|.*..* Ve|
|00006080| 72 73 69 6f 6e 09 33 2e | 30 20 43 6f 70 79 72 69 |rsion.3.|0 Copyri|
|00006090| 67 68 74 20 28 43 29 20 | 42 6c 61 69 73 65 20 43 |ght (C) |Blaise C|
|000060a0| 6f 6d 70 75 74 69 6e 67 | 20 49 6e 63 2e 20 31 39 |omputing| Inc. 19|
|000060b0| 38 36 0d 0a 2a 0d 0a 2a | 2a 2f 0d 0a 0d 0a 23 69 |86..*..*|*/....#i|
|000060c0| 6e 63 6c 75 64 65 20 3c | 73 74 64 69 6f 2e 68 3e |nclude <|stdio.h>|
|000060d0| 0d 0a 0d 0a 23 69 6e 63 | 6c 75 64 65 20 3c 62 61 |....#inc|lude <ba|
|000060e0| 70 70 6c 69 63 2e 68 3e | 0d 0a 23 69 6e 63 6c 75 |pplic.h>|..#inclu|
|000060f0| 64 65 20 3c 62 6b 65 79 | 62 64 2e 68 3e 0d 0a 23 |de <bkey|bd.h>..#|
|00006100| 69 6e 63 6c 75 64 65 20 | 3c 62 73 63 72 65 65 6e |include |<bscreen|
|00006110| 2e 68 3e 0d 0a 23 69 6e | 63 6c 75 64 65 20 3c 62 |.h>..#in|clude <b|
|00006120| 73 74 72 69 6e 67 2e 68 | 3e 0d 0a 0d 0a 23 64 65 |string.h|>....#de|
|00006130| 66 69 6e 65 20 20 4c 46 | 20 20 20 20 28 28 63 68 |fine LF| ((ch|
|00006140| 61 72 29 20 31 30 29 20 | 20 20 20 2f 2a 20 4c 69 |ar) 10) | /* Li|
|00006150| 6e 65 20 66 65 65 64 09 | 20 28 43 54 52 4c 2d 4a |ne feed.| (CTRL-J|
|00006160| 29 09 20 20 20 20 20 20 | 2a 2f 0d 0a 23 64 65 66 |). |*/..#def|
|00006170| 69 6e 65 20 20 43 52 20 | 20 20 20 28 28 63 68 61 |ine CR | ((cha|
|00006180| 72 29 20 31 33 29 20 20 | 20 20 2f 2a 20 43 61 72 |r) 13) | /* Car|
|00006190| 72 69 61 67 65 20 72 65 | 74 75 72 6e 20 28 43 54 |riage re|turn (CT|
|000061a0| 52 4c 2d 4d 29 09 20 20 | 20 20 20 20 2a 2f 0d 0a |RL-M). | */..|
|000061b0| 0d 0a 69 6e 74 20 20 61 | 70 72 64 6e 75 6d 28 70 |..int a|prdnum(p|
|000061c0| 6d 73 67 29 0d 0a 63 68 | 61 72 20 2a 70 6d 73 67 |msg)..ch|ar *pmsg|
|000061d0| 3b 0d 0a 7b 0d 0a 20 20 | 20 20 69 6e 74 20 20 72 |;..{.. | int r|
|000061e0| 65 73 75 6c 74 3b 0d 0a | 20 20 20 20 69 6e 74 20 |esult;..| int |
|000061f0| 20 6f 6c 64 5f 70 61 67 | 65 2c 6d 6f 64 65 2c 63 | old_pag|e,mode,c|
|00006200| 6f 6c 75 6d 6e 73 2c 61 | 63 74 5f 70 61 67 65 3b |olumns,a|ct_page;|
|00006210| 0d 0a 20 20 20 20 69 6e | 74 20 20 72 6f 77 2c 63 |.. in|t row,c|
|00006220| 6f 6c 2c 65 6e 64 5f 72 | 6f 77 2c 65 6e 64 5f 63 |ol,end_r|ow,end_c|
|00006230| 6f 6c 2c 6e 75 6d 5f 73 | 63 72 6f 6c 6c 65 64 3b |ol,num_s|crolled;|
|00006240| 0d 0a 20 20 20 20 69 6e | 74 20 20 64 6f 6e 65 2c |.. in|t done,|
|00006250| 73 63 61 6e 3b 0d 0a 20 | 20 20 20 63 68 61 72 20 |scan;.. | char |
|00006260| 72 65 73 70 6f 6e 73 65 | 5b 34 30 5d 3b 0d 0a 0d |response|[40];...|
|00006270| 0a 20 20 20 20 6f 6c 64 | 5f 70 61 67 65 20 3d 20 |. old|_page = |
|00006280| 62 5f 63 75 72 70 61 67 | 65 3b 09 20 20 20 20 20 |b_curpag|e;. |
|00006290| 20 2f 2a 20 53 61 76 65 | 20 66 6f 72 6d 65 72 20 | /* Save| former |
|000062a0| 64 69 73 70 6c 61 79 20 | 70 61 67 65 2e 20 20 20 |display |page. |
|000062b0| 20 2a 2f 0d 0a 20 20 20 | 20 73 63 6d 6f 64 65 28 | */.. | scmode(|
|000062c0| 26 6d 6f 64 65 2c 26 63 | 6f 6c 75 6d 6e 73 2c 26 |&mode,&c|olumns,&|
|000062d0| 61 63 74 5f 70 61 67 65 | 29 3b 0d 0a 20 20 20 20 |act_page|);.. |
|000062e0| 73 63 70 61 67 65 28 61 | 63 74 5f 70 61 67 65 29 |scpage(a|ct_page)|
|000062f0| 3b 09 09 20 20 20 20 20 | 20 2f 2a 20 44 69 72 65 |;.. | /* Dire|
|00006300| 63 74 20 49 2f 4f 20 74 | 6f 20 61 63 74 69 76 65 |ct I/O t|o active|
|00006310| 20 70 61 67 65 2e 20 20 | 20 2a 2f 0d 0a 0d 0a 09 | page. | */.....|
|00006320| 09 09 09 20 20 20 20 20 | 20 2f 2a 20 57 72 69 74 |... | /* Writ|
|00006330| 65 20 74 68 65 20 6d 65 | 73 73 61 67 65 2e 09 20 |e the me|ssage.. |
|00006340| 20 20 20 20 20 2a 2f 0d | 0a 20 20 20 20 73 63 63 | */.|. scc|
|00006350| 75 72 70 6f 73 28 26 72 | 6f 77 2c 26 63 6f 6c 29 |urpos(&r|ow,&col)|
|00006360| 3b 0d 0a 20 20 20 20 73 | 63 77 72 73 74 72 28 72 |;.. s|cwrstr(r|
|00006370| 6f 77 2c 63 6f 6c 2c 30 | 2c 70 6d 73 67 2c 2d 31 |ow,col,0|,pmsg,-1|
|00006380| 2c 2d 31 2c 43 48 41 52 | 53 5f 4f 4e 4c 59 20 2b |,-1,CHAR|S_ONLY +|
|00006390| 20 4d 4f 56 45 5f 43 55 | 52 20 2b 20 43 55 52 5f | MOVE_CU|R + CUR_|
|000063a0| 41 46 54 45 52 29 3b 0d | 0a 20 20 20 20 73 63 63 |AFTER);.|. scc|
|000063b0| 75 72 70 6f 73 28 26 72 | 6f 77 2c 26 63 6f 6c 29 |urpos(&r|ow,&col)|
|000063c0| 3b 0d 0a 20 20 20 20 73 | 63 77 72 73 74 72 28 72 |;.. s|cwrstr(r|
|000063d0| 6f 77 2c 63 6f 6c 2c 32 | 2c 22 3a 20 22 2c 2d 31 |ow,col,2|,": ",-1|
|000063e0| 2c 2d 31 2c 43 48 41 52 | 53 5f 4f 4e 4c 59 20 2b |,-1,CHAR|S_ONLY +|
|000063f0| 20 4d 4f 56 45 5f 43 55 | 52 20 2b 20 43 55 52 5f | MOVE_CU|R + CUR_|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.