home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
You can browse this item here: 3b1tools.tar
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| tar archive
| default
| |
99%
| file
| tar archive (V7), file 3b1tools/, mode 755 , uid 243 , gid 12 , size 0 , seconds 4404111137
| default
| |
98%
| file
| data
| 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
| Pre-POSIX tar archive
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 33 62 31 74 6f 6f 6c 73 | 2f 00 00 00 00 00 00 00 |3b1tools|/.......|
|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 | 35 35 20 00 20 20 20 32 |.... 7|55 . 2|
|00000070| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 34 34 30 34 31 31 31 | 0 | 4404111|
|00000090| 31 33 37 20 20 20 35 34 | 35 35 00 20 00 00 00 00 |137 54|55. ....|
|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 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 00 00 00 00 00 00 00 |........|........|
|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| 33 62 31 74 6f 6f 6c 73 | 2f 53 68 61 72 46 69 6c |3b1tools|/SharFil|
|00000210| 65 2e 48 65 61 64 65 72 | 73 00 00 00 00 00 00 00 |e.Header|s.......|
|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 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00000270| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00000280| 20 20 20 32 34 33 37 20 | 20 34 34 30 34 31 31 31 | 2437 | 4404111|
|00000290| 31 34 30 20 20 31 30 35 | 33 34 00 20 00 00 00 00 |140 105|34. ....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 3d 3d 3d 20 33 62 31 74 | 6f 6f 6c 73 2e 73 68 61 |=== 3b1t|ools.sha|
|00000410| 72 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |r ======|========|
|00000420| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 46 72 6f 6d |========|===.From|
|00000430| 20 72 69 61 63 73 21 65 | 6f 73 21 6c 61 62 72 65 | riacs!e|os!labre|
|00000440| 61 21 72 75 74 67 65 72 | 73 21 75 6b 6d 61 21 63 |a!rutger|s!ukma!c|
|00000450| 77 6a 63 63 21 68 61 6c | 21 6e 63 6f 61 73 74 21 |wjcc!hal|!ncoast!|
|00000460| 61 6c 6c 62 65 72 79 20 | 4d 6f 6e 20 4e 6f 76 20 |allbery |Mon Nov |
|00000470| 20 37 20 30 38 3a 32 30 | 3a 32 30 20 50 53 54 20 | 7 08:20|:20 PST |
|00000480| 31 39 38 38 0a 0a 50 6f | 73 74 69 6e 67 2d 6e 75 |1988..Po|sting-nu|
|00000490| 6d 62 65 72 3a 20 56 6f | 6c 75 6d 65 20 35 2c 20 |mber: Vo|lume 5, |
|000004a0| 49 73 73 75 65 20 33 33 | 0a 53 75 62 6d 69 74 74 |Issue 33|.Submitt|
|000004b0| 65 64 2d 62 79 3a 20 22 | 4d 75 68 61 6d 6d 61 64 |ed-by: "|Muhammad|
|000004c0| 20 53 2e 20 42 65 6e 74 | 65 6e 22 20 3c 62 65 6e | S. Bent|en" <ben|
|000004d0| 74 65 6e 40 74 69 67 67 | 65 72 2e 55 55 43 50 3e |ten@tigg|er.UUCP>|
|000004e0| 0a 41 72 63 68 69 76 65 | 2d 6e 61 6d 65 3a 20 33 |.Archive|-name: 3|
|000004f0| 62 31 74 6f 6f 6c 73 0a | 0a 5b 41 73 69 64 65 20 |b1tools.|.[Aside |
|00000500| 66 72 6f 6d 20 73 6f 6d | 65 20 77 69 73 68 66 75 |from som|e wishfu|
|00000510| 6c 20 74 68 69 6e 6b 69 | 6e 67 20 77 72 74 2e 20 |l thinki|ng wrt. |
|00000520| 70 72 6f 63 65 73 73 20 | 73 74 6f 70 70 69 6e 67 |process |stopping|
|00000530| 20 76 69 61 20 70 74 72 | 61 63 65 20 28 42 53 44 | via ptr|ace (BSD|
|00000540| 2c 0a 61 6e 79 6f 6e 65 | 3f 20 3b 2d 29 20 69 74 |,.anyone|? ;-) it|
|00000550| 20 61 6c 6d 6f 73 74 20 | 6d 61 6b 65 73 20 6d 65 | almost |makes me|
|00000560| 20 77 69 73 68 20 49 20 | 68 61 64 6e 27 74 20 73 | wish I |hadn't s|
|00000570| 6f 6c 64 20 74 68 65 20 | 33 42 31 2e 2e 2e 2e 20 |old the |3B1.... |
|00000580| 20 2b 2b 62 73 61 5d 0a | 0a 20 20 20 20 20 20 20 | ++bsa].|. |
|00000590| 20 20 20 20 20 54 68 69 | 73 20 70 6f 73 74 69 6e | Thi|s postin|
|000005a0| 67 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 73 |g contai|ns the s|
|000005b0| 6f 75 72 63 65 73 20 66 | 6f 72 20 61 20 74 6f 6f |ources f|or a too|
|000005c0| 6c 20 66 6f 72 20 74 68 | 65 0a 41 54 26 54 20 55 |l for th|e.AT&T U|
|000005d0| 6e 69 78 2d 70 63 2e 20 | 20 49 74 20 69 73 20 63 |nix-pc. | It is c|
|000005e0| 61 6c 6c 65 64 20 22 33 | 62 31 74 6f 6f 6c 73 22 |alled "3|b1tools"|
|000005f0| 2e 20 49 74 20 77 69 6c | 6c 20 61 6c 6c 6f 77 20 |. It wil|l allow |
|00000600| 55 6e 69 78 2d 70 63 20 | 75 73 65 72 73 20 20 0a |Unix-pc |users .|
|00000610| 74 6f 20 64 6f 20 6c 65 | 73 73 21 20 74 68 61 6e |to do le|ss! than|
|00000620| 20 77 68 61 74 20 53 75 | 6e 20 75 73 65 72 73 20 | what Su|n users |
|00000630| 64 6f 20 77 69 74 68 20 | 73 75 6e 74 6f 6f 6c 73 |do with |suntools|
|00000640| 2e 20 20 20 54 68 61 6e | 6b 73 2e 0a 0a 0a 20 20 |. Than|ks.... |
|00000650| 20 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d | =======|========|
|00000660| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000670| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000680| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000690| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 20 0a 20 |========|===== . |
|000006a0| 20 20 7c 7c 20 4d 75 68 | 61 6d 6d 61 64 20 53 2e | || Muh|ammad S.|
|000006b0| 20 42 65 6e 74 65 6e 20 | 20 20 20 20 20 20 20 20 | Benten | |
|000006c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0a 20 | | |. |
|000006f0| 20 20 7c 7c 20 45 6c 65 | 63 74 2e 20 26 20 43 6f | || Ele|ct. & Co|
|00000700| 6d 70 2e 20 45 6e 67 2e | 20 44 65 70 74 2e 20 20 |mp. Eng.| Dept. |
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0a 20 | | |. |
|00000740| 20 20 7c 7c 20 55 6e 69 | 76 65 72 73 69 74 79 20 | || Uni|versity |
|00000750| 6f 66 20 43 6f 6c 6f 72 | 61 64 6f 2c 20 42 6f 75 |of Color|ado, Bou|
|00000760| 6c 64 65 72 20 20 20 20 | 20 20 20 20 20 20 20 20 |lder | |
|00000770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0a 20 | | |. |
|00000790| 20 20 7c 7c 20 20 20 20 | 20 20 20 20 20 20 20 20 | || | |
|000007a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0a 20 | | |. |
|000007e0| 20 20 7c 7c 20 65 6d 61 | 69 6c 20 20 20 2d 2d 2d | || ema|il ---|
|000007f0| 2d 3e 20 20 20 20 20 20 | 62 65 6e 74 65 6e 40 62 |-> |benten@b|
|00000800| 6f 75 6c 64 65 72 2e 43 | 6f 6c 6f 72 61 64 6f 2e |oulder.C|olorado.|
|00000810| 45 44 55 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |EDU | |
|00000820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0a 20 | | |. |
|00000830| 20 20 7c 7c 20 20 20 20 | 20 20 20 20 6f 72 20 20 | || | or |
|00000840| 20 20 20 20 20 20 2e 2e | 7b 6e 63 61 72 7c 6e 62 | ..|{ncar|nb|
|00000850| 69 72 65 73 7d 21 62 6f | 75 6c 64 65 72 21 62 65 |ires}!bo|ulder!be|
|00000860| 6e 74 65 6e 20 20 20 20 | 20 20 20 20 20 20 20 20 |nten | |
|00000870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0a 20 | | |. |
|00000880| 20 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d | ======|========|
|00000890| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000008a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000008b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000008c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 20 0a |========|====== .|
|000008d0| 0a 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|000008e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 43 75 |--------|------Cu|
|000008f0| 74 20 68 65 72 65 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |t here--|--------|
|00000900| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000910| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 00 |--------|------..|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 33 62 31 74 6f 6f 6c 73 | 2f 33 62 31 74 6f 6f 6c |3b1tools|/3b1tool|
|00000a10| 73 2e 63 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.c.....|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00000a70| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00000a80| 20 20 32 35 33 33 35 20 | 20 34 34 30 34 31 31 31 | 25335 | 4404111|
|00000a90| 31 32 30 20 20 20 37 33 | 37 34 00 20 00 00 00 00 |120 73|74. ....|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 2f 2a 20 33 62 31 74 6f | 6f 6c 73 2e 63 20 2d 20 |/* 3b1to|ols.c - |
|00000c10| 54 68 69 73 20 66 69 6c | 65 20 70 61 72 73 65 73 |This fil|e parses|
|00000c20| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 61 72 67 | the com|mand arg|
|00000c30| 75 6d 65 6e 74 20 61 6e | 64 20 70 65 72 66 6f 72 |ument an|d perfor|
|00000c40| 6d 73 0a 2a 2a 20 20 20 | 20 20 20 20 20 20 20 20 |ms.** | |
|00000c50| 20 20 20 61 6c 6c 20 22 | 77 69 6e 64 79 22 20 72 | all "|windy" r|
|00000c60| 65 6c 61 74 65 64 20 70 | 72 6f 63 65 73 73 69 6e |elated p|rocessin|
|00000c70| 67 2e 20 49 74 20 77 69 | 6c 6c 20 74 68 65 6e 20 |g. It wi|ll then |
|00000c80| 63 61 6c 6c 0a 2a 2a 20 | 20 20 20 20 20 20 20 20 |call.** | |
|00000c90| 20 20 20 20 20 74 68 65 | 20 69 63 6f 6e 20 68 61 | the| icon ha|
|00000ca0| 6e 64 6c 65 72 2e 0a 2a | 2a 0a 2a 2a 20 43 6f 70 |ndler..*|*.** Cop|
|00000cb0| 79 72 69 67 68 74 20 28 | 43 29 20 31 39 38 38 20 |yright (|C) 1988 |
|00000cc0| 62 79 20 4d 75 68 61 6d | 6d 61 64 20 53 2e 20 42 |by Muham|mad S. B|
|00000cd0| 65 6e 74 65 6e 2e 0a 2a | 2a 20 20 20 20 20 20 20 |enten..*|* |
|00000ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000cf0| 62 65 6e 74 65 6e 40 62 | 6f 75 6c 64 65 72 2e 63 |benten@b|oulder.c|
|00000d00| 6f 6c 6f 72 61 64 6f 2e | 65 64 75 0a 2a 2a 0a 2a |olorado.|edu.**.*|
|00000d10| 2a 0a 2a 2a 20 50 65 72 | 6d 69 73 73 69 6f 6e 20 |*.** Per|mission |
|00000d20| 74 6f 20 75 73 65 2c 20 | 63 6f 70 79 2c 20 6d 6f |to use, |copy, mo|
|00000d30| 64 69 66 79 2c 20 61 6e | 64 20 64 69 73 74 72 69 |dify, an|d distri|
|00000d40| 62 75 74 65 20 74 68 69 | 73 20 73 6f 66 74 77 61 |bute thi|s softwa|
|00000d50| 72 65 20 61 6e 64 20 69 | 74 73 0a 2a 2a 20 64 6f |re and i|ts.** do|
|00000d60| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00000d70| 61 6e 79 20 70 75 72 70 | 6f 73 65 20 61 6e 64 20 |any purp|ose and |
|00000d80| 77 69 74 68 6f 75 74 20 | 66 65 65 20 69 73 20 68 |without |fee is h|
|00000d90| 65 72 65 62 79 20 67 72 | 61 6e 74 65 64 2c 20 70 |ereby gr|anted, p|
|00000da0| 72 6f 76 69 64 65 64 0a | 2a 2a 20 74 68 61 74 20 |rovided.|** that |
|00000db0| 74 68 65 20 61 62 6f 76 | 65 20 63 6f 70 79 72 69 |the abov|e copyri|
|00000dc0| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |ght noti|ce appea|
|00000dd0| 72 20 69 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r in all| copies |
|00000de0| 61 6e 64 20 74 68 61 74 | 20 62 6f 74 68 20 74 68 |and that| both th|
|00000df0| 61 74 0a 2a 2a 20 63 6f | 70 79 72 69 67 68 74 20 |at.** co|pyright |
|00000e00| 6e 6f 74 69 63 65 20 61 | 6e 64 20 74 68 69 73 20 |notice a|nd this |
|00000e10| 70 65 72 6d 69 73 73 69 | 6f 6e 20 6e 6f 74 69 63 |permissi|on notic|
|00000e20| 65 20 61 70 70 65 61 72 | 20 69 6e 20 73 75 70 70 |e appear| in supp|
|00000e30| 6f 72 74 69 6e 67 0a 2a | 2a 20 64 6f 63 75 6d 65 |orting.*|* docume|
|00000e40| 6e 74 61 74 69 6f 6e 2e | 20 20 54 68 69 73 20 73 |ntation.| This s|
|00000e50| 6f 66 74 77 61 72 65 20 | 69 73 20 70 72 6f 76 69 |oftware |is provi|
|00000e60| 64 65 64 20 22 61 73 20 | 69 73 22 20 77 69 74 68 |ded "as |is" with|
|00000e70| 6f 75 74 20 65 78 70 72 | 65 73 73 20 6f 72 0a 2a |out expr|ess or.*|
|00000e80| 2a 20 69 6d 70 6c 69 65 | 64 20 77 61 72 72 61 6e |* implie|d warran|
|00000e90| 74 79 2e 0a 2a 2a 0a 2a | 2a 0a 2a 2a 20 20 20 20 |ty..**.*|*.** |
|00000ea0| 41 20 6d 61 6a 6f 72 20 | 70 6f 72 74 69 6f 6e 20 |A major |portion |
|00000eb0| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 69 73 20 |of this |file is |
|00000ec0| 65 78 74 72 61 63 74 65 | 64 20 66 72 6f 6d 20 74 |extracte|d from t|
|00000ed0| 68 65 20 70 72 6f 67 72 | 61 6d 20 77 69 6e 64 79 |he progr|am windy|
|00000ee0| 0a 2a 2a 20 20 20 20 77 | 68 69 63 68 20 69 73 20 |.** w|hich is |
|00000ef0| 61 76 61 69 6c 61 62 6c | 65 20 66 72 6f 6d 20 22 |availabl|e from "|
|00000f00| 54 68 65 20 53 54 4f 52 | 45 22 20 77 69 74 68 20 |The STOR|E" with |
|00000f10| 69 74 73 20 73 6f 75 72 | 63 65 73 2e 0a 2a 2a 20 |its sour|ces..** |
|00000f20| 20 20 20 49 74 20 77 69 | 6c 6c 20 70 72 65 73 65 | It wi|ll prese|
|00000f30| 72 76 65 20 6d 6f 73 74 | 20 6f 66 20 77 69 6e 64 |rve most| of wind|
|00000f40| 79 27 73 20 61 72 67 75 | 6d 65 6e 74 73 2e 0a 2a |y's argu|ments..*|
|00000f50| 2f 0a 23 69 6e 63 6c 75 | 64 65 20 22 33 62 31 74 |/.#inclu|de "3b1t|
|00000f60| 6f 6f 6c 73 2e 68 22 0a | 23 64 65 66 69 6e 65 20 |ools.h".|#define |
|00000f70| 20 20 20 20 20 20 20 4e | 41 20 20 20 20 20 20 30 | N|A 0|
|00000f80| 78 66 66 66 66 0a 0a 73 | 74 72 75 63 74 20 75 77 |xffff..s|truct uw|
|00000f90| 64 61 74 61 20 78 75 77 | 20 3d 20 7b 0a 20 20 20 |data xuw| = {. |
|00000fa0| 20 20 20 20 4e 41 2c 20 | 4e 41 2c 20 4e 41 2c 20 | NA, |NA, NA, |
|00000fb0| 4e 41 2c 20 4e 41 7d 3b | 0a 73 74 72 75 63 74 20 |NA, NA};|.struct |
|00000fc0| 75 74 64 61 74 61 20 78 | 75 74 5b 57 54 58 54 4e |utdata x|ut[WTXTN|
|00000fd0| 55 4d 5d 3b 0a 69 6e 74 | 20 62 66 6c 61 67 20 3d |UM];.int| bflag =|
|00000fe0| 20 30 3b 0a 69 6e 74 20 | 4b 66 6c 61 67 20 3d 20 | 0;.int |Kflag = |
|00000ff0| 30 3b 0a 63 68 61 72 20 | 62 6c 6f 74 5b 38 31 5d |0;.char |blot[81]|
|00001000| 3b 0a 63 68 61 72 20 2a | 74 74 79 6e 61 6d 65 28 |;.char *|ttyname(|
|00001010| 29 3b 0a 63 68 61 72 20 | 2a 20 66 69 6c 65 6e 61 |);.char |* filena|
|00001020| 6d 3b 0a 65 78 74 65 72 | 6e 20 73 74 72 75 63 74 |m;.exter|n struct|
|00001030| 20 74 65 72 6d 69 6f 20 | 61 72 67 67 3b 0a 65 78 | termio |argg;.ex|
|00001040| 74 65 72 6e 20 63 68 61 | 72 20 2a 6f 70 74 61 72 |tern cha|r *optar|
|00001050| 67 3b 0a 65 78 74 65 72 | 6e 20 69 6e 74 20 6f 70 |g;.exter|n int op|
|00001060| 74 69 6e 64 3b 0a 0a 6d | 61 69 6e 28 61 63 2c 61 |tind;..m|ain(ac,a|
|00001070| 76 29 0a 69 6e 74 20 61 | 63 3b 0a 63 68 61 72 20 |v).int a|c;.char |
|00001080| 2a 2a 61 76 3b 0a 7b 0a | 20 20 20 20 20 20 20 69 |**av;.{.| i|
|00001090| 6e 74 20 6e 66 6c 61 67 | 20 3d 20 30 3b 0a 20 20 |nt nflag| = 0;. |
|000010a0| 20 20 20 20 20 63 68 61 | 72 20 61 76 6e 61 6d 65 | cha|r avname|
|000010b0| 5b 32 35 36 5d 3b 0a 20 | 20 20 20 20 20 20 63 68 |[256];. | ch|
|000010c0| 61 72 20 2a 65 6e 76 2c | 63 61 76 6e 61 6d 65 5b |ar *env,|cavname[|
|000010d0| 32 35 36 5d 3b 0a 20 20 | 20 20 20 20 20 69 6e 74 |256];. | int|
|000010e0| 20 69 2c 20 63 2c 72 6f | 77 73 2c 63 6f 6c 73 2c | i, c,ro|ws,cols,|
|000010f0| 70 69 64 3b 0a 20 20 20 | 20 20 20 20 46 49 4c 45 |pid;. | FILE|
|00001100| 20 2a 20 69 66 64 3b 0a | 20 20 20 20 20 20 20 69 | * ifd;.| i|
|00001110| 6f 63 74 6c 28 57 6e 2c | 54 43 47 45 54 41 2c 26 |octl(Wn,|TCGETA,&|
|00001120| 61 72 67 67 29 3b 0a 20 | 20 20 20 20 20 20 63 6f |argg);. | co|
|00001130| 6c 73 20 3d 20 30 3b 0a | 20 20 20 20 20 20 20 72 |ls = 0;.| r|
|00001140| 6f 77 73 20 3d 20 30 3b | 0a 20 20 20 20 20 20 20 |ows = 0;|. |
|00001150| 6d 61 78 77 20 3d 20 36 | 37 32 3b 0a 20 20 20 20 |maxw = 6|72;. |
|00001160| 20 20 20 6d 61 78 68 20 | 3d 20 32 38 38 3b 0a 20 | maxh |= 288;. |
|00001170| 20 20 20 20 20 20 69 6e | 76 65 72 74 20 3d 20 30 | in|vert = 0|
|00001180| 3b 0a 20 20 20 20 20 20 | 20 69 63 6f 6e 6f 70 65 |;. | iconope|
|00001190| 6e 20 3d 20 30 3b 0a 20 | 20 20 20 20 20 20 74 72 |n = 0;. | tr|
|000011a0| 61 6e 73 70 6f 73 65 20 | 3d 20 30 3b 0a 0a 20 20 |anspose |= 0;.. |
|000011b0| 20 20 20 20 20 69 66 20 | 28 20 61 63 20 3d 3d 20 | if |( ac == |
|000011c0| 31 20 29 20 7b 20 2f 2a | 20 6e 6f 20 61 72 67 75 |1 ) { /*| no argu|
|000011d0| 6d 65 6e 74 2c 20 67 65 | 74 20 63 6f 6d 6d 61 6e |ment, ge|t comman|
|000011e0| 64 73 20 2a 2f 0a 20 20 | 20 20 20 20 20 20 20 20 |ds */. | |
|000011f0| 73 74 72 63 61 74 28 61 | 76 6e 61 6d 65 2c 22 2e |strcat(a|vname,".|
|00001200| 33 62 31 74 6f 6f 6c 22 | 29 3b 0a 20 20 20 20 20 |3b1tool"|);. |
|00001210| 20 20 20 20 20 69 66 20 | 28 20 28 69 66 64 20 3d | if |( (ifd =|
|00001220| 20 66 6f 70 65 6e 28 20 | 61 76 6e 61 6d 65 2c 20 | fopen( |avname, |
|00001230| 22 72 22 20 29 29 20 21 | 3d 20 4e 55 4c 4c 29 20 |"r" )) !|= NULL) |
|00001240| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|00001250| 20 20 20 20 73 74 61 72 | 74 75 70 28 69 66 64 2c | star|tup(ifd,|
|00001260| 61 76 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |av);. | |
|00001270| 20 20 20 20 20 20 20 65 | 78 69 74 28 30 29 3b 7d | e|xit(0);}|
|00001280| 20 65 6c 73 65 20 7b 0a | 20 20 20 20 20 20 20 20 | else {.| |
|00001290| 20 20 73 74 72 63 70 79 | 28 61 76 6e 61 6d 65 2c | strcpy|(avname,|
|000012a0| 67 65 74 65 6e 76 28 22 | 48 4f 4d 45 22 29 29 3b |getenv("|HOME"));|
|000012b0| 0a 20 20 20 20 20 20 20 | 20 20 20 73 74 72 63 61 |. | strca|
|000012c0| 74 28 61 76 6e 61 6d 65 | 2c 22 2f 2e 33 62 31 74 |t(avname|,"/.3b1t|
|000012d0| 6f 6f 6c 22 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |ool");. | |
|000012e0| 20 69 66 20 28 20 28 69 | 66 64 20 3d 20 66 6f 70 | if ( (i|fd = fop|
|000012f0| 65 6e 28 20 61 76 6e 61 | 6d 65 2c 20 22 72 22 20 |en( avna|me, "r" |
|00001300| 29 29 20 21 3d 20 4e 55 | 4c 4c 29 20 7b 0a 20 20 |)) != NU|LL) {. |
|00001310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001320| 73 74 61 72 74 75 70 28 | 69 66 64 2c 61 76 29 3b |startup(|ifd,av);|
|00001330| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001340| 20 20 20 65 78 69 74 28 | 30 29 3b 7d 0a 20 20 20 | exit(|0);}. |
|00001350| 20 20 20 20 20 65 6c 73 | 65 20 7b 0a 20 20 20 20 | els|e {. |
|00001360| 20 20 20 20 20 20 20 70 | 72 69 6e 74 66 28 22 33 | p|rintf("3|
|00001370| 62 31 74 6f 6f 6c 73 3a | 20 46 69 6c 65 20 2e 33 |b1tools:| File .3|
|00001380| 62 31 74 6f 6f 6c 20 64 | 6f 65 73 6e 27 74 20 65 |b1tool d|oesn't e|
|00001390| 78 69 73 74 5c 6e 33 62 | 31 74 6f 6f 6c 73 3a 20 |xist\n3b|1tools: |
|000013a0| 55 73 65 20 33 62 31 74 | 6f 6f 6c 73 20 2d 53 20 |Use 3b1t|ools -S |
|000013b0| 66 6f 72 20 66 75 6c 6c | 20 73 63 72 65 65 6e 20 |for full| screen |
|000013c0| 73 68 65 6c 6c 5c 6e 22 | 29 3b 0a 20 20 20 20 20 |shell\n"|);. |
|000013d0| 20 20 20 20 20 20 65 78 | 69 74 28 31 29 3b 0a 20 | ex|it(1);. |
|000013e0| 20 20 20 20 20 20 7d 7d | 7d 0a 0a 20 20 20 20 20 | }}|}.. |
|000013f0| 20 20 65 6c 73 65 20 7b | 0a 20 20 20 20 20 20 20 | else {|. |
|00001400| 69 66 64 20 3d 20 28 46 | 49 4c 45 20 2a 29 20 2d |ifd = (F|ILE *) -|
|00001410| 31 3b 0a 20 20 20 20 20 | 20 20 77 68 69 6c 65 28 |1;. | while(|
|00001420| 28 63 20 3d 20 67 65 74 | 6f 70 74 28 61 63 2c 20 |(c = get|opt(ac, |
|00001430| 61 76 2c 20 22 72 6f 62 | 53 52 54 70 3a 63 3a 6c |av, "rob|SRTp:c:l|
|00001440| 3a 75 3a 31 3a 32 3a 6e | 3a 66 3a 68 3a 77 3a 78 |:u:1:2:n|:f:h:w:x|
|00001450| 3a 79 3a 4b 3a 58 3a 59 | 3a 49 3a 57 3a 48 3a 22 |:y:K:X:Y|:I:W:H:"|
|00001460| 29 29 20 21 3d 20 45 4f | 46 29 20 7b 0a 20 20 20 |)) != EO|F) {. |
|00001470| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 77 69 74 | | swit|
|00001480| 63 68 28 63 29 20 7b 0a | 20 20 20 20 20 20 20 20 |ch(c) {.| |
|00001490| 20 20 20 20 20 20 20 63 | 61 73 65 20 27 62 27 3a | c|ase 'b':|
|000014a0| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|000014b0| 20 20 20 20 20 20 20 20 | 20 62 66 6c 61 67 2b 2b | | bflag++|
|000014c0| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000014d0| 20 20 20 20 20 20 20 20 | 20 62 72 65 61 6b 3b 7d | | break;}|
|000014e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000014f0| 63 61 73 65 20 27 68 27 | 3a 7b 0a 20 20 20 20 20 |case 'h'|:{. |
|00001500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001510| 20 20 78 75 77 2e 75 77 | 5f 68 65 69 67 68 74 20 | xuw.uw|_height |
|00001520| 3d 20 61 74 6f 69 28 6f | 70 74 61 72 67 29 3b 0a |= atoi(o|ptarg);.|
|00001530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001540| 20 20 20 20 62 72 65 61 | 6b 3b 7d 0a 20 20 20 20 | brea|k;}. |
|00001550| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 73 65 20 | | case |
|00001560| 27 77 27 3a 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |'w':{. | |
|00001570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 78 75 77 | | xuw|
|00001580| 2e 75 77 5f 77 69 64 74 | 68 20 3d 20 61 74 6f 69 |.uw_widt|h = atoi|
|00001590| 28 6f 70 74 61 72 67 29 | 3b 0a 20 20 20 20 20 20 |(optarg)|;. |
|000015a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000015b0| 20 62 72 65 61 6b 3b 7d | 0a 20 20 20 20 20 20 20 | break;}|. |
|000015c0| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 27 78 27 | |case 'x'|
|000015d0| 3a 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:{. | |
|000015e0| 20 20 20 20 20 20 20 20 | 20 20 78 75 77 2e 75 77 | | xuw.uw|
|000015f0| 5f 78 20 3d 20 61 74 6f | 69 28 6f 70 74 61 72 67 |_x = ato|i(optarg|
|00001600| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00001610| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 3b | | break;|
|00001620| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00001630| 20 63 61 73 65 20 27 79 | 27 3a 7b 0a 20 20 20 20 | case 'y|':{. |
|00001640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001650| 20 20 20 78 75 77 2e 75 | 77 5f 79 20 3d 20 61 74 | xuw.u|w_y = at|
|00001660| 6f 69 28 6f 70 74 61 72 | 67 29 3b 0a 20 20 20 20 |oi(optar|g);. |
|00001670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001680| 20 20 20 62 72 65 61 6b | 3b 7d 0a 20 20 20 20 20 | break|;}. |
|00001690| 20 20 20 20 20 20 20 20 | 20 20 63 61 73 65 20 27 | | case '|
|000016a0| 66 27 3a 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |f':{. | |
|000016b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 78 75 77 2e | | xuw.|
|000016c0| 75 77 5f 75 66 6c 61 67 | 73 20 3d 20 68 74 6f 69 |uw_uflag|s = htoi|
|000016d0| 28 6f 70 74 61 72 67 29 | 3b 0a 20 20 20 20 20 20 |(optarg)|;. |
|000016e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016f0| 20 78 75 77 2e 75 77 5f | 75 66 6c 61 67 73 20 26 | xuw.uw_|uflags &|
|00001700| 3d 20 7e 4e 4f 53 45 54 | 55 46 4c 41 47 53 3b 0a |= ~NOSET|UFLAGS;.|
|00001710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001720| 20 20 20 20 20 20 20 62 | 72 65 61 6b 3b 7d 0a 20 | b|reak;}. |
|00001730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 | | ca|
|00001740| 73 65 20 27 70 27 3a 0a | 20 20 20 20 20 20 20 20 |se 'p':.| |
|00001750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 75 | | u|
|00001760| 74 73 65 74 28 57 54 58 | 54 50 52 4f 4d 50 54 2c |tset(WTX|TPROMPT,|
|00001770| 20 6f 70 74 61 72 67 29 | 3b 7b 0a 20 20 20 20 20 | optarg)|;{. |
|00001780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001790| 20 20 62 72 65 61 6b 3b | 7d 0a 20 20 20 20 20 20 | break;|}. |
|000017a0| 20 20 20 20 20 20 20 20 | 20 63 61 73 65 20 27 63 | | case 'c|
|000017b0| 27 3a 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |':{. | |
|000017c0| 20 20 20 20 20 20 20 20 | 20 20 20 75 74 73 65 74 | | utset|
|000017d0| 28 57 54 58 54 43 4d 44 | 2c 20 6f 70 74 61 72 67 |(WTXTCMD|, optarg|
|000017e0| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|000017f0| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 3b | | break;|
|00001800| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00001810| 20 63 61 73 65 20 27 6c | 27 3a 7b 0a 20 20 20 20 | case 'l|':{. |
|00001820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001830| 20 20 20 75 74 73 65 74 | 28 57 54 58 54 4c 41 42 | utset|(WTXTLAB|
|00001840| 45 4c 2c 20 6f 70 74 61 | 72 67 29 3b 0a 20 20 20 |EL, opta|rg);. |
|00001850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001860| 20 20 20 20 62 72 65 61 | 6b 3b 7d 0a 20 20 20 20 | brea|k;}. |
|00001870| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 73 65 20 | | case |
|00001880| 27 6e 27 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |'n':. | |
|00001890| 20 20 20 20 63 61 73 65 | 20 27 75 27 3a 7b 0a 20 | case| 'u':{. |
|000018a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018b0| 20 20 20 20 20 20 6e 66 | 6c 61 67 20 3d 20 31 3b | nf|lag = 1;|
|000018c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000018d0| 20 20 20 20 20 20 20 20 | 75 74 73 65 74 28 57 54 | |utset(WT|
|000018e0| 58 54 55 53 45 52 2c 20 | 6f 70 74 61 72 67 29 3b |XTUSER, |optarg);|
|000018f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001900| 20 20 20 20 20 20 20 20 | 62 72 65 61 6b 3b 7d 0a | |break;}.|
|00001910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00001920| 61 73 65 20 27 31 27 3a | 7b 0a 20 20 20 20 20 20 |ase '1':|{. |
|00001930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001940| 20 75 74 73 65 74 28 57 | 54 58 54 53 4c 4b 31 2c | utset(W|TXTSLK1,|
|00001950| 20 6f 70 74 61 72 67 29 | 3b 0a 20 20 20 20 20 20 | optarg)|;. |
|00001960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001970| 20 62 72 65 61 6b 3b 7d | 0a 20 20 20 20 20 20 20 | break;}|. |
|00001980| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 27 32 27 | |case '2'|
|00001990| 3a 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:{. | |
|000019a0| 20 20 20 20 20 20 20 20 | 20 20 75 74 73 65 74 28 | | utset(|
|000019b0| 57 54 58 54 53 4c 4b 32 | 2c 20 6f 70 74 61 72 67 |WTXTSLK2|, optarg|
|000019c0| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|000019d0| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 3b | | break;|
|000019e0| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000019f0| 20 63 61 73 65 20 27 3f | 27 3a 7b 0a 20 20 20 20 | case '?|':{. |
|00001a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a10| 20 20 20 66 70 72 69 6e | 74 66 28 73 74 64 65 72 | fprin|tf(stder|
|00001a20| 72 2c 20 22 75 73 61 67 | 65 3a 20 33 62 31 74 6f |r, "usag|e: 3b1to|
|00001a30| 6f 6c 73 20 5b 61 72 67 | 73 5d 20 5b 63 6f 6d 6d |ols [arg|s] [comm|
|00001a40| 61 6e 64 2d 61 72 67 73 | 5d 5c 6e 22 29 3b 0a 20 |and-args|]\n");. |
|00001a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a60| 20 20 20 20 20 20 65 78 | 69 74 28 32 29 3b 7d 0a | ex|it(2);}.|
|00001a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00001a80| 61 73 65 20 27 4b 27 3a | 7b 0a 20 20 20 20 20 20 |ase 'K':|{. |
|00001a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001aa0| 20 73 74 72 6e 63 70 79 | 28 62 6c 6f 74 2c 20 6f | strncpy|(blot, o|
|00001ab0| 70 74 61 72 67 2c 20 38 | 30 29 3b 0a 20 20 20 20 |ptarg, 8|0);. |
|00001ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ad0| 20 20 20 4b 66 6c 61 67 | 20 2b 2b 3b 0a 20 20 20 | Kflag| ++;. |
|00001ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001af0| 20 20 20 20 62 72 65 61 | 6b 3b 7d 0a 0a 20 20 20 | brea|k;}.. |
|00001b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 73 65 | | case|
|00001b10| 20 27 49 27 3a 20 7b 20 | 20 2f 2a 20 20 69 6d 61 | 'I': { | /* ima|
|00001b20| 67 65 20 66 69 6c 65 20 | 6e 61 6d 65 20 2a 2f 0a |ge file |name */.|
|00001b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b40| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 20 6f 70 | | if ( op|
|00001b50| 74 61 72 67 5b 30 5d 20 | 3d 3d 20 27 2d 27 20 29 |targ[0] |== '-' )|
|00001b60| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|00001b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00001b80| 66 64 20 3d 20 73 74 64 | 69 6e 3b 7d 0a 20 20 20 |fd = std|in;}. |
|00001b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ba0| 20 20 20 20 20 20 65 6c | 73 65 20 7b 0a 20 20 20 | el|se {. |
|00001bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001bc0| 20 20 20 20 20 20 69 66 | 64 20 3d 20 66 6f 70 65 | if|d = fope|
|00001bd0| 6e 28 20 6f 70 74 61 72 | 67 2c 20 22 72 22 20 29 |n( optar|g, "r" )|
|00001be0| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00001bf0| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 20 | | if ( |
|00001c00| 69 66 64 20 3d 3d 20 4e | 55 4c 4c 20 29 0a 09 20 |ifd == N|ULL ).. |
|00001c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c20| 7b 0a 09 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{.. | |
|00001c30| 20 20 20 20 20 20 20 20 | 66 70 72 69 6e 74 66 28 | |fprintf(|
|00001c40| 20 73 74 64 65 72 72 2c | 20 22 49 6d 61 67 65 20 | stderr,| "Image |
|00001c50| 25 73 3a 20 63 61 6e 27 | 74 20 6f 70 65 6e 2e 5c |%s: can'|t open.\|
|00001c60| 6e 22 2c 20 6f 70 74 61 | 72 67 29 3b 0a 09 20 20 |n", opta|rg);.. |
|00001c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c80| 20 20 20 65 78 69 74 28 | 20 31 20 29 3b 20 7d 0a | exit(| 1 ); }.|
|00001c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 66 69 6c | | fil|
|00001cb0| 65 6e 61 6d 20 3d 20 6f | 70 74 61 72 67 3b 7d 0a |enam = o|ptarg;}.|
|00001cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 72 65 | | bre|
|00001ce0| 61 6b 3b 7d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ak;}. | |
|00001cf0| 20 20 20 20 20 63 61 73 | 65 20 27 57 27 3a 20 7b | cas|e 'W': {|
|00001d00| 20 2f 2a 20 6f 76 65 72 | 77 72 69 74 65 20 69 6d | /* over|write im|
|00001d10| 61 67 65 20 68 65 69 67 | 68 74 20 2a 2f 0a 20 20 |age heig|ht */. |
|00001d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d30| 20 20 20 20 20 20 20 20 | 63 6f 6c 73 20 3d 20 61 | |cols = a|
|00001d40| 74 6f 69 28 6f 70 74 61 | 72 67 29 3b 0a 20 20 20 |toi(opta|rg);. |
|00001d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d60| 20 20 20 20 20 20 20 62 | 72 65 61 6b 3b 7d 0a 20 | b|reak;}. |
|00001d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00001d80| 61 73 65 20 27 48 27 3a | 20 7b 20 2f 2a 20 6f 76 |ase 'H':| { /* ov|
|00001d90| 65 72 77 72 69 74 65 20 | 69 6d 61 67 65 20 77 69 |erwrite |image wi|
|00001da0| 64 74 68 20 2a 2f 0a 20 | 20 20 20 20 20 20 20 20 |dth */. | |
|00001db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001dc0| 20 72 6f 77 73 20 3d 20 | 61 74 6f 69 28 6f 70 74 | rows = |atoi(opt|
|00001dd0| 61 72 67 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |arg);. | |
|00001de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001df0| 62 72 65 61 6b 3b 7d 0a | 20 20 20 20 20 20 20 20 |break;}.| |
|00001e00| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 27 58 27 | |case 'X'|
|00001e10| 3a 20 7b 20 2f 2a 20 69 | 63 6f 6e 20 77 69 64 74 |: { /* i|con widt|
|00001e20| 68 20 2a 2f 0a 20 20 20 | 20 20 20 20 20 20 20 20 |h */. | |
|00001e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d | | m|
|00001e40| 61 78 77 20 3d 20 61 74 | 6f 69 28 6f 70 74 61 72 |axw = at|oi(optar|
|00001e50| 67 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |g);. | |
|00001e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00001e70| 20 28 6d 61 78 77 20 3e | 20 36 37 32 20 29 0a 20 | (maxw >| 672 ). |
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 61 78 77 | | maxw|
|00001ea0| 20 3d 20 36 37 32 3b 0a | 20 20 20 20 20 20 20 20 | = 672;.| |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ec0| 20 20 62 72 65 61 6b 3b | 7d 0a 20 20 20 20 20 20 | break;|}. |
|00001ed0| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 73 65 20 | | case |
|00001ee0| 27 59 27 3a 20 7b 20 2f | 2a 20 69 63 6f 6e 20 68 |'Y': { /|* icon h|
|00001ef0| 65 69 67 68 74 20 2a 2f | 0a 20 20 20 20 20 20 20 |eight */|. |
|00001f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f10| 20 20 20 20 6d 61 78 68 | 20 3d 20 61 74 6f 69 28 | maxh| = atoi(|
|00001f20| 6f 70 74 61 72 67 29 3b | 0a 20 20 20 20 20 20 20 |optarg);|. |
|00001f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f40| 20 20 20 20 69 66 20 28 | 6d 61 78 68 20 3e 20 32 | if (|maxh > 2|
|00001f50| 38 38 20 29 0a 20 20 20 | 20 20 20 20 20 20 20 20 |88 ). | |
|00001f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f70| 20 20 20 6d 61 78 68 20 | 3d 20 32 38 38 3b 0a 20 | maxh |= 288;. |
|00001f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f90| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 3b | | break;|
|00001fa0| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|00001fb0| 20 20 20 63 61 73 65 20 | 27 52 27 3a 20 7b 20 2f | case |'R': { /|
|00001fc0| 2a 20 72 65 76 65 72 73 | 65 20 69 6d 61 67 65 20 |* revers|e image |
|00001fd0| 2a 2f 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |*/. | |
|00001fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 6e | | in|
|00001ff0| 76 65 72 74 2b 2b 3b 0a | 20 20 20 20 20 20 20 20 |vert++;.| |
|00002000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002010| 20 20 20 62 72 65 61 6b | 3b 7d 0a 20 20 20 20 20 | break|;}. |
|00002020| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 73 65 | | case|
|00002030| 20 27 6f 27 3a 20 7b 20 | 2f 2a 20 73 74 61 72 74 | 'o': { |/* start|
|00002040| 20 77 69 74 68 20 61 6e | 20 6f 70 65 6e 20 77 69 | with an| open wi|
|00002050| 6e 64 6f 77 20 2a 2f 0a | 20 20 20 20 20 20 20 20 |ndow */.| |
|00002060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002070| 20 20 20 69 63 6f 6e 6f | 70 65 6e 2b 2b 3b 0a 20 | icono|pen++;. |
|00002080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002090| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 3b | | break;|
|000020a0| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}. | |
|000020b0| 20 20 20 63 61 73 65 20 | 27 72 27 3a 20 7b 20 2f | case |'r': { /|
|000020c0| 2a 20 73 74 61 72 74 20 | 77 69 74 68 20 61 6e 20 |* start |with an |
|000020d0| 6f 70 65 6e 20 77 69 6e | 64 6f 77 20 2a 2f 0a 20 |open win|dow */. |
|000020e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020f0| 20 20 20 20 20 20 20 20 | 20 20 6e 6f 72 6d 61 6c | | normal|
|00002100| 2b 2b 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |++;. | |
|00002110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 | | b|
|00002120| 72 65 61 6b 3b 7d 0a 20 | 20 20 20 20 20 20 20 20 |reak;}. | |
|00002130| 20 20 20 20 20 20 20 20 | 20 63 61 73 65 20 27 53 | | case 'S|
|00002140| 27 3a 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |':{. | |
|00002150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 78 | | x|
|00002160| 75 77 2e 75 77 5f 78 20 | 3d 20 30 3b 0a 20 20 20 |uw.uw_x |= 0;. |
|00002170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002180| 20 20 20 20 20 20 20 20 | 78 75 77 2e 75 77 5f 79 | |xuw.uw_y|
|00002190| 20 3d 20 31 32 3b 0a 20 | 20 20 20 20 20 20 20 20 | = 12;. | |
|000021a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021b0| 20 20 78 75 77 2e 75 77 | 5f 77 69 64 74 68 20 3d | xuw.uw|_width =|
|000021c0| 20 37 32 30 3b 0a 20 20 | 20 20 20 20 20 20 20 20 | 720;. | |
|000021d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021e0| 20 78 75 77 2e 75 77 5f | 68 65 69 67 68 74 20 3d | xuw.uw_|height =|
|000021f0| 20 32 38 38 3b 0a 20 20 | 20 20 20 20 20 20 20 20 | 288;. | |
|00002200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002210| 20 78 75 77 2e 75 77 5f | 75 66 6c 61 67 73 20 3d | xuw.uw_|uflags =|
|00002220| 20 30 78 31 3b 0a 20 20 | 20 20 20 20 20 20 20 20 | 0x1;. | |
|00002230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002240| 20 62 72 65 61 6b 3b 7d | 0a 20 20 20 20 20 20 20 | break;}|. |
|00002250| 20 20 20 20 20 20 20 20 | 20 20 63 61 73 65 20 27 | | case '|
|00002260| 54 27 3a 20 7b 20 2f 2a | 20 74 72 61 6e 73 70 6f |T': { /*| transpo|
|00002270| 65 20 69 63 6f 6e 20 2a | 2f 0a 20 20 20 20 20 20 |e icon *|/. |
|00002280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002290| 20 20 20 20 20 74 72 61 | 6e 73 70 6f 73 65 2b 2b | tra|nspose++|
|000022a0| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000022b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 72 65 | | bre|
|000022c0| 61 6b 3b 7d 7d 0a 0a 20 | 20 20 20 20 20 20 7d 7d |ak;}}.. | }}|
|000022d0| 0a 20 20 20 20 20 20 20 | 2f 2a 0a 20 20 20 20 20 |. |/*. |
|000022e0| 20 20 20 2a 20 69 66 20 | 67 61 76 65 20 63 6f 6d | * if |gave com|
|000022f0| 6d 61 6e 64 20 61 72 67 | 73 2c 20 70 75 74 20 69 |mand arg|s, put i|
|00002300| 74 20 69 6e 20 61 20 6e | 65 77 20 77 69 6e 64 6f |t in a n|ew windo|
|00002310| 77 0a 20 20 20 20 20 20 | 20 20 2a 20 69 66 20 67 |w. | * if g|
|00002320| 61 76 65 20 77 69 6e 64 | 6f 77 20 61 72 67 73 2c |ave wind|ow args,|
|00002330| 20 6f 72 20 6e 6f 20 61 | 72 67 73 20 61 74 20 61 | or no a|rgs at a|
|00002340| 6c 6c 2c 20 63 68 61 6e | 67 65 20 77 69 6e 64 6f |ll, chan|ge windo|
|00002350| 77 20 70 61 72 61 6d 73 | 0a 20 20 20 20 20 20 20 |w params|. |
|00002360| 20 2a 2f 0a 20 20 20 20 | 20 20 20 69 66 28 6f 70 | */. | if(op|
|00002370| 74 69 6e 64 20 3c 20 61 | 63 29 20 7b 0a 20 20 20 |tind < a|c) {. |
|00002380| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 28 20 | | if( |
|00002390| 62 66 6c 61 67 29 0a 20 | 20 20 20 20 20 20 20 20 |bflag). | |
|000023a0| 20 20 20 20 20 20 20 20 | 20 6e 65 77 77 69 6e 64 | | newwind|
|000023b0| 28 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |();. | |
|000023c0| 20 20 20 61 76 6e 61 6d | 65 5b 30 5d 20 3d 20 30 | avnam|e[0] = 0|
|000023d0| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000023e0| 20 66 6f 72 28 69 3d 6f | 70 74 69 6e 64 3b 20 69 | for(i=o|ptind; i|
|000023f0| 3c 61 63 3b 20 69 2b 2b | 29 20 7b 0a 20 20 20 20 |<ac; i++|) {. |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002410| 20 20 20 73 74 72 63 61 | 74 28 61 76 6e 61 6d 65 | strca|t(avname|
|00002420| 2c 20 61 76 5b 69 5d 29 | 3b 0a 20 20 20 20 20 20 |, av[i])|;. |
|00002430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002440| 20 73 74 72 63 61 74 28 | 61 76 6e 61 6d 65 2c 20 | strcat(|avname, |
|00002450| 22 20 22 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |" ");. | |
|00002460| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002470| 20 20 20 20 20 20 69 66 | 28 20 62 66 6c 61 67 29 | if|( bflag)|
|00002480| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002490| 20 20 69 66 28 21 6e 66 | 6c 61 67 29 0a 20 20 20 | if(!nf|lag). |
|000024a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024b0| 20 20 20 20 75 74 73 65 | 74 28 57 54 58 54 55 53 | utse|t(WTXTUS|
|000024c0| 45 52 2c 20 61 76 6e 61 | 6d 65 29 3b 0a 20 20 20 |ER, avna|me);. |
|000024d0| 20 20 20 20 7d 0a 20 20 | 20 20 20 20 20 66 69 78 | }. | fix|
|000024e0| 77 69 6e 64 28 29 3b 0a | 20 20 20 20 20 20 20 20 |wind();.| |
|000024f0| 20 20 20 20 20 20 20 0a | 20 20 20 20 20 20 20 20 | .| |
|00002500| 20 20 20 20 20 20 20 69 | 66 28 62 66 6c 61 67 29 | i|f(bflag)|
|00002510| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|00002520| 20 20 20 20 20 20 20 20 | 20 20 70 69 64 20 3d 20 | | pid = |
|00002530| 66 6f 72 6b 28 29 3b 0a | 20 20 20 20 20 20 20 20 |fork();.| |
|00002540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00002550| 66 28 70 69 64 20 3e 20 | 30 29 0a 20 20 20 20 20 |f(pid > |0). |
|00002560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002570| 20 20 20 20 20 20 20 20 | 20 20 65 78 69 74 28 31 | | exit(1|
|00002580| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|00002590| 20 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 69 | | else i|
|000025a0| 66 28 70 69 64 20 3d 3d | 20 30 29 20 7b 0a 20 20 |f(pid ==| 0) {. |
|000025b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 65 74 | | set|
|000025d0| 70 67 72 70 28 29 3b 0a | 20 20 20 20 20 20 20 20 |pgrp();.| |
|000025e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025f0| 20 20 20 20 20 20 20 69 | 6f 63 74 6c 28 30 2c 20 | i|octl(0, |
|00002600| 57 49 4f 43 50 47 52 50 | 29 3b 0a 20 20 20 20 20 |WIOCPGRP|);. |
|00002610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002620| 20 20 7d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002630| 20 20 20 7d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002640| 20 20 20 20 69 63 6f 6e | 5f 65 78 65 63 28 61 76 | icon|_exec(av|
|00002650| 2c 72 6f 77 73 2c 63 6f | 6c 73 2c 69 66 64 29 3b |,rows,co|ls,ifd);|
|00002660| 0a 20 20 20 20 20 20 20 | 65 78 69 74 28 30 29 3b |. |exit(0);|
|00002670| 0a 7d 0a 75 74 73 65 74 | 28 6e 2c 20 73 29 0a 63 |.}.utset|(n, s).c|
|00002680| 68 61 72 20 2a 73 3b 0a | 7b 0a 20 20 20 20 20 20 |har *s;.|{. |
|00002690| 20 78 75 74 5b 6e 5d 2e | 75 74 5f 6e 75 6d 20 3d | xut[n].|ut_num =|
|000026a0| 20 31 3b 0a 20 20 20 20 | 20 20 20 73 74 72 6e 63 | 1;. | strnc|
|000026b0| 70 79 28 78 75 74 5b 6e | 5d 2e 75 74 5f 74 65 78 |py(xut[n|].ut_tex|
|000026c0| 74 2c 20 73 2c 20 57 54 | 58 54 4c 45 4e 29 3b 0a |t, s, WT|XTLEN);.|
|000026d0| 7d 0a 6e 65 77 77 69 6e | 64 28 29 20 7b 0a 20 20 |}.newwin|d() {. |
|000026e0| 20 20 20 20 20 63 68 61 | 72 20 6e 61 6d 65 5b 31 | cha|r name[1|
|000026f0| 30 5d 3b 0a 20 20 20 20 | 20 20 20 73 74 72 75 63 |0];. | struc|
|00002700| 74 20 74 65 72 6d 69 6f | 20 74 3b 0a 20 20 20 20 |t termio| t;. |
|00002710| 20 20 20 69 6e 74 20 62 | 61 64 20 3d 20 30 2c 20 | int b|ad = 0, |
|00002720| 69 2c 20 66 64 3b 0a 0a | 20 20 20 20 20 20 20 69 |i, fd;..| i|
|00002730| 66 20 28 21 69 73 61 74 | 74 79 28 30 29 29 20 72 |f (!isat|ty(0)) r|
|00002740| 65 74 75 72 6e 3b 0a 20 | 20 20 20 20 20 20 69 66 |eturn;. | if|
|00002750| 28 73 74 72 6e 63 6d 70 | 28 22 2f 64 65 76 2f 77 |(strncmp|("/dev/w|
|00002760| 22 2c 20 74 74 79 6e 61 | 6d 65 28 30 29 2c 20 36 |", ttyna|me(0), 6|
|00002770| 29 21 3d 30 20 29 20 72 | 65 74 75 72 6e 3b 0a 0a |)!=0 ) r|eturn;..|
|00002780| 20 20 20 20 20 20 20 69 | 66 20 28 69 6f 63 74 6c | i|f (ioctl|
|00002790| 28 30 2c 20 54 43 47 45 | 54 41 2c 20 26 74 29 20 |(0, TCGE|TA, &t) |
|000027a0| 3c 20 30 29 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |< 0) {. | |
|000027b0| 20 20 20 20 20 20 70 65 | 72 72 6f 72 28 22 67 65 | pe|rror("ge|
|000027c0| 74 74 69 6e 67 20 74 74 | 79 20 63 68 61 72 73 22 |tting tt|y chars"|
|000027d0| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|000027e0| 20 20 62 61 64 20 3d 20 | 31 3b 0a 20 20 20 20 20 | bad = |1;. |
|000027f0| 20 20 7d 0a 20 20 20 20 | 20 20 20 66 64 20 3d 20 | }. | fd = |
|00002800| 6f 70 65 6e 28 22 2f 64 | 65 76 2f 77 69 6e 64 6f |open("/d|ev/windo|
|00002810| 77 22 2c 32 29 3b 0a 20 | 20 20 20 20 20 20 69 66 |w",2);. | if|
|00002820| 20 28 66 64 20 3c 20 30 | 29 20 7b 0a 20 20 20 20 | (fd < 0|) {. |
|00002830| 20 20 20 20 20 20 20 20 | 20 20 20 70 65 72 72 6f | | perro|
|00002840| 72 28 22 6f 70 65 6e 69 | 6e 67 20 77 69 6e 64 6f |r("openi|ng windo|
|00002850| 77 22 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |w");. | |
|00002860| 20 20 20 20 72 65 74 75 | 72 6e 3b 0a 20 20 20 20 | retu|rn;. |
|00002870| 20 20 20 7d 0a 20 20 20 | 20 20 20 20 69 66 28 62 | }. | if(b|
|00002880| 66 6c 61 67 29 20 7b 0a | 20 20 20 20 20 20 20 20 |flag) {.| |
|00002890| 20 20 20 20 20 20 20 69 | 6f 63 74 6c 28 66 64 2c | i|octl(fd,|
|000028a0| 20 57 49 4f 43 53 45 4c | 45 43 54 29 3b 0a 20 20 | WIOCSEL|ECT);. |
|000028b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 70 72 | | spr|
|000028c0| 69 6e 74 66 28 6e 61 6d | 65 2c 20 22 5b 77 25 64 |intf(nam|e, "[w%d|
|000028d0| 5d 5c 6e 22 2c 20 69 6f | 63 74 6c 28 66 64 2c 20 |]\n", io|ctl(fd, |
|000028e0| 57 49 4f 43 47 43 55 52 | 52 29 29 3b 0a 20 20 20 |WIOCGCUR|R));. |
|000028f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 77 72 69 74 | | writ|
|00002900| 65 28 30 2c 20 6e 61 6d | 65 2c 20 73 74 72 6c 65 |e(0, nam|e, strle|
|00002910| 6e 28 6e 61 6d 65 29 29 | 3b 0a 20 20 20 20 20 20 |n(name))|;. |
|00002920| 20 7d 0a 0a 20 20 20 20 | 20 20 20 63 6c 6f 73 65 | }.. | close|
|00002930| 28 30 29 3b 0a 20 20 20 | 20 20 20 20 64 75 70 28 |(0);. | dup(|
|00002940| 66 64 29 3b 0a 20 20 20 | 20 20 20 20 63 6c 6f 73 |fd);. | clos|
|00002950| 65 28 31 29 3b 0a 20 20 | 20 20 20 20 20 64 75 70 |e(1);. | dup|
|00002960| 28 66 64 29 3b 0a 20 20 | 20 20 20 20 20 63 6c 6f |(fd);. | clo|
|00002970| 73 65 28 32 29 3b 0a 20 | 20 20 20 20 20 20 64 75 |se(2);. | du|
|00002980| 70 28 66 64 29 3b 0a 20 | 20 20 20 20 20 20 63 6c |p(fd);. | cl|
|00002990| 6f 73 65 28 66 64 29 3b | 0a 20 20 20 20 20 20 20 |ose(fd);|. |
|000029a0| 2f 2a 20 53 65 74 20 69 | 6e 20 74 68 65 20 70 72 |/* Set i|n the pr|
|000029b0| 65 76 69 6f 75 73 20 65 | 64 69 74 20 63 68 61 72 |evious e|dit char|
|000029c0| 61 63 74 65 72 73 20 74 | 6f 20 74 68 65 20 6e 65 |acters t|o the ne|
|000029d0| 77 20 77 69 6e 64 6f 77 | 20 2a 2f 0a 20 20 20 20 |w window| */. |
|000029e0| 20 20 20 69 66 20 28 21 | 62 61 64 20 26 26 20 69 | if (!|bad && i|
|000029f0| 6f 63 74 6c 28 30 2c 20 | 54 43 53 45 54 41 46 2c |octl(0, |TCSETAF,|
|00002a00| 20 26 74 29 20 3c 20 30 | 29 0a 20 20 20 20 20 20 | &t) < 0|). |
|00002a10| 20 20 20 20 20 20 20 20 | 20 70 65 72 72 6f 72 28 | | perror(|
|00002a20| 22 73 65 74 74 69 6e 67 | 20 74 74 79 20 63 68 61 |"setting| tty cha|
|00002a30| 72 73 22 29 3b 0a 20 20 | 20 20 20 20 20 66 6f 72 |rs");. | for|
|00002a40| 20 28 69 3d 30 3b 20 65 | 6e 76 69 72 6f 6e 5b 69 | (i=0; e|nviron[i|
|00002a50| 5d 3b 20 2b 2b 69 29 20 | 7b 0a 20 20 20 20 20 20 |]; ++i) |{. |
|00002a60| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 21 73 74 | | if (!st|
|00002a70| 72 6e 63 6d 70 28 65 6e | 76 69 72 6f 6e 5b 69 5d |rncmp(en|viron[i]|
|00002a80| 2c 22 54 45 52 4d 43 41 | 50 3d 22 2c 38 29 29 20 |,"TERMCA|P=",8)) |
|00002a90| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|00002aa0| 20 20 20 20 20 20 20 20 | 20 65 6e 76 69 72 6f 6e | | environ|
|00002ab0| 5b 69 5d 20 3d 20 22 54 | 45 52 4d 43 41 50 3d 2f |[i] = "T|ERMCAP=/|
|00002ac0| 65 74 63 2f 74 65 72 6d | 63 61 70 22 3b 0a 20 20 |etc/term|cap";. |
|00002ad0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7d 0a 20 | | }. |
|00002ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00002af0| 20 28 21 73 74 72 6e 63 | 6d 70 28 65 6e 76 69 72 | (!strnc|mp(envir|
|00002b00| 6f 6e 5b 69 5d 2c 22 54 | 45 52 4d 3d 22 2c 35 29 |on[i],"T|ERM=",5)|
|00002b10| 29 20 7b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |) {. | |
|00002b20| 20 20 20 20 20 20 20 20 | 20 20 20 65 6e 76 69 72 | | envir|
|00002b30| 6f 6e 5b 69 5d 20 3d 20 | 22 54 45 52 4d 3d 73 34 |on[i] = |"TERM=s4|
|00002b40| 22 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |";. | |
|00002b50| 20 20 7d 0a 20 20 20 20 | 20 20 20 7d 0a 7d 0a 66 | }. | }.}.f|
|00002b60| 69 78 77 69 6e 64 28 29 | 20 7b 0a 20 20 20 20 20 |ixwind()| {. |
|00002b70| 20 20 73 74 72 75 63 74 | 20 75 77 64 61 74 61 20 | struct| uwdata |
|00002b80| 75 77 3b 0a 20 20 20 20 | 20 20 20 69 6e 74 20 69 |uw;. | int i|
|00002b90| 3b 0a 0a 20 20 20 20 20 | 20 20 69 66 28 4b 66 6c |;.. | if(Kfl|
|00002ba0| 61 67 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |ag) {. | |
|00002bb0| 20 20 20 20 20 78 75 74 | 5b 57 54 58 54 53 4c 4b | xut|[WTXTSLK|
|00002bc0| 31 5d 2e 75 74 5f 6e 75 | 6d 20 3d 20 57 54 58 54 |1].ut_nu|m = WTXT|
|00002bd0| 53 4c 4b 31 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |SLK1;. | |
|00002be0| 20 20 20 20 20 78 75 74 | 5b 57 54 58 54 53 4c 4b | xut|[WTXTSLK|
|00002bf0| 32 5d 2e 75 74 5f 6e 75 | 6d 20 3d 20 57 54 58 54 |2].ut_nu|m = WTXT|
|00002c00| 53 4c 4b 32 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |SLK2;. | |
|00002c10| 20 20 20 20 20 6b 65 79 | 66 69 78 28 78 75 74 5b | key|fix(xut[|
|00002c20| 57 54 58 54 53 4c 4b 31 | 5d 2e 75 74 5f 74 65 78 |WTXTSLK1|].ut_tex|
|00002c30| 74 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |t);. | |
|00002c40| 20 20 20 6b 65 79 66 69 | 78 28 78 75 74 5b 57 54 | keyfi|x(xut[WT|
|00002c50| 58 54 53 4c 4b 32 5d 2e | 75 74 5f 74 65 78 74 29 |XTSLK2].|ut_text)|
|00002c60| 3b 0a 20 20 20 20 20 20 | 20 7d 0a 20 20 20 20 20 |;. | }. |
|00002c70| 20 20 66 6f 72 28 69 3d | 30 3b 20 69 3c 57 54 58 | for(i=|0; i<WTX|
|00002c80| 54 4e 55 4d 3b 20 69 2b | 2b 29 20 7b 0a 20 20 20 |TNUM; i+|+) {. |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 28 78 | | if(x|
|00002ca0| 75 74 5b 69 5d 2e 75 74 | 5f 6e 75 6d 29 20 7b 0a |ut[i].ut|_num) {.|
|00002cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cc0| 20 20 20 20 20 20 20 78 | 75 74 5b 69 5d 2e 75 74 | x|ut[i].ut|
|00002cd0| 5f 6e 75 6d 20 3d 20 69 | 3b 0a 20 20 20 20 20 20 |_num = i|;. |
|00002ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cf0| 20 69 6f 63 74 6c 28 30 | 2c 20 57 49 4f 43 53 45 | ioctl(0|, WIOCSE|
|00002d00| 54 54 45 58 54 2c 20 26 | 78 75 74 5b 69 5d 29 3b |TTEXT, &|xut[i]);|
|00002d10| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002d20| 7d 0a 20 20 20 20 20 20 | 20 7d 0a 20 20 20 20 20 |}. | }. |
|00002d30| 20 20 69 6f 63 74 6c 28 | 30 2c 20 57 49 4f 43 47 | ioctl(|0, WIOCG|
|00002d40| 45 54 44 2c 20 26 75 77 | 29 3b 0a 20 20 20 20 20 |ETD, &uw|);. |
|00002d50| 20 20 69 66 28 78 75 77 | 2e 75 77 5f 78 20 21 3d | if(xuw|.uw_x !=|
|00002d60| 20 4e 41 29 20 7b 75 77 | 2e 75 77 5f 78 20 3d 20 | NA) {uw|.uw_x = |
|00002d70| 78 75 77 2e 75 77 5f 78 | 3b 6e 65 77 5f 77 69 6e |xuw.uw_x|;new_win|
|00002d80| 64 2b 2b 3b 7d 0a 20 20 | 20 20 20 20 20 69 66 28 |d++;}. | if(|
|00002d90| 78 75 77 2e 75 77 5f 79 | 20 21 3d 20 4e 41 29 20 |xuw.uw_y| != NA) |
|00002da0| 7b 75 77 2e 75 77 5f 79 | 20 3d 20 78 75 77 2e 75 |{uw.uw_y| = xuw.u|
|00002db0| 77 5f 79 3b 6e 65 77 5f | 77 69 6e 64 2b 2b 3b 7d |w_y;new_|wind++;}|
|00002dc0| 0a 20 20 20 20 20 20 20 | 69 66 28 78 75 77 2e 75 |. |if(xuw.u|
|00002dd0| 77 5f 77 69 64 74 68 20 | 21 3d 20 4e 41 29 20 7b |w_width |!= NA) {|
|00002de0| 75 77 2e 75 77 5f 77 69 | 64 74 68 20 3d 20 78 75 |uw.uw_wi|dth = xu|
|00002df0| 77 2e 75 77 5f 77 69 64 | 74 68 3b 6e 65 77 5f 77 |w.uw_wid|th;new_w|
|00002e00| 69 6e 64 2b 2b 3b 7d 0a | 20 20 20 20 20 20 20 69 |ind++;}.| i|
|00002e10| 66 28 78 75 77 2e 75 77 | 5f 68 65 69 67 68 74 20 |f(xuw.uw|_height |
|00002e20| 21 3d 20 4e 41 29 20 7b | 75 77 2e 75 77 5f 68 65 |!= NA) {|uw.uw_he|
|00002e30| 69 67 68 74 20 3d 20 78 | 75 77 2e 75 77 5f 68 65 |ight = x|uw.uw_he|
|00002e40| 69 67 68 74 3b 6e 65 77 | 5f 77 69 6e 64 2b 2b 3b |ight;new|_wind++;|
|00002e50| 7d 0a 20 20 20 20 20 20 | 20 69 66 28 78 75 77 2e |}. | if(xuw.|
|00002e60| 75 77 5f 75 66 6c 61 67 | 73 20 21 3d 20 4e 41 29 |uw_uflag|s != NA)|
|00002e70| 20 7b 75 77 2e 75 77 5f | 75 66 6c 61 67 73 20 3d | {uw.uw_|uflags =|
|00002e80| 20 78 75 77 2e 75 77 5f | 75 66 6c 61 67 73 3b 6e | xuw.uw_|uflags;n|
|00002e90| 65 77 5f 77 69 6e 64 2b | 2b 3b 7d 0a 20 20 20 20 |ew_wind+|+;}. |
|00002ea0| 20 20 20 69 6f 63 74 6c | 28 30 2c 20 57 49 4f 43 | ioctl|(0, WIOC|
|00002eb0| 53 45 54 44 2c 20 26 75 | 77 29 3b 0a 7d 0a 6b 65 |SETD, &u|w);.}.ke|
|00002ec0| 79 66 69 78 28 73 29 0a | 63 68 61 72 20 2a 73 3b |yfix(s).|char *s;|
|00002ed0| 0a 7b 0a 20 20 20 20 20 | 20 20 69 6e 74 20 63 2c |.{. | int c,|
|00002ee0| 20 69 3b 0a 0a 20 20 20 | 20 20 20 20 66 6f 72 28 | i;.. | for(|
|00002ef0| 69 3d 30 3b 20 69 3c 38 | 30 3b 20 69 2b 2b 29 20 |i=0; i<8|0; i++) |
|00002f00| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|00002f10| 20 63 20 3d 20 73 5b 69 | 5d 20 26 20 30 31 37 37 | c = s[i|] & 0177|
|00002f20| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00002f30| 20 69 66 28 63 20 3d 3d | 20 30 29 20 63 20 3d 20 | if(c ==| 0) c = |
|00002f40| 27 20 27 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |' ';. | |
|00002f50| 20 20 20 20 73 77 69 74 | 63 68 28 62 6c 6f 74 5b | swit|ch(blot[|
|00002f60| 69 5d 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |i]) {. | |
|00002f70| 20 20 20 20 20 63 61 73 | 65 20 27 20 27 3a 0a 20 | cas|e ' ':. |
|00002f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 | | ca|
|00002f90| 73 65 20 30 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |se 0:. | |
|00002fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 20 3d | | c =|
|00002fb0| 20 27 20 27 3b 0a 20 20 | 20 20 20 20 20 20 20 20 | ' ';. | |
|00002fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 72 65 | | bre|
|00002fd0| 61 6b 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ak;. | |
|00002fe0| 20 20 20 63 61 73 65 20 | 27 72 27 3a 0a 20 20 20 | case |'r':. |
|00002ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 73 65 | | case|
|00003000| 20 27 52 27 3a 0a 20 20 | 20 20 20 20 20 20 20 20 | 'R':. | |
|00003010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 20 7c | | c ||
|00003020| 3d 20 30 32 30 30 3b 0a | 20 20 20 20 20 20 20 20 |= 0200;.| |
|00003030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 | | b|
|00003040| 72 65 61 6b 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |reak;. | |
|00003050| 20 20 20 20 20 7d 0a 20 | 20 20 20 20 20 20 20 20 | }. | |
|00003060| 20 20 20 20 20 20 73 5b | 69 5d 20 3d 20 63 3b 0a | s[|i] = c;.|
|00003070| 20 20 20 20 20 20 20 7d | 0a 7d 0a 63 68 61 72 20 | }|.}.char |
|00003080| 2a 75 74 6e 61 6d 65 5b | 5d 20 3d 20 7b 0a 20 20 |*utname[|] = {. |
|00003090| 20 20 20 20 20 22 50 72 | 6f 6d 70 74 20 6c 69 6e | "Pr|ompt lin|
|000030a0| 65 22 2c 0a 20 20 20 20 | 20 20 20 22 43 6f 6d 6d |e",. | "Comm|
|000030b0| 61 6e 64 20 6c 69 6e 65 | 22 2c 0a 20 20 20 20 20 |and line|",. |
|000030c0| 20 20 22 4c 61 62 65 6c | 22 2c 0a 20 20 20 20 20 | "Label|",. |
|000030d0| 20 20 22 55 73 65 72 22 | 2c 0a 20 20 20 20 20 20 | "User"|,. |
|000030e0| 20 22 53 4c 4b 31 22 2c | 0a 20 20 20 20 20 20 20 | "SLK1",|. |
|000030f0| 22 53 4c 4b 32 22 2c 0a | 7d 3b 0a 72 65 70 6f 72 |"SLK2",.|};.repor|
|00003100| 74 28 73 29 0a 63 68 61 | 72 20 2a 73 3b 0a 7b 0a |t(s).cha|r *s;.{.|
|00003110| 20 20 20 20 20 20 20 73 | 74 72 75 63 74 20 75 77 | s|truct uw|
|00003120| 64 61 74 61 20 75 77 3b | 0a 20 20 20 20 20 20 20 |data uw;|. |
|00003130| 73 74 72 75 63 74 20 75 | 74 64 61 74 61 20 75 74 |struct u|tdata ut|
|00003140| 3b 0a 20 20 20 20 20 20 | 20 69 6e 74 20 69 3b 0a |;. | int i;.|
|00003150| 0a 20 20 20 20 20 20 20 | 70 72 69 6e 74 66 28 22 |. |printf("|
|00003160| 25 73 3a 20 20 22 2c 20 | 73 29 3b 0a 20 20 20 20 |%s: ", |s);. |
|00003170| 20 20 20 69 6f 63 74 6c | 28 30 2c 20 57 49 4f 43 | ioctl|(0, WIOC|
|00003180| 47 45 54 44 2c 20 26 75 | 77 29 3b 0a 20 20 20 20 |GETD, &u|w);. |
|00003190| 20 20 20 75 77 73 68 6f | 77 28 26 75 77 2c 20 28 | uwsho|w(&uw, (|
|000031a0| 63 68 61 72 20 2a 29 30 | 29 3b 0a 0a 20 20 20 20 |char *)0|);.. |
|000031b0| 20 20 20 66 6f 72 28 69 | 3d 30 3b 20 69 3c 57 54 | for(i|=0; i<WT|
|000031c0| 58 54 4e 55 4d 3b 20 69 | 2b 2b 29 20 7b 0a 20 20 |XTNUM; i|++) {. |
|000031d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 75 74 2e | | ut.|
|000031e0| 75 74 5f 6e 75 6d 20 3d | 20 69 3b 0a 20 20 20 20 |ut_num =| i;. |
|000031f0| 20 20 20 20 20 20 20 20 | 20 20 20 69 6f 63 74 6c | | ioctl|
|00003200| 28 30 2c 20 57 49 4f 43 | 47 45 54 54 45 58 54 2c |(0, WIOC|GETTEXT,|
|00003210| 20 26 75 74 29 3b 0a 20 | 20 20 20 20 20 20 20 20 | &ut);. | |
|00003220| 20 20 20 20 20 20 69 66 | 28 75 74 2e 75 74 5f 74 | if|(ut.ut_t|
|00003230| 65 78 74 5b 30 5d 29 20 | 7b 0a 20 20 20 20 20 20 |ext[0]) |{. |
|00003240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003250| 20 70 72 69 6e 74 66 28 | 22 25 73 3d 3c 25 2e 38 | printf(|"%s=<%.8|
|00003260| 31 73 3e 5c 6e 22 2c 20 | 75 74 6e 61 6d 65 5b 69 |1s>\n", |utname[i|
|00003270| 5d 2c 20 75 74 2e 75 74 | 5f 74 65 78 74 29 3b 0a |], ut.ut|_text);.|
|00003280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | | }|
|00003290| 0a 20 20 20 20 20 20 20 | 7d 0a 7d 0a 75 77 73 68 |. |}.}.uwsh|
|000032a0| 6f 77 28 70 2c 20 73 29 | 0a 73 74 72 75 63 74 20 |ow(p, s)|.struct |
|000032b0| 75 77 64 61 74 61 20 2a | 70 3b 0a 63 68 61 72 20 |uwdata *|p;.char |
|000032c0| 2a 73 3b 0a 7b 0a 20 20 | 20 20 20 20 20 70 72 69 |*s;.{. | pri|
|000032d0| 6e 74 66 28 22 28 78 2c | 79 29 3d 28 25 64 2c 25 |ntf("(x,|y)=(%d,%|
|000032e0| 64 29 20 20 22 2c 20 70 | 2d 3e 75 77 5f 78 2c 20 |d) ", p|->uw_x, |
|000032f0| 70 2d 3e 75 77 5f 79 29 | 3b 0a 20 20 20 20 20 20 |p->uw_y)|;. |
|00003300| 20 70 72 69 6e 74 66 28 | 22 28 77 69 64 74 68 2c | printf(|"(width,|
|00003310| 68 65 69 67 68 74 29 3d | 28 25 64 2c 25 64 29 20 |height)=|(%d,%d) |
|00003320| 20 22 2c 20 70 2d 3e 75 | 77 5f 77 69 64 74 68 2c | ", p->u|w_width,|
|00003330| 20 70 2d 3e 75 77 5f 68 | 65 69 67 68 74 29 3b 0a | p->uw_h|eight);.|
|00003340| 20 20 20 20 20 20 20 70 | 72 69 6e 74 66 28 22 66 | p|rintf("f|
|00003350| 6c 61 67 73 3d 25 78 5c | 6e 20 20 22 2c 20 70 2d |lags=%x\|n ", p-|
|00003360| 3e 75 77 5f 75 66 6c 61 | 67 73 29 3b 0a 20 20 20 |>uw_ufla|gs);. |
|00003370| 20 20 20 20 70 72 69 6e | 74 66 28 22 28 68 73 2c | prin|tf("(hs,|
|00003380| 76 73 29 3d 28 25 64 2c | 20 25 64 29 5b 52 4f 5d |vs)=(%d,| %d)[RO]|
|00003390| 20 20 22 2c 20 70 2d 3e | 75 77 5f 68 73 2c 20 70 | ", p->|uw_hs, p|
|000033a0| 2d 3e 75 77 5f 76 73 29 | 3b 0a 20 20 20 20 20 20 |->uw_vs)|;. |
|000033b0| 20 70 72 69 6e 74 66 28 | 22 62 61 73 65 6c 69 6e | printf(|"baselin|
|000033c0| 65 3d 25 64 5b 52 4f 5d | 20 20 22 2c 20 70 2d 3e |e=%d[RO]| ", p->|
|000033d0| 75 77 5f 62 61 73 65 6c | 69 6e 65 29 3b 0a 20 20 |uw_basel|ine);. |
|000033e0| 20 20 20 20 20 70 72 69 | 6e 74 66 28 22 28 63 78 | pri|ntf("(cx|
|000033f0| 2c 63 79 29 3d 28 25 64 | 2c 20 25 64 29 5b 52 4f |,cy)=(%d|, %d)[RO|
|00003400| 5d 5c 6e 22 2c 20 70 2d | 3e 75 77 5f 63 78 2c 20 |]\n", p-|>uw_cx, |
|00003410| 70 2d 3e 75 77 5f 63 79 | 29 3b 0a 7d 0a 68 74 6f |p->uw_cy|);.}.hto|
|00003420| 69 28 73 29 0a 63 68 61 | 72 20 2a 73 3b 0a 7b 0a |i(s).cha|r *s;.{.|
|00003430| 20 20 20 20 20 20 20 69 | 6e 74 20 78 20 3d 20 4e | i|nt x = N|
|00003440| 41 3b 0a 0a 20 20 20 20 | 20 20 20 73 73 63 61 6e |A;.. | sscan|
|00003450| 66 28 73 2c 20 22 25 78 | 22 2c 20 26 78 29 3b 0a |f(s, "%x|", &x);.|
|00003460| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 20 78 3b | r|eturn x;|
|00003470| 0a 7d 0a 0a 0a 73 74 61 | 72 74 75 70 28 69 66 69 |.}...sta|rtup(ifi|
|00003480| 2c 61 72 67 76 29 0a 69 | 6e 74 20 69 66 69 3b 0a |,argv).i|nt ifi;.|
|00003490| 63 68 61 72 20 2a 61 72 | 67 76 3b 0a 7b 0a 20 20 |char *ar|gv;.{. |
|000034a0| 20 63 68 61 72 20 63 61 | 76 6e 61 6d 65 5b 32 35 | char ca|vname[25|
|000034b0| 36 5d 2c 61 76 6e 61 6d | 65 5b 32 35 36 5d 2c 2a |6],avnam|e[256],*|
|000034c0| 73 79 3b 0a 0a 20 20 20 | 77 68 69 6c 65 20 28 20 |sy;.. |while ( |
|000034d0| 66 67 65 74 73 28 61 76 | 6e 61 6d 65 2c 32 35 36 |fgets(av|name,256|
|000034e0| 2c 69 66 69 29 20 21 3d | 20 30 20 29 20 7b 0a 20 |,ifi) !=| 0 ) {. |
|000034f0| 20 20 20 20 20 63 61 76 | 6e 61 6d 65 5b 30 5d 20 | cav|name[0] |
|00003500| 3d 30 3b 0a 20 20 20 20 | 20 20 73 74 72 63 61 74 |=0;. | strcat|
|00003510| 28 63 61 76 6e 61 6d 65 | 2c 61 76 6e 61 6d 65 29 |(cavname|,avname)|
|00003520| 3b 0a 20 20 20 20 20 20 | 73 79 20 3d 20 28 63 68 |;. |sy = (ch|
|00003530| 61 72 20 2a 29 20 73 74 | 72 74 6f 6b 28 61 76 6e |ar *) st|rtok(avn|
|00003540| 61 6d 65 2c 22 20 22 29 | 3b 0a 20 20 20 20 20 20 |ame," ")|;. |
|00003550| 69 66 20 28 20 73 79 5b | 30 5d 20 21 3d 20 30 20 |if ( sy[|0] != 0 |
|00003560| 29 0a 20 20 20 20 20 20 | 69 66 20 28 20 73 74 72 |). |if ( str|
|00003570| 6e 63 6d 70 28 73 79 2c | 22 33 62 31 74 6f 6f 6c |ncmp(sy,|"3b1tool|
|00003580| 73 22 2c 35 29 20 20 21 | 3d 30 20 29 20 7b 0a 20 |s",5) !|=0 ) {. |
|00003590| 20 20 20 20 20 61 76 6e | 61 6d 65 5b 30 5d 20 3d | avn|ame[0] =|
|000035a0| 30 3b 0a 20 20 20 20 20 | 20 73 74 72 63 61 74 28 |0;. | strcat(|
|000035b0| 61 76 6e 61 6d 65 2c 63 | 61 76 6e 61 6d 65 29 3b |avname,c|avname);|
|000035c0| 0a 20 20 20 20 20 20 73 | 74 72 63 70 79 28 63 61 |. s|trcpy(ca|
|000035d0| 76 6e 61 6d 65 20 2c 20 | 22 33 62 31 74 6f 6f 6c |vname , |"3b1tool|
|000035e0| 73 20 2d 62 20 22 29 3b | 20 0a 20 20 20 20 20 20 |s -b ");| . |
|000035f0| 73 74 72 63 61 74 28 63 | 61 76 6e 61 6d 65 2c 61 |strcat(c|avname,a|
|00003600| 76 6e 61 6d 65 29 3b 0a | 20 20 20 20 20 20 73 79 |vname);.| sy|
|00003610| 73 74 65 6d 28 63 61 76 | 6e 61 6d 65 29 3b 7d 20 |stem(cav|name);} |
|00003620| 65 6c 73 65 7b 0a 20 20 | 20 20 20 20 70 72 69 6e |else{. | prin|
|00003630| 74 66 28 22 33 62 31 74 | 6f 6f 6c 73 3a 20 65 72 |tf("3b1t|ools: er|
|00003640| 72 6f 72 20 69 6e 20 2e | 33 62 31 74 6f 6f 6c 20 |ror in .|3b1tool |
|00003650| 66 69 6c 65 5c 6e 22 29 | 3b 0a 20 20 20 20 20 20 |file\n")|;. |
|00003660| 70 72 69 6e 74 66 28 22 | 33 62 31 74 6f 6f 6c 73 |printf("|3b1tools|
|00003670| 3a 20 69 6e 20 25 73 5c | 6e 22 2c 61 76 6e 61 6d |: in %s\|n",avnam|
|00003680| 65 29 3b 0a 20 20 20 20 | 20 20 70 72 69 6e 74 66 |e);. | printf|
|00003690| 28 22 33 62 31 74 6f 6f | 6c 73 3a 20 6f 6e 6c 79 |("3b1too|ls: only|
|000036a0| 20 61 72 67 75 6d 65 6e | 74 73 20 74 6f 20 33 62 | argumen|ts to 3b|
|000036b0| 31 74 6f 6f 6c 73 20 61 | 72 65 20 73 70 65 63 69 |1tools a|re speci|
|000036c0| 66 69 65 64 5c 6e 22 29 | 3b 7d 7d 0a 20 20 20 63 |fied\n")|;}}. c|
|000036d0| 6c 6f 73 65 28 69 66 69 | 29 3b 0a 7d 0a 00 00 00 |lose(ifi|);.}....|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003800| 33 62 31 74 6f 6f 6c 73 | 2f 33 62 31 74 6f 6f 6c |3b1tools|/3b1tool|
|00003810| 73 2e 64 6f 63 00 00 00 | 00 00 00 00 00 00 00 00 |s.doc...|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00003870| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00003880| 20 20 31 36 30 31 33 20 | 20 34 34 30 34 31 31 31 | 16013 | 4404111|
|00003890| 31 32 33 20 20 20 37 37 | 31 33 00 20 00 00 00 00 |123 77|13. ....|
|000038a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 0a 0a 0a 0a 33 62 31 74 | 6f 6f 6c 73 20 20 20 20 |....3b1t|ools |
|00003a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a20| 20 31 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | 1 | |
|00003a30| 20 20 20 20 20 20 20 20 | 20 20 20 64 72 61 66 74 | | draft|
|00003a40| 0a 0a 0a 4e 61 6d 65 3a | 20 20 20 33 62 31 74 6f |...Name:| 3b1to|
|00003a50| 6f 6c 73 20 2d 20 20 41 | 20 55 6e 69 78 2d 70 63 |ols - A| Unix-pc|
|00003a60| 20 77 69 6e 64 6f 77 69 | 6e 67 20 65 6e 76 69 72 | windowi|ng envir|
|00003a70| 6f 6e 6d 65 6e 74 20 61 | 6e 64 20 69 6d 61 67 65 |onment a|nd image|
|00003a80| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003a90| 20 20 20 20 20 20 64 69 | 73 70 6c 61 79 20 74 6f | di|splay to|
|00003aa0| 6f 6c 2e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ol.. | |
|00003ab0| 20 20 20 20 20 20 20 20 | 20 43 6f 70 79 72 69 67 | | Copyrig|
|00003ac0| 68 74 20 28 63 29 20 31 | 39 38 38 20 62 79 20 4d |ht (c) 1|988 by M|
|00003ad0| 75 68 61 6d 6d 61 64 20 | 53 2e 20 42 65 6e 74 65 |uhammad |S. Bente|
|00003ae0| 6e 2e 0a 0a 41 75 74 68 | 6f 72 3a 20 4d 75 68 61 |n...Auth|or: Muha|
|00003af0| 6d 6d 61 64 20 53 2e 20 | 42 65 6e 74 65 6e 0a 20 |mmad S. |Benten. |
|00003b00| 20 20 20 20 20 20 20 55 | 6e 69 76 65 72 73 69 74 | U|niversit|
|00003b10| 79 20 4f 66 20 43 6f 6c | 6f 72 61 64 6f 0a 20 20 |y Of Col|orado. |
|00003b20| 20 20 20 20 20 20 45 6c | 65 63 74 72 69 63 61 6c | El|ectrical|
|00003b30| 20 26 20 43 6f 6d 70 75 | 74 65 72 20 45 6e 67 69 | & Compu|ter Engi|
|00003b40| 6e 65 65 72 69 6e 67 0a | 20 20 20 20 20 20 20 20 |neering.| |
|00003b50| 42 6f 75 6c 64 65 72 2c | 20 43 6f 20 38 30 33 30 |Boulder,| Co 8030|
|00003b60| 39 0a 0a 55 73 61 67 65 | 3a 20 20 33 62 31 74 6f |9..Usage|: 3b1to|
|00003b70| 6f 6c 73 20 5b 2d 62 5d | 20 5b 2d 53 5d 20 5b 2d |ols [-b]| [-S] [-|
|00003b80| 6f 5d 20 5b 2d 49 20 3c | 69 63 6f 6e 3e 5d 20 20 |o] [-I <|icon>] |
|00003b90| 5b 2d 52 5d 20 5b 2d 54 | 5d 20 5b 2d 58 20 6e 6e |[-R] [-T|] [-X nn|
|00003ba0| 6e 5d 20 5b 2d 59 20 6e | 6e 6e 5d 0a 20 20 20 20 |n] [-Y n|nn]. |
|00003bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 5b 2d 48 20 | | [-H |
|00003bc0| 6e 6e 6e 5d 20 20 5b 2d | 57 20 6e 6e 6e 5d 20 5b |nnn] [-|W nnn] [|
|00003bd0| 2d 78 20 6e 6e 6e 5d 20 | 5b 2d 79 20 6e 6e 6e 5d |-x nnn] |[-y nnn]|
|00003be0| 20 5b 2d 68 20 6e 6e 6e | 5d 20 5b 2d 77 20 6e 6e | [-h nnn|] [-w nn|
|00003bf0| 6e 5d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n]. | |
|00003c00| 20 20 20 5b 2d 6e 20 3c | 73 74 72 69 6e 67 3e 5d | [-n <|string>]|
|00003c10| 20 20 5b 2d 31 20 3c 73 | 74 72 69 6e 67 3e 5d 20 | [-1 <s|tring>] |
|00003c20| 5b 2d 32 20 3c 73 74 72 | 69 6e 67 3e 5d 20 5b 2d |[-2 <str|ing>] [-|
|00003c30| 70 20 3c 73 74 72 69 6e | 67 3e 5d 0a 20 20 20 20 |p <strin|g>]. |
|00003c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 5b 2d 63 20 | | [-c |
|00003c50| 3c 73 74 72 69 6e 67 3e | 5d 20 20 5b 2d 66 20 3c |<string>|] [-f <|
|00003c60| 68 65 78 3e 5d 20 20 5b | 2d 6c 20 3c 73 74 72 69 |hex>] [|-l <stri|
|00003c70| 6e 67 3e 5d 20 20 5b 2d | 4b 20 3c 73 74 72 69 6e |ng>] [-|K <strin|
|00003c80| 67 3e 5d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |g>]. | |
|00003c90| 20 20 20 20 5b 20 3c 63 | 6f 6d 6d 61 6e 64 3e 20 | [ <c|ommand> |
|00003ca0| 5b 20 3c 61 72 67 75 6d | 65 6e 74 73 3e 5d 5d 0a |[ <argum|ents>]].|
|00003cb0| 0a 44 65 73 63 72 69 70 | 74 69 6f 6e 3a 0a 20 20 |.Descrip|tion:. |
|00003cc0| 20 20 20 20 20 20 20 33 | 62 31 74 6f 6f 6c 73 20 | 3|b1tools |
|00003cd0| 69 73 20 61 20 67 65 6e | 65 72 61 6c 20 70 75 72 |is a gen|eral pur|
|00003ce0| 70 6f 73 65 20 77 69 6e | 64 6f 77 69 6e 67 20 70 |pose win|dowing p|
|00003cf0| 72 6f 67 72 61 6d 20 64 | 65 73 69 67 6e 65 64 0a |rogram d|esigned.|
|00003d00| 20 20 20 20 20 20 20 20 | 20 74 6f 20 75 74 69 6c | | to util|
|00003d10| 69 7a 65 20 74 68 65 20 | 63 61 70 61 62 69 6c 69 |ize the |capabili|
|00003d20| 74 69 65 73 20 6f 66 20 | 74 68 65 20 55 6e 69 78 |ties of |the Unix|
|00003d30| 2d 70 63 2e 20 49 74 20 | 72 65 70 6c 61 63 65 73 |-pc. It |replaces|
|00003d40| 20 74 68 65 0a 20 20 20 | 20 20 20 20 20 20 66 75 | the. | fu|
|00003d50| 6e 63 74 69 6f 6e 61 6c | 69 74 79 20 6f 66 20 74 |nctional|ity of t|
|00003d60| 68 65 20 70 72 6f 67 72 | 61 6d 20 22 77 69 6e 64 |he progr|am "wind|
|00003d70| 79 22 2c 20 61 6e 64 20 | 63 61 6e 20 61 6c 73 6f |y", and |can also|
|00003d80| 20 62 65 20 75 73 65 64 | 20 61 73 0a 20 20 20 20 | be used| as. |
|00003d90| 20 20 20 20 20 61 20 67 | 65 6e 65 72 61 6c 20 70 | a g|eneral p|
|00003da0| 75 72 70 6f 73 65 20 69 | 6d 61 67 65 20 61 6e 64 |urpose i|mage and|
|00003db0| 20 69 63 6f 6e 20 64 69 | 73 70 6c 61 79 20 74 6f | icon di|splay to|
|00003dc0| 6f 6c 2e 20 54 68 65 20 | 62 6f 72 64 65 72 73 20 |ol. The |borders |
|00003dd0| 6f 66 20 0a 20 20 20 20 | 20 20 20 20 20 61 20 64 |of . | a d|
|00003de0| 69 73 70 6c 61 79 65 64 | 20 69 63 6f 6e 2c 20 63 |isplayed| icon, c|
|00003df0| 61 6e 20 62 65 20 74 6f | 67 67 6c 65 64 20 6f 6e |an be to|ggled on|
|00003e00| 2f 6f 66 66 20 62 79 20 | 74 68 65 20 6d 69 64 64 |/off by |the midd|
|00003e10| 6c 65 20 6d 6f 75 73 65 | 20 62 75 74 74 6f 6e 2c |le mouse| button,|
|00003e20| 0a 20 20 20 20 20 20 20 | 20 20 42 32 2e 20 49 74 |. | B2. It|
|00003e30| 20 63 61 6e 20 61 6c 73 | 6f 20 62 65 20 74 6f 67 | can als|o be tog|
|00003e40| 67 6c 65 64 20 62 79 20 | 74 68 65 20 66 75 6e 63 |gled by |the func|
|00003e50| 74 69 6f 6e 20 6b 65 79 | 73 20 46 32 20 6f 72 20 |tion key|s F2 or |
|00003e60| 46 37 2e 20 59 6f 75 0a | 20 20 20 20 20 20 20 20 |F7. You.| |
|00003e70| 20 63 61 6e 20 6f 70 65 | 6e 20 61 6e 20 69 63 6f | can ope|n an ico|
|00003e80| 6e 20 62 79 20 75 73 69 | 6e 67 20 74 68 65 20 6c |n by usi|ng the l|
|00003e90| 65 66 74 20 6d 6f 75 73 | 65 20 62 75 74 74 6f 6e |eft mous|e button|
|00003ea0| 20 42 31 2c 20 6f 72 20 | 75 73 69 6e 67 0a 20 20 | B1, or |using. |
|00003eb0| 20 20 20 20 20 20 20 74 | 68 65 20 66 75 6e 63 74 | t|he funct|
|00003ec0| 69 6f 6e 73 20 6b 65 79 | 73 20 46 31 20 6f 72 20 |ions key|s F1 or |
|00003ed0| 46 36 2e 20 54 6f 20 65 | 78 69 74 20 61 6e 64 20 |F6. To e|xit and |
|00003ee0| 64 65 73 74 72 6f 79 20 | 61 6e 20 69 63 6f 6e 2c |destroy |an icon,|
|00003ef0| 20 79 6f 75 0a 20 20 20 | 20 20 20 20 20 20 63 61 | you. | ca|
|00003f00| 6e 20 75 73 65 20 74 68 | 65 20 72 69 67 68 74 20 |n use th|e right |
|00003f10| 6d 6f 75 73 65 20 62 75 | 74 74 6f 6e 20 42 33 2c |mouse bu|tton B3,|
|00003f20| 20 6f 72 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | or the |function|
|00003f30| 20 6b 65 79 73 2c 20 46 | 33 20 6f 72 20 46 38 2e | keys, F|3 or F8.|
|00003f40| 0a 20 20 20 20 20 20 20 | 20 20 41 20 63 6f 6e 66 |. | A conf|
|00003f50| 69 72 6d 61 74 69 6f 6e | 20 77 69 6c 6c 20 62 65 |irmation| will be|
|00003f60| 20 72 65 71 75 65 73 74 | 65 64 20 77 68 65 6e 20 | request|ed when |
|00003f70| 79 6f 75 20 64 65 73 74 | 72 79 20 61 6e 20 69 63 |you dest|ry an ic|
|00003f80| 6f 6e 2e 0a 20 20 20 20 | 20 20 20 20 20 49 63 6f |on.. | Ico|
|00003f90| 6e 73 20 64 69 73 70 6c | 61 79 65 64 20 75 73 69 |ns displ|ayed usi|
|00003fa0| 6e 67 20 33 62 31 74 6f | 6f 6c 73 20 63 61 6e 20 |ng 3b1to|ols can |
|00003fb0| 62 65 20 73 63 72 6f 6c | 6c 65 64 20 75 70 2c 20 |be scrol|led up, |
|00003fc0| 64 6f 77 6e 2c 0a 20 20 | 20 20 20 20 20 20 20 6c |down,. | l|
|00003fd0| 65 66 74 20 61 6e 64 20 | 72 69 67 68 74 20 75 73 |eft and |right us|
|00003fe0| 69 6e 67 20 74 68 65 20 | 73 63 72 6f 6c 6c 20 69 |ing the |scroll i|
|00003ff0| 6e 64 69 63 61 74 6f 72 | 73 20 6f 6e 20 74 68 65 |ndicator|s on the|
|00004000| 20 69 63 6f 6e 20 62 6f | 72 64 65 72 73 2e 0a 20 | icon bo|rders.. |
|00004010| 20 20 20 20 20 20 20 20 | 54 68 65 20 73 69 7a 65 | |The size|
|00004020| 20 6f 66 20 74 68 65 20 | 69 63 6f 6e 20 63 61 6e | of the |icon can|
|00004030| 20 61 6c 73 6f 20 62 65 | 20 63 6f 6e 74 72 6f 6c | also be| control|
|00004040| 6c 65 64 20 62 79 20 74 | 68 65 20 75 73 65 72 20 |led by t|he user |
|00004050| 74 68 72 6f 75 67 68 0a | 20 20 20 20 20 20 20 20 |through.| |
|00004060| 20 74 68 65 20 2d 58 20 | 61 6e 64 20 2d 59 20 6f | the -X |and -Y o|
|00004070| 70 74 69 6f 6e 73 20 2e | 20 20 41 20 63 6c 6f 73 |ptions .| A clos|
|00004080| 65 64 20 69 63 6f 6e 20 | 69 73 20 65 69 74 68 65 |ed icon |is eithe|
|00004090| 72 20 69 64 6c 65 0a 20 | 20 20 20 20 20 20 20 20 |r idle. | |
|000040a0| 6f 72 20 73 74 6f 70 70 | 65 64 2e 20 20 41 20 73 |or stopp|ed. A s|
|000040b0| 74 6f 70 70 65 64 20 69 | 63 6f 6e 20 63 61 6e 20 |topped i|con can |
|000040c0| 62 65 20 72 65 73 75 6d | 65 64 20 62 79 20 74 68 |be resum|ed by th|
|000040d0| 65 20 66 75 6e 63 74 69 | 6f 6e 20 6b 65 79 0a 20 |e functi|on key. |
|000040e0| 20 20 20 20 20 20 20 20 | 46 31 20 69 6e 20 77 68 | |F1 in wh|
|000040f0| 69 63 68 20 63 61 73 65 | 20 74 68 65 20 73 63 72 |ich case| the scr|
|00004100| 65 65 6e 20 77 6f 75 6c | 64 20 62 65 20 72 65 73 |een woul|d be res|
|00004110| 74 6f 72 65 64 20 61 6e | 64 20 65 78 65 63 75 74 |tored an|d execut|
|00004120| 69 6f 6e 20 6f 66 0a 20 | 20 20 20 20 20 20 20 20 |ion of. | |
|00004130| 74 68 65 20 73 74 6f 70 | 70 65 64 20 63 6f 6d 6d |the stop|ped comm|
|00004140| 61 6e 64 20 63 6f 6e 74 | 69 6e 75 65 73 2e 20 20 |and cont|inues. |
|00004150| 4f 70 65 6e 69 6e 67 20 | 61 6e 20 69 64 6c 65 20 |Opening |an idle |
|00004160| 69 63 6f 6e 20 77 6f 75 | 6c 64 0a 20 20 20 20 20 |icon wou|ld. |
|00004170| 20 20 20 20 72 65 73 74 | 6f 72 65 20 74 68 65 20 | rest|ore the |
|00004180| 73 63 72 65 65 6e 20 74 | 6f 20 69 74 73 20 6c 61 |screen t|o its la|
|00004190| 73 74 20 73 74 61 74 65 | 20 62 65 66 6f 72 65 20 |st state| before |
|000041a0| 74 68 65 20 69 63 6f 6e | 20 77 61 73 0a 20 20 20 |the icon| was. |
|000041b0| 20 20 20 20 20 20 65 69 | 74 68 65 72 20 63 72 65 | ei|ther cre|
|000041c0| 61 74 65 64 20 6f 72 20 | 63 6c 6f 73 65 64 20 61 |ated or |closed a|
|000041d0| 6e 64 20 74 68 65 20 65 | 78 65 63 75 74 69 6f 6e |nd the e|xecution|
|000041e0| 20 6f 66 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 0a | of the |command.|
|000041f0| 20 20 20 20 20 20 20 20 | 20 61 72 67 75 6d 65 6e | | argumen|
|00004200| 74 20 69 73 20 61 74 74 | 65 6d 70 74 65 64 2e 20 |t is att|empted. |
|00004210| 20 54 68 69 73 20 65 78 | 65 63 75 74 69 6f 6e 20 | This ex|ecution |
|00004220| 63 61 6e 20 62 65 20 73 | 74 6f 70 70 65 64 20 61 |can be s|topped a|
|00004230| 74 20 61 6e 79 0a 20 20 | 20 20 20 20 20 20 20 70 |t any. | p|
|00004240| 6f 69 6e 74 20 62 79 20 | 74 68 65 20 73 74 6f 70 |oint by |the stop|
|00004250| 20 6b 65 79 20 28 20 43 | 54 52 4c 2d 5a 20 29 2e | key ( C|TRL-Z ).|
|00004260| 20 49 6e 20 74 68 69 73 | 20 63 61 73 65 20 74 68 | In this| case th|
|00004270| 65 20 65 78 65 63 75 74 | 69 6f 6e 0a 20 20 20 20 |e execut|ion. |
|00004280| 20 20 20 20 20 6f 66 20 | 74 68 65 20 63 6f 6d 6d | of |the comm|
|00004290| 61 6e 64 20 77 6f 75 6c | 64 20 73 74 6f 70 20 61 |and woul|d stop a|
|000042a0| 6e 64 20 74 68 65 20 69 | 63 6f 6e 20 77 69 6c 6c |nd the i|con will|
|000042b0| 20 63 6c 6f 73 65 20 69 | 6e 20 61 20 73 74 6f 70 | close i|n a stop|
|000042c0| 70 65 64 0a 20 20 20 20 | 20 20 20 20 20 73 74 61 |ped. | sta|
|000042d0| 74 65 2e 0a 20 20 20 20 | 20 20 20 20 20 0a 0a 20 |te.. | .. |
|000042e0| 20 20 20 20 20 20 20 20 | 54 68 65 72 65 20 61 72 | |There ar|
|000042f0| 65 20 66 69 76 65 20 6d | 6f 64 65 73 20 6f 66 20 |e five m|odes of |
|00004300| 6f 70 65 72 61 74 69 6f | 6e 20 69 6e 20 33 62 31 |operatio|n in 3b1|
|00004310| 74 6f 6f 6c 73 20 77 68 | 69 63 68 20 63 61 6e 20 |tools wh|ich can |
|00004320| 62 65 20 73 70 65 63 69 | 66 69 65 64 20 0a 20 20 |be speci|fied . |
|00004330| 20 20 20 20 20 20 20 62 | 79 20 74 68 65 20 6f 70 | b|y the op|
|00004340| 74 69 6f 6e 73 20 75 73 | 65 64 20 74 6f 20 69 6e |tions us|ed to in|
|00004350| 76 6f 6b 65 20 33 62 31 | 74 6f 6f 6c 73 2e 20 20 |voke 3b1|tools. |
|00004360| 54 68 65 73 65 20 6d 6f | 64 65 73 20 61 72 65 3a |These mo|des are:|
|00004370| 0a 0a 0a 20 20 20 20 20 | 6d 6f 64 65 2d 31 3a 20 |... |mode-1: |
|00004380| 20 6e 6f 20 63 6f 6d 6d | 61 6e 64 20 61 72 67 75 | no comm|and argu|
|00004390| 6d 65 6e 74 20 61 6e 64 | 20 6e 6f 20 2d 62 20 6f |ment and| no -b o|
|000043a0| 70 74 69 6f 6e 0a 0a 20 | 20 20 20 20 20 20 20 20 |ption.. | |
|000043b0| 49 6e 20 74 68 69 73 20 | 6d 6f 64 65 2c 20 33 62 |In this |mode, 3b|
|000043c0| 31 74 6f 6f 6c 73 20 77 | 69 6c 6c 20 63 6c 6f 73 |1tools w|ill clos|
|000043d0| 65 20 74 68 65 20 69 6e | 76 6f 6b 69 6e 67 20 77 |e the in|voking w|
|000043e0| 69 6e 64 6f 77 20 73 61 | 76 69 6e 67 0a 20 20 20 |indow sa|ving. |
|000043f0| 20 20 20 20 20 20 69 74 | 73 20 63 6f 6e 74 65 6e | it|s conten|
|00004400| 74 73 20 61 6e 64 20 64 | 69 73 70 6c 61 79 20 61 |ts and d|isplay a|
|00004410| 6e 20 69 63 6f 6e 20 61 | 73 20 73 70 65 63 69 66 |n icon a|s specif|
|00004420| 69 65 64 20 62 79 20 74 | 68 65 20 20 2d 49 0a 20 |ied by t|he -I. |
|00004430| 20 20 20 20 20 20 20 20 | 6f 70 74 69 6f 6e 2e 20 | |option. |
|00004440| 49 74 20 77 69 6c 6c 20 | 64 69 73 70 6c 61 79 20 |It will |display |
|00004450| 61 20 64 65 66 61 75 6c | 74 20 69 63 6f 6e 20 69 |a defaul|t icon i|
|00004460| 66 20 6e 6f 20 69 63 6f | 6e 20 69 73 20 73 70 65 |f no ico|n is spe|
|00004470| 63 66 69 65 64 2e 0a 20 | 20 20 20 20 20 20 20 20 |cfied.. | |
|00004480| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 65 20 2d 53 |Note tha|t the -S|
|00004490| 20 6f 70 74 69 6f 6e 20 | 6d 75 73 74 20 62 65 20 | option |must be |
|000044a0| 73 70 65 63 69 66 69 65 | 64 20 69 66 20 6e 6f 20 |specifie|d if no |
|000044b0| 61 72 67 75 6d 65 6e 74 | 20 69 73 0a 20 20 20 20 |argument| is. |
|000044c0| 20 20 20 20 20 67 69 76 | 65 6e 20 74 6f 20 33 62 | giv|en to 3b|
|000044d0| 31 74 6f 6f 6c 73 2e 0a | 20 20 20 20 20 20 20 20 |1tools..| |
|000044e0| 20 45 78 61 6d 70 6c 65 | 3a 0a 0a 20 20 20 20 20 | Example|:.. |
|000044f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 33 62 31 74 | | 3b1t|
|00004500| 6f 6f 6c 73 20 20 2d 49 | 20 67 69 72 6c 73 0a 0a |ools -I| girls..|
|00004510| 0a 20 20 20 20 20 6d 6f | 64 65 2d 32 3a 20 20 6e |. mo|de-2: n|
|00004520| 6f 20 2d 62 20 6f 70 74 | 69 6f 6e 20 62 75 74 20 |o -b opt|ion but |
|00004530| 61 20 63 6f 6d 6d 61 6e | 64 20 61 6e 64 20 69 74 |a comman|d and it|
|00004540| 73 20 61 72 67 75 6d 65 | 6e 74 73 20 61 72 65 20 |s argume|nts are |
|00004550| 73 75 70 70 6c 69 65 64 | 0a 0a 20 20 20 20 20 20 |supplied|.. |
|00004560| 20 20 20 49 6e 20 74 68 | 69 73 20 6d 6f 64 65 2c | In th|is mode,|
|00004570| 20 33 62 31 74 6f 6f 6c | 73 20 77 69 6c 6c 20 63 | 3b1tool|s will c|
|00004580| 6c 6f 73 65 20 74 68 65 | 20 69 6e 76 6f 6b 69 6e |lose the| invokin|
|00004590| 67 20 77 69 6e 64 6f 77 | 20 73 61 76 69 6e 67 0a |g window| saving.|
|000045a0| 20 20 20 20 20 20 20 20 | 20 69 74 73 20 63 6f 6e | | its con|
|000045b0| 74 65 6e 74 73 20 61 6e | 64 20 64 69 73 70 6c 61 |tents an|d displa|
|000045c0| 79 20 61 6e 20 69 63 6f | 6e 20 61 73 20 73 70 65 |y an ico|n as spe|
|000045d0| 63 69 66 69 65 64 20 62 | 79 20 74 68 65 20 20 2d |cified b|y the -|
|000045e0| 49 20 6f 70 74 69 6f 6e | 2e 0a 20 20 20 20 20 20 |I option|.. |
|000045f0| 20 20 20 49 74 20 77 69 | 6c 6c 20 64 69 73 70 6c | It wi|ll displ|
|00004600| 61 79 20 61 20 64 65 66 | 61 75 6c 74 20 69 63 6f |ay a def|ault ico|
|00004610| 6e 20 69 66 20 6e 6f 20 | 69 63 6f 6e 20 69 73 20 |n if no |icon is |
|00004620| 73 70 65 63 66 69 65 64 | 2e 20 55 70 6f 6e 0a 20 |specfied|. Upon. |
|00004630| 20 20 20 20 20 20 20 20 | 65 78 69 74 69 6e 67 20 | |exiting |
|00004640| 74 68 65 20 65 78 65 63 | 75 74 69 6e 67 20 63 6f |the exec|uting co|
|00004650| 6d 6d 61 6e 64 2c 20 74 | 68 65 20 77 69 6e 64 6f |mmand, t|he windo|
|00004660| 77 20 77 69 6c 6c 20 62 | 65 20 63 6c 6f 73 65 64 |w will b|e closed|
|00004670| 20 61 6e 64 0a 20 20 20 | 20 20 20 20 20 20 74 68 | and. | th|
|00004680| 65 20 69 63 6f 6e 20 69 | 73 20 64 69 73 70 6c 61 |e icon i|s displa|
|00004690| 79 65 64 20 61 67 61 69 | 6e 2e 20 59 6f 75 20 63 |yed agai|n. You c|
|000046a0| 61 6e 20 61 6c 73 6f 20 | 73 74 61 72 74 20 77 69 |an also |start wi|
|000046b0| 74 68 20 61 6e 20 6f 70 | 65 6e 0a 20 20 20 20 20 |th an op|en. |
|000046c0| 20 20 20 20 77 69 6e 64 | 6f 77 20 65 78 65 63 75 | wind|ow execu|
|000046d0| 74 69 6e 67 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |ting the| command|
|000046e0| 20 61 72 67 75 6d 65 6e | 74 20 62 79 20 73 70 65 | argumen|t by spe|
|000046f0| 63 69 66 79 69 6e 67 20 | 74 68 65 20 2d 6f 0a 0a |cifying |the -o..|
|00004700| 0a 0a 0a 0a 0a 0a 0a 0a | 0a 33 62 31 74 6f 6f 6c |........|.3b1tool|
|00004710| 73 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s | |
|00004720| 20 20 20 20 20 20 32 20 | 20 20 20 20 20 20 20 20 | 2 | |
|00004730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004740| 64 72 61 66 74 0a 0a 0a | 20 20 20 20 20 20 20 20 |draft...| |
|00004750| 20 6f 70 74 69 6f 6e 20 | 77 68 69 63 68 20 77 69 | option |which wi|
|00004760| 6c 6c 20 62 65 20 69 63 | 6f 6e 69 66 69 65 64 20 |ll be ic|onified |
|00004770| 77 68 65 6e 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |when the| command|
|00004780| 20 74 65 72 6d 69 6e 61 | 74 65 73 2e 0a 20 20 20 | termina|tes.. |
|00004790| 20 20 20 20 20 20 45 78 | 61 6d 70 6c 65 3a 0a 0a | Ex|ample:..|
|000047a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000047b0| 20 33 62 31 74 6f 6f 6c | 73 20 20 2d 49 20 6f 66 | 3b1tool|s -I of|
|000047c0| 66 69 63 65 20 20 75 61 | 0a 0a 0a 20 20 20 20 20 |fice ua|... |
|000047d0| 6d 6f 64 65 2d 33 3a 20 | 20 6e 6f 20 63 6f 6d 6d |mode-3: | no comm|
|000047e0| 61 6e 64 20 61 72 67 75 | 6d 65 6e 74 20 61 6e 64 |and argu|ment and|
|000047f0| 20 61 20 2d 62 20 6f 70 | 74 69 6f 6e 0a 0a 20 20 | a -b op|tion.. |
|00004800| 20 20 20 20 20 20 20 54 | 68 69 73 20 69 73 20 73 | T|his is s|
|00004810| 69 6d 69 6c 61 72 20 74 | 6f 20 6d 6f 64 65 2d 31 |imilar t|o mode-1|
|00004820| 2c 20 65 78 63 65 70 74 | 20 74 68 61 74 20 74 68 |, except| that th|
|00004830| 65 20 6f 72 69 67 69 6e | 61 6c 20 77 69 6e 64 6f |e origin|al windo|
|00004840| 77 0a 20 20 20 20 20 20 | 20 20 20 69 73 20 6c 65 |w. | is le|
|00004850| 66 74 20 69 6e 74 61 63 | 74 20 61 6e 64 20 74 68 |ft intac|t and th|
|00004860| 65 20 69 63 6f 6e 20 69 | 73 20 64 69 73 70 6c 61 |e icon i|s displa|
|00004870| 79 65 64 20 69 6e 20 61 | 20 6e 65 77 20 77 69 6e |yed in a| new win|
|00004880| 64 6f 77 2e 0a 20 20 20 | 20 20 20 20 20 20 45 78 |dow.. | Ex|
|00004890| 61 6d 70 6c 65 3a 0a 0a | 20 20 20 20 20 20 20 20 |ample:..| |
|000048a0| 20 20 20 20 20 20 20 20 | 20 33 62 31 74 6f 6f 6c | | 3b1tool|
|000048b0| 73 20 2d 62 20 2d 49 20 | 67 69 72 6c 73 0a 0a 0a |s -b -I |girls...|
|000048c0| 20 20 20 20 20 6d 6f 64 | 65 2d 34 3a 20 20 77 69 | mod|e-4: wi|
|000048d0| 74 68 20 61 20 63 6f 6d | 6d 61 6e 64 20 61 72 67 |th a com|mand arg|
|000048e0| 75 6d 65 6e 74 20 61 6e | 64 20 61 20 2d 62 20 6f |ument an|d a -b o|
|000048f0| 70 74 69 6f 6e 0a 0a 20 | 20 20 20 20 20 20 20 20 |ption.. | |
|00004900| 54 68 69 73 20 69 73 20 | 73 69 6d 69 6c 61 72 20 |This is |similar |
|00004910| 74 6f 20 6d 6f 64 65 2d | 32 2c 20 65 78 63 65 70 |to mode-|2, excep|
|00004920| 74 20 74 68 61 74 20 74 | 68 65 20 6f 72 69 67 69 |t that t|he origi|
|00004930| 6e 61 6c 20 77 69 6e 64 | 6f 77 0a 20 20 20 20 20 |nal wind|ow. |
|00004940| 20 20 20 20 69 73 20 6c | 65 66 74 20 69 6e 74 61 | is l|eft inta|
|00004950| 63 74 20 61 6e 64 20 74 | 68 65 20 69 63 6f 6e 20 |ct and t|he icon |
|00004960| 61 6e 64 20 69 74 73 20 | 65 78 65 63 75 74 69 6f |and its |executio|
|00004970| 6e 20 77 69 6e 64 6f 77 | 20 77 69 6c 6c 0a 20 20 |n window| will. |
|00004980| 20 20 20 20 20 20 20 6f | 63 63 75 70 79 20 61 20 | o|ccupy a |
|00004990| 6e 65 77 20 77 69 6e 64 | 6f 77 2e 0a 20 20 20 20 |new wind|ow.. |
|000049a0| 20 20 20 20 20 45 78 61 | 6d 70 6c 65 3a 0a 0a 20 | Exa|mple:.. |
|000049b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000049c0| 33 62 31 74 6f 6f 6c 73 | 20 2d 62 20 2d 49 20 6d |3b1tools| -b -I m|
|000049d0| 6f 6f 6e 20 76 69 0a 0a | 0a 20 20 20 20 20 6d 6f |oon vi..|. mo|
|000049e0| 64 65 2d 35 3a 20 6e 6f | 20 61 72 67 75 6d 65 6e |de-5: no| argumen|
|000049f0| 74 73 20 61 74 20 61 6c | 6c 2e 0a 0a 20 20 20 20 |ts at al|l... |
|00004a00| 20 20 20 20 20 49 6e 20 | 74 68 69 73 20 6d 6f 64 | In |this mod|
|00004a10| 65 2c 20 33 62 31 74 6f | 6f 6c 73 20 77 69 6c 6c |e, 3b1to|ols will|
|00004a20| 20 73 65 61 72 63 68 20 | 66 6f 72 20 74 68 65 20 | search |for the |
|00004a30| 66 69 6c 65 20 2e 2f 2e | 33 62 31 74 6f 6f 6c 2e |file ./.|3b1tool.|
|00004a40| 0a 20 20 20 20 20 20 20 | 20 20 49 66 20 74 68 69 |. | If thi|
|00004a50| 73 20 66 69 6c 65 20 64 | 6f 65 73 6e 27 74 20 65 |s file d|oesn't e|
|00004a60| 78 69 73 74 20 69 74 20 | 73 65 61 72 63 68 65 73 |xist it |searches|
|00004a70| 20 66 6f 72 20 74 68 65 | 20 66 69 6c 65 20 24 48 | for the| file $H|
|00004a80| 4f 4d 45 2f 33 62 31 74 | 6f 6f 6c 2e 0a 20 20 20 |OME/3b1t|ool.. |
|00004a90| 20 20 20 20 20 20 49 66 | 20 74 68 69 73 20 66 69 | If| this fi|
|00004aa0| 6c 65 20 69 73 20 6e 6f | 74 20 66 6f 75 6e 64 20 |le is no|t found |
|00004ab0| 33 62 31 74 6f 6f 6c 73 | 20 77 69 6c 6c 20 74 65 |3b1tools| will te|
|00004ac0| 72 6d 69 6e 61 74 65 20 | 77 69 74 68 20 61 6e 20 |rminate |with an |
|00004ad0| 65 72 72 6f 72 0a 20 20 | 20 20 20 20 20 20 20 6d |error. | m|
|00004ae0| 65 73 73 61 67 65 2e 20 | 20 49 6e 20 74 68 69 73 |essage. | In this|
|00004af0| 20 6d 6f 64 65 2c 20 33 | 62 31 74 6f 6f 6c 73 20 | mode, 3|b1tools |
|00004b00| 65 78 70 65 63 74 73 20 | 74 68 65 20 6c 69 6e 65 |expects |the line|
|00004b10| 73 20 6f 66 20 65 69 74 | 68 65 72 0a 20 20 20 20 |s of eit|her. |
|00004b20| 20 20 20 20 20 6f 66 20 | 74 68 65 73 65 20 66 69 | of |these fi|
|00004b30| 6c 65 73 20 74 6f 20 63 | 6f 6e 61 69 6e 20 61 72 |les to c|onain ar|
|00004b40| 67 75 6d 65 6e 74 73 20 | 66 6f 72 20 33 62 31 74 |guments |for 3b1t|
|00004b50| 6f 6f 6c 73 20 74 68 61 | 74 20 77 69 6c 6c 0a 20 |ools tha|t will. |
|00004b60| 20 20 20 20 20 20 20 20 | 62 65 20 65 78 65 63 75 | |be execu|
|00004b70| 74 65 64 20 77 69 74 68 | 20 74 68 65 20 2d 62 20 |ted with| the -b |
|00004b80| 6f 70 74 69 6f 6e 2e 0a | 20 20 20 20 20 20 20 20 |option..| |
|00004b90| 20 45 78 61 6d 70 6c 65 | 3a 0a 0a 20 20 20 20 20 | Example|:.. |
|00004ba0| 20 20 20 20 20 20 63 6f | 6d 6d 61 6e 64 3a 20 20 | co|mmand: |
|00004bb0| 33 62 31 74 6f 6f 6c 73 | 0a 0a 20 20 20 20 20 20 |3b1tools|.. |
|00004bc0| 20 20 20 20 20 54 68 65 | 20 66 69 6c 65 20 2e 33 | The| file .3|
|00004bd0| 62 31 74 6f 6f 6c 20 63 | 6f 6e 74 61 69 6e 3a 0a |b1tool c|ontain:.|
|00004be0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004bf0| 20 20 20 20 20 20 2d 49 | 20 68 6f 72 73 65 20 6c | -I| horse l|
|00004c00| 73 20 2d 6c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |s -l. | |
|00004c10| 20 20 20 20 20 20 20 20 | 20 20 2d 49 20 64 6f 67 | | -I dog|
|00004c20| 20 20 20 75 61 0a 0a 6f | 70 74 69 6f 6e 73 3a 0a | ua..o|ptions:.|
|00004c30| 0a 20 20 20 2d 62 0a 20 | 20 20 20 20 20 20 20 20 |. -b. | |
|00004c40| 64 65 74 74 61 63 68 20 | 74 68 65 20 6e 65 77 20 |dettach |the new |
|00004c50| 69 63 6f 6e 2d 77 69 6e | 64 6f 77 20 66 72 6f 6d |icon-win|dow from|
|00004c60| 20 74 68 65 20 70 61 72 | 65 6e 74 20 70 72 6f 63 | the par|ent proc|
|00004c70| 65 73 73 2e 0a 20 20 20 | 20 20 20 20 20 20 33 62 |ess.. | 3b|
|00004c80| 31 74 6f 6f 6c 73 20 77 | 69 6c 6c 20 63 72 65 61 |1tools w|ill crea|
|00004c90| 74 65 20 61 20 6e 65 77 | 20 77 69 6e 64 6f 77 2e |te a new| window.|
|00004ca0| 0a 0a 20 20 20 2d 53 0a | 20 20 20 20 20 20 20 20 |.. -S.| |
|00004cb0| 20 54 68 69 73 20 66 6c | 61 67 20 69 73 20 75 73 | This fl|ag is us|
|00004cc0| 65 66 75 6c 6c 20 6f 6e | 6c 79 20 69 66 20 69 74 |efull on|ly if it|
|00004cd0| 20 69 73 20 74 68 65 20 | 6f 6e 6c 79 20 61 72 67 | is the |only arg|
|00004ce0| 75 6d 65 6e 74 0a 20 20 | 20 20 20 20 20 20 20 74 |ument. | t|
|00004cf0| 6f 20 33 62 31 74 6f 6f | 6c 73 2e 20 49 74 20 77 |o 3b1too|ls. It w|
|00004d00| 69 6c 6c 20 20 65 78 70 | 61 6e 64 20 74 68 65 20 |ill exp|and the |
|00004d10| 63 75 72 72 65 6e 74 20 | 77 69 6e 64 6f 77 20 69 |current |window i|
|00004d20| 6e 74 6f 20 66 75 6c 6c | 20 73 63 72 65 65 6e 0a |nto full| screen.|
|00004d30| 20 20 20 20 20 20 20 20 | 20 77 69 74 68 6f 75 74 | | without|
|00004d40| 20 65 78 65 63 75 74 69 | 6e 67 20 63 6f 6d 6d 61 | executi|ng comma|
|00004d50| 6e 64 73 20 66 72 6f 6d | 20 7e 2f 2e 33 62 31 74 |nds from| ~/.3b1t|
|00004d60| 6f 6f 6c 20 6f 72 20 2e | 33 62 31 74 6f 6f 6c 2e |ool or .|3b1tool.|
|00004d70| 0a 0a 0a 0a 0a 0a 0a 0a | 0a 0a 0a 0a 33 62 31 74 |........|....3b1t|
|00004d80| 6f 6f 6c 73 20 20 20 20 | 20 20 20 20 20 20 20 20 |ools | |
|00004d90| 20 20 20 20 20 20 20 20 | 20 33 20 20 20 20 20 20 | | 3 |
|00004da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004db0| 20 20 20 64 72 61 66 74 | 0a 0a 0a 20 20 20 2d 6f | draft|... -o|
|00004dc0| 0a 20 20 20 20 20 20 20 | 20 20 54 68 69 73 20 6f |. | This o|
|00004dd0| 70 74 69 6f 6e 20 77 69 | 6c 6c 20 69 6e 73 74 72 |ption wi|ll instr|
|00004de0| 75 63 74 20 33 62 31 74 | 6f 6f 6c 73 20 74 6f 20 |uct 3b1t|ools to |
|00004df0| 73 74 61 72 74 20 77 69 | 74 68 20 61 6e 20 6f 70 |start wi|th an op|
|00004e00| 65 6e 65 64 0a 20 20 20 | 20 20 20 20 20 20 77 69 |ened. | wi|
|00004e10| 6e 64 6f 77 2e 20 33 62 | 31 74 6f 6f 6c 73 20 77 |ndow. 3b|1tools w|
|00004e20| 69 6c 6c 20 64 65 66 61 | 75 6c 74 20 74 6f 20 61 |ill defa|ult to a|
|00004e30| 20 63 6c 6f 73 65 64 20 | 77 69 6e 64 6f 77 20 28 | closed |window (|
|00004e40| 69 63 6f 6e 69 66 69 65 | 64 29 2e 0a 0a 20 20 20 |iconifie|d)... |
|00004e50| 2d 49 20 20 3c 69 63 6f | 6e 3e 0a 20 20 20 20 20 |-I <ico|n>. |
|00004e60| 20 20 20 20 55 73 65 20 | 74 68 65 20 66 69 6c 65 | Use |the file|
|00004e70| 20 3c 69 63 6f 6e 3e 20 | 61 73 20 74 68 65 20 69 | <icon> |as the i|
|00004e80| 6d 61 67 65 20 66 69 6c | 65 20 66 6f 72 20 74 68 |mage fil|e for th|
|00004e90| 65 20 69 63 6f 6e 20 77 | 68 65 6e 0a 20 20 20 20 |e icon w|hen. |
|00004ea0| 20 20 20 20 20 74 68 65 | 20 77 69 6e 64 6f 77 20 | the| window |
|00004eb0| 69 73 20 63 6c 6f 73 65 | 64 2e 61 20 49 66 20 3c |is close|d.a If <|
|00004ec0| 69 63 6f 6e 3e 20 69 73 | 20 69 6e 20 61 20 63 62 |icon> is| in a cb|
|00004ed0| 6d 20 28 63 6f 6d 70 61 | 63 74 0a 20 20 20 20 20 |m (compa|ct. |
|00004ee0| 20 20 20 20 62 69 74 6d | 61 70 29 20 66 6f 72 6d | bitm|ap) form|
|00004ef0| 61 74 2c 20 68 65 69 67 | 68 74 20 61 6e 64 20 77 |at, heig|ht and w|
|00004f00| 69 64 74 68 20 61 72 65 | 20 74 61 6b 65 6e 20 66 |idth are| taken f|
|00004f10| 72 6f 6d 20 74 68 65 20 | 66 69 6c 65 2c 0a 20 20 |rom the |file,. |
|00004f20| 20 20 20 20 20 20 20 69 | 66 20 69 74 20 69 73 6e | i|f it isn|
|00004f30| 27 74 2c 20 74 68 65 79 | 20 6d 75 73 74 20 62 65 |'t, they| must be|
|00004f40| 20 73 70 65 63 69 66 69 | 65 64 20 62 79 20 74 68 | specifi|ed by th|
|00004f50| 65 20 2d 48 20 2d 57 20 | 6f 70 74 69 6f 6e 2e 0a |e -H -W |option..|
|00004f60| 0a 20 20 20 2d 52 0a 20 | 20 20 20 20 20 20 20 20 |. -R. | |
|00004f70| 52 65 76 65 72 73 65 20 | 74 68 65 20 62 69 74 73 |Reverse |the bits|
|00004f80| 20 69 6e 20 74 68 65 20 | 64 69 73 70 6c 61 79 65 | in the |displaye|
|00004f90| 64 20 69 63 6f 6e 2e 0a | 0a 20 20 20 2d 54 0a 20 |d icon..|. -T. |
|00004fa0| 20 20 20 20 20 20 20 20 | 54 72 61 6e 73 70 6f 73 | |Transpos|
|00004fb0| 65 20 74 68 65 20 69 6d | 61 67 65 20 6f 66 20 74 |e the im|age of t|
|00004fc0| 68 65 20 69 63 6f 6e 2e | 20 28 6e 6f 74 20 69 6d |he icon.| (not im|
|00004fd0| 70 6c 65 6d 65 6e 74 65 | 64 29 2e 0a 0a 20 20 20 |plemente|d)... |
|00004fe0| 2d 58 20 20 6e 6e 6e 0a | 20 20 20 20 20 20 20 20 |-X nnn.| |
|00004ff0| 20 4c 65 74 20 74 68 65 | 20 64 69 73 70 6c 61 79 | Let the| display|
|00005000| 65 64 20 77 69 64 74 68 | 20 6f 66 20 74 68 65 20 |ed width| of the |
|00005010| 69 63 6f 6e 20 62 65 20 | 6e 6e 6e 2e 0a 0a 20 20 |icon be |nnn... |
|00005020| 20 2d 59 20 20 6e 6e 6e | 0a 20 20 20 20 20 20 20 | -Y nnn|. |
|00005030| 20 20 4c 65 74 20 74 68 | 65 20 64 69 73 70 6c 61 | Let th|e displa|
|00005040| 79 65 64 20 68 65 69 67 | 68 74 20 6f 66 20 74 68 |yed heig|ht of th|
|00005050| 65 20 69 63 6f 6e 20 77 | 69 6e 64 6f 77 20 62 65 |e icon w|indow be|
|00005060| 20 6e 6e 6e 2e 0a 0a 20 | 20 20 2d 57 20 20 6e 6e | nnn... | -W nn|
|00005070| 6e 0a 20 20 20 20 20 20 | 20 20 20 4f 76 65 72 72 |n. | Overr|
|00005080| 69 64 65 20 74 68 65 20 | 70 69 63 74 75 72 65 20 |ide the |picture |
|00005090| 70 69 78 63 65 6c 6c 20 | 77 69 64 74 68 20 74 6f |pixcell |width to|
|000050a0| 20 62 65 20 6e 6e 6e 2e | 0a 0a 20 20 20 2d 48 20 | be nnn.|.. -H |
|000050b0| 20 6e 6e 6e 0a 20 20 20 | 20 20 20 20 20 20 4f 76 | nnn. | Ov|
|000050c0| 65 72 72 69 64 65 20 74 | 68 65 20 70 69 63 74 75 |erride t|he pictu|
|000050d0| 72 65 20 70 69 78 63 65 | 6c 6c 20 68 65 69 67 68 |re pixce|ll heigh|
|000050e0| 74 20 74 6f 20 62 65 20 | 6e 6e 6e 2e 0a 0a 20 20 |t to be |nnn... |
|000050f0| 20 2d 77 20 20 6e 6e 6e | 0a 20 20 20 20 20 20 20 | -w nnn|. |
|00005100| 20 20 4c 65 74 20 74 68 | 65 20 64 69 73 70 6c 61 | Let th|e displa|
|00005110| 79 65 64 20 77 69 64 74 | 68 20 6f 66 20 74 68 65 |yed widt|h of the|
|00005120| 20 65 78 65 63 75 74 69 | 6f 6e 20 77 69 6e 64 6f | executi|on windo|
|00005130| 77 20 62 65 20 6e 6e 6e | 2e 0a 0a 20 20 20 2d 68 |w be nnn|... -h|
|00005140| 20 20 6e 6e 6e 0a 20 20 | 20 20 20 20 20 20 20 4c | nnn. | L|
|00005150| 65 74 20 74 68 65 20 64 | 69 73 70 6c 61 79 65 64 |et the d|isplayed|
|00005160| 20 68 65 69 67 68 74 20 | 6f 66 20 74 68 65 20 65 | height |of the e|
|00005170| 78 65 63 75 74 69 6f 6e | 20 77 69 6e 64 6f 77 20 |xecution| window |
|00005180| 77 69 6e 64 6f 77 20 62 | 65 20 6e 6e 6e 2e 0a 0a |window b|e nnn...|
|00005190| 20 20 20 2d 78 20 20 6e | 6e 6e 0a 20 20 20 20 20 | -x n|nn. |
|000051a0| 20 20 20 20 50 6f 73 69 | 74 69 6f 6e 20 74 68 65 | Posi|tion the|
|000051b0| 20 69 63 6f 6e 20 61 6e | 64 20 69 74 73 20 65 78 | icon an|d its ex|
|000051c0| 65 63 75 74 69 6f 6e 20 | 77 69 6e 64 6f 77 20 61 |ecution |window a|
|000051d0| 74 20 78 3d 6e 6e 6e 0a | 0a 20 20 20 2d 79 20 20 |t x=nnn.|. -y |
|000051e0| 6e 6e 6e 0a 20 20 20 20 | 20 20 20 20 20 50 6f 73 |nnn. | Pos|
|000051f0| 69 74 69 6f 6e 20 74 68 | 65 20 69 63 6f 6e 20 61 |ition th|e icon a|
|00005200| 6e 64 20 69 74 73 20 65 | 78 65 63 75 74 69 6f 6e |nd its e|xecution|
|00005210| 20 77 69 6e 64 6f 77 20 | 61 74 20 79 3d 6e 6e 6e | window |at y=nnn|
|00005220| 0a 0a 20 20 20 2d 6e 20 | 20 3c 73 74 72 69 6e 67 |.. -n | <string|
|00005230| 3e 0a 20 20 20 20 20 20 | 20 20 20 55 73 65 20 3c |>. | Use <|
|00005240| 73 74 72 69 6e 67 3e 20 | 61 73 20 74 68 65 20 6e |string> |as the n|
|00005250| 61 6d 65 20 6f 66 20 74 | 68 65 20 77 69 6e 64 6f |ame of t|he windo|
|00005260| 77 20 61 73 20 64 69 73 | 70 6c 61 79 65 64 0a 20 |w as dis|played. |
|00005270| 20 20 20 20 20 20 20 20 | 62 79 20 74 68 65 20 77 | |by the w|
|00005280| 69 6e 64 6f 77 20 6d 61 | 6e 61 67 65 72 2e 0a 0a |indow ma|nager...|
|00005290| 20 20 20 2d 6c 20 20 3c | 73 74 72 69 6e 67 3e 0a | -l <|string>.|
|000052a0| 20 20 20 20 20 20 20 20 | 20 55 73 65 20 3c 73 74 | | Use <st|
|000052b0| 72 69 6e 67 3e 20 61 73 | 20 74 68 65 20 77 69 6e |ring> as| the win|
|000052c0| 64 6f 77 20 6c 61 62 65 | 6c 2e 0a 0a 20 20 20 2d |dow labe|l... -|
|000052d0| 31 20 20 3c 73 74 72 69 | 6e 67 3e 0a 20 20 20 20 |1 <stri|ng>. |
|000052e0| 20 20 20 20 20 55 73 65 | 20 3c 73 74 72 69 6e 67 | Use| <string|
|000052f0| 3e 20 61 73 20 74 68 65 | 20 73 74 72 69 6e 67 20 |> as the| string |
|00005300| 74 68 61 74 20 77 69 6c | 6c 20 61 70 70 65 61 72 |that wil|l appear|
|00005310| 20 69 6e 20 74 68 65 20 | 66 69 72 73 74 0a 20 20 | in the |first. |
|00005320| 20 20 20 20 20 20 20 6c | 69 6e 65 20 6f 66 20 74 | l|ine of t|
|00005330| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 6b 65 79 73 |he funct|ion keys|
|00005340| 20 6c 61 62 6c 65 73 2e | 0a 0a 20 20 20 2d 32 20 | lables.|.. -2 |
|00005350| 20 3c 73 74 72 69 6e 67 | 3e 0a 20 20 20 20 20 20 | <string|>. |
|00005360| 20 20 20 55 73 65 20 3c | 73 74 72 69 6e 67 3e 20 | Use <|string> |
|00005370| 61 73 20 74 68 65 20 73 | 74 72 69 6e 67 20 74 68 |as the s|tring th|
|00005380| 61 74 20 77 69 6c 6c 20 | 61 70 70 65 61 72 20 69 |at will |appear i|
|00005390| 6e 20 74 68 65 20 73 65 | 63 6f 6e 64 0a 0a 0a 0a |n the se|cond....|
|000053a0| 0a 0a 0a 0a 0a 0a 0a 33 | 62 31 74 6f 6f 6c 73 20 |.......3|b1tools |
|000053b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000053c0| 20 20 20 20 34 20 20 20 | 20 20 20 20 20 20 20 20 | 4 | |
|000053d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 64 72 | | dr|
|000053e0| 61 66 74 0a 0a 0a 20 20 | 20 20 20 20 20 20 20 6c |aft... | l|
|000053f0| 69 6e 65 20 6f 66 20 74 | 68 65 20 66 75 6e 63 74 |ine of t|he funct|
|00005400| 69 6f 6e 20 6b 65 79 73 | 20 6c 61 62 6c 65 73 2e |ion keys| lables.|
|00005410| 0a 0a 20 20 20 2d 4b 20 | 20 3c 73 74 72 69 6e 67 |.. -K | <string|
|00005420| 3e 0a 20 20 20 20 20 20 | 20 20 20 55 73 65 20 3c |>. | Use <|
|00005430| 73 74 72 69 6e 67 3e 20 | 61 73 20 74 68 65 20 70 |string> |as the p|
|00005440| 61 74 74 65 72 6e 20 66 | 6f 72 20 74 68 65 20 66 |attern f|or the f|
|00005450| 75 6e 63 74 69 6f 6e 20 | 6b 65 79 73 20 6c 61 62 |unction |keys lab|
|00005460| 6c 65 73 2e 0a 20 20 20 | 20 20 20 20 20 20 41 6e |les.. | An|
|00005470| 20 22 72 22 20 69 6e 20 | 3c 73 74 72 69 6e 67 3e | "r" in |<string>|
|00005480| 20 6d 65 61 6e 73 20 72 | 65 76 65 72 73 65 20 76 | means r|everse v|
|00005490| 65 64 69 6f 20 61 74 20 | 74 68 61 74 20 70 6f 73 |edio at |that pos|
|000054a0| 69 74 69 6f 6e 2e 0a 0a | 20 20 20 2d 63 20 20 3c |ition...| -c <|
|000054b0| 73 74 72 69 6e 67 3e 0a | 20 20 20 20 20 20 20 20 |string>.| |
|000054c0| 20 44 69 73 70 6c 61 79 | 20 3c 73 74 72 69 6e 67 | Display| <string|
|000054d0| 3e 20 69 6e 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |> in the| command|
|000054e0| 20 6c 69 6e 65 2e 0a 0a | 20 20 20 2d 70 20 20 3c | line...| -p <|
|000054f0| 73 74 72 69 6e 67 3e 0a | 20 20 20 20 20 20 20 20 |string>.| |
|00005500| 20 44 69 73 70 6c 61 79 | 20 3c 73 74 72 69 6e 67 | Display| <string|
|00005510| 3e 20 69 6e 20 74 68 65 | 20 70 72 6f 6d 70 74 20 |> in the| prompt |
|00005520| 6c 69 6e 65 2e 0a 0a 20 | 20 20 2d 66 20 20 3c 68 |line... | -f <h|
|00005530| 65 78 3e 0a 20 20 20 20 | 20 20 20 20 20 55 73 65 |ex>. | Use|
|00005540| 20 3c 68 65 78 3e 20 61 | 73 20 74 68 65 20 66 6c | <hex> a|s the fl|
|00005550| 61 67 20 74 68 61 74 20 | 63 6f 6e 74 72 6f 6c 20 |ag that |control |
|00005560| 74 68 65 20 73 68 61 70 | 65 20 6f 66 20 74 68 65 |the shap|e of the|
|00005570| 0a 20 20 20 20 20 20 20 | 20 20 65 78 65 63 75 74 |. | execut|
|00005580| 69 6f 6e 20 77 69 6e 64 | 6f 77 2e 0a 0a 0a 20 20 |ion wind|ow.... |
|00005590| 20 63 6f 6d 6d 61 6e 64 | 20 5b 3c 61 72 67 75 6d | command| [<argum|
|000055a0| 65 6e 74 73 3e 5d 0a 20 | 20 20 20 20 20 20 20 20 |ents>]. | |
|000055b0| 41 6e 79 20 75 6e 69 78 | 20 63 6f 6d 6d 61 6e 64 |Any unix| command|
|000055c0| 20 61 6e 64 20 69 74 73 | 20 61 72 67 75 6d 65 6e | and its| argumen|
|000055d0| 74 73 20 74 68 61 74 20 | 77 69 6c 6c 20 62 65 20 |ts that |will be |
|000055e0| 65 78 65 63 75 74 65 64 | 0a 20 20 20 20 20 20 20 |executed|. |
|000055f0| 20 20 77 68 65 6e 20 74 | 68 65 20 69 63 6f 6e 20 | when t|he icon |
|00005600| 69 73 20 6f 70 65 6e 65 | 64 2e 0a 20 20 20 73 79 |is opene|d.. sy|
|00005610| 73 74 65 6d 28 63 61 76 | 6e 61 6d 65 29 3b 7d 20 |stem(cav|name);} |
|00005620| 65 6c 73 65 7b 0a 20 20 | 20 20 20 20 70 72 69 6e |else{. | prin|
|00005630| 74 66 28 22 33 62 31 74 | 6f 6f 6c 73 3a 20 65 72 |tf("3b1t|ools: er|
|00005640| 72 6f 72 20 69 6e 20 2e | 33 62 31 74 6f 6f 6c 20 |ror in .|3b1tool |
|00005650| 66 69 6c 65 5c 6e 22 29 | 3b 0a 20 20 20 20 20 20 |file\n")|;. |
|00005660| 70 72 69 6e 74 66 28 22 | 33 62 31 74 6f 6f 6c 73 |printf("|3b1tools|
|00005670| 3a 20 69 6e 20 25 73 5c | 6e 22 2c 61 76 6e 61 6d |: in %s\|n",avnam|
|00005680| 65 29 3b 0a 20 20 20 20 | 20 20 70 72 69 6e 74 66 |e);. | printf|
|00005690| 28 22 33 62 31 74 6f 6f | 6c 73 3a 20 6f 6e 6c 79 |("3b1too|ls: only|
|000056a0| 20 61 72 67 75 6d 65 6e | 74 73 20 74 6f 20 33 62 | argumen|ts to 3b|
|000056b0| 31 74 6f 6f 6c 73 20 61 | 72 65 20 73 70 65 63 69 |1tools a|re speci|
|000056c0| 66 69 65 64 5c 6e 22 29 | 3b 7d 7d 0a 20 20 20 63 |fied\n")|;}}. c|
|000056d0| 6c 6f 73 65 28 69 66 69 | 29 3b 0a 7d 0a 00 00 00 |lose(ifi|);.}....|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 33 62 31 74 6f 6f 6c 73 | 2f 33 62 31 74 6f 6f 6c |3b1tools|/3b1tool|
|00005810| 73 2e 68 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.h.....|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00005870| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00005880| 20 20 20 20 33 34 32 20 | 20 34 34 30 34 31 31 31 | 342 | 4404111|
|00005890| 31 32 34 20 20 20 37 33 | 33 34 00 20 00 00 00 00 |124 73|34. ....|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 23 69 6e 63 6c 75 64 65 | 20 3c 74 65 72 6d 69 6f |#include| <termio|
|00005a10| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |.h>.#inc|lude <sy|
|00005a20| 73 2f 77 69 6e 64 6f 77 | 2e 68 3e 0a 23 69 6e 63 |s/window|.h>.#inc|
|00005a30| 6c 75 64 65 20 3c 73 74 | 64 69 6f 2e 68 3e 0a 0a |lude <st|dio.h>..|
|00005a40| 65 78 74 65 72 6e 20 69 | 6e 74 20 6d 61 78 77 2c |extern i|nt maxw,|
|00005a50| 6d 61 78 68 3b 0a 65 78 | 74 65 72 6e 20 69 6e 74 |maxh;.ex|tern int|
|00005a60| 20 69 6e 76 65 72 74 3b | 0a 65 78 74 65 72 6e 20 | invert;|.extern |
|00005a70| 69 6e 74 20 74 72 61 6e | 73 70 6f 73 65 3b 0a 65 |int tran|spose;.e|
|00005a80| 78 74 65 72 6e 20 69 6e | 74 20 69 63 6f 6e 6f 70 |xtern in|t iconop|
|00005a90| 65 6e 3b 0a 65 78 74 65 | 72 6e 20 69 6e 74 20 6e |en;.exte|rn int n|
|00005aa0| 6f 72 6d 61 6c 3b 0a 65 | 78 74 65 72 6e 20 69 6e |ormal;.e|xtern in|
|00005ab0| 74 20 6e 65 77 5f 77 69 | 6e 64 3b 0a 65 78 74 65 |t new_wi|nd;.exte|
|00005ac0| 72 6e 20 69 6e 74 20 57 | 6e 3b 0a 65 78 74 65 72 |rn int W|n;.exter|
|00005ad0| 6e 20 63 68 61 72 20 2a | 2a 65 6e 76 69 72 6f 6e |n char *|*environ|
|00005ae0| 3b 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.......|........|
|00005af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 33 62 31 74 6f 6f 6c 73 | 2f 4d 61 6b 65 66 69 6c |3b1tools|/Makefil|
|00005c10| 65 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |e.......|........|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 20 20 20 36 | 36 36 20 00 20 20 20 32 |.... 6|66 . 2|
|00005c70| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00005c80| 20 20 20 20 33 30 33 20 | 20 34 34 30 34 31 31 31 | 303 | 4404111|
|00005c90| 31 32 35 20 20 20 37 31 | 35 37 00 20 00 00 00 00 |125 71|57. ....|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 0a 4d 41 4b 45 49 4e 43 | 3d 2f 75 73 72 2f 69 6e |.MAKEINC|=/usr/in|
|00005e10| 63 6c 75 64 65 0a 69 6e | 63 6c 75 64 65 20 24 28 |clude.in|clude $(|
|00005e20| 4d 41 4b 45 49 4e 43 29 | 2f 4d 61 6b 65 70 72 65 |MAKEINC)|/Makepre|
|00005e30| 2e 68 0a 0a 0a 4f 42 4a | 3d 74 6f 6f 6c 73 2e 6f |.h...OBJ|=tools.o|
|00005e40| 20 70 69 63 74 75 72 65 | 2e 6f 20 33 62 31 74 6f | picture|.o 3b1to|
|00005e50| 6f 6c 73 2e 6f 20 0a 0a | 61 6c 6c 3a 20 24 28 4f |ols.o ..|all: $(O|
|00005e60| 42 4a 29 0a 09 24 28 4c | 44 29 20 24 28 4c 44 46 |BJ)..$(L|D) $(LDF|
|00005e70| 4c 41 47 53 29 20 24 28 | 53 48 41 52 45 44 4c 49 |LAGS) $(|SHAREDLI|
|00005e80| 42 29 20 24 28 4f 42 4a | 29 20 24 28 4c 49 42 4d |B) $(OBJ|) $(LIBM|
|00005e90| 29 20 2d 6f 20 33 62 31 | 74 6f 6f 6c 73 20 20 0a |) -o 3b1|tools .|
|00005ea0| 0a 0a 69 6e 63 6c 75 64 | 65 20 24 28 4d 41 4b 45 |..includ|e $(MAKE|
|00005eb0| 49 4e 43 29 2f 4d 61 6b | 65 70 6f 73 74 2e 68 0a |INC)/Mak|epost.h.|
|00005ec0| 0a 0a 0a 00 24 28 00 00 | 3c 01 07 00 74 6f 6f 6c |....$(..|<...tool|
|00005ed0| 73 2e 63 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.c.....|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 33 62 31 74 6f 6f 6c 73 | 2f 52 45 41 44 4d 45 00 |3b1tools|/README.|
|00006010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006060| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00006070| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00006080| 20 20 20 36 34 34 36 20 | 20 34 34 30 34 31 31 31 | 6446 | 4404111|
|00006090| 31 32 37 20 20 20 36 34 | 33 33 00 20 00 00 00 00 |127 64|33. ....|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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| 0a 0a 2f 2a 20 33 62 31 | 74 6f 6f 6c 73 0a 2a 2a |../* 3b1|tools.**|
|00006210| 0a 2a 2a 0a 2a 2a 0a 2a | 2a 20 43 6f 70 79 72 69 |.**.**.*|* Copyri|
|00006220| 67 68 74 20 28 43 29 20 | 31 39 38 38 20 62 79 20 |ght (C) |1988 by |
|00006230| 4d 75 68 61 6d 6d 61 64 | 20 53 2e 20 42 65 6e 74 |Muhammad| S. Bent|
|00006240| 65 6e 2e 0a 2a 2a 20 20 | 20 20 20 20 20 20 20 20 |en..** | |
|00006250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 65 6e | | ben|
|00006260| 74 65 6e 40 62 6f 75 6c | 64 65 72 2e 63 6f 6c 6f |ten@boul|der.colo|
|00006270| 72 61 64 6f 2e 65 64 75 | 0a 2a 2a 0a 2a 2a 0a 2a |rado.edu|.**.**.*|
|00006280| 2a 20 50 65 72 6d 69 73 | 73 69 6f 6e 20 74 6f 20 |* Permis|sion to |
|00006290| 75 73 65 2c 20 63 6f 70 | 79 2c 20 6d 6f 64 69 66 |use, cop|y, modif|
|000062a0| 79 2c 20 61 6e 64 20 64 | 69 73 74 72 69 62 75 74 |y, and d|istribut|
|000062b0| 65 20 74 68 69 73 20 73 | 6f 66 74 77 61 72 65 20 |e this s|oftware |
|000062c0| 61 6e 64 20 69 74 73 0a | 2a 2a 20 64 6f 63 75 6d |and its.|** docum|
|000062d0| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 61 6e 79 |entation| for any|
|000062e0| 20 70 75 72 70 6f 73 65 | 20 61 6e 64 20 77 69 74 | purpose| and wit|
|000062f0| 68 6f 75 74 20 66 65 65 | 20 69 73 20 68 65 72 65 |hout fee| is here|
|00006300| 62 79 20 67 72 61 6e 74 | 65 64 2c 20 70 72 6f 76 |by grant|ed, prov|
|00006310| 69 64 65 64 0a 2a 2a 20 | 74 68 61 74 20 74 68 65 |ided.** |that the|
|00006320| 20 61 62 6f 76 65 20 63 | 6f 70 79 72 69 67 68 74 | above c|opyright|
|00006330| 20 6e 6f 74 69 63 65 20 | 61 70 70 65 61 72 20 69 | notice |appear i|
|00006340| 6e 20 61 6c 6c 20 63 6f | 70 69 65 73 20 61 6e 64 |n all co|pies and|
|00006350| 20 74 68 61 74 20 62 6f | 74 68 20 74 68 61 74 0a | that bo|th that.|
|00006360| 2a 2a 20 63 6f 70 79 72 | 69 67 68 74 20 6e 6f 74 |** copyr|ight not|
|00006370| 69 63 65 20 61 6e 64 20 | 74 68 69 73 20 70 65 72 |ice and |this per|
|00006380| 6d 69 73 73 69 6f 6e 20 | 6e 6f 74 69 63 65 20 61 |mission |notice a|
|00006390| 70 70 65 61 72 20 69 6e | 20 73 75 70 70 6f 72 74 |ppear in| support|
|000063a0| 69 6e 67 0a 2a 2a 20 64 | 6f 63 75 6d 65 6e 74 61 |ing.** d|ocumenta|
|000063b0| 74 69 6f 6e 2e 20 20 54 | 68 69 73 20 73 6f 66 74 |tion. T|his soft|
|000063c0| 77 61 72 65 20 69 73 20 | 70 72 6f 76 69 64 65 64 |ware is |provided|
|000063d0| 20 22 61 73 20 69 73 22 | 20 77 69 74 68 6f 75 74 | "as is"| without|
|000063e0| 20 65 78 70 72 65 73 73 | 20 6f 72 0a 2a 2a 20 69 | express| or.** i|
|000063f0| 6d 70 6c 69 65 64 20 77 | 61 72 72 61 6e 74 79 2e |mplied w|arranty.|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.