Hex Artifact Content
Not logged in

Artifact 9b5352480c0ddce1367485a938291ee30fc8f84d:

Wiki page [Cookbook] by anonymous on 2009-11-06 04:09:51.

0000: 44 20 32 30 30 39 2d 31 31 2d 30 36 54 30 34 3a  D 2009-11-06T04:
0010: 30 39 3a 35 31 0a 4c 20 43 6f 6f 6b 62 6f 6f 6b  09:51.L Cookbook
0020: 0a 50 20 62 63 39 64 38 34 61 63 61 32 30 38 35  .P bc9d84aca2085
0030: 32 38 63 38 63 39 65 36 64 31 31 30 62 39 32 37  28c8c9e6d110b927
0040: 66 32 33 62 32 64 39 37 65 38 37 0a 55 20 61 6e  f23b2d97e87.U an
0050: 6f 6e 79 6d 6f 75 73 0a 57 20 34 32 38 34 30 0a  onymous.W 42840.
0060: 3c 68 31 3e 46 6f 73 73 69 6c 20 43 6f 6f 6b 62  <h1>Fossil Cookb
0070: 6f 6f 6b 3c 2f 68 31 3e 0d 0a 54 68 65 20 3c 63  ook</h1>..The <c
0080: 69 74 65 3e 46 6f 73 73 69 6c 3c 2f 63 69 74 65  ite>Fossil</cite
0090: 3e 20 43 6f 6f 6b 62 6f 6f 6b 20 69 73 20 61 20  > Cookbook is a 
00a0: 63 6f 6c 6c 65 63 74 69 6f 6e 20 6f 66 20 74 61  collection of ta
00b0: 73 6b 2d 6f 72 69 65 6e 74 65 64 20 69 6e 73 74  sk-oriented inst
00c0: 72 75 63 74 69 6f 6e 73 20 66 6f 72 20 69 6e 74  ructions for int
00d0: 65 72 6d 65 64 69 61 74 65 20 75 73 65 72 73 20  ermediate users 
00e0: 77 68 6f 20 77 69 73 68 20 74 6f 20 64 6f 20 6d  who wish to do m
00f0: 6f 72 65 20 74 68 61 6e 20 62 61 73 69 63 20 6f  ore than basic o
0100: 70 65 72 61 74 69 6f 6e 73 20 77 69 74 68 20 74  perations with t
0110: 68 65 69 72 20 3c 63 69 74 65 3e 46 6f 73 73 69  heir <cite>Fossi
0120: 6c 3c 2f 63 69 74 65 3e 20 72 65 70 6f 73 69 74  l</cite> reposit
0130: 6f 72 69 65 73 2e 20 20 54 68 65 20 5b 54 75 74  ories.  The [Tut
0140: 6f 72 69 61 6c 7c 74 75 74 6f 72 69 61 6c 5d 20  orial|tutorial] 
0150: 69 73 20 61 20 6d 6f 72 65 20 73 75 69 74 61 62  is a more suitab
0160: 6c 65 20 70 6c 61 63 65 20 66 6f 72 20 6e 65 77  le place for new
0170: 63 6f 6d 65 72 73 20 74 72 79 69 6e 67 20 74 6f  comers trying to
0180: 20 6c 65 61 72 6e 20 74 68 65 20 62 61 73 69 63   learn the basic
0190: 20 63 6f 6e 63 65 70 74 73 20 74 6f 20 67 6f 20   concepts to go 
01a0: 66 69 72 73 74 20 62 65 66 6f 72 65 20 74 61 63  first before tac
01b0: 6b 6c 69 6e 67 20 74 68 65 73 65 20 72 65 63 69  kling these reci
01c0: 70 65 73 2e 0d 0a 0d 0a 3c 68 32 3e 49 6e 64 65  pes.....<h2>Inde
01d0: 78 3c 2f 68 32 3e 0d 0a 3c 75 6c 3e 0d 0a 20 20  x</h2>..<ul>..  
01e0: 3c 6c 69 3e 20 53 65 72 76 65 72 20 72 65 63 69  <li> Server reci
01f0: 70 65 73 3a 0d 0a 20 20 20 20 3c 75 6c 3e 0d 0a  pes:..    <ul>..
0200: 20 20 20 20 20 20 3c 6c 69 3e 20 20 3c 61 20 68        <li>  <a h
0210: 72 65 66 3d 22 23 43 47 49 22 3e 55 73 69 6e 67  ref="#CGI">Using
0220: 20 3c 63 69 74 65 3e 46 6f 73 73 69 6c 3c 2f 63   <cite>Fossil</c
0230: 69 74 65 3e 27 73 20 42 75 69 6c 74 2d 49 6e 20  ite>'s Built-In 
0240: 43 47 49 3c 2f 61 3e 0d 0a 20 20 20 20 3c 2f 75  CGI</a>..    </u
0250: 6c 3e 0d 0a 20 20 3c 6c 69 3e 20 3c 61 20 68 72  l>..  <li> <a hr
0260: 65 66 3d 22 23 65 6e 76 22 3e 55 73 69 6e 67 20  ef="#env">Using 
0270: 45 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69  Environment vari
0280: 61 62 6c 65 73 3c 2f 61 3e 0d 0a 20 20 3c 6c 69  ables</a>..  <li
0290: 3e 20 3c 61 20 68 72 65 66 3d 22 23 63 73 73 22  > <a href="#css"
02a0: 3e 45 78 61 6d 70 6c 65 20 43 53 53 3c 2f 61 3e  >Example CSS</a>
02b0: 0d 0a 20 20 3c 6c 69 3e 20 3c 61 20 68 72 65 66  ..  <li> <a href
02c0: 3d 22 23 73 6f 75 72 63 65 2d 68 69 6c 69 67 68  ="#source-hiligh
02d0: 74 22 3e 53 6f 75 72 63 65 20 68 69 67 68 6c 69  t">Source highli
02e0: 67 68 74 69 6e 67 3c 2f 61 3e 0d 0a 20 20 3c 6c  ghting</a>..  <l
02f0: 69 3e 20 3c 61 20 68 72 65 66 3d 22 23 77 69 6e  i> <a href="#win
0300: 33 32 64 65 76 22 3e 46 6f 73 73 69 6c 20 57 69  32dev">Fossil Wi
0310: 6e 33 32 20 44 65 76 65 6c 6f 70 6d 65 6e 74 20  n32 Development 
0320: 4d 61 63 68 69 6e 65 20 73 65 74 75 70 3c 2f 61  Machine setup</a
0330: 3e 0d 0a 20 20 3c 6c 69 3e 20 3c 61 20 68 72 65  >..  <li> <a hre
0340: 66 3d 22 23 77 79 73 69 77 69 67 22 3e 4a 61 76  f="#wysiwig">Jav
0350: 61 73 63 72 69 70 74 20 48 54 4d 4c 20 57 59 53  ascript HTML WYS
0360: 49 57 59 47 20 65 64 69 74 6f 72 20 63 6f 6e 74  IWYG editor cont
0370: 72 6f 6c 3c 2f 61 3e 0d 0a 20 20 20 20 3c 75 6c  rol</a>..    <ul
0380: 3e 0d 0a 20 20 20 20 20 20 3c 6c 69 3e 20 3c 61  >..      <li> <a
0390: 20 68 72 65 66 3d 22 23 74 69 6e 79 6d 63 65 22   href="#tinymce"
03a0: 3e 54 69 6e 79 4d 43 45 3c 2f 61 3e 0d 0a 20 20  >TinyMCE</a>..  
03b0: 20 20 20 20 3c 6c 69 3e 20 3c 61 20 68 72 65 66      <li> <a href
03c0: 3d 22 23 6d 61 72 6b 69 74 75 70 22 3e 6d 61 72  ="#markitup">mar
03d0: 6b 69 74 75 70 21 3c 2f 61 3e 0d 0a 20 20 20 20  kitup!</a>..    
03e0: 3c 2f 75 6c 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 0d 0a  </ul>..</ul>....
03f0: 3c 68 32 3e 3c 61 20 6e 61 6d 65 3d 22 43 47 49  <h2><a name="CGI
0400: 22 3e 55 73 69 6e 67 20 3c 63 69 74 65 3e 46 6f  ">Using <cite>Fo
0410: 73 73 69 6c 3c 2f 63 69 74 65 3e 27 73 20 42 75  ssil</cite>'s Bu
0420: 69 6c 74 2d 49 6e 20 43 47 49 3c 2f 61 3e 3c 2f  ilt-In CGI</a></
0430: 68 32 3e 0d 0a 3c 68 33 3e 4d 6f 74 69 76 61 74  h2>..<h3>Motivat
0440: 69 6f 6e 3c 2f 68 33 3e 0d 0a 20 20 2a 20 20 59  ion</h3>..  *  Y
0450: 6f 75 20 77 61 6e 74 20 74 6f 20 73 68 61 72 65  ou want to share
0460: 20 61 20 72 65 70 6f 73 69 74 6f 72 79 20 74 68   a repository th
0470: 72 6f 75 67 68 20 79 6f 75 72 20 65 78 69 73 74  rough your exist
0480: 69 6e 67 20 77 65 62 20 69 6e 66 72 61 73 74 72  ing web infrastr
0490: 75 63 74 75 72 65 2e 0d 0a 20 20 2a 20 20 59 6f  ucture...  *  Yo
04a0: 75 20 77 61 6e 74 20 74 6f 20 73 68 61 72 65 20  u want to share 
04b0: 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 20 72 65  more than one re
04c0: 70 6f 73 69 74 6f 72 79 20 61 74 20 74 68 65 20  pository at the 
04d0: 73 61 6d 65 20 74 69 6d 65 2e 0d 0a 0d 0a 3c 68  same time.....<h
04e0: 33 3e 50 72 6f 62 6c 65 6d 3c 2f 68 33 3e 0d 0a  3>Problem</h3>..
04f0: 55 6e 6c 69 6b 65 20 73 6f 6d 65 20 6f 74 68 65  Unlike some othe
0500: 72 20 64 69 73 74 72 69 62 75 74 65 64 20 53 43  r distributed SC
0510: 4d 73 2c 20 3c 63 69 74 65 3e 46 6f 73 73 69 6c  Ms, <cite>Fossil
0520: 3c 2f 63 69 74 65 3e 20 63 61 6e 20 6f 6e 6c 79  </cite> can only
0530: 20 63 6c 6f 6e 65 2c 20 70 75 73 68 2c 20 70 75   clone, push, pu
0540: 6c 6c 20 61 6e 64 20 61 6e 64 20 6f 74 68 65 72  ll and and other
0550: 77 69 73 65 20 69 6e 74 65 72 61 63 74 20 74 68  wise interact th
0560: 72 6f 75 67 68 20 72 65 70 6f 73 69 74 6f 72 69  rough repositori
0570: 65 73 20 6f 76 65 72 20 48 54 54 50 2e 20 20 54  es over HTTP.  T
0580: 68 69 73 20 63 61 6e 20 62 65 20 73 69 6d 70 6c  his can be simpl
0590: 79 20 61 6e 64 20 65 61 73 69 6c 79 20 6d 61 6e  y and easily man
05a0: 61 67 65 64 20 74 68 72 6f 75 67 68 20 75 73 65  aged through use
05b0: 20 6f 66 20 74 68 65 20 3c 63 6f 64 65 3e 66 6f   of the <code>fo
05c0: 73 73 69 6c 20 73 65 72 76 65 72 3c 2f 63 6f 64  ssil server</cod
05d0: 65 3e 20 61 6e 64 2f 6f 72 20 3c 63 6f 64 65 3e  e> and/or <code>
05e0: 66 6f 73 73 69 6c 20 75 69 3c 2f 63 6f 64 65 3e  fossil ui</code>
05f0: 20 63 6f 6d 6d 61 6e 64 73 2c 20 6f 66 20 63 6f   commands, of co
0600: 75 72 73 65 2c 20 62 75 74 20 74 68 69 73 20 69  urse, but this i
0610: 73 20 72 65 61 6c 6c 79 20 6f 6e 6c 79 20 61 64  s really only ad
0620: 65 71 75 61 74 65 20 66 6f 72 20 61 64 2d 68 6f  equate for ad-ho
0630: 63 20 72 65 70 6f 73 69 74 6f 72 79 20 73 68 61  c repository sha
0640: 72 69 6e 67 2e 20 20 43 6f 6e 73 69 64 65 72 2c  ring.  Consider,
0650: 20 66 6f 72 20 65 78 61 6d 70 6c 65 2c 20 73 68   for example, sh
0660: 61 72 69 6e 67 20 74 65 6e 20 72 65 70 6f 73 69  aring ten reposi
0670: 74 6f 72 69 65 73 2e 20 20 55 73 69 6e 67 20 74  tories.  Using t
0680: 68 65 20 62 75 69 6c 74 2d 69 6e 20 73 65 72 76  he built-in serv
0690: 65 72 20 77 6f 75 6c 64 20 72 65 71 75 69 72 65  er would require
06a0: 20 79 6f 75 20 74 6f 20 6f 70 65 6e 20 74 65 6e   you to open ten
06b0: 20 70 6f 72 74 73 20 69 6e 20 79 6f 75 72 20 66   ports in your f
06c0: 69 72 65 77 61 6c 6c 20 74 6f 20 70 65 72 6d 69  irewall to permi
06d0: 74 20 61 63 63 65 73 73 2e 20 20 41 6e 79 20 73  t access.  Any s
06e0: 65 72 69 6f 75 73 20 73 68 61 72 69 6e 67 20 77  erious sharing w
06f0: 69 6c 6c 20 72 65 71 75 69 72 65 20 73 6f 6d 65  ill require some
0700: 74 68 69 6e 67 20 6d 6f 72 65 20 72 6f 62 75 73  thing more robus
0710: 74 20 61 6e 64 20 70 65 72 6d 61 6e 65 6e 74 2c  t and permanent,
0720: 20 61 6e 64 20 73 6f 6c 75 74 69 6f 6e 73 20 66   and solutions f
0730: 6f 72 20 64 6f 69 6e 67 20 73 6f 20 61 72 65 20  or doing so are 
0740: 64 65 73 63 72 69 62 65 64 20 62 65 6c 6f 77 2e  described below.
0750: 0d 0a 0d 0a 3c 68 33 3e 53 6f 6c 75 74 69 6f 6e  ....<h3>Solution
0760: 3c 2f 68 33 3e 0d 0a 3c 63 69 74 65 3e 46 6f 73  </h3>..<cite>Fos
0770: 73 69 6c 3c 2f 63 69 74 65 3e 20 73 75 70 70 6f  sil</cite> suppo
0780: 72 74 73 20 74 68 72 65 65 20 64 69 66 66 65 72  rts three differ
0790: 65 6e 74 20 77 61 79 73 20 74 6f 20 73 68 61 72  ent ways to shar
07a0: 65 20 72 65 70 6f 73 69 74 6f 72 69 65 73 2e 20  e repositories. 
07b0: 20 46 6f 72 20 61 64 2d 68 6f 63 20 73 68 61 72   For ad-hoc shar
07c0: 69 6e 67 20 3c 63 6f 64 65 3e 66 6f 73 73 69 6c  ing <code>fossil
07d0: 20 73 65 72 76 65 72 2f 75 69 3c 2f 63 6f 64 65   server/ui</code
07e0: 3e 20 69 73 20 6d 6f 72 65 20 74 68 61 6e 20 61  > is more than a
07f0: 64 65 71 75 61 74 65 2e 20 20 46 6f 72 20 6d 6f  dequate.  For mo
0800: 72 65 20 72 6f 62 75 73 74 20 73 6f 6c 75 74 69  re robust soluti
0810: 6f 6e 73 2c 20 68 6f 77 65 76 65 72 2c 20 74 68  ons, however, th
0820: 65 20 75 73 65 20 6f 66 20 3c 63 69 74 65 3e 28  e use of <cite>(
0830: 78 29 69 6e 65 74 64 3c 2f 63 69 74 65 3e 20 6f  x)inetd</cite> o
0840: 72 20 43 47 49 20 73 75 70 70 6f 72 74 20 69 73  r CGI support is
0850: 20 69 6e 64 69 63 61 74 65 64 2e 0d 0a 0d 0a 53   indicated.....S
0860: 65 74 74 69 6e 67 20 75 70 20 66 6f 73 73 69 6c  etting up fossil
0870: 20 66 6f 72 20 43 47 49 20 73 75 70 70 6f 72 74   for CGI support
0880: 20 69 73 20 73 69 6d 70 6c 65 2e 20 20 28 53 65   is simple.  (Se
0890: 74 74 69 6e 67 20 75 70 20 79 6f 75 72 20 77 65  tting up your we
08a0: 62 20 73 65 72 76 65 72 20 66 6f 72 20 43 47 49  b server for CGI
08b0: 20 73 75 70 70 6f 72 74 20 6d 61 79 20 6f 72 20   support may or 
08c0: 6d 61 79 20 6e 6f 74 20 62 65 20 73 69 6d 70 6c  may not be simpl
08d0: 65 2c 20 62 75 74 20 69 74 20 69 73 20 6f 75 74  e, but it is out
08e0: 20 6f 66 20 73 63 6f 70 65 20 6f 66 20 74 68 69   of scope of thi
08f0: 73 20 72 65 63 69 70 65 2e 20 20 43 6f 6e 73 75  s recipe.  Consu
0900: 6c 74 20 79 6f 75 72 20 77 65 62 20 73 65 72 76  lt your web serv
0910: 65 72 2f 73 65 72 76 69 63 65 20 70 72 6f 76 69  er/service provi
0920: 64 65 72 27 73 20 64 6f 63 75 6d 65 6e 74 61 74  der's documentat
0930: 69 6f 6e 20 66 6f 72 20 74 68 69 73 2e 29 0d 0a  ion for this.)..
0940: 0d 0a 3c 68 34 3e 55 4e 49 58 3c 2f 68 34 3e 0d  ..<h4>UNIX</h4>.
0950: 0a 20 20 31 2e 20 20 46 69 6e 64 20 79 6f 75 72  .  1.  Find your
0960: 20 43 47 49 20 73 63 72 69 70 74 73 20 64 69 72   CGI scripts dir
0970: 65 63 74 6f 72 79 20 28 69 66 20 61 70 70 6c 69  ectory (if appli
0980: 63 61 62 6c 65 29 2e 20 20 54 68 69 73 20 69 73  cable).  This is
0990: 20 63 6f 6d 6d 6f 6e 6c 79 20 73 6f 6d 65 74 68   commonly someth
09a0: 69 6e 67 20 6c 69 6b 65 20 3c 62 61 73 65 3e 2f  ing like <base>/
09b0: 63 67 69 2d 62 69 6e 2f 2c 20 62 75 74 20 64 6f  cgi-bin/, but do
09c0: 65 73 20 6e 6f 74 20 68 61 76 65 20 74 6f 20 62  es not have to b
09d0: 65 2e 0d 0a 20 20 32 2e 20 20 49 6e 73 69 64 65  e...  2.  Inside
09e0: 20 74 68 61 74 20 64 69 72 65 63 74 6f 72 79 20   that directory 
09f0: 62 75 69 6c 64 20 61 20 73 63 72 69 70 74 20 66  build a script f
0a00: 69 6c 65 20 77 68 69 63 68 20 6c 6f 6f 6b 73 20  ile which looks 
0a10: 6c 69 6b 65 20 74 68 69 73 3a 3c 62 72 3e 3c 63  like this:<br><c
0a20: 6f 64 65 3e 3c 70 72 65 3e 20 20 23 21 20 2f 75  ode><pre>  #! /u
0a30: 73 72 2f 62 69 6e 2f 65 6e 76 20 66 6f 73 73 69  sr/bin/env fossi
0a40: 6c 3c 62 72 3e 20 20 72 65 70 6f 73 69 74 6f 72  l<br>  repositor
0a50: 79 3a 20 2f 66 75 6c 6c 2f 70 61 74 68 2f 74 6f  y: /full/path/to
0a60: 2f 72 65 70 6f 73 69 74 6f 72 79 2f 66 69 6c 65  /repository/file
0a70: 2e 66 73 6c 3c 2f 70 72 65 3e 3c 2f 63 6f 64 65  .fsl</pre></code
0a80: 3e 0d 0a 20 20 33 2e 20 20 45 6e 73 75 72 65 20  >..  3.  Ensure 
0a90: 74 68 61 74 20 74 68 65 20 73 63 72 69 70 74 20  that the script 
0aa0: 66 69 6c 65 20 73 6f 20 67 65 6e 65 72 61 74 65  file so generate
0ab0: 64 20 69 73 20 73 65 74 20 65 78 65 63 75 74 61  d is set executa
0ac0: 62 6c 65 20 66 6f 72 20 74 68 65 20 43 47 49 20  ble for the CGI 
0ad0: 75 73 65 72 20 61 63 63 6f 75 6e 74 2e 0d 0a 20  user account... 
0ae0: 20 34 2e 20 20 45 6e 73 75 72 65 20 74 68 61 74   4.  Ensure that
0af0: 20 65 76 65 72 79 20 64 69 72 65 63 74 6f 72 79   every directory
0b00: 20 69 6e 20 74 68 65 20 70 61 74 68 20 6c 65 61   in the path lea
0b10: 64 69 6e 67 20 74 6f 20 74 68 65 20 72 65 70 6f  ding to the repo
0b20: 73 69 74 6f 72 79 20 69 73 20 20 62 72 6f 77 73  sitory is  brows
0b30: 65 61 62 6c 65 20 28 63 68 6d 6f 64 20 2b 78 29  eable (chmod +x)
0b40: 20 74 6f 20 74 68 65 20 43 47 49 20 75 73 65 72   to the CGI user
0b50: 20 61 63 63 6f 75 6e 74 2e 0d 0a 20 20 35 2e 20   account...  5. 
0b60: 20 45 6e 73 75 72 65 20 74 68 61 74 20 74 68 65   Ensure that the
0b70: 20 72 65 70 6f 73 69 74 6f 72 79 20 66 69 6c 65   repository file
0b80: 20 69 73 20 72 65 61 64 61 62 6c 65 20 3c 65 6d   is readable <em
0b90: 3e 61 6e 64 3c 2f 65 6d 3e 20 77 72 69 74 61 62  >and</em> writab
0ba0: 6c 65 20 74 6f 20 74 68 65 20 43 47 49 20 75 73  le to the CGI us
0bb0: 65 72 20 61 63 63 6f 75 6e 74 2e 0d 0a 0d 0a 54  er account.....T
0bc0: 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 3c 63 69  he following <ci
0bd0: 74 65 3e 62 61 73 68 3c 2f 63 69 74 65 3e 20 73  te>bash</cite> s
0be0: 63 72 69 70 74 20 63 61 6e 20 62 65 20 72 75 6e  cript can be run
0bf0: 20 66 72 6f 6d 20 77 69 74 68 69 6e 20 74 68 65   from within the
0c00: 20 64 69 72 65 63 74 6f 72 79 20 63 6f 6e 74 61   directory conta
0c10: 69 6e 69 6e 67 20 74 68 65 20 3c 63 69 74 65 3e  ining the <cite>
0c20: 46 6f 73 73 69 6c 3c 2f 63 69 74 65 3e 20 72 65  Fossil</cite> re
0c30: 70 6f 73 69 74 6f 72 69 65 73 20 74 6f 20 62 65  positories to be
0c40: 20 73 68 61 72 65 64 20 28 61 6e 64 2c 20 6f 66   shared (and, of
0c50: 20 63 6f 75 72 73 65 2c 20 61 6c 74 65 72 65 64   course, altered
0c60: 20 66 6f 72 20 79 6f 75 72 20 73 65 74 75 70 29   for your setup)
0c70: 20 74 6f 20 73 65 74 20 73 6f 6d 65 20 6f 66 20   to set some of 
0c80: 74 68 65 20 63 6f 6e 73 74 72 61 69 6e 74 73 20  the constraints 
0c90: 61 62 6f 76 65 20 75 70 20 61 75 74 6f 6d 61 74  above up automat
0ca0: 69 63 61 6c 6c 79 3a 0d 0a 0d 0a 3c 6e 6f 77 69  ically:....<nowi
0cb0: 6b 69 3e 3c 66 6f 6e 74 20 66 61 63 65 3d 22 6d  ki><font face="m
0cc0: 6f 6e 6f 73 70 61 63 65 22 3e 0d 0a 3c 66 6f 6e  onospace">..<fon
0cd0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
0ce0: 22 3e 26 6e 62 73 70 3b 31 20 3c 2f 66 6f 6e 74  ">&nbsp;1 </font
0cf0: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30  ><font color="#0
0d00: 30 30 30 66 66 22 3e 23 21 20 2f 75 73 72 2f 62  000ff">#! /usr/b
0d10: 69 6e 2f 65 6e 76 20 62 61 73 68 3c 2f 66 6f 6e  in/env bash</fon
0d20: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
0d30: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
0d40: 62 73 70 3b 32 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  bsp;2 </font><fo
0d50: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38  nt color="#008b8
0d60: 62 22 3e 43 47 49 5f 52 4f 4f 54 3c 2f 66 6f 6e  b">CGI_ROOT</fon
0d70: 74 3e 3d 2f 75 73 72 2f 6c 69 62 2f 66 6f 73 73  t>=/usr/lib/foss
0d80: 69 6c 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  il<br>..<font co
0d90: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
0da0: 62 73 70 3b 33 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  bsp;3 </font><fo
0db0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38  nt color="#008b8
0dc0: 62 22 3e 52 45 50 4f 53 49 54 4f 52 59 5f 4f 57  b">REPOSITORY_OW
0dd0: 4e 45 52 3c 2f 66 6f 6e 74 3e 3d 6d 69 63 68 61  NER</font>=micha
0de0: 65 6c 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  el<br>..<font co
0df0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
0e00: 62 73 70 3b 34 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  bsp;4 </font><fo
0e10: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38  nt color="#008b8
0e20: 62 22 3e 43 47 49 5f 47 52 4f 55 50 3c 2f 66 6f  b">CGI_GROUP</fo
0e30: 6e 74 3e 3d 77 77 77 2d 64 61 74 61 3c 62 72 3e  nt>=www-data<br>
0e40: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
0e50: 61 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 35 20  a52a2a">&nbsp;5 
0e60: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
0e70: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
0e80: 69 66 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62  if</b></font>&nb
0e90: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
0ea0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 5b 3c 2f 62  #a52a2a"><b>[</b
0eb0: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
0ec0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61  ont color="#6a5a
0ed0: 63 64 22 3e 60 77 68 6f 61 6d 69 60 3c 2f 66 6f  cd">`whoami`</fo
0ee0: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
0ef0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
0f00: 62 3e 3d 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  b>=</b></font>&n
0f10: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
0f20: 22 23 66 66 30 30 66 66 22 3e 27 72 6f 6f 74 27  "#ff00ff">'root'
0f30: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
0f40: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
0f50: 61 22 3e 3c 62 3e 5d 3c 2f 62 3e 3c 2f 66 6f 6e  a"><b>]</b></fon
0f60: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
0f70: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
0f80: 62 73 70 3b 36 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  bsp;6 </font><fo
0f90: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
0fa0: 61 22 3e 3c 62 3e 74 68 65 6e 3c 2f 62 3e 3c 2f  a"><b>then</b></
0fb0: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
0fc0: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
0fd0: 3e 26 6e 62 73 70 3b 37 20 3c 2f 66 6f 6e 74 3e  >&nbsp;7 </font>
0fe0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
0ff0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
1000: 22 3e 3c 62 3e 66 6f 72 3c 2f 62 3e 3c 2f 66 6f  "><b>for</b></fo
1010: 6e 74 3e 26 6e 62 73 70 3b 72 65 70 6f 73 69 74  nt>&nbsp;reposit
1020: 6f 72 79 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ory <font color=
1030: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 69 6e 3c  "#a52a2a"><b>in<
1040: 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  /b></font>&nbsp;
1050: 2a 2e 66 73 6c 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  *.fsl<br>..<font
1060: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
1070: 3e 26 6e 62 73 70 3b 38 20 3c 2f 66 6f 6e 74 3e  >&nbsp;8 </font>
1080: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
1090: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
10a0: 22 3e 3c 62 3e 64 6f 3c 2f 62 3e 3c 2f 66 6f 6e  "><b>do</b></fon
10b0: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
10c0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
10d0: 62 73 70 3b 39 20 3c 2f 66 6f 6e 74 3e 26 6e 62  bsp;9 </font>&nb
10e0: 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26  sp;&nbsp;&nbsp;&
10f0: 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nbsp;<font color
1100: 3d 22 23 30 30 38 62 38 62 22 3e 53 4f 55 52 43  ="#008b8b">SOURC
1110: 45 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20 63  E</font>=<font c
1120: 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e 60  olor="#6a5acd">`
1130: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
1140: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
1150: 70 77 64 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  pwd</b></font><f
1160: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61  ont color="#6a5a
1170: 63 64 22 3e 60 3c 2f 66 6f 6e 74 3e 2f 3c 66 6f  cd">`</font>/<fo
1180: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66  nt color="#a020f
1190: 30 22 3e 24 72 65 70 6f 73 69 74 6f 72 79 3c 2f  0">$repository</
11a0: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
11b0: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
11c0: 3e 31 30 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >10 </font>&nbsp
11d0: 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62  ;&nbsp;&nbsp;&nb
11e0: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
11f0: 23 30 30 38 62 38 62 22 3e 44 45 53 54 49 4e 41  #008b8b">DESTINA
1200: 54 49 4f 4e 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e  TION</font>=<fon
1210: 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30  t color="#a020f0
1220: 22 3e 24 43 47 49 5f 52 4f 4f 54 3c 2f 66 6f 6e  ">$CGI_ROOT</fon
1230: 74 3e 2f 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  t>/<font color="
1240: 23 61 30 32 30 66 30 22 3e 24 7b 3c 2f 66 6f 6e  #a020f0">${</fon
1250: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
1260: 61 30 32 30 66 30 22 3e 72 65 70 6f 73 69 74 6f  a020f0">reposito
1270: 72 79 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  ry</font><font c
1280: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
1290: 62 3e 25 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 2e 66  b>%</b></font>.f
12a0: 73 6c 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  sl<font color="#
12b0: 61 30 32 30 66 30 22 3e 7d 3c 2f 66 6f 6e 74 3e  a020f0">}</font>
12c0: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
12d0: 72 3d 22 23 61 35 32 61 32 61 22 3e 31 31 20 3c  r="#a52a2a">11 <
12e0: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73  /font>&nbsp;&nbs
12f0: 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66  p;&nbsp;&nbsp;<f
1300: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
1310: 32 61 22 3e 3c 62 3e 65 63 68 6f 3c 2f 62 3e 3c  2a"><b>echo</b><
1320: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
1330: 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e 62 73  r="#ff00ff">&nbs
1340: 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  p;</font><font c
1350: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
1360: 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f  b>&quot;</b></fo
1370: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
1380: 23 66 66 30 30 66 66 22 3e 23 21 20 2f 75 73 72  #ff00ff">#! /usr
1390: 2f 62 69 6e 2f 65 6e 76 20 66 6f 73 73 69 6c 3c  /bin/env fossil<
13a0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
13b0: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26  r="#a52a2a"><b>&
13c0: 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  quot;</b></font>
13d0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66  <font color="#ff
13e0: 30 30 66 66 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f  00ff">&nbsp;</fo
13f0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
1400: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 67 74 3b  #a52a2a"><b>&gt;
1410: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  </b></font>&nbsp
1420: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ;<font color="#a
1430: 30 32 30 66 30 22 3e 24 44 45 53 54 49 4e 41 54  020f0">$DESTINAT
1440: 49 4f 4e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  ION</font><br>..
1450: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
1460: 32 61 32 61 22 3e 31 32 20 3c 2f 66 6f 6e 74 3e  2a2a">12 </font>
1470: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
1480: 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  p;&nbsp;<font co
1490: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
14a0: 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  >echo</b></font>
14b0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66  <font color="#ff
14c0: 30 30 66 66 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f  00ff">&nbsp;</fo
14d0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
14e0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f  #a52a2a"><b>&quo
14f0: 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f  t;</b></font><fo
1500: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
1510: 66 22 3e 72 65 70 6f 73 69 74 6f 72 79 3a 20 3c  f">repository: <
1520: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
1530: 72 3d 22 23 61 30 32 30 66 30 22 3e 24 53 4f 55  r="#a020f0">$SOU
1540: 52 43 45 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  RCE</font><font 
1550: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
1560: 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66  <b>&quot;</b></f
1570: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
1580: 22 23 66 66 30 30 66 66 22 3e 26 6e 62 73 70 3b  "#ff00ff">&nbsp;
1590: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
15a0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
15b0: 26 67 74 3b 26 67 74 3b 3c 2f 62 3e 3c 2f 66 6f  &gt;&gt;</b></fo
15c0: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
15d0: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
15e0: 44 45 53 54 49 4e 41 54 49 4f 4e 3c 2f 66 6f 6e  DESTINATION</fon
15f0: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
1600: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 33  lor="#a52a2a">13
1610: 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e   </font>&nbsp;&n
1620: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
1630: 63 68 6f 77 6e 20 3c 66 6f 6e 74 20 63 6f 6c 6f  chown <font colo
1640: 72 3d 22 23 61 30 32 30 66 30 22 3e 24 52 45 50  r="#a020f0">$REP
1650: 4f 53 49 54 4f 52 59 5f 4f 57 4e 45 52 3c 2f 66  OSITORY_OWNER</f
1660: 6f 6e 74 3e 3a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  ont>:<font color
1670: 3d 22 23 61 30 32 30 66 30 22 3e 24 43 47 49 5f  ="#a020f0">$CGI_
1680: 47 52 4f 55 50 3c 2f 66 6f 6e 74 3e 26 6e 62 73  GROUP</font>&nbs
1690: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
16a0: 61 30 32 30 66 30 22 3e 24 53 4f 55 52 43 45 3c  a020f0">$SOURCE<
16b0: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
16c0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
16d0: 22 3e 31 34 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">14 </font>&nbs
16e0: 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e  p;&nbsp;&nbsp;&n
16f0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
1700: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 63 68 6d  "#a52a2a"><b>chm
1710: 6f 64 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62  od</b></font>&nb
1720: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
1730: 23 66 66 30 30 66 66 22 3e 36 36 34 3c 2f 66 6f  #ff00ff">664</fo
1740: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
1750: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
1760: 53 4f 55 52 43 45 3c 2f 66 6f 6e 74 3e 3c 62 72  SOURCE</font><br
1770: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
1780: 23 61 35 32 61 32 61 22 3e 31 35 20 3c 2f 66 6f  #a52a2a">15 </fo
1790: 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26  nt>&nbsp;&nbsp;&
17a0: 6e 62 73 70 3b 26 6e 62 73 70 3b 63 68 6f 77 6e  nbsp;&nbsp;chown
17b0: 20 72 6f 6f 74 3a 72 6f 6f 74 20 3c 66 6f 6e 74   root:root <font
17c0: 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22   color="#a020f0"
17d0: 3e 24 44 45 53 54 49 4e 41 54 49 4f 4e 3c 2f 66  >$DESTINATION</f
17e0: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
17f0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
1800: 31 36 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  16 </font>&nbsp;
1810: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
1820: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
1830: 61 35 32 61 32 61 22 3e 3c 62 3e 63 68 6d 6f 64  a52a2a"><b>chmod
1840: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  </b></font>&nbsp
1850: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66  ;<font color="#f
1860: 66 30 30 66 66 22 3e 37 35 35 3c 2f 66 6f 6e 74  f00ff">755</font
1870: 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  >&nbsp;<font col
1880: 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 44 45  or="#a020f0">$DE
1890: 53 54 49 4e 41 54 49 4f 4e 3c 2f 66 6f 6e 74 3e  STINATION</font>
18a0: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
18b0: 72 3d 22 23 61 35 32 61 32 61 22 3e 31 37 20 3c  r="#a52a2a">17 <
18c0: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73  /font>&nbsp;&nbs
18d0: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
18e0: 61 35 32 61 32 61 22 3e 3c 62 3e 64 6f 6e 65 3c  a52a2a"><b>done<
18f0: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  /b></font><br>..
1900: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
1910: 32 61 32 61 22 3e 31 38 20 3c 2f 66 6f 6e 74 3e  2a2a">18 </font>
1920: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
1930: 32 61 32 61 22 3e 3c 62 3e 65 6c 73 65 3c 2f 62  2a2a"><b>else</b
1940: 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  ></font><br>..<f
1950: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
1960: 32 61 22 3e 31 39 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">19 </font>&n
1970: 62 73 70 3b 26 6e 62 73 70 3b 73 75 64 6f 20 3c  bsp;&nbsp;sudo <
1980: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32  font color="#a02
1990: 30 66 30 22 3e 24 30 3c 2f 66 6f 6e 74 3e 26 6e  0f0">$0</font>&n
19a0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
19b0: 22 23 61 30 32 30 66 30 22 3e 24 2a 3c 2f 66 6f  "#a020f0">$*</fo
19c0: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
19d0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 32  olor="#a52a2a">2
19e0: 30 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  0 </font><font c
19f0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
1a00: 62 3e 66 69 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  b>fi</b></font><
1a10: 62 72 3e 0d 0a 3c 2f 66 6f 6e 74 3e 3c 2f 6e 6f  br>..</font></no
1a20: 77 69 6b 69 3e 0d 0a 0d 0a 48 65 72 65 20 69 73  wiki>....Here is
1a30: 20 61 20 6c 69 74 74 6c 65 20 70 65 72 6c 20 73   a little perl s
1a40: 63 72 69 70 74 20 74 6f 20 70 75 74 20 69 6e 20  cript to put in 
1a50: 79 6f 75 72 20 63 67 69 2d 62 69 6e 20 74 6f 20  your cgi-bin to 
1a60: 6c 69 73 74 20 61 6c 6c 20 74 68 65 20 66 6f 73  list all the fos
1a70: 73 69 6c 73 20 79 6f 75 20 61 72 65 20 70 75 62  sils you are pub
1a80: 6c 69 73 68 69 6e 67 3a 0d 0a 0d 0a 3c 6e 6f 77  lishing:....<now
1a90: 69 6b 69 3e 0d 0a 3c 70 72 65 3e 0d 0a 3c 66 6f  iki>..<pre>..<fo
1aa0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
1ab0: 61 22 3e 26 6e 62 73 70 3b 31 20 3c 2f 66 6f 6e  a">&nbsp;1 </fon
1ac0: 74 3e 20 23 21 2f 75 73 72 2f 62 69 6e 2f 70 65  t> #!/usr/bin/pe
1ad0: 72 6c 20 2d 77 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  rl -w..<font col
1ae0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62  or="#a52a2a">&nb
1af0: 73 70 3b 32 20 3c 2f 66 6f 6e 74 3e 20 3c 66 6f  sp;2 </font> <fo
1b00: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 42 30 30 38  nt color="#8B008
1b10: 42 22 3e 3c 62 3e 6d 79 3c 2f 62 3e 3c 2f 66 6f  B"><b>my</b></fo
1b20: 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  nt> <font color=
1b30: 22 23 30 30 36 38 38 42 22 3e 24 43 47 49 5f 42  "#00688B">$CGI_B
1b40: 49 4e 3c 2f 66 6f 6e 74 3e 20 3d 20 3c 66 6f 6e  IN</font> = <fon
1b50: 74 20 63 6f 6c 6f 72 3d 22 23 43 44 35 35 35 35  t color="#CD5555
1b60: 22 3e 26 23 33 39 3b 2f 4c 69 62 72 61 72 79 2f  ">&#39;/Library/
1b70: 57 65 62 53 65 72 76 65 72 2f 43 47 49 2d 45 78  WebServer/CGI-Ex
1b80: 65 63 75 74 61 62 6c 65 73 26 23 33 39 3b 3c 2f  ecutables&#39;</
1b90: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
1ba0: 3d 22 23 30 30 30 30 30 30 22 3e 3b 3c 2f 66 6f  ="#000000">;</fo
1bb0: 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nt>..<font color
1bc0: 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62 73 70  ="#a52a2a">&nbsp
1bd0: 3b 33 20 3c 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74  ;3 </font> <font
1be0: 20 63 6f 6c 6f 72 3d 22 23 38 42 30 30 38 42 22   color="#8B008B"
1bf0: 3e 3c 62 3e 6d 79 3c 2f 62 3e 3c 2f 66 6f 6e 74  ><b>my</b></font
1c00: 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  > <font color="#
1c10: 30 30 36 38 38 42 22 3e 40 66 69 6c 65 73 3c 2f  00688B">@files</
1c20: 66 6f 6e 74 3e 20 3d 20 3c 66 6f 6e 74 20 63 6f  font> = <font co
1c30: 6c 6f 72 3d 22 23 43 44 35 35 35 35 22 3e 60 67  lor="#CD5555">`g
1c40: 72 65 70 20 2d 6c 20 72 65 70 6f 73 69 74 6f 72  rep -l repositor
1c50: 79 3a 20 20 24 43 47 49 5f 42 49 4e 2f 2a 20 60  y:  $CGI_BIN/* `
1c60: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
1c70: 6f 72 3d 22 23 30 30 30 30 30 30 22 3e 3b 3c 2f  or="#000000">;</
1c80: 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  font>..<font col
1c90: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62  or="#a52a2a">&nb
1ca0: 73 70 3b 34 20 3c 2f 66 6f 6e 74 3e 20 3c 66 6f  sp;4 </font> <fo
1cb0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 42 30 30 38  nt color="#8B008
1cc0: 42 22 3e 3c 62 3e 70 72 69 6e 74 3c 2f 62 3e 3c  B"><b>print</b><
1cd0: 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c  /font> <font col
1ce0: 6f 72 3d 22 23 43 44 35 35 35 35 22 3e 3c 62 3e  or="#CD5555"><b>
1cf0: 26 6c 74 3b 26 6c 74 3b 45 4f 4d 3c 2f 62 3e 3c  &lt;&lt;EOM</b><
1d00: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
1d10: 72 3d 22 23 30 30 30 30 30 30 22 3e 3b 3c 2f 66  r="#000000">;</f
1d20: 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  ont>..<font colo
1d30: 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62 73  r="#a52a2a">&nbs
1d40: 70 3b 35 20 3c 2f 66 6f 6e 74 3e 20 3c 66 6f 6e  p;5 </font> <fon
1d50: 74 20 63 6f 6c 6f 72 3d 22 23 43 44 35 35 35 35  t color="#CD5555
1d60: 22 3e 3c 69 3e 43 6f 6e 74 65 6e 74 2d 54 79 70  "><i>Content-Typ
1d70: 65 3a 20 74 65 78 74 2f 68 74 6d 6c 3c 2f 69 3e  e: text/html</i>
1d80: 3c 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63  </font>..<font c
1d90: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26  olor="#a52a2a">&
1da0: 6e 62 73 70 3b 36 20 3c 2f 66 6f 6e 74 3e 0d 0a  nbsp;6 </font>..
1db0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
1dc0: 32 61 32 61 22 3e 26 6e 62 73 70 3b 37 20 3c 2f  2a2a">&nbsp;7 </
1dd0: 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f  font> <font colo
1de0: 72 3d 22 23 43 44 35 35 35 35 22 3e 3c 69 3e 46  r="#CD5555"><i>F
1df0: 6f 73 73 69 6c 73 20 66 6f 72 20 74 68 69 73 20  ossils for this 
1e00: 73 65 72 76 65 72 3c 2f 69 3e 3c 2f 66 6f 6e 74  server</i></font
1e10: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
1e20: 23 61 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 38  #a52a2a">&nbsp;8
1e30: 20 3c 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63   </font> <font c
1e40: 6f 6c 6f 72 3d 22 23 43 44 35 35 35 35 22 3e 3c  olor="#CD5555"><
1e50: 69 3e 26 6c 74 3b 75 6c 26 67 74 3b 3c 2f 69 3e  i>&lt;ul&gt;</i>
1e60: 3c 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63  </font>..<font c
1e70: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26  olor="#a52a2a">&
1e80: 6e 62 73 70 3b 39 20 3c 2f 66 6f 6e 74 3e 20 3c  nbsp;9 </font> <
1e90: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 43 44 35  font color="#CD5
1ea0: 35 35 35 22 3e 3c 62 3e 45 4f 4d 3c 2f 62 3e 3c  555"><b>EOM</b><
1eb0: 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  /font>..<font co
1ec0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
1ed0: 62 73 70 3b 31 20 3c 2f 66 6f 6e 74 3e 30 0d 0a  bsp;1 </font>0..
1ee0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
1ef0: 32 61 32 61 22 3e 26 6e 62 73 70 3b 31 20 3c 2f  2a2a">&nbsp;1 </
1f00: 66 6f 6e 74 3e 31 20 3c 66 6f 6e 74 20 63 6f 6c  font>1 <font col
1f10: 6f 72 3d 22 23 38 42 30 30 38 42 22 3e 3c 62 3e  or="#8B008B"><b>
1f20: 66 6f 72 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 20 3c  for</b></font> <
1f30: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30  font color="#000
1f40: 30 30 30 22 3e 28 3c 2f 66 6f 6e 74 3e 3c 66 6f  000">(</font><fo
1f50: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 36 38 38  nt color="#00688
1f60: 42 22 3e 40 66 69 6c 65 73 3c 2f 66 6f 6e 74 3e  B">@files</font>
1f70: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30  <font color="#00
1f80: 30 30 30 30 22 3e 29 3c 2f 66 6f 6e 74 3e 20 3c  0000">)</font> <
1f90: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30  font color="#000
1fa0: 30 30 30 22 3e 7b 3c 2f 66 6f 6e 74 3e 0d 0a 3c  000">{</font>..<
1fb0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
1fc0: 61 32 61 22 3e 26 6e 62 73 70 3b 31 20 3c 2f 66  a2a">&nbsp;1 </f
1fd0: 6f 6e 74 3e 32 20 20 20 3c 66 6f 6e 74 20 63 6f  ont>2   <font co
1fe0: 6c 6f 72 3d 22 23 43 44 35 35 35 35 22 3e 73 7b  lor="#CD5555">s{
1ff0: 2e 2a 2f 7d 7b 7d 3c 2f 66 6f 6e 74 3e 3c 66 6f  .*/}{}</font><fo
2000: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30 30 30  nt color="#00000
2010: 30 22 3e 3b 3c 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f  0">;</font>..<fo
2020: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
2030: 61 22 3e 26 6e 62 73 70 3b 31 20 3c 2f 66 6f 6e  a">&nbsp;1 </fon
2040: 74 3e 33 20 20 20 3c 66 6f 6e 74 20 63 6f 6c 6f  t>3   <font colo
2050: 72 3d 22 23 38 42 30 30 38 42 22 3e 3c 62 3e 6e  r="#8B008B"><b>n
2060: 65 78 74 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 20 3c  ext</b></font> <
2070: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 42 30  font color="#8B0
2080: 30 38 42 22 3e 3c 62 3e 69 66 3c 2f 62 3e 3c 2f  08B"><b>if</b></
2090: 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63 6f 6c 6f  font> <font colo
20a0: 72 3d 22 23 43 44 35 35 35 35 22 3e 2f 7e 24 2f  r="#CD5555">/~$/
20b0: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
20c0: 6f 72 3d 22 23 30 30 30 30 30 30 22 3e 3b 3c 2f  or="#000000">;</
20d0: 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  font>..<font col
20e0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62  or="#a52a2a">&nb
20f0: 73 70 3b 31 20 3c 2f 66 6f 6e 74 3e 34 20 20 20  sp;1 </font>4   
2100: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 42  <font color="#8B
2110: 30 30 38 42 22 3e 3c 62 3e 70 72 69 6e 74 3c 2f  008B"><b>print</
2120: 62 3e 3c 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20  b></font> <font 
2130: 63 6f 6c 6f 72 3d 22 23 43 44 35 35 35 35 22 3e  color="#CD5555">
2140: 26 71 75 6f 74 3b 26 6c 74 3b 6c 69 26 67 74 3b  &quot;&lt;li&gt;
2150: 26 6c 74 3b 61 20 68 72 65 66 3d 26 23 33 39 3b  &lt;a href=&#39;
2160: 24 5f 26 23 33 39 3b 26 67 74 3b 24 5f 26 6c 74  $_&#39;&gt;$_&lt
2170: 3b 2f 61 26 67 74 3b 26 6c 74 3b 2f 6c 69 26 67  ;/a&gt;&lt;/li&g
2180: 74 3b 5c 6e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74  t;\n&quot;</font
2190: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30  ><font color="#0
21a0: 30 30 30 30 30 22 3e 3b 3c 2f 66 6f 6e 74 3e 0d  00000">;</font>.
21b0: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
21c0: 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 31 20 3c  52a2a">&nbsp;1 <
21d0: 2f 66 6f 6e 74 3e 35 20 3c 66 6f 6e 74 20 63 6f  /font>5 <font co
21e0: 6c 6f 72 3d 22 23 30 30 30 30 30 30 22 3e 7d 3c  lor="#000000">}<
21f0: 2f 66 6f 6e 74 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  /font>..<font co
2200: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
2210: 62 73 70 3b 31 20 3c 2f 66 6f 6e 74 3e 36 20 3c  bsp;1 </font>6 <
2220: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 38 42 30  font color="#8B0
2230: 30 38 42 22 3e 3c 62 3e 70 72 69 6e 74 3c 2f 62  08B"><b>print</b
2240: 3e 3c 2f 66 6f 6e 74 3e 20 3c 66 6f 6e 74 20 63  ></font> <font c
2250: 6f 6c 6f 72 3d 22 23 43 44 35 35 35 35 22 3e 26  olor="#CD5555">&
2260: 71 75 6f 74 3b 26 6c 74 3b 2f 75 6c 26 67 74 3b  quot;&lt;/ul&gt;
2270: 5c 6e 26 71 75 6f 74 3b 3c 2f 66 6f 6e 74 3e 3c  \n&quot;</font><
2280: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30  font color="#000
2290: 30 30 30 22 3e 3b 3c 2f 66 6f 6e 74 3e 0d 0a 3c  000">;</font>..<
22a0: 2f 70 72 65 3e 0d 0a 0d 0a 3c 70 72 65 3e 0d 0a  /pre>....<pre>..
22b0: 23 21 2f 75 73 72 2f 62 69 6e 2f 70 65 72 6c 20  #!/usr/bin/perl 
22c0: 2d 77 0d 0a 6d 79 20 24 43 47 49 5f 42 49 4e 20  -w..my $CGI_BIN 
22d0: 3d 20 27 2f 4c 69 62 72 61 72 79 2f 57 65 62 53  = '/Library/WebS
22e0: 65 72 76 65 72 2f 43 47 49 2d 45 78 65 63 75 74  erver/CGI-Execut
22f0: 61 62 6c 65 73 27 3b 0d 0a 6d 79 20 40 66 69 6c  ables';..my @fil
2300: 65 73 20 3d 20 60 67 72 65 70 20 2d 6c 20 72 65  es = `grep -l re
2310: 70 6f 73 69 74 6f 72 79 3a 20 20 24 43 47 49 5f  pository:  $CGI_
2320: 42 49 4e 2f 2a 20 60 3b 0d 0a 70 72 69 6e 74 20  BIN/* `;..print 
2330: 26 6c 74 3b 26 6c 74 3b 45 4f 4d 3b 0d 0a 43 6f  &lt;&lt;EOM;..Co
2340: 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74  ntent-Type: text
2350: 2f 68 74 6d 6c 0d 0a 0d 0a 46 6f 73 73 69 6c 73  /html....Fossils
2360: 20 66 6f 72 20 74 68 69 73 20 73 65 72 76 65 72   for this server
2370: 0d 0a 26 6c 74 3b 75 6c 3e 0d 0a 45 4f 4d 0d 0a  ..&lt;ul>..EOM..
2380: 0d 0a 66 6f 72 20 28 40 66 69 6c 65 73 29 20 7b  ..for (@files) {
2390: 0d 0a 20 20 73 7b 2e 2a 2f 7d 7b 7d 3b 0d 0a 20  ..  s{.*/}{};.. 
23a0: 20 6e 65 78 74 20 69 66 20 2f 7e 24 2f 3b 0d 0a   next if /~$/;..
23b0: 20 20 70 72 69 6e 74 20 22 26 6c 74 3b 6c 69 3e    print "&lt;li>
23c0: 26 6c 74 3b 61 20 68 72 65 66 3d 27 24 5f 27 3e  &lt;a href='$_'>
23d0: 24 5f 26 6c 74 3b 2f 61 3e 26 6c 74 3b 2f 6c 69  $_&lt;/a>&lt;/li
23e0: 3e 5c 6e 22 3b 0d 0a 7d 0d 0a 70 72 69 6e 74 20  >\n";..}..print 
23f0: 22 26 6c 74 3b 2f 75 6c 3e 5c 6e 22 3b 3c 2f 70  "&lt;/ul>\n";</p
2400: 72 65 3e 0d 0a 3c 2f 6e 6f 77 69 6b 69 3e 0d 0a  re>..</nowiki>..
2410: 0d 0a 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20  ..The following 
2420: 3c 63 69 74 65 3e 61 70 61 63 68 65 32 3c 2f 63  <cite>apache2</c
2430: 69 74 65 3e 20 63 6f 6e 66 69 67 75 72 61 74 69  ite> configurati
2440: 6f 6e 20 63 61 6e 20 62 65 20 75 73 65 64 20 74  on can be used t
2450: 6f 20 72 75 6e 20 74 68 65 20 72 6f 6f 74 20 6f  o run the root o
2460: 66 20 61 20 77 65 62 20 73 69 74 65 20 77 69 74  f a web site wit
2470: 68 20 66 6f 73 73 69 6c 2c 20 62 75 74 20 73 74  h fossil, but st
2480: 69 6c 6c 20 61 6c 6c 6f 77 20 6f 74 68 65 72 20  ill allow other 
2490: 73 65 72 76 69 63 65 73 20 2f 20 64 6f 63 75 6d  services / docum
24a0: 65 6e 74 73 20 74 6f 20 62 65 20 72 65 61 63 68  ents to be reach
24b0: 65 64 20 76 69 61 20 73 70 65 63 69 66 69 63 20  ed via specific 
24c0: 55 52 4c 73 2e 20 52 65 70 6c 61 63 65 20 22 63  URLs. Replace "c
24d0: 6f 64 65 2e 61 75 74 6f 6e 6f 6d 6f 2e 75 73 22  ode.autonomo.us"
24e0: 20 77 69 74 68 20 79 6f 75 72 20 73 69 74 65 27   with your site'
24f0: 73 20 6e 61 6d 65 20 61 6e 64 20 22 64 63 6c 61  s name and "dcla
2500: 72 6b 40 70 6f 62 6f 78 2e 63 6f 6d 22 20 77 69  rk@pobox.com" wi
2510: 74 68 20 79 6f 75 72 20 65 6d 61 69 6c 2e 0d 0a  th your email...
2520: 0d 0a 3c 76 65 72 62 61 74 69 6d 3e 0d 0a 4e 61  ..<verbatim>..Na
2530: 6d 65 56 69 72 74 75 61 6c 48 6f 73 74 20 2a 3a  meVirtualHost *:
2540: 38 30 0d 0a 3c 56 69 72 74 75 61 6c 48 6f 73 74  80..<VirtualHost
2550: 20 2a 3a 38 30 3e 0d 0a 20 20 20 20 53 65 72 76   *:80>..    Serv
2560: 65 72 4e 61 6d 65 20 63 6f 64 65 2e 61 75 74 6f  erName code.auto
2570: 6e 6f 6d 6f 2e 75 73 0d 0a 20 20 20 20 53 65 72  nomo.us..    Ser
2580: 76 65 72 41 64 6d 69 6e 20 64 63 6c 61 72 6b 40  verAdmin dclark@
2590: 70 6f 62 6f 78 2e 63 6f 6d 0d 0a 20 20 20 20 45  pobox.com..    E
25a0: 72 72 6f 72 4c 6f 67 20 2f 76 61 72 2f 6c 6f 67  rrorLog /var/log
25b0: 2f 61 70 61 63 68 65 32 2f 63 6f 64 65 2e 61 75  /apache2/code.au
25c0: 74 6f 6e 6f 6d 6f 2e 75 73 2d 65 72 72 6f 72 2e  tonomo.us-error.
25d0: 6c 6f 67 0d 0a 20 20 20 20 4c 6f 67 4c 65 76 65  log..    LogLeve
25e0: 6c 20 77 61 72 6e 0d 0a 20 20 20 20 43 75 73 74  l warn..    Cust
25f0: 6f 6d 4c 6f 67 20 2f 76 61 72 2f 6c 6f 67 2f 61  omLog /var/log/a
2600: 70 61 63 68 65 32 2f 63 6f 64 65 2e 61 75 74 6f  pache2/code.auto
2610: 6e 6f 6d 6f 2e 75 73 2d 61 63 63 65 73 73 2e 6c  nomo.us-access.l
2620: 6f 67 20 63 6f 6d 62 69 6e 65 64 0d 0a 20 20 20  og combined..   
2630: 20 53 65 72 76 65 72 53 69 67 6e 61 74 75 72 65   ServerSignature
2640: 20 4f 6e 0d 0a 0d 0a 20 20 20 20 44 6f 63 75 6d   On....    Docum
2650: 65 6e 74 52 6f 6f 74 20 2f 76 61 72 2f 77 77 77  entRoot /var/www
2660: 2f 0d 0a 0d 0a 20 20 20 20 53 63 72 69 70 74 41  /....    ScriptA
2670: 6c 69 61 73 20 2f 63 67 69 2d 62 69 6e 2f 20 2f  lias /cgi-bin/ /
2680: 75 73 72 2f 6c 69 62 2f 63 67 69 2d 62 69 6e 2f  usr/lib/cgi-bin/
2690: 0d 0a 20 20 20 20 3c 44 69 72 65 63 74 6f 72 79  ..    <Directory
26a0: 20 22 2f 75 73 72 2f 6c 69 62 2f 63 67 69 2d 62   "/usr/lib/cgi-b
26b0: 69 6e 22 3e 0d 0a 20 20 20 20 20 20 20 20 41 6c  in">..        Al
26c0: 6c 6f 77 4f 76 65 72 72 69 64 65 20 4e 6f 6e 65  lowOverride None
26d0: 0d 0a 20 20 20 20 20 20 20 20 4f 70 74 69 6f 6e  ..        Option
26e0: 73 20 2b 45 78 65 63 43 47 49 20 2d 4d 75 6c 74  s +ExecCGI -Mult
26f0: 69 56 69 65 77 73 20 2b 53 79 6d 4c 69 6e 6b 73  iViews +SymLinks
2700: 49 66 4f 77 6e 65 72 4d 61 74 63 68 0d 0a 20 20  IfOwnerMatch..  
2710: 20 20 20 20 20 20 4f 72 64 65 72 20 61 6c 6c 6f        Order allo
2720: 77 2c 64 65 6e 79 0d 0a 20 20 20 20 20 20 20 20  w,deny..        
2730: 41 6c 6c 6f 77 20 66 72 6f 6d 20 61 6c 6c 0d 0a  Allow from all..
2740: 20 20 20 20 3c 2f 44 69 72 65 63 74 6f 72 79 3e      </Directory>
2750: 0d 0a 0d 0a 20 20 20 20 23 20 46 6f 73 73 69 6c  ....    # Fossil
2760: 20 53 43 4d 20 61 74 20 72 6f 6f 74 20 6f 66 20   SCM at root of 
2770: 77 65 62 20 73 69 74 65 20 28 68 74 74 70 3a 2f  web site (http:/
2780: 2f 65 78 61 6d 70 6c 65 2e 63 6f 6d 29 20 63 6f  /example.com) co
2790: 6e 66 69 67 75 72 61 74 69 6f 6e 2e 2e 2e 0d 0a  nfiguration.....
27a0: 20 20 20 20 52 65 77 72 69 74 65 45 6e 67 69 6e      RewriteEngin
27b0: 65 20 4f 6e 0d 0a 20 20 20 20 23 20 52 65 77 72  e On..    # Rewr
27c0: 69 74 65 43 6f 6e 64 20 2d 20 4f 6e 65 20 66 6f  iteCond - One fo
27d0: 72 20 65 76 65 72 79 20 55 52 4c 20 77 65 20 64  r every URL we d
27e0: 6f 6e 27 74 20 77 61 6e 74 20 46 6f 73 73 69 6c  on't want Fossil
27f0: 20 53 43 4d 20 74 6f 20 73 65 72 76 65 2e 20 49   SCM to serve. I
2800: 6e 20 74 68 65 0d 0a 20 20 20 20 23 20 20 20 20  n the..    #    
2810: 20 20 20 20 20 20 20 20 20 20 20 65 78 61 6d 70             examp
2820: 6c 65 2c 20 72 65 71 75 65 73 74 73 20 74 68 61  le, requests tha
2830: 74 20 67 6f 20 74 6f 20 74 68 65 20 2f 76 61 72  t go to the /var
2840: 2f 77 77 77 2f 74 6d 70 20 64 69 72 65 63 74 6f  /www/tmp directo
2850: 72 79 20 61 6e 64 20 0d 0a 20 20 20 20 23 20 20  ry and ..    #  
2860: 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65               the
2870: 20 2f 75 73 72 2f 6c 69 62 2f 63 67 69 2d 62 69   /usr/lib/cgi-bi
2880: 6e 20 64 69 72 65 63 74 6f 74 79 20 61 72 65 20  n directoty are 
2890: 69 67 6e 6f 72 65 64 20 62 79 20 46 6f 73 73 69  ignored by Fossi
28a0: 6c 20 53 43 4d 2e 0d 0a 20 20 20 20 52 65 77 72  l SCM...    Rewr
28b0: 69 74 65 43 6f 6e 64 20 25 7b 52 45 51 55 45 53  iteCond %{REQUES
28c0: 54 5f 55 52 49 7d 20 21 5e 2f 74 6d 70 2f 2e 2a  T_URI} !^/tmp/.*
28d0: 24 0d 0a 20 20 20 20 52 65 77 72 69 74 65 43 6f  $..    RewriteCo
28e0: 6e 64 20 25 7b 52 45 51 55 45 53 54 5f 55 52 49  nd %{REQUEST_URI
28f0: 7d 20 21 5e 2f 63 67 69 2d 62 69 6e 2f 2e 2a 24  } !^/cgi-bin/.*$
2900: 0d 0a 20 20 20 20 52 65 77 72 69 74 65 52 75 6c  ..    RewriteRul
2910: 65 20 5e 28 2e 2a 29 24 20 2f 75 73 72 2f 6c 69  e ^(.*)$ /usr/li
2920: 62 2f 63 67 69 2d 62 69 6e 2f 63 6f 64 65 2e 61  b/cgi-bin/code.a
2930: 75 74 6f 6e 6f 6d 6f 2e 75 73 2f 24 31 20 5b 54  utonomo.us/$1 [T
2940: 3d 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 68  =application/x-h
2950: 74 74 70 64 2d 63 67 69 5d 0d 0a 3c 2f 56 69 72  ttpd-cgi]..</Vir
2960: 74 75 61 6c 48 6f 73 74 3e 0d 0a 3c 2f 76 65 72  tualHost>..</ver
2970: 62 61 74 69 6d 3e 0d 0a 0d 0a 2f 75 73 72 2f 6c  batim>..../usr/l
2980: 69 62 2f 63 67 69 2d 62 69 6e 2f 63 6f 64 65 2e  ib/cgi-bin/code.
2990: 61 75 74 6f 6e 6f 6d 6f 2e 75 73 20 69 73 20 6a  autonomo.us is j
29a0: 75 73 74 20 61 20 73 74 61 6e 64 61 72 64 20 66  ust a standard f
29b0: 6f 73 73 69 6c 20 43 47 49 20 66 69 6c 65 3b 20  ossil CGI file; 
29c0: 69 74 20 6c 6f 6f 6b 73 20 6c 69 6b 65 20 74 68  it looks like th
29d0: 69 73 3a 0d 0a 0d 0a 3c 76 65 72 62 61 74 69 6d  is:....<verbatim
29e0: 3e 0d 0a 23 21 2f 75 73 72 2f 62 69 6e 2f 66 6f  >..#!/usr/bin/fo
29f0: 73 73 69 6c 0d 0a 72 65 70 6f 73 69 74 6f 72 79  ssil..repository
2a00: 3a 20 2f 73 72 76 2f 66 6f 73 73 69 6c 2d 73 63  : /srv/fossil-sc
2a10: 6d 2f 63 6f 64 65 2e 61 75 74 6f 6e 6f 6d 6f 2e  m/code.autonomo.
2a20: 75 73 2e 66 6f 73 73 69 6c 2d 73 63 6d 0d 0a 3c  us.fossil-scm..<
2a30: 2f 76 65 72 62 61 74 69 6d 3e 0d 0a 0d 0a 3c 68  /verbatim>....<h
2a40: 33 3e 41 6e 6f 74 68 65 72 20 73 6f 6c 75 74 69  3>Another soluti
2a50: 6f 6e 20 74 6f 20 3c 69 3e 61 75 74 6f 6d 61 74  on to <i>automat
2a60: 69 63 61 6c 6c 79 3c 2f 69 3e 20 73 65 72 76 65  ically</i> serve
2a70: 20 6d 75 6c 74 69 70 6c 65 20 72 65 70 6f 73 69   multiple reposi
2a80: 74 6f 72 69 65 73 3c 2f 68 33 3e 0d 0a 0d 0a 57  tories</h3>....W
2a90: 69 74 68 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e  ith the followin
2aa0: 67 20 43 47 49 20 73 63 72 69 70 74 20 28 49 20  g CGI script (I 
2ab0: 68 61 76 65 20 6e 61 6d 65 64 20 69 74 20 3c 73  have named it <s
2ac0: 61 6d 70 3e 70 3c 2f 73 61 6d 70 3e 20 73 69 6d  amp>p</samp> sim
2ad0: 70 6c 79 29 20 69 74 20 69 73 20 70 6f 73 73 69  ply) it is possi
2ae0: 62 6c 65 20 74 6f 20 64 65 66 69 6e 65 20 61 20  ble to define a 
2af0: 6c 6f 63 61 74 69 6f 6e 20 77 68 65 72 65 20 61  location where a
2b00: 6c 6c 20 74 68 65 20 79 6f 75 72 20 72 65 70 6f  ll the your repo
2b10: 73 69 74 6f 72 69 65 73 20 73 68 6f 75 6c 64 20  sitories should 
2b20: 62 65 20 6c 6f 63 61 74 65 64 20 28 69 6e 20 74  be located (in t
2b30: 68 69 73 20 65 78 61 6d 70 6c 65 3a 20 3c 73 61  his example: <sa
2b40: 6d 70 3e 2f 68 6f 6d 65 2f 72 65 70 6f 73 2f 66  mp>/home/repos/f
2b50: 6f 73 73 69 6c 3c 2f 73 61 6d 70 3e 29 2e 20 41  ossil</samp>). A
2b60: 6c 6c 20 74 68 65 20 72 65 70 6f 73 69 74 6f 72  ll the repositor
2b70: 69 65 73 20 61 72 65 20 6e 61 6d 65 64 20 61 63  ies are named ac
2b80: 63 6f 72 64 69 6e 67 20 74 68 65 20 73 63 68 65  cording the sche
2b90: 6d 65 20 3c 73 61 6d 70 3e 3c 70 72 6f 6a 65 63  me <samp><projec
2ba0: 74 20 6e 61 6d 65 3e 2e 66 73 6c 3c 2f 73 61 6d  t name>.fsl</sam
2bb0: 70 3e 20 66 6f 72 20 73 61 6b 65 20 6f 66 20 74  p> for sake of t
2bc0: 68 69 73 20 65 78 61 6d 70 6c 65 2e 0d 0a 0d 0a  his example.....
2bd0: 49 66 20 74 68 69 73 20 73 63 72 69 70 74 20 69  If this script i
2be0: 73 20 63 61 6c 6c 65 64 20 61 6c 6f 6e 65 20 28  s called alone (
2bf0: 6c 69 6b 65 20 65 2e 67 2e 3a 20 3c 73 61 6d 70  like e.g.: <samp
2c00: 3e 68 74 74 70 3a 2f 2f 79 6f 75 72 2e 73 65 72  >http://your.ser
2c10: 76 65 72 2e 68 65 72 65 2f 63 67 69 2d 62 69 6e  ver.here/cgi-bin
2c20: 2f 70 3c 2f 73 61 6d 70 3e 29 2c 20 69 74 20 77  /p</samp>), it w
2c30: 69 6c 6c 20 6c 69 73 74 20 61 6c 6c 20 72 65 70  ill list all rep
2c40: 6f 73 69 74 6f 72 69 65 73 20 6c 6f 63 61 74 65  ositories locate
2c50: 64 20 75 6e 64 65 72 20 3c 73 61 6d 70 3e 24 52  d under <samp>$R
2c60: 45 50 4f 53 52 4f 4f 54 3c 2f 73 61 6d 70 3e 2c  EPOSROOT</samp>,
2c70: 20 3c 62 3e 69 66 3c 2f 62 3e 20 74 68 65 72 65   <b>if</b> there
2c80: 20 3c 62 3e 64 6f 65 73 20 6e 6f 74 3c 2f 62 3e   <b>does not</b>
2c90: 20 65 78 69 73 74 20 61 20 63 6f 72 72 65 73 70   exist a corresp
2ca0: 6f 6e 64 69 6e 67 20 66 69 6c 65 20 3c 73 61 6d  onding file <sam
2cb0: 70 3e 2e 3c 70 72 6f 6a 65 63 74 20 6e 61 6d 65  p>.<project name
2cc0: 3e 3c 2f 73 61 6d 70 3e 20 28 74 68 61 74 20 6d  ></samp> (that m
2cd0: 65 63 68 61 6e 69 73 6d 20 69 73 20 75 73 65 64  echanism is used
2ce0: 20 74 6f 20 3c 69 3e 68 69 64 65 3c 2f 69 3e 20   to <i>hide</i> 
2cf0: 73 6f 6d 65 20 72 65 70 6f 73 69 74 6f 72 79 20  some repository 
2d00: 69 6e 20 74 68 65 20 6c 69 73 74 69 6e 67 29 2e  in the listing).
2d10: 0d 0a 0d 0a 49 66 20 74 68 65 20 73 63 72 69 70  ....If the scrip
2d20: 74 20 69 73 20 63 61 6c 6c 65 64 20 6c 69 6b 65  t is called like
2d30: 20 65 2e 67 2e 20 3c 73 61 6d 70 3e 68 74 74 70   e.g. <samp>http
2d40: 3a 2f 2f 79 6f 75 72 2e 73 65 72 76 65 72 2e 68  ://your.server.h
2d50: 65 72 65 2f 63 67 69 2d 62 69 6e 2f 70 2f 3c 70  ere/cgi-bin/p/<p
2d60: 72 6f 6a 65 63 74 20 6e 61 6d 65 3e 3c 2f 73 61  roject name></sa
2d70: 6d 70 3e 2c 20 74 68 65 6e 20 74 68 65 20 63 6f  mp>, then the co
2d80: 72 72 65 73 70 6f 6e 64 69 6e 67 20 72 65 70 6f  rresponding repo
2d90: 73 69 74 6f 72 79 20 77 69 6c 6c 20 62 65 20 73  sitory will be s
2da0: 65 6c 65 63 74 65 64 20 74 6f 20 77 6f 72 6b 20  elected to work 
2db0: 77 69 74 68 2e 0d 0a 0d 0a 54 68 65 20 6c 69 6e  with.....The lin
2dc0: 65 73 20 35 20 2d 20 38 20 69 6e 20 74 68 65 20  es 5 - 8 in the 
2dd0: 73 63 72 69 70 74 20 62 65 6c 6f 77 20 61 6c 6c  script below all
2de0: 6f 77 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e  ow configuration
2df0: 20 66 6f 72 20 79 6f 75 20 6e 65 65 64 73 2e 20   for you needs. 
2e00: 59 6f 75 20 68 61 76 65 20 74 6f 20 63 68 6f 73  You have to chos
2e10: 65 2c 20 77 68 61 74 20 66 6f 73 73 69 6c 20 62  e, what fossil b
2e20: 69 6e 61 72 79 20 74 6f 20 75 73 65 2c 20 77 68  inary to use, wh
2e30: 61 74 20 65 78 74 65 6e 73 69 6f 6e 20 79 6f 75  at extension you
2e40: 72 20 72 65 70 6f 73 69 74 6f 72 79 20 64 61 74  r repository dat
2e50: 61 62 61 73 65 73 20 68 61 76 65 20 61 6e 64 20  abases have and 
2e60: 77 68 65 72 65 20 61 6c 6c 20 79 6f 75 72 20 64  where all your d
2e70: 61 74 61 62 61 73 65 73 20 61 72 65 20 6c 6f 63  atabases are loc
2e80: 61 74 65 64 2e 0d 0a 0d 0a 3c 6e 6f 77 69 6b 69  ated.....<nowiki
2e90: 3e 0d 0a 3c 66 6f 6e 74 20 66 61 63 65 3d 22 6d  >..<font face="m
2ea0: 6f 6e 6f 73 70 61 63 65 22 3e 0d 0a 3c 66 6f 6e  onospace">..<fon
2eb0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
2ec0: 22 3e 26 6e 62 73 70 3b 31 20 3c 2f 66 6f 6e 74  ">&nbsp;1 </font
2ed0: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30  ><font color="#0
2ee0: 30 30 30 66 66 22 3e 23 21 2f 62 69 6e 2f 73 68  000ff">#!/bin/sh
2ef0: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
2f00: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
2f10: 61 22 3e 26 6e 62 73 70 3b 32 20 3c 2f 66 6f 6e  a">&nbsp;2 </fon
2f20: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
2f30: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
2f40: 62 73 70 3b 33 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  bsp;3 </font><fo
2f50: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30 30 66  nt color="#0000f
2f60: 66 22 3e 23 23 23 20 43 6f 6e 66 69 67 75 72 61  f">### Configura
2f70: 74 69 6f 6e 20 73 65 63 74 69 6f 6e 20 23 23 23  tion section ###
2f80: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
2f90: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
2fa0: 61 22 3e 26 6e 62 73 70 3b 34 20 3c 2f 66 6f 6e  a">&nbsp;4 </fon
2fb0: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
2fc0: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e  lor="#a52a2a">&n
2fd0: 62 73 70 3b 35 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  bsp;5 </font><fo
2fe0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38  nt color="#008b8
2ff0: 62 22 3e 54 49 54 4c 45 3c 2f 66 6f 6e 74 3e 3d  b">TITLE</font>=
3000: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
3010: 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c  2a2a"><b>&quot;<
3020: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  /b></font><font 
3030: 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e  color="#ff00ff">
3040: 26 6c 74 3b 68 32 26 67 74 3b 46 6f 73 73 69 6c  &lt;h2&gt;Fossil
3050: 20 72 65 70 6f 73 69 74 6f 72 69 65 73 26 6c 74   repositories&lt
3060: 3b 2f 68 32 26 67 74 3b 3c 2f 66 6f 6e 74 3e 3c  ;/h2&gt;</font><
3070: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
3080: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
3090: 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  b></font><br>..<
30a0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
30b0: 61 32 61 22 3e 26 6e 62 73 70 3b 36 20 3c 2f 66  a2a">&nbsp;6 </f
30c0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
30d0: 22 23 30 30 38 62 38 62 22 3e 46 4f 53 53 49 4c  "#008b8b">FOSSIL
30e0: 3c 2f 66 6f 6e 74 3e 3d 2f 75 73 72 2f 6c 6f 63  </font>=/usr/loc
30f0: 61 6c 2f 62 69 6e 2f 66 6f 73 73 69 6c 3c 62 72  al/bin/fossil<br
3100: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
3110: 23 61 35 32 61 32 61 22 3e 26 6e 62 73 70 3b 37  #a52a2a">&nbsp;7
3120: 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f   </font><font co
3130: 6c 6f 72 3d 22 23 30 30 38 62 38 62 22 3e 52 45  lor="#008b8b">RE
3140: 50 4f 53 52 4f 4f 54 3c 2f 66 6f 6e 74 3e 3d 2f  POSROOT</font>=/
3150: 68 6f 6d 65 2f 72 65 70 6f 73 2f 66 6f 73 73 69  home/repos/fossi
3160: 6c 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  l<br>..<font col
3170: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 26 6e 62  or="#a52a2a">&nb
3180: 73 70 3b 38 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  sp;8 </font><fon
3190: 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62  t color="#008b8b
31a0: 22 3e 52 45 50 4f 53 45 58 54 3c 2f 66 6f 6e 74  ">REPOSEXT</font
31b0: 3e 3d 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  >=<font color="#
31c0: 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74  a52a2a"><b>&quot
31d0: 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ;</b></font><fon
31e0: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
31f0: 22 3e 2e 66 73 6c 3c 2f 66 6f 6e 74 3e 3c 66 6f  ">.fsl</font><fo
3200: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3210: 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e  a"><b>&quot;</b>
3220: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
3230: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3240: 61 22 3e 26 6e 62 73 70 3b 39 20 3c 2f 66 6f 6e  a">&nbsp;9 </fon
3250: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
3260: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 30  lor="#a52a2a">10
3270: 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f   </font><font co
3280: 6c 6f 72 3d 22 23 30 30 30 30 66 66 22 3e 23 23  lor="#0000ff">##
3290: 23 20 50 72 6f 63 65 73 73 69 6e 67 20 73 65 63  # Processing sec
32a0: 74 69 6f 6e 20 2d 2d 20 6e 6f 74 68 69 6e 67 20  tion -- nothing 
32b0: 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 68 65 72  to configure her
32c0: 65 21 20 23 23 23 3c 2f 66 6f 6e 74 3e 3c 62 72  e! ###</font><br
32d0: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
32e0: 23 61 35 32 61 32 61 22 3e 31 31 20 3c 2f 66 6f  #a52a2a">11 </fo
32f0: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
3300: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31  olor="#a52a2a">1
3310: 32 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  2 </font><font c
3320: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
3330: 62 3e 73 65 74 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  b>set</b></font>
3340: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30  <font color="#00
3350: 38 62 38 62 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f  8b8b">&nbsp;</fo
3360: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
3370: 23 36 61 35 61 63 64 22 3e 2d 66 3c 2f 66 6f 6e  #6a5acd">-f</fon
3380: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
3390: 30 30 38 62 38 62 22 3e 26 6e 62 73 70 3b 26 6e  008b8b">&nbsp;&n
33a0: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
33b0: 3c 2f 66 6f 6e 74 3e 3b 20 3c 66 6f 6e 74 20 63  </font>; <font c
33c0: 6f 6c 6f 72 3d 22 23 30 30 30 30 66 66 22 3e 23  olor="#0000ff">#
33d0: 20 64 69 73 61 62 6c 65 20 66 69 6c 65 6e 61 6d   disable filenam
33e0: 65 20 67 6c 6f 62 62 69 6e 67 3c 2f 66 6f 6e 74  e globbing</font
33f0: 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  ><br>..<font col
3400: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 33 20  or="#a52a2a">13 
3410: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
3420: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
3430: 61 22 3e 31 34 20 3c 2f 66 6f 6e 74 3e 3c 66 6f  a">14 </font><fo
3440: 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30 30 66  nt color="#0000f
3450: 66 22 3e 23 23 20 53 6f 6d 65 20 68 65 6c 70 65  f">## Some helpe
3460: 72 20 66 75 6e 63 74 69 6f 6e 73 3c 2f 66 6f 6e  r functions</fon
3470: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
3480: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 31 35  lor="#a52a2a">15
3490: 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66   </font><br>..<f
34a0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
34b0: 32 61 22 3e 31 36 20 3c 2f 66 6f 6e 74 3e 3c 66  2a">16 </font><f
34c0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62  ont color="#008b
34d0: 38 62 22 3e 48 65 61 64 65 72 54 65 78 74 20 28  8b">HeaderText (
34e0: 29 20 7b 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  ) {</font><br>..
34f0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
3500: 32 61 32 61 22 3e 31 37 20 3c 2f 66 6f 6e 74 3e  2a2a">17 </font>
3510: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
3520: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
3530: 22 3e 3c 62 3e 69 66 20 3c 2f 62 3e 3c 2f 66 6f  "><b>if </b></fo
3540: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
3550: 23 61 35 32 61 32 61 22 3e 3c 62 3e 5b 3c 2f 62  #a52a2a"><b>[</b
3560: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
3570: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
3580: 32 61 22 3e 3c 62 3e 2d 7a 3c 2f 62 3e 3c 2f 66  2a"><b>-z</b></f
3590: 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  ont>&nbsp;<font 
35a0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
35b0: 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66  <b>&quot;</b></f
35c0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
35d0: 22 23 61 30 32 30 66 30 22 3e 24 68 65 61 64 65  "#a020f0">$heade
35e0: 72 57 72 69 74 74 65 6e 3c 2f 66 6f 6e 74 3e 3c  rWritten</font><
35f0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
3600: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
3610: 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c  b></font>&nbsp;<
3620: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
3630: 61 32 61 22 3e 3c 62 3e 5d 3c 2f 62 3e 3c 2f 66  a2a"><b>]</b></f
3640: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
3650: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 3b 3c 2f  "#a52a2a"><b>;</
3660: 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c  b></font>&nbsp;<
3670: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
3680: 61 32 61 22 3e 3c 62 3e 74 68 65 6e 3c 2f 62 3e  a2a"><b>then</b>
3690: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
36a0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
36b0: 61 22 3e 31 38 20 3c 2f 66 6f 6e 74 3e 26 6e 62  a">18 </font>&nb
36c0: 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26  sp;&nbsp;&nbsp;&
36d0: 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nbsp;<font color
36e0: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 65 63  ="#a52a2a"><b>ec
36f0: 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f  ho</b></font><fo
3700: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
3710: 66 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e  f">&nbsp;</font>
3720: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
3730: 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c  2a2a"><b>&quot;<
3740: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  /b></font><font 
3750: 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e  color="#ff00ff">
3760: 43 6f 6e 74 65 6e 74 2d 74 79 70 65 3a 20 74 65  Content-type: te
3770: 78 74 2f 70 6c 61 69 6e 3b 20 63 68 61 72 73 65  xt/plain; charse
3780: 74 3d 69 73 6f 2d 38 38 35 39 2d 31 3c 2f 66 6f  t=iso-8859-1</fo
3790: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
37a0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f  #a52a2a"><b>&quo
37b0: 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72  t;</b></font><br
37c0: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
37d0: 23 61 35 32 61 32 61 22 3e 31 39 20 3c 2f 66 6f  #a52a2a">19 </fo
37e0: 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26  nt>&nbsp;&nbsp;&
37f0: 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74  nbsp;&nbsp;<font
3800: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
3810: 3e 3c 62 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f  ><b>echo</b></fo
3820: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
3830: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 32  olor="#a52a2a">2
3840: 30 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26  0 </font>&nbsp;&
3850: 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70  nbsp;&nbsp;&nbsp
3860: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30  ;<font color="#0
3870: 30 38 62 38 62 22 3e 68 65 61 64 65 72 57 72 69  08b8b">headerWri
3880: 74 74 65 6e 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e  tten</font>=<fon
3890: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
38a0: 22 3e 31 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  ">1</font><br>..
38b0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
38c0: 32 61 32 61 22 3e 32 31 20 3c 2f 66 6f 6e 74 3e  2a2a">21 </font>
38d0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
38e0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
38f0: 22 3e 3c 62 3e 66 69 3c 2f 62 3e 3c 2f 66 6f 6e  "><b>fi</b></fon
3900: 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f  t><br>..<font co
3910: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 32 32  lor="#a52a2a">22
3920: 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f   </font><font co
3930: 6c 6f 72 3d 22 23 30 30 38 62 38 62 22 3e 7d 3c  lor="#008b8b">}<
3940: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
3950: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
3960: 22 3e 32 33 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  ">23 </font><br>
3970: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
3980: 61 35 32 61 32 61 22 3e 32 34 20 3c 2f 66 6f 6e  a52a2a">24 </fon
3990: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
39a0: 30 30 38 62 38 62 22 3e 48 65 61 64 65 72 48 54  008b8b">HeaderHT
39b0: 4d 4c 20 28 29 20 7b 3c 2f 66 6f 6e 74 3e 3c 62  ML () {</font><b
39c0: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
39d0: 22 23 61 35 32 61 32 61 22 3e 32 35 20 3c 2f 66  "#a52a2a">25 </f
39e0: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
39f0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
3a00: 32 61 32 61 22 3e 3c 62 3e 69 66 20 3c 2f 62 3e  2a2a"><b>if </b>
3a10: 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c  </font><font col
3a20: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
3a30: 5b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73  [</b></font>&nbs
3a40: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
3a50: 61 35 32 61 32 61 22 3e 3c 62 3e 2d 7a 3c 2f 62  a52a2a"><b>-z</b
3a60: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
3a70: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
3a80: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
3a90: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
3aa0: 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 68  lor="#a020f0">$h
3ab0: 65 61 64 65 72 57 72 69 74 74 65 6e 3c 2f 66 6f  eaderWritten</fo
3ac0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
3ad0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f  #a52a2a"><b>&quo
3ae0: 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62  t;</b></font>&nb
3af0: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
3b00: 23 61 35 32 61 32 61 22 3e 3c 62 3e 5d 3c 2f 62  #a52a2a"><b>]</b
3b10: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
3b20: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
3b30: 3e 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62  >;</b></font>&nb
3b40: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
3b50: 23 61 35 32 61 32 61 22 3e 3c 62 3e 74 68 65 6e  #a52a2a"><b>then
3b60: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d  </b></font><br>.
3b70: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
3b80: 35 32 61 32 61 22 3e 32 36 20 3c 2f 66 6f 6e 74  52a2a">26 </font
3b90: 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62  >&nbsp;&nbsp;&nb
3ba0: 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  sp;&nbsp;<font c
3bb0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
3bc0: 62 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74  b>echo</b></font
3bd0: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66  ><font color="#f
3be0: 66 30 30 66 66 22 3e 26 6e 62 73 70 3b 3c 2f 66  f00ff">&nbsp;</f
3bf0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
3c00: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75  "#a52a2a"><b>&qu
3c10: 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  ot;</b></font><f
3c20: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30  ont color="#ff00
3c30: 66 66 22 3e 43 6f 6e 74 65 6e 74 2d 74 79 70 65  ff">Content-type
3c40: 3a 20 74 65 78 74 2f 68 74 6d 6c 3b 20 63 68 61  : text/html; cha
3c50: 72 73 65 74 3d 69 73 6f 2d 38 38 35 39 2d 31 3c  rset=iso-8859-1<
3c60: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
3c70: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26  r="#a52a2a"><b>&
3c80: 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  quot;</b></font>
3c90: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
3ca0: 72 3d 22 23 61 35 32 61 32 61 22 3e 32 37 20 3c  r="#a52a2a">27 <
3cb0: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73  /font>&nbsp;&nbs
3cc0: 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66  p;&nbsp;&nbsp;<f
3cd0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
3ce0: 32 61 22 3e 3c 62 3e 65 63 68 6f 3c 2f 62 3e 3c  2a"><b>echo</b><
3cf0: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
3d00: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
3d10: 22 3e 32 38 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73  ">28 </font>&nbs
3d20: 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e  p;&nbsp;&nbsp;&n
3d30: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
3d40: 22 23 30 30 38 62 38 62 22 3e 68 65 61 64 65 72  "#008b8b">header
3d50: 57 72 69 74 74 65 6e 3c 2f 66 6f 6e 74 3e 3d 3c  Written</font>=<
3d60: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30  font color="#ff0
3d70: 30 66 66 22 3e 31 3c 2f 66 6f 6e 74 3e 3c 62 72  0ff">1</font><br
3d80: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
3d90: 23 61 35 32 61 32 61 22 3e 32 39 20 3c 2f 66 6f  #a52a2a">29 </fo
3da0: 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c  nt>&nbsp;&nbsp;<
3db0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
3dc0: 61 32 61 22 3e 3c 62 3e 66 69 3c 2f 62 3e 3c 2f  a2a"><b>fi</b></
3dd0: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
3de0: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
3df0: 3e 33 30 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  >30 </font><font
3e00: 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62 22   color="#008b8b"
3e10: 3e 7d 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  >}</font><br>..<
3e20: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
3e30: 61 32 61 22 3e 33 31 20 3c 2f 66 6f 6e 74 3e 3c  a2a">31 </font><
3e40: 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  br>..<font color
3e50: 3d 22 23 61 35 32 61 32 61 22 3e 33 32 20 3c 2f  ="#a52a2a">32 </
3e60: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
3e70: 3d 22 23 30 30 38 62 38 62 22 3e 45 72 72 6f 72  ="#008b8b">Error
3e80: 20 28 29 20 7b 3c 2f 66 6f 6e 74 3e 3c 62 72 3e   () {</font><br>
3e90: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
3ea0: 61 35 32 61 32 61 22 3e 33 33 20 3c 2f 66 6f 6e  a52a2a">33 </fon
3eb0: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 48 65  t>&nbsp;&nbsp;He
3ec0: 61 64 65 72 48 54 4d 4c 3c 62 72 3e 0d 0a 3c 66  aderHTML<br>..<f
3ed0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
3ee0: 32 61 22 3e 33 34 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">34 </font>&n
3ef0: 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  bsp;&nbsp;<font 
3f00: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
3f10: 3c 62 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e  <b>echo</b></fon
3f20: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
3f30: 66 66 30 30 66 66 22 3e 26 6e 62 73 70 3b 3c 2f  ff00ff">&nbsp;</
3f40: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
3f50: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71  ="#a52a2a"><b>&q
3f60: 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  uot;</b></font><
3f70: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30  font color="#ff0
3f80: 30 66 66 22 3e 26 6c 74 3b 70 26 67 74 3b 26 6c  0ff">&lt;p&gt;&l
3f90: 74 3b 66 6f 6e 74 20 63 6f 6c 6f 72 3d 3c 2f 66  t;font color=</f
3fa0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
3fb0: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75  "#a52a2a"><b>&qu
3fc0: 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  ot;</b></font><f
3fd0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30  ont color="#ff00
3fe0: 66 66 22 3e 72 65 64 3c 2f 66 6f 6e 74 3e 3c 66  ff">red</font><f
3ff0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
4000: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
4010: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
4020: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 67  lor="#ff00ff">&g
4030: 74 3b 45 52 52 4f 52 3a 20 3c 2f 66 6f 6e 74 3e  t;ERROR: </font>
4040: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30  <font color="#a0
4050: 32 30 66 30 22 3e 24 31 3c 2f 66 6f 6e 74 3e 3c  20f0">$1</font><
4060: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30  font color="#ff0
4070: 30 66 66 22 3e 26 6c 74 3b 2f 66 6f 6e 74 26 67  0ff">&lt;/font&g
4080: 74 3b 26 6c 74 3b 2f 70 26 67 74 3b 3c 2f 66 6f  t;&lt;/p&gt;</fo
4090: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
40a0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f  #a52a2a"><b>&quo
40b0: 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72  t;</b></font><br
40c0: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
40d0: 23 61 35 32 61 32 61 22 3e 33 35 20 3c 2f 66 6f  #a52a2a">35 </fo
40e0: 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c  nt>&nbsp;&nbsp;<
40f0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
4100: 61 32 61 22 3e 3c 62 3e 65 78 69 74 3c 2f 62 3e  a2a"><b>exit</b>
4110: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
4120: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
4130: 66 22 3e 31 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d  f">1</font><br>.
4140: 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  .<font color="#a
4150: 35 32 61 32 61 22 3e 33 36 20 3c 2f 66 6f 6e 74  52a2a">36 </font
4160: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30  ><font color="#0
4170: 30 38 62 38 62 22 3e 7d 3c 2f 66 6f 6e 74 3e 3c  08b8b">}</font><
4180: 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  br>..<font color
4190: 3d 22 23 61 35 32 61 32 61 22 3e 33 37 20 3c 2f  ="#a52a2a">37 </
41a0: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
41b0: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
41c0: 3e 33 38 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  >38 </font><font
41d0: 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62 22   color="#008b8b"
41e0: 3e 50 20 28 29 20 7b 3c 2f 66 6f 6e 74 3e 3c 62  >P () {</font><b
41f0: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
4200: 22 23 61 35 32 61 32 61 22 3e 33 39 20 3c 2f 66  "#a52a2a">39 </f
4210: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
4220: 48 65 61 64 65 72 54 65 78 74 3c 62 72 3e 0d 0a  HeaderText<br>..
4230: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
4240: 32 61 32 61 22 3e 34 30 20 3c 2f 66 6f 6e 74 3e  2a2a">40 </font>
4250: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e  &nbsp;&nbsp;<fon
4260: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4270: 22 3e 3c 62 3e 66 6f 72 20 3c 2f 62 3e 3c 2f 66  "><b>for </b></f
4280: 6f 6e 74 3e 76 61 72 20 3c 66 6f 6e 74 20 63 6f  ont>var <font co
4290: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
42a0: 3e 69 6e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  >in</b></font>&n
42b0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
42c0: 22 23 61 30 32 30 66 30 22 3e 24 2a 3c 2f 66 6f  "#a020f0">$*</fo
42d0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
42e0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 3b 3c 2f 62  #a52a2a"><b>;</b
42f0: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
4300: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
4310: 32 61 22 3e 3c 62 3e 64 6f 3c 2f 62 3e 3c 2f 66  2a"><b>do</b></f
4320: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
4330: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
4340: 34 31 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  41 </font>&nbsp;
4350: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
4360: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
4370: 61 35 32 61 32 61 22 3e 3c 62 3e 65 76 61 6c 3c  a52a2a"><b>eval<
4380: 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  /b></font>&nbsp;
4390: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
43a0: 32 61 32 61 22 3e 3c 62 3e 65 63 68 6f 3c 2f 62  2a2a"><b>echo</b
43b0: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
43c0: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e  lor="#ff00ff">&n
43d0: 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  bsp;</font><font
43e0: 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22   color="#a020f0"
43f0: 3e 24 76 61 72 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  >$var</font><fon
4400: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
4410: 22 3e 26 6e 62 73 70 3b 3d 20 3c 2f 66 6f 6e 74  ">&nbsp;= </font
4420: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
4430: 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b  52a2a"><b>&quot;
4440: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  </b></font><font
4450: 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22   color="#6a5acd"
4460: 3e 5c 24 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  >\$</font><font 
4470: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
4480: 24 76 61 72 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  $var</font><font
4490: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
44a0: 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f  ><b>&quot;</b></
44b0: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
44c0: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
44d0: 3e 34 32 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >42 </font>&nbsp
44e0: 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  ;&nbsp;<font col
44f0: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
4500: 64 6f 6e 65 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  done</b></font><
4510: 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  br>..<font color
4520: 3d 22 23 61 35 32 61 32 61 22 3e 34 33 20 3c 2f  ="#a52a2a">43 </
4530: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
4540: 3d 22 23 30 30 38 62 38 62 22 3e 7d 3c 2f 66 6f  ="#008b8b">}</fo
4550: 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63  nt><br>..<font c
4560: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 34  olor="#a52a2a">4
4570: 34 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  4 </font><br>..<
4580: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
4590: 61 32 61 22 3e 34 35 20 3c 2f 66 6f 6e 74 3e 3c  a2a">45 </font><
45a0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30 30  font color="#000
45b0: 30 66 66 22 3e 23 23 20 44 6f 20 74 68 65 20 72  0ff">## Do the r
45c0: 65 61 6c 20 77 6f 72 6b 20 68 65 72 65 20 2e 2e  eal work here ..
45d0: 2e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  .</font><br>..<f
45e0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
45f0: 32 61 22 3e 34 36 20 3c 2f 66 6f 6e 74 3e 3c 62  2a">46 </font><b
4600: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
4610: 22 23 61 35 32 61 32 61 22 3e 34 37 20 3c 2f 66  "#a52a2a">47 </f
4620: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
4630: 22 23 30 30 38 62 38 62 22 3e 70 72 6f 6a 65 63  "#008b8b">projec
4640: 74 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20 63  t</font>=<font c
4650: 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e 60  olor="#6a5acd">`
4660: 65 63 68 6f 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  echo </font><fon
4670: 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30  t color="#a020f0
4680: 22 3e 24 50 41 54 48 5f 49 4e 46 4f 3c 2f 66 6f  ">$PATH_INFO</fo
4690: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
46a0: 23 36 61 35 61 63 64 22 3e 26 6e 62 73 70 3b 3c  #6a5acd">&nbsp;<
46b0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
46c0: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 7c  r="#a52a2a"><b>|
46d0: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  </b></font><font
46e0: 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22   color="#6a5acd"
46f0: 3e 26 6e 62 73 70 3b 73 65 64 20 2d 65 20 3c 2f  >&nbsp;sed -e </
4700: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
4710: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 27 3c  ="#a52a2a"><b>'<
4720: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  /b></font><font 
4730: 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e  color="#ff00ff">
4740: 73 21 2f 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  s!/</font><font 
4750: 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e  color="#6a5acd">
4760: 5c 28 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  \(</font><font c
4770: 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 5b  olor="#ff00ff">[
4780: 5e 2f 5d 2a 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  ^/]*</font><font
4790: 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22   color="#6a5acd"
47a0: 3e 5c 29 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  >\)</font><font 
47b0: 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e  color="#ff00ff">
47c0: 2e 2a 21 5c 31 21 3c 2f 66 6f 6e 74 3e 3c 66 6f  .*!\1!</font><fo
47d0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
47e0: 61 22 3e 3c 62 3e 27 7c 3c 2f 62 3e 3c 2f 66 6f  a"><b>'|</b></fo
47f0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
4800: 23 36 61 35 61 63 64 22 3e 26 6e 62 73 70 3b 74  #6a5acd">&nbsp;t
4810: 72 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  r </font><font c
4820: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
4830: 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f  b>&quot;</b></fo
4840: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
4850: 23 66 66 30 30 66 66 22 3e 5b 41 2d 5a 5d 3c 2f  #ff00ff">[A-Z]</
4860: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
4870: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71  ="#a52a2a"><b>&q
4880: 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  uot;</b></font><
4890: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35  font color="#6a5
48a0: 61 63 64 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e  acd">&nbsp;</fon
48b0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
48c0: 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74  a52a2a"><b>&quot
48d0: 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ;</b></font><fon
48e0: 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66  t color="#ff00ff
48f0: 22 3e 5b 61 2d 7a 5d 3c 2f 66 6f 6e 74 3e 3c 66  ">[a-z]</font><f
4900: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
4910: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
4920: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
4930: 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e 60 3c  lor="#6a5acd">`<
4940: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
4950: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4960: 22 3e 34 38 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ">48 </font><fon
4970: 74 20 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62  t color="#008b8b
4980: 22 3e 72 65 70 6f 73 3c 2f 66 6f 6e 74 3e 3d 3c  ">repos</font>=<
4990: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
49a0: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
49b0: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
49c0: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
49d0: 52 45 50 4f 53 52 4f 4f 54 3c 2f 66 6f 6e 74 3e  REPOSROOT</font>
49e0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66  <font color="#ff
49f0: 30 30 66 66 22 3e 2f 3c 2f 66 6f 6e 74 3e 3c 66  00ff">/</font><f
4a00: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
4a10: 66 30 22 3e 24 70 72 6f 6a 65 63 74 24 52 45 50  f0">$project$REP
4a20: 4f 53 45 58 54 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  OSEXT</font><fon
4a30: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4a40: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
4a50: 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e  /font><br>..<fon
4a60: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4a70: 22 3e 34 39 20 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  ">49 </font><br>
4a80: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
4a90: 61 35 32 61 32 61 22 3e 35 30 20 3c 2f 66 6f 6e  a52a2a">50 </fon
4aa0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
4ab0: 61 35 32 61 32 61 22 3e 3c 62 3e 69 66 20 3c 2f  a52a2a"><b>if </
4ac0: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
4ad0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
4ae0: 62 3e 5b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  b>[</b></font>&n
4af0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
4b00: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 2d 72 3c  "#a52a2a"><b>-r<
4b10: 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  /b></font>&nbsp;
4b20: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
4b30: 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c  2a2a"><b>&quot;<
4b40: 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  /b></font><font 
4b50: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
4b60: 24 72 65 70 6f 73 3c 2f 66 6f 6e 74 3e 3c 66 6f  $repos</font><fo
4b70: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
4b80: 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e  a"><b>&quot;</b>
4b90: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
4ba0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
4bb0: 61 22 3e 3c 62 3e 5d 3c 2f 62 3e 3c 2f 66 6f 6e  a"><b>]</b></fon
4bc0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
4bd0: 61 35 32 61 32 61 22 3e 3c 62 3e 3b 3c 2f 62 3e  a52a2a"><b>;</b>
4be0: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
4bf0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
4c00: 61 22 3e 3c 62 3e 74 68 65 6e 3c 2f 62 3e 3c 2f  a"><b>then</b></
4c10: 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74  font><br>..<font
4c20: 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22   color="#a52a2a"
4c30: 3e 35 31 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  >51 </font>&nbsp
4c40: 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  ;&nbsp;<font col
4c50: 6f 72 3d 22 23 30 30 38 62 38 62 22 3e 50 41 54  or="#008b8b">PAT
4c60: 48 5f 49 4e 46 4f 3c 2f 66 6f 6e 74 3e 3d 3c 66  H_INFO</font>=<f
4c70: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61  ont color="#6a5a
4c80: 63 64 22 3e 60 65 63 68 6f 20 3c 2f 66 6f 6e 74  cd">`echo </font
4c90: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
4ca0: 30 32 30 66 30 22 3e 24 52 45 51 55 45 53 54 5f  020f0">$REQUEST_
4cb0: 55 52 49 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  URI</font><font 
4cc0: 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e  color="#6a5acd">
4cd0: 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f  &nbsp;</font><fo
4ce0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
4cf0: 61 22 3e 3c 62 3e 7c 3c 2f 62 3e 3c 2f 66 6f 6e  a"><b>|</b></fon
4d00: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
4d10: 36 61 35 61 63 64 22 3e 26 6e 62 73 70 3b 73 65  6a5acd">&nbsp;se
4d20: 64 20 2d 65 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  d -e </font><fon
4d30: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4d40: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
4d50: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4d60: 72 3d 22 23 66 66 30 30 66 66 22 3e 73 21 5e 3c  r="#ff00ff">s!^<
4d70: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4d80: 72 3d 22 23 61 30 32 30 66 30 22 3e 24 53 43 52  r="#a020f0">$SCR
4d90: 49 50 54 5f 4e 41 4d 45 3c 2f 66 6f 6e 74 3e 3c  IPT_NAME</font><
4da0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30  font color="#ff0
4db0: 30 66 66 22 3e 2f 3c 2f 66 6f 6e 74 3e 3c 66 6f  0ff">/</font><fo
4dc0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66  nt color="#a020f
4dd0: 30 22 3e 24 70 72 6f 6a 65 63 74 3c 2f 66 6f 6e  0">$project</fon
4de0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
4df0: 36 61 35 61 63 64 22 3e 5c 5c 3c 2f 66 6f 6e 74  6a5acd">\\</font
4e00: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66  ><font color="#f
4e10: 66 30 30 66 66 22 3e 28 5b 5e 3f 5d 2a 3c 2f 66  f00ff">([^?]*</f
4e20: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
4e30: 22 23 36 61 35 61 63 64 22 3e 5c 5c 3c 2f 66 6f  "#6a5acd">\\</fo
4e40: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
4e50: 23 66 66 30 30 66 66 22 3e 29 2e 2a 21 3c 2f 66  #ff00ff">).*!</f
4e60: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
4e70: 22 23 36 61 35 61 63 64 22 3e 5c 5c 3c 2f 66 6f  "#6a5acd">\\</fo
4e80: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
4e90: 23 66 66 30 30 66 66 22 3e 31 21 3c 2f 66 6f 6e  #ff00ff">1!</fon
4ea0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
4eb0: 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74  a52a2a"><b>&quot
4ec0: 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  ;</b></font><fon
4ed0: 74 20 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64  t color="#6a5acd
4ee0: 22 3e 60 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  ">`</font><br>..
4ef0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
4f00: 32 61 32 61 22 3e 35 32 20 3c 2f 66 6f 6e 74 3e  2a2a">52 </font>
4f10: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
4f20: 32 61 32 61 22 3e 3c 62 3e 26 6e 62 73 70 3b 26  2a2a"><b>&nbsp;&
4f30: 6e 62 73 70 3b 3a 3c 2f 62 3e 3c 2f 66 6f 6e 74  nbsp;:</b></font
4f40: 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  >&nbsp;<font col
4f50: 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 7b 3c  or="#a020f0">${<
4f60: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
4f70: 72 3d 22 23 61 30 32 30 66 30 22 3e 50 41 54 48  r="#a020f0">PATH
4f80: 5f 49 4e 46 4f 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  _INFO</font><fon
4f90: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
4fa0: 22 3e 3c 62 3e 3a 3d 3c 2f 62 3e 3c 2f 66 6f 6e  "><b>:=</b></fon
4fb0: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
4fc0: 66 66 30 30 66 66 22 3e 2f 3c 2f 66 6f 6e 74 3e  ff00ff">/</font>
4fd0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30  <font color="#a0
4fe0: 32 30 66 30 22 3e 7d 3c 2f 66 6f 6e 74 3e 3c 62  20f0">}</font><b
4ff0: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
5000: 22 23 61 35 32 61 32 61 22 3e 35 33 20 3c 2f 66  "#a52a2a">53 </f
5010: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
5020: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 30 30  <font color="#00
5030: 38 62 38 62 22 3e 53 43 52 49 50 54 5f 4e 41 4d  8b8b">SCRIPT_NAM
5040: 45 3c 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20 63  E</font>=<font c
5050: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
5060: 53 43 52 49 50 54 5f 4e 41 4d 45 3c 2f 66 6f 6e  SCRIPT_NAME</fon
5070: 74 3e 2f 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  t>/<font color="
5080: 23 61 30 32 30 66 30 22 3e 24 70 72 6f 6a 65 63  #a020f0">$projec
5090: 74 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  t</font><br>..<f
50a0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
50b0: 32 61 22 3e 35 34 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">54 </font>&n
50c0: 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  bsp;&nbsp;<font 
50d0: 63 6f 6c 6f 72 3d 22 23 30 30 38 62 38 62 22 3e  color="#008b8b">
50e0: 54 45 4d 50 46 49 4c 45 3c 2f 66 6f 6e 74 3e 3d  TEMPFILE</font>=
50f0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36 61  <font color="#6a
5100: 35 61 63 64 22 3e 60 6d 6b 74 65 6d 70 20 2f 74  5acd">`mktemp /t
5110: 6d 70 2f 66 6f 73 73 69 6c 2d 3c 2f 66 6f 6e 74  mp/fossil-</font
5120: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
5130: 30 32 30 66 30 22 3e 24 70 72 6f 6a 65 63 74 3c  020f0">$project<
5140: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
5150: 72 3d 22 23 36 61 35 61 63 64 22 3e 2e 58 58 58  r="#6a5acd">.XXX
5160: 58 58 58 60 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70  XXX`</font>&nbsp
5170: 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ;<font color="#a
5180: 35 32 61 32 61 22 3e 3c 62 3e 7c 7c 3c 2f 62 3e  52a2a"><b>||</b>
5190: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 45 72 72  </font>&nbsp;Err
51a0: 6f 72 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  or <font color="
51b0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f  #a52a2a"><b>&quo
51c0: 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f  t;</b></font><fo
51d0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
51e0: 66 22 3e 43 6f 75 6c 64 6e 27 74 20 63 72 65 61  f">Couldn't crea
51f0: 74 65 20 74 65 6d 70 66 69 6c 65 3c 2f 66 6f 6e  te tempfile</fon
5200: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
5210: 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74  a52a2a"><b>&quot
5220: 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  ;</b></font><br>
5230: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
5240: 61 35 32 61 32 61 22 3e 35 35 20 3c 2f 66 6f 6e  a52a2a">55 </fon
5250: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66  t>&nbsp;&nbsp;<f
5260: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5270: 32 61 22 3e 3c 62 3e 74 72 61 70 3c 2f 62 3e 3c  2a"><b>trap</b><
5280: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e  /font>&nbsp;<fon
5290: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
52a0: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
52b0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
52c0: 72 3d 22 23 66 66 30 30 66 66 22 3e 72 6d 20 2d  r="#ff00ff">rm -
52d0: 66 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  f </font><font c
52e0: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
52f0: 54 45 4d 50 46 49 4c 45 3c 2f 66 6f 6e 74 3e 3c  TEMPFILE</font><
5300: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
5310: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
5320: 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 45  b></font>&nbsp;E
5330: 58 49 54 20 51 55 49 54 20 49 4e 54 20 54 45 52  XIT QUIT INT TER
5340: 4d 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c  M<br>..<font col
5350: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 35 36 20  or="#a52a2a">56 
5360: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62  </font>&nbsp;&nb
5370: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
5380: 23 61 35 32 61 32 61 22 3e 3c 62 3e 65 63 68 6f  #a52a2a"><b>echo
5390: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  </b></font><font
53a0: 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22   color="#ff00ff"
53b0: 3e 26 6e 62 73 70 3b 72 65 70 6f 73 69 74 6f 72  >&nbsp;repositor
53c0: 79 3a 20 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  y: </font><font 
53d0: 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e  color="#a020f0">
53e0: 24 72 65 70 6f 73 3c 2f 66 6f 6e 74 3e 3c 66 6f  $repos</font><fo
53f0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
5400: 66 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74 3e  f">&nbsp;</font>
5410: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
5420: 32 61 32 61 22 3e 3c 62 3e 26 67 74 3b 3c 2f 62  2a2a"><b>&gt;</b
5430: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
5440: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
5450: 66 30 22 3e 24 54 45 4d 50 46 49 4c 45 3c 2f 66  f0">$TEMPFILE</f
5460: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
5470: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
5480: 35 37 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  57 </font>&nbsp;
5490: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
54a0: 72 3d 22 23 61 30 32 30 66 30 22 3e 24 46 4f 53  r="#a020f0">$FOS
54b0: 53 49 4c 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  SIL</font>&nbsp;
54c0: 63 67 69 20 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  cgi <font color=
54d0: 22 23 61 30 32 30 66 30 22 3e 24 54 45 4d 50 46  "#a020f0">$TEMPF
54e0: 49 4c 45 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a  ILE</font><br>..
54f0: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
5500: 32 61 32 61 22 3e 35 38 20 3c 2f 66 6f 6e 74 3e  2a2a">58 </font>
5510: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
5520: 32 61 32 61 22 3e 3c 62 3e 65 6c 69 66 3c 2f 62  2a2a"><b>elif</b
5530: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
5540: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5550: 32 61 22 3e 3c 62 3e 5b 3c 2f 62 3e 3c 2f 66 6f  2a"><b>[</b></fo
5560: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
5570: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
5580: 62 3e 2d 7a 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26  b>-z</b></font>&
5590: 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72  nbsp;<font color
55a0: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71  ="#a52a2a"><b>&q
55b0: 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  uot;</b></font><
55c0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32  font color="#a02
55d0: 30 66 30 22 3e 24 70 72 6f 6a 65 63 74 3c 2f 66  0f0">$project</f
55e0: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
55f0: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75  "#a52a2a"><b>&qu
5600: 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  ot;</b></font>&n
5610: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
5620: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 5d 3c 2f  "#a52a2a"><b>]</
5630: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
5640: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
5650: 62 3e 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  b>;</b></font>&n
5660: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
5670: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 74 68 65  "#a52a2a"><b>the
5680: 6e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  n</b></font><br>
5690: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
56a0: 61 35 32 61 32 61 22 3e 35 39 20 3c 2f 66 6f 6e  a52a2a">59 </fon
56b0: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 48 65  t>&nbsp;&nbsp;He
56c0: 61 64 65 72 48 54 4d 4c 3c 62 72 3e 0d 0a 3c 66  aderHTML<br>..<f
56d0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
56e0: 32 61 22 3e 36 30 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">60 </font>&n
56f0: 62 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20  bsp;&nbsp;<font 
5700: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
5710: 3c 62 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e  <b>echo</b></fon
5720: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
5730: 66 66 30 30 66 66 22 3e 26 6e 62 73 70 3b 3c 2f  ff00ff">&nbsp;</
5740: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
5750: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71  ="#a52a2a"><b>&q
5760: 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c  uot;</b></font><
5770: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32  font color="#a02
5780: 30 66 30 22 3e 24 54 49 54 4c 45 3c 2f 66 6f 6e  0f0">$TITLE</fon
5790: 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  t><font color="#
57a0: 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74  a52a2a"><b>&quot
57b0: 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  ;</b></font><br>
57c0: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
57d0: 61 35 32 61 32 61 22 3e 36 31 20 3c 2f 66 6f 6e  a52a2a">61 </fon
57e0: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c 66  t>&nbsp;&nbsp;<f
57f0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5800: 32 61 22 3e 3c 62 3e 65 63 68 6f 3c 2f 62 3e 3c  2a"><b>echo</b><
5810: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
5820: 72 3d 22 23 66 66 30 30 66 66 22 3e 26 6e 62 73  r="#ff00ff">&nbs
5830: 70 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  p;</font><font c
5840: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
5850: 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f  b>&quot;</b></fo
5860: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
5870: 23 66 66 30 30 66 66 22 3e 26 6c 74 3b 75 6c 26  #ff00ff">&lt;ul&
5880: 67 74 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  gt;</font><font 
5890: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
58a0: 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66  <b>&quot;</b></f
58b0: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
58c0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
58d0: 36 32 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  62 </font>&nbsp;
58e0: 26 6e 62 73 70 3b 66 69 6e 64 20 3c 66 6f 6e 74  &nbsp;find <font
58f0: 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22   color="#a020f0"
5900: 3e 24 52 45 50 4f 53 52 4f 4f 54 3c 2f 66 6f 6e  >$REPOSROOT</fon
5910: 74 3e 26 6e 62 73 70 3b 2d 6e 61 6d 65 20 3c 66  t>&nbsp;-name <f
5920: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5930: 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62  2a"><b>&quot;</b
5940: 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ></font><font co
5950: 6c 6f 72 3d 22 23 66 66 30 30 66 66 22 3e 2a 3c  lor="#ff00ff">*<
5960: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
5970: 72 3d 22 23 61 30 32 30 66 30 22 3e 24 52 45 50  r="#a020f0">$REP
5980: 4f 53 45 58 54 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e  OSEXT</font><fon
5990: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
59a0: 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f 62 3e 3c  "><b>&quot;</b><
59b0: 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e  /font>&nbsp;<fon
59c0: 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61  t color="#a52a2a
59d0: 22 3e 3c 62 3e 7c 3c 2f 62 3e 3c 2f 66 6f 6e 74  "><b>|</b></font
59e0: 3e 26 6e 62 73 70 3b 5c 3c 62 72 3e 0d 0a 3c 66  >&nbsp;\<br>..<f
59f0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5a00: 32 61 22 3e 36 33 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">63 </font>&n
5a10: 62 73 70 3b 26 6e 62 73 70 3b 77 68 69 6c 65 20  bsp;&nbsp;while 
5a20: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35  <font color="#a5
5a30: 32 61 32 61 22 3e 3c 62 3e 72 65 61 64 3c 2f 62  2a2a"><b>read</b
5a40: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 72 65  ></font>&nbsp;re
5a50: 70 6f 73 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  pos<font color="
5a60: 23 61 35 32 61 32 61 22 3e 3c 62 3e 3b 3c 2f 62  #a52a2a"><b>;</b
5a70: 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66  ></font>&nbsp;<f
5a80: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5a90: 32 61 22 3e 3c 62 3e 64 6f 3c 2f 62 3e 3c 2f 66  2a"><b>do</b></f
5aa0: 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20  ont><br>..<font 
5ab0: 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e  color="#a52a2a">
5ac0: 36 34 20 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  64 </font>&nbsp;
5ad0: 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73  &nbsp;&nbsp;&nbs
5ae0: 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  p;<font color="#
5af0: 30 30 38 62 38 62 22 3e 70 72 6f 6a 65 63 74 3c  008b8b">project<
5b00: 2f 66 6f 6e 74 3e 3d 3c 66 6f 6e 74 20 63 6f 6c  /font>=<font col
5b10: 6f 72 3d 22 23 36 61 35 61 63 64 22 3e 60 62 61  or="#6a5acd">`ba
5b20: 73 65 6e 61 6d 65 20 3c 2f 66 6f 6e 74 3e 3c 66  sename </font><f
5b30: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
5b40: 66 30 22 3e 24 72 65 70 6f 73 3c 2f 66 6f 6e 74  f0">$repos</font
5b50: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 36  ><font color="#6
5b60: 61 35 61 63 64 22 3e 26 6e 62 73 70 3b 3c 2f 66  a5acd">&nbsp;</f
5b70: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
5b80: 22 23 61 30 32 30 66 30 22 3e 24 52 45 50 4f 53  "#a020f0">$REPOS
5b90: 45 58 54 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20  EXT</font><font 
5ba0: 63 6f 6c 6f 72 3d 22 23 36 61 35 61 63 64 22 3e  color="#6a5acd">
5bb0: 60 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66  `</font><br>..<f
5bc0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61  ont color="#a52a
5bd0: 32 61 22 3e 36 35 20 3c 2f 66 6f 6e 74 3e 26 6e  2a">65 </font>&n
5be0: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
5bf0: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
5c00: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 69  r="#a52a2a"><b>i
5c10: 66 20 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f  f </b></font><fo
5c20: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
5c30: 61 22 3e 3c 62 3e 5b 3c 2f 62 3e 3c 2f 66 6f 6e  a"><b>[</b></fon
5c40: 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f  t>&nbsp;<font co
5c50: 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62  lor="#a52a2a"><b
5c60: 3e 2d 66 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  >-f</b></font>&n
5c70: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
5c80: 22 23 61 30 32 30 66 30 22 3e 24 72 65 70 6f 73  "#a020f0">$repos
5c90: 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f  </font>&nbsp;<fo
5ca0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
5cb0: 61 22 3e 3c 62 3e 2d 61 3c 2f 62 3e 3c 2f 66 6f  a"><b>-a</b></fo
5cc0: 6e 74 3e 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  nt>&nbsp;<font c
5cd0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
5ce0: 62 3e 21 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  b>!</b></font>&n
5cf0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
5d00: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 2d 65 3c  "#a52a2a"><b>-e<
5d10: 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62 73 70 3b  /b></font>&nbsp;
5d20: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30  <font color="#a0
5d30: 32 30 66 30 22 3e 24 52 45 50 4f 53 52 4f 4f 54  20f0">$REPOSROOT
5d40: 3c 2f 66 6f 6e 74 3e 2f 2e 3c 66 6f 6e 74 20 63  </font>/.<font c
5d50: 6f 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24  olor="#a020f0">$
5d60: 70 72 6f 6a 65 63 74 3c 2f 66 6f 6e 74 3e 26 6e  project</font>&n
5d70: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
5d80: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 5d 3c 2f  "#a52a2a"><b>]</
5d90: 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63  b></font><font c
5da0: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
5db0: 62 3e 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e  b>;</b></font>&n
5dc0: 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  bsp;<font color=
5dd0: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 74 68 65  "#a52a2a"><b>the
5de0: 6e 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e  n</b></font><br>
5df0: 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23  ..<font color="#
5e00: 61 35 32 61 32 61 22 3e 36 36 20 3c 2f 66 6f 6e  a52a2a">66 </fon
5e10: 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e  t>&nbsp;&nbsp;&n
5e20: 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70 3b  bsp;&nbsp;&nbsp;
5e30: 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f  &nbsp;<font colo
5e40: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 65  r="#a52a2a"><b>e
5e50: 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  cho</b></font><f
5e60: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30  ont color="#ff00
5e70: 66 66 22 3e 26 6e 62 73 70 3b 3c 2f 66 6f 6e 74  ff">&nbsp;</font
5e80: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
5e90: 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b  52a2a"><b>&quot;
5ea0: 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74  </b></font><font
5eb0: 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66 66 22   color="#ff00ff"
5ec0: 3e 26 6c 74 3b 6c 69 26 67 74 3b 26 6c 74 3b 61  >&lt;li&gt;&lt;a
5ed0: 20 68 72 65 66 3d 27 3c 2f 66 6f 6e 74 3e 3c 66   href='</font><f
5ee0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
5ef0: 66 30 22 3e 24 7b 3c 2f 66 6f 6e 74 3e 3c 66 6f  f0">${</font><fo
5f00: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30 66  nt color="#a020f
5f10: 30 22 3e 52 45 51 55 45 53 54 5f 55 52 49 3c 2f  0">REQUEST_URI</
5f20: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
5f30: 3d 22 23 61 30 32 30 66 30 22 3e 7d 3c 2f 66 6f  ="#a020f0">}</fo
5f40: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
5f50: 23 66 66 30 30 66 66 22 3e 2f 3c 2f 66 6f 6e 74  #ff00ff">/</font
5f60: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61  ><font color="#a
5f70: 30 32 30 66 30 22 3e 24 70 72 6f 6a 65 63 74 3c  020f0">$project<
5f80: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
5f90: 72 3d 22 23 66 66 30 30 66 66 22 3e 27 26 67 74  r="#ff00ff">'&gt
5fa0: 3b 3c 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f  ;</font><font co
5fb0: 6c 6f 72 3d 22 23 61 30 32 30 66 30 22 3e 24 70  lor="#a020f0">$p
5fc0: 72 6f 6a 65 63 74 3c 2f 66 6f 6e 74 3e 3c 66 6f  roject</font><fo
5fd0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30 66  nt color="#ff00f
5fe0: 66 22 3e 26 6c 74 3b 2f 61 26 67 74 3b 26 6c 74  f">&lt;/a&gt;&lt
5ff0: 3b 2f 6c 69 26 67 74 3b 3c 2f 66 6f 6e 74 3e 3c  ;/li&gt;</font><
6000: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
6010: 61 32 61 22 3e 3c 62 3e 26 71 75 6f 74 3b 3c 2f  a2a"><b>&quot;</
6020: 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  b></font><br>..<
6030: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
6040: 61 32 61 22 3e 36 37 20 3c 2f 66 6f 6e 74 3e 26  a2a">67 </font>&
6050: 6e 62 73 70 3b 26 6e 62 73 70 3b 26 6e 62 73 70  nbsp;&nbsp;&nbsp
6060: 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c  ;&nbsp;<font col
6070: 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e  or="#a52a2a"><b>
6080: 66 69 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72  fi</b></font><br
6090: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
60a0: 23 61 35 32 61 32 61 22 3e 36 38 20 3c 2f 66 6f  #a52a2a">68 </fo
60b0: 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b 3c  nt>&nbsp;&nbsp;<
60c0: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
60d0: 61 32 61 22 3e 3c 62 3e 64 6f 6e 65 3c 2f 62 3e  a2a"><b>done</b>
60e0: 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c 66 6f  </font><br>..<fo
60f0: 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32 61 32  nt color="#a52a2
6100: 61 22 3e 36 39 20 3c 2f 66 6f 6e 74 3e 26 6e 62  a">69 </font>&nb
6110: 73 70 3b 26 6e 62 73 70 3b 3c 66 6f 6e 74 20 63  sp;&nbsp;<font c
6120: 6f 6c 6f 72 3d 22 23 61 35 32 61 32 61 22 3e 3c  olor="#a52a2a"><
6130: 62 3e 65 63 68 6f 3c 2f 62 3e 3c 2f 66 6f 6e 74  b>echo</b></font
6140: 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66  ><font color="#f
6150: 66 30 30 66 66 22 3e 26 6e 62 73 70 3b 3c 2f 66  f00ff">&nbsp;</f
6160: 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  ont><font color=
6170: 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75  "#a52a2a"><b>&qu
6180: 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 66  ot;</b></font><f
6190: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66 30 30  ont color="#ff00
61a0: 66 66 22 3e 26 6c 74 3b 2f 75 6c 26 67 74 3b 3c  ff">&lt;/ul&gt;<
61b0: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
61c0: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26  r="#a52a2a"><b>&
61d0: 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  quot;</b></font>
61e0: 3c 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f  <br>..<font colo
61f0: 72 3d 22 23 61 35 32 61 32 61 22 3e 37 30 20 3c  r="#a52a2a">70 <
6200: 2f 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f  /font><font colo
6210: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 65  r="#a52a2a"><b>e
6220: 6c 73 65 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62  lse</b></font><b
6230: 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d  r>..<font color=
6240: 22 23 61 35 32 61 32 61 22 3e 37 31 20 3c 2f 66  "#a52a2a">71 </f
6250: 6f 6e 74 3e 26 6e 62 73 70 3b 26 6e 62 73 70 3b  ont>&nbsp;&nbsp;
6260: 45 72 72 6f 72 20 3c 66 6f 6e 74 20 63 6f 6c 6f  Error <font colo
6270: 72 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 26  r="#a52a2a"><b>&
6280: 71 75 6f 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e  quot;</b></font>
6290: 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 66 66  <font color="#ff
62a0: 30 30 66 66 22 3e 4e 6f 20 73 75 63 68 20 70 72  00ff">No such pr
62b0: 6f 6a 65 63 74 3a 20 3c 2f 66 6f 6e 74 3e 3c 66  oject: </font><f
62c0: 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 30 32 30  ont color="#a020
62d0: 66 30 22 3e 24 70 72 6f 6a 65 63 74 3c 2f 66 6f  f0">$project</fo
62e0: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
62f0: 23 61 35 32 61 32 61 22 3e 3c 62 3e 26 71 75 6f  #a52a2a"><b>&quo
6300: 74 3b 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72  t;</b></font><br
6310: 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  >..<font color="
6320: 23 61 35 32 61 32 61 22 3e 37 32 20 3c 2f 66 6f  #a52a2a">72 </fo
6330: 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  nt><font color="
6340: 23 61 35 32 61 32 61 22 3e 3c 62 3e 66 69 3c 2f  #a52a2a"><b>fi</
6350: 62 3e 3c 2f 66 6f 6e 74 3e 3c 62 72 3e 0d 0a 3c  b></font><br>..<
6360: 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22 23 61 35 32  font color="#a52
6370: 61 32 61 22 3e 37 33 20 3c 2f 66 6f 6e 74 3e 3c  a2a">73 </font><
6380: 62 72 3e 0d 0a 3c 66 6f 6e 74 20 63 6f 6c 6f 72  br>..<font color
6390: 3d 22 23 61 35 32 61 32 61 22 3e 37 34 20 3c 2f  ="#a52a2a">74 </
63a0: 66 6f 6e 74 3e 3c 66 6f 6e 74 20 63 6f 6c 6f 72  font><font color
63b0: 3d 22 23 61 35 32 61 32 61 22 3e 3c 62 3e 65 78  ="#a52a2a"><b>ex
63c0: 69 74 3c 2f 62 3e 3c 2f 66 6f 6e 74 3e 26 6e 62  it</b></font>&nb
63d0: 73 70 3b 3c 66 6f 6e 74 20 63 6f 6c 6f 72 3d 22  sp;<font color="
63e0: 23 66 66 30 30 66 66 22 3e 30 3c 2f 66 6f 6e 74  #ff00ff">0</font
63f0: 3e 3c 62 72 3e 0d 0a 3c 2f 66 6f 6e 74 3e 0d 0a  ><br>..</font>..
6400: 3c 2f 6e 6f 77 69 6b 69 3e 0d 0a 0d 0a 3c 68 34  </nowiki>....<h4
6410: 3e 57 69 6e 64 6f 77 73 3c 2f 68 34 3e 0d 0a 3c  >Windows</h4>..<
6420: 70 3e 57 68 69 6c 65 20 69 74 20 69 73 20 66 61  p>While it is fa
6430: 72 20 66 72 6f 6d 20 61 20 70 65 72 66 65 63 74  r from a perfect
6440: 20 73 65 74 20 6f 66 20 69 6e 73 74 72 75 63 74   set of instruct
6450: 69 6f 6e 73 2e 2e 20 68 65 72 65 20 61 72 65 20  ions.. here are 
6460: 73 6f 6d 65 20 71 75 69 63 6b 20 6e 6f 74 65 73  some quick notes
6470: 20 74 68 61 74 20 73 68 6f 75 6c 64 20 68 65 6c   that should hel
6480: 70 20 77 69 6e 64 6f 77 73 20 75 73 65 72 73 20  p windows users 
6490: 61 6c 6f 6e 67 20 74 68 65 20 77 61 79 2e 2e 2e  along the way...
64a0: 3c 2f 70 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e  </p>..<ul>..<li>
64b0: 79 6f 75 20 6e 65 65 64 20 66 6f 73 73 69 6c 2e  you need fossil.
64c0: 65 78 65 20 61 63 63 65 73 73 69 62 6c 65 20 62  exe accessible b
64d0: 79 20 79 6f 75 72 20 77 65 62 20 73 65 72 76 65  y your web serve
64e0: 72 20 6f 72 20 6f 6e 20 79 6f 75 72 20 70 61 74  r or on your pat
64f0: 68 2e 2e 20 65 61 73 69 65 73 74 20 69 73 20 74  h.. easiest is t
6500: 6f 20 6a 75 73 74 20 63 68 75 63 6b 20 69 74 20  o just chuck it 
6510: 69 6e 20 5c 25 53 59 53 54 45 4d 5f 52 4f 4f 54  in \%SYSTEM_ROOT
6520: 25 5c 20 28 75 73 75 61 6c 6c 79 20 63 3a 5c 77  %\ (usually c:\w
6530: 69 6e 64 6f 77 73 5c 29 20 3c 2f 6c 69 3e 0d 0a  indows\) </li>..
6540: 3c 6c 69 3e 61 73 73 75 6d 69 6e 67 20 79 6f 75  <li>assuming you
6550: 20 61 72 65 20 72 75 6e 6e 69 6e 67 20 61 70 61   are running apa
6560: 63 68 65 2c 20 79 6f 75 20 6e 65 65 64 20 74 6f  che, you need to
6570: 20 65 69 74 68 65 72 20 61 64 64 20 74 68 65 20   either add the 
6580: 45 78 65 63 43 47 49 20 74 6f 20 74 68 65 20 6f  ExecCGI to the o
6590: 70 74 69 6f 6e 73 20 6f 6e 20 79 6f 75 72 20 44  ptions on your D
65a0: 6f 63 75 6d 65 6e 74 52 6f 6f 74 2c 20 6f 72 20  ocumentRoot, or 
65b0: 6d 61 6b 65 20 73 75 72 65 20 74 68 65 20 53 63  make sure the Sc
65c0: 72 69 70 74 41 6c 69 61 73 20 64 69 72 65 63 74  riptAlias direct
65d0: 69 76 65 20 69 73 20 73 65 74 20 61 6e 64 20 70  ive is set and p
65e0: 75 74 20 79 6f 75 72 20 2e 63 67 69 20 66 69 6c  ut your .cgi fil
65f0: 65 73 20 69 6e 20 74 68 61 74 20 66 6f 6c 64 65  es in that folde
6600: 72 2e 2e 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 74 68  r..</li>..<li>th
6610: 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 79 6f  e contents of yo
6620: 75 72 20 63 67 69 20 66 69 6c 65 20 6e 65 65 64  ur cgi file need
6630: 73 20 74 6f 20 65 73 73 65 6e 74 69 61 6c 6c 79  s to essentially
6640: 20 74 68 65 20 73 61 6d 65 20 61 73 20 61 62 6f   the same as abo
6650: 76 65 2e 2e 20 68 6f 77 65 76 65 72 20 70 61 74  ve.. however pat
6660: 68 73 20 6e 65 65 64 73 20 74 6f 20 62 65 20 77  hs needs to be w
6670: 69 6e 64 6f 77 73 20 66 72 69 65 6e 64 6c 79 2e  indows friendly.
6680: 2e 20 69 20 68 61 76 65 20 6d 61 64 65 20 73 75  . i have made su
6690: 72 65 20 74 68 61 74 20 61 6c 6c 20 66 6f 6c 64  re that all fold
66a0: 65 72 73 20 6f 6e 20 6d 79 20 74 65 73 74 20 62  ers on my test b
66b0: 6f 78 20 61 72 65 20 66 72 65 65 20 6f 66 20 73  ox are free of s
66c0: 70 61 63 65 73 2c 20 61 6e 64 20 61 73 20 73 75  paces, and as su
66d0: 63 68 20 74 68 69 73 20 66 69 6c 65 20 77 6f 72  ch this file wor
66e0: 6b 73 20 66 6f 72 20 6d 65 20 28 6f 62 76 69 6f  ks for me (obvio
66f0: 75 73 6c 79 20 79 6f 75 72 20 70 61 74 68 73 20  usly your paths 
6700: 6d 61 79 20 64 69 66 66 65 72 29 0d 0a 3c 70 72  may differ)..<pr
6710: 65 3e 0d 0a 23 21 20 66 6f 73 73 69 6c 2e 65 78  e>..#! fossil.ex
6720: 65 0d 0a 72 65 70 6f 73 69 74 6f 72 79 3a 20 63  e..repository: c
6730: 3a 2f 77 61 6d 70 2f 77 77 77 2f 64 65 76 2f 61  :/wamp/www/dev/a
6740: 63 63 6f 75 6e 74 73 2e 66 6f 73 73 69 6c 0d 0a  ccounts.fossil..
6750: 3c 2f 70 72 65 3e 0d 0a 49 20 73 75 70 70 6f 73  </pre>..I suppos
6760: 65 20 79 6f 75 20 63 6f 75 6c 64 20 70 75 74 20  e you could put 
6770: 66 6f 73 73 69 6c 2e 65 78 65 20 73 6f 6d 65 77  fossil.exe somew
6780: 68 65 72 65 20 6d 6f 72 65 20 73 70 65 63 69 66  here more specif
6790: 69 63 20 61 6e 64 20 73 65 74 20 74 68 65 20 70  ic and set the p
67a0: 61 74 68 20 74 6f 20 69 74 20 61 73 20 77 65 6c  ath to it as wel
67b0: 6c 2c 20 62 75 74 20 73 69 6e 63 65 20 79 6f 75  l, but since you
67c0: 20 61 72 65 20 70 72 6f 62 61 62 6c 79 20 75 73   are probably us
67d0: 69 6e 67 20 74 68 65 20 73 61 6d 65 20 65 78 65  ing the same exe
67e0: 63 75 74 61 62 6c 65 20 66 6f 72 20 63 6d 64 6c  cutable for cmdl
67f0: 69 6e 65 20 61 6e 64 20 63 67 69 20 69 74 20 6b  ine and cgi it k
6800: 69 6e 64 20 6f 66 20 6a 75 73 74 20 6d 61 6b 65  ind of just make
6810: 73 20 73 65 6e 73 65 20 74 6f 20 70 75 74 20 69  s sense to put i
6820: 74 20 73 6f 6d 65 77 68 65 72 65 20 6d 6f 72 65  t somewhere more
6830: 20 61 63 63 65 73 73 69 62 6c 65 3c 2f 6c 69 3e   accessible</li>
6840: 0d 0a 3c 6c 69 3e 41 73 20 77 69 74 68 20 6d 6f  ..<li>As with mo
6850: 73 74 20 57 69 6e 64 6f 77 73 20 62 61 73 65 64  st Windows based
6860: 20 77 65 62 20 69 6e 73 74 72 75 63 74 69 6f 6e   web instruction
6870: 73 2c 20 70 65 72 6d 69 73 73 69 6f 6e 20 61 72  s, permission ar
6880: 65 20 6e 6f 74 20 61 73 20 69 6d 70 6f 72 74 61  e not as importa
6890: 6e 74 2c 20 68 6f 77 65 76 65 72 20 61 74 20 74  nt, however at t
68a0: 68 65 20 6c 65 61 73 74 2c 20 79 6f 75 20 6e 65  he least, you ne
68b0: 65 64 20 74 6f 20 6d 61 6b 65 20 73 75 72 65 20  ed to make sure 
68c0: 74 68 61 74 20 79 6f 75 72 20 72 65 70 6f 73 69  that your reposi
68d0: 74 6f 72 79 20 69 73 20 6e 6f 74 20 66 6c 61 67  tory is not flag
68e0: 67 65 64 20 72 65 61 64 2d 6f 6e 6c 79 2c 20 61  ged read-only, a
68f0: 73 20 79 6f 75 20 77 69 6c 6c 20 65 6e 63 6f 75  s you will encou
6900: 6e 74 65 72 20 64 61 74 61 62 61 73 65 20 65 72  nter database er
6910: 72 6f 72 73 20 69 66 20 69 74 20 69 73 2e 3c 2f  rors if it is.</
6920: 6c 69 3e 0d 0a 3c 2f 75 6c 3e 0d 0a 0d 0a 3c 68  li>..</ul>....<h
6930: 33 3e 44 69 73 63 75 73 73 69 6f 6e 3c 2f 68 33  3>Discussion</h3
6940: 3e 0d 0a 55 73 69 6e 67 20 74 68 65 20 43 47 49  >..Using the CGI
6950: 20 73 65 72 76 65 72 20 69 73 20 74 68 65 20 62   server is the b
6960: 65 73 74 20 73 6f 6c 75 74 69 6f 6e 20 63 6f 6d  est solution com
6970: 62 69 6e 69 6e 67 20 61 6e 20 65 78 69 73 74 69  bining an existi
6980: 6e 67 20 77 65 62 20 69 6e 66 72 61 73 74 72 75  ng web infrastru
6990: 63 74 75 72 65 20 61 6e 64 20 74 68 65 20 73 68  cture and the sh
69a0: 61 72 69 6e 67 20 6f 66 20 6d 61 6e 79 20 3c 63  aring of many <c
69b0: 69 74 65 3e 46 6f 73 73 69 6c 3c 2f 63 69 74 65  ite>Fossil</cite
69c0: 3e 20 72 65 70 6f 73 69 74 6f 72 69 65 73 2e 20  > repositories. 
69d0: 20 55 6e 6c 69 6b 65 20 74 68 65 20 61 64 2d 68   Unlike the ad-h
69e0: 6f 63 20 73 6f 6c 75 74 69 6f 6e 20 77 68 69 63  oc solution whic
69f0: 68 20 72 65 71 75 69 72 65 73 2c 20 69 6e 20 65  h requires, in e
6a00: 66 66 65 63 74 2c 20 61 20 73 65 70 61 72 61 74  ffect, a separat
6a10: 65 20 70 6f 72 74 20 66 6f 72 20 65 61 63 68 20  e port for each 
6a20: 73 69 6d 75 6c 74 61 6e 65 6f 75 73 6c 79 2d 73  simultaneously-s
6a30: 68 61 72 65 64 20 72 65 70 6f 73 69 74 6f 72 79  hared repository
6a40: 2c 20 61 6e 64 20 77 68 69 63 68 20 72 65 71 75  , and which requ
6a50: 69 72 65 73 20 73 65 76 65 72 61 6c 20 69 6e 73  ires several ins
6a60: 74 61 6e 63 65 73 20 6f 66 20 66 6f 73 73 69 6c  tances of fossil
6a70: 20 72 75 6e 6e 69 6e 67 20 2d 2d 20 6f 6e 65 20   running -- one 
6a80: 66 6f 72 20 65 61 63 68 20 73 68 61 72 65 64 20  for each shared 
6a90: 72 65 70 6f 73 69 74 6f 72 79 20 2d 2d 20 74 68  repository -- th
6aa0: 65 20 43 47 49 20 61 70 70 72 6f 61 63 68 20 75  e CGI approach u
6ab0: 73 65 73 20 55 52 4c 73 20 74 6f 20 64 69 73 74  ses URLs to dist
6ac0: 69 6e 67 75 69 73 68 20 62 65 74 77 65 65 6e 20  inguish between 
6ad0: 72 65 70 6f 73 69 74 6f 72 69 65 73 20 61 6e 64  repositories and
6ae0: 20 6f 6e 6c 79 20 28 62 72 69 65 66 6c 79 29 20   only (briefly) 
6af0: 72 75 6e 73 20 61 20 63 6f 70 79 20 6f 66 20 66  runs a copy of f
6b00: 6f 73 73 69 6c 20 77 68 65 6e 20 74 68 65 20 72  ossil when the r
6b10: 65 70 6f 73 69 74 6f 72 79 20 69 73 20 61 63 74  epository is act
6b20: 75 61 6c 6c 79 20 61 63 63 65 73 73 65 64 2e 0d  ually accessed..
6b30: 0a 0d 0a 53 68 61 72 69 6e 67 20 72 65 70 6f 73  ...Sharing repos
6b40: 69 74 6f 72 69 65 73 20 77 69 74 68 20 43 47 49  itories with CGI
6b50: 20 69 73 20 72 65 61 6c 6c 79 20 6f 6e 6c 79 20   is really only 
6b60: 77 6f 72 74 68 20 74 68 65 20 65 66 66 6f 72 74  worth the effort
6b70: 20 69 66 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e   if more than on
6b80: 65 20 72 65 70 6f 73 69 74 6f 72 79 20 69 73 20  e repository is 
6b90: 62 65 69 6e 67 20 73 68 61 72 65 64 2c 20 68 6f  being shared, ho
6ba0: 77 65 76 65 72 2e 20 20 57 69 74 68 20 6f 6e 6c  wever.  With onl
6bb0: 79 20 6f 6e 65 20 62 65 69 6e 67 20 73 68 61 72  y one being shar
6bc0: 65 64 2c 20 3c 63 6f 64 65 3e 66 6f 73 73 69 6c  ed, <code>fossil
6bd0: 20 73 65 72 76 65 72 3c 2f 63 6f 64 65 3e 20 69   server</code> i
6be0: 73 20 6c 69 6b 65 6c 79 20 6d 6f 72 65 20 74 68  s likely more th
6bf0: 61 6e 20 61 64 65 71 75 61 74 65 20 6f 72 20 74  an adequate or t
6c00: 68 65 20 75 73 65 20 6f 66 20 28 78 29 69 6e 65  he use of (x)ine
6c10: 74 64 20 6d 61 79 20 62 65 20 69 6e 64 69 63 61  td may be indica
6c20: 74 65 64 2e 20 20 49 66 2c 20 68 6f 77 65 76 65  ted.  If, howeve
6c30: 72 2c 20 74 68 65 72 65 20 69 73 20 61 6c 72 65  r, there is alre
6c40: 61 64 79 20 61 6e 20 65 78 69 73 74 69 6e 67 20  ady an existing 
6c50: 77 65 62 20 69 6e 66 72 61 73 74 72 75 63 74 75  web infrastructu
6c60: 72 65 20 69 6e 20 70 6c 61 63 65 2c 20 43 47 49  re in place, CGI
6c70: 20 73 74 69 6c 6c 20 6d 61 79 20 62 65 20 70 72   still may be pr
6c80: 65 66 65 72 72 65 64 20 69 66 20 6f 6e 6c 79 20  eferred if only 
6c90: 66 6f 72 20 63 6f 6e 73 69 73 74 65 6e 63 79 20  for consistency 
6ca0: 61 6e 64 20 6d 61 69 6e 74 61 69 6e 61 62 69 6c  and maintainabil
6cb0: 69 74 79 20 6f 66 20 74 68 65 20 73 79 73 74 65  ity of the syste
6cc0: 6d 20 61 73 20 61 20 77 68 6f 6c 65 2e 0d 0a 0d  m as a whole....
6cd0: 0a 3c 68 32 3e 3c 61 20 6e 61 6d 65 3d 22 65 6e  .<h2><a name="en
6ce0: 76 22 3e 55 73 69 6e 67 20 45 6e 76 69 72 6f 6e  v">Using Environ
6cf0: 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 73 3c 2f  ment variables</
6d00: 61 3e 3c 2f 68 32 3e 0d 0a 3c 68 33 3e 4d 6f 74  a></h2>..<h3>Mot
6d10: 69 76 61 74 69 6f 6e 3c 2f 68 33 3e 0d 0a 20 20  ivation</h3>..  
6d20: 2a 20 20 57 61 6e 74 20 74 6f 20 75 73 65 20 61  *  Want to use a
6d30: 20 64 69 66 66 65 72 65 6e 74 20 65 64 69 74 6f   different edito
6d40: 72 20 66 6f 72 20 63 68 65 63 6b 69 6e 73 20 28  r for checkins (
6d50: 55 6e 69 78 2f 57 69 6e 64 6f 77 73 29 0d 0a 20  Unix/Windows).. 
6d60: 20 2a 20 20 55 73 65 20 61 20 70 72 6f 78 79 20   *  Use a proxy 
6d70: 69 66 20 79 6f 75 20 61 72 65 20 62 65 68 69 6e  if you are behin
6d80: 64 20 61 20 66 69 72 65 77 61 6c 6c 0d 0a 0d 0a  d a firewall....
6d90: 3c 68 33 3e 53 6f 6c 75 74 69 6f 6e 3c 2f 68 33  <h3>Solution</h3
6da0: 3e 0d 0a 45 6e 76 69 72 6f 6e 6d 65 6e 74 20 76  >..Environment v
6db0: 61 72 69 61 62 6c 65 73 20 61 72 65 20 75 73 65  ariables are use
6dc0: 64 20 74 6f 20 63 75 73 74 6f 6d 69 7a 65 20 73  d to customize s
6dd0: 6f 6d 65 20 70 72 6f 67 72 61 6d 6d 65 20 62 65  ome programme be
6de0: 68 61 76 69 6f 75 72 2e 20 4f 6e 20 4c 69 6e 75  haviour. On Linu
6df0: 78 2f 55 6e 69 78 20 74 68 65 79 20 63 61 6e 20  x/Unix they can 
6e00: 62 65 20 73 65 74 20 69 6e 20 79 6f 75 20 7e 2f  be set in you ~/
6e10: 2e 62 61 73 68 72 63 20 6f 72 20 65 76 65 6e 20  .bashrc or even 
6e20: 6f 6e 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 2e  on command line.
6e30: 20 4f 6e 20 57 69 6e 64 6f 77 73 20 74 68 65 79   On Windows they
6e40: 20 63 61 6e 20 62 65 20 73 65 74 20 69 6e 20 74   can be set in t
6e50: 68 65 20 73 79 73 74 65 6d 20 73 65 74 74 69 6e  he system settin
6e60: 67 73 2e 0d 0a 0d 0a 3c 63 69 74 65 3e 46 6f 73  gs.....<cite>Fos
6e70: 73 69 6c 3c 2f 63 69 74 65 3e 20 63 68 65 63 6b  sil</cite> check
6e80: 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20  s the following 
6e90: 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69  environment vari
6ea0: 61 62 6c 65 73 3a 0d 0a 20 20 2a 20 20 56 49 53  ables:..  *  VIS
6eb0: 55 41 4c 2f 45 44 49 54 4f 52 0d 0a 20 20 2a 20  UAL/EDITOR..  * 
6ec0: 20 68 74 74 70 5f 70 72 6f 78 79 0d 0a 20 20 2a   http_proxy..  *
6ed0: 20 20 54 4d 50 5f 44 49 52 0d 0a 20 20 2a 20 20    TMP_DIR..  *  
6ee0: 47 41 54 45 57 41 59 5f 49 4e 54 45 52 46 41 43  GATEWAY_INTERFAC
6ef0: 45 0d 0a 20 20 2a 20 20 53 51 4c 49 54 45 5f 46  E..  *  SQLITE_F
6f00: 4f 52 43 45 5f 50 52 4f 58 59 5f 4c 4f 43 4b 49  ORCE_PROXY_LOCKI
6f10: 4e 47 0d 0a 20 20 2a 20 20 55 53 45 52 0d 0a 20  NG..  *  USER.. 
6f20: 20 2a 20 20 55 53 45 52 4e 41 4d 45 0d 0a 0d 0a   *  USERNAME....
6f30: 3c 62 3e 56 49 53 55 41 4c 2f 45 44 49 54 4f 52  <b>VISUAL/EDITOR
6f40: 3c 2f 62 3e 20 63 6f 6e 74 61 69 6e 20 74 68 65  </b> contain the
6f50: 20 65 64 69 74 6f 72 20 6f 66 20 79 6f 75 72 20   editor of your 
6f60: 63 68 6f 69 63 65 20 74 68 61 74 20 69 73 20 75  choice that is u
6f70: 73 65 64 20 74 6f 20 77 72 69 74 65 20 74 68 65  sed to write the
6f80: 20 63 6f 6d 6d 69 74 20 66 69 6c 65 2e 0d 0a 0d   commit file....
6f90: 0a 3c 62 3e 54 4d 50 5f 44 49 52 3c 2f 62 3e 20  .<b>TMP_DIR</b> 
6fa0: 73 70 65 63 69 66 69 65 73 20 74 68 65 20 64 69  specifies the di
6fb0: 72 65 63 74 6f 72 79 20 66 6f 72 20 74 65 6d 70  rectory for temp
6fc0: 6f 72 61 72 79 20 66 69 6c 65 73 2e 0d 0a 0d 0a  orary files.....
6fd0: 3c 62 3e 47 41 54 45 57 41 59 5f 49 4e 54 45 52  <b>GATEWAY_INTER
6fe0: 46 41 43 45 3c 2f 62 3e 20 3f 3f 3f 0d 0a 0d 0a  FACE</b> ???....
6ff0: 3c 62 3e 53 51 4c 49 54 45 5f 46 4f 52 43 45 5f  <b>SQLITE_FORCE_
7000: 50 52 4f 58 59 5f 4c 4f 43 4b 49 4e 47 3c 2f 62  PROXY_LOCKING</b
7010: 3e 20 3f 3f 3f 0d 0a 0d 0a 3c 62 3e 55 53 45 52  > ???....<b>USER
7020: 3c 2f 62 3e 0d 0a 0d 0a 3c 62 3e 55 53 45 52 4e  </b>....<b>USERN
7030: 41 4d 45 3c 2f 62 3e 0d 0a 0d 0a 0d 0a 3c 68 32  AME</b>......<h2
7040: 3e 3c 61 20 6e 61 6d 65 3d 22 63 73 73 22 3e 45  ><a name="css">E
7050: 78 61 6d 70 6c 65 20 43 53 53 3c 2f 61 3e 3c 2f  xample CSS</a></
7060: 68 32 3e 0d 0a 3c 68 33 3e 4d 6f 74 69 76 61 74  h2>..<h3>Motivat
7070: 69 6f 6e 3c 2f 68 33 3e 0d 0a 54 68 65 20 64 65  ion</h3>..The de
7080: 66 61 75 6c 74 20 55 49 20 6d 61 79 20 6e 6f 74  fault UI may not
7090: 20 62 65 20 73 74 79 6c 69 73 68 20 69 6e 20 65   be stylish in e
70a0: 76 65 72 79 6f 6e 65 73 20 65 79 65 73 2e 0d 0a  veryones eyes...
70b0: 49 74 20 69 73 20 75 70 20 74 6f 20 79 6f 75 20  It is up to you 
70c0: 74 6f 20 63 68 61 6e 67 65 20 69 74 2e 20 53 65  to change it. Se
70d0: 65 20 74 68 65 20 43 53 53 20 63 6f 64 65 20 62  e the CSS code b
70e0: 65 6c 6f 77 20 66 72 6f 6d 20 74 68 69 73 20 73  elow from this s
70f0: 69 74 65 20 5b 68 74 74 70 3a 2f 2f 66 6f 73 73  ite [http://foss
7100: 69 6c 2e 77 61 6e 64 65 72 69 6e 67 68 6f 72 73  il.wanderinghors
7110: 65 2e 6e 65 74 2f 69 6e 64 65 78 2e 63 67 69 2f  e.net/index.cgi/
7120: 69 6e 64 65 78 7c 57 61 6e 64 65 72 69 6e 67 20  index|Wandering 
7130: 48 6f 72 73 65 5d 0d 0a 0d 0a 3c 6e 6f 77 69 6b  Horse]....<nowik
7140: 69 3e 0d 0a 3c 70 72 65 3e 0d 0a 2f 2a 20 47 65  i>..<pre>../* Ge
7150: 6e 65 72 61 6c 20 73 65 74 74 69 6e 67 73 20 66  neral settings f
7160: 6f 72 20 74 68 65 20 65 6e 74 69 72 65 20 70 61  or the entire pa
7170: 67 65 20 2a 2f 0d 0a 62 6f 64 79 20 7b 0d 0a 20  ge */..body {.. 
7180: 20 6d 61 72 67 69 6e 3a 20 30 65 78 20 31 65 78   margin: 0ex 1ex
7190: 3b 0d 0a 20 20 70 61 64 64 69 6e 67 3a 20 30 70  ;..  padding: 0p
71a0: 78 3b 0d 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64  x;..  background
71b0: 2d 63 6f 6c 6f 72 3a 20 77 68 69 74 65 3b 0d 0a  -color: white;..
71c0: 20 20 66 6f 6e 74 2d 66 61 6d 69 6c 79 3a 20 22    font-family: "
71d0: 73 61 6e 73 20 73 65 72 69 66 22 3b 0d 0a 7d 0d  sans serif";..}.
71e0: 0a 0d 0a 2f 2a 20 4d 61 6b 65 20 74 68 65 20 6c  .../* Make the l
71f0: 69 6e 6b 73 20 69 6e 20 74 68 65 20 66 6f 6f 74  inks in the foot
7200: 65 72 20 6c 65 73 73 20 75 67 6c 79 2e 2e 2e 20  er less ugly... 
7210: 2a 2f 0d 0a 61 20 7b 20 63 6f 6c 6f 72 3a 20 23  */..a { color: #
7220: 30 30 30 66 36 61 3b 20 7d 0d 0a 61 3a 6c 69 6e  000f6a; }..a:lin
7230: 6b 20 7b 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66  k { color: #000f
7240: 36 61 3b 20 7d 0d 0a 61 3a 76 69 73 69 74 65 64  6a; }..a:visited
7250: 20 7b 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36   { color: #000f6
7260: 61 3b 20 7d 0d 0a 61 3a 68 6f 76 65 72 20 7b 20  a; }..a:hover { 
7270: 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72  background-color
7280: 3a 20 23 65 33 65 33 65 33 3b 20 7d 0d 0a 0d 0a  : #e3e3e3; }....
7290: 0d 0a 68 72 20 7b 0d 0a 20 20 68 65 69 67 68 74  ..hr {..  height
72a0: 3a 20 33 70 78 3b 0d 0a 20 20 62 6f 72 64 65 72  : 3px;..  border
72b0: 2d 74 6f 70 3a 20 6e 6f 6e 65 3b 20 2f 2a 31 70  -top: none; /*1p
72c0: 78 20 64 61 73 68 65 64 20 23 30 30 35 3b 2a 2f  x dashed #005;*/
72d0: 0d 0a 20 20 62 6f 72 64 65 72 2d 62 6f 74 74 6f  ..  border-botto
72e0: 6d 3a 20 31 70 78 20 64 61 73 68 65 64 20 23 30  m: 1px dashed #0
72f0: 30 35 3b 0d 0a 20 20 62 6f 72 64 65 72 2d 6c 65  05;..  border-le
7300: 66 74 3a 20 6e 6f 6e 65 3b 0d 0a 20 20 62 6f 72  ft: none;..  bor
7310: 64 65 72 2d 72 69 67 68 74 3a 20 6e 6f 6e 65 3b  der-right: none;
7320: 0d 0a 7d 0d 0a 2f 2a 20 54 68 65 20 70 72 6f 6a  ..}../* The proj
7330: 65 63 74 20 6c 6f 67 6f 20 69 6e 20 74 68 65 20  ect logo in the 
7340: 75 70 70 65 72 20 6c 65 66 74 2d 68 61 6e 64 20  upper left-hand 
7350: 63 6f 72 6e 65 72 20 6f 66 20 65 61 63 68 20 70  corner of each p
7360: 61 67 65 20 2a 2f 0d 0a 64 69 76 2e 6c 6f 67 6f  age */..div.logo
7370: 20 7b 0d 0a 20 20 64 69 73 70 6c 61 79 3a 20 74   {..  display: t
7380: 61 62 6c 65 2d 63 65 6c 6c 3b 0d 0a 20 20 74 65  able-cell;..  te
7390: 78 74 2d 61 6c 69 67 6e 3a 20 63 65 6e 74 65 72  xt-align: center
73a0: 3b 0d 0a 20 20 76 65 72 74 69 63 61 6c 2d 61 6c  ;..  vertical-al
73b0: 69 67 6e 3a 20 62 6f 74 74 6f 6d 3b 0d 0a 20 20  ign: bottom;..  
73c0: 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36 61 3b 0d  color: #000f6a;.
73d0: 0a 7d 0d 0a 0d 0a 2f 2a 20 54 68 65 20 70 61 67  .}..../* The pag
73e0: 65 20 74 69 74 6c 65 20 63 65 6e 74 65 72 65 64  e title centered
73f0: 20 61 74 20 74 68 65 20 74 6f 70 20 6f 66 20 65   at the top of e
7400: 61 63 68 20 70 61 67 65 20 2a 2f 0d 0a 64 69 76  ach page */..div
7410: 2e 74 69 74 6c 65 20 7b 0d 0a 20 20 64 69 73 70  .title {..  disp
7420: 6c 61 79 3a 20 74 61 62 6c 65 2d 63 65 6c 6c 3b  lay: table-cell;
7430: 0d 0a 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 32  ..  font-size: 2
7440: 65 6d 3b 0d 0a 20 20 66 6f 6e 74 2d 77 65 69 67  em;..  font-weig
7450: 68 74 3a 20 62 6f 6c 64 3b 0d 0a 20 20 74 65 78  ht: bold;..  tex
7460: 74 2d 61 6c 69 67 6e 3a 20 63 65 6e 74 65 72 3b  t-align: center;
7470: 0d 0a 20 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66  ..  color: #000f
7480: 36 61 3b 0d 0a 20 20 76 65 72 74 69 63 61 6c 2d  6a;..  vertical-
7490: 61 6c 69 67 6e 3a 20 62 6f 74 74 6f 6d 3b 0d 0a  align: bottom;..
74a0: 20 20 77 69 64 74 68 3a 20 31 30 30 25 3b 0d 0a    width: 100%;..
74b0: 7d 0d 0a 0d 0a 2f 2a 20 54 68 65 20 6c 6f 67 69  }..../* The logi
74c0: 6e 20 73 74 61 74 75 73 20 6d 65 73 73 61 67 65  n status message
74d0: 20 69 6e 20 74 68 65 20 74 6f 70 20 72 69 67 68   in the top righ
74e0: 74 2d 68 61 6e 64 20 63 6f 72 6e 65 72 20 2a 2f  t-hand corner */
74f0: 0d 0a 64 69 76 2e 73 74 61 74 75 73 20 7b 0d 0a  ..div.status {..
7500: 20 20 64 69 73 70 6c 61 79 3a 20 74 61 62 6c 65    display: table
7510: 2d 63 65 6c 6c 3b 0d 0a 20 20 74 65 78 74 2d 61  -cell;..  text-a
7520: 6c 69 67 6e 3a 20 72 69 67 68 74 3b 0d 0a 20 20  lign: right;..  
7530: 76 65 72 74 69 63 61 6c 2d 61 6c 69 67 6e 3a 20  vertical-align: 
7540: 62 6f 74 74 6f 6d 3b 0d 0a 20 20 63 6f 6c 6f 72  bottom;..  color
7550: 3a 20 23 30 30 30 66 36 61 3b 0d 0a 20 20 66 6f  : #000f6a;..  fo
7560: 6e 74 2d 73 69 7a 65 3a 20 30 2e 38 65 6d 3b 0d  nt-size: 0.8em;.
7570: 0a 7d 0d 0a 0d 0a 2f 2a 20 54 68 65 20 68 65 61  .}..../* The hea
7580: 64 65 72 20 61 63 72 6f 73 73 20 74 68 65 20 74  der across the t
7590: 6f 70 20 6f 66 20 74 68 65 20 70 61 67 65 20 2a  op of the page *
75a0: 2f 0d 0a 64 69 76 2e 68 65 61 64 65 72 20 7b 0d  /..div.header {.
75b0: 0a 20 20 64 69 73 70 6c 61 79 3a 20 74 61 62 6c  .  display: tabl
75c0: 65 3b 0d 0a 20 20 77 69 64 74 68 3a 20 31 30 30  e;..  width: 100
75d0: 25 3b 0d 0a 20 20 74 65 78 74 2d 61 6c 69 67 6e  %;..  text-align
75e0: 3a 20 63 65 6e 74 65 72 3b 0d 0a 7d 0d 0a 0d 0a  : center;..}....
75f0: 2f 2a 20 54 68 65 20 6d 61 69 6e 20 6d 65 6e 75  /* The main menu
7600: 20 62 61 72 20 74 68 61 74 20 61 70 70 65 61 72   bar that appear
7610: 73 20 61 74 20 74 68 65 20 74 6f 70 20 6f 66 20  s at the top of 
7620: 74 68 65 20 70 61 67 65 20 62 65 6e 65 61 74 68  the page beneath
7630: 0d 0a 2a 2a 20 74 68 65 20 68 65 61 64 65 72 20  ..** the header 
7640: 2a 2f 0d 0a 64 69 76 2e 6d 61 69 6e 6d 65 6e 75  */..div.mainmenu
7650: 20 7b 0d 0a 20 20 70 61 64 64 69 6e 67 3a 20 32   {..  padding: 2
7660: 70 78 20 35 70 78 20 32 70 78 20 35 70 78 3b 0d  px 5px 2px 5px;.
7670: 0a 20 20 66 6f 6e 74 2d 73 69 7a 65 3a 20 30 2e  .  font-size: 0.
7680: 39 65 6d 3b 0d 0a 20 20 74 65 78 74 2d 61 6c 69  9em;..  text-ali
7690: 67 6e 3a 20 63 65 6e 74 65 72 3b 0d 0a 20 20 6c  gn: center;..  l
76a0: 65 74 74 65 72 2d 73 70 61 63 69 6e 67 3a 20 31  etter-spacing: 1
76b0: 70 78 3b 0d 0a 20 20 62 61 63 6b 67 72 6f 75 6e  px;..  backgroun
76c0: 64 2d 63 6f 6c 6f 72 3a 20 23 65 33 65 33 65 33  d-color: #e3e3e3
76d0: 3b 0d 0a 20 20 63 6f 6c 6f 72 3a 20 23 30 30 30  ;..  color: #000
76e0: 66 36 61 3b 0d 0a 20 20 62 6f 72 64 65 72 3a 20  f6a;..  border: 
76f0: 31 70 78 20 69 6e 73 65 74 20 62 6c 61 63 6b 3b  1px inset black;
7700: 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 54 68 65 20 73 75  ..}..../* The su
7710: 62 6d 65 6e 75 20 62 61 72 20 74 68 61 74 20 2a  bmenu bar that *
7720: 73 6f 6d 65 74 69 6d 65 73 2a 20 61 70 70 65 61  sometimes* appea
7730: 72 73 20 62 65 6c 6f 77 20 74 68 65 20 6d 61 69  rs below the mai
7740: 6e 20 6d 65 6e 75 20 2a 2f 0d 0a 64 69 76 2e 73  n menu */..div.s
7750: 75 62 6d 65 6e 75 20 7b 0d 0a 20 20 70 61 64 64  ubmenu {..  padd
7760: 69 6e 67 3a 20 32 70 78 20 35 70 78 20 32 70 78  ing: 2px 5px 2px
7770: 20 35 70 78 3b 0d 0a 20 20 66 6f 6e 74 2d 73 69   5px;..  font-si
7780: 7a 65 3a 20 30 2e 39 65 6d 3b 0d 0a 20 20 74 65  ze: 0.9em;..  te
7790: 78 74 2d 61 6c 69 67 6e 3a 20 63 65 6e 74 65 72  xt-align: center
77a0: 3b 0d 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d  ;..  background-
77b0: 63 6f 6c 6f 72 3a 20 23 65 33 65 33 65 33 3b 0d  color: #e3e3e3;.
77c0: 0a 20 20 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36  .  color: #000f6
77d0: 61 3b 0d 0a 7d 0d 0a 64 69 76 2e 6d 61 69 6e 6d  a;..}..div.mainm
77e0: 65 6e 75 20 61 2c 20 64 69 76 2e 6d 61 69 6e 6d  enu a, div.mainm
77f0: 65 6e 75 20 61 3a 76 69 73 69 74 65 64 2c 20 64  enu a:visited, d
7800: 69 76 2e 73 75 62 6d 65 6e 75 20 61 2c 20 64 69  iv.submenu a, di
7810: 76 2e 73 75 62 6d 65 6e 75 20 61 3a 76 69 73 69  v.submenu a:visi
7820: 74 65 64 20 7b 0d 0a 20 20 70 61 64 64 69 6e 67  ted {..  padding
7830: 3a 20 32 70 78 20 31 30 70 78 20 32 70 78 20 31  : 2px 10px 2px 1
7840: 30 70 78 3b 0d 0a 20 20 63 6f 6c 6f 72 3a 20 23  0px;..  color: #
7850: 30 30 30 66 36 61 3b 0d 0a 20 20 62 61 63 6b 67  000f6a;..  backg
7860: 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 65 33  round-color: #e3
7870: 65 33 65 33 3b 0d 0a 20 20 74 65 78 74 2d 64 65  e3e3;..  text-de
7880: 63 6f 72 61 74 69 6f 6e 3a 20 6e 6f 6e 65 3b 0d  coration: none;.
7890: 0a 7d 0d 0a 64 69 76 2e 6d 61 69 6e 6d 65 6e 75  .}..div.mainmenu
78a0: 20 61 3a 68 6f 76 65 72 2c 20 64 69 76 2e 73 75   a:hover, div.su
78b0: 62 6d 65 6e 75 20 61 3a 68 6f 76 65 72 20 7b 0d  bmenu a:hover {.
78c0: 0a 20 20 63 6f 6c 6f 72 3a 20 23 65 33 65 33 65  .  color: #e3e3e
78d0: 33 3b 0d 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64  3;..  background
78e0: 2d 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36 61 3b  -color: #000f6a;
78f0: 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 41 6c 6c 20 70 61  ..}..../* All pa
7900: 67 65 20 63 6f 6e 74 65 6e 74 20 66 72 6f 6d 20  ge content from 
7910: 74 68 65 20 62 6f 74 74 6f 6d 20 6f 66 20 74 68  the bottom of th
7920: 65 20 6d 65 6e 75 20 6f 72 20 73 75 62 6d 65 6e  e menu or submen
7930: 75 20 64 6f 77 6e 20 74 6f 0d 0a 2a 2a 20 74 68  u down to..** th
7940: 65 20 66 6f 6f 74 65 72 20 2a 2f 0d 0a 64 69 76  e footer */..div
7950: 2e 63 6f 6e 74 65 6e 74 20 7b 0d 0a 20 20 70 61  .content {..  pa
7960: 64 64 69 6e 67 3a 20 30 65 78 20 31 65 78 20 30  dding: 0ex 1ex 0
7970: 65 78 20 32 65 78 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a  ex 2ex;..}..../*
7980: 20 53 6f 6d 65 20 70 61 67 65 73 20 68 61 76 65   Some pages have
7990: 20 73 65 63 74 69 6f 6e 20 64 69 76 69 64 65 72   section divider
79a0: 73 20 2a 2f 0d 0a 64 69 76 2e 73 65 63 74 69 6f  s */..div.sectio
79b0: 6e 20 7b 0d 0a 20 20 6d 61 72 67 69 6e 2d 62 6f  n {..  margin-bo
79c0: 74 74 6f 6d 3a 20 30 70 78 3b 0d 0a 20 20 6d 61  ttom: 0px;..  ma
79d0: 72 67 69 6e 2d 74 6f 70 3a 20 31 65 6d 3b 0d 0a  rgin-top: 1em;..
79e0: 20 20 70 61 64 64 69 6e 67 3a 20 31 70 78 20 31    padding: 1px 1
79f0: 70 78 20 31 70 78 20 31 70 78 3b 0d 0a 20 20 66  px 1px 1px;..  f
7a00: 6f 6e 74 2d 73 69 7a 65 3a 20 31 2e 32 65 6d 3b  ont-size: 1.2em;
7a10: 0d 0a 20 20 66 6f 6e 74 2d 77 65 69 67 68 74 3a  ..  font-weight:
7a20: 20 62 6f 6c 64 3b 0d 0a 20 20 62 61 63 6b 67 72   bold;..  backgr
7a30: 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 65 33 65  ound-color: #e3e
7a40: 33 65 33 3b 0d 0a 20 20 63 6f 6c 6f 72 3a 20 23  3e3;..  color: #
7a50: 30 30 30 66 36 61 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a  000f6a;..}..../*
7a60: 20 54 68 65 20 22 44 61 74 65 22 20 74 68 61 74   The "Date" that
7a70: 20 6f 63 63 75 72 73 20 6f 6e 20 74 68 65 20 6c   occurs on the l
7a80: 65 66 74 20 68 61 6e 64 20 73 69 64 65 20 6f 66  eft hand side of
7a90: 20 74 69 6d 65 6c 69 6e 65 73 20 2a 2f 0d 0a 64   timelines */..d
7aa0: 69 76 2e 64 69 76 69 64 65 72 20 7b 0d 0a 20 20  iv.divider {..  
7ab0: 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72  background-color
7ac0: 3a 20 23 65 33 65 33 65 33 3b 0d 0a 20 20 63 6f  : #e3e3e3;..  co
7ad0: 6c 6f 72 3a 20 23 30 30 30 66 36 61 3b 0d 0a 20  lor: #000f6a;.. 
7ae0: 20 62 6f 72 64 65 72 3a 20 31 70 78 20 23 62 62   border: 1px #bb
7af0: 62 62 66 66 20 73 6f 6c 69 64 3b 0d 0a 20 20 66  bbff solid;..  f
7b00: 6f 6e 74 2d 73 69 7a 65 3a 20 31 65 6d 3b 20 66  ont-size: 1em; f
7b10: 6f 6e 74 2d 77 65 69 67 68 74 3a 20 6e 6f 72 6d  ont-weight: norm
7b20: 61 6c 3b 0d 0a 20 20 70 61 64 64 69 6e 67 3a 20  al;..  padding: 
7b30: 2e 32 35 65 6d 3b 0d 0a 20 20 6d 61 72 67 69 6e  .25em;..  margin
7b40: 3a 20 2e 32 65 6d 20 30 20 2e 32 65 6d 20 30 3b  : .2em 0 .2em 0;
7b50: 0d 0a 20 20 66 6c 6f 61 74 3a 20 6c 65 66 74 3b  ..  float: left;
7b60: 0d 0a 20 20 63 6c 65 61 72 3a 20 6c 65 66 74 3b  ..  clear: left;
7b70: 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 54 68 65 20 66 6f  ..}..../* The fo
7b80: 6f 74 65 72 20 61 74 20 74 68 65 20 76 65 72 79  oter at the very
7b90: 20 62 6f 74 74 6f 6d 20 6f 66 20 74 68 65 20 70   bottom of the p
7ba0: 61 67 65 20 2a 2f 0d 0a 64 69 76 2e 66 6f 6f 74  age */..div.foot
7bb0: 65 72 20 7b 0d 0a 20 20 66 6f 6e 74 2d 73 69 7a  er {..  font-siz
7bc0: 65 3a 20 30 2e 38 65 6d 3b 0d 0a 20 20 70 61 64  e: 0.8em;..  pad
7bd0: 64 69 6e 67 3a 20 32 70 78 20 35 70 78 20 32 70  ding: 2px 5px 2p
7be0: 78 20 35 70 78 3b 0d 0a 20 20 74 65 78 74 2d 61  x 5px;..  text-a
7bf0: 6c 69 67 6e 3a 20 63 65 6e 74 65 72 3b 0d 0a 20  lign: center;.. 
7c00: 20 6c 65 74 74 65 72 2d 73 70 61 63 69 6e 67 3a   letter-spacing:
7c10: 20 31 70 78 3b 0d 0a 20 20 62 61 63 6b 67 72 6f   1px;..  backgro
7c20: 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 65 33 65 33  und-color: #e3e3
7c30: 65 33 3b 0d 0a 20 20 63 6f 6c 6f 72 3a 20 23 30  e3;..  color: #0
7c40: 30 30 66 36 61 3b 0d 0a 20 20 62 6f 72 64 65 72  00f6a;..  border
7c50: 3a 20 31 70 78 20 69 6e 73 65 74 20 62 6c 61 63  : 1px inset blac
7c60: 6b 3b 0d 0a 7d 0d 0a 0d 0a 2f 2a 20 4d 61 6b 65  k;..}..../* Make
7c70: 20 74 68 65 20 6c 69 6e 6b 73 20 69 6e 20 74 68   the links in th
7c80: 65 20 66 6f 6f 74 65 72 20 6c 65 73 73 20 75 67  e footer less ug
7c90: 6c 79 2e 2e 2e 20 2a 2f 0d 0a 64 69 76 2e 66 6f  ly... */..div.fo
7ca0: 6f 74 65 72 20 61 20 7b 20 63 6f 6c 6f 72 3a 20  oter a { color: 
7cb0: 23 30 30 30 66 36 61 3b 20 7d 0d 0a 64 69 76 2e  #000f6a; }..div.
7cc0: 66 6f 6f 74 65 72 20 61 3a 6c 69 6e 6b 20 7b 20  footer a:link { 
7cd0: 63 6f 6c 6f 72 3a 20 23 30 30 30 66 36 61 3b 20  color: #000f6a; 
7ce0: 7d 0d 0a 64 69 76 2e 66 6f 6f 74 65 72 20 61 3a  }..div.footer a:
7cf0: 76 69 73 69 74 65 64 20 7b 20 63 6f 6c 6f 72 3a  visited { color:
7d00: 20 23 30 30 30 66 36 61 3b 20 7d 0d 0a 64 69 76   #000f6a; }..div
7d10: 2e 66 6f 6f 74 65 72 20 61 3a 68 6f 76 65 72 20  .footer a:hover 
7d20: 7b 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c  { background-col
7d30: 6f 72 3a 20 23 30 30 30 66 36 61 3b 20 63 6f 6c  or: #000f6a; col
7d40: 6f 72 3a 20 23 65 33 65 33 65 33 3b 20 7d 0d 0a  or: #e3e3e3; }..
7d50: 0d 0a 2f 2a 20 76 65 72 62 61 74 69 6d 20 62 6c  ../* verbatim bl
7d60: 6f 63 6b 73 20 2a 2f 0d 0a 70 72 65 2e 76 65 72  ocks */..pre.ver
7d70: 62 61 74 69 6d 20 7b 0d 0a 20 20 20 62 61 63 6b  batim {..   back
7d80: 67 72 6f 75 6e 64 2d 63 6f 6c 6f 72 3a 20 23 66  ground-color: #f
7d90: 35 66 35 66 35 3b 0d 0a 20 20 20 70 61 64 64 69  5f5f5;..   paddi
7da0: 6e 67 3a 20 30 2e 35 65 6d 3b 0d 0a 7d 0d 0a 0d  ng: 0.5em;..}...
7db0: 0a 2f 2a 20 54 68 65 20 6c 61 62 65 6c 2f 76 61  ./* The label/va
7dc0: 6c 75 65 20 70 61 69 72 73 20 6f 6e 20 28 66 6f  lue pairs on (fo
7dd0: 72 20 65 78 61 6d 70 6c 65 29 20 74 68 65 20 76  r example) the v
7de0: 69 6e 66 6f 20 70 61 67 65 20 2a 2f 0d 0a 74 61  info page */..ta
7df0: 62 6c 65 2e 6c 61 62 65 6c 2d 76 61 6c 75 65 20  ble.label-value 
7e00: 74 68 20 7b 0d 0a 20 20 76 65 72 74 69 63 61 6c  th {..  vertical
7e10: 2d 61 6c 69 67 6e 3a 20 74 6f 70 3b 0d 0a 20 20  -align: top;..  
7e20: 74 65 78 74 2d 61 6c 69 67 6e 3a 20 72 69 67 68  text-align: righ
7e30: 74 3b 0d 0a 20 20 70 61 64 64 69 6e 67 3a 20 30  t;..  padding: 0
7e40: 2e 32 65 78 20 32 65 78 3b 0d 0a 7d 0d 0a 0d 0a  .2ex 2ex;..}....
7e50: 2f 2a 20 46 6f 72 20 6d 61 72 6b 69 6e 67 20 69  /* For marking i
7e60: 6d 70 6f 72 74 61 6e 74 20 55 49 20 65 6c 65 6d  mportant UI elem
7e70: 65 6e 74 73 20 77 68 69 63 68 20 73 68 6f 75 6c  ents which shoul
7e80: 64 6e 27 74 20 62 65 0d 0a 20 20 20 6c 69 67 68  dn't be..   ligh
7e90: 74 6c 79 20 64 69 73 6d 69 73 73 65 64 2e 20 49  tly dismissed. I
7ea0: 20 6d 61 69 6e 6c 79 20 75 73 65 20 69 74 20 74   mainly use it t
7eb0: 6f 20 6d 61 72 6b 20 22 6e 6f 74 20 79 65 74 0d  o mark "not yet.
7ec0: 0a 20 20 20 69 6d 70 6c 65 6d 65 6e 74 65 64 22  .   implemented"
7ed0: 20 70 61 72 74 73 20 6f 66 20 61 20 70 61 67 65   parts of a page
7ee0: 2e 20 57 68 65 74 68 65 72 20 6f 72 20 6e 6f 74  . Whether or not
7ef0: 20 74 6f 20 68 61 76 65 0d 0a 20 20 20 61 20 27   to have..   a '
7f00: 62 6f 72 64 65 72 27 20 61 74 74 72 69 62 75 74  border' attribut
7f10: 65 20 73 65 74 20 69 73 20 61 72 67 75 61 62 6c  e set is arguabl
7f20: 65 2e 20 2a 2f 0d 0a 2e 61 63 68 74 75 6e 67 20  e. */...achtung 
7f30: 7b 0d 0a 20 20 63 6f 6c 6f 72 3a 20 23 66 66 30  {..  color: #ff0
7f40: 30 30 30 3b 0d 0a 20 20 62 61 63 6b 67 72 6f 75  000;..  backgrou
7f50: 6e 64 3a 20 23 66 66 66 66 30 30 3b 0d 0a 20 20  nd: #ffff00;..  
7f60: 62 6f 72 64 65 72 3a 20 31 70 78 20 73 6f 6c 69  border: 1px soli
7f70: 64 20 23 66 66 30 30 30 30 3b 0d 0a 7d 0d 0a 0d  d #ff0000;..}...
7f80: 0a 74 61 62 6c 65 2e 66 6f 73 73 69 6c 5f 64 62  .table.fossil_db
7f90: 5f 67 65 6e 65 72 69 63 5f 71 75 65 72 79 5f 76  _generic_query_v
7fa0: 69 65 77 20 7b 0d 0a 20 20 62 6f 72 64 65 72 2d  iew {..  border-
7fb0: 73 70 61 63 69 6e 67 3a 20 30 70 78 3b 0d 0a 20  spacing: 0px;.. 
7fc0: 20 62 6f 72 64 65 72 3a 20 31 70 78 20 73 6f 6c   border: 1px sol
7fd0: 69 64 20 62 6c 61 63 6b 3b 0d 0a 7d 0d 0a 74 61  id black;..}..ta
7fe0: 62 6c 65 2e 66 6f 73 73 69 6c 5f 64 62 5f 67 65  ble.fossil_db_ge
7ff0: 6e 65 72 69 63 5f 71 75 65 72 79 5f 76 69 65 77  neric_query_view
8000: 20 74 64 20 7b 0d 0a 20 20 70 61 64 64 69 6e 67   td {..  padding
8010: 3a 20 32 70 78 20 31 65 6d 20 32 70 78 20 31 65  : 2px 1em 2px 1e
8020: 6d 3b 0d 0a 7d 0d 0a 74 61 62 6c 65 2e 66 6f 73  m;..}..table.fos
8030: 73 69 6c 5f 64 62 5f 67 65 6e 65 72 69 63 5f 71  sil_db_generic_q
8040: 75 65 72 79 5f 76 69 65 77 20 74 72 20 7b 0d 0a  uery_view tr {..
8050: 7d 0d 0a 74 61 62 6c 65 2e 66 6f 73 73 69 6c 5f  }..table.fossil_
8060: 64 62 5f 67 65 6e 65 72 69 63 5f 71 75 65 72 79  db_generic_query
8070: 5f 76 69 65 77 20 74 72 2e 65 76 65 6e 20 7b 0d  _view tr.even {.
8080: 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64 3a 20 23  .  background: #
8090: 66 66 66 66 66 66 3b 0d 0a 7d 0d 0a 74 61 62 6c  ffffff;..}..tabl
80a0: 65 2e 66 6f 73 73 69 6c 5f 64 62 5f 67 65 6e 65  e.fossil_db_gene
80b0: 72 69 63 5f 71 75 65 72 79 5f 76 69 65 77 20 74  ric_query_view t
80c0: 72 2e 6f 64 64 20 7b 0d 0a 20 20 62 61 63 6b 67  r.odd {..  backg
80d0: 72 6f 75 6e 64 3a 20 23 65 35 65 35 65 35 3b 0d  round: #e5e5e5;.
80e0: 0a 7d 0d 0a 74 61 62 6c 65 2e 66 6f 73 73 69 6c  .}..table.fossil
80f0: 5f 64 62 5f 67 65 6e 65 72 69 63 5f 71 75 65 72  _db_generic_quer
8100: 79 5f 76 69 65 77 20 74 72 2e 68 65 61 64 65 72  y_view tr.header
8110: 20 7b 0d 0a 20 20 62 61 63 6b 67 72 6f 75 6e 64   {..  background
8120: 3a 20 23 35 35 38 31 39 35 3b 0d 0a 20 20 66 6f  : #558195;..  fo
8130: 6e 74 2d 73 69 7a 65 3a 20 31 2e 35 65 6d 3b 0d  nt-size: 1.5em;.
8140: 0a 20 20 63 6f 6c 6f 72 3a 20 23 66 66 66 66 66  .  color: #fffff
8150: 66 3b 0d 0a 7d 0d 0a 3c 2f 70 72 65 3e 0d 0a 3c  f;..}..</pre>..<
8160: 2f 6e 6f 77 69 6b 69 3e 0d 0a 3c 68 32 3e 3c 61  /nowiki>..<h2><a
8170: 20 6e 61 6d 65 3d 22 73 6f 75 72 63 65 2d 68 69   name="source-hi
8180: 6c 69 67 68 74 22 3e 53 6f 75 72 63 65 20 68 69  light">Source hi
8190: 67 68 6c 69 67 68 74 69 6e 67 3c 2f 61 3e 3c 2f  ghlighting</a></
81a0: 68 32 3e 0d 0a 3c 68 33 3e 4d 6f 74 69 76 61 74  h2>..<h3>Motivat
81b0: 69 6f 6e 3c 2f 68 33 3e 0d 0a 20 20 2a 20 20 59  ion</h3>..  *  Y
81c0: 6f 75 20 77 61 6e 74 20 74 6f 20 68 61 76 65 20  ou want to have 
81d0: 73 6f 75 72 63 65 20 63 6f 64 65 20 68 69 67 68  source code high
81e0: 6c 69 67 68 74 69 6e 67 20 66 6f 72 20 74 68 65  lighting for the
81f0: 20 66 69 6c 65 73 20 69 6e 20 79 6f 75 72 20 72   files in your r
8200: 65 70 6f 73 69 74 6f 72 79 0d 0a 0d 0a 3c 68 33  epository....<h3
8210: 3e 50 72 6f 62 6c 65 6d 3c 2f 68 33 3e 0d 0a 54  >Problem</h3>..T
8220: 68 65 20 6d 61 69 6e 20 70 75 72 70 6f 73 65 20  he main purpose 
8230: 6f 66 20 46 6f 73 73 69 6c 20 69 73 20 74 6f 20  of Fossil is to 
8240: 64 6f 20 76 65 72 73 69 6f 6e 69 6e 67 20 74 68  do versioning th
8250: 65 20 73 6f 75 72 63 65 20 63 6f 64 65 2e 20 41  e source code. A
8260: 6c 74 68 6f 75 67 68 20 69 74 20 70 72 6f 76 69  lthough it provi
8270: 64 65 73 20 61 20 73 74 61 6e 64 61 6c 6f 6e 65  des a standalone
8280: 20 73 65 72 76 65 72 20 61 6e 64 20 6c 65 74 73   server and lets
8290: 20 79 6f 75 20 6e 61 76 69 67 61 74 65 20 74 68   you navigate th
82a0: 72 6f 75 67 68 20 74 68 65 20 72 65 70 6f 73 69  rough the reposi
82b0: 74 6f 72 79 20 66 69 6c 65 73 20 61 64 64 69 74  tory files addit
82c0: 69 6f 6e 61 6c 20 66 65 61 74 75 72 65 73 20 6c  ional features l
82d0: 69 6b 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20  ike source code 
82e0: 68 69 67 68 6c 69 67 68 74 69 6e 67 20 66 72 6f  highlighting fro
82f0: 6d 20 6d 79 20 70 65 72 73 70 65 63 74 69 76 65  m my perspective
8300: 20 28 49 20 61 6d 20 6e 6f 74 20 61 20 64 65 76   (I am not a dev
8310: 65 6c 6f 70 65 72 20 6f 66 20 46 6f 73 73 69 6c  eloper of Fossil
8320: 29 20 69 73 20 6f 75 74 20 6f 66 20 73 63 6f 70  ) is out of scop
8330: 65 20 66 6f 72 20 61 6e 20 53 43 4d 2e 20 4a 75  e for an SCM. Ju
8340: 73 74 20 6b 65 65 70 20 74 68 65 20 55 6e 69 78  st keep the Unix
8350: 20 70 72 69 6e 63 69 70 6c 65 3a 20 73 6d 61 6c   principle: smal
8360: 6c 20 6c 69 74 74 6c 65 20 70 72 6f 67 72 61 6d  l little program
8370: 73 20 74 68 61 74 20 64 6f 20 74 68 65 69 72 20  s that do their 
8380: 74 61 73 6b 20 61 6e 64 20 64 6f 20 69 74 20 77  task and do it w
8390: 65 6c 6c 2e 0d 0a 0d 0a 48 6f 77 65 76 65 72 20  ell.....However 
83a0: 74 6f 20 68 61 76 65 20 61 20 73 6f 75 72 63 65  to have a source
83b0: 20 63 6f 64 65 20 68 69 67 68 6c 69 67 68 74 69   code highlighti
83c0: 6e 67 20 69 6e 20 74 68 65 20 70 72 65 73 65 6e  ng in the presen
83d0: 74 65 64 20 77 65 62 20 70 61 67 65 73 20 77 6f  ted web pages wo
83e0: 75 6c 64 20 73 74 69 6c 6c 20 62 65 20 64 65 73  uld still be des
83f0: 69 72 61 62 6c 65 2e 0d 0a 0d 0a 3c 68 33 3e 53  irable.....<h3>S
8400: 6f 6c 75 74 69 6f 6e 3c 2f 68 33 3e 0d 0a 54 68  olution</h3>..Th
8410: 65 72 65 20 61 72 65 20 74 77 6f 20 73 63 65 6e  ere are two scen
8420: 61 72 69 6f 73 20 68 6f 77 20 74 6f 20 69 6d 70  arios how to imp
8430: 6c 65 6d 65 6e 74 20 73 75 63 68 20 61 20 66 65  lement such a fe
8440: 61 74 75 72 65 3a 0d 0a 20 20 20 2a 20 20 46 6f  ature:..   *  Fo
8450: 73 73 69 6c 20 70 69 70 65 73 20 74 68 65 20 73  ssil pipes the s
8460: 6f 75 72 63 65 20 63 6f 64 65 20 74 68 72 6f 75  ource code throu
8470: 67 68 20 61 20 66 69 6c 74 65 72 20 62 65 66 6f  gh a filter befo
8480: 72 65 20 73 65 6e 64 69 6e 67 20 69 74 20 74 6f  re sending it to
8490: 20 74 68 65 20 62 72 6f 77 73 65 72 2e 20 54 68   the browser. Th
84a0: 65 20 66 69 6c 74 65 72 20 63 6f 75 6c 64 20 62  e filter could b
84b0: 65 20 64 65 66 69 6e 65 64 20 61 73 20 61 20 63  e defined as a c
84c0: 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 70 74  onfiguration opt
84d0: 69 6f 6e 20 74 6f 20 46 6f 73 73 69 6c 2e 20 4f  ion to Fossil. O
84e0: 6e 65 20 73 6f 6c 75 74 69 6f 6e 20 66 6f 72 20  ne solution for 
84f0: 74 68 69 73 20 6d 69 67 68 74 20 62 65 20 74 68  this might be th
8500: 65 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a  e <a href="http:
8510: 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 73 6f  //www.gnu.org/so
8520: 66 74 77 61 72 65 2f 73 72 63 2d 68 69 67 68 6c  ftware/src-highl
8530: 69 74 65 22 3e 47 4e 55 20 53 6f 75 72 63 65 20  ite">GNU Source 
8540: 63 6f 64 65 20 48 69 67 68 6c 69 67 68 74 69 6e  code Highlightin
8550: 67 3c 2f 61 3e 20 70 72 6f 67 72 61 6d 2e 0d 0a  g</a> program...
8560: 20 20 20 2a 20 20 55 73 65 20 61 20 4a 61 76 61     *  Use a Java
8570: 73 63 72 69 70 74 20 6c 69 62 72 61 72 79 20 74  script library t
8580: 68 61 74 20 72 65 6e 64 65 72 73 20 74 68 65 20  hat renders the 
8590: 63 6f 64 65 20 77 69 74 68 69 6e 20 79 6f 75 72  code within your
85a0: 20 62 72 6f 77 73 65 72 2e 20 4f 6e 65 20 73 6f   browser. One so
85b0: 6c 75 74 69 6f 6e 20 66 6f 72 20 74 68 69 73 20  lution for this 
85c0: 6d 69 67 68 74 20 62 65 20 3c 61 20 68 72 65 66  might be <a href
85d0: 3d 22 68 74 74 70 3a 2f 2f 63 6f 64 65 2e 67 6f  ="http://code.go
85e0: 6f 67 6c 65 2e 63 6f 6d 2f 70 2f 73 79 6e 74 61  ogle.com/p/synta
85f0: 78 68 69 67 68 6c 69 67 68 74 65 72 22 3e 47 6f  xhighlighter">Go
8600: 6f 67 6c 65 20 53 79 6e 74 61 78 20 48 69 67 68  ogle Syntax High
8610: 6c 69 67 68 74 65 72 3c 2f 61 3e 0d 0a 0d 0a 49  lighter</a>....I
8620: 20 65 73 74 69 6d 61 74 65 20 74 68 61 74 20 74   estimate that t
8630: 68 65 20 3c 69 3e 70 69 70 65 3c 2f 69 3e 20 73  he <i>pipe</i> s
8640: 6f 6c 75 74 69 6f 6e 20 6e 65 65 64 73 20 73 6f  olution needs so
8650: 6d 65 20 6d 6f 72 65 20 77 6f 72 6b 2f 20 63 6f  me more work/ co
8660: 64 65 20 63 68 61 6e 67 65 73 2e 20 54 68 75 73  de changes. Thus
8670: 20 49 20 61 6d 20 73 6f 6c 65 6c 79 20 6c 6f 6f   I am solely loo
8680: 6b 69 6e 67 20 61 74 20 74 68 65 20 4a 61 76 61  king at the Java
8690: 73 63 72 69 70 74 20 73 6f 6c 75 74 69 6f 6e 2e  script solution.
86a0: 0d 0a 0d 0a 54 68 65 20 53 79 6e 74 61 78 48 69  ....The SyntaxHi
86b0: 67 68 6c 69 67 68 74 65 72 20 69 73 20 61 20 6c  ghlighter is a l
86c0: 69 62 72 61 72 79 20 6f 66 20 73 6f 6d 65 20 4a  ibrary of some J
86d0: 61 76 61 73 63 72 69 70 74 20 66 69 6c 65 73 2c  avascript files,
86e0: 20 61 20 6c 69 74 74 6c 65 20 46 6c 61 73 68 20   a little Flash 
86f0: 61 70 70 6c 69 63 61 74 69 6f 6e 20 61 6e 64 20  application and 
8700: 61 20 43 53 53 20 66 69 6c 65 2e 20 54 68 65 20  a CSS file. The 
8710: 46 6c 61 73 68 20 61 70 70 6c 69 63 61 74 69 6f  Flash applicatio
8720: 6e 20 69 73 20 66 6f 72 20 63 6f 70 79 69 6e 67  n is for copying
8730: 20 74 6f 20 63 6c 69 70 62 6f 61 72 64 2c 20 70   to clipboard, p
8740: 72 69 6e 74 20 61 6e 64 20 76 69 65 77 20 73 6f  rint and view so
8750: 75 72 63 65 2e 20 59 6f 75 20 68 61 76 65 20 74  urce. You have t
8760: 68 65 20 6f 70 74 69 6f 6e 20 74 6f 20 69 6e 63  he option to inc
8770: 6c 75 64 65 20 61 6c 6c 20 74 68 65 20 66 69 6c  lude all the fil
8780: 65 73 20 69 6e 74 6f 20 79 6f 75 72 20 72 65 70  es into your rep
8790: 6f 73 69 74 6f 72 79 20 6f 72 20 75 73 65 20 74  ository or use t
87a0: 68 65 20 66 69 6c 65 73 20 68 6f 73 74 65 64 20  he files hosted 
87b0: 61 74 20 47 6f 6f 67 6c 65 2e 20 54 68 65 20 6c  at Google. The l
87c0: 61 74 74 65 72 20 6d 61 79 20 6f 6e 6c 79 20 62  atter may only b
87d0: 65 20 61 6e 20 6f 70 74 69 6f 6e 20 69 66 20 79  e an option if y
87e0: 6f 75 20 61 72 65 20 63 6f 6e 6e 65 63 74 65 64  ou are connected
87f0: 20 74 6f 20 69 6e 74 65 72 6e 65 74 20 61 6c 6c   to internet all
8800: 20 74 68 65 20 74 69 6d 65 2e 0d 0a 0d 0a 46 6f   the time.....Fo
8810: 72 20 73 79 6e 74 61 78 20 68 69 67 68 6c 69 67  r syntax highlig
8820: 68 74 69 6e 67 20 74 6f 20 77 6f 72 6b 20 74 68  hting to work th
8830: 65 20 48 65 61 64 65 72 20 61 6e 64 20 46 6f 6f  e Header and Foo
8840: 74 65 72 20 74 65 6d 70 6c 61 74 65 73 20 6e 65  ter templates ne
8850: 65 64 20 74 6f 20 62 65 20 6d 6f 64 69 66 69 65  ed to be modifie
8860: 64 20 61 6e 64 20 61 20 6c 69 74 74 6c 65 20 63  d and a little c
8870: 6f 64 65 20 63 68 61 6e 67 65 20 68 61 73 20 74  ode change has t
8880: 6f 20 62 65 20 61 70 70 6c 69 65 64 20 74 6f 20  o be applied to 
8890: 74 68 65 20 46 6f 73 73 69 6c 20 73 6f 75 72 63  the Fossil sourc
88a0: 65 73 2e 0d 0a 54 68 65 20 65 78 61 6d 70 6c 65  es...The example
88b0: 73 20 62 65 6c 6f 77 20 61 73 73 75 6d 65 20 79  s below assume y
88c0: 6f 75 20 68 61 76 65 20 61 64 64 65 64 20 74 68  ou have added th
88d0: 65 20 73 79 6e 74 61 78 20 68 69 67 68 6c 69 67  e syntax highlig
88e0: 68 74 69 6e 67 20 6c 69 62 72 61 72 79 20 74 6f  hting library to
88f0: 20 79 6f 75 72 20 72 65 70 6f 73 69 74 6f 72 79   your repository
8900: 20 69 6e 74 6f 20 61 20 64 69 72 65 63 74 6f 72   into a director
8910: 79 20 77 77 77 2f 73 63 72 69 70 74 73 2e 0d 0a  y www/scripts...
8920: 3c 70 3e 0d 0a 3c 62 3e 48 65 61 64 65 72 3c 2f  <p>..<b>Header</
8930: 62 3e 0d 0a 3c 70 72 65 3e 0d 0a 26 6c 74 3b 68  b>..<pre>..&lt;h
8940: 74 6d 6c 26 67 74 3b 0d 0a 20 26 6c 74 3b 68 65  tml&gt;.. &lt;he
8950: 61 64 26 67 74 3b 0d 0a 20 26 6c 74 3b 74 69 74  ad&gt;.. &lt;tit
8960: 6c 65 26 67 74 3b 24 26 6c 74 3b 70 72 6f 6a 65  le&gt;$&lt;proje
8970: 63 74 5f 6e 61 6d 65 26 67 74 3b 3a 20 24 26 6c  ct_name&gt;: $&l
8980: 74 3b 74 69 74 6c 65 26 67 74 3b 26 6c 74 3b 2f  t;title&gt;&lt;/
8990: 74 69 74 6c 65 26 67 74 3b 0d 0a 20 26 6c 74 3b  title&gt;.. &lt;
89a0: 6c 69 6e 6b 20 72 65 6c 3d 22 61 6c 74 65 72 6e  link rel="altern
89b0: 61 74 65 22 20 74 79 70 65 3d 22 61 70 70 6c 69  ate" type="appli
89c0: 63 61 74 69 6f 6e 2f 72 73 73 2b 78 6d 6c 22 20  cation/rss+xml" 
89d0: 74 69 74 6c 65 3d 22 52 53 53 20 46 65 65 64 22  title="RSS Feed"
89e0: 0d 0a 20 20 20 20 20 20 20 68 72 65 66 3d 22 24  ..       href="$
89f0: 62 61 73 65 75 72 6c 2f 74 69 6d 65 6c 69 6e 65  baseurl/timeline
8a00: 2e 72 73 73 22 26 67 74 3b 0d 0a 20 26 6c 74 3b  .rss"&gt;.. &lt;
8a10: 6c 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73  link rel="styles
8a20: 68 65 65 74 22 20 68 72 65 66 3d 22 24 62 61 73  heet" href="$bas
8a30: 65 75 72 6c 2f 73 74 79 6c 65 2e 63 73 73 22 20  eurl/style.css" 
8a40: 74 79 70 65 3d 22 74 65 78 74 2f 63 73 73 22 0d  type="text/css".
8a50: 0a 20 20 20 20 20 20 20 6d 65 64 69 61 3d 22 73  .       media="s
8a60: 63 72 65 65 6e 22 26 67 74 3b 0d 0a 20 26 6c 74  creen"&gt;.. &lt
8a70: 3b 6c 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65  ;link rel="style
8a80: 73 68 65 65 74 22 20 68 72 65 66 3d 22 24 62 61  sheet" href="$ba
8a90: 73 65 75 72 6c 2f 64 6f 63 2f 74 69 70 2f 77 77  seurl/doc/tip/ww
8aa0: 77 2f 53 79 6e 74 61 78 48 69 67 68 6c 69 67 68  w/SyntaxHighligh
8ab0: 74 65 72 2e 63 73 73 22 20 74 79 70 65 3d 22 74  ter.css" type="t
8ac0: 65 78 74 2f 63 73 73 22 0d 0a 20 20 20 20 20 20  ext/css"..      
8ad0: 20 6d 65 64 69 61 3d 22 73 63 72 65 65 6e 22 26   media="screen"&
8ae0: 67 74 3b 0d 0a 20 26 6c 74 3b 2f 68 65 61 64 26  gt;.. &lt;/head&
8af0: 67 74 3b 0d 0a 0d 0a 2e 20 2e 20 2e 0d 0a 3c 2f  gt;..... . ...</
8b00: 70 72 65 3e 0d 0a 3c 2f 70 3e 3c 70 3e 0d 0a 3c  pre>..</p><p>..<
8b10: 62 3e 46 6f 6f 74 65 72 3c 2f 62 3e 0d 0a 3c 70  b>Footer</b>..<p
8b20: 72 65 3e 0d 0a 26 6c 74 3b 2f 64 69 76 26 67 74  re>..&lt;/div&gt
8b30: 3b 0d 0a 26 6c 74 3b 64 69 76 20 63 6c 61 73 73  ;..&lt;div class
8b40: 3d 22 66 6f 6f 74 65 72 22 26 67 74 3b 0d 0a 46  ="footer"&gt;..F
8b50: 6f 73 73 69 6c 20 76 65 72 73 69 6f 6e 20 24 6d  ossil version $m
8b60: 61 6e 69 66 65 73 74 5f 76 65 72 73 69 6f 6e 20  anifest_version 
8b70: 24 6d 61 6e 69 66 65 73 74 5f 64 61 74 65 0d 0a  $manifest_date..
8b80: 26 6c 74 3b 2f 64 69 76 26 67 74 3b 0d 0a 26 6c  &lt;/div&gt;..&l
8b90: 74 3b 73 63 72 69 70 74 20 6c 61 6e 67 75 61 67  t;script languag
8ba0: 65 3d 22 6a 61 76 61 73 63 72 69 70 74 22 20 73  e="javascript" s
8bb0: 72 63 3d 22 24 62 61 73 65 75 72 6c 2f 64 6f 63  rc="$baseurl/doc
8bc0: 2f 74 69 70 2f 77 77 77 2f 73 63 72 69 70 74 73  /tip/www/scripts
8bd0: 2f 73 68 43 6f 72 65 2e 6a 73 22 26 67 74 3b 26  /shCore.js"&gt;&
8be0: 6c 74 3b 2f 73 63 72 69 70 74 26 67 74 3b 0d 0a  lt;/script&gt;..
8bf0: 26 6c 74 3b 73 63 72 69 70 74 20 6c 61 6e 67 75  &lt;script langu
8c00: 61 67 65 3d 22 6a 61 76 61 73 63 72 69 70 74 22  age="javascript"
8c10: 20 73 72 63 3d 22 24 62 61 73 65 75 72 6c 2f 64   src="$baseurl/d
8c20: 6f 63 2f 74 69 70 2f 77 77 77 2f 73 63 72 69 70  oc/tip/www/scrip
8c30: 74 73 2f 73 68 42 72 75 73 68 43 70 70 2e 6a 73  ts/shBrushCpp.js
8c40: 22 26 67 74 3b 26 6c 74 3b 2f 73 63 72 69 70 74  "&gt;&lt;/script
8c50: 26 67 74 3b 0d 0a 26 6c 74 3b 73 63 72 69 70 74  &gt;..&lt;script
8c60: 20 6c 61 6e 67 75 61 67 65 3d 22 6a 61 76 61 73   language="javas
8c70: 63 72 69 70 74 22 26 67 74 3b 0d 0a 64 70 2e 53  cript"&gt;..dp.S
8c80: 79 6e 74 61 78 48 69 67 68 6c 69 67 68 74 65 72  yntaxHighlighter
8c90: 2e 43 6c 69 70 62 6f 61 72 64 53 77 66 20 3d 20  .ClipboardSwf = 
8ca0: 27 24 62 61 73 65 75 72 6c 2f 64 6f 63 2f 74 69  '$baseurl/doc/ti
8cb0: 70 2f 77 77 77 2f 73 63 72 69 70 74 73 2f 63 6c  p/www/scripts/cl
8cc0: 69 70 62 6f 61 72 64 2e 73 77 66 27 3b 0d 0a 64  ipboard.swf';..d
8cd0: 70 2e 53 79 6e 74 61 78 48 69 67 68 6c 69 67 68  p.SyntaxHighligh
8ce0: 74 65 72 2e 48 69 67 68 6c 69 67 68 74 41 6c 6c  ter.HighlightAll
8cf0: 28 27 63 6f 64 65 27 29 3b 0d 0a 26 6c 74 3b 2f  ('code');..&lt;/
8d00: 73 63 72 69 70 74 26 67 74 3b 0d 0a 26 6c 74 3b  script&gt;..&lt;
8d10: 2f 62 6f 64 79 26 67 74 3b 26 6c 74 3b 2f 68 74  /body&gt;&lt;/ht
8d20: 6d 6c 26 67 74 3b 0d 0a 3c 2f 70 72 65 3e 0d 0a  ml&gt;..</pre>..
8d30: 3c 2f 70 3e 3c 70 3e 0d 0a 3c 62 3e 46 6f 73 73  </p><p>..<b>Foss
8d40: 69 6c 2f 73 72 63 2f 69 6e 66 6f 2e 63 3c 2f 62  il/src/info.c</b
8d50: 3e 20 66 75 6e 63 74 69 6f 6e 20 61 72 74 69 66  > function artif
8d60: 61 63 74 5f 70 61 67 65 0d 0a 3c 70 72 65 3e 0d  act_page..<pre>.
8d70: 0a 69 66 28 20 7a 4d 69 6d 65 3d 3d 30 20 29 7b  .if( zMime==0 ){
8d80: 0d 0a 20 20 20 20 40 20 26 6c 74 3b 70 72 65 20  ..    @ &lt;pre 
8d90: 6e 61 6d 65 3d 22 63 6f 64 65 22 20 63 6c 61 73  name="code" clas
8da0: 73 3d 22 63 22 26 67 74 3b 0d 0a 20 20 20 20 40  s="c"&gt;..    @
8db0: 20 25 68 28 62 6c 6f 62 5f 73 74 72 28 26 63 6f   %h(blob_str(&co
8dc0: 6e 74 65 6e 74 29 29 0d 0a 20 20 20 20 40 20 26  ntent))..    @ &
8dd0: 6c 74 3b 2f 70 72 65 26 67 74 3b 0d 0a 3c 2f 70  lt;/pre&gt;..</p
8de0: 72 65 3e 0d 0a 3c 2f 70 3e 0d 0a 3c 68 33 3e 44  re>..</p>..<h3>D
8df0: 69 73 63 75 73 73 69 6f 6e 3c 2f 68 33 3e 0d 0a  iscussion</h3>..
8e00: 54 68 65 20 4a 61 76 61 73 63 72 69 70 74 20 73  The Javascript s
8e10: 6f 6c 75 74 69 6f 6e 20 72 65 71 75 69 72 65 73  olution requires
8e20: 20 61 20 6d 69 6e 69 6d 75 6d 20 74 6f 20 62 65   a minimum to be
8e30: 20 66 75 6c 6c 79 20 73 75 70 70 6f 72 74 65 64   fully supported
8e40: 20 62 79 20 46 6f 73 73 69 6c 2e 20 4f 66 20 63   by Fossil. Of c
8e50: 6f 75 72 73 65 20 6d 79 20 6c 69 74 74 65 20 63  ourse my litte c
8e60: 68 61 6e 67 65 20 6f 6e 6c 79 20 61 70 70 6c 69  hange only appli
8e70: 65 73 20 66 6f 72 20 43 2f 43 2b 2b 20 66 69 6c  es for C/C++ fil
8e80: 65 73 2e 20 42 75 74 20 6f 6e 6c 79 20 6c 69 74  es. But only lit
8e90: 74 6c 65 20 6d 6f 72 65 20 77 6f 72 6b 20 6e 65  tle more work ne
8ea0: 65 64 73 20 74 6f 20 62 65 20 64 6f 6e 65 20 74  eds to be done t
8eb0: 6f 20 67 65 74 20 74 68 65 20 65 78 74 65 6e 73  o get the extens
8ec0: 69 6f 6e 20 6f 66 20 74 68 65 20 66 69 6c 65 20  ion of the file 
8ed0: 61 20 67 75 65 73 73 20 74 68 65 20 66 69 6c 65  a guess the file
8ee0: 20 74 79 70 65 2e 0d 0a 0d 0a 54 68 65 20 70 69   type.....The pi
8ef0: 70 65 20 73 6f 6c 75 74 69 6f 6e 20 77 6f 75 6c  pe solution woul
8f00: 64 20 61 6c 73 6f 20 62 65 20 6e 69 63 65 20 62  d also be nice b
8f10: 75 74 20 77 6f 75 6c 64 20 70 72 6f 62 61 62 6c  ut would probabl
8f20: 79 20 6e 65 65 64 20 73 6f 6d 65 20 6d 6f 72 65  y need some more
8f30: 20 77 6f 72 6b 20 74 68 61 6e 20 74 68 69 73 20   work than this 
8f40: 6c 69 74 74 6c 65 20 70 61 74 63 68 2e 0d 0a 0d  little patch....
8f50: 0a 3c 68 33 3e 20 3c 61 20 6e 61 6d 65 3d 22 77  .<h3> <a name="w
8f60: 69 6e 33 32 64 65 76 22 3e 48 6f 77 20 74 6f 20  in32dev">How to 
8f70: 70 72 65 70 61 72 65 20 79 6f 75 72 20 57 69 6e  prepare your Win
8f80: 64 6f 77 73 20 58 50 20 46 6f 73 73 69 6c 20 64  dows XP Fossil d
8f90: 65 76 65 6c 6f 70 6d 65 6e 74 20 45 6e 76 69 72  evelopment Envir
8fa0: 6f 6e 6d 65 6e 74 3c 2f 68 33 3e 0d 0a 3c 68 34  onment</h3>..<h4
8fb0: 3e 4d 69 6e 47 57 2b 4e 53 49 53 2f 57 69 58 3c  >MinGW+NSIS/WiX<
8fc0: 2f 68 34 3e 0d 0a 3c 68 35 3e 53 65 74 75 70 20  /h4>..<h5>Setup 
8fd0: 54 43 4c 3c 2f 68 35 3e 0d 0a 3c 68 35 3e 53 65  TCL</h5>..<h5>Se
8fe0: 74 75 70 20 4d 69 6e 47 57 3c 2f 68 35 3e 0d 0a  tup MinGW</h5>..
8ff0: 3c 68 35 3e 47 65 74 74 69 6e 67 20 4e 53 49 53  <h5>Getting NSIS
9000: 20 57 69 6e 64 6f 77 73 20 70 61 63 6b 61 67 69   Windows packagi
9010: 6e 67 20 74 6f 6f 6c 20 3c 2f 68 35 3e 0d 0a 3c  ng tool </h5>..<
9020: 68 35 3e 47 65 74 74 69 6e 67 20 46 6f 73 73 69  h5>Getting Fossi
9030: 6c 20 73 6f 75 72 63 65 20 63 6f 64 65 3c 2f 68  l source code</h
9040: 35 3e 0d 0a 3c 68 35 3e 42 75 69 6c 64 20 74 68  5>..<h5>Build th
9050: 65 20 63 6f 64 65 20 77 69 74 68 20 4d 61 6b 65  e code with Make
9060: 66 69 6c 65 2e 77 69 6e 33 32 20 3c 2f 68 35 3e  file.win32 </h5>
9070: 0d 0a 0d 0a 3c 68 34 3e 56 69 73 75 61 6c 20 53  ....<h4>Visual S
9080: 74 75 64 69 6f 20 45 78 70 72 65 73 73 20 32 30  tudio Express 20
9090: 30 38 2b 57 69 58 3c 2f 68 34 3e 0d 0a 3c 68 35  08+WiX</h4>..<h5
90a0: 3e 53 65 74 75 70 20 54 43 4c 3c 2f 68 35 3e 0d  >Setup TCL</h5>.
90b0: 0a 3c 68 35 3e 53 65 74 75 70 20 56 53 32 30 30  .<h5>Setup VS200
90c0: 38 3c 2f 68 35 3e 0d 0a 3c 68 35 3e 47 65 74 74  8</h5>..<h5>Gett
90d0: 69 6e 67 20 57 69 58 20 57 69 6e 64 6f 77 73 20  ing WiX Windows 
90e0: 4d 53 49 20 74 6f 6f 6c 20 3c 2f 68 35 3e 0d 0a  MSI tool </h5>..
90f0: 3c 68 35 3e 47 65 74 74 69 6e 67 20 46 6f 73 73  <h5>Getting Foss
9100: 69 6c 20 73 6f 75 72 63 65 20 63 6f 64 65 3c 2f  il source code</
9110: 68 35 3e 0d 0a 3c 68 35 3e 42 75 69 6c 64 20 74  h5>..<h5>Build t
9120: 68 65 20 63 6f 64 65 20 77 69 74 68 20 4d 61 6b  he code with Mak
9130: 65 66 69 6c 65 2e 77 69 6e 33 32 3c 2f 68 35 3e  efile.win32</h5>
9140: 0d 0a 0d 0a 3c 61 20 6e 61 6d 65 3d 22 77 79 73  ....<a name="wys
9150: 69 77 69 67 22 3e 3c 68 32 3e 4a 61 76 61 73 63  iwig"><h2>Javasc
9160: 72 69 70 74 20 48 54 4d 4c 20 57 59 53 49 57 59  ript HTML WYSIWY
9170: 47 20 65 64 69 74 6f 72 20 63 6f 6e 74 72 6f 6c  G editor control
9180: 3c 2f 68 32 3e 3c 2f 61 3e 0d 0a 3c 68 33 3e 4d  </h2></a>..<h3>M
9190: 6f 74 69 76 61 74 69 6f 6e 3c 2f 68 33 3e 0d 0a  otivation</h3>..
91a0: 20 20 2a 20 20 59 6f 75 20 77 61 6e 74 20 74 6f    *  You want to
91b0: 20 65 64 69 74 20 74 68 65 20 77 69 6b 69 20 70   edit the wiki p
91c0: 61 67 65 73 20 77 69 74 68 20 61 20 6e 69 63 65  ages with a nice
91d0: 20 65 64 69 74 6f 72 20 63 6f 6d 70 6f 6e 65 6e   editor componen
91e0: 74 2c 20 69 6e 73 74 65 61 64 20 6f 66 20 75 73  t, instead of us
91f0: 69 6e 67 20 70 6c 61 69 6e 20 48 54 4d 4c 2e 0d  ing plain HTML..
9200: 0a 0d 0a 3c 68 33 3e 50 72 6f 62 6c 65 6d 3c 2f  ...<h3>Problem</
9210: 68 33 3e 0d 0a 46 6f 73 73 69 6c 20 62 79 20 69  h3>..Fossil by i
9220: 74 73 65 6c 66 20 64 6f 65 73 6e 27 74 20 73 75  tself doesn't su
9230: 70 70 6f 72 74 20 69 74 2e 0d 0a 0d 0a 3c 68 33  pport it.....<h3
9240: 3e 53 6f 6c 75 74 69 6f 6e 3c 2f 68 33 3e 0d 0a  >Solution</h3>..
9250: 54 68 65 72 65 20 61 72 65 20 70 75 72 65 20 6a  There are pure j
9260: 61 76 61 73 63 72 69 70 74 20 65 64 69 74 6f 72  avascript editor
9270: 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 74 68 61 74   components that
9280: 20 63 61 6e 20 62 65 20 75 73 65 64 20 66 6f 72   can be used for
9290: 20 74 68 69 73 20 74 61 73 6b 2e 0d 0a 54 68 65   this task...The
92a0: 20 73 6f 75 72 63 65 20 66 6f 72 20 74 68 65 20   source for the 
92b0: 65 64 69 74 6f 72 20 63 6f 6d 70 6f 6e 65 6e 74  editor component
92c0: 20 69 73 20 61 64 64 65 64 20 74 6f 20 74 68 65   is added to the
92d0: 20 72 65 70 6f 73 69 74 6f 72 79 2e 20 54 68 65   repository. The
92e0: 20 68 74 6d 6c 20 68 65 61 64 65 72 20 6f 72 20   html header or 
92f0: 66 6f 6f 74 65 72 20 69 73 20 70 72 65 70 61 72  footer is prepar
9300: 65 64 20 74 6f 20 69 6e 63 6c 75 64 65 20 61 20  ed to include a 
9310: 6a 61 76 61 73 63 72 69 70 74 20 66 69 6c 65 20  javascript file 
9320: 61 6e 64 2f 6f 72 20 61 20 43 53 53 2e 0d 0a 3c  and/or a CSS...<
9330: 62 72 3e 0d 0a 54 68 65 73 65 20 74 77 6f 20 74  br>..These two t
9340: 69 70 73 20 61 72 65 20 66 72 6f 6d 20 74 68 65  ips are from the
9350: 20 6d 61 69 6c 69 6e 67 20 6c 69 73 74 3a 0d 0a   mailing list:..
9360: 52 65 6e 65 20 64 65 20 5a 77 61 72 74 20 33 30  Rene de Zwart 30
9370: 2e 20 4f 63 74 2e 20 32 30 30 39 0d 0a 0d 0a 3c  . Oct. 2009....<
9380: 61 20 6e 61 6d 65 3d 22 74 69 6e 79 6d 63 65 22  a name="tinymce"
9390: 3e 3c 68 34 3e 54 69 6e 79 4d 43 45 3c 2f 68 34  ><h4>TinyMCE</h4
93a0: 3e 3c 2f 61 3e 0d 0a 3c 70 3e 0d 0a 53 6f 75 72  ></a>..<p>..Sour
93b0: 63 65 3a 20 3c 61 20 68 72 65 66 3d 22 68 74 74  ce: <a href="htt
93c0: 70 3a 2f 2f 74 69 6e 79 6d 63 65 2e 6d 6f 78 69  p://tinymce.moxi
93d0: 65 63 6f 64 65 2e 63 6f 6d 2f 22 3e 20 54 69 6e  ecode.com/"> Tin
93e0: 79 4d 43 45 20 3c 2f 61 3e 0d 0a 3c 2f 70 3e 0d  yMCE </a>..</p>.
93f0: 0a 3c 68 35 3e 20 45 78 61 6d 70 6c 65 3c 2f 68  .<h5> Example</h
9400: 35 3e 0d 0a 3c 70 72 65 20 63 6c 61 73 73 3d 22  5>..<pre class="
9410: 76 65 72 62 61 74 69 6d 22 3e 0d 0a 20 20 20 20  verbatim">..    
9420: 6d 6b 64 69 72 20 74 69 6e 79 0d 0a 20 20 20 20  mkdir tiny..    
9430: 6d 6b 64 69 72 20 74 69 6e 79 2f 6a 61 76 61 73  mkdir tiny/javas
9440: 63 72 69 70 74 0d 0a 20 20 20 20 66 6f 73 73 69  cript..    fossi
9450: 6c 20 6e 65 77 20 74 69 6e 79 6d 63 65 2e 66 73  l new tinymce.fs
9460: 6c 0d 0a 20 20 20 20 66 6f 73 73 69 6c 20 75 69  l..    fossil ui
9470: 20 74 69 6e 79 6d 63 65 2e 66 73 6c 20 7b 63 6f   tinymce.fsl {co
9480: 6e 66 69 67 75 72 65 20 74 68 65 20 70 72 6f 6a  nfigure the proj
9490: 65 63 74 29 0d 0a 20 20 20 20 64 6f 77 6e 6c 6f  ect)..    downlo
94a0: 61 64 20 74 69 6e 79 6d 63 65 0d 0a 20 20 20 20  ad tinymce..    
94b0: 75 6e 7a 69 70 20 69 6e 20 74 69 6e 79 2f 6a 61  unzip in tiny/ja
94c0: 76 61 73 63 72 69 70 74 0d 0a 20 20 20 20 63 64  vascript..    cd
94d0: 20 74 69 6e 79 0d 0a 20 20 20 20 66 6f 73 73 69   tiny..    fossi
94e0: 6c 20 6f 70 65 6e 20 2e 2e 2f 74 69 6e 79 6d 63  l open ../tinymc
94f0: 65 2e 66 73 6c 0d 0a 20 20 20 20 66 6f 73 73 69  e.fsl..    fossi
9500: 6c 20 61 64 64 20 6a 61 76 61 73 63 72 69 70 74  l add javascript
9510: 0d 0a 20 20 20 20 66 6f 73 73 69 6c 20 63 6f 6d  ..    fossil com
9520: 6d 69 74 20 2d 6d 20 22 61 64 64 65 64 20 74 69  mit -m "added ti
9530: 6d 79 6d 63 65 20 74 6f 20 74 68 65 20 70 72 6f  mymce to the pro
9540: 6a 65 63 74 22 0d 0a 20 20 20 20 66 6f 73 73 69  ject"..    fossi
9550: 6c 20 75 69 0d 0a 3c 2f 70 72 65 3e 0d 0a 53 65  l ui..</pre>..Se
9560: 6c 65 63 74 20 61 64 6d 69 6e 2f 68 65 61 64 65  lect admin/heade
9570: 72 73 20 61 64 64 20 61 66 74 65 72 20 74 68 65  rs add after the
9580: 20 26 6c 74 3b 2f 6c 69 6e 6b 26 67 74 3b 0d 0a   &lt;/link&gt;..
9590: 3c 70 72 65 20 63 6c 61 73 73 3d 22 76 65 72 62  <pre class="verb
95a0: 61 74 69 6d 22 3e 0d 0a 20 20 20 26 6c 74 3b 73  atim">..   &lt;s
95b0: 63 72 69 70 74 20 74 79 70 65 3d 22 74 65 78 74  cript type="text
95c0: 2f 6a 61 76 61 73 63 72 69 70 74 22 0d 0a 20 20  /javascript"..  
95d0: 20 20 20 73 72 63 3d 22 2f 64 6f 63 2f 74 69 70     src="/doc/tip
95e0: 2f 6a 61 76 61 73 63 72 69 70 74 2f 74 69 6e 79  /javascript/tiny
95f0: 6d 63 65 2f 6a 73 63 72 69 70 74 73 2f 74 69 6e  mce/jscripts/tin
9600: 79 5f 6d 63 65 2f 74 69 6e 79 5f 6d 63 65 2e 6a  y_mce/tiny_mce.j
9610: 73 22 26 67 74 3b 0d 0a 20 20 20 26 6c 74 3b 2f  s"&gt;..   &lt;/
9620: 73 63 72 69 70 74 26 67 74 3b 0d 0a 3c 2f 70 72  script&gt;..</pr
9630: 65 3e 0d 0a 61 6e 64 20 73 61 76 65 0d 0a 73 65  e>..and save..se
9640: 6c 65 63 74 20 61 64 6d 69 6e 2f 66 6f 6f 74 65  lect admin/foote
9650: 72 20 61 64 64 20 61 62 6f 76 65 20 74 68 65 20  r add above the 
9660: 66 69 72 73 74 20 6c 69 6e 65 0d 0a 3c 70 72 65  first line..<pre
9670: 20 63 6c 61 73 73 3d 22 76 65 72 62 61 74 69 6d   class="verbatim
9680: 22 3e 0d 0a 20 26 6c 74 3b 73 63 72 69 70 74 20  ">.. &lt;script 
9690: 74 79 70 65 3d 27 74 65 78 74 2f 6a 61 76 61 73  type='text/javas
96a0: 63 72 69 70 74 27 26 67 74 3b 0d 0a 20 20 76 61  cript'&gt;..  va
96b0: 72 20 6d 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 67  r m = document.g
96c0: 65 74 45 6c 65 6d 65 6e 74 73 42 79 54 61 67 4e  etElementsByTagN
96d0: 61 6d 65 28 27 74 65 78 74 61 72 65 61 27 29 0d  ame('textarea').
96e0: 0a 20 20 76 61 72 20 6c 20 3d 20 6d 2e 6c 65 6e  .  var l = m.len
96f0: 67 74 68 0d 0a 20 20 76 61 72 20 6e 0d 0a 20 20  gth..  var n..  
9700: 66 6f 72 28 76 61 72 20 69 3d 30 20 3b 69 20 26  for(var i=0 ;i &
9710: 6c 74 3b 20 6c 3b 69 2b 2b 29 7b 0d 0a 20 20 20  lt; l;i++){..   
9720: 20 3c 6e 6f 77 69 6b 69 3e 6e 20 3d 20 6d 5b 69   <nowiki>n = m[i
9730: 5d 2e 6e 61 6d 65 3c 2f 6e 6f 77 69 6b 69 3e 0d  ].name</nowiki>.
9740: 0a 20 20 20 20 69 66 28 20 27 63 6f 6d 6d 65 6e  .    if( 'commen
9750: 74 27 20 3d 3d 20 6e 20 7c 7c 20 27 63 6d 61 70  t' == n || 'cmap
9760: 70 6e 64 27 20 3d 3d 20 6e 20 7c 7c 20 22 77 22  pnd' == n || "w"
9770: 20 20 3d 3d 20 6e 29 7b 0d 0a 20 20 20 20 20 20    == n){..      
9780: 20 20 74 69 6e 79 4d 43 45 2e 69 6e 69 74 28 7b    tinyMCE.init({
9790: 20 6d 6f 64 65 20 3a 20 27 65 78 61 63 74 27 20   mode : 'exact' 
97a0: 2c 20 65 6c 65 6d 65 6e 74 73 20 3a 20 6e 2c 20  , elements : n, 
97b0: 74 68 65 6d 65 3a 20 27 61 64 76 61 6e 63 65 64  theme: 'advanced
97c0: 27 0d 0a 20 20 20 20 20 20 20 20 2c 77 69 64 74  '..        ,widt
97d0: 68 20 3a 20 27 39 30 25 27 20 7d 20 29 3b 0d 0a  h : '90%' } );..
97e0: 20 20 20 20 7d 0d 0a 20 20 7d 0d 0a 20 26 6c 74      }..  }.. &lt
97f0: 3b 2f 73 63 72 69 70 74 26 67 74 3b 0d 0a 3c 2f  ;/script&gt;..</
9800: 70 72 65 3e 0d 0a 0d 0a 0d 0a 3c 61 20 6e 61 6d  pre>......<a nam
9810: 65 3d 22 6d 61 72 6b 69 74 75 70 22 3e 3c 68 33  e="markitup"><h3
9820: 3e 6d 61 72 6b 69 74 75 70 21 3c 2f 68 33 3e 3c  >markitup!</h3><
9830: 2f 61 3e 0d 0a 3c 70 3e 0d 0a 53 6f 75 72 63 65  /a>..<p>..Source
9840: 3a 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a  : <a href="http:
9850: 2f 2f 6d 61 72 6b 69 74 75 70 2e 6a 61 79 73 61  //markitup.jaysa
9860: 6c 76 61 74 2e 63 6f 6d 2f 68 6f 6d 65 2f 22 3e  lvat.com/home/">
9870: 20 4d 61 72 6b 69 74 75 70 20 3c 2f 61 3e 0d 0a   Markitup </a>..
9880: 3c 2f 70 3e 0d 0a 3c 68 35 3e 20 45 78 61 6d 70  </p>..<h5> Examp
9890: 6c 65 3c 2f 68 35 3e 0d 0a 3c 70 72 65 20 63 6c  le</h5>..<pre cl
98a0: 61 73 73 3d 22 76 65 72 62 61 74 69 6d 22 3e 0d  ass="verbatim">.
98b0: 0a 20 20 20 20 6d 6b 64 69 72 20 6d 61 72 6b 69  .    mkdir marki
98c0: 74 75 70 0d 0a 20 20 20 20 6d 6b 64 69 72 20 6d  tup..    mkdir m
98d0: 61 72 6b 69 74 75 70 2f 6a 61 76 61 73 63 72 69  arkitup/javascri
98e0: 70 74 0d 0a 20 20 20 20 66 6f 73 73 69 6c 20 6e  pt..    fossil n
98f0: 65 77 20 6d 61 72 6b 69 74 75 70 2e 66 73 6c 0d  ew markitup.fsl.
9900: 0a 20 20 20 20 66 6f 73 73 69 6c 20 75 69 20 6d  .    fossil ui m
9910: 61 72 6b 69 74 75 70 2e 66 73 6c 20 7b 63 6f 6e  arkitup.fsl {con
9920: 66 69 67 75 72 65 20 74 68 65 20 70 72 6f 6a 65  figure the proje
9930: 63 74 29 0d 0a 20 20 20 20 64 6f 77 6e 6c 6f 61  ct)..    downloa
9940: 64 20 6d 61 72 6b 69 74 75 70 20 61 6e 64 20 6a  d markitup and j
9950: 71 75 65 72 79 0d 0a 20 20 20 20 75 6e 7a 69 70  query..    unzip
9960: 20 69 6e 20 6d 61 72 6b 69 74 75 70 2f 6a 61 76   in markitup/jav
9970: 61 73 63 72 69 70 74 2c 20 63 64 20 6c 61 74 65  ascript, cd late
9980: 73 74 2c 20 6d 76 20 2a 20 2e 2e 2c 20 72 6d 64  st, mv * .., rmd
9990: 69 72 20 6c 61 74 65 73 74 0d 0a 20 20 20 20 63  ir latest..    c
99a0: 6f 70 79 20 6a 71 75 65 72 79 2d 2e 2e 2e 2e 6a  opy jquery-....j
99b0: 73 20 74 6f 20 6a 61 76 61 73 63 72 69 70 74 2f  s to javascript/
99c0: 6a 71 75 65 72 79 2e 6a 73 0d 0a 20 20 20 20 63  jquery.js..    c
99d0: 64 20 6d 61 72 6b 69 74 75 70 0d 0a 20 20 20 20  d markitup..    
99e0: 66 6f 73 73 69 6c 20 6f 70 65 6e 20 2e 2e 2f 6d  fossil open ../m
99f0: 61 72 6b 69 74 75 70 2e 66 73 6c 0d 0a 20 20 20  arkitup.fsl..   
9a00: 20 66 6f 73 73 69 6c 20 61 64 64 20 6a 61 76 61   fossil add java
9a10: 73 63 72 69 70 74 0d 0a 20 20 20 20 66 6f 73 73  script..    foss
9a20: 69 6c 20 63 6f 6d 6d 69 74 20 2d 6d 20 22 61 64  il commit -m "ad
9a30: 64 65 64 20 6d 61 72 6b 69 74 75 70 20 61 6e 20  ded markitup an 
9a40: 6a 71 75 65 72 79 20 74 6f 20 74 68 65 20 70 72  jquery to the pr
9a50: 6f 6a 65 63 74 22 0d 0a 20 20 20 20 66 6f 73 73  oject"..    foss
9a60: 69 6c 20 75 69 0d 0a 3c 2f 70 72 65 3e 0d 0a 73  il ui..</pre>..s
9a70: 65 6c 65 63 74 20 61 64 6d 69 6e 2f 68 65 61 64  elect admin/head
9a80: 65 72 73 20 61 64 64 20 61 66 74 65 72 20 74 68  ers add after th
9a90: 65 20 3c 2f 6c 69 6e 6b 3e 20 70 75 74 0d 0a 3c  e </link> put..<
9aa0: 70 72 65 20 63 6c 61 73 73 3d 22 76 65 72 62 61  pre class="verba
9ab0: 74 69 6d 22 3e 0d 0a 20 20 20 20 26 6c 74 3b 6c  tim">..    &lt;l
9ac0: 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65 73 68  ink rel="stylesh
9ad0: 65 65 74 22 20 74 79 70 65 3d 22 74 65 78 74 2f  eet" type="text/
9ae0: 63 73 73 22 20 68 72 65 66 3d 22 2f 64 6f 63 2f  css" href="/doc/
9af0: 74 69 70 2f 6a 61 76 61 73 63 72 69 70 74 2f 6d  tip/javascript/m
9b00: 61 72 6b 69 74 75 70 2f 73 6b 69 6e 73 2f 6d 61  arkitup/skins/ma
9b10: 72 6b 69 74 75 70 2f 73 74 79 6c 65 2e 63 73 73  rkitup/style.css
9b20: 22 20 2f 26 67 74 3b 0d 0a 20 20 20 20 26 6c 74  " /&gt;..    &lt
9b30: 3b 6c 69 6e 6b 20 72 65 6c 3d 22 73 74 79 6c 65  ;link rel="style
9b40: 73 68 65 65 74 22 20 74 79 70 65 3d 22 74 65 78  sheet" type="tex
9b50: 74 2f 63 73 73 22 20 68 72 65 66 3d 22 2f 64 6f  t/css" href="/do
9b60: 63 2f 74 69 70 2f 6a 61 76 61 73 63 72 69 70 74  c/tip/javascript
9b70: 2f 6d 61 72 6b 69 74 75 70 2f 73 65 74 73 2f 64  /markitup/sets/d
9b80: 65 66 61 75 6c 74 2f 73 74 79 6c 65 2e 63 73 73  efault/style.css
9b90: 22 20 2f 26 67 74 3b 0d 0a 20 20 20 20 26 6c 74  " /&gt;..    &lt
9ba0: 3b 73 63 72 69 70 74 20 74 79 70 65 3d 22 74 65  ;script type="te
9bb0: 78 74 2f 6a 61 76 61 73 63 72 69 70 74 22 20 73  xt/javascript" s
9bc0: 72 63 3d 22 2f 64 6f 63 2f 74 69 70 2f 6a 61 76  rc="/doc/tip/jav
9bd0: 61 73 63 72 69 70 74 2f 6a 71 75 65 72 79 2e 6a  ascript/jquery.j
9be0: 73 22 26 67 74 3b 0d 0a 20 20 20 20 26 6c 74 3b  s"&gt;..    &lt;
9bf0: 2f 73 63 72 69 70 74 26 67 74 3b 0d 0a 20 20 20  /script&gt;..   
9c00: 20 26 6c 74 3b 73 63 72 69 70 74 20 74 79 70 65   &lt;script type
9c10: 3d 22 74 65 78 74 2f 6a 61 76 61 73 63 72 69 70  ="text/javascrip
9c20: 74 22 20 73 72 63 3d 22 2f 64 6f 63 2f 74 69 70  t" src="/doc/tip
9c30: 2f 6a 61 76 61 73 63 72 69 70 74 2f 6d 61 72 6b  /javascript/mark
9c40: 69 74 75 70 2f 6a 71 75 65 72 79 2e 6d 61 72 6b  itup/jquery.mark
9c50: 69 74 75 70 2e 6a 73 22 26 67 74 3b 0d 0a 20 20  itup.js"&gt;..  
9c60: 20 20 26 6c 74 3b 2f 73 63 72 69 70 74 26 67 74    &lt;/script&gt
9c70: 3b 0d 0a 3c 2f 70 72 65 3e 0d 0a 0d 0a 61 6e 64  ;..</pre>....and
9c80: 20 73 61 76 65 0d 0a 73 65 6c 65 63 74 20 61 64   save..select ad
9c90: 6d 69 6e 2f 66 6f 6f 74 65 72 20 61 64 64 20 61  min/footer add a
9ca0: 62 6f 76 65 20 74 68 65 20 66 69 72 73 74 20 6c  bove the first l
9cb0: 69 6e 65 0d 0a 0d 0a 3c 70 72 65 20 63 6c 61 73  ine....<pre clas
9cc0: 73 3d 22 76 65 72 62 61 74 69 6d 22 3e 0d 0a 20  s="verbatim">.. 
9cd0: 20 20 20 26 6c 74 3b 73 63 72 69 70 74 20 74 79     &lt;script ty
9ce0: 70 65 3d 27 74 65 78 74 2f 6a 61 76 61 73 63 72  pe='text/javascr
9cf0: 69 70 74 27 26 67 74 3b 0d 0a 20 20 20 20 20 20  ipt'&gt;..      
9d00: 76 61 72 20 6d 20 3d 20 64 6f 63 75 6d 65 6e 74  var m = document
9d10: 2e 67 65 74 45 6c 65 6d 65 6e 74 73 42 79 54 61  .getElementsByTa
9d20: 67 4e 61 6d 65 28 27 74 65 78 74 61 72 65 61 27  gName('textarea'
9d30: 29 0d 0a 20 20 20 20 20 20 76 61 72 20 6c 20 3d  )..      var l =
9d40: 20 6d 2e 6c 65 6e 67 74 68 0d 0a 20 20 20 20 20   m.length..     
9d50: 20 76 61 72 20 6e 0d 0a 20 20 20 20 20 20 3c 6e   var n..      <n
9d60: 6f 77 69 6b 69 3e 76 61 72 20 6d 79 53 65 74 74  owiki>var mySett
9d70: 69 6e 67 73 20 3d 20 7b 0d 0a 09 6e 61 6d 65 53  ings = {...nameS
9d80: 70 61 63 65 3a 20 20 20 20 20 20 20 22 68 74 6d  pace:       "htm
9d90: 6c 22 2c 20 2f 2f 20 55 73 65 66 75 6c 20 74 6f  l", // Useful to
9da0: 20 70 72 65 76 65 6e 74 20 6d 75 6c 74 69 2d 69   prevent multi-i
9db0: 6e 73 74 61 6e 63 65 73 20 43 53 53 20 63 6f 6e  nstances CSS con
9dc0: 66 6c 69 63 74 0d 0a 09 6f 6e 53 68 69 66 74 45  flict...onShiftE
9dd0: 6e 74 65 72 3a 20 20 20 20 7b 6b 65 65 70 44 65  nter:    {keepDe
9de0: 66 61 75 6c 74 3a 66 61 6c 73 65 2c 20 72 65 70  fault:false, rep
9df0: 6c 61 63 65 57 69 74 68 3a 27 26 6c 74 3b 62 72  laceWith:'&lt;br
9e00: 20 2f 26 67 74 3b 5c 6e 27 7d 2c 0d 0a 09 6f 6e   /&gt;\n'},...on
9e10: 43 74 72 6c 45 6e 74 65 72 3a 20 20 20 20 20 7b  CtrlEnter:     {
9e20: 6b 65 65 70 44 65 66 61 75 6c 74 3a 66 61 6c 73  keepDefault:fals
9e30: 65 2c 20 6f 70 65 6e 57 69 74 68 3a 27 5c 6e 26  e, openWith:'\n&
9e40: 6c 74 3b 70 26 67 74 3b 27 2c 20 63 6c 6f 73 65  lt;p&gt;', close
9e50: 57 69 74 68 3a 27 26 6c 74 3b 2f 70 26 67 74 3b  With:'&lt;/p&gt;
9e60: 5c 6e 27 7d 2c 0d 0a 09 6f 6e 54 61 62 3a 20 20  \n'},...onTab:  
9e70: 20 20 20 20 20 20 20 20 20 7b 6b 65 65 70 44 65           {keepDe
9e80: 66 61 75 6c 74 3a 66 61 6c 73 65 2c 20 6f 70 65  fault:false, ope
9e90: 6e 57 69 74 68 3a 27 20 20 20 20 20 27 7d 2c 0d  nWith:'     '},.
9ea0: 0a 09 6d 61 72 6b 75 70 53 65 74 3a 20 20 5b 0d  ..markupSet:  [.
9eb0: 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61  ..    {name:'Hea
9ec0: 64 69 6e 67 20 31 27 2c 20 6b 65 79 3a 27 31 27  ding 1', key:'1'
9ed0: 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b  , openWith:'&lt;
9ee0: 68 31 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b  h1(!( class="[![
9ef0: 43 6c 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b  Class]!]")!)&gt;
9f00: 27 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c  ', closeWith:'&l
9f10: 74 3b 2f 68 31 26 67 74 3b 27 2c 20 70 6c 61 63  t;/h1&gt;', plac
9f20: 65 48 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69  eHolder:'Your ti
9f30: 74 6c 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d  tle here...' },.
9f40: 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61  ..    {name:'Hea
9f50: 64 69 6e 67 20 32 27 2c 20 6b 65 79 3a 27 32 27  ding 2', key:'2'
9f60: 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b  , openWith:'&lt;
9f70: 68 32 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b  h2(!( class="[![
9f80: 43 6c 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b  Class]!]")!)&gt;
9f90: 27 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c  ', closeWith:'&l
9fa0: 74 3b 2f 68 32 26 67 74 3b 27 2c 20 70 6c 61 63  t;/h2&gt;', plac
9fb0: 65 48 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69  eHolder:'Your ti
9fc0: 74 6c 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d  tle here...' },.
9fd0: 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61  ..    {name:'Hea
9fe0: 64 69 6e 67 20 33 27 2c 20 6b 65 79 3a 27 33 27  ding 3', key:'3'
9ff0: 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b  , openWith:'&lt;
a000: 68 33 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b  h3(!( class="[![
a010: 43 6c 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b  Class]!]")!)&gt;
a020: 27 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c  ', closeWith:'&l
a030: 74 3b 2f 68 33 26 67 74 3b 27 2c 20 70 6c 61 63  t;/h3&gt;', plac
a040: 65 48 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69  eHolder:'Your ti
a050: 74 6c 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d  tle here...' },.
a060: 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61  ..    {name:'Hea
a070: 64 69 6e 67 20 34 27 2c 20 6b 65 79 3a 27 34 27  ding 4', key:'4'
a080: 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b  , openWith:'&lt;
a090: 68 34 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b  h4(!( class="[![
a0a0: 43 6c 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b  Class]!]")!)&gt;
a0b0: 27 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c  ', closeWith:'&l
a0c0: 74 3b 2f 68 34 26 67 74 3b 27 2c 20 70 6c 61 63  t;/h4&gt;', plac
a0d0: 65 48 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69  eHolder:'Your ti
a0e0: 74 6c 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d  tle here...' },.
a0f0: 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61  ..    {name:'Hea
a100: 64 69 6e 67 20 35 27 2c 20 6b 65 79 3a 27 35 27  ding 5', key:'5'
a110: 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b  , openWith:'&lt;
a120: 68 35 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b  h5(!( class="[![
a130: 43 6c 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b  Class]!]")!)&gt;
a140: 27 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c  ', closeWith:'&l
a150: 74 3b 2f 68 35 26 67 74 3b 27 2c 20 70 6c 61 63  t;/h5&gt;', plac
a160: 65 48 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69  eHolder:'Your ti
a170: 74 6c 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d  tle here...' },.
a180: 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 48 65 61  ..    {name:'Hea
a190: 64 69 6e 67 20 36 27 2c 20 6b 65 79 3a 27 36 27  ding 6', key:'6'
a1a0: 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b  , openWith:'&lt;
a1b0: 68 36 28 21 28 20 63 6c 61 73 73 3d 22 5b 21 5b  h6(!( class="[![
a1c0: 43 6c 61 73 73 5d 21 5d 22 29 21 29 26 67 74 3b  Class]!]")!)&gt;
a1d0: 27 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c  ', closeWith:'&l
a1e0: 74 3b 2f 68 36 26 67 74 3b 27 2c 20 70 6c 61 63  t;/h6&gt;', plac
a1f0: 65 48 6f 6c 64 65 72 3a 27 59 6f 75 72 20 74 69  eHolder:'Your ti
a200: 74 6c 65 20 68 65 72 65 2e 2e 2e 27 20 7d 2c 0d  tle here...' },.
a210: 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 50 61 72  ..    {name:'Par
a220: 61 67 72 61 70 68 27 2c 20 6f 70 65 6e 57 69 74  agraph', openWit
a230: 68 3a 27 26 6c 74 3b 70 28 21 28 20 63 6c 61 73  h:'&lt;p(!( clas
a240: 73 3d 22 5b 21 5b 43 6c 61 73 73 5d 21 5d 22 29  s="[![Class]!]")
a250: 21 29 26 67 74 3b 27 2c 20 63 6c 6f 73 65 57 69  !)&gt;', closeWi
a260: 74 68 3a 27 26 6c 74 3b 2f 70 26 67 74 3b 27 20  th:'&lt;/p&gt;' 
a270: 20 7d 2c 0d 0a 09 20 20 20 20 7b 73 65 70 61 72   },...    {separ
a280: 61 74 6f 72 3a 27 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ator:'----------
a290: 2d 2d 2d 2d 2d 27 20 7d 2c 0d 0a 09 20 20 20 20  -----' },...    
a2a0: 7b 6e 61 6d 65 3a 27 42 6f 6c 64 27 2c 20 6b 65  {name:'Bold', ke
a2b0: 79 3a 27 42 27 2c 20 6f 70 65 6e 57 69 74 68 3a  y:'B', openWith:
a2c0: 27 26 6c 74 3b 73 74 72 6f 6e 67 26 67 74 3b 27  '&lt;strong&gt;'
a2d0: 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74  , closeWith:'&lt
a2e0: 3b 2f 73 74 72 6f 6e 67 26 67 74 3b 27 20 7d 2c  ;/strong&gt;' },
a2f0: 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27 49 74  ...    {name:'It
a300: 61 6c 69 63 27 2c 20 6b 65 79 3a 27 49 27 2c 20  alic', key:'I', 
a310: 6f 70 65 6e 57 69 74 68 3a 27 26 6c 74 3b 65 6d  openWith:'&lt;em
a320: 26 67 74 3b 27 2c 20 63 6c 6f 73 65 57 69 74 68  &gt;', closeWith
a330: 3a 27 26 6c 74 3b 2f 65 6d 26 67 74 3b 27 20 20  :'&lt;/em&gt;'  
a340: 7d 2c 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a 27  },...    {name:'
a350: 53 74 72 6f 6b 65 20 74 68 72 6f 75 67 68 27 2c  Stroke through',
a360: 20 6b 65 79 3a 27 53 27 2c 20 6f 70 65 6e 57 69   key:'S', openWi
a370: 74 68 3a 27 26 6c 74 3b 64 65 6c 26 67 74 3b 27  th:'&lt;del&gt;'
a380: 2c 20 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74  , closeWith:'&lt
a390: 3b 2f 64 65 6c 26 67 74 3b 27 20 7d 2c 0d 0a 09  ;/del&gt;' },...
a3a0: 20 20 20 20 7b 73 65 70 61 72 61 74 6f 72 3a 27      {separator:'
a3b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 27  ---------------'
a3c0: 20 7d 2c 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a   },...    {name:
a3d0: 27 55 6c 27 2c 20 6f 70 65 6e 57 69 74 68 3a 27  'Ul', openWith:'
a3e0: 26 6c 74 3b 75 6c 26 67 74 3b 5c 6e 27 2c 20 63  &lt;ul&gt;\n', c
a3f0: 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b 2f 75  loseWith:'&lt;/u
a400: 6c 26 67 74 3b 5c 6e 27 20 7d 2c 0d 0a 09 20 20  l&gt;\n' },...  
a410: 20 20 7b 6e 61 6d 65 3a 27 4f 6c 27 2c 20 6f 70    {name:'Ol', op
a420: 65 6e 57 69 74 68 3a 27 26 6c 74 3b 6f 6c 26 67  enWith:'&lt;ol&g
a430: 74 3b 5c 6e 27 2c 20 63 6c 6f 73 65 57 69 74 68  t;\n', closeWith
a440: 3a 27 26 6c 74 3b 2f 6f 6c 26 67 74 3b 5c 6e 27  :'&lt;/ol&gt;\n'
a450: 20 7d 2c 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a   },...    {name:
a460: 27 4c 69 27 2c 20 6f 70 65 6e 57 69 74 68 3a 27  'Li', openWith:'
a470: 26 6c 74 3b 6c 69 26 67 74 3b 27 2c 20 63 6c 6f  &lt;li&gt;', clo
a480: 73 65 57 69 74 68 3a 27 26 6c 74 3b 2f 6c 69 26  seWith:'&lt;/li&
a490: 67 74 3b 27 20 7d 2c 0d 0a 09 20 20 20 20 7b 73  gt;' },...    {s
a4a0: 65 70 61 72 61 74 6f 72 3a 27 2d 2d 2d 2d 2d 2d  eparator:'------
a4b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 27 20 7d 2c 0d 0a 09  ---------' },...
a4c0: 20 20 20 20 7b 6e 61 6d 65 3a 27 50 69 63 74 75      {name:'Pictu
a4d0: 72 65 27 2c 20 6b 65 79 3a 27 50 27 2c 20 72 65  re', key:'P', re
a4e0: 70 6c 61 63 65 57 69 74 68 3a 27 26 6c 74 3b 69  placeWith:'&lt;i
a4f0: 6d 67 20 73 72 63 3d 22 5b 21 5b 53 6f 75 72 63  mg src="[![Sourc
a500: 65 3a 21 3a 68 74 74 70 3a 2f 2f 5d 21 5d 22 20  e:!:http://]!]" 
a510: 61 6c 74 3d 22 5b 21 5b 41 6c 74 65 72 6e 61 74  alt="[![Alternat
a520: 69 76 65 20 74 65 78 74 5d 21 5d 22 20 2f 26 67  ive text]!]" /&g
a530: 74 3b 27 20 7d 2c 0d 0a 09 20 20 20 20 7b 6e 61  t;' },...    {na
a540: 6d 65 3a 27 4c 69 6e 6b 27 2c 20 6b 65 79 3a 27  me:'Link', key:'
a550: 4c 27 2c 20 6f 70 65 6e 57 69 74 68 3a 27 26 6c  L', openWith:'&l
a560: 74 3b 61 20 68 72 65 66 3d 22 5b 21 5b 4c 69 6e  t;a href="[![Lin
a570: 6b 3a 21 3a 68 74 74 70 3a 2f 2f 5d 21 5d 22 28  k:!:http://]!]"(
a580: 21 28 20 74 69 74 6c 65 3d 22 5b 21 5b 54 69 74  !( title="[![Tit
a590: 6c 65 5d 21 5d 22 29 21 29 26 67 74 3b 27 2c 20  le]!]")!)&gt;', 
a5a0: 63 6c 6f 73 65 57 69 74 68 3a 27 26 6c 74 3b 2f  closeWith:'&lt;/
a5b0: 61 26 67 74 3b 27 2c 20 70 6c 61 63 65 48 6f 6c  a&gt;', placeHol
a5c0: 64 65 72 3a 27 59 6f 75 72 20 74 65 78 74 20 74  der:'Your text t
a5d0: 6f 20 6c 69 6e 6b 2e 2e 2e 27 20 7d 2c 0d 0a 09  o link...' },...
a5e0: 20 20 20 20 7b 73 65 70 61 72 61 74 6f 72 3a 27      {separator:'
a5f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 27  ---------------'
a600: 20 7d 2c 0d 0a 09 20 20 20 20 7b 6e 61 6d 65 3a   },...    {name:
a610: 27 43 6c 65 61 6e 27 2c 20 72 65 70 6c 61 63 65  'Clean', replace
a620: 57 69 74 68 3a 66 75 6e 63 74 69 6f 6e 28 68 29  With:function(h)
a630: 20 7b 20 72 65 74 75 72 6e 20 68 2e 73 65 6c 65   { return h.sele
a640: 63 74 69 6f 6e 2e 72 65 70 6c 61 63 65 28 2f 26  ction.replace(/&
a650: 6c 74 3b 28 2e 2a 3f 29 26 67 74 3b 2f 67 2c 20  lt;(.*?)&gt;/g, 
a660: 22 22 29 20 7d 20 7d 2c 0d 0a 09 20 20 20 20 7b  "") } },...    {
a670: 6e 61 6d 65 3a 27 50 72 65 76 69 65 77 27 2c 20  name:'Preview', 
a680: 63 61 6c 6c 3a 27 70 72 65 76 69 65 77 27 2c 20  call:'preview', 
a690: 63 6c 61 73 73 4e 61 6d 65 3a 27 70 72 65 76 69  className:'previ
a6a0: 65 77 27 20 7d 0d 0a 09 5d 0d 0a 20 20 20 20 20  ew' }...]..     
a6b0: 20 7d 0d 0a 20 20 20 20 20 20 66 6f 72 28 76 61   }..      for(va
a6c0: 72 20 69 3d 30 20 3b 69 20 3c 20 6c 3b 69 2b 2b  r i=0 ;i < l;i++
a6d0: 29 7b 0d 0a 09 6e 20 3d 20 6d 5b 69 5d 2e 6e 61  ){...n = m[i].na
a6e0: 6d 65 0d 0a 09 69 66 28 20 27 63 6f 6d 6d 65 6e  me...if( 'commen
a6f0: 74 27 20 3d 3d 20 6e 20 7c 7c 20 27 63 6d 61 70  t' == n || 'cmap
a700: 70 6e 64 27 20 3d 3d 20 6e 20 7c 7c 20 22 77 22  pnd' == n || "w"
a710: 20 20 3d 3d 20 6e 29 7b 0d 0a 09 20 20 20 20 6d    == n){...    m
a720: 5b 69 5d 2e 69 64 20 3d 20 6e 3c 2f 6e 6f 77 69  [i].id = n</nowi
a730: 6b 69 3e 0d 0a 09 20 20 20 20 24 28 64 6f 63 75  ki>...    $(docu
a740: 6d 65 6e 74 29 2e 72 65 61 64 79 28 66 75 6e 63  ment).ready(func
a750: 74 69 6f 6e 28 29 20 7b 0d 0a 09 20 20 20 20 20  tion() {...     
a760: 20 24 28 22 23 22 20 2b 20 6e 29 2e 6d 61 72 6b   $("#" + n).mark
a770: 49 74 55 70 28 6d 79 53 65 74 74 69 6e 67 73 29  ItUp(mySettings)
a780: 3b 0d 0a 09 20 20 20 20 7d 29 3b 0d 0a 09 7d 0d  ;...    });...}.
a790: 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 26 6c  .      }..    &l
a7a0: 74 3b 2f 73 63 72 69 70 74 26 67 74 3b 0d 0a 20  t;/script&gt;.. 
a7b0: 3c 2f 70 72 65 3e 0d 0a 0a 5a 20 35 31 65 31 38  </pre>...Z 51e18
a7c0: 34 34 30 36 64 30 61 63 37 32 37 35 32 35 63 61  4406d0ac727525ca
a7d0: 65 39 34 37 63 30 34 35 32 65 65 0a              e947c0452ee.