home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-08-01 | 450.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 49 4d 00 00 00 00 00 00 | 00 00 02 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 00 00 | 00 00 00 00 00 00 00 00 |.;......|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 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| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 2e 2f 74 6d 70 2f 5f 6c | 62 6c 2f 70 72 64 3d 63 |./tmp/_l|bl/prd=c|
|00001e10| 67 69 2f 74 79 70 3d 6e | 32 38 36 2f 72 65 6c 3d |gi/typ=n|286/rel=|
|00001e20| 31 2e 31 2e 30 64 2f 76 | 6f 6c 3d 30 34 00 00 00 |1.1.0d/v|ol=04...|
|00001e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e60| 00 00 00 00 20 20 20 34 | 34 34 20 00 20 20 20 20 |.... 4|44 . |
|00001e70| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00001e80| 20 20 20 20 20 20 30 20 | 20 34 34 30 37 33 32 36 | 0 | 4407326|
|00001e90| 32 30 36 20 20 31 33 30 | 34 32 00 20 00 00 00 00 |206 130|42. ....|
|00001ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 2e 2f 75 73 72 2f 6c 69 | 62 2f 63 67 69 2f 73 61 |./usr/li|b/cgi/sa|
|00002010| 6d 70 6c 65 2f 63 74 65 | 73 74 2f 67 69 6e 74 65 |mple/cte|st/ginte|
|00002020| 73 74 73 2e 63 00 00 00 | 00 00 00 00 00 00 00 00 |sts.c...|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 20 20 20 34 | 34 34 20 00 20 20 20 20 |.... 4|44 . |
|00002070| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00002080| 20 20 36 33 32 30 32 20 | 20 34 33 36 33 34 35 30 | 63202 | 4363450|
|00002090| 30 33 35 20 20 31 32 37 | 32 33 00 20 00 00 00 00 |035 127|23. ....|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00002210| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002220| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002230| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002240| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 0a 20 |********|******. |
|00002250| 2a 09 09 09 09 09 09 09 | 09 09 20 20 20 20 20 2a |*.......|.. *|
|00002260| 0a 20 2a 20 20 20 20 20 | 43 6f 70 79 72 69 67 68 |. * |Copyrigh|
|00002270| 74 20 28 63 29 20 31 39 | 38 39 20 20 20 20 20 20 |t (c) 19|89 |
|00002280| 20 20 20 20 20 20 20 20 | 20 20 20 20 54 68 65 20 | | The |
|00002290| 53 61 6e 74 61 20 43 72 | 75 7a 20 4f 70 65 72 61 |Santa Cr|uz Opera|
|000022a0| 74 69 6f 6e 2c 20 49 6e | 63 2e 20 20 20 20 2a 0a |tion, In|c. *.|
|000022b0| 20 2a 09 09 09 09 09 09 | 09 09 09 20 20 20 20 20 | *......|... |
|000022c0| 2a 0a 20 2a 20 20 20 20 | 20 41 6c 6c 20 72 69 67 |*. * | All rig|
|000022d0| 68 74 73 20 72 65 73 65 | 72 76 65 64 2e 20 4e 6f |hts rese|rved. No|
|000022e0| 20 70 61 72 74 20 6f 66 | 20 74 68 69 73 20 70 72 | part of| this pr|
|000022f0| 6f 67 72 61 6d 20 6f 72 | 20 70 75 62 6c 69 63 61 |ogram or| publica|
|00002300| 74 69 6f 6e 20 6d 61 79 | 20 62 65 20 20 20 20 2a |tion may| be *|
|00002310| 0a 20 2a 20 20 20 20 20 | 72 65 70 72 6f 64 75 63 |. * |reproduc|
|00002320| 65 64 2c 20 74 72 61 6e | 73 6d 69 74 74 65 64 2c |ed, tran|smitted,|
|00002330| 20 74 72 61 6e 73 63 72 | 69 62 65 64 2c 20 73 74 | transcr|ibed, st|
|00002340| 6f 72 65 64 20 69 6e 20 | 61 20 72 65 74 72 69 65 |ored in |a retrie|
|00002350| 76 61 6c 20 73 79 73 74 | 65 6d 2c 20 20 20 2a 0a |val syst|em, *.|
|00002360| 20 2a 20 20 20 20 20 6f | 72 20 74 72 61 6e 73 6c | * o|r transl|
|00002370| 61 74 65 64 20 69 6e 74 | 6f 20 61 6e 79 20 6c 61 |ated int|o any la|
|00002380| 6e 67 75 61 67 65 20 6f | 72 20 63 6f 6d 70 75 74 |nguage o|r comput|
|00002390| 65 72 20 6c 61 6e 67 75 | 61 67 65 2c 20 69 6e 20 |er langu|age, in |
|000023a0| 61 6e 79 20 66 6f 72 6d | 20 6f 72 20 20 2a 0a 20 |any form| or *. |
|000023b0| 2a 20 20 20 20 20 62 79 | 20 61 6e 79 20 6d 65 61 |* by| any mea|
|000023c0| 6e 73 2c 20 65 6c 65 63 | 74 72 6f 6e 69 63 2c 20 |ns, elec|tronic, |
|000023d0| 6d 65 63 68 61 6e 69 63 | 61 6c 2c 20 6d 61 67 6e |mechanic|al, magn|
|000023e0| 65 74 69 63 2c 20 6f 70 | 74 69 63 61 6c 2c 20 63 |etic, op|tical, c|
|000023f0| 68 65 6d 69 63 61 6c 2c | 20 20 20 20 2a 0a 20 2a |hemical,| *. *|
|00002400| 20 20 20 20 20 62 69 6f | 6c 6f 67 69 63 61 6c 2c | bio|logical,|
|00002410| 20 6f 72 20 6f 74 68 65 | 72 77 69 73 65 2c 20 77 | or othe|rwise, w|
|00002420| 69 74 68 6f 75 74 20 74 | 68 65 20 70 72 69 6f 72 |ithout t|he prior|
|00002430| 20 77 72 69 74 74 65 6e | 20 70 65 72 6d 69 73 73 | written| permiss|
|00002440| 69 6f 6e 20 6f 66 3a 20 | 20 20 20 2a 0a 20 2a 09 |ion of: | *. *.|
|00002450| 09 09 09 09 09 09 09 09 | 20 20 20 20 20 2a 0a 20 |........| *. |
|00002460| 2a 09 20 20 20 20 20 20 | 54 68 65 20 53 61 6e 74 |*. |The Sant|
|00002470| 61 20 43 72 75 7a 20 4f | 70 65 72 61 74 69 6f 6e |a Cruz O|peration|
|00002480| 2c 20 49 6e 63 20 20 20 | 20 20 20 28 34 30 38 29 |, Inc | (408)|
|00002490| 20 34 32 35 2d 37 32 32 | 32 09 20 20 20 20 20 20 | 425-722|2. |
|000024a0| 20 20 20 20 20 20 20 2a | 0a 20 2a 09 20 20 20 20 | *|. *. |
|000024b0| 20 20 35 30 30 20 43 68 | 65 73 74 6e 75 74 20 53 | 500 Ch|estnut S|
|000024c0| 74 2c 20 53 61 6e 74 61 | 20 43 72 75 7a 2c 20 43 |t, Santa| Cruz, C|
|000024d0| 61 6c 69 66 6f 72 6e 69 | 61 20 39 35 30 36 30 20 |aliforni|a 95060 |
|000024e0| 55 53 41 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |USA | |
|000024f0| 20 2a 0a 20 2a 09 09 09 | 09 09 09 09 09 09 20 20 | *. *...|...... |
|00002500| 20 20 20 2a 0a 20 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *. **|********|
|00002510| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002520| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002530| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002540| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002550| 2a 2a 2a 2f 0a 2f 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |***/./**|********|
|00002560| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002570| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002580| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002590| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 0a 20 |********|******. |
|000025a0| 2a 09 40 28 23 29 67 69 | 6e 74 65 73 74 73 2e 63 |*.@(#)gi|ntests.c|
|000025b0| 09 31 2e 37 09 31 2f 31 | 31 2f 38 39 09 31 30 3a |.1.7.1/1|1/89.10:|
|000025c0| 32 37 3a 32 32 09 2a 0a | 20 2a 09 67 69 6e 74 65 |27:22.*.| *.ginte|
|000025d0| 73 74 73 2e 63 20 70 65 | 72 66 6f 72 6d 73 20 47 |sts.c pe|rforms G|
|000025e0| 49 4e 20 74 65 73 74 69 | 6e 67 2e 20 20 57 72 69 |IN testi|ng. Wri|
|000025f0| 74 74 65 6e 20 62 79 20 | 48 69 72 61 6d 20 43 6c |tten by |Hiram Cl|
|00002600| 61 77 73 6f 6e 2e 09 2a | 0a 20 2a 09 09 09 09 09 |awson..*|. *.....|
|00002610| 09 09 09 09 2a 0a 20 2a | 09 52 6f 75 74 69 6e 65 |....*. *|.Routine|
|00002620| 73 20 63 6f 6e 74 61 69 | 6e 65 64 20 69 6e 20 74 |s contai|ned in t|
|00002630| 68 69 73 20 73 6f 75 72 | 63 65 20 66 69 6c 65 3a |his sour|ce file:|
|00002640| 09 09 09 09 2a 0a 20 2a | 09 09 56 4f 49 44 20 67 |....*. *|..VOID g|
|00002650| 69 6e 74 65 73 74 73 28 | 29 09 2d 2d 20 6d 61 69 |intests(|).-- mai|
|00002660| 6e 20 70 72 6f 67 72 61 | 6d 20 63 61 6c 6c 65 64 |n progra|m called|
|00002670| 20 66 72 6f 6d 20 63 74 | 65 73 74 2e 63 09 2a 0a | from ct|est.c.*.|
|00002680| 20 2a 09 09 73 74 61 74 | 69 63 20 56 4f 49 44 20 | *..stat|ic VOID |
|00002690| 63 6c 65 61 72 5f 69 6e | 66 6f 5f 6c 69 6e 65 28 |clear_in|fo_line(|
|000026a0| 29 09 09 09 09 2a 0a 20 | 2a 09 09 73 74 61 74 69 |)....*. |*..stati|
|000026b0| 63 20 56 4f 49 44 20 67 | 69 6e 5f 74 65 73 74 5f |c VOID g|in_test_|
|000026c0| 73 63 72 65 65 6e 28 20 | 66 72 61 6d 65 20 29 09 |screen( |frame ).|
|000026d0| 09 09 2a 0a 20 2a 09 09 | 73 74 61 74 69 63 20 56 |..*. *..|static V|
|000026e0| 4f 49 44 20 6d 61 72 6b | 5f 6c 6f 63 61 74 69 6f |OID mark|_locatio|
|000026f0| 6e 28 29 09 09 09 09 2a | 0a 20 2a 09 09 73 74 61 |n()....*|. *..sta|
|00002700| 74 69 63 20 56 4f 49 44 | 20 72 65 71 75 65 73 74 |tic VOID| request|
|00002710| 5f 72 65 70 6f 72 74 28 | 29 09 09 09 09 2a 0a 20 |_report(|)....*. |
|00002720| 2a 09 09 73 74 61 74 69 | 63 20 56 4f 49 44 20 73 |*..stati|c VOID s|
|00002730| 61 6d 70 6c 65 5f 72 65 | 70 6f 72 74 28 29 09 09 |ample_re|port()..|
|00002740| 09 09 2a 0a 20 2a 09 09 | 73 74 61 74 69 63 20 56 |..*. *..|static V|
|00002750| 4f 49 44 20 72 65 71 75 | 65 73 74 5f 6c 6f 63 61 |OID requ|est_loca|
|00002760| 74 6f 72 28 20 69 6e 6b | 2c 20 72 75 62 62 65 72 |tor( ink|, rubber|
|00002770| 62 61 6e 64 20 29 09 09 | 2a 0a 20 2a 09 09 73 74 |band )..|*. *..st|
|00002780| 61 74 69 63 20 56 4f 49 | 44 20 69 6e 69 74 69 61 |atic VOI|D initia|
|00002790| 6c 69 7a 65 5f 67 69 6e | 5f 73 63 72 65 65 6e 28 |lize_gin|_screen(|
|000027a0| 29 09 09 09 2a 0a 20 2a | 09 09 73 74 61 74 69 63 |)...*. *|..static|
|000027b0| 20 56 4f 49 44 20 6b 65 | 79 5f 73 74 61 74 65 5f | VOID ke|y_state_|
|000027c0| 72 65 70 6f 72 74 28 29 | 09 09 09 09 2a 0a 20 2a |report()|....*. *|
|000027d0| 09 09 73 74 61 74 69 63 | 20 69 6e 74 20 63 72 65 |..static| int cre|
|000027e0| 61 74 65 5f 6f 75 72 5f | 63 75 72 73 6f 72 28 29 |ate_our_|cursor()|
|000027f0| 09 09 09 09 2a 0a 20 2a | 09 09 73 74 61 74 69 63 |....*. *|..static|
|00002800| 20 56 4f 49 44 20 64 65 | 6c 65 74 65 5f 6f 75 72 | VOID de|lete_our|
|00002810| 5f 63 75 72 73 6f 72 28 | 29 09 09 09 09 2a 0a 20 |_cursor(|)....*. |
|00002820| 2a 09 09 73 74 61 74 69 | 63 20 69 6e 74 20 6f 70 |*..stati|c int op|
|00002830| 65 6e 5f 67 69 6e 5f 64 | 65 76 69 63 65 28 29 09 |en_gin_d|evice().|
|00002840| 09 09 09 2a 0a 20 2a 09 | 09 56 4f 49 44 20 63 6c |...*. *.|.VOID cl|
|00002850| 6f 73 65 5f 67 69 6e 5f | 64 65 76 69 63 65 28 29 |ose_gin_|device()|
|00002860| 09 2d 2d 20 63 61 6c 6c | 65 64 20 66 72 6f 6d 20 |.-- call|ed from |
|00002870| 63 74 65 73 74 2e 63 20 | 61 6e 64 09 2a 0a 20 2a |ctest.c |and.*. *|
|00002880| 09 09 09 09 73 69 67 5f | 65 78 69 74 73 20 69 6e |....sig_|exits in|
|00002890| 20 63 74 65 73 74 73 74 | 75 66 66 2e 63 09 09 2a | ctestst|uff.c..*|
|000028a0| 0a 20 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |. ******|********|
|000028b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000028c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000028d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000028e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2f 0a 23 69 6e 63 |********|**/.#inc|
|000028f0| 6c 75 64 65 20 3c 73 74 | 64 69 6f 2e 68 3e 09 2f |lude <st|dio.h>./|
|00002900| 2a 09 66 6f 72 20 66 70 | 72 69 6e 74 66 27 73 20 |*.for fp|rintf's |
|00002910| 6f 6e 20 73 74 64 65 72 | 72 09 2a 2f 0a 23 69 6e |on stder|r.*/.#in|
|00002920| 63 6c 75 64 65 20 3c 63 | 74 79 70 65 2e 68 3e 09 |clude <c|type.h>.|
|00002930| 2f 2a 09 77 65 20 61 72 | 65 20 75 73 69 6e 67 20 |/*.we ar|e using |
|00002940| 69 73 70 72 69 6e 74 28 | 29 09 2a 2f 0a 23 69 6e |isprint(|).*/.#in|
|00002950| 63 6c 75 64 65 20 22 63 | 67 69 73 74 75 66 66 2e |clude "c|gistuff.|
|00002960| 68 22 09 2f 2a 09 69 6e | 63 6c 75 64 65 73 20 63 |h"./*.in|cludes c|
|00002970| 67 69 74 79 70 65 73 2e | 68 20 61 6e 64 20 63 67 |gitypes.|h and cg|
|00002980| 69 66 63 74 6e 73 2e 68 | 09 2a 2f 0a 23 69 6e 63 |ifctns.h|.*/.#inc|
|00002990| 6c 75 64 65 20 22 63 74 | 65 73 74 2e 68 22 0a 0a |lude "ct|est.h"..|
|000029a0| 73 74 61 74 69 63 20 56 | 4f 49 44 20 67 69 6e 5f |static V|OID gin_|
|000029b0| 74 65 73 74 5f 73 63 72 | 65 65 6e 28 20 69 6e 74 |test_scr|een( int|
|000029c0| 20 29 3b 0a 73 74 61 74 | 69 63 20 56 4f 49 44 20 | );.stat|ic VOID |
|000029d0| 63 6c 65 61 72 5f 69 6e | 66 6f 5f 6c 69 6e 65 28 |clear_in|fo_line(|
|000029e0| 20 56 4f 49 44 20 29 3b | 0a 73 74 61 74 69 63 20 | VOID );|.static |
|000029f0| 56 4f 49 44 20 6d 61 72 | 6b 5f 6c 6f 63 61 74 69 |VOID mar|k_locati|
|00002a00| 6f 6e 28 20 56 4f 49 44 | 20 29 3b 0a 73 74 61 74 |on( VOID| );.stat|
|00002a10| 69 63 20 56 4f 49 44 20 | 72 65 71 75 65 73 74 5f |ic VOID |request_|
|00002a20| 72 65 70 6f 72 74 28 20 | 56 4f 49 44 20 29 3b 0a |report( |VOID );.|
|00002a30| 73 74 61 74 69 63 20 56 | 4f 49 44 20 73 61 6d 70 |static V|OID samp|
|00002a40| 6c 65 5f 72 65 70 6f 72 | 74 28 20 56 4f 49 44 20 |le_repor|t( VOID |
|00002a50| 29 3b 0a 73 74 61 74 69 | 63 20 56 4f 49 44 20 72 |);.stati|c VOID r|
|00002a60| 65 71 75 65 73 74 5f 6c | 6f 63 61 74 6f 72 28 20 |equest_l|ocator( |
|00002a70| 69 6e 74 2c 20 69 6e 74 | 20 29 3b 0a 73 74 61 74 |int, int| );.stat|
|00002a80| 69 63 20 56 4f 49 44 20 | 69 6e 69 74 69 61 6c 69 |ic VOID |initiali|
|00002a90| 7a 65 5f 67 69 6e 5f 73 | 63 72 65 65 6e 28 20 56 |ze_gin_s|creen( V|
|00002aa0| 4f 49 44 20 29 3b 0a 73 | 74 61 74 69 63 20 56 4f |OID );.s|tatic VO|
|00002ab0| 49 44 20 6b 65 79 5f 73 | 74 61 74 65 5f 72 65 70 |ID key_s|tate_rep|
|00002ac0| 6f 72 74 28 20 56 4f 49 | 44 20 29 3b 0a 73 74 61 |ort( VOI|D );.sta|
|00002ad0| 74 69 63 20 69 6e 74 20 | 63 72 65 61 74 65 5f 6f |tic int |create_o|
|00002ae0| 75 72 5f 63 75 72 73 6f | 72 28 20 56 4f 49 44 20 |ur_curso|r( VOID |
|00002af0| 29 3b 0a 73 74 61 74 69 | 63 20 56 4f 49 44 20 64 |);.stati|c VOID d|
|00002b00| 65 6c 65 74 65 5f 6f 75 | 72 5f 63 75 72 73 6f 72 |elete_ou|r_cursor|
|00002b10| 28 20 56 4f 49 44 20 29 | 3b 0a 73 74 61 74 69 63 |( VOID )|;.static|
|00002b20| 20 69 6e 74 20 6f 70 65 | 6e 5f 67 69 6e 5f 64 65 | int ope|n_gin_de|
|00002b30| 76 69 63 65 28 20 56 4f | 49 44 20 29 3b 0a 56 4f |vice( VO|ID );.VO|
|00002b40| 49 44 20 63 6c 6f 73 65 | 5f 67 69 6e 5f 64 65 76 |ID close|_gin_dev|
|00002b50| 69 63 65 28 20 56 4f 49 | 44 20 29 3b 09 2f 2a 09 |ice( VOI|D );./*.|
|00002b60| 63 61 6c 6c 65 64 20 66 | 72 6f 6d 20 63 74 65 73 |called f|rom ctes|
|00002b70| 74 2e 63 20 61 6e 64 20 | 63 74 65 73 74 73 74 75 |t.c and |cteststu|
|00002b80| 66 66 2e 63 20 2a 2f 0a | 0a 73 74 61 74 69 63 20 |ff.c */.|.static |
|00002b90| 69 6e 74 20 76 73 67 5f | 63 75 72 73 6f 72 5f 6f |int vsg_|cursor_o|
|00002ba0| 6b 3b 0a 53 49 4e 54 31 | 36 20 67 69 6e 5f 68 61 |k;.SINT1|6 gin_ha|
|00002bb0| 6e 64 6c 65 3b 09 2f 2a | 09 69 6e 69 74 69 61 6c |ndle;./*|.initial|
|00002bc0| 69 7a 65 64 20 62 79 20 | 63 67 69 73 74 61 72 74 |ized by |cgistart|
|00002bd0| 2e 63 09 2a 2f 0a 73 74 | 61 74 69 63 20 63 68 61 |.c.*/.st|atic cha|
|00002be0| 72 20 67 69 6e 5f 64 65 | 76 69 63 65 5b 5d 3d 22 |r gin_de|vice[]="|
|00002bf0| 47 49 4e 20 20 20 20 20 | 22 3b 0a 73 74 61 74 69 |GIN |";.stati|
|00002c00| 63 20 63 68 61 72 20 2a | 20 67 69 6e 64 65 76 69 |c char *| gindevi|
|00002c10| 63 65 20 3d 20 67 69 6e | 5f 64 65 76 69 63 65 3b |ce = gin|_device;|
|00002c20| 0a 73 74 61 74 69 63 20 | 53 49 4e 54 31 36 20 67 |.static |SINT16 g|
|00002c30| 69 6e 5f 61 72 65 61 5b | 34 5d 3b 0a 73 74 61 74 |in_area[|4];.stat|
|00002c40| 69 63 20 53 49 4e 54 31 | 36 20 62 6f 78 5b 38 5d |ic SINT1|6 box[8]|
|00002c50| 3b 0a 73 74 61 74 69 63 | 20 53 49 4e 54 31 36 20 |;.static| SINT16 |
|00002c60| 67 69 6e 5f 70 6f 73 69 | 74 69 6f 6e 5b 32 5d 3b |gin_posi|tion[2];|
|00002c70| 0a 73 74 61 74 69 63 20 | 53 49 4e 54 31 36 20 6f |.static |SINT16 o|
|00002c80| 6c 64 5f 67 69 6e 5f 70 | 6f 73 69 74 69 6f 6e 5b |ld_gin_p|osition[|
|00002c90| 32 5d 3b 0a 73 74 61 74 | 69 63 20 53 49 4e 54 31 |2];.stat|ic SINT1|
|00002ca0| 36 20 6e 65 77 5f 67 69 | 6e 5f 70 6f 73 69 74 69 |6 new_gi|n_positi|
|00002cb0| 6f 6e 5b 32 5d 3b 0a 73 | 74 61 74 69 63 20 63 68 |on[2];.s|tatic ch|
|00002cc0| 61 72 20 67 69 6e 5f 74 | 65 72 6d 69 6e 61 74 6f |ar gin_t|erminato|
|00002cd0| 72 3b 0a 73 74 61 74 69 | 63 20 53 49 4e 54 31 36 |r;.stati|c SINT16|
|00002ce0| 20 6c 69 6e 65 5f 77 69 | 64 74 68 5f 78 3b 0a 73 | line_wi|dth_x;.s|
|00002cf0| 74 61 74 69 63 20 53 49 | 4e 54 31 36 20 6c 69 6e |tatic SI|NT16 lin|
|00002d00| 65 5f 77 69 64 74 68 5f | 79 3b 0a 73 74 61 74 69 |e_width_|y;.stati|
|00002d10| 63 20 53 49 4e 54 31 36 | 20 64 65 6c 74 61 5f 78 |c SINT16| delta_x|
|00002d20| 3b 0a 73 74 61 74 69 63 | 20 53 49 4e 54 31 36 20 |;.static| SINT16 |
|00002d30| 64 65 6c 74 61 5f 79 3b | 0a 73 74 61 74 69 63 20 |delta_y;|.static |
|00002d40| 42 49 54 31 36 20 70 72 | 65 73 73 65 64 3b 0a 73 |BIT16 pr|essed;.s|
|00002d50| 74 61 74 69 63 20 42 49 | 54 31 36 20 72 65 6c 65 |tatic BI|T16 rele|
|00002d60| 61 73 65 64 3b 0a 73 74 | 61 74 69 63 20 42 49 54 |ased;.st|atic BIT|
|00002d70| 31 36 20 6b 65 79 5f 73 | 74 61 74 65 3b 0a 73 74 |16 key_s|tate;.st|
|00002d80| 61 74 69 63 20 42 49 54 | 31 36 20 70 72 65 76 69 |atic BIT|16 previ|
|00002d90| 6f 75 73 5f 70 72 65 73 | 73 65 64 5f 73 74 61 74 |ous_pres|sed_stat|
|00002da0| 65 3b 0a 73 74 61 74 69 | 63 20 42 49 54 31 36 20 |e;.stati|c BIT16 |
|00002db0| 70 72 65 76 69 6f 75 73 | 5f 72 65 6c 65 61 73 65 |previous|_release|
|00002dc0| 64 5f 73 74 61 74 65 3b | 0a 73 74 61 74 69 63 20 |d_state;|.static |
|00002dd0| 42 49 54 31 36 20 70 72 | 65 76 69 6f 75 73 5f 6b |BIT16 pr|evious_k|
|00002de0| 65 79 5f 73 74 61 74 65 | 3b 0a 73 74 61 74 69 63 |ey_state|;.static|
|00002df0| 20 69 6e 74 20 62 75 74 | 74 6f 6e 73 5f 64 6f 77 | int but|tons_dow|
|00002e00| 6e 3b 0a 73 74 61 74 69 | 63 20 69 6e 74 20 70 72 |n;.stati|c int pr|
|00002e10| 65 73 73 65 64 5f 63 6f | 75 6e 74 5b 34 5d 3b 09 |essed_co|unt[4];.|
|00002e20| 2f 2a 09 66 6f 75 72 20 | 62 75 74 74 6f 6e 73 20 |/*.four |buttons |
|00002e30| 6d 61 78 20 2a 2f 0a 73 | 74 61 74 69 63 20 69 6e |max */.s|tatic in|
|00002e40| 74 20 72 65 6c 65 61 73 | 65 64 5f 63 6f 75 6e 74 |t releas|ed_count|
|00002e50| 5b 34 5d 3b 0a 73 74 61 | 74 69 63 20 69 6e 74 20 |[4];.sta|tic int |
|00002e60| 73 6d 5f 72 65 74 75 72 | 6e 73 3b 0a 73 74 61 74 |sm_retur|ns;.stat|
|00002e70| 69 63 20 53 49 4e 54 31 | 36 20 63 75 72 73 6f 72 |ic SINT1|6 cursor|
|00002e80| 5f 68 61 6e 64 6c 65 3b | 0a 73 74 61 74 69 63 20 |_handle;|.static |
|00002e90| 53 49 4e 54 31 36 20 62 | 69 74 6d 61 70 5f 64 69 |SINT16 b|itmap_di|
|00002ea0| 73 70 6c 61 79 73 3b 0a | 73 74 61 74 69 63 20 53 |splays;.|static S|
|00002eb0| 49 4e 54 31 36 20 64 69 | 73 70 6c 61 79 73 5b 32 |INT16 di|splays[2|
|00002ec0| 30 5d 3b 0a 73 74 61 74 | 69 63 20 53 49 4e 54 31 |0];.stat|ic SINT1|
|00002ed0| 36 20 6f 75 72 5f 63 75 | 72 73 6f 72 3b 0a 73 74 |6 our_cu|rsor;.st|
|00002ee0| 61 74 69 63 20 69 6e 74 | 20 63 75 72 73 6f 72 5f |atic int| cursor_|
|00002ef0| 63 72 65 61 74 65 64 3d | 46 41 4c 53 45 3b 0a 73 |created=|FALSE;.s|
|00002f00| 74 61 74 69 63 20 53 49 | 4e 54 31 36 20 64 61 74 |tatic SI|NT16 dat|
|00002f10| 61 5f 6d 61 70 3b 0a 73 | 74 61 74 69 63 20 53 49 |a_map;.s|tatic SI|
|00002f20| 4e 54 31 36 20 6d 61 73 | 6b 5f 6d 61 70 3b 0a 73 |NT16 mas|k_map;.s|
|00002f30| 74 61 74 69 63 20 63 68 | 61 72 20 63 75 72 5f 64 |tatic ch|ar cur_d|
|00002f40| 61 74 61 5b 32 35 36 5d | 20 3d 20 7b 0a 31 2c 31 |ata[256]| = {.1,1|
|00002f50| 2c 31 2c 31 2c 31 2c 31 | 2c 31 2c 30 2c 31 2c 31 |,1,1,1,1|,1,0,1,1|
|00002f60| 2c 31 2c 31 2c 31 2c 31 | 2c 31 2c 31 2c 0a 31 2c |,1,1,1,1|,1,1,.1,|
|00002f70| 31 2c 30 2c 30 2c 30 2c | 30 2c 31 2c 30 2c 31 2c |1,0,0,0,|0,1,0,1,|
|00002f80| 30 2c 30 2c 30 2c 30 2c | 31 2c 30 2c 31 2c 0a 31 |0,0,0,0,|1,0,1,.1|
|00002f90| 2c 30 2c 31 2c 30 2c 30 | 2c 30 2c 31 2c 30 2c 31 |,0,1,0,0|,0,1,0,1|
|00002fa0| 2c 30 2c 30 2c 30 2c 31 | 2c 30 2c 30 2c 31 2c 0a |,0,0,0,1|,0,0,1,.|
|00002fb0| 31 2c 30 2c 30 2c 31 2c | 30 2c 30 2c 31 2c 30 2c |1,0,0,1,|0,0,1,0,|
|00002fc0| 31 2c 30 2c 30 2c 31 2c | 30 2c 30 2c 30 2c 31 2c |1,0,0,1,|0,0,0,1,|
|00002fd0| 0a 31 2c 30 2c 30 2c 30 | 2c 31 2c 30 2c 31 2c 30 |.1,0,0,0|,1,0,1,0|
|00002fe0| 2c 31 2c 30 2c 31 2c 30 | 2c 30 2c 30 2c 30 2c 31 |,1,0,1,0|,0,0,0,1|
|00002ff0| 2c 0a 31 2c 30 2c 30 2c | 30 2c 30 2c 31 2c 31 2c |,.1,0,0,|0,0,1,1,|
|00003000| 30 2c 31 2c 31 2c 30 2c | 30 2c 30 2c 30 2c 30 2c |0,1,1,0,|0,0,0,0,|
|00003010| 31 2c 0a 31 2c 30 2c 30 | 2c 30 2c 30 2c 30 2c 31 |1,.1,0,0|,0,0,0,1|
|00003020| 2c 30 2c 31 2c 30 2c 30 | 2c 30 2c 30 2c 30 2c 30 |,0,1,0,0|,0,0,0,0|
|00003030| 2c 31 2c 0a 31 2c 31 2c | 31 2c 31 2c 31 2c 31 2c |,1,.1,1,|1,1,1,1,|
|00003040| 31 2c 30 2c 31 2c 31 2c | 31 2c 31 2c 31 2c 31 2c |1,0,1,1,|1,1,1,1,|
|00003050| 31 2c 31 2c 0a 30 2c 30 | 2c 30 2c 30 2c 30 2c 30 |1,1,.0,0|,0,0,0,0|
|00003060| 2c 30 2c 30 2c 30 2c 30 | 2c 30 2c 30 2c 30 2c 30 |,0,0,0,0|,0,0,0,0|
|00003070| 2c 30 2c 30 2c 09 2f 2a | 09 3c 2d 20 68 6f 74 20 |,0,0,./*|.<- hot |
|00003080| 73 70 6f 74 20 69 6e 20 | 63 65 6e 74 65 72 20 69 |spot in |center i|
|00003090| 73 20 2a 2f 0a 31 2c 31 | 2c 31 2c 31 2c 31 2c 31 |s */.1,1|,1,1,1,1|
|000030a0| 2c 31 2c 30 2c 31 2c 31 | 2c 31 2c 31 2c 31 2c 31 |,1,0,1,1|,1,1,1,1|
|000030b0| 2c 31 2c 31 2c 09 2f 2a | 09 61 74 20 28 37 2c 37 |,1,1,./*|.at (7,7|
|000030c0| 29 09 2a 2f 0a 31 2c 30 | 2c 30 2c 30 2c 30 2c 31 |).*/.1,0|,0,0,0,1|
|000030d0| 2c 31 2c 30 2c 31 2c 30 | 2c 31 2c 30 2c 30 2c 30 |,1,0,1,0|,1,0,0,0|
|000030e0| 2c 30 2c 31 2c 0a 31 2c | 30 2c 30 2c 30 2c 31 2c |,0,1,.1,|0,0,0,1,|
|000030f0| 30 2c 31 2c 30 2c 31 2c | 30 2c 30 2c 31 2c 30 2c |0,1,0,1,|0,0,1,0,|
|00003100| 30 2c 30 2c 31 2c 0a 31 | 2c 30 2c 30 2c 31 2c 30 |0,0,1,.1|,0,0,1,0|
|00003110| 2c 30 2c 31 2c 30 2c 31 | 2c 30 2c 30 2c 30 2c 31 |,0,1,0,1|,0,0,0,1|
|00003120| 2c 30 2c 30 2c 31 2c 0a | 31 2c 30 2c 31 2c 30 2c |,0,0,1,.|1,0,1,0,|
|00003130| 30 2c 30 2c 31 2c 30 2c | 31 2c 30 2c 30 2c 30 2c |0,0,1,0,|1,0,0,0,|
|00003140| 30 2c 31 2c 30 2c 31 2c | 0a 31 2c 31 2c 30 2c 30 |0,1,0,1,|.1,1,0,0|
|00003150| 2c 30 2c 30 2c 31 2c 30 | 2c 31 2c 30 2c 30 2c 30 |,0,0,1,0|,1,0,0,0|
|00003160| 2c 30 2c 30 2c 31 2c 31 | 2c 0a 31 2c 31 2c 31 2c |,0,0,1,1|,.1,1,1,|
|00003170| 31 2c 31 2c 31 2c 31 2c | 30 2c 31 2c 31 2c 31 2c |1,1,1,1,|0,1,1,1,|
|00003180| 31 2c 31 2c 31 2c 31 2c | 31 20 7d 3b 0a 73 74 61 |1,1,1,1,|1 };.sta|
|00003190| 74 69 63 20 63 68 61 72 | 20 63 75 72 5f 6d 61 73 |tic char| cur_mas|
|000031a0| 6b 5b 32 35 36 5d 20 3d | 20 7b 0a 30 2c 30 2c 30 |k[256] =| {.0,0,0|
|000031b0| 2c 30 2c 30 2c 30 2c 30 | 2c 31 2c 30 2c 30 2c 30 |,0,0,0,0|,1,0,0,0|
|000031c0| 2c 30 2c 30 2c 30 2c 30 | 2c 30 2c 0a 30 2c 31 2c |,0,0,0,0|,0,.0,1,|
|000031d0| 31 2c 31 2c 31 2c 31 2c | 30 2c 31 2c 30 2c 31 2c |1,1,1,1,|0,1,0,1,|
|000031e0| 31 2c 31 2c 31 2c 31 2c | 31 2c 30 2c 0a 30 2c 31 |1,1,1,1,|1,0,.0,1|
|000031f0| 2c 31 2c 31 2c 31 2c 31 | 2c 30 2c 31 2c 30 2c 31 |,1,1,1,1|,0,1,0,1|
|00003200| 2c 31 2c 31 2c 31 2c 31 | 2c 31 2c 30 2c 0a 30 2c |,1,1,1,1|,1,0,.0,|
|00003210| 31 2c 31 2c 31 2c 31 2c | 31 2c 30 2c 31 2c 30 2c |1,1,1,1,|1,0,1,0,|
|00003220| 31 2c 31 2c 31 2c 31 2c | 31 2c 31 2c 30 2c 0a 30 |1,1,1,1,|1,1,0,.0|
|00003230| 2c 31 2c 31 2c 31 2c 31 | 2c 31 2c 30 2c 31 2c 30 |,1,1,1,1|,1,0,1,0|
|00003240| 2c 31 2c 31 2c 31 2c 31 | 2c 31 2c 31 2c 30 2c 0a |,1,1,1,1|,1,1,0,.|
|00003250| 30 2c 31 2c 31 2c 31 2c | 31 2c 31 2c 30 2c 31 2c |0,1,1,1,|1,1,0,1,|
|00003260| 30 2c 31 2c 31 2c 31 2c | 31 2c 31 2c 31 2c 30 2c |0,1,1,1,|1,1,1,0,|
|00003270| 0a 30 2c 31 2c 31 2c 31 | 2c 31 2c 31 2c 30 2c 31 |.0,1,1,1|,1,1,0,1|
|00003280| 2c 30 2c 31 2c 31 2c 31 | 2c 31 2c 31 2c 31 2c 30 |,0,1,1,1|,1,1,1,0|
|00003290| 2c 0a 30 2c 30 2c 30 2c | 30 2c 30 2c 30 2c 30 2c |,.0,0,0,|0,0,0,0,|
|000032a0| 31 2c 30 2c 30 2c 30 2c | 30 2c 30 2c 30 2c 30 2c |1,0,0,0,|0,0,0,0,|
|000032b0| 30 2c 0a 31 2c 31 2c 31 | 2c 31 2c 31 2c 31 2c 31 |0,.1,1,1|,1,1,1,1|
|000032c0| 2c 31 2c 31 2c 31 2c 31 | 2c 31 2c 31 2c 31 2c 31 |,1,1,1,1|,1,1,1,1|
|000032d0| 2c 31 2c 0a 30 2c 30 2c | 30 2c 30 2c 30 2c 30 2c |,1,.0,0,|0,0,0,0,|
|000032e0| 30 2c 31 2c 30 2c 30 2c | 30 2c 30 2c 30 2c 30 2c |0,1,0,0,|0,0,0,0,|
|000032f0| 30 2c 30 2c 0a 30 2c 31 | 2c 31 2c 31 2c 31 2c 31 |0,0,.0,1|,1,1,1,1|
|00003300| 2c 30 2c 31 2c 30 2c 31 | 2c 31 2c 31 2c 31 2c 31 |,0,1,0,1|,1,1,1,1|
|00003310| 2c 31 2c 30 2c 0a 30 2c | 31 2c 31 2c 31 2c 31 2c |,1,0,.0,|1,1,1,1,|
|00003320| 31 2c 30 2c 31 2c 30 2c | 31 2c 31 2c 31 2c 31 2c |1,0,1,0,|1,1,1,1,|
|00003330| 31 2c 31 2c 30 2c 0a 30 | 2c 31 2c 31 2c 31 2c 31 |1,1,0,.0|,1,1,1,1|
|00003340| 2c 31 2c 30 2c 31 2c 30 | 2c 31 2c 31 2c 31 2c 31 |,1,0,1,0|,1,1,1,1|
|00003350| 2c 31 2c 31 2c 30 2c 0a | 30 2c 31 2c 31 2c 31 2c |,1,1,0,.|0,1,1,1,|
|00003360| 31 2c 31 2c 30 2c 31 2c | 30 2c 31 2c 31 2c 31 2c |1,1,0,1,|0,1,1,1,|
|00003370| 31 2c 31 2c 31 2c 30 2c | 0a 30 2c 31 2c 31 2c 31 |1,1,1,0,|.0,1,1,1|
|00003380| 2c 31 2c 31 2c 30 2c 31 | 2c 30 2c 31 2c 31 2c 31 |,1,1,0,1|,0,1,1,1|
|00003390| 2c 31 2c 31 2c 31 2c 30 | 2c 0a 30 2c 30 2c 30 2c |,1,1,1,0|,.0,0,0,|
|000033a0| 30 2c 30 2c 30 2c 30 2c | 31 2c 30 2c 30 2c 30 2c |0,0,0,0,|1,0,0,0,|
|000033b0| 30 2c 30 2c 30 2c 30 2c | 30 20 7d 3b 0a 0a 56 4f |0,0,0,0,|0 };..VO|
|000033c0| 49 44 20 67 69 6e 74 65 | 73 74 73 28 29 0a 7b 0a |ID ginte|sts().{.|
|000033d0| 09 69 66 28 20 21 47 49 | 4e 5f 41 56 41 49 4c 41 |.if( !GI|N_AVAILA|
|000033e0| 42 4c 45 20 29 0a 09 7b | 0a 09 09 67 69 6e 5f 74 |BLE )..{|...gin_t|
|000033f0| 65 73 74 5f 73 63 72 65 | 65 6e 28 20 30 20 29 3b |est_scre|en( 0 );|
|00003400| 0a 09 09 73 70 72 69 6e | 74 66 28 20 73 74 72 69 |...sprin|tf( stri|
|00003410| 6e 67 5f 6f 75 74 2c 20 | 22 67 69 6e 74 65 73 74 |ng_out, |"gintest|
|00003420| 73 3a 20 67 72 61 70 68 | 69 63 73 20 69 6e 70 75 |s: graph|ics inpu|
|00003430| 74 20 69 73 20 6e 6f 74 | 20 61 76 61 69 6c 61 62 |t is not| availab|
|00003440| 6c 65 20 6f 6e 20 74 68 | 69 73 20 64 65 76 69 63 |le on th|is devic|
|00003450| 65 2e 22 20 29 3b 0a 09 | 09 73 65 63 6f 6e 64 5f |e." );..|.second_|
|00003460| 6c 69 6e 65 28 20 73 74 | 72 69 6e 67 5f 6f 75 74 |line( st|ring_out|
|00003470| 20 29 3b 0a 09 09 69 66 | 20 28 20 43 52 54 20 3d | );...if| ( CRT =|
|00003480| 3d 20 44 45 56 49 43 45 | 5f 54 59 50 45 20 29 0a |= DEVICE|_TYPE ).|
|00003490| 09 09 09 63 74 65 73 74 | 5f 70 61 75 73 65 28 20 |...ctest|_pause( |
|000034a0| 28 75 6e 73 69 67 6e 65 | 64 29 20 32 20 29 3b 0a |(unsigne|d) 2 );.|
|000034b0| 09 09 65 6c 73 65 0a 09 | 09 09 69 66 20 28 20 76 |..else..|..if ( v|
|000034c0| 5f 63 6c 72 77 6b 28 64 | 65 76 5f 68 61 6e 64 6c |_clrwk(d|ev_handl|
|000034d0| 65 29 20 3c 20 30 20 29 | 0a 09 09 09 09 72 65 70 |e) < 0 )|.....rep|
|000034e0| 6f 72 74 5f 63 67 69 5f | 65 72 72 6f 72 28 20 22 |ort_cgi_|error( "|
|000034f0| 76 5f 63 6c 72 77 6b 22 | 20 29 3b 0a 09 09 72 65 |v_clrwk"| );...re|
|00003500| 74 75 72 6e 3b 0a 09 7d | 0a 0a 09 28 56 4f 49 44 |turn;..}|...(VOID|
|00003510| 29 20 6f 70 65 6e 5f 67 | 69 6e 5f 64 65 76 69 63 |) open_g|in_devic|
|00003520| 65 28 29 3b 09 2f 2a 20 | 4d 41 59 20 6f 70 65 6e |e();./* |MAY open|
|00003530| 20 61 6e 6f 74 68 65 72 | 20 64 65 76 69 63 65 20 | another| device |
|00003540| 2a 2f 0a 0a 09 69 66 28 | 20 49 4e 50 55 54 5f 4d |*/...if(| INPUT_M|
|00003550| 4f 44 45 53 5f 41 56 41 | 49 4c 41 42 4c 45 20 3c |ODES_AVA|ILABLE <|
|00003560| 20 31 20 29 0a 09 7b 0a | 09 09 63 6c 6f 73 65 5f | 1 )..{.|..close_|
|00003570| 67 69 6e 5f 64 65 76 69 | 63 65 28 29 3b 0a 09 09 |gin_devi|ce();...|
|00003580| 72 65 74 75 72 6e 3b 09 | 2f 2a 09 3c 20 31 20 6d |return;.|/*.< 1 m|
|00003590| 65 61 6e 73 20 72 65 71 | 75 65 73 74 20 6e 6f 74 |eans req|uest not|
|000035a0| 20 61 76 61 69 6c 61 62 | 6c 65 09 2a 2f 0a 09 7d | availab|le.*/..}|
|000035b0| 0a 0a 09 69 66 28 20 43 | 52 54 20 21 3d 20 44 45 |...if( C|RT != DE|
|000035c0| 56 49 43 45 5f 54 59 50 | 45 20 29 0a 09 7b 0a 09 |VICE_TYP|E )..{..|
|000035d0| 09 63 6c 6f 73 65 5f 67 | 69 6e 5f 64 65 76 69 63 |.close_g|in_devic|
|000035e0| 65 28 29 3b 0a 09 09 66 | 70 72 69 6e 74 66 28 20 |e();...f|printf( |
|000035f0| 73 74 64 65 72 72 2c 20 | 22 5c 6e 63 74 65 73 74 |stderr, |"\nctest|
|00003600| 20 6d 65 73 73 61 67 65 | 20 66 72 6f 6d 20 67 69 | message| from gi|
|00003610| 6e 74 65 73 74 73 3a 5c | 6e 22 20 29 3b 0a 09 09 |ntests:\|n" );...|
|00003620| 66 70 72 69 6e 74 66 28 | 20 73 74 64 65 72 72 2c |fprintf(| stderr,|
|00003630| 20 22 5c 6e 54 68 69 73 | 20 6e 6f 6e 2d 43 52 54 | "\nThis| non-CRT|
|00003640| 20 64 65 76 69 63 65 20 | 73 61 79 73 20 69 74 20 | device |says it |
|00003650| 68 61 73 20 47 49 4e 20 | 61 76 61 69 6c 61 62 6c |has GIN |availabl|
|00003660| 65 20 3f 3f 3f 20 5c 6e | 22 20 29 3b 0a 09 09 2f |e ??? \n|" );.../|
|00003670| 2a 09 53 75 72 65 20 69 | 74 20 64 6f 65 73 2e 09 |*.Sure i|t does..|
|00003680| 2a 2f 0a 09 09 73 6c 65 | 65 70 28 20 28 75 6e 73 |*/...sle|ep( (uns|
|00003690| 69 67 6e 65 64 29 20 35 | 20 29 3b 09 2f 2a 09 70 |igned) 5| );./*.p|
|000036a0| 61 75 73 65 20 35 20 73 | 65 63 6f 6e 64 73 20 69 |ause 5 s|econds i|
|000036b0| 6e 73 74 65 61 64 09 2a | 2f 0a 09 09 72 65 74 75 |nstead.*|/...retu|
|000036c0| 72 6e 3b 0a 09 7d 0a 09 | 69 6e 69 74 69 61 6c 69 |rn;..}..|initiali|
|000036d0| 7a 65 5f 67 69 6e 5f 73 | 63 72 65 65 6e 28 29 3b |ze_gin_s|creen();|
|000036e0| 0a 09 2f 2a 09 54 68 65 | 20 70 72 65 73 65 6e 74 |../*.The| present|
|000036f0| 20 6d 6f 75 73 65 20 64 | 72 69 76 65 72 20 64 6f | mouse d|river do|
|00003700| 65 73 20 4e 4f 54 20 72 | 65 70 6f 72 74 20 74 68 |es NOT r|eport th|
|00003710| 65 20 6e 75 6d 62 65 72 | 20 6f 66 09 2a 2f 0a 09 |e number| of.*/..|
|00003720| 2f 2a 09 62 75 74 74 6f | 6e 73 20 6f 6e 20 74 68 |/*.butto|ns on th|
|00003730| 65 20 70 6f 69 6e 74 69 | 6e 67 20 64 65 76 69 63 |e pointi|ng devic|
|00003740| 65 2e 09 20 49 74 20 61 | 6c 77 61 79 73 20 73 61 |e.. It a|lways sa|
|00003750| 79 73 20 6f 6e 65 2e 20 | 2a 2f 0a 09 73 70 72 69 |ys one. |*/..spri|
|00003760| 6e 74 66 28 20 73 74 72 | 69 6e 67 5f 6f 75 74 2c |ntf( str|ing_out,|
|00003770| 20 22 76 5f 6f 70 6e 77 | 6b 20 73 61 79 73 20 25 | "v_opnw|k says %|
|00003780| 64 20 62 75 74 74 6f 6e | 28 73 29 2e 22 2c 0a 09 |d button|(s).",..|
|00003790| 09 47 49 4e 5f 41 56 41 | 49 4c 41 42 4c 45 20 29 |.GIN_AVA|ILABLE )|
|000037a0| 3b 0a 09 73 65 63 6f 6e | 64 5f 6c 69 6e 65 28 20 |;..secon|d_line( |
|000037b0| 73 74 72 69 6e 67 5f 6f | 75 74 20 29 3b 0a 0a 09 |string_o|ut );...|
|000037c0| 2f 2a 09 54 68 65 73 65 | 20 6d 65 73 73 61 67 65 |/*.These| message|
|000037d0| 73 20 66 6f 72 20 73 65 | 63 6f 6e 64 5f 6c 69 6e |s for se|cond_lin|
|000037e0| 65 20 61 6e 64 20 74 68 | 69 72 64 5f 6c 69 6e 65 |e and th|ird_line|
|000037f0| 20 6e 65 65 64 20 74 6f | 20 2a 2f 0a 09 2f 2a 09 | need to| */../*.|
|00003800| 62 65 20 74 68 65 20 73 | 61 6d 65 20 6c 65 6e 67 |be the s|ame leng|
|00003810| 74 68 2c 20 28 6f 72 20 | 61 6c 77 61 79 73 20 6c |th, (or |always l|
|00003820| 6f 6e 67 65 72 29 20 62 | 65 63 61 75 73 65 20 74 |onger) b|ecause t|
|00003830| 68 65 79 20 61 72 65 09 | 2a 2f 0a 09 2f 2a 09 6e |hey are.|*/../*.n|
|00003840| 6f 74 20 65 72 61 73 65 | 64 2e 20 20 53 68 6f 72 |ot erase|d. Shor|
|00003850| 74 65 72 20 6d 65 73 73 | 61 67 65 73 20 77 69 6c |ter mess|ages wil|
|00003860| 6c 20 68 61 76 65 20 74 | 68 65 20 67 61 72 62 61 |l have t|he garba|
|00003870| 67 65 20 6f 66 09 2a 2f | 0a 09 2f 2a 09 74 68 65 |ge of.*/|../*.the|
|00003880| 20 6c 6f 6e 67 65 72 20 | 6f 6e 65 73 20 61 72 6f | longer |ones aro|
|00003890| 75 6e 64 20 74 68 65 6d | 20 62 65 63 61 75 73 65 |und them| because|
|000038a0| 20 61 6c 6c 20 74 68 65 | 20 6d 65 73 73 61 67 65 | all the| message|
|000038b0| 73 20 61 72 65 20 2a 2f | 0a 09 2f 2a 09 63 65 6e |s are */|../*.cen|
|000038c0| 74 65 72 65 64 2e 09 2a | 2f 0a 0a 09 73 70 72 69 |tered..*|/...spri|
|000038d0| 6e 74 66 28 20 73 74 72 | 69 6e 67 5f 6f 75 74 2c |ntf( str|ing_out,|
|000038e0| 20 22 52 45 51 55 45 53 | 54 20 6c 6f 63 61 74 6f | "REQUES|T locato|
|000038f0| 72 2c 20 73 65 6c 65 63 | 74 20 61 20 70 6f 69 6e |r, selec|t a poin|
|00003900| 74 2e 22 20 29 3b 0a 09 | 74 68 69 72 64 5f 6c 69 |t." );..|third_li|
|00003910| 6e 65 28 20 73 74 72 69 | 6e 67 5f 6f 75 74 20 29 |ne( stri|ng_out )|
|00003920| 3b 0a 0a 09 2f 2a 09 73 | 65 65 20 69 66 20 63 75 |;.../*.s|ee if cu|
|00003930| 72 73 6f 72 73 20 63 61 | 6e 20 63 68 61 6e 67 65 |rsors ca|n change|
|00003940| 09 2a 2f 0a 09 63 75 72 | 73 6f 72 5f 68 61 6e 64 |.*/..cur|sor_hand|
|00003950| 6c 65 20 3d 20 30 3b 09 | 2f 2a 09 63 72 6f 73 73 |le = 0;.|/*.cross|
|00003960| 68 61 69 72 09 2a 2f 0a | 09 69 66 20 28 20 30 20 |hair.*/.|.if ( 0 |
|00003970| 3d 3d 20 76 73 67 5f 63 | 75 72 73 6f 72 28 20 64 |== vsg_c|ursor( d|
|00003980| 65 76 5f 68 61 6e 64 6c | 65 2c 20 63 75 72 73 6f |ev_handl|e, curso|
|00003990| 72 5f 68 61 6e 64 6c 65 | 20 29 20 29 0a 09 09 76 |r_handle| ) )...v|
|000039a0| 73 67 5f 63 75 72 73 6f | 72 5f 6f 6b 20 3d 20 54 |sg_curso|r_ok = T|
|000039b0| 52 55 45 3b 0a 09 65 6c | 73 65 0a 09 09 76 73 67 |RUE;..el|se...vsg|
|000039c0| 5f 63 75 72 73 6f 72 5f | 6f 6b 20 3d 20 46 41 4c |_cursor_|ok = FAL|
|000039d0| 53 45 3b 0a 0a 09 72 65 | 71 75 65 73 74 5f 6c 6f |SE;...re|quest_lo|
|000039e0| 63 61 74 6f 72 28 20 30 | 2c 20 30 20 29 3b 0a 0a |cator( 0|, 0 );..|
|000039f0| 09 67 69 6e 5f 70 6f 73 | 69 74 69 6f 6e 5b 30 5d |.gin_pos|ition[0]|
|00003a00| 20 3d 20 6e 65 77 5f 67 | 69 6e 5f 70 6f 73 69 74 | = new_g|in_posit|
|00003a10| 69 6f 6e 5b 30 5d 3b 0a | 09 67 69 6e 5f 70 6f 73 |ion[0];.|.gin_pos|
|00003a20| 69 74 69 6f 6e 5b 31 5d | 20 3d 20 6e 65 77 5f 67 |ition[1]| = new_g|
|00003a30| 69 6e 5f 70 6f 73 69 74 | 69 6f 6e 5b 31 5d 3b 0a |in_posit|ion[1];.|
|00003a40| 0a 09 73 70 72 69 6e 74 | 66 28 20 73 74 72 69 6e |..sprint|f( strin|
|00003a50| 67 5f 6f 75 74 2c 20 22 | 20 20 20 20 20 20 41 52 |g_out, "| AR|
|00003a60| 52 4f 57 20 63 75 72 73 | 6f 72 20 20 20 20 20 20 |ROW curs|or |
|00003a70| 20 20 22 20 29 3b 0a 09 | 73 65 63 6f 6e 64 5f 6c | " );..|second_l|
|00003a80| 69 6e 65 28 20 73 74 72 | 69 6e 67 5f 6f 75 74 20 |ine( str|ing_out |
|00003a90| 29 3b 0a 09 73 70 72 69 | 6e 74 66 28 20 73 74 72 |);..spri|ntf( str|
|00003aa0| 69 6e 67 5f 6f 75 74 2c | 20 22 20 20 52 45 51 55 |ing_out,| " REQU|
|00003ab0| 45 53 54 20 72 75 62 62 | 65 72 62 61 6e 64 69 6e |EST rubb|erbandin|
|00003ac0| 67 20 61 20 6c 69 6e 65 | 2e 20 22 20 29 3b 0a 09 |g a line|. " );..|
|00003ad0| 74 68 69 72 64 5f 6c 69 | 6e 65 28 20 73 74 72 69 |third_li|ne( stri|
|00003ae0| 6e 67 5f 6f 75 74 20 29 | 3b 0a 0a 09 69 66 20 28 |ng_out )|;...if (|
|00003af0| 20 76 73 67 5f 63 75 72 | 73 6f 72 5f 6f 6b 20 29 | vsg_cur|sor_ok )|
|00003b00| 0a 09 69 66 20 28 20 30 | 20 3e 20 76 73 67 5f 63 |..if ( 0| > vsg_c|
|00003b10| 75 72 73 6f 72 28 20 64 | 65 76 5f 68 61 6e 64 6c |ursor( d|ev_handl|
|00003b20| 65 2c 20 2b 2b 63 75 72 | 73 6f 72 5f 68 61 6e 64 |e, ++cur|sor_hand|
|00003b30| 6c 65 20 29 20 29 09 2f | 2a 20 61 72 72 6f 77 20 |le ) )./|* arrow |
|00003b40| 2a 2f 0a 09 09 72 65 70 | 6f 72 74 5f 63 67 69 5f |*/...rep|ort_cgi_|
|00003b50| 65 72 72 6f 72 28 20 22 | 76 73 67 5f 63 75 72 73 |error( "|vsg_curs|
|00003b60| 6f 72 22 20 29 3b 0a 09 | 72 65 71 75 65 73 74 5f |or" );..|request_|
|00003b70| 6c 6f 63 61 74 6f 72 28 | 20 30 2c 20 31 20 29 3b |locator(| 0, 1 );|
|00003b80| 0a 0a 09 67 69 6e 5f 70 | 6f 73 69 74 69 6f 6e 5b |...gin_p|osition[|
|00003b90| 30 5d 20 3d 20 6e 65 77 | 5f 67 69 6e 5f 70 6f 73 |0] = new|_gin_pos|
|00003ba0| 69 74 69 6f 6e 5b 30 5d | 3b 0a 09 67 69 6e 5f 70 |ition[0]|;..gin_p|
|00003bb0| 6f 73 69 74 69 6f 6e 5b | 31 5d 20 3d 20 6e 65 77 |osition[|1] = new|
|00003bc0| 5f 67 69 6e 5f 70 6f 73 | 69 74 69 6f 6e 5b 31 5d |_gin_pos|ition[1]|
|00003bd0| 3b 0a 0a 09 73 70 72 69 | 6e 74 66 28 20 73 74 72 |;...spri|ntf( str|
|00003be0| 69 6e 67 5f 6f 75 74 2c | 20 22 43 48 45 43 4b 4d |ing_out,| "CHECKM|
|00003bf0| 41 52 4b 20 63 75 72 73 | 6f 72 20 20 20 20 20 20 |ARK curs|or |
|00003c00| 20 20 20 20 22 20 29 3b | 0a 09 73 65 63 6f 6e 64 | " );|..second|
|00003c10| 5f 6c 69 6e 65 28 20 73 | 74 72 69 6e 67 5f 6f 75 |_line( s|tring_ou|
|00003c20| 74 20 29 3b 0a 09 73 70 | 72 69 6e 74 66 28 20 73 |t );..sp|rintf( s|
|00003c30| 74 72 69 6e 67 5f 6f 75 | 74 2c 20 22 52 45 51 55 |tring_ou|t, "REQU|
|00003c40| 45 53 54 20 72 75 62 62 | 65 72 62 61 6e 64 69 6e |EST rubb|erbandin|
|00003c50| 67 20 61 20 62 6f 78 2e | 20 20 20 20 22 20 29 3b |g a box.| " );|
|00003c60| 0a 09 74 68 69 72 64 5f | 6c 69 6e 65 28 20 73 74 |..third_|line( st|
|00003c70| 72 69 6e 67 5f 6f 75 74 | 20 29 3b 0a 0a 09 69 66 |ring_out| );...if|
|00003c80| 20 28 20 76 73 67 5f 63 | 75 72 73 6f 72 5f 6f 6b | ( vsg_c|ursor_ok|
|00003c90| 20 29 0a 09 69 66 20 28 | 20 30 20 3e 20 76 73 67 | )..if (| 0 > vsg|
|00003ca0| 5f 63 75 72 73 6f 72 28 | 20 64 65 76 5f 68 61 6e |_cursor(| dev_han|
|00003cb0| 64 6c 65 2c 20 2b 2b 63 | 75 72 73 6f 72 5f 68 61 |dle, ++c|ursor_ha|
|00003cc0| 6e 64 6c 65 20 29 20 29 | 09 2f 2a 20 6d 61 72 6b |ndle ) )|./* mark|
|00003cd0| 09 2a 2f 0a 09 09 72 65 | 70 6f 72 74 5f 63 67 69 |.*/...re|port_cgi|
|00003ce0| 5f 65 72 72 6f 72 28 20 | 22 76 73 67 5f 63 75 72 |_error( |"vsg_cur|
|00003cf0| 73 6f 72 22 20 29 3b 0a | 09 72 65 71 75 65 73 74 |sor" );.|.request|
|00003d00| 5f 6c 6f 63 61 74 6f 72 | 28 20 30 2c 20 32 20 29 |_locator|( 0, 2 )|
|00003d10| 3b 0a 09 67 69 6e 5f 70 | 6f 73 69 74 69 6f 6e 5b |;..gin_p|osition[|
|00003d20| 30 5d 20 3d 20 6e 65 77 | 5f 67 69 6e 5f 70 6f 73 |0] = new|_gin_pos|
|00003d30| 69 74 69 6f 6e 5b 30 5d | 3b 0a 09 67 69 6e 5f 70 |ition[0]|;..gin_p|
|00003d40| 6f 73 69 74 69 6f 6e 5b | 31 5d 20 3d 20 6e 65 77 |osition[|1] = new|
|00003d50| 5f 67 69 6e 5f 70 6f 73 | 69 74 69 6f 6e 5b 31 5d |_gin_pos|ition[1]|
|00003d60| 3b 0a 0a 09 73 70 72 69 | 6e 74 66 28 20 73 74 72 |;...spri|ntf( str|
|00003d70| 69 6e 67 5f 6f 75 74 2c | 20 22 50 6f 69 6e 74 69 |ing_out,| "Pointi|
|00003d80| 6e 67 20 48 61 6e 64 20 | 63 75 72 73 6f 72 20 20 |ng Hand |cursor |
|00003d90| 20 20 20 20 22 20 29 3b | 0a 09 73 65 63 6f 6e 64 | " );|..second|
|00003da0| 5f 6c 69 6e 65 28 20 73 | 74 72 69 6e 67 5f 6f 75 |_line( s|tring_ou|
|00003db0| 74 20 29 3b 0a 09 73 70 | 72 69 6e 74 66 28 20 73 |t );..sp|rintf( s|
|00003dc0| 74 72 69 6e 67 5f 6f 75 | 74 2c 20 22 52 45 51 55 |tring_ou|t, "REQU|
|00003dd0| 45 53 54 20 72 75 62 62 | 65 72 62 61 6e 64 69 6e |EST rubb|erbandin|
|00003de0| 67 20 61 6e 20 69 6e 6b | 65 64 20 6c 69 6e 65 2e |g an ink|ed line.|
|00003df0| 22 20 29 3b 0a 09 74 68 | 69 72 64 5f 6c 69 6e 65 |" );..th|ird_line|
|00003e00| 28 20 73 74 72 69 6e 67 | 5f 6f 75 74 20 29 3b 0a |( string|_out );.|
|00003e10| 0a 09 69 66 20 28 20 76 | 73 67 5f 63 75 72 73 6f |..if ( v|sg_curso|
|00003e20| 72 5f 6f 6b 20 29 0a 09 | 69 66 20 28 20 30 20 3e |r_ok )..|if ( 0 >|
|00003e30| 20 76 73 67 5f 63 75 72 | 73 6f 72 28 20 64 65 76 | vsg_cur|sor( dev|
|00003e40| 5f 68 61 6e 64 6c 65 2c | 20 2b 2b 63 75 72 73 6f |_handle,| ++curso|
|00003e50| 72 5f 68 61 6e 64 6c 65 | 20 29 20 29 20 2f 2a 20 |r_handle| ) ) /* |
|00003e60| 70 6f 69 6e 74 69 6e 67 | 20 68 61 6e 64 20 2a 2f |pointing| hand */|
|00003e70| 0a 09 09 72 65 70 6f 72 | 74 5f 63 67 69 5f 65 72 |...repor|t_cgi_er|
|00003e80| 72 6f 72 28 20 22 76 73 | 67 5f 63 75 72 73 6f 72 |ror( "vs|g_cursor|
|00003e90| 22 20 29 3b 0a 09 72 65 | 71 75 65 73 74 5f 6c 6f |" );..re|quest_lo|
|00003ea0| 63 61 74 6f 72 28 20 31 | 2c 20 31 20 29 3b 0a 09 |cator( 1|, 1 );..|
|00003eb0| 67 69 6e 5f 70 6f 73 69 | 74 69 6f 6e 5b 30 5d 20 |gin_posi|tion[0] |
|00003ec0| 3d 20 6e 65 77 5f 67 69 | 6e 5f 70 6f 73 69 74 69 |= new_gi|n_positi|
|00003ed0| 6f 6e 5b 30 5d 3b 0a 09 | 67 69 6e 5f 70 6f 73 69 |on[0];..|gin_posi|
|00003ee0| 74 69 6f 6e 5b 31 5d 20 | 3d 20 6e 65 77 5f 67 69 |tion[1] |= new_gi|
|00003ef0| 6e 5f 70 6f 73 69 74 69 | 6f 6e 5b 31 5d 3b 0a 0a |n_positi|on[1];..|
|00003f00| 09 73 70 72 69 6e 74 66 | 28 20 73 74 72 69 6e 67 |.sprintf|( string|
|00003f10| 5f 6f 75 74 2c 20 22 50 | 61 6c 6d 20 6f 66 20 48 |_out, "P|alm of H|
|00003f20| 61 6e 64 20 63 75 72 73 | 6f 72 20 20 20 20 20 20 |and curs|or |
|00003f30| 20 22 20 29 3b 0a 09 73 | 65 63 6f 6e 64 5f 6c 69 | " );..s|econd_li|
|00003f40| 6e 65 28 20 73 74 72 69 | 6e 67 5f 6f 75 74 20 29 |ne( stri|ng_out )|
|00003f50| 3b 0a 09 73 70 72 69 6e | 74 66 28 20 73 74 72 69 |;..sprin|tf( stri|
|00003f60| 6e 67 5f 6f 75 74 2c 20 | 22 52 45 51 55 45 53 54 |ng_out, |"REQUEST|
|00003f70| 20 72 75 62 62 65 72 62 | 61 6e 64 69 6e 67 20 61 | rubberb|anding a|
|00003f80| 6e 20 69 6e 6b 65 64 20 | 62 6f 78 2e 20 22 20 29 |n inked |box. " )|
|00003f90| 3b 0a 09 74 68 69 72 64 | 5f 6c 69 6e 65 28 20 73 |;..third|_line( s|
|00003fa0| 74 72 69 6e 67 5f 6f 75 | 74 20 29 3b 0a 0a 09 69 |tring_ou|t );...i|
|00003fb0| 66 20 28 20 76 73 67 5f | 63 75 72 73 6f 72 5f 6f |f ( vsg_|cursor_o|
|00003fc0| 6b 20 29 0a 09 69 66 20 | 28 20 30 20 3e 20 76 73 |k )..if |( 0 > vs|
|00003fd0| 67 5f 63 75 72 73 6f 72 | 28 20 64 65 76 5f 68 61 |g_cursor|( dev_ha|
|00003fe0| 6e 64 6c 65 2c 20 2b 2b | 63 75 72 73 6f 72 5f 68 |ndle, ++|cursor_h|
|00003ff0| 61 6e 64 6c 65 20 29 20 | 29 20 2f 2a 20 70 61 6c |andle ) |) /* pal|
|00004000| 6d 20 6f 66 20 68 61 6e | 64 20 2a 2f 0a 09 09 72 |m of han|d */...r|
|00004010| 65 70 6f 72 74 5f 63 67 | 69 5f 65 72 72 6f 72 28 |eport_cg|i_error(|
|00004020| 20 22 76 73 67 5f 63 75 | 72 73 6f 72 22 20 29 3b | "vsg_cu|rsor" );|
|00004030| 0a 09 72 65 71 75 65 73 | 74 5f 6c 6f 63 61 74 6f |..reques|t_locato|
|00004040| 72 28 20 31 2c 20 32 20 | 29 3b 0a 09 67 69 6e 5f |r( 1, 2 |);..gin_|
|00004050| 70 6f 73 69 74 69 6f 6e | 5b 30 5d 20 3d 20 6e 65 |position|[0] = ne|
|00004060| 77 5f 67 69 6e 5f 70 6f | 73 69 74 69 6f 6e 5b 30 |w_gin_po|sition[0|
|00004070| 5d 3b 0a 09 67 69 6e 5f | 70 6f 73 69 74 69 6f 6e |];..gin_|position|
|00004080| 5b 31 5d 20 3d 20 6e 65 | 77 5f 67 69 6e 5f 70 6f |[1] = ne|w_gin_po|
|00004090| 73 69 74 69 6f 6e 5b 31 | 5d 3b 0a 0a 09 73 70 72 |sition[1|];...spr|
|000040a0| 69 6e 74 66 28 20 73 74 | 72 69 6e 67 5f 6f 75 74 |intf( st|ring_out|
|000040b0| 2c 20 22 48 6f 75 72 67 | 6c 61 73 73 20 63 75 72 |, "Hourg|lass cur|
|000040c0| 73 6f 72 20 20 20 20 20 | 20 20 20 20 20 22 20 29 |sor | " )|
|000040d0| 3b 0a 09 73 65 63 6f 6e | 64 5f 6c 69 6e 65 28 20 |;..secon|d_line( |
|000040e0| 73 74 72 69 6e 67 5f 6f | 75 74 20 29 3b 0a 09 73 |string_o|ut );..s|
|000040f0| 70 72 69 6e 74 66 28 20 | 73 74 72 69 6e 67 5f 6f |printf( |string_o|
|00004100| 75 74 2c 20 22 52 45 51 | 55 45 53 54 20 72 75 62 |ut, "REQ|UEST rub|
|00004110| 62 65 72 62 61 6e 64 69 | 6e 67 20 61 6e 20 69 6e |berbandi|ng an in|
|00004120| 6b 65 64 20 6c 69 6e 65 | 2e 20 22 29 3b 0a 09 74 |ked line|. ");..t|
|00004130| 68 69 72 64 5f 6c 69 6e | 65 28 20 73 74 72 69 6e |hird_lin|e( strin|
|00004140| 67 5f 6f 75 74 20 29 3b | 0a 0a 09 69 66 20 28 20 |g_out );|...if ( |
|00004150| 76 73 67 5f 63 75 72 73 | 6f 72 5f 6f 6b 20 29 0a |vsg_curs|or_ok ).|
|00004160| 09 69 66 20 28 20 30 20 | 3e 20 76 73 67 5f 63 75 |.if ( 0 |> vsg_cu|
|00004170| 72 73 6f 72 28 20 64 65 | 76 5f 68 61 6e 64 6c 65 |rsor( de|v_handle|
|00004180| 2c 20 2b 2b 63 75 72 73 | 6f 72 5f 68 61 6e 64 6c |, ++curs|or_handl|
|00004190| 65 20 29 20 29 20 2f 2a | 20 68 6f 75 72 67 6c 61 |e ) ) /*| hourgla|
|000041a0| 73 73 20 2a 2f 0a 09 09 | 72 65 70 6f 72 74 5f 63 |ss */...|report_c|
|000041b0| 67 69 5f 65 72 72 6f 72 | 28 20 22 76 73 67 5f 63 |gi_error|( "vsg_c|
|000041c0| 75 72 73 6f 72 22 20 29 | 3b 0a 09 72 65 71 75 65 |ursor" )|;..reque|
|000041d0| 73 74 5f 6c 6f 63 61 74 | 6f 72 28 20 31 2c 20 31 |st_locat|or( 1, 1|
|000041e0| 20 29 3b 0a 0a 09 69 66 | 20 28 20 30 20 3c 20 76 | );...if| ( 0 < v|
|000041f0| 71 62 5f 66 6f 72 6d 61 | 74 28 20 64 65 76 5f 68 |qb_forma|t( dev_h|
|00004200| 61 6e 64 6c 65 20 29 20 | 29 09 2f 2a 09 62 69 74 |andle ) |)./*.bit|
|00004210| 6d 61 70 73 20 61 76 61 | 69 6c 61 62 6c 65 20 3f |maps ava|ilable ?|
|00004220| 20 2a 2f 0a 09 7b 0a 09 | 09 62 69 74 6d 61 70 5f | */..{..|.bitmap_|
|00004230| 64 69 73 70 6c 61 79 73 | 20 3d 20 76 71 5f 64 69 |displays| = vq_di|
|00004240| 73 70 6c 61 79 73 20 28 | 20 64 65 76 5f 68 61 6e |splays (| dev_han|
|00004250| 64 6c 65 2c 20 31 30 2c | 20 64 69 73 70 6c 61 79 |dle, 10,| display|
|00004260| 73 20 29 3b 0a 09 09 69 | 66 20 28 20 62 69 74 6d |s );...i|f ( bitm|
|00004270| 61 70 5f 64 69 73 70 6c | 61 79 73 20 3e 20 31 20 |ap_displ|ays > 1 |
|00004280| 29 0a 09 09 7b 0a 09 09 | 09 69 66 20 28 20 64 69 |)...{...|.if ( di|
|00004290| 73 70 6c 61 79 73 5b 30 | 5d 20 3e 20 30 20 29 0a |splays[0|] > 0 ).|
|000042a0| 09 09 09 7b 0a 09 09 09 | 09 69 66 20 28 20 63 72 |...{....|.if ( cr|
|000042b0| 65 61 74 65 5f 6f 75 72 | 5f 63 75 72 73 6f 72 28 |eate_our|_cursor(|
|000042c0| 29 20 29 0a 09 09 09 09 | 7b 0a 09 73 70 72 69 6e |) ).....|{..sprin|
|000042d0| 74 66 28 20 73 74 72 69 | 6e 67 5f 6f 75 74 2c 20 |tf( stri|ng_out, |
|000042e0| 22 4f 75 72 20 6f 77 6e | 20 63 72 65 61 74 65 64 |"Our own| created|
|000042f0| 20 63 75 72 73 6f 72 20 | 20 20 20 22 20 29 3b 0a | cursor | " );.|
|00004300| 09 73 65 63 6f 6e 64 5f | 6c 69 6e 65 28 20 73 74 |.second_|line( st|
|00004310| 72 69 6e 67 5f 6f 75 74 | 20 29 3b 0a 09 73 70 72 |ring_out| );..spr|
|00004320| 69 6e 74 66 28 20 73 74 | 72 69 6e 67 5f 6f 75 74 |intf( st|ring_out|
|00004330| 2c 20 22 52 45 51 55 45 | 53 54 20 72 75 62 62 65 |, "REQUE|ST rubbe|
|00004340| 72 62 61 6e 64 69 6e 67 | 20 61 6e 20 69 6e 6b 65 |rbanding| an inke|
|00004350| 64 20 62 6f 78 2e 20 20 | 22 29 3b 0a 09 74 68 69 |d box. |");..thi|
|00004360| 72 64 5f 6c 69 6e 65 28 | 20 73 74 72 69 6e 67 5f |rd_line(| string_|
|00004370| 6f 75 74 20 29 3b 0a 09 | 67 69 6e 5f 70 6f 73 69 |out );..|gin_posi|
|00004380| 74 69 6f 6e 5b 30 5d 20 | 3d 20 6e 65 77 5f 67 69 |tion[0] |= new_gi|
|00004390| 6e 5f 70 6f 73 69 74 69 | 6f 6e 5b 30 5d 3b 0a 09 |n_positi|on[0];..|
|000043a0| 67 69 6e 5f 70 6f 73 69 | 74 69 6f 6e 5b 31 5d 20 |gin_posi|tion[1] |
|000043b0| 3d 20 6e 65 77 5f 67 69 | 6e 5f 70 6f 73 69 74 69 |= new_gi|n_positi|
|000043c0| 6f 6e 5b 31 5d 3b 0a 0a | 09 69 66 20 28 20 76 73 |on[1];..|.if ( vs|
|000043d0| 67 5f 63 75 72 73 6f 72 | 5f 6f 6b 20 29 0a 09 69 |g_cursor|_ok )..i|
|000043e0| 66 20 28 20 30 20 3e 20 | 76 73 67 5f 63 75 72 73 |f ( 0 > |vsg_curs|
|000043f0| 6f 72 28 20 64 65 76 5f | 68 61 6e 64 6c 65 2c 20 |or( dev_|handle, |
|00004400| 6f 75 72 5f 63 75 72 73 | 6f 72 20 29 20 29 2f 2a |our_curs|or ) )/*|
|00004410| 20 6f 75 72 20 6f 77 6e | 20 73 70 65 63 69 61 6c | our own| special|
|00004420| 20 6f 6e 65 20 2a 2f 0a | 09 09 72 65 70 6f 72 74 | one */.|..report|
|00004430| 5f 63 67 69 5f 65 72 72 | 6f 72 28 20 22 76 73 67 |_cgi_err|or( "vsg|
|00004440| 5f 63 75 72 73 6f 72 22 | 20 29 3b 0a 09 72 65 71 |_cursor"| );..req|
|00004450| 75 65 73 74 5f 6c 6f 63 | 61 74 6f 72 28 20 31 2c |uest_loc|ator( 1,|
|00004460| 20 32 20 29 3b 0a 09 09 | 09 09 7d 0a 09 09 09 7d | 2 );...|..}....}|
|00004470| 0a 09 09 7d 0a 09 7d 09 | 2f 2a 09 65 6e 64 20 6f |...}..}.|/*.end o|
|00004480| 66 09 69 66 20 28 20 30 | 20 3c 20 76 71 62 5f 66 |f.if ( 0| < vqb_f|
|00004490| 6f 72 6d 61 74 28 20 64 | 65 76 5f 68 61 6e 64 6c |ormat( d|ev_handl|
|000044a0| 65 20 29 20 29 09 2a 2f | 0a 0a 0a 09 67 69 6e 5f |e ) ).*/|....gin_|
|000044b0| 70 6f 73 69 74 69 6f 6e | 5b 30 5d 20 3d 20 6e 65 |position|[0] = ne|
|000044c0| 77 5f 67 69 6e 5f 70 6f | 73 69 74 69 6f 6e 5b 30 |w_gin_po|sition[0|
|000044d0| 5d 3b 0a 09 67 69 6e 5f | 70 6f 73 69 74 69 6f 6e |];..gin_|position|
|000044e0| 5b 31 5d 20 3d 20 6e 65 | 77 5f 67 69 6e 5f 70 6f |[1] = ne|w_gin_po|
|000044f0| 73 69 74 69 6f 6e 5b 31 | 5d 3b 0a 0a 09 73 70 72 |sition[1|];...spr|
|00004500| 69 6e 74 66 28 20 73 74 | 72 69 6e 67 5f 6f 75 74 |intf( st|ring_out|
|00004510| 2c 20 22 43 72 6f 73 73 | 68 61 69 72 20 63 75 72 |, "Cross|hair cur|
|00004520| 73 6f 72 20 20 20 20 20 | 20 20 20 20 20 22 20 29 |sor | " )|
|00004530| 3b 0a 09 73 65 63 6f 6e | 64 5f 6c 69 6e 65 28 20 |;..secon|d_line( |
|00004540| 73 74 72 69 6e 67 5f 6f | 75 74 20 29 3b 0a 09 73 |string_o|ut );..s|
|00004550| 70 72 69 6e 74 66 28 20 | 73 74 72 69 6e 67 5f 6f |printf( |string_o|
|00004560| 75 74 2c 20 22 52 45 51 | 55 45 53 54 20 6e 6f 20 |ut, "REQ|UEST no |
|00004570| 72 75 62 62 65 72 62 61 | 6e 64 2c 20 77 69 74 68 |rubberba|nd, with|
|00004580| 20 61 6e 20 69 6e 6b 65 | 64 20 6c 69 6e 65 2e 22 | an inke|d line."|
|00004590| 29 3b 0a 09 74 68 69 72 | 64 5f 6c 69 6e 65 28 20 |);..thir|d_line( |
|000045a0| 73 74 72 69 6e 67 5f 6f | 75 74 20 29 3b 0a 0a 09 |string_o|ut );...|
|000045b0| 69 66 20 28 20 76 73 67 | 5f 63 75 72 73 6f 72 5f |if ( vsg|_cursor_|
|000045c0| 6f 6b 20 29 0a 09 69 66 | 20 28 20 30 20 3e 20 76 |ok )..if| ( 0 > v|
|000045d0| 73 67 5f 63 75 72 73 6f | 72 28 20 64 65 76 5f 68 |sg_curso|r( dev_h|
|000045e0| 61 6e 64 6c 65 2c 20 28 | 63 75 72 73 6f 72 5f 68 |andle, (|cursor_h|
|000045f0| 61 6e 64 6c 65 20 3d 20 | 30 29 20 29 20 29 20 2f |andle = |0) ) ) /|
|00004600| 2a 20 63 72 6f 73 73 68 | 61 69 72 20 2a 2f 0a 09 |* crossh|air */..|
|00004610| 09 72 65 70 6f 72 74 5f | 63 67 69 5f 65 72 72 6f |.report_|cgi_erro|
|00004620| 72 28 20 22 76 73 67 5f | 63 75 72 73 6f 72 22 20 |r( "vsg_|cursor" |
|00004630| 29 3b 0a 09 72 65 71 75 | 65 73 74 5f 6c 6f 63 61 |);..requ|est_loca|
|00004640| 74 6f 72 28 20 31 2c 20 | 30 20 29 3b 0a 0a 09 69 |tor( 1, |0 );...i|
|00004650| 66 28 20 49 4e 50 55 54 | 5f 4d 4f 44 45 53 5f 41 |f( INPUT|_MODES_A|
|00004660| 56 41 49 4c 41 42 4c 45 | 20 3c 20 32 20 29 0a 09 |VAILABLE| < 2 )..|
|00004670| 7b 0a 09 09 63 74 65 73 | 74 5f 70 61 75 73 65 28 |{...ctes|t_pause(|
|00004680| 20 28 75 6e 73 69 67 6e | 65 64 29 20 35 20 29 3b | (unsign|ed) 5 );|
|00004690| 09 2f 2a 20 3c 20 32 20 | 6d 65 61 6e 73 20 73 61 |./* < 2 |means sa|
|000046a0| 6d 70 6c 65 20 6e 6f 74 | 20 61 76 61 69 6c 61 62 |mple not| availab|
|000046b0| 6c 65 20 2a 2f 0a 09 09 | 69 6e 69 74 69 61 6c 69 |le */...|initiali|
|000046c0| 7a 65 5f 67 69 6e 5f 73 | 63 72 65 65 6e 28 29 3b |ze_gin_s|creen();|
|000046d0| 0a 0a 09 09 73 70 72 69 | 6e 74 66 28 20 73 74 72 |....spri|ntf( str|
|000046e0| 69 6e 67 5f 6f 75 74 2c | 20 22 53 41 4d 50 4c 45 |ing_out,| "SAMPLE|
|000046f0| 20 6c 6f 63 61 74 6f 72 | 20 4e 4f 54 20 61 76 61 | locator| NOT ava|
|00004700| 69 6c 61 62 6c 65 2e 22 | 20 29 3b 0a 09 09 74 68 |ilable."| );...th|
|00004710| 69 72 64 5f 6c 69 6e 65 | 28 20 73 74 72 69 6e 67 |ird_line|( string|
|00004720| 5f 6f 75 74 20 29 3b 0a | 09 09 64 65 6c 65 74 65 |_out );.|..delete|
|00004730| 5f 6f 75 72 5f 63 75 72 | 73 6f 72 28 29 3b 0a 09 |_our_cur|sor();..|
|00004740| 09 63 74 65 73 74 5f 70 | 61 75 73 65 28 20 28 75 |.ctest_p|ause( (u|
|00004750| 6e 73 69 67 6e 65 64 29 | 20 35 20 29 3b 0a 09 09 |nsigned)| 5 );...|
|00004760| 2f 2a 20 63 6c 65 61 72 | 20 77 6f 72 6b 73 74 61 |/* clear| worksta|
|00004770| 74 69 6f 6e 20 2a 2f 0a | 09 09 69 66 20 28 20 76 |tion */.|..if ( v|
|00004780| 5f 63 6c 72 77 6b 28 64 | 65 76 5f 68 61 6e 64 6c |_clrwk(d|ev_handl|
|00004790| 65 29 20 3c 20 30 20 29 | 0a 09 09 09 72 65 70 6f |e) < 0 )|....repo|
|000047a0| 72 74 5f 63 67 69 5f 65 | 72 72 6f 72 28 20 22 76 |rt_cgi_e|rror( "v|
|000047b0| 5f 63 6c 72 77 6b 22 20 | 29 3b 0a 09 09 63 6c 6f |_clrwk" |);...clo|
|000047c0| 73 65 5f 67 69 6e 5f 64 | 65 76 69 63 65 28 29 3b |se_gin_d|evice();|
|000047d0| 0a 09 09 72 65 74 75 72 | 6e 3b 0a 09 7d 0a 0a 09 |...retur|n;..}...|
|000047e0| 73 70 72 69 6e 74 66 28 | 73 74 72 69 6e 67 5f 6f |sprintf(|string_o|
|000047f0| 75 74 2c 22 43 75 72 73 | 6f 72 20 63 68 61 6e 67 |ut,"Curs|or chang|
|00004800| 65 73 20 77 68 65 6e 20 | 6d 6f 76 65 64 2c 20 3e |es when |moved, >|
|00004810| 20 31 20 62 75 74 74 6f | 6e 20 65 78 69 74 73 20 | 1 butto|n exits |
|00004820| 74 65 73 74 2e 22 29 3b | 0a 09 73 65 63 6f 6e 64 |test.");|..second|
|00004830| 5f 6c 69 6e 65 28 20 73 | 74 72 69 6e 67 5f 6f 75 |_line( s|tring_ou|
|00004840| 74 20 29 3b 0a 09 73 70 | 72 69 6e 74 66 28 20 73 |t );..sp|rintf( s|
|00004850| 74 72 69 6e 67 5f 6f 75 | 74 2c 20 22 20 53 41 4d |tring_ou|t, " SAM|
|00004860| 50 4c 45 20 6c 6f 63 61 | 74 6f 72 2c 20 63 74 65 |PLE loca|tor, cte|
|00004870| 73 74 20 69 73 20 72 75 | 62 62 65 72 62 61 6e 64 |st is ru|bberband|
|00004880| 69 6e 67 2e 20 22 20 29 | 3b 0a 09 74 68 69 72 64 |ing. " )|;..third|
|00004890| 5f 6c 69 6e 65 28 20 73 | 74 72 69 6e 67 5f 6f 75 |_line( s|tring_ou|
|000048a0| 74 20 29 3b 0a 0a 09 6f | 6c 64 5f 67 69 6e 5f 70 |t );...o|ld_gin_p|
|000048b0| 6f 73 69 74 69 6f 6e 5b | 30 5d 20 3d 20 6e 65 77 |osition[|0] = new|
|000048c0| 5f 67 69 6e 5f 70 6f 73 | 69 74 69 6f 6e 5b 30 5d |_gin_pos|ition[0]|
|000048d0| 3b 0a 09 6f 6c 64 5f 67 | 69 6e 5f 70 6f 73 69 74 |;..old_g|in_posit|
|000048e0| 69 6f 6e 5b 31 5d 20 3d | 20 6e 65 77 5f 67 69 6e |ion[1] =| new_gin|
|000048f0| 5f 70 6f 73 69 74 69 6f | 6e 5b 31 5d 3b 0a 09 70 |_positio|n[1];..p|
|00004900| 6f 6c 79 6c 69 6e 65 5b | 30 5d 20 3d 20 70 6f 6c |olyline[|0] = pol|
|00004910| 79 6c 69 6e 65 5b 32 5d | 20 3d 20 6e 65 77 5f 67 |yline[2]| = new_g|
|00004920| 69 6e 5f 70 6f 73 69 74 | 69 6f 6e 5b 30 5d 3b 0a |in_posit|ion[0];.|
|00004930| 09 70 6f 6c 79 6c 69 6e | 65 5b 31 5d 20 3d 20 70 |.polylin|e[1] = p|
|00004940| 6f 6c 79 6c 69 6e 65 5b | 33 5d 20 3d 20 6e 65 77 |olyline[|3] = new|
|00004950| 5f 67 69 6e 5f 70 6f 73 | 69 74 69 6f 6e 5b 31 5d |_gin_pos|ition[1]|
|00004960| 3b 0a 09 62 6f 78 5b 30 | 5d 20 3d 20 62 6f 78 5b |;..box[0|] = box[|
|00004970| 32 5d 20 3d 20 63 65 6c | 6c 5f 77 69 64 74 68 20 |2] = cel|l_width |
|00004980| 2a 20 34 30 3b 0a 09 62 | 6f 78 5b 31 5d 20 3d 20 |* 40;..b|ox[1] = |
|00004990| 62 6f 78 5b 37 5d 20 3d | 20 63 65 6c 6c 5f 68 65 |box[7] =| cell_he|
|000049a0| 69 67 68 74 3b 0a 09 62 | 6f 78 5b 34 5d 20 3d 20 |ight;..b|ox[4] = |
|000049b0| 62 6f 78 5b 36 5d 20 3d | 20 63 65 6c 6c 5f 77 69 |box[6] =| cell_wi|
|000049c0| 64 74 68 20 2a 20 35 35 | 3b 0a 09 62 6f 78 5b 33 |dth * 55|;..box[3|
|000049d0| 5d 20 3d 20 62 6f 78 5b | 35 5d 20 3d 20 63 65 6c |] = box[|5] = cel|
|000049e0| 6c 5f 68 65 69 67 68 74 | 20 3c 3c 20 31 3b 0a 0a |l_height| << 1;..|
|000049f0| 09 76 73 66 5f 69 6e 74 | 65 72 69 6f 72 28 20 64 |.vsf_int|erior( d|
|00004a00| 65 76 5f 68 61 6e 64 6c | 65 2c 20 53 4f 4c 49 44 |ev_handl|e, SOLID|
|00004a10| 20 29 3b 0a 0a 09 76 73 | 66 5f 63 6f 6c 6f 72 28 | );...vs|f_color(|
|00004a20| 20 64 65 76 5f 68 61 6e | 64 6c 65 2c 20 30 20 29 | dev_han|dle, 0 )|
|00004a30| 3b 0a 09 0a 09 69 66 20 | 28 20 76 73 67 5f 63 75 |;....if |( vsg_cu|
|00004a40| 72 73 6f 72 5f 6f 6b 20 | 29 0a 09 69 66 20 28 20 |rsor_ok |)..if ( |
|00004a50| 30 20 3e 20 76 73 67 5f | 63 75 72 73 6f 72 28 20 |0 > vsg_|cursor( |
|00004a60| 64 65 76 5f 68 61 6e 64 | 6c 65 2c 20 28 63 75 72 |dev_hand|le, (cur|
|00004a70| 73 6f 72 5f 68 61 6e 64 | 6c 65 20 3d 20 30 29 20 |sor_hand|le = 0) |
|00004a80| 29 20 29 20 2f 2a 20 63 | 72 6f 73 73 68 61 69 72 |) ) /* c|rosshair|
|00004a90| 20 2a 2f 0a 09 09 72 65 | 70 6f 72 74 5f 63 67 69 | */...re|port_cgi|
|00004aa0| 5f 65 72 72 6f 72 28 20 | 22 76 73 67 5f 63 75 72 |_error( |"vsg_cur|
|00004ab0| 73 6f 72 22 20 29 3b 0a | 0a 09 66 6f 72 20 28 20 |sor" );.|..for ( |
|00004ac0| 62 75 74 74 6f 6e 73 5f | 64 6f 77 6e 20 3d 20 34 |buttons_|down = 4|
|00004ad0| 3b 20 62 75 74 74 6f 6e | 73 5f 64 6f 77 6e 2d 2d |; button|s_down--|
|00004ae0| 3b 20 29 09 2f 2a 20 33 | 2c 20 32 2c 20 31 2c 20 |; )./* 3|, 2, 1, |
|00004af0| 30 20 2a 2f 0a 09 7b 0a | 09 09 70 72 65 73 73 65 |0 */..{.|..presse|
|00004b00| 64 5f 63 6f 75 6e 74 5b | 20 62 75 74 74 6f 6e 73 |d_count[| buttons|
|00004b10| 5f 64 6f 77 6e 20 5d 20 | 3d 20 30 3b 0a 09 09 72 |_down ] |= 0;...r|
|00004b20| 65 6c 65 61 73 65 64 5f | 63 6f 75 6e 74 5b 20 62 |eleased_|count[ b|
|00004b30| 75 74 74 6f 6e 73 5f 64 | 6f 77 6e 20 5d 20 3d 20 |uttons_d|own ] = |
|00004b40| 30 3b 0a 09 7d 0a 09 62 | 75 74 74 6f 6e 73 5f 64 |0;..}..b|uttons_d|
|00004b50| 6f 77 6e 20 3d 20 70 72 | 65 73 73 65 64 20 3d 20 |own = pr|essed = |
|00004b60| 72 65 6c 65 61 73 65 64 | 20 3d 20 6b 65 79 5f 73 |released| = key_s|
|00004b70| 74 61 74 65 20 3d 20 30 | 3b 0a 0a 09 2f 2a 09 6c |tate = 0|;.../*.l|
|00004b80| 6f 6f 70 20 77 69 6c 6c | 20 72 75 6e 20 75 6e 74 |oop will| run unt|
|00004b90| 69 6c 20 6d 6f 72 65 20 | 74 68 61 6e 20 6f 6e 65 |il more |than one|
|00004ba0| 20 62 75 74 74 6f 6e 20 | 69 73 20 64 6f 77 6e 09 | button |is down.|
|00004bb0| 2a 2f 0a 09 2f 2a 09 4f | 72 20 3c 52 45 54 55 52 |*/../*.O|r <RETUR|
|00004bc0| 4e 3e 20 69 73 20 70 72 | 65 73 73 65 64 09 2a 2f |N> is pr|essed.*/|
|00004bd0| 0a 09 64 6f 0a 09 7b 0a | 09 09 70 72 65 76 69 6f |..do..{.|..previo|
|00004be0| 75 73 5f 70 72 65 73 73 | 65 64 5f 73 74 61 74 65 |us_press|ed_state|
|00004bf0| 20 3d 20 70 72 65 73 73 | 65 64 3b 0a 09 09 70 72 | = press|ed;...pr|
|00004c00| 65 76 69 6f 75 73 5f 72 | 65 6c 65 61 73 65 64 5f |evious_r|eleased_|
|00004c10| 73 74 61 74 65 20 3d 20 | 72 65 6c 65 61 73 65 64 |state = |released|
|00004c20| 3b 0a 09 09 70 72 65 76 | 69 6f 75 73 5f 6b 65 79 |;...prev|ious_key|
|00004c30| 5f 73 74 61 74 65 20 3d | 20 6b 65 79 5f 73 74 61 |_state =| key_sta|
|00004c40| 74 65 3b 0a 0a 09 69 66 | 20 28 20 73 6d 5f 72 65 |te;...if| ( sm_re|
|00004c50| 74 75 72 6e 73 20 3d 20 | 76 73 6d 5f 6c 6f 63 61 |turns = |vsm_loca|
|00004c60| 74 6f 72 28 20 67 69 6e | 5f 68 61 6e 64 6c 65 2c |tor( gin|_handle,|
|00004c70| 20 6f 6c 64 5f 67 69 6e | 5f 70 6f 73 69 74 69 6f | old_gin|_positio|
|00004c80| 6e 2c 0a 09 09 6e 65 77 | 5f 67 69 6e 5f 70 6f 73 |n,...new|_gin_pos|
|00004c90| 69 74 69 6f 6e 2c 20 26 | 70 72 65 73 73 65 64 2c |ition, &|pressed,|
|00004ca0| 20 26 72 65 6c 65 61 73 | 65 64 2c 20 26 6b 65 79 | &releas|ed, &key|
|00004cb0| 5f 73 74 61 74 65 20 29 | 20 3c 20 30 20 29 0a 09 |_state )| < 0 )..|
|00004cc0| 09 09 72 65 70 6f 72 74 | 5f 63 67 69 5f 65 72 72 |..report|_cgi_err|
|00004cd0| 6f 72 28 20 22 76 73 6d | 5f 6c 6f 63 61 74 6f 72 |or( "vsm|_locator|
|00004ce0| 22 20 29 3b 0a 0a 09 2f | 2a 09 4f 6e 20 58 45 4e |" );.../|*.On XEN|
|00004cf0| 49 58 3a 09 09 09 09 09 | 09 2a 2f 0a 09 2f 2a 09 |IX:.....|.*/../*.|
|00004d00| 4e 6f 20 65 76 65 6e 74 | 20 61 74 20 61 6c 6c 20 |No event| at all |
|00004d10| 77 69 6c 6c 20 72 65 74 | 75 72 6e 20 30 20 69 6e |will ret|urn 0 in|
|00004d20| 20 70 72 65 73 73 65 64 | 2c 20 72 65 6c 65 61 73 | pressed|, releas|
|00004d30| 65 64 20 61 6e 64 09 2a | 2f 0a 09 2f 2a 09 6b 65 |ed and.*|/../*.ke|
|00004d40| 79 5f 73 74 61 74 65 2e | 09 09 09 09 09 09 2a 2f |y_state.|......*/|
|00004d50| 0a 09 2f 2a 09 41 20 6d | 6f 75 73 65 20 65 76 65 |../*.A m|ouse eve|
|00004d60| 6e 74 20 77 69 6c 6c 20 | 72 65 74 75 72 6e 20 62 |nt will |return b|
|00004d70| 69 74 20 31 35 20 6f 6e | 20 28 30 78 38 30 30 30 |it 15 on| (0x8000|
|00004d80| 29 20 69 6e 09 09 2a 2f | 0a 09 2f 2a 09 70 72 65 |) in..*/|../*.pre|
|00004d90| 73 73 65 64 2c 20 72 65 | 6c 65 61 73 65 64 20 61 |ssed, re|leased a|
|00004da0| 6e 64 20 6b 65 79 5f 73 | 74 61 74 65 2e 20 20 50 |nd key_s|tate. P|
|00004db0| 4c 55 53 2c 20 74 68 65 | 20 61 70 70 72 6f 70 72 |LUS, the| appropr|
|00004dc0| 69 61 74 65 20 2a 2f 0a | 09 2f 2a 09 6b 65 79 73 |iate */.|./*.keys|
|00004dd0| 74 61 74 65 20 77 69 6c | 6c 20 62 65 20 72 65 74 |tate wil|l be ret|
|00004de0| 75 72 6e 65 64 20 77 68 | 65 72 65 20 62 69 74 73 |urned wh|ere bits|
|00004df0| 20 61 72 65 20 64 65 66 | 69 6e 65 64 3a 09 2a 2f | are def|ined:.*/|
|00004e00| 0a 09 2f 2a 09 30 78 30 | 30 30 38 20 2d 20 62 69 |../*.0x0|008 - bi|
|00004e10| 74 20 33 20 2d 20 6c 65 | 66 74 6d 6f 73 74 20 62 |t 3 - le|ftmost b|
|00004e20| 75 74 74 6f 6e 20 6f 6e | 20 34 20 62 75 74 74 6f |utton on| 4 butto|
|00004e30| 6e 20 64 65 76 69 63 65 | 73 09 2a 2f 0a 09 2f 2a |n device|s.*/../*|
|00004e40| 09 30 78 30 30 30 34 20 | 2d 20 62 69 74 20 32 20 |.0x0004 |- bit 2 |
|00004e50| 2d 20 33 72 64 20 66 72 | 6f 6d 20 72 69 67 68 74 |- 3rd fr|om right|
|00004e60| 20 6f 6e 20 3e 20 32 20 | 62 75 74 74 6f 6e 20 64 | on > 2 |button d|
|00004e70| 65 76 69 63 65 73 2c 20 | 6f 72 20 2a 2f 0a 09 2f |evices, |or */../|
|00004e80| 2a 09 09 09 6c 65 66 74 | 20 62 75 74 74 6f 6e 20 |*...left| button |
|00004e90| 6f 6e 20 32 20 62 75 74 | 74 6f 6e 20 64 65 76 69 |on 2 but|ton devi|
|00004ea0| 63 65 73 09 2a 2f 0a 09 | 2f 2a 09 30 78 30 30 30 |ces.*/..|/*.0x000|
|00004eb0| 32 20 2d 20 62 69 74 20 | 31 20 2d 20 32 6e 64 20 |2 - bit |1 - 2nd |
|00004ec0| 66 72 6f 6d 20 72 69 67 | 68 74 20 6f 6e 20 3e 20 |from rig|ht on > |
|00004ed0| 32 20 62 75 74 74 6f 6e | 20 64 65 76 69 63 65 73 |2 button| devices|
|00004ee0| 09 2a 2f 0a 09 2f 2a 09 | 30 78 30 30 30 31 20 2d |.*/../*.|0x0001 -|
|00004ef0| 20 62 69 74 20 30 20 2d | 20 72 69 67 68 74 6d 6f | bit 0 -| rightmo|
|00004f00| 73 74 20 62 75 74 74 6f | 6e 20 6f 6e 20 6d 6f 75 |st butto|n on mou|
|00004f10| 73 65 09 2a 2f 0a 0a 09 | 52 45 50 4d 4f 44 45 3b |se.*/...|REPMODE;|
|00004f20| 0a 09 2f 2a 09 57 68 65 | 6e 20 63 68 61 6e 67 65 |../*.Whe|n change|
|00004f30| 73 20 6e 6f 74 65 64 2c | 20 69 73 73 75 65 20 72 |s noted,| issue r|
|00004f40| 65 70 6f 72 74 09 2a 2f | 0a 09 2f 2a 09 45 78 63 |eport.*/|../*.Exc|
|00004f50| 65 70 74 20 77 68 65 6e | 20 74 68 65 20 63 68 61 |ept when| the cha|
|00004f60| 6e 67 65 73 20 61 72 65 | 20 6b 65 79 73 74 72 6f |nges are| keystro|
|00004f70| 6b 65 73 20 70 72 65 73 | 73 65 64 20 6f 72 20 72 |kes pres|sed or r|
|00004f80| 65 6c 65 61 73 65 64 20 | 2a 2f 0a 09 2f 2a 09 6f |eleased |*/../*.o|
|00004f90| 6e 6c 79 09 2a 2f 0a 09 | 69 66 20 28 0a 09 28 20 |nly.*/..|if (..( |
|00004fa0| 28 70 72 65 76 69 6f 75 | 73 5f 70 72 65 73 73 65 |(previou|s_presse|
|00004fb0| 64 5f 73 74 61 74 65 20 | 5e 20 70 72 65 73 73 65 |d_state |^ presse|
|00004fc0| 64 29 20 26 26 20 6b 65 | 79 5f 73 74 61 74 65 20 |d) && ke|y_state |
|00004fd0| 29 20 7c 7c 0a 09 28 20 | 28 70 72 65 76 69 6f 75 |) ||..( |(previou|
|00004fe0| 73 5f 72 65 6c 65 61 73 | 65 64 5f 73 74 61 74 65 |s_releas|ed_state|
|00004ff0| 20 5e 20 72 65 6c 65 61 | 73 65 64 29 20 26 26 20 | ^ relea|sed) && |
|00005000| 6b 65 79 5f 73 74 61 74 | 65 20 29 20 7c 7c 0a 09 |key_stat|e ) ||..|
|00005010| 28 20 28 70 72 65 76 69 | 6f 75 73 5f 6b 65 79 5f |( (previ|ous_key_|
|00005020| 73 74 61 74 65 20 5e 20 | 6b 65 79 5f 73 74 61 74 |state ^ |key_stat|
|00005030| 65 29 20 26 26 20 6b 65 | 79 5f 73 74 61 74 65 29 |e) && ke|y_state)|
|00005040| 20 29 0a 09 7b 0a 09 09 | 09 63 6c 65 61 72 5f 69 | )..{...|.clear_i|
|00005050| 6e 66 6f 5f 6c 69 6e 65 | 28 29 3b 0a 09 09 09 6b |nfo_line|();....k|
|00005060| 65 79 5f 73 74 61 74 65 | 5f 72 65 70 6f 72 74 28 |ey_state|_report(|
|00005070| 29 3b 0a 09 7d 0a 0a 09 | 69 66 20 28 20 28 6f 6c |);..}...|if ( (ol|
|00005080| 64 5f 67 69 6e 5f 70 6f | 73 69 74 69 6f 6e 5b 30 |d_gin_po|sition[0|
|00005090| 5d 20 2d 20 6e 65 77 5f | 67 69 6e 5f 70 6f 73 69 |] - new_|gin_posi|
|000050a0| 74 69 6f 6e 5b 30 5d 29 | 20 7c 0a 09 09 28 6f 6c |tion[0])| |...(ol|
|000050b0| 64 5f 67 69 6e 5f 70 6f | 73 69 74 69 6f 6e 5b 31 |d_gin_po|sition[1|
|000050c0| 5d 20 2d 20 6e 65 77 5f | 67 69 6e 5f 70 6f 73 69 |] - new_|gin_posi|
|000050d0| 74 69 6f 6e 5b 31 5d 29 | 20 29 09 2f 2a 20 77 68 |tion[1])| )./* wh|
|000050e0| 65 6e 20 6d 6f 76 65 64 | 20 2a 2f 0a 09 7b 0a 09 |en moved| */..{..|
|000050f0| 09 64 65 6c 74 61 5f 78 | 20 3d 20 61 62 73 28 20 |.delta_x| = abs( |
|00005100| 6e 65 77 5f 67 69 6e 5f | 70 6f 73 69 74 69 6f 6e |new_gin_|position|
|00005110| 5b 30 5d 20 2d 20 6f 6c | 64 5f 67 69 6e 5f 70 6f |[0] - ol|d_gin_po|
|00005120| 73 69 74 69 6f 6e 5b 30 | 5d 20 29 3b 0a 09 09 64 |sition[0|] );...d|
|00005130| 65 6c 74 61 5f 79 20 3d | 20 61 62 73 28 20 6e 65 |elta_y =| abs( ne|
|00005140| 77 5f 67 69 6e 5f 70 6f | 73 69 74 69 6f 6e 5b 31 |w_gin_po|sition[1|
|00005150| 5d 20 2d 20 6f 6c 64 5f | 67 69 6e 5f 70 6f 73 69 |] - old_|gin_posi|
|00005160| 74 69 6f 6e 5b 31 5d 20 | 29 3b 0a 09 09 6f 6c 64 |tion[1] |);...old|
|00005170| 5f 67 69 6e 5f 70 6f 73 | 69 74 69 6f 6e 5b 30 5d |_gin_pos|ition[0]|
|00005180| 20 3d 20 6e 65 77 5f 67 | 69 6e 5f 70 6f 73 69 74 | = new_g|in_posit|
|00005190| 69 6f 6e 5b 30 5d 3b 0a | 09 09 6f 6c 64 5f 67 69 |ion[0];.|..old_gi|
|000051a0| 6e 5f 70 6f 73 69 74 69 | 6f 6e 5b 31 5d 20 3d 20 |n_positi|on[1] = |
|000051b0| 6e 65 77 5f 67 69 6e 5f | 70 6f 73 69 74 69 6f 6e |new_gin_|position|
|000051c0| 5b 31 5d 3b 0a 09 09 69 | 66 20 28 20 28 64 65 6c |[1];...i|f ( (del|
|000051d0| 74 61 5f 78 20 3e 3d 20 | 6c 69 6e 65 5f 77 69 64 |ta_x >= |line_wid|
|000051e0| 74 68 5f 78 29 20 7c 7c | 20 28 64 65 6c 74 61 5f |th_x) ||| (delta_|
|000051f0| 79 20 3e 3d 20 6c 69 6e | 65 5f 77 69 64 74 68 5f |y >= lin|e_width_|
|00005200| 79 29 20 29 0a 09 09 7b | 09 2f 2a 20 77 68 65 6e |y) )...{|./* when|
|00005210| 20 6d 6f 76 65 64 20 6d | 6f 72 65 20 74 68 61 6e | moved m|ore than|
|00005220| 20 61 20 6c 69 6e 65 20 | 77 69 64 74 68 09 2a 2f | a line |width.*/|
|00005230| 0a 09 09 09 69 66 28 20 | 30 20 3e 20 76 5f 72 6d |....if( |0 > v_rm|
|00005240| 63 75 72 28 20 64 65 76 | 5f 68 61 6e 64 6c 65 20 |cur( dev|_handle |
|00005250| 29 20 29 0a 09 09 09 09 | 72 65 70 6f 72 74 5f 63 |) ).....|report_c|
|00005260| 67 69 5f 65 72 72 6f 72 | 28 20 22 76 5f 72 6d 63 |gi_error|( "v_rmc|
|00005270| 75 72 22 20 29 3b 0a 09 | 09 09 63 75 72 73 6f 72 |ur" );..|..cursor|
|00005280| 5f 68 61 6e 64 6c 65 20 | 3d 20 2b 2b 63 75 72 73 |_handle |= ++curs|
|00005290| 6f 72 5f 68 61 6e 64 6c | 65 3b 0a 09 09 09 69 66 |or_handl|e;....if|
|000052a0| 20 28 20 36 20 3d 3d 20 | 63 75 72 73 6f 72 5f 68 | ( 6 == |cursor_h|
|000052b0| 61 6e 64 6c 65 20 29 0a | 09 09 09 7b 0a 09 09 09 |andle ).|...{....|
|000052c0| 09 69 66 20 28 20 76 73 | 67 5f 63 75 72 73 6f 72 |.if ( vs|g_cursor|
|000052d0| 5f 6f 6b 20 29 0a 09 09 | 09 09 69 66 20 28 20 30 |_ok )...|..if ( 0|
|000052e0| 20 3e 20 76 73 67 5f 63 | 75 72 73 6f 72 28 20 64 | > vsg_c|ursor( d|
|000052f0| 65 76 5f 68 61 6e 64 6c | 65 2c 20 6f 75 72 5f 63 |ev_handl|e, our_c|
|00005300| 75 72 73 6f 72 20 29 20 | 29 0a 09 09 09 09 09 72 |ursor ) |)......r|
|00005310| 65 70 6f 72 74 5f 63 67 | 69 5f 65 72 72 6f 72 28 |eport_cg|i_error(|
|00005320| 20 22 76 73 67 5f 63 75 | 72 73 6f 72 22 20 29 3b | "vsg_cu|rsor" );|
|00005330| 0a 09 09 09 09 63 75 72 | 73 6f 72 5f 68 61 6e 64 |.....cur|sor_hand|
|00005340| 6c 65 20 3d 20 2d 20 31 | 3b 20 2f 2a 20 73 6f 20 |le = - 1|; /* so |
|00005350| 74 6f 20 62 65 20 30 20 | 6e 65 78 74 20 74 69 6d |to be 0 |next tim|
|00005360| 65 2a 2f 0a 09 09 09 7d | 0a 09 09 09 65 6c 73 65 |e*/....}|....else|
|00005370| 0a 09 09 09 7b 0a 09 09 | 09 09 69 66 20 28 20 76 |....{...|..if ( v|
|00005380| 73 67 5f 63 75 72 73 6f | 72 5f 6f 6b 20 29 0a 09 |sg_curso|r_ok )..|
|00005390| 09 09 09 69 66 28 30 20 | 3e 20 76 73 67 5f 63 75 |...if(0 |> vsg_cu|
|000053a0| 72 73 6f 72 28 20 64 65 | 76 5f 68 61 6e 64 6c 65 |rsor( de|v_handle|
|000053b0| 2c 20 63 75 72 73 6f 72 | 5f 68 61 6e 64 6c 65 20 |, cursor|_handle |
|000053c0| 29 20 29 0a 09 09 09 09 | 09 72 65 70 6f 72 74 5f |) ).....|.report_|
|000053d0| 63 67 69 5f 65 72 72 6f | 72 28 20 22 76 73 67 5f |cgi_erro|r( "vsg_|
|000053e0| 63 75 72 73 6f 72 22 20 | 29 3b 0a 09 09 09 7d 0a |cursor" |);....}.|
|000053f0| 09 09 09 69 66 20 28 20 | 30 20 3e 20 76 5f 64 73 |...if ( |0 > v_ds|
|00005400| 70 63 75 72 28 20 64 65 | 76 5f 68 61 6e 64 6c 65 |pcur( de|v_handle|
|00005410| 2c 20 6f 6c 64 5f 67 69 | 6e 5f 70 6f 73 69 74 69 |, old_gi|n_positi|
|00005420| 6f 6e 5b 30 5d 2c 0a 09 | 09 09 09 6f 6c 64 5f 67 |on[0],..|...old_g|
|00005430| 69 6e 5f 70 6f 73 69 74 | 69 6f 6e 5b 31 5d 20 29 |in_posit|ion[1] )|
|00005440| 20 29 0a 09 09 09 09 09 | 72 65 70 6f 72 74 5f 63 | )......|report_c|
|00005450| 67 69 5f 65 72 72 6f 72 | 28 20 22 76 5f 64 73 70 |gi_error|( "v_dsp|
|00005460| 63 75 72 22 20 29 3b 0a | 09 09 09 58 4f 52 4d 4f |cur" );.|...XORMO|
|00005470| 44 45 3b 0a 09 09 09 76 | 73 6c 5f 63 6f 6c 6f 72 |DE;....v|sl_color|
|00005480| 28 20 64 65 76 5f 68 61 | 6e 64 6c 65 2c 20 28 53 |( dev_ha|ndle, (S|
|00005490| 49 4e 54 31 36 29 20 31 | 20 29 3b 0a 09 09 09 76 |INT16) 1| );....v|
|000054a0| 5f 70 6c 69 6e 65 28 20 | 64 65 76 5f 68 61 6e 64 |_pline( |dev_hand|
|000054b0| 6c 65 2c 20 28 53 49 4e | 54 31 36 29 20 32 2c 20 |le, (SIN|T16) 2, |
|000054c0| 70 6f 6c 79 6c 69 6e 65 | 20 29 3b 0a 09 09 09 70 |polyline| );....p|
|000054d0| 6f 6c 79 6c 69 6e 65 5b | 32 5d 20 3d 20 6e 65 77 |olyline[|2] = new|
|000054e0| 5f 67 69 6e 5f 70 6f 73 | 69 74 69 6f 6e 5b 30 5d |_gin_pos|ition[0]|
|000054f0| 3b 0a 09 09 09 70 6f 6c | 79 6c 69 6e 65 5b 33 5d |;....pol|yline[3]|
|00005500| 20 3d 20 6e 65 77 5f 67 | 69 6e 5f 70 6f 73 69 74 | = new_g|in_posit|
|00005510| 69 6f 6e 5b 31 5d 3b 0a | 09 09 09 76 5f 70 6c 69 |ion[1];.|...v_pli|
|00005520| 6e 65 28 20 64 65 76 5f | 68 61 6e 64 6c 65 2c 20 |ne( dev_|handle, |
|00005530| 28 53 49 4e 54 31 36 29 | 20 32 2c 20 70 6f 6c 79 |(SINT16)| 2, poly|
|00005540| 6c 69 6e 65 20 29 3b 0a | 09 09 7d 0a 09 7d 0a 09 |line );.|..}..}..|
|00005550| 7d 09 77 68 69 6c 65 20 | 28 20 28 62 75 74 74 6f |}.while |( (butto|
|00005560| 6e 73 5f 64 6f 77 6e 20 | 3c 20 32 29 20 26 26 20 |ns_down |< 2) && |
|00005570| 28 6b 65 79 5f 73 74 61 | 74 65 20 21 3d 20 30 78 |(key_sta|te != 0x|
|00005580| 30 30 30 64 29 20 29 3b | 0a 09 2f 2a 09 4c 6f 6f |000d) );|../*.Loo|
|00005590| 70 20 66 69 6e 69 73 68 | 65 73 20 77 68 65 6e 20 |p finish|es when |
|000055a0| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 20 62 75 |more tha|n one bu|
|000055b0| 74 74 6f 6e 2c 20 6f 72 | 20 3c 52 45 54 55 52 4e |tton, or| <RETURN|
|000055c0| 3e 20 28 30 78 30 30 30 | 64 29 20 2a 2f 0a 0a 09 |> (0x000|d) */...|
|000055d0| 76 5f 72 6d 63 75 72 28 | 20 64 65 76 5f 68 61 6e |v_rmcur(| dev_han|
|000055e0| 64 6c 65 20 29 3b 0a 0a | 09 2f 2a 09 59 6f 75 20 |dle );..|./*.You |
|000055f0| 63 61 6e 20 6e 6f 74 20 | 64 65 6c 65 74 65 20 61 |can not |delete a|
|00005600| 20 63 75 72 73 6f 72 20 | 74 68 61 74 20 69 73 20 | cursor |that is |
|00005610| 69 6e 20 75 73 65 2e 09 | 2a 2f 0a 09 2f 2a 09 6d |in use..|*/../*.m|
|00005620| 61 6b 65 20 73 75 72 65 | 20 6f 75 72 20 63 75 72 |ake sure| our cur|
|00005630| 73 6f 72 20 69 73 20 6e | 6f 74 20 69 6e 20 75 73 |sor is n|ot in us|
|00005640| 65 2c 20 73 6f 20 69 74 | 20 77 69 6c 6c 20 64 65 |e, so it| will de|
|00005650| 6c 65 74 65 20 4f 4b 2e | 20 2a 2f 0a 09 2f 2a 09 |lete OK.| */../*.|
|00005660| 53 65 6c 65 63 74 20 61 | 6e 6f 74 68 65 72 20 63 |Select a|nother c|
|00005670| 75 72 73 6f 72 2e 09 2a | 2f 0a 09 69 66 20 28 20 |ursor..*|/..if ( |
|00005680| 76 73 67 5f 63 75 72 73 | 6f 72 5f 6f 6b 20 29 0a |vsg_curs|or_ok ).|
|00005690| 09 69 66 20 28 20 30 20 | 3e 20 76 73 67 5f 63 75 |.if ( 0 |> vsg_cu|
|000056a0| 72 73 6f 72 28 20 64 65 | 76 5f 68 61 6e 64 6c 65 |rsor( de|v_handle|
|000056b0| 2c 20 28 63 75 72 73 6f | 72 5f 68 61 6e 64 6c 65 |, (curso|r_handle|
|000056c0| 20 3d 20 30 29 20 29 20 | 29 20 2f 2a 20 63 72 6f | = 0) ) |) /* cro|
|000056d0| 73 73 68 61 69 72 20 2a | 2f 0a 09 09 72 65 70 6f |sshair *|/...repo|
|000056e0| 72 74 5f 63 67 69 5f 65 | 72 72 6f 72 28 20 22 76 |rt_cgi_e|rror( "v|
|000056f0| 73 67 5f 63 75 72 73 6f | 72 22 20 29 3b 0a 09 0a |sg_curso|r" );...|
|00005700| 09 52 45 50 4d 4f 44 45 | 3b 0a 09 63 6c 65 61 72 |.REPMODE|;..clear|
|00005710| 5f 69 6e 66 6f 5f 6c 69 | 6e 65 28 29 3b 0a 0a 09 |_info_li|ne();...|
|00005720| 6d 61 72 6b 5f 6c 6f 63 | 61 74 69 6f 6e 28 29 3b |mark_loc|ation();|
|00005730| 0a 09 63 6c 65 61 72 5f | 69 6e 66 6f 5f 6c 69 6e |..clear_|info_lin|
|00005740| 65 28 29 3b 0a 09 73 61 | 6d 70 6c 65 5f 72 65 70 |e();..sa|mple_rep|
|00005750| 6f 72 74 28 29 3b 0a 0a | 09 64 65 6c 65 74 65 5f |ort();..|.delete_|
|00005760| 6f 75 72 5f 63 75 72 73 | 6f 72 28 29 3b 0a 09 63 |our_curs|or();..c|
|00005770| 74 65 73 74 5f 70 61 75 | 73 65 28 20 28 75 6e 73 |test_pau|se( (uns|
|00005780| 69 67 6e 65 64 29 20 35 | 20 29 3b 0a 09 63 6c 6f |igned) 5| );..clo|
|00005790| 73 65 5f 67 69 6e 5f 64 | 65 76 69 63 65 28 29 3b |se_gin_d|evice();|
|000057a0| 0a 09 72 65 74 75 72 6e | 3b 0a 7d 09 2f 2a 20 65 |..return|;.}./* e|
|000057b0| 6e 64 20 6f 66 20 67 69 | 6e 74 65 73 74 73 20 2a |nd of gi|ntests *|
|000057c0| 2f 0a 0a 73 74 61 74 69 | 63 20 56 4f 49 44 20 63 |/..stati|c VOID c|
|000057d0| 6c 65 61 72 5f 69 6e 66 | 6f 5f 6c 69 6e 65 28 29 |lear_inf|o_line()|
|000057e0| 09 2f 2a 09 63 6c 65 61 | 72 73 20 6c 69 6e 65 20 |./*.clea|rs line |
|000057f0| 6e 65 61 72 20 62 6f 74 | 74 6f 6d 20 6f 66 20 73 |near bot|tom of s|
|00005800| 63 72 65 65 6e 20 2a 2f | 0a 7b 0a 09 62 6f 78 5b |creen */|.{..box[|
|00005810| 30 5d 20 3d 20 62 6f 78 | 5b 32 5d 20 3d 20 6c 69 |0] = box|[2] = li|
|00005820| 6e 65 5f 77 69 64 74 68 | 5f 78 20 3c 3c 20 31 3b |ne_width|_x << 1;|
|00005830| 0a 09 62 6f 78 5b 31 5d | 20 3d 20 62 6f 78 5b 37 |..box[1]| = box[7|
|00005840| 5d 20 3d 20 63 65 6c 6c | 5f 68 65 69 67 68 74 3b |] = cell|_height;|
|00005850| 0a 09 62 6f 78 5b 34 5d | 20 3d 20 62 6f 78 5b 36 |..box[4]| = box[6|
|00005860| 5d 20 3d 20 56 44 43 5f | 58 20 2d 20 6c 69 6e 65 |] = VDC_|X - line|
|00005870| 5f 77 69 64 74 68 5f 78 | 3b 0a 09 62 6f 78 5b 33 |_width_x|;..box[3|
|00005880| 5d 20 3d 20 62 6f 78 5b | 35 5d 20 3d 20 63 65 6c |] = box[|5] = cel|
|00005890| 6c 5f 68 65 69 67 68 74 | 20 3c 3c 20 31 3b 0a 0a |l_height| << 1;..|
|000058a0| 09 76 73 66 5f 69 6e 74 | 65 72 69 6f 72 28 20 64 |.vsf_int|erior( d|
|000058b0| 65 76 5f 68 61 6e 64 6c | 65 2c 20 53 4f 4c 49 44 |ev_handl|e, SOLID|
|000058c0| 20 29 3b 0a 0a 09 76 73 | 66 5f 63 6f 6c 6f 72 28 | );...vs|f_color(|
|000058d0| 20 64 65 76 5f 68 61 6e | 64 6c 65 2c 20 30 20 29 | dev_han|dle, 0 )|
|000058e0| 3b 0a 09 0a 09 76 5f 66 | 69 6c 6c 61 72 65 61 28 |;....v_f|illarea(|
|000058f0| 20 64 65 76 5f 68 61 6e | 64 6c 65 2c 20 34 2c 20 | dev_han|dle, 4, |
|00005900| 62 6f 78 20 29 3b 0a 0a | 09 72 65 74 75 72 6e 3b |box );..|.return;|
|00005910| 0a 0a 7d 09 2f 2a 20 65 | 6e 64 20 6f 66 20 63 6c |..}./* e|nd of cl|
|00005920| 65 61 72 5f 69 6e 66 6f | 5f 6c 69 6e 65 20 2a 2f |ear_info|_line */|
|00005930| 0a 0a 73 74 61 74 69 63 | 20 56 4f 49 44 20 67 69 |..static| VOID gi|
|00005940| 6e 5f 74 65 73 74 5f 73 | 63 72 65 65 6e 28 20 66 |n_test_s|creen( f|
|00005950| 72 61 6d 65 20 29 0a 69 | 6e 74 20 66 72 61 6d 65 |rame ).i|nt frame|
|00005960| 3b 0a 7b 0a 09 73 70 72 | 69 6e 74 66 28 20 73 74 |;.{..spr|intf( st|
|00005970| 72 69 6e 67 5f 6f 75 74 | 2c 20 22 47 69 6e 20 54 |ring_out|, "Gin T|
|00005980| 65 73 74 73 20 46 72 61 | 6d 65 20 25 64 20 6f 66 |ests Fra|me %d of|
|00005990| 20 34 22 2c 20 66 72 61 | 6d 65 20 29 3b 0a 09 6e | 4", fra|me );..n|
|000059a0| 65 77 5f 66 72 61 6d 65 | 28 20 73 74 72 69 6e 67 |ew_frame|( string|
|000059b0| 5f 6f 75 74 20 29 3b 0a | 0a 09 72 65 74 75 72 6e |_out );.|..return|
|000059c0| 3b 0a 7d 09 2f 2a 20 65 | 6e 64 20 6f 66 20 73 74 |;.}./* e|nd of st|
|000059d0| 61 74 69 63 20 56 4f 49 | 44 20 67 69 6e 5f 74 65 |atic VOI|D gin_te|
|000059e0| 73 74 5f 73 63 72 65 65 | 6e 28 20 66 72 61 6d 65 |st_scree|n( frame|
|000059f0| 20 29 09 2a 2f 0a 0a 73 | 74 61 74 69 63 20 56 4f | ).*/..s|tatic VO|
|00005a00| 49 44 20 6d 61 72 6b 5f | 6c 6f 63 61 74 69 6f 6e |ID mark_|location|
|00005a10| 28 29 0a 7b 0a 2f 2a 09 | 64 72 61 77 20 61 6e 20 |().{./*.|draw an |
|00005a20| 58 20 74 6f 20 6d 61 72 | 6b 20 74 68 65 20 73 70 |X to mar|k the sp|
|00005a30| 6f 74 3a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ot:. | |
|00005a40| 20 20 7c 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | |. | |
|00005a50| 20 2f 7c 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | /|. | |
|00005a60| 2f 20 7c 0a 20 20 20 20 | 20 20 20 20 20 20 20 2f |/ |. | /|
|00005a70| 20 20 7c 0a 20 20 20 20 | 20 20 20 20 20 20 2d 2d | |. | --|
|00005a80| 2d 2d 2b 2d 2d 2d 2d 0a | 20 20 20 20 20 20 20 20 |--+----.| |
|00005a90| 20 20 20 20 20 20 7c 20 | 20 2f 0a 20 20 20 20 20 | | | /. |
|00005aa0| 20 20 20 20 20 20 20 20 | 20 7c 20 2f 0a 20 20 20 | | | /. |
|00005ab0| 20 20 20 20 20 20 20 20 | 20 20 20 7c 2f 0a 20 20 | | |/. |
|00005ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7c 0a 2a 2f | | |.*/|
|00005ad0| 0a 09 52 45 50 4d 4f 44 | 45 3b 0a 09 76 73 6c 5f |..REPMOD|E;..vsl_|
|00005ae0| 63 6f 6c 6f 72 28 20 64 | 65 76 5f 68 61 6e 64 6c |color( d|ev_handl|
|00005af0| 65 2c 20 28 53 49 4e 54 | 31 36 29 20 31 20 29 3b |e, (SINT|16) 1 );|
|00005b00| 0a 09 70 6f 6c 79 6c 69 | 6e 65 5b 30 5d 20 3d 20 |..polyli|ne[0] = |
|00005b10| 6e 65 77 5f 67 69 6e 5f | 70 6f 73 69 74 69 6f 6e |new_gin_|position|
|00005b20| 5b 30 5d 20 2d 20 63 65 | 6c 6c 5f 77 69 64 74 68 |[0] - ce|ll_width|
|00005b30| 3b 0a 09 70 6f 6c 79 6c | 69 6e 65 5b 32 5d 20 3d |;..polyl|ine[2] =|
|00005b40| 20 6e 65 77 5f 67 69 6e | 5f 70 6f 73 69 74 69 6f | new_gin|_positio|
|00005b50| 6e 5b 30 5d 20 2b 20 63 | 65 6c 6c 5f 77 69 64 74 |n[0] + c|ell_widt|
|00005b60| 68 3b 0a 09 70 6f 6c 79 | 6c 69 6e 65 5b 31 5d 20 |h;..poly|line[1] |
|00005b70| 3d 20 70 6f 6c 79 6c 69 | 6e 65 5b 33 5d 20 3d 20 |= polyli|ne[3] = |
|00005b80| 6e 65 77 5f 67 69 6e 5f | 70 6f 73 69 74 69 6f 6e |new_gin_|position|
|00005b90| 5b 31 5d 3b 0a 09 76 5f | 70 6c 69 6e 65 28 20 64 |[1];..v_|pline( d|
|00005ba0| 65 76 5f 68 61 6e 64 6c | 65 2c 20 28 53 49 4e 54 |ev_handl|e, (SINT|
|00005bb0| 31 36 29 20 32 2c 20 70 | 6f 6c 79 6c 69 6e 65 20 |16) 2, p|olyline |
|00005bc0| 29 3b 0a 09 70 6f 6c 79 | 6c 69 6e 65 5b 32 5d 20 |);..poly|line[2] |
|00005bd0| 3d 20 6e 65 77 5f 67 69 | 6e 5f 70 6f 73 69 74 69 |= new_gi|n_positi|
|00005be0| 6f 6e 5b 30 5d 3b 0a 09 | 70 6f 6c 79 6c 69 6e 65 |on[0];..|polyline|
|00005bf0| 5b 33 5d 20 3d 20 6e 65 | 77 5f 67 69 6e 5f 70 6f |[3] = ne|w_gin_po|
|00005c00| 73 69 74 69 6f 6e 5b 31 | 5d 20 2b 20 63 65 6c 6c |sition[1|] + cell|
|00005c10| 5f 68 65 69 67 68 74 3b | 0a 09 76 5f 70 6c 69 6e |_height;|..v_plin|
|00005c20| 65 28 20 64 65 76 5f 68 | 61 6e 64 6c 65 2c 20 28 |e( dev_h|andle, (|
|00005c30| 53 49 4e 54 31 36 29 20 | 32 2c 20 70 6f 6c 79 6c |SINT16) |2, polyl|
|00005c40| 69 6e 65 20 29 3b 0a 09 | 70 6f 6c 79 6c 69 6e 65 |ine );..|polyline|
|00005c50| 5b 30 5d 20 3d 20 6e 65 | 77 5f 67 69 6e 5f 70 6f |[0] = ne|w_gin_po|
|00005c60| 73 69 74 69 6f 6e 5b 30 | 5d 3b 0a 09 70 6f 6c 79 |sition[0|];..poly|
|00005c70| 6c 69 6e 65 5b 31 5d 20 | 3d 20 6e 65 77 5f 67 69 |line[1] |= new_gi|
|00005c80| 6e 5f 70 6f 73 69 74 69 | 6f 6e 5b 31 5d 20 2d 20 |n_positi|on[1] - |
|00005c90| 63 65 6c 6c 5f 68 65 69 | 67 68 74 3b 0a 09 76 5f |cell_hei|ght;..v_|
|00005ca0| 70 6c 69 6e 65 28 20 64 | 65 76 5f 68 61 6e 64 6c |pline( d|ev_handl|
|00005cb0| 65 2c 20 28 53 49 4e 54 | 31 36 29 20 32 2c 20 70 |e, (SINT|16) 2, p|
|00005cc0| 6f 6c 79 6c 69 6e 65 20 | 29 3b 0a 09 70 6f 6c 79 |olyline |);..poly|
|00005cd0| 6c 69 6e 65 5b 32 5d 20 | 3d 20 6e 65 77 5f 67 69 |line[2] |= new_gi|
|00005ce0| 6e 5f 70 6f 73 69 74 69 | 6f 6e 5b 30 5d 20 2b 20 |n_positi|on[0] + |
|00005cf0| 63 65 6c 6c 5f 77 69 64 | 74 68 3b 0a 09 70 6f 6c |cell_wid|th;..pol|
|00005d00| 79 6c 69 6e 65 5b 33 5d | 20 3d 20 6e 65 77 5f 67 |yline[3]| = new_g|
|00005d10| 69 6e 5f 70 6f 73 69 74 | 69 6f 6e 5b 31 5d 3b 0a |in_posit|ion[1];.|
|00005d20| 09 76 5f 70 6c 69 6e 65 | 28 20 64 65 76 5f 68 61 |.v_pline|( dev_ha|
|00005d30| 6e 64 6c 65 2c 20 28 53 | 49 4e 54 31 36 29 20 32 |ndle, (S|INT16) 2|
|00005d40| 2c 20 70 6f 6c 79 6c 69 | 6e 65 20 29 3b 0a 09 72 |, polyli|ne );..r|
|00005d50| 65 74 75 72 6e 3b 0a 7d | 09 2f 2a 09 65 6e 64 20 |eturn;.}|./*.end |
|00005d60| 6f 66 20 73 74 61 74 69 | 63 20 56 4f 49 44 20 6d |of stati|c VOID m|
|00005d70| 61 72 6b 5f 6c 6f 63 61 | 74 69 6f 6e 28 29 09 2a |ark_loca|tion().*|
|00005d80| 2f 0a 0a 73 74 61 74 69 | 63 20 56 4f 49 44 20 72 |/..stati|c VOID r|
|00005d90| 65 71 75 65 73 74 5f 72 | 65 70 6f 72 74 28 29 0a |equest_r|eport().|
|00005da0| 7b 0a 09 73 70 72 69 6e | 74 66 28 20 73 74 72 69 |{..sprin|tf( stri|
|00005db0| 6e 67 5f 6f 75 74 2c 20 | 22 28 25 64 2c 20 25 64 |ng_out, |"(%d, %d|
|00005dc0| 29 2e 20 6b 65 79 20 3d | 20 25 23 78 22 2c 0a 09 |). key =| %#x",..|
|00005dd0| 09 6e 65 77 5f 67 69 6e | 5f 70 6f 73 69 74 69 6f |.new_gin|_positio|
|00005de0| 6e 5b 30 5d 2c 20 6e 65 | 77 5f 67 69 6e 5f 70 6f |n[0], ne|w_gin_po|
|00005df0| 73 69 74 69 6f 6e 5b 31 | 5d 2c 20 67 69 6e 5f 74 |sition[1|], gin_t|
|00005e00| 65 72 6d 69 6e 61 74 6f | 72 20 29 3b 0a 0a 09 2f |erminato|r );.../|
|00005e10| 2a 09 63 68 65 63 6b 20 | 6f 6e 20 77 68 69 63 68 |*.check |on which|
|00005e20| 20 73 69 64 65 20 6f 66 | 20 74 68 65 20 70 6f 69 | side of| the poi|
|00005e30| 6e 74 20 77 65 20 77 61 | 6e 74 20 74 65 78 74 09 |nt we wa|nt text.|
|00005e40| 2a 2f 0a 09 69 66 28 09 | 28 0a 09 09 09 28 6c 6f |*/..if(.|(....(lo|
|00005e50| 6e 67 29 6e 65 77 5f 67 | 69 6e 5f 70 6f 73 69 74 |ng)new_g|in_posit|
|00005e60| 69 6f 6e 5b 30 5d 0a 09 | 09 09 2b 20 28 6c 6f 6e |ion[0]..|..+ (lon|
|00005e70| 67 29 20 63 65 6c 6c 5f | 77 69 64 74 68 0a 09 09 |g) cell_|width...|
|00005e80| 09 2b 20 28 28 6c 6f 6e | 67 29 20 73 74 72 6c 65 |.+ ((lon|g) strle|
|00005e90| 6e 28 73 74 72 69 6e 67 | 5f 6f 75 74 29 20 2a 20 |n(string|_out) * |
|00005ea0| 28 6c 6f 6e 67 29 20 63 | 65 6c 6c 5f 77 69 64 74 |(long) c|ell_widt|
|00005eb0| 68 29 0a 09 09 29 20 3e | 20 28 6c 6f 6e 67 29 20 |h)...) >| (long) |
|00005ec0| 67 69 6e 5f 61 72 65 61 | 5b 32 5d 20 29 0a 09 2f |gin_area|[2] )../|
|00005ed0| 2a 09 70 75 74 20 74 68 | 65 20 74 65 78 74 20 74 |*.put th|e text t|
|00005ee0| 6f 20 74 68 65 20 6c 65 | 66 74 20 6f 66 20 74 68 |o the le|ft of th|
|00005ef0| 65 20 70 6f 69 6e 74 2c | 20 61 73 20 77 65 20 61 |e point,| as we a|
|00005f00| 72 65 20 6e 65 61 72 09 | 2a 2f 0a 09 2f 2a 09 74 |re near.|*/../*.t|
|00005f10| 68 65 20 72 69 67 68 74 | 20 65 64 67 65 20 6f 66 |he right| edge of|
|00005f20| 20 74 68 65 20 73 63 72 | 65 65 6e 09 2a 2f 0a 09 | the scr|een.*/..|
|00005f30| 09 76 5f 67 74 65 78 74 | 28 20 64 65 76 5f 68 61 |.v_gtext|( dev_ha|
|00005f40| 6e 64 6c 65 2c 20 28 53 | 49 4e 54 31 36 29 20 28 |ndle, (S|INT16) (|
|00005f50| 28 6c 6f 6e 67 29 6e 65 | 77 5f 67 69 6e 5f 70 6f |(long)ne|w_gin_po|
|00005f60| 73 69 74 69 6f 6e 5b 30 | 5d 0a 09 09 09 2d 20 28 |sition[0|]....- (|
|00005f70| 6c 6f 6e 67 29 63 65 6c | 6c 5f 77 69 64 74 68 0a |long)cel|l_width.|
|00005f80| 09 09 09 2d 20 28 28 6c | 6f 6e 67 29 73 74 72 6c |...- ((l|ong)strl|
|00005f90| 65 6e 28 73 74 72 69 6e | 67 5f 6f 75 74 29 2a 28 |en(strin|g_out)*(|
|00005fa0| 6c 6f 6e 67 29 63 65 6c | 6c 5f 77 69 64 74 68 29 |long)cel|l_width)|
|00005fb0| 29 2c 0a 09 09 09 6e 65 | 77 5f 67 69 6e 5f 70 6f |),....ne|w_gin_po|
|00005fc0| 73 69 74 69 6f 6e 5b 31 | 5d 2c 20 73 74 72 69 6e |sition[1|], strin|
|00005fd0| 67 5f 6f 75 74 20 29 3b | 0a 09 65 6c 73 65 0a 09 |g_out );|..else..|
|00005fe0| 2f 2a 09 70 75 74 20 74 | 68 65 20 74 65 78 74 20 |/*.put t|he text |
|00005ff0| 74 6f 20 74 68 65 20 72 | 69 67 68 74 20 6f 66 20 |to the r|ight of |
|00006000| 74 68 65 20 70 6f 69 6e | 74 2c 20 61 73 20 69 74 |the poin|t, as it|
|00006010| 20 77 69 6c 6c 20 66 69 | 74 09 2a 2f 0a 09 2f 2a | will fi|t.*/../*|
|00006020| 09 62 65 74 77 65 65 6e | 20 74 68 65 72 65 20 61 |.between| there a|
|00006030| 6e 64 20 74 68 65 20 72 | 69 67 68 74 20 73 69 64 |nd the r|ight sid|
|00006040| 65 20 6f 66 20 74 68 65 | 20 67 69 6e 20 61 72 65 |e of the| gin are|
|00006050| 61 2e 09 2a 2f 0a 09 09 | 76 5f 67 74 65 78 74 28 |a..*/...|v_gtext(|
|00006060| 20 64 65 76 5f 68 61 6e | 64 6c 65 2c 20 6e 65 77 | dev_han|dle, new|
|00006070| 5f 67 69 6e 5f 70 6f 73 | 69 74 69 6f 6e 5b 30 5d |_gin_pos|ition[0]|
|00006080| 20 2b 20 63 65 6c 6c 5f | 77 69 64 74 68 2c 0a 09 | + cell_|width,..|
|00006090| 09 09 6e 65 77 5f 67 69 | 6e 5f 70 6f 73 69 74 69 |..new_gi|n_positi|
|000060a0| 6f 6e 5b 31 5d 2c 20 73 | 74 72 69 6e 67 5f 6f 75 |on[1], s|tring_ou|
|000060b0| 74 20 29 3b 0a 09 72 65 | 74 75 72 6e 3b 0a 7d 09 |t );..re|turn;.}.|
|000060c0| 2f 2a 09 65 6e 64 20 6f | 66 20 73 74 61 74 69 63 |/*.end o|f static|
|000060d0| 20 56 4f 49 44 20 72 65 | 71 75 65 73 74 5f 72 65 | VOID re|quest_re|
|000060e0| 70 6f 72 74 28 29 3b 09 | 2a 2f 0a 0a 2f 2a 09 54 |port();.|*/../*.T|
|000060f0| 68 65 20 6f 6e 6c 79 20 | 64 69 66 66 65 72 65 6e |he only |differen|
|00006100| 63 65 20 69 6e 20 73 61 | 6d 70 6c 65 20 72 65 70 |ce in sa|mple rep|
|00006110| 6f 72 74 20 69 73 20 74 | 68 65 20 75 73 65 20 6f |ort is t|he use o|
|00006120| 66 20 6b 65 79 5f 73 74 | 61 74 65 09 2a 2f 0a 2f |f key_st|ate.*/./|
|00006130| 2a 09 69 6e 73 74 65 61 | 64 20 6f 66 20 67 69 6e |*.instea|d of gin|
|00006140| 5f 74 65 72 6d 69 6e 61 | 74 6f 72 09 2a 2f 0a 73 |_termina|tor.*/.s|
|00006150| 74 61 74 69 63 20 56 4f | 49 44 20 73 61 6d 70 6c |tatic VO|ID sampl|
|00006160| 65 5f 72 65 70 6f 72 74 | 28 29 0a 7b 0a 09 73 70 |e_report|().{..sp|
|00006170| 72 69 6e 74 66 28 20 73 | 74 72 69 6e 67 5f 6f 75 |rintf( s|tring_ou|
|00006180| 74 2c 20 22 28 25 64 2c | 20 25 64 29 2e 20 6b 65 |t, "(%d,| %d). ke|
|00006190| 79 20 3d 20 25 23 78 22 | 2c 0a 09 09 6e 65 77 5f |y = %#x"|,...new_|
|000061a0| 67 69 6e 5f 70 6f 73 69 | 74 69 6f 6e 5b 30 5d 2c |gin_posi|tion[0],|
|000061b0| 20 6e 65 77 5f 67 69 6e | 5f 70 6f 73 69 74 69 6f | new_gin|_positio|
|000061c0| 6e 5b 31 5d 2c 20 28 75 | 6e 73 69 67 6e 65 64 20 |n[1], (u|nsigned |
|000061d0| 69 6e 74 29 20 6b 65 79 | 5f 73 74 61 74 65 20 29 |int) key|_state )|
|000061e0| 3b 0a 09 69 66 28 09 28 | 0a 09 09 09 28 6c 6f 6e |;..if(.(|....(lon|
|000061f0| 67 29 6e 65 77 5f 67 69 | 6e 5f 70 6f 73 69 74 69 |g)new_gi|n_positi|
|00006200| 6f 6e 5b 30 5d 0a 09 09 | 09 2b 20 28 6c 6f 6e 67 |on[0]...|.+ (long|
|00006210| 29 20 63 65 6c 6c 5f 77 | 69 64 74 68 0a 09 09 09 |) cell_w|idth....|
|00006220| 2b 20 28 28 6c 6f 6e 67 | 29 20 73 74 72 6c 65 6e |+ ((long|) strlen|
|00006230| 28 73 74 72 69 6e 67 5f | 6f 75 74 29 20 2a 20 28 |(string_|out) * (|
|00006240| 6c 6f 6e 67 29 20 63 65 | 6c 6c 5f 77 69 64 74 68 |long) ce|ll_width|
|00006250| 29 0a 09 09 29 20 3e 20 | 28 6c 6f 6e 67 29 20 67 |)...) > |(long) g|
|00006260| 69 6e 5f 61 72 65 61 5b | 32 5d 20 29 0a 09 09 76 |in_area[|2] )...v|
|00006270| 5f 67 74 65 78 74 28 20 | 64 65 76 5f 68 61 6e 64 |_gtext( |dev_hand|
|00006280| 6c 65 2c 20 28 53 49 4e | 54 31 36 29 20 28 28 6c |le, (SIN|T16) ((l|
|00006290| 6f 6e 67 29 6e 65 77 5f | 67 69 6e 5f 70 6f 73 69 |ong)new_|gin_posi|
|000062a0| 74 69 6f 6e 5b 30 5d 0a | 09 09 09 2d 20 28 6c 6f |tion[0].|...- (lo|
|000062b0| 6e 67 29 63 65 6c 6c 5f | 77 69 64 74 68 0a 09 09 |ng)cell_|width...|
|000062c0| 09 2d 20 28 28 6c 6f 6e | 67 29 73 74 72 6c 65 6e |.- ((lon|g)strlen|
|000062d0| 28 73 74 72 69 6e 67 5f | 6f 75 74 29 2a 28 6c 6f |(string_|out)*(lo|
|000062e0| 6e 67 29 63 65 6c 6c 5f | 77 69 64 74 68 29 29 2c |ng)cell_|width)),|
|000062f0| 0a 09 09 09 6e 65 77 5f | 67 69 6e 5f 70 6f 73 69 |....new_|gin_posi|
|00006300| 74 69 6f 6e 5b 31 5d 2c | 20 73 74 72 69 6e 67 5f |tion[1],| string_|
|00006310| 6f 75 74 20 29 3b 0a 09 | 65 6c 73 65 0a 09 09 76 |out );..|else...v|
|00006320| 5f 67 74 65 78 74 28 20 | 64 65 76 5f 68 61 6e 64 |_gtext( |dev_hand|
|00006330| 6c 65 2c 20 6e 65 77 5f | 67 69 6e 5f 70 6f 73 69 |le, new_|gin_posi|
|00006340| 74 69 6f 6e 5b 30 5d 20 | 2b 20 63 65 6c 6c 5f 77 |tion[0] |+ cell_w|
|00006350| 69 64 74 68 2c 0a 09 09 | 09 6e 65 77 5f 67 69 6e |idth,...|.new_gin|
|00006360| 5f 70 6f 73 69 74 69 6f | 6e 5b 31 5d 2c 20 73 74 |_positio|n[1], st|
|00006370| 72 69 6e 67 5f 6f 75 74 | 20 29 3b 0a 09 72 65 74 |ring_out| );..ret|
|00006380| 75 72 6e 3b 0a 7d 09 2f | 2a 09 65 6e 64 20 6f 66 |urn;.}./|*.end of|
|00006390| 20 73 74 61 74 69 63 20 | 56 4f 49 44 20 73 61 6d | static |VOID sam|
|000063a0| 70 6c 65 5f 72 65 70 6f | 72 74 28 29 3b 09 2a 2f |ple_repo|rt();.*/|
|000063b0| 0a 0a 73 74 61 74 69 63 | 20 56 4f 49 44 20 72 65 |..static| VOID re|
|000063c0| 71 75 65 73 74 5f 6c 6f | 63 61 74 6f 72 28 20 69 |quest_lo|cator( i|
|000063d0| 6e 6b 2c 20 72 75 62 62 | 65 72 62 61 6e 64 20 29 |nk, rubb|erband )|
|000063e0| 0a 69 6e 74 20 69 6e 6b | 3b 0a 69 6e 74 20 72 75 |.int ink|;.int ru|
|000063f0| 62 62 65 72 62 61 6e 64 | 3b 0a 7b 0a 09 69 66 20 |bberband|;.{..if |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.