Hex Artifact Content
Not logged in

Artifact 313d5da7c2a7037bf03a929d7d2da496c21f99aa:

Wiki page [Cookbook] by renez 2010-08-28 11:04:44.
0000: 44 20 32 30 31 30 2d 30 38 2d 32 38 54 31 31 3a  D 2010-08-28T11:
0010: 30 34 3a 34 34 0a 4c 20 43 6f 6f 6b 62 6f 6f 6b  04:44.L Cookbook
0020: 0a 50 20 35 64 38 65 63 63 36 36 65 61 66 31 31  .P 5d8ecc66eaf11
0030: 61 66 36 32 38 34 32 66 63 62 34 61 63 35 34 63  af62842fcb4ac54c
0040: 63 33 64 61 62 37 36 31 39 64 31 0a 55 20 72 65  c3dab7619d1.U re
0050: 6e 65 7a 0a 57 20 36 34 30 30 35 0a 3c 68 31 3e  nez.W 64005.<h1>
0060: 46 6f 73 73 69 6c 20 43 6f 6f 6b 62 6f 6f 6b 3c  Fossil Cookbook<
0070: 2f 68 31 3e 0d 0a 54 68 65 20 3c 63 69 74 65 3e  /h1>..The <cite>
0080: 46 6f 73 73 69 6c 3c 2f 63 69 74 65 3e 20 43 6f  Fossil</cite> Co
0090: 6f 6b 62 6f 6f 6b 20 69 73 20 61 20 63 6f 6c 6c  okbook is a coll
00a0: 65 63 74 69 6f 6e 20 6f 66 20 74 61 73 6b 2d 6f  ection of task-o
00b0: 72 69 65 6e 74 65 64 20 69 6e 73 74 72 75 63 74  riented instruct
00c0: 69 6f 6e 73 20 66 6f 72 20 69 6e 74 65 72 6d 65  ions for interme
00d0: 64 69 61 74 65 20 75 73 65 72 73 20 77 68 6f 20  diate users who 
00e0: 77 69 73 68 20 74 6f 20 64 6f 20 6d 6f 72 65 20  wish to do more 
00f0: 74 68 61 6e 20 62 61 73 69 63 20 6f 70 65 72 61  than basic opera
0100: 74 69 6f 6e 73 20 77 69 74 68 20 74 68 65 69 72  tions with their
0110: 20 3c 63 69 74 65 3e 46 6f 73 73 69 6c 3c 2f 63   <cite>Fossil</c
0120: 69 74 65 3e 20 72 65 70 6f 73 69 74 6f 72 69 65  ite> repositorie
0130: 73 2e 20 20 54 68 65 20 5b 54 75 74 6f 72 69 61  s.  The [Tutoria
0140: 6c 7c 74 75 74 6f 72 69 61 6c 5d 20 69 73 20 61  l|tutorial] is a
0150: 20 6d 6f 72 65 20 73 75 69 74 61 62 6c 65 20 70   more suitable p
0160: 6c 61 63 65 20 66 6f 72 20 6e 65 77 63 6f 6d 65  lace for newcome
0170: 72 73 20 74 72 79 69 6e 67 20 74 6f 20 6c 65 61  rs trying to lea
0180: 72 6e 20 74 68 65 20 62 61 73 69 63 20 63 6f 6e  rn the basic con
0190: 63 65 70 74 73 20 74 6f 20 67 6f 20 66 69 72 73  cepts to go firs
01a0: 74 20 62 65 66 6f 72 65 20 74 61 63 6b 6c 69 6e  t before tacklin
01b0: 67 20 74 68 65 73 65 20 72 65 63 69 70 65 73 2e  g these recipes.
01c0: 0d 0a 0d 0a 3c 68 32 3e 49 6e 64 65 78 3c 2f 68  ....<h2>Index</h
01d0: 32 3e 0d 0a 3c 75 6c 3e 0d 0a 20 20 3c 6c 69 3e  2>..<ul>..  <li>
01e0: 53 65 72 76 65 72 20 72 65 63 69 70 65 73 3a 0d  Server recipes:.
01f0: 0a 20 20 20 20 3c 75 6c 3e 0d 0a 20 20 20 20 20  .    <ul>..     
0200: 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22 23 43   <li><a href="#C
0210: 47 49 22 3e 55 73 69 6e 67 20 3c 63 69 74 65 3e  GI">Using <cite>
0220: 46 6f 73 73 69 6c 3c 2f 63 69 74 65 3e 27 73 20  Fossil</cite>'s 
0230: 42 75 69 6c 74 2d 49 6e 20 43 47 49 3c 2f 61 3e  Built-In CGI</a>
0240: 0d 0a 20 20 20 20 3c 2f 75 6c 3e 0d 0a 20 20 3c  ..    </ul>..  <
0250: 2f 6c 69 3e 0d 0a 20 20 3c 6c 69 3e 3c 61 20 68  /li>..  <li><a h
0260: 72 65 66 3d 22 23 65 6e 76 22 3e 55 73 69 6e 67  ref="#env">Using
0270: 20 45 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72   Environment var
0280: 69 61 62 6c 65 73 3c 2f 61 3e 3c 2f 6c 69 3e 0d  iables</a></li>.
0290: 0a 20 20 3c 6c 69 3e 3c 61 20 68 72 65 66 3d 22  .  <li><a href="
02a0: 23 63 73 73 22 3e 45 78 61 6d 70 6c 65 20 43 53  #css">Example CS
02b0: 53 3c 2f 61 3e 3c 2f 6c 69 3e 0d 0a 20 20 3c 6c  S</a></li>..  <l
02c0: 69 3e 3c 61 20 68 72 65 66 3d 22 23 73 6f 75 72  i><a href="#sour
02d0: 63 65 2d 68 69 6c 69 67 68 74 22 3e 53 6f 75 72  ce-hilight">Sour
02e0: 63 65 20 68 69 67 68 6c 69 67 68 74 69 6e 67 3c  ce highlighting<
02f0: 2f 61 3e 3c 2f 6c 69 3e 0d 0a 20 20 3c 6c 69 3e  /a></li>..  <li>
0300: 3c 61 20 68 72 65 66 3d 22 23 77 69 6e 33 32 64  <a href="#win32d
0310: 65 76 22 3e 46 6f 73 73 69 6c 20 57 69 6e 33 32  ev">Fossil Win32
0320: 20 44 65 76 65 6c 6f 70 6d 65 6e 74 20 4d 61 63   Development Mac
0330: 68 69 6e 65 20 73 65 74 75 70 3c 2f 61 3e 3c 2f  hine setup</a></
0340: 6c 69 3e 0d 0a 20 20 3c 6c 69 3e 3c 61 20 68 72  li>..  <li><a hr
0350: 65 66 3d 22 23 4d 69 6e 67 57 22 3e 43 6f 6d 70  ef="#MingW">Comp
0360: 69 6c 69 6e 67 20 66 6f 72 20 77 69 6e 64 6f 77  iling for window
0370: 73 3c 2f 61 3e 3c 2f 6c 69 3e 0d 0a 20 20 3c 6c  s</a></li>..  <l
0380: 69 3e 5b 63 6f 6d 70 69 6c 6c 69 6e 67 4f 6e 57  i>[compillingOnW
0390: 69 6e 64 6f 77 73 7c 20 70 61 67 65 20 64 65 73  indows| page des
03a0: 63 72 69 62 69 6e 67 20 68 6f 77 20 74 6f 20 63  cribing how to c
03b0: 6f 6d 70 69 6c 65 20 6f 6e 20 77 69 6e 64 6f 77  ompile on window
03c0: 73 5d 3c 2f 6c 69 3e 0d 0a 20 20 3c 6c 69 3e 3c  s]</li>..  <li><
03d0: 61 20 68 72 65 66 3d 22 23 77 79 73 69 77 69 67  a href="#wysiwig
03e0: 22 3e 4a 61 76 61 73 63 72 69 70 74 20 48 54 4d  ">Javascript HTM
03f0: 4c 20 57 59 53 49 57 59 47 20 65 64 69 74 6f 72  L WYSIWYG editor
0400: 20 63 6f 6e 74 72 6f 6c 3c 2f 61 3e 0d 0a 20 20   control</a>..  
0410: 20 20 3c 75 6c 3e 0d 0a 20 20 20 20 20 20 3c 6c    <ul>..      <l
0420: 69 3e 3c 61 20 68 72 65 66 3d 22 23 74 69 6e 79  i><a href="#tiny
0430: 6d 63 65 22 3e 54 69 6e 79 4d 43 45 3c 2f 61 3e  mce">TinyMCE</a>
0440: 3c 2f 6c 69 3e 0d 0a 20 20 20 20 20 20 3c 6c 69  </li>..      <li
0450: 3e 3c 61 20 68 72 65 66 3d 22 23 6d 61 72 6b 69  ><a href="#marki
0460: 74 75 70 22 3e 6d 61 72 6b 69 74 75 70 21 3c 2f  tup">markitup!</
0470: 61 3e 3c 2f 6c 69 3e 0d 0a 20 20 20 20 3c 2f 75  a></li>..    </u
0480: 6c 3e 0d 0a 20 20 3c 2f 6c 69 3e 0d 0a 20 20 3c  l>..  </li>..  <
0490: 6c 69 3e 3c 61 20 68 72 65 66 3d 22 23 74 69 63  li><a href="#tic
04a0: 6b 65 74 2d 63 68 65 63 6b 69 6e 2d 6c 69 6e 6b  ket-checkin-link
04b0: 73 22 3e 4c 69 6e 6b 20 74 69 63 6b 65 74 73 20  s">Link tickets 
04c0: 74 6f 20 63 68 65 63 6b 69 6e 73 3c 2f 61 3e 3c  to checkins</a><
04d0: 2f 6c 69 3e 0d 0a 20 20 3c 6c 69 3e 3c 61 20 68  /li>..  <li><a h
04e0: 72 65 66 3d 22 23 74 68 31 2d 75 73 61 67 65 22  ref="#th1-usage"
04f0: 3e 46 6f 73 73 69 6c 20 61 6e 64 20 54 68 31 3c  >Fossil and Th1<
0500: 2f 61 3e 3c 2f 6c 69 3e 0d 0a 20 20 3c 6c 69 3e  /a></li>..  <li>
0510: 3c 61 20 68 72 65 66 3d 22 23 76 65 72 73 69 6f  <a href="#versio
0520: 6e 43 6f 6d 70 72 65 73 73 65 64 22 3e 56 65 72  nCompressed">Ver
0530: 73 69 6f 6e 69 6e 67 20 63 6f 6d 70 72 65 73 73  sioning compress
0540: 65 64 20 66 69 6c 65 73 3c 2f 61 3e 3c 2f 6c 69  ed files</a></li
0550: 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 0d 0a 3c 68 32 3e  >..</ul>....<h2>
0560: 3c 61 20 6e 61 6d 65 3d 22 43 47 49 22 3e 55 73  <a name="CGI">Us
0570: 69 6e 67 20 3c 63 69 74 65 3e 46 6f 73 73 69 6c  ing <cite>Fossil
0580: 3c 2f 63 69 74 65 3e 27 73 20 42 75 69 6c 74 2d  </cite>'s Built-
0590: 49 6e 20 43 47 49 3c 2f 61 3e 3c 2f 68 32 3e 0d  In CGI</a></h2>.
05a0: 0a 3c 68 33 3e 4d 6f 74 69 76 61 74 69 6f 6e 3c  .<h3>Motivation<
05b0: 2f 68 33 3e 0d 0a 20 20 2a 20 20 59 6f 75 20 77  /h3>..  *  You w
05c0: 61 6e 74 20 74 6f 20 73 68 61 72 65 20 61 20 72  ant to share a r
05d0: 65 70 6f 73 69 74 6f 72 79 20 74 68 72 6f 75 67  epository throug
05e0: 68 20 79 6f 75 72 20 65 78 69 73 74 69 6e 67 20  h your existing 
05f0: 77 65 62 20 69 6e 66 72 61 73 74 72 75 63 74 75  web infrastructu
0600: 72 65 2e 0d 0a 20 20 2a 20 20 59 6f 75 20 77 61  re...  *  You wa
0610: 6e 74 20 74 6f 20 73 68 61 72 65 20 6d 6f 72 65  nt to share more
0620: 20 74 68 61 6e 20 6f 6e 65 20 72 65 70 6f 73 69   than one reposi
0630: 74 6f 72 79 20 61 74 20 74 68 65 20 73 61 6d 65  tory at the same
0640: 20 74 69 6d 65 2e 0d 0a 0d 0a 3c 68 33 3e 50 72   time.....<h3>Pr
0650: 6f 62 6c 65 6d 3c 2f 68 33 3e 0d 0a 55 6e 6c 69  oblem</h3>..Unli
0660: 6b 65 20 73 6f 6d 65 20 6f 74 68 65 72 20 64 69  ke some other di
0670: 73 74 72 69 62 75 74 65 64 20 53 43 4d 73 2c 20  stributed SCMs, 
0680: 3c 63 69 74 65 3e 46 6f 73 73 69 6c 3c 2f 63 69  <cite>Fossil</ci
0690: 74 65 3e 20 63 61 6e 20 6f 6e 6c 79 20 63 6c 6f  te> can only clo
06a0: 6e 65 2c 20 70 75 73 68 2c 20 70 75 6c 6c 20 61  ne, push, pull a
06b0: 6e 64 20 61 6e 64 20 6f 74 68 65 72 77 69 73 65  nd and otherwise
06c0: 20 69 6e 74 65 72 61 63 74 20 74 68 72 6f 75 67   interact throug
06d0: 68 20 72 65 70 6f 73 69 74 6f 72 69 65 73 20 6f  h repositories o
06e0: 76 65 72 20 48 54 54 50 2e 20 20 54 68 69 73 20  ver HTTP.  This 
06f0: 63 61 6e 20 62 65 20 73 69 6d 70 6c 79 20 61 6e  can be simply an
0700: 64 20 65 61 73 69 6c 79 20 6d 61 6e 61 67 65 64  d easily managed
0710: 20 74 68 72 6f 75 67 68 20 75 73 65 20 6f 66 20   through use of 
0720: 74 68 65 20 3c 63 6f 64 65 3e 66 6f 73 73 69 6c  the <code>fossil
0730: 20 73 65 72 76 65 72 3c 2f 63 6f 64 65 3e 20 61   server</code> a
0740: 6e 64 2f 6f 72 20 3c 63 6f 64 65 3e 66 6f 73 73  nd/or <code>foss
0750: 69 6c 20 75 69 3c 2f 63 6f 64 65 3e 20 63 6f 6d  il ui</code> com
0760: 6d 61 6e 64 73 2c 20 6f 66 20 63 6f 75 72 73 65  mands, of course
0770: 2c 20 62 75 74 20 74 68 69 73 20 69 73 20 72 65  , but this is re
0780: 61 6c 6c 79 20 6f 6e 6c 79 20 61 64 65 71 75 61  ally only adequa
0790: 74 65 20 66 6f 72 20 61 64 2d 68 6f 63 20 72 65  te for ad-hoc re
07a0: 70 6f 73 69 74 6f 72 79 20 73 68 61 72 69 6e 67  pository sharing
07b0: 2e 20 20 43 6f 6e 73 69 64 65 72 2c 20 66 6f 72  .  Consider, for
07c0: 20 65 78 61 6d 70 6c 65 2c 20 73 68 61 72 69 6e   example, sharin
07d0: 67 20 74 65 6e 20 72 65 70 6f 73 69 74 6f 72 69  g ten repositori
07e0: 65 73 2e 20 20 55 73 69 6e 67 20 74 68 65 20 62  es.  Using the b
07f0: 75 69 6c 74 2d 69 6e 20 73 65 72 76 65 72 20 77  uilt-in server w
0800: 6f 75 6c 64 20 72 65 71 75 69 72 65 20 79 6f 75  ould require you
0810: 20 74 6f 20 6f 70 65 6e 20 74 65 6e 20 70 6f 72   to open ten por
0820: 74 73 20 69 6e 20 79 6f 75 72 20 66 69 72 65 77  ts in your firew
0830: 61 6c 6c 20 74 6f 20 70 65 72 6d 69 74 20 61 63  all to permit ac
0840: 63 65 73 73 2e 20 20 41 6e 79 20 73 65 72 69 6f  cess.  Any serio
0850: 75 73 20 73 68 61 72 69 6e 67 20 77 69 6c 6c 20  us sharing will 
0860: 72 65 71 75 69 72 65 20 73 6f 6d 65 74 68 69 6e  require somethin
0870: 67 20 6d 6f 72 65 20 72 6f 62 75 73 74 20 61 6e  g more robust an
0880: 64 20 70 65 72 6d 61 6e 65 6e 74 2c 20 61 6e 64  d permanent, and
0890: 20 73 6f 6c 75 74 69 6f 6e 73 20 66 6f 72 20 64   solutions for d
08a0: 6f 69 6e 67 20 73 6f 20 61 72 65 20 64 65 73 63  oing so are desc
08b0: 72 69 62 65 64 20 62 65 6c 6f 77 2e 0d 0a 0d 0a  ribed below.....
08c0: 3c 68 33 3e 53 6f 6c 75 74 69 6f 6e 3c 2f 68 33  <h3>Solution</h3
08d0: 3e 0d 0a 3c 63 69 74 65 3e 46 6f 73 73 69 6c 3c  >..<cite>Fossil<
08e0: 2f 63 69 74 65 3e 20 73 75 70 70 6f 72 74 73 20  /cite> supports 
08f0: 74 68 72 65 65 20 64 69 66 66 65 72 65 6e 74 20  three different 
0900: 77 61 79 73 20 74 6f 20 73 68 61 72 65 20 72 65  ways to share re
0910: 70 6f 73 69 74 6f 72 69 65 73 2e 20 20 46 6f 72  positories.  For
0920: 20 61 64 2d 68 6f 63 20 73 68 61 72 69 6e 67 20   ad-hoc sharing 
0930: 3c 63 6f 64 65 3e 66 6f 73 73 69 6c 20 73 65 72  <code>fossil ser
0940: 76 65 72 2f 75 69 3c 2f 63 6f 64 65 3e 20 69 73  ver/ui</code> is
0950: 20 6d 6f 72 65 20 74 68 61 6e 20 61 64 65 71 75   more than adequ
0960: 61 74 65 2e 20 20 46 6f 72 20 6d 6f 72 65 20 72  ate.  For more r
0970: 6f 62 75 73 74 20 73 6f 6c 75 74 69 6f 6e 73 2c  obust solutions,
0980: 20 68 6f 77 65 76 65 72 2c 20 74 68 65 20 75 73   however, the us
0990: 65 20 6f 66 20 3c 63 69 74 65 3e 28 78 29 69 6e  e of <cite>(x)in
09a0: 65 74 64 3c 2f 63 69 74 65 3e 20 6f 72 20 43 47  etd</cite> or CG
09b0: 49 20 73 75 70 70 6f 72 74 20 69 73 20 69 6e 64  I support is ind
09c0: 69 63 61 74 65 64 2e 0d 0a 0d 0a 53 65 74 74 69  icated.....Setti
09d0: 6e 67 20 75 70 20 66 6f 73 73 69 6c 20 66 6f 72  ng up fossil for
09e0: 20 43 47 49 20 73 75 70 70 6f 72 74 20 69 73 20   CGI support is 
09f0: 73 69 6d 70 6c 65 2e 20 20 28 53 65 74 74 69 6e  simple.  (Settin
0a00: 67 20 75 70 20 79 6f 75 72 20 77 65 62 20 73 65  g up your web se
0a10: 72 76 65 72 20 66 6f 72 20 43 47 49 20 73 75 70  rver for CGI sup
0a20: 70 6f 72 74 20 6d 61 79 20 6f 72 20 6d 61 79 20  port may or may 
0a30: 6e 6f 74 20 62 65 20 73 69 6d 70 6c 65 2c 20 62  not be simple, b
0a40: 75 74 20 69 74 20 69 73 20 6f 75 74 20 6f 66 20  ut it is out of 
0a50: 73 63 6f 70 65 20 6f 66 20 74 68 69 73 20 72 65  scope of this re
0a60: 63 69 70 65 2e 20 20 43 6f 6e 73 75 6c 74 20 79  cipe.  Consult y
0a70: 6f 75 72 20 77 65 62 20 73 65 72 76 65 72 2f 73  our web server/s
0a80: 65 72 76 69 63 65 20 70 72 6f 76 69 64 65 72 27  ervice provider'
0a90: 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20  s documentation 
0aa0: 66 6f 72 20 74 68 69 73 2e 29 0d 0a 0d 0a 3c 68  for this.)....<h
0ab0: 34 3e 55 4e 49 58 3c 2f 68 34 3e 0d 0a 20 20 31  4>UNIX</h4>..  1
0ac0: 2e 20 20 46 69 6e 64 20 79 6f 75 72 20 43 47 49  .  Find your CGI
0ad0: 20 73 63 72 69 70 74 73 20 64 69 72 65 63 74 6f   scripts directo
0ae0: 72 79 20 28 69 66 20 61 70 70 6c 69 63 61 62 6c  ry (if applicabl
0af0: 65 29 2e 20 20 54 68 69 73 20 69 73 20 63 6f 6d  e).  This is com
0b00: 6d 6f 6e 6c 79 20 73 6f 6d 65 74 68 69 6e 67 20  monly something 
0b10: 6c 69 6b 65 20 3c 62 61 73 65 3e 2f 63 67 69 2d  like <base>/cgi-
0b20: 62 69 6e 2f 2c 20 62 75 74 20 64 6f 65 73 20 6e  bin/, but does n
0b30: 6f 74 20 68 61 76 65 20 74 6f 20 62 65 2e 0d 0a  ot have to be...
0b40: 20 20 32 2e 20 20 49 6e 73 69 64 65 20 74 68 61    2.  Inside tha
0b50: 74 20 64 69 72 65 63 74 6f 72 79 20 62 75 69 6c  t directory buil
0b60: 64 20 61 20 73 63 72 69 70 74 20 66 69 6c 65 20  d a script file 
0b70: 77 68 69 63 68 20 6c 6f 6f 6b 73 20 6c 69 6b 65  which looks like
0b80: 20 74 68 69 73 3a 3c 62 72 3e 3c 63 6f 64 65 3e   this:<br><code>
0b90: 3c 70 72 65 3e 20 20 23 21 20 2f 75 73 72 2f 62  <pre>  #! /usr/b
0ba0: 69 6e 2f 65 6e 76 20 66 6f 73 73 69 6c 3c 62 72  in/env fossil<br
0bb0: 3e 20 20 72 65 70 6f 73 69 74 6f 72 79 3a 20 2f  >  repository: /
0bc0: 66 75 6c 6c 2f 70 61 74 68 2f 74 6f 2f 72 65 70  full/path/to/rep
0bd0: 6f 73 69 74 6f 72 79 2f 66 69 6c 65 2e 66 73 6c  ository/file.fsl
0be0: 3c 2f 70 72 65 3e 3c 2f 63 6f 64 65 3e 0d 0a 20  </pre></code>.. 
0bf0: 20 33 2e 20 20 45 6e 73 75 72 65 20 74 68 61 74   3.  Ensure that
0c00: 20 74 68 65 20 73 63 72 69 70 74 20 66 69 6c 65   the script file
0c10: 20 73 6f 20 67 65 6e 65 72 61 74 65 64 20 69 73   so generated is
0c20: 20 73 65 74 20 65 78 65 63 75 74 61 62 6c 65 20   set executable 
0c30: 66 6f 72 20 74 68 65 20 43 47 49 20 75 73 65 72  for the CGI user
0c40: 20 61 63 63 6f 75 6e 74 2e 0d 0a 20 20 34 2e 20   account...  4. 
0c50: 20 45 6e 73 75 72 65 20 74 68 61 74 20 65 76 65   Ensure that eve
0c60: 72 79 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20  ry directory in 
0c70: 74 68 65 20 70 61 74 68 20 6c 65 61 64 69 6e 67  the path leading
0c80: 20 74 6f 20 74 68 65 20 72 65 70 6f 73 69 74 6f   to the reposito
0c90: 72 79 20 69 73 20 20 62 72 6f 77 73 65 61 62 6c  ry is  browseabl
0ca0: 65 20 28 63 68 6d 6f 64 20 2b 78 29 20 74 6f 20  e (chmod +x) to 
0cb0: 74 68 65 20 43 47 49 20 75 73 65 72 20 61 63 63  the CGI user acc
0cc0: 6f 75 6e 74 2e 0d 0a 20 20 35 2e 20 20 45 6e 73  ount...  5.  Ens
0cd0: 75 72 65 20 74 68 61 74 20 74 68 65 20 72 65 70  ure that the rep
0ce0: 6f 73 69 74 6f 72 79 20 66 69 6c 65 20 69 73 20  ository file is 
0cf0: 72 65 61 64 61 62 6c 65 20 3c 65 6d 3e 61 6e 64  readable <em>and
0d00: 3c 2f 65 6d 3e 20 77 72 69 74 61 62 6c 65 20 74  </em> writable t
0d10: 6f 20 74 68 65 20 43 47 49 20 75 73 65 72 20 61  o the CGI user a
0d20: 63 63 6f 75 6e 74 2e 0d 0a 0d 0a 54 68 65 20 66  ccount.....The f
0d30: 6f 6c 6c 6f 77 69 6e 67 20 73 68 65 6c 6c 20 73  ollowing shell s
0d40: 63 72 69 70 74 20 63 61 6e 20 62 65 20 72 75 6e  cript can be run
0d50: 20 66 72 6f 6d 20 77 69 74 68 69 6e 20 74 68 65   from within the
0d60: 20 64 69 72 65 63 74 6f 72 79 20 63 6f 6e 74 61   directory conta
0d70: 69 6e 69 6e 67 20 74 68 65 20 3c 63 69 74 65 3e  ining the <cite>
0d80: 46 6f 73 73 69 6c 3c 2f 63 69 74 65 3e 20 72 65  Fossil</cite> re
0d90: 70 6f 73 69 74 6f 72 69 65 73 20 74 6f 20 62 65  positories to be
0da0: 20 73 68 61 72 65 64 20 28 61 6e 64 2c 20 6f 66   shared (and, of
0db0: 20 63 6f 75 72 73 65 2c 20 61 6c 74 65 72 65 64   course, altered
0dc0: 20 66 6f 72 20 79 6f 75 72 20 73 65 74 75 70 29   for your setup)
0dd0: 20 74 6f 20 73 65 74 20 73 6f 6d 65 20 6f 66 20   to set some of 
0de0: 74 68 65 20 63 6f 6e 73 74 72 61 69 6e 74 73 20  the constraints 
0df0: 61 62 6f 76 65 20 75 70 20 61 75 74 6f 6d 61 74  above up automat
0e00: 69 63 61 6c 6c 79 3a 0d 0a 0d 0a 3c 6e 6f 77 69  ically:....<nowi
0e10: 6b 69 3e 3c 66 6f 6e 74 20 66 61 63 65 3d 22 6d  ki><font face="m
0e20: 6f 6e 6f 73 70 61 63 65 22 3e 0d 0a 3c 66 6f 6e  onospace">..<fon
0e30: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
0e40: 22 3e 26 6e 62 73 70 3b 31 20 3c 2f 66 6f 6e 74  ">&nbsp;1 </font
0e50: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30  ><font color="#0
0e60: 30 30 30 66 66 22 3e 23 21 20 2f 62 69 6e 2f 73  000ff">#! /bin/s
0e70: 68 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  h</font><br>..<f
0e80: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
0e90: 32 61 22 3e 26 6e 62 73 70 3b 32 20 3c 2f 66 6f  2a">&nbsp;2 </fo
0ea0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
0eb0: 23 30 30 38 62 38 62 22 3e 43 47 49 5f 52 4f 4f  #008b8b">CGI_ROO
0ec0: 54 3c 2f 66 6f 6e 74 3e 3d 2f 75 73 72 2f 6c 69  T</font>=/usr/li
0ed0: 62 2f 66 6f 73 73 69 6c 3c 62 72 3e 0d 0a 3c 66  b/fossil<br>..<f
0ee0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
0ef0: 32 61 22 3e 26 6e 62 73 70 3b 33 20 3c 2f 66 6f  2a">&nbsp;3 </fo
0f00: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
0f10: 23 30 30 38 62 38 62 22 3e 52 45 50 4f 53 49 54  #008b8b">REPOSIT
0f20: 4f 52 59 5f 4f 57 4e 45 52 3c 2f 66 6f 6e 74 3e  ORY_OWNER</font>
0f30: 3d 6d 69 63 68 61 65 6c 3c 62 72 3e 0d 0a 3c 66  =michael<br>..<f
0f40: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
0f50: 32 61 22 3e 26 6e 62 73 70 3b 34 20 3c 2f 66 6f  2a">&nbsp;4 </fo
0f60: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
0f70: 23 30 30 38 62 38 62 22 3e 43 47 49 5f 47 52 4f  #008b8b">CGI_GRO
0f80: 55 50 3c 2f 66 6f 6e 74 3e 3d 77 77 77 2d 64 61  UP</font>=www-da
0f90: 74 61 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  ta<br>..<font co
0fa0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
0fb0: 62 73 70 3b 35 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  bsp;5 </font><fo
0fc0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
0fd0: 61 22 3e 3c 62 3e 69 66 3c 2f 62 3e 3c 2f 66 6f  a"><b>if</b></fo
0fe0: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
0ff0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
1000: 62 3e 5b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  b>[</b></font>&n
1010: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
1020: 22 23 36 61 35 61 63 64 22 3e 22 60 69 64 20 2d  "#6a5acd">"`id -
1030: 75 6e 60 22 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  un`"</font>&nbsp
1040: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ;<font color="#a
1050: 35 32 61 32 61 22 3e 3c 62 3e 3d 3c 2f 62 3e 3c  52a2a"><b>=</b><
1060: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e  /font>&nbsp;<fon
1070: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
1080: 22 3e 27 72 6f 6f 74 27 3c 2f 66 6f 6e 74 3e 26  ">'root'</font>&
1090: 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nbsp;<font color
10a0: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 5d 3c  ="#a52a2a"><b>]<
10b0: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  /b></font><br>..
10c0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
10d0: 32 61 32 61 22 3e 26 6e 62 73 70 3b 36 20 3c 2f  2a2a">&nbsp;6 </
10e0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
10f0: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 74 68  ="#a52a2a"><b>th
1100: 65 6e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72  en</b></font><br
1110: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
1120: 23 61 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 37  #a52a2a">&nbsp;7
1130: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
1140: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
1150: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 66 6f 72  "#a52a2a"><b>for
1160: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  </b></font>&nbsp
1170: 3b 72 65 70 6f 73 69 74 6f 72 79 20 3c 66 6f 6e  ;repository <fon
1180: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
1190: 22 3e 3c 62 3e 69 6e 3c 2f 62 3e 3c 2f 66 6f 6e  "><b>in</b></fon
11a0: 74 3e 26 6e 62 73 70 3b 2a 2e 66 73 6c 3c 62 72  t>&nbsp;*.fsl<br
11b0: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
11c0: 23 61 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 38  #a52a2a">&nbsp;8
11d0: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
11e0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
11f0: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 64 6f 3c  "#a52a2a"><b>do<
1200: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  /b></font><br>..
1210: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
1220: 32 61 32 61 22 3e 26 6e 62 73 70 3b 39 20 3c 2f  2a2a">&nbsp;9 </
1230: 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70  font>&nbsp;&nbsp
1240: 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f  ;&nbsp;&nbsp;<fo
1250: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38  nt color="#008b8
1260: 62 22 3e 53 4f 55 52 43 45 3c 2f 66 6f 6e 74 3e  b">SOURCE</font>
1270: 3d 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36  =<font color="#6
1280: 61 35 61 63 64 22 3e 60 3c 2f 66 6f 6e 74 3e 3c  a5acd">`</font><
1290: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
12a0: 61 32 61 22 3e 3c 62 3e 70 77 64 3c 2f 62 3e 3c  a2a"><b>pwd</b><
12b0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
12c0: 72 3d 22 23 36 61 35 61 63 64 22 3e 60 3c 2f 66  r="#6a5acd">`</f
12d0: 6f 6e 74 3e 2f 3c 66 6f 6e 74 20 63 6f 6c 6f 72  ont>/<font color
12e0: 3d 22 23 61 30 32 30 66 30 22 3e 24 72 65 70 6f  ="#a020f0">$repo
12f0: 73 69 74 6f 72 79 3c 2f 66 6f 6e 74 3e 3c 62 72  sitory</font><br
1300: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
1310: 23 61 35 32 61 32 61 22 3e 31 30 20 3c 2f 66 6f  #a52a2a">10 </fo
1320: 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26  nt>&nbsp;&nbsp;&
1330: 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74  nbsp;&nbsp;<font
1340: 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62 22   color="#008b8b"
1350: 3e 44 45 53 54 49 4e 41 54 49 4f 4e 3c 2f 66 6f  >DESTINATION</fo
1360: 6e 74 3e 3d 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  nt>=<font color=
1370: 22 23 61 30 32 30 66 30 22 3e 24 43 47 49 5f 52  "#a020f0">$CGI_R
1380: 4f 4f 54 3c 2f 66 6f 6e 74 3e 2f 3c 66 6f 6e 74  OOT</font>/<font
1390: 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22   color="#a020f0"
13a0: 3e 24 7b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  >${</font><font 
13b0: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
13c0: 72 65 70 6f 73 69 74 6f 72 79 3c 2f 66 6f 6e 74  repository</font
13d0: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
13e0: 35 32 61 32 61 22 3e 3c 62 3e 25 3c 2f 62 3e 3c  52a2a"><b>%</b><
13f0: 2f 66 6f 6e 74 3e 2e 66 73 6c 3c 66 6f 6e 74 20  /font>.fsl<font 
1400: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
1410: 7d 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  }</font><br>..<f
1420: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
1430: 32 61 22 3e 31 31 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">11 </font>&n
1440: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
1450: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
1460: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 65  r="#a52a2a"><b>e
1470: 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  cho</b></font><f
1480: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30  ont color="#ff00
1490: 66 66 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74  ff">&nbsp;</font
14a0: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
14b0: 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b  52a2a"><b>&quot;
14c0: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  </b></font><font
14d0: 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22   color="#ff00ff"
14e0: 3e 23 21 20 2f 75 73 72 2f 62 69 6e 2f 65 6e 76  >#! /usr/bin/env
14f0: 20 66 6f 73 73 69 6c 3c 2f 66 6f 6e 74 3e 3c 66   fossil</font><f
1500: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
1510: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
1520: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
1530: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e  lor="#ff00ff">&n
1540: 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  bsp;</font><font
1550: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
1560: 3e 3c 62 3e 26 67 74 3b 3c 2f 62 3e 3c 2f 66 6f  ><b>&gt;</b></fo
1570: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
1580: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
1590: 44 45 53 54 49 4e 41 54 49 4f 4e 3c 2f 66 6f 6e  DESTINATION</fon
15a0: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
15b0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 32  lor="#a52a2a">12
15c0: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
15d0: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
15e0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
15f0: 32 61 32 61 22 3e 3c 62 3e 65 63 68 6f 3c 2f 62  2a2a"><b>echo</b
1600: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
1610: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e  lor="#ff00ff">&n
1620: 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  bsp;</font><font
1630: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
1640: 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f  ><b>&quot;</b></
1650: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
1660: 3d 22 23 66 66 30 30 66 66 22 3e 72 65 70 6f 73  ="#ff00ff">repos
1670: 69 74 6f 72 79 3a 20 3c 2f 66 6f 6e 74 3e 3c 66  itory: </font><f
1680: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
1690: 66 30 22 3e 24 53 4f 55 52 43 45 3c 2f 66 6f 6e  f0">$SOURCE</fon
16a0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
16b0: 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74  a52a2a"><b>&quot
16c0: 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ;</b></font><fon
16d0: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
16e0: 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c  ">&nbsp;</font><
16f0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
1700: 61 32 61 22 3e 3c 62 3e 26 67 74 3b 26 67 74 3b  a2a"><b>&gt;&gt;
1710: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  </b></font>&nbsp
1720: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ;<font color="#a
1730: 30 32 30 66 30 22 3e 24 44 45 53 54 49 4e 41 54  020f0">$DESTINAT
1740: 49 4f 4e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  ION</font><br>..
1750: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
1760: 32 61 32 61 22 3e 31 33 20 3c 2f 66 6f 6e 74 3e  2a2a">13 </font>
1770: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
1780: 70 3b 26 6e 62 73 70 3b 63 68 6f 77 6e 20 3c 66  p;&nbsp;chown <f
1790: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
17a0: 66 30 22 3e 24 52 45 50 4f 53 49 54 4f 52 59 5f  f0">$REPOSITORY_
17b0: 4f 57 4e 45 52 3c 2f 66 6f 6e 74 3e 3a 3c 66 6f  OWNER</font>:<fo
17c0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66  nt color="#a020f
17d0: 30 22 3e 24 43 47 49 5f 47 52 4f 55 50 3c 2f 66  0">$CGI_GROUP</f
17e0: 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  ont>&nbsp;<font 
17f0: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
1800: 24 53 4f 55 52 43 45 3c 2f 66 6f 6e 74 3e 3c 62  $SOURCE</font><b
1810: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
1820: 22 23 61 35 32 61 32 61 22 3e 31 34 20 3c 2f 66  "#a52a2a">14 </f
1830: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
1840: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
1850: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
1860: 22 3e 3c 62 3e 63 68 6d 6f 64 3c 2f 62 3e 3c 2f  "><b>chmod</b></
1870: 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74  font>&nbsp;<font
1880: 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22   color="#ff00ff"
1890: 3e 36 36 34 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >664</font>&nbsp
18a0: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ;<font color="#a
18b0: 30 32 30 66 30 22 3e 24 53 4f 55 52 43 45 3c 2f  020f0">$SOURCE</
18c0: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
18d0: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
18e0: 3e 31 35 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >15 </font>&nbsp
18f0: 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62  ;&nbsp;&nbsp;&nb
1900: 73 70 3b 63 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f  sp;chown root:ro
1910: 6f 74 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  ot <font color="
1920: 23 61 30 32 30 66 30 22 3e 24 44 45 53 54 49 4e  #a020f0">$DESTIN
1930: 41 54 49 4f 4e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  ATION</font><br>
1940: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
1950: 61 35 32 61 32 61 22 3e 31 36 20 3c 2f 66 6f 6e  a52a2a">16 </fon
1960: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e  t>&nbsp;&nbsp;&n
1970: 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  bsp;&nbsp;<font 
1980: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
1990: 3c 62 3e 63 68 6d 6f 64 3c 2f 62 3e 3c 2f 66 6f  <b>chmod</b></fo
19a0: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
19b0: 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 37  olor="#ff00ff">7
19c0: 35 35 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c  55</font>&nbsp;<
19d0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32  font color="#a02
19e0: 30 66 30 22 3e 24 44 45 53 54 49 4e 41 54 49 4f  0f0">$DESTINATIO
19f0: 4e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  N</font><br>..<f
1a00: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
1a10: 32 61 22 3e 31 37 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">17 </font>&n
1a20: 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  bsp;&nbsp;<font 
1a30: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
1a40: 3c 62 3e 64 6f 6e 65 3c 2f 62 3e 3c 2f 66 6f 6e  <b>done</b></fon
1a50: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
1a60: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 38  lor="#a52a2a">18
1a70: 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f   </font><font co
1a80: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
1a90: 3e 65 6c 73 65 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  >else</b></font>
1aa0: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
1ab0: 72 3d 22 23 61 35 32 61 32 61 22 3e 31 39 20 3c  r="#a52a2a">19 <
1ac0: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73  /font>&nbsp;&nbs
1ad0: 70 3b 73 75 64 6f 20 3c 66 6f 6e 74 20 63 6f 6c  p;sudo <font col
1ae0: 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 30 3c  or="#a020f0">$0<
1af0: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e  /font>&nbsp;<fon
1b00: 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30  t color="#a020f0
1b10: 22 3e 24 2a 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d  ">$*</font><br>.
1b20: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
1b30: 35 32 61 32 61 22 3e 32 30 20 3c 2f 66 6f 6e 74  52a2a">20 </font
1b40: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
1b50: 35 32 61 32 61 22 3e 3c 62 3e 66 69 3c 2f 62 3e  52a2a"><b>fi</b>
1b60: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 2f 66  </font><br>..</f
1b70: 6f 6e 74 3e 3c 2f 6e 6f 77 69 6b 69 3e 0d 0a 0d  ont></nowiki>...
1b80: 0a 48 65 72 65 20 69 73 20 61 20 6c 69 74 74 6c  .Here is a littl
1b90: 65 20 70 65 72 6c 20 73 63 72 69 70 74 20 74 6f  e perl script to
1ba0: 20 70 75 74 20 69 6e 20 79 6f 75 72 20 63 67 69   put in your cgi
1bb0: 2d 62 69 6e 20 74 6f 20 6c 69 73 74 20 61 6c 6c  -bin to list all
1bc0: 20 74 68 65 20 66 6f 73 73 69 6c 73 20 79 6f 75   the fossils you
1bd0: 20 61 72 65 20 70 75 62 6c 69 73 68 69 6e 67 3a   are publishing:
1be0: 0d 0a 0d 0a 3c 6e 6f 77 69 6b 69 3e 0d 0a 3c 70  ....<nowiki>..<p
1bf0: 72 65 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  re>..<font color
1c00: 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62 73 70  ="#a52a2a">&nbsp
1c10: 3b 31 20 3c 2f 66 6f 6e 74 3e 20 23 21 2f 75 73  ;1 </font> #!/us
1c20: 72 2f 62 69 6e 2f 70 65 72 6c 20 2d 77 0d 0a 3c  r/bin/perl -w..<
1c30: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
1c40: 61 32 61 22 3e 26 6e 62 73 70 3b 32 20 3c 2f 66  a2a">&nbsp;2 </f
1c50: 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72  ont> <font color
1c60: 3d 22 23 38 42 30 30 38 42 22 3e 3c 62 3e 6d 79  ="#8B008B"><b>my
1c70: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 20 3c 66 6f 6e  </b></font> <fon
1c80: 74 20 63 6f 6c 6f 72 3d 22 23 30 30 36 38 38 42  t color="#00688B
1c90: 22 3e 24 43 47 49 5f 42 49 4e 3c 2f 66 6f 6e 74  ">$CGI_BIN</font
1ca0: 3e 20 3d 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  > = <font color=
1cb0: 22 23 43 44 35 35 35 35 22 3e 26 23 33 39 3b 2f  "#CD5555">&#39;/
1cc0: 4c 69 62 72 61 72 79 2f 57 65 62 53 65 72 76 65  Library/WebServe
1cd0: 72 2f 43 47 49 2d 45 78 65 63 75 74 61 62 6c 65  r/CGI-Executable
1ce0: 73 26 23 33 39 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f  s&#39;</font><fo
1cf0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30 30 30  nt color="#00000
1d00: 30 22 3e 3b 3c 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f  0">;</font>..<fo
1d10: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
1d20: 61 22 3e 26 6e 62 73 70 3b 33 20 3c 2f 66 6f 6e  a">&nbsp;3 </fon
1d30: 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  t> <font color="
1d40: 23 38 42 30 30 38 42 22 3e 3c 62 3e 6d 79 3c 2f  #8B008B"><b>my</
1d50: 62 3e 3c 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20  b></font> <font 
1d60: 63 6f 6c 6f 72 3d 22 23 30 30 36 38 38 42 22 3e  color="#00688B">
1d70: 40 66 69 6c 65 73 3c 2f 66 6f 6e 74 3e 20 3d 20  @files</font> = 
1d80: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 43 44  <font color="#CD
1d90: 35 35 35 35 22 3e 60 67 72 65 70 20 2d 6c 20 72  5555">`grep -l r
1da0: 65 70 6f 73 69 74 6f 72 79 3a 20 20 24 43 47 49  epository:  $CGI
1db0: 5f 42 49 4e 2f 2a 20 60 3c 2f 66 6f 6e 74 3e 3c  _BIN/* `</font><
1dc0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30  font color="#000
1dd0: 30 30 30 22 3e 3b 3c 2f 66 6f 6e 74 3e 0d 0a 3c  000">;</font>..<
1de0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
1df0: 61 32 61 22 3e 26 6e 62 73 70 3b 34 20 3c 2f 66  a2a">&nbsp;4 </f
1e00: 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72  ont> <font color
1e10: 3d 22 23 38 42 30 30 38 42 22 3e 3c 62 3e 70 72  ="#8B008B"><b>pr
1e20: 69 6e 74 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 20 3c  int</b></font> <
1e30: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 43 44 35  font color="#CD5
1e40: 35 35 35 22 3e 3c 62 3e 26 6c 74 3b 26 6c 74 3b  555"><b>&lt;&lt;
1e50: 45 4f 4d 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  EOM</b></font><f
1e60: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30 30  ont color="#0000
1e70: 30 30 22 3e 3b 3c 2f 66 6f 6e 74 3e 0d 0a 3c 66  00">;</font>..<f
1e80: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
1e90: 32 61 22 3e 26 6e 62 73 70 3b 35 20 3c 2f 66 6f  2a">&nbsp;5 </fo
1ea0: 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  nt> <font color=
1eb0: 22 23 43 44 35 35 35 35 22 3e 3c 69 3e 43 6f 6e  "#CD5555"><i>Con
1ec0: 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f  tent-Type: text/
1ed0: 68 74 6d 6c 3c 2f 69 3e 3c 2f 66 6f 6e 74 3e 0d  html</i></font>.
1ee0: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
1ef0: 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 36 20 3c  52a2a">&nbsp;6 <
1f00: 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  /font>..<font co
1f10: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
1f20: 62 73 70 3b 37 20 3c 2f 66 6f 6e 74 3e 20 3c 66  bsp;7 </font> <f
1f30: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 43 44 35 35  ont color="#CD55
1f40: 35 35 22 3e 3c 69 3e 46 6f 73 73 69 6c 73 20 66  55"><i>Fossils f
1f50: 6f 72 20 74 68 69 73 20 73 65 72 76 65 72 3c 2f  or this server</
1f60: 69 3e 3c 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74  i></font>..<font
1f70: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
1f80: 3e 26 6e 62 73 70 3b 38 20 3c 2f 66 6f 6e 74 3e  >&nbsp;8 </font>
1f90: 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 43   <font color="#C
1fa0: 44 35 35 35 35 22 3e 3c 69 3e 26 6c 74 3b 75 6c  D5555"><i>&lt;ul
1fb0: 26 67 74 3b 3c 2f 69 3e 3c 2f 66 6f 6e 74 3e 0d  &gt;</i></font>.
1fc0: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
1fd0: 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 39 20 3c  52a2a">&nbsp;9 <
1fe0: 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c  /font> <font col
1ff0: 6f 72 3d 22 23 43 44 35 35 35 35 22 3e 3c 62 3e  or="#CD5555"><b>
2000: 45 4f 4d 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 0d 0a  EOM</b></font>..
2010: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
2020: 32 61 32 61 22 3e 26 6e 62 73 70 3b 31 30 20 3c  2a2a">&nbsp;10 <
2030: 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  /font>..<font co
2040: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
2050: 62 73 70 3b 31 31 20 3c 2f 66 6f 6e 74 3e 20 3c  bsp;11 </font> <
2060: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 42 30  font color="#8B0
2070: 30 38 42 22 3e 3c 62 3e 66 6f 72 3c 2f 62 3e 3c  08B"><b>for</b><
2080: 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c  /font> <font col
2090: 6f 72 3d 22 23 30 30 30 30 30 30 22 3e 28 3c 2f  or="#000000">(</
20a0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
20b0: 3d 22 23 30 30 36 38 38 42 22 3e 40 66 69 6c 65  ="#00688B">@file
20c0: 73 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  s</font><font co
20d0: 6c 6f 72 3d 22 23 30 30 30 30 30 30 22 3e 29 3c  lor="#000000">)<
20e0: 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c  /font> <font col
20f0: 6f 72 3d 22 23 30 30 30 30 30 30 22 3e 7b 3c 2f  or="#000000">{</
2100: 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  font>..<font col
2110: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62  or="#a52a2a">&nb
2120: 73 70 3b 31 32 20 3c 2f 66 6f 6e 74 3e 20 20 20  sp;12 </font>   
2130: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 43 44  <font color="#CD
2140: 35 35 35 35 22 3e 73 7b 2e 2a 2f 7d 7b 7d 3c 2f  5555">s{.*/}{}</
2150: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
2160: 3d 22 23 30 30 30 30 30 30 22 3e 3b 3c 2f 66 6f  ="#000000">;</fo
2170: 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nt>..<font color
2180: 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62 73 70  ="#a52a2a">&nbsp
2190: 3b 31 33 20 3c 2f 66 6f 6e 74 3e 20 20 20 3c 66  ;13 </font>   <f
21a0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 42 30 30  ont color="#8B00
21b0: 38 42 22 3e 3c 62 3e 6e 65 78 74 3c 2f 62 3e 3c  8B"><b>next</b><
21c0: 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c  /font> <font col
21d0: 6f 72 3d 22 23 38 42 30 30 38 42 22 3e 3c 62 3e  or="#8B008B"><b>
21e0: 69 66 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 20 3c 66  if</b></font> <f
21f0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 43 44 35 35  ont color="#CD55
2200: 35 35 22 3e 2f 7e 24 2f 3c 2f 66 6f 6e 74 3e 3c  55">/~$/</font><
2210: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30  font color="#000
2220: 30 30 30 22 3e 3b 3c 2f 66 6f 6e 74 3e 0d 0a 3c  000">;</font>..<
2230: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
2240: 61 32 61 22 3e 26 6e 62 73 70 3b 31 34 20 3c 2f  a2a">&nbsp;14 </
2250: 66 6f 6e 74 3e 20 20 20 3c 66 6f 6e 74 20 63 6f  font>   <font co
2260: 6c 6f 72 3d 22 23 38 42 30 30 38 42 22 3e 3c 62  lor="#8B008B"><b
2270: 3e 70 72 69 6e 74 3c 2f 62 3e 3c 2f 66 6f 6e 74  >print</b></font
2280: 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  > <font color="#
2290: 43 44 35 35 35 35 22 3e 26 71 75 6f 74 3b 26 6c  CD5555">&quot;&l
22a0: 74 3b 6c 69 26 67 74 3b 26 6c 74 3b 61 20 68 72  t;li&gt;&lt;a hr
22b0: 65 66 3d 26 23 33 39 3b 24 5f 26 23 33 39 3b 26  ef=&#39;$_&#39;&
22c0: 67 74 3b 24 5f 26 6c 74 3b 2f 61 26 67 74 3b 26  gt;$_&lt;/a&gt;&
22d0: 6c 74 3b 2f 6c 69 26 67 74 3b 5c 6e 26 71 75 6f  lt;/li&gt;\n&quo
22e0: 74 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  t;</font><font c
22f0: 6f 6c 6f 72 3d 22 23 30 30 30 30 30 30 22 3e 3b  olor="#000000">;
2300: 3c 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63  </font>..<font c
2310: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26  olor="#a52a2a">&
2320: 6e 62 73 70 3b 31 35 20 3c 2f 66 6f 6e 74 3e 20  nbsp;15 </font> 
2330: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30  <font color="#00
2340: 30 30 30 30 22 3e 7d 3c 2f 66 6f 6e 74 3e 0d 0a  0000">}</font>..
2350: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
2360: 32 61 32 61 22 3e 26 6e 62 73 70 3b 31 36 20 3c  2a2a">&nbsp;16 <
2370: 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c  /font> <font col
2380: 6f 72 3d 22 23 38 42 30 30 38 42 22 3e 3c 62 3e  or="#8B008B"><b>
2390: 70 72 69 6e 74 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  print</b></font>
23a0: 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 43   <font color="#C
23b0: 44 35 35 35 35 22 3e 26 71 75 6f 74 3b 26 6c 74  D5555">&quot;&lt
23c0: 3b 2f 75 6c 26 67 74 3b 5c 6e 26 71 75 6f 74 3b  ;/ul&gt;\n&quot;
23d0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
23e0: 6f 72 3d 22 23 30 30 30 30 30 30 22 3e 3b 3c 2f  or="#000000">;</
23f0: 66 6f 6e 74 3e 0d 0a 3c 2f 70 72 65 3e 0d 0a 3c  font>..</pre>..<
2400: 2f 6e 6f 77 69 6b 69 3e 0d 0a 0d 0a 54 68 65 20  /nowiki>....The 
2410: 66 6f 6c 6c 6f 77 69 6e 67 20 3c 63 69 74 65 3e  following <cite>
2420: 61 70 61 63 68 65 32 3c 2f 63 69 74 65 3e 20 63  apache2</cite> c
2430: 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 61 6e  onfiguration can
2440: 20 62 65 20 75 73 65 64 20 74 6f 20 72 75 6e 20   be used to run 
2450: 74 68 65 20 72 6f 6f 74 20 6f 66 20 61 20 77 65  the root of a we
2460: 62 20 73 69 74 65 20 77 69 74 68 20 66 6f 73 73  b site with foss
2470: 69 6c 2c 20 62 75 74 20 73 74 69 6c 6c 20 61 6c  il, but still al
2480: 6c 6f 77 20 6f 74 68 65 72 20 73 65 72 76 69 63  low other servic
2490: 65 73 20 2f 20 64 6f 63 75 6d 65 6e 74 73 20 74  es / documents t
24a0: 6f 20 62 65 20 72 65 61 63 68 65 64 20 76 69 61  o be reached via
24b0: 20 73 70 65 63 69 66 69 63 20 55 52 4c 73 2e 20   specific URLs. 
24c0: 52 65 70 6c 61 63 65 20 22 63 6f 64 65 2e 61 75  Replace "code.au
24d0: 74 6f 6e 6f 6d 6f 2e 75 73 22 20 77 69 74 68 20  tonomo.us" with 
24e0: 79 6f 75 72 20 73 69 74 65 27 73 20 6e 61 6d 65  your site's name
24f0: 20 61 6e 64 20 22 64 63 6c 61 72 6b 40 70 6f 62   and "dclark@pob
2500: 6f 78 2e 63 6f 6d 22 20 77 69 74 68 20 79 6f 75  ox.com" with you
2510: 72 20 65 6d 61 69 6c 2e 0d 0a 0d 0a 3c 76 65 72  r email.....<ver
2520: 62 61 74 69 6d 3e 0d 0a 4e 61 6d 65 56 69 72 74  batim>..NameVirt
2530: 75 61 6c 48 6f 73 74 20 2a 3a 38 30 0d 0a 3c 56  ualHost *:80..<V
2540: 69 72 74 75 61 6c 48 6f 73 74 20 2a 3a 38 30 3e  irtualHost *:80>
2550: 0d 0a 20 20 20 20 53 65 72 76 65 72 4e 61 6d 65  ..    ServerName
2560: 20 63 6f 64 65 2e 61 75 74 6f 6e 6f 6d 6f 2e 75   code.autonomo.u
2570: 73 0d 0a 20 20 20 20 53 65 72 76 65 72 41 64 6d  s..    ServerAdm
2580: 69 6e 20 64 63 6c 61 72 6b 40 70 6f 62 6f 78 2e  in dclark@pobox.
2590: 63 6f 6d 0d 0a 20 20 20 20 45 72 72 6f 72 4c 6f  com..    ErrorLo
25a0: 67 20 2f 76 61 72 2f 6c 6f 67 2f 61 70 61 63 68  g /var/log/apach
25b0: 65 32 2f 63 6f 64 65 2e 61 75 74 6f 6e 6f 6d 6f  e2/code.autonomo
25c0: 2e 75 73 2d 65 72 72 6f 72 2e 6c 6f 67 0d 0a 20  .us-error.log.. 
25d0: 20 20 20 4c 6f 67 4c 65 76 65 6c 20 77 61 72 6e     LogLevel warn
25e0: 0d 0a 20 20 20 20 43 75 73 74 6f 6d 4c 6f 67 20  ..    CustomLog 
25f0: 2f 76 61 72 2f 6c 6f 67 2f 61 70 61 63 68 65 32  /var/log/apache2
2600: 2f 63 6f 64 65 2e 61 75 74 6f 6e 6f 6d 6f 2e 75  /code.autonomo.u
2610: 73 2d 61 63 63 65 73 73 2e 6c 6f 67 20 63 6f 6d  s-access.log com
2620: 62 69 6e 65 64 0d 0a 20 20 20 20 53 65 72 76 65  bined..    Serve
2630: 72 53 69 67 6e 61 74 75 72 65 20 4f 6e 0d 0a 0d  rSignature On...
2640: 0a 20 20 20 20 44 6f 63 75 6d 65 6e 74 52 6f 6f  .    DocumentRoo
2650: 74 20 2f 76 61 72 2f 77 77 77 2f 0d 0a 0d 0a 20  t /var/www/.... 
2660: 20 20 20 53 63 72 69 70 74 41 6c 69 61 73 20 2f     ScriptAlias /
2670: 63 67 69 2d 62 69 6e 2f 20 2f 75 73 72 2f 6c 69  cgi-bin/ /usr/li
2680: 62 2f 63 67 69 2d 62 69 6e 2f 0d 0a 20 20 20 20  b/cgi-bin/..    
2690: 3c 44 69 72 65 63 74 6f 72 79 20 22 2f 75 73 72  <Directory "/usr
26a0: 2f 6c 69 62 2f 63 67 69 2d 62 69 6e 22 3e 0d 0a  /lib/cgi-bin">..
26b0: 20 20 20 20 20 20 20 20 41 6c 6c 6f 77 4f 76 65          AllowOve
26c0: 72 72 69 64 65 20 4e 6f 6e 65 0d 0a 20 20 20 20  rride None..    
26d0: 20 20 20 20 4f 70 74 69 6f 6e 73 20 2b 45 78 65      Options +Exe
26e0: 63 43 47 49 20 2d 4d 75 6c 74 69 56 69 65 77 73  cCGI -MultiViews
26f0: 20 2b 53 79 6d 4c 69 6e 6b 73 49 66 4f 77 6e 65   +SymLinksIfOwne
2700: 72 4d 61 74 63 68 0d 0a 20 20 20 20 20 20 20 20  rMatch..        
2710: 4f 72 64 65 72 20 61 6c 6c 6f 77 2c 64 65 6e 79  Order allow,deny
2720: 0d 0a 20 20 20 20 20 20 20 20 41 6c 6c 6f 77 20  ..        Allow 
2730: 66 72 6f 6d 20 61 6c 6c 0d 0a 20 20 20 20 3c 2f  from all..    </
2740: 44 69 72 65 63 74 6f 72 79 3e 0d 0a 0d 0a 20 20  Directory>....  
2750: 20 20 23 20 46 6f 73 73 69 6c 20 53 43 4d 20 61    # Fossil SCM a
2760: 74 20 72 6f 6f 74 20 6f 66 20 77 65 62 20 73 69  t root of web si
2770: 74 65 20 28 68 74 74 70 3a 2f 2f 65 78 61 6d 70  te (http://examp
2780: 6c 65 2e 63 6f 6d 29 20 63 6f 6e 66 69 67 75 72  le.com) configur
2790: 61 74 69 6f 6e 2e 2e 2e 0d 0a 20 20 20 20 52 65  ation.....    Re
27a0: 77 72 69 74 65 45 6e 67 69 6e 65 20 4f 6e 0d 0a  writeEngine On..
27b0: 20 20 20 20 23 20 52 65 77 72 69 74 65 43 6f 6e      # RewriteCon
27c0: 64 20 2d 20 4f 6e 65 20 66 6f 72 20 65 76 65 72  d - One for ever
27d0: 79 20 55 52 4c 20 77 65 20 64 6f 6e 27 74 20 77  y URL we don't w
27e0: 61 6e 74 20 46 6f 73 73 69 6c 20 53 43 4d 20 74  ant Fossil SCM t
27f0: 6f 20 73 65 72 76 65 2e 20 49 6e 20 74 68 65 0d  o serve. In the.
2800: 0a 20 20 20 20 23 20 20 20 20 20 20 20 20 20 20  .    #          
2810: 20 20 20 20 20 65 78 61 6d 70 6c 65 2c 20 72 65       example, re
2820: 71 75 65 73 74 73 20 74 68 61 74 20 67 6f 20 74  quests that go t
2830: 6f 20 74 68 65 20 2f 76 61 72 2f 77 77 77 2f 74  o the /var/www/t
2840: 6d 70 20 64 69 72 65 63 74 6f 72 79 20 61 6e 64  mp directory and
2850: 20 0d 0a 20 20 20 20 23 20 20 20 20 20 20 20 20   ..    #        
2860: 20 20 20 20 20 20 20 74 68 65 20 2f 75 73 72 2f         the /usr/
2870: 6c 69 62 2f 63 67 69 2d 62 69 6e 20 64 69 72 65  lib/cgi-bin dire
2880: 63 74 6f 74 79 20 61 72 65 20 69 67 6e 6f 72 65  ctoty are ignore
2890: 64 20 62 79 20 46 6f 73 73 69 6c 20 53 43 4d 2e  d by Fossil SCM.
28a0: 0d 0a 20 20 20 20 52 65 77 72 69 74 65 43 6f 6e  ..    RewriteCon
28b0: 64 20 25 7b 52 45 51 55 45 53 54 5f 55 52 49 7d  d %{REQUEST_URI}
28c0: 20 21 5e 2f 74 6d 70 2f 2e 2a 24 0d 0a 20 20 20   !^/tmp/.*$..   
28d0: 20 52 65 77 72 69 74 65 43 6f 6e 64 20 25 7b 52   RewriteCond %{R
28e0: 45 51 55 45 53 54 5f 55 52 49 7d 20 21 5e 2f 63  EQUEST_URI} !^/c
28f0: 67 69 2d 62 69 6e 2f 2e 2a 24 0d 0a 20 20 20 20  gi-bin/.*$..    
2900: 52 65 77 72 69 74 65 52 75 6c 65 20 5e 28 2e 2a  RewriteRule ^(.*
2910: 29 24 20 2f 75 73 72 2f 6c 69 62 2f 63 67 69 2d  )$ /usr/lib/cgi-
2920: 62 69 6e 2f 63 6f 64 65 2e 61 75 74 6f 6e 6f 6d  bin/code.autonom
2930: 6f 2e 75 73 2f 24 31 20 5b 54 3d 61 70 70 6c 69  o.us/$1 [T=appli
2940: 63 61 74 69 6f 6e 2f 78 2d 68 74 74 70 64 2d 63  cation/x-httpd-c
2950: 67 69 5d 0d 0a 3c 2f 56 69 72 74 75 61 6c 48 6f  gi]..</VirtualHo
2960: 73 74 3e 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e  st>..</verbatim>
2970: 0d 0a 0d 0a 2f 75 73 72 2f 6c 69 62 2f 63 67 69  ..../usr/lib/cgi
2980: 2d 62 69 6e 2f 63 6f 64 65 2e 61 75 74 6f 6e 6f  -bin/code.autono
2990: 6d 6f 2e 75 73 20 69 73 20 6a 75 73 74 20 61 20  mo.us is just a 
29a0: 73 74 61 6e 64 61 72 64 20 66 6f 73 73 69 6c 20  standard fossil 
29b0: 43 47 49 20 66 69 6c 65 3b 20 69 74 20 6c 6f 6f  CGI file; it loo
29c0: 6b 73 20 6c 69 6b 65 20 74 68 69 73 3a 0d 0a 0d  ks like this:...
29d0: 0a 3c 76 65 72 62 61 74 69 6d 3e 0d 0a 23 21 2f  .<verbatim>..#!/
29e0: 75 73 72 2f 62 69 6e 2f 66 6f 73 73 69 6c 0d 0a  usr/bin/fossil..
29f0: 72 65 70 6f 73 69 74 6f 72 79 3a 20 2f 73 72 76  repository: /srv
2a00: 2f 66 6f 73 73 69 6c 2d 73 63 6d 2f 63 6f 64 65  /fossil-scm/code
2a10: 2e 61 75 74 6f 6e 6f 6d 6f 2e 75 73 2e 66 6f 73  .autonomo.us.fos
2a20: 73 69 6c 2d 73 63 6d 0d 0a 3c 2f 76 65 72 62 61  sil-scm..</verba
2a30: 74 69 6d 3e 0d 0a 0d 0a 3c 68 33 3e 41 6e 6f 74  tim>....<h3>Anot
2a40: 68 65 72 20 73 6f 6c 75 74 69 6f 6e 20 74 6f 20  her solution to 
2a50: 3c 69 3e 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79  <i>automatically
2a60: 3c 2f 69 3e 20 73 65 72 76 65 20 6d 75 6c 74 69  </i> serve multi
2a70: 70 6c 65 20 72 65 70 6f 73 69 74 6f 72 69 65 73  ple repositories
2a80: 3c 2f 68 33 3e 0d 0a 0d 0a 57 69 74 68 20 74 68  </h3>....With th
2a90: 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 43 47 49 20  e following CGI 
2aa0: 73 63 72 69 70 74 20 28 49 20 68 61 76 65 20 6e  script (I have n
2ab0: 61 6d 65 64 20 69 74 20 3c 73 61 6d 70 3e 70 3c  amed it <samp>p<
2ac0: 2f 73 61 6d 70 3e 20 73 69 6d 70 6c 79 29 20 69  /samp> simply) i
2ad0: 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f  t is possible to
2ae0: 20 64 65 66 69 6e 65 20 61 20 6c 6f 63 61 74 69   define a locati
2af0: 6f 6e 20 77 68 65 72 65 20 61 6c 6c 20 74 68 65  on where all the
2b00: 20 79 6f 75 72 20 72 65 70 6f 73 69 74 6f 72 69   your repositori
2b10: 65 73 20 73 68 6f 75 6c 64 20 62 65 20 6c 6f 63  es should be loc
2b20: 61 74 65 64 20 28 69 6e 20 74 68 69 73 20 65 78  ated (in this ex
2b30: 61 6d 70 6c 65 3a 20 3c 73 61 6d 70 3e 2f 68 6f  ample: <samp>/ho
2b40: 6d 65 2f 72 65 70 6f 73 2f 66 6f 73 73 69 6c 3c  me/repos/fossil<
2b50: 2f 73 61 6d 70 3e 29 2e 20 41 6c 6c 20 74 68 65  /samp>). All the
2b60: 20 72 65 70 6f 73 69 74 6f 72 69 65 73 20 61 72   repositories ar
2b70: 65 20 6e 61 6d 65 64 20 61 63 63 6f 72 64 69 6e  e named accordin
2b80: 67 20 74 68 65 20 73 63 68 65 6d 65 20 3c 73 61  g the scheme <sa
2b90: 6d 70 3e 3c 70 72 6f 6a 65 63 74 20 6e 61 6d 65  mp><project name
2ba0: 3e 2e 66 73 6c 3c 2f 73 61 6d 70 3e 20 66 6f 72  >.fsl</samp> for
2bb0: 20 73 61 6b 65 20 6f 66 20 74 68 69 73 20 65 78   sake of this ex
2bc0: 61 6d 70 6c 65 2e 0d 0a 0d 0a 49 66 20 74 68 69  ample.....If thi
2bd0: 73 20 73 63 72 69 70 74 20 69 73 20 63 61 6c 6c  s script is call
2be0: 65 64 20 61 6c 6f 6e 65 20 28 6c 69 6b 65 20 65  ed alone (like e
2bf0: 2e 67 2e 3a 20 3c 73 61 6d 70 3e 68 74 74 70 3a  .g.: <samp>http:
2c00: 2f 2f 79 6f 75 72 2e 73 65 72 76 65 72 2e 68 65  //your.server.he
2c10: 72 65 2f 63 67 69 2d 62 69 6e 2f 70 3c 2f 73 61  re/cgi-bin/p</sa
2c20: 6d 70 3e 29 2c 20 69 74 20 77 69 6c 6c 20 6c 69  mp>), it will li
2c30: 73 74 20 61 6c 6c 20 72 65 70 6f 73 69 74 6f 72  st all repositor
2c40: 69 65 73 20 6c 6f 63 61 74 65 64 20 75 6e 64 65  ies located unde
2c50: 72 20 3c 73 61 6d 70 3e 24 52 45 50 4f 53 52 4f  r <samp>$REPOSRO
2c60: 4f 54 3c 2f 73 61 6d 70 3e 2c 20 3c 62 3e 69 66  OT</samp>, <b>if
2c70: 3c 2f 62 3e 20 74 68 65 72 65 20 3c 62 3e 64 6f  </b> there <b>do
2c80: 65 73 20 6e 6f 74 3c 2f 62 3e 20 65 78 69 73 74  es not</b> exist
2c90: 20 61 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67   a corresponding
2ca0: 20 66 69 6c 65 20 3c 73 61 6d 70 3e 2e 3c 70 72   file <samp>.<pr
2cb0: 6f 6a 65 63 74 20 6e 61 6d 65 3e 3c 2f 73 61 6d  oject name></sam
2cc0: 70 3e 20 28 74 68 61 74 20 6d 65 63 68 61 6e 69  p> (that mechani
2cd0: 73 6d 20 69 73 20 75 73 65 64 20 74 6f 20 3c 69  sm is used to <i
2ce0: 3e 68 69 64 65 3c 2f 69 3e 20 73 6f 6d 65 20 72  >hide</i> some r
2cf0: 65 70 6f 73 69 74 6f 72 79 20 69 6e 20 74 68 65  epository in the
2d00: 20 6c 69 73 74 69 6e 67 29 2e 0d 0a 0d 0a 49 66   listing).....If
2d10: 20 74 68 65 20 73 63 72 69 70 74 20 69 73 20 63   the script is c
2d20: 61 6c 6c 65 64 20 6c 69 6b 65 20 65 2e 67 2e 20  alled like e.g. 
2d30: 3c 73 61 6d 70 3e 68 74 74 70 3a 2f 2f 79 6f 75  <samp>http://you
2d40: 72 2e 73 65 72 76 65 72 2e 68 65 72 65 2f 63 67  r.server.here/cg
2d50: 69 2d 62 69 6e 2f 70 2f 3c 70 72 6f 6a 65 63 74  i-bin/p/<project
2d60: 20 6e 61 6d 65 3e 3c 2f 73 61 6d 70 3e 2c 20 74   name></samp>, t
2d70: 68 65 6e 20 74 68 65 20 63 6f 72 72 65 73 70 6f  hen the correspo
2d80: 6e 64 69 6e 67 20 72 65 70 6f 73 69 74 6f 72 79  nding repository
2d90: 20 77 69 6c 6c 20 62 65 20 73 65 6c 65 63 74 65   will be selecte
2da0: 64 20 74 6f 20 77 6f 72 6b 20 77 69 74 68 2e 0d  d to work with..
2db0: 0a 0d 0a 54 68 65 20 6c 69 6e 65 73 20 35 20 2d  ...The lines 5 -
2dc0: 20 38 20 69 6e 20 74 68 65 20 73 63 72 69 70 74   8 in the script
2dd0: 20 62 65 6c 6f 77 20 61 6c 6c 6f 77 20 63 6f 6e   below allow con
2de0: 66 69 67 75 72 61 74 69 6f 6e 20 66 6f 72 20 79  figuration for y
2df0: 6f 75 20 6e 65 65 64 73 2e 20 59 6f 75 20 68 61  ou needs. You ha
2e00: 76 65 20 74 6f 20 63 68 6f 73 65 2c 20 77 68 61  ve to chose, wha
2e10: 74 20 66 6f 73 73 69 6c 20 62 69 6e 61 72 79 20  t fossil binary 
2e20: 74 6f 20 75 73 65 2c 20 77 68 61 74 20 65 78 74  to use, what ext
2e30: 65 6e 73 69 6f 6e 20 79 6f 75 72 20 72 65 70 6f  ension your repo
2e40: 73 69 74 6f 72 79 20 64 61 74 61 62 61 73 65 73  sitory databases
2e50: 20 68 61 76 65 20 61 6e 64 20 77 68 65 72 65 20   have and where 
2e60: 61 6c 6c 20 79 6f 75 72 20 64 61 74 61 62 61 73  all your databas
2e70: 65 73 20 61 72 65 20 6c 6f 63 61 74 65 64 2e 0d  es are located..
2e80: 0a 0d 0a 3c 6e 6f 77 69 6b 69 3e 0d 0a 3c 66 6f  ...<nowiki>..<fo
2e90: 6e 74 20 66 61 63 65 3d 22 6d 6f 6e 6f 73 70 61  nt face="monospa
2ea0: 63 65 22 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  ce">..<font colo
2eb0: 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62 73  r="#a52a2a">&nbs
2ec0: 70 3b 31 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  p;1 </font><font
2ed0: 20 63 6f 6c 6f 72 3d 22 23 30 30 30 30 66 66 22   color="#0000ff"
2ee0: 3e 23 21 2f 62 69 6e 2f 73 68 3c 2f 66 6f 6e 74  >#!/bin/sh</font
2ef0: 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  ><br>..<font col
2f00: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62  or="#a52a2a">&nb
2f10: 73 70 3b 32 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  sp;2 </font><br>
2f20: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
2f30: 61 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 33 20  a52a2a">&nbsp;3 
2f40: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
2f50: 6f 72 3d 22 23 30 30 30 30 66 66 22 3e 23 23 23  or="#0000ff">###
2f60: 20 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73   Configuration s
2f70: 65 63 74 69 6f 6e 20 23 23 23 3c 2f 66 6f 6e 74  ection ###</font
2f80: 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  ><br>..<font col
2f90: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62  or="#a52a2a">&nb
2fa0: 73 70 3b 34 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  sp;4 </font><br>
2fb0: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
2fc0: 61 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 35 20  a52a2a">&nbsp;5 
2fd0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
2fe0: 6f 72 3d 22 23 30 30 38 62 38 62 22 3e 54 49 54  or="#008b8b">TIT
2ff0: 4c 45 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20  LE</font>=<font 
3000: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
3010: 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66  <b>&quot;</b></f
3020: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
3030: 22 23 66 66 30 30 66 66 22 3e 26 6c 74 3b 68 32  "#ff00ff">&lt;h2
3040: 26 67 74 3b 46 6f 73 73 69 6c 20 72 65 70 6f 73  &gt;Fossil repos
3050: 69 74 6f 72 69 65 73 26 6c 74 3b 2f 68 32 26 67  itories&lt;/h2&g
3060: 74 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  t;</font><font c
3070: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
3080: 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f  b>&quot;</b></fo
3090: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
30a0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26  olor="#a52a2a">&
30b0: 6e 62 73 70 3b 36 20 3c 2f 66 6f 6e 74 3e 3c 66  nbsp;6 </font><f
30c0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62  ont color="#008b
30d0: 38 62 22 3e 46 4f 53 53 49 4c 3c 2f 66 6f 6e 74  8b">FOSSIL</font
30e0: 3e 3d 2f 75 73 72 2f 6c 6f 63 61 6c 2f 62 69 6e  >=/usr/local/bin
30f0: 2f 66 6f 73 73 69 6c 3c 62 72 3e 0d 0a 3c 66 6f  /fossil<br>..<fo
3100: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3110: 61 22 3e 26 6e 62 73 70 3b 37 20 3c 2f 66 6f 6e  a">&nbsp;7 </fon
3120: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
3130: 30 30 38 62 38 62 22 3e 52 45 50 4f 53 52 4f 4f  008b8b">REPOSROO
3140: 54 3c 2f 66 6f 6e 74 3e 3d 2f 68 6f 6d 65 2f 72  T</font>=/home/r
3150: 65 70 6f 73 2f 66 6f 73 73 69 6c 3c 62 72 3e 0d  epos/fossil<br>.
3160: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
3170: 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 38 20 3c  52a2a">&nbsp;8 <
3180: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
3190: 72 3d 22 23 30 30 38 62 38 62 22 3e 52 45 50 4f  r="#008b8b">REPO
31a0: 53 45 58 54 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e  SEXT</font>=<fon
31b0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
31c0: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
31d0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
31e0: 72 3d 22 23 66 66 30 30 66 66 22 3e 2e 66 73 6c  r="#ff00ff">.fsl
31f0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
3200: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
3210: 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74  &quot;</b></font
3220: 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  ><br>..<font col
3230: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62  or="#a52a2a">&nb
3240: 73 70 3b 39 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  sp;9 </font><br>
3250: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
3260: 61 35 32 61 32 61 22 3e 31 30 20 3c 2f 66 6f 6e  a52a2a">10 </fon
3270: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
3280: 30 30 30 30 66 66 22 3e 23 23 23 20 50 72 6f 63  0000ff">### Proc
3290: 65 73 73 69 6e 67 20 73 65 63 74 69 6f 6e 20 2d  essing section -
32a0: 2d 20 6e 6f 74 68 69 6e 67 20 74 6f 20 63 6f 6e  - nothing to con
32b0: 66 69 67 75 72 65 20 68 65 72 65 21 20 23 23 23  figure here! ###
32c0: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
32d0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
32e0: 61 22 3e 31 31 20 3c 2f 66 6f 6e 74 3e 3c 62 72  a">11 </font><br
32f0: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
3300: 23 61 35 32 61 32 61 22 3e 31 32 20 3c 2f 66 6f  #a52a2a">12 </fo
3310: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
3320: 23 61 35 32 61 32 61 22 3e 3c 62 3e 73 65 74 3c  #a52a2a"><b>set<
3330: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  /b></font><font 
3340: 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62 22 3e  color="#008b8b">
3350: 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f  &nbsp;</font><fo
3360: 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63  nt color="#6a5ac
3370: 64 22 3e 2d 66 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  d">-f</font><fon
3380: 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62  t color="#008b8b
3390: 22 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e  ">&nbsp;&nbsp;&n
33a0: 62 73 70 3b 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74  bsp;&nbsp;</font
33b0: 3e 3b 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >; <font color="
33c0: 23 30 30 30 30 66 66 22 3e 23 20 64 69 73 61 62  #0000ff"># disab
33d0: 6c 65 20 66 69 6c 65 6e 61 6d 65 20 67 6c 6f 62  le filename glob
33e0: 62 69 6e 67 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d  bing</font><br>.
33f0: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
3400: 35 32 61 32 61 22 3e 31 33 20 3c 2f 66 6f 6e 74  52a2a">13 </font
3410: 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  ><br>..<font col
3420: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 34 20  or="#a52a2a">14 
3430: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
3440: 6f 72 3d 22 23 30 30 30 30 66 66 22 3e 23 23 20  or="#0000ff">## 
3450: 53 6f 6d 65 20 68 65 6c 70 65 72 20 66 75 6e 63  Some helper func
3460: 74 69 6f 6e 73 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  tions</font><br>
3470: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
3480: 61 35 32 61 32 61 22 3e 31 35 20 3c 2f 66 6f 6e  a52a2a">15 </fon
3490: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
34a0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 36  lor="#a52a2a">16
34b0: 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f   </font><font co
34c0: 6c 6f 72 3d 22 23 30 30 38 62 38 62 22 3e 48 65  lor="#008b8b">He
34d0: 61 64 65 72 54 65 78 74 20 28 29 20 7b 3c 2f 66  aderText () {</f
34e0: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
34f0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
3500: 31 37 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  17 </font>&nbsp;
3510: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
3520: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 69  r="#a52a2a"><b>i
3530: 66 20 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f  f </b></font><fo
3540: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3550: 61 22 3e 3c 62 3e 5b 3c 2f 62 3e 3c 2f 66 6f 6e  a"><b>[</b></fon
3560: 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  t>&nbsp;<font co
3570: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
3580: 3e 2d 7a 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  >-z</b></font>&n
3590: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
35a0: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75  "#a52a2a"><b>&qu
35b0: 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  ot;</b></font><f
35c0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
35d0: 66 30 22 3e 24 68 65 61 64 65 72 57 72 69 74 74  f0">$headerWritt
35e0: 65 6e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  en</font><font c
35f0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
3600: 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f  b>&quot;</b></fo
3610: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
3620: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
3630: 62 3e 5d 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  b>]</b></font><f
3640: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
3650: 32 61 22 3e 3c 62 3e 3b 3c 2f 62 3e 3c 2f 66 6f  2a"><b>;</b></fo
3660: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
3670: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
3680: 62 3e 74 68 65 6e 3c 2f 62 3e 3c 2f 66 6f 6e 74  b>then</b></font
3690: 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  ><br>..<font col
36a0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 38 20  or="#a52a2a">18 
36b0: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62  </font>&nbsp;&nb
36c0: 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c  sp;&nbsp;&nbsp;<
36d0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
36e0: 61 32 61 22 3e 3c 62 3e 65 63 68 6f 3c 2f 62 3e  a2a"><b>echo</b>
36f0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
3700: 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e 62  or="#ff00ff">&nb
3710: 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  sp;</font><font 
3720: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
3730: 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66  <b>&quot;</b></f
3740: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
3750: 22 23 66 66 30 30 66 66 22 3e 43 6f 6e 74 65 6e  "#ff00ff">Conten
3760: 74 2d 74 79 70 65 3a 20 74 65 78 74 2f 70 6c 61  t-type: text/pla
3770: 69 6e 3b 20 63 68 61 72 73 65 74 3d 69 73 6f 2d  in; charset=iso-
3780: 38 38 35 39 2d 31 3c 2f 66 6f 6e 74 3e 3c 66 6f  8859-1</font><fo
3790: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
37a0: 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e  a"><b>&quot;</b>
37b0: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
37c0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
37d0: 61 22 3e 31 39 20 3c 2f 66 6f 6e 74 3e 26 6e 62  a">19 </font>&nb
37e0: 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26  sp;&nbsp;&nbsp;&
37f0: 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nbsp;<font color
3800: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 65 63  ="#a52a2a"><b>ec
3810: 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72  ho</b></font><br
3820: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
3830: 23 61 35 32 61 32 61 22 3e 32 30 20 3c 2f 66 6f  #a52a2a">20 </fo
3840: 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26  nt>&nbsp;&nbsp;&
3850: 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74  nbsp;&nbsp;<font
3860: 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62 22   color="#008b8b"
3870: 3e 68 65 61 64 65 72 57 72 69 74 74 65 6e 3c 2f  >headerWritten</
3880: 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20 63 6f 6c 6f  font>=<font colo
3890: 72 3d 22 23 66 66 30 30 66 66 22 3e 31 3c 2f 66  r="#ff00ff">1</f
38a0: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
38b0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
38c0: 32 31 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  21 </font>&nbsp;
38d0: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
38e0: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 66  r="#a52a2a"><b>f
38f0: 69 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  i</b></font><br>
3900: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
3910: 61 35 32 61 32 61 22 3e 32 32 20 3c 2f 66 6f 6e  a52a2a">22 </fon
3920: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
3930: 30 30 38 62 38 62 22 3e 7d 3c 2f 66 6f 6e 74 3e  008b8b">}</font>
3940: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
3950: 72 3d 22 23 61 35 32 61 32 61 22 3e 32 33 20 3c  r="#a52a2a">23 <
3960: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
3970: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
3980: 22 3e 32 34 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ">24 </font><fon
3990: 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62  t color="#008b8b
39a0: 22 3e 48 65 61 64 65 72 48 54 4d 4c 20 28 29 20  ">HeaderHTML () 
39b0: 7b 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  {</font><br>..<f
39c0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
39d0: 32 61 22 3e 32 35 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">25 </font>&n
39e0: 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  bsp;&nbsp;<font 
39f0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
3a00: 3c 62 3e 69 66 20 3c 2f 62 3e 3c 2f 66 6f 6e 74  <b>if </b></font
3a10: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
3a20: 35 32 61 32 61 22 3e 3c 62 3e 5b 3c 2f 62 3e 3c  52a2a"><b>[</b><
3a30: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e  /font>&nbsp;<fon
3a40: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
3a50: 22 3e 3c 62 3e 2d 7a 3c 2f 62 3e 3c 2f 66 6f 6e  "><b>-z</b></fon
3a60: 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  t>&nbsp;<font co
3a70: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
3a80: 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e  >&quot;</b></fon
3a90: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
3aa0: 61 30 32 30 66 30 22 3e 24 68 65 61 64 65 72 57  a020f0">$headerW
3ab0: 72 69 74 74 65 6e 3c 2f 66 6f 6e 74 3e 3c 66 6f  ritten</font><fo
3ac0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3ad0: 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e  a"><b>&quot;</b>
3ae0: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
3af0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3b00: 61 22 3e 3c 62 3e 5d 3c 2f 62 3e 3c 2f 66 6f 6e  a"><b>]</b></fon
3b10: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
3b20: 61 35 32 61 32 61 22 3e 3c 62 3e 3b 3c 2f 62 3e  a52a2a"><b>;</b>
3b30: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
3b40: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3b50: 61 22 3e 3c 62 3e 74 68 65 6e 3c 2f 62 3e 3c 2f  a"><b>then</b></
3b60: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
3b70: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
3b80: 3e 32 36 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >26 </font>&nbsp
3b90: 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62  ;&nbsp;&nbsp;&nb
3ba0: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
3bb0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 65 63 68 6f  #a52a2a"><b>echo
3bc0: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  </b></font><font
3bd0: 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22   color="#ff00ff"
3be0: 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66  >&nbsp;</font><f
3bf0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
3c00: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
3c10: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
3c20: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 43 6f  lor="#ff00ff">Co
3c30: 6e 74 65 6e 74 2d 74 79 70 65 3a 20 74 65 78 74  ntent-type: text
3c40: 2f 68 74 6d 6c 3b 20 63 68 61 72 73 65 74 3d 69  /html; charset=i
3c50: 73 6f 2d 38 38 35 39 2d 31 3c 2f 66 6f 6e 74 3e  so-8859-1</font>
3c60: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
3c70: 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c  2a2a"><b>&quot;<
3c80: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  /b></font><br>..
3c90: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
3ca0: 32 61 32 61 22 3e 32 37 20 3c 2f 66 6f 6e 74 3e  2a2a">27 </font>
3cb0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
3cc0: 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  p;&nbsp;<font co
3cd0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
3ce0: 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  >echo</b></font>
3cf0: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
3d00: 72 3d 22 23 61 35 32 61 32 61 22 3e 32 38 20 3c  r="#a52a2a">28 <
3d10: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73  /font>&nbsp;&nbs
3d20: 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66  p;&nbsp;&nbsp;<f
3d30: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62  ont color="#008b
3d40: 38 62 22 3e 68 65 61 64 65 72 57 72 69 74 74 65  8b">headerWritte
3d50: 6e 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20 63  n</font>=<font c
3d60: 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 31  olor="#ff00ff">1
3d70: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
3d80: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3d90: 61 22 3e 32 39 20 3c 2f 66 6f 6e 74 3e 26 6e 62  a">29 </font>&nb
3da0: 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  sp;&nbsp;<font c
3db0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
3dc0: 62 3e 66 69 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  b>fi</b></font><
3dd0: 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  br>..<font color
3de0: 3d 22 23 61 35 32 61 32 61 22 3e 33 30 20 3c 2f  ="#a52a2a">30 </
3df0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
3e00: 3d 22 23 30 30 38 62 38 62 22 3e 7d 3c 2f 66 6f  ="#008b8b">}</fo
3e10: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
3e20: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 33  olor="#a52a2a">3
3e30: 31 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  1 </font><br>..<
3e40: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
3e50: 61 32 61 22 3e 33 32 20 3c 2f 66 6f 6e 74 3e 3c  a2a">32 </font><
3e60: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38  font color="#008
3e70: 62 38 62 22 3e 45 72 72 6f 72 20 28 29 20 7b 3c  b8b">Error () {<
3e80: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
3e90: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
3ea0: 22 3e 33 33 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">33 </font>&nbs
3eb0: 70 3b 26 6e 62 73 70 3b 48 65 61 64 65 72 48 54  p;&nbsp;HeaderHT
3ec0: 4d 4c 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  ML<br>..<font co
3ed0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 33 34  lor="#a52a2a">34
3ee0: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
3ef0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
3f00: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 65 63 68  "#a52a2a"><b>ech
3f10: 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  o</b></font><fon
3f20: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
3f30: 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c  ">&nbsp;</font><
3f40: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
3f50: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
3f60: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
3f70: 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26  olor="#ff00ff">&
3f80: 6c 74 3b 70 26 67 74 3b 26 6c 74 3b 66 6f 6e 74  lt;p&gt;&lt;font
3f90: 20 63 6f 6c 6f 72 3d 3c 2f 66 6f 6e 74 3e 3c 66   color=</font><f
3fa0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
3fb0: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
3fc0: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
3fd0: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 72 65  lor="#ff00ff">re
3fe0: 64 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  d</font><font co
3ff0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
4000: 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e  >&quot;</b></fon
4010: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
4020: 66 66 30 30 66 66 22 3e 26 67 74 3b 45 52 52 4f  ff00ff">&gt;ERRO
4030: 52 3a 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  R: </font><font 
4040: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
4050: 24 31 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  $1</font><font c
4060: 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26  olor="#ff00ff">&
4070: 6c 74 3b 2f 66 6f 6e 74 26 67 74 3b 26 6c 74 3b  lt;/font&gt;&lt;
4080: 2f 70 26 67 74 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f  /p&gt;</font><fo
4090: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
40a0: 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e  a"><b>&quot;</b>
40b0: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
40c0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
40d0: 61 22 3e 33 35 20 3c 2f 66 6f 6e 74 3e 26 6e 62  a">35 </font>&nb
40e0: 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  sp;&nbsp;<font c
40f0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
4100: 62 3e 65 78 69 74 3c 2f 62 3e 3c 2f 66 6f 6e 74  b>exit</b></font
4110: 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  >&nbsp;<font col
4120: 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 31 3c 2f  or="#ff00ff">1</
4130: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
4140: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
4150: 3e 33 36 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  >36 </font><font
4160: 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62 22   color="#008b8b"
4170: 3e 7d 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  >}</font><br>..<
4180: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
4190: 61 32 61 22 3e 33 37 20 3c 2f 66 6f 6e 74 3e 3c  a2a">37 </font><
41a0: 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  br>..<font color
41b0: 3d 22 23 61 35 32 61 32 61 22 3e 33 38 20 3c 2f  ="#a52a2a">38 </
41c0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
41d0: 3d 22 23 30 30 38 62 38 62 22 3e 50 20 28 29 20  ="#008b8b">P () 
41e0: 7b 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  {</font><br>..<f
41f0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
4200: 32 61 22 3e 33 39 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">39 </font>&n
4210: 62 73 70 3b 26 6e 62 73 70 3b 48 65 61 64 65 72  bsp;&nbsp;Header
4220: 54 65 78 74 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  Text<br>..<font 
4230: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
4240: 34 30 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  40 </font>&nbsp;
4250: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
4260: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 66  r="#a52a2a"><b>f
4270: 6f 72 20 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 76 61  or </b></font>va
4280: 72 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  r <font color="#
4290: 61 35 32 61 32 61 22 3e 3c 62 3e 69 6e 3c 2f 62  a52a2a"><b>in</b
42a0: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
42b0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
42c0: 66 30 22 3e 24 2a 3c 2f 66 6f 6e 74 3e 3c 66 6f  f0">$*</font><fo
42d0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
42e0: 61 22 3e 3c 62 3e 3b 3c 2f 62 3e 3c 2f 66 6f 6e  a"><b>;</b></fon
42f0: 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  t>&nbsp;<font co
4300: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
4310: 3e 64 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62  >do</b></font><b
4320: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
4330: 22 23 61 35 32 61 32 61 22 3e 34 31 20 3c 2f 66  "#a52a2a">41 </f
4340: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
4350: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
4360: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4370: 22 3e 3c 62 3e 65 76 61 6c 3c 2f 62 3e 3c 2f 66  "><b>eval</b></f
4380: 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  ont>&nbsp;<font 
4390: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
43a0: 3c 62 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e  <b>echo</b></fon
43b0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
43c0: 66 66 30 30 66 66 22 3e 26 6e 62 73 70 3b 3c 2f  ff00ff">&nbsp;</
43d0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
43e0: 3d 22 23 61 30 32 30 66 30 22 3e 24 76 61 72 3c  ="#a020f0">$var<
43f0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4400: 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e 62 73  r="#ff00ff">&nbs
4410: 70 3b 3d 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  p;= </font><font
4420: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
4430: 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f  ><b>&quot;</b></
4440: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
4450: 3d 22 23 36 61 35 61 63 64 22 3e 5c 24 3c 2f 66  ="#6a5acd">\$</f
4460: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
4470: 22 23 61 30 32 30 66 30 22 3e 24 76 61 72 3c 2f  "#a020f0">$var</
4480: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
4490: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71  ="#a52a2a"><b>&q
44a0: 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  uot;</b></font><
44b0: 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  br>..<font color
44c0: 3d 22 23 61 35 32 61 32 61 22 3e 34 32 20 3c 2f  ="#a52a2a">42 </
44d0: 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70  font>&nbsp;&nbsp
44e0: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ;<font color="#a
44f0: 35 32 61 32 61 22 3e 3c 62 3e 64 6f 6e 65 3c 2f  52a2a"><b>done</
4500: 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  b></font><br>..<
4510: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
4520: 61 32 61 22 3e 34 33 20 3c 2f 66 6f 6e 74 3e 3c  a2a">43 </font><
4530: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38  font color="#008
4540: 62 38 62 22 3e 7d 3c 2f 66 6f 6e 74 3e 3c 62 72  b8b">}</font><br
4550: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
4560: 23 61 35 32 61 32 61 22 3e 34 34 20 3c 2f 66 6f  #a52a2a">44 </fo
4570: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
4580: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 34  olor="#a52a2a">4
4590: 35 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  5 </font><font c
45a0: 6f 6c 6f 72 3d 22 23 30 30 30 30 66 66 22 3e 23  olor="#0000ff">#
45b0: 23 20 44 6f 20 74 68 65 20 72 65 61 6c 20 77 6f  # Do the real wo
45c0: 72 6b 20 68 65 72 65 20 2e 2e 2e 3c 2f 66 6f 6e  rk here ...</fon
45d0: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
45e0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 34 36  lor="#a52a2a">46
45f0: 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66   </font><br>..<f
4600: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
4610: 32 61 22 3e 34 37 20 3c 2f 66 6f 6e 74 3e 3c 66  2a">47 </font><f
4620: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62  ont color="#008b
4630: 38 62 22 3e 70 72 6f 6a 65 63 74 3c 2f 66 6f 6e  8b">project</fon
4640: 74 3e 3d 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  t>=<font color="
4650: 23 36 61 35 61 63 64 22 3e 60 65 63 68 6f 20 3c  #6a5acd">`echo <
4660: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4670: 72 3d 22 23 61 30 32 30 66 30 22 3e 24 50 41 54  r="#a020f0">$PAT
4680: 48 5f 49 4e 46 4f 3c 2f 66 6f 6e 74 3e 3c 66 6f  H_INFO</font><fo
4690: 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63  nt color="#6a5ac
46a0: 64 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e  d">&nbsp;</font>
46b0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
46c0: 32 61 32 61 22 3e 3c 62 3e 7c 3c 2f 62 3e 3c 2f  2a2a"><b>|</b></
46d0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
46e0: 3d 22 23 36 61 35 61 63 64 22 3e 26 6e 62 73 70  ="#6a5acd">&nbsp
46f0: 3b 73 65 64 20 2d 65 20 3c 2f 66 6f 6e 74 3e 3c  ;sed -e </font><
4700: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
4710: 61 32 61 22 3e 3c 62 3e 27 3c 2f 62 3e 3c 2f 66  a2a"><b>'</b></f
4720: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
4730: 22 23 66 66 30 30 66 66 22 3e 73 21 2f 3c 2f 66  "#ff00ff">s!/</f
4740: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
4750: 22 23 36 61 35 61 63 64 22 3e 5c 28 3c 2f 66 6f  "#6a5acd">\(</fo
4760: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
4770: 23 66 66 30 30 66 66 22 3e 5b 5e 2f 5d 2a 3c 2f  #ff00ff">[^/]*</
4780: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
4790: 3d 22 23 36 61 35 61 63 64 22 3e 5c 29 3c 2f 66  ="#6a5acd">\)</f
47a0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
47b0: 22 23 66 66 30 30 66 66 22 3e 2e 2a 21 5c 31 21  "#ff00ff">.*!\1!
47c0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
47d0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
47e0: 27 7c 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f  '|</b></font><fo
47f0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63  nt color="#6a5ac
4800: 64 22 3e 26 6e 62 73 70 3b 74 72 20 3c 2f 66 6f  d">&nbsp;tr </fo
4810: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
4820: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f  #a52a2a"><b>&quo
4830: 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f  t;</b></font><fo
4840: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
4850: 66 22 3e 5b 41 2d 5a 5d 3c 2f 66 6f 6e 74 3e 3c  f">[A-Z]</font><
4860: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
4870: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
4880: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
4890: 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e 26  olor="#6a5acd">&
48a0: 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  nbsp;</font><fon
48b0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
48c0: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
48d0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
48e0: 72 3d 22 23 66 66 30 30 66 66 22 3e 5b 61 2d 7a  r="#ff00ff">[a-z
48f0: 5d 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ]</font><font co
4900: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
4910: 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e  >&quot;</b></fon
4920: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
4930: 36 61 35 61 63 64 22 3e 60 3c 2f 66 6f 6e 74 3e  6a5acd">`</font>
4940: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
4950: 72 3d 22 23 61 35 32 61 32 61 22 3e 34 38 20 3c  r="#a52a2a">48 <
4960: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4970: 72 3d 22 23 30 30 38 62 38 62 22 3e 72 65 70 6f  r="#008b8b">repo
4980: 73 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20 63  s</font>=<font c
4990: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
49a0: 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f  b>&quot;</b></fo
49b0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
49c0: 23 61 30 32 30 66 30 22 3e 24 52 45 50 4f 53 52  #a020f0">$REPOSR
49d0: 4f 4f 54 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  OOT</font><font 
49e0: 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e  color="#ff00ff">
49f0: 2f 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  /</font><font co
4a00: 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 70  lor="#a020f0">$p
4a10: 72 6f 6a 65 63 74 24 52 45 50 4f 53 45 58 54 3c  roject$REPOSEXT<
4a20: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4a30: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26  r="#a52a2a"><b>&
4a40: 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  quot;</b></font>
4a50: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
4a60: 72 3d 22 23 61 35 32 61 32 61 22 3e 34 39 20 3c  r="#a52a2a">49 <
4a70: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
4a80: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4a90: 22 3e 35 30 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ">50 </font><fon
4aa0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4ab0: 22 3e 3c 62 3e 69 66 20 3c 2f 62 3e 3c 2f 66 6f  "><b>if </b></fo
4ac0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
4ad0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 5b 3c 2f 62  #a52a2a"><b>[</b
4ae0: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
4af0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
4b00: 32 61 22 3e 3c 62 3e 2d 72 3c 2f 62 3e 3c 2f 66  2a"><b>-r</b></f
4b10: 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  ont>&nbsp;<font 
4b20: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
4b30: 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66  <b>&quot;</b></f
4b40: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
4b50: 22 23 61 30 32 30 66 30 22 3e 24 72 65 70 6f 73  "#a020f0">$repos
4b60: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
4b70: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
4b80: 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74  &quot;</b></font
4b90: 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  >&nbsp;<font col
4ba0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
4bb0: 5d 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ]</b></font><fon
4bc0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4bd0: 22 3e 3c 62 3e 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74  "><b>;</b></font
4be0: 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  >&nbsp;<font col
4bf0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
4c00: 74 68 65 6e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  then</b></font><
4c10: 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  br>..<font color
4c20: 3d 22 23 61 35 32 61 32 61 22 3e 35 31 20 3c 2f  ="#a52a2a">51 </
4c30: 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70  font>&nbsp;&nbsp
4c40: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30  ;<font color="#0
4c50: 30 38 62 38 62 22 3e 50 41 54 48 5f 49 4e 46 4f  08b8b">PATH_INFO
4c60: 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20 63 6f  </font>=<font co
4c70: 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e 60 65  lor="#6a5acd">`e
4c80: 63 68 6f 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  cho </font><font
4c90: 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22   color="#a020f0"
4ca0: 3e 24 52 45 51 55 45 53 54 5f 55 52 49 3c 2f 66  >$REQUEST_URI</f
4cb0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
4cc0: 22 23 36 61 35 61 63 64 22 3e 26 6e 62 73 70 3b  "#6a5acd">&nbsp;
4cd0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
4ce0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
4cf0: 7c 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  |</b></font><fon
4d00: 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64  t color="#6a5acd
4d10: 22 3e 26 6e 62 73 70 3b 73 65 64 20 2d 65 20 3c  ">&nbsp;sed -e <
4d20: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4d30: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26  r="#a52a2a"><b>&
4d40: 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  quot;</b></font>
4d50: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66  <font color="#ff
4d60: 30 30 66 66 22 3e 73 21 5e 3c 2f 66 6f 6e 74 3e  00ff">s!^</font>
4d70: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30  <font color="#a0
4d80: 32 30 66 30 22 3e 24 53 43 52 49 50 54 5f 4e 41  20f0">$SCRIPT_NA
4d90: 4d 45 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  ME</font><font c
4da0: 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 2f  olor="#ff00ff">/
4db0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
4dc0: 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 70 72  or="#a020f0">$pr
4dd0: 6f 6a 65 63 74 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  oject</font><fon
4de0: 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64  t color="#6a5acd
4df0: 22 3e 5c 5c 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  ">\\</font><font
4e00: 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22   color="#ff00ff"
4e10: 3e 28 5b 5e 3f 5d 2a 3c 2f 66 6f 6e 74 3e 3c 66  >([^?]*</font><f
4e20: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61  ont color="#6a5a
4e30: 63 64 22 3e 5c 5c 3c 2f 66 6f 6e 74 3e 3c 66 6f  cd">\\</font><fo
4e40: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
4e50: 66 22 3e 29 2e 2a 21 3c 2f 66 6f 6e 74 3e 3c 66  f">).*!</font><f
4e60: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61  ont color="#6a5a
4e70: 63 64 22 3e 5c 5c 3c 2f 66 6f 6e 74 3e 3c 66 6f  cd">\\</font><fo
4e80: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
4e90: 66 22 3e 31 21 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  f">1!</font><fon
4ea0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4eb0: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
4ec0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4ed0: 72 3d 22 23 36 61 35 61 63 64 22 3e 60 3c 2f 66  r="#6a5acd">`</f
4ee0: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
4ef0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
4f00: 35 32 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  52 </font><font 
4f10: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
4f20: 3c 62 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3a  <b>&nbsp;&nbsp;:
4f30: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  </b></font>&nbsp
4f40: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ;<font color="#a
4f50: 30 32 30 66 30 22 3e 24 7b 3c 2f 66 6f 6e 74 3e  020f0">${</font>
4f60: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30  <font color="#a0
4f70: 32 30 66 30 22 3e 50 41 54 48 5f 49 4e 46 4f 3c  20f0">PATH_INFO<
4f80: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4f90: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 3a  r="#a52a2a"><b>:
4fa0: 3d 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  =</b></font><fon
4fb0: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
4fc0: 22 3e 2f 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  ">/</font><font 
4fd0: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
4fe0: 7d 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  }</font><br>..<f
4ff0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5000: 32 61 22 3e 35 33 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">53 </font>&n
5010: 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  bsp;&nbsp;<font 
5020: 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62 22 3e  color="#008b8b">
5030: 53 43 52 49 50 54 5f 4e 41 4d 45 3c 2f 66 6f 6e  SCRIPT_NAME</fon
5040: 74 3e 3d 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  t>=<font color="
5050: 23 61 30 32 30 66 30 22 3e 24 53 43 52 49 50 54  #a020f0">$SCRIPT
5060: 5f 4e 41 4d 45 3c 2f 66 6f 6e 74 3e 2f 3c 66 6f  _NAME</font>/<fo
5070: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66  nt color="#a020f
5080: 30 22 3e 24 70 72 6f 6a 65 63 74 3c 2f 66 6f 6e  0">$project</fon
5090: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
50a0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 35 34  lor="#a52a2a">54
50b0: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
50c0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
50d0: 22 23 30 30 38 62 38 62 22 3e 54 45 4d 50 46 49  "#008b8b">TEMPFI
50e0: 4c 45 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20  LE</font>=<font 
50f0: 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e  color="#6a5acd">
5100: 60 6d 6b 74 65 6d 70 20 2f 74 6d 70 2f 66 6f 73  `mktemp /tmp/fos
5110: 73 69 6c 2d 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  sil-</font><font
5120: 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22   color="#a020f0"
5130: 3e 24 70 72 6f 6a 65 63 74 3c 2f 66 6f 6e 74 3e  >$project</font>
5140: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61  <font color="#6a
5150: 35 61 63 64 22 3e 2e 58 58 58 58 58 58 60 3c 2f  5acd">.XXXXXX`</
5160: 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74  font>&nbsp;<font
5170: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
5180: 3e 3c 62 3e 7c 7c 3c 2f 62 3e 3c 2f 66 6f 6e 74  ><b>||</b></font
5190: 3e 26 6e 62 73 70 3b 45 72 72 6f 72 20 3c 66 6f  >&nbsp;Error <fo
51a0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
51b0: 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e  a"><b>&quot;</b>
51c0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
51d0: 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 43 6f 75  or="#ff00ff">Cou
51e0: 6c 64 6e 27 74 20 63 72 65 61 74 65 20 74 65 6d  ldn't create tem
51f0: 70 66 69 6c 65 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  pfile</font><fon
5200: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
5210: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
5220: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
5230: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
5240: 22 3e 35 35 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">55 </font>&nbs
5250: 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  p;&nbsp;<font co
5260: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
5270: 3e 74 72 61 70 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  >trap</b></font>
5280: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
5290: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26  r="#a52a2a"><b>&
52a0: 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  quot;</b></font>
52b0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66  <font color="#ff
52c0: 30 30 66 66 22 3e 72 6d 20 2d 66 20 3c 2f 66 6f  00ff">rm -f </fo
52d0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
52e0: 23 61 30 32 30 66 30 22 3e 24 54 45 4d 50 46 49  #a020f0">$TEMPFI
52f0: 4c 45 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  LE</font><font c
5300: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
5310: 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f  b>&quot;</b></fo
5320: 6e 74 3e 26 6e 62 73 70 3b 45 58 49 54 20 51 55  nt>&nbsp;EXIT QU
5330: 49 54 20 49 4e 54 20 54 45 52 4d 3c 62 72 3e 0d  IT INT TERM<br>.
5340: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
5350: 35 32 61 32 61 22 3e 35 36 20 3c 2f 66 6f 6e 74  52a2a">56 </font
5360: 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f  >&nbsp;&nbsp;<fo
5370: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
5380: 61 22 3e 3c 62 3e 65 63 68 6f 3c 2f 62 3e 3c 2f  a"><b>echo</b></
5390: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
53a0: 3d 22 23 66 66 30 30 66 66 22 3e 26 6e 62 73 70  ="#ff00ff">&nbsp
53b0: 3b 72 65 70 6f 73 69 74 6f 72 79 3a 20 3c 2f 66  ;repository: </f
53c0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
53d0: 22 23 61 30 32 30 66 30 22 3e 24 72 65 70 6f 73  "#a020f0">$repos
53e0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
53f0: 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e 62  or="#ff00ff">&nb
5400: 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  sp;</font><font 
5410: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
5420: 3c 62 3e 26 67 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e  <b>&gt;</b></fon
5430: 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  t>&nbsp;<font co
5440: 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 54  lor="#a020f0">$T
5450: 45 4d 50 46 49 4c 45 3c 2f 66 6f 6e 74 3e 3c 62  EMPFILE</font><b
5460: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
5470: 22 23 61 35 32 61 32 61 22 3e 35 37 20 3c 2f 66  "#a52a2a">57 </f
5480: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
5490: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30  <font color="#a0
54a0: 32 30 66 30 22 3e 24 46 4f 53 53 49 4c 3c 2f 66  20f0">$FOSSIL</f
54b0: 6f 6e 74 3e 26 6e 62 73 70 3b 63 67 69 20 3c 66  ont>&nbsp;cgi <f
54c0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
54d0: 66 30 22 3e 24 54 45 4d 50 46 49 4c 45 3c 2f 66  f0">$TEMPFILE</f
54e0: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
54f0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
5500: 35 38 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  58 </font><font 
5510: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
5520: 3c 62 3e 65 6c 69 66 3c 2f 62 3e 3c 2f 66 6f 6e  <b>elif</b></fon
5530: 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  t>&nbsp;<font co
5540: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
5550: 3e 5b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62  >[</b></font>&nb
5560: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
5570: 23 61 35 32 61 32 61 22 3e 3c 62 3e 2d 7a 3c 2f  #a52a2a"><b>-z</
5580: 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c  b></font>&nbsp;<
5590: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
55a0: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
55b0: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
55c0: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
55d0: 70 72 6f 6a 65 63 74 3c 2f 66 6f 6e 74 3e 3c 66  project</font><f
55e0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
55f0: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
5600: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
5610: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5620: 32 61 22 3e 3c 62 3e 5d 3c 2f 62 3e 3c 2f 66 6f  2a"><b>]</b></fo
5630: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
5640: 23 61 35 32 61 32 61 22 3e 3c 62 3e 3b 3c 2f 62  #a52a2a"><b>;</b
5650: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
5660: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5670: 32 61 22 3e 3c 62 3e 74 68 65 6e 3c 2f 62 3e 3c  2a"><b>then</b><
5680: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
5690: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
56a0: 22 3e 35 39 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">59 </font>&nbs
56b0: 70 3b 26 6e 62 73 70 3b 48 65 61 64 65 72 48 54  p;&nbsp;HeaderHT
56c0: 4d 4c 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  ML<br>..<font co
56d0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 36 30  lor="#a52a2a">60
56e0: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
56f0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
5700: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 65 63 68  "#a52a2a"><b>ech
5710: 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  o</b></font><fon
5720: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
5730: 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c  ">&nbsp;</font><
5740: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
5750: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
5760: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
5770: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
5780: 54 49 54 4c 45 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  TITLE</font><fon
5790: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
57a0: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
57b0: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
57c0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
57d0: 22 3e 36 31 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">61 </font>&nbs
57e0: 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  p;&nbsp;<font co
57f0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
5800: 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  >echo</b></font>
5810: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66  <font color="#ff
5820: 30 30 66 66 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f  00ff">&nbsp;</fo
5830: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
5840: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f  #a52a2a"><b>&quo
5850: 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f  t;</b></font><fo
5860: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
5870: 66 22 3e 26 6c 74 3b 75 6c 26 67 74 3b 3c 2f 66  f">&lt;ul&gt;</f
5880: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
5890: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75  "#a52a2a"><b>&qu
58a0: 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62  ot;</b></font><b
58b0: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
58c0: 22 23 61 35 32 61 32 61 22 3e 36 32 20 3c 2f 66  "#a52a2a">62 </f
58d0: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
58e0: 66 69 6e 64 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72  find <font color
58f0: 3d 22 23 61 30 32 30 66 30 22 3e 24 52 45 50 4f  ="#a020f0">$REPO
5900: 53 52 4f 4f 54 3c 2f 66 6f 6e 74 3e 26 6e 62 73  SROOT</font>&nbs
5910: 70 3b 2d 6e 61 6d 65 20 3c 66 6f 6e 74 20 63 6f  p;-name <font co
5920: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
5930: 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e  >&quot;</b></fon
5940: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
5950: 66 66 30 30 66 66 22 3e 2a 3c 2f 66 6f 6e 74 3e  ff00ff">*</font>
5960: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30  <font color="#a0
5970: 32 30 66 30 22 3e 24 52 45 50 4f 53 45 58 54 3c  20f0">$REPOSEXT<
5980: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
5990: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26  r="#a52a2a"><b>&
59a0: 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  quot;</b></font>
59b0: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
59c0: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 7c  r="#a52a2a"><b>|
59d0: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  </b></font>&nbsp
59e0: 3b 5c 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  ;\<br>..<font co
59f0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 36 33  lor="#a52a2a">63
5a00: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
5a10: 62 73 70 3b 77 68 69 6c 65 20 3c 66 6f 6e 74 20  bsp;while <font 
5a20: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
5a30: 3c 62 3e 72 65 61 64 3c 2f 62 3e 3c 2f 66 6f 6e  <b>read</b></fon
5a40: 74 3e 26 6e 62 73 70 3b 72 65 70 6f 73 3c 66 6f  t>&nbsp;repos<fo
5a50: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
5a60: 61 22 3e 3c 62 3e 3b 3c 2f 62 3e 3c 2f 66 6f 6e  a"><b>;</b></fon
5a70: 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  t>&nbsp;<font co
5a80: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
5a90: 3e 64 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62  >do</b></font><b
5aa0: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
5ab0: 22 23 61 35 32 61 32 61 22 3e 36 34 20 3c 2f 66  "#a52a2a">64 </f
5ac0: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
5ad0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
5ae0: 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62  t color="#008b8b
5af0: 22 3e 70 72 6f 6a 65 63 74 3c 2f 66 6f 6e 74 3e  ">project</font>
5b00: 3d 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36  =<font color="#6
5b10: 61 35 61 63 64 22 3e 60 62 61 73 65 6e 61 6d 65  a5acd">`basename
5b20: 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f   </font><font co
5b30: 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 72  lor="#a020f0">$r
5b40: 65 70 6f 73 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  epos</font><font
5b50: 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22   color="#6a5acd"
5b60: 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66  >&nbsp;</font><f
5b70: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
5b80: 66 30 22 3e 24 52 45 50 4f 53 45 58 54 3c 2f 66  f0">$REPOSEXT</f
5b90: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
5ba0: 22 23 36 61 35 61 63 64 22 3e 60 3c 2f 66 6f 6e  "#6a5acd">`</fon
5bb0: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
5bc0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 36 35  lor="#a52a2a">65
5bd0: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
5be0: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
5bf0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
5c00: 32 61 32 61 22 3e 3c 62 3e 69 66 20 3c 2f 62 3e  2a2a"><b>if </b>
5c10: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
5c20: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
5c30: 5b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73  [</b></font>&nbs
5c40: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
5c50: 61 35 32 61 32 61 22 3e 3c 62 3e 2d 66 3c 2f 62  a52a2a"><b>-f</b
5c60: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
5c70: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
5c80: 66 30 22 3e 24 72 65 70 6f 73 3c 2f 66 6f 6e 74  f0">$repos</font
5c90: 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  >&nbsp;<font col
5ca0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
5cb0: 2d 61 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62  -a</b></font>&nb
5cc0: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
5cd0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 21 3c 2f 62  #a52a2a"><b>!</b
5ce0: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
5cf0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5d00: 32 61 22 3e 3c 62 3e 2d 65 3c 2f 62 3e 3c 2f 66  2a"><b>-e</b></f
5d10: 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  ont>&nbsp;<font 
5d20: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
5d30: 24 52 45 50 4f 53 52 4f 4f 54 3c 2f 66 6f 6e 74  $REPOSROOT</font
5d40: 3e 2f 2e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >/.<font color="
5d50: 23 61 30 32 30 66 30 22 3e 24 70 72 6f 6a 65 63  #a020f0">$projec
5d60: 74 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  t</font>&nbsp;<f
5d70: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5d80: 32 61 22 3e 3c 62 3e 5d 3c 2f 62 3e 3c 2f 66 6f  2a"><b>]</b></fo
5d90: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
5da0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 3b 3c 2f 62  #a52a2a"><b>;</b
5db0: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
5dc0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5dd0: 32 61 22 3e 3c 62 3e 74 68 65 6e 3c 2f 62 3e 3c  2a"><b>then</b><
5de0: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
5df0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
5e00: 22 3e 36 36 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">66 </font>&nbs
5e10: 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e  p;&nbsp;&nbsp;&n
5e20: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
5e30: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
5e40: 32 61 32 61 22 3e 3c 62 3e 65 63 68 6f 3c 2f 62  2a2a"><b>echo</b
5e50: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
5e60: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e  lor="#ff00ff">&n
5e70: 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  bsp;</font><font
5e80: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
5e90: 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f  ><b>&quot;</b></
5ea0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
5eb0: 3d 22 23 66 66 30 30 66 66 22 3e 26 6c 74 3b 6c  ="#ff00ff">&lt;l
5ec0: 69 26 67 74 3b 26 6c 74 3b 61 20 68 72 65 66 3d  i&gt;&lt;a href=
5ed0: 27 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  '</font><font co
5ee0: 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 7b  lor="#a020f0">${
5ef0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
5f00: 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 52 45 51  or="#a020f0">REQ
5f10: 55 45 53 54 5f 55 52 49 3c 2f 66 6f 6e 74 3e 3c  UEST_URI</font><
5f20: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32  font color="#a02
5f30: 30 66 30 22 3e 7d 3c 2f 66 6f 6e 74 3e 3c 66 6f  0f0">}</font><fo
5f40: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
5f50: 66 22 3e 2f 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  f">/</font><font
5f60: 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22   color="#a020f0"
5f70: 3e 24 70 72 6f 6a 65 63 74 3c 2f 66 6f 6e 74 3e  >$project</font>
5f80: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66  <font color="#ff
5f90: 30 30 66 66 22 3e 27 26 67 74 3b 3c 2f 66 6f 6e  00ff">'&gt;</fon
5fa0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
5fb0: 61 30 32 30 66 30 22 3e 24 70 72 6f 6a 65 63 74  a020f0">$project
5fc0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
5fd0: 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6c 74  or="#ff00ff">&lt
5fe0: 3b 2f 61 26 67 74 3b 26 6c 74 3b 2f 6c 69 26 67  ;/a&gt;&lt;/li&g
5ff0: 74 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  t;</font><font c
6000: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
6010: 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f  b>&quot;</b></fo
6020: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
6030: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 36  olor="#a52a2a">6
6040: 37 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26  7 </font>&nbsp;&
6050: 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70  nbsp;&nbsp;&nbsp
6060: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ;<font color="#a
6070: 35 32 61 32 61 22 3e 3c 62 3e 66 69 3c 2f 62 3e  52a2a"><b>fi</b>
6080: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
6090: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
60a0: 61 22 3e 36 38 20 3c 2f 66 6f 6e 74 3e 26 6e 62  a">68 </font>&nb
60b0: 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  sp;&nbsp;<font c
60c0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
60d0: 62 3e 64 6f 6e 65 3c 2f 62 3e 3c 2f 66 6f 6e 74  b>done</b></font
60e0: 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  ><br>..<font col
60f0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 36 39 20  or="#a52a2a">69 
6100: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62  </font>&nbsp;&nb
6110: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
6120: 23 61 35 32 61 32 61 22 3e 3c 62 3e 65 63 68 6f  #a52a2a"><b>echo
6130: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  </b></font><font
6140: 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22   color="#ff00ff"
6150: 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66  >&nbsp;</font><f
6160: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
6170: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
6180: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
6190: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6c  lor="#ff00ff">&l
61a0: 74 3b 2f 75 6c 26 67 74 3b 3c 2f 66 6f 6e 74 3e  t;/ul&gt;</font>
61b0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
61c0: 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c  2a2a"><b>&quot;<
61d0: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  /b></font><br>..
61e0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
61f0: 32 61 32 61 22 3e 37 30 20 3c 2f 66 6f 6e 74 3e  2a2a">70 </font>
6200: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
6210: 32 61 32 61 22 3e 3c 62 3e 65 6c 73 65 3c 2f 62  2a2a"><b>else</b
6220: 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  ></font><br>..<f
6230: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
6240: 32 61 22 3e 37 31 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">71 </font>&n
6250: 62 73 70 3b 26 6e 62 73 70 3b 45 72 72 6f 72 20  bsp;&nbsp;Error 
6260: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
6270: 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c  2a2a"><b>&quot;<
6280: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  /b></font><font 
6290: 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e  color="#ff00ff">
62a0: 4e 6f 20 73 75 63 68 20 70 72 6f 6a 65 63 74 3a  No such project:
62b0: 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f   </font><font co
62c0: 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 70  lor="#a020f0">$p
62d0: 72 6f 6a 65 63 74 3c 2f 66 6f 6e 74 3e 3c 66 6f  roject</font><fo
62e0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
62f0: 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e  a"><b>&quot;</b>
6300: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
6310: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
6320: 61 22 3e 37 32 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  a">72 </font><fo
6330: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
6340: 61 22 3e 3c 62 3e 66 69 3c 2f 62 3e 3c 2f 66 6f  a"><b>fi</b></fo
6350: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
6360: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 37  olor="#a52a2a">7
6370: 33 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  3 </font><br>..<
6380: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
6390: 61 32 61 22 3e 37 34 20 3c 2f 66 6f 6e 74 3e 3c  a2a">74 </font><
63a0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
63b0: 61 32 61 22 3e 3c 62 3e 65 78 69 74 3c 2f 62 3e  a2a"><b>exit</b>
63c0: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
63d0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
63e0: 66 22 3e 30 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d  f">0</font><br>.
63f0: 0a 3c 2f 66 6f 6e 74 3e 0d 0a 3c 2f 6e 6f 77 69  .</font>..</nowi
6400: 6b 69 3e 0d 0a 0d 0a 3c 68 34 3e 57 69 6e 64 6f  ki>....<h4>Windo
6410: 77 73 3c 2f 68 34 3e 0d 0a 3c 70 3e 57 68 69 6c  ws</h4>..<p>Whil
6420: 65 20 69 74 20 69 73 20 66 61 72 20 66 72 6f 6d  e it is far from
6430: 20 61 20 70 65 72 66 65 63 74 20 73 65 74 20 6f   a perfect set o
6440: 66 20 69 6e 73 74 72 75 63 74 69 6f 6e 73 2e 2e  f instructions..
6450: 20 68 65 72 65 20 61 72 65 20 73 6f 6d 65 20 71   here are some q
6460: 75 69 63 6b 20 6e 6f 74 65 73 20 74 68 61 74 20  uick notes that 
6470: 73 68 6f 75 6c 64 20 68 65 6c 70 20 77 69 6e 64  should help wind
6480: 6f 77 73 20 75 73 65 72 73 20 61 6c 6f 6e 67 20  ows users along 
6490: 74 68 65 20 77 61 79 2e 2e 2e 3c 2f 70 3e 0d 0a  the way...</p>..
64a0: 3c 75 6c 3e 0d 0a 3c 6c 69 3e 79 6f 75 20 6e 65  <ul>..<li>you ne
64b0: 65 64 20 66 6f 73 73 69 6c 2e 65 78 65 20 61 63  ed fossil.exe ac
64c0: 63 65 73 73 69 62 6c 65 20 62 79 20 79 6f 75 72  cessible by your
64d0: 20 77 65 62 20 73 65 72 76 65 72 20 6f 72 20 6f   web server or o
64e0: 6e 20 79 6f 75 72 20 70 61 74 68 2e 2e 20 65 61  n your path.. ea
64f0: 73 69 65 73 74 20 69 73 20 74 6f 20 6a 75 73 74  siest is to just
6500: 20 63 68 75 63 6b 20 69 74 20 69 6e 20 5c 25 53   chuck it in \%S
6510: 59 53 54 45 4d 5f 52 4f 4f 54 25 5c 20 28 75 73  YSTEM_ROOT%\ (us
6520: 75 61 6c 6c 79 20 63 3a 5c 77 69 6e 64 6f 77 73  ually c:\windows
6530: 5c 29 20 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 61 73  \) </li>..<li>as
6540: 73 75 6d 69 6e 67 20 79 6f 75 20 61 72 65 20 72  suming you are r
6550: 75 6e 6e 69 6e 67 20 61 70 61 63 68 65 2c 20 79  unning apache, y
6560: 6f 75 20 6e 65 65 64 20 74 6f 20 65 69 74 68 65  ou need to eithe
6570: 72 20 61 64 64 20 74 68 65 20 45 78 65 63 43 47  r add the ExecCG
6580: 49 20 74 6f 20 74 68 65 20 6f 70 74 69 6f 6e 73  I to the options
6590: 20 6f 6e 20 79 6f 75 72 20 44 6f 63 75 6d 65 6e   on your Documen
65a0: 74 52 6f 6f 74 2c 20 6f 72 20 6d 61 6b 65 20 73  tRoot, or make s
65b0: 75 72 65 20 74 68 65 20 53 63 72 69 70 74 41 6c  ure the ScriptAl
65c0: 69 61 73 20 64 69 72 65 63 74 69 76 65 20 69 73  ias directive is
65d0: 20 73 65 74 20 61 6e 64 20 70 75 74 20 79 6f 75   set and put you
65e0: 72 20 2e 63 67 69 20 66 69 6c 65 73 20 69 6e 20  r .cgi files in 
65f0: 74 68 61 74 20 66 6f 6c 64 65 72 2e 2e 3c 2f 6c  that folder..</l
6600: 69 3e 0d 0a 3c 6c 69 3e 74 68 65 20 63 6f 6e 74  i>..<li>the cont
6610: 65 6e 74 73 20 6f 66 20 79 6f 75 72 20 63 67 69  ents of your cgi
6620: 20 66 69 6c 65 20 6e 65 65 64 73 20 74 6f 20 65   file needs to e
6630: 73 73 65 6e 74 69 61 6c 6c 79 20 74 68 65 20 73  ssentially the s
6640: 61 6d 65 20 61 73 20 61 62 6f 76 65 2e 2e 20 68  ame as above.. h
6650: 6f 77 65 76 65 72 20 70 61 74 68 73 20 6e 65 65  owever paths nee
6660: 64 73 20 74 6f 20 62 65 20 77 69 6e 64 6f 77 73  ds to be windows
6670: 20 66 72 69 65 6e 64 6c 79 2e 2e 20 69 20 68 61   friendly.. i ha
6680: 76 65 20 6d 61 64 65 20 73 75 72 65 20 74 68 61  ve made sure tha
6690: 74 20 61 6c 6c 20 66 6f 6c 64 65 72 73 20 6f 6e  t all folders on
66a0: 20 6d 79 20 74 65 73 74 20 62 6f 78 20 61 72 65   my test box are
66b0: 20 66 72 65 65 20 6f 66 20 73 70 61 63 65 73 2c   free of spaces,
66c0: 20 61 6e 64 20 61 73 20 73 75 63 68 20 74 68 69   and as such thi
66d0: 73 20 66 69 6c 65 20 77 6f 72 6b 73 20 66 6f 72  s file works for
66e0: 20 6d 65 20 28 6f 62 76 69 6f 75 73 6c 79 20 79   me (obviously y
66f0: 6f 75 72 20 70 61 74 68 73 20 6d 61 79 20 64 69  our paths may di
6700: 66 66 65 72 29 0d 0a 3c 70 72 65 3e 0d 0a 23 21  ffer)..<pre>..#!
6710: 20 66 6f 73 73 69 6c 2e 65 78 65 0d 0a 72 65 70   fossil.exe..rep
6720: 6f 73 69 74 6f 72 79 3a 20 63 3a 2f 77 61 6d 70  ository: c:/wamp
6730: 2f 77 77 77 2f 64 65 76 2f 61 63 63 6f 75 6e 74  /www/dev/account
6740: 73 2e 66 6f 73 73 69 6c 0d 0a 3c 2f 70 72 65 3e  s.fossil..</pre>
6750: 0d 0a 49 20 73 75 70 70 6f 73 65 20 79 6f 75 20  ..I suppose you 
6760: 63 6f 75 6c 64 20 70 75 74 20 66 6f 73 73 69 6c  could put fossil
6770: 2e 65 78 65 20 73 6f 6d 65 77 68 65 72 65 20 6d  .exe somewhere m
6780: 6f 72 65 20 73 70 65 63 69 66 69 63 20 61 6e 64  ore specific and
6790: 20 73 65 74 20 74 68 65 20 70 61 74 68 20 74 6f   set the path to
67a0: 20 69 74 20 61 73 20 77 65 6c 6c 2c 20 62 75 74   it as well, but
67b0: 20 73 69 6e 63 65 20 79 6f 75 20 61 72 65 20 70   since you are p
67c0: 72 6f 62 61 62 6c 79 20 75 73 69 6e 67 20 74 68  robably using th
67d0: 65 20 73 61 6d 65 20 65 78 65 63 75 74 61 62 6c  e same executabl
67e0: 65 20 66 6f 72 20 63 6d 64 6c 69 6e 65 20 61 6e  e for cmdline an
67f0: 64 20 63 67 69 20 69 74 20 6b 69 6e 64 20 6f 66  d cgi it kind of
6800: 20 6a 75 73 74 20 6d 61 6b 65 73 20 73 65 6e 73   just makes sens
6810: 65 20 74 6f 20 70 75 74 20 69 74 20 73 6f 6d 65  e to put it some
6820: 77 68 65 72 65 20 6d 6f 72 65 20 61 63 63 65 73  where more acces
6830: 73 69 62 6c 65 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e  sible</li>..<li>
6840: 41 73 20 77 69 74 68 20 6d 6f 73 74 20 57 69 6e  As with most Win
6850: 64 6f 77 73 20 62 61 73 65 64 20 77 65 62 20 69  dows based web i
6860: 6e 73 74 72 75 63 74 69 6f 6e 73 2c 20 70 65 72  nstructions, per
6870: 6d 69 73 73 69 6f 6e 20 61 72 65 20 6e 6f 74 20  mission are not 
6880: 61 73 20 69 6d 70 6f 72 74 61 6e 74 2c 20 68 6f  as important, ho
6890: 77 65 76 65 72 20 61 74 20 74 68 65 20 6c 65 61  wever at the lea
68a0: 73 74 2c 20 79 6f 75 20 6e 65 65 64 20 74 6f 20  st, you need to 
68b0: 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 79  make sure that y
68c0: 6f 75 72 20 72 65 70 6f 73 69 74 6f 72 79 20 69  our repository i
68d0: 73 20 6e 6f 74 20 66 6c 61 67 67 65 64 20 72 65  s not flagged re
68e0: 61 64 2d 6f 6e 6c 79 2c 20 61 73 20 79 6f 75 20  ad-only, as you 
68f0: 77 69 6c 6c 20 65 6e 63 6f 75 6e 74 65 72 20 64  will encounter d
6900: 61 74 61 62 61 73 65 20 65 72 72 6f 72 73 20 69  atabase errors i
6910: 66 20 69 74 20 69 73 2e 3c 2f 6c 69 3e 0d 0a 3c  f it is.</li>..<
6920: 2f 75 6c 3e 0d 0a 0d 0a 3c 68 33 3e 44 69 73 63  /ul>....<h3>Disc
6930: 75 73 73 69 6f 6e 3c 2f 68 33 3e 0d 0a 55 73 69  ussion</h3>..Usi
6940: 6e 67 20 74 68 65 20 43 47 49 20 73 65 72 76 65  ng the CGI serve
6950: 72 20 69 73 20 74 68 65 20 62 65 73 74 20 73 6f  r is the best so
6960: 6c 75 74 69 6f 6e 20 63 6f 6d 62 69 6e 69 6e 67  lution combining
6970: 20 61 6e 20 65 78 69 73 74 69 6e 67 20 77 65 62   an existing web
6980: 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20   infrastructure 
6990: 61 6e 64 20 74 68 65 20 73 68 61 72 69 6e 67 20  and the sharing 
69a0: 6f 66 20 6d 61 6e 79 20 3c 63 69 74 65 3e 46 6f  of many <cite>Fo
69b0: 73 73 69 6c 3c 2f 63 69 74 65 3e 20 72 65 70 6f  ssil</cite> repo
69c0: 73 69 74 6f 72 69 65 73 2e 20 20 55 6e 6c 69 6b  sitories.  Unlik
69d0: 65 20 74 68 65 20 61 64 2d 68 6f 63 20 73 6f 6c  e the ad-hoc sol
69e0: 75 74 69 6f 6e 20 77 68 69 63 68 20 72 65 71 75  ution which requ
69f0: 69 72 65 73 2c 20 69 6e 20 65 66 66 65 63 74 2c  ires, in effect,
6a00: 20 61 20 73 65 70 61 72 61 74 65 20 70 6f 72 74   a separate port
6a10: 20 66 6f 72 20 65 61 63 68 20 73 69 6d 75 6c 74   for each simult
6a20: 61 6e 65 6f 75 73 6c 79 2d 73 68 61 72 65 64 20  aneously-shared 
6a30: 72 65 70 6f 73 69 74 6f 72 79 2c 20 61 6e 64 20  repository, and 
6a40: 77 68 69 63 68 20 72 65 71 75 69 72 65 73 20 73  which requires s
6a50: 65 76 65 72 61 6c 20 69 6e 73 74 61 6e 63 65 73  everal instances
6a60: 20 6f 66 20 66 6f 73 73 69 6c 20 72 75 6e 6e 69   of fossil runni
6a70: 6e 67 20 2d 2d 20 6f 6e 65 20 66 6f 72 20 65 61  ng -- one for ea
6a80: 63 68 20 73 68 61 72 65 64 20 72 65 70 6f 73 69  ch shared reposi
6a90: 74 6f 72 79 20 2d 2d 20 74 68 65 20 43 47 49 20  tory -- the CGI 
6aa0: 61 70 70 72 6f 61 63 68 20 75 73 65 73 20 55 52  approach uses UR
6ab0: 4c 73 20 74 6f 20 64 69 73 74 69 6e 67 75 69 73  Ls to distinguis
6ac0: 68 20 62 65 74 77 65 65 6e 20 72 65 70 6f 73 69  h between reposi
6ad0: 74 6f 72 69 65 73 20 61 6e 64 20 6f 6e 6c 79 20  tories and only 
6ae0: 28 62 72 69 65 66 6c 79 29 20 72 75 6e 73 20 61  (briefly) runs a
6af0: 20 63 6f 70 79 20 6f 66 20 66 6f 73 73 69 6c 20   copy of fossil 
6b00: 77 68 65 6e 20 74 68 65 20 72 65 70 6f 73 69 74  when the reposit
6b10: 6f 72 79 20 69 73 20 61 63 74 75 61 6c 6c 79 20  ory is actually 
6b20: 61 63 63 65 73 73 65 64 2e 0d 0a 0d 0a 53 68 61  accessed.....Sha
6b30: 72 69 6e 67 20 72 65 70 6f 73 69 74 6f 72 69 65  ring repositorie
6b40: 73 20 77 69 74 68 20 43 47 49 20 69 73 20 72 65  s with CGI is re
6b50: 61 6c 6c 79 20 6f 6e 6c 79 20 77 6f 72 74 68 20  ally only worth 
6b60: 74 68 65 20 65 66 66 6f 72 74 20 69 66 20 6d 6f  the effort if mo
6b70: 72 65 20 74 68 61 6e 20 6f 6e 65 20 72 65 70 6f  re than one repo
6b80: 73 69 74 6f 72 79 20 69 73 20 62 65 69 6e 67 20  sitory is being 
6b90: 73 68 61 72 65 64 2c 20 68 6f 77 65 76 65 72 2e  shared, however.
6ba0: 20 20 57 69 74 68 20 6f 6e 6c 79 20 6f 6e 65 20    With only one 
6bb0: 62 65 69 6e 67 20 73 68 61 72 65 64 2c 20 3c 63  being shared, <c
6bc0: 6f 64 65 3e 66 6f 73 73 69 6c 20 73 65 72 76 65  ode>fossil serve
6bd0: 72 3c 2f 63 6f 64 65 3e 20 69 73 20 6c 69 6b 65  r</code> is like
6be0: 6c 79 20 6d 6f 72 65 20 74 68 61 6e 20 61 64 65  ly more than ade
6bf0: 71 75 61 74 65 20 6f 72 20 74 68 65 20 75 73 65  quate or the use
6c00: 20 6f 66 20 28 78 29 69 6e 65 74 64 20 6d 61 79   of (x)inetd may
6c10: 20 62 65 20 69 6e 64 69 63 61 74 65 64 2e 20 20   be indicated.  
6c20: 49 66 2c 20 68 6f 77 65 76 65 72 2c 20 74 68 65  If, however, the
6c30: 72 65 20 69 73 20 61 6c 72 65 61 64 79 20 61 6e  re is already an
6c40: 20 65 78 69 73 74 69 6e 67 20 77 65 62 20 69 6e   existing web in
6c50: 66 72 61 73 74 72 75 63 74 75 72 65 20 69 6e 20  frastructure in 
6c60: 70 6c 61 63 65 2c 20 43 47 49 20 73 74 69 6c 6c  place, CGI still
6c70: 20 6d 61 79 20 62 65 20 70 72 65 66 65 72 72 65   may be preferre
6c80: 64 20 69 66 20 6f 6e 6c 79 20 66 6f 72 20 63 6f  d if only for co
6c90: 6e 73 69 73 74 65 6e 63 79 20 61 6e 64 20 6d 61  nsistency and ma
6ca0: 69 6e 74 61 69 6e 61 62 69 6c 69 74 79 20 6f 66  intainability of
6cb0: 20 74 68 65 20 73 79 73 74 65 6d 20 61 73 20 61   the system as a
6cc0: 20 77 68 6f 6c 65 2e 0d 0a 0d 0a 3c 68 32 3e 3c   whole.....<h2><
6cd0: 61 20 6e 61 6d 65 3d 22 65 6e 76 22 3e 55 73 69  a name="env">Usi
6ce0: 6e 67 20 45 6e 76 69 72 6f 6e 6d 65 6e 74 20 76  ng Environment v
6cf0: 61 72 69 61 62 6c 65 73 3c 2f 61 3e 3c 2f 68 32  ariables</a></h2
6d00: 3e 0d 0a 3c 68 33 3e 4d 6f 74 69 76 61 74 69 6f  >..<h3>Motivatio
6d10: 6e 3c 2f 68 33 3e 0d 0a 20 20 2a 20 20 57 61 6e  n</h3>..  *  Wan
6d20: 74 20 74 6f 20 75 73 65 20 61 20 64 69 66 66 65  t to use a diffe
6d30: 72 65 6e 74 20 65 64 69 74 6f 72 20 66 6f 72 20  rent editor for 
6d40: 63 68 65 63 6b 69 6e 73 20 28 55 6e 69 78 2f 57  checkins (Unix/W
6d50: 69 6e 64 6f 77 73 29 0d 0a 20 20 2a 20 20 55 73  indows)..  *  Us
6d60: 65 20 61 20 70 72 6f 78 79 20 69 66 20 79 6f 75  e a proxy if you
6d70: 20 61 72 65 20 62 65 68 69 6e 64 20 61 20 66 69   are behind a fi
6d80: 72 65 77 61 6c 6c 0d 0a 0d 0a 3c 68 33 3e 53 6f  rewall....<h3>So
6d90: 6c 75 74 69 6f 6e 3c 2f 68 33 3e 0d 0a 45 6e 76  lution</h3>..Env
6da0: 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c  ironment variabl
6db0: 65 73 20 61 72 65 20 75 73 65 64 20 74 6f 20 63  es are used to c
6dc0: 75 73 74 6f 6d 69 7a 65 20 73 6f 6d 65 20 70 72  ustomize some pr
6dd0: 6f 67 72 61 6d 6d 65 20 62 65 68 61 76 69 6f 75  ogramme behaviou
6de0: 72 2e 20 4f 6e 20 4c 69 6e 75 78 2f 55 6e 69 78  r. On Linux/Unix
6df0: 20 74 68 65 79 20 63 61 6e 20 62 65 20 73 65 74   they can be set
6e00: 20 69 6e 20 79 6f 75 20 7e 2f 2e 62 61 73 68 72   in you ~/.bashr
6e10: 63 20 6f 72 20 65 76 65 6e 20 6f 6e 20 63 6f 6d  c or even on com
6e20: 6d 61 6e 64 20 6c 69 6e 65 2e 20 4f 6e 20 57 69  mand line. On Wi
6e30: 6e 64 6f 77 73 20 74 68 65 79 20 63 61 6e 20 62  ndows they can b
6e40: 65 20 73 65 74 20 69 6e 20 74 68 65 20 73 79 73  e set in the sys
6e50: 74 65 6d 20 73 65 74 74 69 6e 67 73 2e 0d 0a 0d  tem settings....
6e60: 0a 3c 63 69 74 65 3e 46 6f 73 73 69 6c 3c 2f 63  .<cite>Fossil</c
6e70: 69 74 65 3e 20 63 68 65 63 6b 73 20 74 68 65 20  ite> checks the 
6e80: 66 6f 6c 6c 6f 77 69 6e 67 20 65 6e 76 69 72 6f  following enviro
6e90: 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 73 3a  nment variables:
6ea0: 0d 0a 20 20 2a 20 20 56 49 53 55 41 4c 2f 45 44  ..  *  VISUAL/ED
6eb0: 49 54 4f 52 0d 0a 20 20 2a 20 20 68 74 74 70 5f  ITOR..  *  http_
6ec0: 70 72 6f 78 79 0d 0a 20 20 2a 20 20 54 4d 50 5f  proxy..  *  TMP_
6ed0: 44 49 52 0d 0a 20 20 2a 20 20 47 41 54 45 57 41  DIR..  *  GATEWA
6ee0: 59 5f 49 4e 54 45 52 46 41 43 45 0d 0a 20 20 2a  Y_INTERFACE..  *
6ef0: 20 20 53 51 4c 49 54 45 5f 46 4f 52 43 45 5f 50    SQLITE_FORCE_P
6f00: 52 4f 58 59 5f 4c 4f 43 4b 49 4e 47 0d 0a 20 20  ROXY_LOCKING..  
6f10: 2a 20 20 55 53 45 52 0d 0a 20 20 2a 20 20 55 53  *  USER..  *  US
6f20: 45 52 4e 41 4d 45 0d 0a 0d 0a 3c 62 3e 56 49 53  ERNAME....<b>VIS
6f30: 55 41 4c 2f 45 44 49 54 4f 52 3c 2f 62 3e 20 63  UAL/EDITOR</b> c
6f40: 6f 6e 74 61 69 6e 20 74 68 65 20 65 64 69 74 6f  ontain the edito
6f50: 72 20 6f 66 20 79 6f 75 72 20 63 68 6f 69 63 65  r of your choice
6f60: 20 74 68 61 74 20 69 73 20 75 73 65 64 20 74 6f   that is used to
6f70: 20 77 72 69 74 65 20 74 68 65 20 63 6f 6d 6d 69   write the commi
6f80: 74 20 66 69 6c 65 2e 0d 0a 0d 0a 3c 62 3e 54 4d  t file.....<b>TM
6f90: 50 5f 44 49 52 3c 2f 62 3e 20 73 70 65 63 69 66  P_DIR</b> specif
6fa0: 69 65 73 20 74 68 65 20 64 69 72 65 63 74 6f 72  ies the director
6fb0: 79 20 66 6f 72 20 74 65 6d 70 6f 72 61 72 79 20  y for temporary 
6fc0: 66 69 6c 65 73 2e 0d 0a 0d 0a 3c 62 3e 47 41 54  files.....<b>GAT
6fd0: 45 57 41 59 5f 49 4e 54 45 52 46 41 43 45 3c 2f  EWAY_INTERFACE</
6fe0: 62 3e 20 3f 3f 3f 0d 0a 0d 0a 3c 62 3e 53 51 4c  b> ???....<b>SQL
6ff0: 49 54 45 5f 46 4f 52 43 45 5f 50 52 4f 58 59 5f  ITE_FORCE_PROXY_
7000: 4c 4f 43 4b 49 4e 47 3c 2f 62 3e 20 3f 3f 3f 0d  LOCKING</b> ???.
7010: 0a 0d 0a 3c 62 3e 55 53 45 52 3c 2f 62 3e 0d 0a  ...<b>USER</b>..
7020: 0d 0a 3c 62 3e 55 53 45 52 4e 41 4d 45 3c 2f 62  ..<b>USERNAME</b
7030: 3e 0d 0a 0d 0a 0d 0a 3c 68 32 3e 3c 61 20 6e 61  >......<h2><a na
7040: 6d 65 3d 22 63 73 73 22 3e 45 78 61 6d 70 6c 65  me="css">Example
7050: 20 43 53 53 3c 2f 61 3e 3c 2f 68 32 3e 0d 0a 3c   CSS</a></h2>..<
7060: 68 33 3e 4d 6f 74 69 76 61 74 69 6f 6e 3c 2f 68  h3>Motivation</h
7070: 33 3e 0d 0a 54 68 65 20 64 65 66 61 75 6c 74 20  3>..The default 
7080: 55 49 20 6d 61 79 20 6e 6f 74 20 62 65 20 73 74  UI may not be st
7090: 79 6c 69 73 68 20 69 6e 20 65 76 65 72 79 6f 6e  ylish in everyon
70a0: 65 73 20 65 79 65 73 2e 0d 0a 49 74 20 69 73 20  es eyes...It is 
70b0: 75 70 20 74 6f 20 79 6f 75 20 74 6f 20 63 68 61  up to you to cha
70c0: 6e 67 65 20 69 74 2e 20 53 65 65 20 74 68 65 20  nge it. See the 
70d0: 43 53 53 20 63 6f 64 65 20 62 65 6c 6f 77 20 66  CSS code below f
70e0: 72 6f 6d 20 74 68 69 73 20 73 69 74 65 20 5b 68  rom this site [h
70f0: 74 74 70 3a 2f 2f 66 6f 73 73 69 6c 2e 77 61 6e  ttp://fossil.wan
7100: 64 65 72 69 6e 67 68 6f 72 73 65 2e 6e 65 74 2f  deringhorse.net/
7110: 69 6e 64 65 78 2e 63 67 69 2f 69 6e 64 65 78 7c  index.cgi/index|
7120: 57 61 6e 64 65 72 69 6e 67 20 48 6f 72 73 65 5d  Wandering Horse]
7130: 0d 0a 0d 0a 3c 6e 6f 77 69 6b 69 3e 0d 0a 3c 70  ....<nowiki>..<p
7140: 72 65 3e 0d 0a 2f 2a 20 47 65 6e 65 72 61 6c 20  re>../* General 
7150: 73 65 74 74 69 6e 67 73 20 66 6f 72 20 74 68 65  settings for the
7160: 20 65 6e 74 69 72 65 20 70 61 67 65 20 2a 2f 0d   entire page */.
7170: 0a 62 6f 64 79 20 7b 0d 0a 20 20 6d 61 72 67 69  .body {..  margi
7180: 6e 3a 20 30 65 78 20 31 65 78 3b 0d 0a 20 20 70  n: 0ex 1ex;..  p
7190: 61 64 64 69 6e 67 3a 20 30 70 78 3b 0d 0a 20 20  adding: 0px;..  
71a0: 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72  background-color
71b0: 3a 20 77 68 69 74 65 3b 0d 0a 20 20 66 6f 6e 74  : white;..  font
71c0: 2d 66 61 6d 69 6c 79 3a 20 22 73 61 6e 73 20 73  -family: "sans s
71d0: 65 72 69 66 22 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a 20  erif";..}..../* 
71e0: 4d 61 6b 65 20 74 68 65 20 6c 69 6e 6b 73 20 69  Make the links i
71f0: 6e 20 74 68 65 20 66 6f 6f 74 65 72 20 6c 65 73  n the footer les
7200: 73 20 75 67 6c 79 2e 2e 2e 20 2a 2f 0d 0a 61 20  s ugly... */..a 
7210: 7b 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36 61  { color: #000f6a
7220: 3b 20 7d 0d 0a 61 3a 6c 69 6e 6b 20 7b 20 63 6f  ; }..a:link { co
7230: 6c 6f 72 3a 20 23 30 30 30 66 36 61 3b 20 7d 0d  lor: #000f6a; }.
7240: 0a 61 3a 76 69 73 69 74 65 64 20 7b 20 63 6f 6c  .a:visited { col
7250: 6f 72 3a 20 23 30 30 30 66 36 61 3b 20 7d 0d 0a  or: #000f6a; }..
7260: 61 3a 68 6f 76 65 72 20 7b 20 62 61 63 6b 67 72  a:hover { backgr
7270: 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 65 33 65  ound-color: #e3e
7280: 33 65 33 3b 20 7d 0d 0a 0d 0a 0d 0a 68 72 20 7b  3e3; }......hr {
7290: 0d 0a 20 20 68 65 69 67 68 74 3a 20 33 70 78 3b  ..  height: 3px;
72a0: 0d 0a 20 20 62 6f 72 64 65 72 2d 74 6f 70 3a 20  ..  border-top: 
72b0: 6e 6f 6e 65 3b 20 2f 2a 31 70 78 20 64 61 73 68  none; /*1px dash
72c0: 65 64 20 23 30 30 35 3b 2a 2f 0d 0a 20 20 62 6f  ed #005;*/..  bo
72d0: 72 64 65 72 2d 62 6f 74 74 6f 6d 3a 20 31 70 78  rder-bottom: 1px
72e0: 20 64 61 73 68 65 64 20 23 30 30 35 3b 0d 0a 20   dashed #005;.. 
72f0: 20 62 6f 72 64 65 72 2d 6c 65 66 74 3a 20 6e 6f   border-left: no
7300: 6e 65 3b 0d 0a 20 20 62 6f 72 64 65 72 2d 72 69  ne;..  border-ri
7310: 67 68 74 3a 20 6e 6f 6e 65 3b 0d 0a 7d 0d 0a 2f  ght: none;..}../
7320: 2a 20 54 68 65 20 70 72 6f 6a 65 63 74 20 6c 6f  * The project lo
7330: 67 6f 20 69 6e 20 74 68 65 20 75 70 70 65 72 20  go in the upper 
7340: 6c 65 66 74 2d 68 61 6e 64 20 63 6f 72 6e 65 72  left-hand corner
7350: 20 6f 66 20 65 61 63 68 20 70 61 67 65 20 2a 2f   of each page */
7360: 0d 0a 64 69 76 2e 6c 6f 67 6f 20 7b 0d 0a 20 20  ..div.logo {..  
7370: 64 69 73 70 6c 61 79 3a 20 74 61 62 6c 65 2d 63  display: table-c
7380: 65 6c 6c 3b 0d 0a 20 20 74 65 78 74 2d 61 6c 69  ell;..  text-ali
7390: 67 6e 3a 20 63 65 6e 74 65 72 3b 0d 0a 20 20 76  gn: center;..  v
73a0: 65 72 74 69 63 61 6c 2d 61 6c 69 67 6e 3a 20 62  ertical-align: b
73b0: 6f 74 74 6f 6d 3b 0d 0a 20 20 63 6f 6c 6f 72 3a  ottom;..  color:
73c0: 20 23 30 30 30 66 36 61 3b 0d 0a 7d 0d 0a 0d 0a   #000f6a;..}....
73d0: 2f 2a 20 54 68 65 20 70 61 67 65 20 74 69 74 6c  /* The page titl
73e0: 65 20 63 65 6e 74 65 72 65 64 20 61 74 20 74 68  e centered at th
73f0: 65 20 74 6f 70 20 6f 66 20 65 61 63 68 20 70 61  e top of each pa
7400: 67 65 20 2a 2f 0d 0a 64 69 76 2e 74 69 74 6c 65  ge */..div.title
7410: 20 7b 0d 0a 20 20 64 69 73 70 6c 61 79 3a 20 74   {..  display: t
7420: 61 62 6c 65 2d 63 65 6c 6c 3b 0d 0a 20 20 66 6f  able-cell;..  fo
7430: 6e 74 2d 73 69 7a 65 3a 20 32 65 6d 3b 0d 0a 20  nt-size: 2em;.. 
7440: 20 66 6f 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f   font-weight: bo
7450: 6c 64 3b 0d 0a 20 20 74 65 78 74 2d 61 6c 69 67  ld;..  text-alig
7460: 6e 3a 20 63 65 6e 74 65 72 3b 0d 0a 20 20 63 6f  n: center;..  co
7470: 6c 6f 72 3a 20 23 30 30 30 66 36 61 3b 0d 0a 20  lor: #000f6a;.. 
7480: 20 76 65 72 74 69 63 61 6c 2d 61 6c 69 67 6e 3a   vertical-align:
7490: 20 62 6f 74 74 6f 6d 3b 0d 0a 20 20 77 69 64 74   bottom;..  widt
74a0: 68 3a 20 31 30 30 25 3b 0d 0a 7d 0d 0a 0d 0a 2f  h: 100%;..}..../
74b0: 2a 20 54 68 65 20 6c 6f 67 69 6e 20 73 74 61 74  * The login stat
74c0: 75 73 20 6d 65 73 73 61 67 65 20 69 6e 20 74 68  us message in th
74d0: 65 20 74 6f 70 20 72 69 67 68 74 2d 68 61 6e 64  e top right-hand
74e0: 20 63 6f 72 6e 65 72 20 2a 2f 0d 0a 64 69 76 2e   corner */..div.
74f0: 73 74 61 74 75 73 20 7b 0d 0a 20 20 64 69 73 70  status {..  disp
7500: 6c 61 79 3a 20 74 61 62 6c 65 2d 63 65 6c 6c 3b  lay: table-cell;
7510: 0d 0a 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20  ..  text-align: 
7520: 72 69 67 68 74 3b 0d 0a 20 20 76 65 72 74 69 63  right;..  vertic
7530: 61 6c 2d 61 6c 69 67 6e 3a 20 62 6f 74 74 6f 6d  al-align: bottom
7540: 3b 0d 0a 20 20 63 6f 6c 6f 72 3a 20 23 30 30 30  ;..  color: #000
7550: 66 36 61 3b 0d 0a 20 20 66 6f 6e 74 2d 73 69 7a  f6a;..  font-siz
7560: 65 3a 20 30 2e 38 65 6d 3b 0d 0a 7d 0d 0a 0d 0a  e: 0.8em;..}....
7570: 2f 2a 20 54 68 65 20 68 65 61 64 65 72 20 61 63  /* The header ac
7580: 72 6f 73 73 20 74 68 65 20 74 6f 70 20 6f 66 20  ross the top of 
7590: 74 68 65 20 70 61 67 65 20 2a 2f 0d 0a 64 69 76  the page */..div
75a0: 2e 68 65 61 64 65 72 20 7b 0d 0a 20 20 64 69 73  .header {..  dis
75b0: 70 6c 61 79 3a 20 74 61 62 6c 65 3b 0d 0a 20 20  play: table;..  
75c0: 77 69 64 74 68 3a 20 31 30 30 25 3b 0d 0a 20 20  width: 100%;..  
75d0: 74 65 78 74 2d 61 6c 69 67 6e 3a 20 63 65 6e 74  text-align: cent
75e0: 65 72 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 54 68 65  er;..}..../* The
75f0: 20 6d 61 69 6e 20 6d 65 6e 75 20 62 61 72 20 74   main menu bar t
7600: 68 61 74 20 61 70 70 65 61 72 73 20 61 74 20 74  hat appears at t
7610: 68 65 20 74 6f 70 20 6f 66 20 74 68 65 20 70 61  he top of the pa
7620: 67 65 20 62 65 6e 65 61 74 68 0d 0a 2a 2a 20 74  ge beneath..** t
7630: 68 65 20 68 65 61 64 65 72 20 2a 2f 0d 0a 64 69  he header */..di
7640: 76 2e 6d 61 69 6e 6d 65 6e 75 20 7b 0d 0a 20 20  v.mainmenu {..  
7650: 70 61 64 64 69 6e 67 3a 20 32 70 78 20 35 70 78  padding: 2px 5px
7660: 20 32 70 78 20 35 70 78 3b 0d 0a 20 20 66 6f 6e   2px 5px;..  fon
7670: 74 2d 73 69 7a 65 3a 20 30 2e 39 65 6d 3b 0d 0a  t-size: 0.9em;..
7680: 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20 63 65    text-align: ce
7690: 6e 74 65 72 3b 0d 0a 20 20 6c 65 74 74 65 72 2d  nter;..  letter-
76a0: 73 70 61 63 69 6e 67 3a 20 31 70 78 3b 0d 0a 20  spacing: 1px;.. 
76b0: 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f   background-colo
76c0: 72 3a 20 23 65 33 65 33 65 33 3b 0d 0a 20 20 63  r: #e3e3e3;..  c
76d0: 6f 6c 6f 72 3a 20 23 30 30 30 66 36 61 3b 0d 0a  olor: #000f6a;..
76e0: 20 20 62 6f 72 64 65 72 3a 20 31 70 78 20 69 6e    border: 1px in
76f0: 73 65 74 20 62 6c 61 63 6b 3b 0d 0a 7d 0d 0a 0d  set black;..}...
7700: 0a 2f 2a 20 54 68 65 20 73 75 62 6d 65 6e 75 20  ./* The submenu 
7710: 62 61 72 20 74 68 61 74 20 2a 73 6f 6d 65 74 69  bar that *someti
7720: 6d 65 73 2a 20 61 70 70 65 61 72 73 20 62 65 6c  mes* appears bel
7730: 6f 77 20 74 68 65 20 6d 61 69 6e 20 6d 65 6e 75  ow the main menu
7740: 20 2a 2f 0d 0a 64 69 76 2e 73 75 62 6d 65 6e 75   */..div.submenu
7750: 20 7b 0d 0a 20 20 70 61 64 64 69 6e 67 3a 20 32   {..  padding: 2
7760: 70 78 20 35 70 78 20 32 70 78 20 35 70 78 3b 0d  px 5px 2px 5px;.
7770: 0a 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 30 2e  .  font-size: 0.
7780: 39 65 6d 3b 0d 0a 20 20 74 65 78 74 2d 61 6c 69  9em;..  text-ali
7790: 67 6e 3a 20 63 65 6e 74 65 72 3b 0d 0a 20 20 62  gn: center;..  b
77a0: 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a  ackground-color:
77b0: 20 23 65 33 65 33 65 33 3b 0d 0a 20 20 63 6f 6c   #e3e3e3;..  col
77c0: 6f 72 3a 20 23 30 30 30 66 36 61 3b 0d 0a 7d 0d  or: #000f6a;..}.
77d0: 0a 64 69 76 2e 6d 61 69 6e 6d 65 6e 75 20 61 2c  .div.mainmenu a,
77e0: 20 64 69 76 2e 6d 61 69 6e 6d 65 6e 75 20 61 3a   div.mainmenu a:
77f0: 76 69 73 69 74 65 64 2c 20 64 69 76 2e 73 75 62  visited, div.sub
7800: 6d 65 6e 75 20 61 2c 20 64 69 76 2e 73 75 62 6d  menu a, div.subm
7810: 65 6e 75 20 61 3a 76 69 73 69 74 65 64 20 7b 0d  enu a:visited {.
7820: 0a 20 20 70 61 64 64 69 6e 67 3a 20 32 70 78 20  .  padding: 2px 
7830: 31 30 70 78 20 32 70 78 20 31 30 70 78 3b 0d 0a  10px 2px 10px;..
7840: 20 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36 61    color: #000f6a
7850: 3b 0d 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d  ;..  background-
7860: 63 6f 6c 6f 72 3a 20 23 65 33 65 33 65 33 3b 0d  color: #e3e3e3;.
7870: 0a 20 20 74 65 78 74 2d 64 65 63 6f 72 61 74 69  .  text-decorati
7880: 6f 6e 3a 20 6e 6f 6e 65 3b 0d 0a 7d 0d 0a 64 69  on: none;..}..di
7890: 76 2e 6d 61 69 6e 6d 65 6e 75 20 61 3a 68 6f 76  v.mainmenu a:hov
78a0: 65 72 2c 20 64 69 76 2e 73 75 62 6d 65 6e 75 20  er, div.submenu 
78b0: 61 3a 68 6f 76 65 72 20 7b 0d 0a 20 20 63 6f 6c  a:hover {..  col
78c0: 6f 72 3a 20 23 65 33 65 33 65 33 3b 0d 0a 20 20  or: #e3e3e3;..  
78d0: 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72  background-color
78e0: 3a 20 23 30 30 30 66 36 61 3b 0d 0a 7d 0d 0a 0d  : #000f6a;..}...
78f0: 0a 2f 2a 20 41 6c 6c 20 70 61 67 65 20 63 6f 6e  ./* All page con
7900: 74 65 6e 74 20 66 72 6f 6d 20 74 68 65 20 62 6f  tent from the bo
7910: 74 74 6f 6d 20 6f 66 20 74 68 65 20 6d 65 6e 75  ttom of the menu
7920: 20 6f 72 20 73 75 62 6d 65 6e 75 20 64 6f 77 6e   or submenu down
7930: 20 74 6f 0d 0a 2a 2a 20 74 68 65 20 66 6f 6f 74   to..** the foot
7940: 65 72 20 2a 2f 0d 0a 64 69 76 2e 63 6f 6e 74 65  er */..div.conte
7950: 6e 74 20 7b 0d 0a 20 20 70 61 64 64 69 6e 67 3a  nt {..  padding:
7960: 20 30 65 78 20 31 65 78 20 30 65 78 20 32 65 78   0ex 1ex 0ex 2ex
7970: 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 53 6f 6d 65 20  ;..}..../* Some 
7980: 70 61 67 65 73 20 68 61 76 65 20 73 65 63 74 69  pages have secti
7990: 6f 6e 20 64 69 76 69 64 65 72 73 20 2a 2f 0d 0a  on dividers */..
79a0: 64 69 76 2e 73 65 63 74 69 6f 6e 20 7b 0d 0a 20  div.section {.. 
79b0: 20 6d 61 72 67 69 6e 2d 62 6f 74 74 6f 6d 3a 20   margin-bottom: 
79c0: 30 70 78 3b 0d 0a 20 20 6d 61 72 67 69 6e 2d 74  0px;..  margin-t
79d0: 6f 70 3a 20 31 65 6d 3b 0d 0a 20 20 70 61 64 64  op: 1em;..  padd
79e0: 69 6e 67 3a 20 31 70 78 20 31 70 78 20 31 70 78  ing: 1px 1px 1px
79f0: 20 31 70 78 3b 0d 0a 20 20 66 6f 6e 74 2d 73 69   1px;..  font-si
7a00: 7a 65 3a 20 31 2e 32 65 6d 3b 0d 0a 20 20 66 6f  ze: 1.2em;..  fo
7a10: 6e 74 2d 77 65 69 67 68 74 3a 20 62 6f 6c 64 3b  nt-weight: bold;
7a20: 0d 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63  ..  background-c
7a30: 6f 6c 6f 72 3a 20 23 65 33 65 33 65 33 3b 0d 0a  olor: #e3e3e3;..
7a40: 20 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36 61    color: #000f6a
7a50: 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 54 68 65 20 22  ;..}..../* The "
7a60: 44 61 74 65 22 20 74 68 61 74 20 6f 63 63 75 72  Date" that occur
7a70: 73 20 6f 6e 20 74 68 65 20 6c 65 66 74 20 68 61  s on the left ha
7a80: 6e 64 20 73 69 64 65 20 6f 66 20 74 69 6d 65 6c  nd side of timel
7a90: 69 6e 65 73 20 2a 2f 0d 0a 64 69 76 2e 64 69 76  ines */..div.div
7aa0: 69 64 65 72 20 7b 0d 0a 20 20 62 61 63 6b 67 72  ider {..  backgr
7ab0: 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 65 33 65  ound-color: #e3e
7ac0: 33 65 33 3b 0d 0a 20 20 63 6f 6c 6f 72 3a 20 23  3e3;..  color: #
7ad0: 30 30 30 66 36 61 3b 0d 0a 20 20 62 6f 72 64 65  000f6a;..  borde
7ae0: 72 3a 20 31 70 78 20 23 62 62 62 62 66 66 20 73  r: 1px #bbbbff s
7af0: 6f 6c 69 64 3b 0d 0a 20 20 66 6f 6e 74 2d 73 69  olid;..  font-si
7b00: 7a 65 3a 20 31 65 6d 3b 20 66 6f 6e 74 2d 77 65  ze: 1em; font-we
7b10: 69 67 68 74 3a 20 6e 6f 72 6d 61 6c 3b 0d 0a 20  ight: normal;.. 
7b20: 20 70 61 64 64 69 6e 67 3a 20 2e 32 35 65 6d 3b   padding: .25em;
7b30: 0d 0a 20 20 6d 61 72 67 69 6e 3a 20 2e 32 65 6d  ..  margin: .2em
7b40: 20 30 20 2e 32 65 6d 20 30 3b 0d 0a 20 20 66 6c   0 .2em 0;..  fl
7b50: 6f 61 74 3a 20 6c 65 66 74 3b 0d 0a 20 20 63 6c  oat: left;..  cl
7b60: 65 61 72 3a 20 6c 65 66 74 3b 0d 0a 7d 0d 0a 0d  ear: left;..}...
7b70: 0a 2f 2a 20 54 68 65 20 66 6f 6f 74 65 72 20 61  ./* The footer a
7b80: 74 20 74 68 65 20 76 65 72 79 20 62 6f 74 74 6f  t the very botto
7b90: 6d 20 6f 66 20 74 68 65 20 70 61 67 65 20 2a 2f  m of the page */
7ba0: 0d 0a 64 69 76 2e 66 6f 6f 74 65 72 20 7b 0d 0a  ..div.footer {..
7bb0: 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 30 2e 38    font-size: 0.8
7bc0: 65 6d 3b 0d 0a 20 20 70 61 64 64 69 6e 67 3a 20  em;..  padding: 
7bd0: 32 70 78 20 35 70 78 20 32 70 78 20 35 70 78 3b  2px 5px 2px 5px;
7be0: 0d 0a 20 20 74 65 78 74 2d 61 6c 69 67 6e 3a 20  ..  text-align: 
7bf0: 63 65 6e 74 65 72 3b 0d 0a 20 20 6c 65 74 74 65  center;..  lette
7c00: 72 2d 73 70 61 63 69 6e 67 3a 20 31 70 78 3b 0d  r-spacing: 1px;.
7c10: 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f  .  background-co
7c20: 6c 6f 72 3a 20 23 65 33 65 33 65 33 3b 0d 0a 20  lor: #e3e3e3;.. 
7c30: 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36 61 3b   color: #000f6a;
7c40: 0d 0a 20 20 62 6f 72 64 65 72 3a 20 31 70 78 20  ..  border: 1px 
7c50: 69 6e 73 65 74 20 62 6c 61 63 6b 3b 0d 0a 7d 0d  inset black;..}.
7c60: 0a 0d 0a 2f 2a 20 4d 61 6b 65 20 74 68 65 20 6c  .../* Make the l
7c70: 69 6e 6b 73 20 69 6e 20 74 68 65 20 66 6f 6f 74  inks in the foot
7c80: 65 72 20 6c 65 73 73 20 75 67 6c 79 2e 2e 2e 20  er less ugly... 
7c90: 2a 2f 0d 0a 64 69 76 2e 66 6f 6f 74 65 72 20 61  */..div.footer a
7ca0: 20 7b 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36   { color: #000f6
7cb0: 61 3b 20 7d 0d 0a 64 69 76 2e 66 6f 6f 74 65 72  a; }..div.footer
7cc0: 20 61 3a 6c 69 6e 6b 20 7b 20 63 6f 6c 6f 72 3a   a:link { color:
7cd0: 20 23 30 30 30 66 36 61 3b 20 7d 0d 0a 64 69 76   #000f6a; }..div
7ce0: 2e 66 6f 6f 74 65 72 20 61 3a 76 69 73 69 74 65  .footer a:visite
7cf0: 64 20 7b 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66  d { color: #000f
7d00: 36 61 3b 20 7d 0d 0a 64 69 76 2e 66 6f 6f 74 65  6a; }..div.foote
7d10: 72 20 61 3a 68 6f 76 65 72 20 7b 20 62 61 63 6b  r a:hover { back
7d20: 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 30  ground-color: #0
7d30: 30 30 66 36 61 3b 20 63 6f 6c 6f 72 3a 20 23 65  00f6a; color: #e
7d40: 33 65 33 65 33 3b 20 7d 0d 0a 0d 0a 2f 2a 20 76  3e3e3; }..../* v
7d50: 65 72 62 61 74 69 6d 20 62 6c 6f 63 6b 73 20 2a  erbatim blocks *
7d60: 2f 0d 0a 70 72 65 2e 76 65 72 62 61 74 69 6d 20  /..pre.verbatim 
7d70: 7b 0d 0a 20 20 20 62 61 63 6b 67 72 6f 75 6e 64  {..   background
7d80: 2d 63 6f 6c 6f 72 3a 20 23 66 35 66 35 66 35 3b  -color: #f5f5f5;
7d90: 0d 0a 20 20 20 70 61 64 64 69 6e 67 3a 20 30 2e  ..   padding: 0.
7da0: 35 65 6d 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 54 68  5em;..}..../* Th
7db0: 65 20 6c 61 62 65 6c 2f 76 61 6c 75 65 20 70 61  e label/value pa
7dc0: 69 72 73 20 6f 6e 20 28 66 6f 72 20 65 78 61 6d  irs on (for exam
7dd0: 70 6c 65 29 20 74 68 65 20 76 69 6e 66 6f 20 70  ple) the vinfo p
7de0: 61 67 65 20 2a 2f 0d 0a 74 61 62 6c 65 2e 6c 61  age */..table.la
7df0: 62 65 6c 2d 76 61 6c 75 65 20 74 68 20 7b 0d 0a  bel-value th {..
7e00: 20 20 76 65 72 74 69 63 61 6c 2d 61 6c 69 67 6e    vertical-align
7e10: 3a 20 74 6f 70 3b 0d 0a 20 20 74 65 78 74 2d 61  : top;..  text-a
7e20: 6c 69 67 6e 3a 20 72 69 67 68 74 3b 0d 0a 20 20  lign: right;..  
7e30: 70 61 64 64 69 6e 67 3a 20 30 2e 32 65 78 20 32  padding: 0.2ex 2
7e40: 65 78 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 46 6f 72  ex;..}..../* For
7e50: 20 6d 61 72 6b 69 6e 67 20 69 6d 70 6f 72 74 61   marking importa
7e60: 6e 74 20 55 49 20 65 6c 65 6d 65 6e 74 73 20 77  nt UI elements w
7e70: 68 69 63 68 20 73 68 6f 75 6c 64 6e 27 74 20 62  hich shouldn't b
7e80: 65 0d 0a 20 20 20 6c 69 67 68 74 6c 79 20 64 69  e..   lightly di
7e90: 73 6d 69 73 73 65 64 2e 20 49 20 6d 61 69 6e 6c  smissed. I mainl
7ea0: 79 20 75 73 65 20 69 74 20 74 6f 20 6d 61 72 6b  y use it to mark
7eb0: 20 22 6e 6f 74 20 79 65 74 0d 0a 20 20 20 69 6d   "not yet..   im
7ec0: 70 6c 65 6d 65 6e 74 65 64 22 20 70 61 72 74 73  plemented" parts
7ed0: 20 6f 66 20 61 20 70 61 67 65 2e 20 57 68 65 74   of a page. Whet
7ee0: 68 65 72 20 6f 72 20 6e 6f 74 20 74 6f 20 68 61  her or not to ha
7ef0: 76 65 0d 0a 20 20 20 61 20 27 62 6f 72 64 65 72  ve..   a 'border
7f00: 27 20 61 74 74 72 69 62 75 74 65 20 73 65 74 20  ' attribute set 
7f10: 69 73 20 61 72 67 75 61 62 6c 65 2e 20 2a 2f 0d  is arguable. */.
7f20: 0a 2e 61 63 68 74 75 6e 67 20 7b 0d 0a 20 20 63  ..achtung {..  c
7f30: 6f 6c 6f 72 3a 20 23 66 66 30 30 30 30 3b 0d 0a  olor: #ff0000;..
7f40: 20 20 62 61 63 6b 67 72 6f 75 6e 64 3a 20 23 66    background: #f
7f50: 66 66 66 30 30 3b 0d 0a 20 20 62 6f 72 64 65 72  fff00;..  border
7f60: 3a 20 31 70 78 20 73 6f 6c 69 64 20 23 66 66 30  : 1px solid #ff0
7f70: 30 30 30 3b 0d 0a 7d 0d 0a 0d 0a 74 61 62 6c 65  000;..}....table
7f80: 2e 66 6f 73 73 69 6c 5f 64 62 5f 67 65 6e 65 72  .fossil_db_gener
7f90: 69 63 5f 71 75 65 72 79 5f 76 69 65 77 20 7b 0d  ic_query_view {.
7fa0: 0a 20 20 62 6f 72 64 65 72 2d 73 70 61 63 69 6e  .  border-spacin
7fb0: 67 3a 20 30 70 78 3b 0d 0a 20 20 62 6f 72 64 65  g: 0px;..  borde
7fc0: 72 3a 20 31 70 78 20 73 6f 6c 69 64 20 62 6c 61  r: 1px solid bla
7fd0: 63 6b 3b 0d 0a 7d 0d 0a 74 61 62 6c 65 2e 66 6f  ck;..}..table.fo
7fe0: 73 73 69 6c 5f 64 62 5f 67 65 6e 65 72 69 63 5f  ssil_db_generic_
7ff0: 71 75 65 72 79 5f 76 69 65 77 20 74 64 20 7b 0d  query_view td {.
8000: 0a 20 20 70 61 64 64 69 6e 67 3a 20 32 70 78 20  .  padding: 2px 
8010: 31 65 6d 20 32 70 78 20 31 65 6d 3b 0d 0a 7d 0d  1em 2px 1em;..}.
8020: 0a 74 61 62 6c 65 2e 66 6f 73 73 69 6c 5f 64 62  .table.fossil_db
8030: 5f 67 65 6e 65 72 69 63 5f 71 75 65 72 79 5f 76  _generic_query_v
8040: 69 65 77 20 74 72 20 7b 0d 0a 7d 0d 0a 74 61 62  iew tr {..}..tab
8050: 6c 65 2e 66 6f 73 73 69 6c 5f 64 62 5f 67 65 6e  le.fossil_db_gen
8060: 65 72 69 63 5f 71 75 65 72 79 5f 76 69 65 77 20  eric_query_view 
8070: 74 72 2e 65 76 65 6e 20 7b 0d 0a 20 20 62 61 63  tr.even {..  bac
8080: 6b 67 72 6f 75 6e 64 3a 20 23 66 66 66 66 66 66  kground: #ffffff
8090: 3b 0d 0a 7d 0d 0a 74 61 62 6c 65 2e 66 6f 73 73  ;..}..table.foss
80a0: 69 6c 5f 64 62 5f 67 65 6e 65 72 69 63 5f 71 75  il_db_generic_qu
80b0: 65 72 79 5f 76 69 65 77 20 74 72 2e 6f 64 64 20  ery_view tr.odd 
80c0: 7b 0d 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 3a  {..  background:
80d0: 20 23 65 35 65 35 65 35 3b 0d 0a 7d 0d 0a 74 61   #e5e5e5;..}..ta
80e0: 62 6c 65 2e 66 6f 73 73 69 6c 5f 64 62 5f 67 65  ble.fossil_db_ge
80f0: 6e 65 72 69 63 5f 71 75 65 72 79 5f 76 69 65 77  neric_query_view
8100: 20 74 72 2e 68 65 61 64 65 72 20 7b 0d 0a 20 20   tr.header {..  
8110: 62 61 63 6b 67 72 6f 75 6e 64 3a 20 23 35 35 38  background: #558
8120: 31 39 35 3b 0d 0a 20 20 66 6f 6e 74 2d 73 69 7a  195;..  font-siz
8130: 65 3a 20 31 2e 35 65 6d 3b 0d 0a 20 20 63 6f 6c  e: 1.5em;..  col
8140: 6f 72 3a 20 23 66 66 66 66 66 66 3b 0d 0a 7d 0d  or: #ffffff;..}.
8150: 0a 3c 2f 70 72 65 3e 0d 0a 3c 2f 6e 6f 77 69 6b  .</pre>..</nowik
8160: 69 3e 0d 0a 3c 68 32 3e 3c 61 20 6e 61 6d 65 3d  i>..<h2><a name=
8170: 22 73 6f 75 72 63 65 2d 68 69 6c 69 67 68 74 22  "source-hilight"
8180: 3e 53 6f 75 72 63 65 20 68 69 67 68 6c 69 67 68  >Source highligh
8190: 74 69 6e 67 3c 2f 61 3e 3c 2f 68 32 3e 0d 0a 3c  ting</a></h2>..<
81a0: 68 33 3e 4d 6f 74 69 76 61 74 69 6f 6e 3c 2f 68  h3>Motivation</h
81b0: 33 3e 0d 0a 20 20 2a 20 20 59 6f 75 20 77 61 6e  3>..  *  You wan
81c0: 74 20 74 6f 20 68 61 76 65 20 73 6f 75 72 63 65  t to have source
81d0: 20 63 6f 64 65 20 68 69 67 68 6c 69 67 68 74 69   code highlighti
81e0: 6e 67 20 66 6f 72 20 74 68 65 20 66 69 6c 65 73  ng for the files
81f0: 20 69 6e 20 79 6f 75 72 20 72 65 70 6f 73 69 74   in your reposit
8200: 6f 72 79 0d 0a 0d 0a 3c 68 33 3e 50 72 6f 62 6c  ory....<h3>Probl
8210: 65 6d 3c 2f 68 33 3e 0d 0a 54 68 65 20 6d 61 69  em</h3>..The mai
8220: 6e 20 70 75 72 70 6f 73 65 20 6f 66 20 46 6f 73  n purpose of Fos
8230: 73 69 6c 20 69 73 20 74 6f 20 64 6f 20 76 65 72  sil is to do ver
8240: 73 69 6f 6e 69 6e 67 20 66 6f 72 20 73 6f 75 72  sioning for sour
8250: 63 65 20 63 6f 64 65 2e 20 41 6c 74 68 6f 75 67  ce code. Althoug
8260: 68 20 69 74 20 70 72 6f 76 69 64 65 73 20 61 20  h it provides a 
8270: 73 74 61 6e 64 61 6c 6f 6e 65 20 73 65 72 76 65  standalone serve
8280: 72 20 61 6e 64 20 6c 65 74 73 20 79 6f 75 20 6e  r and lets you n
8290: 61 76 69 67 61 74 65 20 74 68 72 6f 75 67 68 20  avigate through 
82a0: 74 68 65 20 72 65 70 6f 73 69 74 6f 72 79 20 66  the repository f
82b0: 69 6c 65 73 20 61 64 64 69 74 69 6f 6e 61 6c 20  iles additional 
82c0: 66 65 61 74 75 72 65 73 20 6c 69 6b 65 20 73 6f  features like so
82d0: 75 72 63 65 20 63 6f 64 65 20 68 69 67 68 6c 69  urce code highli
82e0: 67 68 74 69 6e 67 20 66 72 6f 6d 20 6d 79 20 70  ghting from my p
82f0: 65 72 73 70 65 63 74 69 76 65 20 28 49 20 61 6d  erspective (I am
8300: 20 6e 6f 74 20 61 20 64 65 76 65 6c 6f 70 65 72   not a developer
8310: 20 6f 66 20 46 6f 73 73 69 6c 29 20 61 72 65 20   of Fossil) are 
8320: 6f 75 74 20 6f 66 20 73 63 6f 70 65 20 66 6f 72  out of scope for
8330: 20 61 6e 20 53 43 4d 2e 20 4a 75 73 74 20 6b 65   an SCM. Just ke
8340: 65 70 20 74 68 65 20 55 6e 69 78 20 70 72 69 6e  ep the Unix prin
8350: 63 69 70 6c 65 3a 20 73 6d 61 6c 6c 20 6c 69 74  ciple: small lit
8360: 74 6c 65 20 70 72 6f 67 72 61 6d 73 20 74 68 61  tle programs tha
8370: 74 20 64 6f 20 74 68 65 69 72 20 74 61 73 6b 20  t do their task 
8380: 61 6e 64 20 64 6f 20 69 74 20 77 65 6c 6c 2e 0d  and do it well..
8390: 0a 0d 0a 48 6f 77 65 76 65 72 20 74 6f 20 68 61  ...However to ha
83a0: 76 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 68  ve source code h
83b0: 69 67 68 6c 69 67 68 74 65 64 20 69 6e 20 74 68  ighlighted in th
83c0: 65 20 70 72 65 73 65 6e 74 65 64 20 77 65 62 20  e presented web 
83d0: 70 61 67 65 73 20 77 6f 75 6c 64 20 73 74 69 6c  pages would stil
83e0: 6c 20 62 65 20 64 65 73 69 72 61 62 6c 65 2e 0d  l be desirable..
83f0: 0a 0d 0a 3c 68 33 3e 53 6f 6c 75 74 69 6f 6e 3c  ...<h3>Solution<
8400: 2f 68 33 3e 0d 0a 54 68 65 72 65 20 61 72 65 20  /h3>..There are 
8410: 74 77 6f 20 73 63 65 6e 61 72 69 6f 73 20 68 6f  two scenarios ho
8420: 77 20 74 6f 20 69 6d 70 6c 65 6d 65 6e 74 20 73  w to implement s
8430: 75 63 68 20 61 20 66 65 61 74 75 72 65 3a 0d 0a  uch a feature:..
8440: 20 20 20 2a 20 20 46 6f 73 73 69 6c 20 70 69 70     *  Fossil pip
8450: 65 73 20 74 68 65 20 73 6f 75 72 63 65 20 63 6f  es the source co
8460: 64 65 20 74 68 72 6f 75 67 68 20 61 20 66 69 6c  de through a fil
8470: 74 65 72 20 62 65 66 6f 72 65 20 73 65 6e 64 69  ter before sendi
8480: 6e 67 20 69 74 20 74 6f 20 74 68 65 20 62 72 6f  ng it to the bro
8490: 77 73 65 72 2e 20 54 68 65 20 66 69 6c 74 65 72  wser. The filter
84a0: 20 63 6f 75 6c 64 20 62 65 20 64 65 66 69 6e 65   could be define
84b0: 64 20 61 73 20 61 20 63 6f 6e 66 69 67 75 72 61  d as a configura
84c0: 74 69 6f 6e 20 6f 70 74 69 6f 6e 20 74 6f 20 46  tion option to F
84d0: 6f 73 73 69 6c 2e 20 4f 6e 65 20 73 6f 6c 75 74  ossil. One solut
84e0: 69 6f 6e 20 66 6f 72 20 74 68 69 73 20 6d 69 67  ion for this mig
84f0: 68 74 20 62 65 20 74 68 65 20 3c 61 20 68 72 65  ht be the <a hre
8500: 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 67 6e  f="http://www.gn
8510: 75 2e 6f 72 67 2f 73 6f 66 74 77 61 72 65 2f 73  u.org/software/s
8520: 72 63 2d 68 69 67 68 6c 69 74 65 22 3e 47 4e 55  rc-highlite">GNU
8530: 20 53 6f 75 72 63 65 20 63 6f 64 65 20 48 69 67   Source code Hig
8540: 68 6c 69 67 68 74 69 6e 67 3c 2f 61 3e 20 70 72  hlighting</a> pr
8550: 6f 67 72 61 6d 2e 0d 0a 20 20 20 2a 20 20 55 73  ogram...   *  Us
8560: 65 20 61 20 4a 61 76 61 73 63 72 69 70 74 20 6c  e a Javascript l
8570: 69 62 72 61 72 79 20 74 68 61 74 20 72 65 6e 64  ibrary that rend
8580: 65 72 73 20 74 68 65 20 63 6f 64 65 20 77 69 74  ers the code wit
8590: 68 69 6e 20 79 6f 75 72 20 62 72 6f 77 73 65 72  hin your browser
85a0: 2e 20 4f 6e 65 20 73 6f 6c 75 74 69 6f 6e 20 66  . One solution f
85b0: 6f 72 20 74 68 69 73 20 6d 69 67 68 74 20 62 65  or this might be
85c0: 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f   <a href="http:/
85d0: 2f 63 6f 64 65 2e 67 6f 6f 67 6c 65 2e 63 6f 6d  /code.google.com
85e0: 2f 70 2f 73 79 6e 74 61 78 68 69 67 68 6c 69 67  /p/syntaxhighlig
85f0: 68 74 65 72 22 3e 47 6f 6f 67 6c 65 20 53 79 6e  hter">Google Syn
8600: 74 61 78 20 48 69 67 68 6c 69 67 68 74 65 72 3c  tax Highlighter<
8610: 2f 61 3e 0d 0a 0d 0a 49 20 65 73 74 69 6d 61 74  /a>....I estimat
8620: 65 20 74 68 61 74 20 74 68 65 20 3c 69 3e 70 69  e that the <i>pi
8630: 70 65 3c 2f 69 3e 20 73 6f 6c 75 74 69 6f 6e 20  pe</i> solution 
8640: 6e 65 65 64 73 20 73 6f 6d 65 20 6d 6f 72 65 20  needs some more 
8650: 77 6f 72 6b 2f 20 63 6f 64 65 20 63 68 61 6e 67  work/ code chang
8660: 65 73 2e 20 54 68 75 73 20 49 20 61 6d 20 73 6f  es. Thus I am so
8670: 6c 65 6c 79 20 6c 6f 6f 6b 69 6e 67 20 61 74 20  lely looking at 
8680: 74 68 65 20 4a 61 76 61 73 63 72 69 70 74 20 73  the Javascript s
8690: 6f 6c 75 74 69 6f 6e 2e 0d 0a 0d 0a 54 68 65 20  olution.....The 
86a0: 53 79 6e 74 61 78 48 69 67 68 6c 69 67 68 74 65  SyntaxHighlighte
86b0: 72 20 69 73 20 61 20 6c 69 62 72 61 72 79 20 6f  r is a library o
86c0: 66 20 73 6f 6d 65 20 4a 61 76 61 73 63 72 69 70  f some Javascrip
86d0: 74 20 66 69 6c 65 73 2c 20 61 20 6c 69 74 74 6c  t files, a littl
86e0: 65 20 46 6c 61 73 68 20 61 70 70 6c 69 63 61 74  e Flash applicat
86f0: 69 6f 6e 20 61 6e 64 20 61 20 43 53 53 20 66 69  ion and a CSS fi
8700: 6c 65 2e 20 54 68 65 20 46 6c 61 73 68 20 61 70  le. The Flash ap
8710: 70 6c 69 63 61 74 69 6f 6e 20 69 73 20 66 6f 72  plication is for
8720: 20 63 6f 70 79 69 6e 67 20 74 6f 20 63 6c 69 70   copying to clip
8730: 62 6f 61 72 64 2c 20 70 72 69 6e 74 20 61 6e 64  board, print and
8740: 20 76 69 65 77 20 73 6f 75 72 63 65 2e 20 59 6f   view source. Yo
8750: 75 20 68 61 76 65 20 74 68 65 20 6f 70 74 69 6f  u have the optio
8760: 6e 20 74 6f 20 69 6e 63 6c 75 64 65 20 61 6c 6c  n to include all
8770: 20 74 68 65 20 66 69 6c 65 73 20 69 6e 74 6f 20   the files into 
8780: 79 6f 75 72 20 72 65 70 6f 73 69 74 6f 72 79 20  your repository 
8790: 6f 72 20 75 73 65 20 74 68 65 20 66 69 6c 65 73  or use the files
87a0: 20 68 6f 73 74 65 64 20 61 74 20 47 6f 6f 67 6c   hosted at Googl
87b0: 65 2e 20 54 68 65 20 6c 61 74 74 65 72 20 6d 61  e. The latter ma
87c0: 79 20 6f 6e 6c 79 20 62 65 20 61 6e 20 6f 70 74  y only be an opt
87d0: 69 6f 6e 20 69 66 20 79 6f 75 20 61 72 65 20 63  ion if you are c
87e0: 6f 6e 6e 65 63 74 65 64 20 74 6f 20 69 6e 74 65  onnected to inte
87f0: 72 6e 65 74 20 61 6c 6c 20 74 68 65 20 74 69 6d  rnet all the tim
8800: 65 2e 0d 0a 0d 0a 46 6f 72 20 73 79 6e 74 61 78  e.....For syntax
8810: 20 68 69 67 68 6c 69 67 68 74 69 6e 67 20 74 6f   highlighting to
8820: 20 77 6f 72 6b 20 74 68 65 20 48 65 61 64 65 72   work the Header
8830: 20 61 6e 64 20 46 6f 6f 74 65 72 20 74 65 6d 70   and Footer temp
8840: 6c 61 74 65 73 20 6e 65 65 64 20 74 6f 20 62 65  lates need to be
8850: 20 6d 6f 64 69 66 69 65 64 20 61 6e 64 20 61 20   modified and a 
8860: 6c 69 74 74 6c 65 20 63 6f 64 65 20 63 68 61 6e  little code chan
8870: 67 65 20 68 61 73 20 74 6f 20 62 65 20 61 70 70  ge has to be app
8880: 6c 69 65 64 20 74 6f 20 74 68 65 20 46 6f 73 73  lied to the Foss
8890: 69 6c 20 73 6f 75 72 63 65 73 2e 0d 0a 54 68 65  il sources...The
88a0: 20 65 78 61 6d 70 6c 65 73 20 62 65 6c 6f 77 20   examples below 
88b0: 61 73 73 75 6d 65 20 79 6f 75 20 68 61 76 65 20  assume you have 
88c0: 61 64 64 65 64 20 74 68 65 20 73 79 6e 74 61 78  added the syntax
88d0: 20 68 69 67 68 6c 69 67 68 74 69 6e 67 20 6c 69   highlighting li
88e0: 62 72 61 72 79 20 74 6f 20 79 6f 75 72 20 72 65  brary to your re
88f0: 70 6f 73 69 74 6f 72 79 20 69 6e 74 6f 20 61 20  pository into a 
8900: 64 69 72 65 63 74 6f 72 79 20 77 77 77 2f 73 63  directory www/sc
8910: 72 69 70 74 73 2e 0d 0a 3c 70 3e 0d 0a 3c 62 3e  ripts...<p>..<b>
8920: 48 65 61 64 65 72 3c 2f 62 3e 0d 0a 3c 70 72 65  Header</b>..<pre
8930: 3e 0d 0a 26 6c 74 3b 68 74 6d 6c 26 67 74 3b 0d  >..&lt;html&gt;.
8940: 0a 20 26 6c 74 3b 68 65 61 64 26 67 74 3b 0d 0a  . &lt;head&gt;..
8950: 20 26 6c 74 3b 74 69 74 6c 65 26 67 74 3b 24 26   &lt;title&gt;$&
8960: 6c 74 3b 70 72 6f 6a 65 63 74 5f 6e 61 6d 65 26  lt;project_name&
8970: 67 74 3b 3a 20 24 26 6c 74 3b 74 69 74 6c 65 26  gt;: $&lt;title&
8980: 67 74 3b 26 6c 74 3b 2f 74 69 74 6c 65 26 67 74  gt;&lt;/title&gt
8990: 3b 0d 0a 20 26 6c 74 3b 6c 69 6e 6b 20 72 65 6c  ;.. &lt;link rel
89a0: 3d 22 61 6c 74 65 72 6e 61 74 65 22 20 74 79 70  ="alternate" typ
89b0: 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e 2f 72  e="application/r
89c0: 73 73 2b 78 6d 6c 22 20 74 69 74 6c 65 3d 22 52  ss+xml" title="R
89d0: 53 53 20 46 65 65 64 22 0d 0a 20 20 20 20 20 20  SS Feed"..      
89e0: 20 68 72 65 66 3d 22 24 62 61 73 65 75 72 6c 2f   href="$baseurl/
89f0: 74 69 6d 65 6c 69 6e 65 2e 72 73 73 22 26 67 74  timeline.rss"&gt
8a00: 3b 0d 0a 20 26 6c 74 3b 6c 69 6e 6b 20 72 65 6c  ;.. &lt;link rel
8a10: 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 68 72  ="stylesheet" hr
8a20: 65 66 3d 22 24 62 61 73 65 75 72 6c 2f 73 74 79  ef="$baseurl/sty
8a30: 6c 65 2e 63 73 73 22 20 74 79 70 65 3d 22 74 65  le.css" type="te
8a40: 78 74 2f 63 73 73 22 0d 0a 20 20 20 20 20 20 20  xt/css"..       
8a50: 6d 65 64 69 61 3d 22 73 63 72 65 65 6e 22 26 67  media="screen"&g
8a60: 74 3b 0d 0a 20 26 6c 74 3b 6c 69 6e 6b 20 72 65  t;.. &lt;link re
8a70: 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 68  l="stylesheet" h
8a80: 72 65 66 3d 22 24 62 61 73 65 75 72 6c 2f 64 6f  ref="$baseurl/do
8a90: 63 2f 74 69 70 2f 77 77 77 2f 53 79 6e 74 61 78  c/tip/www/Syntax
8aa0: 48 69 67 68 6c 69 67 68 74 65 72 2e 63 73 73 22  Highlighter.css"
8ab0: 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22   type="text/css"
8ac0: 0d 0a 20 20 20 20 20 20 20 6d 65 64 69 61 3d 22  ..       media="
8ad0: 73 63 72 65 65 6e 22 26 67 74 3b 0d 0a 20 26 6c  screen"&gt;.. &l
8ae0: 74 3b 2f 68 65 61 64 26 67 74 3b 0d 0a 0d 0a 2e  t;/head&gt;.....
8af0: 20 2e 20 2e 0d 0a 3c 2f 70 72 65 3e 0d 0a 3c 2f   . ...</pre>..</
8b00: 70 3e 3c 70 3e 0d 0a 3c 62 3e 46 6f 6f 74 65 72  p><p>..<b>Footer
8b10: 3c 2f 62 3e 0d 0a 3c 70 72 65 3e 0d 0a 26 6c 74  </b>..<pre>..&lt
8b20: 3b 2f 64 69 76 26 67 74 3b 0d 0a 26 6c 74 3b 64  ;/div&gt;..&lt;d
8b30: 69 76 20 63 6c 61 73 73 3d 22 66 6f 6f 74 65 72  iv class="footer
8b40: 22 26 67 74 3b 0d 0a 46 6f 73 73 69 6c 20 76 65  "&gt;..Fossil ve
8b50: 72 73 69 6f 6e 20 24 6d 61 6e 69 66 65 73 74 5f  rsion $manifest_
8b60: 76 65 72 73 69 6f 6e 20 24 6d 61 6e 69 66 65 73  version $manifes
8b70: 74 5f 64 61 74 65 0d 0a 26 6c 74 3b 2f 64 69 76  t_date..&lt;/div
8b80: 26 67 74 3b 0d 0a 26 6c 74 3b 73 63 72 69 70 74  &gt;..&lt;script
8b90: 20 6c 61 6e 67 75 61 67 65 3d 22 6a 61 76 61 73   language="javas
8ba0: 63 72 69 70 74 22 20 73 72 63 3d 22 24 62 61 73  cript" src="$bas
8bb0: 65 75 72 6c 2f 64 6f 63 2f 74 69 70 2f 77 77 77  eurl/doc/tip/www
8bc0: 2f 73 63 72 69 70 74 73 2f 73 68 43 6f 72 65 2e  /scripts/shCore.
8bd0: 6a 73 22 26 67 74 3b 26 6c 74 3b 2f 73 63 72 69  js"&gt;&lt;/scri
8be0: 70 74 26 67 74 3b 0d 0a 26 6c 74 3b 73 63 72 69  pt&gt;..&lt;scri
8bf0: 70 74 20 6c 61 6e 67 75 61 67 65 3d 22 6a 61 76  pt language="jav
8c00: 61 73 63 72 69 70 74 22 20 73 72 63 3d 22 24 62  ascript" src="$b
8c10: 61 73 65 75 72 6c 2f 64 6f 63 2f 74 69 70 2f 77  aseurl/doc/tip/w
8c20: 77 77 2f 73 63 72 69 70 74 73 2f 73 68 42 72 75  ww/scripts/shBru
8c30: 73 68 43 70 70 2e 6a 73 22 26 67 74 3b 26 6c 74  shCpp.js"&gt;&lt
8c40: 3b 2f 73 63 72 69 70 74 26 67 74 3b 0d 0a 26 6c  ;/script&gt;..&l
8c50: 74 3b 73 63 72 69 70 74 20 6c 61 6e 67 75 61 67  t;script languag
8c60: 65 3d 22 6a 61 76 61 73 63 72 69 70 74 22 26 67  e="javascript"&g
8c70: 74 3b 0d 0a 64 70 2e 53 79 6e 74 61 78 48 69 67  t;..dp.SyntaxHig
8c80: 68 6c 69 67 68 74 65 72 2e 43 6c 69 70 62 6f 61  hlighter.Clipboa
8c90: 72 64 53 77 66 20 3d 20 27 24 62 61 73 65 75 72  rdSwf = '$baseur
8ca0: 6c 2f 64 6f 63 2f 74 69 70 2f 77 77 77 2f 73 63  l/doc/tip/www/sc
8cb0: 72 69 70 74 73 2f 63 6c 69 70 62 6f 61 72 64 2e  ripts/clipboard.
8cc0: 73 77 66 27 3b 0d 0a 64 70 2e 53 79 6e 74 61 78  swf';..dp.Syntax
8cd0: 48 69 67 68 6c 69 67 68 74 65 72 2e 48 69 67 68  Highlighter.High
8ce0: 6c 69 67 68 74 41 6c 6c 28 27 63 6f 64 65 27 29  lightAll('code')
8cf0: 3b 0d 0a 26 6c 74 3b 2f 73 63 72 69 70 74 26 67  ;..&lt;/script&g
8d00: 74 3b 0d 0a 26 6c 74 3b 2f 62 6f 64 79 26 67 74  t;..&lt;/body&gt
8d10: 3b 26 6c 74 3b 2f 68 74 6d 6c 26 67 74 3b 0d 0a  ;&lt;/html&gt;..
8d20: 3c 2f 70 72 65 3e 0d 0a 3c 2f 70 3e 3c 70 3e 0d  </pre>..</p><p>.
8d30: 0a 3c 62 3e 46 6f 73 73 69 6c 2f 73 72 63 2f 69  .<b>Fossil/src/i
8d40: 6e 66 6f 2e 63 3c 2f 62 3e 20 66 75 6e 63 74 69  nfo.c</b> functi
8d50: 6f 6e 20 61 72 74 69 66 61 63 74 5f 70 61 67 65  on artifact_page
8d60: 0d 0a 3c 70 72 65 3e 0d 0a 69 66 28 20 7a 4d 69  ..<pre>..if( zMi
8d70: 6d 65 3d 3d 30 20 29 7b 0d 0a 20 20 20 20 40 20  me==0 ){..    @ 
8d80: 26 6c 74 3b 70 72 65 20 6e 61 6d 65 3d 22 63 6f  &lt;pre name="co
8d90: 64 65 22 20 63 6c 61 73 73 3d 22 63 22 26 67 74  de" class="c"&gt
8da0: 3b 0d 0a 20 20 20 20 40 20 25 68 28 62 6c 6f 62  ;..    @ %h(blob
8db0: 5f 73 74 72 28 26 63 6f 6e 74 65 6e 74 29 29 0d  _str(&content)).
8dc0: 0a 20 20 20 20 40 20 26 6c 74 3b 2f 70 72 65 26  .    @ &lt;/pre&
8dd0: 67 74 3b 0d 0a 3c 2f 70 72 65 3e 0d 0a 3c 2f 70  gt;..</pre>..</p
8de0: 3e 0d 0a 3c 68 33 3e 44 69 73 63 75 73 73 69 6f  >..<h3>Discussio
8df0: 6e 3c 2f 68 33 3e 0d 0a 54 68 65 20 4a 61 76 61  n</h3>..The Java
8e00: 73 63 72 69 70 74 20 73 6f 6c 75 74 69 6f 6e 20  script solution 
8e10: 72 65 71 75 69 72 65 73 20 61 20 6d 69 6e 69 6d  requires a minim
8e20: 75 6d 20 74 6f 20 62 65 20 66 75 6c 6c 79 20 73  um to be fully s
8e30: 75 70 70 6f 72 74 65 64 20 62 79 20 46 6f 73 73  upported by Foss
8e40: 69 6c 2e 20 4f 66 20 63 6f 75 72 73 65 20 6d 79  il. Of course my
8e50: 20 6c 69 74 74 65 20 63 68 61 6e 67 65 20 6f 6e   litte change on
8e60: 6c 79 20 61 70 70 6c 69 65 73 20 66 6f 72 20 43  ly applies for C
8e70: 2f 43 2b 2b 20 66 69 6c 65 73 2e 20 42 75 74 20  /C++ files. But 
8e80: 6f 6e 6c 79 20 6c 69 74 74 6c 65 20 6d 6f 72 65  only little more
8e90: 20 77 6f 72 6b 20 6e 65 65 64 73 20 74 6f 20 62   work needs to b
8ea0: 65 20 64 6f 6e 65 20 74 6f 20 67 65 74 20 74 68  e done to get th
8eb0: 65 20 65 78 74 65 6e 73 69 6f 6e 20 6f 66 20 74  e extension of t
8ec0: 68 65 20 66 69 6c 65 20 61 20 67 75 65 73 73 20  he file a guess 
8ed0: 74 68 65 20 66 69 6c 65 20 74 79 70 65 2e 0d 0a  the file type...
8ee0: 0d 0a 54 68 65 20 70 69 70 65 20 73 6f 6c 75 74  ..The pipe solut
8ef0: 69 6f 6e 20 77 6f 75 6c 64 20 61 6c 73 6f 20 62  ion would also b
8f00: 65 20 6e 69 63 65 20 62 75 74 20 77 6f 75 6c 64  e nice but would
8f10: 20 70 72 6f 62 61 62 6c 79 20 6e 65 65 64 20 73   probably need s
8f20: 6f 6d 65 20 6d 6f 72 65 20 77 6f 72 6b 20 74 68  ome more work th
8f30: 61 6e 20 74 68 69 73 20 6c 69 74 74 6c 65 20 70  an this little p
8f40: 61 74 63 68 2e 0d 0a 0d 0a 3c 68 33 3e 20 3c 61  atch.....<h3> <a
8f50: 20 6e 61 6d 65 3d 22 77 69 6e 33 32 64 65 76 22   name="win32dev"
8f60: 3e 48 6f 77 20 74 6f 20 70 72 65 70 61 72 65 20  >How to prepare 
8f70: 79 6f 75 72 20 57 69 6e 64 6f 77 73 20 58 50 20  your Windows XP 
8f80: 46 6f 73 73 69 6c 20 64 65 76 65 6c 6f 70 6d 65  Fossil developme
8f90: 6e 74 20 45 6e 76 69 72 6f 6e 6d 65 6e 74 3c 2f  nt Environment</
8fa0: 68 33 3e 0d 0a 3c 68 34 3e 4d 69 6e 47 57 2b 4e  h3>..<h4>MinGW+N
8fb0: 53 49 53 2f 57 69 58 3c 2f 68 34 3e 0d 0a 3c 68  SIS/WiX</h4>..<h
8fc0: 35 3e 53 65 74 75 70 20 54 43 4c 3c 2f 68 35 3e  5>Setup TCL</h5>
8fd0: 0d 0a 3c 68 35 3e 53 65 74 75 70 20 4d 69 6e 47  ..<h5>Setup MinG
8fe0: 57 3c 2f 68 35 3e 0d 0a 3c 68 35 3e 47 65 74 74  W</h5>..<h5>Gett
8ff0: 69 6e 67 20 4e 53 49 53 20 57 69 6e 64 6f 77 73  ing NSIS Windows
9000: 20 70 61 63 6b 61 67 69 6e 67 20 74 6f 6f 6c 20   packaging tool 
9010: 3c 2f 68 35 3e 0d 0a 3c 68 35 3e 47 65 74 74 69  </h5>..<h5>Getti
9020: 6e 67 20 46 6f 73 73 69 6c 20 73 6f 75 72 63 65  ng Fossil source
9030: 20 63 6f 64 65 3c 2f 68 35 3e 0d 0a 3c 68 35 3e   code</h5>..<h5>
9040: 42 75 69 6c 64 20 74 68 65 20 63 6f 64 65 20 77  Build the code w
9050: 69 74 68 20 4d 61 6b 65 66 69 6c 65 2e 77 69 6e  ith Makefile.win
9060: 33 32 20 3c 2f 68 35 3e 0d 0a 0d 0a 3c 68 34 3e  32 </h5>....<h4>
9070: 56 69 73 75 61 6c 20 53 74 75 64 69 6f 20 45 78  Visual Studio Ex
9080: 70 72 65 73 73 20 32 30 30 38 2b 57 69 58 3c 2f  press 2008+WiX</
9090: 68 34 3e 0d 0a 3c 68 35 3e 53 65 74 75 70 20 54  h4>..<h5>Setup T
90a0: 43 4c 3c 2f 68 35 3e 0d 0a 3c 68 35 3e 53 65 74  CL</h5>..<h5>Set
90b0: 75 70 20 56 53 32 30 30 38 3c 2f 68 35 3e 0d 0a  up VS2008</h5>..
90c0: 3c 68 35 3e 47 65 74 74 69 6e 67 20 57 69 58 20  <h5>Getting WiX 
90d0: 57 69 6e 64 6f 77 73 20 4d 53 49 20 74 6f 6f 6c  Windows MSI tool
90e0: 20 3c 2f 68 35 3e 0d 0a 3c 68 35 3e 47 65 74 74   </h5>..<h5>Gett
90f0: 69 6e 67 20 46 6f 73 73 69 6c 20 73 6f 75 72 63  ing Fossil sourc
9100: 65 20 63 6f 64 65 3c 2f 68 35 3e 0d 0a 3c 68 35  e code</h5>..<h5
9110: 3e 42 75 69 6c 64 20 74 68 65 20 63 6f 64 65 20  >Build the code 
9120: 77 69 74 68 20 4d 61 6b 65 66 69 6c 65 2e 77 69  with Makefile.wi
9130: 6e 33 32 3c 2f 68 35 3e 0d 0a 0d 0a 3c 61 20 6e  n32</h5>....<a n
9140: 61 6d 65 3d 22 4d 69 6e 67 57 22 3e 3c 68 32 3e  ame="MingW"><h2>
9150: 43 6f 6d 70 69 6c 69 6e 67 20 66 6f 72 20 77 69  Compiling for wi
9160: 6e 64 6f 77 73 20 28 78 70 2c 20 76 69 73 74 61  ndows (xp, vista
9170: 2c 20 77 69 6e 32 6b 3f 2c 20 37 3f 29 3c 2f 68  , win2k?, 7?)</h
9180: 32 3e 3c 2f 61 3e 0d 0a 3c 73 6d 61 6c 6c 3e 57  2></a>..<small>W
9190: 69 6e 64 6f 77 73 20 76 65 72 73 69 6f 6e 73 20  indows versions 
91a0: 77 69 74 68 20 61 20 3f 20 61 66 74 65 72 20 74  with a ? after t
91b0: 68 65 20 76 65 72 73 69 6f 6e 20 68 61 76 65 6e  he version haven
91c0: 27 74 20 62 65 65 6e 20 62 75 69 6c 64 20 62 79  't been build by
91d0: 20 6d 65 20 61 6e 64 20 49 20 63 61 6e 6e 6f 74   me and I cannot
91e0: 20 73 61 79 20 69 66 20 69 74 20 77 6f 72 6b 73   say if it works
91f0: 20 6f 6e 20 74 68 6f 73 65 20 76 65 72 73 69 6f   on those versio
9200: 6e 73 2e 3c 2f 73 6d 61 6c 6c 3e 0d 0a 0d 0a 49  ns.</small>....I
9210: 6e 20 6f 72 64 65 72 20 74 6f 20 70 72 6f 64 75  n order to produ
9220: 63 65 20 77 69 6e 64 6f 77 73 20 65 78 65 63 75  ce windows execu
9230: 74 61 62 6c 65 2c 20 61 6e 64 20 6d 6f 72 65 20  table, and more 
9240: 73 70 65 63 69 66 69 63 20 66 6f 73 73 69 6c 20  specific fossil 
9250: 77 65 20 63 61 6e 20 66 6f 6c 6c 6f 77 2c 20 61  we can follow, a
9260: 74 20 6c 65 61 73 74 2c 20 32 20 73 74 72 61 74  t least, 2 strat
9270: 65 67 69 65 73 2e 0d 0a 20 20 2a 20 20 43 6f 6d  egies...  *  Com
9280: 70 69 6c 69 6e 67 20 75 6e 64 65 72 20 77 69 6e  piling under win
9290: 64 6f 77 73 20 77 69 74 68 20 4d 69 6e 67 57 2e  dows with MingW.
92a0: 0d 0a 20 20 2a 20 20 43 6f 6d 70 69 6c 69 6e 67  ..  *  Compiling
92b0: 20 75 6e 64 65 72 20 4c 69 6e 75 78 20 77 69 74   under Linux wit
92c0: 68 20 63 72 6f 73 73 63 6f 6d 70 69 6c 65 72 20  h crosscompiler 
92d0: 4d 69 6e 67 57 2e 0d 0a 0d 0a 0d 0a 3c 68 33 3e  MingW.......<h3>
92e0: 43 6f 6d 70 69 6c 69 6e 67 20 75 6e 64 65 72 20  Compiling under 
92f0: 77 69 6e 64 6f 77 73 20 77 69 74 68 20 4d 69 6e  windows with Min
9300: 67 77 3c 2f 68 33 3e 0d 0a 3c 68 34 3e 49 6e 73  gw</h3>..<h4>Ins
9310: 74 61 6c 6c 69 6e 67 20 74 68 65 20 74 6f 6f 6c  talling the tool
9320: 73 2e 3c 2f 68 34 3e 0d 0a 20 20 2a 20 20 64 6f  s.</h4>..  *  do
9330: 77 6e 6c 6f 61 64 20 5b 68 74 74 70 3a 2f 2f 73  wnload [http://s
9340: 6f 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 2f 70  ourceforge.net/p
9350: 72 6f 6a 65 63 74 73 2f 6d 69 6e 67 77 2f 66 69  rojects/mingw/fi
9360: 6c 65 73 2f 7c 6d 69 6e 67 77 2d 78 78 2e 65 78  les/|mingw-xx.ex
9370: 65 5d 20 76 65 72 73 69 6f 6e 20 35 2e 31 2e 36  e] version 5.1.6
9380: 20 6f 72 20 6c 61 74 65 72 2e 20 49 6e 73 74 61   or later. Insta
9390: 6c 6c 20 69 74 2e 20 49 20 61 73 73 75 6d 65 20  ll it. I assume 
93a0: 69 74 20 77 69 6c 6c 20 62 65 20 69 6e 73 74 61  it will be insta
93b0: 6c 6c 65 64 20 69 6e 20 3c 73 74 72 6f 6e 67 3e  lled in <strong>
93c0: 63 3a 5c 4d 69 6e 67 57 3c 2f 73 74 72 6f 6e 67  c:\MingW</strong
93d0: 3e 0d 0a 20 20 2a 20 20 64 6f 77 6e 6c 6f 61 64  >..  *  download
93e0: 20 5b 68 74 74 70 3a 2f 2f 73 6f 75 72 63 65 66   [http://sourcef
93f0: 6f 72 67 65 2e 6e 65 74 2f 70 72 6f 6a 65 63 74  orge.net/project
9400: 73 2f 6d 69 6e 67 77 2f 66 69 6c 65 73 2f 7c 6d  s/mingw/files/|m
9410: 73 79 73 2d 78 78 2e 65 78 65 5d 20 76 65 72 73  sys-xx.exe] vers
9420: 69 6f 6e 20 31 2e 30 2e 31 30 20 6f 72 20 6c 61  ion 1.0.10 or la
9430: 74 65 72 2e 20 49 6e 73 74 61 6c 6c 20 69 74 2e  ter. Install it.
9440: 20 49 20 61 73 73 75 6d 65 20 69 74 20 77 69 6c   I assume it wil
9450: 6c 20 62 65 20 69 6e 73 74 61 6c 6c 65 64 20 69  l be installed i
9460: 6e 20 3c 73 74 72 6f 6e 67 3e 63 3a 5c 6d 73 79  n <strong>c:\msy
9470: 73 3c 2f 73 74 72 6f 6e 67 3e 0d 0a 20 20 2a 20  s</strong>..  * 
9480: 20 64 6f 77 6e 6c 6f 61 64 20 5b 68 74 74 70 3a   download [http:
9490: 2f 2f 67 6e 75 77 69 6e 33 32 2e 73 6f 75 72 63  //gnuwin32.sourc
94a0: 65 66 6f 72 67 65 2e 6e 65 74 2f 70 61 63 6b 61  eforge.net/packa
94b0: 67 65 73 2f 7a 6c 69 62 2e 68 74 6d 7c 7a 6c 69  ges/zlib.htm|zli
94c0: 62 5d 20 74 68 65 20 62 69 6e 61 72 79 20 61 6e  b] the binary an
94d0: 64 20 64 65 76 65 6c 6f 70 65 72 20 66 69 6c 65  d developer file
94e0: 73 2e 20 45 78 74 72 61 63 74 20 74 6f 20 3c 73  s. Extract to <s
94f0: 74 72 6f 6e 67 3e 63 3a 5c 4d 69 6e 67 57 3c 2f  trong>c:\MingW</
9500: 73 74 72 6f 6e 67 3e 0d 0a 20 20 2a 20 20 49 66  strong>..  *  If
9510: 20 79 6f 75 20 77 61 6e 74 20 3c 73 74 72 6f 6e   you want <stron
9520: 67 3e 68 74 74 70 73 3c 2f 73 74 72 6f 6e 67 3e  g>https</strong>
9530: 20 73 75 70 70 6f 72 74 20 64 6f 77 6e 6c 6f 61   support downloa
9540: 64 20 5b 68 74 74 70 3a 2f 2f 67 6e 75 77 69 6e  d [http://gnuwin
9550: 33 32 2e 73 6f 75 72 63 65 66 6f 72 67 65 2e 6e  32.sourceforge.n
9560: 65 74 2f 70 61 63 6b 61 67 65 73 2f 6f 70 65 6e  et/packages/open
9570: 73 73 6c 2e 68 74 6d 7c 6f 70 65 6e 73 73 6c 5d  ssl.htm|openssl]
9580: 20 74 68 65 20 62 69 6e 61 72 79 20 61 6e 64 20   the binary and 
9590: 64 65 76 65 6c 6f 70 65 72 20 66 69 6c 65 73 2e  developer files.
95a0: 20 45 78 74 72 61 63 74 20 74 6f 20 3c 73 74 72   Extract to <str
95b0: 6f 6e 67 3e 63 3a 5c 4d 69 6e 67 57 3c 2f 73 74  ong>c:\MingW</st
95c0: 72 6f 6e 67 3e 0d 0a 20 20 2a 20 20 64 6f 77 6e  rong>..  *  down
95d0: 6c 6f 61 64 20 5b 68 74 74 70 3a 2f 2f 77 77 77  load [http://www
95e0: 2e 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f  .fossil-scm.org/
95f0: 64 6f 77 6e 6c 6f 61 64 2e 68 74 6d 6c 7c 66 6f  download.html|fo
9600: 73 73 69 6c 5d 20 61 6e 64 20 63 6f 70 79 20 66  ssil] and copy f
9610: 6f 73 73 69 6c 2e 65 78 65 20 74 6f 20 3c 73 74  ossil.exe to <st
9620: 72 6f 6e 67 3e 63 3a 5c 4d 69 6e 67 57 5c 62 69  rong>c:\MingW\bi
9630: 6e 3c 2f 73 74 72 6f 6e 67 3e 0d 0a 0d 0a 3c 68  n</strong>....<h
9640: 34 3e 47 65 74 74 69 6e 67 20 66 6f 73 73 69 6c  4>Getting fossil
9650: 20 73 6f 75 72 63 65 20 63 6f 64 65 3c 2f 68 34   source code</h4
9660: 3e 0d 0a 20 20 2a 20 20 73 74 61 72 74 20 6d 73  >..  *  start ms
9670: 79 73 2e 20 54 68 69 73 20 77 69 6c 6c 20 73 74  ys. This will st
9680: 61 72 74 20 61 20 62 61 73 68 20 73 68 65 6c 6c  art a bash shell
9690: 2e 20 0d 0a 20 20 2a 20 20 6d 6b 64 69 72 20 66  . ..  *  mkdir f
96a0: 6f 73 73 69 6c 3b 20 63 64 20 66 6f 73 73 69 6c  ossil; cd fossil
96b0: 0d 0a 20 20 2a 20 20 63 6c 6f 6e 65 20 66 6f 73  ..  *  clone fos
96c0: 73 69 6c 20 72 65 70 6f 73 69 74 6f 72 79 2e 20  sil repository. 
96d0: 65 2e 67 2e 20 66 6f 73 73 69 6c 20 63 6c 6f 6e  e.g. fossil clon
96e0: 65 20 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6f 73  e http://www.fos
96f0: 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f 20 6d 79 63  sil-scm.org/ myc
9700: 6c 6f 6e 65 2e 66 6f 73 73 69 6c 0d 0a 20 20 2a  lone.fossil..  *
9710: 20 20 6d 6b 64 69 72 20 73 72 63 3b 20 63 64 20    mkdir src; cd 
9720: 73 72 63 0d 0a 20 20 2a 20 20 66 6f 73 73 69 6c  src..  *  fossil
9730: 20 20 6f 70 65 6e 20 2e 2e 2f 6d 79 63 6c 6f 6e    open ../myclon
9740: 65 2e 66 6f 73 73 69 6c 0d 0a 0d 0a 3c 68 34 3e  e.fossil....<h4>
9750: 43 6f 6d 70 69 6c 69 6e 67 20 66 6f 73 73 69 6c  Compiling fossil
9760: 20 73 6f 75 72 63 65 20 63 6f 64 65 3c 2f 68 34   source code</h4
9770: 3e 0d 0a 20 20 2a 20 20 49 66 20 79 6f 75 20 77  >..  *  If you w
9780: 61 6e 74 20 3c 73 74 72 6f 6e 67 3e 68 74 74 70  ant <strong>http
9790: 73 3c 2f 73 74 72 6f 6e 67 3e 20 73 75 70 70 6f  s</strong> suppo
97a0: 72 74 73 0d 0a 20 20 20 20 20 3c 75 6c 3e 3c 6c  rts..     <ul><l
97b0: 69 3e 6d 61 6b 65 20 2d 66 20 4d 61 6b 65 66 69  i>make -f Makefi
97c0: 6c 65 2e 77 33 32 20 46 4f 53 53 49 4c 5f 45 4e  le.w32 FOSSIL_EN
97d0: 41 42 4c 45 5f 53 53 4c 3d 31 20 4c 49 42 3d 22  ABLE_SSL=1 LIB="
97e0: 2d 6c 73 73 6c 20 2d 6c 63 72 79 70 74 6f 20 2d  -lssl -lcrypto -
97f0: 6c 67 64 69 33 32 20 2d 6c 6d 69 6e 67 77 65 78  lgdi32 -lmingwex
9800: 20 2d 6c 7a 20 2d 6c 77 73 32 5f 33 32 22 3c 2f   -lz -lws2_32"</
9810: 6c 69 3e 20 3c 2f 75 6c 3e 0d 0a 20 20 2a 20 20  li> </ul>..  *  
9820: 65 6c 73 65 20 64 6f 20 6d 61 6b 65 20 2d 66 20  else do make -f 
9830: 4d 61 6b 65 66 69 6c 65 2e 77 33 32 20 0d 0a 0d  Makefile.w32 ...
9840: 0a 20 0d 0a 3c 68 33 3e 43 6f 6d 70 69 6c 69 6e  . ..<h3>Compilin
9850: 67 20 75 6e 64 65 72 20 6c 69 6e 75 78 20 66 6f  g under linux fo
9860: 72 20 77 69 6e 64 6f 77 73 20 77 69 74 68 20 4d  r windows with M
9870: 69 6e 67 77 3c 2f 68 33 3e 0d 0a 54 68 69 73 20  ingw</h3>..This 
9880: 69 73 20 63 61 6c 6c 65 64 20 63 72 6f 73 73 20  is called cross 
9890: 63 6f 6d 70 69 6c 69 6e 67 2e 20 49 27 6d 20 75  compiling. I'm u
98a0: 73 69 6e 67 20 5b 68 74 74 70 3a 2f 2f 77 77 77  sing [http://www
98b0: 2e 61 72 63 68 6c 69 6e 75 78 2e 6f 72 67 2f 7c  .archlinux.org/|
98c0: 41 72 63 68 20 6c 69 6e 75 78 5d 20 64 69 73 74  Arch linux] dist
98d0: 72 69 62 75 74 69 6f 6e 20 77 68 69 63 68 0d 0a  ribution which..
98e0: 75 73 65 73 20 74 68 65 20 70 61 63 6b 61 67 65  uses the package
98f0: 20 6d 61 6e 61 67 65 72 20 70 61 63 6d 61 6e 20   manager pacman 
9900: 74 6f 20 69 6e 73 74 61 6c 6c 20 70 61 63 6b 61  to install packa
9910: 67 65 73 2e 20 49 66 20 79 6f 75 20 68 61 76 65  ges. If you have
9920: 20 61 20 64 69 66 66 65 72 65 6e 20 6c 69 6e 75   a differen linu
9930: 78 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 74  x distribution t
9940: 68 65 20 70 61 63 6b 61 67 65 73 20 6d 69 67 68  he packages migh
9950: 74 20 62 65 20 63 61 6c 6c 65 64 20 64 69 66 66  t be called diff
9960: 65 72 65 6e 74 2e 20 49 20 61 73 73 75 6d 65 20  erent. I assume 
9970: 61 20 6c 6f 67 69 6e 20 6e 61 6d 65 20 6f 66 20  a login name of 
9980: 72 65 6e 65 7a 20 73 75 62 73 74 69 74 75 74 65  renez substitute
9990: 20 79 6f 75 72 73 20 77 65 72 65 20 61 70 72 6f   yours were apro
99a0: 70 69 61 74 65 2e 0d 0a 0d 0a 3c 68 34 3e 49 6e  piate.....<h4>In
99b0: 73 74 61 6c 6c 69 6e 67 20 74 68 65 20 74 6f 6f  stalling the too
99c0: 6c 73 2e 3c 2f 68 34 3e 0d 0a 20 20 2a 20 20 49  ls.</h4>..  *  I
99d0: 6e 73 74 61 6c 6c 20 6d 69 6e 67 77 33 32 2d 67  nstall mingw32-g
99e0: 63 63 73 2e 20 57 69 74 68 20 41 72 63 68 20 6c  ccs. With Arch l
99f0: 69 6e 75 78 20 79 6f 75 20 64 6f 20 50 61 63 6d  inux you do Pacm
9a00: 61 6e 20 2d 53 20 6d 69 6e 67 77 33 32 2d 67 63  an -S mingw32-gc
9a10: 63 20 28 41 73 20 72 6f 6f 74 21 29 2e 20 54 68  c (As root!). Th
9a20: 69 73 20 77 69 6c 6c 20 62 65 20 69 6e 73 74 61  is will be insta
9a30: 6c 6c 65 64 20 69 6e 20 3c 73 74 72 6f 6e 67 3e  lled in <strong>
9a40: 2f 75 73 72 2f 69 34 38 36 2d 6d 69 6e 67 77 33  /usr/i486-mingw3
9a50: 32 3c 2f 73 74 72 6f 6e 67 3e 0d 0a 20 20 2a 20  2</strong>..  * 
9a60: 20 64 6f 77 6e 6c 6f 61 64 20 5b 68 74 74 70 3a   download [http:
9a70: 2f 2f 67 6e 75 77 69 6e 33 32 2e 73 6f 75 72 63  //gnuwin32.sourc
9a80: 65 66 6f 72 67 65 2e 6e 65 74 2f 70 61 63 6b 61  eforge.net/packa
9a90: 67 65 73 2f 7a 6c 69 62 2e 68 74 6d 7c 7a 6c 69  ges/zlib.htm|zli
9aa0: 62 5d 20 74 68 65 20 62 69 6e 61 72 79 20 61 6e  b] the binary an
9ab0: 64 20 64 65 76 65 6c 6f 70 65 72 20 66 69 6c 65  d developer file
9ac0: 73 2e 0d 0a 20 20 2a 20 20 49 66 20 79 6f 75 20  s...  *  If you 
9ad0: 77 61 6e 74 20 3c 73 74 72 6f 6e 67 3e 68 74 74  want <strong>htt
9ae0: 70 73 3c 2f 73 74 72 6f 6e 67 3e 20 73 75 70 70  ps</strong> supp
9af0: 6f 72 74 20 64 6f 77 6e 6c 6f 61 64 20 5b 68 74  ort download [ht
9b00: 74 70 3a 2f 2f 67 6e 75 77 69 6e 33 32 2e 73 6f  tp://gnuwin32.so
9b10: 75 72 63 65 66 6f 72 67 65 2e 6e 65 74 2f 70 61  urceforge.net/pa
9b20: 63 6b 61 67 65 73 2f 6f 70 65 6e 73 73 6c 2e 68  ckages/openssl.h
9b30: 74 6d 7c 6f 70 65 6e 73 73 6c 5d 20 74 68 65 20  tm|openssl] the 
9b40: 62 69 6e 61 72 79 20 61 6e 64 20 64 65 76 65 6c  binary and devel
9b50: 6f 70 65 72 20 66 69 6c 65 73 2e 0d 0a 20 20 2a  oper files...  *
9b60: 20 20 45 78 74 72 61 63 74 20 74 6f 20 3c 73 74    Extract to <st
9b70: 72 6f 6e 67 3e 2f 75 73 72 2f 69 34 38 36 2d 6d  rong>/usr/i486-m
9b80: 69 6e 67 77 33 32 3c 2f 73 74 72 6f 6e 67 3e 20  ingw32</strong> 
9b90: 62 79 3a 20 73 75 20 74 6f 20 72 6f 6f 74 0d 0a  by: su to root..
9ba0: 20 20 2a 20 20 63 64 20 3c 73 74 72 6f 6e 67 3e    *  cd <strong>
9bb0: 2f 75 73 72 2f 69 34 38 36 2d 6d 69 6e 67 77 33  /usr/i486-mingw3
9bc0: 32 3c 2f 73 74 72 6f 6e 67 3e 0d 0a 20 20 2a 20  2</strong>..  * 
9bd0: 20 75 6e 7a 69 70 20 20 7e 72 65 6e 65 7a 2f 44   unzip  ~renez/D
9be0: 6f 77 6e 6c 6f 61 64 73 2f 7a 6c 69 62 2d 31 2e  ownloads/zlib-1.
9bf0: 32 2e 33 2d 62 69 6e 2e 7a 69 70 0d 0a 20 20 2a  2.3-bin.zip..  *
9c00: 20 20 75 6e 7a 69 70 20 20 7e 72 65 6e 65 7a 2f    unzip  ~renez/
9c10: 44 6f 77 6e 6c 6f 61 64 73 2f 7a 6c 69 62 2d 31  Downloads/zlib-1
9c20: 2e 32 2e 33 2d 6c 69 62 2e 7a 69 70 0d 0a 20 20  .2.3-lib.zip..  
9c30: 2a 20 20 75 6e 7a 69 70 20 20 7e 72 65 6e 65 7a  *  unzip  ~renez
9c40: 2f 44 6f 77 6e 6c 6f 61 64 73 2f 6f 70 65 6e 73  /Downloads/opens
9c50: 73 6c 2d 30 2e 39 2e 38 68 2d 31 2d 62 69 6e 2e  sl-0.9.8h-1-bin.
9c60: 7a 69 70 0d 0a 20 20 2a 20 20 75 6e 7a 69 70 20  zip..  *  unzip 
9c70: 20 7e 72 65 6e 65 7a 2f 44 6f 77 6e 6c 6f 61 64   ~renez/Download
9c80: 73 2f 6f 70 65 6e 73 73 6c 2d 30 2e 39 2e 38 68  s/openssl-0.9.8h
9c90: 2d 31 2d 6c 69 62 2e 7a 69 70 0d 0a 20 20 2a 20  -1-lib.zip..  * 
9ca0: 20 65 78 69 74 20 72 6f 6f 74 0d 0a 20 20 2a 20   exit root..  * 
9cb0: 20 64 6f 77 6e 6c 6f 61 64 20 5b 68 74 74 70 3a   download [http:
9cc0: 2f 2f 77 77 77 2e 66 6f 73 73 69 6c 2d 73 63 6d  //www.fossil-scm
9cd0: 2e 6f 72 67 2f 64 6f 77 6e 6c 6f 61 64 2e 68 74  .org/download.ht
9ce0: 6d 6c 7c 66 6f 73 73 69 6c 5d 20 66 6f 72 20 6c  ml|fossil] for l
9cf0: 69 6e 75 78 2c 20 61 6e 64 20 63 6f 70 79 20 66  inux, and copy f
9d00: 6f 73 73 69 6c 20 74 6f 20 73 6f 6d 65 20 77 68  ossil to some wh
9d10: 65 72 65 20 69 6e 20 79 6f 75 72 20 50 41 54 48  ere in your PATH
9d20: 20 64 69 72 65 63 74 6f 72 69 65 73 20 6d 61 79   directories may
9d30: 62 65 20 24 48 4f 4d 45 2f 62 69 6e 2e 0d 0a 0d  be $HOME/bin....
9d40: 0a 3c 68 34 3e 47 65 74 74 69 6e 67 20 66 6f 73  .<h4>Getting fos
9d50: 73 69 6c 20 73 6f 75 72 63 65 20 63 6f 64 65 3c  sil source code<
9d60: 2f 68 34 3e 0d 0a 20 20 2a 20 20 63 64 20 3b 20  /h4>..  *  cd ; 
9d70: 6d 6b 64 69 72 20 66 6f 73 73 69 6c 3b 20 63 64  mkdir fossil; cd
9d80: 20 66 6f 73 73 69 6c 0d 0a 20 20 2a 20 20 63 6c   fossil..  *  cl
9d90: 6f 6e 65 20 66 6f 73 73 69 6c 20 72 65 70 6f 73  one fossil repos
9da0: 69 74 6f 72 79 2e 20 65 2e 67 2e 20 66 6f 73 73  itory. e.g. foss
9db0: 69 6c 20 63 6c 6f 6e 65 20 68 74 74 70 3a 2f 2f  il clone http://
9dc0: 77 77 77 2e 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f  www.fossil-scm.o
9dd0: 72 67 2f 20 6d 79 63 6c 6f 6e 65 2e 66 6f 73 73  rg/ myclone.foss
9de0: 69 6c 0d 0a 20 20 2a 20 20 6d 6b 64 69 72 20 73  il..  *  mkdir s
9df0: 72 63 3b 20 63 64 20 73 72 63 0d 0a 20 20 2a 20  rc; cd src..  * 
9e00: 20 66 6f 73 73 69 6c 20 20 6f 70 65 6e 20 2e 2e   fossil  open ..
9e10: 2f 6d 79 63 6c 6f 6e 65 2e 66 6f 73 73 69 6c 0d  /myclone.fossil.
9e20: 0a 0d 0a 3c 68 34 3e 43 6f 6d 70 69 6c 69 6e 67  ...<h4>Compiling
9e30: 20 66 6f 73 73 69 6c 20 73 6f 75 72 63 65 20 63   fossil source c
9e40: 6f 64 65 3c 2f 68 34 3e 0d 0a 20 20 2a 20 20 49  ode</h4>..  *  I
9e50: 66 20 79 6f 75 20 77 61 6e 74 20 3c 73 74 72 6f  f you want <stro
9e60: 6e 67 3e 68 74 74 70 73 3c 2f 73 74 72 6f 6e 67  ng>https</strong
9e70: 3e 20 73 75 70 70 6f 72 74 73 0d 0a 20 20 20 20  > supports..    
9e80: 20 3c 75 6c 3e 3c 6c 69 3e 6d 61 6b 65 20 2d 66   <ul><li>make -f
9e90: 20 4d 61 6b 65 66 69 6c 65 2e 77 33 32 20 54 43   Makefile.w32 TC
9ea0: 43 3d 22 69 34 38 36 2d 6d 69 6e 67 77 33 32 2d  C="i486-mingw32-
9eb0: 67 63 63 20 2d 4f 73 20 2d 57 61 6c 6c 20 20 2d  gcc -Os -Wall  -
9ec0: 44 46 4f 53 53 49 4c 5f 49 31 38 4e 3d 30 20 20  DFOSSIL_I18N=0  
9ed0: 2d 4c 2f 75 73 72 2f 69 34 38 36 2d 6d 69 6e 67  -L/usr/i486-ming
9ee0: 77 33 32 2f 6c 69 62 20 2d 49 2f 75 73 72 2f 69  w32/lib -I/usr/i
9ef0: 34 38 36 2d 6d 69 6e 67 77 33 32 2f 69 6e 63 6c  486-mingw32/incl
9f00: 75 64 65 20 2d 44 46 4f 53 53 49 4c 5f 45 4e 41  ude -DFOSSIL_ENA
9f10: 42 4c 45 5f 53 53 4c 3d 31 22 20 46 4f 53 53 49  BLE_SSL=1" FOSSI
9f20: 4c 5f 45 4e 41 42 4c 45 5f 53 53 4c 3d 31 20 4c  L_ENABLE_SSL=1 L
9f30: 49 42 3d 22 2d 6c 73 73 6c 20 2d 6c 63 72 79 70  IB="-lssl -lcryp
9f40: 74 6f 20 2d 6c 67 64 69 33 32 20 2d 6c 6d 69 6e  to -lgdi32 -lmin
9f50: 67 77 65 78 20 2d 6c 7a 20 2d 6c 77 73 32 5f 33  gwex -lz -lws2_3
9f60: 32 22 3c 2f 6c 69 3e 20 3c 2f 75 6c 3e 0d 0a 20  2"</li> </ul>.. 
9f70: 20 2a 20 20 20 65 6c 73 65 20 6d 61 6b 65 20 2d   *   else make -
9f80: 66 20 4d 61 6b 65 66 69 6c 65 2e 77 33 32 20 54  f Makefile.w32 T
9f90: 43 43 3d 22 69 34 38 36 2d 6d 69 6e 67 77 33 32  CC="i486-mingw32
9fa0: 2d 67 63 63 20 2d 4f 73 20 2d 57 61 6c 6c 20 20  -gcc -Os -Wall  
9fb0: 2d 44 46 4f 53 53 49 4c 5f 49 31 38 4e 3d 30 20  -DFOSSIL_I18N=0 
9fc0: 20 2d 4c 2f 75 73 72 2f 69 34 38 36 2d 6d 69 6e   -L/usr/i486-min
9fd0: 67 77 33 32 2f 6c 69 62 20 2d 49 2f 75 73 72 2f  gw32/lib -I/usr/
9fe0: 69 34 38 36 2d 6d 69 6e 67 77 33 32 2f 69 6e 63  i486-mingw32/inc
9ff0: 6c 75 64 65 20 22 0d 0a 0d 0a 3c 68 34 3e 44 69  lude "....<h4>Di
a000: 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 63 72  stribution of cr
a010: 6f 73 73 20 63 6f 6d 70 69 6c 65 64 20 66 6f 73  oss compiled fos
a020: 73 69 6c 2e 65 78 65 3c 2f 68 34 3e 0d 0a 42 65  sil.exe</h4>..Be
a030: 63 61 75 73 65 20 79 6f 75 20 68 61 76 65 20 6c  cause you have l
a040: 69 6e 6b 65 64 20 61 67 61 69 6e 73 74 20 7a 6c  inked against zl
a050: 69 62 20 61 6e 64 20 6d 61 79 62 65 20 73 73 6c  ib and maybe ssl
a060: 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 69 6e 63   you need to inc
a070: 6c 75 64 65 20 66 72 6f 6d 20 3c 73 74 72 6f 6e  lude from <stron
a080: 67 3e 2f 75 73 72 2f 69 34 38 36 2d 6d 69 6e 67  g>/usr/i486-ming
a090: 77 33 32 2f 62 69 6e 3c 2f 73 74 72 6f 6e 67 3e  w32/bin</strong>
a0a0: 20 7a 6c 69 62 31 2e 64 6c 6c 20 61 6e 64 2c 20   zlib1.dll and, 
a0b0: 6f 70 74 69 6f 6e 61 6c 2c 20 6c 69 62 73 73 6c  optional, libssl
a0c0: 33 32 2e 64 6c 6c 20 28 61 6e 64 20 6d 61 79 62  32.dll (and mayb
a0d0: 65 20 61 6c 73 6f 20 6c 69 62 65 61 79 33 32 2e  e also libeay32.
a0e0: 64 6c 6c 29 0d 0a 0d 0a 3c 68 34 3e 74 65 73 74  dll)....<h4>test
a0f0: 69 6e 67 20 74 68 65 20 63 72 6f 73 73 20 63 6f  ing the cross co
a100: 6d 70 69 6c 65 64 20 66 6f 73 73 69 6c 2e 65 78  mpiled fossil.ex
a110: 65 3c 2f 68 34 3e 0d 0a 20 20 2a 20 20 63 6f 70  e</h4>..  *  cop
a120: 79 20 66 6f 73 73 69 6c 2e 65 78 65 20 61 6e 64  y fossil.exe and
a130: 20 74 68 65 20 64 6c 6c 27 73 20 74 6f 20 61 20   the dll's to a 
a140: 77 69 6e 64 6f 77 73 20 73 79 73 74 65 6d 2e 20  windows system. 
a150: 46 6f 72 20 74 65 73 74 69 6e 67 20 70 75 72 70  For testing purp
a160: 6f 73 65 20 61 6c 6c 20 69 6e 20 6f 6e 65 20 64  ose all in one d
a170: 69 72 65 63 74 6f 72 79 2e 20 46 6f 72 20 70 72  irectory. For pr
a180: 6f 64 75 63 74 69 6f 6e 20 75 73 65 20 61 20 64  oduction use a d
a190: 69 72 65 63 74 6f 72 79 20 69 6e 20 79 6f 75 72  irectory in your
a1a0: 20 50 41 54 48 0d 0a 20 20 2a 20 20 66 6f 73 73   PATH..  *  foss
a1b0: 69 6c 20 63 6c 6f 6e 65 20 68 74 74 70 3a 2f 2f  il clone http://
a1c0: 77 77 77 2e 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f  www.fossil-scm.o
a1d0: 72 67 2f 20 68 74 74 70 2e 66 6f 73 73 69 6c 0d  rg/ http.fossil.
a1e0: 0a 20 20 2a 20 20 49 66 20 69 74 20 68 61 73 20  .  *  If it has 
a1f0: 3c 73 74 72 6f 6e 67 3e 68 74 74 70 73 3c 2f 73  <strong>https</s
a200: 74 72 6f 6e 67 3e 20 73 75 70 70 6f 72 74 20 74  trong> support t
a210: 68 65 6e 20 66 6f 73 73 69 6c 20 63 6c 6f 6e 65  hen fossil clone
a220: 20 68 74 74 70 73 3a 2f 2f 77 77 77 2e 66 6f 73   https://www.fos
a230: 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f 20 68 74 74  sil-scm.org/ htt
a240: 70 73 2e 66 6f 73 73 69 6c 0d 0a 0d 0a 0d 0a 0d  ps.fossil.......
a250: 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 3c  ...............<
a260: 61 20 6e 61 6d 65 3d 22 77 79 73 69 77 69 67 22  a name="wysiwig"
a270: 3e 3c 68 32 3e 4a 61 76 61 73 63 72 69 70 74 20  ><h2>Javascript 
a280: 48 54 4d 4c 20 57 59 53 49 57 59 47 20 65 64 69  HTML WYSIWYG edi
a290: 74 6f 72 20 63 6f 6e 74 72 6f 6c 3c 2f 68 32 3e  tor control</h2>
a2a0: 3c 2f 61 3e 0d 0a 3c 68 33 3e 4d 6f 74 69 76 61  </a>..<h3>Motiva
a2b0: 74 69 6f 6e 3c 2f 68 33 3e 0d 0a 20 20 2a 20 20  tion</h3>..  *  
a2c0: 59 6f 75 20 77 61 6e 74 20 74 6f 20 65 64 69 74  You want to edit
a2d0: 20 74 68 65 20 77 69 6b 69 20 70 61 67 65 73 20   the wiki pages 
a2e0: 77 69 74 68 20 61 20 6e 69 63 65 20 65 64 69 74  with a nice edit
a2f0: 6f 72 20 63 6f 6d 70 6f 6e 65 6e 74 2c 20 69 6e  or component, in
a300: 73 74 65 61 64 20 6f 66 20 75 73 69 6e 67 20 70  stead of using p
a310: 6c 61 69 6e 20 48 54 4d 4c 2e 0d 0a 0d 0a 3c 68  lain HTML.....<h
a320: 33 3e 50 72 6f 62 6c 65 6d 3c 2f 68 33 3e 0d 0a  3>Problem</h3>..
a330: 46 6f 73 73 69 6c 20 62 79 20 69 74 73 65 6c 66  Fossil by itself
a340: 20 64 6f 65 73 6e 27 74 20 73 75 70 70 6f 72 74   doesn't support
a350: 20 69 74 2e 0d 0a 0d 0a 3c 68 33 3e 53 6f 6c 75   it.....<h3>Solu
a360: 74 69 6f 6e 3c 2f 68 33 3e 0d 0a 54 68 65 72 65  tion</h3>..There
a370: 20 61 72 65 20 70 75 72 65 20 6a 61 76 61 73 63   are pure javasc
a380: 72 69 70 74 20 65 64 69 74 6f 72 20 63 6f 6d 70  ript editor comp
a390: 6f 6e 65 6e 74 73 20 74 68 61 74 20 63 61 6e 20  onents that can 
a3a0: 62 65 20 75 73 65 64 20 66 6f 72 20 74 68 69 73  be used for this
a3b0: 20 74 61 73 6b 2e 0d 0a 54 68 65 20 73 6f 75 72   task...The sour
a3c0: 63 65 20 66 6f 72 20 74 68 65 20 65 64 69 74 6f  ce for the edito
a3d0: 72 20 63 6f 6d 70 6f 6e 65 6e 74 20 69 73 20 61  r component is a
a3e0: 64 64 65 64 20 74 6f 20 74 68 65 20 72 65 70 6f  dded to the repo
a3f0: 73 69 74 6f 72 79 2e 20 54 68 65 20 68 74 6d 6c  sitory. The html
a400: 20 68 65 61 64 65 72 20 6f 72 20 66 6f 6f 74 65   header or foote
a410: 72 20 69 73 20 70 72 65 70 61 72 65 64 20 74 6f  r is prepared to
a420: 20 69 6e 63 6c 75 64 65 20 61 20 6a 61 76 61 73   include a javas
a430: 63 72 69 70 74 20 66 69 6c 65 20 61 6e 64 2f 6f  cript file and/o
a440: 72 20 61 20 43 53 53 2e 0d 0a 3c 62 72 3e 0d 0a  r a CSS...<br>..
a450: 54 68 65 73 65 20 74 77 6f 20 74 69 70 73 20 61  These two tips a
a460: 72 65 20 66 72 6f 6d 20 74 68 65 20 6d 61 69 6c  re from the mail
a470: 69 6e 67 20 6c 69 73 74 3a 0d 0a 52 65 6e 65 20  ing list:..Rene 
a480: 64 65 20 5a 77 61 72 74 20 33 30 2e 20 4f 63 74  de Zwart 30. Oct
a490: 2e 20 32 30 30 39 0d 0a 0d 0a 3c 61 20 6e 61 6d  . 2009....<a nam
a4a0: 65 3d 22 74 69 6e 79 6d 63 65 22 3e 3c 68 34 3e  e="tinymce"><h4>
a4b0: 54 69 6e 79 4d 43 45 3c 2f 68 34 3e 3c 2f 61 3e  TinyMCE</h4></a>
a4c0: 0d 0a 3c 70 3e 0d 0a 53 6f 75 72 63 65 3a 20 3c  ..<p>..Source: <
a4d0: 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 74  a href="http://t
a4e0: 69 6e 79 6d 63 65 2e 6d 6f 78 69 65 63 6f 64 65  inymce.moxiecode
a4f0: 2e 63 6f 6d 2f 22 3e 20 54 69 6e 79 4d 43 45 20  .com/"> TinyMCE 
a500: 3c 2f 61 3e 0d 0a 3c 2f 70 3e 0d 0a 3c 68 35 3e  </a>..</p>..<h5>
a510: 20 45 78 61 6d 70 6c 65 3c 2f 68 35 3e 0d 0a 3c   Example</h5>..<
a520: 70 72 65 20 63 6c 61 73 73 3d 22 76 65 72 62 61  pre class="verba
a530: 74 69 6d 22 3e 0d 0a 20 20 20 20 6d 6b 64 69 72  tim">..    mkdir
a540: 20 74 69 6e 79 0d 0a 20 20 20 20 6d 6b 64 69 72   tiny..    mkdir
a550: 20 74 69 6e 79 2f 6a 61 76 61 73 63 72 69 70 74   tiny/javascript
a560: 0d 0a 20 20 20 20 66 6f 73 73 69 6c 20 6e 65 77  ..    fossil new
a570: 20 74 69 6e 79 6d 63 65 2e 66 73 6c 0d 0a 20 20   tinymce.fsl..  
a580: 20 20 66 6f 73 73 69 6c 20 75 69 20 74 69 6e 79    fossil ui tiny
a590: 6d 63 65 2e 66 73 6c 20 7b 63 6f 6e 66 69 67 75  mce.fsl {configu
a5a0: 72 65 20 74 68 65 20 70 72 6f 6a 65 63 74 29 0d  re the project).
a5b0: 0a 20 20 20 20 64 6f 77 6e 6c 6f 61 64 20 74 69  .    download ti
a5c0: 6e 79 6d 63 65 0d 0a 20 20 20 20 75 6e 7a 69 70  nymce..    unzip
a5d0: 20 69 6e 20 74 69 6e 79 2f 6a 61 76 61 73 63 72   in tiny/javascr
a5e0: 69 70 74 0d 0a 20 20 20 20 63 64 20 74 69 6e 79  ipt..    cd tiny
a5f0: 0d 0a 20 20 20 20 66 6f 73 73 69 6c 20 6f 70 65  ..    fossil ope
a600: 6e 20 2e 2e 2f 74 69 6e 79 6d 63 65 2e 66 73 6c  n ../tinymce.fsl
a610: 0d 0a 20 20 20 20 66 6f 73 73 69 6c 20 61 64 64  ..    fossil add
a620: 20 6a 61 76 61 73 63 72 69 70 74 0d 0a 20 20 20   javascript..   
a630: 20 66 6f 73 73 69 6c 20 63 6f 6d 6d 69 74 20 2d   fossil commit -
a640: 6d 20 22 61 64 64 65 64 20 74 69 6d 79 6d 63 65  m "added timymce
a650: 20 74 6f 20 74 68 65 20 70 72 6f 6a 65 63 74 22   to the project"
a660: 0d 0a 20 20 20 20 66 6f 73 73 69 6c 20 75 69 0d  ..    fossil ui.
a670: 0a 3c 2f 70 72 65 3e 0d 0a 53 65 6c 65 63 74 20  .</pre>..Select 
a680: 61 64 6d 69 6e 2f 68 65 61 64 65 72 73 20 61 64  admin/headers ad
a690: 64 20 61 66 74 65 72 20 74 68 65 20 26 6c 74 3b  d after the &lt;
a6a0: 2f 6c 69 6e 6b 26 67 74 3b 0d 0a 3c 70 72 65 20  /link&gt;..<pre 
a6b0: 63 6c 61 73 73 3d 22 76 65 72 62 61 74 69 6d 22  class="verbatim"
a6c0: 3e 0d 0a 20 26 6c 74 3b 74 68 31 26 67 74 3b 0d  >.. &lt;th1&gt;.
a6d0: 0a 20 20 20 69 66 20 7b 20 22 74 6b 74 6e 65 77  .   if { "tktnew
a6e0: 22 20 65 71 20 24 63 75 72 72 65 6e 74 5f 70 61  " eq $current_pa
a6f0: 67 65 20 0d 0a 20 20 20 09 7c 7c 20 22 74 6b 74  ge ..   .|| "tkt
a700: 65 64 69 74 22 20 65 71 20 24 63 75 72 72 65 6e  edit" eq $curren
a710: 74 5f 70 61 67 65 20 0d 0a 20 20 20 09 7c 7c 20  t_page ..   .|| 
a720: 22 77 69 6b 69 65 64 69 74 22 20 65 71 20 24 63  "wikiedit" eq $c
a730: 75 72 72 65 6e 74 5f 70 61 67 65 20 0d 0a 20 20  urrent_page ..  
a740: 20 09 7c 7c 20 22 77 69 6b 69 61 70 70 65 6e 64   .|| "wikiappend
a750: 22 20 65 71 20 24 63 75 72 72 65 6e 74 5f 70 61  " eq $current_pa
a760: 67 65 20 7d 20 7b 0d 0a 20 20 20 20 20 20 20 68  ge } {..       h
a770: 74 6d 6c 20 22 3c 73 63 72 69 70 74 20 74 79 70  tml "<script typ
a780: 65 3d 27 74 65 78 74 2f 6a 61 76 61 73 63 72 69  e='text/javascri
a790: 70 74 27 5c 6e 22 0d 0a 20 20 20 20 20 20 20 68  pt'\n"..       h
a7a0: 74 6d 6c 20 22 73 72 63 3d 27 2f 64 6f 63 2f 74  tml "src='/doc/t
a7b0: 69 70 2f 6a 61 76 61 73 63 72 69 70 74 2f 74 69  ip/javascript/ti
a7c0: 6e 79 6d 63 65 2f 6a 73 63 72 69 70 74 73 2f 74  nymce/jscripts/t
a7d0: 69 6e 79 5f 6d 63 65 2f 74 69 6e 79 5f 6d 63 65  iny_mce/tiny_mce
a7e0: 2e 6a 73 27 3e 5c 6e 22 0d 0a 20 20 20 20 20 20  .js'>\n"..      
a7f0: 20 68 74 6d 6c 20 22 3c 2f 73 63 72 69 70 74 3e   html "</script>
a800: 5c 6e 22 0d 0a 20 20 20 20 20 20 20 68 74 6d 6c  \n"..       html
a810: 20 22 20 3c 73 63 72 69 70 74 20 74 79 70 65 3d   " <script type=
a820: 27 74 65 78 74 2f 6a 61 76 61 73 63 72 69 70 74  'text/javascript
a830: 27 3e 5c 6e 22 0d 0a 20 20 20 20 20 20 20 70 75  '>\n"..       pu
a840: 74 73 20 22 74 69 6e 79 4d 43 45 2e 69 6e 69 74  ts "tinyMCE.init
a850: 28 7b 20 6d 6f 64 65 20 3a 20 27 73 70 65 63 69  ({ mode : 'speci
a860: 66 69 63 5f 74 65 78 74 61 72 65 61 73 27 20 2c  fic_textareas' ,
a870: 20 65 64 69 74 6f 72 5f 73 65 6c 65 63 74 6f 72   editor_selector
a880: 20 3a 20 27 77 69 6b 69 65 64 69 74 27 2c 20 74   : 'wikiedit', t
a890: 68 65 6d 65 3a 20 27 61 64 76 61 6e 63 65 64 27  heme: 'advanced'
a8a0: 2c 77 69 64 74 68 20 3a 20 27 39 30 25 27 20 7d  ,width : '90%' }
a8b0: 20 29 3b 22 0d 0a 20 20 20 20 20 20 20 68 74 6d   );"..       htm
a8c0: 6c 20 22 3c 2f 73 63 72 69 70 74 3e 5c 6e 22 0d  l "</script>\n".
a8d0: 0a 20 20 20 7d 0d 0a 26 6c 74 3b 2f 74 68 31 26  .   }..&lt;/th1&
a8e0: 67 74 3b 0d 0a 3c 2f 70 72 65 3e 0d 0a 61 6e 64  gt;..</pre>..and
a8f0: 20 73 61 76 65 2e 0d 0a 3c 61 20 6e 61 6d 65 3d   save...<a name=
a900: 22 6d 61 72 6b 69 74 75 70 22 3e 3c 68 33 3e 6d  "markitup"><h3>m
a910: 61 72 6b 69 74 75 70 21 3c 2f 68 33 3e 3c 2f 61  arkitup!</h3></a
a920: 3e 0d 0a 3c 70 3e 0d 0a 53 6f 75 72 63 65 3a 20  >..<p>..Source: 
a930: 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f  <a href="http://
a940: 6d 61 72 6b 69 74 75 70 2e 6a 61 79 73 61 6c 76  markitup.jaysalv
a950: 61 74 2e 63 6f 6d 2f 68 6f 6d 65 2f 22 3e 20 4d  at.com/home/"> M
a960: 61 72 6b 69 74 75 70 20 3c 2f 61 3e 0d 0a 3c 2f  arkitup </a>..</
a970: 70 3e 0d 0a 3c 68 35 3e 20 45 78 61 6d 70 6c 65  p>..<h5> Example
a980: 3c 2f 68 35 3e 0d 0a 3c 70 72 65 20 63 6c 61 73  </h5>..<pre clas
a990: 73 3d 22 76 65 72 62 61 74 69 6d 22 3e 0d 0a 20  s="verbatim">.. 
a9a0: 20 20 20 6d 6b 64 69 72 20 6d 61 72 6b 69 74 75     mkdir markitu
a9b0: 70 0d 0a 20 20 20 20 6d 6b 64 69 72 20 6d 61 72  p..    mkdir mar
a9c0: 6b 69 74 75 70 2f 6a 61 76 61 73 63 72 69 70 74  kitup/javascript
a9d0: 0d 0a 20 20 20 20 66 6f 73 73 69 6c 20 6e 65 77  ..    fossil new
a9e0: 20 6d 61 72 6b 69 74 75 70 2e 66 73 6c 0d 0a 20   markitup.fsl.. 
a9f0: 20 20 20 66 6f 73 73 69 6c 20 75 69 20 6d 61 72     fossil ui mar
aa00: 6b 69 74 75 70 2e 66 73 6c 20 7b 63 6f 6e 66 69  kitup.fsl {confi
aa10: 67 75 72 65 20 74 68 65 20 70 72 6f 6a 65 63 74  gure the project
aa20: 29 0d 0a 20 20 20 20 64 6f 77 6e 6c 6f 61 64 20  )..    download 
aa30: 6d 61 72 6b 69 74 75 70 20 61 6e 64 20 6a 71 75  markitup and jqu
aa40: 65 72 79 0d 0a 20 20 20 20 75 6e 7a 69 70 20 69  ery..    unzip i
aa50: 6e 20 6d 61 72 6b 69 74 75 70 2f 6a 61 76 61 73  n markitup/javas
aa60: 63 72 69 70 74 2c 20 63 64 20 6c 61 74 65 73 74  cript, cd latest
aa70: 2c 20 6d 76 20 2a 20 2e 2e 2c 20 72 6d 64 69 72  , mv * .., rmdir
aa80: 20 6c 61 74 65 73 74 0d 0a 20 20 20 20 63 6f 70   latest..    cop
aa90: 79 20 6a 71 75 65 72 79 2d 2e 2e 2e 2e 6a 73 20  y jquery-....js 
aaa0: 74 6f 20 6a 61 76 61 73 63 72 69 70 74 2f 6a 71  to javascript/jq
aab0: 75 65 72 79 2e 6a 73 0d 0a 20 20 20 20 63 64 20  uery.js..    cd 
aac0: 6d 61 72 6b 69 74 75 70 0d 0a 20 20 20 20 66 6f  markitup..    fo
aad0: 73 73 69 6c 20 6f 70 65 6e 20 2e 2e 2f 6d 61 72  ssil open ../mar
aae0: 6b 69 74 75 70 2e 66 73 6c 0d 0a 20 20 20 20 66  kitup.fsl..    f
aaf0: 6f 73 73 69 6c 20 61 64 64 20 6a 61 76 61 73 63  ossil add javasc
ab00: 72 69 70 74 0d 0a 20 20 20 20 66 6f 73 73 69 6c  ript..    fossil
ab10: 20 63 6f 6d 6d 69 74 20 2d 6d 20 22 61 64 64 65   commit -m "adde
ab20: 64 20 6d 61 72 6b 69 74 75 70 20 61 6e 20 6a 71  d markitup an jq
ab30: 75 65 72 79 20 74 6f 20 74 68 65 20 70 72 6f 6a  uery to the proj
ab40: 65 63 74 22 0d 0a 20 20 20 20 66 6f 73 73 69 6c  ect"..    fossil
ab50: 20 75 69 0d 0a 3c 2f 70 72 65 3e 0d 0a 73 65 6c   ui..</pre>..sel
ab60: 65 63 74 20 61 64 6d 69 6e 2f 68 65 61 64 65 72  ect admin/header
ab70: 73 20 61 64 64 20 61 66 74 65 72 20 74 68 65 20  s add after the 
ab80: 3c 2f 6c 69 6e 6b 3e 20 70 75 74 0d 0a 3c 70 72  </link> put..<pr
ab90: 65 20 63 6c 61 73 73 3d 22 76 65 72 62 61 74 69  e class="verbati
aba0: 6d 22 3e 0d 0a 20 20 20 20 26 6c 74 3b 6c 69 6e  m">..    &lt;lin
abb0: 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73 68 65 65  k rel="styleshee
abc0: 74 22 20 74 79 70 65 3d 22 74 65 78 74 2f 63 73  t" type="text/cs
abd0: 73 22 20 68 72 65 66 3d 22 2f 64 6f 63 2f 74 69  s" href="/doc/ti
abe0: 70 2f 6a 61 76 61 73 63 72 69 70 74 2f 6d 61 72  p/javascript/mar
abf0: 6b 69 74 75 70 2f 73 6b 69 6e 73 2f 6d 61 72 6b  kitup/skins/mark
ac00: 69 74 75 70 2f 73 74 79 6c 65 2e 63 73 73 22 20  itup/style.css" 
ac10: 2f 26 67 74 3b 0d 0a 20 20 20 20 26 6c 74 3b 6c  /&gt;..    &lt;l
ac20: 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73 68  ink rel="stylesh
ac30: 65 65 74 22 20 74 79 70 65 3d 22 74 65 78 74 2f  eet" type="text/
ac40: 63 73 73 22 20 68 72 65 66 3d 22 2f 64 6f 63 2f  css" href="/doc/
ac50: 74 69 70 2f 6a 61 76 61 73 63 72 69 70 74 2f 6d  tip/javascript/m
ac60: 61 72 6b 69 74 75 70 2f 73 65 74 73 2f 64 65 66  arkitup/sets/def
ac70: 61 75 6c 74 2f 73 74 79 6c 65 2e 63 73 73 22 20  ault/style.css" 
ac80: 2f 26 67 74 3b 0d 0a 20 20 20 20 26 6c 74 3b 73  /&gt;..    &lt;s
ac90: 63 72 69 70 74 20 74 79 70 65 3d 22 74 65 78 74  cript type="text
aca0: 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73 72 63  /javascript" src
acb0: 3d 22 2f 64 6f 63 2f 74 69 70 2f 6a 61 76 61 73  ="/doc/tip/javas
acc0: 63 72 69 70 74 2f 6a 71 75 65 72 79 2e 6a 73 22  cript/jquery.js"
acd0: 26 67 74 3b 0d 0a 20 20 20 20 26 6c 74 3b 2f 73  &gt;..    &lt;/s
ace0: 63 72 69 70 74 26 67 74 3b 0d 0a 20 20 20 20 26  cript&gt;..    &
acf0: 6c 74 3b 73 63 72 69 70 74 20 74 79 70 65 3d 22  lt;script type="
ad00: 74 65 78 74 2f 6a 61 76 61 73 63 72 69 70 74 22  text/javascript"
ad10: 20 73 72 63 3d 22 2f 64 6f 63 2f 74 69 70 2f 6a   src="/doc/tip/j
ad20: 61 76 61 73 63 72 69 70 74 2f 6d 61 72 6b 69 74  avascript/markit
ad30: 75 70 2f 6a 71 75 65 72 79 2e 6d 61 72 6b 69 74  up/jquery.markit
ad40: 75 70 2e 6a 73 22 26 67 74 3b 0d 0a 20 20 20 20  up.js"&gt;..    
ad50: 26 6c 74 3b 2f 73 63 72 69 70 74 26 67 74 3b 0d  &lt;/script&gt;.
ad60: 0a 3c 2f 70 72 65 3e 0d 0a 0d 0a 61 6e 64 20 73  .</pre>....and s
ad70: 61 76 65 0d 0a 73 65 6c 65 63 74 20 61 64 6d 69  ave..select admi
ad80: 6e 2f 66 6f 6f 74 65 72 20 61 64 64 20 61 62 6f  n/footer add abo
ad90: 76 65 20 74 68 65 20 66 69 72 73 74 20 6c 69 6e  ve the first lin
ada0: 65 0d 0a 0d 0a 3c 70 72 65 20 63 6c 61 73 73 3d  e....<pre class=
adb0: 22 76 65 72 62 61 74 69 6d 22 3e 0d 0a 20 20 20  "verbatim">..   
adc0: 20 26 6c 74 3b 73 63 72 69 70 74 20 74 79 70 65   &lt;script type
add0: 3d 27 74 65 78 74 2f 6a 61 76 61 73 63 72 69 70  ='text/javascrip
ade0: 74 27 26 67 74 3b 0d 0a 20 20 20 20 20 20 76 61  t'&gt;..      va
adf0: 72 20 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67  r m = document.g
ae00: 65 74 45 6c 65 6d 65 6e 74 73 42 79 54 61 67 4e  etElementsByTagN
ae10: 61 6d 65 28 27 74 65 78 74 61 72 65 61 27 29 0d  ame('textarea').
ae20: 0a 20 20 20 20 20 20 76 61 72 20 6c 20 3d 20 6d  .      var l = m
ae30: 2e 6c 65 6e 67 74 68 0d 0a 20 20 20 20 20 20 76  .length..      v
ae40: 61 72 20 6e 0d 0a 20 20 20 20 20 20 3c 6e 6f 77  ar n..      <now
ae50: 69 6b 69 3e 76 61 72 20 6d 79 53 65 74 74 69 6e  iki>var mySettin
ae60: 67 73 20 3d 20 7b 0d 0a 09 6e 61 6d 65 53 70 61  gs = {...nameSpa
ae70: 63 65 3a 20 20 20 20 20 20 20 22 68 74 6d 6c 22  ce:       "html"
ae80: 2c 20 2f 2f 20 55 73 65 66 75 6c 20 74 6f 20 70  , // Useful to p
ae90: 72 65 76 65 6e 74 20 6d 75 6c 74 69 2d 69 6e 73  revent multi-ins
aea0: 74 61 6e 63 65 73 20 43 53 53 20 63 6f 6e 66 6c  tances CSS confl
aeb0: 69 63 74 0d 0a 09 6f 6e 53 68 69 66 74 45 6e 74  ict...onShiftEnt
aec0: 65 72 3a 20 20 20 20 7b 6b 65 65 70 44 65 66 61  er:    {keepDefa
aed0: 75 6c 74 3a 66 61 6c 73 65 2c 20 72 65 70 6c 61  ult:false, repla
aee0: 63 65 57 69 74 68 3a 27 26 6c 74 3b 62 72 20 2f  ceWith:'&lt;br /
aef0: 26 67 74 3b 5c 6e 27 7d 2c 0d 0a 09 6f 6e 43 74  &gt;\n'},...onCt
af00: 72 6c 45 6e 74 65 72 3a 20 20 20 20 20 7b 6b 65  rlEnter:     {ke
af10: 65 70 44 65 66 61 75 6c 74 3a 66 61 6c 73 65 2c  epDefault:false,
af20: 20 6f 70 65 6e 57 69 74 68 3a 27 5c 6e 26 6c 74   openWith:'\n&lt
af30: 3b 70 26 67 74 3b 27 2c 20 63 6c 6f 73 65 57 69  ;p&gt;', closeWi
af40: 74 68 3a 27 26 6c 74 3b 2f 70 26 67 74 3b 5c 6e  th:'&lt;/p&gt;\n
af50: 27 7d 2c 0d 0a 09 6f 6e 54 61 62 3a 20 20 20 20  '},...onTab:    
af60: 20 20 20 20 20 20 20 7b 6b 65 65 70 44 65 66 61         {keepDefa
af70: 75 6c 74 3a 66 61 6c 73 65 2c 20 6f 70 65 6e 57  ult:false, openW
af80: 69 74 68 3a 27 20 20 20 20 20 27 7d 2c 0d 0a 09  ith:'     '},...
af90: 6d 61 72 6b 75 70 53 65 74 3a 20 20 5b 0d 0a 09  markupSet:  [...
afa0: 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61 64 69      {name:'Headi
afb0: 6e 67 20 31 27 2c 20 6b 65 79 3a 27 31 27 2c 20  ng 1', key:'1', 
afc0: 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b 68 31  openWith:'&lt;h1
afd0: 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b 43 6c  (!( class="[![Cl
afe0: 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b 27 2c  ass]!]")!)&gt;',
aff0: 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b   closeWith:'&lt;
b000: 2f 68 31 26 67 74 3b 27 2c 20 70 6c 61 63 65 48  /h1&gt;', placeH
b010: 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69 74 6c  older:'Your titl
b020: 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d 0a 09  e here...' },...
b030: 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61 64 69      {name:'Headi
b040: 6e 67 20 32 27 2c 20 6b 65 79 3a 27 32 27 2c 20  ng 2', key:'2', 
b050: 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b 68 32  openWith:'&lt;h2
b060: 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b 43 6c  (!( class="[![Cl
b070: 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b 27 2c  ass]!]")!)&gt;',
b080: 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b   closeWith:'&lt;
b090: 2f 68 32 26 67 74 3b 27 2c 20 70 6c 61 63 65 48  /h2&gt;', placeH
b0a0: 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69 74 6c  older:'Your titl
b0b0: 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d 0a 09  e here...' },...
b0c0: 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61 64 69      {name:'Headi
b0d0: 6e 67 20 33 27 2c 20 6b 65 79 3a 27 33 27 2c 20  ng 3', key:'3', 
b0e0: 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b 68 33  openWith:'&lt;h3
b0f0: 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b 43 6c  (!( class="[![Cl
b100: 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b 27 2c  ass]!]")!)&gt;',
b110: 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b   closeWith:'&lt;
b120: 2f 68 33 26 67 74 3b 27 2c 20 70 6c 61 63 65 48  /h3&gt;', placeH
b130: 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69 74 6c  older:'Your titl
b140: 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d 0a 09  e here...' },...
b150: 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61 64 69      {name:'Headi
b160: 6e 67 20 34 27 2c 20 6b 65 79 3a 27 34 27 2c 20  ng 4', key:'4', 
b170: 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b 68 34  openWith:'&lt;h4
b180: 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b 43 6c  (!( class="[![Cl
b190: 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b 27 2c  ass]!]")!)&gt;',
b1a0: 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b   closeWith:'&lt;
b1b0: 2f 68 34 26 67 74 3b 27 2c 20 70 6c 61 63 65 48  /h4&gt;', placeH
b1c0: 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69 74 6c  older:'Your titl
b1d0: 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d 0a 09  e here...' },...
b1e0: 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61 64 69      {name:'Headi
b1f0: 6e 67 20 35 27 2c 20 6b 65 79 3a 27 35 27 2c 20  ng 5', key:'5', 
b200: 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b 68 35  openWith:'&lt;h5
b210: 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b 43 6c  (!( class="[![Cl
b220: 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b 27 2c  ass]!]")!)&gt;',
b230: 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b   closeWith:'&lt;
b240: 2f 68 35 26 67 74 3b 27 2c 20 70 6c 61 63 65 48  /h5&gt;', placeH
b250: 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69 74 6c  older:'Your titl
b260: 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d 0a 09  e here...' },...
b270: 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61 64 69      {name:'Headi
b280: 6e 67 20 36 27 2c 20 6b 65 79 3a 27 36 27 2c 20  ng 6', key:'6', 
b290: 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b 68 36  openWith:'&lt;h6
b2a0: 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b 43 6c  (!( class="[![Cl
b2b0: 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b 27 2c  ass]!]")!)&gt;',
b2c0: 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b   closeWith:'&lt;
b2d0: 2f 68 36 26 67 74 3b 27 2c 20 70 6c 61 63 65 48  /h6&gt;', placeH
b2e0: 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69 74 6c  older:'Your titl
b2f0: 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d 0a 09  e here...' },...
b300: 20 20 20 20 7b 6e 61 6d 65 3a 27 50 61 72 61 67      {name:'Parag
b310: 72 61 70 68 27 2c 20 6f 70 65 6e 57 69 74 68 3a  raph', openWith:
b320: 27 26 6c 74 3b 70 28 21 28 20 63 6c 61 73 73 3d  '&lt;p(!( class=
b330: 22 5b 21 5b 43 6c 61 73 73 5d 21 5d 22 29 21 29  "[![Class]!]")!)
b340: 26 67 74 3b 27 2c 20 63 6c 6f 73 65 57 69 74 68  &gt;', closeWith
b350: 3a 27 26 6c 74 3b 2f 70 26 67 74 3b 27 20 20 7d  :'&lt;/p&gt;'  }
b360: 2c 0d 0a 09 20 20 20 20 7b 73 65 70 61 72 61 74  ,...    {separat
b370: 6f 72 3a 27 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  or:'------------
b380: 2d 2d 2d 27 20 7d 2c 0d 0a 09 20 20 20 20 7b 6e  ---' },...    {n
b390: 61 6d 65 3a 27 42 6f 6c 64 27 2c 20 6b 65 79 3a  ame:'Bold', key:
b3a0: 27 42 27 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26  'B', openWith:'&
b3b0: 6c 74 3b 73 74 72 6f 6e 67 26 67 74 3b 27 2c 20  lt;strong&gt;', 
b3c0: 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b 2f  closeWith:'&lt;/
b3d0: 73 74 72 6f 6e 67 26 67 74 3b 27 20 7d 2c 0d 0a  strong&gt;' },..
b3e0: 09 20 20 20 20 7b 6e 61 6d 65 3a 27 49 74 61 6c  .    {name:'Ital
b3f0: 69 63 27 2c 20 6b 65 79 3a 27 49 27 2c 20 6f 70  ic', key:'I', op
b400: 65 6e 57 69 74 68 3a 27 26 6c 74 3b 65 6d 26 67  enWith:'&lt;em&g
b410: 74 3b 27 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27  t;', closeWith:'
b420: 26 6c 74 3b 2f 65 6d 26 67 74 3b 27 20 20 7d 2c  &lt;/em&gt;'  },
b430: 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 53 74  ...    {name:'St
b440: 72 6f 6b 65 20 74 68 72 6f 75 67 68 27 2c 20 6b  roke through', k
b450: 65 79 3a 27 53 27 2c 20 6f 70 65 6e 57 69 74 68  ey:'S', openWith
b460: 3a 27 26 6c 74 3b 64 65 6c 26 67 74 3b 27 2c 20  :'&lt;del&gt;', 
b470: 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b 2f  closeWith:'&lt;/
b480: 64 65 6c 26 67 74 3b 27 20 7d 2c 0d 0a 09 20 20  del&gt;' },...  
b490: 20 20 7b 73 65 70 61 72 61 74 6f 72 3a 27 2d 2d    {separator:'--
b4a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 27 20 7d  -------------' }
b4b0: 2c 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 55  ,...    {name:'U
b4c0: 6c 27 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c  l', openWith:'&l
b4d0: 74 3b 75 6c 26 67 74 3b 5c 6e 27 2c 20 63 6c 6f  t;ul&gt;\n', clo
b4e0: 73 65 57 69 74 68 3a 27 26 6c 74 3b 2f 75 6c 26  seWith:'&lt;/ul&
b4f0: 67 74 3b 5c 6e 27 20 7d 2c 0d 0a 09 20 20 20 20  gt;\n' },...    
b500: 7b 6e 61 6d 65 3a 27 4f 6c 27 2c 20 6f 70 65 6e  {name:'Ol', open
b510: 57 69 74 68 3a 27 26 6c 74 3b 6f 6c 26 67 74 3b  With:'&lt;ol&gt;
b520: 5c 6e 27 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27  \n', closeWith:'
b530: 26 6c 74 3b 2f 6f 6c 26 67 74 3b 5c 6e 27 20 7d  &lt;/ol&gt;\n' }
b540: 2c 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 4c  ,...    {name:'L
b550: 69 27 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c  i', openWith:'&l
b560: 74 3b 6c 69 26 67 74 3b 27 2c 20 63 6c 6f 73 65  t;li&gt;', close
b570: 57 69 74 68 3a 27 26 6c 74 3b 2f 6c 69 26 67 74  With:'&lt;/li&gt
b580: 3b 27 20 7d 2c 0d 0a 09 20 20 20 20 7b 73 65 70  ;' },...    {sep
b590: 61 72 61 74 6f 72 3a 27 2d 2d 2d 2d 2d 2d 2d 2d  arator:'--------
b5a0: 2d 2d 2d 2d 2d 2d 2d 27 20 7d 2c 0d 0a 09 20 20  -------' },...  
b5b0: 20 20 7b 6e 61 6d 65 3a 27 50 69 63 74 75 72 65    {name:'Picture
b5c0: 27 2c 20 6b 65 79 3a 27 50 27 2c 20 72 65 70 6c  ', key:'P', repl
b5d0: 61 63 65 57 69 74 68 3a 27 26 6c 74 3b 69 6d 67  aceWith:'&lt;img
b5e0: 20 73 72 63 3d 22 5b 21 5b 53 6f 75 72 63 65 3a   src="[![Source:
b5f0: 21 3a 68 74 74 70 3a 2f 2f 5d 21 5d 22 20 61 6c  !:http://]!]" al
b600: 74 3d 22 5b 21 5b 41 6c 74 65 72 6e 61 74 69 76  t="[![Alternativ
b610: 65 20 74 65 78 74 5d 21 5d 22 20 2f 26 67 74 3b  e text]!]" /&gt;
b620: 27 20 7d 2c 0d 0a 09 20 20 20 20 7b 6e 61 6d 65  ' },...    {name
b630: 3a 27 4c 69 6e 6b 27 2c 20 6b 65 79 3a 27 4c 27  :'Link', key:'L'
b640: 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b  , openWith:'&lt;
b650: 61 20 68 72 65 66 3d 22 5b 21 5b 4c 69 6e 6b 3a  a href="[![Link:
b660: 21 3a 68 74 74 70 3a 2f 2f 5d 21 5d 22 28 21 28  !:http://]!]"(!(
b670: 20 74 69 74 6c 65 3d 22 5b 21 5b 54 69 74 6c 65   title="[![Title
b680: 5d 21 5d 22 29 21 29 26 67 74 3b 27 2c 20 63 6c  ]!]")!)&gt;', cl
b690: 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b 2f 61 26  oseWith:'&lt;/a&
b6a0: 67 74 3b 27 2c 20 70 6c 61 63 65 48 6f 6c 64 65  gt;', placeHolde
b6b0: 72 3a 27 59 6f 75 72 20 74 65 78 74 20 74 6f 20  r:'Your text to 
b6c0: 6c 69 6e 6b 2e 2e 2e 27 20 7d 2c 0d 0a 09 20 20  link...' },...  
b6d0: 20 20 7b 73 65 70 61 72 61 74 6f 72 3a 27 2d 2d    {separator:'--
b6e0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 27 20 7d  -------------' }
b6f0: 2c 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 43  ,...    {name:'C
b700: 6c 65 61 6e 27 2c 20 72 65 70 6c 61 63 65 57 69  lean', replaceWi
b710: 74 68 3a 66 75 6e 63 74 69 6f 6e 28 68 29 20 7b  th:function(h) {
b720: 20 72 65 74 75 72 6e 20 68 2e 73 65 6c 65 63 74   return h.select
b730: 69 6f 6e 2e 72 65 70 6c 61 63 65 28 2f 26 6c 74  ion.replace(/&lt
b740: 3b 28 2e 2a 3f 29 26 67 74 3b 2f 67 2c 20 22 22  ;(.*?)&gt;/g, ""
b750: 29 20 7d 20 7d 2c 0d 0a 09 20 20 20 20 7b 6e 61  ) } },...    {na
b760: 6d 65 3a 27 50 72 65 76 69 65 77 27 2c 20 63 61  me:'Preview', ca
b770: 6c 6c 3a 27 70 72 65 76 69 65 77 27 2c 20 63 6c  ll:'preview', cl
b780: 61 73 73 4e 61 6d 65 3a 27 70 72 65 76 69 65 77  assName:'preview
b790: 27 20 7d 0d 0a 09 5d 0d 0a 20 20 20 20 20 20 7d  ' }...]..      }
b7a0: 0d 0a 20 20 20 20 20 20 66 6f 72 28 76 61 72 20  ..      for(var 
b7b0: 69 3d 30 20 3b 69 20 3c 20 6c 3b 69 2b 2b 29 7b  i=0 ;i < l;i++){
b7c0: 0d 0a 09 6e 20 3d 20 6d 5b 69 5d 2e 6e 61 6d 65  ...n = m[i].name
b7d0: 0d 0a 09 69 66 28 20 27 63 6f 6d 6d 65 6e 74 27  ...if( 'comment'
b7e0: 20 3d 3d 20 6e 20 7c 7c 20 27 63 6d 61 70 70 6e   == n || 'cmappn
b7f0: 64 27 20 3d 3d 20 6e 20 7c 7c 20 22 77 22 20 20  d' == n || "w"  
b800: 3d 3d 20 6e 29 7b 0d 0a 09 20 20 20 20 6d 5b 69  == n){...    m[i
b810: 5d 2e 69 64 20 3d 20 6e 3c 2f 6e 6f 77 69 6b 69  ].id = n</nowiki
b820: 3e 0d 0a 09 20 20 20 20 24 28 64 6f 63 75 6d 65  >...    $(docume
b830: 6e 74 29 2e 72 65 61 64 79 28 66 75 6e 63 74 69  nt).ready(functi
b840: 6f 6e 28 29 20 7b 0d 0a 09 20 20 20 20 20 20 24  on() {...      $
b850: 28 22 23 22 20 2b 20 6e 29 2e 6d 61 72 6b 49 74  ("#" + n).markIt
b860: 55 70 28 6d 79 53 65 74 74 69 6e 67 73 29 3b 0d  Up(mySettings);.
b870: 0a 09 20 20 20 20 7d 29 3b 0d 0a 09 7d 0d 0a 20  ..    });...}.. 
b880: 20 20 20 20 20 7d 0d 0a 20 20 20 20 26 6c 74 3b       }..    &lt;
b890: 2f 73 63 72 69 70 74 26 67 74 3b 0d 0a 20 3c 2f  /script&gt;.. </
b8a0: 70 72 65 3e 0d 0a 0d 0a 3c 68 32 3e 3c 61 20 6e  pre>....<h2><a n
b8b0: 61 6d 65 3d 22 74 69 63 6b 65 74 2d 63 68 65 63  ame="ticket-chec
b8c0: 6b 69 6e 2d 6c 69 6e 6b 73 22 3e 4c 69 6e 6b 69  kin-links">Linki
b8d0: 6e 67 20 54 69 63 6b 65 74 73 20 74 6f 20 43 68  ng Tickets to Ch
b8e0: 65 63 6b 69 6e 27 73 3c 2f 61 3e 3c 2f 68 32 3e  eckin's</a></h2>
b8f0: 0d 0a 0d 0a 49 74 27 73 20 65 61 73 79 20 74 6f  ....It's easy to
b900: 20 6c 69 6e 6b 20 61 20 63 68 65 63 6b 69 6e 20   link a checkin 
b910: 74 6f 20 61 20 74 69 63 6b 65 74 2e 2e 2e 20 73  to a ticket... s
b920: 69 6d 70 6c 79 20 69 6e 63 6c 75 64 65 20 3c 6e  imply include <n
b930: 6f 77 69 6b 69 3e 5b 74 69 63 6b 65 74 2d 75 75  owiki>[ticket-uu
b940: 69 64 5d 3c 2f 6e 6f 77 69 6b 69 3e 20 69 6e 20  id]</nowiki> in 
b950: 79 6f 75 72 20 63 6f 6d 6d 69 74 20 63 6f 6d 6d  your commit comm
b960: 65 6e 74 2e 20 4e 6f 77 2c 20 77 68 65 6e 20 79  ent. Now, when y
b970: 6f 75 20 64 6f 20 74 68 61 74 2c 20 79 6f 75 20  ou do that, you 
b980: 61 6c 73 6f 20 68 61 76 65 20 74 68 65 20 61 62  also have the ab
b990: 69 6c 69 74 79 20 74 6f 20 6c 69 6e 6b 20 61 20  ility to link a 
b9a0: 74 69 63 6b 65 74 20 74 6f 20 74 68 65 20 61 73  ticket to the as
b9b0: 73 6f 63 69 61 74 65 64 20 63 68 65 63 6b 69 6e  sociated checkin
b9c0: 28 73 29 2e 0d 0a 0d 0a 54 68 69 73 20 69 73 20  (s).....This is 
b9d0: 6a 75 73 74 20 6f 6e 65 20 77 61 79 20 6f 66 20  just one way of 
b9e0: 64 6f 69 6e 67 20 74 68 69 73 2c 20 61 6e 64 20  doing this, and 
b9f0: 77 68 61 74 20 49 20 64 65 63 69 64 65 64 20 74  what I decided t
ba00: 6f 20 64 6f 2e 20 59 6f 75 20 63 61 6e 20 6f 66  o do. You can of
ba10: 20 63 6f 75 72 73 65 20 61 6c 74 65 72 20 69 74   course alter it
ba20: 20 66 6f 72 20 79 6f 75 72 20 6f 77 6e 20 73 74   for your own st
ba30: 79 6c 65 2f 6c 61 79 6f 75 74 2e 0d 0a 0d 0a 46  yle/layout.....F
ba40: 69 72 73 74 3a 20 41 64 64 20 61 20 22 53 68 6f  irst: Add a "Sho
ba50: 72 74 20 55 55 49 44 22 20 74 6f 20 79 6f 75 72  rt UUID" to your
ba60: 20 56 69 65 77 20 54 69 63 6b 65 74 20 70 61 67   View Ticket pag
ba70: 65 2e 20 59 6f 75 20 63 61 6e 20 64 6f 20 74 68  e. You can do th
ba80: 69 73 20 62 79 3a 20 0d 0a 0d 0a 3c 76 65 72 62  is by: ....<verb
ba90: 61 74 69 6d 3e 0d 0a 3c 74 68 31 3e 0d 0a 73 65  atim>..<th1>..se
baa0: 74 20 73 68 6f 72 74 55 75 69 64 20 5b 73 74 72  t shortUuid [str
bab0: 69 6e 67 20 72 61 6e 67 65 20 24 74 6b 74 5f 75  ing range $tkt_u
bac0: 75 69 64 20 30 20 39 5d 0d 0a 3c 2f 74 68 31 3e  uid 0 9]..</th1>
bad0: 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e 0d 0a 0d  ..</verbatim>...
bae0: 0a 54 68 65 6e 2c 20 64 69 73 70 6c 61 79 20 74  .Then, display t
baf0: 68 61 74 20 74 6f 20 74 68 65 20 75 73 65 72 20  hat to the user 
bb00: 73 6f 6d 65 77 68 65 72 65 3a 20 0d 0a 0d 0a 3c  somewhere: ....<
bb10: 76 65 72 62 61 74 69 6d 3e 0d 0a 55 75 69 64 3a  verbatim>..Uuid:
bb20: 20 24 3c 73 68 6f 72 74 55 75 69 64 3e 0d 0a 3c   $<shortUuid>..<
bb30: 2f 76 65 72 62 61 74 69 6d 3e 0d 0a 0d 0a 41 6c  /verbatim>....Al
bb40: 6c 20 74 68 61 74 20 64 6f 65 73 20 69 73 20 6d  l that does is m
bb50: 61 6b 65 20 69 74 20 65 61 73 79 20 66 6f 72 20  ake it easy for 
bb60: 74 68 65 20 64 65 76 65 6c 6f 70 65 72 20 74 6f  the developer to
bb70: 20 63 6f 70 79 2f 70 61 73 74 65 20 61 20 73 65   copy/paste a se
bb80: 6e 73 69 62 6c 65 20 55 55 49 44 20 69 6e 74 6f  nsible UUID into
bb90: 20 74 68 65 69 72 20 63 6f 6d 6d 69 74 20 6c 6f   their commit lo
bba0: 67 2e 20 0d 0a 0d 0a 4e 6f 77 2c 20 63 6f 6e 74  g. ....Now, cont
bbb0: 69 6e 75 69 6e 67 2c 20 6f 6e 20 74 68 65 20 73  inuing, on the s
bbc0: 61 6d 65 20 56 69 65 77 20 50 61 67 65 20 61 64  ame View Page ad
bbd0: 64 20 61 20 6c 69 6e 6b 20 74 6f 20 76 69 65 77  d a link to view
bbe0: 20 61 73 73 6f 63 69 61 74 65 64 20 74 69 63 6b   associated tick
bbf0: 65 74 73 3a 20 0d 0a 0d 0a 3c 76 65 72 62 61 74  ets: ....<verbat
bc00: 69 6d 3e 0d 0a 3c 61 20 68 72 65 66 3d 22 2f 74  im>..<a href="/t
bc10: 69 6d 65 6c 69 6e 65 3f 79 3d 63 69 26 73 3d 24  imeline?y=ci&s=$
bc20: 3c 73 68 6f 72 74 55 75 69 64 3e 22 3e 61 73 73  <shortUuid>">ass
bc30: 6f 63 69 61 74 65 64 20 74 69 63 6b 65 74 73 3c  ociated tickets<
bc40: 2f 61 3e 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e  /a>..</verbatim>
bc50: 0d 0a 0d 0a 57 68 61 74 20 74 68 69 73 20 64 6f  ....What this do
bc60: 65 73 20 69 73 20 73 65 61 72 63 68 65 73 20 61  es is searches a
bc70: 6c 6c 20 63 68 65 63 6b 69 6e 27 73 20 66 6f 72  ll checkin's for
bc80: 20 74 68 65 20 74 69 63 6b 65 74 73 20 75 75 69   the tickets uui
bc90: 64 2c 20 74 68 75 73 2c 20 79 6f 75 20 63 61 6e  d, thus, you can
bca0: 20 6e 6f 77 20 73 65 65 20 61 6c 6c 20 63 68 65   now see all che
bcb0: 63 6b 69 6e 27 73 20 74 68 61 74 20 61 72 65 20  ckin's that are 
bcc0: 6c 69 6e 6b 65 64 20 77 69 74 68 20 74 68 65 20  linked with the 
bcd0: 67 69 76 65 6e 20 74 69 63 6b 65 74 2e 0d 0a 0d  given ticket....
bce0: 0a 3c 64 69 76 3e 0d 0a 20 20 3c 68 32 3e 3c 61  .<div>..  <h2><a
bcf0: 20 6e 61 6d 65 3d 22 74 68 31 2d 75 73 61 67 65   name="th1-usage
bd00: 22 3e 46 6f 73 73 69 6c 20 54 68 31 3c 2f 61 3e  ">Fossil Th1</a>
bd10: 3c 2f 68 32 3e 0d 0a 0d 0a 20 20 3c 68 33 3e 50  </h2>....  <h3>P
bd20: 75 72 70 6f 73 65 20 6f 66 20 54 68 31 3c 2f 68  urpose of Th1</h
bd30: 33 3e 0d 0a 0d 0a 20 20 3c 70 3e 54 68 31 20 69  3>....  <p>Th1 i
bd40: 73 20 75 73 65 64 20 61 73 20 61 20 3c 73 74 72  s used as a <str
bd50: 6f 6e 67 3e 74 65 6d 70 6c 61 74 65 20 73 79 73  ong>template sys
bd60: 74 65 6d 3c 2f 73 74 72 6f 6e 67 3e 20 66 6f 72  tem</strong> for
bd70: 0d 0a 20 20 67 65 6e 65 72 61 74 69 6e 67 20 48  ..  generating H
bd80: 54 4d 4c 20 68 65 61 64 65 72 20 61 6e 64 20 66  TML header and f
bd90: 6f 6f 74 65 72 2e 20 49 74 20 69 73 20 61 20 54  ooter. It is a T
bda0: 43 4c 20 6c 69 6b 65 0d 0a 20 20 6c 61 6e 67 75  CL like..  langu
bdb0: 61 67 65 2e 20 49 66 20 79 6f 75 20 6b 6e 6f 77  age. If you know
bdc0: 20 54 43 4c 20 79 6f 75 20 6b 6e 6f 77 20 54 48   TCL you know TH
bdd0: 31 2e 3c 2f 70 3e 0d 0a 0d 0a 20 20 3c 70 3e 49  1.</p>....  <p>I
bde0: 74 20 69 73 20 69 6e 76 6f 6b 65 64 20 62 79 20  t is invoked by 
bdf0: 6f 70 65 6e 69 6e 67 20 61 20 26 6c 74 3b 74 68  opening a &lt;th
be00: 31 26 67 74 3b 20 74 61 67 2e 20 54 68 65 20 66  1&gt; tag. The f
be10: 69 72 73 74 20 74 69 6d 65 20 69 74 0d 0a 20 20  irst time it..  
be20: 73 74 61 72 74 73 20 61 6e 20 69 6e 74 65 72 70  starts an interp
be30: 72 65 74 65 72 2e 20 54 68 65 20 73 74 61 74 65  reter. The state
be40: 20 6f 66 20 74 68 69 73 20 69 6e 74 65 72 70 72   of this interpr
be50: 65 74 65 72 20 69 73 20 76 61 6c 69 64 0d 0a 20  eter is valid.. 
be60: 20 64 75 72 69 6e 67 20 74 68 65 20 70 61 67 65   during the page
be70: 20 67 65 6e 65 72 61 74 69 6f 6e 2e 3c 2f 70 3e   generation.</p>
be80: 0d 0a 0d 0a 20 20 3c 70 3e 46 6f 72 20 65 78 61  ....  <p>For exa
be90: 6d 70 6c 65 20 77 68 65 6e 20 79 6f 75 3c 2f 70  mple when you</p
bea0: 3e 0d 0a 0d 0a 20 20 3c 75 6c 20 63 6f 6d 70 61  >....  <ul compa
beb0: 63 74 3d 27 63 6f 6d 70 61 63 74 27 3e 0d 0a 20  ct='compact'>.. 
bec0: 20 20 20 3c 6c 69 3e 0d 0a 20 20 20 20 20 20 64     <li>..      d
bed0: 6f 20 69 6e 20 74 68 65 20 68 65 61 64 65 72 20  o in the header 
bee0: 26 6c 74 3b 74 68 31 26 67 74 3b 20 73 65 74 20  &lt;th1&gt; set 
bef0: 76 65 72 73 69 6f 6e 20 62 65 74 61 20 26 6c 74  version beta &lt
bf00: 3b 2f 74 68 31 26 67 74 3b 0d 0a 20 20 20 20 3c  ;/th1&gt;..    <
bf10: 2f 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69 3e 0d 0a  /li>..    <li>..
bf20: 20 20 20 20 20 20 74 68 65 6e 20 69 6e 20 74 68        then in th
bf30: 65 20 66 6f 6f 74 65 72 20 26 6c 74 3b 74 68 31  e footer &lt;th1
bf40: 26 67 74 3b 70 75 74 73 20 22 56 65 72 73 69 6f  &gt;puts "Versio
bf50: 6e 20 73 65 74 20 69 6e 20 68 65 61 64 65 72 0d  n set in header.
bf60: 0a 20 20 20 20 20 20 69 73 20 24 76 65 72 73 69  .      is $versi
bf70: 6f 6e 22 26 6c 74 3b 2f 74 68 31 26 67 74 3b 20  on"&lt;/th1&gt; 
bf80: 72 65 73 75 6c 74 73 20 69 6e 20 27 56 65 72 73  results in 'Vers
bf90: 69 6f 6e 20 73 65 74 20 69 6e 20 68 65 61 64 65  ion set in heade
bfa0: 72 20 69 73 0d 0a 20 20 20 20 20 20 62 65 74 61  r is..      beta
bfb0: 27 0d 0a 20 20 20 20 3c 2f 6c 69 3e 0d 0a 20 20  '..    </li>..  
bfc0: 3c 2f 75 6c 3e 0d 0a 0d 0a 20 20 3c 70 3e 42 65  </ul>....  <p>Be
bfd0: 63 61 75 73 65 20 69 74 20 69 73 20 75 73 65 64  cause it is used
bfe0: 20 61 73 20 61 20 74 65 6d 70 6c 61 74 65 20 73   as a template s
bff0: 79 73 74 65 6d 20 69 74 20 65 78 70 6f 72 74 73  ystem it exports
c000: 20 73 6f 6d 65 0d 0a 20 20 64 65 74 61 69 6c 73   some..  details
c010: 20 6f 66 20 66 6f 73 73 69 6c 20 74 68 72 6f 75   of fossil throu
c020: 67 68 3c 2f 70 3e 0d 0a 0d 0a 20 20 3c 6f 6c 3e  gh</p>....  <ol>
c030: 0d 0a 20 20 20 20 3c 6c 69 3e 76 61 72 69 61 62  ..    <li>variab
c040: 6c 65 73 3c 2f 6c 69 3e 0d 0a 20 20 20 20 3c 6c  les</li>..    <l
c050: 69 3e 66 75 6e 63 74 69 6f 6e 73 3c 2f 6c 69 3e  i>functions</li>
c060: 0d 0a 20 20 3c 2f 6f 6c 3e 0d 0a 0d 0a 20 20 3c  ..  </ol>....  <
c070: 70 3e 54 68 65 73 65 20 61 72 65 20 64 65 66 69  p>These are defi
c080: 6e 65 64 20 69 6e 0d 0a 20 5b 35 39 30 65 30 37  ned in.. [590e07
c090: 33 37 34 36 31 32 31 62 65 66 65 36 35 35 36 35  3746121befe65565
c0a0: 65 65 36 64 37 33 30 30 37 63 33 37 61 64 65 31  ee6d73007c37ade1
c0b0: 32 63 7c 73 72 63 2f 74 68 5f 6d 61 69 6e 2e 63  2c|src/th_main.c
c0c0: 5d 29 3c 2f 70 3e 0d 0a 0d 0a 20 20 3c 68 33 3e  ])</p>....  <h3>
c0d0: 56 61 72 69 61 62 6c 65 73 3c 2f 68 33 3e 0d 0a  Variables</h3>..
c0e0: 0d 0a 20 20 3c 70 3e 54 68 65 73 65 20 76 61 72  ..  <p>These var
c0f0: 69 61 62 6c 65 20 61 72 65 20 67 6c 6f 62 61 6c  iable are global
c100: 20 61 6e 64 20 61 76 61 69 6c 61 62 6c 65 20 6f   and available o
c110: 75 74 73 69 64 65 20 26 6c 74 3b 74 68 31 26 67  utside &lt;th1&g
c120: 74 3b 0d 0a 20 20 74 61 67 73 2e 20 54 68 65 79  t;..  tags. They
c130: 20 63 61 6e 20 62 65 20 72 65 66 65 72 65 6e 63   can be referenc
c140: 65 64 20 65 69 74 68 65 72 20 61 73 3c 2f 70 3e  ed either as</p>
c150: 0d 0a 0d 0a 20 20 3c 75 6c 20 63 6f 6d 70 61 63  ....  <ul compac
c160: 74 3d 27 63 6f 6d 70 61 63 74 27 3e 0d 0a 20 20  t='compact'>..  
c170: 20 20 3c 6c 69 3e 24 76 61 72 2e 20 65 2e 67 2e    <li>$var. e.g.
c180: 20 24 74 69 74 6c 65 2e 3c 2f 6c 69 3e 0d 0a 20   $title.</li>.. 
c190: 20 20 20 3c 6c 69 3e 24 26 6c 74 3b 76 61 72 26     <li>$&lt;var&
c1a0: 67 74 3b 20 65 2e 67 2e 20 24 26 6c 74 3b 74 69  gt; e.g. $&lt;ti
c1b0: 74 6c 65 26 67 74 3b 3c 2f 6c 69 3e 0d 0a 20 20  tle&gt;</li>..  
c1c0: 3c 2f 75 6c 3e 0d 0a 0d 0a 20 20 3c 70 3e 54 68  </ul>....  <p>Th
c1d0: 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 72 65 20  e following are 
c1e0: 64 65 66 69 6e 65 64 3a 3c 2f 70 3e 0d 0a 0d 0a  defined:</p>....
c1f0: 20 20 3c 75 6c 20 63 6f 6d 70 61 63 74 3d 27 63    <ul compact='c
c200: 6f 6d 70 61 63 74 27 3e 0d 0a 20 20 20 20 3c 6c  ompact'>..    <l
c210: 69 3e 24 62 61 73 65 5f 75 72 6c 2e 20 54 68 65  i>$base_url. The
c220: 20 66 69 72 73 74 20 70 61 72 74 20 6f 66 20 74   first part of t
c230: 68 65 20 75 72 6c 2e 20 46 6f 72 20 65 78 61 6d  he url. For exam
c240: 70 6c 65 0d 0a 20 20 20 20 3c 73 74 72 6f 6e 67  ple..    <strong
c250: 3e 68 74 74 70 3a 2f 2f 6c 6f 63 61 6c 68 6f 73  >http://localhos
c260: 74 3a 38 30 38 30 3c 2f 73 74 72 6f 6e 67 3e 3c  t:8080</strong><
c270: 2f 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69 3e 24 63  /li>..    <li>$c
c280: 75 72 72 65 6e 74 5f 70 61 67 65 2e 20 54 68 65  urrent_page. The
c290: 20 70 61 67 65 20 72 65 71 75 65 73 74 65 64 2e   page requested.
c2a0: 20 46 6f 72 20 65 78 61 6d 70 6c 65 20 65 64 69   For example edi
c2b0: 74 69 6e 67 20 61 0d 0a 20 20 20 20 77 69 6b 69  ting a..    wiki
c2c0: 70 61 67 65 20 69 73 20 64 6f 6e 65 20 62 79 20  page is done by 
c2d0: 24 62 61 73 65 75 72 6c 2f 77 69 6b 69 65 64 69  $baseurl/wikiedi
c2e0: 74 20 24 63 75 72 72 65 6e 74 5f 70 61 67 65 20  t $current_page 
c2f0: 69 73 0d 0a 20 20 20 20 3c 73 74 72 6f 6e 67 3e  is..    <strong>
c300: 77 69 6b 69 65 64 69 74 3c 2f 73 74 72 6f 6e 67  wikiedit</strong
c310: 3e 3c 2f 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69 3e  ></li>..    <li>
c320: 24 69 6e 64 65 78 5f 70 61 67 65 3c 73 74 72 6f  $index_page<stro
c330: 6e 67 3e 2e 3c 2f 73 74 72 6f 6e 67 3e 20 4d 6f  ng>.</strong> Mo
c340: 73 74 6c 79 20 74 68 65 20 76 61 6c 75 65 20 69  stly the value i
c350: 73 0d 0a 20 20 20 20 3c 73 74 72 6f 6e 67 3e 2f  s..    <strong>/
c360: 68 6f 6d 65 3c 2f 73 74 72 6f 6e 67 3e 20 73 65  home</strong> se
c370: 74 61 62 6c 65 20 69 6e 20 41 64 6d 69 6e 2f 43  table in Admin/C
c380: 6f 6e 66 69 67 75 72 61 74 69 6f 6e 3c 2f 6c 69  onfiguration</li
c390: 3e 0d 0a 20 20 20 20 3c 6c 69 3e 24 74 69 74 6c  >..    <li>$titl
c3a0: 65 2e 20 54 68 65 20 74 69 74 6c 65 20 6f 66 20  e. The title of 
c3b0: 74 68 65 20 24 63 75 72 72 65 6e 74 5f 70 61 67  the $current_pag
c3c0: 65 3c 2f 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69 3e  e</li>..    <li>
c3d0: 24 6c 6f 67 69 6e 2e 20 54 68 65 20 6e 61 6d 65  $login. The name
c3e0: 20 6f 66 20 75 73 65 72 20 69 66 20 61 20 6c 6f   of user if a lo
c3f0: 67 69 6e 20 68 61 73 20 6f 63 63 75 72 72 65 64  gin has occurred
c400: 2e 20 69 66 20 79 6f 75 0d 0a 20 20 20 20 75 73  . if you..    us
c410: 65 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20  e this variable 
c420: 61 6c 77 61 79 73 20 63 68 65 63 6b 20 69 66 20  always check if 
c430: 69 74 20 65 78 69 73 74 73 20 76 69 61 0d 0a 20  it exists via.. 
c440: 20 20 20 3c 73 74 72 6f 6e 67 3e 3c 63 6f 64 65     <strong><code
c450: 3e 69 6e 66 6f 20 65 78 69 73 74 73 20 6c 6f 67  >info exists log
c460: 69 6e 3c 2f 63 6f 64 65 3e 3c 2f 73 74 72 6f 6e  in</code></stron
c470: 67 3e 3c 2f 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69  g></li>..    <li
c480: 3e 24 6d 61 6e 69 66 65 73 74 5f 76 65 72 73 69  >$manifest_versi
c490: 6f 6e 2e 20 54 68 65 20 66 6f 73 73 69 6c 20 76  on. The fossil v
c4a0: 65 72 73 69 6f 6e 3c 2f 6c 69 3e 0d 0a 20 20 20  ersion</li>..   
c4b0: 20 3c 6c 69 3e 24 6d 61 6e 69 66 65 73 74 5f 64   <li>$manifest_d
c4c0: 61 74 65 2e 20 54 68 65 20 64 61 74 65 20 74 68  ate. The date th
c4d0: 61 74 20 66 6f 73 73 69 6c 20 76 65 72 73 69 6f  at fossil versio
c4e0: 6e 20 77 61 73 0d 0a 20 20 20 20 63 6f 6d 70 69  n was..    compi
c4f0: 6c 65 64 3c 2f 6c 69 3e 0d 0a 20 20 3c 2f 75 6c  led</li>..  </ul
c500: 3e 0d 0a 0d 0a 20 20 3c 68 33 3e 46 75 6e 63 74  >....  <h3>Funct
c510: 69 6f 6e 73 3c 2f 68 33 3e 0d 0a 20 20 3c 70 3e  ions</h3>..  <p>
c520: 0d 0a 20 20 20 20 20 54 68 65 73 65 20 61 72 65  ..     These are
c530: 20 6f 6e 6c 79 20 61 76 61 69 62 6c 65 20 62 65   only avaible be
c540: 74 77 65 65 6e 20 0d 0a 20 20 26 6c 74 3b 74 68  tween ..  &lt;th
c550: 31 26 67 74 3b 20 61 6e 64 20 26 6c 74 3b 2f 74  1&gt; and &lt;/t
c560: 68 31 26 67 74 3b 0d 0a 20 20 3c 2f 70 3e 0d 0a  h1&gt;..  </p>..
c570: 20 20 3c 75 6c 20 63 6f 6d 70 61 63 74 3d 27 63    <ul compact='c
c580: 6f 6d 70 61 63 74 27 3e 0d 0a 20 20 20 20 3c 6c  ompact'>..    <l
c590: 69 3e 63 6f 6d 62 6f 62 6f 78 20 6e 61 6d 65 20  i>combobox name 
c5a0: 74 65 78 74 2d 6c 69 73 74 20 6e 75 6d 6c 69 6e  text-list numlin
c5b0: 65 73 2e 20 47 65 6e 65 72 61 74 65 73 20 61 20  es. Generates a 
c5c0: 73 65 6c 65 63 74 20 62 6f 78 0d 0a 20 20 20 20  select box..    
c5d0: 77 69 74 68 20 6e 61 6d 65 3d 22 6e 61 6d 65 22  with name="name"
c5e0: 20 61 6e 64 20 61 20 63 67 69 2d 70 61 72 61 6d   and a cgi-param
c5f0: 65 74 65 72 20 6f 66 20 22 6e 61 6d 65 22 3c 2f  eter of "name"</
c600: 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69 3e 65 6e 61  li>..    <li>ena
c610: 62 6c 65 5f 6f 75 74 70 75 74 20 62 6f 6f 6c 65  ble_output boole
c620: 61 6e 3c 2f 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69  an</li>..    <li
c630: 3e 6c 69 6e 65 63 6f 75 6e 74 20 73 74 72 69 6e  >linecount strin
c640: 67 20 6d 61 78 20 6d 69 6e 2e 20 43 6f 75 6e 74  g max min. Count
c650: 73 20 74 68 65 20 6e 75 6d 65 72 20 6f 66 20 6e  s the numer of n
c660: 65 77 6c 69 6e 65 73 20 69 6e 0d 0a 20 20 20 20  ewlines in..    
c670: 73 74 72 69 6e 67 20 62 75 74 20 6e 6f 74 20 6d  string but not m
c680: 6f 72 65 20 74 68 65 6e 20 6d 61 78 20 61 6e 64  ore then max and
c690: 20 6e 6f 74 20 6c 65 73 73 20 74 68 65 6e 20 6d   not less then m
c6a0: 69 6e 3c 2f 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69  in</li>..    <li
c6b0: 3e 68 61 73 63 61 70 20 73 74 72 69 6e 67 2e 20  >hascap string. 
c6c0: 72 65 74 75 72 6e 20 74 72 75 65 20 69 66 20 75  return true if u
c6d0: 73 65 72 20 68 61 73 20 61 6c 6c 0d 0a 20 20 20  ser has all..   
c6e0: 20 63 61 70 61 62 69 6c 69 74 69 65 73 20 69 6e   capabilities in
c6f0: 20 73 74 72 69 6e 67 3c 2f 6c 69 3e 0d 0a 20 20   string</li>..  
c700: 20 20 3c 6c 69 3e 68 74 6d 6c 69 7a 65 20 73 74    <li>htmlize st
c710: 72 69 6e 67 2e 20 65 78 63 61 70 65 73 20 61 6c  ring. excapes al
c720: 6c 20 63 68 61 72 73 20 69 6e 20 73 74 72 69 6e  l chars in strin
c730: 67 20 77 68 69 63 68 20 68 61 76 65 0d 0a 20 20  g which have..  
c740: 20 20 73 70 65 63 69 61 6c 20 6d 65 61 6e 69 6e    special meanin
c750: 67 20 69 6e 20 48 54 4d 4c 3c 2f 6c 69 3e 0d 0a  g in HTML</li>..
c760: 20 20 20 20 3c 6c 69 3e 64 61 74 65 20 72 65 74      <li>date ret
c770: 75 72 6e 73 20 74 68 65 20 73 71 6c 69 74 65 20  urns the sqlite 
c780: 76 61 6c 75 65 20 6f 66 20 64 61 74 65 74 69 6d  value of datetim
c790: 65 28 27 6e 6f 77 27 29 3c 2f 6c 69 3e 0d 0a 20  e('now')</li>.. 
c7a0: 20 20 20 3c 6c 69 3e 68 74 6d 6c 20 73 74 72 69     <li>html stri
c7b0: 6e 67 20 6f 75 74 70 75 74 20 68 74 6d 6c 3c 2f  ng output html</
c7c0: 6c 69 3e 0d 0a 20 20 20 20 3c 6c 69 3e 70 75 74  li>..    <li>put
c7d0: 73 20 73 74 72 69 6e 67 20 70 72 69 6e 74 73 20  s string prints 
c7e0: 74 68 65 20 73 74 72 69 6e 67 3c 2f 6c 69 3e 0d  the string</li>.
c7f0: 0a 20 20 20 20 3c 6c 69 3e 77 69 6b 69 20 73 74  .    <li>wiki st
c800: 72 69 6e 67 2e 20 54 68 65 20 73 74 72 69 6e 67  ring. The string
c810: 20 69 73 20 69 6e 20 77 69 6b 69 20 66 6f 72 6d   is in wiki form
c820: 61 74 2e 20 74 72 61 6e 73 6c 61 74 65 20 69 74  at. translate it
c830: 20 74 6f 0d 0a 20 20 20 20 48 54 4d 4c 3c 2f 6c   to..    HTML</l
c840: 69 3e 0d 0a 20 20 3c 2f 75 6c 3e 0d 0a 3c 6e 6f  i>..  </ul>..<no
c850: 77 69 6b 69 3e 0d 0a 20 20 3c 68 33 3e 45 78 61  wiki>..  <h3>Exa
c860: 6d 70 6c 65 20 66 72 6f 6d 20 61 64 6d 69 6e 2f  mple from admin/
c870: 68 65 61 64 65 72 3c 2f 68 33 3e 0d 0a 20 20 3c  header</h3>..  <
c880: 70 72 65 3e 0d 0a 26 6c 74 3b 68 74 6d 6c 26 67  pre>..&lt;html&g
c890: 74 3b 0d 0a 26 6c 74 3b 68 65 61 64 26 67 74 3b  t;..&lt;head&gt;
c8a0: 0d 0a 26 6c 74 3b 74 69 74 6c 65 26 67 74 3b 3c  ..&lt;title&gt;<
c8b0: 73 74 72 6f 6e 67 3e 24 26 6c 74 3b 70 72 6f 6a  strong>$&lt;proj
c8c0: 65 63 74 5f 6e 61 6d 65 26 67 74 3b 3c 2f 73 74  ect_name&gt;</st
c8d0: 72 6f 6e 67 3e 3a 20 3c 73 74 72 6f 6e 67 3e 24  rong>: <strong>$
c8e0: 26 6c 74 3b 74 69 74 6c 65 26 67 74 3b 3c 2f 73  &lt;title&gt;</s
c8f0: 74 72 6f 6e 67 3e 26 6c 74 3b 2f 74 69 74 6c 65  trong>&lt;/title
c900: 26 67 74 3b 0d 0a 26 6c 74 3b 6c 69 6e 6b 20 72  &gt;..&lt;link r
c910: 65 6c 3d 22 61 6c 74 65 72 6e 61 74 65 22 20 74  el="alternate" t
c920: 79 70 65 3d 22 61 70 70 6c 69 63 61 74 69 6f 6e  ype="application
c930: 2f 72 73 73 2b 78 6d 6c 22 20 74 69 74 6c 65 3d  /rss+xml" title=
c940: 22 52 53 53 20 46 65 65 64 22 0d 0a 20 20 20 20  "RSS Feed"..    
c950: 20 20 68 72 65 66 3d 22 3c 73 74 72 6f 6e 67 3e    href="<strong>
c960: 24 62 61 73 65 75 72 6c 3c 2f 73 74 72 6f 6e 67  $baseurl</strong
c970: 3e 2f 74 69 6d 65 6c 69 6e 65 2e 72 73 73 22 26  >/timeline.rss"&
c980: 67 74 3b 0d 0a 26 6c 74 3b 6c 69 6e 6b 20 72 65  gt;..&lt;link re
c990: 6c 3d 22 73 74 79 6c 65 73 68 65 65 74 22 20 68  l="stylesheet" h
c9a0: 72 65 66 3d 22 24 62 61 73 65 75 72 6c 2f 73 74  ref="$baseurl/st
c9b0: 79 6c 65 2e 63 73 73 22 20 74 79 70 65 3d 22 74  yle.css" type="t
c9c0: 65 78 74 2f 63 73 73 22 0d 0a 20 20 20 20 20 20  ext/css"..      
c9d0: 6d 65 64 69 61 3d 22 73 63 72 65 65 6e 22 26 67  media="screen"&g
c9e0: 74 3b 0d 0a 26 6c 74 3b 2f 68 65 61 64 26 67 74  t;..&lt;/head&gt
c9f0: 3b 0d 0a 26 6c 74 3b 62 6f 64 79 26 67 74 3b 0d  ;..&lt;body&gt;.
ca00: 0a 26 6c 74 3b 64 69 76 20 63 6c 61 73 73 3d 22  .&lt;div class="
ca10: 68 65 61 64 65 72 22 26 67 74 3b 0d 0a 20 20 26  header"&gt;..  &
ca20: 6c 74 3b 64 69 76 20 63 6c 61 73 73 3d 22 6c 6f  lt;div class="lo
ca30: 67 6f 22 26 67 74 3b 0d 0a 20 20 20 20 26 6c 74  go"&gt;..    &lt
ca40: 3b 69 6d 67 20 73 72 63 3d 22 3c 73 74 72 6f 6e  ;img src="<stron
ca50: 67 3e 24 62 61 73 65 75 72 6c 3c 2f 73 74 72 6f  g>$baseurl</stro
ca60: 6e 67 3e 2f 6c 6f 67 6f 22 20 61 6c 74 3d 22 6c  ng>/logo" alt="l
ca70: 6f 67 6f 22 26 67 74 3b 0d 0a 20 20 20 20 26 6c  ogo"&gt;..    &l
ca80: 74 3b 62 72 26 67 74 3b 26 6c 74 3b 6e 6f 62 72  t;br&gt;&lt;nobr
ca90: 26 67 74 3b 3c 73 74 72 6f 6e 67 3e 24 26 6c 74  &gt;<strong>$&lt
caa0: 3b 70 72 6f 6a 65 63 74 5f 6e 61 6d 65 26 67 74  ;project_name&gt
cab0: 3b 3c 2f 73 74 72 6f 6e 67 3e 26 6c 74 3b 2f 6e  ;</strong>&lt;/n
cac0: 6f 62 72 26 67 74 3b 0d 0a 20 20 26 6c 74 3b 2f  obr&gt;..  &lt;/
cad0: 64 69 76 26 67 74 3b 0d 0a 20 20 26 6c 74 3b 64  div&gt;..  &lt;d
cae0: 69 76 20 63 6c 61 73 73 3d 22 74 69 74 6c 65 22  iv class="title"
caf0: 26 67 74 3b 3c 73 74 72 6f 6e 67 3e 24 26 6c 74  &gt;<strong>$&lt
cb00: 3b 74 69 74 6c 65 26 67 74 3b 3c 2f 73 74 72 6f  ;title&gt;</stro
cb10: 6e 67 3e 26 6c 74 3b 2f 64 69 76 26 67 74 3b 0d  ng>&lt;/div&gt;.
cb20: 0a 20 20 26 6c 74 3b 64 69 76 20 63 6c 61 73 73  .  &lt;div class
cb30: 3d 22 73 74 61 74 75 73 22 26 67 74 3b 26 6c 74  ="status"&gt;&lt
cb40: 3b 6e 6f 62 72 26 67 74 3b 3c 73 74 72 6f 6e 67  ;nobr&gt;<strong
cb50: 3e 26 6c 74 3b 74 68 31 26 67 74 3b 3c 2f 73 74  >&lt;th1&gt;</st
cb60: 72 6f 6e 67 3e 0d 0a 20 20 20 20 20 69 66 20 7b  rong>..     if {
cb70: 3c 73 74 72 6f 6e 67 3e 5b 69 6e 66 6f 20 65 78  <strong>[info ex
cb80: 69 73 74 73 20 6c 6f 67 69 6e 5d 3c 2f 73 74 72  ists login]</str
cb90: 6f 6e 67 3e 7d 20 7b 0d 0a 20 20 20 20 20 20 20  ong>} {..       
cba0: 70 75 74 73 20 22 4c 6f 67 67 65 64 20 69 6e 20  puts "Logged in 
cbb0: 61 73 20 3c 73 74 72 6f 6e 67 3e 24 6c 6f 67 69  as <strong>$logi
cbc0: 6e 3c 2f 73 74 72 6f 6e 67 3e 22 0d 0a 20 20 20  n</strong>"..   
cbd0: 20 20 7d 20 65 6c 73 65 20 7b 0d 0a 20 20 20 20    } else {..    
cbe0: 20 20 20 70 75 74 73 20 22 4e 6f 74 20 6c 6f 67     puts "Not log
cbf0: 67 65 64 20 69 6e 22 0d 0a 20 20 20 20 20 7d 0d  ged in"..     }.
cc00: 0a 20 20 26 6c 74 3b 2f 74 68 31 26 67 74 3b 26  .  &lt;/th1&gt;&
cc10: 6c 74 3b 2f 6e 6f 62 72 26 67 74 3b 26 6c 74 3b  lt;/nobr&gt;&lt;
cc20: 2f 64 69 76 26 67 74 3b 0d 0a 26 6c 74 3b 2f 64  /div&gt;..&lt;/d
cc30: 69 76 26 67 74 3b 0d 0a 26 6c 74 3b 64 69 76 20  iv&gt;..&lt;div 
cc40: 63 6c 61 73 73 3d 22 6d 61 69 6e 6d 65 6e 75 22  class="mainmenu"
cc50: 26 67 74 3b 26 6c 74 3b 74 68 31 26 67 74 3b 0d  &gt;&lt;th1&gt;.
cc60: 0a 68 74 6d 6c 20 22 26 6c 74 3b 61 20 68 72 65  .html "&lt;a hre
cc70: 66 3d 27 3c 73 74 72 6f 6e 67 3e 24 62 61 73 65  f='<strong>$base
cc80: 75 72 6c 24 69 6e 64 65 78 5f 70 61 67 65 3c 2f  url$index_page</
cc90: 73 74 72 6f 6e 67 3e 27 26 67 74 3b 48 6f 6d 65  strong>'&gt;Home
cca0: 26 6c 74 3b 2f 61 26 67 74 3b 20 22 0d 0a 69 66  &lt;/a&gt; "..if
ccb0: 20 7b 3c 73 74 72 6f 6e 67 3e 5b 68 61 73 63 61   {<strong>[hasca
ccc0: 70 20 68 5d 3c 2f 73 74 72 6f 6e 67 3e 5d 7d 20  p h]</strong>]} 
ccd0: 7b 0d 0a 20 20 68 74 6d 6c 20 22 26 6c 74 3b 61  {..  html "&lt;a
cce0: 20 68 72 65 66 3d 27 24 62 61 73 65 75 72 6c 2f   href='$baseurl/
ccf0: 64 69 72 27 26 67 74 3b 46 69 6c 65 73 26 6c 74  dir'&gt;Files&lt
cd00: 3b 2f 61 26 67 74 3b 20 22 0d 0a 7d 0d 0a 3c 2f  ;/a&gt; "..}..</
cd10: 70 72 65 3e 0d 0a 0d 0a 20 20 3c 68 33 3e 43 61  pre>....  <h3>Ca
cd20: 76 65 61 74 73 3c 2f 68 33 3e 0d 0a 0d 0a 20 20  veats</h3>....  
cd30: 3c 75 6c 20 63 6f 6d 70 61 63 74 3d 27 63 6f 6d  <ul compact='com
cd40: 70 61 63 74 27 3e 0d 0a 20 20 20 20 3c 6c 69 3e  pact'>..    <li>
cd50: 70 75 74 73 20 22 5b 68 65 6c 6c 6f 20 68 65 6c  puts "[hello hel
cd60: 6c 6f 5d 22 20 64 6f 65 73 6e 27 74 20 77 6f 72  lo]" doesn't wor
cd70: 6b 20 62 65 63 61 75 73 65 20 5b 20 74 72 69 67  k because [ trig
cd80: 67 65 72 73 20 74 68 65 0d 0a 20 20 20 20 69 6e  gers the..    in
cd90: 74 65 72 70 65 74 65 72 2c 20 75 73 65 20 70 75  terpeter, use pu
cda0: 74 73 20 22 26 61 6d 70 3b 23 39 31 68 65 6c 6c  ts "&amp;#91hell
cdb0: 6f 20 68 65 6c 6c 6f 5d 27 3c 2f 6c 69 3e 0d 0a  o hello]'</li>..
cdc0: 20 20 3c 2f 75 6c 3e 0d 0a 3c 2f 6e 6f 77 69 6b    </ul>..</nowik
cdd0: 69 3e 0d 0a 3c 2f 64 69 76 3e 0d 0a 3c 64 69 76  i>..</div>..<div
cde0: 3e 0d 0a 20 20 3c 68 32 3e 3c 61 20 6e 61 6d 65  >..  <h2><a name
cdf0: 3d 22 76 65 72 73 69 6f 6e 43 6f 6d 70 72 65 73  ="versionCompres
ce00: 73 65 64 22 3e 56 65 72 73 69 6f 6e 69 6e 67 20  sed">Versioning 
ce10: 63 6f 6d 70 72 65 73 73 65 64 20 66 69 6c 65 73  compressed files
ce20: 3c 2f 61 3e 3c 2f 68 32 3e 0d 0a 20 20 3c 68 33  </a></h2>..  <h3
ce30: 3e 47 6f 61 6c 3c 2f 68 33 3e 0d 0a 20 20 3c 70  >Goal</h3>..  <p
ce40: 3e 53 6f 6d 65 20 66 69 6c 65 20 66 6f 72 6d 61  >Some file forma
ce50: 74 73 20 61 72 65 20 61 63 74 75 61 6c 6c 79 20  ts are actually 
ce60: 7a 69 70 20 61 72 63 68 69 76 65 73 20 63 6f 6e  zip archives con
ce70: 74 61 69 6e 69 6e 67 20 74 65 78 74 20 66 69 6c  taining text fil
ce80: 65 73 2e 20 46 6f 72 0d 0a 20 20 65 78 61 6d 70  es. For..  examp
ce90: 6c 65 20 4d 69 63 72 6f 73 6f 66 74 20 4f 66 66  le Microsoft Off
cea0: 69 63 65 20 32 30 30 37 20 61 6e 64 20 6e 65 77  ice 2007 and new
ceb0: 65 72 20 75 73 65 20 64 6f 63 78 2c 20 78 6c 73  er use docx, xls
cec0: 78 20 61 6e 64 20 70 70 74 78 20 65 78 74 65 6e  x and pptx exten
ced0: 73 69 6f 6e 73 20 74 6f 0d 0a 20 20 73 74 6f 72  sions to..  stor
cee0: 65 20 77 68 61 74 20 69 73 20 6d 65 72 65 6c 79  e what is merely
cef0: 20 78 6d 6c 20 66 69 6c 65 73 20 7a 69 70 70 65   xml files zippe
cf00: 64 20 69 6e 74 6f 20 61 20 66 69 6c 65 2e 3c 2f  d into a file.</
cf10: 70 3e 0d 0a 20 20 3c 70 3e 57 68 65 6e 20 65 64  p>..  <p>When ed
cf20: 69 74 73 20 61 72 65 20 6d 61 64 65 20 74 6f 20  its are made to 
cf30: 73 75 63 68 20 66 69 6c 65 73 20 61 20 76 65 72  such files a ver
cf40: 73 69 6f 6e 69 6e 67 20 73 79 73 74 65 6d 20 69  sioning system i
cf50: 73 20 6e 6f 74 20 65 66 66 69 63 69 65 6e 74 0d  s not efficient.
cf60: 0a 20 20 62 65 63 61 75 73 65 20 64 69 66 66 69  .  because diffi
cf70: 6e 67 20 69 73 20 6e 6f 20 6d 6f 72 65 20 61 70  ng is no more ap
cf80: 70 72 6f 70 72 69 61 74 65 3c 2f 70 3e 0d 0a 20  propriate</p>.. 
cf90: 20 3c 70 3e 54 68 65 20 69 64 65 61 20 69 73 20   <p>The idea is 
cfa0: 74 6f 20 76 65 72 73 69 6f 6e 20 74 68 65 20 64  to version the d
cfb0: 65 63 6f 6d 70 72 65 73 73 65 64 20 66 6f 6c 64  ecompressed fold
cfc0: 65 72 2e 20 41 20 73 63 72 69 70 74 20 77 69 6c  er. A script wil
cfd0: 6c 20 74 6f 67 67 6c 65 0d 0a 20 20 43 6f 6d 70  l toggle..  Comp
cfe0: 72 65 73 73 65 64 2f 55 6e 63 6f 6d 70 72 65 73  ressed/Uncompres
cff0: 73 65 64 20 73 74 61 74 65 3c 2f 70 3e 0d 0a 20  sed state</p>.. 
d000: 20 3c 68 33 3e 53 61 6d 70 6c 65 20 62 61 74 63   <h3>Sample batc
d010: 68 20 73 63 72 69 70 74 20 66 6f 72 20 75 73 65  h script for use
d020: 20 77 69 74 68 20 64 6f 63 78 2c 20 78 6c 73 78   with docx, xlsx
d030: 20 61 6e 64 20 70 70 74 78 20 64 6f 63 75 6d 65   and pptx docume
d040: 6e 74 73 3c 2f 68 33 3e 0d 0a 20 20 3c 70 3e 54  nts</h3>..  <p>T
d050: 68 69 73 20 73 63 72 69 70 74 20 69 73 20 69 6e  his script is in
d060: 74 65 6e 64 65 64 20 74 6f 20 77 6f 72 6b 20 75  tended to work u
d070: 6e 64 65 72 20 4d 53 20 57 69 6e 64 6f 77 73 2e  nder MS Windows.
d080: 20 49 74 20 72 65 71 75 69 72 65 73 0d 0a 20 20   It requires..  
d090: 7a 69 70 2e 65 78 65 20 61 6e 64 20 75 6e 7a 69  zip.exe and unzi
d0a0: 70 2e 65 78 65 0d 0a 20 20 74 68 61 74 20 79 6f  p.exe..  that yo
d0b0: 75 20 63 61 6e 20 66 69 6e 64 20 66 6f 72 20 65  u can find for e
d0c0: 78 61 6d 70 6c 65 20 69 6e 20 67 6e 75 77 69 6e  xample in gnuwin
d0d0: 33 32 20 28 5b 68 74 74 70 3a 2f 2f 67 65 74 67  32 ([http://getg
d0e0: 6e 75 77 69 6e 33 32 2e 73 66 2e 6e 65 74 5d 29  nuwin32.sf.net])
d0f0: 2e 3c 2f 70 3e 0d 0a 20 20 3c 70 3e 59 6f 75 20  .</p>..  <p>You 
d100: 68 61 76 65 20 74 68 72 65 65 20 76 61 72 69 61  have three varia
d110: 62 6c 65 73 20 74 6f 20 73 65 74 2e 20 52 75 6e  bles to set. Run
d120: 6e 69 6e 67 20 74 68 69 73 20 73 63 72 69 70 74  ning this script
d130: 20 77 69 6c 6c 3c 2f 70 3e 0d 0a 20 20 3c 75 6c   will</p>..  <ul
d140: 20 63 6f 6d 70 61 63 74 3d 27 63 6f 6d 70 61 63   compact='compac
d150: 74 27 3e 0d 0a 20 20 20 20 3c 6c 69 3e 41 75 74  t'>..    <li>Aut
d160: 6f 64 65 74 65 63 74 20 77 68 65 74 68 65 72 20  odetect whether 
d170: 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 69 73 20  the document is 
d180: 69 6e 20 63 6f 6d 70 72 65 73 73 65 64 20 6f 72  in compressed or
d190: 20 75 6e 63 6f 6d 70 72 65 73 73 65 64 0d 0a 20   uncompressed.. 
d1a0: 20 20 20 73 74 61 74 65 3c 2f 6c 69 3e 0d 0a 20     state</li>.. 
d1b0: 20 20 20 3c 6c 69 3e 43 6f 6e 76 65 72 74 20 66     <li>Convert f
d1c0: 69 6c 65 20 4d 79 5f 64 6f 63 75 6d 65 6e 74 2e  ile My_document.
d1d0: 64 6f 63 78 20 69 6e 74 6f 20 61 20 64 69 72 65  docx into a dire
d1e0: 63 74 6f 72 79 20 6f 66 20 74 68 65 20 73 61 6d  ctory of the sam
d1f0: 65 20 6e 61 6d 65 3c 2f 6c 69 3e 0d 0a 20 20 20  e name</li>..   
d200: 20 3c 6c 69 3e 52 65 6e 61 6d 65 20 66 69 6c 65   <li>Rename file
d210: 20 3c 6e 6f 77 69 6b 69 3e 5b 43 6f 6e 74 65 6e   <nowiki>[Conten
d220: 74 5f 54 79 70 65 73 5d 3c 2f 6e 6f 77 69 6b 69  t_Types]</nowiki
d230: 3e 2e 78 6d 6c 20 74 6f 20 61 20 6e 61 6d 65 20  >.xml to a name 
d240: 77 69 74 68 6f 75 74 0d 0a 20 20 20 20 62 72 61  without..    bra
d250: 63 6b 65 74 73 20 28 62 72 61 63 6b 65 74 73 20  ckets (brackets 
d260: 69 6e 20 66 69 6c 65 20 6e 61 6d 65 73 20 61 72  in file names ar
d270: 65 20 6e 6f 74 20 73 75 70 70 6f 72 74 65 64 20  e not supported 
d280: 62 79 20 46 6f 73 73 69 6c 29 3c 2f 6c 69 3e 0d  by Fossil)</li>.
d290: 0a 20 20 20 20 3c 6c 69 3e 70 65 72 66 6f 72 6d  .    <li>perform
d2a0: 20 72 65 76 65 72 73 65 20 6f 70 65 72 61 74 69   reverse operati
d2b0: 6f 6e 73 20 74 6f 20 63 6f 6e 76 65 72 74 20 64  ons to convert d
d2c0: 69 72 65 63 74 6f 72 79 20 74 6f 20 63 6f 6d 70  irectory to comp
d2d0: 72 65 73 73 65 64 0d 0a 20 20 20 20 64 6f 63 78  ressed..    docx
d2e0: 2f 78 6c 73 78 2f 70 70 74 78 20 66 69 6c 65 2e  /xlsx/pptx file.
d2f0: 3c 2f 6c 69 3e 0d 0a 20 20 3c 2f 75 6c 3e 0d 0a  </li>..  </ul>..
d300: 20 20 3c 70 3e 49 6e 20 74 68 69 73 20 77 61 79    <p>In this way
d310: 20 79 6f 75 20 63 61 6e 20 77 6f 72 6b 20 6f 6e   you can work on
d320: 20 61 20 64 6f 63 78 20 64 6f 63 75 6d 65 6e 74   a docx document
d330: 2c 20 72 75 6e 20 74 68 65 20 73 63 72 69 70 74  , run the script
d340: 2c 20 69 6e 73 65 72 74 20 74 68 65 0d 0a 20 20  , insert the..  
d350: 75 6e 63 6f 6d 70 72 65 73 73 65 64 20 66 6f 6c  uncompressed fol
d360: 64 65 72 20 69 6e 74 6f 20 66 6f 73 73 69 6c 20  der into fossil 
d370: 61 6e 64 20 72 75 6e 20 74 68 65 20 73 63 72 69  and run the scri
d380: 70 74 20 61 67 61 69 6e 20 74 6f 20 67 65 74 20  pt again to get 
d390: 79 6f 75 72 20 64 6f 63 75 6d 65 6e 74 0d 0a 20  your document.. 
d3a0: 20 62 61 63 6b 20 69 6e 20 65 64 69 74 61 62 6c   back in editabl
d3b0: 65 20 73 74 61 74 65 2e 3c 2f 70 3e 0d 0a 20 20  e state.</p>..  
d3c0: 3c 70 3e 3c 73 74 72 6f 6e 67 3e 49 6d 70 6f 72  <p><strong>Impor
d3d0: 74 61 6e 74 3a 3c 2f 73 74 72 6f 6e 67 3e 20 55  tant:</strong> U
d3e0: 73 65 20 74 68 65 20 3c 74 74 3e 2d 2d 64 6f 74  se the <tt>--dot
d3f0: 66 69 6c 65 73 3c 2f 74 74 3e 20 6f 70 74 69 6f  files</tt> optio
d400: 6e 20 74 6f 20 74 68 65 20 61 64 64 20 63 6f 6d  n to the add com
d410: 6d 61 6e 64 20 74 6f 20 69 6e 63 6c 75 64 65 20  mand to include 
d420: 3c 74 74 3e 72 65 6c 73 2f 2e 72 65 6c 73 3c 2f  <tt>rels/.rels</
d430: 74 74 3e 20 66 69 6c 65 2e 3c 2f 70 3e 0d 0a 20  tt> file.</p>.. 
d440: 20 3c 66 6f 6e 74 20 66 61 63 65 3d 22 6d 6f 6e   <font face="mon
d450: 6f 73 70 61 63 65 22 3e 0d 0a 3c 66 6f 6e 74 20  ospace">..<font 
d460: 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e  color="#808080">
d470: 26 6e 62 73 70 3b 31 20 3c 2f 66 6f 6e 74 3e 3c  &nbsp;1 </font><
d480: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 33 61 35  font color="#3a5
d490: 66 63 64 22 3e 3c 69 3e 3a 3a 20 74 6f 67 67 6c  fcd"><i>:: toggl
d4a0: 65 20 64 6f 63 78 20 73 74 61 74 65 20 28 63 6f  e docx state (co
d4b0: 6d 70 72 65 73 73 65 64 20 2f 20 75 6e 63 6f 6d  mpressed / uncom
d4c0: 70 72 65 73 73 65 64 29 3c 2f 69 3e 3c 2f 66 6f  pressed)</i></fo
d4d0: 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74  nt><br />..<font
d4e0: 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22   color="#808080"
d4f0: 3e 26 6e 62 73 70 3b 32 20 3c 2f 66 6f 6e 74 3e  >&nbsp;2 </font>
d500: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 33 61  <font color="#3a
d510: 35 66 63 64 22 3e 3c 69 3e 3a 3a 20 40 65 63 68  5fcd"><i>:: @ech
d520: 6f 20 6f 66 66 3c 2f 69 3e 3c 2f 66 6f 6e 74 3e  o off</i></font>
d530: 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  <br />..<font co
d540: 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 26 6e  lor="#808080">&n
d550: 62 73 70 3b 33 20 3c 2f 66 6f 6e 74 3e 3c 62 72  bsp;3 </font><br
d560: 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72   />..<font color
d570: 3d 22 23 38 30 38 30 38 30 22 3e 26 6e 62 73 70  ="#808080">&nbsp
d580: 3b 34 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  ;4 </font><font 
d590: 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e  color="#8b4726">
d5a0: 53 45 54 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 0d  SET</font><font.
d5b0: 0a 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22  .color="#8b4726"
d5c0: 3e 26 6e 62 73 70 3b 44 4f 43 58 3c 2f 66 6f 6e  >&nbsp;DOCX</fon
d5d0: 74 3e 3c 66 6f 6e 74 0d 0a 63 6f 6c 6f 72 3d 22  t><font..color="
d5e0: 23 38 62 34 37 32 36 22 3e 3c 62 3e 3d 3c 2f 62  #8b4726"><b>=</b
d5f0: 3e 3c 2f 66 6f 6e 74 3e 4d 79 5f 64 6f 63 75 6d  ></font>My_docum
d600: 65 6e 74 2e 64 6f 63 78 3c 62 72 20 2f 3e 0d 0a  ent.docx<br />..
d610: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30  <font color="#80
d620: 38 30 38 30 22 3e 26 6e 62 73 70 3b 35 20 3c 2f  8080">&nbsp;5 </
d630: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
d640: 3d 22 23 38 62 34 37 32 36 22 3e 53 45 54 3c 2f  ="#8b4726">SET</
d650: 66 6f 6e 74 3e 3c 66 6f 6e 74 0d 0a 63 6f 6c 6f  font><font..colo
d660: 72 3d 22 23 38 62 34 37 32 36 22 3e 26 6e 62 73  r="#8b4726">&nbs
d670: 70 3b 54 4d 50 46 49 4c 45 3c 2f 66 6f 6e 74 3e  p;TMPFILE</font>
d680: 3c 66 6f 6e 74 0d 0a 63 6f 6c 6f 72 3d 22 23 38  <font..color="#8
d690: 62 34 37 32 36 22 3e 3c 62 3e 3d 3c 2f 62 3e 3c  b4726"><b>=</b><
d6a0: 2f 66 6f 6e 74 3e 74 6d 70 5f 76 65 72 73 69 6f  /font>tmp_versio
d6b0: 6e 5f 63 6f 6d 70 72 65 73 73 65 64 5f 61 72 63  n_compressed_arc
d6c0: 68 69 76 65 2e 7a 69 70 3c 62 72 20 2f 3e 0d 0a  hive.zip<br />..
d6d0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30  <font color="#80
d6e0: 38 30 38 30 22 3e 26 6e 62 73 70 3b 36 20 3c 2f  8080">&nbsp;6 </
d6f0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
d700: 3d 22 23 38 62 34 37 32 36 22 3e 53 45 54 3c 2f  ="#8b4726">SET</
d710: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
d720: 3d 22 23 38 62 34 37 32 36 22 3e 26 6e 62 73 70  ="#8b4726">&nbsp
d730: 3b 43 4d 44 5a 49 50 3c 2f 66 6f 6e 74 3e 3c 66  ;CMDZIP</font><f
d740: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
d750: 32 36 22 3e 3c 62 3e 3d 3c 2f 62 3e 3c 2f 66 6f  26"><b>=</b></fo
d760: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
d770: 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b 50  #228b22">&quot;P
d780: 3a 5c 62 69 6e 5c 7a 69 70 2e 65 78 65 26 71 75  :\bin\zip.exe&qu
d790: 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e  ot;</font><br />
d7a0: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
d7b0: 38 30 38 30 38 30 22 3e 26 6e 62 73 70 3b 37 20  808080">&nbsp;7 
d7c0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
d7d0: 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 53 45 54  or="#8b4726">SET
d7e0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
d7f0: 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 26 6e 62  or="#8b4726">&nb
d800: 73 70 3b 43 4d 44 55 4e 5a 49 50 3c 2f 66 6f 6e  sp;CMDUNZIP</fon
d810: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
d820: 38 62 34 37 32 36 22 3e 3c 62 3e 3d 3c 2f 62 3e  8b4726"><b>=</b>
d830: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
d840: 6f 72 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75  or="#228b22">&qu
d850: 6f 74 3b 50 3a 5c 62 69 6e 5c 75 6e 7a 69 70 2e  ot;P:\bin\unzip.
d860: 65 78 65 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e  exe&quot;</font>
d870: 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  <br />..<font co
d880: 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 26 6e  lor="#808080">&n
d890: 62 73 70 3b 38 20 3c 2f 66 6f 6e 74 3e 3c 62 72  bsp;8 </font><br
d8a0: 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72   />..<font color
d8b0: 3d 22 23 38 30 38 30 38 30 22 3e 26 6e 62 73 70  ="#808080">&nbsp
d8c0: 3b 39 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  ;9 </font><font 
d8d0: 63 6f 6c 6f 72 3d 22 23 33 61 35 66 63 64 22 3e  color="#3a5fcd">
d8e0: 3c 69 3e 3a 3a 20 63 68 65 63 6b 20 77 68 65 74  <i>:: check whet
d8f0: 68 65 72 20 69 74 20 69 73 20 69 6e 20 61 20 64  her it is in a d
d900: 69 72 65 63 74 6f 72 79 20 6f 72 20 66 69 6c 65  irectory or file
d910: 20 73 74 61 74 65 3c 2f 69 3e 3c 2f 66 6f 6e 74   state</i></font
d920: 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63  ><br />..<font c
d930: 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 31  olor="#808080">1
d940: 30 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  0 </font><font c
d950: 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 3c  olor="#8b4726"><
d960: 62 3e 69 66 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  b>if</b></font><
d970: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34  font color="#8b4
d980: 37 32 36 22 3e 3c 62 3e 26 6e 62 73 70 3b 65 78  726"><b>&nbsp;ex
d990: 69 73 74 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  ist</b></font>&n
d9a0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
d9b0: 22 23 38 62 34 37 32 36 22 3e 25 54 45 4d 50 25  "#8b4726">%TEMP%
d9c0: 3c 2f 66 6f 6e 74 3e 5c 3c 66 6f 6e 74 20 63 6f  </font>\<font co
d9d0: 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25 54  lor="#8b4726">%T
d9e0: 4d 50 46 49 4c 45 25 3c 2f 66 6f 6e 74 3e 26 6e  MPFILE%</font>&n
d9f0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
da00: 22 23 38 62 34 37 32 36 22 3e 64 65 6c 3c 2f 66  "#8b4726">del</f
da10: 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  ont>&nbsp;<font 
da20: 63 6f 6c 6f 72 3d 22 23 32 37 34 30 38 62 22 3e  color="#27408b">
da30: 2f 71 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c  /q</font>&nbsp;<
da40: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38  font color="#228
da50: 62 32 32 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e  b22">&quot;</fon
da60: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
da70: 38 62 34 37 32 36 22 3e 25 54 45 4d 50 25 3c 2f  8b4726">%TEMP%</
da80: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
da90: 3d 22 23 32 32 38 62 32 32 22 3e 5c 3c 2f 66 6f  ="#228b22">\</fo
daa0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
dab0: 23 38 62 34 37 32 36 22 3e 25 54 4d 50 46 49 4c  #8b4726">%TMPFIL
dac0: 45 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  E%</font><font c
dad0: 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22 3e 26  olor="#228b22">&
dae0: 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c 62 72 20  quot;</font><br 
daf0: 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  />..<font color=
db00: 22 23 38 30 38 30 38 30 22 3e 31 31 20 3c 2f 66  "#808080">11 </f
db10: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
db20: 22 23 38 62 34 37 32 36 22 3e 3c 62 3e 69 66 3c  "#8b4726"><b>if<
db30: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  /b></font><font 
db40: 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e  color="#8b4726">
db50: 3c 62 3e 26 6e 62 73 70 3b 65 78 69 73 74 3c 2f  <b>&nbsp;exist</
db60: 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c  b></font>&nbsp;<
db70: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34  font color="#8b4
db80: 37 32 36 22 3e 25 44 4f 43 58 25 3c 2f 66 6f 6e  726">%DOCX%</fon
db90: 74 3e 5c 4e 55 4c 20 28 3c 62 72 20 2f 3e 0d 0a  t>\NUL (<br />..
dba0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30  <font color="#80
dbb0: 38 30 38 30 22 3e 31 32 20 3c 2f 66 6f 6e 74 3e  8080">12 </font>
dbc0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
dbd0: 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  p;&nbsp;<font co
dbe0: 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 3c 62  lor="#8b4726"><b
dbf0: 3e 63 61 6c 6c 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  >call</b></font>
dc00: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62  <font color="#8b
dc10: 34 37 32 36 22 3e 3c 62 3e 3c 75 3e 26 6e 62 73  4726"><b><u>&nbs
dc20: 70 3b 3a 7a 69 70 5f 64 69 72 65 63 74 6f 72 79  p;:zip_directory
dc30: 3c 2f 75 3e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  </u></b></font><
dc40: 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  br />..<font col
dc50: 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 31 33 20  or="#808080">13 
dc60: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62  </font>&nbsp;&nb
dc70: 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c  sp;&nbsp;&nbsp;<
dc80: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34  font color="#8b4
dc90: 37 32 36 22 3e 3c 62 3e 67 6f 74 6f 3c 2f 62 3e  726"><b>goto</b>
dca0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
dcb0: 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 3c 62 3e  or="#8b4726"><b>
dcc0: 3c 75 3e 26 6e 62 73 70 3b 3a 65 6e 64 3c 2f 75  <u>&nbsp;:end</u
dcd0: 3e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 20  ></b></font><br 
dce0: 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  />..<font color=
dcf0: 22 23 38 30 38 30 38 30 22 3e 31 34 20 3c 2f 66  "#808080">14 </f
dd00: 6f 6e 74 3e 29 3c 62 72 20 2f 3e 0d 0a 3c 66 6f  ont>)<br />..<fo
dd10: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38  nt color="#80808
dd20: 30 22 3e 31 35 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  0">15 </font><fo
dd30: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32  nt color="#8b472
dd40: 36 22 3e 3c 62 3e 69 66 3c 2f 62 3e 3c 2f 66 6f  6"><b>if</b></fo
dd50: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
dd60: 23 38 62 34 37 32 36 22 3e 3c 62 3e 26 6e 62 73  #8b4726"><b>&nbs
dd70: 70 3b 65 78 69 73 74 3c 2f 62 3e 3c 2f 66 6f 6e  p;exist</b></fon
dd80: 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  t>&nbsp;<font co
dd90: 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25 44  lor="#8b4726">%D
dda0: 4f 43 58 25 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  OCX%</font>&nbsp
ddb0: 3b 28 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20  ;(<br />..<font 
ddc0: 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e  color="#808080">
ddd0: 31 36 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  16 </font>&nbsp;
dde0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
ddf0: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
de00: 38 62 34 37 32 36 22 3e 3c 62 3e 63 61 6c 6c 3c  8b4726"><b>call<
de10: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  /b></font><font 
de20: 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e  color="#8b4726">
de30: 3c 62 3e 3c 75 3e 26 6e 62 73 70 3b 3a 75 6e 7a  <b><u>&nbsp;:unz
de40: 69 70 5f 66 69 6c 65 3c 2f 75 3e 3c 2f 62 3e 3c  ip_file</u></b><
de50: 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66  /font><br />..<f
de60: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30  ont color="#8080
de70: 38 30 22 3e 31 37 20 3c 2f 66 6f 6e 74 3e 26 6e  80">17 </font>&n
de80: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
de90: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
dea0: 72 3d 22 23 38 62 34 37 32 36 22 3e 3c 62 3e 67  r="#8b4726"><b>g
deb0: 6f 74 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  oto</b></font><f
dec0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
ded0: 32 36 22 3e 3c 62 3e 3c 75 3e 26 6e 62 73 70 3b  26"><b><u>&nbsp;
dee0: 3a 65 6e 64 3c 2f 75 3e 3c 2f 62 3e 3c 2f 66 6f  :end</u></b></fo
def0: 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74  nt><br />..<font
df00: 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22   color="#808080"
df10: 3e 31 38 20 3c 2f 66 6f 6e 74 3e 29 3c 62 72 20  >18 </font>)<br 
df20: 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  />..<font color=
df30: 22 23 38 30 38 30 38 30 22 3e 31 39 20 3c 2f 66  "#808080">19 </f
df40: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
df50: 22 23 38 62 34 37 32 36 22 3e 65 63 68 6f 3c 2f  "#8b4726">echo</
df60: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
df70: 3d 22 23 32 32 38 62 32 32 22 3e 26 6e 62 73 70  ="#228b22">&nbsp
df80: 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ;</font><font co
df90: 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25 44  lor="#8b4726">%D
dfa0: 4f 43 58 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  OCX%</font><font
dfb0: 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22   color="#228b22"
dfc0: 3e 26 6e 62 73 70 3b 6e 6f 74 20 66 6f 75 6e 64  >&nbsp;not found
dfd0: 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c  </font><br />..<
dfe0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38  font color="#808
dff0: 30 38 30 22 3e 32 30 20 3c 2f 66 6f 6e 74 3e 3c  080">20 </font><
e000: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34  font color="#8b4
e010: 37 32 36 22 3e 3c 62 3e 67 6f 74 6f 3c 2f 62 3e  726"><b>goto</b>
e020: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
e030: 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 3c 62 3e  or="#8b4726"><b>
e040: 3c 75 3e 26 6e 62 73 70 3b 3a 65 6e 64 3c 2f 75  <u>&nbsp;:end</u
e050: 3e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 20  ></b></font><br 
e060: 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  />..<font color=
e070: 22 23 38 30 38 30 38 30 22 3e 32 31 20 3c 2f 66  "#808080">21 </f
e080: 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e  ont><br />..<fon
e090: 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30  t color="#808080
e0a0: 22 3e 32 32 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ">22 </font><fon
e0b0: 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36  t color="#8b4726
e0c0: 22 3e 3c 62 3e 3c 75 3e 3a 7a 69 70 5f 64 69 72  "><b><u>:zip_dir
e0d0: 65 63 74 6f 72 79 3c 2f 75 3e 3c 2f 62 3e 3c 2f  ectory</u></b></
e0e0: 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f  font><br />..<fo
e0f0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38  nt color="#80808
e100: 30 22 3e 32 33 20 3c 2f 66 6f 6e 74 3e 26 6e 62  0">23 </font>&nb
e110: 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  sp;&nbsp;<font c
e120: 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 65  olor="#8b4726">e
e130: 63 68 6f 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  cho</font><font 
e140: 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22 3e  color="#228b22">
e150: 26 6e 62 73 70 3b 5a 69 70 70 69 6e 67 20 3c 2f  &nbsp;Zipping </
e160: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
e170: 3d 22 23 38 62 34 37 32 36 22 3e 25 44 4f 43 58  ="#8b4726">%DOCX
e180: 25 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a  %</font><br />..
e190: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30  <font color="#80
e1a0: 38 30 38 30 22 3e 32 34 20 3c 2f 66 6f 6e 74 3e  8080">24 </font>
e1b0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
e1c0: 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36  t color="#8b4726
e1d0: 22 3e 70 75 73 68 64 3c 2f 66 6f 6e 74 3e 26 6e  ">pushd</font>&n
e1e0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
e1f0: 22 23 38 62 34 37 32 36 22 3e 25 44 4f 43 58 25  "#8b4726">%DOCX%
e200: 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c  </font><br />..<
e210: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38  font color="#808
e220: 30 38 30 22 3e 32 35 20 3c 2f 66 6f 6e 74 3e 26  080">25 </font>&
e230: 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74  nbsp;&nbsp;<font
e240: 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22   color="#8b4726"
e250: 3e 72 65 6e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >ren</font>&nbsp
e260: 3b 43 6f 6e 74 65 6e 74 5f 54 79 70 65 73 2e 78  ;Content_Types.x
e270: 6d 6c 20 3c 6e 6f 77 69 6b 69 3e 5b 43 6f 6e 74  ml <nowiki>[Cont
e280: 65 6e 74 5f 54 79 70 65 73 5d 2e 78 6d 6c 3c 2f  ent_Types].xml</
e290: 6e 6f 77 69 6b 69 3e 3c 62 72 20 2f 3e 0d 0a 3c  nowiki><br />..<
e2a0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38  font color="#808
e2b0: 30 38 30 22 3e 32 36 20 3c 2f 66 6f 6e 74 3e 26  080">26 </font>&
e2c0: 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74  nbsp;&nbsp;<font
e2d0: 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22   color="#8b4726"
e2e0: 3e 25 43 4d 44 5a 49 50 25 3c 2f 66 6f 6e 74 3e  >%CMDZIP%</font>
e2f0: 26 6e 62 73 70 3b 2d 39 20 2d 72 20 3c 66 6f 6e  &nbsp;-9 -r <fon
e300: 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32  t color="#228b22
e310: 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c  ">&quot;</font><
e320: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34  font color="#8b4
e330: 37 32 36 22 3e 25 54 45 4d 50 25 3c 2f 66 6f 6e  726">%TEMP%</fon
e340: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
e350: 32 32 38 62 32 32 22 3e 5c 3c 2f 66 6f 6e 74 3e  228b22">\</font>
e360: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62  <font color="#8b
e370: 34 37 32 36 22 3e 25 54 4d 50 46 49 4c 45 25 3c  4726">%TMPFILE%<
e380: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
e390: 72 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f  r="#228b22">&quo
e3a0: 74 3b 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 2e  t;</font>&nbsp;.
e3b0: 5c 2a 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20  \*<br />..<font 
e3c0: 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e  color="#808080">
e3d0: 32 37 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  27 </font>&nbsp;
e3e0: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
e3f0: 72 3d 22 23 38 62 34 37 32 36 22 3e 3c 62 3e 69  r="#8b4726"><b>i
e400: 66 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  f</b></font><fon
e410: 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36  t color="#8b4726
e420: 22 3e 3c 62 3e 26 6e 62 73 70 3b 6e 6f 74 20 65  "><b>&nbsp;not e
e430: 78 69 73 74 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26  xist</b></font>&
e440: 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nbsp;<font color
e450: 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74  ="#228b22">&quot
e460: 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ;</font><font co
e470: 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25 54  lor="#8b4726">%T
e480: 45 4d 50 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  EMP%</font><font
e490: 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22   color="#228b22"
e4a0: 3e 5c 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  >\</font><font c
e4b0: 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25  olor="#8b4726">%
e4c0: 54 4d 50 46 49 4c 45 25 3c 2f 66 6f 6e 74 3e 3c  TMPFILE%</font><
e4d0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38  font color="#228
e4e0: 62 32 32 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e  b22">&quot;</fon
e4f0: 74 3e 26 6e 62 73 70 3b 28 3c 62 72 20 2f 3e 0d  t>&nbsp;(<br />.
e500: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38  .<font color="#8
e510: 30 38 30 38 30 22 3e 32 38 20 3c 2f 66 6f 6e 74  08080">28 </font
e520: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 33  ><font color="#3
e530: 61 35 66 63 64 22 3e 3c 69 3e 26 6e 62 73 70 3b  a5fcd"><i>&nbsp;
e540: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
e550: 70 3b 3a 3a 20 63 61 6e 63 65 6c 3c 2f 69 3e 3c  p;:: cancel</i><
e560: 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66  /font><br />..<f
e570: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30  ont color="#8080
e580: 38 30 22 3e 32 39 20 3c 2f 66 6f 6e 74 3e 26 6e  80">29 </font>&n
e590: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
e5a0: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
e5b0: 72 3d 22 23 38 62 34 37 32 36 22 3e 72 65 6e 3c  r="#8b4726">ren<
e5c0: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 6e 6f 77  /font>&nbsp;<now
e5d0: 69 6b 69 3e 5b 43 6f 6e 74 65 6e 74 5f 54 79 70  iki>[Content_Typ
e5e0: 65 73 5d 3c 2f 6e 6f 77 69 6b 69 3e 2e 78 6d 6c  es]</nowiki>.xml
e5f0: 20 43 6f 6e 74 65 6e 74 5f 54 79 70 65 73 2e 78   Content_Types.x
e600: 6d 6c 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20  ml<br />..<font 
e610: 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e  color="#808080">
e620: 33 30 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  30 </font>&nbsp;
e630: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
e640: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
e650: 38 62 34 37 32 36 22 3e 70 6f 70 64 3c 2f 66 6f  8b4726">popd</fo
e660: 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74  nt><br />..<font
e670: 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22   color="#808080"
e680: 3e 33 31 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >31 </font>&nbsp
e690: 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62  ;&nbsp;&nbsp;&nb
e6a0: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
e6b0: 23 38 62 34 37 32 36 22 3e 3c 62 3e 67 6f 74 6f  #8b4726"><b>goto
e6c0: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  </b></font><font
e6d0: 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22   color="#8b4726"
e6e0: 3e 3c 62 3e 3c 75 3e 26 6e 62 73 70 3b 3a 65 6e  ><b><u>&nbsp;:en
e6f0: 64 3c 2f 75 3e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  d</u></b></font>
e700: 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  <br />..<font co
e710: 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 33 32  lor="#808080">32
e720: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
e730: 62 73 70 3b 29 3c 62 72 20 2f 3e 0d 0a 3c 66 6f  bsp;)<br />..<fo
e740: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38  nt color="#80808
e750: 30 22 3e 33 33 20 3c 2f 66 6f 6e 74 3e 26 6e 62  0">33 </font>&nb
e760: 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  sp;&nbsp;<font c
e770: 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 70  olor="#8b4726">p
e780: 6f 70 64 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e  opd</font><br />
e790: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
e7a0: 38 30 38 30 38 30 22 3e 33 34 20 3c 2f 66 6f 6e  808080">34 </fon
e7b0: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66  t>&nbsp;&nbsp;<f
e7c0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
e7d0: 32 36 22 3e 72 6d 64 69 72 3c 2f 66 6f 6e 74 3e  26">rmdir</font>
e7e0: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
e7f0: 72 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f  r="#228b22">&quo
e800: 74 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  t;</font><font c
e810: 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25  olor="#8b4726">%
e820: 44 4f 43 58 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  DOCX%</font><fon
e830: 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32  t color="#228b22
e840: 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 26  ">&quot;</font>&
e850: 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nbsp;<font color
e860: 3d 22 23 32 37 34 30 38 62 22 3e 2f 73 3c 2f 66  ="#27408b">/s</f
e870: 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  ont>&nbsp;<font 
e880: 63 6f 6c 6f 72 3d 22 23 32 37 34 30 38 62 22 3e  color="#27408b">
e890: 2f 71 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d  /q</font><br />.
e8a0: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38  .<font color="#8
e8b0: 30 38 30 38 30 22 3e 33 35 20 3c 2f 66 6f 6e 74  08080">35 </font
e8c0: 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f  >&nbsp;&nbsp;<fo
e8d0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32  nt color="#8b472
e8e0: 36 22 3e 6d 6f 76 65 3c 2f 66 6f 6e 74 3e 26 6e  6">move</font>&n
e8f0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
e900: 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b  "#228b22">&quot;
e910: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
e920: 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25 54 45  or="#8b4726">%TE
e930: 4d 50 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  MP%</font><font 
e940: 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22 3e  color="#228b22">
e950: 5c 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  \</font><font co
e960: 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25 54  lor="#8b4726">%T
e970: 4d 50 46 49 4c 45 25 3c 2f 66 6f 6e 74 3e 3c 66  MPFILE%</font><f
e980: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62  ont color="#228b
e990: 32 32 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74  22">&quot;</font
e9a0: 3e 26 6e 62 73 70 3b 2e 3c 62 72 20 2f 3e 0d 0a  >&nbsp;.<br />..
e9b0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30  <font color="#80
e9c0: 38 30 38 30 22 3e 33 36 20 3c 2f 66 6f 6e 74 3e  8080">36 </font>
e9d0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
e9e0: 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36  t color="#8b4726
e9f0: 22 3e 72 65 6e 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">ren</font>&nbs
ea00: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
ea10: 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b 3c 2f  228b22">&quot;</
ea20: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
ea30: 3d 22 23 38 62 34 37 32 36 22 3e 25 54 4d 50 46  ="#8b4726">%TMPF
ea40: 49 4c 45 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  ILE%</font><font
ea50: 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22   color="#228b22"
ea60: 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 26 6e  >&quot;</font>&n
ea70: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
ea80: 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b  "#228b22">&quot;
ea90: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
eaa0: 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25 44 4f  or="#8b4726">%DO
eab0: 43 58 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  CX%</font><font 
eac0: 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22 3e  color="#228b22">
ead0: 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c 62 72  &quot;</font><br
eae0: 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72   />..<font color
eaf0: 3d 22 23 38 30 38 30 38 30 22 3e 33 37 20 3c 2f  ="#808080">37 </
eb00: 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70  font>&nbsp;&nbsp
eb10: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38  ;<font color="#8
eb20: 62 34 37 32 36 22 3e 3c 62 3e 67 6f 74 6f 3c 2f  b4726"><b>goto</
eb30: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
eb40: 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 3c  olor="#8b4726"><
eb50: 62 3e 3c 75 3e 26 6e 62 73 70 3b 3a 65 6e 64 3c  b><u>&nbsp;:end<
eb60: 2f 75 3e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62  /u></b></font><b
eb70: 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  r />..<font colo
eb80: 72 3d 22 23 38 30 38 30 38 30 22 3e 33 38 20 3c  r="#808080">38 <
eb90: 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66  /font><br />..<f
eba0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30  ont color="#8080
ebb0: 38 30 22 3e 33 39 20 3c 2f 66 6f 6e 74 3e 3c 66  80">39 </font><f
ebc0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
ebd0: 32 36 22 3e 3c 62 3e 3c 75 3e 3a 75 6e 7a 69 70  26"><b><u>:unzip
ebe0: 5f 66 69 6c 65 3c 2f 75 3e 3c 2f 62 3e 3c 2f 66  _file</u></b></f
ebf0: 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e  ont><br />..<fon
ec00: 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30  t color="#808080
ec10: 22 3e 34 30 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">40 </font>&nbs
ec20: 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  p;&nbsp;<font co
ec30: 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 72 65  lor="#8b4726">re
ec40: 6e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  n</font>&nbsp;<f
ec50: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62  ont color="#228b
ec60: 32 32 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74  22">&quot;</font
ec70: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38  ><font color="#8
ec80: 62 34 37 32 36 22 3e 25 44 4f 43 58 25 3c 2f 66  b4726">%DOCX%</f
ec90: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
eca0: 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b  "#228b22">&quot;
ecb0: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
ecc0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32  nt color="#228b2
ecd0: 32 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e  2">&quot;</font>
ece0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62  <font color="#8b
ecf0: 34 37 32 36 22 3e 25 54 4d 50 46 49 4c 45 25 3c  4726">%TMPFILE%<
ed00: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
ed10: 72 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f  r="#228b22">&quo
ed20: 74 3b 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d  t;</font><br />.
ed30: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38  .<font color="#8
ed40: 30 38 30 38 30 22 3e 34 31 20 3c 2f 66 6f 6e 74  08080">41 </font
ed50: 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f  >&nbsp;&nbsp;<fo
ed60: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32  nt color="#8b472
ed70: 36 22 3e 6d 6f 76 65 3c 2f 66 6f 6e 74 3e 26 6e  6">move</font>&n
ed80: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
ed90: 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b  "#228b22">&quot;
eda0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
edb0: 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25 54 4d  or="#8b4726">%TM
edc0: 50 46 49 4c 45 25 3c 2f 66 6f 6e 74 3e 3c 66 6f  PFILE%</font><fo
edd0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32  nt color="#228b2
ede0: 32 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e  2">&quot;</font>
edf0: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
ee00: 72 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f  r="#228b22">&quo
ee10: 74 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  t;</font><font c
ee20: 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 25  olor="#8b4726">%
ee30: 54 45 4d 50 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  TEMP%</font><fon
ee40: 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32  t color="#228b22
ee50: 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 5c  ">&quot;</font>\
ee60: 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  <br />..<font co
ee70: 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 34 32  lor="#808080">42
ee80: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
ee90: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
eea0: 22 23 38 62 34 37 32 36 22 3e 6d 6b 64 69 72 3c  "#8b4726">mkdir<
eeb0: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e  /font>&nbsp;<fon
eec0: 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32  t color="#228b22
eed0: 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c  ">&quot;</font><
eee0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34  font color="#8b4
eef0: 37 32 36 22 3e 25 44 4f 43 58 25 3c 2f 66 6f 6e  726">%DOCX%</fon
ef00: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
ef10: 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b 3c 2f  228b22">&quot;</
ef20: 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f  font><br />..<fo
ef30: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38  nt color="#80808
ef40: 30 22 3e 34 33 20 3c 2f 66 6f 6e 74 3e 26 6e 62  0">43 </font>&nb
ef50: 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  sp;&nbsp;<font c
ef60: 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 70  olor="#8b4726">p
ef70: 75 73 68 64 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  ushd</font>&nbsp
ef80: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 32  ;<font color="#2
ef90: 32 38 62 32 32 22 3e 26 71 75 6f 74 3b 3c 2f 66  28b22">&quot;</f
efa0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
efb0: 22 23 38 62 34 37 32 36 22 3e 25 44 4f 43 58 25  "#8b4726">%DOCX%
efc0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
efd0: 6f 72 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75  or="#228b22">&qu
efe0: 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e  ot;</font><br />
eff0: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
f000: 38 30 38 30 38 30 22 3e 34 34 20 3c 2f 66 6f 6e  808080">44 </fon
f010: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66  t>&nbsp;&nbsp;<f
f020: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
f030: 32 36 22 3e 25 43 4d 44 55 4e 5a 49 50 25 3c 2f  26">%CMDUNZIP%</
f040: 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74  font>&nbsp;<font
f050: 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22   color="#228b22"
f060: 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c 66  >&quot;</font><f
f070: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
f080: 32 36 22 3e 25 54 45 4d 50 25 3c 2f 66 6f 6e 74  26">%TEMP%</font
f090: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 32  ><font color="#2
f0a0: 32 38 62 32 32 22 3e 5c 3c 2f 66 6f 6e 74 3e 3c  28b22">\</font><
f0b0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34  font color="#8b4
f0c0: 37 32 36 22 3e 25 54 4d 50 46 49 4c 45 25 3c 2f  726">%TMPFILE%</
f0d0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
f0e0: 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74  ="#228b22">&quot
f0f0: 3b 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a  ;</font><br />..
f100: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30  <font color="#80
f110: 38 30 38 30 22 3e 34 35 20 3c 2f 66 6f 6e 74 3e  8080">45 </font>
f120: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
f130: 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36  t color="#8b4726
f140: 22 3e 3c 62 3e 69 66 3c 2f 62 3e 3c 2f 66 6f 6e  "><b>if</b></fon
f150: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
f160: 38 62 34 37 32 36 22 3e 3c 62 3e 26 6e 62 73 70  8b4726"><b>&nbsp
f170: 3b 6e 6f 74 20 65 78 69 73 74 3c 2f 62 3e 3c 2f  ;not exist</b></
f180: 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 6e 6f 77 69  font>&nbsp;<nowi
f190: 6b 69 3e 5b 43 6f 6e 74 65 6e 74 5f 54 79 70 65  ki>[Content_Type
f1a0: 73 5d 2e 78 6d 6c 3c 2f 6e 6f 77 69 6b 69 3e 20  s].xml</nowiki> 
f1b0: 28 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63  (<br />..<font c
f1c0: 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 34  olor="#808080">4
f1d0: 36 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  6 </font><font c
f1e0: 6f 6c 6f 72 3d 22 23 33 61 35 66 63 64 22 3e 3c  olor="#3a5fcd"><
f1f0: 69 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e  i>&nbsp;&nbsp;&n
f200: 62 73 70 3b 26 6e 62 73 70 3b 3a 3a 20 63 61 6e  bsp;&nbsp;:: can
f210: 63 65 6c 3c 2f 69 3e 3c 2f 66 6f 6e 74 3e 3c 62  cel</i></font><b
f220: 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  r />..<font colo
f230: 72 3d 22 23 38 30 38 30 38 30 22 3e 34 37 20 3c  r="#808080">47 <
f240: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73  /font>&nbsp;&nbs
f250: 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66  p;&nbsp;&nbsp;<f
f260: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
f270: 32 36 22 3e 70 6f 70 64 3c 2f 66 6f 6e 74 3e 3c  26">popd</font><
f280: 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  br />..<font col
f290: 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 34 38 20  or="#808080">48 
f2a0: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62  </font>&nbsp;&nb
f2b0: 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c  sp;&nbsp;&nbsp;<
f2c0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34  font color="#8b4
f2d0: 37 32 36 22 3e 72 6d 64 69 72 3c 2f 66 6f 6e 74  726">rmdir</font
f2e0: 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  >&nbsp;<font col
f2f0: 6f 72 3d 22 23 32 32 38 62 32 32 22 3e 26 71 75  or="#228b22">&qu
f300: 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  ot;</font><font 
f310: 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e  color="#8b4726">
f320: 25 44 4f 43 58 25 3c 2f 66 6f 6e 74 3e 3c 66 6f  %DOCX%</font><fo
f330: 6e 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32  nt color="#228b2
f340: 32 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e  2">&quot;</font>
f350: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
f360: 72 3d 22 23 32 37 34 30 38 62 22 3e 2f 73 3c 2f  r="#27408b">/s</
f370: 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74  font>&nbsp;<font
f380: 20 63 6f 6c 6f 72 3d 22 23 32 37 34 30 38 62 22   color="#27408b"
f390: 3e 2f 71 3c 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e  >/q</font><br />
f3a0: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
f3b0: 38 30 38 30 38 30 22 3e 34 39 20 3c 2f 66 6f 6e  808080">49 </fon
f3c0: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e  t>&nbsp;&nbsp;&n
f3d0: 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  bsp;&nbsp;<font 
f3e0: 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e  color="#8b4726">
f3f0: 6d 6f 76 65 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  move</font>&nbsp
f400: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 32  ;<font color="#2
f410: 32 38 62 32 32 22 3e 26 71 75 6f 74 3b 3c 2f 66  28b22">&quot;</f
f420: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
f430: 22 23 38 62 34 37 32 36 22 3e 25 54 45 4d 50 25  "#8b4726">%TEMP%
f440: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
f450: 6f 72 3d 22 23 32 32 38 62 32 32 22 3e 5c 3c 2f  or="#228b22">\</
f460: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
f470: 3d 22 23 38 62 34 37 32 36 22 3e 25 54 4d 50 46  ="#8b4726">%TMPF
f480: 49 4c 45 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  ILE%</font><font
f490: 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22   color="#228b22"
f4a0: 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 26 6e  >&quot;</font>&n
f4b0: 62 73 70 3b 2e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f  bsp;.<br />..<fo
f4c0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38  nt color="#80808
f4d0: 30 22 3e 35 30 20 3c 2f 66 6f 6e 74 3e 26 6e 62  0">50 </font>&nb
f4e0: 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26  sp;&nbsp;&nbsp;&
f4f0: 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nbsp;<font color
f500: 3d 22 23 38 62 34 37 32 36 22 3e 72 65 6e 3c 2f  ="#8b4726">ren</
f510: 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74  font>&nbsp;<font
f520: 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32 22   color="#228b22"
f530: 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c 66  >&quot;</font><f
f540: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
f550: 32 36 22 3e 25 54 4d 50 46 49 4c 45 25 3c 2f 66  26">%TMPFILE%</f
f560: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
f570: 22 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b  "#228b22">&quot;
f580: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
f590: 6e 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32  nt color="#228b2
f5a0: 32 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e  2">&quot;</font>
f5b0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62  <font color="#8b
f5c0: 34 37 32 36 22 3e 25 44 4f 43 58 25 3c 2f 66 6f  4726">%DOCX%</fo
f5d0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
f5e0: 23 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b 3c  #228b22">&quot;<
f5f0: 2f 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66  /font><br />..<f
f600: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30  ont color="#8080
f610: 38 30 22 3e 35 31 20 3c 2f 66 6f 6e 74 3e 26 6e  80">51 </font>&n
f620: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
f630: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
f640: 72 3d 22 23 38 62 34 37 32 36 22 3e 3c 62 3e 67  r="#8b4726"><b>g
f650: 6f 74 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  oto</b></font><f
f660: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37  ont color="#8b47
f670: 32 36 22 3e 3c 62 3e 3c 75 3e 26 6e 62 73 70 3b  26"><b><u>&nbsp;
f680: 3a 65 6e 64 3c 2f 75 3e 3c 2f 62 3e 3c 2f 66 6f  :end</u></b></fo
f690: 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74  nt><br />..<font
f6a0: 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30 22   color="#808080"
f6b0: 3e 35 32 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >52 </font>&nbsp
f6c0: 3b 26 6e 62 73 70 3b 29 3c 62 72 20 2f 3e 0d 0a  ;&nbsp;)<br />..
f6d0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30  <font color="#80
f6e0: 38 30 38 30 22 3e 35 33 20 3c 2f 66 6f 6e 74 3e  8080">53 </font>
f6f0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
f700: 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36  t color="#8b4726
f710: 22 3e 72 65 6e 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">ren</font>&nbs
f720: 70 3b 3c 6e 6f 77 69 6b 69 3e 5b 43 6f 6e 74 65  p;<nowiki>[Conte
f730: 6e 74 5f 54 79 70 65 73 5d 2e 78 6d 6c 3c 2f 6e  nt_Types].xml</n
f740: 6f 77 69 6b 69 3e 20 43 6f 6e 74 65 6e 74 5f 54  owiki> Content_T
f750: 79 70 65 73 2e 78 6d 6c 3c 62 72 20 2f 3e 0d 0a  ypes.xml<br />..
f760: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30  <font color="#80
f770: 38 30 38 30 22 3e 35 34 20 3c 2f 66 6f 6e 74 3e  8080">54 </font>
f780: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
f790: 74 20 63 6f 6c 6f 72 3d 22 23 38 62 34 37 32 36  t color="#8b4726
f7a0: 22 3e 64 65 6c 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">del</font>&nbs
f7b0: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
f7c0: 32 32 38 62 32 32 22 3e 26 71 75 6f 74 3b 3c 2f  228b22">&quot;</
f7d0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
f7e0: 3d 22 23 38 62 34 37 32 36 22 3e 25 54 45 4d 50  ="#8b4726">%TEMP
f7f0: 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  %</font><font co
f800: 6c 6f 72 3d 22 23 32 32 38 62 32 32 22 3e 5c 3c  lor="#228b22">\<
f810: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
f820: 72 3d 22 23 38 62 34 37 32 36 22 3e 25 54 4d 50  r="#8b4726">%TMP
f830: 46 49 4c 45 25 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  FILE%</font><fon
f840: 74 20 63 6f 6c 6f 72 3d 22 23 32 32 38 62 32 32  t color="#228b22
f850: 22 3e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c  ">&quot;</font><
f860: 62 72 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  br />..<font col
f870: 6f 72 3d 22 23 38 30 38 30 38 30 22 3e 35 35 20  or="#808080">55 
f880: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62  </font>&nbsp;&nb
f890: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
f8a0: 23 38 62 34 37 32 36 22 3e 70 6f 70 64 3c 2f 66  #8b4726">popd</f
f8b0: 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e  ont><br />..<fon
f8c0: 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30  t color="#808080
f8d0: 22 3e 35 36 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">56 </font>&nbs
f8e0: 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  p;&nbsp;<font co
f8f0: 6c 6f 72 3d 22 23 38 62 34 37 32 36 22 3e 3c 62  lor="#8b4726"><b
f900: 3e 67 6f 74 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  >goto</b></font>
f910: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 62  <font color="#8b
f920: 34 37 32 36 22 3e 3c 62 3e 3c 75 3e 26 6e 62 73  4726"><b><u>&nbs
f930: 70 3b 3a 65 6e 64 3c 2f 75 3e 3c 2f 62 3e 3c 2f  p;:end</u></b></
f940: 66 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f  font><br />..<fo
f950: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38  nt color="#80808
f960: 30 22 3e 35 37 20 3c 2f 66 6f 6e 74 3e 3c 62 72  0">57 </font><br
f970: 20 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72   />..<font color
f980: 3d 22 23 38 30 38 30 38 30 22 3e 35 38 20 3c 2f  ="#808080">58 </
f990: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
f9a0: 3d 22 23 38 62 34 37 32 36 22 3e 3c 62 3e 3c 75  ="#8b4726"><b><u
f9b0: 3e 3a 65 6e 64 3c 2f 75 3e 3c 2f 62 3e 3c 2f 66  >:end</u></b></f
f9c0: 6f 6e 74 3e 3c 62 72 20 2f 3e 0d 0a 3c 66 6f 6e  ont><br />..<fon
f9d0: 74 20 63 6f 6c 6f 72 3d 22 23 38 30 38 30 38 30  t color="#808080
f9e0: 22 3e 35 39 20 3c 2f 66 6f 6e 74 3e 3c 62 72 20  ">59 </font><br 
f9f0: 2f 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  />..<font color=
fa00: 22 23 38 30 38 30 38 30 22 3e 36 30 20 3c 2f 66  "#808080">60 </f
fa10: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
fa20: 22 23 33 61 35 66 63 64 22 3e 3c 69 3e 3a 3a 20  "#3a5fcd"><i>:: 
fa30: 76 69 6d 3a 20 66 65 6e 63 3d 63 70 34 33 37 3c  vim: fenc=cp437<
fa40: 2f 69 3e 3c 2f 66 6f 6e 74 3e 0d 0a 20 20 3c 2f  /i></font>..  </
fa50: 66 6f 6e 74 3e 0d 0a 0d 0a 3c 2f 64 69 76 3e 0d  font>....</div>.
fa60: 0a 0a 5a 20 64 63 66 65 36 65 38 34 31 62 66 33  ..Z dcfe6e841bf3
fa70: 63 32 39 62 30 36 64 39 63 39 34 62 36 35 34 63  c29b06d9c94b654c
fa80: 64 64 35 35 0a                                   dd55.