home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive (GNU)
| default
| |
99%
| file
| POSIX tar archive (GNU), directory ./, mode 777 , uid 0 , gid 0 , size 0 , seconds 5352716604, user root, group root
| default
| |
98%
| file
| data
| default
| |
41%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
36%
| TrID
| TAR - Tape ARchive (GNU)
| default
| |
21%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| GNU tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive (GNU)
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 2e 2f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |./......|........|
|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 20 20 20 37 | 37 37 20 00 20 20 20 20 |.... 7|77 . |
|00000070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 33 35 32 37 31 36 | 0 | 5352716|
|00000090| 36 30 34 20 20 20 37 31 | 34 35 00 20 35 00 00 00 |604 71|45. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 6d 6f 75 73 65 2f 00 00 | 00 00 00 00 00 00 00 00 |mouse/..|........|
|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 20 20 20 37 | 37 37 20 00 20 20 20 20 |.... 7|77 . |
|00000270| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000280| 20 20 20 20 20 20 30 20 | 20 35 33 36 31 37 33 35 | 0 | 5361735|
|00000290| 35 32 35 20 20 31 30 31 | 34 33 00 20 35 00 00 00 |525 101|43. 5...|
|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 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|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 72 6f 6f 74 00 00 00 |........|.root...|
|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| 6d 6f 75 73 65 2f 4d 61 | 6b 65 66 69 6c 65 00 00 |mouse/Ma|kefile..|
|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 20 20 20 36 | 34 34 20 00 20 20 20 20 |.... 6|44 . |
|00000470| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000480| 20 20 20 20 33 36 32 20 | 20 35 33 36 31 37 33 34 | 362 | 5361734|
|00000490| 30 36 32 20 20 31 31 36 | 33 33 00 20 30 00 00 00 |062 116|33. 0...|
|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 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|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 72 6f 6f 74 00 00 00 |........|.root...|
|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| 23 20 70 72 6f 76 69 64 | 65 64 20 62 79 20 68 6c |# provid|ed by hl|
|00000610| 75 2c 20 6d 6f 64 69 66 | 69 65 64 20 62 79 20 6f |u, modif|ied by o|
|00000620| 62 7a 2c 20 61 6e 64 20 | 70 61 75 6c 2e 0a 4e 41 |bz, and |paul..NA|
|00000630| 4d 45 20 3d 20 6d 6f 75 | 73 65 0a 4f 42 4a 53 20 |ME = mou|se.OBJS |
|00000640| 3d 20 6d 6f 75 73 65 2e | 6f 0a 43 43 20 3d 20 67 |= mouse.|o.CC = g|
|00000650| 63 63 0a 43 46 4c 41 47 | 53 20 3d 20 2d 4f 36 20 |cc.CFLAG|S = -O6 |
|00000660| 2d 66 6f 6d 69 74 2d 66 | 72 61 6d 65 2d 70 6f 69 |-fomit-f|rame-poi|
|00000670| 6e 74 65 72 0a 23 4c 44 | 46 4c 41 47 53 20 3d 20 |nter.#LD|FLAGS = |
|00000680| 2d 73 74 61 74 69 63 0a | 0a 24 28 4e 41 4d 45 29 |-static.|.$(NAME)|
|00000690| 20 3a 20 24 28 4f 42 4a | 53 29 0a 09 24 28 43 43 | : $(OBJ|S)..$(CC|
|000006a0| 29 20 24 28 4c 44 46 4c | 41 47 53 29 20 24 28 43 |) $(LDFL|AGS) $(C|
|000006b0| 46 4c 41 47 53 29 20 2d | 6f 20 24 28 4e 41 4d 45 |FLAGS) -|o $(NAME|
|000006c0| 29 20 24 28 4f 42 4a 53 | 29 20 24 28 4c 49 42 53 |) $(OBJS|) $(LIBS|
|000006d0| 29 0a 0a 63 6c 65 61 6e | 3a 0a 09 2d 72 6d 20 2d |)..clean|:..-rm -|
|000006e0| 66 20 24 28 4e 41 4d 45 | 29 20 24 28 4f 42 4a 53 |f $(NAME|) $(OBJS|
|000006f0| 29 0a 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| 6d 6f 75 73 65 2f 63 6f | 6d 70 69 6c 65 72 2e 68 |mouse/co|mpiler.h|
|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 20 20 20 36 | 34 34 20 00 20 20 20 20 |.... 6|44 . |
|00000870| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000880| 20 20 20 36 32 31 30 20 | 20 35 32 30 32 37 37 37 | 6210 | 5202777|
|00000890| 30 37 31 20 20 31 32 31 | 37 35 00 20 30 00 00 00 |071 121|75. 0...|
|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 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|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 72 6f 6f 74 00 00 00 |........|.root...|
|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| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00000a10| 31 39 39 30 2c 39 31 20 | 62 79 20 54 68 6f 6d 61 |1990,91 |by Thoma|
|00000a20| 73 20 52 6f 65 6c 6c 2c | 20 44 69 6e 6b 65 6c 73 |s Roell,| Dinkels|
|00000a30| 63 68 65 72 62 65 6e 2c | 20 47 65 72 6d 61 6e 79 |cherben,| Germany|
|00000a40| 2e 0a 20 2a 0a 20 2a 20 | 50 65 72 6d 69 73 73 69 |.. *. * |Permissi|
|00000a50| 6f 6e 20 74 6f 20 75 73 | 65 2c 20 63 6f 70 79 2c |on to us|e, copy,|
|00000a60| 20 6d 6f 64 69 66 79 2c | 20 64 69 73 74 72 69 62 | modify,| distrib|
|00000a70| 75 74 65 2c 20 61 6e 64 | 20 73 65 6c 6c 20 74 68 |ute, and| sell th|
|00000a80| 69 73 20 73 6f 66 74 77 | 61 72 65 20 61 6e 64 20 |is softw|are and |
|00000a90| 69 74 73 0a 20 2a 20 64 | 6f 63 75 6d 65 6e 74 61 |its. * d|ocumenta|
|00000aa0| 74 69 6f 6e 20 66 6f 72 | 20 61 6e 79 20 70 75 72 |tion for| any pur|
|00000ab0| 70 6f 73 65 20 69 73 20 | 68 65 72 65 62 79 20 67 |pose is |hereby g|
|00000ac0| 72 61 6e 74 65 64 20 77 | 69 74 68 6f 75 74 20 66 |ranted w|ithout f|
|00000ad0| 65 65 2c 20 70 72 6f 76 | 69 64 65 64 20 74 68 61 |ee, prov|ided tha|
|00000ae0| 74 0a 20 2a 20 74 68 65 | 20 61 62 6f 76 65 20 63 |t. * the| above c|
|00000af0| 6f 70 79 72 69 67 68 74 | 20 6e 6f 74 69 63 65 20 |opyright| notice |
|00000b00| 61 70 70 65 61 72 20 69 | 6e 20 61 6c 6c 20 63 6f |appear i|n all co|
|00000b10| 70 69 65 73 20 61 6e 64 | 20 74 68 61 74 20 62 6f |pies and| that bo|
|00000b20| 74 68 20 74 68 61 74 0a | 20 2a 20 63 6f 70 79 72 |th that.| * copyr|
|00000b30| 69 67 68 74 20 6e 6f 74 | 69 63 65 20 61 6e 64 20 |ight not|ice and |
|00000b40| 74 68 69 73 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |this per|mission |
|00000b50| 6e 6f 74 69 63 65 20 61 | 70 70 65 61 72 20 69 6e |notice a|ppear in|
|00000b60| 20 73 75 70 70 6f 72 74 | 69 6e 67 0a 20 2a 20 64 | support|ing. * d|
|00000b70| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 2c 20 61 6e |ocumenta|tion, an|
|00000b80| 64 20 74 68 61 74 20 74 | 68 65 20 6e 61 6d 65 20 |d that t|he name |
|00000b90| 6f 66 20 54 68 6f 6d 61 | 73 20 52 6f 65 6c 6c 20 |of Thoma|s Roell |
|00000ba0| 6e 6f 74 20 62 65 20 75 | 73 65 64 20 69 6e 0a 20 |not be u|sed in. |
|00000bb0| 2a 20 61 64 76 65 72 74 | 69 73 69 6e 67 20 6f 72 |* advert|ising or|
|00000bc0| 20 70 75 62 6c 69 63 69 | 74 79 20 70 65 72 74 61 | publici|ty perta|
|00000bd0| 69 6e 69 6e 67 20 74 6f | 20 64 69 73 74 72 69 62 |ining to| distrib|
|00000be0| 75 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 73 6f 66 |ution of| the sof|
|00000bf0| 74 77 61 72 65 20 77 69 | 74 68 6f 75 74 0a 20 2a |tware wi|thout. *|
|00000c00| 20 73 70 65 63 69 66 69 | 63 2c 20 77 72 69 74 74 | specifi|c, writt|
|00000c10| 65 6e 20 70 72 69 6f 72 | 20 70 65 72 6d 69 73 73 |en prior| permiss|
|00000c20| 69 6f 6e 2e 20 20 54 68 | 6f 6d 61 73 20 52 6f 65 |ion. Th|omas Roe|
|00000c30| 6c 6c 20 6d 61 6b 65 73 | 20 6e 6f 20 72 65 70 72 |ll makes| no repr|
|00000c40| 65 73 65 6e 74 61 74 69 | 6f 6e 73 0a 20 2a 20 61 |esentati|ons. * a|
|00000c50| 62 6f 75 74 20 74 68 65 | 20 73 75 69 74 61 62 69 |bout the| suitabi|
|00000c60| 6c 69 74 79 20 6f 66 20 | 74 68 69 73 20 73 6f 66 |lity of |this sof|
|00000c70| 74 77 61 72 65 20 66 6f | 72 20 61 6e 79 20 70 75 |tware fo|r any pu|
|00000c80| 72 70 6f 73 65 2e 20 20 | 49 74 20 69 73 20 70 72 |rpose. |It is pr|
|00000c90| 6f 76 69 64 65 64 0a 20 | 2a 20 22 61 73 20 69 73 |ovided. |* "as is|
|00000ca0| 22 20 77 69 74 68 6f 75 | 74 20 65 78 70 72 65 73 |" withou|t expres|
|00000cb0| 73 20 6f 72 20 69 6d 70 | 6c 69 65 64 20 77 61 72 |s or imp|lied war|
|00000cc0| 72 61 6e 74 79 2e 0a 20 | 2a 0a 20 2a 20 54 48 4f |ranty.. |*. * THO|
|00000cd0| 4d 41 53 20 52 4f 45 4c | 4c 20 44 49 53 43 4c 41 |MAS ROEL|L DISCLA|
|00000ce0| 49 4d 53 20 41 4c 4c 20 | 57 41 52 52 41 4e 54 49 |IMS ALL |WARRANTI|
|00000cf0| 45 53 20 57 49 54 48 20 | 52 45 47 41 52 44 20 54 |ES WITH |REGARD T|
|00000d00| 4f 20 54 48 49 53 20 53 | 4f 46 54 57 41 52 45 2c |O THIS S|OFTWARE,|
|00000d10| 0a 20 2a 20 49 4e 43 4c | 55 44 49 4e 47 20 41 4c |. * INCL|UDING AL|
|00000d20| 4c 20 49 4d 50 4c 49 45 | 44 20 57 41 52 52 41 4e |L IMPLIE|D WARRAN|
|00000d30| 54 49 45 53 20 4f 46 20 | 4d 45 52 43 48 41 4e 54 |TIES OF |MERCHANT|
|00000d40| 41 42 49 4c 49 54 59 20 | 41 4e 44 20 46 49 54 4e |ABILITY |AND FITN|
|00000d50| 45 53 53 2c 20 49 4e 20 | 4e 4f 0a 20 2a 20 45 56 |ESS, IN |NO. * EV|
|00000d60| 45 4e 54 20 53 48 41 4c | 4c 20 54 48 4f 4d 41 53 |ENT SHAL|L THOMAS|
|00000d70| 20 52 4f 45 4c 4c 20 42 | 45 20 4c 49 41 42 4c 45 | ROELL B|E LIABLE|
|00000d80| 20 46 4f 52 20 41 4e 59 | 20 53 50 45 43 49 41 4c | FOR ANY| SPECIAL|
|00000d90| 2c 20 49 4e 44 49 52 45 | 43 54 20 4f 52 0a 20 2a |, INDIRE|CT OR. *|
|00000da0| 20 43 4f 4e 53 45 51 55 | 45 4e 54 49 41 4c 20 44 | CONSEQU|ENTIAL D|
|00000db0| 41 4d 41 47 45 53 20 4f | 52 20 41 4e 59 20 44 41 |AMAGES O|R ANY DA|
|00000dc0| 4d 41 47 45 53 20 57 48 | 41 54 53 4f 45 56 45 52 |MAGES WH|ATSOEVER|
|00000dd0| 20 52 45 53 55 4c 54 49 | 4e 47 20 46 52 4f 4d 20 | RESULTI|NG FROM |
|00000de0| 4c 4f 53 53 20 4f 46 20 | 55 53 45 2c 0a 20 2a 20 |LOSS OF |USE,. * |
|00000df0| 44 41 54 41 20 4f 52 20 | 50 52 4f 46 49 54 53 2c |DATA OR |PROFITS,|
|00000e00| 20 57 48 45 54 48 45 52 | 20 49 4e 20 41 4e 20 41 | WHETHER| IN AN A|
|00000e10| 43 54 49 4f 4e 20 4f 46 | 20 43 4f 4e 54 52 41 43 |CTION OF| CONTRAC|
|00000e20| 54 2c 20 4e 45 47 4c 49 | 47 45 4e 43 45 20 4f 52 |T, NEGLI|GENCE OR|
|00000e30| 20 4f 54 48 45 52 0a 20 | 2a 20 54 4f 52 54 49 4f | OTHER. |* TORTIO|
|00000e40| 55 53 20 41 43 54 49 4f | 4e 2c 20 41 52 49 53 49 |US ACTIO|N, ARISI|
|00000e50| 4e 47 20 4f 55 54 20 4f | 46 20 4f 52 20 49 4e 20 |NG OUT O|F OR IN |
|00000e60| 43 4f 4e 4e 45 43 54 49 | 4f 4e 20 57 49 54 48 20 |CONNECTI|ON WITH |
|00000e70| 54 48 45 20 55 53 45 20 | 4f 52 0a 20 2a 20 50 45 |THE USE |OR. * PE|
|00000e80| 52 46 4f 52 4d 41 4e 43 | 45 20 4f 46 20 54 48 49 |RFORMANC|E OF THI|
|00000e90| 53 20 53 4f 46 54 57 41 | 52 45 2e 0a 20 2a 0a 20 |S SOFTWA|RE.. *. |
|00000ea0| 2a 20 24 48 65 61 64 65 | 72 3a 20 2f 70 72 6f 6a |* $Heade|r: /proj|
|00000eb0| 2f 58 31 31 2f 6d 69 74 | 2f 73 65 72 76 65 72 2f |/X11/mit|/server/|
|00000ec0| 64 64 78 2f 78 33 38 36 | 2f 52 43 53 2f 63 6f 6d |ddx/x386|/RCS/com|
|00000ed0| 70 69 6c 65 72 2e 68 2c | 76 20 31 2e 32 20 31 39 |piler.h,|v 1.2 19|
|00000ee0| 39 31 2f 30 36 2f 32 37 | 20 30 30 3a 30 31 3a 31 |91/06/27| 00:01:1|
|00000ef0| 31 20 72 6f 6f 74 20 45 | 78 70 20 24 0a 20 2a 2f |1 root E|xp $. */|
|00000f00| 0a 0a 0a 23 69 66 6e 64 | 65 66 20 5f 43 4f 4d 50 |...#ifnd|ef _COMP|
|00000f10| 49 4c 45 52 5f 48 0a 23 | 64 65 66 69 6e 65 20 5f |ILER_H.#|define _|
|00000f20| 43 4f 4d 50 49 4c 45 52 | 5f 48 0a 0a 23 69 66 64 |COMPILER|_H..#ifd|
|00000f30| 65 66 20 6c 69 6e 75 78 | 0a 73 74 61 74 69 63 20 |ef linux|.static |
|00000f40| 76 6f 69 64 20 69 6e 6c | 69 6e 65 20 6f 75 74 62 |void inl|ine outb|
|00000f50| 28 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 20 |(unsigne|d short |
|00000f60| 70 6f 72 74 2c 20 63 68 | 61 72 20 76 61 6c 75 65 |port, ch|ar value|
|00000f70| 29 0a 7b 0a 5f 5f 61 73 | 6d 5f 5f 20 76 6f 6c 61 |).{.__as|m__ vola|
|00000f80| 74 69 6c 65 20 28 22 6f | 75 74 62 20 25 30 2c 25 |tile ("o|utb %0,%|
|00000f90| 31 22 0a 09 3a 3a 22 61 | 22 20 28 28 63 68 61 72 |1"..::"a|" ((char|
|00000fa0| 29 20 76 61 6c 75 65 29 | 2c 22 64 22 20 28 28 75 |) value)|,"d" ((u|
|00000fb0| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 29 20 70 |nsigned |short) p|
|00000fc0| 6f 72 74 29 29 3b 0a 7d | 0a 73 74 61 74 69 63 20 |ort));.}|.static |
|00000fd0| 76 6f 69 64 20 69 6e 6c | 69 6e 65 20 6f 75 74 77 |void inl|ine outw|
|00000fe0| 28 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 20 |(unsigne|d short |
|00000ff0| 70 6f 72 74 2c 20 73 68 | 6f 72 74 20 76 61 6c 75 |port, sh|ort valu|
|00001000| 65 29 0a 7b 0a 5f 5f 61 | 73 6d 5f 5f 20 76 6f 6c |e).{.__a|sm__ vol|
|00001010| 61 74 69 6c 65 20 28 22 | 6f 75 74 77 20 25 30 2c |atile ("|outw %0,|
|00001020| 25 31 22 0a 09 3a 3a 22 | 61 22 20 28 28 73 68 6f |%1"..::"|a" ((sho|
|00001030| 72 74 29 20 76 61 6c 75 | 65 29 2c 22 64 22 20 28 |rt) valu|e),"d" (|
|00001040| 28 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 29 |(unsigne|d short)|
|00001050| 20 70 6f 72 74 29 29 3b | 0a 7d 0a 0a 73 74 61 74 | port));|.}..stat|
|00001060| 69 63 20 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |ic unsig|ned char|
|00001070| 20 69 6e 6c 69 6e 65 20 | 69 6e 62 28 75 6e 73 69 | inline |inb(unsi|
|00001080| 67 6e 65 64 20 73 68 6f | 72 74 20 70 6f 72 74 29 |gned sho|rt port)|
|00001090| 0a 7b 0a 09 75 6e 73 69 | 67 6e 65 64 20 63 68 61 |.{..unsi|gned cha|
|000010a0| 72 20 5f 76 3b 0a 09 5f | 5f 61 73 6d 5f 5f 20 76 |r _v;.._|_asm__ v|
|000010b0| 6f 6c 61 74 69 6c 65 20 | 28 22 69 6e 62 20 25 31 |olatile |("inb %1|
|000010c0| 2c 25 30 22 0a 09 09 3a | 22 3d 61 22 20 28 5f 76 |,%0"...:|"=a" (_v|
|000010d0| 29 3a 22 64 22 20 28 28 | 75 6e 73 69 67 6e 65 64 |):"d" ((|unsigned|
|000010e0| 20 73 68 6f 72 74 29 20 | 70 6f 72 74 29 29 3b 0a | short) |port));.|
|000010f0| 09 72 65 74 75 72 6e 20 | 5f 76 3b 0a 7d 0a 73 74 |.return |_v;.}.st|
|00001100| 61 74 69 63 20 75 6e 73 | 69 67 6e 65 64 20 73 68 |atic uns|igned sh|
|00001110| 6f 72 74 20 69 6e 6c 69 | 6e 65 20 69 6e 77 28 75 |ort inli|ne inw(u|
|00001120| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 20 70 6f |nsigned |short po|
|00001130| 72 74 29 0a 7b 0a 09 75 | 6e 73 69 67 6e 65 64 20 |rt).{..u|nsigned |
|00001140| 73 68 6f 72 74 20 5f 76 | 3b 0a 09 5f 5f 61 73 6d |short _v|;..__asm|
|00001150| 5f 5f 20 76 6f 6c 61 74 | 69 6c 65 20 28 22 69 6e |__ volat|ile ("in|
|00001160| 77 20 25 31 2c 25 30 22 | 0a 09 09 3a 22 3d 61 22 |w %1,%0"|...:"=a"|
|00001170| 20 28 5f 76 29 3a 22 64 | 22 20 28 28 75 6e 73 69 | (_v):"d|" ((unsi|
|00001180| 67 6e 65 64 20 73 68 6f | 72 74 29 20 70 6f 72 74 |gned sho|rt) port|
|00001190| 29 29 3b 0a 09 72 65 74 | 75 72 6e 20 5f 76 3b 0a |));..ret|urn _v;.|
|000011a0| 7d 0a 0a 23 64 65 66 69 | 6e 65 20 69 6e 74 72 5f |}..#defi|ne intr_|
|000011b0| 64 69 73 61 62 6c 65 28 | 29 20 2f 2a 20 73 68 6f |disable(|) /* sho|
|000011c0| 75 6c 64 20 77 65 20 64 | 6f 20 74 68 69 73 3f 3a |uld we d|o this?:|
|000011d0| 20 61 73 6d 28 22 63 6c | 69 22 29 20 2a 2f 0a 23 | asm("cl|i") */.#|
|000011e0| 64 65 66 69 6e 65 20 69 | 6e 74 72 5f 65 6e 61 62 |define i|ntr_enab|
|000011f0| 6c 65 28 29 20 20 2f 2a | 20 73 68 6f 75 6c 64 20 |le() /*| should |
|00001200| 77 65 20 64 6f 20 74 68 | 69 73 3f 3a 20 61 73 6d |we do th|is?: asm|
|00001210| 28 22 73 74 69 22 29 20 | 2a 2f 0a 0a 23 65 6c 73 |("sti") |*/..#els|
|00001220| 65 20 2f 2a 20 21 6c 69 | 6e 75 78 20 2a 2f 0a 0a |e /* !li|nux */..|
|00001230| 23 64 65 66 69 6e 65 20 | 75 73 6c 65 65 70 28 75 |#define |usleep(u|
|00001240| 73 65 63 29 20 73 79 73 | 63 61 6c 6c 28 33 31 31 |sec) sys|call(311|
|00001250| 32 2c 20 75 73 65 63 20 | 2f 20 31 30 30 30 29 0a |2, usec |/ 1000).|
|00001260| 0a 23 69 66 64 65 66 20 | 5f 5f 47 4e 55 43 5f 5f |.#ifdef |__GNUC__|
|00001270| 0a 0a 73 74 61 74 69 63 | 20 5f 5f 69 6e 6c 69 6e |..static| __inlin|
|00001280| 65 5f 5f 20 76 6f 69 64 | 0a 6f 75 74 62 28 70 6f |e__ void|.outb(po|
|00001290| 72 74 2c 20 76 61 6c 29 | 0a 20 20 20 20 20 73 68 |rt, val)|. sh|
|000012a0| 6f 72 74 20 70 6f 72 74 | 3b 0a 20 20 20 20 20 63 |ort port|;. c|
|000012b0| 68 61 72 20 76 61 6c 3b | 0a 7b 0a 20 20 5f 5f 61 |har val;|.{. __a|
|000012c0| 73 6d 5f 5f 20 76 6f 6c | 61 74 69 6c 65 28 22 6f |sm__ vol|atile("o|
|000012d0| 75 74 25 42 30 20 28 25 | 31 29 22 20 3a 20 3a 22 |ut%B0 (%|1)" : :"|
|000012e0| 61 22 20 28 76 61 6c 29 | 2c 20 22 64 22 20 28 70 |a" (val)|, "d" (p|
|000012f0| 6f 72 74 29 29 3b 0a 7d | 0a 0a 73 74 61 74 69 63 |ort));.}|..static|
|00001300| 20 5f 5f 69 6e 6c 69 6e | 65 5f 5f 20 76 6f 69 64 | __inlin|e__ void|
|00001310| 0a 6f 75 74 77 28 70 6f | 72 74 2c 20 76 61 6c 29 |.outw(po|rt, val)|
|00001320| 0a 20 20 20 20 20 73 68 | 6f 72 74 20 70 6f 72 74 |. sh|ort port|
|00001330| 3b 0a 20 20 20 20 20 73 | 68 6f 72 74 20 76 61 6c |;. s|hort val|
|00001340| 3b 0a 7b 0a 20 20 5f 5f | 61 73 6d 5f 5f 20 76 6f |;.{. __|asm__ vo|
|00001350| 6c 61 74 69 6c 65 28 22 | 6f 75 74 25 57 30 20 28 |latile("|out%W0 (|
|00001360| 25 31 29 22 20 3a 20 3a | 22 61 22 20 28 76 61 6c |%1)" : :|"a" (val|
|00001370| 29 2c 20 22 64 22 20 28 | 70 6f 72 74 29 29 3b 0a |), "d" (|port));.|
|00001380| 7d 0a 0a 73 74 61 74 69 | 63 20 5f 5f 69 6e 6c 69 |}..stati|c __inli|
|00001390| 6e 65 5f 5f 20 75 6e 73 | 69 67 6e 65 64 20 69 6e |ne__ uns|igned in|
|000013a0| 74 0a 69 6e 62 28 70 6f | 72 74 29 0a 20 20 20 20 |t.inb(po|rt). |
|000013b0| 20 73 68 6f 72 74 20 70 | 6f 72 74 3b 0a 7b 0a 20 | short p|ort;.{. |
|000013c0| 20 75 6e 73 69 67 6e 65 | 64 20 69 6e 74 20 72 65 | unsigne|d int re|
|000013d0| 74 3b 0a 20 20 5f 5f 61 | 73 6d 5f 5f 20 76 6f 6c |t;. __a|sm__ vol|
|000013e0| 61 74 69 6c 65 28 22 69 | 6e 25 42 30 20 28 25 31 |atile("i|n%B0 (%1|
|000013f0| 29 22 20 3a 0a 09 09 20 | 20 20 22 3d 61 22 20 28 |)" :... | "=a" (|
|00001400| 72 65 74 29 20 3a 0a 09 | 09 20 20 20 22 64 22 20 |ret) :..|. "d" |
|00001410| 28 70 6f 72 74 29 29 3b | 0a 20 20 72 65 74 75 72 |(port));|. retur|
|00001420| 6e 20 72 65 74 3b 0a 7d | 0a 0a 73 74 61 74 69 63 |n ret;.}|..static|
|00001430| 20 5f 5f 69 6e 6c 69 6e | 65 5f 5f 20 75 6e 73 69 | __inlin|e__ unsi|
|00001440| 67 6e 65 64 20 69 6e 74 | 0a 69 6e 77 28 70 6f 72 |gned int|.inw(por|
|00001450| 74 29 0a 20 20 20 20 20 | 73 68 6f 72 74 20 70 6f |t). |short po|
|00001460| 72 74 3b 0a 7b 0a 20 20 | 75 6e 73 69 67 6e 65 64 |rt;.{. |unsigned|
|00001470| 20 69 6e 74 20 72 65 74 | 3b 0a 20 20 5f 5f 61 73 | int ret|;. __as|
|00001480| 6d 5f 5f 20 76 6f 6c 61 | 74 69 6c 65 28 22 69 6e |m__ vola|tile("in|
|00001490| 25 57 30 20 28 25 31 29 | 22 20 3a 0a 09 09 20 20 |%W0 (%1)|" :... |
|000014a0| 20 22 3d 61 22 20 28 72 | 65 74 29 20 3a 0a 09 09 | "=a" (r|et) :...|
|000014b0| 20 20 20 22 64 22 20 28 | 70 6f 72 74 29 29 3b 0a | "d" (|port));.|
|000014c0| 20 20 72 65 74 75 72 6e | 20 72 65 74 3b 0a 7d 0a | return| ret;.}.|
|000014d0| 0a 73 74 61 74 69 63 20 | 5f 5f 69 6e 6c 69 6e 65 |.static |__inline|
|000014e0| 5f 5f 20 76 6f 69 64 0a | 69 6e 74 72 5f 64 69 73 |__ void.|intr_dis|
|000014f0| 61 62 6c 65 28 29 0a 7b | 0a 20 20 5f 5f 61 73 6d |able().{|. __asm|
|00001500| 5f 5f 20 76 6f 6c 61 74 | 69 6c 65 28 22 63 6c 69 |__ volat|ile("cli|
|00001510| 22 29 3b 0a 7d 0a 0a 73 | 74 61 74 69 63 20 5f 5f |");.}..s|tatic __|
|00001520| 69 6e 6c 69 6e 65 5f 5f | 20 76 6f 69 64 0a 69 6e |inline__| void.in|
|00001530| 74 72 5f 65 6e 61 62 6c | 65 28 29 0a 7b 0a 20 20 |tr_enabl|e().{. |
|00001540| 5f 5f 61 73 6d 5f 5f 20 | 76 6f 6c 61 74 69 6c 65 |__asm__ |volatile|
|00001550| 28 22 73 74 69 22 29 3b | 0a 7d 0a 0a 23 65 6c 73 |("sti");|.}..#els|
|00001560| 65 20 2f 2a 20 5f 5f 47 | 4e 55 43 5f 5f 20 2a 2f |e /* __G|NUC__ */|
|00001570| 0a 23 20 69 66 20 64 65 | 66 69 6e 65 64 28 5f 5f |.# if de|fined(__|
|00001580| 53 54 44 43 5f 5f 29 20 | 26 26 20 28 5f 5f 53 54 |STDC__) |&& (__ST|
|00001590| 44 43 5f 5f 20 3d 3d 20 | 31 29 0a 23 20 20 64 65 |DC__ == |1).# de|
|000015a0| 66 69 6e 65 20 61 73 6d | 20 5f 5f 61 73 6d 0a 23 |fine asm| __asm.#|
|000015b0| 20 65 6e 64 69 66 0a 23 | 69 6e 63 6c 75 64 65 20 | endif.#|include |
|000015c0| 3c 73 79 73 2f 69 6e 6c | 69 6e 65 2e 68 3e 0a 23 |<sys/inl|ine.h>.#|
|000015d0| 64 65 66 69 6e 65 20 69 | 6e 74 72 5f 64 69 73 61 |define i|ntr_disa|
|000015e0| 62 6c 65 28 29 20 61 73 | 6d 28 22 63 6c 69 22 29 |ble() as|m("cli")|
|000015f0| 0a 23 64 65 66 69 6e 65 | 20 69 6e 74 72 5f 65 6e |.#define| intr_en|
|00001600| 61 62 6c 65 28 29 20 20 | 61 73 6d 28 22 73 74 69 |able() |asm("sti|
|00001610| 22 29 0a 23 65 6e 64 69 | 66 0a 0a 23 65 6e 64 69 |").#endi|f..#endi|
|00001620| 66 20 2f 2a 20 6c 69 6e | 75 78 20 2a 2f 0a 0a 23 |f /* lin|ux */..#|
|00001630| 69 66 6e 64 65 66 20 5f | 5f 53 54 44 43 5f 5f 0a |ifndef _|_STDC__.|
|00001640| 23 64 65 66 69 6e 65 20 | 73 69 67 6e 65 64 20 2f |#define |signed /|
|00001650| 2a 2a 2f 0a 23 64 65 66 | 69 6e 65 20 63 6f 6e 73 |**/.#def|ine cons|
|00001660| 74 20 2f 2a 2a 2f 0a 23 | 65 6e 64 69 66 0a 0a 23 |t /**/.#|endif..#|
|00001670| 65 6e 64 69 66 20 2f 2a | 20 5f 43 4f 4d 50 49 4c |endif /*| _COMPIL|
|00001680| 45 52 5f 48 20 2a 2f 0a | 00 00 00 00 00 00 00 00 |ER_H */.|........|
|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| 6d 6f 75 73 65 2f 6d 6f | 75 73 65 2e 63 00 00 00 |mouse/mo|use.c...|
|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 20 20 20 36 | 34 34 20 00 20 20 20 20 |.... 6|44 . |
|00001870| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00001880| 20 20 32 33 31 36 35 20 | 20 35 32 32 34 32 32 33 | 23165 | 5224223|
|00001890| 31 32 31 20 20 31 31 35 | 32 30 00 20 30 00 00 00 |121 115|20. 0...|
|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 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|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 72 6f 6f 74 00 00 00 |........|.root...|
|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| 2f 2a 20 70 72 6f 76 69 | 64 65 64 20 62 79 20 68 |/* provi|ded by h|
|00001a10| 6c 75 2c 20 6d 6f 64 69 | 66 69 65 64 20 73 6c 69 |lu, modi|fied sli|
|00001a20| 67 68 74 6c 79 20 62 79 | 20 6f 62 7a 20 2a 2f 0a |ghtly by| obz */.|
|00001a30| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00001a40| 31 39 39 30 2c 39 31 20 | 62 79 20 54 68 6f 6d 61 |1990,91 |by Thoma|
|00001a50| 73 20 52 6f 65 6c 6c 2c | 20 44 69 6e 6b 65 6c 73 |s Roell,| Dinkels|
|00001a60| 63 68 65 72 62 65 6e 2c | 20 47 65 72 6d 61 6e 79 |cherben,| Germany|
|00001a70| 2e 0a 20 2a 0a 20 2a 20 | 50 65 72 6d 69 73 73 69 |.. *. * |Permissi|
|00001a80| 6f 6e 20 74 6f 20 75 73 | 65 2c 20 63 6f 70 79 2c |on to us|e, copy,|
|00001a90| 20 6d 6f 64 69 66 79 2c | 20 64 69 73 74 72 69 62 | modify,| distrib|
|00001aa0| 75 74 65 2c 20 61 6e 64 | 20 73 65 6c 6c 20 74 68 |ute, and| sell th|
|00001ab0| 69 73 20 73 6f 66 74 77 | 61 72 65 20 61 6e 64 20 |is softw|are and |
|00001ac0| 69 74 73 0a 20 2a 20 64 | 6f 63 75 6d 65 6e 74 61 |its. * d|ocumenta|
|00001ad0| 74 69 6f 6e 20 66 6f 72 | 20 61 6e 79 20 70 75 72 |tion for| any pur|
|00001ae0| 70 6f 73 65 20 69 73 20 | 68 65 72 65 62 79 20 67 |pose is |hereby g|
|00001af0| 72 61 6e 74 65 64 20 77 | 69 74 68 6f 75 74 20 66 |ranted w|ithout f|
|00001b00| 65 65 2c 20 70 72 6f 76 | 69 64 65 64 20 74 68 61 |ee, prov|ided tha|
|00001b10| 74 0a 20 2a 20 74 68 65 | 20 61 62 6f 76 65 20 63 |t. * the| above c|
|00001b20| 6f 70 79 72 69 67 68 74 | 20 6e 6f 74 69 63 65 20 |opyright| notice |
|00001b30| 61 70 70 65 61 72 20 69 | 6e 20 61 6c 6c 20 63 6f |appear i|n all co|
|00001b40| 70 69 65 73 20 61 6e 64 | 20 74 68 61 74 20 62 6f |pies and| that bo|
|00001b50| 74 68 20 74 68 61 74 0a | 20 2a 20 63 6f 70 79 72 |th that.| * copyr|
|00001b60| 69 67 68 74 20 6e 6f 74 | 69 63 65 20 61 6e 64 20 |ight not|ice and |
|00001b70| 74 68 69 73 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |this per|mission |
|00001b80| 6e 6f 74 69 63 65 20 61 | 70 70 65 61 72 20 69 6e |notice a|ppear in|
|00001b90| 20 73 75 70 70 6f 72 74 | 69 6e 67 0a 20 2a 20 64 | support|ing. * d|
|00001ba0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 2c 20 61 6e |ocumenta|tion, an|
|00001bb0| 64 20 74 68 61 74 20 74 | 68 65 20 6e 61 6d 65 20 |d that t|he name |
|00001bc0| 6f 66 20 54 68 6f 6d 61 | 73 20 52 6f 65 6c 6c 20 |of Thoma|s Roell |
|00001bd0| 6e 6f 74 20 62 65 20 75 | 73 65 64 20 69 6e 0a 20 |not be u|sed in. |
|00001be0| 2a 20 61 64 76 65 72 74 | 69 73 69 6e 67 20 6f 72 |* advert|ising or|
|00001bf0| 20 70 75 62 6c 69 63 69 | 74 79 20 70 65 72 74 61 | publici|ty perta|
|00001c00| 69 6e 69 6e 67 20 74 6f | 20 64 69 73 74 72 69 62 |ining to| distrib|
|00001c10| 75 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 73 6f 66 |ution of| the sof|
|00001c20| 74 77 61 72 65 20 77 69 | 74 68 6f 75 74 0a 20 2a |tware wi|thout. *|
|00001c30| 20 73 70 65 63 69 66 69 | 63 2c 20 77 72 69 74 74 | specifi|c, writt|
|00001c40| 65 6e 20 70 72 69 6f 72 | 20 70 65 72 6d 69 73 73 |en prior| permiss|
|00001c50| 69 6f 6e 2e 20 20 54 68 | 6f 6d 61 73 20 52 6f 65 |ion. Th|omas Roe|
|00001c60| 6c 6c 20 6d 61 6b 65 73 | 20 6e 6f 20 72 65 70 72 |ll makes| no repr|
|00001c70| 65 73 65 6e 74 61 74 69 | 6f 6e 73 0a 20 2a 20 61 |esentati|ons. * a|
|00001c80| 62 6f 75 74 20 74 68 65 | 20 73 75 69 74 61 62 69 |bout the| suitabi|
|00001c90| 6c 69 74 79 20 6f 66 20 | 74 68 69 73 20 73 6f 66 |lity of |this sof|
|00001ca0| 74 77 61 72 65 20 66 6f | 72 20 61 6e 79 20 70 75 |tware fo|r any pu|
|00001cb0| 72 70 6f 73 65 2e 20 20 | 49 74 20 69 73 20 70 72 |rpose. |It is pr|
|00001cc0| 6f 76 69 64 65 64 0a 20 | 2a 20 22 61 73 20 69 73 |ovided. |* "as is|
|00001cd0| 22 20 77 69 74 68 6f 75 | 74 20 65 78 70 72 65 73 |" withou|t expres|
|00001ce0| 73 20 6f 72 20 69 6d 70 | 6c 69 65 64 20 77 61 72 |s or imp|lied war|
|00001cf0| 72 61 6e 74 79 2e 0a 20 | 2a 0a 20 2a 20 54 48 4f |ranty.. |*. * THO|
|00001d00| 4d 41 53 20 52 4f 45 4c | 4c 20 44 49 53 43 4c 41 |MAS ROEL|L DISCLA|
|00001d10| 49 4d 53 20 41 4c 4c 20 | 57 41 52 52 41 4e 54 49 |IMS ALL |WARRANTI|
|00001d20| 45 53 20 57 49 54 48 20 | 52 45 47 41 52 44 20 54 |ES WITH |REGARD T|
|00001d30| 4f 20 54 48 49 53 20 53 | 4f 46 54 57 41 52 45 2c |O THIS S|OFTWARE,|
|00001d40| 0a 20 2a 20 49 4e 43 4c | 55 44 49 4e 47 20 41 4c |. * INCL|UDING AL|
|00001d50| 4c 20 49 4d 50 4c 49 45 | 44 20 57 41 52 52 41 4e |L IMPLIE|D WARRAN|
|00001d60| 54 49 45 53 20 4f 46 20 | 4d 45 52 43 48 41 4e 54 |TIES OF |MERCHANT|
|00001d70| 41 42 49 4c 49 54 59 20 | 41 4e 44 20 46 49 54 4e |ABILITY |AND FITN|
|00001d80| 45 53 53 2c 20 49 4e 20 | 4e 4f 0a 20 2a 20 45 56 |ESS, IN |NO. * EV|
|00001d90| 45 4e 54 20 53 48 41 4c | 4c 20 54 48 4f 4d 41 53 |ENT SHAL|L THOMAS|
|00001da0| 20 52 4f 45 4c 4c 20 42 | 45 20 4c 49 41 42 4c 45 | ROELL B|E LIABLE|
|00001db0| 20 46 4f 52 20 41 4e 59 | 20 53 50 45 43 49 41 4c | FOR ANY| SPECIAL|
|00001dc0| 2c 20 49 4e 44 49 52 45 | 43 54 20 4f 52 0a 20 2a |, INDIRE|CT OR. *|
|00001dd0| 20 43 4f 4e 53 45 51 55 | 45 4e 54 49 41 4c 20 44 | CONSEQU|ENTIAL D|
|00001de0| 41 4d 41 47 45 53 20 4f | 52 20 41 4e 59 20 44 41 |AMAGES O|R ANY DA|
|00001df0| 4d 41 47 45 53 20 57 48 | 41 54 53 4f 45 56 45 52 |MAGES WH|ATSOEVER|
|00001e00| 20 52 45 53 55 4c 54 49 | 4e 47 20 46 52 4f 4d 20 | RESULTI|NG FROM |
|00001e10| 4c 4f 53 53 20 4f 46 20 | 55 53 45 2c 0a 20 2a 20 |LOSS OF |USE,. * |
|00001e20| 44 41 54 41 20 4f 52 20 | 50 52 4f 46 49 54 53 2c |DATA OR |PROFITS,|
|00001e30| 20 57 48 45 54 48 45 52 | 20 49 4e 20 41 4e 20 41 | WHETHER| IN AN A|
|00001e40| 43 54 49 4f 4e 20 4f 46 | 20 43 4f 4e 54 52 41 43 |CTION OF| CONTRAC|
|00001e50| 54 2c 20 4e 45 47 4c 49 | 47 45 4e 43 45 20 4f 52 |T, NEGLI|GENCE OR|
|00001e60| 20 4f 54 48 45 52 0a 20 | 2a 20 54 4f 52 54 49 4f | OTHER. |* TORTIO|
|00001e70| 55 53 20 41 43 54 49 4f | 4e 2c 20 41 52 49 53 49 |US ACTIO|N, ARISI|
|00001e80| 4e 47 20 4f 55 54 20 4f | 46 20 4f 52 20 49 4e 20 |NG OUT O|F OR IN |
|00001e90| 43 4f 4e 4e 45 43 54 49 | 4f 4e 20 57 49 54 48 20 |CONNECTI|ON WITH |
|00001ea0| 54 48 45 20 55 53 45 20 | 4f 52 0a 20 2a 20 50 45 |THE USE |OR. * PE|
|00001eb0| 52 46 4f 52 4d 41 4e 43 | 45 20 4f 46 20 54 48 49 |RFORMANC|E OF THI|
|00001ec0| 53 20 53 4f 46 54 57 41 | 52 45 2e 0a 20 2a 0a 20 |S SOFTWA|RE.. *. |
|00001ed0| 2a 20 24 48 65 61 64 65 | 72 3a 20 2f 70 72 6f 6a |* $Heade|r: /proj|
|00001ee0| 2f 58 31 31 2f 6d 69 74 | 2f 73 65 72 76 65 72 2f |/X11/mit|/server/|
|00001ef0| 64 64 78 2f 78 33 38 36 | 2f 52 43 53 2f 78 33 38 |ddx/x386|/RCS/x38|
|00001f00| 36 49 6f 2e 63 2c 76 20 | 31 2e 32 20 31 39 39 31 |6Io.c,v |1.2 1991|
|00001f10| 2f 30 36 2f 32 37 20 30 | 30 3a 30 31 3a 33 38 20 |/06/27 0|0:01:38 |
|00001f20| 72 6f 6f 74 20 45 78 70 | 20 24 0a 20 2a 2f 0a 0a |root Exp| $. */..|
|00001f30| 23 64 65 66 69 6e 65 20 | 4e 45 45 44 5f 45 56 45 |#define |NEED_EVE|
|00001f40| 4e 54 53 0a 23 69 66 20 | 30 0a 23 69 6e 63 6c 75 |NTS.#if |0.#inclu|
|00001f50| 64 65 20 22 58 2e 68 22 | 0a 23 69 6e 63 6c 75 64 |de "X.h"|.#includ|
|00001f60| 65 20 22 58 70 72 6f 74 | 6f 2e 68 22 0a 23 69 6e |e "Xprot|o.h".#in|
|00001f70| 63 6c 75 64 65 20 22 69 | 6e 70 75 74 73 74 72 2e |clude "i|nputstr.|
|00001f80| 68 22 0a 23 69 6e 63 6c | 75 64 65 20 22 73 63 72 |h".#incl|ude "scr|
|00001f90| 6e 69 6e 74 73 74 72 2e | 68 22 0a 0a 23 69 6e 63 |nintstr.|h"..#inc|
|00001fa0| 6c 75 64 65 20 22 63 6f | 6d 70 69 6c 65 72 2e 68 |lude "co|mpiler.h|
|00001fb0| 22 0a 0a 23 69 6e 63 6c | 75 64 65 20 22 78 33 38 |"..#incl|ude "x38|
|00001fc0| 36 50 72 6f 63 73 2e 68 | 22 0a 23 69 6e 63 6c 75 |6Procs.h|".#inclu|
|00001fd0| 64 65 20 22 78 33 38 36 | 4f 53 44 2e 68 22 0a 23 |de "x386|OSD.h".#|
|00001fe0| 69 6e 63 6c 75 64 65 20 | 22 61 74 4b 65 79 6e 61 |include |"atKeyna|
|00001ff0| 6d 65 73 2e 68 22 0a 23 | 65 6c 73 65 0a 23 69 6e |mes.h".#|else.#in|
|00002000| 63 6c 75 64 65 20 22 6d | 6f 75 73 65 2e 68 22 0a |clude "m|ouse.h".|
|00002010| 23 65 6e 64 69 66 0a 0a | 73 74 61 74 69 63 20 76 |#endif..|static v|
|00002020| 6f 69 64 0a 45 72 72 6f | 72 20 28 63 6f 6e 73 74 |oid.Erro|r (const|
|00002030| 20 63 68 61 72 20 2a 73 | 74 72 29 0a 7b 0a 20 20 | char *s|tr).{. |
|00002040| 66 70 72 69 6e 74 66 20 | 28 73 74 64 65 72 72 2c |fprintf |(stderr,|
|00002050| 20 22 25 73 5c 6e 22 2c | 20 73 74 72 29 3b 0a 7d | "%s\n",| str);.}|
|00002060| 0a 0a 73 74 61 74 69 63 | 20 76 6f 69 64 0a 78 33 |..static| void.x3|
|00002070| 38 36 50 6f 73 74 4d 73 | 65 45 76 65 6e 74 20 28 |86PostMs|eEvent (|
|00002080| 69 6e 74 20 62 75 74 74 | 6f 6e 2c 20 69 6e 74 20 |int butt|on, int |
|00002090| 64 78 2c 20 69 6e 74 20 | 64 79 29 0a 7b 0a 20 20 |dx, int |dy).{. |
|000020a0| 66 70 72 69 6e 74 66 20 | 28 73 74 64 65 72 72 2c |fprintf |(stderr,|
|000020b0| 20 22 62 75 74 74 6f 6e | 3a 20 25 64 2c 20 64 78 | "button|: %d, dx|
|000020c0| 3a 20 25 64 2c 20 64 79 | 3a 20 25 64 5c 6e 22 2c |: %d, dy|: %d\n",|
|000020d0| 20 62 75 74 74 6f 6e 2c | 20 64 78 2c 20 64 79 29 | button,| dx, dy)|
|000020e0| 3b 0a 7d 0a 0a 73 74 61 | 74 69 63 20 76 6f 69 64 |;.}..sta|tic void|
|000020f0| 0a 78 33 38 36 53 65 74 | 53 70 65 65 64 28 6f 6c |.x386Set|Speed(ol|
|00002100| 64 2c 20 6e 65 77 2c 20 | 63 66 6c 61 67 29 0a 20 |d, new, |cflag). |
|00002110| 20 20 20 20 69 6e 74 20 | 6f 6c 64 2c 20 6e 65 77 | int |old, new|
|00002120| 3b 0a 20 20 20 20 20 75 | 6e 73 69 67 6e 65 64 20 |;. u|nsigned |
|00002130| 73 68 6f 72 74 20 63 66 | 6c 61 67 3b 0a 7b 0a 20 |short cf|lag;.{. |
|00002140| 20 73 74 72 75 63 74 20 | 74 65 72 6d 69 6f 20 20 | struct |termio |
|00002150| 74 74 79 3b 0a 20 20 63 | 68 61 72 20 20 20 20 20 |tty;. c|har |
|00002160| 20 20 20 20 20 20 2a 63 | 3b 0a 0a 20 20 28 76 6f | *c|;.. (vo|
|00002170| 69 64 29 20 69 6f 63 74 | 6c 28 78 33 38 36 49 6e |id) ioct|l(x386In|
|00002180| 66 6f 2e 6d 73 65 46 64 | 2c 20 54 43 47 45 54 41 |fo.mseFd|, TCGETA|
|00002190| 2c 20 26 74 74 79 29 3b | 0a 20 20 74 74 79 2e 63 |, &tty);|. tty.c|
|000021a0| 5f 69 66 6c 61 67 20 3d | 20 49 47 4e 42 52 4b 20 |_iflag =| IGNBRK |
|000021b0| 7c 20 49 47 4e 50 41 52 | 20 3b 20 20 20 20 20 0a || IGNPAR| ; .|
|000021c0| 20 20 74 74 79 2e 63 5f | 6f 66 6c 61 67 20 3d 20 | tty.c_|oflag = |
|000021d0| 30 3b 20 20 20 20 20 20 | 20 20 20 20 20 0a 20 20 |0; | . |
|000021e0| 74 74 79 2e 63 5f 6c 66 | 6c 61 67 20 3d 20 30 3b |tty.c_lf|lag = 0;|
|000021f0| 0a 20 20 74 74 79 2e 63 | 5f 6c 69 6e 65 20 3d 20 |. tty.c|_line = |
|00002200| 30 3b 0a 20 20 74 74 79 | 2e 63 5f 63 63 5b 56 54 |0;. tty|.c_cc[VT|
|00002210| 49 4d 45 5d 3d 30 3b 20 | 0a 20 20 74 74 79 2e 63 |IME]=0; |. tty.c|
|00002220| 5f 63 63 5b 56 4d 49 4e | 5d 3d 31 3b 0a 20 20 0a |_cc[VMIN|]=1;. .|
|00002230| 20 20 73 77 69 74 63 68 | 20 28 6f 6c 64 29 20 7b | switch| (old) {|
|00002240| 0a 20 20 63 61 73 65 20 | 39 36 30 30 3a 20 20 74 |. case |9600: t|
|00002250| 74 79 2e 63 5f 63 66 6c | 61 67 20 3d 20 63 66 6c |ty.c_cfl|ag = cfl|
|00002260| 61 67 20 7c 20 42 39 36 | 30 30 3b 20 20 62 72 65 |ag | B96|00; bre|
|00002270| 61 6b 3b 0a 20 20 63 61 | 73 65 20 34 38 30 30 3a |ak;. ca|se 4800:|
|00002280| 20 20 74 74 79 2e 63 5f | 63 66 6c 61 67 20 3d 20 | tty.c_|cflag = |
|00002290| 63 66 6c 61 67 20 7c 20 | 42 34 38 30 30 3b 20 20 |cflag | |B4800; |
|000022a0| 62 72 65 61 6b 3b 0a 20 | 20 63 61 73 65 20 32 34 |break;. | case 24|
|000022b0| 30 30 3a 20 20 74 74 79 | 2e 63 5f 63 66 6c 61 67 |00: tty|.c_cflag|
|000022c0| 20 3d 20 63 66 6c 61 67 | 20 7c 20 42 32 34 30 30 | = cflag| | B2400|
|000022d0| 3b 20 20 62 72 65 61 6b | 3b 0a 20 20 63 61 73 65 |; break|;. case|
|000022e0| 20 31 32 30 30 3a 0a 20 | 20 64 65 66 61 75 6c 74 | 1200:. | default|
|000022f0| 3a 20 20 20 20 74 74 79 | 2e 63 5f 63 66 6c 61 67 |: tty|.c_cflag|
|00002300| 20 3d 20 63 66 6c 61 67 | 20 7c 20 42 31 32 30 30 | = cflag| | B1200|
|00002310| 3b 20 20 62 72 65 61 6b | 3b 0a 20 20 7d 0a 20 20 |; break|;. }. |
|00002320| 28 76 6f 69 64 29 20 69 | 6f 63 74 6c 28 78 33 38 |(void) i|octl(x38|
|00002330| 36 49 6e 66 6f 2e 6d 73 | 65 46 64 2c 20 54 43 53 |6Info.ms|eFd, TCS|
|00002340| 45 54 41 57 2c 20 26 74 | 74 79 29 3b 20 20 0a 20 |ETAW, &t|ty); . |
|00002350| 20 0a 20 20 73 77 69 74 | 63 68 28 6e 65 77 29 20 | . swit|ch(new) |
|00002360| 7b 0a 20 20 63 61 73 65 | 20 39 36 30 30 3a 20 20 |{. case| 9600: |
|00002370| 63 20 3d 20 22 2a 71 22 | 3b 20 20 74 74 79 2e 63 |c = "*q"|; tty.c|
|00002380| 5f 63 66 6c 61 67 20 3d | 20 63 66 6c 61 67 20 7c |_cflag =| cflag ||
|00002390| 20 42 39 36 30 30 3b 20 | 20 62 72 65 61 6b 3b 0a | B9600; | break;.|
|000023a0| 20 20 63 61 73 65 20 34 | 38 30 30 3a 20 20 63 20 | case 4|800: c |
|000023b0| 3d 20 22 2a 70 22 3b 20 | 20 74 74 79 2e 63 5f 63 |= "*p"; | tty.c_c|
|000023c0| 66 6c 61 67 20 3d 20 63 | 66 6c 61 67 20 7c 20 42 |flag = c|flag | B|
|000023d0| 34 38 30 30 3b 20 20 62 | 72 65 61 6b 3b 0a 20 20 |4800; b|reak;. |
|000023e0| 63 61 73 65 20 32 34 30 | 30 3a 20 20 63 20 3d 20 |case 240|0: c = |
|000023f0| 22 2a 6f 22 3b 20 20 74 | 74 79 2e 63 5f 63 66 6c |"*o"; t|ty.c_cfl|
|00002400| 61 67 20 3d 20 63 66 6c | 61 67 20 7c 20 42 32 34 |ag = cfl|ag | B24|
|00002410| 30 30 3b 20 20 62 72 65 | 61 6b 3b 0a 20 20 63 61 |00; bre|ak;. ca|
|00002420| 73 65 20 31 32 30 30 3a | 0a 20 20 64 65 66 61 75 |se 1200:|. defau|
|00002430| 6c 74 3a 20 20 20 20 63 | 20 3d 20 22 2a 6e 22 3b |lt: c| = "*n";|
|00002440| 20 20 74 74 79 2e 63 5f | 63 66 6c 61 67 20 3d 20 | tty.c_|cflag = |
|00002450| 63 66 6c 61 67 20 7c 20 | 42 31 32 30 30 3b 20 20 |cflag | |B1200; |
|00002460| 62 72 65 61 6b 3b 0a 20 | 20 7d 0a 0a 20 20 77 72 |break;. | }.. wr|
|00002470| 69 74 65 28 78 33 38 36 | 49 6e 66 6f 2e 6d 73 65 |ite(x386|Info.mse|
|00002480| 46 64 2c 20 63 2c 20 32 | 29 3b 20 20 0a 20 20 75 |Fd, c, 2|); . u|
|00002490| 73 6c 65 65 70 28 31 30 | 30 30 30 30 29 3b 0a 0a |sleep(10|0000);..|
|000024a0| 20 20 28 76 6f 69 64 29 | 20 69 6f 63 74 6c 28 78 | (void)| ioctl(x|
|000024b0| 33 38 36 49 6e 66 6f 2e | 6d 73 65 46 64 2c 20 54 |386Info.|mseFd, T|
|000024c0| 43 53 45 54 41 57 2c 20 | 26 74 74 79 29 3b 20 20 |CSETAW, |&tty); |
|000024d0| 0a 23 69 66 64 65 66 20 | 54 43 4d 4f 55 53 45 0a |.#ifdef |TCMOUSE.|
|000024e0| 20 20 28 76 6f 69 64 29 | 20 69 6f 63 74 6c 28 78 | (void)| ioctl(x|
|000024f0| 33 38 36 49 6e 66 6f 2e | 6d 73 65 46 64 2c 20 54 |386Info.|mseFd, T|
|00002500| 43 4d 4f 55 53 45 2c 20 | 31 29 3b 20 20 0a 23 65 |CMOUSE, |1); .#e|
|00002510| 6e 64 69 66 0a 7d 0a 0a | 0a 2f 2a 0a 20 2a 20 78 |ndif.}..|./*. * x|
|00002520| 33 38 36 4d 73 65 50 72 | 6f 63 20 2d 2d 0a 20 2a |386MsePr|oc --. *|
|00002530| 20 20 20 20 20 20 48 61 | 6e 64 6c 65 20 74 68 65 | Ha|ndle the|
|00002540| 20 69 6e 69 74 69 61 6c | 69 7a 61 74 69 6f 6e 2c | initial|ization,|
|00002550| 20 65 74 63 2e 20 6f 66 | 20 61 20 6d 6f 75 73 65 | etc. of| a mouse|
|00002560| 0a 20 2a 2f 0a 0a 69 6e | 74 0a 78 33 38 36 4d 73 |. */..in|t.x386Ms|
|00002570| 65 50 72 6f 63 28 77 68 | 61 74 29 0a 20 20 20 20 |eProc(wh|at). |
|00002580| 20 69 6e 74 20 20 20 20 | 20 20 20 20 77 68 61 74 | int | what|
|00002590| 3b 0a 7b 0a 20 20 75 6e | 63 68 61 72 20 20 20 20 |;.{. un|char |
|000025a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 61 70 5b | | map[|
|000025b0| 34 5d 3b 0a 0a 20 20 73 | 74 61 74 69 63 20 75 6e |4];.. s|tatic un|
|000025c0| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 20 63 66 6c |signed s|hort cfl|
|000025d0| 61 67 5b 35 5d 20 3d 0a | 20 20 20 20 7b 0a 23 69 |ag[5] =.| {.#i|
|000025e0| 66 64 65 66 20 6c 69 6e | 75 78 5f 68 61 63 6b 20 |fdef lin|ux_hack |
|000025f0| 2f 2a 20 6e 6f 74 20 6e | 65 65 64 65 64 20 77 69 |/* not n|eeded wi|
|00002600| 74 68 20 70 61 74 63 68 | 33 20 2d 20 73 65 72 76 |th patch|3 - serv|
|00002610| 65 72 20 64 6f 65 73 6e | 27 74 20 64 6f 20 74 68 |er doesn|'t do th|
|00002620| 69 73 21 20 2a 2f 0a 20 | 20 20 20 20 20 28 43 53 |is! */. | (CS|
|00002630| 37 20 7c 20 49 53 54 52 | 49 50 20 20 20 20 20 20 |7 | ISTR|IP |
|00002640| 20 20 20 20 7c 20 43 52 | 45 41 44 20 7c 20 43 4c | | CR|EAD | CL|
|00002650| 4f 43 41 4c 20 7c 20 48 | 55 50 43 4c 20 29 2c 20 |OCAL | H|UPCL ), |
|00002660| 20 20 2f 2a 20 4d 69 63 | 72 6f 53 6f 66 74 20 2a | /* Mic|roSoft *|
|00002670| 2f 0a 23 65 6c 73 65 0a | 20 20 20 20 20 20 28 43 |/.#else.| (C|
|00002680| 53 37 20 09 09 20 20 20 | 20 20 7c 20 43 52 45 41 |S7 .. | | CREA|
|00002690| 44 20 7c 20 43 4c 4f 43 | 41 4c 20 7c 20 48 55 50 |D | CLOC|AL | HUP|
|000026a0| 43 4c 20 29 2c 20 20 20 | 2f 2a 20 4d 69 63 72 6f |CL ), |/* Micro|
|000026b0| 53 6f 66 74 20 2a 2f 0a | 23 65 6e 64 69 66 0a 20 |Soft */.|#endif. |
|000026c0| 20 20 20 20 20 28 43 53 | 38 20 7c 20 43 53 54 4f | (CS|8 | CSTO|
|000026d0| 50 42 20 20 20 20 20 20 | 20 20 20 20 7c 20 43 52 |PB | | CR|
|000026e0| 45 41 44 20 7c 20 43 4c | 4f 43 41 4c 20 7c 20 48 |EAD | CL|OCAL | H|
|000026f0| 55 50 43 4c 20 29 2c 20 | 20 20 2f 2a 20 4d 6f 75 |UPCL ), | /* Mou|
|00002700| 73 65 53 79 73 74 65 6d | 73 20 2a 2f 0a 20 20 20 |seSystem|s */. |
|00002710| 20 20 20 28 43 53 38 20 | 7c 20 50 41 52 45 4e 42 | (CS8 || PARENB|
|00002720| 20 7c 20 50 41 52 4f 44 | 44 20 7c 20 43 52 45 41 | | PAROD|D | CREA|
|00002730| 44 20 7c 20 43 4c 4f 43 | 41 4c 20 7c 20 48 55 50 |D | CLOC|AL | HUP|
|00002740| 43 4c 20 29 2c 20 20 20 | 2f 2a 20 4d 4d 53 65 72 |CL ), |/* MMSer|
|00002750| 69 65 73 20 2a 2f 0a 20 | 20 20 20 20 20 28 43 53 |ies */. | (CS|
|00002760| 38 20 7c 20 43 53 54 4f | 50 42 20 20 20 20 20 20 |8 | CSTO|PB |
|00002770| 20 20 20 20 7c 20 43 52 | 45 41 44 20 7c 20 43 4c | | CR|EAD | CL|
|00002780| 4f 43 41 4c 20 7c 20 48 | 55 50 43 4c 20 29 2c 20 |OCAL | H|UPCL ), |
|00002790| 20 20 2f 2a 20 4c 6f 67 | 69 74 65 63 68 20 2a 2f | /* Log|itech */|
|000027a0| 0a 20 20 20 20 20 20 30 | 2c 20 20 20 20 20 20 20 |. 0|, |
|000027b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 2a 20 42 | | /* B|
|000027e0| 75 73 4d 6f 75 73 65 20 | 2a 2f 0a 20 20 20 20 7d |usMouse |*/. }|
|000027f0| 3b 0a 20 20 0a 20 20 73 | 77 69 74 63 68 20 28 77 |;. . s|witch (w|
|00002800| 68 61 74 29 0a 20 20 20 | 20 7b 0a 20 20 20 20 63 |hat). | {. c|
|00002810| 61 73 65 20 44 45 56 49 | 43 45 5f 49 4e 49 54 3a |ase DEVI|CE_INIT:|
|00002820| 20 0a 20 20 20 20 20 20 | 6d 61 70 5b 31 5d 20 3d | . |map[1] =|
|00002830| 20 33 3b 0a 20 20 20 20 | 20 20 6d 61 70 5b 32 5d | 3;. | map[2]|
|00002840| 20 3d 20 32 3b 0a 20 20 | 20 20 20 20 6d 61 70 5b | = 2;. | map[|
|00002850| 33 5d 20 3d 20 31 3b 0a | 20 20 20 20 20 20 62 72 |3] = 1;.| br|
|00002860| 65 61 6b 3b 0a 20 20 20 | 20 20 20 0a 20 20 20 20 |eak;. | . |
|00002870| 63 61 73 65 20 44 45 56 | 49 43 45 5f 4f 4e 3a 0a |case DEV|ICE_ON:.|
|00002880| 20 20 20 20 20 20 69 66 | 20 28 28 78 33 38 36 49 | if| ((x386I|
|00002890| 6e 66 6f 2e 6d 73 65 46 | 64 20 3d 20 6f 70 65 6e |nfo.mseF|d = open|
|000028a0| 28 78 33 38 36 49 6e 66 | 6f 2e 6d 73 65 44 65 76 |(x386Inf|o.mseDev|
|000028b0| 69 63 65 2c 20 4f 5f 52 | 44 57 52 20 7c 20 4f 5f |ice, O_R|DWR | O_|
|000028c0| 4e 44 45 4c 41 59 29 29 | 20 3c 20 30 29 0a 09 7b |NDELAY))| < 0)..{|
|000028d0| 0a 09 20 20 45 72 72 6f | 72 20 28 22 43 61 6e 6e |.. Erro|r ("Cann|
|000028e0| 6f 74 20 6f 70 65 6e 20 | 6d 6f 75 73 65 22 29 3b |ot open |mouse");|
|000028f0| 0a 09 20 20 72 65 74 75 | 72 6e 20 28 21 53 75 63 |.. retu|rn (!Suc|
|00002900| 63 65 73 73 29 3b 0a 09 | 7d 0a 0a 20 20 20 20 20 |cess);..|}.. |
|00002910| 20 69 66 20 28 78 33 38 | 36 49 6e 66 6f 2e 6d 73 | if (x38|6Info.ms|
|00002920| 65 54 79 70 65 20 21 3d | 20 50 5f 42 4d 29 20 0a |eType !=| P_BM) .|
|00002930| 09 7b 0a 09 20 20 78 33 | 38 36 53 65 74 53 70 65 |.{.. x3|86SetSpe|
|00002940| 65 64 28 39 36 30 30 2c | 20 78 33 38 36 49 6e 66 |ed(9600,| x386Inf|
|00002950| 6f 2e 62 61 75 64 52 61 | 74 65 2c 20 63 66 6c 61 |o.baudRa|te, cfla|
|00002960| 67 5b 78 33 38 36 49 6e | 66 6f 2e 6d 73 65 54 79 |g[x386In|fo.mseTy|
|00002970| 70 65 5d 29 3b 0a 09 20 | 20 78 33 38 36 53 65 74 |pe]);.. | x386Set|
|00002980| 53 70 65 65 64 28 34 38 | 30 30 2c 20 78 33 38 36 |Speed(48|00, x386|
|00002990| 49 6e 66 6f 2e 62 61 75 | 64 52 61 74 65 2c 20 63 |Info.bau|dRate, c|
|000029a0| 66 6c 61 67 5b 78 33 38 | 36 49 6e 66 6f 2e 6d 73 |flag[x38|6Info.ms|
|000029b0| 65 54 79 70 65 5d 29 3b | 0a 09 20 20 78 33 38 36 |eType]);|.. x386|
|000029c0| 53 65 74 53 70 65 65 64 | 28 32 34 30 30 2c 20 78 |SetSpeed|(2400, x|
|000029d0| 33 38 36 49 6e 66 6f 2e | 62 61 75 64 52 61 74 65 |386Info.|baudRate|
|000029e0| 2c 20 63 66 6c 61 67 5b | 78 33 38 36 49 6e 66 6f |, cflag[|x386Info|
|000029f0| 2e 6d 73 65 54 79 70 65 | 5d 29 3b 0a 09 20 20 78 |.mseType|]);.. x|
|00002a00| 33 38 36 53 65 74 53 70 | 65 65 64 28 31 32 30 30 |386SetSp|eed(1200|
|00002a10| 2c 20 78 33 38 36 49 6e | 66 6f 2e 62 61 75 64 52 |, x386In|fo.baudR|
|00002a20| 61 74 65 2c 20 63 66 6c | 61 67 5b 78 33 38 36 49 |ate, cfl|ag[x386I|
|00002a30| 6e 66 6f 2e 6d 73 65 54 | 79 70 65 5d 29 3b 0a 0a |nfo.mseT|ype]);..|
|00002a40| 09 20 20 69 66 20 28 78 | 33 38 36 49 6e 66 6f 2e |. if (x|386Info.|
|00002a50| 6d 73 65 54 79 70 65 20 | 3d 3d 20 50 5f 4c 4f 47 |mseType |== P_LOG|
|00002a60| 49 29 0a 09 20 20 20 20 | 7b 0a 09 20 20 20 20 20 |I).. |{.. |
|00002a70| 20 77 72 69 74 65 28 78 | 33 38 36 49 6e 66 6f 2e | write(x|386Info.|
|00002a80| 6d 73 65 46 64 2c 20 22 | 53 22 2c 20 31 29 3b 0a |mseFd, "|S", 1);.|
|00002a90| 09 20 20 20 20 20 20 78 | 33 38 36 53 65 74 53 70 |. x|386SetSp|
|00002aa0| 65 65 64 28 78 33 38 36 | 49 6e 66 6f 2e 62 61 75 |eed(x386|Info.bau|
|00002ab0| 64 52 61 74 65 2c 20 78 | 33 38 36 49 6e 66 6f 2e |dRate, x|386Info.|
|00002ac0| 62 61 75 64 52 61 74 65 | 2c 20 63 66 6c 61 67 5b |baudRate|, cflag[|
|00002ad0| 50 5f 4d 4d 5d 29 3b 0a | 09 20 20 20 20 7d 0a 0a |P_MM]);.|. }..|
|00002ae0| 09 20 20 69 66 20 20 20 | 20 20 20 28 78 33 38 36 |. if | (x386|
|00002af0| 49 6e 66 6f 2e 73 61 6d | 70 6c 65 52 61 74 65 20 |Info.sam|pleRate |
|00002b00| 3c 3d 20 20 20 30 29 20 | 20 77 72 69 74 65 28 78 |<= 0) | write(x|
|00002b10| 33 38 36 49 6e 66 6f 2e | 6d 73 65 46 64 2c 20 22 |386Info.|mseFd, "|
|00002b20| 4f 22 2c 20 31 29 3b 0a | 09 20 20 65 6c 73 65 20 |O", 1);.|. else |
|00002b30| 69 66 20 28 78 33 38 36 | 49 6e 66 6f 2e 73 61 6d |if (x386|Info.sam|
|00002b40| 70 6c 65 52 61 74 65 20 | 3c 3d 20 20 31 35 29 20 |pleRate |<= 15) |
|00002b50| 20 77 72 69 74 65 28 78 | 33 38 36 49 6e 66 6f 2e | write(x|386Info.|
|00002b60| 6d 73 65 46 64 2c 20 22 | 4a 22 2c 20 31 29 3b 0a |mseFd, "|J", 1);.|
|00002b70| 09 20 20 65 6c 73 65 20 | 69 66 20 28 78 33 38 36 |. else |if (x386|
|00002b80| 49 6e 66 6f 2e 73 61 6d | 70 6c 65 52 61 74 65 20 |Info.sam|pleRate |
|00002b90| 3c 3d 20 20 32 37 29 20 | 20 77 72 69 74 65 28 78 |<= 27) | write(x|
|00002ba0| 33 38 36 49 6e 66 6f 2e | 6d 73 65 46 64 2c 20 22 |386Info.|mseFd, "|
|00002bb0| 4b 22 2c 20 31 29 3b 0a | 09 20 20 65 6c 73 65 20 |K", 1);.|. else |
|00002bc0| 69 66 20 28 78 33 38 36 | 49 6e 66 6f 2e 73 61 6d |if (x386|Info.sam|
|00002bd0| 70 6c 65 52 61 74 65 20 | 3c 3d 20 20 34 32 29 20 |pleRate |<= 42) |
|00002be0| 20 77 72 69 74 65 28 78 | 33 38 36 49 6e 66 6f 2e | write(x|386Info.|
|00002bf0| 6d 73 65 46 64 2c 20 22 | 4c 22 2c 20 31 29 3b 0a |mseFd, "|L", 1);.|
|00002c00| 09 20 20 65 6c 73 65 20 | 69 66 20 28 78 33 38 36 |. else |if (x386|
|00002c10| 49 6e 66 6f 2e 73 61 6d | 70 6c 65 52 61 74 65 20 |Info.sam|pleRate |
|00002c20| 3c 3d 20 20 36 30 29 20 | 20 77 72 69 74 65 28 78 |<= 60) | write(x|
|00002c30| 33 38 36 49 6e 66 6f 2e | 6d 73 65 46 64 2c 20 22 |386Info.|mseFd, "|
|00002c40| 52 22 2c 20 31 29 3b 0a | 09 20 20 65 6c 73 65 20 |R", 1);.|. else |
|00002c50| 69 66 20 28 78 33 38 36 | 49 6e 66 6f 2e 73 61 6d |if (x386|Info.sam|
|00002c60| 70 6c 65 52 61 74 65 20 | 3c 3d 20 20 38 35 29 20 |pleRate |<= 85) |
|00002c70| 20 77 72 69 74 65 28 78 | 33 38 36 49 6e 66 6f 2e | write(x|386Info.|
|00002c80| 6d 73 65 46 64 2c 20 22 | 4d 22 2c 20 31 29 3b 0a |mseFd, "|M", 1);.|
|00002c90| 09 20 20 65 6c 73 65 20 | 69 66 20 28 78 33 38 36 |. else |if (x386|
|00002ca0| 49 6e 66 6f 2e 73 61 6d | 70 6c 65 52 61 74 65 20 |Info.sam|pleRate |
|00002cb0| 3c 3d 20 31 32 35 29 20 | 20 77 72 69 74 65 28 78 |<= 125) | write(x|
|00002cc0| 33 38 36 49 6e 66 6f 2e | 6d 73 65 46 64 2c 20 22 |386Info.|mseFd, "|
|00002cd0| 51 22 2c 20 31 29 3b 0a | 09 20 20 65 6c 73 65 20 |Q", 1);.|. else |
|00002ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002d00| 20 77 72 69 74 65 28 78 | 33 38 36 49 6e 66 6f 2e | write(x|386Info.|
|00002d10| 6d 73 65 46 64 2c 20 22 | 4e 22 2c 20 31 29 3b 0a |mseFd, "|N", 1);.|
|00002d20| 09 7d 0a 20 20 20 20 20 | 20 0a 20 20 20 20 20 20 |.}. | . |
|00002d30| 78 33 38 36 49 6e 66 6f | 2e 6c 61 73 74 42 75 74 |x386Info|.lastBut|
|00002d40| 74 6f 6e 73 20 3d 20 30 | 3b 0a 20 20 20 20 20 20 |tons = 0|;. |
|00002d50| 78 33 38 36 49 6e 66 6f | 2e 65 6d 75 6c 61 74 65 |x386Info|.emulate|
|00002d60| 53 74 61 74 65 20 3d 20 | 30 3b 0a 20 20 20 20 20 |State = |0;. |
|00002d70| 20 62 72 65 61 6b 3b 0a | 20 20 20 20 20 20 0a 20 | break;.| . |
|00002d80| 20 20 20 63 61 73 65 20 | 44 45 56 49 43 45 5f 4f | case |DEVICE_O|
|00002d90| 46 46 3a 0a 20 20 20 20 | 63 61 73 65 20 44 45 56 |FF:. |case DEV|
|00002da0| 49 43 45 5f 43 4c 4f 53 | 45 3a 0a 20 20 20 20 20 |ICE_CLOS|E:. |
|00002db0| 20 69 66 20 28 78 33 38 | 36 49 6e 66 6f 2e 6d 73 | if (x38|6Info.ms|
|00002dc0| 65 54 79 70 65 20 3d 3d | 20 50 5f 4c 4f 47 49 29 |eType ==| P_LOGI)|
|00002dd0| 0a 09 7b 0a 09 20 20 77 | 72 69 74 65 28 78 33 38 |..{.. w|rite(x38|
|00002de0| 36 49 6e 66 6f 2e 6d 73 | 65 46 64 2c 20 22 55 22 |6Info.ms|eFd, "U"|
|00002df0| 2c 20 31 29 3b 0a 09 20 | 20 78 33 38 36 53 65 74 |, 1);.. | x386Set|
|00002e00| 53 70 65 65 64 28 78 33 | 38 36 49 6e 66 6f 2e 62 |Speed(x3|86Info.b|
|00002e10| 61 75 64 52 61 74 65 2c | 20 31 32 30 30 2c 20 63 |audRate,| 1200, c|
|00002e20| 66 6c 61 67 5b 50 5f 4c | 4f 47 49 5d 29 3b 0a 09 |flag[P_L|OGI]);..|
|00002e30| 7d 0a 20 20 20 20 20 20 | 63 6c 6f 73 65 28 78 33 |}. |close(x3|
|00002e40| 38 36 49 6e 66 6f 2e 6d | 73 65 46 64 29 3b 0a 20 |86Info.m|seFd);. |
|00002e50| 20 20 20 20 20 62 72 65 | 61 6b 3b 0a 20 20 20 20 | bre|ak;. |
|00002e60| 20 20 0a 20 20 20 20 7d | 0a 0a 20 20 72 65 74 75 | . }|.. retu|
|00002e70| 72 6e 20 53 75 63 63 65 | 73 73 3b 0a 7d 0a 0a 0a |rn Succe|ss;.}...|
|00002e80| 0a 2f 2a 0a 20 2a 20 78 | 33 38 36 4d 73 65 45 76 |./*. * x|386MseEv|
|00002e90| 65 6e 74 73 20 2d 2d 0a | 20 2a 20 20 20 20 20 20 |ents --.| * |
|00002ea0| 52 65 61 64 20 74 68 65 | 20 6e 65 77 20 65 76 65 |Read the| new eve|
|00002eb0| 6e 74 73 20 66 72 6f 6d | 20 74 68 65 20 64 65 76 |nts from| the dev|
|00002ec0| 69 63 65 2c 20 61 6e 64 | 20 70 61 73 73 20 74 68 |ice, and| pass th|
|00002ed0| 65 6d 20 74 6f 20 74 68 | 65 20 65 76 65 6e 74 68 |em to th|e eventh|
|00002ee0| 61 6e 64 6c 65 72 2e 0a | 20 2a 2f 0a 0a 76 6f 69 |andler..| */..voi|
|00002ef0| 64 0a 78 33 38 36 4d 73 | 65 45 76 65 6e 74 73 28 |d.x386Ms|eEvents(|
|00002f00| 29 0a 7b 0a 20 20 75 6e | 63 68 61 72 20 20 20 20 |).{. un|char |
|00002f10| 20 20 20 20 20 20 20 20 | 20 20 20 72 42 75 66 5b | | rBuf[|
|00002f20| 36 34 5d 3b 0a 20 20 69 | 6e 74 20 20 20 20 20 20 |64];. i|nt |
|00002f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 2c 6e 42 | | i,nB|
|00002f40| 79 74 65 73 2c 20 62 75 | 74 74 6f 6e 73 2c 20 64 |ytes, bu|ttons, d|
|00002f50| 78 2c 20 64 79 3b 0a 20 | 20 73 74 61 74 69 63 20 |x, dy;. | static |
|00002f60| 69 6e 74 20 20 20 20 20 | 20 20 20 20 20 20 70 42 |int | pB|
|00002f70| 75 66 50 20 3d 20 30 3b | 0a 20 20 73 74 61 74 69 |ufP = 0;|. stati|
|00002f80| 63 20 75 6e 73 69 67 6e | 65 64 20 63 68 61 72 20 |c unsign|ed char |
|00002f90| 70 42 75 66 5b 38 5d 3b | 0a 0a 20 20 73 74 61 74 |pBuf[8];|.. stat|
|00002fa0| 69 63 20 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |ic unsig|ned char|
|00002fb0| 20 70 72 6f 74 6f 5b 35 | 5d 5b 35 5d 20 3d 20 7b | proto[5|][5] = {|
|00002fc0| 0a 20 20 20 20 2f 2a 20 | 20 68 64 5f 6d 61 73 6b |. /* | hd_mask|
|00002fd0| 20 68 64 5f 69 64 20 20 | 20 64 70 5f 6d 61 73 6b | hd_id | dp_mask|
|00002fe0| 20 64 70 5f 69 64 20 20 | 20 6e 6f 62 79 74 65 73 | dp_id | nobytes|
|00002ff0| 20 2a 2f 0a 20 20 20 20 | 7b 20 09 30 78 34 30 2c | */. |{ .0x40,|
|00003000| 09 30 78 34 30 2c 09 30 | 78 34 30 2c 09 30 78 30 |.0x40,.0|x40,.0x0|
|00003010| 30 2c 09 33 20 09 7d 2c | 20 20 2f 2a 20 4d 69 63 |0,.3 .},| /* Mic|
|00003020| 72 6f 53 6f 66 74 20 2a | 2f 0a 20 20 20 20 7b 09 |roSoft *|/. {.|
|00003030| 30 78 66 38 2c 09 30 78 | 38 30 2c 09 30 78 30 30 |0xf8,.0x|80,.0x00|
|00003040| 2c 09 30 78 30 30 2c 09 | 35 09 7d 2c 20 20 2f 2a |,.0x00,.|5.}, /*|
|00003050| 20 4d 6f 75 73 65 53 79 | 73 74 65 6d 73 20 2a 2f | MouseSy|stems */|
|00003060| 0a 20 20 20 20 7b 09 30 | 78 65 30 2c 09 30 78 38 |. {.0|xe0,.0x8|
|00003070| 30 2c 09 30 78 38 30 2c | 09 30 78 30 30 2c 09 33 |0,.0x80,|.0x00,.3|
|00003080| 09 7d 2c 20 20 2f 2a 20 | 4d 4d 53 65 72 69 65 73 |.}, /* |MMSeries|
|00003090| 20 2a 2f 0a 20 20 20 20 | 7b 09 30 78 65 30 2c 09 | */. |{.0xe0,.|
|000030a0| 30 78 38 30 2c 09 30 78 | 38 30 2c 09 30 78 30 30 |0x80,.0x|80,.0x00|
|000030b0| 2c 09 33 09 7d 2c 20 20 | 2f 2a 20 4c 6f 67 69 74 |,.3.}, |/* Logit|
|000030c0| 65 63 68 20 2a 2f 0a 20 | 20 20 20 7b 09 30 78 66 |ech */. | {.0xf|
|000030d0| 38 2c 09 30 78 38 30 2c | 09 30 78 30 30 2c 09 30 |8,.0x80,|.0x00,.0|
|000030e0| 78 30 30 2c 09 35 09 7d | 2c 20 20 2f 2a 20 42 75 |x00,.5.}|, /* Bu|
|000030f0| 73 4d 6f 75 73 65 20 2a | 2f 0a 20 20 7d 3b 0a 20 |sMouse *|/. };. |
|00003100| 20 0a 20 20 69 66 20 28 | 21 28 6e 42 79 74 65 73 | . if (|!(nBytes|
|00003110| 20 3d 20 72 65 61 64 28 | 78 33 38 36 49 6e 66 6f | = read(|x386Info|
|00003120| 2e 6d 73 65 46 64 2c 20 | 28 63 68 61 72 20 2a 29 |.mseFd, |(char *)|
|00003130| 72 42 75 66 2c 20 73 69 | 7a 65 6f 66 28 72 42 75 |rBuf, si|zeof(rBu|
|00003140| 66 29 29 29 29 20 72 65 | 74 75 72 6e 3b 0a 0a 20 |f)))) re|turn;.. |
|00003150| 20 66 6f 72 20 28 20 69 | 3d 30 3b 20 69 20 3c 20 | for ( i|=0; i < |
|00003160| 6e 42 79 74 65 73 3b 20 | 69 2b 2b 29 20 7b 0a 20 |nBytes; |i++) {. |
|00003170| 20 20 20 2f 2a 0a 20 20 | 20 20 20 2a 20 48 61 63 | /*. | * Hac|
|00003180| 6b 20 66 6f 72 20 72 65 | 73 79 6e 63 69 6e 67 3a |k for re|syncing:|
|00003190| 20 57 65 20 63 68 65 63 | 6b 20 68 65 72 65 20 66 | We chec|k here f|
|000031a0| 6f 72 20 61 20 70 61 63 | 6b 61 67 65 20 74 68 61 |or a pac|kage tha|
|000031b0| 74 20 69 73 3a 0a 20 20 | 20 20 20 2a 20 20 61 29 |t is:. | * a)|
|000031c0| 20 69 6c 6c 65 67 61 6c | 20 28 64 65 74 65 63 74 | illegal| (detect|
|000031d0| 65 64 20 62 79 20 77 72 | 6f 6e 67 20 64 61 74 61 |ed by wr|ong data|
|000031e0| 2d 70 61 63 6b 61 67 65 | 20 68 65 61 64 65 72 29 |-package| header)|
|000031f0| 0a 20 20 20 20 20 2a 20 | 20 62 29 20 69 6e 76 61 |. * | b) inva|
|00003200| 6c 69 64 20 28 30 78 38 | 30 20 3d 3d 20 2d 31 32 |lid (0x8|0 == -12|
|00003210| 38 20 61 6e 64 20 74 68 | 61 74 20 6d 69 67 68 74 |8 and th|at might|
|00003220| 20 62 65 20 77 72 6f 6e | 67 20 66 6f 72 20 4d 6f | be wron|g for Mo|
|00003230| 75 73 65 53 79 73 74 65 | 6d 73 29 0a 20 20 20 20 |useSyste|ms). |
|00003240| 20 2a 20 20 63 29 20 62 | 61 64 20 68 65 61 64 65 | * c) b|ad heade|
|00003250| 72 2d 70 61 63 6b 61 67 | 65 0a 20 20 20 20 20 2a |r-packag|e. *|
|00003260| 0a 20 20 20 20 20 2a 20 | 4e 4f 54 45 3a 20 62 29 |. * |NOTE: b)|
|00003270| 20 69 73 20 61 20 76 6f | 69 6c 61 74 69 6f 6e 20 | is a vo|ilation |
|00003280| 6f 66 20 74 68 65 20 4d | 6f 75 73 65 53 79 73 74 |of the M|ouseSyst|
|00003290| 65 6d 73 2d 50 72 6f 74 | 6f 63 6f 6c 2c 20 73 69 |ems-Prot|ocol, si|
|000032a0| 6e 63 65 20 76 61 6c 75 | 65 73 20 6f 66 0a 20 20 |nce valu|es of. |
|000032b0| 20 20 20 2a 20 20 20 20 | 20 20 20 2d 31 32 38 20 | * | -128 |
|000032c0| 61 72 65 20 61 6c 6c 6f | 77 65 64 2c 20 62 75 74 |are allo|wed, but|
|000032d0| 20 73 69 6e 63 65 20 74 | 68 65 79 20 61 72 65 20 | since t|hey are |
|000032e0| 76 65 72 79 20 73 65 6c | 64 6f 6d 20 77 65 20 63 |very sel|dom we c|
|000032f0| 61 6e 20 65 61 73 69 6c | 79 0a 20 20 20 20 20 2a |an easil|y. *|
|00003300| 20 20 20 20 20 20 20 75 | 73 65 20 74 68 65 6d 20 | u|se them |
|00003310| 61 73 20 70 61 63 6b 61 | 67 65 2d 68 65 61 64 65 |as packa|ge-heade|
|00003320| 72 20 77 69 74 68 20 6e | 6f 20 62 75 74 74 6f 6e |r with n|o button|
|00003330| 20 70 72 65 73 73 65 64 | 2e 0a 20 20 20 20 20 2a | pressed|.. *|
|00003340| 2f 0a 20 20 20 20 69 66 | 20 28 70 42 75 66 50 20 |/. if| (pBufP |
|00003350| 21 3d 20 30 20 26 26 20 | 0a 09 28 28 72 42 75 66 |!= 0 && |..((rBuf|
|00003360| 5b 69 5d 20 26 20 70 72 | 6f 74 6f 5b 78 33 38 36 |[i] & pr|oto[x386|
|00003370| 49 6e 66 6f 2e 6d 73 65 | 54 79 70 65 5d 5b 32 5d |Info.mse|Type][2]|
|00003380| 29 20 21 3d 20 70 72 6f | 74 6f 5b 78 33 38 36 49 |) != pro|to[x386I|
|00003390| 6e 66 6f 2e 6d 73 65 54 | 79 70 65 5d 5b 33 5d 0a |nfo.mseT|ype][3].|
|000033a0| 09 20 7c 7c 20 72 42 75 | 66 5b 69 5d 20 3d 3d 20 |. || rBu|f[i] == |
|000033b0| 30 78 38 30 29 29 0a 20 | 20 20 20 20 20 7b 0a 09 |0x80)). | {..|
|000033c0| 70 42 75 66 50 20 3d 20 | 30 3b 20 20 20 20 20 20 |pBufP = |0; |
|000033d0| 20 20 20 20 2f 2a 20 73 | 6b 69 70 20 70 61 63 6b | /* s|kip pack|
|000033e0| 61 67 65 20 2a 2f 0a 20 | 20 20 20 20 20 7d 0a 0a |age */. | }..|
|000033f0| 20 20 20 20 69 66 20 28 | 70 42 75 66 50 20 3d 3d | if (|pBufP ==|
|00003400| 20 30 20 26 26 0a 09 28 | 72 42 75 66 5b 69 5d 20 | 0 &&..(|rBuf[i] |
|00003410| 26 20 70 72 6f 74 6f 5b | 78 33 38 36 49 6e 66 6f |& proto[|x386Info|
|00003420| 2e 6d 73 65 54 79 70 65 | 5d 5b 30 5d 29 20 21 3d |.mseType|][0]) !=|
|00003430| 20 70 72 6f 74 6f 5b 78 | 33 38 36 49 6e 66 6f 2e | proto[x|386Info.|
|00003440| 6d 73 65 54 79 70 65 5d | 5b 31 5d 29 0a 20 20 20 |mseType]|[1]). |
|00003450| 20 20 20 7b 0a 09 2f 2a | 0a 09 20 2a 20 48 61 63 | {../*|.. * Hac|
|00003460| 6b 20 66 6f 72 20 4c 6f | 67 69 74 65 63 68 20 4d |k for Lo|gitech M|
|00003470| 6f 75 73 65 4d 61 6e 20 | 4d 6f 75 73 65 20 2d 20 |ouseMan |Mouse - |
|00003480| 4d 69 64 64 6c 65 20 62 | 75 74 74 6f 6e 0a 09 20 |Middle b|utton.. |
|00003490| 2a 0a 09 20 2a 20 55 6e | 66 6f 72 74 75 6e 61 74 |*.. * Un|fortunat|
|000034a0| 65 6c 79 20 74 68 69 73 | 20 6d 6f 75 73 65 20 68 |ely this| mouse h|
|000034b0| 61 73 20 76 61 72 69 61 | 62 6c 65 20 6c 65 6e 67 |as varia|ble leng|
|000034c0| 74 68 20 70 61 63 6b 65 | 74 73 3a 20 74 68 65 20 |th packe|ts: the |
|000034d0| 73 74 61 6e 64 61 72 64 | 0a 09 20 2a 20 4d 69 63 |standard|.. * Mic|
|000034e0| 72 6f 73 6f 66 74 20 33 | 20 62 79 74 65 20 70 61 |rosoft 3| byte pa|
|000034f0| 63 6b 65 74 20 70 6c 75 | 73 20 61 6e 20 6f 70 74 |cket plu|s an opt|
|00003500| 69 6f 6e 61 6c 20 34 74 | 68 20 62 79 74 65 20 77 |ional 4t|h byte w|
|00003510| 68 65 6e 65 76 65 72 20 | 74 68 65 0a 09 20 2a 20 |henever |the.. * |
|00003520| 6d 69 64 64 6c 65 20 62 | 75 74 74 6f 6e 20 73 74 |middle b|utton st|
|00003530| 61 74 75 73 20 63 68 61 | 6e 67 65 73 2e 0a 09 20 |atus cha|nges... |
|00003540| 2a 0a 09 20 2a 20 57 65 | 20 68 61 76 65 20 61 6c |*.. * We| have al|
|00003550| 72 65 61 64 79 20 70 72 | 6f 63 65 73 73 65 64 20 |ready pr|ocessed |
|00003560| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 70 61 63 |the stan|dard pac|
|00003570| 6b 65 74 20 77 69 74 68 | 20 74 68 65 20 6d 6f 76 |ket with| the mov|
|00003580| 65 6d 65 6e 74 0a 09 20 | 2a 20 61 6e 64 20 62 75 |ement.. |* and bu|
|00003590| 74 74 6f 6e 20 69 6e 66 | 6f 2e 20 20 4e 6f 77 20 |tton inf|o. Now |
|000035a0| 70 6f 73 74 20 61 6e 20 | 65 76 65 6e 74 20 6d 65 |post an |event me|
|000035b0| 73 73 61 67 65 20 77 69 | 74 68 20 74 68 65 20 6f |ssage wi|th the o|
|000035c0| 6c 64 20 73 74 61 74 75 | 73 0a 09 20 2a 20 6f 66 |ld statu|s.. * of|
|000035d0| 20 74 68 65 20 6c 65 66 | 74 20 61 6e 64 20 72 69 | the lef|t and ri|
|000035e0| 67 68 74 20 62 75 74 74 | 6f 6e 73 20 61 6e 64 20 |ght butt|ons and |
|000035f0| 74 68 65 20 75 70 64 61 | 74 65 64 20 6d 69 64 64 |the upda|ted midd|
|00003600| 6c 65 20 62 75 74 74 6f | 6e 2e 0a 09 20 2a 2f 0a |le butto|n... */.|
|00003610| 09 69 66 20 28 78 33 38 | 36 49 6e 66 6f 2e 6d 73 |.if (x38|6Info.ms|
|00003620| 65 54 79 70 65 20 3d 3d | 20 50 5f 4d 53 20 26 26 |eType ==| P_MS &&|
|00003630| 20 28 72 42 75 66 5b 69 | 5d 20 3d 3d 20 30 78 32 | (rBuf[i|] == 0x2|
|00003640| 30 20 7c 7c 20 72 42 75 | 66 5b 69 5d 20 3d 3d 20 |0 || rBu|f[i] == |
|00003650| 30 29 29 0a 09 20 20 7b | 0a 09 20 20 20 20 62 75 |0)).. {|.. bu|
|00003660| 74 74 6f 6e 73 20 3d 20 | 28 28 69 6e 74 29 28 72 |ttons = |((int)(r|
|00003670| 42 75 66 5b 69 5d 20 26 | 20 30 78 32 30 29 20 3e |Buf[i] &| 0x20) >|
|00003680| 3e 20 34 29 0a 09 20 20 | 20 20 20 20 7c 20 28 78 |> 4).. | | (x|
|00003690| 33 38 36 49 6e 66 6f 2e | 6c 61 73 74 42 75 74 74 |386Info.|lastButt|
|000036a0| 6f 6e 73 20 26 20 30 78 | 30 35 29 3b 0a 09 20 20 |ons & 0x|05);.. |
|000036b0| 20 20 78 33 38 36 50 6f | 73 74 4d 73 65 45 76 65 | x386Po|stMseEve|
|000036c0| 6e 74 28 62 75 74 74 6f | 6e 73 2c 20 30 2c 20 30 |nt(butto|ns, 0, 0|
|000036d0| 29 3b 0a 09 20 20 7d 0a | 0a 09 63 6f 6e 74 69 6e |);.. }.|..contin|
|000036e0| 75 65 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 2f |ue; | /|
|000036f0| 2a 20 73 6b 69 70 20 70 | 61 63 6b 61 67 65 20 2a |* skip p|ackage *|
|00003700| 2f 0a 20 20 20 20 20 20 | 7d 0a 0a 0a 20 20 20 20 |/. |}... |
|00003710| 70 42 75 66 5b 70 42 75 | 66 50 2b 2b 5d 20 3d 20 |pBuf[pBu|fP++] = |
|00003720| 72 42 75 66 5b 69 5d 3b | 0a 20 20 20 20 69 66 20 |rBuf[i];|. if |
|00003730| 28 70 42 75 66 50 20 21 | 3d 20 70 72 6f 74 6f 5b |(pBufP !|= proto[|
|00003740| 78 33 38 36 49 6e 66 6f | 2e 6d 73 65 54 79 70 65 |x386Info|.mseType|
|00003750| 5d 5b 34 5d 29 20 63 6f | 6e 74 69 6e 75 65 3b 0a |][4]) co|ntinue;.|
|00003760| 0a 20 20 20 20 2f 2a 0a | 20 20 20 20 20 2a 20 61 |. /*.| * a|
|00003770| 73 73 65 6d 62 6c 79 20 | 66 75 6c 6c 20 70 61 63 |ssembly |full pac|
|00003780| 6b 61 67 65 0a 20 20 20 | 20 20 2a 2f 0a 20 20 20 |kage. | */. |
|00003790| 20 73 77 69 74 63 68 28 | 78 33 38 36 49 6e 66 6f | switch(|x386Info|
|000037a0| 2e 6d 73 65 54 79 70 65 | 29 20 7b 0a 20 20 20 20 |.mseType|) {. |
|000037b0| 20 20 0a 20 20 20 20 63 | 61 73 65 20 50 5f 4d 53 | . c|ase P_MS|
|000037c0| 3a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f |: | /|
|000037d0| 2a 20 4d 69 72 63 6f 73 | 6f 66 74 20 2a 2f 0a 20 |* Mircos|oft */. |
|000037e0| 20 20 20 20 20 62 75 74 | 74 6f 6e 73 20 3d 20 28 | but|tons = (|
|000037f0| 78 33 38 36 49 6e 66 6f | 2e 6c 61 73 74 42 75 74 |x386Info|.lastBut|
|00003800| 74 6f 6e 73 20 26 20 32 | 29 0a 09 7c 20 28 28 69 |tons & 2|)..| ((i|
|00003810| 6e 74 29 28 70 42 75 66 | 5b 30 5d 20 26 20 30 78 |nt)(pBuf|[0] & 0x|
|00003820| 32 30 29 20 3e 3e 20 33 | 29 0a 09 20 20 7c 20 28 |20) >> 3|).. | (|
|00003830| 28 69 6e 74 29 28 70 42 | 75 66 5b 30 5d 20 26 20 |(int)(pB|uf[0] & |
|00003840| 30 78 31 30 29 20 3e 3e | 20 34 29 3b 0a 20 20 20 |0x10) >>| 4);. |
|00003850| 20 20 20 64 78 20 3d 20 | 28 63 68 61 72 29 28 28 | dx = |(char)((|
|00003860| 28 70 42 75 66 5b 30 5d | 20 26 20 30 78 30 33 29 |(pBuf[0]| & 0x03)|
|00003870| 20 3c 3c 20 36 29 20 7c | 20 28 70 42 75 66 5b 31 | << 6) || (pBuf[1|
|00003880| 5d 20 26 20 30 78 33 46 | 29 29 3b 0a 20 20 20 20 |] & 0x3F|));. |
|00003890| 20 20 64 79 20 3d 20 28 | 63 68 61 72 29 28 28 28 | dy = (|char)(((|
|000038a0| 70 42 75 66 5b 30 5d 20 | 26 20 30 78 30 43 29 20 |pBuf[0] |& 0x0C) |
|000038b0| 3c 3c 20 34 29 20 7c 20 | 28 70 42 75 66 5b 32 5d |<< 4) | |(pBuf[2]|
|000038c0| 20 26 20 30 78 33 46 29 | 29 3b 0a 20 20 20 20 20 | & 0x3F)|);. |
|000038d0| 20 62 72 65 61 6b 3b 0a | 20 20 20 20 20 20 0a 20 | break;.| . |
|000038e0| 20 20 20 63 61 73 65 20 | 50 5f 4d 53 43 3a 20 20 | case |P_MSC: |
|000038f0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 4d 6f | | /* Mo|
|00003900| 75 73 65 20 53 79 73 74 | 65 6d 73 20 43 6f 72 70 |use Syst|ems Corp|
|00003910| 20 2a 2f 0a 20 20 20 20 | 20 20 62 75 74 74 6f 6e | */. | button|
|00003920| 73 20 3d 20 28 7e 70 42 | 75 66 5b 30 5d 29 20 26 |s = (~pB|uf[0]) &|
|00003930| 20 30 78 30 37 3b 0a 20 | 20 20 20 20 20 64 78 20 | 0x07;. | dx |
|00003940| 3d 20 20 20 20 28 63 68 | 61 72 29 28 70 42 75 66 |= (ch|ar)(pBuf|
|00003950| 5b 31 5d 29 20 2b 20 28 | 63 68 61 72 29 28 70 42 |[1]) + (|char)(pB|
|00003960| 75 66 5b 33 5d 29 3b 0a | 20 20 20 20 20 20 64 79 |uf[3]);.| dy|
|00003970| 20 3d 20 2d 20 28 28 63 | 68 61 72 29 28 70 42 75 | = - ((c|har)(pBu|
|00003980| 66 5b 32 5d 29 20 2b 20 | 28 63 68 61 72 29 28 70 |f[2]) + |(char)(p|
|00003990| 42 75 66 5b 34 5d 29 29 | 3b 0a 20 20 20 20 20 20 |Buf[4]))|;. |
|000039a0| 62 72 65 61 6b 3b 0a 20 | 20 20 20 20 20 0a 20 20 |break;. | . |
|000039b0| 20 20 63 61 73 65 20 50 | 5f 4d 4d 3a 20 20 20 20 | case P|_MM: |
|000039c0| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 20 4d 4d 20 | | /* MM |
|000039d0| 53 65 72 69 65 73 20 2a | 2f 0a 20 20 20 20 63 61 |Series *|/. ca|
|000039e0| 73 65 20 50 5f 4c 4f 47 | 49 3a 20 20 20 20 20 20 |se P_LOG|I: |
|000039f0| 20 20 20 20 20 20 2f 2a | 20 4c 6f 67 69 74 65 63 | /*| Logitec|
|00003a00| 68 20 4d 69 63 65 20 2a | 2f 0a 20 20 20 20 20 20 |h Mice *|/. |
|00003a10| 62 75 74 74 6f 6e 73 20 | 3d 20 70 42 75 66 5b 30 |buttons |= pBuf[0|
|00003a20| 5d 20 26 20 30 78 30 37 | 3b 0a 20 20 20 20 20 20 |] & 0x07|;. |
|00003a30| 64 78 20 3d 20 28 70 42 | 75 66 5b 30 5d 20 26 20 |dx = (pB|uf[0] & |
|00003a40| 30 78 31 30 29 20 3f 20 | 20 20 70 42 75 66 5b 31 |0x10) ? | pBuf[1|
|00003a50| 5d 20 3a 20 2d 20 70 42 | 75 66 5b 31 5d 3b 0a 20 |] : - pB|uf[1];. |
|00003a60| 20 20 20 20 20 64 79 20 | 3d 20 28 70 42 75 66 5b | dy |= (pBuf[|
|00003a70| 30 5d 20 26 20 30 78 30 | 38 29 20 3f 20 2d 20 70 |0] & 0x0|8) ? - p|
|00003a80| 42 75 66 5b 32 5d 20 3a | 20 20 20 70 42 75 66 5b |Buf[2] :| pBuf[|
|00003a90| 32 5d 3b 0a 20 20 20 20 | 20 20 62 72 65 61 6b 3b |2];. | break;|
|00003aa0| 0a 20 20 20 20 20 20 0a | 20 20 20 20 63 61 73 65 |. .| case|
|00003ab0| 20 50 5f 42 4d 3a 20 20 | 20 20 20 20 20 20 20 20 | P_BM: | |
|00003ac0| 20 20 20 20 2f 2a 20 42 | 75 73 4d 6f 75 73 65 20 | /* B|usMouse |
|00003ad0| 2a 2f 0a 20 20 20 20 20 | 20 62 75 74 74 6f 6e 73 |*/. | buttons|
|00003ae0| 20 3d 20 28 7e 70 42 75 | 66 5b 30 5d 29 20 26 20 | = (~pBu|f[0]) & |
|00003af0| 30 78 30 37 3b 0a 20 20 | 20 20 20 20 64 78 20 3d |0x07;. | dx =|
|00003b00| 20 20 20 28 63 68 61 72 | 29 70 42 75 66 5b 31 5d | (char|)pBuf[1]|
|00003b10| 3b 0a 20 20 20 20 20 20 | 64 79 20 3d 20 2d 20 28 |;. |dy = - (|
|00003b20| 63 68 61 72 29 70 42 75 | 66 5b 32 5d 3b 0a 20 20 |char)pBu|f[2];. |
|00003b30| 20 20 20 20 62 72 65 61 | 6b 3b 0a 20 20 20 20 7d | brea|k;. }|
|00003b40| 0a 0a 20 20 20 20 78 33 | 38 36 50 6f 73 74 4d 73 |.. x3|86PostMs|
|00003b50| 65 45 76 65 6e 74 28 62 | 75 74 74 6f 6e 73 2c 20 |eEvent(b|uttons, |
|00003b60| 64 78 2c 20 64 79 29 3b | 0a 20 20 20 20 70 42 75 |dx, dy);|. pBu|
|00003b70| 66 50 20 3d 20 30 3b 0a | 20 20 7d 0a 7d 0a 0a 76 |fP = 0;.| }.}..v|
|00003b80| 6f 69 64 0a 78 33 38 36 | 4d 73 65 43 6f 6e 66 69 |oid.x386|MseConfi|
|00003b90| 67 20 28 63 68 61 72 20 | 2a 64 65 76 2c 20 69 6e |g (char |*dev, in|
|00003ba0| 74 20 74 79 70 65 29 0a | 7b 0a 20 20 78 33 38 36 |t type).|{. x386|
|00003bb0| 49 6e 66 6f 2e 6d 73 65 | 54 79 70 65 20 3d 20 74 |Info.mse|Type = t|
|00003bc0| 79 70 65 3b 0a 20 20 78 | 33 38 36 49 6e 66 6f 2e |ype;. x|386Info.|
|00003bd0| 6d 73 65 44 65 76 69 63 | 65 20 3d 20 64 65 76 3b |mseDevic|e = dev;|
|00003be0| 0a 20 20 78 33 38 36 49 | 6e 66 6f 2e 73 61 6d 70 |. x386I|nfo.samp|
|00003bf0| 6c 65 52 61 74 65 20 3d | 20 31 35 30 3b 0a 20 20 |leRate =| 150;. |
|00003c00| 78 33 38 36 49 6e 66 6f | 2e 65 6d 75 6c 61 74 65 |x386Info|.emulate|
|00003c10| 33 42 75 74 74 6f 6e 73 | 20 3d 20 46 41 4c 53 45 |3Buttons| = FALSE|
|00003c20| 3b 0a 7d 0a 0a 69 6e 74 | 20 73 74 6f 70 20 3d 20 |;.}..int| stop = |
|00003c30| 46 41 4c 53 45 3b 0a 0a | 76 6f 69 64 0a 73 74 6f |FALSE;..|void.sto|
|00003c40| 70 69 74 28 69 6e 74 20 | 66 6f 6f 29 0a 7b 0a 09 |pit(int |foo).{..|
|00003c50| 73 74 6f 70 20 3d 20 54 | 52 55 45 3b 0a 7d 0a 0a |stop = T|RUE;.}..|
|00003c60| 6d 61 69 6e 20 28 69 6e | 74 20 61 72 67 63 2c 20 |main (in|t argc, |
|00003c70| 63 68 61 72 20 2a 2a 61 | 72 67 76 29 0a 7b 0a 20 |char **a|rgv).{. |
|00003c80| 20 69 6e 74 20 69 20 3d | 20 30 3b 0a 20 20 63 68 | int i =| 0;. ch|
|00003c90| 61 72 20 2a 73 74 72 2c | 20 2a 64 65 76 3b 0a 0a |ar *str,| *dev;..|
|00003ca0| 20 20 69 66 20 28 61 72 | 67 63 20 21 3d 20 33 29 | if (ar|gc != 3)|
|00003cb0| 20 7b 0a 20 20 20 20 66 | 70 72 69 6e 74 66 20 28 | {. f|printf (|
|00003cc0| 73 74 64 65 72 72 2c 20 | 22 55 73 61 67 65 3a 20 |stderr, |"Usage: |
|00003cd0| 25 73 20 5b 4d 69 63 72 | 6f 73 6f 66 74 7c 4d 6f |%s [Micr|osoft|Mo|
|00003ce0| 75 73 65 53 79 73 74 65 | 6d 7c 4d 4d 73 65 72 69 |useSyste|m|MMseri|
|00003cf0| 65 73 7c 4c 6f 67 69 74 | 65 63 68 5d 20 64 65 76 |es|Logit|ech] dev|
|00003d00| 69 63 65 5c 6e 22 2c 20 | 61 72 67 76 20 5b 30 5d |ice\n", |argv [0]|
|00003d10| 29 3b 0a 20 20 20 20 65 | 78 69 74 20 28 31 29 3b |);. e|xit (1);|
|00003d20| 0a 20 20 7d 0a 0a 20 20 | 69 20 3d 20 50 5f 4d 53 |. }.. |i = P_MS|
|00003d30| 3b 0a 20 20 69 66 20 28 | 21 73 74 72 63 61 73 65 |;. if (|!strcase|
|00003d40| 63 6d 70 20 28 61 72 67 | 76 20 5b 31 5d 2c 20 22 |cmp (arg|v [1], "|
|00003d50| 4d 69 63 72 6f 73 6f 66 | 74 22 29 29 20 69 20 3d |Microsof|t")) i =|
|00003d60| 20 50 5f 4d 53 3b 0a 20 | 20 69 66 20 28 21 73 74 | P_MS;. | if (!st|
|00003d70| 72 63 61 73 65 63 6d 70 | 20 28 61 72 67 76 20 5b |rcasecmp| (argv [|
|00003d80| 31 5d 2c 20 22 4d 6f 75 | 73 65 53 79 73 74 65 6d |1], "Mou|seSystem|
|00003d90| 22 29 29 20 69 20 3d 20 | 50 5f 4d 53 43 3b 0a 20 |")) i = |P_MSC;. |
|00003da0| 20 69 66 20 28 21 73 74 | 72 63 61 73 65 63 6d 70 | if (!st|rcasecmp|
|00003db0| 20 28 61 72 67 76 20 5b | 31 5d 2c 20 22 4d 4d 73 | (argv [|1], "MMs|
|00003dc0| 65 72 69 65 73 22 29 29 | 20 69 20 3d 20 50 5f 4d |eries"))| i = P_M|
|00003dd0| 4d 3b 0a 20 20 69 66 20 | 28 21 73 74 72 63 61 73 |M;. if |(!strcas|
|00003de0| 65 63 6d 70 20 28 61 72 | 67 76 20 5b 31 5d 2c 20 |ecmp (ar|gv [1], |
|00003df0| 22 4c 6f 67 69 74 65 63 | 68 22 29 29 20 69 20 3d |"Logitec|h")) i =|
|00003e00| 20 50 5f 4c 4f 47 49 3b | 0a 0a 20 20 64 65 76 20 | P_LOGI;|.. dev |
|00003e10| 3d 20 61 72 67 76 5b 32 | 5d 3b 0a 0a 20 20 73 77 |= argv[2|];.. sw|
|00003e20| 69 74 63 68 20 28 69 29 | 20 7b 0a 20 20 63 61 73 |itch (i)| {. cas|
|00003e30| 65 20 50 5f 4d 53 3a 0a | 20 20 20 20 73 74 72 20 |e P_MS:.| str |
|00003e40| 3d 20 22 4d 69 63 72 6f | 73 6f 66 74 22 3b 0a 20 |= "Micro|soft";. |
|00003e50| 20 20 20 62 72 65 61 6b | 3b 0a 20 20 63 61 73 65 | break|;. case|
|00003e60| 20 50 5f 4d 53 43 3a 0a | 20 20 20 20 73 74 72 20 | P_MSC:.| str |
|00003e70| 3d 20 22 4d 6f 75 73 65 | 53 79 73 74 65 6d 22 3b |= "Mouse|System";|
|00003e80| 0a 20 20 20 20 62 72 65 | 61 6b 3b 0a 20 20 63 61 |. bre|ak;. ca|
|00003e90| 73 65 20 50 5f 4d 4d 3a | 0a 20 20 20 20 73 74 72 |se P_MM:|. str|
|00003ea0| 3d 20 22 4d 4d 73 65 72 | 69 65 73 22 3b 0a 20 20 |= "MMser|ies";. |
|00003eb0| 20 20 62 72 65 61 6b 3b | 0a 20 20 63 61 73 65 20 | break;|. case |
|00003ec0| 50 5f 4c 4f 47 49 3a 0a | 20 20 20 20 73 74 72 20 |P_LOGI:.| str |
|00003ed0| 3d 20 22 4c 6f 67 69 74 | 65 63 68 22 3b 0a 20 20 |= "Logit|ech";. |
|00003ee0| 20 20 62 72 65 61 6b 3b | 0a 20 20 7d 0a 20 20 66 | break;|. }. f|
|00003ef0| 70 72 69 6e 74 66 20 28 | 73 74 64 65 72 72 2c 20 |printf (|stderr, |
|00003f00| 22 59 6f 75 20 61 72 65 | 20 74 65 73 74 69 6e 67 |"You are| testing|
|00003f10| 20 25 73 20 6f 6e 20 25 | 73 2e 5c 6e 22 2c 20 73 | %s on %|s.\n", s|
|00003f20| 74 72 2c 20 64 65 76 29 | 3b 0a 20 20 78 33 38 36 |tr, dev)|;. x386|
|00003f30| 4d 73 65 43 6f 6e 66 69 | 67 20 28 64 65 76 2c 20 |MseConfi|g (dev, |
|00003f40| 69 29 3b 0a 0a 20 20 78 | 33 38 36 4d 73 65 50 72 |i);.. x|386MsePr|
|00003f50| 6f 63 28 44 45 56 49 43 | 45 5f 49 4e 49 54 29 3b |oc(DEVIC|E_INIT);|
|00003f60| 0a 20 20 78 33 38 36 4d | 73 65 50 72 6f 63 28 44 |. x386M|seProc(D|
|00003f70| 45 56 49 43 45 5f 4f 4e | 29 3b 0a 2f 2a 20 20 20 |EVICE_ON|);./* |
|00003f80| 6f 75 74 62 20 28 30 78 | 30 33 66 62 2c 20 30 78 |outb (0x|03fb, 0x|
|00003f90| 30 33 29 3b 20 2a 2f 0a | 0a 20 20 73 69 67 6e 61 |03); */.|. signa|
|00003fa0| 6c 28 53 49 47 49 4e 54 | 2c 20 73 74 6f 70 69 74 |l(SIGINT|, stopit|
|00003fb0| 29 3b 0a 20 20 66 70 72 | 69 6e 74 66 28 73 74 64 |);. fpr|intf(std|
|00003fc0| 65 72 72 2c 20 22 50 6c | 61 79 20 77 69 74 68 20 |err, "Pl|ay with |
|00003fd0| 74 68 65 20 6d 6f 75 73 | 65 20 2d 20 68 69 74 20 |the mous|e - hit |
|00003fe0| 63 74 72 6c 2d 63 20 74 | 6f 20 73 74 6f 70 5c 6e |ctrl-c t|o stop\n|
|00003ff0| 22 29 3b 0a 20 20 66 6f | 72 20 28 3b 3b 29 20 7b |");. fo|r (;;) {|
|00004000| 0a 20 20 20 20 69 66 20 | 28 73 74 6f 70 29 0a 09 |. if |(stop)..|
|00004010| 20 20 20 20 62 72 65 61 | 6b 3b 0a 20 20 20 20 78 | brea|k;. x|
|00004020| 33 38 36 4d 73 65 45 76 | 65 6e 74 73 28 29 3b 0a |386MseEv|ents();.|
|00004030| 20 20 7d 0a 20 20 78 33 | 38 36 4d 73 65 50 72 6f | }. x3|86MsePro|
|00004040| 63 28 44 45 56 49 43 45 | 5f 43 4c 4f 53 45 29 3b |c(DEVICE|_CLOSE);|
|00004050| 0a 20 20 66 70 72 69 6e | 74 66 28 73 74 64 65 72 |. fprin|tf(stder|
|00004060| 72 2c 20 22 66 69 6e 69 | 73 68 65 64 2e 5c 6e 22 |r, "fini|shed.\n"|
|00004070| 29 3b 0a 7d 0a 00 00 00 | 00 00 00 00 00 00 00 00 |);.}....|........|
|00004080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 6d 6f 75 73 65 2f 6d 6f | 75 73 65 2e 68 00 00 00 |mouse/mo|use.h...|
|00004210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004260| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 20 |.... 6|44 . |
|00004270| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00004280| 20 20 20 35 30 30 35 20 | 20 35 33 36 31 37 32 34 | 5005 | 5361724|
|00004290| 35 37 31 20 20 31 31 35 | 31 37 00 20 30 00 00 00 |571 115|17. 0...|
|000042a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004300| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00004310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004320| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00004330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004400| 0a 2f 2a 0a 20 2a 20 53 | 59 53 20 56 2f 33 38 36 |./*. * S|YS V/386|
|00004410| 20 64 65 70 65 6e 64 65 | 6e 74 20 69 6e 63 6c 75 | depende|nt inclu|
|00004420| 64 65 73 0a 20 2a 2f 0a | 23 69 6e 63 6c 75 64 65 |des. */.|#include|
|00004430| 20 20 20 20 3c 73 74 64 | 69 6f 2e 68 3e 0a 23 69 | <std|io.h>.#i|
|00004440| 6e 63 6c 75 64 65 20 20 | 20 20 3c 66 63 6e 74 6c |nclude | <fcntl|
|00004450| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 20 20 20 |.h>.#inc|lude |
|00004460| 3c 63 74 79 70 65 2e 68 | 3e 0a 23 69 6e 63 6c 75 |<ctype.h|>.#inclu|
|00004470| 64 65 20 20 20 20 3c 73 | 79 73 2f 74 79 70 65 73 |de <s|ys/types|
|00004480| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 20 20 20 |.h>.#inc|lude |
|00004490| 3c 73 79 73 2f 69 6f 63 | 74 6c 2e 68 3e 0a 23 69 |<sys/ioc|tl.h>.#i|
|000044a0| 6e 63 6c 75 64 65 20 20 | 20 20 3c 73 79 73 2f 70 |nclude | <sys/p|
|000044b0| 61 72 61 6d 2e 68 3e 0a | 23 69 6e 63 6c 75 64 65 |aram.h>.|#include|
|000044c0| 20 20 20 20 3c 74 69 6d | 65 2e 68 3e 0a 23 69 6e | <tim|e.h>.#in|
|000044d0| 63 6c 75 64 65 20 20 20 | 20 3c 74 65 72 6d 69 6f |clude | <termio|
|000044e0| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 20 20 20 |.h>.#inc|lude |
|000044f0| 3c 73 74 72 69 6e 67 2e | 68 3e 0a 23 69 6e 63 6c |<string.|h>.#incl|
|00004500| 75 64 65 20 20 20 20 3c | 65 72 72 6e 6f 2e 68 3e |ude <|errno.h>|
|00004510| 0a 23 69 6e 63 6c 75 64 | 65 20 20 20 20 3c 73 69 |.#includ|e <si|
|00004520| 67 6e 61 6c 2e 68 3e 0a | 23 69 6e 63 6c 75 64 65 |gnal.h>.|#include|
|00004530| 20 20 20 20 22 63 6f 6d | 70 69 6c 65 72 2e 68 22 | "com|piler.h"|
|00004540| 0a 65 78 74 65 72 6e 20 | 69 6e 74 20 65 72 72 6e |.extern |int errn|
|00004550| 6f 3b 0a 0a 23 64 65 66 | 69 6e 65 20 44 45 56 49 |o;..#def|ine DEVI|
|00004560| 43 45 5f 49 4e 49 54 09 | 30 0a 23 64 65 66 69 6e |CE_INIT.|0.#defin|
|00004570| 65 20 44 45 56 49 43 45 | 5f 43 4c 4f 53 45 09 31 |e DEVICE|_CLOSE.1|
|00004580| 0a 23 64 65 66 69 6e 65 | 20 44 45 56 49 43 45 5f |.#define| DEVICE_|
|00004590| 4f 4e 09 32 0a 23 64 65 | 66 69 6e 65 20 44 45 56 |ON.2.#de|fine DEV|
|000045a0| 49 43 45 5f 4f 46 46 09 | 33 0a 0a 2f 2a 20 0a 20 |ICE_OFF.|3../* . |
|000045b0| 2a 20 73 74 72 75 63 74 | 75 72 65 20 63 6f 6d 6d |* struct|ure comm|
|000045c0| 6f 6e 20 66 6f 72 20 65 | 76 65 72 79 20 4d 6f 75 |on for e|very Mou|
|000045d0| 73 65 0a 20 20 58 33 38 | 36 44 65 76 69 63 65 52 |se. X38|6DeviceR|
|000045e0| 65 63 20 64 65 76 69 63 | 65 3b 0a 20 2a 2f 0a 74 |ec devic|e;. */.t|
|000045f0| 79 70 65 64 65 66 20 73 | 74 72 75 63 74 20 7b 0a |ypedef s|truct {.|
|00004600| 20 20 69 6e 74 09 09 46 | 64 3b 0a 20 20 69 6e 74 | int..F|d;. int|
|00004610| 20 20 20 20 20 20 20 20 | 20 20 20 78 2c 79 2c 62 | | x,y,b|
|00004620| 75 74 74 6f 6e 73 3b 20 | 20 20 20 20 20 20 20 20 |uttons; | |
|00004630| 20 2f 2a 20 69 6e 74 65 | 72 6e 61 6c 20 73 74 61 | /* inte|rnal sta|
|00004640| 74 65 20 6f 66 20 74 68 | 69 73 20 6d 6f 75 73 65 |te of th|is mouse|
|00004650| 20 2a 2f 0a 20 20 69 6e | 74 20 20 20 20 20 20 20 | */. in|t |
|00004660| 20 20 20 20 74 68 72 65 | 73 68 6f 6c 64 2c 20 6e | thre|shold, n|
|00004670| 75 6d 2c 20 64 65 6e 3b | 20 20 2f 2a 20 61 63 63 |um, den;| /* acc|
|00004680| 65 6c 65 72 61 74 69 6f | 6e 20 2a 2f 0a 20 20 69 |eleratio|n */. i|
|00004690| 6e 74 20 20 20 20 20 20 | 20 20 20 20 20 6e 6f 62 |nt | nob|
|000046a0| 75 74 74 6f 6e 73 3b 20 | 20 20 20 20 20 20 20 20 |uttons; | |
|000046b0| 20 20 20 2f 2a 20 62 75 | 74 74 6f 6e 20 6e 75 6d | /* bu|tton num|
|000046c0| 62 65 72 20 2a 2f 0a 20 | 20 69 6e 74 20 20 20 20 |ber */. | int |
|000046d0| 20 20 20 20 20 20 20 70 | 61 63 6b 61 67 65 73 3b | p|ackages;|
|000046e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|000046f0| 70 61 63 6b 61 67 65 73 | 20 2f 20 73 65 63 20 2a |packages| / sec *|
|00004700| 2f 0a 20 20 69 6e 74 20 | 20 20 20 20 20 20 20 20 |/. int | |
|00004710| 20 20 62 61 75 64 72 61 | 74 65 3b 20 20 20 20 20 | baudra|te; |
|00004720| 20 20 20 20 20 20 20 20 | 2f 2a 20 74 61 72 67 65 | |/* targe|
|00004730| 74 65 64 20 73 70 65 65 | 64 20 2a 2f 0a 20 20 69 |ted spee|d */. i|
|00004740| 6e 74 20 20 20 20 20 20 | 20 20 20 20 20 70 72 6f |nt | pro|
|00004750| 74 6f 63 6f 6c 3b 20 20 | 20 20 20 20 20 20 20 20 |tocol; | |
|00004760| 20 20 20 2f 2a 20 77 68 | 69 63 68 20 77 61 79 20 | /* wh|ich way |
|00004770| 6f 66 20 64 61 74 61 20 | 74 72 61 6e 73 6d 69 74 |of data |transmit|
|00004780| 74 69 6e 67 20 2a 2f 0a | 20 20 69 6e 74 20 20 20 |ting */.| int |
|00004790| 20 20 20 20 20 20 20 20 | 63 66 6c 61 67 3b 20 20 | |cflag; |
|000047a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a | | /*|
|000047b0| 20 64 65 66 61 75 6c 74 | 20 73 65 74 74 69 6e 67 | default| setting|
|000047c0| 20 66 6f 72 20 70 72 6f | 74 6f 63 6f 6c 20 2a 2f | for pro|tocol */|
|000047d0| 0a 20 20 73 74 72 75 63 | 74 20 74 65 72 6d 69 6f |. struc|t termio|
|000047e0| 20 74 74 79 3b 20 20 20 | 20 20 20 20 20 20 20 20 | tty; | |
|000047f0| 20 20 20 20 20 20 20 2f | 2a 20 74 65 72 6d 69 6f | /|* termio|
|00004800| 20 73 74 72 75 63 74 20 | 6f 66 20 64 65 76 69 63 | struct |of devic|
|00004810| 65 20 2a 2f 0a 20 20 75 | 6e 63 68 61 72 20 20 20 |e */. u|nchar |
|00004820| 20 20 20 20 20 68 64 5f | 6d 61 73 6b 2c 20 68 64 | hd_|mask, hd|
|00004830| 5f 69 64 3b 20 20 20 20 | 20 20 20 2f 2a 20 69 64 |_id; | /* id|
|00004840| 65 6e 74 69 66 69 63 61 | 74 69 6f 6e 20 6f 66 20 |entifica|tion of |
|00004850| 74 68 65 20 66 69 72 73 | 74 20 62 79 74 65 20 2a |the firs|t byte *|
|00004860| 2f 0a 20 20 75 6e 63 68 | 61 72 20 20 20 20 20 20 |/. unch|ar |
|00004870| 20 20 64 70 5f 6d 61 73 | 6b 2c 20 64 70 5f 69 64 | dp_mas|k, dp_id|
|00004880| 3b 20 20 20 20 20 20 20 | 2f 2a 20 69 64 65 6e 74 |; |/* ident|
|00004890| 69 66 69 63 61 74 69 6f | 6e 20 6f 66 20 61 20 64 |ificatio|n of a d|
|000048a0| 61 74 61 20 62 79 74 65 | 20 2a 2f 0a 20 20 69 6e |ata byte| */. in|
|000048b0| 74 20 20 20 20 20 20 20 | 20 20 20 20 6e 6f 62 79 |t | noby|
|000048c0| 74 65 73 3b 20 20 20 20 | 20 20 20 20 20 20 20 20 |tes; | |
|000048d0| 20 20 2f 2a 20 70 61 63 | 6b 61 67 65 20 6c 65 6e | /* pac|kage len|
|000048e0| 67 74 68 20 2a 2f 0a 20 | 20 75 6e 63 68 61 72 20 |gth */. | unchar |
|000048f0| 20 20 20 20 20 20 20 73 | 62 75 66 5b 34 5d 3b 20 | s|buf[4]; |
|00004900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00004910| 73 74 61 74 65 20 62 75 | 66 66 65 72 20 66 6f 72 |state bu|ffer for|
|00004920| 20 6c 6f 67 69 74 65 63 | 68 20 2a 2f 0a 20 20 69 | logitec|h */. i|
|00004930| 6e 74 20 20 20 20 20 20 | 20 20 20 20 20 65 6d 75 |nt | emu|
|00004940| 6c 61 74 65 3b 20 20 20 | 20 20 20 20 20 20 20 20 |late; | |
|00004950| 20 20 20 2f 2a 20 61 75 | 74 6f 6d 61 74 61 20 73 | /* au|tomata s|
|00004960| 74 61 74 65 20 66 6f 72 | 20 32 20 62 75 74 74 6f |tate for| 2 butto|
|00004970| 6e 20 6d 6f 64 65 20 2a | 2f 0a 20 20 69 6e 74 20 |n mode *|/. int |
|00004980| 20 20 20 20 20 20 20 20 | 20 20 62 75 66 70 3b 20 | | bufp; |
|00004990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000049a0| 2f 2a 20 70 61 63 6b 61 | 67 65 20 62 75 66 66 65 |/* packa|ge buffe|
|000049b0| 72 20 2a 2f 0a 20 20 75 | 6e 63 68 61 72 20 20 20 |r */. u|nchar |
|000049c0| 20 20 20 20 20 62 75 66 | 5b 38 5d 3b 0a 7d 20 58 | buf|[8];.} X|
|000049d0| 33 38 36 4d 6f 75 73 65 | 52 65 63 2c 20 2a 58 33 |386Mouse|Rec, *X3|
|000049e0| 38 36 4d 6f 75 73 65 50 | 74 72 3b 0a 0a 23 64 65 |86MouseP|tr;..#de|
|000049f0| 66 69 6e 65 20 50 5f 4d | 53 20 20 20 20 30 20 20 |fine P_M|S 0 |
|00004a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004a10| 20 20 20 2f 2a 20 4d 69 | 63 72 6f 73 6f 66 74 20 | /* Mi|crosoft |
|00004a20| 2a 2f 0a 23 64 65 66 69 | 6e 65 20 50 5f 4d 53 43 |*/.#defi|ne P_MSC|
|00004a30| 20 20 20 31 20 20 20 20 | 20 20 20 20 20 20 20 20 | 1 | |
|00004a40| 20 20 20 20 20 20 20 20 | 20 2f 2a 20 4d 6f 75 73 | | /* Mous|
|00004a50| 65 20 53 79 73 74 65 6d | 73 20 43 6f 72 70 20 2a |e System|s Corp *|
|00004a60| 2f 0a 23 64 65 66 69 6e | 65 20 50 5f 4d 4d 20 20 |/.#defin|e P_MM |
|00004a70| 20 20 32 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | 2 | |
|00004a80| 20 20 20 20 20 20 20 20 | 2f 2a 20 4d 4d 73 65 72 | |/* MMser|
|00004a90| 69 65 73 20 2a 2f 0a 23 | 64 65 66 69 6e 65 20 50 |ies */.#|define P|
|00004aa0| 5f 4c 4f 47 49 20 20 33 | 20 20 20 20 20 20 20 20 |_LOGI 3| |
|00004ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00004ac0| 4c 6f 67 69 74 65 63 68 | 20 2a 2f 0a 23 64 65 66 |Logitech| */.#def|
|00004ad0| 69 6e 65 20 50 5f 42 4d | 20 20 20 20 34 20 20 20 |ine P_BM| 4 |
|00004ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004af0| 20 20 2f 2a 20 42 75 73 | 4d 6f 75 73 65 20 3f 3f | /* Bus|Mouse ??|
|00004b00| 3f 20 2a 2f 0a 0a 74 79 | 70 65 64 65 66 20 69 6e |? */..ty|pedef in|
|00004b10| 74 20 42 6f 6f 6c 3b 0a | 0a 74 79 70 65 64 65 66 |t Bool;.|.typedef|
|00004b20| 20 73 74 72 75 63 74 20 | 7b 0a 20 20 2f 2a 20 70 | struct |{. /* p|
|00004b30| 6f 69 6e 74 65 72 20 70 | 61 72 74 20 2a 2f 0a 20 |ointer p|art */. |
|00004b40| 20 69 6e 74 20 20 20 20 | 20 20 20 20 20 20 20 6d | int | m|
|00004b50| 73 65 46 64 3b 0a 20 20 | 63 68 61 72 20 20 20 20 |seFd;. |char |
|00004b60| 20 20 20 20 20 20 2a 6d | 73 65 44 65 76 69 63 65 | *m|seDevice|
|00004b70| 3b 0a 20 20 69 6e 74 20 | 20 20 20 20 20 20 20 20 |;. int | |
|00004b80| 20 20 6d 73 65 54 79 70 | 65 3b 0a 20 20 69 6e 74 | mseTyp|e;. int|
|00004b90| 20 20 20 20 20 20 20 20 | 20 20 20 62 61 75 64 52 | | baudR|
|00004ba0| 61 74 65 3b 0a 20 20 69 | 6e 74 20 20 20 20 20 20 |ate;. i|nt |
|00004bb0| 20 20 20 20 20 73 61 6d | 70 6c 65 52 61 74 65 3b | sam|pleRate;|
|00004bc0| 0a 20 20 69 6e 74 20 20 | 20 20 20 20 20 20 20 20 |. int | |
|00004bd0| 20 6c 61 73 74 42 75 74 | 74 6f 6e 73 3b 0a 20 20 | lastBut|tons;. |
|00004be0| 69 6e 74 20 20 20 20 20 | 20 20 20 20 20 20 74 68 |int | th|
|00004bf0| 72 65 73 68 6f 6c 64 2c | 20 6e 75 6d 2c 20 64 65 |reshold,| num, de|
|00004c00| 6e 3b 20 20 2f 2a 20 61 | 63 63 65 6c 65 72 61 74 |n; /* a|ccelerat|
|00004c10| 69 6f 6e 20 2a 2f 0a 20 | 20 69 6e 74 20 20 20 20 |ion */. | int |
|00004c20| 20 20 20 20 20 20 20 65 | 6d 75 6c 61 74 65 53 74 | e|mulateSt|
|00004c30| 61 74 65 3b 20 20 20 20 | 20 20 20 20 20 2f 2a 20 |ate; | /* |
|00004c40| 61 75 74 6f 6d 61 74 61 | 20 73 74 61 74 65 20 66 |automata| state f|
|00004c50| 6f 72 20 32 20 62 75 74 | 74 6f 6e 20 6d 6f 64 65 |or 2 but|ton mode|
|00004c60| 20 2a 2f 0a 20 20 42 6f | 6f 6c 20 20 20 20 20 20 | */. Bo|ol |
|00004c70| 20 20 20 20 65 6d 75 6c | 61 74 65 33 42 75 74 74 | emul|ate3Butt|
|00004c80| 6f 6e 73 3b 0a 0a 7d 20 | 78 33 38 36 49 6e 66 6f |ons;..} |x386Info|
|00004c90| 52 65 63 2c 20 2a 78 33 | 38 36 49 6e 66 6f 50 74 |Rec, *x3|86InfoPt|
|00004ca0| 72 3b 0a 0a 78 33 38 36 | 49 6e 66 6f 52 65 63 20 |r;..x386|InfoRec |
|00004cb0| 78 33 38 36 49 6e 66 6f | 3b 0a 0a 23 64 65 66 69 |x386Info|;..#defi|
|00004cc0| 6e 65 20 50 5f 4d 53 20 | 20 20 20 30 20 20 20 20 |ne P_MS | 0 |
|00004cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004ce0| 20 2f 2a 20 4d 69 63 72 | 6f 73 6f 66 74 20 2a 2f | /* Micr|osoft */|
|00004cf0| 0a 23 64 65 66 69 6e 65 | 20 50 5f 4d 53 43 20 20 |.#define| P_MSC |
|00004d00| 20 31 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | 1 | |
|00004d10| 20 20 20 20 20 20 20 2f | 2a 20 4d 6f 75 73 65 20 | /|* Mouse |
|00004d20| 53 79 73 74 65 6d 73 20 | 43 6f 72 70 20 2a 2f 0a |Systems |Corp */.|
|00004d30| 23 64 65 66 69 6e 65 20 | 50 5f 4d 4d 20 20 20 20 |#define |P_MM |
|00004d40| 32 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |2 | |
|00004d50| 20 20 20 20 20 20 2f 2a | 20 4d 4d 73 65 72 69 65 | /*| MMserie|
|00004d60| 73 20 2a 2f 0a 23 64 65 | 66 69 6e 65 20 50 5f 4c |s */.#de|fine P_L|
|00004d70| 4f 47 49 20 20 33 20 20 | 20 20 20 20 20 20 20 20 |OGI 3 | |
|00004d80| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 4c 6f | | /* Lo|
|00004d90| 67 69 74 65 63 68 20 2a | 2f 0a 23 64 65 66 69 6e |gitech *|/.#defin|
|00004da0| 65 20 50 5f 42 4d 20 20 | 20 20 34 20 20 20 20 20 |e P_BM | 4 |
|00004db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004dc0| 2f 2a 20 42 75 73 4d 6f | 75 73 65 20 3f 3f 3f 20 |/* BusMo|use ??? |
|00004dd0| 2a 2f 0a 0a 23 64 65 66 | 69 6e 65 20 53 75 63 63 |*/..#def|ine Succ|
|00004de0| 65 73 73 09 30 0a 23 64 | 65 66 69 6e 65 20 54 52 |ess.0.#d|efine TR|
|00004df0| 55 45 09 31 0a 23 64 65 | 66 69 6e 65 20 46 41 4c |UE.1.#de|fine FAL|
|00004e00| 53 45 09 30 0a 00 00 00 | 00 00 00 00 00 00 00 00 |SE.0....|........|
|00004e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 6d 6f 75 73 65 2f 6d 6f | 75 73 65 2e 6f 00 00 00 |mouse/mo|use.o...|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 20 20 20 36 | 30 30 20 00 20 20 20 20 |.... 6|00 . |
|00005070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00005080| 20 20 20 37 37 30 37 20 | 20 35 33 36 31 37 33 34 | 7707 | 5361734|
|00005090| 31 34 37 20 20 31 31 35 | 33 31 00 20 30 00 00 00 |147 115|31. 0...|
|000050a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00005110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005120| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00005130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 07 01 64 00 6c 08 00 00 | 30 00 00 00 08 00 00 00 |..d.l...|0.......|
|00005210| 44 01 00 00 00 00 00 00 | b8 04 00 00 00 00 00 00 |D.......|........|
|00005220| 25 73 0a 00 ff 74 24 04 | 68 00 00 00 00 68 00 00 |%s...t$.|h....h..|
|00005230| 00 00 e8 e9 ff ff ff 83 | c4 0c c3 62 75 74 74 6f |........|...butto|
|00005240| 6e 3a 20 25 64 2c 20 64 | 78 3a 20 25 64 2c 20 64 |n: %d, d|x: %d, d|
|00005250| 79 3a 20 25 64 0a 00 00 | ff 74 24 0c ff 74 24 0c |y: %d...|.t$..t$.|
|00005260| ff 74 24 0c 68 1b 00 00 | 00 68 00 00 00 00 e8 ad |.t$.h...|.h......|
|00005270| ff ff ff 83 c4 14 c3 2a | 71 00 2a 70 00 2a 6f 00 |.......*|q.*p.*o.|
|00005280| 2a 6e 00 00 83 ec 14 57 | 56 53 8b 74 24 24 8b 7c |*n.....W|VS.t$$.||
|00005290| 24 28 66 8b 5c 24 2c 8d | 44 24 0c 50 68 05 54 00 |$(f.\$,.|D$.Ph.T.|
|000052a0| 00 ff 35 00 00 00 00 e8 | 74 ff ff ff 83 c4 0c 66 |..5.....|t......f|
|000052b0| c7 44 24 0c 05 00 66 c7 | 44 24 0e 00 00 66 c7 44 |.D$...f.|D$...f.D|
|000052c0| 24 12 00 00 c6 44 24 14 | 00 c6 44 24 1a 00 c6 44 |$....D$.|..D$...D|
|000052d0| 24 1b 01 81 fe 60 09 00 | 00 74 21 7e 27 81 fe c0 |$....`..|.t!~'...|
|000052e0| 12 00 00 74 0f 81 fe 80 | 25 00 00 75 17 89 da 80 |...t....|%..u....|
|000052f0| ca 0d eb 15 89 da 80 ca | 0c eb 0e 90 89 da 80 ca |........|........|
|00005300| 0b eb 06 90 89 da 80 ca | 09 66 89 54 24 10 8d 44 |........|.f.T$..D|
|00005310| 24 0c 50 68 07 54 00 00 | ff 35 00 00 00 00 e8 fd |$.Ph.T..|.5......|
|00005320| fe ff ff 83 c4 0c 81 ff | 60 09 00 00 74 2a 7e 34 |........|`...t*~4|
|00005330| 81 ff c0 12 00 00 74 14 | 81 ff 80 25 00 00 75 24 |......t.|...%..u$|
|00005340| b8 57 00 00 00 80 cb 0d | eb 22 90 90 b8 5a 00 00 |.W......|."...Z..|
|00005350| 00 80 cb 0c eb 16 90 90 | b8 5d 00 00 00 80 cb 0b |........|.]......|
|00005360| eb 0a 90 90 b8 60 00 00 | 00 80 cb 09 66 89 5c 24 |.....`..|....f.\$|
|00005370| 10 6a 02 50 ff 35 00 00 | 00 00 e8 a1 fe ff ff 83 |.j.P.5..|........|
|00005380| c4 0c 68 a0 86 01 00 e8 | 94 fe ff ff 83 c4 04 8d |..h.....|........|
|00005390| 44 24 0c 50 68 07 54 00 | 00 ff 35 00 00 00 00 e8 |D$.Ph.T.|..5.....|
|000053a0| 7c fe ff ff 83 c4 0c 5b | 5e 5f 83 c4 14 c3 43 61 ||......[|^_....Ca|
|000053b0| 6e 6e 6f 74 20 6f 70 65 | 6e 20 6d 6f 75 73 65 00 |nnot ope|n mouse.|
|000053c0| 53 00 4f 00 4a 00 4b 00 | 4c 00 52 00 4d 00 51 00 |S.O.J.K.|L.R.M.Q.|
|000053d0| 4e 00 55 00 8b 44 24 04 | 83 f8 01 0f 84 cf 01 00 |N.U..D$.|........|
|000053e0| 00 0f 8e 10 02 00 00 83 | f8 02 74 10 83 f8 03 0f |........|..t.....|
|000053f0| 84 bb 01 00 00 e9 fd 01 | 00 00 90 90 68 02 08 00 |........|....h...|
|00005400| 00 ff 35 04 00 00 00 e8 | 14 fe ff ff 83 c4 08 a3 |..5.....|........|
|00005410| 00 00 00 00 85 c0 7d 14 | 68 8e 01 00 00 e8 02 fe |......}.|h.......|
|00005420| ff ff 83 c4 04 b8 01 00 | 00 00 c3 90 83 3d 08 00 |........|.....=..|
|00005430| 00 00 04 0f 84 60 01 00 | 00 a1 08 00 00 00 0f b7 |.....`..|........|
|00005440| 04 45 6c 08 00 00 50 ff | 35 0c 00 00 00 68 80 25 |.El...P.|5....h.%|
|00005450| 00 00 e8 2d fe ff ff 83 | c4 0c a1 08 00 00 00 0f |...-....|........|
|00005460| b7 04 45 6c 08 00 00 50 | ff 35 0c 00 00 00 68 c0 |..El...P|.5....h.|
|00005470| 12 00 00 e8 0c fe ff ff | 83 c4 0c a1 08 00 00 00 |........|........|
|00005480| 0f b7 04 45 6c 08 00 00 | 50 ff 35 0c 00 00 00 68 |...El...|P.5....h|
|00005490| 60 09 00 00 e8 eb fd ff | ff 83 c4 0c a1 08 00 00 |`.......|........|
|000054a0| 00 0f b7 04 45 6c 08 00 | 00 50 ff 35 0c 00 00 00 |....El..|.P.5....|
|000054b0| 68 b0 04 00 00 e8 ca fd | ff ff 83 c4 0c 83 3d 08 |h.......|......=.|
|000054c0| 00 00 00 03 75 31 6a 01 | 68 a0 01 00 00 ff 35 00 |....u1j.|h.....5.|
|000054d0| 00 00 00 e8 48 fd ff ff | 83 c4 0c 0f b7 05 70 08 |....H...|......p.|
|000054e0| 00 00 50 ff 35 0c 00 00 | 00 ff 35 0c 00 00 00 e8 |..P.5...|..5.....|
|000054f0| 90 fd ff ff 83 c4 0c 83 | 3d 10 00 00 00 00 7f 0c |........|=.......|
|00005500| 6a 01 68 a2 01 00 00 e9 | 7f 00 00 00 83 3d 10 00 |j.h.....|.....=..|
|00005510| 00 00 0f 7f 0b 6a 01 68 | a4 01 00 00 eb 6d 90 90 |.....j.h|.....m..|
|00005520| 83 3d 10 00 00 00 1b 7f | 0b 6a 01 68 a6 01 00 00 |.=......|.j.h....|
|00005530| eb 59 90 90 83 3d 10 00 | 00 00 2a 7f 0b 6a 01 68 |.Y...=..|..*..j.h|
|00005540| a8 01 00 00 eb 45 90 90 | 83 3d 10 00 00 00 3c 7f |.....E..|.=....<.|
|00005550| 0b 6a 01 68 aa 01 00 00 | eb 31 90 90 83 3d 10 00 |.j.h....|.1...=..|
|00005560| 00 00 55 7f 0b 6a 01 68 | ac 01 00 00 eb 1d 90 90 |..U..j.h|........|
|00005570| 83 3d 10 00 00 00 7d 7f | 0b 6a 01 68 ae 01 00 00 |.=....}.|.j.h....|
|00005580| eb 09 90 90 6a 01 68 b0 | 01 00 00 ff 35 00 00 00 |....j.h.|....5...|
|00005590| 00 e8 8a fc ff ff 83 c4 | 0c c7 05 14 00 00 00 00 |........|........|
|000055a0| 00 00 00 c7 05 24 00 00 | 00 00 00 00 00 eb 48 90 |.....$..|......H.|
|000055b0| 83 3d 08 00 00 00 03 75 | 30 6a 01 68 b2 01 00 00 |.=.....u|0j.h....|
|000055c0| ff 35 00 00 00 00 e8 55 | fc ff ff 83 c4 0c 0f b7 |.5.....U|........|
|000055d0| 05 72 08 00 00 50 68 b0 | 04 00 00 ff 35 0c 00 00 |.r...Ph.|....5...|
|000055e0| 00 e8 9e fc ff ff 83 c4 | 0c ff 35 00 00 00 00 e8 |........|..5.....|
|000055f0| 2c fc ff ff 83 c4 04 31 | c0 c3 00 00 83 ec 48 55 |,......1|......HU|
|00005600| 57 56 53 6a 40 8d 44 24 | 1c 50 ff 35 00 00 00 00 |WVSj@.D$|.P.5....|
|00005610| e8 0b fc ff ff 83 c4 0c | 89 44 24 14 83 7c 24 14 |........|.D$..|$.|
|00005620| 00 0f 84 1a 02 00 00 31 | f6 39 74 24 14 0f 8e 0e |.......1|.9t$....|
|00005630| 02 00 00 90 83 3d 78 08 | 00 00 00 74 34 a1 08 00 |.....=x.|...t4...|
|00005640| 00 00 8d 04 80 8a 54 34 | 18 22 90 7e 08 00 00 38 |......T4|.".~...8|
|00005650| 90 7f 08 00 00 75 07 80 | 7c 34 18 80 75 0a c7 05 |.....u..||4..u...|
|00005660| 78 08 00 00 00 00 00 00 | 83 3d 78 08 00 00 00 75 |x.......|.=x....u|
|00005670| 67 8b 0d 08 00 00 00 89 | 4c 24 10 8d 04 89 8a 54 |g.......|L$.....T|
|00005680| 34 18 22 90 7c 08 00 00 | 38 90 7d 08 00 00 74 48 |4.".|...|8.}...tH|
|00005690| 83 7c 24 10 00 0f 85 9b | 01 00 00 80 7c 34 18 20 |.|$.....|....|4. |
|000056a0| 74 0b 80 7c 34 18 00 0f | 85 89 01 00 00 8a 44 34 |t..|4...|......D4|
|000056b0| 18 24 20 c0 e8 04 0f b6 | d0 a1 14 00 00 00 83 e0 |.$ .....|........|
|000056c0| 05 89 d5 09 c5 6a 00 6a | 00 55 e8 89 fb ff ff 83 |.....j.j|.U......|
|000056d0| c4 0c e9 5f 01 00 00 90 | a1 78 08 00 00 8a 4c 34 |..._....|.x....L4|
|000056e0| 18 88 88 9c 08 00 00 ff | 05 78 08 00 00 8b 15 08 |........|.x......|
|000056f0| 00 00 00 8d 04 92 0f b6 | 80 80 08 00 00 39 05 78 |........|.....9.x|
|00005700| 08 00 00 0f 85 2d 01 00 | 00 b8 04 00 00 00 39 05 |.....-..|......9.|
|00005710| 08 00 00 00 0f 87 07 01 | 00 00 ff 24 95 04 05 00 |........|...$....|
|00005720| 00 90 90 90 18 05 00 00 | 7c 05 00 00 b0 05 00 00 |........||.......|
|00005730| b0 05 00 00 e4 05 00 00 | 8b 15 14 00 00 00 83 e2 |........|........|
|00005740| 02 8a 05 9c 08 00 00 24 | 20 c0 e8 03 25 ff 00 00 |.......$| ...%...|
|00005750| 00 09 c2 8a 05 9c 08 00 | 00 24 10 c0 e8 04 25 ff |........|.$....%.|
|00005760| 00 00 00 89 d5 09 c5 8a | 05 9c 08 00 00 c0 e0 06 |........|........|
|00005770| 8a 15 9d 08 00 00 80 e2 | 3f 08 d0 0f be f8 8a 05 |........|?.......|
|00005780| 9c 08 00 00 24 0c c0 e0 | 04 8a 15 9e 08 00 00 80 |....$...|........|
|00005790| e2 3f 08 d0 0f be d8 e9 | 85 00 00 00 8a 05 9c 08 |.?......|........|
|000057a0| 00 00 f7 d0 89 c5 83 e5 | 07 0f be 15 9d 08 00 00 |........|........|
|000057b0| 0f be 05 9f 08 00 00 8d | 3c 10 0f be 15 9e 08 00 |........|<.......|
|000057c0| 00 0f be 05 a0 08 00 00 | 8d 1c 10 eb 52 90 90 90 |........|....R...|
|000057d0| 8a 0d 9c 08 00 00 83 e1 | 07 89 cd 0f b6 3d 9d 08 |........|.....=..|
|000057e0| 00 00 8a 05 9c 08 00 00 | 24 10 75 02 f7 df 0f b6 |........|$.u.....|
|000057f0| 1d 9e 08 00 00 8a 05 9c | 08 00 00 24 08 74 22 eb |........|...$.t".|
|00005800| 1e 90 90 90 8a 05 9c 08 | 00 00 f7 d0 89 c5 83 e5 |........|........|
|00005810| 07 0f be 3d 9d 08 00 00 | 0f be 1d 9e 08 00 00 f7 |...=....|........|
|00005820| db 53 57 55 e8 2f fa ff | ff 83 c4 0c c7 05 78 08 |.SWU./..|......x.|
|00005830| 00 00 00 00 00 00 46 39 | 74 24 14 0f 8f f3 fd ff |......F9|t$......|
|00005840| ff 5b 5e 5f 5d 83 c4 48 | c3 00 00 00 8b 44 24 04 |.[^_]..H|.....D$.|
|00005850| 8b 54 24 08 89 15 08 00 | 00 00 a3 04 00 00 00 c7 |.T$.....|........|
|00005860| 05 10 00 00 00 96 00 00 | 00 c7 05 28 00 00 00 00 |........|...(....|
|00005870| 00 00 00 c3 c7 05 98 08 | 00 00 01 00 00 00 c3 55 |........|.......U|
|00005880| 73 61 67 65 3a 20 25 73 | 20 5b 4d 69 63 72 6f 73 |sage: %s| [Micros|
|00005890| 6f 66 74 7c 4d 6f 75 73 | 65 53 79 73 74 65 6d 7c |oft|Mous|eSystem||
|000058a0| 4d 4d 73 65 72 69 65 73 | 7c 4c 6f 67 69 74 65 63 |MMseries||Logitec|
|000058b0| 68 5d 20 64 65 76 69 63 | 65 0a 00 4d 69 63 72 6f |h] devic|e..Micro|
|000058c0| 73 6f 66 74 00 4d 6f 75 | 73 65 53 79 73 74 65 6d |soft.Mou|seSystem|
|000058d0| 00 4d 4d 73 65 72 69 65 | 73 00 4c 6f 67 69 74 65 |.MMserie|s.Logite|
|000058e0| 63 68 00 59 6f 75 20 61 | 72 65 20 74 65 73 74 69 |ch.You a|re testi|
|000058f0| 6e 67 20 25 73 20 6f 6e | 20 25 73 2e 0a 00 50 6c |ng %s on| %s...Pl|
|00005900| 61 79 20 77 69 74 68 20 | 74 68 65 20 6d 6f 75 73 |ay with |the mous|
|00005910| 65 20 2d 20 68 69 74 20 | 63 74 72 6c 2d 63 20 74 |e - hit |ctrl-c t|
|00005920| 6f 20 73 74 6f 70 0a 00 | 66 69 6e 69 73 68 65 64 |o stop..|finished|
|00005930| 2e 0a 00 00 55 57 56 53 | 8b 5c 24 14 8b 7c 24 18 |....UWVS|.\$..|$.|
|00005940| e8 db f8 ff ff 31 f6 83 | fb 03 74 1c ff 37 68 5f |.....1..|..t..7h_|
|00005950| 06 00 00 68 00 00 00 00 | e8 c3 f8 ff ff 83 c4 0c |...h....|........|
|00005960| 6a 01 e8 b9 f8 ff ff 90 | 68 9b 06 00 00 ff 77 04 |j.......|h.....w.|
|00005970| e8 ab f8 ff ff 83 c4 08 | 68 a5 06 00 00 ff 77 04 |........|h.....w.|
|00005980| e8 9b f8 ff ff 83 c4 08 | 85 c0 75 05 be 01 00 00 |........|..u.....|
|00005990| 00 68 b1 06 00 00 ff 77 | 04 e8 82 f8 ff ff 83 c4 |.h.....w|........|
|000059a0| 08 85 c0 75 05 be 02 00 | 00 00 68 ba 06 00 00 ff |...u....|..h.....|
|000059b0| 77 04 e8 69 f8 ff ff 83 | c4 08 85 c0 75 05 be 03 |w..i....|....u...|
|000059c0| 00 00 00 8b 5f 08 83 fe | 01 74 1d 7f 07 85 f6 74 |...._...|.t.....t|
|000059d0| 0f eb 2a 90 83 fe 02 74 | 17 83 fe 03 74 1a eb 1d |..*....t|....t...|
|000059e0| bd 9b 06 00 00 eb 16 90 | bd a5 06 00 00 eb 0e 90 |........|........|
|000059f0| bd b1 06 00 00 eb 06 90 | bd ba 06 00 00 53 55 68 |........|.....SUh|
|00005a00| c3 06 00 00 68 00 00 00 | 00 e8 12 f8 ff ff 83 c4 |....h...|........|
|00005a10| 10 56 53 e8 34 fe ff ff | 83 c4 08 6a 00 e8 b2 f9 |.VS.4...|...j....|
|00005a20| ff ff 83 c4 04 6a 02 e8 | a8 f9 ff ff 83 c4 04 68 |.....j..|.......h|
|00005a30| 54 06 00 00 6a 02 e8 e5 | f7 ff ff 83 c4 08 68 de |T...j...|......h.|
|00005a40| 06 00 00 68 00 00 00 00 | e8 d3 f7 ff ff 83 c4 08 |...h....|........|
|00005a50| 83 3d 98 08 00 00 00 75 | 11 90 90 90 e8 9b fb ff |.=.....u|........|
|00005a60| ff 83 3d 98 08 00 00 00 | 74 f2 6a 01 e8 63 f9 ff |..=.....|t.j..c..|
|00005a70| ff 83 c4 04 68 08 07 00 | 00 68 00 00 00 00 e8 9d |....h...|.h......|
|00005a80| f7 ff ff 83 c4 08 5b 5e | 5f 5d c3 00 a0 0c f0 0c |......[^|_]......|
|00005a90| b0 0f f0 0c 00 00 00 00 | 00 00 00 00 40 40 40 00 |........|....@@@.|
|00005aa0| 03 f8 80 00 00 05 e0 80 | 80 00 03 e0 80 80 00 03 |........|........|
|00005ab0| f8 80 00 00 05 00 00 00 | 00 00 00 00 5f 08 00 00 |........|...._...|
|00005ac0| 03 00 00 0d 5a 08 00 00 | 02 00 00 0c 55 08 00 00 |....Z...|....U...|
|00005ad0| 04 00 00 04 43 08 00 00 | 06 00 00 04 32 08 00 00 |....C...|....2...|
|00005ae0| 06 00 00 04 29 08 00 00 | 03 00 00 0d 24 08 00 00 |....)...|....$...|
|00005af0| 02 00 00 0c 1f 08 00 00 | 04 00 00 04 17 08 00 00 |........|........|
|00005b00| 1a 00 00 0d 10 08 00 00 | 04 00 00 04 ea 07 00 00 |........|........|
|00005b10| 03 00 00 0d e5 07 00 00 | 02 00 00 0c e0 07 00 00 |........|........|
|00005b20| 04 00 00 04 d9 07 00 00 | 04 00 00 04 d1 07 00 00 |........|........|
|00005b30| 04 00 00 04 c9 07 00 00 | 04 00 00 04 c1 07 00 00 |........|........|
|00005b40| 04 00 00 04 93 07 00 00 | 19 00 00 0d 8b 07 00 00 |........|........|
|00005b50| 04 00 00 04 7a 07 00 00 | 19 00 00 0d 72 07 00 00 |....z...|....r...|
|00005b60| 04 00 00 04 61 07 00 00 | 19 00 00 0d 59 07 00 00 |....a...|....Y...|
|00005b70| 04 00 00 04 51 07 00 00 | 19 00 00 0d 49 07 00 00 |....Q...|....I...|
|00005b80| 04 00 00 04 43 07 00 00 | 18 00 00 0d 39 07 00 00 |....C...|....9...|
|00005b90| 03 00 00 0d 34 07 00 00 | 02 00 00 0c 2f 07 00 00 |....4...|..../...|
|00005ba0| 04 00 00 04 21 07 00 00 | 17 00 00 0d 56 06 00 00 |....!...|....V...|
|00005bb0| 06 00 00 04 4b 06 00 00 | 06 00 00 0c 41 06 00 00 |....K...|....A...|
|00005bc0| 06 00 00 0c 3b 06 00 00 | 06 00 00 0c 36 06 00 00 |....;...|....6...|
|00005bd0| 06 00 00 0c 0e 06 00 00 | 06 00 00 04 fb 05 00 00 |........|........|
|00005be0| 08 00 00 04 f4 05 00 00 | 08 00 00 04 e6 05 00 00 |........|........|
|00005bf0| 08 00 00 04 d7 05 00 00 | 08 00 00 04 d1 05 00 00 |........|........|
|00005c00| 08 00 00 04 c4 05 00 00 | 08 00 00 04 be 05 00 00 |........|........|
|00005c10| 08 00 00 04 b2 05 00 00 | 08 00 00 04 a4 05 00 00 |........|........|
|00005c20| 08 00 00 04 9d 05 00 00 | 08 00 00 04 93 05 00 00 |........|........|
|00005c30| 08 00 00 04 8c 05 00 00 | 08 00 00 04 7e 05 00 00 |........|....~...|
|00005c40| 08 00 00 04 6b 05 00 00 | 08 00 00 04 60 05 00 00 |....k...|....`...|
|00005c50| 08 00 00 04 52 05 00 00 | 08 00 00 04 49 05 00 00 |....R...|....I...|
|00005c60| 08 00 00 04 35 05 00 00 | 08 00 00 04 23 05 00 00 |....5...|....#...|
|00005c70| 08 00 00 04 1a 05 00 00 | 06 00 00 0c 14 05 00 00 |........|........|
|00005c80| 04 00 00 04 10 05 00 00 | 04 00 00 04 0c 05 00 00 |........|........|
|00005c90| 04 00 00 04 08 05 00 00 | 04 00 00 04 04 05 00 00 |........|........|
|00005ca0| 04 00 00 04 fd 04 00 00 | 04 00 00 04 f0 04 00 00 |........|........|
|00005cb0| 06 00 00 0c df 04 00 00 | 06 00 00 04 d9 04 00 00 |........|........|
|00005cc0| 06 00 00 04 cf 04 00 00 | 06 00 00 0c c9 04 00 00 |........|........|
|00005cd0| 06 00 00 04 c3 04 00 00 | 08 00 00 04 b9 04 00 00 |........|........|
|00005ce0| 06 00 00 04 9a 04 00 00 | 06 00 00 0c 6a 04 00 00 |........|....j...|
|00005cf0| 06 00 00 04 64 04 00 00 | 06 00 00 04 53 04 00 00 |....d...|....S...|
|00005d00| 06 00 00 0c 4a 04 00 00 | 06 00 00 04 40 04 00 00 |....J...|....@...|
|00005d10| 06 00 00 04 31 04 00 00 | 06 00 00 04 2b 04 00 00 |....1...|....+...|
|00005d20| 06 00 00 04 1e 04 00 00 | 06 00 00 0c 16 04 00 00 |........|........|
|00005d30| 06 00 00 04 f1 03 00 00 | 12 00 00 0d ec 03 00 00 |........|........|
|00005d40| 06 00 00 0c d0 03 00 00 | 0d 00 00 0d cb 03 00 00 |........|........|
|00005d50| 06 00 00 0c bd 03 00 00 | 06 00 00 0c b1 03 00 00 |........|........|
|00005d60| 06 00 00 04 a7 03 00 00 | 08 00 00 0d a2 03 00 00 |........|........|
|00005d70| 06 00 00 0c 9c 03 00 00 | 04 00 00 04 92 03 00 00 |........|........|
|00005d80| 06 00 00 0c 85 03 00 00 | 06 00 00 0c 7b 03 00 00 |........|....{...|
|00005d90| 06 00 00 0c 72 03 00 00 | 08 00 00 0d 6d 03 00 00 |....r...|....m...|
|00005da0| 06 00 00 0c 67 03 00 00 | 04 00 00 04 5c 03 00 00 |....g...|....\...|
|00005db0| 04 00 00 04 52 03 00 00 | 06 00 00 0c 48 03 00 00 |....R...|....H...|
|00005dc0| 04 00 00 04 3e 03 00 00 | 06 00 00 0c 34 03 00 00 |....>...|....4...|
|00005dd0| 04 00 00 04 2a 03 00 00 | 06 00 00 0c 20 03 00 00 |....*...|.... ...|
|00005de0| 04 00 00 04 16 03 00 00 | 06 00 00 0c 0c 03 00 00 |........|........|
|00005df0| 04 00 00 04 02 03 00 00 | 06 00 00 0c f8 02 00 00 |........|........|
|00005e00| 04 00 00 04 ee 02 00 00 | 06 00 00 0c e3 02 00 00 |........|........|
|00005e10| 04 00 00 04 d9 02 00 00 | 06 00 00 0c cb 02 00 00 |........|........|
|00005e20| 06 00 00 0c c5 02 00 00 | 06 00 00 0c be 02 00 00 |........|........|
|00005e30| 06 00 00 04 b4 02 00 00 | 08 00 00 0d af 02 00 00 |........|........|
|00005e40| 06 00 00 0c a9 02 00 00 | 04 00 00 04 9f 02 00 00 |........|........|
|00005e50| 06 00 00 0c 8c 02 00 00 | 06 00 00 0c 85 02 00 00 |........|........|
|00005e60| 06 00 00 04 7d 02 00 00 | 06 00 00 0c 6b 02 00 00 |....}...|....k...|
|00005e70| 06 00 00 0c 64 02 00 00 | 06 00 00 04 5c 02 00 00 |....d...|....\...|
|00005e80| 06 00 00 0c 4a 02 00 00 | 06 00 00 0c 43 02 00 00 |....J...|....C...|
|00005e90| 06 00 00 04 3b 02 00 00 | 06 00 00 0c 29 02 00 00 |....;...|....)...|
|00005ea0| 06 00 00 0c 22 02 00 00 | 06 00 00 04 1a 02 00 00 |...."...|........|
|00005eb0| 06 00 00 0c 0e 02 00 00 | 06 00 00 0c f9 01 00 00 |........|........|
|00005ec0| 04 00 00 04 f0 01 00 00 | 06 00 00 0c e8 01 00 00 |........|........|
|00005ed0| 0c 00 00 0d e3 01 00 00 | 06 00 00 0c 80 01 00 00 |........|........|
|00005ee0| 07 00 00 0d 7b 01 00 00 | 06 00 00 0c 68 01 00 00 |....{...|....h...|
|00005ef0| 09 00 00 0d 5b 01 00 00 | 08 00 00 0d 56 01 00 00 |....[...|....V...|
|00005f00| 06 00 00 0c 45 01 00 00 | 04 00 00 04 39 01 00 00 |....E...|....9...|
|00005f10| 04 00 00 04 2d 01 00 00 | 04 00 00 04 21 01 00 00 |....-...|....!...|
|00005f20| 04 00 00 04 ff 00 00 00 | 07 00 00 0d fa 00 00 00 |........|........|
|00005f30| 06 00 00 0c 88 00 00 00 | 07 00 00 0d 83 00 00 00 |........|........|
|00005f40| 06 00 00 0c 4f 00 00 00 | 03 00 00 0d 4a 00 00 00 |....O...|....J...|
|00005f50| 02 00 00 0c 45 00 00 00 | 04 00 00 04 13 00 00 00 |....E...|........|
|00005f60| 03 00 00 0d 0e 00 00 00 | 02 00 00 0c 09 00 00 00 |........|........|
|00005f70| 04 00 00 04 04 00 00 00 | 04 00 00 00 00 00 00 00 |........|........|
|00005f80| 13 00 00 00 04 00 00 00 | 04 00 00 00 1a 00 00 00 |........|........|
|00005f90| 01 00 00 00 00 00 00 00 | 2b 00 00 00 01 00 00 00 |........|+.......|
|00005fa0| 00 00 00 00 34 00 00 00 | 04 00 00 00 38 00 00 00 |....4...|....8...|
|00005fb0| 46 00 00 00 04 00 00 00 | 64 00 00 00 54 00 00 00 |F.......|d...T...|
|00005fc0| 01 00 00 00 2c 00 00 00 | 5e 00 00 00 01 00 00 00 |....,...|^.......|
|00005fd0| 00 00 00 00 65 00 00 00 | 01 00 00 00 00 00 00 00 |....e...|........|
|00005fe0| 6c 00 00 00 01 00 00 00 | 00 00 00 00 74 00 00 00 |l.......|....t...|
|00005ff0| 06 00 00 00 6c 08 00 00 | 7e 00 00 00 05 00 00 00 |....l...|~.......|
|00006000| b4 01 00 00 8b 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|00006010| 91 00 00 00 01 00 00 00 | 00 00 00 00 98 00 00 00 |........|........|
|00006020| 06 00 00 00 78 08 00 00 | a2 00 00 00 08 00 00 00 |....x...|........|
|00006030| 9c 08 00 00 ab 00 00 00 | 06 00 00 00 7c 08 00 00 |........|....|...|
|00006040| b5 00 00 00 05 00 00 00 | dc 03 00 00 c4 00 00 00 |........|........|
|00006050| 01 00 00 00 00 00 00 00 | ca 00 00 00 05 00 00 00 |........|........|
|00006060| 2c 06 00 00 d9 00 00 00 | 07 00 00 00 98 08 00 00 |,.......|........|
|00006070| df 00 00 00 05 00 00 00 | 54 06 00 00 e7 00 00 00 |........|T.......|
|00006080| 05 00 00 00 14 07 00 00 | ed 00 00 00 01 00 00 00 |........|........|
|00006090| 00 00 00 00 f5 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|000060a0| fb 00 00 00 01 00 00 00 | 00 00 00 00 07 01 00 00 |........|........|
|000060b0| 01 00 00 00 00 00 00 00 | 0f 01 00 00 67 63 63 32 |........|....gcc2|
|000060c0| 5f 63 6f 6d 70 69 6c 65 | 64 2e 00 5f 45 72 72 6f |_compile|d.._Erro|
|000060d0| 72 00 5f 5f 5f 73 74 64 | 5f 66 69 6c 65 62 75 66 |r.___std|_filebuf|
|000060e0| 5f 32 00 5f 66 70 72 69 | 6e 74 66 00 5f 78 33 38 |_2._fpri|ntf._x38|
|000060f0| 36 50 6f 73 74 4d 73 65 | 45 76 65 6e 74 00 5f 78 |6PostMse|Event._x|
|00006100| 33 38 36 53 65 74 53 70 | 65 65 64 00 5f 78 33 38 |386SetSp|eed._x38|
|00006110| 36 49 6e 66 6f 00 5f 69 | 6f 63 74 6c 00 5f 77 72 |6Info._i|octl._wr|
|00006120| 69 74 65 00 5f 75 73 6c | 65 65 70 00 5f 63 66 6c |ite._usl|eep._cfl|
|00006130| 61 67 2e 32 30 00 5f 78 | 33 38 36 4d 73 65 50 72 |ag.20._x|386MsePr|
|00006140| 6f 63 00 5f 6f 70 65 6e | 00 5f 63 6c 6f 73 65 00 |oc._open|._close.|
|00006150| 5f 70 42 75 66 50 2e 32 | 33 00 5f 70 42 75 66 2e |_pBufP.2|3._pBuf.|
|00006160| 32 34 00 5f 70 72 6f 74 | 6f 2e 32 35 00 5f 78 33 |24._prot|o.25._x3|
|00006170| 38 36 4d 73 65 45 76 65 | 6e 74 73 00 5f 72 65 61 |86MseEve|nts._rea|
|00006180| 64 00 5f 78 33 38 36 4d | 73 65 43 6f 6e 66 69 67 |d._x386M|seConfig|
|00006190| 00 5f 73 74 6f 70 00 5f | 73 74 6f 70 69 74 00 5f |._stop._|stopit._|
|000061a0| 6d 61 69 6e 00 5f 5f 5f | 6d 61 69 6e 00 5f 65 78 |main.___|main._ex|
|000061b0| 69 74 00 5f 73 74 72 63 | 61 73 65 63 6d 70 00 5f |it._strc|asecmp._|
|000061c0| 73 69 67 6e 61 6c 00 00 | 00 00 00 00 00 00 00 00 |signal..|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 6d 6f 75 73 65 2f 6d 6f | 75 73 65 00 00 00 00 00 |mouse/mo|use.....|
|00006210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006260| 00 00 00 00 20 20 20 37 | 30 30 20 00 20 20 20 20 |.... 7|00 . |
|00006270| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00006280| 20 20 34 35 33 30 33 20 | 20 35 33 36 31 37 33 34 | 45303 | 5361734|
|00006290| 31 35 30 20 20 31 31 33 | 30 31 00 20 30 00 00 00 |150 113|01. 0...|
|000062a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.