home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / awm2 / part12 < prev    next >
SHell self-extracting ARchive  |  1989-02-21  |  31.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: SHell self-extracting ARchive (archive/shar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 6c 6c 6c 2d |Path: uu|net!lll-|
|00000010| 77 69 6e 6b 65 6e 21 61 | 6d 65 73 21 76 73 69 31 |winken!a|mes!vsi1|
|00000020| 21 77 79 73 65 21 6d 69 | 6b 65 77 0a 46 72 6f 6d |!wyse!mi|kew.From|
|00000030| 3a 20 6d 69 6b 65 77 40 | 77 79 73 65 2e 77 79 73 |: mikew@|wyse.wys|
|00000040| 65 2e 63 6f 6d 20 28 4d | 69 6b 65 20 57 65 78 6c |e.com (M|ike Wexl|
|00000050| 65 72 29 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |er).News|groups: |
|00000060| 63 6f 6d 70 2e 73 6f 75 | 72 63 65 73 2e 78 0a 53 |comp.sou|rces.x.S|
|00000070| 75 62 6a 65 63 74 3a 20 | 76 30 33 69 30 32 38 3a |ubject: |v03i028:|
|00000080| 20 20 41 72 64 65 6e 74 | 20 57 69 6e 64 6f 77 20 | Ardent| Window |
|00000090| 4d 61 6e 61 67 65 72 2c | 20 50 61 74 63 68 6c 65 |Manager,| Patchle|
|000000a0| 76 65 6c 20 39 2c 20 50 | 61 72 74 31 32 2f 31 32 |vel 9, P|art12/12|
|000000b0| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 32 30 |.Message|-ID: <20|
|000000c0| 37 38 40 77 79 73 65 2e | 77 79 73 65 2e 63 6f 6d |78@wyse.|wyse.com|
|000000d0| 3e 0a 44 61 74 65 3a 20 | 32 31 20 46 65 62 20 38 |>.Date: |21 Feb 8|
|000000e0| 39 20 31 38 3a 31 38 3a | 30 30 20 47 4d 54 0a 4f |9 18:18:|00 GMT.O|
|000000f0| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 57 79 73 |rganizat|ion: Wys|
|00000100| 65 20 54 65 63 68 6e 6f | 6c 6f 67 79 2c 20 53 61 |e Techno|logy, Sa|
|00000110| 6e 20 4a 6f 73 65 0a 4c | 69 6e 65 73 3a 20 39 33 |n Jose.L|ines: 93|
|00000120| 32 0a 41 70 70 72 6f 76 | 65 64 3a 20 6d 69 6b 65 |2.Approv|ed: mike|
|00000130| 77 40 77 79 73 65 2e 63 | 6f 6d 0a 0a 53 75 62 6d |w@wyse.c|om..Subm|
|00000140| 69 74 74 65 64 2d 62 79 | 3a 20 6b 6d 77 40 61 72 |itted-by|: kmw@ar|
|00000150| 64 65 6e 74 20 28 4b 65 | 6e 20 57 61 6c 6c 69 63 |dent (Ke|n Wallic|
|00000160| 68 29 0a 50 6f 73 74 69 | 6e 67 2d 6e 75 6d 62 65 |h).Posti|ng-numbe|
|00000170| 72 3a 20 56 6f 6c 75 6d | 65 20 33 2c 20 49 73 73 |r: Volum|e 3, Iss|
|00000180| 75 65 20 32 38 0a 41 72 | 63 68 69 76 65 2d 6e 61 |ue 28.Ar|chive-na|
|00000190| 6d 65 3a 20 61 77 6d 32 | 2f 70 61 72 74 31 32 0a |me: awm2|/part12.|
|000001a0| 0a 23 21 20 2f 62 69 6e | 2f 73 68 0a 23 20 54 68 |.#! /bin|/sh.# Th|
|000001b0| 69 73 20 69 73 20 61 20 | 73 68 65 6c 6c 20 61 72 |is is a |shell ar|
|000001c0| 63 68 69 76 65 2e 20 20 | 52 65 6d 6f 76 65 20 61 |chive. |Remove a|
|000001d0| 6e 79 74 68 69 6e 67 20 | 62 65 66 6f 72 65 20 74 |nything |before t|
|000001e0| 68 69 73 20 6c 69 6e 65 | 2c 20 74 68 65 6e 20 75 |his line|, then u|
|000001f0| 6e 70 61 63 6b 0a 23 20 | 69 74 20 62 79 20 73 61 |npack.# |it by sa|
|00000200| 76 69 6e 67 20 69 74 20 | 69 6e 74 6f 20 61 20 66 |ving it |into a f|
|00000210| 69 6c 65 20 61 6e 64 20 | 74 79 70 69 6e 67 20 22 |ile and |typing "|
|00000220| 73 68 20 66 69 6c 65 22 | 2e 20 20 54 6f 20 6f 76 |sh file"|. To ov|
|00000230| 65 72 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |erwrite |existing|
|00000240| 0a 23 20 66 69 6c 65 73 | 2c 20 74 79 70 65 20 22 |.# files|, type "|
|00000250| 73 68 20 66 69 6c 65 20 | 2d 63 22 2e 20 20 59 6f |sh file |-c". Yo|
|00000260| 75 20 63 61 6e 20 61 6c | 73 6f 20 66 65 65 64 20 |u can al|so feed |
|00000270| 74 68 69 73 20 61 73 20 | 73 74 61 6e 64 61 72 64 |this as |standard|
|00000280| 20 69 6e 70 75 74 20 76 | 69 61 0a 23 20 75 6e 73 | input v|ia.# uns|
|00000290| 68 61 72 2c 20 6f 72 20 | 62 79 20 74 79 70 69 6e |har, or |by typin|
|000002a0| 67 20 22 73 68 20 3c 66 | 69 6c 65 22 2c 20 65 2e |g "sh <f|ile", e.|
|000002b0| 67 2e 2e 20 20 49 66 20 | 74 68 69 73 20 61 72 63 |g.. If |this arc|
|000002c0| 68 69 76 65 20 69 73 20 | 63 6f 6d 70 6c 65 74 65 |hive is |complete|
|000002d0| 2c 20 79 6f 75 0a 23 20 | 77 69 6c 6c 20 73 65 65 |, you.# |will see|
|000002e0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6d | the fol|lowing m|
|000002f0| 65 73 73 61 67 65 20 61 | 74 20 74 68 65 20 65 6e |essage a|t the en|
|00000300| 64 3a 0a 23 09 09 22 45 | 6e 64 20 6f 66 20 61 72 |d:.#.."E|nd of ar|
|00000310| 63 68 69 76 65 20 31 32 | 20 28 6f 66 20 31 32 29 |chive 12| (of 12)|
|00000320| 2e 22 0a 23 20 43 6f 6e | 74 65 6e 74 73 3a 20 20 |.".# Con|tents: |
|00000330| 41 55 54 48 4f 52 20 47 | 72 61 62 2e 63 20 4d 45 |AUTHOR G|rab.c ME|
|00000340| 4e 55 53 20 56 45 52 53 | 49 4f 4e 20 62 69 74 6d |NUS VERS|ION bitm|
|00000350| 61 70 73 2f 52 45 41 44 | 4d 45 0a 23 20 20 20 62 |aps/READ|ME.# b|
|00000360| 69 74 6d 61 70 73 2f 62 | 6c 61 6e 6b 2e 62 6d 20 |itmaps/b|lank.bm |
|00000370| 62 69 74 6d 61 70 73 2f | 64 65 73 74 72 6f 79 2e |bitmaps/|destroy.|
|00000380| 62 6d 20 62 69 74 6d 61 | 70 73 2f 64 69 65 2e 62 |bm bitma|ps/die.b|
|00000390| 6d 20 62 69 74 6d 61 70 | 73 2f 66 6f 63 2e 62 6d |m bitmap|s/foc.bm|
|000003a0| 0a 23 20 20 20 62 69 74 | 6d 61 70 73 2f 69 63 2e |.# bit|maps/ic.|
|000003b0| 62 6d 20 62 69 74 6d 61 | 70 73 2f 6d 61 63 5f 63 |bm bitma|ps/mac_c|
|000003c0| 6c 6f 73 65 2e 62 6d 20 | 62 69 74 6d 61 70 73 2f |lose.bm |bitmaps/|
|000003d0| 72 61 69 73 65 2e 62 6d | 20 62 69 74 6d 61 70 73 |raise.bm| bitmaps|
|000003e0| 2f 72 65 73 2e 62 6d 0a | 23 20 20 20 62 69 74 6d |/res.bm.|# bitm|
|000003f0| 61 70 73 2f 72 65 73 69 | 7a 65 2e 62 6d 20 64 65 |aps/resi|ze.bm de|
|00000400| 66 2e 61 77 6d 72 63 20 | 6d 65 6e 75 73 2f 4d 61 |f.awmrc |menus/Ma|
|00000410| 6b 65 66 69 6c 65 20 6d | 65 6e 75 73 2f 52 45 41 |kefile m|enus/REA|
|00000420| 44 4d 45 0a 23 20 20 20 | 6d 65 6e 75 73 2f 65 76 |DME.# |menus/ev|
|00000430| 65 6e 74 73 74 61 63 6b | 2e 68 20 6d 65 6e 75 73 |entstack|.h menus|
|00000440| 2f 67 72 61 79 31 2e 68 | 20 6d 65 6e 75 73 2f 72 |/gray1.h| menus/r|
|00000450| 74 6c 6d 6e 75 2e 6f 70 | 74 2e 68 20 6e 65 61 74 |tlmnu.op|t.h neat|
|00000460| 65 6e 2e 64 65 66 2e 68 | 0a 23 20 20 20 6e 65 61 |en.def.h|.# nea|
|00000470| 74 65 6e 2e 65 78 74 2e | 68 20 70 61 74 63 68 6c |ten.ext.|h patchl|
|00000480| 65 76 65 6c 2e 68 20 73 | 75 70 70 6f 72 74 2e 68 |evel.h s|upport.h|
|00000490| 0a 23 20 57 72 61 70 70 | 65 64 20 62 79 20 6d 69 |.# Wrapp|ed by mi|
|000004a0| 6b 65 77 40 77 79 73 65 | 20 6f 6e 20 46 72 69 20 |kew@wyse| on Fri |
|000004b0| 46 65 62 20 31 37 20 31 | 30 3a 35 30 3a 33 37 20 |Feb 17 1|0:50:37 |
|000004c0| 31 39 38 39 0a 50 41 54 | 48 3d 2f 62 69 6e 3a 2f |1989.PAT|H=/bin:/|
|000004d0| 75 73 72 2f 62 69 6e 3a | 2f 75 73 72 2f 75 63 62 |usr/bin:|/usr/ucb|
|000004e0| 20 3b 20 65 78 70 6f 72 | 74 20 50 41 54 48 0a 69 | ; expor|t PATH.i|
|000004f0| 66 20 74 65 73 74 20 2d | 66 20 27 41 55 54 48 4f |f test -|f 'AUTHO|
|00000500| 52 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |R' -a "$|{1}" != |
|00000510| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00000520| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00000530| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00000540| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 41 55 54 48 |ing file| \"'AUTH|
|00000550| 4f 52 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |OR'\".el|se.echo |
|00000560| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00000570| 20 5c 22 27 41 55 54 48 | 4f 52 27 5c 22 20 5c 28 | \"'AUTH|OR'\" \(|
|00000580| 35 32 31 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |521 char|acters\)|
|00000590| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|000005a0| 41 55 54 48 4f 52 27 20 | 3c 3c 27 45 4e 44 5f 4f |AUTHOR' |<<'END_O|
|000005b0| 46 5f 46 49 4c 45 27 0a | 58 28 4d 65 73 73 61 67 |F_FILE'.|X(Messag|
|000005c0| 65 20 69 6e 62 6f 78 3a | 38 39 39 29 0a 58 52 65 |e inbox:|899).XRe|
|000005d0| 74 75 72 6e 2d 50 61 74 | 68 3a 20 6d 69 70 73 21 |turn-Pat|h: mips!|
|000005e0| 61 72 64 65 6e 74 21 6b | 6d 77 0a 58 52 65 63 65 |ardent!k|mw.XRece|
|000005f0| 69 76 65 64 3a 20 20 62 | 79 20 77 79 73 65 2e 77 |ived: b|y wyse.w|
|00000600| 79 73 65 2e 63 6f 6d 20 | 28 35 2e 35 38 2f 57 79 |yse.com |(5.58/Wy|
|00000610| 73 65 20 6d 61 73 74 65 | 72 2f 35 2d 31 33 2d 38 |se maste|r/5-13-8|
|00000620| 38 29 0a 58 09 69 64 20 | 41 41 30 32 37 35 31 3b |8).X.id |AA02751;|
|00000630| 20 54 68 75 2c 20 31 36 | 20 46 65 62 20 38 39 20 | Thu, 16| Feb 89 |
|00000640| 31 38 3a 30 32 3a 32 32 | 20 50 53 54 0a 58 52 65 |18:02:22| PST.XRe|
|00000650| 63 65 69 76 65 64 3a 20 | 62 79 20 6d 69 70 73 2e |ceived: |by mips.|
|00000660| 63 6f 6d 20 69 64 20 41 | 41 31 38 38 35 31 28 31 |com id A|A18851(1|
|00000670| 2e 30 29 3b 20 54 68 75 | 2c 20 31 36 20 46 65 62 |.0); Thu|, 16 Feb|
|00000680| 20 38 39 20 31 37 3a 33 | 31 3a 33 35 20 50 53 54 | 89 17:3|1:35 PST|
|00000690| 0a 58 52 65 63 65 69 76 | 65 64 3a 20 62 79 20 61 |.XReceiv|ed: by a|
|000006a0| 72 64 65 6e 74 2e 63 6f | 6d 3b 20 66 72 6f 6d 20 |rdent.co|m; from |
|000006b0| 73 69 6d 3b 20 69 64 20 | 41 41 30 31 37 37 30 3b |sim; id |AA01770;|
|000006c0| 20 54 68 75 2c 20 31 36 | 20 46 65 62 20 38 39 20 | Thu, 16| Feb 89 |
|000006d0| 31 36 3a 33 35 3a 35 30 | 20 50 53 54 0a 58 52 65 |16:35:50| PST.XRe|
|000006e0| 63 65 69 76 65 64 3a 20 | 62 79 20 73 69 6d 2e 61 |ceived: |by sim.a|
|000006f0| 72 64 65 6e 74 2e 63 6f | 6d 20 28 31 2e 31 2f 53 |rdent.co|m (1.1/S|
|00000700| 4d 49 2d 33 2e 30 44 45 | 56 33 29 0a 58 09 69 64 |MI-3.0DE|V3).X.id|
|00000710| 20 41 41 30 36 36 32 30 | 3b 20 54 68 75 2c 20 31 | AA06620|; Thu, 1|
|00000720| 36 20 46 65 62 20 38 39 | 20 31 36 3a 33 36 3a 31 |6 Feb 89| 16:36:1|
|00000730| 39 20 50 53 54 0a 58 44 | 61 74 65 3a 20 54 68 75 |9 PST.XD|ate: Thu|
|00000740| 2c 20 31 36 20 46 65 62 | 20 38 39 20 31 36 3a 33 |, 16 Feb| 89 16:3|
|00000750| 36 3a 31 39 20 50 53 54 | 0a 58 46 72 6f 6d 3a 20 |6:19 PST|.XFrom: |
|00000760| 6d 69 70 73 21 61 72 64 | 65 6e 74 2e 63 6f 6d 21 |mips!ard|ent.com!|
|00000770| 6b 6d 77 20 28 4b 65 6e | 20 57 61 6c 6c 69 63 68 |kmw (Ken| Wallich|
|00000780| 29 0a 58 4d 65 73 73 61 | 67 65 2d 49 64 3a 20 3c |).XMessa|ge-Id: <|
|00000790| 38 39 30 32 31 37 30 30 | 33 36 2e 41 41 30 36 36 |89021700|36.AA066|
|000007a0| 32 30 40 73 69 6d 2e 61 | 72 64 65 6e 74 2e 63 6f |20@sim.a|rdent.co|
|000007b0| 6d 3e 0a 58 54 6f 3a 20 | 6d 69 70 73 21 77 79 73 |m>.XTo: |mips!wys|
|000007c0| 65 2e 63 6f 6d 21 6d 69 | 6b 65 77 0a 58 0a 45 4e |e.com!mi|kew.X.EN|
|000007d0| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|000007e0| 74 20 35 32 31 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 521 -n|e `wc -c|
|000007f0| 20 3c 27 41 55 54 48 4f | 52 27 60 3b 20 74 68 65 | <'AUTHO|R'`; the|
|00000800| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00000810| 20 5c 22 27 41 55 54 48 | 4f 52 27 5c 22 20 75 6e | \"'AUTH|OR'\" un|
|00000820| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00000830| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00000840| 20 6f 66 20 27 41 55 54 | 48 4f 52 27 0a 66 69 0a | of 'AUT|HOR'.fi.|
|00000850| 69 66 20 74 65 73 74 20 | 2d 66 20 27 47 72 61 62 |if test |-f 'Grab|
|00000860| 2e 63 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |.c' -a "|${1}" !=|
|00000870| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00000880| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00000890| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|000008a0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 47 72 61 |ting fil|e \"'Gra|
|000008b0| 62 2e 63 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |b.c'\".e|lse.echo|
|000008c0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|000008d0| 67 20 5c 22 27 47 72 61 | 62 2e 63 27 5c 22 20 5c |g \"'Gra|b.c'\" \|
|000008e0| 28 31 34 37 36 20 63 68 | 61 72 61 63 74 65 72 73 |(1476 ch|aracters|
|000008f0| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00000900| 3e 27 47 72 61 62 2e 63 | 27 20 3c 3c 27 45 4e 44 |>'Grab.c|' <<'END|
|00000910| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 0a 58 0a 58 0a |_OF_FILE|'.X.X.X.|
|00000920| 58 23 69 66 6e 64 65 66 | 20 6c 69 6e 74 0a 58 73 |X#ifndef| lint.Xs|
|00000930| 74 61 74 69 63 20 63 68 | 61 72 20 2a 72 63 73 69 |tatic ch|ar *rcsi|
|00000940| 64 5f 47 72 61 62 5f 63 | 20 3d 20 22 24 48 65 61 |d_Grab_c| = "$Hea|
|00000950| 64 65 72 3a 20 2f 75 73 | 72 2f 67 72 61 70 68 32 |der: /us|r/graph2|
|00000960| 2f 58 31 31 2e 33 2f 63 | 6f 6e 74 72 69 62 2f 77 |/X11.3/c|ontrib/w|
|00000970| 69 6e 64 6f 77 6d 67 72 | 73 2f 61 77 6d 2f 52 43 |indowmgr|s/awm/RC|
|00000980| 53 2f 47 72 61 62 2e 63 | 2c 76 20 31 2e 32 20 38 |S/Grab.c|,v 1.2 8|
|00000990| 39 2f 30 32 2f 30 37 20 | 32 30 3a 30 35 3a 30 35 |9/02/07 |20:05:05|
|000009a0| 20 6a 6b 68 20 45 78 70 | 20 24 22 3b 0a 58 23 65 | jkh Exp| $";.X#e|
|000009b0| 6e 64 69 66 20 20 6c 69 | 6e 74 0a 58 0a 58 23 69 |ndif li|nt.X.X#i|
|000009c0| 6e 63 6c 75 64 65 20 22 | 58 31 31 2f 63 6f 70 79 |nclude "|X11/copy|
|000009d0| 72 69 67 68 74 2e 68 22 | 0a 58 2f 2a 0a 58 20 2a |right.h"|.X/*.X *|
|000009e0| 0a 58 20 2a 20 43 6f 70 | 79 72 69 67 68 74 20 31 |.X * Cop|yright 1|
|000009f0| 39 38 37 2c 20 31 39 38 | 38 20 62 79 20 41 72 64 |987, 198|8 by Ard|
|00000a00| 65 6e 74 20 43 6f 6d 70 | 75 74 65 72 20 43 6f 72 |ent Comp|uter Cor|
|00000a10| 70 6f 72 61 74 69 6f 6e | 2c 20 53 75 6e 6e 79 76 |poration|, Sunnyv|
|00000a20| 61 6c 65 2c 20 43 61 2e | 0a 58 20 2a 0a 58 20 2a |ale, Ca.|.X *.X *|
|00000a30| 20 43 6f 70 79 72 69 67 | 68 74 20 31 39 38 37 20 | Copyrig|ht 1987 |
|00000a40| 62 79 20 4a 6f 72 64 61 | 6e 20 48 75 62 62 61 72 |by Jorda|n Hubbar|
|00000a50| 64 2e 0a 58 20 2a 0a 58 | 20 2a 0a 58 20 2a 20 20 |d..X *.X| *.X * |
|00000a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a70| 20 20 20 20 20 20 20 41 | 6c 6c 20 52 69 67 68 74 | A|ll Right|
|00000a80| 73 20 52 65 73 65 72 76 | 65 64 0a 58 20 2a 0a 58 |s Reserv|ed.X *.X|
|00000a90| 20 2a 20 50 65 72 6d 69 | 73 73 69 6f 6e 20 74 6f | * Permi|ssion to|
|00000aa0| 20 75 73 65 2c 20 63 6f | 70 79 2c 20 6d 6f 64 69 | use, co|py, modi|
|00000ab0| 66 79 2c 20 61 6e 64 20 | 64 69 73 74 72 69 62 75 |fy, and |distribu|
|00000ac0| 74 65 20 74 68 69 73 20 | 73 6f 66 74 77 61 72 65 |te this |software|
|00000ad0| 20 61 6e 64 20 69 74 73 | 0a 58 20 2a 20 64 6f 63 | and its|.X * doc|
|00000ae0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 61 |umentati|on for a|
|00000af0| 6e 79 20 70 75 72 70 6f | 73 65 20 61 6e 64 20 77 |ny purpo|se and w|
|00000b00| 69 74 68 6f 75 74 20 66 | 65 65 20 69 73 20 68 65 |ithout f|ee is he|
|00000b10| 72 65 62 79 20 67 72 61 | 6e 74 65 64 2c 0a 58 20 |reby gra|nted,.X |
|00000b20| 2a 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |* provid|ed that |
|00000b30| 74 68 65 20 61 62 6f 76 | 65 20 63 6f 70 79 72 69 |the abov|e copyri|
|00000b40| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 70 70 65 61 |ght noti|ce appea|
|00000b50| 72 20 69 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r in all| copies |
|00000b60| 61 6e 64 20 74 68 61 74 | 0a 58 20 2a 20 62 6f 74 |and that|.X * bot|
|00000b70| 68 20 74 68 61 74 20 63 | 6f 70 79 72 69 67 68 74 |h that c|opyright|
|00000b80| 20 6e 6f 74 69 63 65 20 | 61 6e 64 20 74 68 69 73 | notice |and this|
|00000b90| 20 70 65 72 6d 69 73 73 | 69 6f 6e 20 6e 6f 74 69 | permiss|ion noti|
|00000ba0| 63 65 20 61 70 70 65 61 | 72 20 69 6e 0a 58 20 2a |ce appea|r in.X *|
|00000bb0| 20 73 75 70 70 6f 72 74 | 69 6e 67 20 64 6f 63 75 | support|ing docu|
|00000bc0| 6d 65 6e 74 61 74 69 6f | 6e 2c 20 61 6e 64 20 74 |mentatio|n, and t|
|00000bd0| 68 61 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |hat the |name of |
|00000be0| 41 72 64 65 6e 74 20 43 | 6f 6d 70 75 74 65 72 0a |Ardent C|omputer.|
|00000bf0| 58 20 2a 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 20 |X * Corp|oration |
|00000c00| 6f 72 20 4a 6f 72 64 61 | 6e 20 48 75 62 62 61 72 |or Jorda|n Hubbar|
|00000c10| 64 20 6e 6f 74 20 62 65 | 20 75 73 65 64 20 69 6e |d not be| used in|
|00000c20| 20 61 64 76 65 72 74 69 | 73 69 6e 67 20 6f 72 20 | adverti|sing or |
|00000c30| 70 75 62 6c 69 63 69 74 | 79 0a 58 20 2a 20 70 65 |publicit|y.X * pe|
|00000c40| 72 74 61 69 6e 69 6e 67 | 20 74 6f 20 64 69 73 74 |rtaining| to dist|
|00000c50| 72 69 62 75 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |ribution| of the |
|00000c60| 73 6f 66 74 77 61 72 65 | 20 77 69 74 68 6f 75 74 |software| without|
|00000c70| 20 73 70 65 63 69 66 69 | 63 2c 20 77 72 69 74 74 | specifi|c, writt|
|00000c80| 65 6e 0a 58 20 2a 20 70 | 72 69 6f 72 20 70 65 72 |en.X * p|rior per|
|00000c90| 6d 69 73 73 69 6f 6e 2e | 0a 58 20 2a 0a 58 20 2a |mission.|.X *.X *|
|00000ca0| 2f 0a 58 0a 58 2f 2a 0a | 58 20 2a 20 4d 4f 44 49 |/.X.X/*.|X * MODI|
|00000cb0| 46 49 43 41 54 49 4f 4e | 20 48 49 53 54 4f 52 59 |FICATION| HISTORY|
|00000cc0| 0a 58 20 2a 0a 58 20 2a | 20 30 30 32 20 2d 2d 20 |.X *.X *| 002 -- |
|00000cd0| 4a 6f 72 64 61 6e 20 48 | 75 62 62 61 72 64 2c 20 |Jordan H|ubbard, |
|00000ce0| 41 72 64 65 6e 74 20 43 | 6f 6d 70 75 74 65 72 0a |Ardent C|omputer.|
|00000cf0| 58 20 2a 20 20 20 4d 6f | 64 69 66 69 63 61 74 69 |X * Mo|dificati|
|00000d00| 6f 6e 73 20 66 6f 72 20 | 61 64 64 69 74 69 6f 6e |ons for |addition|
|00000d10| 20 63 6f 6e 74 65 78 74 | 73 2e 0a 58 20 2a 2f 0a | context|s..X */.|
|00000d20| 58 0a 58 23 69 6e 63 6c | 75 64 65 20 22 58 31 31 |X.X#incl|ude "X11|
|00000d30| 2f 58 6c 69 62 2e 68 22 | 0a 58 23 69 6e 63 6c 75 |/Xlib.h"|.X#inclu|
|00000d40| 64 65 20 22 61 77 6d 2e | 68 22 0a 58 0a 58 76 6f |de "awm.|h".X.Xvo|
|00000d50| 69 64 20 67 72 61 62 5f | 70 6f 69 6e 74 65 72 28 |id grab_|pointer(|
|00000d60| 29 0a 58 7b 0a 58 20 20 | 20 20 20 45 6e 74 72 79 |).X{.X | Entry|
|00000d70| 28 22 67 72 61 62 5f 70 | 6f 69 6e 74 65 72 22 29 |("grab_p|ointer")|
|00000d80| 0a 58 0a 58 20 20 20 20 | 20 69 66 20 28 58 47 72 |.X.X | if (XGr|
|00000d90| 61 62 50 6f 69 6e 74 65 | 72 28 20 64 70 79 2c 20 |abPointe|r( dpy, |
|00000da0| 52 6f 6f 74 57 69 6e 64 | 6f 77 28 64 70 79 2c 20 |RootWind|ow(dpy, |
|00000db0| 73 63 72 29 2c 0a 58 09 | 09 20 20 20 20 20 20 54 |scr),.X.|. T|
|00000dc0| 52 55 45 2c 20 28 75 6e | 73 69 67 6e 65 64 20 69 |RUE, (un|signed i|
|00000dd0| 6e 74 29 20 45 56 45 4e | 54 4d 41 53 4b 2c 20 47 |nt) EVEN|TMASK, G|
|00000de0| 72 61 62 4d 6f 64 65 41 | 73 79 6e 63 2c 0a 58 09 |rabModeA|sync,.X.|
|00000df0| 09 20 20 20 20 20 20 47 | 72 61 62 4d 6f 64 65 41 |. G|rabModeA|
|00000e00| 73 79 6e 63 2c 20 4e 6f | 6e 65 2c 0a 58 09 09 20 |sync, No|ne,.X.. |
|00000e10| 20 20 20 20 20 41 72 72 | 6f 77 43 72 6f 73 73 43 | Arr|owCrossC|
|00000e20| 75 72 73 6f 72 2c 20 43 | 75 72 72 65 6e 74 54 69 |ursor, C|urrentTi|
|00000e30| 6d 65 20 29 0a 58 09 20 | 21 3d 20 47 72 61 62 53 |me ).X. |!= GrabS|
|00000e40| 75 63 63 65 73 73 20 29 | 0a 58 09 20 20 66 70 72 |uccess )|.X. fpr|
|00000e50| 69 6e 74 66 28 73 74 64 | 65 72 72 2c 20 22 61 77 |intf(std|err, "aw|
|00000e60| 6d 20 28 67 72 61 62 5f | 70 6f 69 6e 74 65 72 29 |m (grab_|pointer)|
|00000e70| 3a 20 43 61 6e 27 74 20 | 67 72 61 62 20 74 68 65 |: Can't |grab the|
|00000e80| 20 6d 6f 75 73 65 2e 22 | 29 3b 0a 58 20 20 20 20 | mouse."|);.X |
|00000e90| 20 20 4c 65 61 76 65 5f | 76 6f 69 64 0a 58 7d 0a | Leave_|void.X}.|
|00000ea0| 58 0a 58 76 6f 69 64 20 | 75 6e 67 72 61 62 5f 70 |X.Xvoid |ungrab_p|
|00000eb0| 6f 69 6e 74 65 72 28 29 | 0a 58 7b 0a 58 20 20 20 |ointer()|.X{.X |
|00000ec0| 20 20 45 6e 74 72 79 28 | 22 75 6e 67 72 61 62 5f | Entry(|"ungrab_|
|00000ed0| 70 6f 69 6e 74 65 72 22 | 29 0a 58 0a 58 20 20 20 |pointer"|).X.X |
|00000ee0| 20 20 58 55 6e 67 72 61 | 62 50 6f 69 6e 74 65 72 | XUngra|bPointer|
|00000ef0| 28 64 70 79 2c 20 43 75 | 72 72 65 6e 74 54 69 6d |(dpy, Cu|rrentTim|
|00000f00| 65 29 3b 0a 58 20 20 20 | 20 20 4c 65 61 76 65 5f |e);.X | Leave_|
|00000f10| 76 6f 69 64 0a 58 7d 0a | 45 4e 44 5f 4f 46 5f 46 |void.X}.|END_OF_F|
|00000f20| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 31 34 37 36 |ILE.if t|est 1476|
|00000f30| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 47 72 | -ne `wc| -c <'Gr|
|00000f40| 61 62 2e 63 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |ab.c'`; |then. |
|00000f50| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 47 | echo sh|ar: \"'G|
|00000f60| 72 61 62 2e 63 27 5c 22 | 20 75 6e 70 61 63 6b 65 |rab.c'\"| unpacke|
|00000f70| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|00000f80| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|00000f90| 47 72 61 62 2e 63 27 0a | 66 69 0a 69 66 20 74 65 |Grab.c'.|fi.if te|
|00000fa0| 73 74 20 2d 66 20 27 4d | 45 4e 55 53 27 20 2d 61 |st -f 'M|ENUS' -a|
|00000fb0| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00000fc0| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00000fd0| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00000fe0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00000ff0| 69 6c 65 20 5c 22 27 4d | 45 4e 55 53 27 5c 22 0a |ile \"'M|ENUS'\".|
|00001000| 65 6c 73 65 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |else.ech|o shar: |
|00001010| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 4d 45 |Extracti|ng \"'ME|
|00001020| 4e 55 53 27 5c 22 20 5c | 28 32 30 38 37 20 63 68 |NUS'\" \|(2087 ch|
|00001030| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|00001040| 73 2f 5e 58 2f 2f 22 20 | 3e 27 4d 45 4e 55 53 27 |s/^X//" |>'MENUS'|
|00001050| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00001060| 0a 58 54 68 65 20 6d 65 | 6e 75 20 70 61 63 6b 61 |.XThe me|nu packa|
|00001070| 67 65 20 79 6f 75 27 6c | 6c 20 66 69 6e 64 20 69 |ge you'l|l find i|
|00001080| 6e 20 74 68 69 73 20 72 | 65 6c 65 61 73 65 20 69 |n this r|elease i|
|00001090| 73 20 64 65 72 69 76 65 | 64 20 66 72 6f 6d 20 74 |s derive|d from t|
|000010a0| 68 65 20 52 54 4c 0a 58 | 6d 65 6e 75 20 70 61 63 |he RTL.X|menu pac|
|000010b0| 6b 61 67 65 2c 20 76 65 | 72 73 69 6f 6e 20 32 2e |kage, ve|rsion 2.|
|000010c0| 30 2e 20 52 54 4c 20 69 | 73 20 63 75 72 72 65 6e |0. RTL i|s curren|
|000010d0| 74 6c 79 20 61 74 20 72 | 65 76 69 73 69 6f 6e 20 |tly at r|evision |
|000010e0| 6c 65 76 65 6c 20 33 2c | 20 77 68 69 63 68 0a 58 |level 3,| which.X|
|000010f0| 6e 6f 20 64 6f 75 62 74 | 20 66 69 78 65 73 20 6d |no doubt| fixes m|
|00001100| 61 6e 79 20 6f 66 20 74 | 68 65 20 62 75 67 73 20 |any of t|he bugs |
|00001110| 69 6e 20 76 65 72 73 69 | 6f 6e 20 32 2c 20 62 75 |in versi|on 2, bu|
|00001120| 74 20 49 20 63 61 6e 6e | 6f 74 20 65 61 73 69 6c |t I cann|ot easil|
|00001130| 79 20 75 70 64 61 74 65 | 20 0a 58 74 6f 20 69 74 |y update| .Xto it|
|00001140| 2e 20 48 65 72 65 27 73 | 20 77 68 79 3a 0a 58 0a |. Here's| why:.X.|
|00001150| 58 54 68 65 20 52 54 4c | 20 6d 65 6e 75 73 2c 20 |XThe RTL| menus, |
|00001160| 61 73 20 74 68 65 79 20 | 63 6f 6d 65 20 22 6f 75 |as they |come "ou|
|00001170| 74 20 6f 66 20 74 68 65 | 20 62 6f 78 22 20 67 69 |t of the| box" gi|
|00001180| 76 65 20 79 6f 75 20 74 | 68 65 20 61 62 69 6c 69 |ve you t|he abili|
|00001190| 74 79 0a 58 74 6f 20 63 | 72 65 61 74 65 20 68 69 |ty.Xto c|reate hi|
|000011a0| 65 72 61 72 63 68 69 63 | 61 6c 20 77 61 6c 6b 69 |erarchic|al walki|
|000011b0| 6e 67 20 6d 65 6e 75 73 | 2e 20 45 61 63 68 20 70 |ng menus|. Each p|
|000011c0| 61 6e 65 20 69 73 20 69 | 6e 20 61 20 66 69 78 65 |ane is i|n a fixe|
|000011d0| 64 20 66 6f 6e 74 0a 58 | 61 6e 64 20 63 61 6e 20 |d font.X|and can |
|000011e0| 68 61 76 65 2c 20 69 6e | 20 61 64 64 69 74 69 6f |have, in| additio|
|000011f0| 6e 20 74 6f 20 74 65 78 | 74 2c 20 61 20 63 68 65 |n to tex|t, a che|
|00001200| 63 6b 20 6d 61 72 6b 20 | 28 64 65 6e 6f 74 69 6e |ck mark |(denotin|
|00001210| 67 20 73 6f 6d 65 20 62 | 6f 6f 6c 65 61 6e 0a 58 |g some b|oolean.X|
|00001220| 63 6f 6e 64 69 74 69 6f | 6e 29 2c 20 61 6e 20 61 |conditio|n), an a|
|00001230| 72 72 6f 77 20 28 64 65 | 6e 6f 74 69 6e 67 20 61 |rrow (de|noting a|
|00001240| 6e 20 61 64 6a 61 63 65 | 6e 74 20 70 75 6c 6c 2d |n adjace|nt pull-|
|00001250| 72 69 67 68 74 20 6d 65 | 6e 75 29 20 6f 72 20 67 |right me|nu) or g|
|00001260| 72 65 79 2d 73 74 69 70 | 70 6c 65 64 0a 58 74 65 |rey-stip|pled.Xte|
|00001270| 78 74 20 28 64 65 6e 6f | 74 69 6e 67 20 61 20 64 |xt (deno|ting a d|
|00001280| 69 73 61 62 6c 65 64 20 | 69 74 65 6d 29 2e 20 54 |isabled |item). T|
|00001290| 68 69 73 20 77 61 73 20 | 61 6c 6d 6f 73 74 20 69 |his was |almost i|
|000012a0| 64 65 61 6c 20 66 6f 72 | 20 6d 79 20 70 75 72 70 |deal for| my purp|
|000012b0| 6f 73 65 73 0a 58 73 69 | 6e 63 65 20 49 20 6e 65 |oses.Xsi|nce I ne|
|000012c0| 65 64 65 64 20 63 68 65 | 63 6b 6d 61 72 6b 73 20 |eded che|ckmarks |
|000012d0| 66 6f 72 20 62 6f 6f 6c | 65 61 6e 20 76 61 72 69 |for bool|ean vari|
|000012e0| 61 62 6c 65 73 20 61 6e | 64 20 61 72 72 6f 77 73 |ables an|d arrows|
|000012f0| 20 66 6f 72 20 70 75 6c | 6c 2d 72 69 67 68 74 0a | for pul|l-right.|
|00001300| 58 6d 65 6e 75 73 20 28 | 6e 6f 74 20 74 6f 20 6d |Xmenus (|not to m|
|00001310| 65 6e 74 69 6f 6e 20 74 | 68 65 20 70 75 6c 6c 2d |ention t|he pull-|
|00001320| 72 69 67 68 74 20 6d 65 | 6e 75 73 20 74 68 65 6d |right me|nus them|
|00001330| 73 65 6c 76 65 73 29 2e | 20 48 6f 77 65 76 65 72 |selves).| However|
|00001340| 2c 20 73 69 6e 63 65 0a | 58 61 77 6d 20 74 72 69 |, since.|Xawm tri|
|00001350| 65 73 20 68 61 72 64 20 | 74 6f 20 70 72 65 73 65 |es hard |to prese|
|00001360| 6e 74 20 61 20 70 69 63 | 74 6f 72 61 6c 20 69 6e |nt a pic|toral in|
|00001370| 74 65 72 66 61 63 65 20 | 28 77 69 74 68 20 67 61 |terface |(with ga|
|00001380| 64 67 65 74 20 62 6f 78 | 65 73 20 61 6e 64 0a 58 |dget box|es and.X|
|00001390| 74 68 65 20 6c 69 6b 65 | 29 2c 20 69 74 20 77 61 |the like|), it wa|
|000013a0| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 6d |s necess|ary to m|
|000013b0| 61 6b 65 20 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |ake modi|fication|
|000013c0| 73 20 74 6f 20 74 68 65 | 20 6d 65 6e 75 20 70 61 |s to the| menu pa|
|000013d0| 63 6b 61 67 65 0a 58 74 | 6f 20 73 75 70 70 6f 72 |ckage.Xt|o suppor|
|000013e0| 74 3a 0a 58 0a 58 6f 20 | 41 72 62 69 74 72 61 72 |t:.X.Xo |Arbitrar|
|000013f0| 79 20 70 69 78 6d 61 70 | 73 20 69 6e 20 6d 65 6e |y pixmap|s in men|
|00001400| 75 73 20 70 61 6e 65 73 | 2c 20 72 61 74 68 65 72 |us panes|, rather|
|00001410| 20 74 68 61 6e 20 6a 75 | 73 74 20 74 65 78 74 2e | than ju|st text.|
|00001420| 0a 58 0a 58 6f 20 41 20 | 22 62 6f 6c 64 22 20 66 |.X.Xo A |"bold" f|
|00001430| 6f 6e 74 20 66 6f 72 20 | 70 61 6e 65 73 20 74 68 |ont for |panes th|
|00001440| 61 74 20 69 73 20 75 73 | 65 64 20 66 6f 72 20 6d |at is us|ed for m|
|00001450| 65 6e 75 20 74 69 74 6c | 65 73 20 28 77 68 69 63 |enu titl|es (whic|
|00001460| 68 20 75 73 65 72 73 0a | 58 20 20 6f 66 20 75 77 |h users.|X of uw|
|00001470| 6d 2c 20 61 77 6d 27 73 | 20 70 72 65 64 65 63 65 |m, awm's| predece|
|00001480| 73 73 6f 72 2c 20 68 61 | 64 20 63 6f 6d 65 20 74 |ssor, ha|d come t|
|00001490| 6f 20 65 78 70 65 63 74 | 29 2e 0a 58 0a 58 6f 20 |o expect|)..X.Xo |
|000014a0| 54 68 65 20 72 65 6d 6f | 76 61 6c 20 6f 66 20 74 |The remo|val of t|
|000014b0| 68 65 20 22 61 6c 6c 20 | 6d 65 6e 75 20 70 61 6e |he "all |menu pan|
|000014c0| 65 73 20 6d 75 73 74 20 | 62 65 20 74 68 65 20 73 |es must |be the s|
|000014d0| 61 6d 65 20 68 65 69 67 | 68 74 22 20 72 65 73 74 |ame heig|ht" rest|
|000014e0| 72 69 63 74 69 6f 6e 0a | 58 20 20 74 6f 20 61 63 |riction.|X to ac|
|000014f0| 63 6f 6d 6f 64 61 74 65 | 20 74 68 65 20 74 77 6f |comodate| the two|
|00001500| 20 66 65 61 74 75 72 65 | 73 20 6d 65 6e 74 69 6f | feature|s mentio|
|00001510| 6e 65 64 20 61 62 6f 76 | 65 2e 0a 58 0a 58 0a 58 |ned abov|e..X.X.X|
|00001520| 54 68 65 72 65 20 77 65 | 72 65 20 61 6c 73 6f 20 |There we|re also |
|00001530| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 69 6e 74 65 |a number| of inte|
|00001540| 72 6e 65 6c 20 63 68 61 | 6e 67 65 73 2c 20 73 75 |rnel cha|nges, su|
|00001550| 63 68 20 61 73 20 74 68 | 65 20 72 65 6d 6f 76 61 |ch as th|e remova|
|00001560| 6c 20 6f 66 0a 58 74 68 | 65 20 41 73 73 6f 63 54 |l of.Xth|e AssocT|
|00001570| 61 62 6c 65 20 63 6f 64 | 65 20 74 68 61 74 20 66 |able cod|e that f|
|00001580| 6f 72 63 65 64 20 61 20 | 64 65 70 65 6e 64 65 6e |orced a |dependen|
|00001590| 63 65 20 6f 6e 20 74 68 | 65 20 58 31 30 20 63 6f |ce on th|e X10 co|
|000015a0| 6d 70 61 74 61 62 69 6c | 69 74 79 0a 58 6c 69 62 |mpatabil|ity.Xlib|
|000015b0| 72 61 72 79 2e 20 54 68 | 65 20 70 6f 73 69 74 69 |rary. Th|e positi|
|000015c0| 6f 6e 69 6e 67 20 6f 66 | 20 74 68 65 20 70 6f 69 |oning of| the poi|
|000015d0| 6e 74 65 72 20 77 69 74 | 68 69 6e 20 77 69 6e 64 |nter wit|hin wind|
|000015e0| 6f 77 73 20 61 6e 64 20 | 74 68 65 20 70 6f 73 69 |ows and |the posi|
|000015f0| 74 69 6f 6e 69 6e 67 0a | 58 6f 66 20 74 68 65 20 |tioning.|Xof the |
|00001600| 70 75 6c 6c 2d 72 69 67 | 68 74 20 6d 65 6e 75 73 |pull-rig|ht menus|
|00001610| 20 74 68 65 6d 73 65 6c | 76 65 73 20 77 61 73 20 | themsel|ves was |
|00001620| 61 6c 73 6f 20 63 68 61 | 6e 67 65 64 20 73 6f 6d |also cha|nged som|
|00001630| 65 77 68 61 74 2c 20 73 | 69 6e 63 65 0a 58 75 73 |ewhat, s|ince.Xus|
|00001640| 69 6e 67 20 74 68 65 20 | 6d 65 6e 75 20 70 61 63 |ing the |menu pac|
|00001650| 6b 61 67 65 20 66 72 6f | 6d 20 61 20 77 69 6e 64 |kage fro|m a wind|
|00001660| 6f 77 20 6d 61 6e 61 67 | 65 72 20 72 65 71 75 69 |ow manag|er requi|
|00001670| 72 65 64 20 74 68 61 74 | 20 74 68 65 20 6d 65 6e |red that| the men|
|00001680| 75 0a 58 70 61 63 6b 61 | 67 65 20 62 65 20 61 20 |u.Xpacka|ge be a |
|00001690| 6c 69 74 74 6c 65 20 6c | 65 73 73 20 65 78 61 63 |little l|ess exac|
|000016a0| 74 69 6e 67 20 61 62 6f | 75 74 20 74 68 69 6e 67 |ting abo|ut thing|
|000016b0| 73 20 61 6e 64 20 67 69 | 76 65 20 74 68 65 20 75 |s and gi|ve the u|
|000016c0| 73 65 72 20 6d 6f 72 65 | 0a 58 72 6f 6f 6d 20 66 |ser more|.Xroom f|
|000016d0| 6f 72 20 65 72 72 6f 72 | 2e 0a 58 0a 58 46 69 6e |or error|..X.XFin|
|000016e0| 61 6c 6c 79 2c 20 74 68 | 65 72 65 20 77 65 72 65 |ally, th|ere were|
|000016f0| 20 61 20 66 65 77 20 63 | 68 61 6e 67 65 73 20 6d | a few c|hanges m|
|00001700| 61 64 65 20 66 6f 72 20 | 74 68 65 20 77 69 6e 64 |ade for |the wind|
|00001710| 6f 77 20 6d 61 6e 61 67 | 65 72 20 69 74 73 65 6c |ow manag|er itsel|
|00001720| 66 2c 0a 58 73 75 63 68 | 20 61 73 20 73 75 70 70 |f,.Xsuch| as supp|
|00001730| 6f 72 74 20 66 6f 72 20 | 74 68 65 20 22 41 75 74 |ort for |the "Aut|
|00001740| 6f 53 65 6c 65 63 74 22 | 20 6d 6f 64 65 20 70 65 |oSelect"| mode pe|
|00001750| 6f 70 6c 65 20 68 61 64 | 20 63 6f 6d 65 20 74 6f |ople had| come to|
|00001760| 20 6b 6e 6f 77 0a 58 61 | 6e 64 20 6c 6f 76 65 28 | know.Xa|nd love(|
|00001770| 3f 29 20 66 72 6f 6d 20 | 75 77 6d 2e 0a 58 0a 58 |?) from |uwm..X.X|
|00001780| 0a 58 49 66 20 61 6e 79 | 6f 6e 65 20 66 65 65 6c |.XIf any|one feel|
|00001790| 73 20 61 6d 62 69 74 69 | 6f 75 73 20 65 6e 6f 75 |s ambiti|ous enou|
|000017a0| 67 68 20 74 6f 20 72 65 | 76 65 72 73 65 2d 65 6e |gh to re|verse-en|
|000017b0| 67 69 6e 65 65 72 20 74 | 68 65 73 65 20 63 68 61 |gineer t|hese cha|
|000017c0| 6e 67 65 73 20 69 6e 74 | 6f 0a 58 52 54 4c 27 73 |nges int|o.XRTL's|
|000017d0| 20 76 65 72 73 69 6f 6e | 20 33 20 70 61 63 6b 61 | version| 3 packa|
|000017e0| 67 65 2c 20 6f 72 20 74 | 6f 20 61 75 74 68 6f 72 |ge, or t|o author|
|000017f0| 20 61 20 74 6f 74 61 6c | 6c 79 20 6e 65 77 20 6d | a total|ly new m|
|00001800| 65 6e 75 20 70 61 63 6b | 61 67 65 20 77 69 74 68 |enu pack|age with|
|00001810| 0a 58 74 68 65 20 66 65 | 61 74 75 72 65 73 20 49 |.Xthe fe|atures I|
|00001820| 20 6e 65 65 64 2c 20 49 | 27 6c 6c 20 62 65 20 6d | need, I|'ll be m|
|00001830| 6f 72 65 20 74 68 61 6e | 20 68 61 70 70 79 20 74 |ore than| happy t|
|00001840| 6f 20 61 64 6f 70 74 20 | 69 74 2e 20 49 6e 20 74 |o adopt |it. In t|
|00001850| 68 65 20 6d 65 61 6e 0a | 58 74 69 6d 65 2c 20 49 |he mean.|Xtime, I|
|00001860| 20 68 61 76 65 20 6f 74 | 68 65 72 20 69 73 73 75 | have ot|her issu|
|00001870| 65 73 20 77 68 69 63 68 | 20 61 72 65 2c 20 75 6e |es which| are, un|
|00001880| 66 6f 72 74 75 6e 61 74 | 65 6c 79 2c 20 6d 6f 72 |fortunat|ely, mor|
|00001890| 65 20 70 72 65 73 73 69 | 6e 67 2e 0a 58 0a 58 0a |e pressi|ng..X.X.|
|000018a0| 58 09 09 09 09 09 4a 6f | 72 64 61 6e 20 48 75 62 |X.....Jo|rdan Hub|
|000018b0| 62 61 72 64 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |bard.END|_OF_FILE|
|000018c0| 0a 69 66 20 74 65 73 74 | 20 32 30 38 37 20 2d 6e |.if test| 2087 -n|
|000018d0| 65 20 60 77 63 20 2d 63 | 20 3c 27 4d 45 4e 55 53 |e `wc -c| <'MENUS|
|000018e0| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|000018f0| 6f 20 73 68 61 72 3a 20 | 5c 22 27 4d 45 4e 55 53 |o shar: |\"'MENUS|
|00001900| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00001910| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00001920| 0a 23 20 65 6e 64 20 6f | 66 20 27 4d 45 4e 55 53 |.# end o|f 'MENUS|
|00001930| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00001940| 27 56 45 52 53 49 4f 4e | 27 20 2d 61 20 22 24 7b |'VERSION|' -a "${|
|00001950| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00001960| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00001970| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00001980| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00001990| 5c 22 27 56 45 52 53 49 | 4f 4e 27 5c 22 0a 65 6c |\"'VERSI|ON'\".el|
|000019a0| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|000019b0| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 56 45 52 53 |tracting| \"'VERS|
|000019c0| 49 4f 4e 27 5c 22 20 5c | 28 32 37 32 20 63 68 61 |ION'\" \|(272 cha|
|000019d0| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|000019e0| 2f 5e 58 2f 2f 22 20 3e | 27 56 45 52 53 49 4f 4e |/^X//" >|'VERSION|
|000019f0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00001a00| 27 0a 58 52 65 76 09 46 | 69 6c 65 73 09 09 09 09 |'.XRev.F|iles....|
|00001a10| 09 52 65 61 73 6f 6e 0a | 58 31 2e 31 09 46 69 72 |.Reason.|X1.1.Fir|
|00001a20| 73 74 20 72 65 6c 65 61 | 73 65 0a 58 31 2e 32 09 |st relea|se.X1.2.|
|00001a30| 46 6f 63 75 73 43 68 6e | 67 2e 63 2c 20 61 77 6d |FocusChn|g.c, awm|
|00001a40| 2e 63 2c 20 65 78 70 5f | 70 61 74 68 2e 63 09 09 |.c, exp_|path.c..|
|00001a50| 76 61 78 20 63 6f 6d 70 | 61 74 61 62 69 6c 69 74 |vax comp|atabilit|
|00001a60| 79 0a 58 31 2e 32 09 47 | 61 64 67 65 74 2e 63 09 |y.X1.2.G|adget.c.|
|00001a70| 09 09 09 69 6e 63 6f 72 | 72 65 63 74 20 67 61 64 |...incor|rect gad|
|00001a80| 67 65 74 20 63 61 6c 63 | 73 2e 0a 58 31 2e 32 09 |get calc|s..X1.2.|
|00001a90| 49 63 6f 6e 73 2e 63 09 | 09 09 09 09 63 6f 72 72 |Icons.c.|....corr|
|00001aa0| 65 63 74 20 63 6c 69 70 | 20 47 43 2c 20 68 50 61 |ect clip| GC, hPa|
|00001ab0| 64 2c 20 76 50 61 64 0a | 58 31 2e 32 09 67 72 61 |d, vPad.|X1.2.gra|
|00001ac0| 6d 2e 79 09 09 09 09 09 | 63 61 73 74 2c 20 67 61 |m.y.....|cast, ga|
|00001ad0| 64 67 65 74 73 0a 58 31 | 2e 32 20 09 61 77 6d 2e |dgets.X1|.2 .awm.|
|00001ae0| 6d 61 6e 09 09 09 09 09 | 74 69 74 6c 65 2e 70 75 |man.....|title.pu|
|00001af0| 73 68 2c 20 68 50 61 64 | 2c 20 76 50 61 64 0a 58 |sh, hPad|, vPad.X|
|00001b00| 31 2e 32 09 61 77 6d 2e | 63 09 09 09 09 09 68 50 |1.2.awm.|c.....hP|
|00001b10| 61 64 2c 20 76 50 61 64 | 2e 0a 45 4e 44 5f 4f 46 |ad, vPad|..END_OF|
|00001b20| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 32 37 |_FILE.if| test 27|
|00001b30| 32 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 56 |2 -ne `w|c -c <'V|
|00001b40| 45 52 53 49 4f 4e 27 60 | 3b 20 74 68 65 6e 0a 20 |ERSION'`|; then. |
|00001b50| 20 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 5c 22 | echo |shar: \"|
|00001b60| 27 56 45 52 53 49 4f 4e | 27 5c 22 20 75 6e 70 61 |'VERSION|'\" unpa|
|00001b70| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00001b80| 73 69 7a 65 21 0a 66 69 | 0a 23 20 65 6e 64 20 6f |size!.fi|.# end o|
|00001b90| 66 20 27 56 45 52 53 49 | 4f 4e 27 0a 66 69 0a 69 |f 'VERSI|ON'.fi.i|
|00001ba0| 66 20 74 65 73 74 20 2d | 66 20 27 62 69 74 6d 61 |f test -|f 'bitma|
|00001bb0| 70 73 2f 52 45 41 44 4d | 45 27 20 2d 61 20 22 24 |ps/READM|E' -a "$|
|00001bc0| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00001bd0| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00001be0| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00001bf0| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00001c00| 20 5c 22 27 62 69 74 6d | 61 70 73 2f 52 45 41 44 | \"'bitm|aps/READ|
|00001c10| 4d 45 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |ME'\".el|se.echo |
|00001c20| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00001c30| 20 5c 22 27 62 69 74 6d | 61 70 73 2f 52 45 41 44 | \"'bitm|aps/READ|
|00001c40| 4d 45 27 5c 22 20 5c 28 | 35 34 35 20 63 68 61 72 |ME'\" \(|545 char|
|00001c50| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00001c60| 5e 58 2f 2f 22 20 3e 27 | 62 69 74 6d 61 70 73 2f |^X//" >'|bitmaps/|
|00001c70| 52 45 41 44 4d 45 27 20 | 3c 3c 27 45 4e 44 5f 4f |README' |<<'END_O|
|00001c80| 46 5f 46 49 4c 45 27 0a | 58 48 65 72 65 20 61 72 |F_FILE'.|XHere ar|
|00001c90| 65 20 61 20 66 65 77 20 | 63 6f 6e 74 72 69 62 75 |e a few |contribu|
|00001ca0| 74 65 64 20 62 69 74 6d | 61 70 73 20 28 61 73 20 |ted bitm|aps (as |
|00001cb0| 77 65 6c 6c 20 61 73 20 | 73 6f 6d 65 20 6f 66 20 |well as |some of |
|00001cc0| 6d 79 20 6f 77 6e 29 20 | 74 68 61 74 0a 58 6d 69 |my own) |that.Xmi|
|00001cd0| 67 68 74 20 62 65 20 75 | 73 65 66 75 6c 20 74 6f |ght be u|seful to|
|00001ce0| 20 70 65 6f 70 6c 65 20 | 64 65 73 69 67 6e 69 6e | people |designin|
|00001cf0| 67 20 69 6e 74 65 72 66 | 61 63 65 73 20 77 69 74 |g interf|aces wit|
|00001d00| 68 20 61 77 6d 2e 20 41 | 73 20 6e 6f 74 65 64 0a |h awm. A|s noted.|
|00001d10| 58 69 6e 20 74 68 65 20 | 6d 61 6e 20 70 61 67 65 |Xin the |man page|
|00001d20| 2c 20 63 61 72 65 20 73 | 68 6f 75 6c 64 20 62 65 |, care s|hould be|
|00001d30| 20 74 61 6b 65 6e 20 77 | 68 65 6e 20 63 6f 6e 73 | taken w|hen cons|
|00001d40| 74 72 75 63 74 69 6e 67 | 20 6d 65 6e 75 20 70 61 |tructing| menu pa|
|00001d50| 6e 65 73 0a 58 77 69 74 | 68 20 74 68 65 73 65 20 |nes.Xwit|h these |
|00001d60| 61 73 20 74 68 65 79 20 | 61 72 65 20 6e 6f 74 20 |as they |are not |
|00001d70| 61 6c 6c 20 74 68 65 20 | 73 61 6d 65 20 73 69 7a |all the |same siz|
|00001d80| 65 2e 20 59 6f 75 72 20 | 63 6f 6e 74 72 69 62 75 |e. Your |contribu|
|00001d90| 74 69 6f 6e 73 0a 58 74 | 6f 20 74 68 69 73 20 63 |tions.Xt|o this c|
|00001da0| 6f 6c 6c 65 63 74 69 6f | 6e 73 20 61 72 65 20 77 |ollectio|ns are w|
|00001db0| 65 6c 63 6f 6d 65 64 2e | 0a 58 0a 58 49 74 20 73 |elcomed.|.X.XIt s|
|00001dc0| 68 6f 75 6c 64 20 62 65 | 20 6e 6f 74 65 64 20 74 |hould be| noted t|
|00001dd0| 68 61 74 20 68 61 63 6b | 65 72 73 20 64 6f 6e 27 |hat hack|ers don'|
|00001de0| 74 20 75 73 75 61 6c 6c | 79 20 6d 61 6b 65 20 76 |t usuall|y make v|
|00001df0| 65 72 79 20 67 6f 6f 64 | 20 61 72 74 69 73 74 73 |ery good| artists|
|00001e00| 2e 0a 58 49 66 20 73 6f | 6d 65 6f 6e 65 20 6d 6f |..XIf so|meone mo|
|00001e10| 72 65 20 61 72 74 69 73 | 74 69 63 61 6c 6c 79 20 |re artis|tically |
|00001e20| 69 6e 63 6c 69 6e 65 64 | 20 28 61 6e 64 20 77 69 |inclined| (and wi|
|00001e30| 6c 6c 69 6e 67 20 74 6f | 20 77 6f 72 6b 20 77 69 |lling to| work wi|
|00001e40| 74 68 69 6e 20 74 68 65 | 0a 58 6c 69 6d 69 74 73 |thin the|.Xlimits|
|00001e50| 20 6f 66 20 61 20 31 36 | 78 31 36 20 6f 72 20 33 | of a 16|x16 or 3|
|00001e60| 32 78 33 32 20 66 72 61 | 6d 65 29 20 69 73 20 69 |2x32 fra|me) is i|
|00001e70| 6e 74 65 72 65 73 74 65 | 64 20 69 6e 20 61 64 64 |ntereste|d in add|
|00001e80| 69 6e 67 20 74 6f 20 74 | 68 69 73 0a 58 63 6f 6c |ing to t|his.Xcol|
|00001e90| 6c 65 63 74 69 6f 6e 2c | 20 70 6c 65 61 73 65 20 |lection,| please |
|00001ea0| 64 6f 21 0a 58 0a 58 09 | 09 09 09 09 2d 20 4a 6f |do!.X.X.|....- Jo|
|00001eb0| 72 64 61 6e 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |rdan.END|_OF_FILE|
|00001ec0| 0a 69 66 20 74 65 73 74 | 20 35 34 35 20 2d 6e 65 |.if test| 545 -ne|
|00001ed0| 20 60 77 63 20 2d 63 20 | 3c 27 62 69 74 6d 61 70 | `wc -c |<'bitmap|
|00001ee0| 73 2f 52 45 41 44 4d 45 | 27 60 3b 20 74 68 65 6e |s/README|'`; then|
|00001ef0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00001f00| 5c 22 27 62 69 74 6d 61 | 70 73 2f 52 45 41 44 4d |\"'bitma|ps/READM|
|00001f10| 45 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |E'\" unp|acked wi|
|00001f20| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00001f30| 69 0a 23 20 65 6e 64 20 | 6f 66 20 27 62 69 74 6d |i.# end |of 'bitm|
|00001f40| 61 70 73 2f 52 45 41 44 | 4d 45 27 0a 66 69 0a 69 |aps/READ|ME'.fi.i|
|00001f50| 66 20 74 65 73 74 20 2d | 66 20 27 62 69 74 6d 61 |f test -|f 'bitma|
|00001f60| 70 73 2f 62 6c 61 6e 6b | 2e 62 6d 27 20 2d 61 20 |ps/blank|.bm' -a |
|00001f70| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00001f80| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00001f90| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00001fa0| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|00001fb0| 6c 65 20 5c 22 27 62 69 | 74 6d 61 70 73 2f 62 6c |le \"'bi|tmaps/bl|
|00001fc0| 61 6e 6b 2e 62 6d 27 5c | 22 0a 65 6c 73 65 0a 65 |ank.bm'\|".else.e|
|00001fd0| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00001fe0| 74 69 6e 67 20 5c 22 27 | 62 69 74 6d 61 70 73 2f |ting \"'|bitmaps/|
|00001ff0| 62 6c 61 6e 6b 2e 62 6d | 27 5c 22 20 5c 28 32 37 |blank.bm|'\" \(27|
|00002000| 38 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |8 charac|ters\).s|
|00002010| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 62 69 |ed "s/^X|//" >'bi|
|00002020| 74 6d 61 70 73 2f 62 6c | 61 6e 6b 2e 62 6d 27 20 |tmaps/bl|ank.bm' |
|00002030| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|00002040| 58 23 64 65 66 69 6e 65 | 20 62 6c 61 6e 6b 5f 77 |X#define| blank_w|
|00002050| 69 64 74 68 20 31 36 0a | 58 23 64 65 66 69 6e 65 |idth 16.|X#define|
|00002060| 20 62 6c 61 6e 6b 5f 68 | 65 69 67 68 74 20 31 36 | blank_h|eight 16|
|00002070| 0a 58 73 74 61 74 69 63 | 20 63 68 61 72 20 62 6c |.Xstatic| char bl|
|00002080| 61 6e 6b 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 58 |ank_bits|[] = {.X|
|00002090| 20 20 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 | 0x00,| 0x00, 0|
|000020a0| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|000020b0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|000020c0| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|000020d0| 78 30 30 2c 20 30 78 30 | 30 2c 0a 58 20 20 20 30 |x00, 0x0|0,.X 0|
|000020e0| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|000020f0| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00002100| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00002110| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|00002120| 20 30 78 30 30 2c 0a 58 | 20 20 20 30 78 30 30 2c | 0x00,.X| 0x00,|
|00002130| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x00, 0|x00, 0x0|
|00002140| 30 2c 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 |0, 0x00,| 0x00, 0|
|00002150| 78 30 30 2c 20 30 78 30 | 30 7d 3b 0a 45 4e 44 5f |x00, 0x0|0};.END_|
|00002160| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|00002170| 32 37 38 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |278 -ne |`wc -c <|
|00002180| 27 62 69 74 6d 61 70 73 | 2f 62 6c 61 6e 6b 2e 62 |'bitmaps|/blank.b|
|00002190| 6d 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |m'`; the|n. ec|
|000021a0| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 62 69 74 6d |ho shar:| \"'bitm|
|000021b0| 61 70 73 2f 62 6c 61 6e | 6b 2e 62 6d 27 5c 22 20 |aps/blan|k.bm'\" |
|000021c0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|000021d0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|000021e0| 6e 64 20 6f 66 20 27 62 | 69 74 6d 61 70 73 2f 62 |nd of 'b|itmaps/b|
|000021f0| 6c 61 6e 6b 2e 62 6d 27 | 0a 66 69 0a 69 66 20 74 |lank.bm'|.fi.if t|
|00002200| 65 73 74 20 2d 66 20 27 | 62 69 74 6d 61 70 73 2f |est -f '|bitmaps/|
|00002210| 64 65 73 74 72 6f 79 2e | 62 6d 27 20 2d 61 20 22 |destroy.|bm' -a "|
|00002220| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00002230| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00002240| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00002250| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00002260| 65 20 5c 22 27 62 69 74 | 6d 61 70 73 2f 64 65 73 |e \"'bit|maps/des|
|00002270| 74 72 6f 79 2e 62 6d 27 | 5c 22 0a 65 6c 73 65 0a |troy.bm'|\".else.|
|00002280| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00002290| 63 74 69 6e 67 20 5c 22 | 27 62 69 74 6d 61 70 73 |cting \"|'bitmaps|
|000022a0| 2f 64 65 73 74 72 6f 79 | 2e 62 6d 27 5c 22 20 5c |/destroy|.bm'\" \|
|000022b0| 28 32 38 34 20 63 68 61 | 72 61 63 74 65 72 73 5c |(284 cha|racters\|
|000022c0| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|000022d0| 27 62 69 74 6d 61 70 73 | 2f 64 65 73 74 72 6f 79 |'bitmaps|/destroy|
|000022e0| 2e 62 6d 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |.bm' <<'|END_OF_F|
|000022f0| 49 4c 45 27 0a 58 23 64 | 65 66 69 6e 65 20 64 65 |ILE'.X#d|efine de|
|00002300| 73 74 72 6f 79 5f 77 69 | 64 74 68 20 31 36 0a 58 |stroy_wi|dth 16.X|
|00002310| 23 64 65 66 69 6e 65 20 | 64 65 73 74 72 6f 79 5f |#define |destroy_|
|00002320| 68 65 69 67 68 74 20 31 | 36 0a 58 73 74 61 74 69 |height 1|6.Xstati|
|00002330| 63 20 63 68 61 72 20 64 | 65 73 74 72 6f 79 5f 62 |c char d|estroy_b|
|00002340| 69 74 73 5b 5d 20 3d 20 | 7b 0a 58 20 20 20 30 78 |its[] = |{.X 0x|
|00002350| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00002360| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00002370| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00002380| 31 30 2c 20 30 78 30 30 | 2c 20 30 78 65 30 2c 20 |10, 0x00|, 0xe0, |
|00002390| 30 78 37 66 2c 0a 58 20 | 20 20 30 78 32 30 2c 20 |0x7f,.X | 0x20, |
|000023a0| 30 78 30 32 2c 20 30 78 | 66 30 2c 20 30 78 30 31 |0x02, 0x|f0, 0x01|
|000023b0| 2c 20 30 78 37 38 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x78, |0x00, 0x|
|000023c0| 31 63 2c 20 30 78 30 30 | 2c 20 30 78 31 63 2c 20 |1c, 0x00|, 0x1c, |
|000023d0| 30 78 30 30 2c 20 30 78 | 31 63 2c 20 30 78 30 30 |0x00, 0x|1c, 0x00|
|000023e0| 2c 0a 58 20 20 20 30 78 | 31 63 2c 20 30 78 30 30 |,.X 0x|1c, 0x00|
|000023f0| 2c 20 30 78 30 38 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x08, |0x00, 0x|
|00002400| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00002410| 30 78 30 30 7d 3b 0a 45 | 4e 44 5f 4f 46 5f 46 49 |0x00};.E|ND_OF_FI|
|00002420| 4c 45 0a 69 66 20 74 65 | 73 74 20 32 38 34 20 2d |LE.if te|st 284 -|
|00002430| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 62 69 74 6d |ne `wc -|c <'bitm|
|00002440| 61 70 73 2f 64 65 73 74 | 72 6f 79 2e 62 6d 27 60 |aps/dest|roy.bm'`|
|00002450| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00002460| 73 68 61 72 3a 20 5c 22 | 27 62 69 74 6d 61 70 73 |shar: \"|'bitmaps|
|00002470| 2f 64 65 73 74 72 6f 79 | 2e 62 6d 27 5c 22 20 75 |/destroy|.bm'\" u|
|00002480| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00002490| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|000024a0| 64 20 6f 66 20 27 62 69 | 74 6d 61 70 73 2f 64 65 |d of 'bi|tmaps/de|
|000024b0| 73 74 72 6f 79 2e 62 6d | 27 0a 66 69 0a 69 66 20 |stroy.bm|'.fi.if |
|000024c0| 74 65 73 74 20 2d 66 20 | 27 62 69 74 6d 61 70 73 |test -f |'bitmaps|
|000024d0| 2f 64 69 65 2e 62 6d 27 | 20 2d 61 20 22 24 7b 31 |/die.bm'| -a "${1|
|000024e0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|000024f0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00002500| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00002510| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00002520| 22 27 62 69 74 6d 61 70 | 73 2f 64 69 65 2e 62 6d |"'bitmap|s/die.bm|
|00002530| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00002540| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00002550| 22 27 62 69 74 6d 61 70 | 73 2f 64 69 65 2e 62 6d |"'bitmap|s/die.bm|
|00002560| 27 5c 22 20 5c 28 32 36 | 30 20 63 68 61 72 61 63 |'\" \(26|0 charac|
|00002570| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00002580| 2f 2f 22 20 3e 27 62 69 | 74 6d 61 70 73 2f 64 69 |//" >'bi|tmaps/di|
|00002590| 65 2e 62 6d 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |e.bm' <<|'END_OF_|
|000025a0| 46 49 4c 45 27 0a 58 23 | 64 65 66 69 6e 65 20 64 |FILE'.X#|define d|
|000025b0| 69 65 5f 77 69 64 74 68 | 20 31 35 0a 58 23 64 65 |ie_width| 15.X#de|
|000025c0| 66 69 6e 65 20 64 69 65 | 5f 68 65 69 67 68 74 20 |fine die|_height |
|000025d0| 31 35 0a 58 73 74 61 74 | 69 63 20 63 68 61 72 20 |15.Xstat|ic char |
|000025e0| 64 69 65 5f 62 69 74 73 | 5b 5d 20 3d 20 7b 0a 58 |die_bits|[] = {.X|
|000025f0| 20 20 20 30 78 30 30 2c | 20 30 78 30 30 2c 20 30 | 0x00,| 0x00, 0|
|00002600| 78 32 65 2c 20 30 78 33 | 64 2c 20 30 78 32 32 2c |x2e, 0x3|d, 0x22,|
|00002610| 20 30 78 31 35 2c 20 30 | 78 63 32 2c 20 30 78 31 | 0x15, 0|xc2, 0x1|
|00002620| 34 2c 20 30 78 63 36 2c | 20 30 78 31 34 2c 20 30 |4, 0xc6,| 0x14, 0|
|00002630| 78 32 32 2c 20 30 78 31 | 35 2c 0a 58 20 20 20 30 |x22, 0x1|5,.X 0|
|00002640| 78 32 32 2c 20 30 78 31 | 35 2c 20 30 78 32 65 2c |x22, 0x1|5, 0x2e,|
|00002650| 20 30 78 31 35 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x15, 0|x00, 0x0|
|00002660| 30 2c 20 30 78 30 30 2c | 20 30 78 30 32 2c 20 30 |0, 0x00,| 0x02, 0|
|00002670| 78 30 30 2c 20 30 78 30 | 63 2c 20 30 78 66 65 2c |x00, 0x0|c, 0xfe,|
|00002680| 20 30 78 33 66 2c 0a 58 | 20 20 20 30 78 66 65 2c | 0x3f,.X| 0xfe,|
|00002690| 20 30 78 33 66 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x3f, 0|x00, 0x0|
|000026a0| 63 2c 20 30 78 30 30 2c | 20 30 78 30 32 7d 3b 0a |c, 0x00,| 0x02};.|
|000026b0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|000026c0| 65 73 74 20 32 36 30 20 | 2d 6e 65 20 60 77 63 20 |est 260 |-ne `wc |
|000026d0| 2d 63 20 3c 27 62 69 74 | 6d 61 70 73 2f 64 69 65 |-c <'bit|maps/die|
|000026e0| 2e 62 6d 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |.bm'`; t|hen. |
|000026f0| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 62 69 |echo sha|r: \"'bi|
|00002700| 74 6d 61 70 73 2f 64 69 | 65 2e 62 6d 27 5c 22 20 |tmaps/di|e.bm'\" |
|00002710| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00002720| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00002730| 6e 64 20 6f 66 20 27 62 | 69 74 6d 61 70 73 2f 64 |nd of 'b|itmaps/d|
|00002740| 69 65 2e 62 6d 27 0a 66 | 69 0a 69 66 20 74 65 73 |ie.bm'.f|i.if tes|
|00002750| 74 20 2d 66 20 27 62 69 | 74 6d 61 70 73 2f 66 6f |t -f 'bi|tmaps/fo|
|00002760| 63 2e 62 6d 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |c.bm' -a| "${1}" |
|00002770| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00002780| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00002790| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|000027a0| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 62 |isting f|ile \"'b|
|000027b0| 69 74 6d 61 70 73 2f 66 | 6f 63 2e 62 6d 27 5c 22 |itmaps/f|oc.bm'\"|
|000027c0| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 73 68 61 72 3a |.else.ec|ho shar:|
|000027d0| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 62 | Extract|ing \"'b|
|000027e0| 69 74 6d 61 70 73 2f 66 | 6f 63 2e 62 6d 27 5c 22 |itmaps/f|oc.bm'\"|
|000027f0| 20 5c 28 32 36 30 20 63 | 68 61 72 61 63 74 65 72 | \(260 c|haracter|
|00002800| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00002810| 20 3e 27 62 69 74 6d 61 | 70 73 2f 66 6f 63 2e 62 | >'bitma|ps/foc.b|
|00002820| 6d 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |m' <<'EN|D_OF_FIL|
|00002830| 45 27 0a 58 23 64 65 66 | 69 6e 65 20 66 6f 63 5f |E'.X#def|ine foc_|
|00002840| 77 69 64 74 68 20 31 35 | 0a 58 23 64 65 66 69 6e |width 15|.X#defin|
|00002850| 65 20 66 6f 63 5f 68 65 | 69 67 68 74 20 31 35 0a |e foc_he|ight 15.|
|00002860| 58 73 74 61 74 69 63 20 | 63 68 61 72 20 66 6f 63 |Xstatic |char foc|
|00002870| 5f 62 69 74 73 5b 5d 20 | 3d 20 7b 0a 58 20 20 20 |_bits[] |= {.X |
|00002880| 30 78 30 30 2c 20 30 78 | 38 30 2c 20 30 78 30 30 |0x00, 0x|80, 0x00|
|00002890| 2c 20 30 78 38 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x80, |0x00, 0x|
|000028a0| 38 30 2c 20 30 78 30 30 | 2c 20 30 78 38 30 2c 20 |80, 0x00|, 0x80, |
|000028b0| 30 78 66 63 2c 20 30 78 | 39 66 2c 20 30 78 35 34 |0xfc, 0x|9f, 0x54|
|000028c0| 2c 20 30 78 39 35 2c 0a | 58 20 20 20 30 78 66 63 |, 0x95,.|X 0xfc|
|000028d0| 2c 20 30 78 39 66 2c 20 | 30 78 35 34 2c 20 30 78 |, 0x9f, |0x54, 0x|
|000028e0| 39 35 2c 20 30 78 66 63 | 2c 20 30 78 39 66 2c 20 |95, 0xfc|, 0x9f, |
|000028f0| 30 78 30 34 2c 20 30 78 | 39 30 2c 20 30 78 66 63 |0x04, 0x|90, 0xfc|
|00002900| 2c 20 30 78 39 66 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x9f, |0x00, 0x|
|00002910| 38 30 2c 0a 58 20 20 20 | 30 78 30 30 2c 20 30 78 |80,.X |0x00, 0x|
|00002920| 38 30 2c 20 30 78 30 30 | 2c 20 30 78 38 30 2c 20 |80, 0x00|, 0x80, |
|00002930| 30 78 30 30 2c 20 30 78 | 38 30 7d 3b 0a 45 4e 44 |0x00, 0x|80};.END|
|00002940| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00002950| 20 32 36 30 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 | 260 -ne| `wc -c |
|00002960| 3c 27 62 69 74 6d 61 70 | 73 2f 66 6f 63 2e 62 6d |<'bitmap|s/foc.bm|
|00002970| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00002980| 6f 20 73 68 61 72 3a 20 | 5c 22 27 62 69 74 6d 61 |o shar: |\"'bitma|
|00002990| 70 73 2f 66 6f 63 2e 62 | 6d 27 5c 22 20 75 6e 70 |ps/foc.b|m'\" unp|
|000029a0| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|000029b0| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|000029c0| 6f 66 20 27 62 69 74 6d | 61 70 73 2f 66 6f 63 2e |of 'bitm|aps/foc.|
|000029d0| 62 6d 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |bm'.fi.i|f test -|
|000029e0| 66 20 27 62 69 74 6d 61 | 70 73 2f 69 63 2e 62 6d |f 'bitma|ps/ic.bm|
|000029f0| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00002a00| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00002a10| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00002a20| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00002a30| 6e 67 20 66 69 6c 65 20 | 5c 22 27 62 69 74 6d 61 |ng file |\"'bitma|
|00002a40| 70 73 2f 69 63 2e 62 6d | 27 5c 22 0a 65 6c 73 65 |ps/ic.bm|'\".else|
|00002a50| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00002a60| 61 63 74 69 6e 67 20 5c | 22 27 62 69 74 6d 61 70 |acting \|"'bitmap|
|00002a70| 73 2f 69 63 2e 62 6d 27 | 5c 22 20 5c 28 32 35 37 |s/ic.bm'|\" \(257|
|00002a80| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00002a90| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 62 69 74 |d "s/^X/|/" >'bit|
|00002aa0| 6d 61 70 73 2f 69 63 2e | 62 6d 27 20 3c 3c 27 45 |maps/ic.|bm' <<'E|
|00002ab0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 64 65 |ND_OF_FI|LE'.X#de|
|00002ac0| 66 69 6e 65 20 69 63 5f | 77 69 64 74 68 20 31 35 |fine ic_|width 15|
|00002ad0| 0a 58 23 64 65 66 69 6e | 65 20 69 63 5f 68 65 69 |.X#defin|e ic_hei|
|00002ae0| 67 68 74 20 31 35 0a 58 | 73 74 61 74 69 63 20 63 |ght 15.X|static c|
|00002af0| 68 61 72 20 69 63 5f 62 | 69 74 73 5b 5d 20 3d 20 |har ic_b|its[] = |
|00002b00| 7b 0a 58 20 20 20 30 78 | 30 30 2c 20 30 78 38 30 |{.X 0x|00, 0x80|
|00002b10| 2c 20 30 78 30 30 2c 20 | 30 78 38 30 2c 20 30 78 |, 0x00, |0x80, 0x|
|00002b20| 37 63 2c 20 30 78 39 66 | 2c 20 30 78 37 63 2c 20 |7c, 0x9f|, 0x7c, |
|00002b30| 30 78 39 66 2c 20 30 78 | 37 63 2c 20 30 78 39 66 |0x9f, 0x|7c, 0x9f|
|00002b40| 2c 20 30 78 37 63 2c 20 | 30 78 39 66 2c 0a 58 20 |, 0x7c, |0x9f,.X |
|00002b50| 20 20 30 78 37 63 2c 20 | 30 78 39 66 2c 20 30 78 | 0x7c, |0x9f, 0x|
|00002b60| 30 30 2c 20 30 78 38 30 | 2c 20 30 78 37 63 2c 20 |00, 0x80|, 0x7c, |
|00002b70| 30 78 39 66 2c 20 30 78 | 37 63 2c 20 30 78 39 66 |0x9f, 0x|7c, 0x9f|
|00002b80| 2c 20 30 78 37 63 2c 20 | 30 78 39 66 2c 20 30 78 |, 0x7c, |0x9f, 0x|
|00002b90| 37 63 2c 20 30 78 39 66 | 2c 0a 58 20 20 20 30 78 |7c, 0x9f|,.X 0x|
|00002ba0| 37 63 2c 20 30 78 39 66 | 2c 20 30 78 30 30 2c 20 |7c, 0x9f|, 0x00, |
|00002bb0| 30 78 38 30 2c 20 30 78 | 30 30 2c 20 30 78 38 30 |0x80, 0x|00, 0x80|
|00002bc0| 7d 3b 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |};.END_O|F_FILE.i|
|00002bd0| 66 20 74 65 73 74 20 32 | 35 37 20 2d 6e 65 20 60 |f test 2|57 -ne `|
|00002be0| 77 63 20 2d 63 20 3c 27 | 62 69 74 6d 61 70 73 2f |wc -c <'|bitmaps/|
|00002bf0| 69 63 2e 62 6d 27 60 3b | 20 74 68 65 6e 0a 20 20 |ic.bm'`;| then. |
|00002c00| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00002c10| 62 69 74 6d 61 70 73 2f | 69 63 2e 62 6d 27 5c 22 |bitmaps/|ic.bm'\"|
|00002c20| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00002c30| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00002c40| 65 6e 64 20 6f 66 20 27 | 62 69 74 6d 61 70 73 2f |end of '|bitmaps/|
|00002c50| 69 63 2e 62 6d 27 0a 66 | 69 0a 69 66 20 74 65 73 |ic.bm'.f|i.if tes|
|00002c60| 74 20 2d 66 20 27 62 69 | 74 6d 61 70 73 2f 6d 61 |t -f 'bi|tmaps/ma|
|00002c70| 63 5f 63 6c 6f 73 65 2e | 62 6d 27 20 2d 61 20 22 |c_close.|bm' -a "|
|00002c80| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00002c90| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00002ca0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00002cb0| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00002cc0| 65 20 5c 22 27 62 69 74 | 6d 61 70 73 2f 6d 61 63 |e \"'bit|maps/mac|
|00002cd0| 5f 63 6c 6f 73 65 2e 62 | 6d 27 5c 22 0a 65 6c 73 |_close.b|m'\".els|
|00002ce0| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00002cf0| 72 61 63 74 69 6e 67 20 | 5c 22 27 62 69 74 6d 61 |racting |\"'bitma|
|00002d00| 70 73 2f 6d 61 63 5f 63 | 6c 6f 73 65 2e 62 6d 27 |ps/mac_c|lose.bm'|
|00002d10| 5c 22 20 5c 28 32 31 35 | 20 63 68 61 72 61 63 74 |\" \(215| charact|
|00002d20| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00002d30| 2f 22 20 3e 27 62 69 74 | 6d 61 70 73 2f 6d 61 63 |/" >'bit|maps/mac|
|00002d40| 5f 63 6c 6f 73 65 2e 62 | 6d 27 20 3c 3c 27 45 4e |_close.b|m' <<'EN|
|00002d50| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 23 64 65 66 |D_OF_FIL|E'.X#def|
|00002d60| 69 6e 65 20 6d 61 63 5f | 63 6c 6f 73 65 5f 77 69 |ine mac_|close_wi|
|00002d70| 64 74 68 20 31 30 0a 58 | 23 64 65 66 69 6e 65 20 |dth 10.X|#define |
|00002d80| 6d 61 63 5f 63 6c 6f 73 | 65 5f 68 65 69 67 68 74 |mac_clos|e_height|
|00002d90| 20 31 30 0a 58 73 74 61 | 74 69 63 20 63 68 61 72 | 10.Xsta|tic char|
|00002da0| 20 6d 61 63 5f 63 6c 6f | 73 65 5f 62 69 74 73 5b | mac_clo|se_bits[|
|00002db0| 5d 20 3d 20 7b 0a 58 20 | 20 20 30 78 30 30 2c 20 |] = {.X | 0x00, |
|00002dc0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00002dd0| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00002de0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00002df0| 30 78 30 30 2c 20 30 78 | 30 30 2c 20 30 78 30 30 |0x00, 0x|00, 0x00|
|00002e00| 2c 0a 58 20 20 20 30 78 | 30 30 2c 20 30 78 30 30 |,.X 0x|00, 0x00|
|00002e10| 2c 20 30 78 30 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x00, |0x00, 0x|
|00002e20| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00002e30| 30 78 30 30 7d 3b 0a 45 | 4e 44 5f 4f 46 5f 46 49 |0x00};.E|ND_OF_FI|
|00002e40| 4c 45 0a 69 66 20 74 65 | 73 74 20 32 31 35 20 2d |LE.if te|st 215 -|
|00002e50| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 62 69 74 6d |ne `wc -|c <'bitm|
|00002e60| 61 70 73 2f 6d 61 63 5f | 63 6c 6f 73 65 2e 62 6d |aps/mac_|close.bm|
|00002e70| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00002e80| 6f 20 73 68 61 72 3a 20 | 5c 22 27 62 69 74 6d 61 |o shar: |\"'bitma|
|00002e90| 70 73 2f 6d 61 63 5f 63 | 6c 6f 73 65 2e 62 6d 27 |ps/mac_c|lose.bm'|
|00002ea0| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00002eb0| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|00002ec0| 23 20 65 6e 64 20 6f 66 | 20 27 62 69 74 6d 61 70 |# end of| 'bitmap|
|00002ed0| 73 2f 6d 61 63 5f 63 6c | 6f 73 65 2e 62 6d 27 0a |s/mac_cl|ose.bm'.|
|00002ee0| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 62 |fi.if te|st -f 'b|
|00002ef0| 69 74 6d 61 70 73 2f 72 | 61 69 73 65 2e 62 6d 27 |itmaps/r|aise.bm'|
|00002f00| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00002f10| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00002f20| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00002f30| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|00002f40| 67 20 66 69 6c 65 20 5c | 22 27 62 69 74 6d 61 70 |g file \|"'bitmap|
|00002f50| 73 2f 72 61 69 73 65 2e | 62 6d 27 5c 22 0a 65 6c |s/raise.|bm'\".el|
|00002f60| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00002f70| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 62 69 74 6d |tracting| \"'bitm|
|00002f80| 61 70 73 2f 72 61 69 73 | 65 2e 62 6d 27 5c 22 20 |aps/rais|e.bm'\" |
|00002f90| 5c 28 32 36 39 20 63 68 | 61 72 61 63 74 65 72 73 |\(269 ch|aracters|
|00002fa0| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00002fb0| 3e 27 62 69 74 6d 61 70 | 73 2f 72 61 69 73 65 2e |>'bitmap|s/raise.|
|00002fc0| 62 6d 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |bm' <<'E|ND_OF_FI|
|00002fd0| 4c 45 27 0a 58 23 64 65 | 66 69 6e 65 20 67 31 5f |LE'.X#de|fine g1_|
|00002fe0| 77 69 64 74 68 20 31 36 | 0a 58 23 64 65 66 69 6e |width 16|.X#defin|
|00002ff0| 65 20 67 31 5f 68 65 69 | 67 68 74 20 31 36 0a 58 |e g1_hei|ght 16.X|
|00003000| 73 74 61 74 69 63 20 63 | 68 61 72 20 67 31 5f 62 |static c|har g1_b|
|00003010| 69 74 73 5b 5d 20 3d 20 | 7b 0a 58 20 20 20 30 78 |its[] = |{.X 0x|
|00003020| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|00003030| 30 78 30 30 2c 20 30 78 | 38 30 2c 20 30 78 30 30 |0x00, 0x|80, 0x00|
|00003040| 2c 20 30 78 63 30 2c 20 | 30 78 30 31 2c 20 30 78 |, 0xc0, |0x01, 0x|
|00003050| 65 30 2c 20 30 78 30 33 | 2c 20 30 78 38 30 2c 20 |e0, 0x03|, 0x80, |
|00003060| 30 78 30 30 2c 0a 58 20 | 20 20 30 78 38 30 2c 20 |0x00,.X | 0x80, |
|00003070| 30 78 30 30 2c 20 30 78 | 39 65 2c 20 30 78 33 63 |0x00, 0x|9e, 0x3c|
|00003080| 2c 20 30 78 39 65 2c 20 | 30 78 33 63 2c 20 30 78 |, 0x9e, |0x3c, 0x|
|00003090| 38 30 2c 20 30 78 30 30 | 2c 20 30 78 38 30 2c 20 |80, 0x00|, 0x80, |
|000030a0| 30 78 30 30 2c 20 30 78 | 65 30 2c 20 30 78 30 33 |0x00, 0x|e0, 0x03|
|000030b0| 2c 0a 58 20 20 20 30 78 | 63 30 2c 20 30 78 30 31 |,.X 0x|c0, 0x01|
|000030c0| 2c 20 30 78 38 30 2c 20 | 30 78 30 30 2c 20 30 78 |, 0x80, |0x00, 0x|
|000030d0| 30 30 2c 20 30 78 30 30 | 2c 20 30 78 30 30 2c 20 |00, 0x00|, 0x00, |
|000030e0| 30 78 30 30 7d 3b 0a 45 | 4e 44 5f 4f 46 5f 46 49 |0x00};.E|ND_OF_FI|
|000030f0| 4c 45 0a 69 66 20 74 65 | 73 74 20 32 36 39 20 2d |LE.if te|st 269 -|
|00003100| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 62 69 74 6d |ne `wc -|c <'bitm|
|00003110| 61 70 73 2f 72 61 69 73 | 65 2e 62 6d 27 60 3b 20 |aps/rais|e.bm'`; |
|00003120| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00003130| 61 72 3a 20 5c 22 27 62 | 69 74 6d 61 70 73 2f 72 |ar: \"'b|itmaps/r|
|00003140| 61 69 73 65 2e 62 6d 27 | 5c 22 20 75 6e 70 61 63 |aise.bm'|\" unpac|
|00003150| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00003160| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00003170| 20 27 62 69 74 6d 61 70 | 73 2f 72 61 69 73 65 2e | 'bitmap|s/raise.|
|00003180| 62 6d 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |bm'.fi.i|f test -|
|00003190| 66 20 27 62 69 74 6d 61 | 70 73 2f 72 65 73 2e 62 |f 'bitma|ps/res.b|
|000031a0| 6d 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |m' -a "$|{1}" != |
|000031b0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|000031c0| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|000031d0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|000031e0| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 62 69 74 6d |ing file| \"'bitm|
|000031f0| 61 70 73 2f 72 65 73 2e | 62 6d 27 5c 22 0a 65 6c |aps/res.|bm'\".el|
|00003200| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00003210| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 62 69 74 6d |tracting| \"'bitm|
|00003220| 61 70 73 2f 72 65 73 2e | 62 6d 27 5c 22 20 5c 28 |aps/res.|bm'\" \(|
|00003230| 32 36 30 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |260 char|acters\)|
|00003240| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00003250| 62 69 74 6d 61 70 73 2f | 72 65 73 2e 62 6d 27 20 |bitmaps/|res.bm' |
|00003260| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|00003270| 58 23 64 65 66 69 6e 65 | 20 72 65 73 5f 77 69 64 |X#define| res_wid|
|00003280| 74 68 20 31 35 0a 58 23 | 64 65 66 69 6e 65 20 72 |th 15.X#|define r|
|00003290| 65 73 5f 68 65 69 67 68 | 74 20 31 35 0a 58 73 74 |es_heigh|t 15.Xst|
|000032a0| 61 74 69 63 20 63 68 61 | 72 20 72 65 73 5f 62 69 |atic cha|r res_bi|
|000032b0| 74 73 5b 5d 20 3d 20 7b | 0a 58 20 20 20 30 78 30 |ts[] = {|.X 0x0|
|000032c0| 30 2c 20 30 78 38 30 2c | 20 30 78 66 65 2c 20 30 |0, 0x80,| 0xfe, 0|
|000032d0| 78 62 66 2c 20 30 78 30 | 30 2c 20 30 78 61 30 2c |xbf, 0x0|0, 0xa0,|
|000032e0| 20 30 78 30 30 2c 20 30 | 78 61 30 2c 20 30 78 61 | 0x00, 0|xa0, 0xa|
|000032f0| 61 2c 20 30 78 61 36 2c | 20 30 78 30 30 2c 20 30 |a, 0xa6,| 0x00, 0|
|00003300| 78 61 34 2c 0a 58 20 20 | 20 30 78 30 30 2c 20 30 |xa4,.X | 0x00, 0|
|00003310| 78 61 30 2c 20 30 78 30 | 30 2c 20 30 78 61 34 2c |xa0, 0x0|0, 0xa4,|
|00003320| 20 30 78 37 65 2c 20 30 | 78 61 30 2c 20 30 78 34 | 0x7e, 0|xa0, 0x4|
|00003330| 30 2c 20 30 78 61 34 2c | 20 30 78 34 30 2c 20 30 |0, 0xa4,| 0x40, 0|
|00003340| 78 61 30 2c 20 30 78 34 | 30 2c 20 30 78 61 34 2c |xa0, 0x4|0, 0xa4,|
|00003350| 0a 58 20 20 20 30 78 34 | 30 2c 20 30 78 61 30 2c |.X 0x4|0, 0xa0,|
|00003360| 20 30 78 34 30 2c 20 30 | 78 61 34 2c 20 30 78 30 | 0x40, 0|xa4, 0x0|
|00003370| 30 2c 20 30 78 38 30 7d | 3b 0a 45 4e 44 5f 4f 46 |0, 0x80}|;.END_OF|
|00003380| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 32 36 |_FILE.if| test 26|
|00003390| 30 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 62 |0 -ne `w|c -c <'b|
|000033a0| 69 74 6d 61 70 73 2f 72 | 65 73 2e 62 6d 27 60 3b |itmaps/r|es.bm'`;|
|000033b0| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|000033c0| 68 61 72 3a 20 5c 22 27 | 62 69 74 6d 61 70 73 2f |har: \"'|bitmaps/|
|000033d0| 72 65 73 2e 62 6d 27 5c | 22 20 75 6e 70 61 63 6b |res.bm'\|" unpack|
|000033e0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|000033f0| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00003400| 27 62 69 74 6d 61 70 73 | 2f 72 65 73 2e 62 6d 27 |'bitmaps|/res.bm'|
|00003410| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00003420| 62 69 74 6d 61 70 73 2f | 72 65 73 69 7a 65 2e 62 |bitmaps/|resize.b|
|00003430| 6d 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |m' -a "$|{1}" != |
|00003440| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00003450| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00003460| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00003470| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 62 69 74 6d |ing file| \"'bitm|
|00003480| 61 70 73 2f 72 65 73 69 | 7a 65 2e 62 6d 27 5c 22 |aps/resi|ze.bm'\"|
|00003490| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 73 68 61 72 3a |.else.ec|ho shar:|
|000034a0| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 62 | Extract|ing \"'b|
|000034b0| 69 74 6d 61 70 73 2f 72 | 65 73 69 7a 65 2e 62 6d |itmaps/r|esize.bm|
|000034c0| 27 5c 22 20 5c 28 32 38 | 31 20 63 68 61 72 61 63 |'\" \(28|1 charac|
|000034d0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|000034e0| 2f 2f 22 20 3e 27 62 69 | 74 6d 61 70 73 2f 72 65 |//" >'bi|tmaps/re|
|000034f0| 73 69 7a 65 2e 62 6d 27 | 20 3c 3c 27 45 4e 44 5f |size.bm'| <<'END_|
|00003500| 4f 46 5f 46 49 4c 45 27 | 0a 58 23 64 65 66 69 6e |OF_FILE'|.X#defin|
|00003510| 65 20 72 65 73 69 7a 65 | 5f 77 69 64 74 68 20 31 |e resize|_width 1|
|00003520| 36 0a 58 23 64 65 66 69 | 6e 65 20 72 65 73 69 7a |6.X#defi|ne resiz|
|00003530| 65 5f 68 65 69 67 68 74 | 20 31 36 0a 58 73 74 61 |e_height| 16.Xsta|
|00003540| 74 69 63 20 63 68 61 72 | 20 72 65 73 69 7a 65 5f |tic char| resize_|
|00003550| 62 69 74 73 5b 5d 20 3d | 20 7b 0a 58 20 20 20 30 |bits[] =| {.X 0|
|00003560| 78 30 30 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x00, 0x0|0, 0x00,|
|00003570| 20 30 78 30 30 2c 20 30 | 78 30 30 2c 20 30 78 33 | 0x00, 0|x00, 0x3|
|00003580| 63 2c 20 30 78 30 30 2c | 20 30 78 33 38 2c 20 30 |c, 0x00,| 0x38, 0|
|00003590| 78 30 30 2c 20 30 78 33 | 38 2c 20 30 78 30 30 2c |x00, 0x3|8, 0x00,|
|000035a0| 20 30 78 32 34 2c 0a 58 | 20 20 20 30 78 30 30 2c | 0x24,.X| 0x00,|
|000035b0| 20 30 78 30 32 2c 20 30 | 78 30 30 2c 20 30 78 30 | 0x02, 0|x00, 0x0|
|000035c0| 31 2c 20 30 78 38 30 2c | 20 30 78 30 30 2c 20 30 |1, 0x80,| 0x00, 0|
|000035d0| 78 34 30 2c 20 30 78 30 | 30 2c 20 30 78 32 30 2c |x40, 0x0|0, 0x20,|
|000035e0| 20 30 78 30 30 2c 20 30 | 78 31 32 2c 20 30 78 30 | 0x00, 0|x12, 0x0|
|000035f0| 30 2c 0a 58 20 20 20 30 | 78 30 65 2c 20 30 78 30 |0,.X 0|x0e, 0x0|
|00003600| 30 2c 20 30 78 30 65 2c | 20 30 78 30 30 2c 20 30 |0, 0x0e,| 0x00, 0|
|00003610| 78 31 65 2c 20 30 78 30 | 30 2c 20 30 78 30 30 2c |x1e, 0x0|0, 0x00,|
|00003620| 20 30 78 30 30 7d 3b 0a | 45 4e 44 5f 4f 46 5f 46 | 0x00};.|END_OF_F|
|00003630| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 32 38 31 20 |ILE.if t|est 281 |
|00003640| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 62 69 74 |-ne `wc |-c <'bit|
|00003650| 6d 61 70 73 2f 72 65 73 | 69 7a 65 2e 62 6d 27 60 |maps/res|ize.bm'`|
|00003660| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00003670| 73 68 61 72 3a 20 5c 22 | 27 62 69 74 6d 61 70 73 |shar: \"|'bitmaps|
|00003680| 2f 72 65 73 69 7a 65 2e | 62 6d 27 5c 22 20 75 6e |/resize.|bm'\" un|
|00003690| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|000036a0| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|000036b0| 20 6f 66 20 27 62 69 74 | 6d 61 70 73 2f 72 65 73 | of 'bit|maps/res|
|000036c0| 69 7a 65 2e 62 6d 27 0a | 66 69 0a 69 66 20 74 65 |ize.bm'.|fi.if te|
|000036d0| 73 74 20 2d 66 20 27 64 | 65 66 2e 61 77 6d 72 63 |st -f 'd|ef.awmrc|
|000036e0| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|000036f0| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00003700| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00003710| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00003720| 6e 67 20 66 69 6c 65 20 | 5c 22 27 64 65 66 2e 61 |ng file |\"'def.a|
|00003730| 77 6d 72 63 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |wmrc'\".|else.ech|
|00003740| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00003750| 6e 67 20 5c 22 27 64 65 | 66 2e 61 77 6d 72 63 27 |ng \"'de|f.awmrc'|
|00003760| 5c 22 20 5c 28 31 39 36 | 30 20 63 68 61 72 61 63 |\" \(196|0 charac|
|00003770| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|00003780| 2f 2f 22 20 3e 27 64 65 | 66 2e 61 77 6d 72 63 27 |//" >'de|f.awmrc'|
|00003790| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|000037a0| 0a 58 23 20 24 53 6f 75 | 72 63 65 20 24 0a 58 23 |.X# $Sou|rce $.X#|
|000037b0| 20 24 41 75 74 68 6f 72 | 20 24 0a 58 23 20 24 48 | $Author| $.X# $H|
|000037c0| 65 61 64 65 72 20 24 0a | 58 23 20 43 6f 70 79 72 |eader $.|X# Copyr|
|000037d0| 69 67 68 74 20 28 63 29 | 20 31 39 38 37 20 62 79 |ight (c)| 1987 by|
|000037e0| 20 74 68 65 20 4d 61 73 | 73 61 63 68 75 73 65 74 | the Mas|sachuset|
|000037f0| 74 73 20 49 6e 73 74 69 | 74 75 74 65 20 6f 66 20 |ts Insti|tute of |
|00003800| 54 65 63 68 6e 6f 6c 6f | 67 79 2e 0a 58 23 0a 58 |Technolo|gy..X#.X|
|00003810| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 74 61 72 |# This i|s a star|
|00003820| 74 75 70 20 66 69 6c 65 | 20 66 6f 72 20 75 77 6d |tup file| for uwm|
|00003830| 20 74 68 61 74 20 70 72 | 6f 64 75 63 65 73 20 61 | that pr|oduces a|
|00003840| 6e 20 78 77 6d 20 6c 6f | 6f 6b 61 6c 69 6b 65 2c |n xwm lo|okalike,|
|00003850| 0a 58 23 20 62 75 74 20 | 61 64 64 73 20 74 77 6f |.X# but |adds two|
|00003860| 20 75 73 65 66 75 6c 20 | 6d 65 6e 75 73 2e 20 20 | useful |menus. |
|00003870| 49 74 20 69 73 20 70 61 | 74 74 65 72 6e 65 64 20 |It is pa|tterned |
|00003880| 6f 6e 20 74 68 65 20 70 | 75 62 6c 69 63 0a 58 23 |on the p|ublic.X#|
|00003890| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 2e 2e | distrib|ution ..|
|000038a0| 2f 6c 69 62 2f 58 2f 75 | 77 6d 2f 6a 67 2e 75 77 |/lib/X/u|wm/jg.uw|
|000038b0| 6d 72 63 20 66 69 6c 65 | 20 62 79 20 4a 69 6d 20 |mrc file| by Jim |
|000038c0| 47 65 74 74 79 73 2e 0a | 58 23 0a 58 72 65 73 65 |Gettys..|X#.Xrese|
|000038d0| 74 62 69 6e 64 69 6e 67 | 73 0a 58 72 65 73 65 74 |tbinding|s.Xreset|
|000038e0| 6d 65 6e 75 73 0a 58 72 | 65 73 65 74 67 61 64 67 |menus.Xr|esetgadg|
|000038f0| 65 74 73 0a 58 0a 58 23 | 20 46 55 4e 43 54 49 4f |ets.X.X#| FUNCTIO|
|00003900| 4e 09 4b 45 59 53 09 43 | 4f 4e 54 45 58 54 09 09 |N.KEYS.C|ONTEXT..|
|00003910| 4d 4f 55 53 45 20 42 55 | 54 54 4f 4e 20 41 43 54 |MOUSE BU|TTON ACT|
|00003920| 49 4f 4e 53 0a 58 66 2e | 6e 65 77 69 63 6f 6e 69 |IONS.Xf.|newiconi|
|00003930| 66 79 3d 09 6d 65 74 61 | 09 3a 77 69 6e 64 6f 77 |fy=.meta|.:window|
|00003940| 7c 69 63 6f 6e 3a 09 64 | 65 6c 74 61 20 6c 65 66 ||icon:.d|elta lef|
|00003950| 74 0a 58 66 2e 72 61 69 | 73 65 3d 09 6d 65 74 61 |t.Xf.rai|se=.meta|
|00003960| 09 3a 77 69 6e 64 6f 77 | 7c 69 63 6f 6e 3a 09 64 |.:window||icon:.d|
|00003970| 65 6c 74 61 20 6c 65 66 | 74 0a 58 66 2e 6c 6f 77 |elta lef|t.Xf.low|
|00003980| 65 72 3d 09 6d 65 74 61 | 09 3a 77 69 6e 64 6f 77 |er=.meta|.:window|
|00003990| 7c 69 63 6f 6e 3a 09 6c | 65 66 74 20 75 70 0a 58 ||icon:.l|eft up.X|
|000039a0| 66 2e 72 61 69 73 65 3d | 09 6d 65 74 61 09 3a 77 |f.raise=|.meta.:w|
|000039b0| 69 6e 64 6f 77 3a 09 6d | 69 64 64 6c 65 20 64 6f |indow:.m|iddle do|
|000039c0| 77 6e 0a 58 66 2e 72 65 | 73 69 7a 65 3d 09 6d 65 |wn.Xf.re|size=.me|
|000039d0| 74 61 09 3a 77 69 6e 64 | 6f 77 3a 09 64 65 6c 74 |ta.:wind|ow:.delt|
|000039e0| 61 20 6d 69 64 64 6c 65 | 0a 58 66 2e 69 63 6f 6e |a middle|.Xf.icon|
|000039f0| 69 66 79 3d 09 6d 65 74 | 61 09 3a 69 63 6f 6e 3a |ify=.met|a.:icon:|
|00003a00| 09 09 6d 69 64 64 6c 65 | 20 75 70 0a 58 66 2e 72 |..middle| up.Xf.r|
|00003a10| 61 69 73 65 3d 09 6d 65 | 74 61 09 3a 77 69 6e 64 |aise=.me|ta.:wind|
|00003a20| 6f 77 7c 69 63 6f 6e 3a | 09 72 69 67 68 74 20 64 |ow|icon:|.right d|
|00003a30| 6f 77 6e 0a 58 66 2e 6d | 6f 76 65 3d 09 09 6d 65 |own.Xf.m|ove=..me|
|00003a40| 74 61 09 3a 77 69 6e 64 | 6f 77 7c 69 63 6f 6e 3a |ta.:wind|ow|icon:|
|00003a50| 09 64 65 6c 74 61 20 72 | 69 67 68 74 0a 58 66 2e |.delta r|ight.Xf.|
|00003a60| 63 69 72 63 6c 65 64 6f | 77 6e 3d 09 6d 65 74 61 |circledo|wn=.meta|
|00003a70| 09 3a 72 6f 6f 74 3a 09 | 09 6c 65 66 74 20 64 6f |.:root:.|.left do|
|00003a80| 77 6e 0a 58 66 2e 63 69 | 72 63 6c 65 75 70 3d 09 |wn.Xf.ci|rcleup=.|
|00003a90| 6d 65 74 61 09 3a 72 6f | 6f 74 3a 09 09 72 69 67 |meta.:ro|ot:..rig|
|00003aa0| 68 74 20 64 6f 77 6e 0a | 58 66 2e 63 69 72 63 6c |ht down.|Xf.circl|
|00003ab0| 65 64 6f 77 6e 3d 09 6d | 7c 73 09 3a 3a 09 09 6c |edown=.m||s.::..l|
|00003ac0| 65 66 74 20 64 6f 77 6e | 0a 58 66 2e 6d 65 6e 75 |eft down|.Xf.menu|
|00003ad0| 3d 09 09 09 3a 72 6f 6f | 74 3a 09 09 6d 69 64 64 |=...:roo|t:..midd|
|00003ae0| 6c 65 20 64 6f 77 6e 09 | 3a 20 22 57 69 6e 64 6f |le down.|: "Windo|
|00003af0| 77 4f 70 73 22 0a 58 66 | 2e 6d 65 6e 75 3d 09 09 |wOps".Xf|.menu=..|
|00003b00| 6d 7c 73 09 3a 3a 09 09 | 6d 69 64 64 6c 65 20 64 |m|s.::..|middle d|
|00003b10| 6f 77 6e 09 3a 20 22 57 | 69 6e 64 6f 77 4f 70 73 |own.: "W|indowOps|
|00003b20| 22 0a 58 66 2e 6d 65 6e | 75 3d 09 09 6d 7c 73 09 |".Xf.men|u=..m|s.|
|00003b30| 3a 72 6f 6f 74 3a 09 09 | 6c 65 66 74 20 64 6f 77 |:root:..|left dow|
|00003b40| 6e 09 3a 20 22 50 72 65 | 66 65 72 65 6e 63 65 73 |n.: "Pre|ferences|
|00003b50| 22 0a 58 66 2e 6d 65 6e | 75 3d 09 09 6d 7c 73 09 |".Xf.men|u=..m|s.|
|00003b60| 3a 3a 09 09 6c 65 66 74 | 20 64 6f 77 6e 09 3a 20 |::..left| down.: |
|00003b70| 22 50 72 65 66 65 72 65 | 6e 63 65 73 22 0a 58 66 |"Prefere|nces".Xf|
|00003b80| 2e 63 69 72 63 6c 65 75 | 70 3d 09 6d 7c 73 09 3a |.circleu|p=.m|s.:|
|00003b90| 3a 09 09 72 69 67 68 74 | 20 64 6f 77 6e 0a 58 66 |:..right| down.Xf|
|00003ba0| 2e 69 63 6f 6e 69 66 79 | 3d 09 6d 7c 63 09 3a 77 |.iconify|=.m|c.:w|
|00003bb0| 69 6e 64 6f 77 7c 69 63 | 6f 6e 3a 09 6c 65 66 74 |indow|ic|on:.left|
|00003bc0| 20 64 6f 77 6e 0a 58 66 | 2e 6e 65 77 69 63 6f 6e | down.Xf|.newicon|
|00003bd0| 69 66 79 3d 09 6d 7c 6c | 09 3a 77 69 6e 64 6f 77 |ify=.m|l|.:window|
|00003be0| 7c 69 63 6f 6e 3a 09 6c | 65 66 74 20 64 6f 77 6e ||icon:.l|eft down|
|00003bf0| 0a 58 66 2e 72 61 69 73 | 65 3d 09 6d 7c 6c 09 3a |.Xf.rais|e=.m|l.:|
|00003c00| 77 69 6e 64 6f 77 7c 69 | 63 6f 6e 3a 09 6c 65 66 |window|i|con:.lef|
|00003c10| 74 20 75 70 0a 58 66 2e | 70 75 73 68 72 69 67 68 |t up.Xf.|pushrigh|
|00003c20| 74 3d 09 6d 7c 6c 09 3a | 77 69 6e 64 6f 77 7c 69 |t=.m|l.:|window|i|
|00003c30| 63 6f 6e 3a 09 72 69 67 | 68 74 20 64 6f 77 6e 0a |con:.rig|ht down.|
|00003c40| 58 66 2e 70 75 73 68 6c | 65 66 74 3d 09 6d 7c 63 |Xf.pushl|eft=.m|c|
|00003c50| 09 3a 77 69 6e 64 6f 77 | 7c 69 63 6f 6e 3a 09 72 |.:window||icon:.r|
|00003c60| 69 67 68 74 20 64 6f 77 | 6e 0a 58 66 2e 70 75 73 |ight dow|n.Xf.pus|
|00003c70| 68 75 70 3d 09 6d 7c 6c | 09 3a 77 69 6e 64 6f 77 |hup=.m|l|.:window|
|00003c80| 7c 69 63 6f 6e 3a 09 6d | 69 64 64 6c 65 20 64 6f ||icon:.m|iddle do|
|00003c90| 77 6e 0a 58 66 2e 70 75 | 73 68 64 6f 77 6e 3d 09 |wn.Xf.pu|shdown=.|
|00003ca0| 6d 7c 63 09 3a 77 69 6e | 64 6f 77 7c 69 63 6f 6e |m|c.:win|dow|icon|
|00003cb0| 3a 09 6d 69 64 64 6c 65 | 20 64 6f 77 6e 0a 58 0a |:.middle| down.X.|
|00003cc0| 58 6d 65 6e 75 20 3d 20 | 22 50 72 65 66 65 72 65 |Xmenu = |"Prefere|
|00003cd0| 6e 63 65 73 22 20 7b 0a | 58 42 65 6c 6c 20 4c 6f |nces" {.|XBell Lo|
|00003ce0| 75 64 3a 09 21 22 78 73 | 65 74 20 62 20 37 26 22 |ud:.!"xs|et b 7&"|
|00003cf0| 0a 58 42 65 6c 6c 20 4e | 6f 72 6d 61 6c 3a 09 21 |.XBell N|ormal:.!|
|00003d00| 22 78 73 65 74 20 62 20 | 33 26 22 0a 58 42 65 6c |"xset b |3&".XBel|
|00003d10| 6c 20 4f 66 66 3a 09 21 | 22 78 73 65 74 20 62 20 |l Off:.!|"xset b |
|00003d20| 6f 66 66 26 22 0a 58 43 | 6c 69 63 6b 20 4c 6f 75 |off&".XC|lick Lou|
|00003d30| 64 3a 09 21 22 78 73 65 | 74 20 63 20 38 26 22 0a |d:.!"xse|t c 8&".|
|00003d40| 58 43 6c 69 63 6b 20 53 | 6f 66 74 3a 09 21 22 78 |XClick S|oft:.!"x|
|00003d50| 73 65 74 20 63 20 6f 6e | 26 22 0a 58 43 6c 69 63 |set c on|&".XClic|
|00003d60| 6b 20 4f 66 66 3a 09 21 | 22 78 73 65 74 20 63 20 |k Off:.!|"xset c |
|00003d70| 6f 66 66 26 22 0a 58 4c | 6f 63 6b 20 4f 6e 3a 09 |off&".XL|ock On:.|
|00003d80| 21 22 78 73 65 74 20 6c | 20 6f 6e 26 22 0a 58 4c |!"xset l| on&".XL|
|00003d90| 6f 63 6b 20 4f 66 66 3a | 09 21 22 78 73 65 74 20 |ock Off:|.!"xset |
|00003da0| 6c 20 6f 66 66 26 22 0a | 58 4d 6f 75 73 65 20 46 |l off&".|XMouse F|
|00003db0| 61 73 74 3a 09 21 22 78 | 73 65 74 20 6d 20 34 20 |ast:.!"x|set m 4 |
|00003dc0| 32 26 22 0a 58 4d 6f 75 | 73 65 20 4e 6f 72 6d 61 |2&".XMou|se Norma|
|00003dd0| 6c 3a 09 21 22 78 73 65 | 74 20 6d 20 32 20 35 26 |l:.!"xse|t m 2 5&|
|00003de0| 22 0a 58 4d 6f 75 73 65 | 20 53 6c 6f 77 3a 09 21 |".XMouse| Slow:.!|
|00003df0| 22 78 73 65 74 20 6d 20 | 31 20 31 26 22 0a 58 7d |"xset m |1 1&".X}|
|00003e00| 0a 58 0a 58 6d 65 6e 75 | 20 3d 20 22 57 69 6e 64 |.X.Xmenu| = "Wind|
|00003e10| 6f 77 4f 70 73 22 20 7b | 0a 58 50 72 65 66 65 72 |owOps" {|.XPrefer|
|00003e20| 65 6e 63 65 73 3a 09 66 | 2e 6d 65 6e 75 3a 09 22 |ences:.f|.menu:."|
|00003e30| 50 72 65 66 65 72 65 6e | 63 65 73 22 0a 58 4e 65 |Preferen|ces".XNe|
|00003e40| 77 20 57 69 6e 64 6f 77 | 3a 09 21 22 78 74 65 72 |w Window|:.!"xter|
|00003e50| 6d 26 22 0a 58 52 65 66 | 72 65 73 68 53 63 72 65 |m&".XRef|reshScre|
|00003e60| 65 6e 3a 09 66 2e 72 65 | 66 72 65 73 68 0a 58 52 |en:.f.re|fresh.XR|
|00003e70| 65 64 72 61 77 3a 09 09 | 66 2e 72 65 64 72 61 77 |edraw:..|f.redraw|
|00003e80| 0a 58 4d 6f 76 65 3a 09 | 09 66 2e 6d 6f 76 65 0a |.XMove:.|.f.move.|
|00003e90| 58 52 65 73 69 7a 65 3a | 09 09 66 2e 72 65 73 69 |XResize:|..f.resi|
|00003ea0| 7a 65 0a 58 4c 6f 77 65 | 72 3a 09 09 66 2e 6c 6f |ze.XLowe|r:..f.lo|
|00003eb0| 77 65 72 0a 58 52 61 69 | 73 65 3a 09 09 66 2e 72 |wer.XRai|se:..f.r|
|00003ec0| 61 69 73 65 0a 58 43 69 | 72 63 55 70 3a 09 09 66 |aise.XCi|rcUp:..f|
|00003ed0| 2e 63 69 72 63 6c 65 75 | 70 0a 58 43 69 72 63 44 |.circleu|p.XCircD|
|00003ee0| 6f 77 6e 3a 09 66 2e 63 | 69 72 63 6c 65 64 6f 77 |own:.f.c|ircledow|
|00003ef0| 6e 0a 58 41 75 74 6f 49 | 63 6f 6e 69 66 79 3a 09 |n.XAutoI|conify:.|
|00003f00| 66 2e 69 63 6f 6e 69 66 | 79 0a 58 4c 6f 77 65 72 |f.iconif|y.XLower|
|00003f10| 49 63 6f 6e 69 66 79 3a | 09 66 2e 6e 65 77 69 63 |Iconify:|.f.newic|
|00003f20| 6f 6e 69 66 79 0a 58 4e | 65 77 49 63 6f 6e 69 66 |onify.XN|ewIconif|
|00003f30| 79 3a 09 66 2e 6e 65 77 | 69 63 6f 6e 69 66 79 0a |y:.f.new|iconify.|
|00003f40| 58 46 6f 63 75 73 3a 09 | 09 66 2e 66 6f 63 75 73 |XFocus:.|.f.focus|
|00003f50| 0a 58 46 72 65 65 7a 65 | 3a 09 09 66 2e 70 61 75 |.XFreeze|:..f.pau|
|00003f60| 73 65 0a 58 55 6e 46 72 | 65 65 7a 65 3a 09 66 2e |se.XUnFr|eeze:.f.|
|00003f70| 63 6f 6e 74 69 6e 75 65 | 0a 58 52 65 73 74 61 72 |continue|.XRestar|
|00003f80| 74 3a 09 66 2e 72 65 73 | 74 61 72 74 0a 58 7d 0a |t:.f.res|tart.X}.|
|00003f90| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|00003fa0| 65 73 74 20 31 39 36 30 | 20 2d 6e 65 20 60 77 63 |est 1960| -ne `wc|
|00003fb0| 20 2d 63 20 3c 27 64 65 | 66 2e 61 77 6d 72 63 27 | -c <'de|f.awmrc'|
|00003fc0| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00003fd0| 20 73 68 61 72 3a 20 5c | 22 27 64 65 66 2e 61 77 | shar: \|"'def.aw|
|00003fe0| 6d 72 63 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |mrc'\" u|npacked |
|00003ff0| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00004000| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 64 65 |.fi.# en|d of 'de|
|00004010| 66 2e 61 77 6d 72 63 27 | 0a 66 69 0a 69 66 20 74 |f.awmrc'|.fi.if t|
|00004020| 65 73 74 20 2d 66 20 27 | 6d 65 6e 75 73 2f 4d 61 |est -f '|menus/Ma|
|00004030| 6b 65 66 69 6c 65 27 20 | 2d 61 20 22 24 7b 31 7d |kefile' |-a "${1}|
|00004040| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00004050| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00004060| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00004070| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00004080| 27 6d 65 6e 75 73 2f 4d | 61 6b 65 66 69 6c 65 27 |'menus/M|akefile'|
|00004090| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|000040a0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|000040b0| 27 6d 65 6e 75 73 2f 4d | 61 6b 65 66 69 6c 65 27 |'menus/M|akefile'|
|000040c0| 5c 22 20 5c 28 31 35 35 | 35 20 63 68 61 72 61 63 |\" \(155|5 charac|
|000040d0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|000040e0| 2f 2f 22 20 3e 27 6d 65 | 6e 75 73 2f 4d 61 6b 65 |//" >'me|nus/Make|
|000040f0| 66 69 6c 65 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |file' <<|'END_OF_|
|00004100| 46 49 4c 45 27 0a 58 23 | 20 6d 61 6b 65 66 69 6c |FILE'.X#| makefil|
|00004110| 65 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 20 6d 65 |e for ex|ample me|
|00004120| 6e 75 20 70 72 6f 67 72 | 61 6d 0a 58 23 20 54 68 |nu progr|am.X# Th|
|00004130| 69 73 20 73 68 6f 75 6c | 64 20 62 65 20 67 65 6e |is shoul|d be gen|
|00004140| 65 72 61 74 65 64 20 62 | 79 20 69 6d 61 6b 65 2c |erated b|y imake,|
|00004150| 20 62 75 74 20 69 74 27 | 73 20 6e 6f 74 2e 0a 58 | but it'|s not..X|
|00004160| 23 20 73 6f 6d 65 74 69 | 6d 65 20 22 73 6f 6f 6e |# someti|me "soon|
|00004170| 22 2e 20 49 6e 20 74 68 | 65 20 6d 65 61 6e 74 69 |". In th|e meanti|
|00004180| 6d 65 2c 20 63 68 61 6e | 67 65 20 74 68 65 20 64 |me, chan|ge the d|
|00004190| 69 72 65 63 74 6f 72 69 | 65 73 0a 58 23 20 74 6f |irectori|es.X# to|
|000041a0| 20 73 75 69 74 65 20 79 | 6f 75 72 20 73 79 73 74 | suite y|our syst|
|000041b0| 65 6d 2e 0a 58 0a 58 23 | 20 69 66 20 75 73 69 6e |em..X.X#| if usin|
|000041c0| 67 20 44 42 55 47 20 70 | 61 63 6b 61 67 65 2c 20 |g DBUG p|ackage, |
|000041d0| 70 6f 69 6e 74 20 74 68 | 69 73 20 74 6f 20 74 68 |point th|is to th|
|000041e0| 65 20 6f 62 6a 65 63 74 | 20 66 69 6c 65 73 0a 58 |e object| files.X|
|000041f0| 23 20 44 42 55 47 44 49 | 52 20 3d 20 0a 58 0a 58 |# DBUGDI|R = .X.X|
|00004200| 4f 42 4a 53 20 3d 09 72 | 74 6c 6d 65 6e 75 2e 6f |OBJS =.r|tlmenu.o|
|00004210| 20 74 72 61 63 6b 5f 6d | 65 6e 75 2e 6f 20 65 76 | track_m|enu.o ev|
|00004220| 65 6e 74 73 61 76 65 2e | 6f 20 65 76 65 6e 74 73 |entsave.|o events|
|00004230| 74 61 63 6b 2e 6f 20 6d | 65 6e 75 2e 6f 0a 58 53 |tack.o m|enu.o.XS|
|00004240| 52 43 53 20 3d 09 72 74 | 6c 6d 65 6e 75 2e 63 20 |RCS =.rt|lmenu.c |
|00004250| 74 72 61 63 6b 5f 6d 65 | 6e 75 2e 63 20 65 76 65 |track_me|nu.c eve|
|00004260| 6e 74 73 61 76 65 2e 63 | 20 65 76 65 6e 74 73 74 |ntsave.c| eventst|
|00004270| 61 63 6b 2e 63 20 6d 65 | 6e 75 2e 63 0a 58 49 4e |ack.c me|nu.c.XIN|
|00004280| 43 53 20 3d 09 6d 65 6e | 75 2e 68 20 6d 65 6e 75 |CS =.men|u.h menu|
|00004290| 2e 64 65 66 2e 68 20 6d | 65 6e 75 2e 65 78 74 2e |.def.h m|enu.ext.|
|000042a0| 68 20 72 74 6c 6d 65 6e | 75 2e 68 20 73 74 64 5f |h rtlmen|u.h std_|
|000042b0| 64 65 66 73 2e 68 20 65 | 76 65 6e 74 73 74 61 63 |defs.h e|ventstac|
|000042c0| 6b 2e 68 20 5c 0a 58 09 | 61 72 72 6f 77 5f 69 63 |k.h \.X.|arrow_ic|
|000042d0| 6f 6e 2e 68 20 64 62 75 | 67 2e 68 20 67 72 61 79 |on.h dbu|g.h gray|
|000042e0| 31 2e 68 20 6e 75 6c 6c | 5f 69 63 6f 6e 2e 68 20 |1.h null|_icon.h |
|000042f0| 64 62 75 67 2e 68 20 72 | 74 6c 6d 6e 75 2e 65 78 |dbug.h r|tlmnu.ex|
|00004300| 74 2e 68 20 5c 0a 58 09 | 72 74 6c 6d 6e 75 2e 6f |t.h \.X.|rtlmnu.o|
|00004310| 70 74 2e 68 0a 58 0a 58 | 23 20 63 6f 6d 70 69 6c |pt.h.X.X|# compil|
|00004320| 65 72 20 66 6c 61 67 73 | 20 0a 58 46 4c 41 47 53 |er flags| .XFLAGS|
|00004330| 20 3d 20 24 28 43 46 4c | 41 47 53 29 0a 58 0a 58 | = $(CFL|AGS).X.X|
|00004340| 23 20 69 66 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |# if you| want to|
|00004350| 20 75 73 65 20 74 68 65 | 20 44 42 55 47 20 70 61 | use the| DBUG pa|
|00004360| 63 6b 61 67 65 20 28 61 | 6e 64 20 79 6f 75 20 68 |ckage (a|nd you h|
|00004370| 61 76 65 20 69 74 20 61 | 72 6f 75 6e 64 29 2c 20 |ave it a|round), |
|00004380| 64 65 66 69 6e 65 0a 58 | 23 20 44 42 55 47 46 4c |define.X|# DBUGFL|
|00004390| 41 47 20 74 6f 20 62 65 | 20 65 6d 70 74 79 0a 58 |AG to be| empty.X|
|000043a0| 44 42 55 47 46 4c 41 47 | 20 3d 20 44 42 55 47 5f |DBUGFLAG| = DBUG_|
|000043b0| 4f 46 46 0a 58 0a 58 72 | 74 6c 6d 65 6e 75 2e 61 |OFF.X.Xr|tlmenu.a|
|000043c0| 20 3a 20 24 28 4f 42 4a | 53 29 0a 58 09 72 6d 20 | : $(OBJ|S).X.rm |
|000043d0| 2d 66 20 72 74 6c 6d 65 | 6e 75 2e 61 0a 58 09 61 |-f rtlme|nu.a.X.a|
|000043e0| 72 20 63 6c 71 20 72 74 | 6c 6d 65 6e 75 2e 61 20 |r clq rt|lmenu.a |
|000043f0| 24 28 4f 42 4a 53 29 0a | 58 09 72 61 6e 6c 69 62 |$(OBJS).|X.ranlib|
|00004400| 20 72 74 6c 6d 65 6e 75 | 2e 61 0a 58 0a 58 72 74 | rtlmenu|.a.X.Xrt|
|00004410| 6c 6d 65 6e 75 2e 6f 20 | 3a 20 72 74 6c 6d 65 6e |lmenu.o |: rtlmen|
|00004420| 75 2e 63 20 6d 65 6e 75 | 2e 68 20 6d 65 6e 75 2e |u.c menu|.h menu.|
|00004430| 64 65 66 2e 68 20 6d 65 | 6e 75 2e 65 78 74 2e 68 |def.h me|nu.ext.h|
|00004440| 20 72 74 6c 6d 65 6e 75 | 2e 68 20 73 74 64 5f 64 | rtlmenu|.h std_d|
|00004450| 65 66 73 2e 68 0a 58 09 | 20 24 28 43 43 29 20 24 |efs.h.X.| $(CC) $|
|00004460| 28 46 4c 41 47 53 29 20 | 2d 44 24 28 44 42 55 47 |(FLAGS) |-D$(DBUG|
|00004470| 46 4c 41 47 29 20 2d 63 | 20 72 74 6c 6d 65 6e 75 |FLAG) -c| rtlmenu|
|00004480| 2e 63 0a 58 0a 58 74 72 | 61 63 6b 5f 6d 65 6e 75 |.c.X.Xtr|ack_menu|
|00004490| 2e 6f 20 3a 20 74 72 61 | 63 6b 5f 6d 65 6e 75 2e |.o : tra|ck_menu.|
|000044a0| 63 20 65 76 65 6e 74 73 | 74 61 63 6b 2e 68 20 64 |c events|tack.h d|
|000044b0| 62 75 67 2e 68 20 5c 0a | 58 09 09 6d 65 6e 75 2e |bug.h \.|X..menu.|
|000044c0| 64 65 66 2e 68 20 6d 65 | 6e 75 2e 68 20 6d 65 6e |def.h me|nu.h men|
|000044d0| 75 2e 65 78 74 2e 68 20 | 6e 75 6c 6c 5f 69 63 6f |u.ext.h |null_ico|
|000044e0| 6e 2e 68 20 5c 0a 58 09 | 09 61 72 72 6f 77 5f 69 |n.h \.X.|.arrow_i|
|000044f0| 63 6f 6e 2e 68 20 73 74 | 64 5f 64 65 66 73 2e 68 |con.h st|d_defs.h|
|00004500| 0a 58 09 20 24 28 43 43 | 29 20 24 28 46 4c 41 47 |.X. $(CC|) $(FLAG|
|00004510| 53 29 20 2d 44 24 28 44 | 42 55 47 46 4c 41 47 29 |S) -D$(D|BUGFLAG)|
|00004520| 20 2d 63 20 74 72 61 63 | 6b 5f 6d 65 6e 75 2e 63 | -c trac|k_menu.c|
|00004530| 0a 58 0a 58 65 76 65 6e | 74 73 61 76 65 2e 6f 20 |.X.Xeven|tsave.o |
|00004540| 3a 20 65 76 65 6e 74 73 | 61 76 65 2e 63 20 65 76 |: events|ave.c ev|
|00004550| 65 6e 74 73 74 61 63 6b | 2e 68 20 64 62 75 67 2e |entstack|.h dbug.|
|00004560| 68 20 73 74 64 5f 64 65 | 66 73 2e 68 0a 58 09 20 |h std_de|fs.h.X. |
|00004570| 24 28 43 43 29 20 24 28 | 46 4c 41 47 53 29 20 2d |$(CC) $(|FLAGS) -|
|00004580| 44 24 28 44 42 55 47 46 | 4c 41 47 29 20 2d 63 20 |D$(DBUGF|LAG) -c |
|00004590| 65 76 65 6e 74 73 61 76 | 65 2e 63 0a 58 0a 58 65 |eventsav|e.c.X.Xe|
|000045a0| 76 65 6e 74 73 74 61 63 | 6b 2e 6f 20 3a 20 65 76 |ventstac|k.o : ev|
|000045b0| 65 6e 74 73 74 61 63 6b | 2e 63 20 65 76 65 6e 74 |entstack|.c event|
|000045c0| 73 74 61 63 6b 2e 68 20 | 64 62 75 67 2e 68 20 73 |stack.h |dbug.h s|
|000045d0| 74 64 5f 64 65 66 73 2e | 68 0a 58 09 20 24 28 43 |td_defs.|h.X. $(C|
|000045e0| 43 29 20 24 28 46 4c 41 | 47 53 29 20 2d 44 24 28 |C) $(FLA|GS) -D$(|
|000045f0| 44 42 55 47 46 4c 41 47 | 29 20 2d 63 20 65 76 65 |DBUGFLAG|) -c eve|
|00004600| 6e 74 73 74 61 63 6b 2e | 63 0a 58 0a 58 6d 65 6e |ntstack.|c.X.Xmen|
|00004610| 75 2e 6f 20 3a 20 6d 65 | 6e 75 2e 63 20 61 72 72 |u.o : me|nu.c arr|
|00004620| 6f 77 5f 69 63 6f 6e 2e | 68 20 67 72 61 79 31 2e |ow_icon.|h gray1.|
|00004630| 68 20 6d 65 6e 75 2e 64 | 65 66 2e 68 20 6d 65 6e |h menu.d|ef.h men|
|00004640| 75 2e 68 20 73 74 64 5f | 64 65 66 73 2e 68 20 64 |u.h std_|defs.h d|
|00004650| 62 75 67 2e 68 0a 58 09 | 20 24 28 43 43 29 20 24 |bug.h.X.| $(CC) $|
|00004660| 28 46 4c 41 47 53 29 20 | 20 20 2d 44 24 28 44 42 |(FLAGS) | -D$(DB|
|00004670| 55 47 46 4c 41 47 29 20 | 2d 63 20 6d 65 6e 75 2e |UGFLAG) |-c menu.|
|00004680| 63 0a 58 0a 58 63 6c 65 | 61 6e 3a 0a 58 09 72 6d |c.X.Xcle|an:.X.rm|
|00004690| 20 2d 66 20 2a 2e 6f 20 | 2a 2e 61 20 63 6f 72 65 | -f *.o |*.a core|
|000046a0| 20 2a 7e 20 23 2a 20 0a | 58 0a 58 6e 6f 69 64 65 | *~ #* .|X.Xnoide|
|000046b0| 6e 74 3a 0a 58 09 40 65 | 63 68 6f 20 52 65 6d 6f |nt:.X.@e|cho Remo|
|000046c0| 76 69 6e 67 20 69 64 65 | 6e 74 20 6c 69 6e 65 73 |ving ide|nt lines|
|000046d0| 20 66 72 6f 6d 20 6d 65 | 6e 75 73 2e 2e 2e 0a 58 | from me|nus....X|
|000046e0| 09 40 66 6f 72 20 69 20 | 69 6e 20 24 28 53 52 43 |.@for i |in $(SRC|
|000046f0| 53 29 20 24 28 49 4e 43 | 53 29 3b 20 64 6f 20 5c |S) $(INC|S); do \|
|00004700| 0a 58 09 73 65 64 20 2d | 65 20 27 2f 23 69 64 65 |.X.sed -|e '/#ide|
|00004710| 6e 74 2f 44 27 20 3c 20 | 24 24 69 20 3e 20 2f 74 |nt/D' < |$$i > /t|
|00004720| 6d 70 2f 78 2e 24 24 69 | 20 26 26 20 5c 0a 58 09 |mp/x.$$i| && \.X.|
|00004730| 6d 76 20 2f 74 6d 70 2f | 78 2e 24 24 69 20 24 24 |mv /tmp/|x.$$i $$|
|00004740| 69 20 3b 20 5c 0a 58 09 | 64 6f 6e 65 0a 45 4e 44 |i ; \.X.|done.END|
|00004750| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00004760| 20 31 35 35 35 20 2d 6e | 65 20 60 77 63 20 2d 63 | 1555 -n|e `wc -c|
|00004770| 20 3c 27 6d 65 6e 75 73 | 2f 4d 61 6b 65 66 69 6c | <'menus|/Makefil|
|00004780| 65 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |e'`; the|n. ec|
|00004790| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 6d 65 6e 75 |ho shar:| \"'menu|
|000047a0| 73 2f 4d 61 6b 65 66 69 | 6c 65 27 5c 22 20 75 6e |s/Makefi|le'\" un|
|000047b0| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|000047c0| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|000047d0| 20 6f 66 20 27 6d 65 6e | 75 73 2f 4d 61 6b 65 66 | of 'men|us/Makef|
|000047e0| 69 6c 65 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |ile'.fi.|if test |
|000047f0| 2d 66 20 27 6d 65 6e 75 | 73 2f 52 45 41 44 4d 45 |-f 'menu|s/README|
|00004800| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00004810| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00004820| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00004830| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00004840| 6e 67 20 66 69 6c 65 20 | 5c 22 27 6d 65 6e 75 73 |ng file |\"'menus|
|00004850| 2f 52 45 41 44 4d 45 27 | 5c 22 0a 65 6c 73 65 0a |/README'|\".else.|
|00004860| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00004870| 63 74 69 6e 67 20 5c 22 | 27 6d 65 6e 75 73 2f 52 |cting \"|'menus/R|
|00004880| 45 41 44 4d 45 27 5c 22 | 20 5c 28 31 38 39 32 20 |EADME'\"| \(1892 |
|00004890| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|000048a0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 6d 65 6e 75 | "s/^X//|" >'menu|
|000048b0| 73 2f 52 45 41 44 4d 45 | 27 20 3c 3c 27 45 4e 44 |s/README|' <<'END|
|000048c0| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 4c 61 73 74 20 |_OF_FILE|'.XLast |
|000048d0| 63 68 61 6e 67 65 64 20 | 46 65 62 72 75 61 72 79 |changed |February|
|000048e0| 20 38 74 68 2c 20 31 39 | 38 39 0a 58 0a 58 4d 65 | 8th, 19|89.X.XMe|
|000048f0| 6e 75 73 20 70 61 6e 65 | 73 20 61 72 65 20 6e 6f |nus pane|s are no|
|00004900| 77 20 72 65 64 72 61 77 | 6e 20 64 69 66 66 65 72 |w redraw|n differ|
|00004910| 65 6e 74 6c 79 2e 20 52 | 61 74 68 65 72 20 74 68 |ently. R|ather th|
|00004920| 61 6e 20 77 61 69 74 69 | 6e 67 20 66 6f 72 0a 58 |an waiti|ng for.X|
|00004930| 61 20 22 73 69 64 65 2d | 65 66 66 65 63 74 22 20 |a "side-|effect" |
|00004940| 65 78 70 6f 73 65 20 66 | 72 6f 6d 20 61 20 63 6f |expose f|rom a co|
|00004950| 70 79 20 61 72 65 61 2c | 20 74 72 61 63 6b 6d 65 |py area,| trackme|
|00004960| 6e 75 28 29 20 6a 75 73 | 74 20 64 72 61 77 73 20 |nu() jus|t draws |
|00004970| 74 68 65 6d 0a 58 69 74 | 73 65 6c 66 2e 20 54 68 |them.Xit|self. Th|
|00004980| 69 73 20 73 68 6f 75 6c | 64 20 72 65 73 75 6c 74 |is shoul|d result|
|00004990| 20 69 6e 20 73 75 62 73 | 74 61 6e 74 69 61 6c 6c | in subs|tantiall|
|000049a0| 79 20 62 65 74 74 65 72 | 20 62 65 68 61 76 69 6f |y better| behavio|
|000049b0| 75 72 20 6f 6e 20 63 6f | 6c 6f 75 72 0a 58 73 79 |ur on co|lour.Xsy|
|000049c0| 73 74 65 6d 73 2e 20 41 | 20 6e 75 6d 62 65 72 20 |stems. A| number |
|000049d0| 6f 66 20 6e 69 74 73 20 | 68 61 76 65 20 62 65 65 |of nits |have bee|
|000049e0| 6e 20 63 6c 65 61 6e 65 | 64 20 75 70 20 61 73 20 |n cleane|d up as |
|000049f0| 77 65 6c 6c 2e 0a 58 0a | 58 09 09 09 09 4a 6f 72 |well..X.|X....Jor|
|00004a00| 64 61 6e 20 48 75 62 62 | 61 72 64 0a 58 0a 58 2d |dan Hubb|ard.X.X-|
|00004a10| 2d 2d 2d 2d 0a 58 0a 58 | 52 54 4c 4d 65 6e 75 73 |----.X.X|RTLMenus|
|00004a20| 20 56 65 72 73 69 6f 6e | 20 31 2e 30 20 52 65 6c | Version| 1.0 Rel|
|00004a30| 65 61 73 65 20 32 2e 31 | 0a 58 0a 58 54 68 69 73 |ease 2.1|.X.XThis|
|00004a40| 20 6d 65 6e 75 20 70 61 | 63 6b 61 67 65 20 77 61 | menu pa|ckage wa|
|00004a50| 73 20 77 72 69 74 74 65 | 6e 20 61 74 20 53 69 65 |s writte|n at Sie|
|00004a60| 6d 65 6e 73 20 52 65 73 | 65 61 72 63 68 20 61 6e |mens Res|earch an|
|00004a70| 64 0a 58 54 65 63 68 6e | 6f 6c 6f 67 69 65 73 20 |d.XTechn|ologies |
|00004a80| 4c 61 62 6f 72 61 74 6f | 72 79 2c 20 50 72 69 6e |Laborato|ry, Prin|
|00004a90| 63 65 74 6f 6e 2c 20 4e | 4a 2c 20 69 6e 20 74 68 |ceton, N|J, in th|
|00004aa0| 65 20 73 65 63 6f 6e 64 | 20 68 61 6c 66 20 0a 58 |e second| half .X|
|00004ab0| 6b 6f 66 20 31 39 38 37 | 2e 0a 58 0a 58 54 68 65 |kof 1987|..X.XThe|
|00004ac0| 20 6f 72 69 67 69 6e 61 | 6c 20 62 61 73 69 73 20 | origina|l basis |
|00004ad0| 66 6f 72 20 74 68 65 20 | 73 6f 75 72 63 65 20 66 |for the |source f|
|00004ae0| 69 6c 65 20 6d 65 6e 75 | 2e 63 20 77 61 73 20 74 |ile menu|.c was t|
|00004af0| 68 65 20 6d 65 6e 75 0a | 58 70 61 63 6b 61 67 65 |he menu.|Xpackage|
|00004b00| 20 66 6f 72 20 76 65 72 | 73 69 6f 6e 20 58 31 30 | for ver|sion X10|
|00004b10| 2f 36 2e 36 20 6f 66 20 | 78 74 65 72 6d 20 28 6d |/6.6 of |xterm (m|
|00004b20| 69 73 63 2e 63 29 2e 20 | 20 57 65 20 74 68 61 6e |isc.c). | We than|
|00004b30| 6b 20 74 68 65 0a 58 70 | 72 6f 67 72 61 6d 6d 65 |k the.Xp|rogramme|
|00004b40| 72 73 20 77 68 6f 20 67 | 61 76 65 20 75 73 20 74 |rs who g|ave us t|
|00004b50| 68 69 73 20 62 61 73 69 | 73 20 66 72 6f 6d 20 77 |his basi|s from w|
|00004b60| 68 69 63 68 20 74 6f 20 | 65 78 70 61 6e 64 2e 0a |hich to |expand..|
|00004b70| 58 0a 58 57 65 20 77 72 | 6f 74 65 20 74 68 69 73 |X.XWe wr|ote this|
|00004b80| 20 70 61 63 6b 61 67 65 | 20 74 6f 20 6d 65 65 74 | package| to meet|
|00004b90| 20 74 68 65 20 6e 65 65 | 64 73 20 6f 66 20 74 68 | the nee|ds of th|
|00004ba0| 65 20 52 54 4c 20 54 69 | 6c 65 64 0a 58 57 69 6e |e RTL Ti|led.XWin|
|00004bb0| 64 6f 77 73 20 77 69 6e | 64 6f 77 20 6d 61 6e 61 |dows win|dow mana|
|00004bc0| 67 65 72 20 77 68 69 63 | 68 20 69 73 20 75 6e 64 |ger whic|h is und|
|00004bd0| 65 72 20 64 65 76 65 6c | 6f 70 6d 65 6e 74 20 68 |er devel|opment h|
|00004be0| 65 72 65 2e 0a 58 57 65 | 20 68 61 76 65 20 73 69 |ere..XWe| have si|
|00004bf0| 6d 75 6c 61 74 65 64 20 | 6d 75 63 68 20 6f 66 20 |mulated |much of |
|00004c00| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 61 6c 69 74 |the func|tionalit|
|00004c10| 79 20 6f 66 20 74 68 65 | 20 53 75 6e 57 69 6e 64 |y of the| SunWind|
|00004c20| 6f 77 73 0a 58 54 6f 6f | 6c 6b 69 74 20 6d 65 6e |ows.XToo|lkit men|
|00004c30| 75 73 2e 20 20 54 68 65 | 20 70 61 63 6b 61 67 65 |us. The| package|
|00004c40| 20 68 61 73 20 62 65 65 | 6e 20 74 65 73 74 65 64 | has bee|n tested|
|00004c50| 20 6f 6e 6c 79 20 6f 6e | 20 53 75 6e 73 2e 0a 58 | only on| Suns..X|
|00004c60| 57 65 20 77 65 6c 63 6f | 6d 65 20 65 6e 68 61 6e |We welco|me enhan|
|00004c70| 63 65 6d 65 6e 74 73 20 | 61 6e 64 20 63 68 61 6e |cements |and chan|
|00004c80| 67 65 73 2c 20 61 6e 64 | 20 77 65 20 77 6f 75 6c |ges, and| we woul|
|00004c90| 64 20 61 70 70 72 65 63 | 69 61 74 65 0a 58 68 65 |d apprec|iate.Xhe|
|00004ca0| 61 72 69 6e 67 20 61 62 | 6f 75 74 20 74 68 65 6d |aring ab|out them|
|00004cb0| 2e 20 20 57 65 27 6c 6c | 20 62 65 20 67 6c 61 64 |. We'll| be glad|
|00004cc0| 20 74 6f 20 61 63 63 65 | 70 74 20 62 75 67 20 72 | to acce|pt bug r|
|00004cd0| 65 70 6f 72 74 73 2c 20 | 62 75 74 0a 58 77 65 20 |eports, |but.Xwe |
|00004ce0| 63 61 6e 27 74 20 73 75 | 70 70 6f 72 74 20 74 68 |can't su|pport th|
|00004cf0| 69 73 20 70 61 63 6b 61 | 67 65 20 62 65 79 6f 6e |is packa|ge beyon|
|00004d00| 64 20 6f 75 72 20 6f 77 | 6e 20 6e 65 65 64 73 2e |d our ow|n needs.|
|00004d10| 20 20 57 65 20 61 72 65 | 0a 58 6d 61 6b 69 6e 67 | We are|.Xmaking|
|00004d20| 20 69 74 20 61 76 61 69 | 6c 61 62 6c 65 20 62 65 | it avai|lable be|
|00004d30| 63 61 75 73 65 20 79 6f | 75 20 31 29 20 6d 61 79 |cause yo|u 1) may|
|00004d40| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 75 73 65 20 | be able| to use |
|00004d50| 69 74 2c 0a 58 61 6e 64 | 20 32 29 20 6d 61 79 20 |it,.Xand| 2) may |
|00004d60| 6c 65 61 72 6e 20 73 6f | 6d 65 20 74 72 69 63 6b |learn so|me trick|
|00004d70| 73 20 66 72 6f 6d 20 69 | 74 2e 0a 58 0a 58 57 65 |s from i|t..X.XWe|
|00004d80| 20 66 6f 75 6e 64 20 74 | 68 65 20 44 42 55 47 20 | found t|he DBUG |
|00004d90| 43 20 50 72 6f 67 72 61 | 6d 20 44 65 62 75 67 67 |C Progra|m Debugg|
|00004da0| 69 6e 67 20 50 61 63 6b | 61 67 65 20 62 79 20 46 |ing Pack|age by F|
|00004db0| 72 65 64 20 46 69 73 68 | 20 74 6f 0a 58 62 65 20 |red Fish| to.Xbe |
|00004dc0| 75 73 65 66 75 6c 20 69 | 6e 20 64 65 62 75 67 67 |useful i|n debugg|
|00004dd0| 69 6e 67 20 74 72 61 63 | 6b 5f 6d 65 6e 75 2e 63 |ing trac|k_menu.c|
|00004de0| 2e 20 20 54 68 65 20 44 | 42 55 47 20 6d 61 63 72 |. The D|BUG macr|
|00004df0| 6f 73 20 72 65 6d 61 69 | 6e 2c 0a 58 73 6f 20 79 |os remai|n,.Xso y|
|00004e00| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 6d 20 |ou can u|se them |
|00004e10| 74 6f 20 74 72 61 63 65 | 20 74 68 65 20 63 6f 64 |to trace| the cod|
|00004e20| 65 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 44 42 |e if you| have DB|
|00004e30| 55 47 0a 58 61 76 61 69 | 6c 61 62 6c 65 2e 20 20 |UG.Xavai|lable. |
|00004e40| 54 68 65 20 4d 61 6b 65 | 66 69 6c 65 20 61 73 73 |The Make|file ass|
|00004e50| 75 6d 65 73 20 79 6f 75 | 20 64 6f 20 4e 4f 54 20 |umes you| do NOT |
|00004e60| 68 61 76 65 20 44 42 55 | 47 2c 20 61 6e 64 0a 58 |have DBU|G, and.X|
|00004e70| 74 75 72 6e 73 20 69 74 | 20 6f 66 66 2e 20 0a 58 |turns it| off. .X|
|00004e80| 0a 58 41 64 61 6d 20 4a | 2e 20 52 69 63 68 74 65 |.XAdam J|. Richte|
|00004e90| 72 20 6f 66 20 55 43 20 | 42 65 72 6b 65 6c 65 79 |r of UC |Berkeley|
|00004ea0| 20 77 72 6f 74 65 20 61 | 6e 20 69 6e 69 74 69 61 | wrote a|n initia|
|00004eb0| 6c 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 65 |l versio|n of the|
|00004ec0| 0a 58 6d 65 6e 75 73 20 | 77 68 69 6c 65 20 68 65 |.Xmenus |while he|
|00004ed0| 20 77 61 73 20 68 65 72 | 65 20 6c 61 73 74 20 73 | was her|e last s|
|00004ee0| 75 6d 6d 65 72 2e 20 20 | 4a 6f 65 20 43 61 6d 61 |ummer. |Joe Cama|
|00004ef0| 72 61 74 74 61 20 61 6e | 64 20 4d 69 6b 65 0a 58 |ratta an|d Mike.X|
|00004f00| 42 65 72 6d 61 6e 20 64 | 65 73 69 67 6e 65 64 20 |Berman d|esigned |
|00004f10| 61 6e 64 20 62 75 69 6c | 74 20 74 68 65 20 70 72 |and buil|t the pr|
|00004f20| 65 73 65 6e 74 20 76 65 | 72 73 69 6f 6e 2e 20 20 |esent ve|rsion. |
|00004f30| 54 68 69 73 20 77 6f 72 | 6b 20 77 61 73 0a 58 70 |This wor|k was.Xp|
|00004f40| 65 72 66 6f 72 6d 65 64 | 20 77 69 74 68 20 74 68 |erformed| with th|
|00004f50| 65 20 67 75 69 64 61 6e | 63 65 20 6f 66 20 45 6c |e guidan|ce of El|
|00004f60| 6c 69 73 20 43 6f 68 65 | 6e 20 61 6e 64 20 74 68 |lis Cohe|n and th|
|00004f70| 65 20 61 73 73 69 73 74 | 61 6e 63 65 0a 58 6f 66 |e assist|ance.Xof|
|00004f80| 20 4d 61 72 6b 20 42 69 | 67 67 65 72 73 2e 0a 58 | Mark Bi|ggers..X|
|00004f90| 0a 58 57 65 20 74 68 61 | 6e 6b 20 74 68 6f 73 65 |.XWe tha|nk those|
|00004fa0| 20 77 68 6f 20 62 65 74 | 61 2d 74 65 73 74 65 64 | who bet|a-tested|
|00004fb0| 20 74 68 65 20 6d 65 6e | 75 73 3b 20 69 6e 20 70 | the men|us; in p|
|00004fc0| 61 72 74 69 63 75 6c 61 | 72 2c 0a 58 74 68 61 6e |articula|r,.Xthan|
|00004fd0| 6b 73 20 74 6f 20 47 65 | 6f 72 67 65 20 53 68 65 |ks to Ge|orge She|
|00004fe0| 72 6f 75 73 65 20 61 6e | 64 20 4d 61 72 6b 20 42 |rouse an|d Mark B|
|00004ff0| 61 75 73 68 6b 65 20 66 | 6f 72 20 74 68 65 69 72 |aushke f|or their|
|00005000| 20 75 73 65 66 75 6c 0a | 58 73 75 67 67 65 73 74 | useful.|Xsuggest|
|00005010| 69 6f 6e 73 2e 20 0a 58 | 0a 58 2d 2d 4d 69 6b 65 |ions. .X|.X--Mike|
|00005020| 20 42 65 72 6d 61 6e 0a | 58 20 20 62 65 72 6d 61 | Berman.|X berma|
|00005030| 6e 25 73 69 65 6d 65 6e | 73 40 70 72 69 6e 63 65 |n%siemen|s@prince|
|00005040| 74 6f 6e 2e 65 64 75 0a | 58 20 20 28 36 30 39 29 |ton.edu.|X (609)|
|00005050| 37 33 34 2d 36 35 30 30 | 20 78 32 32 39 33 0a 58 |734-6500| x2293.X|
|00005060| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00005070| 74 65 73 74 20 31 38 39 | 32 20 2d 6e 65 20 60 77 |test 189|2 -ne `w|
|00005080| 63 20 2d 63 20 3c 27 6d | 65 6e 75 73 2f 52 45 41 |c -c <'m|enus/REA|
|00005090| 44 4d 45 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |DME'`; t|hen. |
|000050a0| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 6d 65 |echo sha|r: \"'me|
|000050b0| 6e 75 73 2f 52 45 41 44 | 4d 45 27 5c 22 20 75 6e |nus/READ|ME'\" un|
|000050c0| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|000050d0| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|000050e0| 20 6f 66 20 27 6d 65 6e | 75 73 2f 52 45 41 44 4d | of 'men|us/READM|
|000050f0| 45 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 2d 66 |E'.fi.if| test -f|
|00005100| 20 27 6d 65 6e 75 73 2f | 65 76 65 6e 74 73 74 61 | 'menus/|eventsta|
|00005110| 63 6b 2e 68 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |ck.h' -a| "${1}" |
|00005120| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00005130| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00005140| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00005150| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 6d |isting f|ile \"'m|
|00005160| 65 6e 75 73 2f 65 76 65 | 6e 74 73 74 61 63 6b 2e |enus/eve|ntstack.|
|00005170| 68 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |h'\".els|e.echo s|
|00005180| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00005190| 5c 22 27 6d 65 6e 75 73 | 2f 65 76 65 6e 74 73 74 |\"'menus|/eventst|
|000051a0| 61 63 6b 2e 68 27 5c 22 | 20 5c 28 31 35 37 36 20 |ack.h'\"| \(1576 |
|000051b0| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|000051c0| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 6d 65 6e 75 | "s/^X//|" >'menu|
|000051d0| 73 2f 65 76 65 6e 74 73 | 74 61 63 6b 2e 68 27 20 |s/events|tack.h' |
|000051e0| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|000051f0| 58 0a 58 2f 2a 0a 58 23 | 69 66 6e 64 65 66 20 6c |X.X/*.X#|ifndef l|
|00005200| 69 6e 74 0a 58 73 74 61 | 74 69 63 20 63 68 61 72 |int.Xsta|tic char|
|00005210| 20 73 63 63 73 5f 69 64 | 5b 5d 20 3d 20 22 40 28 | sccs_id|[] = "@(|
|00005220| 23 29 65 76 65 6e 74 73 | 74 61 63 6b 2e 68 09 32 |#)events|tack.h.2|
|00005230| 2e 31 20 31 32 2f 31 36 | 2f 38 37 20 20 53 69 65 |.1 12/16|/87 Sie|
|00005240| 6d 65 6e 73 20 43 6f 72 | 70 6f 72 61 74 65 20 52 |mens Cor|porate R|
|00005250| 65 73 65 61 72 63 68 20 | 61 6e 64 20 53 75 70 70 |esearch |and Supp|
|00005260| 6f 72 74 2c 20 49 6e 63 | 2e 22 3b 0a 58 23 65 6e |ort, Inc|.";.X#en|
|00005270| 64 69 66 0a 58 2a 2f 0a | 58 0a 58 0a 58 2f 2a 20 |dif.X*/.|X.X.X/* |
|00005280| 0a 58 20 2a 20 20 52 54 | 4c 20 4d 65 6e 75 20 50 |.X * RT|L Menu P|
|00005290| 61 63 6b 61 67 65 20 56 | 65 72 73 69 6f 6e 20 31 |ackage V|ersion 1|
|000052a0| 2e 30 0a 58 20 2a 20 62 | 79 20 4a 6f 65 20 43 61 |.0.X * b|y Joe Ca|
|000052b0| 6d 61 72 61 74 74 61 20 | 61 6e 64 20 4d 69 6b 65 |maratta |and Mike|
|000052c0| 20 42 65 72 6d 61 6e 2c | 20 53 69 65 6d 65 6e 73 | Berman,| Siemens|
|000052d0| 20 52 54 4c 2c 20 50 72 | 69 6e 63 65 74 6f 6e 20 | RTL, Pr|inceton |
|000052e0| 4e 4a 2c 20 31 39 38 37 | 0a 58 20 2a 0a 58 20 2a |NJ, 1987|.X *.X *|
|000052f0| 20 65 76 65 6e 74 73 74 | 61 63 6b 2e 68 3a 20 64 | eventst|ack.h: d|
|00005300| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 20 64 65 |ata stru|cture de|
|00005310| 66 69 6e 69 74 69 6f 6e | 73 20 66 6f 72 20 65 76 |finition|s for ev|
|00005320| 65 6e 74 73 74 61 63 6b | 20 70 61 63 6b 61 67 65 |entstack| package|
|00005330| 2e 0a 58 20 2a 20 72 65 | 77 72 69 74 74 65 6e 20 |..X * re|written |
|00005340| 61 6c 6d 6f 73 74 20 65 | 6e 74 69 72 65 6c 79 20 |almost e|ntirely |
|00005350| 62 79 20 4a 6f 72 64 61 | 6e 20 48 75 62 62 61 72 |by Jorda|n Hubbar|
|00005360| 64 2c 20 41 72 64 65 6e | 74 20 43 6f 6d 70 75 74 |d, Arden|t Comput|
|00005370| 65 72 20 63 6f 72 70 2e | 0a 58 20 2a 20 50 72 65 |er corp.|.X * Pre|
|00005380| 76 69 6f 75 73 20 76 65 | 72 73 69 6f 6e 20 64 69 |vious ve|rsion di|
|00005390| 64 20 6e 6f 74 20 61 67 | 72 65 65 20 77 69 74 68 |d not ag|ree with|
|000053a0| 20 6d 61 6e 79 20 63 6f | 6d 70 69 6c 65 72 73 2e | many co|mpilers.|
|000053b0| 0a 58 20 2a 0a 58 20 2a | 2f 0a 58 0a 58 23 69 6e |.X *.X *|/.X.X#in|
|000053c0| 63 6c 75 64 65 20 22 58 | 31 31 2f 63 6f 70 79 72 |clude "X|11/copyr|
|000053d0| 69 67 68 74 2e 68 22 0a | 58 2f 2a 0a 58 20 2a 0a |ight.h".|X/*.X *.|
|000053e0| 58 20 2a 20 43 6f 70 79 | 72 69 67 68 74 20 31 39 |X * Copy|right 19|
|000053f0| 38 37 2c 20 31 39 38 38 | 20 62 79 20 41 72 64 65 |87, 1988| by Arde|
|00005400| 6e 74 20 43 6f 6d 70 75 | 74 65 72 20 43 6f 72 70 |nt Compu|ter Corp|
|00005410| 6f 72 61 74 69 6f 6e 2c | 20 53 75 6e 6e 79 76 61 |oration,| Sunnyva|
|00005420| 6c 65 2c 20 43 61 2e 0a | 58 20 2a 0a 58 20 2a 20 |le, Ca..|X *.X * |
|00005430| 43 6f 70 79 72 69 67 68 | 74 20 31 39 38 37 20 62 |Copyrigh|t 1987 b|
|00005440| 79 20 4a 6f 72 64 61 6e | 20 48 75 62 62 61 72 64 |y Jordan| Hubbard|
|00005450| 2e 0a 58 20 2a 0a 58 20 | 2a 0a 58 20 2a 20 20 20 |..X *.X |*.X * |
|00005460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005470| 20 20 20 20 20 20 41 6c | 6c 20 52 69 67 68 74 73 | Al|l Rights|
|00005480| 20 52 65 73 65 72 76 65 | 64 0a 58 20 2a 0a 58 20 | Reserve|d.X *.X |
|00005490| 2a 20 50 65 72 6d 69 73 | 73 69 6f 6e 20 74 6f 20 |* Permis|sion to |
|000054a0| 75 73 65 2c 20 63 6f 70 | 79 2c 20 6d 6f 64 69 66 |use, cop|y, modif|
|000054b0| 79 2c 20 61 6e 64 20 64 | 69 73 74 72 69 62 75 74 |y, and d|istribut|
|000054c0| 65 20 74 68 69 73 20 73 | 6f 66 74 77 61 72 65 20 |e this s|oftware |
|000054d0| 61 6e 64 20 69 74 73 0a | 58 20 2a 20 64 6f 63 75 |and its.|X * docu|
|000054e0| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 20 61 6e |mentatio|n for an|
|000054f0| 79 20 70 75 72 70 6f 73 | 65 20 61 6e 64 20 77 69 |y purpos|e and wi|
|00005500| 74 68 6f 75 74 20 66 65 | 65 20 69 73 20 68 65 72 |thout fe|e is her|
|00005510| 65 62 79 20 67 72 61 6e | 74 65 64 2c 0a 58 20 2a |eby gran|ted,.X *|
|00005520| 20 70 72 6f 76 69 64 65 | 64 20 74 68 61 74 20 74 | provide|d that t|
|00005530| 68 65 20 61 62 6f 76 65 | 20 63 6f 70 79 72 69 67 |he above| copyrig|
|00005540| 68 74 20 6e 6f 74 69 63 | 65 20 61 70 70 65 61 72 |ht notic|e appear|
|00005550| 20 69 6e 20 61 6c 6c 20 | 63 6f 70 69 65 73 20 61 | in all |copies a|
|00005560| 6e 64 20 74 68 61 74 0a | 58 20 2a 20 62 6f 74 68 |nd that.|X * both|
|00005570| 20 74 68 61 74 20 63 6f | 70 79 72 69 67 68 74 20 | that co|pyright |
|00005580| 6e 6f 74 69 63 65 20 61 | 6e 64 20 74 68 69 73 20 |notice a|nd this |
|00005590| 70 65 72 6d 69 73 73 69 | 6f 6e 20 6e 6f 74 69 63 |permissi|on notic|
|000055a0| 65 20 61 70 70 65 61 72 | 20 69 6e 0a 58 20 2a 20 |e appear| in.X * |
|000055b0| 73 75 70 70 6f 72 74 69 | 6e 67 20 64 6f 63 75 6d |supporti|ng docum|
|000055c0| 65 6e 74 61 74 69 6f 6e | 2c 20 61 6e 64 20 74 68 |entation|, and th|
|000055d0| 61 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 41 |at the n|ame of A|
|000055e0| 72 64 65 6e 74 20 43 6f | 6d 70 75 74 65 72 0a 58 |rdent Co|mputer.X|
|000055f0| 20 2a 20 43 6f 72 70 6f | 72 61 74 69 6f 6e 20 6f | * Corpo|ration o|
|00005600| 72 20 4a 6f 72 64 61 6e | 20 48 75 62 62 61 72 64 |r Jordan| Hubbard|
|00005610| 20 6e 6f 74 20 62 65 20 | 75 73 65 64 20 69 6e 20 | not be |used in |
|00005620| 61 64 76 65 72 74 69 73 | 69 6e 67 20 6f 72 20 70 |advertis|ing or p|
|00005630| 75 62 6c 69 63 69 74 79 | 0a 58 20 2a 20 70 65 72 |ublicity|.X * per|
|00005640| 74 61 69 6e 69 6e 67 20 | 74 6f 20 64 69 73 74 72 |taining |to distr|
|00005650| 69 62 75 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 73 |ibution |of the s|
|00005660| 6f 66 74 77 61 72 65 20 | 77 69 74 68 6f 75 74 20 |oftware |without |
|00005670| 73 70 65 63 69 66 69 63 | 2c 20 77 72 69 74 74 65 |specific|, writte|
|00005680| 6e 0a 58 20 2a 20 70 72 | 69 6f 72 20 70 65 72 6d |n.X * pr|ior perm|
|00005690| 69 73 73 69 6f 6e 2e 0a | 58 20 2a 0a 58 20 2a 2f |ission..|X *.X */|
|000056a0| 0a 58 0a 58 23 69 66 6e | 64 65 66 20 5f 58 4c 49 |.X.X#ifn|def _XLI|
|000056b0| 42 5f 48 5f 0a 58 23 69 | 6e 63 6c 75 64 65 20 22 |B_H_.X#i|nclude "|
|000056c0| 58 31 31 2f 58 6c 69 62 | 2e 68 22 0a 58 23 65 6e |X11/Xlib|.h".X#en|
|000056d0| 64 69 66 0a 58 0a 58 23 | 69 6e 63 6c 75 64 65 20 |dif.X.X#|include |
|000056e0| 22 73 74 64 5f 64 65 66 | 73 2e 68 22 0a 58 0a 58 |"std_def|s.h".X.X|
|000056f0| 23 64 65 66 69 6e 65 20 | 45 76 65 6e 74 53 74 61 |#define |EventSta|
|00005700| 63 6b 49 73 45 6d 70 74 | 79 28 73 74 6b 29 20 28 |ckIsEmpt|y(stk) (|
|00005710| 2a 73 74 6b 20 3d 3d 20 | 28 73 74 72 75 63 74 20 |*stk == |(struct |
|00005720| 45 76 5f 71 20 2a 29 30 | 29 0a 58 0a 58 73 74 72 |Ev_q *)0|).X.Xstr|
|00005730| 75 63 74 20 45 76 5f 71 | 20 7b 0a 58 20 20 20 20 |uct Ev_q| {.X |
|00005740| 20 73 74 72 75 63 74 20 | 45 76 5f 71 20 2a 70 72 | struct |Ev_q *pr|
|00005750| 65 76 3b 0a 58 20 20 20 | 20 20 58 45 76 65 6e 74 |ev;.X | XEvent|
|00005760| 20 2a 65 76 65 6e 74 3b | 0a 58 7d 3b 0a 58 0a 58 | *event;|.X};.X.X|
|00005770| 0a 58 65 78 74 65 72 6e | 20 76 6f 69 64 20 53 61 |.Xextern| void Sa|
|00005780| 76 65 45 76 65 6e 74 73 | 28 29 2c 20 52 65 73 74 |veEvents|(), Rest|
|00005790| 6f 72 65 45 76 65 6e 74 | 73 28 29 2c 20 44 69 73 |oreEvent|s(), Dis|
|000057a0| 70 6f 73 65 45 76 65 6e | 74 73 28 29 2c 0a 58 20 |poseEven|ts(),.X |
|000057b0| 20 20 20 44 69 73 63 61 | 72 64 45 76 65 6e 74 53 | Disca|rdEventS|
|000057c0| 74 6f 72 65 28 29 2c 20 | 41 64 64 45 76 65 6e 74 |tore(), |AddEvent|
|000057d0| 54 6f 53 74 6f 72 65 28 | 29 2c 20 52 65 6d 6f 76 |ToStore(|), Remov|
|000057e0| 65 45 76 65 6e 74 46 72 | 6f 6d 53 74 6f 72 65 28 |eEventFr|omStore(|
|000057f0| 29 3b 0a 58 0a 58 65 78 | 74 65 72 6e 20 42 6f 6f |);.X.Xex|tern Boo|
|00005800| 6c 65 61 6e 20 45 76 65 | 6e 74 53 74 6f 72 65 49 |lean Eve|ntStoreI|
|00005810| 73 45 6d 70 74 79 28 29 | 3b 0a 58 65 78 74 65 72 |sEmpty()|;.Xexter|
|00005820| 6e 20 76 6f 69 64 20 50 | 75 73 68 45 76 65 6e 74 |n void P|ushEvent|
|00005830| 28 29 3b 0a 58 65 78 74 | 65 72 6e 20 58 45 76 65 |();.Xext|ern XEve|
|00005840| 6e 74 20 2a 50 6f 70 45 | 76 65 6e 74 28 29 3b 0a |nt *PopE|vent();.|
|00005850| 58 0a 58 0a 58 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |X.X.X.EN|D_OF_FIL|
|00005860| 45 0a 69 66 20 74 65 73 | 74 20 31 35 37 36 20 2d |E.if tes|t 1576 -|
|00005870| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 6d 65 6e 75 |ne `wc -|c <'menu|
|00005880| 73 2f 65 76 65 6e 74 73 | 74 61 63 6b 2e 68 27 60 |s/events|tack.h'`|
|00005890| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|000058a0| 73 68 61 72 3a 20 5c 22 | 27 6d 65 6e 75 73 2f 65 |shar: \"|'menus/e|
|000058b0| 76 65 6e 74 73 74 61 63 | 6b 2e 68 27 5c 22 20 75 |ventstac|k.h'\" u|
|000058c0| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|000058d0| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|000058e0| 64 20 6f 66 20 27 6d 65 | 6e 75 73 2f 65 76 65 6e |d of 'me|nus/even|
|000058f0| 74 73 74 61 63 6b 2e 68 | 27 0a 66 69 0a 69 66 20 |tstack.h|'.fi.if |
|00005900| 74 65 73 74 20 2d 66 20 | 27 6d 65 6e 75 73 2f 67 |test -f |'menus/g|
|00005910| 72 61 79 31 2e 68 27 20 | 2d 61 20 22 24 7b 31 7d |ray1.h' |-a "${1}|
|00005920| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00005930| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00005940| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00005950| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00005960| 27 6d 65 6e 75 73 2f 67 | 72 61 79 31 2e 68 27 5c |'menus/g|ray1.h'\|
|00005970| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00005980| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00005990| 6d 65 6e 75 73 2f 67 72 | 61 79 31 2e 68 27 5c 22 |menus/gr|ay1.h'\"|
|000059a0| 20 5c 28 32 37 39 20 63 | 68 61 72 61 63 74 65 72 | \(279 c|haracter|
|000059b0| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|000059c0| 20 3e 27 6d 65 6e 75 73 | 2f 67 72 61 79 31 2e 68 | >'menus|/gray1.h|
|000059d0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|000059e0| 27 0a 58 0a 58 23 64 65 | 66 69 6e 65 20 67 72 61 |'.X.X#de|fine gra|
|000059f0| 79 31 5f 77 69 64 74 68 | 20 31 36 0a 58 23 64 65 |y1_width| 16.X#de|
|00005a00| 66 69 6e 65 20 67 72 61 | 79 31 5f 68 65 69 67 68 |fine gra|y1_heigh|
|00005a10| 74 20 31 36 0a 58 73 74 | 61 74 69 63 20 63 68 61 |t 16.Xst|atic cha|
|00005a20| 72 20 67 72 61 79 31 5f | 62 69 74 73 5b 5d 20 3d |r gray1_|bits[] =|
|00005a30| 20 7b 0a 58 20 20 20 30 | 78 35 35 2c 20 30 78 35 | {.X 0|x55, 0x5|
|00005a40| 35 2c 20 30 78 61 61 2c | 20 30 78 61 61 2c 20 30 |5, 0xaa,| 0xaa, 0|
|00005a50| 78 35 35 2c 20 30 78 35 | 35 2c 20 30 78 61 61 2c |x55, 0x5|5, 0xaa,|
|00005a60| 20 30 78 61 61 2c 20 30 | 78 35 35 2c 20 30 78 35 | 0xaa, 0|x55, 0x5|
|00005a70| 35 2c 20 30 78 61 61 2c | 20 30 78 61 61 2c 0a 58 |5, 0xaa,| 0xaa,.X|
|00005a80| 20 20 20 30 78 35 35 2c | 20 30 78 35 35 2c 20 30 | 0x55,| 0x55, 0|
|00005a90| 78 61 61 2c 20 30 78 61 | 61 2c 20 30 78 35 35 2c |xaa, 0xa|a, 0x55,|
|00005aa0| 20 30 78 35 35 2c 20 30 | 78 61 61 2c 20 30 78 61 | 0x55, 0|xaa, 0xa|
|00005ab0| 61 2c 20 30 78 35 35 2c | 20 30 78 35 35 2c 20 30 |a, 0x55,| 0x55, 0|
|00005ac0| 78 61 61 2c 20 30 78 61 | 61 2c 0a 58 20 20 20 30 |xaa, 0xa|a,.X 0|
|00005ad0| 78 35 35 2c 20 30 78 35 | 35 2c 20 30 78 61 61 2c |x55, 0x5|5, 0xaa,|
|00005ae0| 20 30 78 61 61 2c 20 30 | 78 35 35 2c 20 30 78 35 | 0xaa, 0|x55, 0x5|
|00005af0| 35 2c 20 30 78 61 61 2c | 20 30 78 61 61 7d 3b 0a |5, 0xaa,| 0xaa};.|
|00005b00| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|00005b10| 65 73 74 20 32 37 39 20 | 2d 6e 65 20 60 77 63 20 |est 279 |-ne `wc |
|00005b20| 2d 63 20 3c 27 6d 65 6e | 75 73 2f 67 72 61 79 31 |-c <'men|us/gray1|
|00005b30| 2e 68 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |.h'`; th|en. e|
|00005b40| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 6d 65 6e |cho shar|: \"'men|
|00005b50| 75 73 2f 67 72 61 79 31 | 2e 68 27 5c 22 20 75 6e |us/gray1|.h'\" un|
|00005b60| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00005b70| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00005b80| 20 6f 66 20 27 6d 65 6e | 75 73 2f 67 72 61 79 31 | of 'men|us/gray1|
|00005b90| 2e 68 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.h'.fi.i|f test -|
|00005ba0| 66 20 27 6d 65 6e 75 73 | 2f 72 74 6c 6d 6e 75 2e |f 'menus|/rtlmnu.|
|00005bb0| 6f 70 74 2e 68 27 20 2d | 61 20 22 24 7b 31 7d 22 |opt.h' -|a "${1}"|
|00005bc0| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00005bd0| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00005be0| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00005bf0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00005c00| 6d 65 6e 75 73 2f 72 74 | 6c 6d 6e 75 2e 6f 70 74 |menus/rt|lmnu.opt|
|00005c10| 2e 68 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |.h'\".el|se.echo |
|00005c20| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00005c30| 20 5c 22 27 6d 65 6e 75 | 73 2f 72 74 6c 6d 6e 75 | \"'menu|s/rtlmnu|
|00005c40| 2e 6f 70 74 2e 68 27 5c | 22 20 5c 28 31 38 35 36 |.opt.h'\|" \(1856|
|00005c50| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00005c60| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 6d 65 6e |d "s/^X/|/" >'men|
|00005c70| 75 73 2f 72 74 6c 6d 6e | 75 2e 6f 70 74 2e 68 27 |us/rtlmn|u.opt.h'|
|00005c80| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00005c90| 0a 58 0a 58 2f 2a 0a 58 | 23 69 66 6e 64 65 66 20 |.X.X/*.X|#ifndef |
|00005ca0| 6c 69 6e 74 0a 58 73 74 | 61 74 69 63 20 63 68 61 |lint.Xst|atic cha|
|00005cb0| 72 20 73 63 63 73 5f 69 | 64 5b 5d 20 3d 20 22 40 |r sccs_i|d[] = "@|
|00005cc0| 28 23 29 72 74 6c 6d 65 | 6e 75 2e 6f 70 74 69 6f |(#)rtlme|nu.optio|
|00005cd0| 6e 73 2e 68 09 32 2e 31 | 20 31 32 2f 31 36 2f 38 |ns.h.2.1| 12/16/8|
|00005ce0| 37 20 20 53 69 65 6d 65 | 6e 73 20 43 6f 72 70 6f |7 Sieme|ns Corpo|
|00005cf0| 72 61 74 65 20 52 65 73 | 65 61 72 63 68 20 61 6e |rate Res|earch an|
|00005d00| 64 20 53 75 70 70 6f 72 | 74 2c 20 49 6e 63 2e 22 |d Suppor|t, Inc."|
|00005d10| 3b 0a 58 23 65 6e 64 69 | 66 0a 58 2a 2f 0a 58 0a |;.X#endi|f.X*/.X.|
|00005d20| 58 0a 58 2f 2a 20 0a 58 | 20 20 52 54 4c 20 4d 65 |X.X/* .X| RTL Me|
|00005d30| 6e 75 20 50 61 63 6b 61 | 67 65 20 56 65 72 73 69 |nu Packa|ge Versi|
|00005d40| 6f 6e 20 31 2e 30 0a 58 | 20 20 62 79 20 4a 6f 65 |on 1.0.X| by Joe|
|00005d50| 20 43 61 6d 61 72 61 74 | 74 61 20 61 6e 64 20 4d | Camarat|ta and M|
|00005d60| 69 6b 65 20 42 65 72 6d | 61 6e 2c 20 53 69 65 6d |ike Berm|an, Siem|
|00005d70| 65 6e 73 20 52 54 4c 2c | 20 50 72 69 6e 63 65 74 |ens RTL,| Princet|
|00005d80| 6f 6e 20 4e 4a 2c 20 31 | 39 38 37 0a 58 0a 58 20 |on NJ, 1|987.X.X |
|00005d90| 20 72 74 6c 6d 65 6e 75 | 2e 6f 70 74 69 6f 6e 73 | rtlmenu|.options|
|00005da0| 2e 68 3a 20 6f 70 74 69 | 6f 6e 20 66 6c 61 67 73 |.h: opti|on flags|
|00005db0| 20 66 6f 72 20 72 74 6c | 6d 65 6e 75 20 75 73 65 | for rtl|menu use|
|00005dc0| 72 0a 58 2a 2f 0a 58 0a | 58 2f 2a 0a 58 0a 58 43 |r.X*/.X.|X/*.X.XC|
|00005dd0| 6f 70 79 72 69 67 68 74 | 20 31 39 38 37 20 62 79 |opyright| 1987 by|
|00005de0| 0a 58 09 53 69 65 6d 65 | 6e 73 20 43 6f 72 70 6f |.X.Sieme|ns Corpo|
|00005df0| 72 61 74 65 20 52 65 73 | 65 61 72 63 68 20 61 6e |rate Res|earch an|
|00005e00| 64 20 53 75 70 70 6f 72 | 74 2c 20 49 6e 63 2e 2c |d Suppor|t, Inc.,|
|00005e10| 20 50 72 69 6e 63 65 74 | 6f 6e 2c 20 4e 65 77 20 | Princet|on, New |
|00005e20| 4a 65 72 73 65 79 0a 58 | 0a 58 50 65 72 6d 69 73 |Jersey.X|.XPermis|
|00005e30| 73 69 6f 6e 20 74 6f 20 | 75 73 65 2c 20 63 6f 70 |sion to |use, cop|
|00005e40| 79 2c 20 6d 6f 64 69 66 | 79 2c 20 61 6e 64 20 64 |y, modif|y, and d|
|00005e50| 69 73 74 72 69 62 75 74 | 65 20 74 68 69 73 20 73 |istribut|e this s|
|00005e60| 6f 66 74 77 61 72 65 0a | 58 61 6e 64 20 69 74 73 |oftware.|Xand its|
|00005e70| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 66 | documen|tation f|
|00005e80| 6f 72 20 61 6e 79 20 70 | 75 72 70 6f 73 65 20 61 |or any p|urpose a|
|00005e90| 6e 64 20 77 69 74 68 6f | 75 74 20 66 65 65 20 69 |nd witho|ut fee i|
|00005ea0| 73 0a 58 68 65 72 65 62 | 79 20 67 72 61 6e 74 65 |s.Xhereb|y grante|
|00005eb0| 64 2c 20 70 72 6f 76 69 | 64 65 64 20 74 68 61 74 |d, provi|ded that|
|00005ec0| 20 74 68 65 20 61 62 6f | 76 65 20 63 6f 70 79 72 | the abo|ve copyr|
|00005ed0| 69 67 68 74 20 6e 6f 74 | 69 63 65 0a 58 61 70 70 |ight not|ice.Xapp|
|00005ee0| 65 61 72 20 69 6e 20 61 | 6c 6c 20 63 6f 70 69 65 |ear in a|ll copie|
|00005ef0| 73 20 61 6e 64 20 74 68 | 61 74 20 62 6f 74 68 20 |s and th|at both |
|00005f00| 74 68 61 74 20 63 6f 70 | 79 72 69 67 68 74 20 6e |that cop|yright n|
|00005f10| 6f 74 69 63 65 20 61 6e | 64 0a 58 74 68 69 73 20 |otice an|d.Xthis |
|00005f20| 70 65 72 6d 69 73 73 69 | 6f 6e 20 6e 6f 74 69 63 |permissi|on notic|
|00005f30| 65 20 61 70 70 65 61 72 | 20 69 6e 20 73 75 70 70 |e appear| in supp|
|00005f40| 6f 72 74 69 6e 67 20 64 | 6f 63 75 6d 65 6e 74 61 |orting d|ocumenta|
|00005f50| 74 69 6f 6e 2c 20 61 6e | 64 0a 58 74 68 61 74 20 |tion, an|d.Xthat |
|00005f60| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 53 69 65 6d |the name| of Siem|
|00005f70| 65 6e 73 20 6e 6f 74 20 | 62 65 20 75 73 65 64 20 |ens not |be used |
|00005f80| 69 6e 20 61 64 76 65 72 | 74 69 73 69 6e 67 20 6f |in adver|tising o|
|00005f90| 72 0a 58 70 75 62 6c 69 | 63 69 74 79 20 70 65 72 |r.Xpubli|city per|
|00005fa0| 74 61 69 6e 69 6e 67 20 | 74 6f 20 64 69 73 74 72 |taining |to distr|
|00005fb0| 69 62 75 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 73 |ibution |of the s|
|00005fc0| 6f 66 74 77 61 72 65 20 | 77 69 74 68 6f 75 74 0a |oftware |without.|
|00005fd0| 58 73 70 65 63 69 66 69 | 63 2c 20 77 72 69 74 74 |Xspecifi|c, writt|
|00005fe0| 65 6e 20 70 72 69 6f 72 | 20 70 65 72 6d 69 73 73 |en prior| permiss|
|00005ff0| 69 6f 6e 2e 20 20 53 69 | 65 6d 65 6e 73 20 6d 61 |ion. Si|emens ma|
|00006000| 6b 65 73 20 6e 6f 0a 58 | 72 65 70 72 65 73 65 6e |kes no.X|represen|
|00006010| 74 61 74 69 6f 6e 73 20 | 61 62 6f 75 74 20 74 68 |tations |about th|
|00006020| 65 20 73 75 69 74 61 62 | 69 6c 69 74 79 20 6f 66 |e suitab|ility of|
|00006030| 20 74 68 69 73 20 73 6f | 66 74 77 61 72 65 20 66 | this so|ftware f|
|00006040| 6f 72 20 61 6e 79 0a 58 | 70 75 72 70 6f 73 65 2e |or any.X|purpose.|
|00006050| 20 20 49 74 20 69 73 20 | 70 72 6f 76 69 64 65 64 | It is |provided|
|00006060| 20 22 61 73 20 69 73 22 | 20 77 69 74 68 6f 75 74 | "as is"| without|
|00006070| 20 65 78 70 72 65 73 73 | 20 6f 72 20 69 6d 70 6c | express| or impl|
|00006080| 69 65 64 0a 58 77 61 72 | 72 61 6e 74 79 2e 0a 58 |ied.Xwar|ranty..X|
|00006090| 0a 58 2a 2f 0a 58 0a 58 | 23 69 66 6e 64 65 66 20 |.X*/.X.X|#ifndef |
|000060a0| 4f 50 54 49 4f 4e 5f 46 | 4c 41 47 53 0a 58 23 64 |OPTION_F|LAGS.X#d|
|000060b0| 65 66 69 6e 65 20 4f 50 | 54 49 4f 4e 5f 46 4c 41 |efine OP|TION_FLA|
|000060c0| 47 53 0a 58 0a 58 2f 2a | 20 66 6c 61 67 73 20 66 |GS.X.X/*| flags f|
|000060d0| 6f 72 20 6d 65 6e 75 20 | 6f 70 65 72 61 74 69 6f |or menu |operatio|
|000060e0| 6e 20 2a 2f 0a 58 0a 58 | 74 79 70 65 64 65 66 20 |n */.X.X|typedef |
|000060f0| 75 6e 73 69 67 6e 65 64 | 20 69 6e 74 20 4d 65 6e |unsigned| int Men|
|00006100| 75 4f 70 74 69 6f 6e 73 | 4d 61 73 6b 3b 0a 58 0a |uOptions|Mask;.X.|
|00006110| 58 23 64 65 66 69 6e 65 | 20 63 6c 69 63 6b 6f 6b |X#define| clickok|
|00006120| 61 79 20 20 20 28 31 4c | 3c 3c 30 29 20 2f 2a 20 |ay (1L|<<0) /* |
|00006130| 61 63 63 65 70 74 20 63 | 6c 69 63 6b 2d 63 6c 69 |accept c|lick-cli|
|00006140| 63 6b 20 61 73 20 65 71 | 75 69 76 61 6c 65 6e 74 |ck as eq|uivalent|
|00006150| 20 74 6f 20 70 72 65 73 | 73 2d 72 65 6c 65 61 73 | to pres|s-releas|
|00006160| 65 20 20 2a 2f 0a 58 23 | 64 65 66 69 6e 65 20 73 |e */.X#|define s|
|00006170| 61 76 65 62 69 74 73 20 | 20 20 20 28 31 4c 3c 3c |avebits | (1L<<|
|00006180| 31 29 20 2f 2a 20 61 74 | 74 65 6d 70 74 20 74 6f |1) /* at|tempt to|
|00006190| 20 73 61 76 65 2f 72 65 | 73 74 6f 72 65 20 61 72 | save/re|store ar|
|000061a0| 65 61 20 75 6e 64 65 72 | 20 6d 65 6e 75 20 20 20 |ea under| menu |
|000061b0| 20 20 20 20 20 20 20 20 | 20 2a 2f 0a 58 23 64 65 | | */.X#de|
|000061c0| 66 69 6e 65 20 66 69 78 | 65 64 63 68 69 6c 64 20 |fine fix|edchild |
|000061d0| 20 28 31 4c 3c 3c 32 29 | 20 2f 2a 20 70 75 6c 6c | (1L<<2)| /* pull|
|000061e0| 20 75 70 20 63 68 69 6c | 64 20 69 6e 20 66 69 78 | up chil|d in fix|
|000061f0| 65 64 20 70 6f 73 69 74 | 69 6f 6e 20 72 65 6c 61 |ed posit|ion rela|
|00006200| 74 69 76 65 20 74 6f 20 | 70 61 72 65 6e 74 20 2a |tive to |parent *|
|00006210| 2f 0a 58 23 64 65 66 69 | 6e 65 20 72 69 67 68 74 |/.X#defi|ne right|
|00006220| 6f 66 66 73 65 74 20 28 | 31 4c 3c 3c 33 29 20 2f |offset (|1L<<3) /|
|00006230| 2a 20 77 68 65 6e 20 70 | 75 6c 6c 69 6e 67 20 75 |* when p|ulling u|
|00006240| 70 20 6f 6e 20 72 69 67 | 68 74 20 65 64 67 65 2c |p on rig|ht edge,|
|00006250| 20 73 68 6f 75 6c 64 20 | 63 68 69 6c 64 20 62 65 | should |child be|
|00006260| 20 20 20 20 20 2a 2f 0a | 58 20 20 20 20 20 20 20 | */.|X |
|00006270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006280| 20 20 20 20 20 2f 2a 20 | 6f 66 66 73 65 74 20 74 | /* |offset t|
|00006290| 6f 20 6c 65 66 74 2c 20 | 61 6c 6c 6f 77 69 6e 67 |o left, |allowing|
|000062a0| 20 70 61 72 65 6e 74 20 | 74 6f 20 72 65 6d 61 69 | parent |to remai|
|000062b0| 6e 20 76 69 73 69 62 6c | 65 20 20 2a 2f 0a 58 23 |n visibl|e */.X#|
|000062c0| 64 65 66 69 6e 65 20 62 | 69 67 6f 66 66 73 65 74 |define b|igoffset|
|000062d0| 20 20 20 28 31 4c 3c 3c | 34 29 20 2f 2a 20 76 61 | (1L<<|4) /* va|
|000062e0| 6c 69 64 20 6f 6e 6c 79 | 20 77 68 65 6e 20 72 69 |lid only| when ri|
|000062f0| 67 68 74 6f 66 66 73 65 | 74 3d 31 2e 20 20 69 66 |ghtoffse|t=1. if|
|00006300| 20 62 69 67 6f 66 66 73 | 65 74 3d 31 2c 20 20 20 | bigoffs|et=1, |
|00006310| 20 2a 2f 0a 58 20 20 20 | 20 20 20 20 20 20 20 20 | */.X | |
|00006320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006330| 20 2f 2a 20 6f 66 66 73 | 65 74 20 63 68 69 6c 64 | /* offs|et child|
|00006340| 20 66 61 72 20 65 6e 6f | 75 67 68 20 74 6f 20 73 | far eno|ugh to s|
|00006350| 65 65 20 6d 6f 73 74 20 | 6f 66 20 70 61 72 65 6e |ee most |of paren|
|00006360| 74 3b 20 20 20 20 20 2a | 2f 0a 58 20 20 20 20 20 |t; *|/.X |
|00006370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006380| 20 20 20 20 20 20 20 2f | 2a 20 65 6c 73 65 2c 20 | /|* else, |
|00006390| 6a 75 73 74 20 66 61 72 | 20 65 6e 6f 75 67 68 20 |just far| enough |
|000063a0| 74 6f 20 67 65 74 20 62 | 61 63 6b 20 74 6f 20 70 |to get b|ack to p|
|000063b0| 61 72 65 6e 74 2e 20 20 | 20 20 20 20 20 2a 2f 0a |arent. | */.|
|000063c0| 58 0a 58 23 64 65 66 69 | 6e 65 20 52 54 4c 4d 65 |X.X#defi|ne RTLMe|
|000063d0| 6e 75 5f 4f 70 74 69 6f | 6e 5f 53 65 74 28 6d 61 |nu_Optio|n_Set(ma|
|000063e0| 73 6b 2c 20 6f 70 74 69 | 6f 6e 29 20 28 6d 61 73 |sk, opti|on) (mas|
|000063f0| 6b 20 7c 3d 20 6f 70 74 | 69 6f 6e 29 0a 58 23 65 |k |= opt|ion).X#e|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.