home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / x / volume14 / xtoolplaces / part01 next >
SHell self-extracting ARchive  |  1991-08-26  |  72.0 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

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

You can browse this item here: part01

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 65 6c 72 6f |Path: uu|net!elro|
|00000010| 79 2e 6a 70 6c 2e 6e 61 | 73 61 2e 67 6f 76 21 6c |y.jpl.na|sa.gov!l|
|00000020| 6c 6c 2d 77 69 6e 6b 65 | 6e 21 73 75 6e 2d 62 61 |ll-winke|n!sun-ba|
|00000030| 72 72 21 63 72 6f 6e 6b | 69 74 65 2e 43 65 6e 74 |rr!cronk|ite.Cent|
|00000040| 72 61 6c 2e 53 75 6e 2e | 43 4f 4d 21 65 78 6f 64 |ral.Sun.|COM!exod|
|00000050| 75 73 21 77 72 63 2e 78 | 65 72 6f 78 2e 63 6f 6d |us!wrc.x|erox.com|
|00000060| 0a 46 72 6f 6d 3a 20 73 | 74 65 69 6e 40 77 72 63 |.From: s|tein@wrc|
|00000070| 2e 78 65 72 6f 78 2e 63 | 6f 6d 20 28 61 64 61 6d |.xerox.c|om (adam|
|00000080| 20 73 74 65 69 6e 29 0a | 4e 65 77 73 67 72 6f 75 | stein).|Newsgrou|
|00000090| 70 73 3a 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 |ps: comp|.sources|
|000000a0| 2e 78 0a 53 75 62 6a 65 | 63 74 3a 20 76 31 34 69 |.x.Subje|ct: v14i|
|000000b0| 30 30 32 3a 20 78 74 6f | 6f 6c 70 6c 61 63 65 73 |002: xto|olplaces|
|000000c0| 2c 20 50 61 72 74 30 31 | 2f 30 32 0a 4d 65 73 73 |, Part01|/02.Mess|
|000000d0| 61 67 65 2d 49 44 3a 20 | 3c 63 73 78 2d 31 34 69 |age-ID: |<csx-14i|
|000000e0| 30 30 32 2d 78 74 6f 6f | 6c 70 6c 61 63 65 73 40 |002-xtoo|lplaces@|
|000000f0| 75 75 6e 65 74 2e 55 55 | 2e 4e 45 54 3e 0a 44 61 |uunet.UU|.NET>.Da|
|00000100| 74 65 3a 20 32 37 20 41 | 75 67 20 39 31 20 30 34 |te: 27 A|ug 91 04|
|00000110| 3a 35 37 3a 34 34 20 47 | 4d 54 0a 53 65 6e 64 65 |:57:44 G|MT.Sende|
|00000120| 72 3a 20 6e 65 77 73 40 | 65 78 6f 64 75 73 2e 45 |r: news@|exodus.E|
|00000130| 6e 67 2e 53 75 6e 2e 43 | 4f 4d 0a 4c 69 6e 65 73 |ng.Sun.C|OM.Lines|
|00000140| 3a 20 32 31 35 38 0a 41 | 70 70 72 6f 76 65 64 3a |: 2158.A|pproved:|
|00000150| 20 61 72 67 76 40 73 75 | 6e 2e 63 6f 6d 0a 0a 53 | argv@su|n.com..S|
|00000160| 75 62 6d 69 74 74 65 64 | 2d 62 79 3a 20 73 74 65 |ubmitted|-by: ste|
|00000170| 69 6e 40 77 72 63 2e 78 | 65 72 6f 78 2e 63 6f 6d |in@wrc.x|erox.com|
|00000180| 20 28 61 64 61 6d 20 73 | 74 65 69 6e 29 0a 50 6f | (adam s|tein).Po|
|00000190| 73 74 69 6e 67 2d 6e 75 | 6d 62 65 72 3a 20 56 6f |sting-nu|mber: Vo|
|000001a0| 6c 75 6d 65 20 31 34 2c | 20 49 73 73 75 65 20 32 |lume 14,| Issue 2|
|000001b0| 0a 41 72 63 68 69 76 65 | 2d 6e 61 6d 65 3a 20 78 |.Archive|-name: x|
|000001c0| 74 6f 6f 6c 70 6c 61 63 | 65 73 2f 70 61 72 74 30 |toolplac|es/part0|
|000001d0| 31 0a 0a 58 74 6f 6f 6c | 70 6c 61 63 65 73 20 69 |1..Xtool|places i|
|000001e0| 73 20 61 20 74 6f 6f 6c | 20 74 6f 20 73 61 76 65 |s a tool| to save|
|000001f0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 58 20 64 | the cur|rent X d|
|00000200| 65 73 6b 74 6f 70 20 74 | 6f 20 61 20 66 69 6c 65 |esktop t|o a file|
|00000210| 2e 20 20 49 74 20 69 73 | 20 74 68 65 20 58 0a 65 |. It is| the X.e|
|00000220| 71 75 69 76 61 6c 65 6e | 74 20 6f 66 20 53 75 6e |quivalen|t of Sun|
|00000230| 76 69 65 77 27 73 20 74 | 6f 6f 6c 70 6c 61 63 65 |view's t|oolplace|
|00000240| 73 20 70 72 6f 67 72 61 | 6d 2e 20 20 49 74 20 68 |s progra|m. It h|
|00000250| 61 73 20 6f 70 74 69 6f | 6e 73 20 74 6f 20 64 65 |as optio|ns to de|
|00000260| 61 6c 20 77 69 74 68 0a | 69 6c 6c 2d 62 65 68 61 |al with.|ill-beha|
|00000270| 76 65 64 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ved appl|ications|
|00000280| 20 73 6f 20 74 68 61 74 | 20 74 68 65 79 20 63 61 | so that| they ca|
|00000290| 6e 20 62 65 20 73 61 76 | 65 64 20 61 73 20 77 65 |n be sav|ed as we|
|000002a0| 6c 6c 2e 20 20 53 65 65 | 20 74 68 65 0a 52 45 41 |ll. See| the.REA|
|000002b0| 44 4d 45 20 61 6e 64 20 | 6d 61 6e 20 70 61 67 65 |DME and |man page|
|000002c0| 20 66 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | for mor|e inform|
|000002d0| 61 74 69 6f 6e 2e 0a 0a | 09 09 09 09 09 09 09 41 |ation...|.......A|
|000002e0| 64 61 6d 20 53 74 65 69 | 6e 0a 0a 2d 2d 2d 2d 20 |dam Stei|n..---- |
|000002f0| 43 75 74 20 48 65 72 65 | 20 61 6e 64 20 66 65 65 |Cut Here| and fee|
|00000300| 64 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |d the fo|llowing |
|00000310| 74 6f 20 73 68 20 2d 2d | 2d 2d 0a 23 21 2f 62 69 |to sh --|--.#!/bi|
|00000320| 6e 2f 73 68 0a 23 20 54 | 68 69 73 20 69 73 20 61 |n/sh.# T|his is a|
|00000330| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 20 28 | shell a|rchive (|
|00000340| 70 72 6f 64 75 63 65 64 | 20 62 79 20 73 68 61 72 |produced| by shar|
|00000350| 20 33 2e 34 39 29 0a 23 | 20 54 6f 20 65 78 74 72 | 3.49).#| To extr|
|00000360| 61 63 74 20 74 68 65 20 | 66 69 6c 65 73 20 66 72 |act the |files fr|
|00000370| 6f 6d 20 74 68 69 73 20 | 61 72 63 68 69 76 65 2c |om this |archive,|
|00000380| 20 73 61 76 65 20 69 74 | 20 74 6f 20 61 20 66 69 | save it| to a fi|
|00000390| 6c 65 2c 20 72 65 6d 6f | 76 65 0a 23 20 65 76 65 |le, remo|ve.# eve|
|000003a0| 72 79 74 68 69 6e 67 20 | 61 62 6f 76 65 20 74 68 |rything |above th|
|000003b0| 65 20 22 21 2f 62 69 6e | 2f 73 68 22 20 6c 69 6e |e "!/bin|/sh" lin|
|000003c0| 65 20 61 62 6f 76 65 2c | 20 61 6e 64 20 74 79 70 |e above,| and typ|
|000003d0| 65 20 22 73 68 20 66 69 | 6c 65 5f 6e 61 6d 65 22 |e "sh fi|le_name"|
|000003e0| 2e 0a 23 0a 23 20 6d 61 | 64 65 20 30 36 2f 31 32 |..#.# ma|de 06/12|
|000003f0| 2f 31 39 39 31 20 31 33 | 3a 31 35 20 55 54 43 20 |/1991 13|:15 UTC |
|00000400| 62 79 20 61 64 61 6d 40 | 63 68 72 6f 6d 61 0a 23 |by adam@|chroma.#|
|00000410| 20 53 6f 75 72 63 65 20 | 64 69 72 65 63 74 6f 72 | Source |director|
|00000420| 79 20 2f 68 6f 6d 65 2f | 61 64 61 6d 2f 53 72 63 |y /home/|adam/Src|
|00000430| 2f 78 74 6f 6f 6c 70 6c | 61 63 65 73 0a 23 0a 23 |/xtoolpl|aces.#.#|
|00000440| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 73 20 | existin|g files |
|00000450| 77 69 6c 6c 20 4e 4f 54 | 20 62 65 20 6f 76 65 72 |will NOT| be over|
|00000460| 77 72 69 74 74 65 6e 20 | 75 6e 6c 65 73 73 20 2d |written |unless -|
|00000470| 63 20 69 73 20 73 70 65 | 63 69 66 69 65 64 0a 23 |c is spe|cified.#|
|00000480| 0a 23 20 54 68 69 73 20 | 73 68 61 72 20 63 6f 6e |.# This |shar con|
|00000490| 74 61 69 6e 73 3a 0a 23 | 20 6c 65 6e 67 74 68 20 |tains:.#| length |
|000004a0| 20 6d 6f 64 65 20 20 20 | 20 20 20 20 6e 61 6d 65 | mode | name|
|000004b0| 0a 23 20 2d 2d 2d 2d 2d | 2d 20 2d 2d 2d 2d 2d 2d |.# -----|- ------|
|000004c0| 2d 2d 2d 2d 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |---- ---|--------|
|000004d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|000004f0| 23 20 20 20 33 37 37 35 | 20 2d 72 77 2d 72 2d 2d |# 3775| -rw-r--|
|00000500| 72 2d 2d 20 52 45 41 44 | 4d 45 0a 23 20 20 20 31 |r-- READ|ME.# 1|
|00000510| 31 34 38 20 2d 72 77 2d | 72 2d 2d 72 2d 2d 20 4d |148 -rw-|r--r-- M|
|00000520| 41 4e 49 46 45 53 54 0a | 23 20 20 20 31 31 32 39 |ANIFEST.|# 1129|
|00000530| 20 2d 72 77 2d 72 2d 2d | 72 2d 2d 20 49 6d 61 6b | -rw-r--|r-- Imak|
|00000540| 65 66 69 6c 65 0a 23 20 | 20 20 31 35 30 34 20 2d |efile.# | 1504 -|
|00000550| 72 77 2d 72 2d 2d 72 2d | 2d 20 4d 61 6b 65 66 69 |rw-r--r-|- Makefi|
|00000560| 6c 65 2e 73 69 6d 70 6c | 65 0a 23 20 20 20 38 38 |le.simpl|e.# 88|
|00000570| 39 35 20 2d 72 77 2d 72 | 2d 2d 72 2d 2d 20 78 74 |95 -rw-r|--r-- xt|
|00000580| 6f 6f 6c 70 6c 61 63 65 | 73 2e 6d 61 6e 0a 23 20 |oolplace|s.man.# |
|00000590| 20 20 20 36 33 39 20 2d | 72 77 2d 72 2d 2d 72 2d | 639 -|rw-r--r-|
|000005a0| 2d 20 63 6f 70 79 72 69 | 67 68 74 2e 63 0a 23 20 |- copyri|ght.c.# |
|000005b0| 20 20 31 39 34 37 20 2d | 72 77 2d 72 2d 2d 72 2d | 1947 -|rw-r--r-|
|000005c0| 2d 20 61 64 64 64 69 73 | 70 6c 61 79 2e 63 0a 23 |- adddis|play.c.#|
|000005d0| 20 20 20 34 38 32 31 20 | 2d 72 77 2d 72 2d 2d 72 | 4821 |-rw-r--r|
|000005e0| 2d 2d 20 61 64 64 6f 6e | 2e 63 0a 23 20 20 20 31 |-- addon|.c.# 1|
|000005f0| 38 39 36 20 2d 72 77 2d | 72 2d 2d 72 2d 2d 20 63 |896 -rw-|r--r-- c|
|00000600| 6f 6d 62 69 6e 65 2e 63 | 0a 23 20 20 20 32 30 36 |ombine.c|.# 206|
|00000610| 39 20 2d 72 77 2d 72 2d | 2d 72 2d 2d 20 66 69 78 |9 -rw-r-|-r-- fix|
|00000620| 5f 63 6f 6d 6d 61 6e 64 | 2e 63 0a 23 20 20 20 37 |_command|.c.# 7|
|00000630| 38 34 30 20 2d 72 77 2d | 72 2d 2d 72 2d 2d 20 67 |840 -rw-|r--r-- g|
|00000640| 65 74 5f 67 65 6f 6d 65 | 74 72 79 2e 63 0a 23 20 |et_geome|try.c.# |
|00000650| 20 31 31 38 38 36 20 2d | 72 77 2d 72 2d 2d 72 2d | 11886 -|rw-r--r-|
|00000660| 2d 20 67 65 74 69 6e 66 | 6f 2e 63 0a 23 20 20 20 |- getinf|o.c.# |
|00000670| 38 37 31 33 20 2d 72 77 | 2d 72 2d 2d 72 2d 2d 20 |8713 -rw|-r--r-- |
|00000680| 69 73 2e 63 0a 23 20 20 | 20 32 35 38 39 20 2d 72 |is.c.# | 2589 -r|
|00000690| 77 2d 72 2d 2d 72 2d 2d | 20 6d 61 6b 65 5f 6c 69 |w-r--r--| make_li|
|000006a0| 73 74 2e 63 0a 23 20 20 | 20 32 38 35 31 20 2d 72 |st.c.# | 2851 -r|
|000006b0| 77 2d 72 2d 2d 72 2d 2d | 20 6d 69 73 73 69 6e 67 |w-r--r--| missing|
|000006c0| 2e 63 0a 23 20 20 20 31 | 35 38 31 20 2d 72 77 2d |.c.# 1|581 -rw-|
|000006d0| 72 2d 2d 72 2d 2d 20 73 | 74 72 73 74 72 2e 63 0a |r--r-- s|trstr.c.|
|000006e0| 23 20 20 20 36 38 33 39 | 20 2d 72 77 2d 72 2d 2d |# 6839| -rw-r--|
|000006f0| 72 2d 2d 20 78 74 6f 6f | 6c 70 6c 61 63 65 73 2e |r-- xtoo|lplaces.|
|00000700| 63 0a 23 20 20 20 20 37 | 37 33 20 2d 72 77 2d 72 |c.# 7|73 -rw-r|
|00000710| 2d 2d 72 2d 2d 20 61 64 | 64 6f 6e 2e 68 0a 23 20 |--r-- ad|don.h.# |
|00000720| 20 20 20 35 39 32 20 2d | 72 77 2d 72 2d 2d 72 2d | 592 -|rw-r--r-|
|00000730| 2d 20 70 61 74 63 68 6c | 65 76 65 6c 2e 68 0a 23 |- patchl|evel.h.#|
|00000740| 20 20 20 31 34 31 37 20 | 2d 72 77 2d 72 2d 2d 72 | 1417 |-rw-r--r|
|00000750| 2d 2d 20 78 74 6f 6f 6c | 70 6c 61 63 65 73 2e 68 |-- xtool|places.h|
|00000760| 0a 23 20 20 20 20 31 30 | 31 20 2d 72 77 2d 72 2d |.# 10|1 -rw-r-|
|00000770| 2d 72 2d 2d 20 61 64 64 | 6f 6e 2e 73 61 6d 70 6c |-r-- add|on.sampl|
|00000780| 65 0a 23 20 20 20 20 20 | 35 35 20 2d 72 77 2d 72 |e.# |55 -rw-r|
|00000790| 2d 2d 72 2d 2d 20 6d 69 | 73 73 69 6e 67 2e 73 61 |--r-- mi|ssing.sa|
|000007a0| 6d 70 6c 65 0a 23 0a 23 | 20 3d 3d 3d 3d 3d 3d 3d |mple.#.#| =======|
|000007b0| 3d 3d 3d 3d 3d 3d 20 52 | 45 41 44 4d 45 20 3d 3d |====== R|EADME ==|
|000007c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0a 69 66 20 |========|====.if |
|000007d0| 74 65 73 74 20 2d 66 20 | 27 52 45 41 44 4d 45 27 |test -f |'README'|
|000007e0| 20 2d 61 20 58 22 24 31 | 22 20 21 3d 20 58 22 2d | -a X"$1|" != X"-|
|000007f0| 63 22 3b 20 74 68 65 6e | 0a 09 65 63 68 6f 20 27 |c"; then|..echo '|
|00000800| 78 20 2d 20 73 6b 69 70 | 70 69 6e 67 20 52 45 41 |x - skip|ping REA|
|00000810| 44 4d 45 20 28 46 69 6c | 65 20 61 6c 72 65 61 64 |DME (Fil|e alread|
|00000820| 79 20 65 78 69 73 74 73 | 29 27 0a 65 6c 73 65 0a |y exists|)'.else.|
|00000830| 65 63 68 6f 20 27 78 20 | 2d 20 65 78 74 72 61 63 |echo 'x |- extrac|
|00000840| 74 69 6e 67 20 52 45 41 | 44 4d 45 20 28 54 65 78 |ting REA|DME (Tex|
|00000850| 74 29 27 0a 73 65 64 20 | 27 73 2f 5e 58 2f 2f 27 |t)'.sed |'s/^X//'|
|00000860| 20 3c 3c 20 27 53 48 41 | 52 5f 45 4f 46 27 20 3e | << 'SHA|R_EOF' >|
|00000870| 20 27 52 45 41 44 4d 45 | 27 20 26 26 0a 54 68 69 | 'README|' &&.Thi|
|00000880| 73 20 69 73 20 74 68 65 | 20 52 45 41 44 4d 45 20 |s is the| README |
|00000890| 66 69 6c 65 20 66 6f 72 | 20 78 74 6f 6f 6c 70 6c |file for| xtoolpl|
|000008a0| 61 63 65 73 2e 0a 58 0a | 41 75 74 68 6f 72 3a 0a |aces..X.|Author:.|
|000008b0| 58 0a 58 20 20 41 64 61 | 6d 20 53 74 65 69 6e 20 |X.X Ada|m Stein |
|000008c0| 28 73 74 65 69 6e 2e 77 | 62 73 74 31 32 39 40 78 |(stein.w|bst129@x|
|000008d0| 65 72 6f 78 2e 63 6f 6d | 29 0a 58 0a 43 6f 70 79 |erox.com|).X.Copy|
|000008e0| 72 69 67 68 74 3a 0a 58 | 0a 58 20 20 43 6f 70 79 |right:.X|.X Copy|
|000008f0| 72 69 67 68 74 20 28 63 | 29 20 31 39 39 31 20 58 |right (c|) 1991 X|
|00000900| 65 72 6f 78 20 43 6f 72 | 70 6f 72 61 74 69 6f 6e |erox Cor|poration|
|00000910| 2e 20 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |. All R|ights Re|
|00000920| 73 65 72 76 65 64 2e 0a | 58 0a 58 20 20 50 65 72 |served..|X.X Per|
|00000930| 6d 69 73 73 69 6f 6e 20 | 74 6f 20 75 73 65 2c 20 |mission |to use, |
|00000940| 20 63 6f 70 79 2c 20 20 | 6d 6f 64 69 66 79 20 20 | copy, |modify |
|00000950| 61 6e 64 20 20 64 69 73 | 74 72 69 62 75 74 65 20 |and dis|tribute |
|00000960| 20 77 69 74 68 6f 75 74 | 0a 58 20 20 63 68 61 72 | without|.X char|
|00000970| 67 65 20 74 68 69 73 20 | 73 6f 66 74 77 61 72 65 |ge this |software|
|00000980| 2c 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2c |, docume|ntation,|
|00000990| 20 69 6d 61 67 65 73 2c | 20 65 74 63 2e 20 69 73 | images,| etc. is|
|000009a0| 20 67 72 61 6e 74 2d 0a | 58 20 20 65 64 2c 20 70 | grant-.|X ed, p|
|000009b0| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 69 |rovided |that thi|
|000009c0| 73 20 63 6f 70 79 72 69 | 67 68 74 20 61 6e 64 20 |s copyri|ght and |
|000009d0| 74 68 65 20 61 75 74 68 | 6f 72 27 73 20 20 6e 61 |the auth|or's na|
|000009e0| 6d 65 20 20 69 73 0a 58 | 20 20 72 65 74 61 69 6e |me is.X| retain|
|000009f0| 65 64 2e 0a 58 0a 58 20 | 20 41 20 66 65 65 20 6d |ed..X.X | A fee m|
|00000a00| 61 79 20 62 65 20 63 68 | 61 72 67 65 64 20 66 6f |ay be ch|arged fo|
|00000a10| 72 20 74 68 69 73 20 70 | 72 6f 67 72 61 6d 20 4f |r this p|rogram O|
|00000a20| 4e 4c 59 20 74 6f 20 72 | 65 63 6f 76 65 72 20 63 |NLY to r|ecover c|
|00000a30| 6f 73 74 73 0a 58 20 20 | 66 6f 72 20 64 69 73 74 |osts.X |for dist|
|00000a40| 72 69 62 75 74 69 6f 6e | 20 28 69 2e 65 2e 20 6d |ribution| (i.e. m|
|00000a50| 65 64 69 61 20 63 6f 73 | 74 73 29 2e 20 20 4e 6f |edia cos|ts). No|
|00000a60| 20 70 72 6f 66 69 74 20 | 63 61 6e 20 62 65 20 6d | profit |can be m|
|00000a70| 61 64 65 0a 58 20 20 6f | 6e 20 74 68 69 73 20 70 |ade.X o|n this p|
|00000a80| 72 6f 67 72 61 6d 2e 0a | 58 0a 58 20 20 54 68 65 |rogram..|X.X The|
|00000a90| 20 61 75 74 68 6f 72 20 | 61 73 73 75 6d 65 73 20 | author |assumes |
|00000aa0| 6e 6f 20 72 65 73 70 6f | 6e 73 69 62 69 6c 69 74 |no respo|nsibilit|
|00000ab0| 79 20 66 6f 72 20 64 69 | 73 61 73 74 65 72 73 20 |y for di|sasters |
|00000ac0| 28 6e 61 74 75 72 61 6c | 0a 58 20 20 6f 72 20 6f |(natural|.X or o|
|00000ad0| 74 68 65 72 77 69 73 65 | 29 20 61 73 20 61 20 63 |therwise|) as a c|
|00000ae0| 6f 6e 73 65 71 75 65 6e | 63 65 20 6f 66 20 75 73 |onsequen|ce of us|
|00000af0| 65 20 6f 66 20 74 68 69 | 73 20 73 6f 66 74 77 61 |e of thi|s softwa|
|00000b00| 72 65 2e 0a 58 0a 44 65 | 73 63 72 69 70 74 69 6f |re..X.De|scriptio|
|00000b10| 6e 3a 0a 58 0a 58 20 20 | 54 68 69 73 20 70 72 6f |n:.X.X |This pro|
|00000b20| 67 72 61 6d 20 77 69 6c | 6c 20 63 6f 6c 6c 65 63 |gram wil|l collec|
|00000b30| 74 20 73 74 61 74 65 20 | 69 6e 66 6f 72 6d 61 74 |t state |informat|
|00000b40| 69 6f 6e 20 66 72 6f 6d | 20 61 6e 79 20 77 69 6e |ion from| any win|
|00000b50| 64 6f 77 73 0a 58 20 20 | 63 75 72 72 65 6e 74 6c |dows.X |currentl|
|00000b60| 79 20 72 75 6e 6e 69 6e | 67 20 6f 6e 20 61 6e 20 |y runnin|g on an |
|00000b70| 58 20 64 65 73 6b 74 6f | 70 2e 20 20 54 68 69 73 |X deskto|p. This|
|00000b80| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 63 61 6e | informa|tion can|
|00000b90| 20 74 68 65 6e 0a 58 20 | 20 62 65 20 75 73 65 64 | then.X | be used|
|00000ba0| 20 74 6f 20 73 74 61 72 | 74 20 58 20 74 6f 20 72 | to star|t X to r|
|00000bb0| 65 74 75 72 6e 20 74 6f | 20 74 68 65 20 63 75 72 |eturn to| the cur|
|00000bc0| 72 65 6e 74 20 64 65 73 | 6b 74 6f 70 20 73 74 61 |rent des|ktop sta|
|00000bd0| 74 65 2e 20 20 54 68 69 | 73 0a 58 20 20 69 73 20 |te. Thi|s.X is |
|00000be0| 74 68 65 20 58 20 65 71 | 75 69 76 61 6c 65 6e 74 |the X eq|uivalent|
|00000bf0| 20 6f 66 20 53 75 6e 76 | 69 65 77 27 73 20 74 6f | of Sunv|iew's to|
|00000c00| 6f 6c 70 6c 61 63 65 73 | 20 70 72 6f 67 72 61 6d |olplaces| program|
|00000c10| 2e 0a 58 0a 49 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |..X.Inst|allation|
|00000c20| 3a 0a 58 0a 58 20 20 54 | 68 69 73 20 70 72 6f 67 |:.X.X T|his prog|
|00000c30| 72 61 6d 20 68 61 73 20 | 6f 6e 6c 79 20 62 65 65 |ram has |only bee|
|00000c40| 6e 20 63 6f 6d 70 69 6c | 65 64 20 61 6e 64 20 74 |n compil|ed and t|
|00000c50| 65 73 74 65 64 20 6f 6e | 20 42 53 44 20 6f 72 20 |ested on| BSD or |
|00000c60| 42 53 44 2f 53 59 53 35 | 0a 58 20 20 6d 69 78 65 |BSD/SYS5|.X mixe|
|00000c70| 64 20 73 79 73 74 65 6d | 73 2e 20 20 49 20 68 61 |d system|s. I ha|
|00000c80| 76 65 20 6e 6f 20 69 64 | 65 61 20 77 68 61 74 20 |ve no id|ea what |
|00000c90| 77 6f 75 6c 64 20 68 61 | 76 65 20 74 6f 20 62 65 |would ha|ve to be|
|00000ca0| 20 63 68 61 6e 67 65 64 | 20 66 6f 72 0a 58 20 20 | changed| for.X |
|00000cb0| 61 20 53 59 53 35 20 6f | 6e 6c 79 20 73 79 73 74 |a SYS5 o|nly syst|
|00000cc0| 65 6d 20 28 70 72 6f 62 | 61 62 6c 79 20 6f 6e 6c |em (prob|ably onl|
|00000cd0| 79 20 69 6e 64 65 78 20 | 74 6f 20 73 74 72 63 68 |y index |to strch|
|00000ce0| 72 20 61 6e 64 20 74 68 | 61 74 20 73 6f 72 74 20 |r and th|at sort |
|00000cf0| 6f 66 0a 58 20 20 73 74 | 75 66 66 29 2e 20 20 54 |of.X st|uff). T|
|00000d00| 6f 20 63 6f 6d 70 69 6c | 65 20 75 73 69 6e 67 20 |o compil|e using |
|00000d10| 69 6d 61 6b 65 20 75 73 | 65 3a 0a 58 0a 58 09 09 |imake us|e:.X.X..|
|00000d20| 69 6d 61 6b 65 0a 58 0a | 58 20 20 61 6e 64 20 74 |imake.X.|X and t|
|00000d30| 6f 20 69 6e 73 74 61 6c | 6c 20 74 68 65 20 70 72 |o instal|l the pr|
|00000d40| 6f 67 72 61 6d 20 61 6e | 64 20 6d 61 6e 20 70 61 |ogram an|d man pa|
|00000d50| 67 65 20 75 73 65 0a 58 | 0a 58 09 09 69 6d 61 6b |ge use.X|.X..imak|
|00000d60| 65 20 69 6e 73 74 61 6c | 6c 20 69 6e 73 74 61 6c |e instal|l instal|
|00000d70| 6c 2e 6d 61 6e 0a 58 0a | 58 20 20 54 6f 20 63 6f |l.man.X.|X To co|
|00000d80| 6d 70 69 6c 65 20 75 73 | 69 6e 67 20 6d 61 6b 65 |mpile us|ing make|
|00000d90| 20 69 6e 73 74 65 61 64 | 2c 20 75 73 65 3a 0a 58 | instead|, use:.X|
|00000da0| 0a 58 09 09 6d 61 6b 65 | 20 2d 66 20 4d 61 6b 65 |.X..make| -f Make|
|00000db0| 66 69 6c 65 2e 73 69 6d | 70 6c 65 0a 58 0a 58 20 |file.sim|ple.X.X |
|00000dc0| 20 61 6e 64 20 74 6f 20 | 69 6e 73 74 61 6c 6c 20 | and to |install |
|00000dd0| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 61 6e 64 20 |the prog|ram and |
|00000de0| 6d 61 6e 20 70 61 67 65 | 20 75 73 65 0a 58 0a 58 |man page| use.X.X|
|00000df0| 09 09 6d 61 6b 65 20 2d | 66 20 4d 61 6b 65 66 69 |..make -|f Makefi|
|00000e00| 6c 65 2e 73 69 6d 70 6c | 65 20 69 6e 73 74 61 6c |le.simpl|e instal|
|00000e10| 6c 0a 58 0a 58 0a 4d 65 | 74 68 6f 64 6f 6c 6f 67 |l.X.X.Me|thodolog|
|00000e20| 79 3a 0a 58 0a 58 20 20 | 54 68 69 73 20 70 72 6f |y:.X.X |This pro|
|00000e30| 67 72 61 6d 20 77 6f 72 | 6b 73 20 62 79 20 66 6f |gram wor|ks by fo|
|00000e40| 6c 6c 6f 77 69 6e 67 20 | 74 68 65 73 65 20 73 74 |llowing |these st|
|00000e50| 65 70 73 3a 0a 58 0a 58 | 20 20 49 2e 20 20 20 43 |eps:.X.X| I. C|
|00000e60| 68 61 6e 67 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |hange cu|rsor to |
|00000e70| 61 20 77 61 74 63 68 2c | 20 67 72 61 62 20 74 68 |a watch,| grab th|
|00000e80| 65 20 70 6f 69 6e 74 65 | 72 20 73 6f 20 74 68 61 |e pointe|r so tha|
|00000e90| 74 20 74 68 65 0a 58 20 | 20 20 20 20 20 20 75 73 |t the.X | us|
|00000ea0| 65 72 20 63 61 6e 27 74 | 20 63 68 61 6e 67 65 20 |er can't| change |
|00000eb0| 61 6e 79 74 68 69 6e 67 | 20 64 75 72 69 6e 67 20 |anything| during |
|00000ec0| 65 78 65 63 75 74 69 6f | 6e 2c 20 61 6e 64 20 72 |executio|n, and r|
|00000ed0| 69 6e 67 0a 58 20 20 20 | 20 20 20 20 74 68 65 20 |ing.X | the |
|00000ee0| 62 65 6c 6c 20 6f 6e 63 | 65 20 74 6f 20 6c 65 74 |bell onc|e to let|
|00000ef0| 20 74 68 65 20 75 73 65 | 72 20 6b 6e 6f 77 20 74 | the use|r know t|
|00000f00| 68 65 20 70 72 6f 67 72 | 61 6d 20 68 61 73 20 73 |he progr|am has s|
|00000f10| 74 61 72 74 65 64 2e 0a | 58 0a 58 20 20 49 49 2e |tarted..|X.X II.|
|00000f20| 20 20 4c 6f 6f 70 20 74 | 68 72 6f 75 67 68 20 65 | Loop t|hrough e|
|00000f30| 61 63 68 20 73 63 72 65 | 65 6e 20 74 6f 20 73 61 |ach scre|en to sa|
|00000f40| 76 65 20 66 72 6f 6d 3a | 0a 58 0a 58 20 20 20 20 |ve from:|.X.X |
|00000f50| 20 20 20 61 2e 20 4c 6f | 6f 70 20 74 68 72 6f 75 | a. Lo|op throu|
|00000f60| 67 68 20 65 61 63 68 20 | 77 69 6e 64 6f 77 20 69 |gh each |window i|
|00000f70| 6e 20 74 68 65 20 74 72 | 65 65 20 74 6f 3a 0a 58 |n the tr|ee to:.X|
|00000f80| 0a 58 20 20 20 20 20 20 | 20 20 20 20 31 2e 20 53 |.X | 1. S|
|00000f90| 65 65 20 69 66 20 69 74 | 27 73 20 61 20 77 69 6e |ee if it|'s a win|
|00000fa0| 64 6f 77 20 77 6f 72 74 | 68 20 73 61 76 69 6e 67 |dow wort|h saving|
|00000fb0| 2e 20 20 49 74 20 68 61 | 73 20 74 6f 20 6d 65 65 |. It ha|s to mee|
|00000fc0| 74 0a 58 09 20 20 20 20 | 20 66 6f 75 72 20 63 6f |t.X. | four co|
|00000fd0| 6e 64 69 74 69 6f 6e 73 | 3a 0a 58 0a 58 09 20 20 |nditions|:.X.X. |
|00000fe0| 20 20 20 61 2e 20 69 74 | 20 68 61 73 20 57 4d 5f | a. it| has WM_|
|00000ff0| 4e 41 4d 45 20 73 65 74 | 20 28 73 6f 20 77 65 20 |NAME set| (so we |
|00001000| 6b 6e 6f 77 20 69 74 27 | 73 20 6e 6f 74 20 61 20 |know it'|s not a |
|00001010| 70 6f 70 2d 75 70 2c 20 | 65 74 63 29 0a 58 0a 58 |pop-up, |etc).X.X|
|00001020| 09 20 20 20 20 20 62 2e | 20 69 74 27 73 20 61 20 |. b.| it's a |
|00001030| 67 72 6f 75 70 20 6c 65 | 61 64 65 72 20 6f 72 20 |group le|ader or |
|00001040| 61 73 73 75 6d 65 20 69 | 74 27 73 20 6f 6b 20 69 |assume i|t's ok i|
|00001050| 66 20 67 72 6f 75 70 20 | 6c 65 61 64 65 72 0a 58 |f group |leader.X|
|00001060| 09 20 20 20 20 20 20 20 | 20 69 73 6e 27 74 20 73 |. | isn't s|
|00001070| 65 74 0a 58 0a 58 09 20 | 20 20 20 20 63 2e 20 69 |et.X.X. | c. i|
|00001080| 74 27 73 20 70 61 72 65 | 6e 74 20 69 73 20 74 68 |t's pare|nt is th|
|00001090| 65 20 72 6f 6f 74 20 77 | 69 6e 64 6f 77 0a 58 0a |e root w|indow.X.|
|000010a0| 58 09 20 20 20 20 20 64 | 2e 20 69 74 20 68 61 73 |X. d|. it has|
|000010b0| 20 61 20 57 4d 5f 43 4f | 4d 4d 41 4e 44 20 70 72 | a WM_CO|MMAND pr|
|000010c0| 6f 70 65 72 74 79 20 74 | 6f 20 73 61 76 65 20 6f |operty t|o save o|
|000010d0| 72 20 69 73 20 6f 6e 20 | 61 20 6c 69 73 74 0a 58 |r is on |a list.X|
|000010e0| 09 09 73 70 65 63 69 66 | 69 65 64 20 77 69 74 68 |..specif|ied with|
|000010f0| 20 74 68 65 20 27 2d 6d | 27 20 6f 70 74 69 6f 6e | the '-m|' option|
|00001100| 0a 58 0a 58 20 20 20 20 | 20 20 20 20 20 20 32 2e |.X.X | 2.|
|00001110| 20 54 65 6c 6c 20 77 69 | 6e 64 6f 77 20 74 6f 20 | Tell wi|ndow to |
|00001120| 75 70 64 61 74 65 20 69 | 74 27 73 20 63 75 72 72 |update i|t's curr|
|00001130| 65 6e 74 20 73 74 61 74 | 65 20 69 66 20 69 74 20 |ent stat|e if it |
|00001140| 6b 6e 6f 77 73 0a 58 09 | 20 20 20 20 20 61 62 6f |knows.X.| abo|
|00001150| 75 74 20 74 68 65 20 57 | 4d 5f 53 41 56 45 5f 59 |ut the W|M_SAVE_Y|
|00001160| 4f 55 52 53 45 4c 46 20 | 6d 65 73 73 61 67 65 2e |OURSELF |message.|
|00001170| 0a 58 20 20 0a 58 20 20 | 20 20 20 20 20 20 20 20 |.X .X | |
|00001180| 33 2e 20 53 65 65 20 69 | 66 20 69 74 20 65 69 74 |3. See i|f it eit|
|00001190| 68 65 72 3a 20 20 68 61 | 73 20 61 20 73 74 61 74 |her: ha|s a stat|
|000011a0| 65 20 74 6f 20 73 61 76 | 65 20 28 57 4d 5f 43 4f |e to sav|e (WM_CO|
|000011b0| 4d 4d 41 4e 44 29 3b 0a | 58 09 20 20 20 20 20 6f |MMAND);.|X. o|
|000011c0| 72 20 69 73 20 6f 6e 20 | 74 68 65 20 6d 69 73 73 |r is on |the miss|
|000011d0| 69 6e 67 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ing appl|ications|
|000011e0| 20 6c 69 73 74 20 28 2d | 6d 20 6f 70 74 69 6f 6e | list (-|m option|
|000011f0| 29 0a 58 0a 58 09 20 20 | 34 2e 20 49 66 20 77 69 |).X.X. |4. If wi|
|00001200| 6e 64 6f 77 20 64 6f 65 | 73 6e 27 74 20 6b 6e 6f |ndow doe|sn't kno|
|00001210| 77 20 68 6f 77 20 74 6f | 20 73 61 76 65 20 69 74 |w how to| save it|
|00001220| 73 65 6c 66 20 28 64 6f | 65 73 6e 27 74 0a 58 09 |self (do|esn't.X.|
|00001230| 20 20 20 20 20 75 6e 64 | 65 72 73 74 61 6e 64 20 | und|erstand |
|00001240| 57 4d 5f 53 41 56 45 5f | 59 4f 55 52 53 45 4c 46 |WM_SAVE_|YOURSELF|
|00001250| 29 2c 20 65 78 74 72 61 | 63 74 20 67 65 6f 6d 65 |), extra|ct geome|
|00001260| 74 72 79 0a 58 09 20 20 | 20 20 20 69 6e 66 6f 72 |try.X. | infor|
|00001270| 6d 61 74 69 6f 6e 20 6d | 61 6e 75 61 6c 6c 79 2e |mation m|anually.|
|00001280| 0a 58 0a 58 20 20 20 20 | 20 20 20 20 20 20 35 2e |.X.X | 5.|
|00001290| 20 49 66 20 63 6f 6e 73 | 6f 6c 65 20 63 68 65 63 | If cons|ole chec|
|000012a0| 6b 69 6e 67 20 69 73 20 | 65 6e 61 62 6c 65 64 20 |king is |enabled |
|000012b0| 28 2d 63 29 2c 20 63 68 | 65 63 6b 20 74 6f 20 73 |(-c), ch|eck to s|
|000012c0| 65 65 20 69 66 0a 58 09 | 20 20 20 20 20 77 69 6e |ee if.X.| win|
|000012d0| 64 6f 77 20 69 73 20 61 | 20 63 6f 6e 73 6f 6c 65 |dow is a| console|
|000012e0| 20 61 6e 64 20 77 72 69 | 74 65 20 27 69 66 20 2e | and wri|te 'if .|
|000012f0| 2e 2e 20 66 69 27 20 63 | 6c 61 75 73 65 20 74 6f |.. fi' c|lause to|
|00001300| 0a 58 09 20 20 20 20 20 | 6f 6e 6c 79 20 68 61 76 |.X. |only hav|
|00001310| 65 20 69 74 20 73 74 61 | 72 74 20 75 70 20 69 66 |e it sta|rt up if|
|00001320| 20 58 20 69 73 20 73 74 | 61 72 74 69 6e 67 20 6f | X is st|arting o|
|00001330| 6e 20 2f 64 65 76 2f 63 | 6f 6e 73 6f 6c 65 2e 0a |n /dev/c|onsole..|
|00001340| 58 0a 58 20 20 20 20 20 | 20 20 20 20 20 36 2e 20 |X.X | 6. |
|00001350| 43 68 65 63 6b 20 74 6f | 20 73 65 65 20 69 66 20 |Check to| see if |
|00001360| 77 69 6e 64 6f 77 20 69 | 73 20 61 20 72 65 6d 6f |window i|s a remo|
|00001370| 74 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 61 |te appli|cation a|
|00001380| 6e 64 0a 58 09 20 20 20 | 20 20 70 75 74 20 74 68 |nd.X. | put th|
|00001390| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 72 65 |e approp|riate re|
|000013a0| 6d 6f 74 65 20 63 6f 6d | 6d 61 6e 64 20 28 64 65 |mote com|mand (de|
|000013b0| 66 61 75 6c 74 20 27 72 | 73 68 20 2d 6e 27 29 20 |fault 'r|sh -n') |
|000013c0| 74 6f 0a 58 09 20 20 20 | 20 20 73 74 61 72 74 20 |to.X. | start |
|000013d0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 0a 58 0a 58 |applicat|ion..X.X|
|000013e0| 20 20 20 20 20 20 20 20 | 20 20 37 2e 20 53 61 76 | | 7. Sav|
|000013f0| 65 20 63 75 72 72 65 6e | 74 20 77 69 6e 64 6f 77 |e curren|t window|
|00001400| 20 73 74 61 74 65 2e 0a | 58 0a 58 20 20 20 20 20 | state..|X.X |
|00001410| 20 20 20 20 20 38 2e 20 | 49 66 20 61 64 64 20 61 | 8. |If add a|
|00001420| 72 67 75 6d 65 6e 74 73 | 20 69 73 20 65 6e 61 62 |rguments| is enab|
|00001430| 6c 65 64 20 28 2d 61 29 | 2c 20 63 68 65 63 6b 20 |led (-a)|, check |
|00001440| 74 6f 20 73 65 65 20 69 | 66 20 74 68 69 73 0a 58 |to see i|f this.X|
|00001450| 09 20 20 20 20 20 77 69 | 6e 64 6f 77 20 61 70 70 |. wi|ndow app|
|00001460| 6c 69 63 61 74 69 6f 6e | 73 20 68 61 73 20 61 6e |lication|s has an|
|00001470| 79 20 61 72 67 75 6d 65 | 6e 74 73 20 74 6f 20 61 |y argume|nts to a|
|00001480| 64 64 20 74 6f 20 69 74 | 27 73 0a 58 09 20 20 20 |dd to it|'s.X. |
|00001490| 20 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 2e 0a | comman|d line..|
|000014a0| 58 0a 58 20 20 49 49 49 | 2e 20 52 65 6c 65 61 73 |X.X III|. Releas|
|000014b0| 65 20 70 6f 69 6e 74 65 | 72 20 28 77 68 69 63 68 |e pointe|r (which|
|000014c0| 20 63 68 61 6e 67 65 73 | 20 74 68 65 20 63 75 72 | changes| the cur|
|000014d0| 73 6f 72 20 62 61 63 6b | 20 74 6f 20 6e 6f 72 6d |sor back| to norm|
|000014e0| 61 6c 29 20 61 6e 64 20 | 72 69 6e 67 0a 58 20 20 |al) and |ring.X |
|000014f0| 20 20 20 20 20 74 68 65 | 20 62 65 6c 6c 20 74 77 | the| bell tw|
|00001500| 69 63 65 20 74 6f 20 6c | 65 74 20 74 68 65 20 75 |ice to l|et the u|
|00001510| 73 65 72 20 6b 6e 6f 77 | 20 74 68 61 74 20 74 68 |ser know| that th|
|00001520| 65 20 70 72 6f 67 72 61 | 6d 20 69 73 20 66 69 6e |e progra|m is fin|
|00001530| 69 73 68 65 64 2e 0a 58 | 0a 42 75 67 73 2f 41 64 |ished..X|.Bugs/Ad|
|00001540| 64 69 74 69 6f 6e 73 3a | 0a 58 0a 58 20 20 49 20 |ditions:|.X.X I |
|00001550| 77 6f 75 6c 64 20 61 70 | 70 72 65 63 69 61 74 65 |would ap|preciate|
|00001560| 20 6b 6e 6f 77 69 6e 67 | 20 61 62 6f 75 74 20 61 | knowing| about a|
|00001570| 6e 79 20 62 75 67 73 20 | 65 69 74 68 65 72 20 66 |ny bugs |either f|
|00001580| 6f 75 6e 64 20 6f 72 0a | 58 20 20 66 69 78 65 64 |ound or.|X fixed|
|00001590| 20 61 6e 64 20 61 6e 79 | 20 65 6e 68 61 6e 63 65 | and any| enhance|
|000015a0| 6d 65 6e 74 73 20 6d 61 | 64 65 2e 20 20 49 20 77 |ments ma|de. I w|
|000015b0| 6f 75 6c 64 20 6c 69 6b | 65 20 74 6f 20 6b 65 65 |ould lik|e to kee|
|000015c0| 70 20 61 0a 58 20 20 63 | 65 6e 74 72 61 6c 69 7a |p a.X c|entraliz|
|000015d0| 65 64 20 76 65 72 73 69 | 6f 6e 20 77 69 74 68 20 |ed versi|on with |
|000015e0| 74 68 65 20 75 70 67 72 | 61 64 65 73 20 73 6f 20 |the upgr|ades so |
|000015f0| 74 68 61 74 20 74 68 65 | 72 65 20 61 72 65 6e 27 |that the|re aren'|
|00001600| 74 0a 58 20 20 35 30 20 | 6d 69 6c 6c 69 6f 6e 20 |t.X 50 |million |
|00001610| 76 65 72 73 69 6f 6e 73 | 20 70 6f 73 74 65 64 20 |versions| posted |
|00001620| 74 6f 20 74 68 65 20 6e | 65 74 2e 20 20 49 20 63 |to the n|et. I c|
|00001630| 61 6e 27 74 20 6d 61 6b | 65 20 61 6e 79 0a 58 20 |an't mak|e any.X |
|00001640| 20 67 75 61 72 61 6e 74 | 65 65 73 20 74 6f 20 77 | guarant|ees to w|
|00001650| 68 65 6e 20 62 75 67 20 | 66 69 78 65 73 20 77 6f |hen bug |fixes wo|
|00001660| 75 6c 64 20 62 65 20 6d | 61 64 65 20 28 69 66 20 |uld be m|ade (if |
|00001670| 61 6e 79 20 61 72 65 0a | 58 20 20 66 6f 75 6e 64 |any are.|X found|
|00001680| 20 3a 2d 7b 29 2c 20 62 | 75 74 20 49 27 6c 6c 20 | :-{), b|ut I'll |
|00001690| 64 6f 20 6d 79 20 62 65 | 73 74 2e 0a 58 0a 58 20 |do my be|st..X.X |
|000016a0| 20 49 20 68 6f 70 65 20 | 74 68 69 73 20 70 72 6f | I hope |this pro|
|000016b0| 67 72 61 6d 20 69 73 20 | 6f 66 20 75 73 65 20 74 |gram is |of use t|
|000016c0| 6f 20 79 6f 75 2c 20 65 | 69 74 68 65 72 20 69 6e |o you, e|ither in|
|000016d0| 20 69 74 27 73 20 63 61 | 70 61 63 69 74 79 20 6f | it's ca|pacity o|
|000016e0| 72 20 61 73 20 73 69 6d | 70 6c 65 0a 58 20 20 65 |r as sim|ple.X e|
|000016f0| 78 61 6d 70 6c 65 20 69 | 6e 20 58 20 70 72 6f 67 |xample i|n X prog|
|00001700| 72 61 6d 6d 69 6e 67 2e | 0a 58 0a 41 63 6b 6e 6f |ramming.|.X.Ackno|
|00001710| 77 6c 65 64 67 65 6d 65 | 6e 74 73 3a 0a 58 0a 58 |wledgeme|nts:.X.X|
|00001720| 20 20 49 20 77 6f 75 6c | 64 20 6c 69 6b 65 20 74 | I woul|d like t|
|00001730| 6f 20 74 68 61 6e 6b 20 | 6d 79 20 62 65 74 61 20 |o thank |my beta |
|00001740| 74 65 73 74 65 72 73 2c | 20 44 6f 6e 6e 20 4d 6f |testers,| Donn Mo|
|00001750| 72 72 69 6c 6c 20 61 6e | 64 20 42 69 6c 6c 20 46 |rrill an|d Bill F|
|00001760| 75 73 73 20 66 6f 72 0a | 58 20 20 68 65 6c 70 69 |uss for.|X helpi|
|00001770| 6e 67 20 74 6f 20 6d 61 | 6b 65 20 73 75 72 65 20 |ng to ma|ke sure |
|00001780| 74 68 69 73 20 70 72 6f | 67 72 61 6d 20 77 6f 72 |this pro|gram wor|
|00001790| 6b 73 20 61 6e 64 20 6b | 65 65 70 69 6e 67 20 6d |ks and k|eeping m|
|000017a0| 65 20 68 6f 6e 65 73 74 | 2e 0a 58 0a 53 48 41 52 |e honest|..X.SHAR|
|000017b0| 5f 45 4f 46 0a 63 68 6d | 6f 64 20 30 36 34 34 20 |_EOF.chm|od 0644 |
|000017c0| 52 45 41 44 4d 45 20 7c | 7c 0a 65 63 68 6f 20 27 |README |||.echo '|
|000017d0| 72 65 73 74 6f 72 65 20 | 6f 66 20 52 45 41 44 4d |restore |of READM|
|000017e0| 45 20 66 61 69 6c 65 64 | 27 0a 57 63 5f 63 3d 22 |E failed|'.Wc_c="|
|000017f0| 60 77 63 20 2d 63 20 3c | 20 27 52 45 41 44 4d 45 |`wc -c <| 'README|
|00001800| 27 60 22 0a 74 65 73 74 | 20 33 37 37 35 20 2d 65 |'`".test| 3775 -e|
|00001810| 71 20 22 24 57 63 5f 63 | 22 20 7c 7c 0a 09 65 63 |q "$Wc_c|" ||..ec|
|00001820| 68 6f 20 27 52 45 41 44 | 4d 45 3a 20 6f 72 69 67 |ho 'READ|ME: orig|
|00001830| 69 6e 61 6c 20 73 69 7a | 65 20 33 37 37 35 2c 20 |inal siz|e 3775, |
|00001840| 63 75 72 72 65 6e 74 20 | 73 69 7a 65 27 20 22 24 |current |size' "$|
|00001850| 57 63 5f 63 22 0a 66 69 | 0a 23 20 3d 3d 3d 3d 3d |Wc_c".fi|.# =====|
|00001860| 3d 3d 3d 3d 3d 3d 3d 3d | 20 4d 41 4e 49 46 45 53 |========| MANIFES|
|00001870| 54 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |T ======|========|
|00001880| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 4d 41 4e |.if test| -f 'MAN|
|00001890| 49 46 45 53 54 27 20 2d | 61 20 58 22 24 31 22 20 |IFEST' -|a X"$1" |
|000018a0| 21 3d 20 58 22 2d 63 22 | 3b 20 74 68 65 6e 0a 09 |!= X"-c"|; then..|
|000018b0| 65 63 68 6f 20 27 78 20 | 2d 20 73 6b 69 70 70 69 |echo 'x |- skippi|
|000018c0| 6e 67 20 4d 41 4e 49 46 | 45 53 54 20 28 46 69 6c |ng MANIF|EST (Fil|
|000018d0| 65 20 61 6c 72 65 61 64 | 79 20 65 78 69 73 74 73 |e alread|y exists|
|000018e0| 29 27 0a 65 6c 73 65 0a | 65 63 68 6f 20 27 78 20 |)'.else.|echo 'x |
|000018f0| 2d 20 65 78 74 72 61 63 | 74 69 6e 67 20 4d 41 4e |- extrac|ting MAN|
|00001900| 49 46 45 53 54 20 28 54 | 65 78 74 29 27 0a 73 65 |IFEST (T|ext)'.se|
|00001910| 64 20 27 73 2f 5e 58 2f | 2f 27 20 3c 3c 20 27 53 |d 's/^X/|/' << 'S|
|00001920| 48 41 52 5f 45 4f 46 27 | 20 3e 20 27 4d 41 4e 49 |HAR_EOF'| > 'MANI|
|00001930| 46 45 53 54 27 20 26 26 | 0a 58 20 20 20 46 69 6c |FEST' &&|.X Fil|
|00001940| 65 20 4e 61 6d 65 20 20 | 20 20 20 20 20 20 20 20 |e Name | |
|00001950| 20 20 53 68 61 72 20 23 | 20 20 20 20 20 20 20 09 | Shar #| .|
|00001960| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 2d 2d 2d 2d |Descript|ion.----|
|00001970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001980| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001990| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000019a0| 2d 2d 2d 2d 2d 2d 2d 0a | 49 6d 61 6b 65 66 69 6c |-------.|Imakefil|
|000019b0| 65 09 09 20 20 20 31 09 | 09 20 20 49 6d 61 6b 65 |e.. 1.|. Imake|
|000019c0| 20 4d 61 6b 65 66 69 6c | 65 0a 4d 41 4e 49 46 45 | Makefil|e.MANIFE|
|000019d0| 53 54 09 09 20 20 20 31 | 09 09 20 20 54 68 69 73 |ST.. 1|.. This|
|000019e0| 20 6c 69 73 74 20 6f 66 | 20 66 69 6c 65 73 0a 4d | list of| files.M|
|000019f0| 61 6b 65 66 69 6c 65 2e | 73 69 6d 70 6c 65 09 09 |akefile.|simple..|
|00001a00| 20 20 20 31 09 09 20 20 | 53 69 6d 70 6c 65 20 6d | 1.. |Simple m|
|00001a10| 61 6b 65 66 69 6c 65 0a | 52 45 41 44 4d 45 09 09 |akefile.|README..|
|00001a20| 09 20 20 20 31 09 09 20 | 20 44 65 74 61 69 6c 73 |. 1.. | Details|
|00001a30| 20 61 62 6f 75 74 20 70 | 72 6f 67 72 61 6d 0a 61 | about p|rogram.a|
|00001a40| 64 64 64 69 73 70 6c 61 | 79 2e 63 09 09 20 20 20 |dddispla|y.c.. |
|00001a50| 31 09 09 20 20 41 64 64 | 20 27 2d 64 69 73 70 6c |1.. Add| '-displ|
|00001a60| 61 79 27 20 66 6f 72 20 | 6d 75 6c 74 69 70 6c 65 |ay' for |multiple|
|00001a70| 20 73 63 72 65 65 6e 73 | 0a 61 64 64 6f 6e 2e 63 | screens|.addon.c|
|00001a80| 09 09 09 20 20 20 31 09 | 09 20 20 41 64 64 20 6f |... 1.|. Add o|
|00001a90| 6e 20 61 72 67 75 6d 65 | 6e 74 73 20 72 6f 75 74 |n argume|nts rout|
|00001aa0| 69 6e 65 73 0a 61 64 64 | 6f 6e 2e 68 09 09 20 20 |ines.add|on.h.. |
|00001ab0| 20 09 20 20 20 31 09 09 | 20 20 41 64 64 6f 6e 20 | . 1..| Addon |
|00001ac0| 73 74 72 75 63 74 75 72 | 65 20 64 65 66 69 6e 69 |structur|e defini|
|00001ad0| 74 69 6f 6e 0a 61 64 64 | 6f 6e 2e 73 61 6d 70 6c |tion.add|on.sampl|
|00001ae0| 65 09 09 20 20 20 31 09 | 20 20 20 20 20 20 20 20 |e.. 1.| |
|00001af0| 20 20 53 61 6d 70 6c 65 | 20 61 64 64 6f 6e 20 66 | Sample| addon f|
|00001b00| 69 6c 65 20 28 75 73 65 | 64 20 77 69 74 68 20 27 |ile (use|d with '|
|00001b10| 2d 61 27 29 0a 63 6f 6d | 62 69 6e 65 2e 63 09 09 |-a').com|bine.c..|
|00001b20| 20 20 20 31 09 09 20 20 | 43 6f 6d 62 69 6e 65 20 | 1.. |Combine |
|00001b30| 6d 75 6c 74 69 70 6c 65 | 20 61 72 67 73 20 69 6e |multiple| args in|
|00001b40| 74 6f 20 31 20 73 74 72 | 69 6e 67 0a 63 6f 70 79 |to 1 str|ing.copy|
|00001b50| 72 69 67 68 74 2e 63 09 | 09 20 20 20 31 09 09 20 |right.c.|. 1.. |
|00001b60| 20 43 6f 70 79 72 69 67 | 68 74 20 6e 6f 74 69 63 | Copyrig|ht notic|
|00001b70| 65 20 66 6f 72 20 65 78 | 65 63 75 74 61 62 6c 65 |e for ex|ecutable|
|00001b80| 0a 66 69 78 5f 63 6f 6d | 6d 61 6e 64 2e 63 09 20 |.fix_com|mand.c. |
|00001b90| 20 20 09 20 20 20 31 09 | 09 20 20 46 69 78 20 78 | . 1.|. Fix x|
|00001ba0| 76 69 65 77 20 70 72 6f | 62 6c 65 6d 20 72 6f 75 |view pro|blem rou|
|00001bb0| 74 69 6e 65 0a 67 65 74 | 5f 67 65 6f 6d 65 74 72 |tine.get|_geometr|
|00001bc0| 79 2e 63 09 09 20 20 20 | 31 09 09 20 20 47 65 74 |y.c.. |1.. Get|
|00001bd0| 20 67 65 6f 6d 65 74 72 | 79 20 69 6e 66 6f 72 6d | geometr|y inform|
|00001be0| 61 74 69 6f 6e 0a 67 65 | 74 69 6e 66 6f 2e 63 09 |ation.ge|tinfo.c.|
|00001bf0| 09 20 20 20 31 09 09 20 | 20 47 65 74 20 77 69 6e |. 1.. | Get win|
|00001c00| 64 6f 77 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |dow info|rmation |
|00001c10| 72 6f 75 74 69 6e 65 73 | 0a 69 73 2e 63 09 09 09 |routines|.is.c...|
|00001c20| 20 20 20 31 09 09 20 20 | 51 75 65 72 79 20 72 6f | 1.. |Query ro|
|00001c30| 75 74 69 6e 65 73 0a 6d | 61 6b 65 5f 6c 69 73 74 |utines.m|ake_list|
|00001c40| 2e 63 09 09 20 20 20 31 | 09 09 20 20 47 65 6e 65 |.c.. 1|.. Gene|
|00001c50| 72 61 74 65 20 6c 69 73 | 74 20 6f 66 20 73 63 72 |rate lis|t of scr|
|00001c60| 65 65 6e 73 20 74 6f 20 | 73 61 76 65 0a 6d 69 73 |eens to |save.mis|
|00001c70| 73 69 6e 67 2e 63 09 09 | 20 20 20 31 09 09 20 20 |sing.c..| 1.. |
|00001c80| 4d 69 73 73 69 6e 67 20 | 61 70 70 6c 69 63 61 74 |Missing |applicat|
|00001c90| 69 6f 6e 73 20 72 6f 75 | 74 69 6e 65 73 0a 6d 69 |ions rou|tines.mi|
|00001ca0| 73 73 69 6e 67 2e 73 61 | 6d 70 6c 65 09 09 20 20 |ssing.sa|mple.. |
|00001cb0| 20 31 09 09 20 20 53 61 | 6d 70 6c 65 20 6d 69 73 | 1.. Sa|mple mis|
|00001cc0| 73 69 6e 67 20 66 69 6c | 65 20 28 75 73 65 64 20 |sing fil|e (used |
|00001cd0| 77 69 74 68 20 27 2d 6d | 27 29 0a 70 61 74 63 68 |with '-m|').patch|
|00001ce0| 6c 65 76 65 6c 2e 68 09 | 09 20 20 20 31 09 09 20 |level.h.|. 1.. |
|00001cf0| 20 50 61 74 63 68 6c 65 | 76 65 6c 20 69 6e 66 6f | Patchle|vel info|
|00001d00| 0a 73 74 72 73 74 72 2e | 63 09 09 20 20 20 31 09 |.strstr.|c.. 1.|
|00001d10| 09 20 20 53 79 73 74 65 | 6d 20 35 20 73 74 72 73 |. Syste|m 5 strs|
|00001d20| 74 72 28 29 20 66 75 6e | 63 74 69 6f 6e 0a 78 74 |tr() fun|ction.xt|
|00001d30| 6f 6f 6c 70 6c 61 63 65 | 73 2e 63 09 09 20 20 20 |oolplace|s.c.. |
|00001d40| 31 09 09 20 20 54 68 65 | 20 78 74 6f 6f 6c 70 6c |1.. The| xtoolpl|
|00001d50| 61 63 65 73 20 70 72 6f | 67 72 61 6d 0a 78 74 6f |aces pro|gram.xto|
|00001d60| 6f 6c 70 6c 61 63 65 73 | 2e 68 09 09 20 20 20 31 |olplaces|.h.. 1|
|00001d70| 09 09 20 20 43 6f 6d 6d | 6f 6e 20 64 65 66 69 6e |.. Comm|on defin|
|00001d80| 69 74 69 6f 6e 73 0a 78 | 74 6f 6f 6c 70 6c 61 63 |itions.x|toolplac|
|00001d90| 65 73 2e 6d 61 6e 09 09 | 20 20 20 31 09 09 20 20 |es.man..| 1.. |
|00001da0| 58 74 6f 6f 6c 70 6c 61 | 63 65 73 20 6d 61 6e 20 |Xtoolpla|ces man |
|00001db0| 70 61 67 65 0a 58 0a 53 | 48 41 52 5f 45 4f 46 0a |page.X.S|HAR_EOF.|
|00001dc0| 63 68 6d 6f 64 20 30 36 | 34 34 20 4d 41 4e 49 46 |chmod 06|44 MANIF|
|00001dd0| 45 53 54 20 7c 7c 0a 65 | 63 68 6f 20 27 72 65 73 |EST ||.e|cho 'res|
|00001de0| 74 6f 72 65 20 6f 66 20 | 4d 41 4e 49 46 45 53 54 |tore of |MANIFEST|
|00001df0| 20 66 61 69 6c 65 64 27 | 0a 57 63 5f 63 3d 22 60 | failed'|.Wc_c="`|
|00001e00| 77 63 20 2d 63 20 3c 20 | 27 4d 41 4e 49 46 45 53 |wc -c < |'MANIFES|
|00001e10| 54 27 60 22 0a 74 65 73 | 74 20 31 31 34 38 20 2d |T'`".tes|t 1148 -|
|00001e20| 65 71 20 22 24 57 63 5f | 63 22 20 7c 7c 0a 09 65 |eq "$Wc_|c" ||..e|
|00001e30| 63 68 6f 20 27 4d 41 4e | 49 46 45 53 54 3a 20 6f |cho 'MAN|IFEST: o|
|00001e40| 72 69 67 69 6e 61 6c 20 | 73 69 7a 65 20 31 31 34 |riginal |size 114|
|00001e50| 38 2c 20 63 75 72 72 65 | 6e 74 20 73 69 7a 65 27 |8, curre|nt size'|
|00001e60| 20 22 24 57 63 5f 63 22 | 0a 66 69 0a 23 20 3d 3d | "$Wc_c"|.fi.# ==|
|00001e70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 20 49 6d 61 6b |========|=== Imak|
|00001e80| 65 66 69 6c 65 20 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |efile ==|========|
|00001e90| 3d 3d 3d 3d 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |====.if |test -f |
|00001ea0| 27 49 6d 61 6b 65 66 69 | 6c 65 27 20 2d 61 20 58 |'Imakefi|le' -a X|
|00001eb0| 22 24 31 22 20 21 3d 20 | 58 22 2d 63 22 3b 20 74 |"$1" != |X"-c"; t|
|00001ec0| 68 65 6e 0a 09 65 63 68 | 6f 20 27 78 20 2d 20 73 |hen..ech|o 'x - s|
|00001ed0| 6b 69 70 70 69 6e 67 20 | 49 6d 61 6b 65 66 69 6c |kipping |Imakefil|
|00001ee0| 65 20 28 46 69 6c 65 20 | 61 6c 72 65 61 64 79 20 |e (File |already |
|00001ef0| 65 78 69 73 74 73 29 27 | 0a 65 6c 73 65 0a 65 63 |exists)'|.else.ec|
|00001f00| 68 6f 20 27 78 20 2d 20 | 65 78 74 72 61 63 74 69 |ho 'x - |extracti|
|00001f10| 6e 67 20 49 6d 61 6b 65 | 66 69 6c 65 20 28 54 65 |ng Imake|file (Te|
|00001f20| 78 74 29 27 0a 73 65 64 | 20 27 73 2f 5e 58 2f 2f |xt)'.sed| 's/^X//|
|00001f30| 27 20 3c 3c 20 27 53 48 | 41 52 5f 45 4f 46 27 20 |' << 'SH|AR_EOF' |
|00001f40| 3e 20 27 49 6d 61 6b 65 | 66 69 6c 65 27 20 26 26 |> 'Imake|file' &&|
|00001f50| 0a 23 20 43 6f 70 79 72 | 69 67 68 74 20 28 63 29 |.# Copyr|ight (c)|
|00001f60| 20 31 39 39 31 20 58 65 | 72 6f 78 20 43 6f 72 70 | 1991 Xe|rox Corp|
|00001f70| 6f 72 61 74 69 6f 6e 2e | 20 20 41 6c 6c 20 52 69 |oration.| All Ri|
|00001f80| 67 68 74 73 20 52 65 73 | 65 72 76 65 64 2e 0a 23 |ghts Res|erved..#|
|00001f90| 0a 23 20 50 65 72 6d 69 | 73 73 69 6f 6e 20 74 6f |.# Permi|ssion to|
|00001fa0| 20 75 73 65 2c 20 20 63 | 6f 70 79 2c 20 20 6d 6f | use, c|opy, mo|
|00001fb0| 64 69 66 79 20 20 61 6e | 64 20 20 64 69 73 74 72 |dify an|d distr|
|00001fc0| 69 62 75 74 65 20 20 77 | 69 74 68 6f 75 74 0a 23 |ibute w|ithout.#|
|00001fd0| 20 63 68 61 72 67 65 20 | 74 68 69 73 20 73 6f 66 | charge |this sof|
|00001fe0| 74 77 61 72 65 2c 20 64 | 6f 63 75 6d 65 6e 74 61 |tware, d|ocumenta|
|00001ff0| 74 69 6f 6e 2c 20 69 6d | 61 67 65 73 2c 20 65 74 |tion, im|ages, et|
|00002000| 63 2e 20 69 73 20 67 72 | 61 6e 74 2d 0a 23 20 65 |c. is gr|ant-.# e|
|00002010| 64 2c 20 70 72 6f 76 69 | 64 65 64 20 74 68 61 74 |d, provi|ded that|
|00002020| 20 74 68 69 73 20 63 6f | 70 79 72 69 67 68 74 20 | this co|pyright |
|00002030| 61 6e 64 20 74 68 65 20 | 61 75 74 68 6f 72 27 73 |and the |author's|
|00002040| 20 20 6e 61 6d 65 20 20 | 69 73 0a 23 20 72 65 74 | name |is.# ret|
|00002050| 61 69 6e 65 64 2e 0a 23 | 0a 23 20 41 20 66 65 65 |ained..#|.# A fee|
|00002060| 20 6d 61 79 20 62 65 20 | 63 68 61 72 67 65 64 20 | may be |charged |
|00002070| 66 6f 72 20 74 68 69 73 | 20 70 72 6f 67 72 61 6d |for this| program|
|00002080| 20 4f 4e 4c 59 20 74 6f | 20 72 65 63 6f 76 65 72 | ONLY to| recover|
|00002090| 20 63 6f 73 74 73 0a 23 | 20 66 6f 72 20 64 69 73 | costs.#| for dis|
|000020a0| 74 72 69 62 75 74 69 6f | 6e 20 28 69 2e 65 2e 20 |tributio|n (i.e. |
|000020b0| 6d 65 64 69 61 20 63 6f | 73 74 73 29 2e 20 20 4e |media co|sts). N|
|000020c0| 6f 20 70 72 6f 66 69 74 | 20 63 61 6e 20 62 65 20 |o profit| can be |
|000020d0| 6d 61 64 65 0a 23 20 6f | 6e 20 74 68 69 73 20 70 |made.# o|n this p|
|000020e0| 72 6f 67 72 61 6d 2e 0a | 23 0a 23 20 54 68 65 20 |rogram..|#.# The |
|000020f0| 61 75 74 68 6f 72 20 61 | 73 73 75 6d 65 73 20 6e |author a|ssumes n|
|00002100| 6f 20 72 65 73 70 6f 6e | 73 69 62 69 6c 69 74 79 |o respon|sibility|
|00002110| 20 66 6f 72 20 64 69 73 | 61 73 74 65 72 73 20 28 | for dis|asters (|
|00002120| 6e 61 74 75 72 61 6c 0a | 23 20 6f 72 20 6f 74 68 |natural.|# or oth|
|00002130| 65 72 77 69 73 65 29 20 | 61 73 20 61 20 63 6f 6e |erwise) |as a con|
|00002140| 73 65 71 75 65 6e 63 65 | 20 6f 66 20 75 73 65 20 |sequence| of use |
|00002150| 6f 66 20 74 68 69 73 20 | 73 6f 66 74 77 61 72 65 |of this |software|
|00002160| 2e 0a 23 0a 23 20 41 64 | 61 6d 20 53 74 65 69 6e |..#.# Ad|am Stein|
|00002170| 20 28 73 74 65 69 6e 2e | 77 62 73 74 31 32 39 40 | (stein.|wbst129@|
|00002180| 78 65 72 6f 78 2e 63 6f | 6d 29 0a 58 0a 54 41 52 |xerox.co|m).X.TAR|
|00002190| 47 45 54 3d 78 74 6f 6f | 6c 70 6c 61 63 65 73 0a |GET=xtoo|lplaces.|
|000021a0| 58 0a 49 4e 43 53 3d 61 | 64 64 6f 6e 2e 68 20 70 |X.INCS=a|ddon.h p|
|000021b0| 61 74 63 68 6c 65 76 65 | 6c 2e 68 20 78 74 6f 6f |atchleve|l.h xtoo|
|000021c0| 6c 70 6c 61 63 65 73 2e | 68 0a 53 52 43 53 3d 63 |lplaces.|h.SRCS=c|
|000021d0| 6f 70 79 72 69 67 68 74 | 2e 63 20 61 64 64 64 69 |opyright|.c adddi|
|000021e0| 73 70 6c 61 79 2e 63 20 | 61 64 64 6f 6e 2e 63 20 |splay.c |addon.c |
|000021f0| 63 6f 6d 62 69 6e 65 2e | 63 20 66 69 78 5f 63 6f |combine.|c fix_co|
|00002200| 6d 6d 61 6e 64 2e 63 5c | 0a 58 20 20 20 20 20 67 |mmand.c\|.X g|
|00002210| 65 74 5f 67 65 6f 6d 65 | 74 72 79 2e 63 20 67 65 |et_geome|try.c ge|
|00002220| 74 69 6e 66 6f 2e 63 20 | 69 73 2e 63 20 6d 61 6b |tinfo.c |is.c mak|
|00002230| 65 5f 6c 69 73 74 2e 63 | 20 6d 69 73 73 69 6e 67 |e_list.c| missing|
|00002240| 2e 63 20 73 74 72 73 74 | 72 2e 63 5c 0a 58 20 20 |.c strst|r.c\.X |
|00002250| 20 20 20 78 74 6f 6f 6c | 70 6c 61 63 65 73 2e 63 | xtool|places.c|
|00002260| 0a 4f 42 4a 53 3d 63 6f | 70 79 72 69 67 68 74 2e |.OBJS=co|pyright.|
|00002270| 6f 20 61 64 64 64 69 73 | 70 6c 61 79 2e 6f 20 61 |o adddis|play.o a|
|00002280| 64 64 6f 6e 2e 6f 20 63 | 6f 6d 62 69 6e 65 2e 6f |ddon.o c|ombine.o|
|00002290| 20 66 69 78 5f 63 6f 6d | 6d 61 6e 64 2e 6f 5c 0a | fix_com|mand.o\.|
|000022a0| 58 20 20 20 20 20 67 65 | 74 5f 67 65 6f 6d 65 74 |X ge|t_geomet|
|000022b0| 72 79 2e 6f 20 67 65 74 | 69 6e 66 6f 2e 6f 20 69 |ry.o get|info.o i|
|000022c0| 73 2e 6f 20 6d 61 6b 65 | 5f 6c 69 73 74 2e 6f 20 |s.o make|_list.o |
|000022d0| 6d 69 73 73 69 6e 67 2e | 6f 20 73 74 72 73 74 72 |missing.|o strstr|
|000022e0| 2e 6f 5c 0a 58 20 20 20 | 20 20 78 74 6f 6f 6c 70 |.o\.X | xtoolp|
|000022f0| 6c 61 63 65 73 2e 6f 0a | 58 0a 4c 4f 43 41 4c 5f |laces.o.|X.LOCAL_|
|00002300| 4c 49 42 52 41 52 49 45 | 53 20 3d 20 24 7b 58 4c |LIBRARIE|S = ${XL|
|00002310| 49 42 7d 0a 58 0a 43 6f | 6d 70 6c 65 78 50 72 6f |IB}.X.Co|mplexPro|
|00002320| 67 72 61 6d 54 61 72 67 | 65 74 28 24 7b 54 41 52 |gramTarg|et(${TAR|
|00002330| 47 45 54 7d 29 0a 58 0a | 73 68 61 72 3a 0a 58 09 |GET}).X.|shar:.X.|
|00002340| 73 68 61 72 20 2d 63 20 | 2d 6f 20 24 7b 54 41 52 |shar -c |-o ${TAR|
|00002350| 47 45 54 7d 20 2d 6c 37 | 35 20 52 45 41 44 4d 45 |GET} -l7|5 README|
|00002360| 20 4d 41 4e 49 46 45 53 | 54 20 49 6d 61 6b 65 66 | MANIFES|T Imakef|
|00002370| 69 6c 65 20 4d 61 6b 65 | 66 69 6c 65 2e 73 69 6d |ile Make|file.sim|
|00002380| 70 6c 65 20 5c 0a 58 09 | 78 74 6f 6f 6c 70 6c 61 |ple \.X.|xtoolpla|
|00002390| 63 65 73 2e 6d 61 6e 20 | 24 7b 53 52 43 53 7d 20 |ces.man |${SRCS} |
|000023a0| 24 7b 49 4e 43 53 7d 20 | 61 64 64 6f 6e 2e 73 61 |${INCS} |addon.sa|
|000023b0| 6d 70 6c 65 20 6d 69 73 | 73 69 6e 67 2e 73 61 6d |mple mis|sing.sam|
|000023c0| 70 6c 65 0a 58 0a 53 48 | 41 52 5f 45 4f 46 0a 63 |ple.X.SH|AR_EOF.c|
|000023d0| 68 6d 6f 64 20 30 36 34 | 34 20 49 6d 61 6b 65 66 |hmod 064|4 Imakef|
|000023e0| 69 6c 65 20 7c 7c 0a 65 | 63 68 6f 20 27 72 65 73 |ile ||.e|cho 'res|
|000023f0| 74 6f 72 65 20 6f 66 20 | 49 6d 61 6b 65 66 69 6c |tore of |Imakefil|
|00002400| 65 20 66 61 69 6c 65 64 | 27 0a 57 63 5f 63 3d 22 |e failed|'.Wc_c="|
|00002410| 60 77 63 20 2d 63 20 3c | 20 27 49 6d 61 6b 65 66 |`wc -c <| 'Imakef|
|00002420| 69 6c 65 27 60 22 0a 74 | 65 73 74 20 31 31 32 39 |ile'`".t|est 1129|
|00002430| 20 2d 65 71 20 22 24 57 | 63 5f 63 22 20 7c 7c 0a | -eq "$W|c_c" ||.|
|00002440| 09 65 63 68 6f 20 27 49 | 6d 61 6b 65 66 69 6c 65 |.echo 'I|makefile|
|00002450| 3a 20 6f 72 69 67 69 6e | 61 6c 20 73 69 7a 65 20 |: origin|al size |
|00002460| 31 31 32 39 2c 20 63 75 | 72 72 65 6e 74 20 73 69 |1129, cu|rrent si|
|00002470| 7a 65 27 20 22 24 57 63 | 5f 63 22 0a 66 69 0a 23 |ze' "$Wc|_c".fi.#|
|00002480| 20 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 20 4d | =======|====== M|
|00002490| 61 6b 65 66 69 6c 65 2e | 73 69 6d 70 6c 65 20 3d |akefile.|simple =|
|000024a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0a 69 66 |========|=====.if|
|000024b0| 20 74 65 73 74 20 2d 66 | 20 27 4d 61 6b 65 66 69 | test -f| 'Makefi|
|000024c0| 6c 65 2e 73 69 6d 70 6c | 65 27 20 2d 61 20 58 22 |le.simpl|e' -a X"|
|000024d0| 24 31 22 20 21 3d 20 58 | 22 2d 63 22 3b 20 74 68 |$1" != X|"-c"; th|
|000024e0| 65 6e 0a 09 65 63 68 6f | 20 27 78 20 2d 20 73 6b |en..echo| 'x - sk|
|000024f0| 69 70 70 69 6e 67 20 4d | 61 6b 65 66 69 6c 65 2e |ipping M|akefile.|
|00002500| 73 69 6d 70 6c 65 20 28 | 46 69 6c 65 20 61 6c 72 |simple (|File alr|
|00002510| 65 61 64 79 20 65 78 69 | 73 74 73 29 27 0a 65 6c |eady exi|sts)'.el|
|00002520| 73 65 0a 65 63 68 6f 20 | 27 78 20 2d 20 65 78 74 |se.echo |'x - ext|
|00002530| 72 61 63 74 69 6e 67 20 | 4d 61 6b 65 66 69 6c 65 |racting |Makefile|
|00002540| 2e 73 69 6d 70 6c 65 20 | 28 54 65 78 74 29 27 0a |.simple |(Text)'.|
|00002550| 73 65 64 20 27 73 2f 5e | 58 2f 2f 27 20 3c 3c 20 |sed 's/^|X//' << |
|00002560| 27 53 48 41 52 5f 45 4f | 46 27 20 3e 20 27 4d 61 |'SHAR_EO|F' > 'Ma|
|00002570| 6b 65 66 69 6c 65 2e 73 | 69 6d 70 6c 65 27 20 26 |kefile.s|imple' &|
|00002580| 26 0a 23 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 |&.# Copy|right (c|
|00002590| 29 20 31 39 39 31 20 58 | 65 72 6f 78 20 43 6f 72 |) 1991 X|erox Cor|
|000025a0| 70 6f 72 61 74 69 6f 6e | 2e 20 20 41 6c 6c 20 52 |poration|. All R|
|000025b0| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 2e 20 |ights Re|served. |
|000025c0| 0a 23 0a 23 20 50 65 72 | 6d 69 73 73 69 6f 6e 20 |.#.# Per|mission |
|000025d0| 74 6f 20 75 73 65 2c 20 | 20 63 6f 70 79 2c 20 20 |to use, | copy, |
|000025e0| 6d 6f 64 69 66 79 20 20 | 61 6e 64 20 20 64 69 73 |modify |and dis|
|000025f0| 74 72 69 62 75 74 65 20 | 20 77 69 74 68 6f 75 74 |tribute | without|
|00002600| 0a 23 20 63 68 61 72 67 | 65 20 74 68 69 73 20 73 |.# charg|e this s|
|00002610| 6f 66 74 77 61 72 65 2c | 20 64 6f 63 75 6d 65 6e |oftware,| documen|
|00002620| 74 61 74 69 6f 6e 2c 20 | 69 6d 61 67 65 73 2c 20 |tation, |images, |
|00002630| 65 74 63 2e 20 69 73 20 | 67 72 61 6e 74 2d 0a 23 |etc. is |grant-.#|
|00002640| 20 65 64 2c 20 70 72 6f | 76 69 64 65 64 20 74 68 | ed, pro|vided th|
|00002650| 61 74 20 74 68 69 73 20 | 63 6f 70 79 72 69 67 68 |at this |copyrigh|
|00002660| 74 20 61 6e 64 20 74 68 | 65 20 61 75 74 68 6f 72 |t and th|e author|
|00002670| 27 73 20 20 6e 61 6d 65 | 20 20 69 73 20 0a 23 20 |'s name| is .# |
|00002680| 72 65 74 61 69 6e 65 64 | 2e 20 0a 23 20 0a 23 20 |retained|. .# .# |
|00002690| 41 20 66 65 65 20 6d 61 | 79 20 62 65 20 63 68 61 |A fee ma|y be cha|
|000026a0| 72 67 65 64 20 66 6f 72 | 20 74 68 69 73 20 70 72 |rged for| this pr|
|000026b0| 6f 67 72 61 6d 20 4f 4e | 4c 59 20 74 6f 20 72 65 |ogram ON|LY to re|
|000026c0| 63 6f 76 65 72 20 63 6f | 73 74 73 20 0a 23 20 66 |cover co|sts .# f|
|000026d0| 6f 72 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |or distr|ibution |
|000026e0| 28 69 2e 65 2e 20 6d 65 | 64 69 61 20 63 6f 73 74 |(i.e. me|dia cost|
|000026f0| 73 29 2e 20 20 4e 6f 20 | 70 72 6f 66 69 74 20 63 |s). No |profit c|
|00002700| 61 6e 20 62 65 20 6d 61 | 64 65 20 20 20 20 0a 23 |an be ma|de .#|
|00002710| 20 6f 6e 20 74 68 69 73 | 20 70 72 6f 67 72 61 6d | on this| program|
|00002720| 2e 20 0a 23 20 0a 23 20 | 54 68 65 20 61 75 74 68 |. .# .# |The auth|
|00002730| 6f 72 20 61 73 73 75 6d | 65 73 20 6e 6f 20 72 65 |or assum|es no re|
|00002740| 73 70 6f 6e 73 69 62 69 | 6c 69 74 79 20 66 6f 72 |sponsibi|lity for|
|00002750| 20 64 69 73 61 73 74 65 | 72 73 20 28 6e 61 74 75 | disaste|rs (natu|
|00002760| 72 61 6c 20 0a 23 20 6f | 72 20 6f 74 68 65 72 77 |ral .# o|r otherw|
|00002770| 69 73 65 29 20 61 73 20 | 61 20 63 6f 6e 73 65 71 |ise) as |a conseq|
|00002780| 75 65 6e 63 65 20 6f 66 | 20 75 73 65 20 6f 66 20 |uence of| use of |
|00002790| 74 68 69 73 20 73 6f 66 | 74 77 61 72 65 2e 20 20 |this sof|tware. |
|000027a0| 0a 23 20 0a 23 20 41 64 | 61 6d 20 53 74 65 69 6e |.# .# Ad|am Stein|
|000027b0| 20 28 73 74 65 69 6e 2e | 77 62 73 74 31 32 39 40 | (stein.|wbst129@|
|000027c0| 78 65 72 6f 78 2e 63 6f | 6d 29 20 20 0a 58 0a 23 |xerox.co|m) .X.#|
|000027d0| 20 4e 61 6d 65 20 6f 66 | 20 70 72 6f 67 72 61 6d | Name of| program|
|000027e0| 20 74 6f 20 62 75 69 6c | 64 0a 54 41 52 47 45 54 | to buil|d.TARGET|
|000027f0| 3d 78 74 6f 6f 6c 70 6c | 61 63 65 73 0a 58 0a 23 |=xtoolpl|aces.X.#|
|00002800| 20 42 69 6e 61 72 79 20 | 61 6e 64 20 6d 61 6e 20 | Binary |and man |
|00002810| 70 61 67 65 20 64 69 72 | 65 63 74 6f 72 79 20 74 |page dir|ectory t|
|00002820| 6f 20 69 6e 73 74 61 6c | 6c 20 74 6f 0a 42 49 4e |o instal|l to.BIN|
|00002830| 44 49 52 3d 2f 75 73 72 | 2f 6c 6f 63 61 6c 2f 62 |DIR=/usr|/local/b|
|00002840| 69 6e 0a 4d 41 4e 44 49 | 52 3d 2f 75 73 72 2f 6c |in.MANDI|R=/usr/l|
|00002850| 6f 63 61 6c 2f 6d 61 6e | 2f 6d 61 6e 31 0a 58 0a |ocal/man|/man1.X.|
|00002860| 23 20 54 6f 70 20 6c 65 | 76 65 6c 20 6f 66 20 58 |# Top le|vel of X|
|00002870| 20 64 69 72 65 63 74 6f | 72 79 20 73 74 72 75 63 | directo|ry struc|
|00002880| 74 75 72 65 0a 58 58 54 | 4f 50 3d 2f 75 73 72 32 |ture.XXT|OP=/usr2|
|00002890| 2f 6f 70 65 6e 77 69 6e | 0a 58 0a 43 46 4c 41 47 |/openwin|.X.CFLAG|
|000028a0| 53 3d 2d 49 24 7b 58 54 | 4f 50 7d 2f 69 6e 63 6c |S=-I${XT|OP}/incl|
|000028b0| 75 64 65 0a 58 0a 49 4e | 43 53 3d 61 64 64 6f 6e |ude.X.IN|CS=addon|
|000028c0| 2e 68 20 70 61 74 63 68 | 6c 65 76 65 6c 2e 68 20 |.h patch|level.h |
|000028d0| 78 74 6f 6f 6c 70 6c 61 | 63 65 73 2e 68 0a 53 52 |xtoolpla|ces.h.SR|
|000028e0| 43 53 3d 63 6f 70 79 72 | 69 67 68 74 2e 63 20 61 |CS=copyr|ight.c a|
|000028f0| 64 64 64 69 73 70 6c 61 | 79 2e 63 20 61 64 64 6f |dddispla|y.c addo|
|00002900| 6e 2e 63 20 63 6f 6d 62 | 69 6e 65 2e 63 20 66 69 |n.c comb|ine.c fi|
|00002910| 78 5f 63 6f 6d 6d 61 6e | 64 2e 63 5c 0a 58 20 20 |x_comman|d.c\.X |
|00002920| 20 20 20 67 65 74 5f 67 | 65 6f 6d 65 74 72 79 2e | get_g|eometry.|
|00002930| 63 20 67 65 74 69 6e 66 | 6f 2e 63 20 69 73 2e 63 |c getinf|o.c is.c|
|00002940| 20 6d 61 6b 65 5f 6c 69 | 73 74 2e 63 20 6d 69 73 | make_li|st.c mis|
|00002950| 73 69 6e 67 2e 63 20 73 | 74 72 73 74 72 2e 63 5c |sing.c s|trstr.c\|
|00002960| 0a 58 20 20 20 20 20 78 | 74 6f 6f 6c 70 6c 61 63 |.X x|toolplac|
|00002970| 65 73 2e 63 0a 4f 42 4a | 53 3d 63 6f 70 79 72 69 |es.c.OBJ|S=copyri|
|00002980| 67 68 74 2e 6f 20 61 64 | 64 64 69 73 70 6c 61 79 |ght.o ad|ddisplay|
|00002990| 2e 6f 20 61 64 64 6f 6e | 2e 6f 20 63 6f 6d 62 69 |.o addon|.o combi|
|000029a0| 6e 65 2e 6f 20 66 69 78 | 5f 63 6f 6d 6d 61 6e 64 |ne.o fix|_command|
|000029b0| 2e 6f 5c 0a 58 20 20 20 | 20 20 67 65 74 5f 67 65 |.o\.X | get_ge|
|000029c0| 6f 6d 65 74 72 79 2e 6f | 20 67 65 74 69 6e 66 6f |ometry.o| getinfo|
|000029d0| 2e 6f 20 69 73 2e 6f 20 | 6d 61 6b 65 5f 6c 69 73 |.o is.o |make_lis|
|000029e0| 74 2e 6f 20 6d 69 73 73 | 69 6e 67 2e 6f 20 73 74 |t.o miss|ing.o st|
|000029f0| 72 73 74 72 2e 6f 5c 0a | 58 20 20 20 20 20 78 74 |rstr.o\.|X xt|
|00002a00| 6f 6f 6c 70 6c 61 63 65 | 73 2e 6f 0a 58 0a 2e 4b |oolplace|s.o.X..K|
|00002a10| 45 45 50 5f 53 54 41 54 | 45 3a 0a 58 0a 24 7b 54 |EEP_STAT|E:.X.${T|
|00002a20| 41 52 47 45 54 7d 3a 20 | 24 7b 4f 42 4a 53 7d 0a |ARGET}: |${OBJS}.|
|00002a30| 58 09 24 7b 43 43 7d 20 | 2d 6f 20 24 7b 54 41 52 |X.${CC} |-o ${TAR|
|00002a40| 47 45 54 7d 20 24 7b 4f | 42 4a 53 7d 20 2d 6c 58 |GET} ${O|BJS} -lX|
|00002a50| 31 31 0a 58 0a 69 6e 73 | 74 61 6c 6c 3a 20 24 7b |11.X.ins|tall: ${|
|00002a60| 54 41 52 47 45 54 7d 0a | 58 09 69 6e 73 74 61 6c |TARGET}.|X.instal|
|00002a70| 6c 20 2d 73 20 24 7b 54 | 41 52 47 45 54 7d 20 24 |l -s ${T|ARGET} $|
|00002a80| 7b 42 49 4e 44 49 52 7d | 0a 58 09 69 6e 73 74 61 |{BINDIR}|.X.insta|
|00002a90| 6c 6c 20 24 7b 54 41 52 | 47 45 54 7d 2e 6d 61 6e |ll ${TAR|GET}.man|
|00002aa0| 20 24 7b 4d 41 4e 44 49 | 52 7d 2f 24 7b 54 41 52 | ${MANDI|R}/${TAR|
|00002ab0| 47 45 54 7d 2e 31 0a 58 | 0a 63 6c 65 61 6e 3a 0a |GET}.1.X|.clean:.|
|00002ac0| 58 09 72 6d 20 2d 66 20 | 63 6f 72 65 20 6d 61 6b |X.rm -f |core mak|
|00002ad0| 65 6c 6f 67 20 24 7b 54 | 41 52 47 45 54 7d 20 24 |elog ${T|ARGET} $|
|00002ae0| 7b 4f 42 4a 53 7d 0a 58 | 0a 73 68 61 72 3a 0a 58 |{OBJS}.X|.shar:.X|
|00002af0| 09 73 68 61 72 20 2d 63 | 20 2d 6f 20 24 7b 54 41 |.shar -c| -o ${TA|
|00002b00| 52 47 45 54 7d 20 2d 6c | 20 37 35 20 52 45 41 44 |RGET} -l| 75 READ|
|00002b10| 4d 45 20 4d 41 4e 49 46 | 45 53 54 20 49 6d 61 6b |ME MANIF|EST Imak|
|00002b20| 65 66 69 6c 65 20 4d 61 | 6b 65 66 69 6c 65 2e 73 |efile Ma|kefile.s|
|00002b30| 69 6d 70 6c 65 20 5c 0a | 58 09 78 74 6f 6f 6c 70 |imple \.|X.xtoolp|
|00002b40| 6c 61 63 65 73 2e 6d 61 | 6e 20 24 7b 53 52 43 53 |laces.ma|n ${SRCS|
|00002b50| 7d 20 24 7b 49 4e 43 53 | 7d 20 61 64 64 6f 6e 2e |} ${INCS|} addon.|
|00002b60| 73 61 6d 70 6c 65 20 6d | 69 73 73 69 6e 67 2e 73 |sample m|issing.s|
|00002b70| 61 6d 70 6c 65 0a 58 0a | 53 48 41 52 5f 45 4f 46 |ample.X.|SHAR_EOF|
|00002b80| 0a 63 68 6d 6f 64 20 30 | 36 34 34 20 4d 61 6b 65 |.chmod 0|644 Make|
|00002b90| 66 69 6c 65 2e 73 69 6d | 70 6c 65 20 7c 7c 0a 65 |file.sim|ple ||.e|
|00002ba0| 63 68 6f 20 27 72 65 73 | 74 6f 72 65 20 6f 66 20 |cho 'res|tore of |
|00002bb0| 4d 61 6b 65 66 69 6c 65 | 2e 73 69 6d 70 6c 65 20 |Makefile|.simple |
|00002bc0| 66 61 69 6c 65 64 27 0a | 57 63 5f 63 3d 22 60 77 |failed'.|Wc_c="`w|
|00002bd0| 63 20 2d 63 20 3c 20 27 | 4d 61 6b 65 66 69 6c 65 |c -c < '|Makefile|
|00002be0| 2e 73 69 6d 70 6c 65 27 | 60 22 0a 74 65 73 74 20 |.simple'|`".test |
|00002bf0| 31 35 30 34 20 2d 65 71 | 20 22 24 57 63 5f 63 22 |1504 -eq| "$Wc_c"|
|00002c00| 20 7c 7c 0a 09 65 63 68 | 6f 20 27 4d 61 6b 65 66 | ||..ech|o 'Makef|
|00002c10| 69 6c 65 2e 73 69 6d 70 | 6c 65 3a 20 6f 72 69 67 |ile.simp|le: orig|
|00002c20| 69 6e 61 6c 20 73 69 7a | 65 20 31 35 30 34 2c 20 |inal siz|e 1504, |
|00002c30| 63 75 72 72 65 6e 74 20 | 73 69 7a 65 27 20 22 24 |current |size' "$|
|00002c40| 57 63 5f 63 22 0a 66 69 | 0a 23 20 3d 3d 3d 3d 3d |Wc_c".fi|.# =====|
|00002c50| 3d 3d 3d 3d 3d 3d 3d 3d | 20 78 74 6f 6f 6c 70 6c |========| xtoolpl|
|00002c60| 61 63 65 73 2e 6d 61 6e | 20 3d 3d 3d 3d 3d 3d 3d |aces.man| =======|
|00002c70| 3d 3d 3d 3d 3d 3d 3d 0a | 69 66 20 74 65 73 74 20 |=======.|if test |
|00002c80| 2d 66 20 27 78 74 6f 6f | 6c 70 6c 61 63 65 73 2e |-f 'xtoo|lplaces.|
|00002c90| 6d 61 6e 27 20 2d 61 20 | 58 22 24 31 22 20 21 3d |man' -a |X"$1" !=|
|00002ca0| 20 58 22 2d 63 22 3b 20 | 74 68 65 6e 0a 09 65 63 | X"-c"; |then..ec|
|00002cb0| 68 6f 20 27 78 20 2d 20 | 73 6b 69 70 70 69 6e 67 |ho 'x - |skipping|
|00002cc0| 20 78 74 6f 6f 6c 70 6c | 61 63 65 73 2e 6d 61 6e | xtoolpl|aces.man|
|00002cd0| 20 28 46 69 6c 65 20 61 | 6c 72 65 61 64 79 20 65 | (File a|lready e|
|00002ce0| 78 69 73 74 73 29 27 0a | 65 6c 73 65 0a 65 63 68 |xists)'.|else.ech|
|00002cf0| 6f 20 27 78 20 2d 20 65 | 78 74 72 61 63 74 69 6e |o 'x - e|xtractin|
|00002d00| 67 20 78 74 6f 6f 6c 70 | 6c 61 63 65 73 2e 6d 61 |g xtoolp|laces.ma|
|00002d10| 6e 20 28 54 65 78 74 29 | 27 0a 73 65 64 20 27 73 |n (Text)|'.sed 's|
|00002d20| 2f 5e 58 2f 2f 27 20 3c | 3c 20 27 53 48 41 52 5f |/^X//' <|< 'SHAR_|
|00002d30| 45 4f 46 27 20 3e 20 27 | 78 74 6f 6f 6c 70 6c 61 |EOF' > '|xtoolpla|
|00002d40| 63 65 73 2e 6d 61 6e 27 | 20 26 26 0a 2e 6c 6c 20 |ces.man'| &&..ll |
|00002d50| 36 2e 35 69 0a 2e 54 48 | 20 58 54 4f 4f 4c 50 4c |6.5i..TH| XTOOLPL|
|00002d60| 41 43 45 53 20 31 20 22 | 32 32 2d 4d 61 79 2d 39 |ACES 1 "|22-May-9|
|00002d70| 31 22 0a 2e 53 48 20 4e | 41 4d 45 0a 78 74 6f 6f |1"..SH N|AME.xtoo|
|00002d80| 6c 70 6c 61 63 65 73 20 | 2d 20 73 61 76 65 20 63 |lplaces |- save c|
|00002d90| 75 72 72 65 6e 74 20 58 | 20 64 65 73 6b 74 6f 70 |urrent X| desktop|
|00002da0| 20 77 69 6e 64 6f 77 20 | 69 6e 66 6f 72 6d 61 74 | window |informat|
|00002db0| 69 6f 6e 0a 2e 53 48 20 | 53 59 4e 4f 50 53 49 53 |ion..SH |SYNOPSIS|
|00002dc0| 0a 78 74 6f 6f 6c 70 6c | 61 63 65 73 20 5b 2d 61 |.xtoolpl|aces [-a|
|00002dd0| 20 66 69 6c 65 6e 61 6d | 65 5d 20 5b 2d 63 5d 20 | filenam|e] [-c] |
|00002de0| 5b 2d 64 69 73 70 6c 61 | 79 20 68 6f 73 74 3a 64 |[-displa|y host:d|
|00002df0| 69 73 70 6c 61 79 2e 73 | 63 72 65 65 6e 5d 20 5b |isplay.s|creen] [|
|00002e00| 2d 66 20 66 69 6c 65 6e | 61 6d 65 5d 20 5b 2d 6d |-f filen|ame] [-m|
|00002e10| 20 66 69 6c 65 6e 61 6d | 65 5d 20 5b 2d 72 20 63 | filenam|e] [-r c|
|00002e20| 6f 6d 6d 61 6e 64 5d 20 | 5b 2d 73 20 7b 6c 69 73 |ommand] |[-s {lis|
|00002e30| 74 20 7c 20 61 6c 6c 7d | 5d 20 5b 2d 76 5d 0a 2e |t | all}|] [-v]..|
|00002e40| 53 48 20 44 45 53 43 52 | 49 50 54 49 4f 4e 0a 58 |SH DESCR|IPTION.X|
|00002e50| 58 74 6f 6f 6c 70 6c 61 | 63 65 73 20 63 6f 6c 6c |Xtoolpla|ces coll|
|00002e60| 65 63 74 73 20 63 75 72 | 72 65 6e 74 20 73 74 61 |ects cur|rent sta|
|00002e70| 74 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 66 |te infor|mation f|
|00002e80| 6f 72 20 61 6c 6c 20 77 | 69 6e 64 6f 77 73 20 72 |or all w|indows r|
|00002e90| 75 6e 6e 69 6e 67 20 6f | 6e 0a 61 6e 20 58 20 64 |unning o|n.an X d|
|00002ea0| 69 73 70 6c 61 79 20 61 | 74 20 74 68 65 20 74 69 |isplay a|t the ti|
|00002eb0| 6d 65 20 6f 66 20 65 78 | 65 63 75 74 69 6f 6e 2e |me of ex|ecution.|
|00002ec0| 20 20 54 68 69 73 20 69 | 6e 66 6f 72 6d 61 74 69 | This i|nformati|
|00002ed0| 6f 6e 20 63 61 6e 20 74 | 68 65 6e 20 62 65 20 73 |on can t|hen be s|
|00002ee0| 61 76 65 64 0a 61 6e 64 | 20 75 73 65 64 20 74 6f |aved.and| used to|
|00002ef0| 20 72 65 73 74 61 72 74 | 20 74 68 65 20 58 20 64 | restart| the X d|
|00002f00| 69 73 70 6c 61 79 2e 20 | 20 41 70 70 6c 69 63 61 |isplay. | Applica|
|00002f10| 74 69 6f 6e 73 20 73 74 | 61 72 74 65 64 20 72 65 |tions st|arted re|
|00002f20| 6d 6f 74 65 6c 79 20 61 | 72 65 20 73 61 76 65 64 |motely a|re saved|
|00002f30| 0a 63 6f 72 72 65 63 74 | 6c 79 2e 20 20 4c 6f 63 |.correct|ly. Loc|
|00002f40| 61 6c 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |al appli|cations |
|00002f50| 6c 69 6e 65 73 20 61 72 | 65 20 6f 66 20 74 68 65 |lines ar|e of the|
|00002f60| 20 66 6f 72 6d 3a 0a 58 | 0a 2e 69 6e 20 2b 35 0a | form:.X|..in +5.|
|00002f70| 57 4d 5f 43 4f 4d 4d 41 | 4e 44 0a 2e 69 6e 20 2d |WM_COMMA|ND..in -|
|00002f80| 35 0a 58 0a 77 68 69 6c | 65 20 72 65 6d 6f 74 65 |5.X.whil|e remote|
|00002f90| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6c 69 6e | applica|tion lin|
|00002fa0| 65 73 20 61 72 65 20 6f | 66 20 74 68 65 20 66 6f |es are o|f the fo|
|00002fb0| 72 6d 3a 0a 58 0a 2e 69 | 6e 20 2b 35 0a 72 73 68 |rm:.X..i|n +5.rsh|
|00002fc0| 20 2d 6e 20 3c 6d 61 63 | 68 69 6e 65 3e 20 57 4d | -n <mac|hine> WM|
|00002fd0| 5f 43 4f 4d 4d 41 4e 44 | 0a 2e 69 6e 20 2d 35 0a |_COMMAND|..in -5.|
|00002fe0| 58 0a 57 4d 5f 43 4f 4d | 4d 41 4e 44 20 69 73 20 |X.WM_COM|MAND is |
|00002ff0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00003000| 20 74 6f 20 75 73 65 20 | 74 6f 20 72 65 2d 63 72 | to use |to re-cr|
|00003010| 65 61 74 65 20 74 68 65 | 20 61 70 70 6c 69 63 61 |eate the| applica|
|00003020| 74 69 6f 6e 20 61 73 20 | 69 74 0a 63 75 72 72 65 |tion as |it.curre|
|00003030| 6e 74 6c 79 20 65 78 69 | 73 74 73 20 61 6e 64 20 |ntly exi|sts and |
|00003040| 3c 6d 61 63 68 69 6e 65 | 3e 20 69 73 20 74 68 65 |<machine|> is the|
|00003050| 20 72 65 6d 6f 74 65 20 | 61 70 70 6c 69 63 61 74 | remote |applicat|
|00003060| 69 6f 6e 27 73 20 68 6f | 73 74 2e 20 20 54 68 65 |ion's ho|st. The|
|00003070| 20 27 2d 72 27 0a 6f 70 | 74 69 6f 6e 20 63 61 6e | '-r'.op|tion can|
|00003080| 20 62 65 20 75 73 65 64 | 20 74 6f 20 63 68 61 6e | be used| to chan|
|00003090| 67 65 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 75 |ge the c|ommand u|
|000030a0| 73 65 64 20 74 6f 20 73 | 74 61 72 74 20 72 65 6d |sed to s|tart rem|
|000030b0| 6f 74 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ote appl|ications|
|000030c0| 0a 28 69 2e 65 2e 20 72 | 63 6d 64 20 6f 72 20 78 |.(i.e. r|cmd or x|
|000030d0| 6f 6e 29 2e 20 20 49 66 | 20 61 6e 20 61 70 70 6c |on). If| an appl|
|000030e0| 69 63 61 74 69 6f 6e 20 | 64 6f 65 73 6e 27 74 20 |ication |doesn't |
|000030f0| 75 70 64 61 74 65 20 57 | 4d 5f 43 4f 4d 4d 41 4e |update W|M_COMMAN|
|00003100| 44 2c 20 74 68 65 20 67 | 65 6f 6d 65 74 72 79 0a |D, the g|eometry.|
|00003110| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 77 69 6c 6c |informat|ion will|
|00003120| 20 62 65 20 67 6f 74 74 | 65 6e 20 6d 61 6e 75 61 | be gott|en manua|
|00003130| 6c 6c 79 2e 20 20 55 73 | 65 20 74 68 65 20 27 2d |lly. Us|e the '-|
|00003140| 6d 27 20 6f 70 74 69 6f | 6e 20 74 6f 20 73 61 76 |m' optio|n to sav|
|00003150| 65 20 74 68 6f 73 65 0a | 61 70 70 6c 69 63 61 74 |e those.|applicat|
|00003160| 69 6f 6e 73 20 74 68 61 | 74 20 64 6f 6e 27 74 20 |ions tha|t don't |
|00003170| 73 65 74 20 57 4d 5f 43 | 4f 4d 4d 41 4e 44 20 28 |set WM_C|OMMAND (|
|00003180| 69 2e 65 2e 20 78 6d 61 | 6e 29 2e 0a 58 0a 58 58 |i.e. xma|n)..X.XX|
|00003190| 74 6f 6f 6c 70 6c 61 63 | 65 73 20 77 69 6c 6c 20 |toolplac|es will |
|000031a0| 6c 6f 63 6b 20 74 68 65 | 20 70 6f 69 6e 74 65 72 |lock the| pointer|
|000031b0| 2c 20 63 68 61 6e 67 65 | 20 74 68 65 20 63 75 72 |, change| the cur|
|000031c0| 73 6f 72 20 74 6f 20 61 | 20 77 61 74 63 68 2c 20 |sor to a| watch, |
|000031d0| 61 6e 64 20 62 65 65 70 | 0a 6f 6e 63 65 20 74 6f |and beep|.once to|
|000031e0| 20 61 6e 6e 6f 75 6e 63 | 65 20 74 68 61 74 20 69 | announc|e that i|
|000031f0| 74 27 73 20 73 74 61 72 | 74 69 6e 67 2e 20 20 54 |t's star|ting. T|
|00003200| 68 65 20 70 6f 69 6e 74 | 65 72 20 69 73 20 6c 6f |he point|er is lo|
|00003210| 63 6b 65 64 20 73 6f 20 | 74 68 61 74 20 74 68 65 |cked so |that the|
|00003220| 20 75 73 65 72 0a 63 61 | 6e 27 74 20 63 68 61 6e | user.ca|n't chan|
|00003230| 67 65 20 61 6e 79 74 68 | 69 6e 67 20 6f 6e 63 65 |ge anyth|ing once|
|00003240| 20 78 74 6f 6f 6c 70 6c | 61 63 65 73 20 73 74 61 | xtoolpl|aces sta|
|00003250| 72 74 73 2e 20 20 57 68 | 65 6e 20 74 68 65 20 70 |rts. Wh|en the p|
|00003260| 72 6f 67 72 61 6d 20 69 | 73 20 66 69 6e 69 73 68 |rogram i|s finish|
|00003270| 65 64 0a 69 74 20 72 65 | 6c 65 61 73 65 73 20 74 |ed.it re|leases t|
|00003280| 68 65 20 70 6f 69 6e 74 | 65 72 2c 20 63 68 61 6e |he point|er, chan|
|00003290| 67 65 73 20 74 68 65 20 | 63 75 72 73 6f 72 20 62 |ges the |cursor b|
|000032a0| 61 63 6b 20 74 6f 20 74 | 68 65 20 6e 6f 72 6d 61 |ack to t|he norma|
|000032b0| 6c 20 73 68 61 70 65 2c | 20 61 6e 64 0a 62 65 65 |l shape,| and.bee|
|000032c0| 70 73 20 74 77 69 63 65 | 2e 0a 58 0a 54 68 65 20 |ps twice|..X.The |
|000032d0| 64 65 66 61 75 6c 74 20 | 66 69 6c 65 6e 61 6d 65 |default |filename|
|000032e0| 20 74 6f 20 73 74 6f 72 | 65 20 74 68 65 20 77 69 | to stor|e the wi|
|000032f0| 6e 64 6f 77 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ndow inf|ormation|
|00003300| 20 69 73 20 7e 2f 2e 78 | 74 6f 6f 6c 70 6c 61 63 | is ~/.x|toolplac|
|00003310| 65 73 2e 20 20 54 68 69 | 73 0a 63 61 6e 20 62 65 |es. Thi|s.can be|
|00003320| 20 6f 76 65 72 72 69 64 | 64 65 6e 20 77 69 74 68 | overrid|den with|
|00003330| 20 74 68 65 20 27 2d 66 | 27 20 6f 70 74 69 6f 6e | the '-f|' option|
|00003340| 20 28 69 6e 63 6c 75 64 | 69 6e 67 20 77 72 69 74 | (includ|ing writ|
|00003350| 69 6e 67 20 74 6f 20 5c | 66 32 73 74 64 6f 75 74 |ing to \|f2stdout|
|00003360| 5c 66 31 29 2e 0a 58 0a | 54 68 69 73 20 69 73 20 |\f1)..X.|This is |
|00003370| 74 68 65 20 58 20 65 71 | 75 69 76 61 6c 65 6e 74 |the X eq|uivalent|
|00003380| 20 6f 66 20 53 75 6e 76 | 69 65 77 27 73 20 74 6f | of Sunv|iew's to|
|00003390| 6f 6c 70 6c 61 63 65 73 | 20 28 62 75 74 20 69 73 |olplaces| (but is|
|000033a0| 20 6e 6f 74 20 6c 69 6d | 69 74 65 64 20 74 6f 0a | not lim|ited to.|
|000033b0| 53 75 6e 73 20 2d 2d 20 | 49 20 68 6f 70 65 29 2e |Suns -- |I hope).|
|000033c0| 20 20 58 74 6f 6f 6c 70 | 6c 61 63 65 73 20 77 61 | Xtoolp|laces wa|
|000033d0| 73 20 77 72 69 74 74 65 | 6e 20 65 6e 74 69 72 65 |s writte|n entire|
|000033e0| 6c 79 20 69 6e 20 58 6c | 69 62 20 74 6f 20 6d 61 |ly in Xl|ib to ma|
|000033f0| 6b 65 20 69 74 20 61 73 | 0a 70 6f 72 74 61 62 6c |ke it as|.portabl|
|00003400| 65 20 61 63 72 6f 73 73 | 20 58 20 70 6c 61 74 66 |e across| X platf|
|00003410| 6f 72 6d 73 20 61 73 20 | 70 6f 73 73 69 62 6c 65 |orms as |possible|
|00003420| 2e 20 20 54 68 69 73 20 | 74 6f 6f 6c 20 77 61 73 |. This |tool was|
|00003430| 20 62 6f 72 6e 20 6f 75 | 74 20 6f 66 20 74 68 65 | born ou|t of the|
|00003440| 0a 6e 65 65 64 20 74 6f | 20 72 65 70 6c 61 63 65 |.need to| replace|
|00003450| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 61 6c 69 | the fun|ctionali|
|00003460| 74 79 20 6f 66 20 74 6f | 6f 6c 70 6c 61 63 65 73 |ty of to|olplaces|
|00003470| 20 69 6e 20 58 2e 20 20 | 54 68 65 20 4f 70 65 6e | in X. |The Open|
|00003480| 20 4c 6f 6f 6b 20 77 69 | 6e 64 6f 77 0a 6d 61 6e | Look wi|ndow.man|
|00003490| 61 67 65 72 20 28 6f 6c | 77 6d 29 20 63 6f 75 6c |ager (ol|wm) coul|
|000034a0| 64 20 6f 6e 6c 79 20 73 | 61 76 65 20 74 68 65 20 |d only s|ave the |
|000034b0| 77 69 6e 64 6f 77 20 69 | 6e 66 6f 72 6d 61 74 69 |window i|nformati|
|000034c0| 6f 6e 20 69 6e 74 6f 20 | 6f 6e 65 20 70 6c 61 63 |on into |one plac|
|000034d0| 65 2e 20 20 53 69 6e 63 | 65 0a 49 20 6e 65 65 64 |e. Sinc|e.I need|
|000034e0| 65 64 20 64 69 66 66 65 | 72 65 6e 74 20 69 6e 69 |ed diffe|rent ini|
|000034f0| 74 69 61 6c 69 7a 61 74 | 69 6f 6e 20 66 69 6c 65 |tializat|ion file|
|00003500| 73 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 77 |s depend|ing on w|
|00003510| 68 61 74 20 6d 61 63 68 | 69 6e 65 20 49 20 77 61 |hat mach|ine I wa|
|00003520| 73 20 6f 6e 2c 0a 74 68 | 69 73 20 62 65 63 61 6d |s on,.th|is becam|
|00003530| 65 20 61 20 6c 69 74 74 | 6c 65 20 6c 69 6d 69 74 |e a litt|le limit|
|00003540| 65 64 2e 20 20 54 68 65 | 72 65 66 6f 72 65 2c 20 |ed. The|refore, |
|00003550| 78 74 6f 6f 6c 70 6c 61 | 63 65 73 20 77 61 73 20 |xtoolpla|ces was |
|00003560| 6d 61 64 65 2e 0a 2e 53 | 48 20 4f 50 54 49 4f 4e |made...S|H OPTION|
|00003570| 53 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 73 20 6f |S.Descri|ptions o|
|00003580| 66 20 74 68 65 20 27 2d | 61 27 2c 20 27 2d 63 27 |f the '-|a', '-c'|
|00003590| 2c 20 27 2d 6d 27 2c 20 | 61 6e 64 20 27 2d 73 27 |, '-m', |and '-s'|
|000035a0| 20 6f 70 74 69 6f 6e 73 | 20 61 72 65 20 6c 69 73 | options| are lis|
|000035b0| 74 65 64 20 69 6e 20 67 | 72 65 61 74 65 72 0a 64 |ted in g|reater.d|
|000035c0| 65 74 61 69 6c 20 69 6e | 20 66 6f 6c 6c 6f 77 69 |etail in| followi|
|000035d0| 6e 67 20 73 65 63 74 69 | 6f 6e 73 2e 0a 58 0a 2e |ng secti|ons..X..|
|000035e0| 49 50 20 22 2d 61 20 66 | 69 6c 65 6e 61 6d 65 22 |IP "-a f|ilename"|
|000035f0| 0a 52 65 61 64 20 69 6e | 20 61 20 66 69 6c 65 20 |.Read in| a file |
|00003600| 28 27 66 69 6c 65 6e 61 | 6d 65 27 29 20 63 6f 6e |('filena|me') con|
|00003610| 74 61 69 6e 69 6e 67 20 | 61 72 67 75 6d 65 6e 74 |taining |argument|
|00003620| 73 20 74 6f 20 61 64 64 | 20 6f 6e 20 74 6f 20 74 |s to add| on to t|
|00003630| 68 65 20 65 6e 64 20 6f | 66 0a 63 6f 6d 6d 61 6e |he end o|f.comman|
|00003640| 64 20 6c 69 6e 65 73 2e | 20 20 53 65 65 20 41 44 |d lines.| See AD|
|00003650| 44 49 4e 47 20 41 52 47 | 55 4d 45 4e 54 53 20 62 |DING ARG|UMENTS b|
|00003660| 65 6c 6f 77 20 66 6f 72 | 20 6d 6f 72 65 20 64 65 |elow for| more de|
|00003670| 74 61 69 6c 2e 0a 2e 49 | 50 20 2d 63 0a 50 75 74 |tail...I|P -c.Put|
|00003680| 20 73 70 65 63 69 61 6c | 20 27 69 66 20 2e 2e 2e | special| 'if ...|
|00003690| 20 66 69 27 20 73 74 61 | 74 65 6d 65 6e 74 20 61 | fi' sta|tement a|
|000036a0| 72 6f 75 6e 64 20 61 6e | 79 20 63 6f 6e 73 6f 6c |round an|y consol|
|000036b0| 65 20 77 69 6e 64 6f 77 | 73 20 66 6f 75 6e 64 2e |e window|s found.|
|000036c0| 20 20 53 65 65 0a 43 4f | 4e 53 4f 4c 45 20 43 48 | See.CO|NSOLE CH|
|000036d0| 45 43 4b 49 4e 47 20 62 | 65 6c 6f 77 20 66 6f 72 |ECKING b|elow for|
|000036e0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 2e 0a 2e 49 | more de|tail...I|
|000036f0| 50 20 22 2d 64 20 68 6f | 73 74 3a 64 69 73 70 6c |P "-d ho|st:displ|
|00003700| 61 79 2e 73 63 72 65 65 | 6e 22 0a 53 61 76 65 20 |ay.scree|n".Save |
|00003710| 77 69 6e 64 6f 77 20 69 | 6e 66 6f 72 6d 61 74 69 |window i|nformati|
|00003720| 6f 6e 20 66 72 6f 6d 20 | 61 6e 20 61 6c 74 65 72 |on from |an alter|
|00003730| 6e 61 74 65 20 64 69 73 | 70 6c 61 79 2e 0a 2e 49 |nate dis|play...I|
|00003740| 50 20 22 2d 66 20 66 69 | 6c 65 6e 61 6d 65 22 0a |P "-f fi|lename".|
|00003750| 57 72 69 74 65 20 77 69 | 6e 64 6f 77 20 69 6e 66 |Write wi|ndow inf|
|00003760| 6f 72 6d 61 74 69 6f 6e | 20 74 6f 20 27 66 69 6c |ormation| to 'fil|
|00003770| 65 6e 61 6d 65 27 2e 20 | 20 44 65 66 61 75 6c 74 |ename'. | Default|
|00003780| 20 69 73 20 27 7e 2f 2e | 78 74 6f 6f 6c 70 6c 61 | is '~/.|xtoolpla|
|00003790| 63 65 73 27 2e 0a 57 69 | 6e 64 6f 77 20 69 6e 66 |ces'..Wi|ndow inf|
|000037a0| 6f 72 6d 61 74 69 6f 6e | 20 63 61 6e 20 62 65 20 |ormation| can be |
|000037b0| 77 72 69 74 74 65 6e 20 | 74 6f 20 5c 66 32 73 74 |written |to \f2st|
|000037c0| 64 6f 75 74 5c 66 31 20 | 62 79 20 73 70 65 63 69 |dout\f1 |by speci|
|000037d0| 66 79 69 6e 67 20 27 2d | 27 20 61 73 20 74 68 65 |fying '-|' as the|
|000037e0| 0a 66 69 6c 65 6e 61 6d | 65 2e 0a 2e 49 50 20 22 |.filenam|e...IP "|
|000037f0| 2d 6d 20 66 69 6c 65 6e | 61 6d 65 22 0a 52 65 61 |-m filen|ame".Rea|
|00003800| 64 20 69 6e 20 61 20 66 | 69 6c 65 20 28 27 66 69 |d in a f|ile ('fi|
|00003810| 6c 65 6e 61 6d 65 27 29 | 20 63 6f 6e 74 61 69 6e |lename')| contain|
|00003820| 69 6e 67 20 61 20 6c 69 | 73 74 20 6f 66 20 58 20 |ing a li|st of X |
|00003830| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 74 68 61 |applicat|ions tha|
|00003840| 74 20 64 6f 6e 27 74 20 | 73 65 74 0a 57 4d 5f 43 |t don't |set.WM_C|
|00003850| 4f 4d 4d 41 4e 44 20 61 | 6e 64 20 6e 65 65 64 20 |OMMAND a|nd need |
|00003860| 74 6f 20 62 65 20 73 61 | 76 65 64 2e 20 20 4e 6f |to be sa|ved. No|
|00003870| 72 6d 61 6c 6c 79 2c 20 | 58 20 77 69 6e 64 6f 77 |rmally, |X window|
|00003880| 73 20 74 68 61 74 20 64 | 6f 6e 27 74 20 68 61 76 |s that d|on't hav|
|00003890| 65 0a 57 4d 5f 43 4f 4d | 4d 41 4e 44 20 73 65 74 |e.WM_COM|MAND set|
|000038a0| 20 61 72 65 6e 27 74 20 | 73 61 76 65 64 2e 20 20 | aren't |saved. |
|000038b0| 53 65 65 20 4d 49 53 53 | 49 4e 47 20 41 50 50 4c |See MISS|ING APPL|
|000038c0| 49 43 41 54 49 4f 4e 53 | 20 62 65 6c 6f 77 20 66 |ICATIONS| below f|
|000038d0| 6f 72 20 6d 6f 72 65 0a | 64 65 74 61 69 6c 2e 0a |or more.|detail..|
|000038e0| 2e 49 50 20 22 2d 72 20 | 63 6f 6d 6d 61 6e 64 22 |.IP "-r |command"|
|000038f0| 0a 43 6f 6d 6d 61 6e 64 | 20 74 6f 20 75 73 65 20 |.Command| to use |
|00003900| 74 6f 20 73 74 61 72 74 | 20 72 65 6d 6f 74 65 20 |to start| remote |
|00003910| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2e 20 20 44 |applicat|ions. D|
|00003920| 65 66 61 75 6c 74 20 69 | 73 20 27 72 73 68 20 2d |efault i|s 'rsh -|
|00003930| 6e 27 2e 20 20 54 68 65 | 20 27 2d 6e 27 0a 6f 70 |n'. The| '-n'.op|
|00003940| 74 69 6f 6e 20 6f 66 20 | 72 73 68 20 69 73 20 75 |tion of |rsh is u|
|00003950| 73 65 64 20 74 6f 20 72 | 65 64 69 72 65 63 74 20 |sed to r|edirect |
|00003960| 69 6e 70 75 74 20 74 6f | 20 2f 64 65 76 2f 6e 75 |input to| /dev/nu|
|00003970| 6c 6c 2e 20 20 53 65 65 | 20 74 68 65 20 72 73 68 |ll. See| the rsh|
|00003980| 20 6d 61 6e 20 70 61 67 | 65 0a 66 6f 72 20 6d 6f | man pag|e.for mo|
|00003990| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |re infor|mation o|
|000039a0| 6e 20 27 2d 6e 27 2e 0a | 2e 49 50 20 22 2d 73 20 |n '-n'..|.IP "-s |
|000039b0| 7b 6c 69 73 74 20 7c 20 | 61 6c 6c 7d 22 0a 53 70 |{list | |all}".Sp|
|000039c0| 65 63 69 66 79 20 77 68 | 61 74 20 73 63 72 65 65 |ecify wh|at scree|
|000039d0| 6e 73 20 74 6f 20 73 61 | 76 65 20 69 6e 66 6f 72 |ns to sa|ve infor|
|000039e0| 6d 61 74 69 6f 6e 20 66 | 72 6f 6d 2e 20 20 45 69 |mation f|rom. Ei|
|000039f0| 74 68 65 72 20 61 20 6c | 69 73 74 20 6f 66 20 73 |ther a l|ist of s|
|00003a00| 63 72 65 65 6e 0a 6e 75 | 6d 62 65 72 73 20 63 61 |creen.nu|mbers ca|
|00003a10| 6e 20 62 65 20 67 69 76 | 65 6e 20 6f 72 20 74 68 |n be giv|en or th|
|00003a20| 65 20 6b 65 79 77 6f 72 | 64 20 27 61 6c 6c 27 20 |e keywor|d 'all' |
|00003a30| 77 68 69 63 68 20 73 70 | 65 63 69 66 69 65 73 20 |which sp|ecifies |
|00003a40| 74 6f 20 64 6f 20 61 6c | 6c 20 74 68 65 20 73 63 |to do al|l the sc|
|00003a50| 72 65 65 6e 73 0a 74 68 | 61 74 20 61 20 73 65 72 |reens.th|at a ser|
|00003a60| 76 65 72 20 6b 6e 6f 77 | 73 20 61 62 6f 75 74 2e |ver know|s about.|
|00003a70| 20 20 53 65 65 20 53 43 | 52 45 45 4e 20 4c 49 53 | See SC|REEN LIS|
|00003a80| 54 53 20 62 65 6c 6f 77 | 20 66 6f 72 20 6d 6f 72 |TS below| for mor|
|00003a90| 65 20 64 65 74 61 69 6c | 2e 0a 2e 49 50 20 2d 76 |e detail|...IP -v|
|00003aa0| 0a 50 72 69 6e 74 20 74 | 68 65 20 63 75 72 72 65 |.Print t|he curre|
|00003ab0| 6e 74 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |nt versi|on numbe|
|00003ac0| 72 20 61 6e 64 20 70 61 | 74 63 68 6c 65 76 65 6c |r and pa|tchlevel|
|00003ad0| 20 61 6e 64 20 71 75 69 | 74 2e 20 20 4e 6f 20 70 | and qui|t. No p|
|00003ae0| 72 6f 63 65 73 73 69 6e | 67 20 69 73 0a 64 6f 6e |rocessin|g is.don|
|00003af0| 65 2e 0a 2e 53 48 20 41 | 44 44 49 4e 47 20 41 52 |e...SH A|DDING AR|
|00003b00| 47 55 4d 45 4e 54 53 20 | 28 2d 61 29 0a 54 68 65 |GUMENTS |(-a).The|
|00003b10| 20 27 2d 61 27 20 6f 70 | 74 69 6f 6e 20 77 61 73 | '-a' op|tion was|
|00003b20| 20 61 64 64 65 64 20 62 | 65 63 61 75 73 65 20 6f | added b|ecause o|
|00003b30| 66 20 61 20 70 6f 73 73 | 69 62 6c 65 20 78 76 69 |f a poss|ible xvi|
|00003b40| 65 77 20 70 72 6f 62 6c | 65 6d 2e 20 20 46 6f 72 |ew probl|em. For|
|00003b50| 20 73 6f 6d 65 0a 72 65 | 61 73 6f 6e 2c 20 73 6f | some.re|ason, so|
|00003b60| 6d 65 20 77 69 6e 64 6f | 77 73 20 64 6f 6e 27 74 |me windo|ws don't|
|00003b70| 20 66 69 6c 6c 20 69 6e | 20 74 68 65 20 57 4d 5f | fill in| the WM_|
|00003b80| 43 4f 4d 4d 41 4e 44 20 | 73 74 72 69 6e 67 20 63 |COMMAND |string c|
|00003b90| 6f 6d 70 6c 65 74 65 6c | 79 2e 20 20 46 6f 72 0a |ompletel|y. For.|
|00003ba0| 65 78 61 6d 70 6c 65 2c | 20 78 72 6f 6c 6f 20 69 |example,| xrolo i|
|00003bb0| 73 20 61 6e 20 78 76 69 | 65 77 20 70 72 6f 67 72 |s an xvi|ew progr|
|00003bc0| 61 6d 2e 20 20 57 68 65 | 6e 20 69 74 20 73 61 76 |am. Whe|n it sav|
|00003bd0| 65 73 20 69 74 27 73 20 | 73 74 61 74 65 20 69 6e |es it's |state in|
|00003be0| 20 57 4d 5f 43 4f 4d 4d | 41 4e 44 2c 0a 69 74 20 | WM_COMM|AND,.it |
|00003bf0| 6e 65 76 65 72 20 73 61 | 76 65 73 20 74 68 65 20 |never sa|ves the |
|00003c00| 66 69 6c 65 6e 61 6d 65 | 20 69 74 20 69 73 20 75 |filename| it is u|
|00003c10| 73 69 6e 67 2e 20 20 54 | 68 69 73 20 6f 70 74 69 |sing. T|his opti|
|00003c20| 6f 6e 20 61 6c 6c 6f 77 | 73 20 61 20 75 73 65 72 |on allow|s a user|
|00003c30| 20 74 6f 0a 68 61 76 65 | 20 61 20 66 69 6c 65 20 | to.have| a file |
|00003c40| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 65 20 6e |containi|ng the n|
|00003c50| 61 6d 65 20 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |ame of t|he progr|
|00003c60| 61 6d 20 61 6e 64 20 61 | 6e 79 20 61 72 67 75 6d |am and a|ny argum|
|00003c70| 65 6e 74 73 20 74 6f 20 | 62 65 20 61 64 64 65 64 |ents to |be added|
|00003c80| 0a 6f 6e 20 74 6f 20 74 | 68 65 20 65 6e 64 20 6f |.on to t|he end o|
|00003c90| 66 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |f the co|mmand li|
|00003ca0| 6e 65 20 28 67 6f 74 74 | 65 6e 20 66 72 6f 6d 20 |ne (gott|en from |
|00003cb0| 57 4d 5f 43 4f 4d 4d 41 | 4e 44 29 2e 20 20 49 66 |WM_COMMA|ND). If|
|00003cc0| 20 6d 75 6c 74 69 70 6c | 65 0a 76 65 72 73 69 6f | multipl|e.versio|
|00003cd0| 6e 73 20 6f 66 20 74 68 | 65 20 70 72 6f 67 72 61 |ns of th|e progra|
|00003ce0| 6d 20 61 72 65 20 72 75 | 6e 6e 69 6e 67 2c 20 74 |m are ru|nning, t|
|00003cf0| 68 65 20 65 78 74 72 61 | 20 61 72 67 75 6d 65 6e |he extra| argumen|
|00003d00| 74 73 20 77 69 6c 6c 20 | 67 6f 20 6f 6e 74 6f 20 |ts will |go onto |
|00003d10| 74 68 65 20 65 6e 64 0a | 6f 66 20 74 68 65 20 63 |the end.|of the c|
|00003d20| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 20 66 6f 72 20 |ommand l|ine for |
|00003d30| 65 61 63 68 20 6f 66 20 | 74 68 65 6d 2e 20 20 49 |each of |them. I|
|00003d40| 66 20 74 68 65 20 73 61 | 6d 65 20 70 72 6f 67 72 |f the sa|me progr|
|00003d50| 61 6d 20 69 73 20 6c 69 | 73 74 65 64 20 6d 6f 72 |am is li|sted mor|
|00003d60| 65 0a 74 68 61 6e 20 6f | 6e 63 65 20 69 6e 20 74 |e.than o|nce in t|
|00003d70| 68 65 20 66 69 6c 65 2c | 20 6f 6e 6c 79 20 74 68 |he file,| only th|
|00003d80| 65 20 66 69 72 73 74 20 | 6f 63 63 75 72 72 65 6e |e first |occurren|
|00003d90| 63 65 20 69 73 20 75 73 | 65 64 2e 0a 58 0a 41 6e |ce is us|ed..X.An|
|00003da0| 20 61 64 64 6f 6e 20 66 | 69 6c 65 20 63 61 6e 20 | addon f|ile can |
|00003db0| 63 6f 6e 73 69 73 74 20 | 6f 66 20 74 68 72 65 65 |consist |of three|
|00003dc0| 20 64 69 66 66 65 72 65 | 6e 74 20 74 79 70 65 73 | differe|nt types|
|00003dd0| 20 6f 66 20 6c 69 6e 65 | 73 3a 0a 58 0a 2e 69 6e | of line|s:.X..in|
|00003de0| 20 2b 35 0a 2e 6e 66 0a | 63 6f 6d 6d 65 6e 74 20 | +5..nf.|comment |
|00003df0| 6c 69 6e 65 73 0a 62 6c | 61 6e 6b 20 6c 69 6e 65 |lines.bl|ank line|
|00003e00| 73 0a 61 72 67 75 6d 65 | 6e 74 20 6c 69 6e 65 73 |s.argume|nt lines|
|00003e10| 0a 2e 66 69 0a 2e 69 6e | 20 2d 35 0a 58 0a 43 6f |..fi..in| -5.X.Co|
|00003e20| 6d 6d 65 6e 74 20 6c 69 | 6e 65 73 20 61 72 65 20 |mment li|nes are |
|00003e30| 6c 69 6e 65 73 20 77 68 | 65 72 65 20 74 68 65 20 |lines wh|ere the |
|00003e40| 66 69 72 73 74 20 63 68 | 61 72 61 63 74 65 72 20 |first ch|aracter |
|00003e50| 69 73 20 61 20 70 6f 75 | 6e 64 20 73 69 67 6e 20 |is a pou|nd sign |
|00003e60| 28 23 29 2e 0a 58 0a 42 | 6c 61 6e 6b 20 6c 69 6e |(#)..X.B|lank lin|
|00003e70| 65 73 20 61 72 65 20 6c | 69 6e 65 73 20 77 68 65 |es are l|ines whe|
|00003e80| 72 65 20 74 68 65 20 66 | 69 72 73 74 20 63 68 61 |re the f|irst cha|
|00003e90| 72 61 63 74 65 72 20 69 | 73 20 61 20 6e 65 77 6c |racter i|s a newl|
|00003ea0| 69 6e 65 2e 0a 58 0a 41 | 72 67 75 6d 65 6e 74 20 |ine..X.A|rgument |
|00003eb0| 6c 69 6e 65 73 20 61 72 | 65 20 6f 66 20 74 68 65 |lines ar|e of the|
|00003ec0| 20 66 6f 72 6d 3a 0a 58 | 0a 2e 69 6e 20 2b 35 0a | form:.X|..in +5.|
|00003ed0| 6e 61 6d 65 3a 20 61 72 | 67 75 6d 65 6e 74 28 73 |name: ar|gument(s|
|00003ee0| 29 0a 2e 69 6e 20 2d 35 | 0a 58 0a 77 68 65 72 65 |)..in -5|.X.where|
|00003ef0| 20 27 6e 61 6d 65 27 20 | 69 73 20 74 68 65 20 6e | 'name' |is the n|
|00003f00| 61 6d 65 20 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |ame of t|he progr|
|00003f10| 61 6d 20 77 68 6f 73 65 | 20 63 6f 6d 6d 61 6e 64 |am whose| command|
|00003f20| 20 6c 69 6e 65 20 79 6f | 75 20 77 61 6e 74 20 74 | line yo|u want t|
|00003f30| 6f 0a 61 64 64 20 6f 6e | 74 6f 20 61 6e 64 20 27 |o.add on|to and '|
|00003f40| 61 72 67 75 6d 65 6e 74 | 28 73 29 27 20 61 72 65 |argument|(s)' are|
|00003f50| 20 74 68 65 20 61 72 67 | 75 6d 65 6e 74 73 20 74 | the arg|uments t|
|00003f60| 6f 20 61 64 64 2e 20 20 | 45 76 65 72 79 74 68 69 |o add. |Everythi|
|00003f70| 6e 67 20 66 72 6f 6d 20 | 74 68 65 0a 66 69 72 73 |ng from |the.firs|
|00003f80| 74 20 6e 6f 6e 2d 77 68 | 69 74 65 73 70 61 63 65 |t non-wh|itespace|
|00003f90| 20 61 66 74 65 72 20 74 | 6f 20 63 6f 6c 6f 6e 20 | after t|o colon |
|00003fa0| 74 6f 20 74 68 65 20 6e | 65 77 6c 69 6e 65 20 69 |to the n|ewline i|
|00003fb0| 73 20 63 6f 6e 73 69 64 | 65 72 65 64 20 61 72 67 |s consid|ered arg|
|00003fc0| 75 6d 65 6e 74 73 20 74 | 6f 0a 61 64 64 2e 0a 2e |uments t|o.add...|
|00003fd0| 53 48 20 43 4f 4e 53 4f | 4c 45 20 43 48 45 43 4b |SH CONSO|LE CHECK|
|00003fe0| 49 4e 47 20 28 2d 63 29 | 0a 41 20 63 6f 6e 73 6f |ING (-c)|.A conso|
|00003ff0| 6c 65 20 63 68 65 63 6b | 69 6e 67 20 6f 70 74 69 |le check|ing opti|
|00004000| 6f 6e 20 77 61 73 20 61 | 64 64 65 64 20 6f 75 74 |on was a|dded out|
|00004010| 20 6f 66 20 61 20 6e 65 | 65 64 20 74 6f 20 4e 4f | of a ne|ed to NO|
|00004020| 54 20 73 74 61 72 74 20 | 61 20 63 6f 6e 73 6f 6c |T start |a consol|
|00004030| 65 20 77 69 6e 64 6f 77 | 0a 69 66 20 72 75 6e 6e |e window|.if runn|
|00004040| 69 6e 67 20 66 72 6f 6d | 20 61 6e 20 58 20 74 65 |ing from| an X te|
|00004050| 72 6d 69 6e 61 6c 20 77 | 69 74 68 6f 75 74 20 68 |rminal w|ithout h|
|00004060| 61 76 69 6e 67 20 61 20 | 73 70 65 63 69 61 6c 20 |aving a |special |
|00004070| 69 6e 69 74 69 61 6c 69 | 7a 61 74 69 6f 6e 20 66 |initiali|zation f|
|00004080| 69 6c 65 20 66 6f 72 0a | 74 68 65 20 74 65 72 6d |ile for.|the term|
|00004090| 69 6e 61 6c 2e 20 20 54 | 68 69 73 20 6f 70 74 69 |inal. T|his opti|
|000040a0| 6f 6e 20 77 69 6c 6c 20 | 74 72 79 20 74 6f 20 64 |on will |try to d|
|000040b0| 65 74 65 72 6d 69 6e 65 | 20 77 68 69 63 68 20 77 |etermine| which w|
|000040c0| 69 6e 64 6f 77 73 20 28 | 69 66 20 61 6e 79 29 20 |indows (|if any) |
|000040d0| 61 72 65 20 74 68 65 0a | 63 6f 6e 73 6f 6c 65 20 |are the.|console |
|000040e0| 77 69 6e 64 6f 77 73 20 | 61 6e 64 20 70 75 74 20 |windows |and put |
|000040f0| 61 6e 20 27 69 66 27 20 | 73 74 61 74 65 6d 65 6e |an 'if' |statemen|
|00004100| 74 20 61 72 6f 75 6e 64 | 20 74 68 65 6d 20 74 6f |t around| them to|
|00004110| 20 73 74 61 72 74 20 6f | 6e 6c 79 20 69 66 20 74 | start o|nly if t|
|00004120| 68 65 0a 63 75 72 72 65 | 6e 74 20 74 74 79 20 65 |he.curre|nt tty e|
|00004130| 71 75 61 6c 73 20 27 2f | 64 65 76 2f 63 6f 6e 73 |quals '/|dev/cons|
|00004140| 6f 6c 65 27 2e 20 20 54 | 68 69 73 20 61 6c 6c 6f |ole'. T|his allo|
|00004150| 77 73 20 61 20 75 73 65 | 72 20 74 6f 20 68 61 76 |ws a use|r to hav|
|00004160| 65 20 74 68 65 20 73 61 | 6d 65 0a 69 6e 69 74 69 |e the sa|me.initi|
|00004170| 61 6c 69 7a 61 74 69 6f | 6e 20 66 69 6c 65 20 66 |alizatio|n file f|
|00004180| 6f 72 20 73 74 61 72 74 | 69 6e 67 20 58 20 6f 6e |or start|ing X on|
|00004190| 20 74 68 65 20 63 6f 6e | 73 6f 6c 65 20 6f 66 20 | the con|sole of |
|000041a0| 6d 61 63 68 69 6e 65 20 | 41 20 61 6e 64 20 66 6f |machine |A and fo|
|000041b0| 72 20 61 6e 20 58 0a 74 | 65 72 6d 69 6e 61 6c 20 |r an X.t|erminal |
|000041c0| 72 75 6e 6e 69 6e 67 20 | 6f 66 66 20 6f 66 20 6d |running |off of m|
|000041d0| 61 63 68 69 6e 65 20 41 | 2e 0a 58 0a 54 68 69 73 |achine A|..X.This|
|000041e0| 20 76 65 72 73 69 6f 6e | 20 63 75 72 72 65 6e 74 | version| current|
|000041f0| 6c 79 20 73 65 61 72 63 | 68 73 20 66 6f 72 20 74 |ly searc|hs for t|
|00004200| 68 72 65 65 20 74 79 70 | 65 73 20 6f 66 20 63 6f |hree typ|es of co|
|00004210| 6e 73 6f 6c 65 20 77 69 | 6e 64 6f 77 73 3a 0a 5c |nsole wi|ndows:.\|
|00004220| 66 32 63 6f 6e 74 6f 6f | 6c 5c 66 31 2c 20 61 20 |f2contoo|l\f1, a |
|00004230| 63 6f 6e 73 6f 6c 65 20 | 70 72 6f 67 72 61 6d 20 |console |program |
|00004240| 74 6f 20 63 61 70 74 75 | 72 65 20 61 6e 64 20 64 |to captu|re and d|
|00004250| 69 73 70 6c 61 79 20 63 | 6f 6e 73 6f 6c 65 20 6f |isplay c|onsole o|
|00004260| 75 74 70 75 74 20 62 79 | 0a 43 68 75 63 6b 20 4d |utput by|.Chuck M|
|00004270| 75 73 63 69 61 6e 6f 3b | 20 53 75 6e 27 73 20 5c |usciano;| Sun's \|
|00004280| 66 32 73 68 65 6c 6c 74 | 6f 6f 6c 5c 66 31 20 61 |f2shellt|ool\f1 a|
|00004290| 6e 64 20 5c 66 32 63 6d | 64 74 6f 6f 6c 5c 66 31 |nd \f2cm|dtool\f1|
|000042a0| 20 69 6e 20 63 6f 6e 73 | 6f 6c 65 20 6d 6f 64 65 | in cons|ole mode|
|000042b0| 3b 20 61 6e 64 0a 5c 66 | 32 78 74 65 72 6d 5c 66 |; and.\f|2xterm\f|
|000042c0| 31 20 69 6e 20 63 6f 6e | 73 6f 6c 65 20 6d 6f 64 |1 in con|sole mod|
|000042d0| 65 2c 20 62 79 20 54 6f | 6d 20 57 65 69 6e 73 74 |e, by To|m Weinst|
|000042e0| 65 69 6e 20 61 6e 64 20 | 61 20 77 68 6f 6c 65 20 |ein and |a whole |
|000042f0| 62 75 6e 63 68 20 6f 66 | 20 6f 74 68 65 72 0a 70 |bunch of| other.p|
|00004300| 65 6f 70 6c 65 2e 20 20 | 41 20 63 6f 6e 73 6f 6c |eople. |A consol|
|00004310| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 66 69 72 73 |e window| is firs|
|00004320| 74 20 63 68 65 63 6b 65 | 64 20 62 79 20 69 74 27 |t checke|d by it'|
|00004330| 73 20 63 6c 61 73 73 2e | 20 20 57 68 69 6c 65 20 |s class.| While |
|00004340| 74 68 65 72 65 20 69 73 | 0a 6e 6f 20 64 65 66 61 |there is|.no defa|
|00004350| 75 6c 74 20 63 6c 61 73 | 73 20 66 6f 72 20 63 6f |ult clas|s for co|
|00004360| 6e 73 6f 6c 65 20 77 69 | 6e 64 6f 77 73 2c 20 6d |nsole wi|ndows, m|
|00004370| 61 79 62 65 20 74 68 69 | 73 20 70 72 6f 67 72 61 |aybe thi|s progra|
|00004380| 6d 20 77 69 6c 6c 20 63 | 72 65 61 74 65 20 6f 6e |m will c|reate on|
|00004390| 65 2e 0a 58 58 74 6f 6f | 6c 70 6c 61 63 65 73 20 |e..XXtoo|lplaces |
|000043a0| 63 68 65 63 6b 73 20 66 | 6f 72 20 61 20 63 6c 61 |checks f|or a cla|
|000043b0| 73 73 20 6f 66 20 27 58 | 43 6f 6e 73 6f 6c 65 27 |ss of 'X|Console'|
|000043c0| 2e 20 20 49 66 20 74 68 | 65 20 63 6c 61 73 73 20 |. If th|e class |
|000043d0| 64 6f 65 73 6e 27 74 20 | 6d 61 74 63 68 2c 0a 69 |doesn't |match,.i|
|000043e0| 74 20 63 68 65 63 6b 73 | 20 66 6f 72 20 74 68 65 |t checks| for the|
|000043f0| 20 70 72 65 73 65 6e 63 | 65 20 6f 66 20 74 68 65 | presenc|e of the|
|00004400| 20 74 68 72 65 65 20 61 | 62 6f 76 65 20 6d 65 6e | three a|bove men|
|00004410| 74 69 6f 6e 65 64 20 63 | 6f 6e 73 6f 6c 65 20 77 |tioned c|onsole w|
|00004420| 69 6e 64 6f 77 73 2e 20 | 20 46 6f 72 0a 5c 66 32 |indows. | For.\f2|
|00004430| 63 6f 6e 74 6f 6f 6c 5c | 66 31 2c 20 69 74 20 63 |contool\|f1, it c|
|00004440| 68 65 63 6b 73 20 69 74 | 27 73 20 77 69 6e 64 6f |hecks it|'s windo|
|00004450| 77 20 6e 61 6d 65 2e 20 | 20 46 6f 72 20 5c 66 32 |w name. | For \f2|
|00004460| 7b 73 68 65 6c 6c 2c 63 | 6d 64 7d 74 6f 6f 6c 5c |{shell,c|md}tool\|
|00004470| 66 31 2c 20 69 74 0a 63 | 68 65 63 6b 73 20 74 68 |f1, it.c|hecks th|
|00004480| 65 20 69 63 6f 6e 20 6e | 61 6d 65 2e 20 20 46 6f |e icon n|ame. Fo|
|00004490| 72 20 5c 66 32 78 74 65 | 72 6d 5c 66 31 2c 20 69 |r \f2xte|rm\f1, i|
|000044a0| 74 20 63 68 65 63 6b 73 | 20 74 68 65 20 6f 70 74 |t checks| the opt|
|000044b0| 69 6f 6e 73 20 74 68 61 | 74 20 78 74 65 72 6d 0a |ions tha|t xterm.|
|000044c0| 77 61 73 20 73 74 61 72 | 74 65 64 20 77 69 74 68 |was star|ted with|
|000044d0| 2e 0a 2e 53 48 20 4d 49 | 53 53 49 4e 47 20 41 50 |...SH MI|SSING AP|
|000044e0| 50 4c 49 43 41 54 49 4f | 4e 53 20 28 2d 6d 29 0a |PLICATIO|NS (-m).|
|000044f0| 54 68 65 20 27 2d 6d 27 | 20 6f 70 74 69 6f 6e 20 |The '-m'| option |
|00004500| 77 61 73 20 61 64 64 65 | 64 20 62 65 63 61 75 73 |was adde|d becaus|
|00004510| 65 20 73 6f 6d 65 20 6f | 6c 64 65 72 20 58 20 61 |e some o|lder X a|
|00004520| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 64 6f 6e 27 |pplicati|ons don'|
|00004530| 74 20 73 65 74 0a 57 4d | 5f 43 4f 4d 4d 41 4e 44 |t set.WM|_COMMAND|
|00004540| 2e 20 20 58 74 6f 6f 6c | 70 6c 61 63 65 73 20 75 |. Xtool|places u|
|00004550| 73 65 73 20 74 68 65 20 | 65 78 69 73 74 61 6e 63 |ses the |existanc|
|00004560| 65 20 6f 66 20 57 4d 5f | 43 4f 4d 4d 41 4e 44 20 |e of WM_|COMMAND |
|00004570| 74 6f 20 6b 6e 6f 77 20 | 77 68 61 74 0a 77 69 6e |to know |what.win|
|00004580| 64 6f 77 73 20 74 6f 20 | 73 61 76 65 20 69 6e 66 |dows to |save inf|
|00004590| 6f 72 6d 61 74 69 6f 6e | 20 66 72 6f 6d 2e 20 20 |ormation| from. |
|000045a0| 54 68 65 20 6d 69 73 73 | 69 6e 67 20 61 70 70 6c |The miss|ing appl|
|000045b0| 69 63 61 74 69 6f 6e 73 | 20 28 74 6f 20 73 61 76 |ications| (to sav|
|000045c0| 65 20 64 65 73 70 69 74 | 65 0a 6e 6f 74 20 68 61 |e despit|e.not ha|
|000045d0| 76 69 6e 67 20 57 4d 5f | 43 4f 4d 4d 41 4e 44 20 |ving WM_|COMMAND |
|000045e0| 73 65 74 29 20 66 69 6c | 65 20 69 73 20 61 20 6c |set) fil|e is a l|
|000045f0| 69 73 74 20 6f 66 20 61 | 70 70 6c 69 63 61 74 69 |ist of a|pplicati|
|00004600| 6f 6e 73 2c 20 6f 6e 65 | 20 70 65 72 20 6c 69 6e |ons, one| per lin|
|00004610| 65 2e 0a 4d 69 73 73 69 | 6e 67 20 61 70 70 6c 69 |e..Missi|ng appli|
|00004620| 63 61 74 69 6f 6e 73 20 | 66 69 6c 65 73 20 68 61 |cations |files ha|
|00004630| 76 65 20 74 68 65 20 73 | 61 6d 65 20 74 68 72 65 |ve the s|ame thre|
|00004640| 65 20 6c 69 6e 65 20 74 | 79 70 65 73 20 61 73 20 |e line t|ypes as |
|00004650| 61 64 64 6f 6e 73 20 28 | 73 65 65 0a 41 44 44 49 |addons (|see.ADDI|
|00004660| 4e 47 20 41 52 47 55 4d | 45 4e 54 53 20 61 62 6f |NG ARGUM|ENTS abo|
|00004670| 76 65 29 20 65 78 63 65 | 70 74 20 74 68 61 74 20 |ve) exce|pt that |
|00004680| 74 68 65 20 61 72 67 75 | 6d 65 6e 74 20 6c 69 6e |the argu|ment lin|
|00004690| 65 73 20 63 6f 6e 73 69 | 73 74 20 6f 66 20 6a 75 |es consi|st of ju|
|000046a0| 73 74 20 74 68 65 20 6e | 61 6d 65 0a 28 61 73 20 |st the n|ame.(as |
|000046b0| 67 6f 74 74 65 6e 20 66 | 72 6f 6d 20 57 4d 5f 4e |gotten f|rom WM_N|
|000046c0| 41 4d 45 29 20 6f 66 20 | 74 68 65 20 61 70 70 6c |AME) of |the appl|
|000046d0| 69 63 61 74 69 6f 6e 20 | 74 6f 20 73 61 76 65 2e |ication |to save.|
|000046e0| 20 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 77 | For ex|ample, w|
|000046f0| 65 20 6b 6e 6f 77 0a 74 | 68 61 74 20 74 68 65 20 |e know.t|hat the |
|00004700| 70 72 6f 67 72 61 6d 73 | 20 5c 66 32 78 6d 61 6e |programs| \f2xman|
|00004710| 5c 66 31 20 61 6e 64 20 | 5c 66 32 78 79 7a 5c 66 |\f1 and |\f2xyz\f|
|00004720| 31 20 64 6f 6e 27 74 20 | 73 65 74 20 57 4d 5f 43 |1 don't |set WM_C|
|00004730| 4f 4d 4d 41 4e 44 20 62 | 75 74 20 77 65 20 77 69 |OMMAND b|ut we wi|
|00004740| 73 68 0a 74 6f 20 73 61 | 76 65 20 74 68 65 69 72 |sh.to sa|ve their|
|00004750| 20 73 74 61 74 65 73 20 | 61 6e 79 77 61 79 2e 20 | states |anyway. |
|00004760| 20 54 68 65 20 66 69 6c | 65 20 73 70 65 63 69 66 | The fil|e specif|
|00004770| 65 64 20 77 69 74 68 20 | 27 2d 6d 27 20 77 6f 75 |ed with |'-m' wou|
|00004780| 6c 64 20 6c 6f 6f 6b 20 | 6c 69 6b 65 3a 0a 58 0a |ld look |like:.X.|
|00004790| 2e 69 6e 20 2b 35 0a 2e | 6e 66 0a 78 6d 61 6e 0a |.in +5..|nf.xman.|
|000047a0| 78 79 7a 0a 2e 66 69 0a | 2e 69 6e 20 2d 35 0a 2e |xyz..fi.|.in -5..|
|000047b0| 53 48 20 53 43 52 45 45 | 4e 20 4c 49 53 54 53 0a |SH SCREE|N LISTS.|
|000047c0| 41 20 6c 69 73 74 20 6f | 66 20 73 63 72 65 65 6e |A list o|f screen|
|000047d0| 73 20 69 73 20 61 20 6c | 69 73 74 20 6f 66 20 6e |s is a l|ist of n|
|000047e0| 75 6d 62 65 72 73 20 73 | 65 70 65 72 61 74 65 64 |umbers s|eperated|
|000047f0| 20 62 79 20 73 70 61 63 | 65 73 20 61 6e 64 20 71 | by spac|es and q|
|00004800| 75 6f 74 65 64 20 28 62 | 79 0a 73 69 6e 67 6c 65 |uoted (b|y.single|
|00004810| 20 6f 72 20 64 6f 75 62 | 6c 65 20 71 75 6f 74 65 | or doub|le quote|
|00004820| 73 29 20 74 6f 20 70 72 | 65 76 65 6e 74 20 74 68 |s) to pr|event th|
|00004830| 65 20 73 68 65 6c 6c 20 | 66 72 6f 6d 20 70 61 72 |e shell |from par|
|00004840| 73 69 6e 67 20 74 68 65 | 20 6c 69 73 74 20 28 69 |sing the| list (i|
|00004850| 2e 65 2e 20 74 6f 0a 73 | 61 76 65 20 73 63 72 65 |.e. to.s|ave scre|
|00004860| 65 6e 73 20 31 20 61 6e | 64 20 33 20 77 6f 75 6c |ens 1 an|d 3 woul|
|00004870| 64 20 62 65 20 2d 73 20 | 27 31 20 33 27 29 2e 20 |d be -s |'1 3'). |
|00004880| 20 54 68 65 20 64 65 66 | 61 75 6c 74 20 73 63 72 | The def|ault scr|
|00004890| 65 65 6e 20 74 6f 20 73 | 61 76 65 20 69 73 20 74 |een to s|ave is t|
|000048a0| 68 65 0a 6f 6e 65 20 6c | 69 73 74 65 64 20 69 6e |he.one l|isted in|
|000048b0| 20 65 69 74 68 65 72 20 | 74 68 65 20 65 6e 76 69 | either |the envi|
|000048c0| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|000048d0| 20 5c 66 32 44 49 53 50 | 4c 41 59 5c 66 31 20 6f | \f2DISP|LAY\f1 o|
|000048e0| 72 20 77 69 74 68 20 74 | 68 65 20 27 2d 64 27 0a |r with t|he '-d'.|
|000048f0| 6f 70 74 69 6f 6e 2e 20 | 20 54 68 65 20 73 63 72 |option. | The scr|
|00004900| 65 65 6e 20 73 70 65 63 | 69 66 69 65 64 20 62 79 |een spec|ified by|
|00004910| 20 74 68 65 20 27 2d 64 | 27 20 6f 70 74 69 6f 6e | the '-d|' option|
|00004920| 20 77 6f 75 6c 64 20 6f | 76 65 72 72 69 64 65 20 | would o|verride |
|00004930| 74 68 65 20 6f 6e 65 0a | 69 6e 20 5c 66 32 44 49 |the one.|in \f2DI|
|00004940| 53 50 4c 41 59 5c 66 31 | 2e 0a 58 0a 57 68 65 6e |SPLAY\f1|..X.When|
|00004950| 20 73 61 76 69 6e 67 20 | 66 72 6f 6d 20 6d 75 6c | saving |from mul|
|00004960| 74 69 70 6c 65 20 73 63 | 72 65 65 6e 73 2c 20 65 |tiple sc|reens, e|
|00004970| 61 63 68 20 77 69 6e 64 | 6f 77 20 73 61 76 65 64 |ach wind|ow saved|
|00004980| 20 68 61 73 20 74 68 65 | 20 27 2d 64 69 73 70 6c | has the| '-displ|
|00004990| 61 79 27 20 6f 70 74 69 | 6f 6e 0a 61 64 64 65 64 |ay' opti|on.added|
|000049a0| 20 74 6f 20 69 74 20 69 | 66 20 69 74 20 64 6f 65 | to it i|f it doe|
|000049b0| 73 6e 27 74 20 61 6c 72 | 65 61 64 79 20 68 61 76 |sn't alr|eady hav|
|000049c0| 65 20 69 74 2e 20 20 54 | 68 69 73 20 69 73 20 64 |e it. T|his is d|
|000049d0| 6f 6e 65 20 69 6e 20 63 | 61 73 65 20 61 20 75 73 |one in c|ase a us|
|000049e0| 65 72 20 73 74 61 72 74 | 73 0a 61 20 77 69 6e 64 |er start|s.a wind|
|000049f0| 6f 77 20 66 72 6f 6d 20 | 6f 6e 65 20 73 63 72 65 |ow from |one scre|
|00004a00| 65 6e 20 28 73 6f 20 61 | 73 20 6e 6f 74 20 74 6f |en (so a|s not to|
|00004a10| 20 6e 65 65 64 20 2d 64 | 69 73 70 6c 61 79 29 20 | need -d|isplay) |
|00004a20| 61 6e 64 20 72 75 6e 73 | 20 78 74 6f 6f 6c 70 6c |and runs| xtoolpl|
|00004a30| 61 63 65 73 0a 66 72 6f | 6d 20 61 6e 6f 74 68 65 |aces.fro|m anothe|
|00004a40| 72 2e 20 20 54 6f 20 69 | 6e 73 75 72 65 20 74 68 |r. To i|nsure th|
|00004a50| 61 74 20 74 68 65 20 77 | 69 6e 64 6f 77 20 73 74 |at the w|indow st|
|00004a60| 61 72 74 73 20 75 70 20 | 6f 6e 20 74 68 65 20 72 |arts up |on the r|
|00004a70| 69 67 68 74 20 73 63 72 | 65 65 6e 2c 0a 74 68 65 |ight scr|een,.the|
|00004a80| 20 27 2d 64 69 73 70 6c | 61 79 27 20 6f 70 74 69 | '-displ|ay' opti|
|00004a90| 6f 6e 20 69 73 20 61 64 | 64 65 64 2e 0a 58 0a 54 |on is ad|ded..X.T|
|00004aa0| 68 72 65 65 20 61 73 73 | 75 6d 70 74 69 6f 6e 73 |hree ass|umptions|
|00004ab0| 20 61 72 65 20 6d 61 64 | 65 20 77 68 65 6e 20 61 | are mad|e when a|
|00004ac0| 64 64 69 6e 67 20 74 68 | 65 20 27 2d 64 69 73 70 |dding th|e '-disp|
|00004ad0| 6c 61 79 27 20 6f 70 74 | 69 6f 6e 3a 0a 58 0a 2e |lay' opt|ion:.X..|
|00004ae0| 69 6e 20 2b 35 0a 2e 6e | 66 0a 31 29 20 69 66 20 |in +5..n|f.1) if |
|00004af0| 61 20 63 6f 6c 6f 6e 20 | 28 3a 29 20 69 73 20 66 |a colon |(:) is f|
|00004b00| 6f 75 6e 64 20 6f 6e 20 | 74 68 65 20 63 6f 6d 6d |ound on |the comm|
|00004b10| 61 6e 64 20 6c 69 6e 65 | 2c 20 69 74 20 62 65 6c |and line|, it bel|
|00004b20| 6f 6e 67 73 0a 58 20 20 | 20 74 6f 20 48 4f 53 54 |ongs.X | to HOST|
|00004b30| 3a 53 45 52 56 45 52 2e | 53 43 52 45 45 4e 20 61 |:SERVER.|SCREEN a|
|00004b40| 6e 64 20 6e 6f 74 20 74 | 6f 20 73 6f 6d 65 20 6f |nd not t|o some o|
|00004b50| 74 68 65 72 20 6f 70 74 | 69 6f 6e 0a 32 29 20 69 |ther opt|ion.2) i|
|00004b60| 66 20 61 20 77 69 6e 64 | 6f 77 20 61 6c 72 65 61 |f a wind|ow alrea|
|00004b70| 64 79 20 68 61 73 20 61 | 20 27 2d 64 69 73 70 6c |dy has a| '-displ|
|00004b80| 61 79 27 20 6f 70 74 69 | 6f 6e 2c 20 69 74 20 70 |ay' opti|on, it p|
|00004b90| 6f 69 6e 74 73 0a 58 20 | 20 20 74 6f 20 74 68 65 |oints.X | to the|
|00004ba0| 20 63 6f 72 72 65 63 74 | 20 73 63 72 65 65 6e 20 | correct| screen |
|00004bb0| 61 6e 64 20 6e 6f 74 68 | 69 6e 67 20 69 73 20 63 |and noth|ing is c|
|00004bc0| 68 61 6e 67 65 64 20 6f | 72 20 61 64 64 65 64 0a |hanged o|r added.|
|00004bd0| 33 29 20 65 76 65 72 79 | 20 77 69 6e 64 6f 77 20 |3) every| window |
|00004be0| 74 68 61 74 20 68 61 73 | 20 27 2d 64 69 73 70 6c |that has| '-displ|
|00004bf0| 61 79 27 20 61 64 64 65 | 64 20 75 73 65 73 20 27 |ay' adde|d uses '|
|00004c00| 2d 64 69 73 70 6c 61 79 | 27 0a 58 20 20 20 28 61 |-display|'.X (a|
|00004c10| 6e 64 20 6e 6f 74 20 27 | 2d 64 27 20 6f 72 20 73 |nd not '|-d' or s|
|00004c20| 6f 6d 65 74 68 69 6e 67 | 20 65 6c 73 65 29 0a 2e |omething| else)..|
|00004c30| 66 69 0a 2e 69 6e 20 2d | 35 0a 2e 53 48 20 46 49 |fi..in -|5..SH FI|
|00004c40| 4c 45 53 0a 2e 49 50 20 | 22 7e 2f 2e 78 74 6f 6f |LES..IP |"~/.xtoo|
|00004c50| 6c 70 6c 61 63 65 73 22 | 20 32 69 0a 64 65 66 61 |lplaces"| 2i.defa|
|00004c60| 75 6c 74 20 66 69 6c 65 | 20 74 6f 20 73 74 6f 72 |ult file| to stor|
|00004c70| 65 20 77 69 6e 64 6f 77 | 20 69 6e 66 6f 72 6d 61 |e window| informa|
|00004c80| 74 69 6f 6e 0a 2e 53 48 | 20 53 45 45 20 41 4c 53 |tion..SH| SEE ALS|
|00004c90| 4f 0a 74 6f 6f 6c 70 6c | 61 63 65 73 28 31 29 2c |O.toolpl|aces(1),|
|00004ca0| 20 78 70 72 6f 70 28 31 | 29 2c 20 78 77 69 6e 69 | xprop(1|), xwini|
|00004cb0| 6e 66 6f 28 31 29 2c 20 | 78 70 6c 61 63 65 73 28 |nfo(1), |xplaces(|
|00004cc0| 58 29 0a 2e 53 48 20 42 | 55 47 53 0a 58 58 74 6f |X)..SH B|UGS.XXto|
|00004cd0| 6f 6c 70 6c 61 63 65 73 | 20 67 6f 65 73 20 56 45 |olplaces| goes VE|
|00004ce0| 52 59 20 6f 75 74 20 69 | 74 27 73 20 77 61 79 20 |RY out i|t's way |
|00004cf0| 74 6f 20 63 61 70 74 75 | 72 65 20 61 73 20 6d 61 |to captu|re as ma|
|00004d00| 6e 79 20 58 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ny X app|lication|
|00004d10| 73 20 61 73 0a 70 6f 73 | 73 69 62 6c 65 20 28 69 |s as.pos|sible (i|
|00004d20| 6e 63 6c 75 64 69 6e 67 | 20 69 6c 6c 2d 62 65 68 |ncluding| ill-beh|
|00004d30| 61 76 65 64 20 6f 6e 65 | 73 20 3a 2d 7b 29 2e 20 |aved one|s :-{). |
|00004d40| 20 54 68 65 20 6d 6f 73 | 74 20 75 70 2d 74 6f 2d | The mos|t up-to-|
|00004d50| 64 61 74 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |date inf|ormation|
|00004d60| 0a 63 6f 6d 65 73 20 66 | 72 6f 6d 20 57 4d 5f 43 |.comes f|rom WM_C|
|00004d70| 4f 4d 4d 41 4e 44 20 69 | 66 20 74 68 65 20 61 70 |OMMAND i|f the ap|
|00004d80| 70 6c 69 63 61 74 69 6f | 6e 20 75 6e 64 65 72 73 |plicatio|n unders|
|00004d90| 74 61 6e 64 73 20 57 4d | 5f 53 41 56 45 5f 59 4f |tands WM|_SAVE_YO|
|00004da0| 55 52 53 45 4c 46 2e 20 | 20 44 6f 6e 27 74 0a 62 |URSELF. | Don't.b|
|00004db0| 6c 61 6d 65 20 6d 65 20 | 69 66 20 61 6c 6c 20 74 |lame me |if all t|
|00004dc0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 69 |he infor|mation i|
|00004dd0| 73 6e 27 74 20 74 68 65 | 72 65 20 66 6f 72 20 69 |sn't the|re for i|
|00004de0| 6c 6c 2d 62 65 68 61 76 | 65 64 20 61 70 70 6c 69 |ll-behav|ed appli|
|00004df0| 63 61 74 69 6f 6e 73 2c | 20 49 0a 74 72 69 65 64 |cations,| I.tried|
|00004e00| 21 0a 58 0a 49 66 20 74 | 68 65 20 61 70 70 6c 69 |!.X.If t|he appli|
|00004e10| 63 61 74 69 6f 6e 20 64 | 6f 65 73 6e 27 74 20 70 |cation d|oesn't p|
|00004e20| 75 74 20 74 68 65 20 69 | 63 6f 6e 20 70 6f 73 69 |ut the i|con posi|
|00004e30| 74 69 6f 6e 20 69 6e 20 | 57 4d 5f 43 4f 4d 4d 41 |tion in |WM_COMMA|
|00004e40| 4e 44 20 6f 72 20 69 6e | 74 6f 0a 77 69 6e 64 6f |ND or in|to.windo|
|00004e50| 77 20 6d 61 6e 61 67 65 | 72 20 68 69 6e 74 73 2c |w manage|r hints,|
|00004e60| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 77 61 79 | there i|s no way|
|00004e70| 20 74 6f 20 73 61 76 65 | 20 74 68 61 74 20 69 6e | to save| that in|
|00004e80| 66 6f 72 6d 61 74 69 6f | 6e 2e 0a 58 0a 46 6f 72 |formatio|n..X.For|
|00004e90| 20 77 69 6e 64 6f 77 73 | 20 69 6e 20 77 68 69 63 | windows| in whic|
|00004ea0| 68 20 74 68 65 20 67 65 | 6f 6d 65 74 72 79 20 68 |h the ge|ometry h|
|00004eb0| 61 73 20 74 6f 20 62 65 | 20 67 6f 74 74 65 6e 20 |as to be| gotten |
|00004ec0| 6d 61 6e 75 61 6c 6c 79 | 2c 20 78 74 6f 6f 6c 70 |manually|, xtoolp|
|00004ed0| 6c 61 63 65 73 0a 64 6f | 65 73 6e 27 74 20 70 75 |laces.do|esn't pu|
|00004ee0| 74 20 6f 6e 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |t on the| command|
|00004ef0| 20 6c 69 6e 65 20 77 68 | 65 74 68 65 72 20 74 6f | line wh|ether to|
|00004f00| 20 73 74 61 72 74 20 69 | 63 6f 6e 69 63 20 6f 72 | start i|conic or|
|00004f10| 20 6e 6f 74 20 28 65 76 | 65 6e 20 69 66 20 74 68 | not (ev|en if th|
|00004f20| 65 0a 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 69 73 |e.applic|ation is|
|00004f30| 20 69 63 6f 6e 69 63 20 | 61 74 20 74 68 65 20 74 | iconic |at the t|
|00004f40| 69 6d 65 29 2e 20 20 54 | 68 69 73 20 69 73 20 62 |ime). T|his is b|
|00004f50| 65 63 61 75 73 65 20 64 | 69 66 66 65 72 65 6e 74 |ecause d|ifferent|
|00004f60| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 0a 74 61 | applica|tions.ta|
|00004f70| 6b 65 20 64 69 66 66 65 | 72 65 6e 74 20 61 72 67 |ke diffe|rent arg|
|00004f80| 75 6d 65 6e 74 73 20 74 | 6f 20 73 74 61 72 74 20 |uments t|o start |
|00004f90| 69 63 6f 6e 69 63 20 28 | 69 66 20 74 68 65 79 20 |iconic (|if they |
|00004fa0| 43 41 4e 20 62 65 20 73 | 74 61 72 74 65 64 20 69 |CAN be s|tarted i|
|00004fb0| 63 6f 6e 69 63 29 2e 0a | 2e 53 48 20 41 55 54 48 |conic)..|.SH AUTH|
|00004fc0| 4f 52 0a 2e 6e 66 0a 41 | 64 61 6d 20 53 74 65 69 |OR..nf.A|dam Stei|
|00004fd0| 6e 0a 38 30 30 20 50 68 | 69 6c 6c 69 70 73 20 52 |n.800 Ph|illips R|
|00004fe0| 6f 61 64 2c 20 31 32 39 | 2d 37 31 42 0a 57 65 62 |oad, 129|-71B.Web|
|00004ff0| 73 74 65 72 2c 20 4e 65 | 77 20 59 6f 72 6b 20 20 |ster, Ne|w York |
|00005000| 31 34 35 38 30 0a 49 6e | 74 65 72 6e 65 74 3a 20 |14580.In|ternet: |
|00005010| 73 74 65 69 6e 2e 77 62 | 73 74 31 32 39 40 78 65 |stein.wb|st129@xe|
|00005020| 72 6f 78 2e 63 6f 6d 0a | 53 48 41 52 5f 45 4f 46 |rox.com.|SHAR_EOF|
|00005030| 0a 63 68 6d 6f 64 20 30 | 36 34 34 20 78 74 6f 6f |.chmod 0|644 xtoo|
|00005040| 6c 70 6c 61 63 65 73 2e | 6d 61 6e 20 7c 7c 0a 65 |lplaces.|man ||.e|
|00005050| 63 68 6f 20 27 72 65 73 | 74 6f 72 65 20 6f 66 20 |cho 'res|tore of |
|00005060| 78 74 6f 6f 6c 70 6c 61 | 63 65 73 2e 6d 61 6e 20 |xtoolpla|ces.man |
|00005070| 66 61 69 6c 65 64 27 0a | 57 63 5f 63 3d 22 60 77 |failed'.|Wc_c="`w|
|00005080| 63 20 2d 63 20 3c 20 27 | 78 74 6f 6f 6c 70 6c 61 |c -c < '|xtoolpla|
|00005090| 63 65 73 2e 6d 61 6e 27 | 60 22 0a 74 65 73 74 20 |ces.man'|`".test |
|000050a0| 38 38 39 35 20 2d 65 71 | 20 22 24 57 63 5f 63 22 |8895 -eq| "$Wc_c"|
|000050b0| 20 7c 7c 0a 09 65 63 68 | 6f 20 27 78 74 6f 6f 6c | ||..ech|o 'xtool|
|000050c0| 70 6c 61 63 65 73 2e 6d | 61 6e 3a 20 6f 72 69 67 |places.m|an: orig|
|000050d0| 69 6e 61 6c 20 73 69 7a | 65 20 38 38 39 35 2c 20 |inal siz|e 8895, |
|000050e0| 63 75 72 72 65 6e 74 20 | 73 69 7a 65 27 20 22 24 |current |size' "$|
|000050f0| 57 63 5f 63 22 0a 66 69 | 0a 23 20 3d 3d 3d 3d 3d |Wc_c".fi|.# =====|
|00005100| 3d 3d 3d 3d 3d 3d 3d 3d | 20 63 6f 70 79 72 69 67 |========| copyrig|
|00005110| 68 74 2e 63 20 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |ht.c ===|========|
|00005120| 3d 3d 3d 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |===.if t|est -f '|
|00005130| 63 6f 70 79 72 69 67 68 | 74 2e 63 27 20 2d 61 20 |copyrigh|t.c' -a |
|00005140| 58 22 24 31 22 20 21 3d | 20 58 22 2d 63 22 3b 20 |X"$1" !=| X"-c"; |
|00005150| 74 68 65 6e 0a 09 65 63 | 68 6f 20 27 78 20 2d 20 |then..ec|ho 'x - |
|00005160| 73 6b 69 70 70 69 6e 67 | 20 63 6f 70 79 72 69 67 |skipping| copyrig|
|00005170| 68 74 2e 63 20 28 46 69 | 6c 65 20 61 6c 72 65 61 |ht.c (Fi|le alrea|
|00005180| 64 79 20 65 78 69 73 74 | 73 29 27 0a 65 6c 73 65 |dy exist|s)'.else|
|00005190| 0a 65 63 68 6f 20 27 78 | 20 2d 20 65 78 74 72 61 |.echo 'x| - extra|
|000051a0| 63 74 69 6e 67 20 63 6f | 70 79 72 69 67 68 74 2e |cting co|pyright.|
|000051b0| 63 20 28 54 65 78 74 29 | 27 0a 73 65 64 20 27 73 |c (Text)|'.sed 's|
|000051c0| 2f 5e 58 2f 2f 27 20 3c | 3c 20 27 53 48 41 52 5f |/^X//' <|< 'SHAR_|
|000051d0| 45 4f 46 27 20 3e 20 27 | 63 6f 70 79 72 69 67 68 |EOF' > '|copyrigh|
|000051e0| 74 2e 63 27 20 26 26 0a | 63 68 61 72 20 63 6f 70 |t.c' &&.|char cop|
|000051f0| 79 72 69 67 68 74 5b 5d | 20 3d 0a 22 5c 0a 43 6f |yright[]| =."\.Co|
|00005200| 70 79 72 69 67 68 74 20 | 28 63 29 20 31 39 39 31 |pyright |(c) 1991|
|00005210| 20 58 65 72 6f 78 20 43 | 6f 72 70 6f 72 61 74 69 | Xerox C|orporati|
|00005220| 6f 6e 2e 20 20 41 6c 6c | 20 52 69 67 68 74 73 20 |on. All| Rights |
|00005230| 52 65 73 65 72 76 65 64 | 2e 5c 6e 5c 0a 58 20 20 |Reserved|.\n\.X |
|00005240| 20 20 5c 6e 5c 0a 50 65 | 72 6d 69 73 73 69 6f 6e | \n\.Pe|rmission|
|00005250| 20 74 6f 20 75 73 65 2c | 20 20 63 6f 70 79 2c 20 | to use,| copy, |
|00005260| 20 6d 6f 64 69 66 79 20 | 20 61 6e 64 20 20 64 69 | modify | and di|
|00005270| 73 74 72 69 62 75 74 65 | 20 20 77 69 74 68 6f 75 |stribute| withou|
|00005280| 74 5c 6e 5c 0a 63 68 61 | 72 67 65 20 74 68 69 73 |t\n\.cha|rge this|
|00005290| 20 73 6f 66 74 77 61 72 | 65 2c 20 64 6f 63 75 6d | softwar|e, docum|
|000052a0| 65 6e 74 61 74 69 6f 6e | 2c 20 69 6d 61 67 65 73 |entation|, images|
|000052b0| 2c 20 65 74 63 2e 20 69 | 73 20 67 72 61 6e 74 2d |, etc. i|s grant-|
|000052c0| 5c 6e 5c 0a 65 64 2c 20 | 70 72 6f 76 69 64 65 64 |\n\.ed, |provided|
|000052d0| 20 74 68 61 74 20 74 68 | 69 73 20 63 6f 70 79 72 | that th|is copyr|
|000052e0| 69 67 68 74 20 61 6e 64 | 20 74 68 65 20 61 75 74 |ight and| the aut|
|000052f0| 68 6f 72 27 73 20 20 6e | 61 6d 65 20 20 69 73 5c |hor's n|ame is\|
|00005300| 6e 5c 0a 72 65 74 61 69 | 6e 65 64 2e 5c 6e 5c 0a |n\.retai|ned.\n\.|
|00005310| 58 20 20 20 20 5c 6e 5c | 0a 41 20 66 65 65 20 6d |X \n\|.A fee m|
|00005320| 61 79 20 62 65 20 63 68 | 61 72 67 65 64 20 66 6f |ay be ch|arged fo|
|00005330| 72 20 74 68 69 73 20 70 | 72 6f 67 72 61 6d 20 4f |r this p|rogram O|
|00005340| 4e 4c 59 20 74 6f 20 72 | 65 63 6f 76 65 72 20 63 |NLY to r|ecover c|
|00005350| 6f 73 74 73 5c 6e 5c 0a | 66 6f 72 20 64 69 73 74 |osts\n\.|for dist|
|00005360| 72 69 62 75 74 69 6f 6e | 20 28 69 2e 65 2e 20 6d |ribution| (i.e. m|
|00005370| 65 64 69 61 20 63 6f 73 | 74 73 29 2e 20 20 4e 6f |edia cos|ts). No|
|00005380| 20 70 72 6f 66 69 74 20 | 63 61 6e 20 62 65 20 6d | profit |can be m|
|00005390| 61 64 65 5c 6e 5c 0a 6f | 6e 20 74 68 69 73 20 70 |ade\n\.o|n this p|
|000053a0| 72 6f 67 72 61 6d 2e 5c | 6e 5c 0a 58 20 20 20 20 |rogram.\|n\.X |
|000053b0| 5c 6e 5c 0a 54 68 65 20 | 61 75 74 68 6f 72 20 61 |\n\.The |author a|
|000053c0| 73 73 75 6d 65 73 20 6e | 6f 20 72 65 73 70 6f 6e |ssumes n|o respon|
|000053d0| 73 69 62 69 6c 69 74 79 | 20 66 6f 72 20 64 69 73 |sibility| for dis|
|000053e0| 61 73 74 65 72 73 20 28 | 6e 61 74 75 72 61 6c 5c |asters (|natural\|
|000053f0| 6e 5c 0a 6f 72 20 6f 74 | 68 65 72 77 69 73 65 29 |n\.or ot|herwise)|
|00005400| 20 61 73 20 61 20 63 6f | 6e 73 65 71 75 65 6e 63 | as a co|nsequenc|
|00005410| 65 20 6f 66 20 75 73 65 | 20 6f 66 20 74 68 69 73 |e of use| of this|
|00005420| 20 73 6f 66 74 77 61 72 | 65 2e 5c 6e 5c 0a 58 20 | softwar|e.\n\.X |
|00005430| 20 20 20 5c 6e 5c 0a 41 | 64 61 6d 20 53 74 65 69 | \n\.A|dam Stei|
|00005440| 6e 20 28 73 74 65 69 6e | 2e 77 62 73 74 31 32 39 |n (stein|.wbst129|
|00005450| 40 78 65 72 6f 78 2e 63 | 6f 6d 29 5c 6e 5c 0a 58 |@xerox.c|om)\n\.X|
|00005460| 20 20 20 20 5c 6e 5c 0a | 22 3b 0a 58 0a 53 48 41 | \n\.|";.X.SHA|
|00005470| 52 5f 45 4f 46 0a 63 68 | 6d 6f 64 20 30 36 34 34 |R_EOF.ch|mod 0644|
|00005480| 20 63 6f 70 79 72 69 67 | 68 74 2e 63 20 7c 7c 0a | copyrig|ht.c ||.|
|00005490| 65 63 68 6f 20 27 72 65 | 73 74 6f 72 65 20 6f 66 |echo 're|store of|
|000054a0| 20 63 6f 70 79 72 69 67 | 68 74 2e 63 20 66 61 69 | copyrig|ht.c fai|
|000054b0| 6c 65 64 27 0a 57 63 5f | 63 3d 22 60 77 63 20 2d |led'.Wc_|c="`wc -|
|000054c0| 63 20 3c 20 27 63 6f 70 | 79 72 69 67 68 74 2e 63 |c < 'cop|yright.c|
|000054d0| 27 60 22 0a 74 65 73 74 | 20 36 33 39 20 2d 65 71 |'`".test| 639 -eq|
|000054e0| 20 22 24 57 63 5f 63 22 | 20 7c 7c 0a 09 65 63 68 | "$Wc_c"| ||..ech|
|000054f0| 6f 20 27 63 6f 70 79 72 | 69 67 68 74 2e 63 3a 20 |o 'copyr|ight.c: |
|00005500| 6f 72 69 67 69 6e 61 6c | 20 73 69 7a 65 20 36 33 |original| size 63|
|00005510| 39 2c 20 63 75 72 72 65 | 6e 74 20 73 69 7a 65 27 |9, curre|nt size'|
|00005520| 20 22 24 57 63 5f 63 22 | 0a 66 69 0a 23 20 3d 3d | "$Wc_c"|.fi.# ==|
|00005530| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 20 61 64 64 64 |========|=== addd|
|00005540| 69 73 70 6c 61 79 2e 63 | 20 3d 3d 3d 3d 3d 3d 3d |isplay.c| =======|
|00005550| 3d 3d 3d 3d 3d 3d 3d 0a | 69 66 20 74 65 73 74 20 |=======.|if test |
|00005560| 2d 66 20 27 61 64 64 64 | 69 73 70 6c 61 79 2e 63 |-f 'addd|isplay.c|
|00005570| 27 20 2d 61 20 58 22 24 | 31 22 20 21 3d 20 58 22 |' -a X"$|1" != X"|
|00005580| 2d 63 22 3b 20 74 68 65 | 6e 0a 09 65 63 68 6f 20 |-c"; the|n..echo |
|00005590| 27 78 20 2d 20 73 6b 69 | 70 70 69 6e 67 20 61 64 |'x - ski|pping ad|
|000055a0| 64 64 69 73 70 6c 61 79 | 2e 63 20 28 46 69 6c 65 |ddisplay|.c (File|
|000055b0| 20 61 6c 72 65 61 64 79 | 20 65 78 69 73 74 73 29 | already| exists)|
|000055c0| 27 0a 65 6c 73 65 0a 65 | 63 68 6f 20 27 78 20 2d |'.else.e|cho 'x -|
|000055d0| 20 65 78 74 72 61 63 74 | 69 6e 67 20 61 64 64 64 | extract|ing addd|
|000055e0| 69 73 70 6c 61 79 2e 63 | 20 28 54 65 78 74 29 27 |isplay.c| (Text)'|
|000055f0| 0a 73 65 64 20 27 73 2f | 5e 58 2f 2f 27 20 3c 3c |.sed 's/|^X//' <<|
|00005600| 20 27 53 48 41 52 5f 45 | 4f 46 27 20 3e 20 27 61 | 'SHAR_E|OF' > 'a|
|00005610| 64 64 64 69 73 70 6c 61 | 79 2e 63 27 20 26 26 0a |dddispla|y.c' &&.|
|00005620| 2f 2a 43 6f 70 79 72 69 | 67 68 74 20 28 63 29 20 |/*Copyri|ght (c) |
|00005630| 31 39 39 31 20 58 65 72 | 6f 78 20 43 6f 72 70 6f |1991 Xer|ox Corpo|
|00005640| 72 61 74 69 6f 6e 2e 20 | 20 41 6c 6c 20 52 69 67 |ration. | All Rig|
|00005650| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 0a 58 0a |hts Rese|rved..X.|
|00005660| 58 20 20 50 65 72 6d 69 | 73 73 69 6f 6e 20 74 6f |X Permi|ssion to|
|00005670| 20 75 73 65 2c 20 20 63 | 6f 70 79 2c 20 20 6d 6f | use, c|opy, mo|
|00005680| 64 69 66 79 20 20 61 6e | 64 20 20 64 69 73 74 72 |dify an|d distr|
|00005690| 69 62 75 74 65 20 20 77 | 69 74 68 6f 75 74 0a 58 |ibute w|ithout.X|
|000056a0| 20 20 63 68 61 72 67 65 | 20 74 68 69 73 20 73 6f | charge| this so|
|000056b0| 66 74 77 61 72 65 2c 20 | 64 6f 63 75 6d 65 6e 74 |ftware, |document|
|000056c0| 61 74 69 6f 6e 2c 20 69 | 6d 61 67 65 73 2c 20 65 |ation, i|mages, e|
|000056d0| 74 63 2e 20 69 73 20 67 | 72 61 6e 74 2d 0a 58 20 |tc. is g|rant-.X |
|000056e0| 20 65 64 2c 20 70 72 6f | 76 69 64 65 64 20 74 68 | ed, pro|vided th|
|000056f0| 61 74 20 74 68 69 73 20 | 63 6f 70 79 72 69 67 68 |at this |copyrigh|
|00005700| 74 20 61 6e 64 20 74 68 | 65 20 61 75 74 68 6f 72 |t and th|e author|
|00005710| 27 73 20 20 6e 61 6d 65 | 20 20 69 73 0a 58 20 20 |'s name| is.X |
|00005720| 72 65 74 61 69 6e 65 64 | 2e 0a 58 0a 58 20 20 41 |retained|..X.X A|
|00005730| 20 66 65 65 20 6d 61 79 | 20 62 65 20 63 68 61 72 | fee may| be char|
|00005740| 67 65 64 20 66 6f 72 20 | 74 68 69 73 20 70 72 6f |ged for |this pro|
|00005750| 67 72 61 6d 20 4f 4e 4c | 59 20 74 6f 20 72 65 63 |gram ONL|Y to rec|
|00005760| 6f 76 65 72 20 63 6f 73 | 74 73 0a 58 20 20 66 6f |over cos|ts.X fo|
|00005770| 72 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 20 28 |r distri|bution (|
|00005780| 69 2e 65 2e 20 6d 65 64 | 69 61 20 63 6f 73 74 73 |i.e. med|ia costs|
|00005790| 29 2e 20 20 4e 6f 20 70 | 72 6f 66 69 74 20 63 61 |). No p|rofit ca|
|000057a0| 6e 20 62 65 20 6d 61 64 | 65 0a 58 20 20 6f 6e 20 |n be mad|e.X on |
|000057b0| 74 68 69 73 20 70 72 6f | 67 72 61 6d 2e 0a 58 0a |this pro|gram..X.|
|000057c0| 58 20 20 54 68 65 20 61 | 75 74 68 6f 72 20 61 73 |X The a|uthor as|
|000057d0| 73 75 6d 65 73 20 6e 6f | 20 72 65 73 70 6f 6e 73 |sumes no| respons|
|000057e0| 69 62 69 6c 69 74 79 20 | 66 6f 72 20 64 69 73 61 |ibility |for disa|
|000057f0| 73 74 65 72 73 20 28 6e | 61 74 75 72 61 6c 0a 58 |sters (n|atural.X|
|00005800| 20 20 6f 72 20 6f 74 68 | 65 72 77 69 73 65 29 20 | or oth|erwise) |
|00005810| 61 73 20 61 20 63 6f 6e | 73 65 71 75 65 6e 63 65 |as a con|sequence|
|00005820| 20 6f 66 20 75 73 65 20 | 6f 66 20 74 68 69 73 20 | of use |of this |
|00005830| 73 6f 66 74 77 61 72 65 | 2e 0a 58 0a 58 20 20 41 |software|..X.X A|
|00005840| 64 61 6d 20 53 74 65 69 | 6e 20 28 73 74 65 69 6e |dam Stei|n (stein|
|00005850| 2e 77 62 73 74 31 32 39 | 40 78 65 72 6f 78 2e 63 |.wbst129|@xerox.c|
|00005860| 6f 6d 29 0a 2a 2f 0a 58 | 0a 23 69 6e 63 6c 75 64 |om).*/.X|.#includ|
|00005870| 65 20 3c 73 74 64 69 6f | 2e 68 3e 0a 23 69 6e 63 |e <stdio|.h>.#inc|
|00005880| 6c 75 64 65 20 3c 58 31 | 31 2f 58 6f 73 2e 68 3e |lude <X1|1/Xos.h>|
|00005890| 0a 58 0a 65 78 74 65 72 | 6e 20 46 49 4c 45 20 2a |.X.exter|n FILE *|
|000058a0| 66 70 3b 0a 58 0a 2f 2a | 54 68 69 73 20 66 75 6e |fp;.X./*|This fun|
|000058b0| 63 74 69 6f 6e 20 77 69 | 6c 6c 20 61 64 64 20 74 |ction wi|ll add t|
|000058c0| 68 65 20 27 2d 64 69 73 | 70 6c 61 79 27 20 74 6f |he '-dis|play' to|
|000058d0| 20 77 69 6e 64 6f 77 73 | 20 74 68 61 74 20 64 6f | windows| that do|
|000058e0| 6e 27 74 20 61 6c 72 65 | 61 64 79 20 68 61 76 65 |n't alre|ady have|
|000058f0| 0a 58 20 20 69 74 20 69 | 66 20 78 74 6f 6f 6c 70 |.X it i|f xtoolp|
|00005900| 6c 61 63 65 73 20 69 73 | 20 73 61 76 69 6e 67 20 |laces is| saving |
|00005910| 66 72 6f 6d 20 6d 6f 72 | 65 20 74 68 61 6e 20 31 |from mor|e than 1|
|00005920| 20 73 63 72 65 65 6e 2e | 20 20 54 68 69 73 20 69 | screen.| This i|
|00005930| 73 20 64 6f 6e 65 0a 58 | 20 20 62 65 63 61 75 73 |s done.X| becaus|
|00005940| 65 20 61 20 75 73 65 72 | 20 6d 69 67 68 74 20 73 |e a user| might s|
|00005950| 74 61 72 74 20 61 6e 20 | 61 70 70 6c 69 63 61 74 |tart an |applicat|
|00005960| 69 6f 6e 20 69 6e 20 31 | 20 73 63 72 65 65 6e 20 |ion in 1| screen |
|00005970| 28 73 6f 20 74 68 61 74 | 20 2d 64 69 73 70 6c 61 |(so that| -displa|
|00005980| 79 0a 58 20 20 69 73 6e | 27 74 20 6e 65 65 64 65 |y.X isn|'t neede|
|00005990| 64 29 20 61 6e 64 20 72 | 75 6e 20 78 74 6f 6f 6c |d) and r|un xtool|
|000059a0| 70 6c 61 63 65 73 20 66 | 72 6f 6d 20 61 6e 6f 74 |places f|rom anot|
|000059b0| 68 65 72 2e 20 20 54 6f | 20 69 6e 73 75 72 65 20 |her. To| insure |
|000059c0| 74 68 61 74 20 74 68 65 | 0a 58 20 20 61 70 70 6c |that the|.X appl|
|000059d0| 69 63 61 74 69 6f 6e 73 | 20 73 74 61 72 74 73 20 |ications| starts |
|000059e0| 75 70 20 6f 6e 20 74 68 | 65 20 72 69 67 68 74 20 |up on th|e right |
|000059f0| 73 63 72 65 65 6e 2c 20 | 27 2d 64 69 73 70 6c 61 |screen, |'-displa|
|00005a00| 79 27 20 69 73 20 61 64 | 64 65 64 20 74 6f 20 61 |y' is ad|ded to a|
|00005a10| 6c 6c 0a 58 20 20 61 70 | 70 6c 69 63 61 74 69 6f |ll.X ap|plicatio|
|00005a20| 6e 73 2e 0a 58 0a 58 20 | 20 54 68 72 65 65 20 61 |ns..X.X | Three a|
|00005a30| 73 73 75 6d 70 74 69 6f | 6e 73 20 61 72 65 20 6d |ssumptio|ns are m|
|00005a40| 61 64 65 3a 0a 58 0a 58 | 20 20 31 29 20 69 66 20 |ade:.X.X| 1) if |
|00005a50| 61 20 63 6f 6c 6f 6e 20 | 28 3a 29 20 69 73 20 66 |a colon |(:) is f|
|00005a60| 6f 75 6e 64 20 6f 6e 20 | 74 68 65 20 63 6f 6d 6d |ound on |the comm|
|00005a70| 61 6e 64 20 6c 69 6e 65 | 2c 20 69 74 20 62 65 6c |and line|, it bel|
|00005a80| 6f 6e 67 73 20 74 6f 0a | 58 20 20 20 20 20 48 4f |ongs to.|X HO|
|00005a90| 53 54 3a 53 45 52 56 45 | 52 2e 53 43 52 45 45 4e |ST:SERVE|R.SCREEN|
|00005aa0| 20 61 6e 64 20 6e 6f 74 | 20 74 6f 20 73 6f 6d 65 | and not| to some|
|00005ab0| 20 6f 74 68 65 72 20 6f | 70 74 69 6f 6e 0a 58 20 | other o|ption.X |
|00005ac0| 20 32 29 20 69 66 20 61 | 20 77 69 6e 64 6f 77 20 | 2) if a| window |
|00005ad0| 61 6c 72 65 61 64 79 20 | 68 61 73 20 61 20 27 2d |already |has a '-|
|00005ae0| 64 69 73 70 6c 61 79 27 | 20 6f 70 74 69 6f 6e 20 |display'| option |
|00005af0| 28 69 2e 65 2e 20 61 20 | 63 6f 6c 6f 6e 20 77 61 |(i.e. a |colon wa|
|00005b00| 73 0a 58 20 20 20 20 20 | 66 6f 75 6e 64 20 69 6e |s.X |found in|
|00005b10| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e | the com|mand lin|
|00005b20| 65 29 2c 20 69 74 20 70 | 6f 69 6e 74 73 20 74 6f |e), it p|oints to|
|00005b30| 20 74 68 65 20 63 6f 72 | 72 65 63 74 20 73 63 72 | the cor|rect scr|
|00005b40| 65 65 6e 0a 58 20 20 20 | 20 20 61 6e 64 20 6e 6f |een.X | and no|
|00005b50| 74 68 69 6e 67 20 69 73 | 20 63 68 61 6e 67 65 64 |thing is| changed|
|00005b60| 20 6f 72 20 61 64 64 65 | 64 0a 58 20 20 33 29 20 | or adde|d.X 3) |
|00005b70| 65 76 65 72 79 20 77 69 | 6e 64 6f 77 20 74 68 61 |every wi|ndow tha|
|00005b80| 74 20 68 61 73 20 27 2d | 64 69 73 70 6c 61 79 27 |t has '-|display'|
|00005b90| 20 61 64 64 65 64 20 75 | 73 65 64 20 27 2d 64 69 | added u|sed '-di|
|00005ba0| 73 70 6c 61 79 27 20 28 | 61 6e 64 0a 58 20 20 20 |splay' (|and.X |
|00005bb0| 20 20 6e 6f 74 20 27 2d | 64 27 20 6f 72 20 73 6f | not '-|d' or so|
|00005bc0| 6d 65 74 68 69 6e 67 20 | 65 6c 73 65 29 0a 58 0a |mething |else).X.|
|00005bd0| 58 20 20 49 6e 70 75 74 | 73 3a 20 20 63 6f 6d 6d |X Input|s: comm|
|00005be0| 61 6e 64 5f 6c 69 6e 65 | 20 20 20 2d 20 63 6f 6d |and_line| - com|
|00005bf0| 6d 61 6e 64 20 6c 69 6e | 65 20 74 6f 20 73 65 65 |mand lin|e to see|
|00005c00| 20 69 66 20 69 74 20 61 | 6c 72 65 61 64 79 20 68 | if it a|lready h|
|00005c10| 61 73 20 6f 70 74 69 6f | 6e 20 6f 72 20 6e 6f 74 |as optio|n or not|
|00005c20| 0a 58 09 20 20 20 64 69 | 73 70 6c 61 79 5f 6e 75 |.X. di|splay_nu|
|00005c30| 6d 62 65 72 20 2d 20 6e | 75 6d 62 65 72 20 6f 66 |mber - n|umber of|
|00005c40| 20 74 68 65 20 64 69 73 | 70 6c 61 79 20 74 68 69 | the dis|play thi|
|00005c50| 73 20 77 69 6c 6c 20 62 | 65 20 77 6f 72 6b 69 6e |s will b|e workin|
|00005c60| 67 20 75 6e 64 65 72 0a | 58 09 20 20 20 73 63 72 |g under.|X. scr|
|00005c70| 65 65 6e 5f 6e 75 6d 62 | 65 72 20 20 2d 20 6e 75 |een_numb|er - nu|
|00005c80| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 73 63 72 65 |mber of |the scre|
|00005c90| 65 6e 20 74 68 69 73 20 | 77 69 6e 64 6f 77 20 69 |en this |window i|
|00005ca0| 73 20 6f 6e 0a 58 20 20 | 4f 75 74 70 75 74 73 3a |s on.X |Outputs:|
|00005cb0| 20 6e 6f 6e 65 0a 58 20 | 20 4c 6f 63 61 6c 73 3a | none.X | Locals:|
|00005cc0| 20 20 6e 6f 6e 65 0a 58 | 20 20 47 6c 6f 62 61 6c | none.X| Global|
|00005cd0| 73 3a 20 66 70 20 20 20 | 20 20 20 20 20 20 20 20 |s: fp | |
|00005ce0| 20 20 2d 20 66 69 6c 65 | 20 70 6f 69 6e 74 65 72 | - file| pointer|
|00005cf0| 20 74 6f 20 77 72 69 74 | 65 20 77 69 6e 64 6f 77 | to writ|e window|
|00005d00| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 74 6f 0a | informa|tion to.|
|00005d10| 2a 2f 0a 63 68 61 72 20 | 2a 61 64 64 64 69 73 70 |*/.char |*adddisp|
|00005d20| 6c 61 79 28 63 6f 6d 6d | 61 6e 64 5f 6c 69 6e 65 |lay(comm|and_line|
|00005d30| 2c 64 69 73 70 6c 61 79 | 6e 75 6d 2c 73 63 72 65 |,display|num,scre|
|00005d40| 65 6e 6e 75 6d 29 0a 72 | 65 67 69 73 74 65 72 20 |ennum).r|egister |
|00005d50| 69 6e 74 20 64 69 73 70 | 6c 61 79 6e 75 6d 2c 73 |int disp|laynum,s|
|00005d60| 63 72 65 65 6e 6e 75 6d | 3b 0a 72 65 67 69 73 74 |creennum|;.regist|
|00005d70| 65 72 20 63 68 61 72 20 | 2a 63 6f 6d 6d 61 6e 64 |er char |*command|
|00005d80| 5f 6c 69 6e 65 3b 0a 7b | 0a 58 09 69 66 28 21 69 |_line;.{|.X.if(!i|
|00005d90| 6e 64 65 78 28 63 6f 6d | 6d 61 6e 64 5f 6c 69 6e |ndex(com|mand_lin|
|00005da0| 65 2c 27 3a 27 29 29 0a | 58 09 20 20 66 70 72 69 |e,':')).|X. fpri|
|00005db0| 6e 74 66 28 66 70 2c 22 | 2d 64 69 73 70 6c 61 79 |ntf(fp,"|-display|
|00005dc0| 20 3a 25 64 2e 25 64 20 | 22 2c 64 69 73 70 6c 61 | :%d.%d |",displa|
|00005dd0| 79 6e 75 6d 2c 73 63 72 | 65 65 6e 6e 75 6d 29 3b |ynum,scr|eennum);|
|00005de0| 0a 7d 0a 58 0a 53 48 41 | 52 5f 45 4f 46 0a 63 68 |.}.X.SHA|R_EOF.ch|
|00005df0| 6d 6f 64 20 30 36 34 34 | 20 61 64 64 64 69 73 70 |mod 0644| adddisp|
|00005e00| 6c 61 79 2e 63 20 7c 7c | 0a 65 63 68 6f 20 27 72 |lay.c |||.echo 'r|
|00005e10| 65 73 74 6f 72 65 20 6f | 66 20 61 64 64 64 69 73 |estore o|f adddis|
|00005e20| 70 6c 61 79 2e 63 20 66 | 61 69 6c 65 64 27 0a 57 |play.c f|ailed'.W|
|00005e30| 63 5f 63 3d 22 60 77 63 | 20 2d 63 20 3c 20 27 61 |c_c="`wc| -c < 'a|
|00005e40| 64 64 64 69 73 70 6c 61 | 79 2e 63 27 60 22 0a 74 |dddispla|y.c'`".t|
|00005e50| 65 73 74 20 31 39 34 37 | 20 2d 65 71 20 22 24 57 |est 1947| -eq "$W|
|00005e60| 63 5f 63 22 20 7c 7c 0a | 09 65 63 68 6f 20 27 61 |c_c" ||.|.echo 'a|
|00005e70| 64 64 64 69 73 70 6c 61 | 79 2e 63 3a 20 6f 72 69 |dddispla|y.c: ori|
|00005e80| 67 69 6e 61 6c 20 73 69 | 7a 65 20 31 39 34 37 2c |ginal si|ze 1947,|
|00005e90| 20 63 75 72 72 65 6e 74 | 20 73 69 7a 65 27 20 22 | current| size' "|
|00005ea0| 24 57 63 5f 63 22 0a 66 | 69 0a 23 20 3d 3d 3d 3d |$Wc_c".f|i.# ====|
|00005eb0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 20 61 64 64 6f 6e 2e |========|= addon.|
|00005ec0| 63 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |c ======|========|
|00005ed0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 61 64 64 |.if test| -f 'add|
|00005ee0| 6f 6e 2e 63 27 20 2d 61 | 20 58 22 24 31 22 20 21 |on.c' -a| X"$1" !|
|00005ef0| 3d 20 58 22 2d 63 22 3b | 20 74 68 65 6e 0a 09 65 |= X"-c";| then..e|
|00005f00| 63 68 6f 20 27 78 20 2d | 20 73 6b 69 70 70 69 6e |cho 'x -| skippin|
|00005f10| 67 20 61 64 64 6f 6e 2e | 63 20 28 46 69 6c 65 20 |g addon.|c (File |
|00005f20| 61 6c 72 65 61 64 79 20 | 65 78 69 73 74 73 29 27 |already |exists)'|
|00005f30| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 27 78 20 2d 20 |.else.ec|ho 'x - |
|00005f40| 65 78 74 72 61 63 74 69 | 6e 67 20 61 64 64 6f 6e |extracti|ng addon|
|00005f50| 2e 63 20 28 54 65 78 74 | 29 27 0a 73 65 64 20 27 |.c (Text|)'.sed '|
|00005f60| 73 2f 5e 58 2f 2f 27 20 | 3c 3c 20 27 53 48 41 52 |s/^X//' |<< 'SHAR|
|00005f70| 5f 45 4f 46 27 20 3e 20 | 27 61 64 64 6f 6e 2e 63 |_EOF' > |'addon.c|
|00005f80| 27 20 26 26 0a 2f 2a 43 | 6f 70 79 72 69 67 68 74 |' &&./*C|opyright|
|00005f90| 20 28 63 29 20 31 39 39 | 31 20 58 65 72 6f 78 20 | (c) 199|1 Xerox |
|00005fa0| 43 6f 72 70 6f 72 61 74 | 69 6f 6e 2e 20 20 41 6c |Corporat|ion. Al|
|00005fb0| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|00005fc0| 64 2e 0a 58 0a 58 20 20 | 50 65 72 6d 69 73 73 69 |d..X.X |Permissi|
|00005fd0| 6f 6e 20 74 6f 20 75 73 | 65 2c 20 20 63 6f 70 79 |on to us|e, copy|
|00005fe0| 2c 20 20 6d 6f 64 69 66 | 79 20 20 61 6e 64 20 20 |, modif|y and |
|00005ff0| 64 69 73 74 72 69 62 75 | 74 65 20 20 77 69 74 68 |distribu|te with|
|00006000| 6f 75 74 0a 58 20 20 63 | 68 61 72 67 65 20 74 68 |out.X c|harge th|
|00006010| 69 73 20 73 6f 66 74 77 | 61 72 65 2c 20 64 6f 63 |is softw|are, doc|
|00006020| 75 6d 65 6e 74 61 74 69 | 6f 6e 2c 20 69 6d 61 67 |umentati|on, imag|
|00006030| 65 73 2c 20 65 74 63 2e | 20 69 73 20 67 72 61 6e |es, etc.| is gran|
|00006040| 74 2d 0a 58 20 20 65 64 | 2c 20 70 72 6f 76 69 64 |t-.X ed|, provid|
|00006050| 65 64 20 74 68 61 74 20 | 74 68 69 73 20 63 6f 70 |ed that |this cop|
|00006060| 79 72 69 67 68 74 20 61 | 6e 64 20 74 68 65 20 61 |yright a|nd the a|
|00006070| 75 74 68 6f 72 27 73 20 | 20 6e 61 6d 65 20 20 69 |uthor's | name i|
|00006080| 73 0a 58 20 20 72 65 74 | 61 69 6e 65 64 2e 0a 58 |s.X ret|ained..X|
|00006090| 0a 58 20 20 41 20 66 65 | 65 20 6d 61 79 20 62 65 |.X A fe|e may be|
|000060a0| 20 63 68 61 72 67 65 64 | 20 66 6f 72 20 74 68 69 | charged| for thi|
|000060b0| 73 20 70 72 6f 67 72 61 | 6d 20 4f 4e 4c 59 20 74 |s progra|m ONLY t|
|000060c0| 6f 20 72 65 63 6f 76 65 | 72 20 63 6f 73 74 73 0a |o recove|r costs.|
|000060d0| 58 20 20 66 6f 72 20 64 | 69 73 74 72 69 62 75 74 |X for d|istribut|
|000060e0| 69 6f 6e 20 28 69 2e 65 | 2e 20 6d 65 64 69 61 20 |ion (i.e|. media |
|000060f0| 63 6f 73 74 73 29 2e 20 | 20 4e 6f 20 70 72 6f 66 |costs). | No prof|
|00006100| 69 74 20 63 61 6e 20 62 | 65 20 6d 61 64 65 0a 58 |it can b|e made.X|
|00006110| 20 20 6f 6e 20 74 68 69 | 73 20 70 72 6f 67 72 61 | on thi|s progra|
|00006120| 6d 2e 0a 58 0a 58 20 20 | 54 68 65 20 61 75 74 68 |m..X.X |The auth|
|00006130| 6f 72 20 61 73 73 75 6d | 65 73 20 6e 6f 20 72 65 |or assum|es no re|
|00006140| 73 70 6f 6e 73 69 62 69 | 6c 69 74 79 20 66 6f 72 |sponsibi|lity for|
|00006150| 20 64 69 73 61 73 74 65 | 72 73 20 28 6e 61 74 75 | disaste|rs (natu|
|00006160| 72 61 6c 0a 58 20 20 6f | 72 20 6f 74 68 65 72 77 |ral.X o|r otherw|
|00006170| 69 73 65 29 20 61 73 20 | 61 20 63 6f 6e 73 65 71 |ise) as |a conseq|
|00006180| 75 65 6e 63 65 20 6f 66 | 20 75 73 65 20 6f 66 20 |uence of| use of |
|00006190| 74 68 69 73 20 73 6f 66 | 74 77 61 72 65 2e 0a 58 |this sof|tware..X|
|000061a0| 0a 58 20 20 41 64 61 6d | 20 53 74 65 69 6e 20 28 |.X Adam| Stein (|
|000061b0| 73 74 65 69 6e 2e 77 62 | 73 74 31 32 39 40 78 65 |stein.wb|st129@xe|
|000061c0| 72 6f 78 2e 63 6f 6d 29 | 0a 2a 2f 0a 58 0a 23 69 |rox.com)|.*/.X.#i|
|000061d0| 6e 63 6c 75 64 65 20 3c | 73 74 64 69 6f 2e 68 3e |nclude <|stdio.h>|
|000061e0| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 63 74 79 70 65 |.#includ|e <ctype|
|000061f0| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 58 31 |.h>.#inc|lude <X1|
|00006200| 31 2f 58 6f 73 2e 68 3e | 0a 23 69 6e 63 6c 75 64 |1/Xos.h>|.#includ|
|00006210| 65 20 22 61 64 64 6f 6e | 2e 68 22 0a 58 0a 41 44 |e "addon|.h".X.AD|
|00006220| 44 4f 4e 20 2a 68 65 61 | 64 20 3d 20 4e 55 4c 4c |DON *hea|d = NULL|
|00006230| 3b 0a 65 78 74 65 72 6e | 20 63 68 61 72 20 2a 70 |;.extern| char *p|
|00006240| 72 6f 67 72 61 6d 2c 2a | 61 64 64 6f 6e 3b 0a 65 |rogram,*|addon;.e|
|00006250| 78 74 65 72 6e 20 46 49 | 4c 45 20 2a 66 70 3b 0a |xtern FI|LE *fp;.|
|00006260| 58 0a 2f 2a 54 68 69 73 | 20 66 75 6e 63 74 69 6f |X./*This| functio|
|00006270| 6e 20 77 69 6c 6c 20 72 | 65 61 64 20 69 6e 20 61 |n will r|ead in a|
|00006280| 20 66 69 6c 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | file co|ntaining|
|00006290| 20 73 74 72 69 6e 67 73 | 20 74 6f 20 70 75 74 20 | strings| to put |
|000062a0| 6f 6e 74 6f 20 74 68 65 | 0a 58 20 20 63 6f 6d 6d |onto the|.X comm|
|000062b0| 61 6e 64 20 6c 69 6e 65 | 2e 20 20 54 68 69 73 20 |and line|. This |
|000062c0| 69 73 20 75 73 65 64 20 | 77 68 65 6e 20 57 4d 5f |is used |when WM_|
|000062d0| 43 4f 4d 4d 41 4e 44 20 | 69 73 6e 27 74 20 63 6f |COMMAND |isn't co|
|000062e0| 6d 70 6c 65 74 65 2e 20 | 20 49 6e 20 74 68 65 20 |mplete. | In the |
|000062f0| 63 61 73 65 0a 58 20 20 | 6f 66 20 78 72 6f 6c 6f |case.X |of xrolo|
|00006300| 2c 20 74 68 65 20 64 61 | 74 61 20 66 69 6c 65 20 |, the da|ta file |
|00006310| 69 73 20 6e 65 76 65 72 | 20 6c 69 73 74 65 64 20 |is never| listed |
|00006320| 69 6e 20 57 4d 5f 43 4f | 4d 4d 41 4e 44 20 61 6e |in WM_CO|MMAND an|
|00006330| 64 20 6d 75 73 74 20 62 | 65 20 70 75 74 0a 58 20 |d must b|e put.X |
|00006340| 20 61 64 64 65 64 2e 20 | 20 49 20 64 6f 6e 27 74 | added. | I don't|
|00006350| 20 6b 6e 6f 77 20 69 66 | 20 74 68 69 73 20 69 73 | know if| this is|
|00006360| 20 61 6e 20 58 56 49 45 | 57 20 62 75 67 20 6f 72 | an XVIE|W bug or|
|00006370| 20 6e 6f 74 2e 20 20 49 | 20 68 61 76 65 6e 27 74 | not. I| haven't|
|00006380| 20 73 65 65 6e 20 69 74 | 0a 58 20 20 77 69 74 68 | seen it|.X with|
|00006390| 20 61 6e 79 20 6f 74 68 | 65 72 20 70 72 6f 67 72 | any oth|er progr|
|000063a0| 61 6d 20 28 79 65 74 29 | 2e 0a 58 0a 58 20 20 49 |am (yet)|..X.X I|
|000063b0| 6e 70 75 74 73 3a 20 20 | 6e 6f 6e 65 0a 58 20 20 |nputs: |none.X |
|000063c0| 4f 75 74 70 75 74 73 3a | 20 6e 6f 6e 65 0a 58 20 |Outputs:| none.X |
|000063d0| 20 4c 6f 63 61 6c 73 3a | 20 20 66 70 20 20 20 20 | Locals:| fp |
|000063e0| 20 20 2d 20 66 69 6c 65 | 20 70 6f 69 6e 74 65 72 | - file| pointer|
|000063f0| 20 74 6f 20 72 65 61 64 | 20 66 72 6f 6d 0a 58 09 | to read| from.X.|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.