new website for Release fo Rivet 2.1.0 and 2.0.6

diff --git a/rivet/index.html b/rivet/index.html
index 7fb415b..dda3110 100644
--- a/rivet/index.html
+++ b/rivet/index.html
@@ -18,8 +18,12 @@
                 <h2><headline>Apache Rivet</headline>
 </h2>
                 <div class="floatright"><img src="picts/Rivetlogo_tiny.png"  /></div><div>
- <!-- div id="announces">
-		    <div>23-Sep-2011: <sitereference href="rn-2-0">Rivet 2.0.4</sitereference> released. </div>
+ <!--div id="announces">
+		    <div>
+		    		01-Dec-2012: <sitereference href="rn-2-0">Rivet 2.0.6</sitereference> and
+		    		<sitereference href="rn-2-1">Rivet 2.1.0</sitereference> released. 
+		    
+		    </div>
 		</div -->
  <p>
   <b>Apache Rivet</b>
@@ -156,20 +160,24 @@
 
 
                 <div class="contentbottom">
-                    <div id="last_modified">Last Modified: 06-11-2011 11:47:35 UTC</div>
+                    <div id="last_modified">Last Modified: 01-12-2012 16:14:23 UTC</div>
                 </div>
             </div>
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="static/rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
-                    <li id="main">
+                    <li id="news">
+    <h4 class="">News</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="static/rn-2-1.html" class="">1 Dec 2012: Rivet 2.1.0 released</a>
+        </li>
+        <li class="navitem">
+            <a href="static/rn-2-0.html" class="">1 Dec 2012: Rivet 2.0.6 released</a>
+        </li>
+    </ul>
+</li>
+<li id="main">
     <h4 class="">Rivet</h4>
     <ul class="blocklist">
         <li class="navitem">
@@ -182,9 +190,6 @@
             <a href="static/download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="static/hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -197,19 +202,33 @@
     <ul class="blocklist">
         <li class="navitem">
             <a href="http://www.tcl.tk/" target="tclxchange">The Tcl Language
-		    </a>
+                </a>
         </li>
         <li class="navitem">
             <a href="http://wiki.tcl.tk/" target="tclxchange">Tcl'ers Wiki</a>
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 <li id="release">
     <h4 class="">Downloads</h4>
     <ul class="blocklist">
         <li class="navitem">
             <a href="static/rn-2-0.html" class="">Rivet 2.0</a>
         </li>
+        <li class="navitem">
+            <a href="static/rn-2-1.html" class="">Rivet 2.1</a>
+        </li>
     </ul>
 </li>
 <li id="acknowledgments">
diff --git a/rivet/manual/Rivetlogo_small.png b/rivet/manual/Rivetlogo_small.png
deleted file mode 100644
index 2b06c47..0000000
--- a/rivet/manual/Rivetlogo_small.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/abort_code.html b/rivet/manual/abort_code.html
deleted file mode 100644
index 5a84ca3..0000000
--- a/rivet/manual/abort_code.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>abort_code</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="next" href="abort_page.html" title="abort_page"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">abort_code</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="commands.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="abort_page.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="abort_code"><a name="abort_code"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>abort_code &#8212; 
-				Returns the code passed to <span style="font-family:monospace"><span class="command"><strong>abort_page</strong></span></span>
-				earlier during the request processing
-			</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">abort_code</span> </div></div></div><div class="refsect1" title="Description"><a name="idp5723424"></a><h2>Description</h2><p style="width:90%">
-				Usage of this command is meaningful only in scripts run as
-				AbortScript or AfterEveryScript. 
-				<span style="font-family:monospace"><span class="command"><strong>abort_code</strong></span></span> returns the value of the optional 
-				parameter passed to <span style="font-family:monospace"><span class="command"><strong>abort_page</strong></span></span> earlier during
-				the same request processing.
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="commands.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="abort_page.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Rivet Tcl Commands and Variables </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> abort_page</td></tr></table></div></body></html>
diff --git a/rivet/manual/abort_page.html b/rivet/manual/abort_page.html
deleted file mode 100644
index f26baef..0000000
--- a/rivet/manual/abort_page.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>abort_page</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="abort_code.html" title="abort_code"><link rel="next" href="apache_log_error.html" title="apache_log_error"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">abort_page</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="abort_code.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="apache_log_error.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="abort_page"><div class="refentry.separator"><hr></div><a name="abort_page"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>abort_page &#8212; 
-				Stops outputing data to web page, similar in
-			  	purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.
-			</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">abort_page</span>  (<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>abort code</code></em></span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>-aborting</code></em></span>)</div></div></div><div class="refsect1" title="Description"><a name="idp5732928"></a><h2>Description</h2><p style="width:90%">
-				This command flushes the output buffer and stops the Tcl 
-				script from sending any more data to the client.
-				A normal Tcl script might use the
-				<span style="font-family:monospace"><span class="command"><strong>exit</strong></span></span> command, but that cannot be used in
-				Rivet without actually exiting the apache child
-				process!
-				<span style="font-family:monospace"><span class="command"><strong>abort_page</strong></span></span> triggers
-				the execution of an optional AbortScript that has to be
-				specified in the configuration. The value of the
-				argument  ?<span style="font-family:monospace; font-weight: bold;">abort code</span>? can be retrieved with the 
-				<span style="font-family:monospace"><span class="command"><strong>abort_code</strong></span></span> command during the
-				execution of AbortScript or AfterEveryScript, allowing 
-				the script to take appropriate actions in order to deal
-				with the cause of the abort. 
-			</p><p style="width:90%">
-				When passed the argument <span style="font-family:monospace"><span class="command"><strong>-aborting</strong></span></span> the
-				command returns 1 if abort_page
-				had been called earlier in the request processing, thus
-				providing a tool for code in AfterEveryScript to tell
-				if the an abort condition took place.
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="abort_code.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="apache_log_error.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">abort_code </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> apache_log_error</td></tr></table></div></body></html>
diff --git a/rivet/manual/apache_log_error.html b/rivet/manual/apache_log_error.html
deleted file mode 100644
index eb6d210..0000000
--- a/rivet/manual/apache_log_error.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>apache_log_error</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="abort_page.html" title="abort_page"><link rel="next" href="apache_table.html" title="apache_table"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">apache_log_error</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="abort_page.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="apache_table.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="apache_log_error"><div class="refentry.separator"><hr></div><a name="apache_log_error"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_log_error &#8212; log messages to the Apache error log</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_log_error</span>  ?<span style="font-family:monospace; font-weight: bold;">priority</span>? ?<span style="font-family:monospace; font-weight: bold;">message</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5744176"></a><h2>Description</h2><p style="width:90%">The apache_log_error command logs a message to the 
-	  Apache error log, whose name and location have been
-	  set by the ErrorLog directive.
-	</p><p style="width:90%">
-	Priority must be one of
-	    debug,
-	    info,
-	    notice,
-	    warning,
-	    err,
-	    crit,
-	    alert, or
-	    emerg.
-	</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="abort_page.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="apache_table.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">abort_page </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> apache_table</td></tr></table></div></body></html>
diff --git a/rivet/manual/apache_table.html b/rivet/manual/apache_table.html
deleted file mode 100644
index 07b1076..0000000
--- a/rivet/manual/apache_table.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>apache_table</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="apache_log_error.html" title="apache_log_error"><link rel="next" href="clock_to_rfc.html" title="clock_to_rfc850_gmt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">apache_table</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apache_log_error.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="clock_to_rfc.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="apache_table"><div class="refentry.separator"><hr></div><a name="apache_table"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_table &#8212; access and manipulate Apache tables in the request structure.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>  (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">unset</span> | <span style="font-family:monospace; font-weight: bold;">names</span> | <span style="font-family:monospace; font-weight: bold;">array_get</span> | <span style="font-family:monospace; font-weight: bold;">clear</span>)</div></div></div><div class="refsect1" title="Description"><a name="idp5759712"></a><h2>Description</h2><p style="width:90%">The apache_table command is for accessing and manipulating
-          Apache tables in the request structure.
-        </p><p style="width:90%">
-        The table name must be one of
-            notes,
-            headers_in,
-            headers_out,
-            err_headers_out, or
-            subprocess_env.
-        </p><div class="variablelist"><dl><dt><span class="term">
-	        <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">get</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div>
-        </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-                When given the name of an Apache table
-                <em class="replaceable"><code>tablename</code></em>
-                and the name of a key
-                <em class="replaceable"><code>tablename</code></em>,
-                returns the value of the key in the table, or an empty
-                string.
-            </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">set</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">set</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>list</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Stores the
-		<em class="replaceable"><code>value</code></em> in
-		the table
-		<em class="replaceable"><code>tablename</code></em>
-		under the key
-		<em class="replaceable"><code>key</code></em>.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-	            For the list form,
-                <em class="replaceable"><code>list</code></em> contains
-                a list of zero or more pairs of key-value pairs to be
-                set into the table
-                <em class="replaceable"><code>tablename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">exists</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns 1 if the specified key,
-		<em class="replaceable"><code>key</code></em>,
-		exists in table
-		<em class="replaceable"><code>tablename</code></em>,
-		else 0.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">unset</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-	        Removes the key-value pair referenced by
-		<em class="replaceable"><code>key</code></em>
-		from the table
-		<em class="replaceable"><code>tablename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">names</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns a list of all of the keys present in the table
-		<em class="replaceable"><code>tablename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">array_get</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-	        Returns a list of key-value pairs from the table
-		<em class="replaceable"><code>tablename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">clear</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Clears the contents of the specified table.
-	      </div></div></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="apache_log_error.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="clock_to_rfc.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">apache_log_error </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> clock_to_rfc850_gmt</td></tr></table></div></body></html>
diff --git a/rivet/manual/calendar.html b/rivet/manual/calendar.html
deleted file mode 100644
index 3a8e8f2..0000000
--- a/rivet/manual/calendar.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Calendar</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="calendar_package.html" title="Calendar Package"><link rel="next" href="xml_calendar.html" title="XmlCalendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Calendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="calendar_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="xml_calendar.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="Calendar"><a name="calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>Calendar &#8212; Utility class the builds and prints a calendar table</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">Calendar</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span> </div></div></div><div class="refsect1" title="Calendar object subcommands"><a name="idp8981792"></a><h2>Calendar object subcommands</h2><p style="width:90%">
-				The main public command for a calendar object is 
-				<span style="font-family:monospace"><span class="command"><strong>emit</strong></span></span> that returns a calendar table
-			</p></div><div class="refsect1"><a name="idp8983808"></a><div class="variablelist"><p style="width:90%">
-	    			The method <span style="font-family:monospace"><span class="command"><strong>emit</strong></span></span> when invoked with a single argument
-	    			takes it as an year number and prints the whole calendar of
-	    			that year. When invoked with 2 arguments takes the first as a month, either
-	    			expressed in its shortened form ('Jan','Feb',...) or as a number in the 
-	    			range 1-12. The second argument is a year number.
-	    		</p><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-		      			calendar_obj <span style="font-weight:bold ; font-family:monospace">emit</span> </div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-		      			calendar_obj <span style="font-weight:bold ; font-family:monospace">emit</span>  ?<span style="font-family:monospace; font-weight: bold;">month</span>? ?<span style="font-family:monospace; font-weight: bold;">year</span>?</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-							calendar_obj <span style="font-weight:bold ; font-family:monospace">emit</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>month | year</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-							The method 'emit' if invoked without arguments returns an 
-							ASCII formatted calendar of the current month
-		      		</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-set cal [Calendar #auto]
-set current_month [$cal emit]
-puts $current_month
-      Jun 2010
-  Su Mo Tu We Th Fr Sa
-        1  2  3  4  5
-  6  7  8  9 10 11 12
- 13 14 15 16 17 18 19
- 20 21 22 23 24 25 26
- 27 28 29 30</pre></div></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="calendar_package.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="calendar_package.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="xml_calendar.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Calendar Package </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> XmlCalendar</td></tr></table></div></body></html>
diff --git a/rivet/manual/calendar.png b/rivet/manual/calendar.png
deleted file mode 100644
index 54f9f33..0000000
--- a/rivet/manual/calendar.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/calendar_package.html b/rivet/manual/calendar_package.html
deleted file mode 100644
index 65b6eb8..0000000
--- a/rivet/manual/calendar_package.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Calendar Package</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="form_package.html" title="form"><link rel="next" href="calendar.html" title="Calendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Calendar Package</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="form_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="calendar.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Calendar Package"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="calendar_package"></a>Calendar Package</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="idp8927584"></a>Introduction</h3></div></div></div><p style="width:90%">
-      	The package is based on the Calendar class, a class capable
-      	of printing an ascii calendar table that closely resembles the output 
-      	of the typical Unix <span style="font-family:monospace"><span class="command"><strong>cal</strong></span></span> command. The internal
-      	code is written entirely in Tcl, therefore doesn't rely on the 
-      	existance of <span style="font-family:monospace"><span class="command"><strong>cal</strong></span></span> on the system. 
-      	XmlCalendar inherits the basic methods and adds XML tagging to the
-      	table. XmlCalendar prints an XML calendar table whose header, 
-      	weekdays banner and days rows tags are configurable. 
-      	Also specific days or specific weeks can be given arbitrary attributes.
-      </p><p style="width:90%">
-      	Calendar core methods are based on the 
-      	<a class="ulink" href="http://wiki.tcl.tk/17964" target="_top">cal</a> procedure
-      	written by Richard Suchenwirth and published on the 
-      	<a class="ulink" href="http://wiki.tcl.tk" target="_top">Tcl Wiki</a>
-      </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-	The Calendar package uses Tcl <span style="font-family:monospace"><span class="command"><strong>dict</strong></span></span> command to manage markup 
-	information. Hence either Tcl8.5+ or Tcl8.4 with 
-	<a class="ulink" href="http://wiki.tcl.tk/5042" target="_top">package dict</a> are required.   
-      </td></tr></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="form_package.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="calendar.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">form </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Calendar</td></tr></table></div></body></html>
diff --git a/rivet/manual/clock_to_rfc.html b/rivet/manual/clock_to_rfc.html
deleted file mode 100644
index 415ecd6..0000000
--- a/rivet/manual/clock_to_rfc.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>clock_to_rfc850_gmt</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="apache_table.html" title="apache_table"><link rel="next" href="cookie.html" title="cookie"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">clock_to_rfc850_gmt</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apache_table.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="cookie.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="clock_to_rfc850_gmt"><div class="refentry.separator"><hr></div><a name="clock_to_rfc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>clock_to_rfc850_gmt &#8212; create a rfc850 time from [clock seconds].</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">clock_to_rfc850_gmt</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>seconds</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5817184"></a><h2>Description</h2><p style="width:90%">
-	  Convert an integer-seconds-since-1970 click value to
-	  RFC850 format, with the additional requirement that it be
-	  GMT only.
-	</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="apache_table.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="cookie.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">apache_table </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> cookie</td></tr></table></div></body></html>
diff --git a/rivet/manual/commands.html b/rivet/manual/commands.html
deleted file mode 100644
index 9466bbc..0000000
--- a/rivet/manual/commands.html
+++ /dev/null
@@ -1 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Rivet Tcl Commands and Variables</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="directives.html" title="Rivet Apache Directives"><link rel="next" href="abort_code.html" title="abort_code"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Rivet Tcl Commands and Variables</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="directives.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="abort_code.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Rivet Tcl Commands and Variables"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="commands"></a>Rivet Tcl Commands and Variables</h2></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="directives.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="abort_code.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Rivet Apache Directives </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> abort_code</td></tr></table></div></body></html>
diff --git a/rivet/manual/cookie.html b/rivet/manual/cookie.html
deleted file mode 100644
index 67bbbe3..0000000
--- a/rivet/manual/cookie.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>cookie</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="clock_to_rfc.html" title="clock_to_rfc850_gmt"><link rel="next" href="debug.html" title="debug"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">cookie</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="clock_to_rfc.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="debug.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="cookie"><div class="refentry.separator"><hr></div><a name="cookie"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cookie &#8212; get and set cookies.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span>  ?<span style="font-family:monospace; font-weight: bold;">set</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">cookiValue</span>?</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-days <em class="replaceable"><code>expireInDays</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-hours <em class="replaceable"><code>expireInHours</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-minutes <em class="replaceable"><code>expireInMinutes</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-expires <em class="replaceable"><code>Wdy, DD-Mon-YYYY HH:MM:SS GMT</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-path <em class="replaceable"><code>uriPathCookieAppliesTo</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-secure <em class="replaceable"><code>1/0</code></em></span>?</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span>  ?<span style="font-family:monospace; font-weight: bold;">get</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5834688"></a><h2>Description</h2><p style="width:90%">
-	  <span style="font-family:monospace"><span class="command"><strong>cookie</strong></span></span> gets or sets a cookie.  When you
-	  get a cookie, the command returns the value of the cookie,
-	  or an empty string if no cookie exists.
-	</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="clock_to_rfc.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="debug.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">clock_to_rfc850_gmt </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> debug</td></tr></table></div></body></html>
diff --git a/rivet/manual/debug.html b/rivet/manual/debug.html
deleted file mode 100644
index dc34306..0000000
--- a/rivet/manual/debug.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>debug</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="cookie.html" title="cookie"><link rel="next" href="env.html" title="env"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">debug</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cookie.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="env.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="debug"><div class="refentry.separator"><hr></div><a name="debug"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>debug &#8212; 
-				A command to print strings, arrays
-    			and the values of variables as specified by the arguments.
-    		</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">debug</span>   <span style="font-family:monospace; font-weight: bold;">-subst</span>  ?<span style="font-family:monospace; font-weight: bold;">&lt;on|off&gt;</span>?  <span style="font-family:monospace; font-weight: bold;">-separator</span>  ?<span style="font-family:monospace; font-weight: bold;">&lt;string&gt;</span>?  <span style="font-family:monospace; font-weight: bold;">-option</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>&lt;value&gt;</code></em></span>?  <span style="font-family:monospace; font-weight: bold;">-option</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>&lt;value&gt;</code></em></span>?  <span style="font-family:monospace; font-weight: bold;">...</span> </div></div></div><div class="refsect1" title="Description"><a name="idp5847680"></a><h2>Description</h2><p style="width:90%">
-    			A command to make debugging more convenient print strings, arrays
-				and the values of variables as specified by the arguments.
-			</p><p style="width:90%">
-				Also allows the setting of an array called debug which will pick up
-				options for all debug commands.
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cookie.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="env.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">cookie </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> env</td></tr></table></div></body></html>
diff --git a/rivet/manual/decode.html b/rivet/manual/decode.html
deleted file mode 100644
index 73d7940..0000000
--- a/rivet/manual/decode.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>decode</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="entities.html" title="RivetEntities"><link rel="prev" href="encode.html" title="encode"><link rel="next" href="help.html" title="Resources - How to Get Help"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">decode</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="encode.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">RivetEntities</th><td width="20%" align="right"> <a accesskey="n" href="help.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="decode"><div class="refentry.separator"><hr></div><a name="decode"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>decode &#8212; 
-                decode an SGML encoded string replacing every entity with the
-                corresponding character
-            </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">::rivet::decode</span>   <span style="font-family:monospace; font-weight: bold;">string</span>  ?<span style="font-family:monospace; font-weight: bold;">-encoding <em class="replaceable"><code>&lt;encoding&gt;</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp9226464"></a><h2>Description</h2><p style="width:90%">
-                    <span style="font-family:monospace"><span class="command"><strong>::rivet::decode</strong></span></span> implements the inverse function of
-                    <span style="font-family:monospace"><span class="command"><strong>::rivet::encode</strong></span></span>. The input string is scanned searching
-                    and replacing every SGML entity with its corresponding character.
-                    By default the command assumes the output string has to be encoded in UTF-8.
-                    Other encodings are supported by passing the 
-                    <span style="font-family:monospace"><span class="command"><strong>-encoding &lt;encoding&gt;</strong></span></span> argument.
-            </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="encode.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="entities.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="help.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">encode </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Resources - How to Get Help</td></tr></table></div></body></html>
diff --git a/rivet/manual/dio.html b/rivet/manual/dio.html
deleted file mode 100644
index e00beed..0000000
--- a/rivet/manual/dio.html
+++ /dev/null
@@ -1 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DIO - Database Interface Objects</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="tcl_packages.html" title="Rivet Tcl Packages"><link rel="next" href="dio_package.html" title="DIO"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DIO - Database Interface Objects</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tcl_packages.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="dio_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="DIO - Database Interface Objects"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="dio"></a>DIO - Database Interface Objects</h2></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tcl_packages.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="dio_package.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Rivet Tcl Packages </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> DIO</td></tr></table></div></body></html>
diff --git a/rivet/manual/dio_package.html b/rivet/manual/dio_package.html
deleted file mode 100644
index 74132c8..0000000
--- a/rivet/manual/dio_package.html
+++ /dev/null
@@ -1,274 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DIO</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="dio.html" title="DIO - Database Interface Objects"><link rel="prev" href="dio.html" title="DIO - Database Interface Objects"><link rel="next" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DIO</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="dio.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">DIO - Database Interface Objects</th><td width="20%" align="right"> <a accesskey="n" href="diodisplay.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="DIO"><a name="dio_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIO &#8212; Database Interface Objects</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">::DIO::handle</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>interface</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="idp6834560"></a><h2>Description</h2><p style="width:90%">
-	  <span style="font-family:monospace"><span class="command"><strong>DIO</strong></span></span> is designed to be a generic,
-	  object-oriented interface to SQL databases.  Its main goal
-	  is to be as generic as possible, but since not all SQL
-	  databases support the exact same syntaxes, keeping code
-	  generic between databases is left to the abilities of the
-	  programmer.  DIO simply provides a way to keep the Tcl
-	  interface generic.
-	</p><p style="width:90%">
-	  interface - The name of the database
-	  interface.  Currently supported interfaces are
-	  Postgresql and Mysql.
-	</p><p style="width:90%">
-	  If <em class="replaceable"><code>objectName</code></em> is
-	  specified, DIO creates an object of that name.  If there is
-	  no <em class="replaceable"><code>objectName</code></em>
-	  given, DIO will automatically generate a unique object ID
-	</p></div><div class="refsect1" title="Options"><a name="idp6840208"></a><h2>Options</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-host</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>hostname</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The hostname of the computer to connect to.  If none
-		is given, DIO assumes the local host.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-port</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>portNumber</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The port number to connect to on hostname.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-user</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>username</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The username you wish to login to the server as.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-pass</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>password</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The password to login to the server with.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-db</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>database</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The name of the database to connect to.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-table</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tableName</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The default table to use when using built-in commands
-		for storing and fetching.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-keyfield</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>keyFieldname</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The default field to use as the primary key when using
-		built-in commands for storing and fetching.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-autokey</span>  (<span style="font-family:monospace; font-weight: bold;">1</span> | <span style="font-family:monospace; font-weight: bold;">0</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If this option is set to 1, DIO will attempt to
-		determine an automatic key for
-		keyField when storing and fetching.
-		In most databases, this requires that the
-		sequence also be specified.  In the
-		case of MySQL, where sequences do not exist, autokey
-		must be used in conjunction with a table which has a
-		field specified as AUTO.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-sequence</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>sequenceName</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If DIO is automatically generating keys, it will use
-		this sequence as a means to gain a unique number for
-		the stored key.</div></div></dd></dl></div></div><div class="refsect1" title="DIO Object Commands"><a name="idp6880144"></a><h2>DIO Object Commands</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">array</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute request as a SQL query and
-		create an array from the first record found.  The
-		array is set with the fields of the table and the
-		values of the record found.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">autokey</span>? (<span style="font-family:monospace; font-weight: bold;">value</span> | <span style="font-family:monospace; font-weight: bold;">boolean</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current autokey value.  If
-		value is specified, it sets a new
-		value for the autokey option.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">close</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">	      Close the current database connection.  This command is
-		automatically called when the DIO object is destroyed.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">count</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">	      Return a count of the number of rows in the
-		specified (or current) table.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">db</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current database.  If
-		value is specified, it sets a new
-		value for the database.  In most cases, the DIO object
-		will automatically connect to the new database when
-		this option is changed.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">delete</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Delete a record from the database where the primary
-		key matches key.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">destroy</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Destroy the DIO object.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">errorinfo</span>? ?<span style="font-family:monospace; font-weight: bold;">value</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">errorinfo contains the value of
-		the last error, if any, to occur while executing a
-		request.  When a request fails for any reason, this
-		variable is filled with the error message from the SQL
-		interface package.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">exec</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute request as an SQL query.
-		When the exec command is called, the query is
-		executed, and a DIO result object is returned.  From
-		there, the result object can be used to obtain
-		information about the query status and records in a
-		generic way.  See <a class="link" href="dio_package.html#resultobj" title="Result Object Commands">Result
-		  Object Commands</a>
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">fetch</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Fetch a record from the database where the primary key
-		matches key and store the result in
-		an array called arrayName.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">forall</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>body</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-	       Execute an SQL select request and iteratively 
-	       fill the array named arrayName
-	       with elements named with the matching field names, and
-	       values containing the matching values, repeatedly executing 
-	       the specified code body
-	       for each row returned.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">host</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current host value.  If
-		value is specified, it sets a new
-		value for the host.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">insert</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Insert fields from arrayName into the specified table in the database.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">interface</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the database interface type, such as 
-		<code class="literal">Postgresql</code> or <code class="literal">Mysql</code>.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">keyfield</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current keyfield.  If
-		value is specified, it sets a new
-		value for the keyfield.  Value can contain
-		multiple key fields as a Tcl list, if the table has multiple
-		key fields.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">keys</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>pattern</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return a list of keys in the database.  If
-		pattern is specified, only the keys
-		matching will be returned.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">lastkey</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the last key that was used from
-		sequence.  If sequence has not been
-		specified, this command returns an empty string.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">list</span>? ?<span style="font-family:monospace; font-weight: bold;">request</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute request as a SQL query and
-		return a list of the first column of each record
-		found.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">makekey</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>keyfield</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given an array containing key-value pairs and an optional
-		list of key fields (we use the object's keyfield if
-		none is specified), if we're doing auto keys, create
-		and return a new key, otherwise if it's a single key,
-		just return its value from the array, else if there are
-		multiple keys, return all the keys' values from the
-		array as a list.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">nextkey</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Increment sequence and return the
-		next key to be used.  If sequence has not been
-		specified, this command returns an empty
-		string.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">open</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Open the connection to the current database.  This
-		command is automatically called from any command which
-		accesses the database.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">pass</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current pass value.  If
-		value is specified, it sets a new
-		value for the password.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">port</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Return the current port value.  If value is
-		specified, it sets a new value for the port.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">quote</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>string</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Return the specified string quoted in
-	      a way that makes it acceptable as a value in a SQL statement.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">search</span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Search the current table, or the specified table if
-		-table tableName is specified, for rows matching
-		one or more fields as key-value pairs, and return
-		a query result handle.
-		See <a class="link" href="dio_package.html#resultobj" title="Result Object Commands">Result Object Commands</a>
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		For example,
-	<pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">set res [DIO search -table people -firstname Bob]</pre>
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">sequence</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current sequence value.  If value is
-		specified, it sets a new value for the sequence.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">store</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Store the contents of arrayName in the 
-		database, where the keys are the field names and the
-		array's values are the corresponding values.  Do an SQL insert 
-		if the corresponding row doesn't exist, or an update 
-		if it does.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The table name must have been previously set
-		or specified with  ?<span style="font-family:monospace; font-weight: bold;">-table</span>?, and the key field(s) must
-		have been previously set or specified with
-		 ?<span style="font-family:monospace; font-weight: bold;">-keyfield</span>?.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Please note that the store method has significantly higher 
-		overhead than
-		the update or insert methods, so if you know you are
-		inserting a row rather than updating one, it is advisable
-		to use the insert method and, likewise, if you know you
-		are updating rather than inserting, to use the
-		update method.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute request as a SQL query and
-		return a string containing the first record
-		found.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">table</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Return the current table.  If
-		value is specified, it sets a new
-		value for the table.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">update</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Updates the row matching the contents of 
-		arrayName in the database.  The matching
-		row must already exist.  The table can have already been
-		set or can be specified with  ?<span style="font-family:monospace; font-weight: bold;">-table</span>?, and
-		the key field(s) must either have been set or
-		specified with  ?<span style="font-family:monospace; font-weight: bold;">-keyfield</span>?.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">user</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current user value.  If
-		value is specified, it sets a new
-		value for the user.
-	      </div></div></dd></dl></div></div><div class="refsect1" title="Result Object Commands"><a name="resultobj"></a><h2>Result Object Commands</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">autocache</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current autocache value.  If
-		value is specified, it sets a new
-		value for autocache.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If autocache is true, the result object will
-		automatically cache rows as you use them.  This means
-		that the first time you execute a forall command, each
-		row is being cached in the result object itself and
-		will no longer need to access the SQL result.
-		<span class="emphasis"><em>Default is true</em></span>.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">cache</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Cache the results of the current SQL result in the
-		result object itself.  This means that even if the
-		database connection is closed and all the results of
-		the DIO object are lost, this result object will still
-		maintain a cached copy of its records.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">errorcode</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current errorcode value.  If value
-		is specified, it sets a new value for errorcode.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		errorcode contains the current code from the
-		SQL database which specifies the result of the query
-		statement which created this object.  This variable
-		can be used to determine the success or failure of a
-		query.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">errorinfo</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current errorinfo value.  If value
-		is specified, it sets a new value for errorinfo.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If an error occurred during the SQL query, DIO
-		attempts to set the value of errorinfo to the
-		resulting error message.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">fields</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current fields value.  If
-		value is specified, it sets a new
-		value for fields.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		fields contains the list of fields
-		used in this query.  The fields are in order of the
-		fields retrieved for each row.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">forall</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>-type</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>body</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute body over each record in the
-		result object.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">Types:</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-array</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Create
-		      <em class="replaceable"><code>varName</code></em>
-		      as an array where the indexes are the names of
-		      the fields in the table and the values are the
-		      values of the current row.
-		    </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-keyvalue</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Set
-		      <em class="replaceable"><code>varName</code></em>
-		      to a list containing key-value pairs of fields
-		      and values from the current row. (-field value
-		      -field value)
-		    </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-list</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Set
-		      <em class="replaceable"><code>varName</code></em>
-		      to a list that contains the values of the
-		      current row.
-		    </div></div></dd></dl></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">next</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>-type</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Retrieve the next record in the result object.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">Types:</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-array</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Create
-		      <em class="replaceable"><code>varName</code></em>
-		      as an array where the indexes are the names of
-		      the fields in the table and the values are the
-		      values of the current row.
-		    </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-keyvalue</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Set
-		      <em class="replaceable"><code>varName</code></em>
-		      to a list containing key-value pairs of fields
-		      and values from the current row. (-field value
-		      -field value)
-		    </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-list</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Set
-		      <em class="replaceable"><code>varName</code></em>
-		      to a list that contains the values of the
-		      current row.
-		    </div></div></dd></dl></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">numrows</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current numrows value.  If value is
-		specified, it sets a new value for numrows.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		numrows is the number of rows in this result.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">resultid</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current resultid value.  If value is
-		specified, it sets a new value for resultid.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		resultid in most databases is the result
-		pointer which was given us by the database.  This
-		variable is not generic and should not really be used,
-		but it's there if you want it.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">rowid</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current rowid value.  If value is
-		specified, it sets a new value for rowid.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		rowid contains the number of the
-		current result record in the result object.  This
-		variable should not really be accessed outside of the
-		result object, but it's there if you want it.
-	      </div></div></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="dio.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="dio.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="diodisplay.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">DIO - Database Interface Objects </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> DIODisplay - Database Interface Objects Display Class</td></tr></table></div></body></html>
diff --git a/rivet/manual/diodisplay.html b/rivet/manual/diodisplay.html
deleted file mode 100644
index 68caf55..0000000
--- a/rivet/manual/diodisplay.html
+++ /dev/null
@@ -1 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DIODisplay - Database Interface Objects Display Class</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="dio_package.html" title="DIO"><link rel="next" href="diodisplay_package.html" title="DIODisplay"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DIODisplay - Database Interface Objects Display Class</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="dio_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="diodisplay_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="DIODisplay - Database Interface Objects Display Class"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="diodisplay"></a>DIODisplay - Database Interface Objects Display Class</h2></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="dio_package.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="diodisplay_package.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">DIO </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> DIODisplay</td></tr></table></div></body></html>
diff --git a/rivet/manual/diodisplay_package.html b/rivet/manual/diodisplay_package.html
deleted file mode 100644
index 4cca7c1..0000000
--- a/rivet/manual/diodisplay_package.html
+++ /dev/null
@@ -1,430 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DIODisplay</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"><link rel="prev" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"><link rel="next" href="session_package.html" title="Session Package"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DIODisplay</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diodisplay.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">DIODisplay - Database Interface Objects Display Class</th><td width="20%" align="right"> <a accesskey="n" href="session_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="DIODisplay"><a name="diodisplay_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIODisplay &#8212; Database Interface Objects Display Class</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">DIODisplay</span>  (<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> | <span style="font-family:monospace; font-weight: bold;">#auto</span>) (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="idp7558112"></a><h2>Description</h2><p style="width:90%">
-	  DIODisplay is an HTML display class that uses a DIO object
-	  to do the database work and a form object to do the
-	  displaying.
-	</p></div><div class="refsect1" title="Options"><a name="idp7559440"></a><h2>Options</h2><div class="variablelist"><dl><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-DIO</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>dioObject</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The DIO object to be used in conjunction with this
-		display object.  This is a required field.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-cleanup</span>  (<span style="font-family:monospace; font-weight: bold;">1</span> | <span style="font-family:monospace; font-weight: bold;">0</span>)</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		If cleanup is true, when the display object is shown,
-		it will automatically destroy the DIO object, the form
-		object and itself. Default is true.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-confirmdelete</span>  (<span style="font-family:monospace; font-weight: bold;">1</span> | <span style="font-family:monospace; font-weight: bold;">0</span>)</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		If confirmdelete is true, attempting to delete a
-		record from the database first requires that the user
-		confirm that they wish to delete it.  If it is false,
-		deletion occurs without prompting the user. Defaults
-		to true.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-errorhandler</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>procName</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The name of a procedure to handle errors when they
-		occur.  During the processing of requests and pages,
-		sometimes unexpected errors can occur.  This procedure
-		will handle any errors.  It is called with a single
-		argument, the error string.  Use of the Tcl errorInfo
-		and errorCode variables is also recommended though.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If no errorhandler is specified, the handle_error
-		method within the Display object will handle the
-		error.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-fields</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Specify a list of fields to be used in this object.
-		The fields list is actually created by using the
-		<span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> command to add fields to the
-		display, but this option can be useful to sometimes
-		over-set the list of fields created.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-form</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>formObject</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A Rivet form object to use when displaying a form.  If
-		one is not specified, the display object will
-		automatically create one when it is necessary.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-functions</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>functionList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A list of functions to be displayed in the main menu.
-		This is a list of functions the user is allowed to
-		execute.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-pagesize</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>pageSize</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		How many records to show per page on a search or
-		list. Default is 25.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-rowfields</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A list of fields to display in each row of a search or
-		list.  When a search or list is conducted and the
-		resulting rows are displayed, this list will limit
-		which fields are displayed.  Default is all fields.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-rowfunctions</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>functionList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A list of functions to display in each row of a search
-		or list.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-searchfields</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A list of fields to allow a user to search by.  This
-		list will appear in the main screen as a drop-down box
-		of fields the user can search on.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-title</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>title</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The title of the display object.  This will be output
-		as the title of the HTML document.
-	      </div></div></dd></dl></div><div class="refsect2" title="DIO Display Object Commands"><a name="idp7618528"></a><h3>DIO Display Object Commands</h3><div class="variablelist"><dl><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">cleanup</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current cleanup value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for the cleanup
-		  option.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">delete</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Delete the specified key from the
-		  database.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The default action of this method is to call the DIO
-		  object's delete command.  This method can be
-		  overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">destroy</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Destroy the diodisplay object.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">DIO</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current DIO value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for DIO.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">errorhandler</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current errorhandler value.  If
-		  <em class="replaceable"><code>value</code></em> is specified, it
-		  sets a new value for errorhandler.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">fetch</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Fetch the specified <em class="replaceable"><code>key</code></em>
-		  from the database and store it as an array in
-		  <em class="replaceable"><code><em class="replaceable"><code>arrayName</code></em></code></em>.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The default of this method is to call the DIO object's fetch command.
-		  This method can be overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">field</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldName</code></em></span>  (<span style="font-family:monospace; font-weight: bold;">-arg</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arg</code></em></span>...)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Create a new field object and add it to the display.
-		  When a field is added to the display, a new object
-		  of the DIODisplayField class is created with its
-		  values.  See [FIXME - LINK] DIO Display Fields for
-		  options and values.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">fields</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current fields value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for fields.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">form</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current form value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for form.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">function</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>functionName</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Add a new function to the list of possible
-		  functions.  The display object will only execute
-		  methods and procs which are defined as functions by
-		  the object.  This is to protect the program from
-		  executing a different procedure other than what is
-		  allowed.  The <span style="font-family:monospace"><span class="command"><strong>function</strong></span></span> command
-		  adds a new function to the list of allowable
-		  functions.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">functions</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current functions value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for functions.  See
-		  [FIXME - LINK DIO Display Functions] for a list of
-		  default functions.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">pagesize</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current form pagesize.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for pagesize.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">rowfields</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current form rowfields.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for rowfields.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">rowfooter</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Output the footer of a list of rows to the web page.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">rowfunctions</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current rowfunctions value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for rowfunctions.
-		  
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">rowheader</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Output the header of a list of rows to the web page.
-		By default, this is an HTML table with a top row
-		listing the fields in the table.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">searchfields</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current searchfields value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for searchfields.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">show</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Show the display object.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This is the main method of the display class.  It
-		  looks for a variable called <code class="varname">mode</code>
-		  to be passed in through a form response and uses
-		  that mode to execute the appropriate function.  If
-		  mode is not given, the <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span>
-		  function is called.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function should be called for every page.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">showform</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Display the form of the object.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method displays the form for this display
-		  object.  It is used in the <span style="font-family:monospace"><span class="command"><strong>Add</strong></span></span>
-		  and <span style="font-family:monospace"><span class="command"><strong>Edit</strong></span></span> methods but can be
-		  called separately if needed.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overridden if the default look of
-		  a form needs to be changed.  By default, the form
-		  displayed is simply the fields in a table, in order.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">showrow</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Display a single row of a resulting list or search.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method is used to display a single row while
-		  displaying the result of a list or search.
-		  <em class="replaceable"><code>arrayName</code></em>
-		  is a fetched array of the record.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overriden if the default look of
-		  a row needs to be changed.  By default, each row is
-		  output as a table row with each field as a table
-		  data cell.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">showview</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Display the view of the object.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method displays the view for this display
-		  object.  It is used in the
-		  <span style="font-family:monospace"><span class="command"><strong>Details</strong></span></span> methods but can be
-		  called separately if needed.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overridden if the default look of
-		  a view needs to be changed.  By default, the view
-		  displayed is simply the fields in a table, in order.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">store</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Store the specified
-		  <em class="replaceable"><code>arrayName</code></em>
-		  in the database.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The default of this method is to call the DIO
-		  object's store command.  This method can be
-		  overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">text</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current text value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for text.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">title</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current title value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for title.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">type</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current type value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for type.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">value</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current value value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for value.
-		</div></div></dd></dl></div></div><div class="refsect2" title="DIO Display Functions"><a name="idp7773632"></a><h3>DIO Display Functions</h3><p style="width:90%">
-	    These functions are called from the
-	    <span style="font-family:monospace"><span class="command"><strong>show</strong></span></span> method when a form response
-	    variable called <code class="varname">mode</code> is set.  If no
-	    mode has been set, the default mode is
-	    <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span>.  The show method will handle
-	    the necessary switching of functions.  The show method
-	    also handles checking to make sure the function given is a
-	    true function.  If not, an error message is displayed.
-	    New functions can be added as methods or by use of the
-	    <span style="font-family:monospace"><span class="command"><strong>function</strong></span></span> command, and any of the
-	    default functions can be overridden with new methods to
-	    create an entirely new class.  These are the default
-	    functions provided.
-	  </p><div class="variablelist"><dl><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Add</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Show a form that allows the user to add a new entry
-		  to the database.  This function calls
-		  <span style="font-family:monospace"><span class="command"><strong>showform</strong></span></span> to display the form
-		  for adding the entry.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Cancel</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The <span style="font-family:monospace"><span class="command"><strong>Cancel</strong></span></span> function does nothing
-		  but redirect back to the <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span>
-		  function.  This is handy for forms which have a
-		  cancel button to point to.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Delete</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  If <code class="varname">confirmdelete</code> is true (the
-		  default), the <span style="font-family:monospace"><span class="command"><strong>Delete</strong></span></span> function
-		  will ask the user if they're sure they want to
-		  delete the record from the database.  If
-		  <code class="varname">confirmdelete</code> is false, or if the
-		  user confirms they wish to delete, this function
-		  calls the <span style="font-family:monospace"><span class="command"><strong>DoDelete</strong></span></span> function to do
-		  the actual deletion of a record.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Details</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Display the view of a single record from the database.  This function calls
-		  the <span style="font-family:monospace"><span class="command"><strong>showview</strong></span></span> method to display a single record from the database.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>DoDelete</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function actually deletes a record from the
-		  database.  Once it has deleted the record, it
-		  redirects the user back to the
-		  <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span> function.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Edit</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Show a form that allows the user to edit an existing
-		  entry to the database.  This function calls
-		  <span style="font-family:monospace"><span class="command"><strong>showform</strong></span></span> to display the form for
-		  editing the entry and fills in the fields with the
-		  values retrieved from the database.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>List</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function lists the entires contents of the
-		  database.  Each record is output in a row using the
-		  <span style="font-family:monospace"><span class="command"><strong>showrow</strong></span></span> method.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function is the main function of the display
-		  object.  If there is no mode, or once most commands
-		  complete, the user will be redirected to this
-		  function.  The default <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span>
-		  function displays a list of functions the user can
-		  execute, a list of searchfields the user can search
-		  on, and a query field.  This query field is used by
-		  all of the other functions to determine what the
-		  user is trying to find.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In the case of a <span style="font-family:monospace"><span class="command"><strong>search</strong></span></span>, query
-		  specifies what string the user is looking for in the
-		  specified search field.  In the case of
-		  <span style="font-family:monospace"><span class="command"><strong>delete</strong></span></span>,
-		  <span style="font-family:monospace"><span class="command"><strong>details</strong></span></span> or
-		  <span style="font-family:monospace"><span class="command"><strong>edit</strong></span></span>, the query specifies the
-		  database key to access.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Save</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function saves any data passed to using the
-		  <span style="font-family:monospace"><span class="command"><strong>store</strong></span></span> method.  This is primarily
-		  used by the <span style="font-family:monospace"><span class="command"><strong>add</strong></span></span> and
-		  <span style="font-family:monospace"><span class="command"><strong>edit</strong></span></span> commands to store the
-		  results of the form the user has filled out.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Search</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function searches the database for any row
-		  whose <code class="varname">searchBy</code> field matches
-		  <code class="varname">query</code>. Once any number of records
-		  are found, <span style="font-family:monospace"><span class="command"><strong>Search</strong></span></span> displays the
-		  results in rows.
-		</div></div></dd></dl></div></div><div class="refsect2" title="DIO Display Fields"><a name="idp7815280"></a><h3>DIO Display Fields</h3><p style="width:90%">
-	    Display fields are created with the
-	    <span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> command of the DIODisplay object.
-	    Each field is created as a new DIODisplayField object or
-	    as a subclass of DIODisplayField.  The standard form
-	    fields use the standard field class, while specialized
-	    field types use a class with different options but still
-	    supports all of the same commands and values a generic
-	    field does.
-	  </p><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>displayObject</code></em></span>   <span style="font-family:monospace; font-weight: bold;">field</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldname</code></em></span>  (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span>...)</div></div><p style="width:90%">
-	    These are the standard options supported by field types:
-	  </p><div class="variablelist"><dl><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-formargs</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arguments</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  When a field is created, any argument which is not a
-		  standard option is assumed to be an argument passed
-		  to the form object when the field is shown in a
-		  form.  These arguments are all appended to the
-		  <code class="varname">formargs</code> variable.  You can use
-		  this option to override or add options after the
-		  initial creation of an object
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-readonly</span>  (<span style="font-family:monospace; font-weight: bold;">1</span> | <span style="font-family:monospace; font-weight: bold;">0</span>)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  If <code class="varname">readonly</code> is set to true, the
-		  field will not display a form entry when displaying
-		  in a form.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-text</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>text</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The text displayed next to the form or view field.
-		  By default, DIODisplay tries to figure out a pretty
-		  way to display the field name.  This text will
-		  override that default and display whatever is
-		  specified.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-type</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldType</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The type of field this is.  This type is used when
-		  creating the field in the form object.
-		  <em class="replaceable"><code>fieldType</code></em>
-		  can be any of the accepted form field types.  See
-		  [FIXME - LINK DIO Field Types] for a list of types
-		  available.
-		</div></div></dd></dl></div><p style="width:90%">
-	    All other arguments, unless specified in an individual
-	    field type, are passed directly to the form object when
-	    the field is created.  So, you can pass
-	    -size or -maxsize to
-	    specify the length and maximum length of the field entry.
-	    Or, if type were textarea, you could define
-	    -rows and -cols to
-	    specify its row and column count.
-	  </p></div><div class="refsect2" title="DIO Display Field Types"><a name="idp7848448"></a><h3>DIO Display Field Types</h3><p style="width:90%">
-	    The following is a list of recognized field types by
-	    DIODisplay.  Some are standard HTML form fields, and
-	    others are DIODisplay fields which execute special actions
-	    and functions.
-	  </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="diodisplay.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="diodisplay.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="session_package.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">DIODisplay - Database Interface Objects Display Class </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Session Package</td></tr></table></div></body></html>
diff --git a/rivet/manual/directives.html b/rivet/manual/directives.html
deleted file mode 100644
index 6cdb87e..0000000
--- a/rivet/manual/directives.html
+++ /dev/null
@@ -1,166 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Rivet Apache Directives</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="installation.html" title="Apache Rivet Installation"><link rel="next" href="commands.html" title="Rivet Tcl Commands and Variables"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Rivet Apache Directives</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="installation.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="commands.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Rivet Apache Directives"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="directives"></a>Rivet Apache Directives</h2></div></div></div><p style="width:90%">
-      These directives are used within the Apache httpd server
-      configuration files to modify Apache Rivet's behavior.  Their
-      precedence is as follows: <span style="font-family:monospace"><span class="command"><strong>RivetDirConf</strong></span></span>,
-      <span style="font-family:monospace"><span class="command"><strong>RivetUserConf</strong></span></span>,
-      <span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span>, meaning that DirConf will
-      override UserConf, which will in turn override ServerConf.
-    </p><div class="variablelist"><dl><dt><span class="term">
-	  <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">RivetServerConf</span>  (<span style="font-family:monospace; font-weight: bold;">CacheSize</span> | <span style="font-family:monospace; font-weight: bold;">GlobalInitScript</span> | <span style="font-family:monospace; font-weight: bold;">ChildInitScript</span> | <span style="font-family:monospace; font-weight: bold;">ChildExitScript</span> | <span style="font-family:monospace; font-weight: bold;">BeforeScript</span> | <span style="font-family:monospace; font-weight: bold;">AfterScript</span> | <span style="font-family:monospace; font-weight: bold;">ErrorScript</span> | <span style="font-family:monospace; font-weight: bold;">AbortScript</span> | <span style="font-family:monospace; font-weight: bold;">AfterEveryScript</span> | <span style="font-family:monospace; font-weight: bold;">UploadDirectory</span> | <span style="font-family:monospace; font-weight: bold;">UploadMaxSize</span> | <span style="font-family:monospace; font-weight: bold;">UploadFilesToVar</span> | <span style="font-family:monospace; font-weight: bold;">SeparateVirtualInterps</span> | <span style="font-family:monospace; font-weight: bold;">HonorHeaderOnlyRequests</span>)</div></div>
-	</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex"><span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span> specifies a global
-	    option that is valid for the whole server.  If you have a
-	    virtual host, in some cases, the option specified in the
-	    virtualhost takes precedence over the 'global' version.
-	  </div><div class="variablelist"><dl><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">CacheSize</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>size</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Sets the size of the internal page cache, where
-		  <em class="replaceable"><code>size</code></em> is
-		  the number of byte-compiled pages to be cached for
-		  future use.  Default is
-		  <span style="font-family:monospace"><span class="command"><strong>MaxRequestsPerChild</strong></span></span> / 5, or 50,
-		  if <span style="font-family:monospace"><span class="command"><strong>MaxRequestsPerChild</strong></span></span> is 0.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This option is completely global, even when using
-		  separate, per-virtual host interpreters.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">GlobalInitScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Tcl script that is run when each interpreter is
-		  initialized. <em class="replaceable"><code>script</code></em>
-		  is an actual Tcl script, so to run a file, you would
-		  do:
-
-		  <pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf GlobalInitScript "source /var/www/foobar.tcl"</pre>
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This option is ignored in virtual hosts.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">ChildInitScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Script to be evaluated when each Apache child
-		  process is initialized.  This is the recommended
-		  place to load modules, create global variables, open
-		  connections to other facilities (such as databases)
-		  and so on.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this script is run in addition to
-		  any global childinitscript.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">ChildExitScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Script to be evaluated when each Apache child
-		  process exits.  This is the logical place to clean
-		  up resources created in
-		  ChildInitScript, if necessary.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this script is run in addition to
-		  any global childexitscript.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">BeforeScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Script to be evaluated before each server parsed
-		  (.rvt) page.  This can be used to create a standard
-		  header, for instance.  It could also be used to load
-		  code that you need for every page, if you don't want
-		  to put it in a GlobalInitScript
-		  ChildInitScript when you are first
-		  developing a web site.
-		  <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-		    This code is evaluated at the global level, not
-		    inside the request namespace where pages are
-		    evaluated.
-		  </td></tr></table></div>
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">AfterScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Script to be called after each server parsed (.rvt) page.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">ErrorScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  When Rivet encounters an error in a script, it
-		  constructs an HTML page with some information about
-		  the error, and the script that was being
-		  evaluated. If an ErrorScript is
-		  specified, it is possible to create custom error
-		  pages.  This may be useful if you want to make sure
-		  that users never view your source code.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-				<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">AfterEveryScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-					AfterEveryScript is a script that is to
-					be run anyway before requests processing ends. This script
-					is therefore run both when the content generation script
-					completes successfully and when its execution is interrupted
-					by <a class="xref" href="abort_page.html" title="abort_page">abort_page</a>. The code in this script
-					can tell whether we are running after an abort condition
-					occurred by passing the argument  ?<span style="font-family:monospace; font-weight: bold;">-aborting</span>? to
-					<a class="xref" href="abort_page.html" title="abort_page">abort_page</a> which in turn returns 1 if
-					abort_page had been called earlier in the request processing.
-				</div></div></dd><dt><span class="term">
-				<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">AbortScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-			</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-					Execution of a content generating script can be
-					done by invoking <a class="xref" href="abort_page.html" title="abort_page">abort_page</a>. When 
-					an AbortScript is defined for the page
-					being generated, control is passed to it as a way
-					to undertake specific action that might be necessary
-					to catch resources left dangling by the sudden interruption.				
-				</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">UploadDirectory</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>directory</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Directory to place uploaded files.</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">UploadMaxSize</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>size</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Maximum size for uploaded files.</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">UploadFilesToVar</span>  (<span style="font-family:monospace; font-weight: bold;">yes</span> | <span style="font-family:monospace; font-weight: bold;">no</span>)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This option controls whether it is possible to
-		  upload files to a Tcl variable.  If you have a size
-		  limit, and don't have to deal with large files, this
-		  might be more convenient than sending the data to a
-		  file on disk.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">SeparateVirtualInterps</span>  (<span style="font-family:monospace; font-weight: bold;">yes</span> | <span style="font-family:monospace; font-weight: bold;">no</span>)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  If on, Rivet will create a separate Tcl interpreter
-		  for each Apache virtual host.  This is useful in an
-		  ISP type situation where it is desirable to separate
-		  clients into separate interpreters, so that they
-		  don't accidentally interfere with one another.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">This option is, by nature, only available at the
-		global level.</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">HonorHeaderOnlyRequests</span>  (<span style="font-family:monospace; font-weight: bold;">yes</span> | <span style="font-family:monospace; font-weight: bold;">no</span>)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  If a HEAD requests is issued by the client Rivet detects
-		  this case and sends back to the client a standard header 
-		  response. If the real header has to be examined (e.g. 
-		  for debugging) you can turn this options on. 
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">This option is, by nature, only available at the global level</div></div></dd></dl></div></div></dd><dt><span class="term">
-	  <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">RivetDirConf</span>  (<span style="font-family:monospace; font-weight: bold;">BeforeScript</span> | <span style="font-family:monospace; font-weight: bold;">AfterScript</span> | <span style="font-family:monospace; font-weight: bold;">ErrorScript</span> | <span style="font-family:monospace; font-weight: bold;">UploadDirectory</span>)</div></div>
-	</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    These options are the same as for
-	    <span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span>, except that they are
-	    only valid for the directory where they are specified, and
-	    its subdirectories.  It may be specified in <span style="font-family:monospace"><span class="command"><strong>Directory</strong></span></span> 
-	    sections.
-	  </div></div></dd><dt><span class="term">
-	  <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">RivetUserConf</span>  (<span style="font-family:monospace; font-weight: bold;">BeforeScript</span> | <span style="font-family:monospace; font-weight: bold;">AfterScript</span> | <span style="font-family:monospace; font-weight: bold;">ErrorScript</span> | <span style="font-family:monospace; font-weight: bold;">UploadDirectory</span>)</div></div>
-	</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    These options are the same as for
-	    <span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span>, except that they are
-	    only valid for the directory where they are specified, and
-	    its subdirectories.
-	  </div></div></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="installation.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="commands.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Apache Rivet Installation </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Rivet Tcl Commands and Variables</td></tr></table></div></body></html>
diff --git a/rivet/manual/encode.html b/rivet/manual/encode.html
deleted file mode 100644
index 9d8b6d2..0000000
--- a/rivet/manual/encode.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>encode</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="entities.html" title="RivetEntities"><link rel="prev" href="entities.html" title="RivetEntities"><link rel="next" href="decode.html" title="decode"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">encode</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="entities.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">RivetEntities</th><td width="20%" align="right"> <a accesskey="n" href="decode.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="encode"><a name="encode"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>encode &#8212; 
-                encode a string replacing every occurrence of characters for 
-                which an SGML entity exists
-            </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">::rivet::encode</span>   <span style="font-family:monospace; font-weight: bold;">string</span>  ?<span style="font-family:monospace; font-weight: bold;">-encoding <em class="replaceable"><code>&lt;encoding&gt;</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp9216608"></a><h2>Description</h2><p style="width:90%">
-                <span style="font-family:monospace"><span class="command"><strong>::rivet::encode</strong></span></span> returns a copy of the input string
-                after replacing every occurence of characters for which an SGML entity 
-                exists.  By default the command assumes the string is encoded in UTF-8,
-                other encodings are supported by passing the 
-                <span style="font-family:monospace"><span class="command"><strong>-encoding &lt;encoding&gt;</strong></span></span> argument. The list of
-                available encodings is returned by command
-            </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">encoding names</pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="entities.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="entities.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="decode.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">RivetEntities </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> decode</td></tr></table></div></body></html>
diff --git a/rivet/manual/entities.html b/rivet/manual/entities.html
deleted file mode 100644
index e06a134..0000000
--- a/rivet/manual/entities.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>RivetEntities</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="html_calendar.html" title="HtmlCalendar"><link rel="next" href="encode.html" title="encode"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">RivetEntities</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="html_calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="encode.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="RivetEntities"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="entities"></a>RivetEntities</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="idp9165600"></a>Introduction</h3></div></div></div><p style="width:90%">
-				The <span style="font-family:monospace"><span class="command"><strong>RivetEntities</strong></span></span> package was kindly provided by Harald Oehlmann and 
-				is largely taken from a simple yet clever encoder/decoder of HTML entities
- 				starting from a utf-8 character string. The original code writted by Andy Goth is 
-				at http://wiki.tcl.tk/26403. Package entities extends the functionality in the 
-				original code combining it with Tcl's 'encoding' command to encode/decode from 
-				any supported encoding
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="html_calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="encode.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">HtmlCalendar </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> encode</td></tr></table></div></body></html>
diff --git a/rivet/manual/env.html b/rivet/manual/env.html
deleted file mode 100644
index d137846..0000000
--- a/rivet/manual/env.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>env</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="debug.html" title="debug"><link rel="next" href="escape_sgml_chars.html" title="escape_sgml_chars"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">env</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="debug.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escape_sgml_chars.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="env"><div class="refentry.separator"><hr></div><a name="env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>env &#8212; Loads a single
-	        "environmental variable" into a Tcl variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">env</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5853984"></a><h2>Description</h2><p style="width:90%">
-          If it is only necessary to load one environmental variable,
-          this command may be used to avoid the overhead of loading
-          and storing the entire array.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="debug.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="escape_sgml_chars.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">debug </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> escape_sgml_chars</td></tr></table></div></body></html>
diff --git a/rivet/manual/escape_sgml_chars.html b/rivet/manual/escape_sgml_chars.html
deleted file mode 100644
index 09ef5cc..0000000
--- a/rivet/manual/escape_sgml_chars.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_sgml_chars</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="env.html" title="env"><link rel="next" href="escape_shell_command.html" title="escape_shell_command"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_sgml_chars</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="env.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escape_shell_command.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_sgml_chars"><div class="refentry.separator"><hr></div><a name="escape_sgml_chars"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_sgml_chars &#8212; escape special SGML characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_sgml_chars</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5859616"></a><h2>Description</h2><p style="width:90%">
-          Scans through each character in the specified string looking
-          for any special (with respect to SGML, and hence HTML) characters
-          from the specified string, and returns the result.  
-          For example, the right angle
-          bracket is escaped to the corrected ampersand gt symbol.
-        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> 
-            You must require the Rivet package in order to gain access to this command
-        </td></tr></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="env.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="escape_shell_command.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">env </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> escape_shell_command</td></tr></table></div></body></html>
diff --git a/rivet/manual/escape_shell_command.html b/rivet/manual/escape_shell_command.html
deleted file mode 100644
index 1d0fd9f..0000000
--- a/rivet/manual/escape_shell_command.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_shell_command</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_sgml_chars.html" title="escape_sgml_chars"><link rel="next" href="escape_string.html" title="escape_string"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_shell_command</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_sgml_chars.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escape_string.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_shell_command"><div class="refentry.separator"><hr></div><a name="escape_shell_command"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_shell_command &#8212; escape shell metacharacters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_shell_command</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5865872"></a><h2>Description</h2><p style="width:90%">
-          Scans through each character in the specified string looking
-          for any shell metacharacters, such as asterisk, less than and
-          greater than, parens, square brackets, curly brackets, angle 
-          brackets, dollar signs, backslashes, semicolons, ampersands,
-          vertical bars, etc. 	
-        </p><p style="width:90%">
-          For each metacharacter found, it is quoted in the result by
-          prepending it with a backslash, returning the result.
-        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> 
-            You must require the Rivet package in order to gain access to this command
-        </td></tr></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="escape_sgml_chars.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="escape_string.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">escape_sgml_chars </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> escape_string</td></tr></table></div></body></html>
diff --git a/rivet/manual/escape_string.html b/rivet/manual/escape_string.html
deleted file mode 100644
index 3a7a42b..0000000
--- a/rivet/manual/escape_string.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_string</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_shell_command.html" title="escape_shell_command"><link rel="next" href="headers.html" title="headers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_string</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_shell_command.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="headers.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_string"><div class="refentry.separator"><hr></div><a name="escape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_string &#8212; convert a string into escaped characters.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_string</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5872672"></a><h2>Description</h2><p style="width:90%">
-            Scans through each character in the specified string looking
-            for special characters, escaping them as needed, mapping
-            special characters to a quoted hexadecimal equivalent,
-            returning the result.
-        </p><p style="width:90%">
-            This is useful for quoting strings that are going to be
-            part of a URL.
-        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> 
-            You must require the Rivet package in order to gain access to this command
-        </td></tr></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="escape_shell_command.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="headers.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">escape_shell_command </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> headers</td></tr></table></div></body></html>
diff --git a/rivet/manual/examples.html b/rivet/manual/examples.html
deleted file mode 100644
index 726920a..0000000
--- a/rivet/manual/examples.html
+++ /dev/null
@@ -1,455 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Examples and Usage</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="wrapline.html" title="wrapline"><link rel="next" href="tcl_packages.html" title="Rivet Tcl Packages"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Examples and Usage</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="wrapline.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="tcl_packages.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Examples and Usage"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="examples"></a>Examples and Usage</h2></div></div></div><p style="width:90%">
-      Some examples of Rivet usage follow.  Some prior Tcl knowledge
-      is assumed.  If you don't know much Tcl, don't worry, it's easy,
-      and there are some good resources available on the web that will
-      get you up to speed quickly.  Go to the 
-      <a class="link" href="help.html#websites" title="Web Sites">web sites</a> section and have a look.
-    </p><div class="example"><a name="hello%20world"></a><p class="title"><b>Example 1. Hello World</b></p><div class="example-contents"><p style="width:90%">
-	As with any tool, it's always nice to see something work, so
-	let's create a small "Hello World" page.</p><p style="width:90%">
-	Assuming you have Apache configured correctly, create a file
-	called <code class="filename">hello.rvt</code> where Apache can find
-	it, with the following content:
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;?
-puts "Hello World"
-?&gt;
-</pre><p style="width:90%">
-	If you then access it with your browser, you should see a
-	blank page with the text "Hello World" (without the quotes) on it.
-      </p></div></div><br class="example-break"><div class="example"><a name="idp6703472"></a><p class="title"><b>Example 2. Generate a Table</b></p><div class="example-contents"><p style="width:90%">
-	    In another simple example, we dynamically generate a table:
-	  </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;? puts "&lt;table&gt;\n"
-for {set i 1} { $i &lt;= 8 } {incr i} {
-    puts "&lt;tr&gt;\n"
-    for {set j 1} {$j &lt;= 8} {incr j} {
-        set num [ expr $i * $j * 4 - 1]
-        puts [ format "&lt;td bgcolor=\"%02x%02x%02x\" &gt; $num $num $num &lt;/td&gt;\n" \
-		   $num $num $num ]
-    }
-    puts "&lt;/tr&gt;\n"
-}
-puts "&lt;/table&gt;\n" ?&gt;
-</pre><p style="width:90%">
-	    If you read the code, you can see that this is pure Tcl.  We
-	    could take the same code, run it outside of Rivet, and it
-	    would generate the same HTML!
-	  </p><p style="width:90%">
-	    The result should look something like this:
-	  </p><div><img src="images/table.png"></div></div></div><br class="example-break"><div class="example"><a name="variable_access"></a><p class="title"><b>Example 3. Variable Access</b></p><div class="example-contents"><p style="width:90%">
-	Here, we demonstrate how to access variables set by GET or
-	POST operations.
-      </p><p style="width:90%">
-	Given an HTML form like the following:
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">     &lt;form action="vars.rvt"&gt;
-      &lt;table&gt;
-	&lt;tbody&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;b&gt;Title:&lt;/b&gt;&lt;/td&gt;
-	    &lt;td&gt;&lt;input name="title"&gt;&lt;/td&gt;
-	  &lt;/tr&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;b&gt;Salary:&lt;/b&gt;&lt;/td&gt;
-	    &lt;td&gt;&lt;input name="salary"&gt;&lt;/td&gt;
-	  &lt;/tr&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;b&gt;Boss:&lt;/b&gt;&lt;/td&gt;
-	    &lt;td&gt;&lt;input name="boss"&gt;&lt;/td&gt;&lt;/tr&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;b&gt;Skills:&lt;/b&gt;&lt;/td&gt;
-	    &lt;td&gt;
-	      &lt;select name="skills" multiple="multiple"&gt;
-		&lt;option&gt;c&lt;/option&gt;
-		&lt;option&gt;java&lt;/option&gt;
-		&lt;option&gt;Tcl&lt;/option&gt;
-		&lt;option&gt;Perl&lt;/option&gt;
-	      &lt;/select&gt;
-	    &lt;/td&gt;
-	  &lt;/tr&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;input type="submit"&gt;&lt;/td&gt;
-	  &lt;/tr&gt;
-	&lt;/tbody&gt;
-      &lt;/table&gt;
-    &lt;/form&gt;
-</pre><p style="width:90%">
-	We can use this Rivet script to get the variable values:
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;?
-set errlist {}
-if { [var exists title] } {
-    set title [var get title]
-} else {
-    set errlist "You need to enter a title"
-}
-
-if { [var exists salary] } {
-    set salary [var get salary]
-    if { ! [string is digit $salary] } {
-	lappend errlist "Salary must be a number"
-    }
-} else {
-    lappend errlist "You need to enter a salary"
-}
-
-if { [var exists boss] } {
-    set boss [var get boss]
-} else {
-    set boss "Mr. Burns"
-}
-
-if { [var exists skills] } {
-    set skills [var list skills]
-} else {
-    lappend errlist "You need to enter some skills"
-}
-
-if { [llength $errlist] != 0 } {
-    foreach err $errlist {
-	puts "&lt;b&gt; $err &lt;/b&gt;"
-    }
-} else {
-    puts "Thanks for the information!"
-    ?&gt;
-    &lt;table&gt;
-      &lt;tbody&gt;
-	&lt;tr&gt;
-	  &lt;td&gt;&lt;b&gt;Title:&lt;/b&gt;&lt;/td&gt;
-	  &lt;td&gt;&lt;? puts $title ?&gt;&lt;/td&gt;
-	&lt;/tr&gt;
-	&lt;tr&gt;
-	  &lt;td&gt;&lt;b&gt;Boss:&lt;/b&gt;&lt;/td&gt;
-	  &lt;td&gt;&lt;? puts $boss ?&gt;&lt;/td&gt;
-	&lt;/tr&gt;
-	&lt;tr&gt;
-	  &lt;td&gt;&lt;b&gt;Salary:&lt;/b&gt;&lt;/td&gt;
-	  &lt;td&gt;&lt;? puts $salary ?&gt;&lt;/td&gt;
-	&lt;/tr&gt;
-	&lt;tr&gt;
-	  &lt;td&gt;&lt;b&gt;Skills:&lt;/b&gt;&lt;/td&gt;
-	  &lt;td&gt;&lt;? puts $skills ?&gt;&lt;/td&gt;
-	&lt;/tr&gt;
-      &lt;/tbody&gt;
-    &lt;/table&gt;
-    &lt;?
-}
-?&gt;
-</pre><p style="width:90%">
-	The first statement checks to make sure that the
-	<code class="varname">boss</code> variable has been passed to the
-	script, and then does something with that information.  If
-	it's not present, an error is added to the list of errors.
-      </p><p style="width:90%">
-	In the second block of code, the variable
-	<code class="varname">salary</code> is fetched, with one more error
-	check - because it's a number, it needs to be composed of
-	digits.
-      </p><p style="width:90%">
-	The <code class="varname">boss</code> variable isn't required to have
-	been sent - we set it to "Mr. Burns" if it isn't among the
-	information we received.
-      </p><p style="width:90%">
-	The last bit of variable handing code is a bit trickier.
-	Because <code class="varname">skills</code> is a listbox, and can
-	potentially have multiple values, we opt to receive them as a
-	list, so that at some point, we could iterate over them.
-      </p><p style="width:90%">
-	The script then checks to make sure that
-	<code class="varname">errlist</code> is empty and outputting a thankyou
-	message.  If <code class="varname">errlist</code> is not empty, the list
-	of errors it contains is printed.
-      </p></div></div><br class="example-break"><div class="example"><a name="file_upload"></a><p class="title"><b>Example 4. File Upload</b></p><div class="example-contents"><p style="width:90%">
-	The <span style="font-family:monospace"><span class="command"><strong>upload</strong></span></span> command endows Rivet with an
-	interface to access files transferred over http as parts of a
-	multipart form.  The following HTML in one file, say,
-	<code class="filename">upload.html</code> creates a form with a text
-	input entry. By clicking the file chooser button the file
-	browser shows up and the user selects the file to be uploaded
-	(the file path will appear in the text input).  In order to make
-	sure you're uploading the whole file you must combine the
-	action of the enctype and method attributes of the
-	&lt;form...&gt; tag in the way shown in the example.  Failure
-	to do so would result in the client sending only the file's
-	path, rather than the actual contents.
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;form action="foo.rvt" enctype="multipart/form-data" method="post"&gt;
-&lt;input type="file" name="MyUpload"&gt;&lt;/input&gt;
-&lt;input type="submit" value="Send File"&gt;&lt;/input&gt;
-&lt;/form&gt;
-</pre><p style="width:90%">
-	In the script invoked by the form
-	(<code class="filename">upload.rvt</code>) <span style="font-family:monospace"><span class="command"><strong>upload</strong></span></span>
-	 ?<span style="font-family:monospace; font-weight: bold;">argument ...</span>? commands can be used to manipulate the
-	various files uploaded.
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;?
-upload save MyUpload /tmp/uploadfiles/file1
-puts "Saved file [upload filename MyUpload] \
-	([upload size MyUpload] bytes) to server"
-?&gt;</pre><p style="width:90%">
-	Don't forget that the apache server must have write access to
-	the directory where files are being created.  The Rivet Apache
-	directives have a substantial impact on the upload process,
-	you have to carefully read the docs in order to set the
-	appropriate directives values that would match your
-	requirements.
-      </p><p style="width:90%">
-	It is also important to understand that some 
-	<span style="font-family:monospace"><span class="command"><strong>upload</strong></span></span> commands are effective only when
-	used in a mutually exclusive way.  Apache stores the data in
-	temporary files which are read by the <span style="font-family:monospace"><span class="command"><strong>upload save
-	 ?<span style="font-family:monospace; font-weight: bold;">upload name</span>? ?<span style="font-family:monospace; font-weight: bold;">filename</span>?</strong></span></span> or by the
-	<span style="font-family:monospace"><span class="command"><strong>upload data  ?<span style="font-family:monospace; font-weight: bold;">upload name</span>?</strong></span></span>
-	command. Subsequent calls to these 2 commands using the same
-	 ?<span style="font-family:monospace; font-weight: bold;">upload name</span>? argument will return no data on the
-	second call.  Likewise <span style="font-family:monospace"><span class="command"><strong>upload channel  ?<span style="font-family:monospace; font-weight: bold;">upload
-	name</span>?</strong></span></span> will return a Tcl file channel that you
-	can use in regular Tcl scripts only if you haven't already
-	read the data, for example with a call to the <span style="font-family:monospace"><span class="command"><strong>upload
-	data  ?<span style="font-family:monospace; font-weight: bold;">upload name</span>?</strong></span></span> command.
-      </p></div></div><br class="example-break"><div class="example"><a name="file_download"></a><p class="title"><b>Example 5. File Download</b></p><div class="example-contents"><p style="width:90%">
-	In general setting up a data file for being sent over http is 
-	as easy as determining the file's URI and letting Apache's
-	do all that is needed. If this approach fits your design all 
-	you have to do is to keep the downloadable files somewhere 
-	within Apache's DocumentRoot (or in any of the directories 
-	Apache has right to access).
-      </p><p style="width:90%">
-	When a client sends a request for a file, Apache takes
-	care of determining the filetype, sends appropriate headers to
-	the client and then the file content. The client is responsible
-	for deciding how to handle the data accordingly to the 
-	"content-type" headers and its internal design. For example
-	when browsers give up trying to display a certain "content-type"
-	they display a download dialog box asking for directions from
-	the user. 
-      </p><p style="width:90%">
-	Rivet can help if you have more sofisticated needs.  For
-	instance you may be developing an application that uses
-	webpages to collect input data. This information might be
-	passed on to scripts or programs for processing. 
-	In this case a real file representing the
-	data doesn't exist and the content is generated on demand 
-	by the server. 
-	In other circumstances you may need to dynamically inhibit 
-	the download of specific files and hide them away, 
-	Your scripts may expunge from the pages
-	every link to these files (your pages are dynamic, aren't
-	they?) and move them out of way, but it looks like a
-	cumbersome solution.
-      </p><p style="width:90%">
-	Putting Tcl and Rivet in charge of the whole download
-	mechanism helps in building cleaner and safer approaches to
-	the download problem.
-      </p><p style="width:90%">
-	In this example a procedure checks for the existence of a
-	parameter passed in by the browser. The parameter is the name
-	(without extension) of a pdf file.  
-	Pdf files are stored in a directory whose path is
-	in the <span style="font-family:monospace"><span class="command"><strong>pdf_repository</strong></span></span> variable.
-      </p><p style="width:90%">
-	This code is reported as an example of how to control 
-	the protocol using the <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> command.
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting"># Code example for the transmission of a pdf file. 
-
-if {[var exists pdfname]} {
-    set pdfname [var get pdfname]
-
-# let's build the full path to the pdf file. The 'pdf_repository'
-# directory must be readable by the apache children
-
-    set pdf_full_path [file join $pdf_repository ${pdfname}.pdf]
-    if {[file exists $pdf_full_path]} {
-
-# Before the file is sent we inform the client about the file type and
-# file name. The client can be proposed a filename different from the
-# original one. In this case, this is the point where a new file name
-# must be generated.
-
-	headers type			"application/pdf"
-	headers add Content-Disposition "attachment; filename=${pdfname}.pdf"
-	headers add Content-Description "PDF Document"
-
-# The pdf is read and stored in a Tcl variable. The file handle is
-# configured for a binary read: we are just shipping raw data to a
-# client. The following 4 lines of code can be replaced by any code
-# that is able to retrieve the data to be sent from any data source
-# (e.g. database, external program, other Tcl code)
-
-	set paper	    [open $pdf_full_path r]
-	fconfigure	    $paper -translation binary
-	set pdf		    [read $paper]
-	close $paper
-
-# Now we got the data: let's tell the client how many bytes we are
-# about to send (useful for the download progress bar of a dialog box)
-
-	headers add Content-Length  [string length $pdf]
-
-# Let's send the actual file content
-
-	puts $pdf
-    } else {
-	source pdf_not_found_error.rvt
-    }
-} else {
-    source parameter_not_defined_error.rvt
-}
-</pre><p style="width:90%">
-	Before the pdf is sent the procedure sets the
-	<code class="constant">Content-Type</code>, 
-	<code class="constant">Content-Disposition</code>,
-	<code class="constant">Content-Description</code> and
-	<code class="constant">Content-Length</code> headers to inform
-	the client about the file type, name and size. Notice that in
-	order to set the <code class="constant">Content-Type</code> header Rivet 
-	uses a specialiezed form of the <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> 
-	command. Headers must be sent before data gets sent down the 
-	output channel. Messing with this prescription causes an error 
-	to be raised (in fact the protocol itself is been violated)
-      </p><p style="width:90%">
-	More information about the meaning of the mime headers in the
-	http context can be found at 
-	<a class="ulink" href="http://www.w3.org/Protocols/rfc2616/rfc2616.html" target="_top">http://www.w3.org/Protocols/rfc2616/rfc2616.html</a>
-      </p></div></div><br class="example-break"><div class="example"><a name="ajax_xml_messaging"></a><p class="title"><b>Example 6. XML Messages and Ajax</b></p><div class="example-contents"><p style="width:90%">
-	The <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> command is crucial for generating 
-	XML messages that have to be understood by JavaScript code used 
-	in Ajax applications. 
-      </p><p style="width:90%">
-	    Ajax is a web programming technique that heavily relies on the abilty of a web browser to run in backround
-	    JavaScript functions. JavaScript functions can be run as callbacks of events generated by a user interaction 
-	    but they can also react to other I/O events, for example network events. 
-	    Modern browsers endow JavaScript with the ability to build http GET/POST requests to be sent to a remote
-	    webserver. Generally these requests refer to scripts (e.g. Tcl scripts run by Rivet) which inherit as 
-	    variables the arguments encoded in the request. 
-	    The output produced by these scripts is sent back to the browser where callbacks functions extract 
-	    information and hand it down to functions that directly manipulate a page's DOM.
-	    Therefore through Ajax becomes possible to build web applications that are more responsive and flexible: 
-	    instead of going through the cycle of request-generation-transfer-display 
-	    of a whole page, Ajax scripts request from a webserver only the essential data to be displayed.
-	    Ajax emphasizes the requirement of separation between data and user interface, saves 
-	    the server from sending over the same html code and graphics if only a fraction of a page has to be 
-	    updated, allows the programmer to design flexible solutions for complex forms and makes possible
-	    to find new innovative approaches to simple problems (e.g. Google tips that show up as you type in
-	    a query). A downside of this approach is the large number of complexities, subtleties and incompatibilities 
-	    that still exist in the way different versions of popular browsers handle the DOM elements of a page.
-      </p><p style="width:90%">
-	    JavaScript can handle the communication between client and server through an instance of a 
-	    specialized object. For quite a long time 2 approaches existed, the non-IE world (Firefox,Safari,Opera...) 
-	    used the XMLHttpRequest class to create this object, whereas IE (before IE7) used the ActiveXObject class.
-	    With the release of IE7 Microsoft introduced native support for XMLHttpRequest class objects thus enabling
-	    programmers with a unique method for the development of dynamic pages. 
-	</p><p style="width:90%">
-	    By creating an instance of this class a POST or GET request can be sent to the server and the response is 
-	    stored in a property ('returnedText') of the communication object. It's become widely customary to encode 
-	    these responses in XML messages. You can invent your own message structure (either based on XML or anything 
-	    else), but one has to be aware that if the http headers are properly set and the message returned to the 
-	    client is a well formed XML fragment, also the property XMLResponse is assigned with a reference to an object 
-	    that represents the DOM of the XML response. By means of the XML W3C DOM interface the programmer can easily
-	    manipulate the data embedded in the XML message.
-	</p><p style="width:90%">
-	    In this example a Rivet script initializes an array with the essential data regarding a few of the major 
-	    composers of the european music. This array plays the role of a database. The script sends back to the 
-	    client two types of responses: a catalog of the composers or a single record of a composer.
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">#
-# Ajax query servelet: a pseudo database is built into the dictionary 'composers' with the
-# purpose of emulating the role of a real data source. 
-# The script answers with  2 types of responses: a catalog of the record ids and a database 
-# entry matching a given rec_id. The script obviously misses the error handling and the
-# likes. Just an example to see rivet sending xml data to a browser. The full Tcl, JavaScript
-# and HTML code are available from http://people.apache.org/~mxmanghi/rivet-ajax.tar.gz
-
-# This example requires Tcl8.5 or Tcl8.4 with package 'dict' 
-# (http://pascal.scheffers.net/software/tclDict-8.5.2.tar.gz)
-# 
-
-# A pseudo database. rec_id matches a record in the db
-
-set composers [dict create  1 {first_name Claudio middle_name "" last_name Monteverdi	\
-			       lifespan 1567-1643 era Renaissance/Baroque}		\
-			    2 {first_name Johann middle_name Sebastian last_name Bach	\
-			       lifespan 1685-1750 era Baroque }				\
-			    3 {first_name Ludwig middle_name "" last_name "van Beethoven" \
-			       lifespan 1770-1827 era Classical/Romantic}		\
-			    4 {first_name Wolfgang middle_name Amadeus last_name Mozart	\
-				lifespan 1756-1791 era Classical }			\
-			    5 {first_name Robert middle_name "" last_name Schumann	\
-				lifespan 1810-1856 era Romantic} ]
-
-# we use the 'load' argument in order to determine the type of query
-#
-# load=catalog:		    we have to return a list of the names in the database
-# load=composer&amp;res_id=&lt;id&gt;: the script is supposed to return the record
-#			    having &lt;id&gt; as record id
-
-if {[var exists load]} {
-
-# the xml declaration is common to every message (error messages included)
-
-    set xml "&lt;?xml version=\"1.0\" encoding=\"ISO-8859-1\"?&gt;\n"
-    switch [var get load] {
-	catalog {
-	    append xml "&lt;catalog&gt;\n"
-	    foreach nm [dict keys $composers] {
-		set first_name [dict get $composers $nm first_name]
-		set middle_name [dict get $composers $nm middle_name]
-		set last_name  [dict get $composers $nm last_name]
-	        append xml "    &lt;composer key=\"$nm\"&gt;$first_name "
-		if {[string length [string trim $middle_name]] &gt; 0} {
-		    append xml "$middle_name "
-		}
-		append xml "$last_name&lt;/composer&gt;\n"
-	    }
-	    append xml "&lt;/catalog&gt;\n"
-	}
-	composer {
-	    append xml "&lt;composer&gt;\n"
-	    if {[var exists rec_id]} {
-		set rec_id [var get rec_id]
-		if {[dict exists $composers $rec_id]} {
-
-		    foreach {k v} [dict get $composers $rec_id] {
-			append xml "&lt;$k&gt;$v&lt;/$k&gt;\n"
-		    }
-
-		}
-	    }
-	    append xml "&lt;/composer&gt;\n"
-	}
-    }
-
-# we have to tell the client this is an XML message. Failing to do so
-# would result in an XMLResponse property set to null
-
-    headers type "text/xml"
-    headers add Content-Length [string length $xml]
-    puts $xml
-}
-
-</pre><p style="width:90%">
-	    For sake of brevity the JavaScript and HTML will not listed here. They can be downloaded (along with the Tcl 
-	    script) stored in the <a class="ulink" href="http://people.apache.org/~mxmanghi/rivet-ajax.tar.gz" target="_top">rivet-ajax.tar.gz</a> archive. 
-	    By simply opening this tar archive in a directory accessible 
-	    by your apache server and pointing your browser to the rivetService.html page you should see a page with a 
-	    drop-down list. Every time a different name is picked from the list a new query is sent and logged in the 
-	    apache access.log file, even though the html is never reloaded.
-	</p></div></div><br class="example-break"><div class="example"><a name="calendar"></a><p class="title"><b>Example 7. A Calendar Utility</b></p><div class="example-contents"><p style="width:90%">
-	    Rivet comes with a <span class="emphasis"><em>Calendar</em></span> package that provides classes for printing 
-	    calendar tables in various forms.	
-	</p><p style="width:90%">
-		The <span class="emphasis"><em>HtmlCalendar</em></span> class prints a calendar table in a similar form the Unix 
-		program 'cal' does. Example: the following code
-		</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">package require Calendar
-
-proc ::cal_cell_attributes { day month year weekday } {
-    if {$weekday == 3} {
-        return [list class curr_wkday]
-    }
-}
-
-set htmlc [HtmlCalendar #auto]
-set html_txt [$htmlc emit -container {table class calendar} -current_weekday 3 \
-                          -cell_function cal_cell_attributes ]
-puts $html_txt
-</pre><p style="width:90%">
-
-	    with some CSS styling would print
-	 </p><p style="width:90%">
-		</p><div><img src="images/calendar.png"></div><p style="width:90%">
-	 </p></div></div><br class="example-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="wrapline.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="tcl_packages.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">wrapline </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Rivet Tcl Packages</td></tr></table></div></body></html>
diff --git a/rivet/manual/form.html b/rivet/manual/form.html
deleted file mode 100644
index 0250d64..0000000
--- a/rivet/manual/form.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Form: An HTML Form Fields Generation Utility</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="session_package.html" title="Session Package"><link rel="next" href="form_package.html" title="form"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Form: An HTML Form Fields Generation Utility</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="session_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="form_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Form: An HTML Form Fields Generation Utility"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="form"></a>Form: An HTML Form Fields Generation Utility</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="idp8341280"></a>Introduction</h3></div></div></div><p style="width:90%">
-			The <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> package is a utility for generating html forms. A <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span>
-			object command saves the programmer from typing the cumbersome html code of input elements, 
-			working out a solution for better standardization and readability of the code. 
-			<span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> requires that only the minimum necessary to distinguish the element is
-			typed, greatly simplyfing the development of forms.
-			Options to the command are treated as a list of parameter-value pairs that become the defaults
-			for the corresponding attributes of the form.
-		</p><p style="width:90%">
-			A <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> object has specialized menthods to generate all of the standard 
-			input fields, i.e. text, password, hidden, generic button, submit or reset buttons and
-			image. <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> creates select input fields, radiobutton and checkbox
-			boolean options groups. Also new inputs introduced with HTML5 are supported: color, date, 
-			datetime, datetime-local, email, file, month, number, range, search, tel, time, url, week.
-		</p><p style="width:90%">
-			Other input elements can be generated using the general purpose 'field' method.			
-		</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="session_package.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="form_package.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Session Package </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> form</td></tr></table></div></body></html>
diff --git a/rivet/manual/form_package.html b/rivet/manual/form_package.html
deleted file mode 100644
index dfd5334..0000000
--- a/rivet/manual/form_package.html
+++ /dev/null
@@ -1,194 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>form</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="form.html" title="Form: An HTML Form Fields Generation Utility"><link rel="prev" href="form.html" title="Form: An HTML Form Fields Generation Utility"><link rel="next" href="calendar_package.html" title="Calendar Package"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">form</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="form.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Form: An HTML Form Fields Generation Utility</th><td width="20%" align="right"> <a accesskey="n" href="calendar_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="form"><a name="form_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>form &#8212;  a Tcl command object for creating HTML forms</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">form</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>value_1</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>value_2</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?</div></div></div><div class="refsect1"><a name="idp8398528"></a><p style="width:90%">
-	                        creates and returns a new Tcl command named <em class="replaceable"><code>form_name</code></em>.
-			</p><div class="refsect2" title="Options"><a name="idp8399824"></a><h3>Options</h3><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-method</span>  ?<span style="font-family:monospace; font-weight: bold;">post|get</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-			      			The http method for sending the form data back to the server.
-			      			Possible values are get or post
-			      		</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-name</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      				a name for the form being created: this value becomes the value of the 
-		      				attribute 'name' in the &lt;form&gt; tag.
-		      			</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-defaults</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>default_values</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								an array of default values	to be assigned to the fields of the form. 
-								Every name in the array is matched with an input field, when
-								a given field gets added to the form it is initialized with the 
-								value of the corresponding variable in the array. 
-								This option works well in conjuction with the 
-								<span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> command of Rivet when default 
-								values come from another form.
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-action</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>URL</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								The URL the data are being sent to. If no  ?<span style="font-family:monospace; font-weight: bold;">-action</span>? switch is specified
-								the data are sent to the form's URL.
-							</div></div></dd></dl></div></div></div><div class="refsect1" title="Form Object Commands"><a name="idp8419248"></a><h2>Form Object Commands</h2><p style="width:90%">
-	Form object commands follow the usual syntax of Tcl commands with a  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>subcommand</code></em></span>? argument playing the
-	role of a switch among various functionalities of the command. Form objects also need the  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>? parameter 
-				which is to become the value of the 'name' attribute in an input field. This argument is the key that has to be 
-				used by the server-side script to retrieve the input field value. 
-			</p><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-								form_object   <span style="font-family:monospace; font-weight: bold;">subcommand</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>value1</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>value2</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?</div></div></div></dd></dl></div><p style="width:90%">			
-				Options passed to a subcommand are copied into the tag as attribute="value" pairs. 
-				Some subcommands (e.g. form, radiobuttons and checkboxes) treat specific options in a way 
-				that fits the specific organization and function of these fields. 
-			</p><p style="width:90%">
-				Exceptions to this general syntax are the <span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> and <span style="font-family:monospace"><span class="command"><strong>end</strong></span></span> subcommands.
-				<span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> is an abstract input field creation method and requires an additional
-				parameter specifiyng the type of field to create. Every concrete input field generation command
-				uses this subcommand internally to print the final html.
-			</p></div><div class="refsect1" title="Subcommands"><a name="idp8433776"></a><h2>Subcommands</h2><div class="refsect2"><a name="idp8434448"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">start</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-method <em class="replaceable"><code>get | post</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-name <em class="replaceable"><code>form_name</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-defaults <em class="replaceable"><code>default_values</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-action <em class="replaceable"><code>URL</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Print the &lt;form&gt; tag with all its attributes. 
-								This command must be called as first in the form generation
-								process. The following is a sample of code creating a form named 'formname' whose data will
-								be sent via the GET method. Initial form fields values will be obtained from array 
-		<code class="varname">response</code>
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-form myform -defaults response -method get -name formname
-myform start
-myform text	  text_entry -size 20
-myform select option_selected -values {opt1 opt2 opt3 opt4}
-myform submit submit -value Search
-myform end</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-								The code prints a form that sends a text entry content and the option value 
-								associated with a radiobutton. The URL of the server script is the same that
-								created the form. Use the  ?<span style="font-family:monospace; font-weight: bold;">-url</span>? option to specify a different url.
-							</div></div></dd></dl></div><div class="refsect3" title="Options"><a name="idp8448176"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-method</span>  ?<span style="font-family:monospace; font-weight: bold;">post|get</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-    				      			The method to be used to encode the form data. 
-    				      			Possible values are get or post
-    				      		</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-name</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-    			      				a name for the form being generated: this value becomes the value of the 
-    			      				attribute 'name' in the &lt;form&gt; tag.
-    			      			</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-defaults</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>default_values</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-									an array of default values	to be assigned to the fields of the form. 
-									Every name in the array is matched with an input field, when
-									a given field gets added to the form it is initialized with the 
-									value of the corresponding variable in the array. 
-									This option works well in conjuction with the 
-									<span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> command of Rivet when default values
-									come from another form.
-								</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-action</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>URL</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-									The URL the data will be sent to. If no  ?<span style="font-family:monospace; font-weight: bold;">-action</span>? switch is specified
-									the data are sent to the form's URL.
-								</div></div></dd></dl></div></div></div><div class="refsect2"><a name="idp8467648"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">end</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">	
-			      			Print the &lt;/form&gt; closing tag. This command must
-								be called last in the form generation process
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8471184"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">field</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">type</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">	
-		Print a field of the given  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>type</code></em></span>? and  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>?,
-								including any default key-value pairs defined for this field 
-								type and optional key-value pairs included with the statement
-							</div></div></dd></dl></div><div class="refsect3" title="Options"><a name="idp8479616"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-opt1</span>  ?<span style="font-family:monospace; font-weight: bold;">val1</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-				      			Option description
-				      		</div></div></dd></dl></div></div></div><div class="refsect2"><a name="idp8484688"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">radiobuttons</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-values <em class="replaceable"><code>values</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-labels <em class="replaceable"><code>labels</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								the <span style="font-family:monospace"><span class="command"><strong>radiobutton</strong></span></span> creates a whole radiobutton group
-								with the values and labels specified in the argument list. 
-								If no  ?<span style="font-family:monospace; font-weight: bold;">-labels</span>? switch is
-								passed to the subcommand the values are printed as labels of 
-								the radiobutton.
-							</div><div class="refsect3" title="Options"><a name="idp8494112"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-values</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>values_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-												List of values associated with the radiobuttons to be displayed
-											</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-labels</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>labels_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-												List of labels to be printed with every radiobutton. There must
-												be a label for every radiobutton
-	 										</div></div></dd></dl></div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Example:
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-form myform -defaults response -method get -name formname
-myform start
-myform text text_entry -size 20
-myform radiobuttons fruit -values {big medium small} \
-              -labels {Watermelon Orange Strawberry} \
-              -class myradiobclass
-myform submit submit -value Search
-myform end</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-								will print the following HTML code.
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-&lt;input type="radio" name="fruit" class="myradiobclass" value="big" /&gt;Watermelon
-&lt;input type="radio" name="fruit" class="myradiobclass" value="medium" /&gt;Orange
-&lt;input type="radio" name="fruit" class="myradiobclass" value="small" /&gt;Strawberry
-</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-		if the <code class="varname">response</code> array has a variable for the name 'fruit' the corresponding 
-								radiobutton field is automatically checked. The options  ?<span style="font-family:monospace; font-weight: bold;">values</span>? and  ?<span style="font-family:monospace; font-weight: bold;">labels</span>?
-								are used internally and don't get into the tag attributes. If a  ?<span style="font-family:monospace; font-weight: bold;">labels</span>? 
-								option is not given, labels are assigned using the  ?<span style="font-family:monospace; font-weight: bold;">values</span>? list.
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8512000"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">checkbox</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-label <em class="replaceable"><code>label</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-value <em class="replaceable"><code>value</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								The   <span style="font-family:monospace; font-weight: bold;">checkbox</span>  subcommand emits a checkbox 
-								type input field with the name, label and value attributes set 
-								according to the parameters passed to the subcommand.
-							</div><div class="refsect3" title="Options"><a name="idp8520624"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-values</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>values_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-												List of values associated with the checkboxes to be displayed
-											</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-labels</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>labels_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-												List of labels to be printed with every checkbox. There must
-												be a label for every checkbox
-	 										</div></div></dd></dl></div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Example:
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">myform checkbox options -value opt1   -label "Option 1"
-myform checkbox options -value opt2   -label "Option 2"
-myform checkbox options -value opt3   -label "Option 3"
-myform checkbox options -value opt4   -label "Option 4"</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-								Provided opt2 was in response array (in the list valued 'options' variable) that 
-								initialized the form, the output would look like this
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;input type="checkbox" name="options" label="Option 1" value="opt1" /&gt;Option 1
-&lt;input type="checkbox" name="options" label="Option 2" value="opt2" 
-       	 checked="checked" /&gt;Option 2
-&lt;input type="checkbox" name="options" label="Option 3" value="opt3" /&gt;Option 3
-&lt;input type="checkbox" name="options" label="Option 4" value="opt4" /&gt;Option 4</pre></div></dd></dl></div></div><div class="refsect2"><a name="idp8533232"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">password</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Same as text, but the input is obfuscated so as not to reveal the text being typed
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8538800"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">hidden</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								hidden input element: typicall embedded in a form in order to
-								pass status variables.
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8544384"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">submit</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								emits the code for a classical HTML submit button. Example: the following
-								code
-							</div><div style="margin-bottom:1.5ex ; padding .5ex">
-								<pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-	form myform -defaults response -method get -name feedsearch
-	myform start
-	myform submit submit -value Search</pre>						
-							</div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Would emit a form  like this
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-	&lt;form...&gt;
-	&lt;input type="submit" name="submit" value="Search" /&gt; 
-	&lt;/form&gt;</pre></div></dd></dl></div></div><div class="refsect2"><a name="idp8552400"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">button</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		emits the code for a button field having  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>? as name
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8559040"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">reset</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Classical HTML reset button that resets the input fields
-								back to their initial values
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8564672"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">image</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an image input field
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8570240"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">checkbox</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits a checkbox input field
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8575760"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">radio</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits a radiobutton input field
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8581280"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">color</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "color" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8586864"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">date</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "date" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8592400"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">datetime</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "datetime" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8597936"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">datetime_local</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "datetime_local" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8603504"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">email</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "email" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8609040"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">file</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "file" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8614576"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">month</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "month" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8620112"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">number</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "number" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8625648"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">range</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "range" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8631184"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">search</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "search" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8636720"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">tel</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "tel" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8642256"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">time</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "time" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8647792"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">text</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-                                Emits a 'text' editable input form field. Example:
-                            </div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-myform text text_entry -size 20</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-                            will output the following html line 
-                        </div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-&lt;input type="text" name="text_entry" size="20" /&gt;
-</pre></div></dd></dl></div></div><div class="refsect2"><a name="idp8655504"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">url</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "url" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="idp8660992"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">week</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "week" form field						
-							</div></div></dd></dl></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="form.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="form.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="calendar_package.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Form: An HTML Form Fields Generation Utility </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Calendar Package</td></tr></table></div></body></html>
diff --git a/rivet/manual/headers.html b/rivet/manual/headers.html
deleted file mode 100644
index 34e174c..0000000
--- a/rivet/manual/headers.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>headers</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_string.html" title="escape_string"><link rel="next" href="http_accept.html" title="http_accept"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">headers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_string.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="http_accept.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="headers"><div class="refentry.separator"><hr></div><a name="headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>headers &#8212; set and parse HTTP headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>  (<span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">redirect</span> | <span style="font-family:monospace; font-weight: bold;">add</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-weight: bold;">numeric</span>)</div></div></div><div class="refsect1" title="Description"><a name="idp5883696"></a><h2>Description</h2><p style="width:90%">
-	  The <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> command is for setting and
-	  parsing HTTP headers.
-	</p><div class="variablelist"><dl><dt><span class="term"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">set</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>headername</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Set arbitrary header names and values.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">redirect</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uri</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Redirect from the current page to a new
-		URI. <span class="emphasis"><em>Must</em></span> be done in the first block
-		of TCL code.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">add</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>headername</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Add text to header
-		<code class="varname">headername</code>.</div></div></dd><dt><span class="term"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">type</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>content-type</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		This command sets the <code class="constant">Content-type</code>
-		header returned by the script, which is useful if you wish
-		to send content other than HTML with Rivet - PNG or jpeg
-		images, for example.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">numeric</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>response code</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Set a numeric response code, such as 200, 404 or 500.
-	      </div></div></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="escape_string.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="http_accept.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">escape_string </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> http_accept</td></tr></table></div></body></html>
diff --git a/rivet/manual/help.html b/rivet/manual/help.html
deleted file mode 100644
index cc146ef..0000000
--- a/rivet/manual/help.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Resources - How to Get Help</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="decode.html" title="decode"><link rel="next" href="internals.html" title="Rivet Internals"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Resources - How to Get Help</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="decode.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="internals.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Resources - How to Get Help"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="help"></a>Resources - How to Get Help</h2></div></div></div><div class="section" title="Mailing Lists"><div class="titlepage"><div><div><h3 class="title"><a name="idp9208768"></a>Mailing Lists</h3></div></div></div><p style="width:90%">
-	The Rivet mailing list is the first place you should turn for
-	help. If you haven't found the solution to your problem in the documentation  
-	or you have a question, idea, or comment about the Rivet code itself send email to
-	<code class="email">&lt;<a class="email" href="mailto:rivet-dev@tcl.apache.org">rivet-dev@tcl.apache.org</a>&gt;</code>. To subscribe to the list, post email to
-	<code class="email">&lt;<a class="email" href="mailto:rivet-dev-subscribe@tcl.apache.org">rivet-dev-subscribe@tcl.apache.org</a>&gt;</code>.
-      </p><p style="width:90%">
-	The mailing list archives are available at <a class="ulink" href="http://mail-archives.apache.org/mod_mbox/tcl-rivet-dev/" target="_top">http://mail-archives.apache.org/mod_mbox/tcl-rivet-dev/</a>
-      </p></div><div class="section" title="Newsgroup"><div class="titlepage"><div><div><h3 class="title"><a name="idp9195152"></a>Newsgroup</h3></div></div></div><p style="width:90%">
-	The <a class="ulink" href="news:comp.lang.tcl" target="_top">news:comp.lang.tcl</a> newsgroup is a good
-	place to ask about Tcl questions in general.  Rivet developers
-	also follow the newsgroup, but it's best to ask Rivet-specific
-	questions on the Rivet list.
-      </p></div><div class="section" title="Web Sites"><div class="titlepage"><div><div><h3 class="title"><a name="websites"></a>Web Sites</h3></div></div></div><p style="width:90%">
-	There are several web sites that cover Apache and Tcl
-	extensively.
-      </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    <a class="ulink" href="http://tcl.apache.org" target="_top">http://tcl.apache.org</a> is the home for the
-	    Apache Tcl project.  Go there for the latest versions of
-	    our software (if you aren't reading these pages off of the
-	    site!).
-	  </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    <a class="ulink" href="http://httpd.apache.org/docs/" target="_top">http://httpd.apache.org/docs/</a> is the first
-	    place to go for questions about the Apache web server.
-	  </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    <a class="ulink" href="http://www.tcl.tk" target="_top">http://www.tcl.tk</a> is the canonical site
-	    for Tcl information.
-	  </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    <a class="ulink" href="http://wiki.tcl.tk" target="_top">http://wiki.tcl.tk</a> is the Tcl'ers Wiki, a
-	    free-form place to search for answers and ask for help.
-	  </div></li></ul></div></div><div class="section" title="Bug Tracking System"><div class="titlepage"><div><div><h3 class="title"><a name="idp9269328"></a>Bug Tracking System</h3></div></div></div><p style="width:90%">
-	Apache Rivet uses the Apache Bug Tracking system at <a class="ulink" href="http://issues.apache.org/bugzilla/" target="_top">http://issues.apache.org/bugzilla/</a>.  Here,
-	you can report problems, or check and see if existing issues
-	are already known and being dealt with.
-      </p></div><div class="section" title="IRC"><div class="titlepage"><div><div><h3 class="title"><a name="idp9271248"></a>IRC</h3></div></div></div><p style="width:90%">
-        Occasionally, someone from the Rivet team is on IRC at
-        irc.freenode.net, channel #tcl.
-      </p></div><div class="section" title="Editing Rivet Template Files"><div class="titlepage"><div><div><h3 class="title"><a name="idp9272576"></a>Editing Rivet Template Files</h3></div></div></div><p style="width:90%">
-	Rivet makes available code for two popular editors,
-	<span class="application">emacs</span> and
-	<span class="application">vim</span> to facilitate the editing of
-	Rivet template files.  The key concept is that the editor is
-	aware of the &lt;? and ?&gt; tags and switches back and forth
-	between Tcl and HTML modes as the cursor moves.  These files,
-	<code class="filename">two-mode-mode.el</code> and
-	<code class="filename">rvt.vim</code> are available in the
-	<code class="filename">contrib/</code> directory.
-      </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="decode.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="internals.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">decode </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Rivet Internals</td></tr></table></div></body></html>
diff --git a/rivet/manual/html.html b/rivet/manual/html.html
deleted file mode 100644
index 1c42a81..0000000
--- a/rivet/manual/html.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>html</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="http_accept.html" title="http_accept"><link rel="next" href="import_keyvalue_pairs.html" title="import_keyvalue_pairs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">html</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="http_accept.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="import_keyvalue_pairs.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="html"><div class="refentry.separator"><hr></div><a name="html"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>html &#8212; construct html tagged text.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">html</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>string</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arg</code></em></span>...?</div></div></div><div class="refsect1" title="Description"><a name="idp5930688"></a><h2>Description</h2><p style="width:90%">
-          Print text with the added ability to pass HTML tags
-          following the string.  Example:
-          </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">html "Test" b i</pre><p style="width:90%">
-          produces: <code class="computeroutput">&lt;b&gt;&lt;i&gt;Test&lt;/i&gt;&lt;/b&gt;</code>
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="http_accept.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="import_keyvalue_pairs.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">http_accept </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> import_keyvalue_pairs</td></tr></table></div></body></html>
diff --git a/rivet/manual/html_calendar.html b/rivet/manual/html_calendar.html
deleted file mode 100644
index b3d6708..0000000
--- a/rivet/manual/html_calendar.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>HtmlCalendar</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="xml_calendar.html" title="XmlCalendar"><link rel="next" href="entities.html" title="RivetEntities"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">HtmlCalendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="xml_calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="entities.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="HtmlCalendar"><div class="refentry.separator"><hr></div><a name="html_calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>HtmlCalendar &#8212; Concrete class derived from XmlCalendar</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">HtmlCalendar</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?</div></div></div><div class="refsect1"><a name="idp9080464"></a><p style="width:90%">
-				Concrete XmlCalendar class for printing html calendar tables. The markup of the class
-				is xhtml compliant and prints a code fragment for inclusion in a webpage.
-				The following is the class definition.
-			</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-::itcl::class HtmlCalendar {
-    inherit XmlCalendar
-    
-    constructor {args} {XmlCalendar::constructor $args} {
-    $this configure -container    table \
-                    -header       thead \
-                    -body         tbody \
-                    -banner       tr    \
-                    -banner_month {th colspan 3 style "text-align: right;"} \
-                    -banner_year  {th colspan 4 style "text-align: left;"}  \
-                    -weekdays     tr    \
-                    -weekday_cell th    \
-                    -days_row     tr    \
-                    -days_cell    td 
-    }
-}</pre></div><div class="refsect1"><a name="idp9082736"></a><p style="width:90%">
-				A sample output from HtmlCalendar (with some styling)			
-			</p><p style="width:90%">
-				</p><div><img src="images/calendar.png"></div><p style="width:90%">			
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="xml_calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="calendar_package.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="entities.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">XmlCalendar </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> RivetEntities</td></tr></table></div></body></html>
diff --git a/rivet/manual/http_accept.html b/rivet/manual/http_accept.html
deleted file mode 100644
index 0cf4cd3..0000000
--- a/rivet/manual/http_accept.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>http_accept</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="headers.html" title="headers"><link rel="next" href="html.html" title="html"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">http_accept</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="headers.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="html.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="http_accept"><div class="refentry.separator"><hr></div><a name="http_accept"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>http_accept &#8212; Parse HTTP Accept header lines</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">http_accept
-                 ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>-zeroweight</code></em></span>?
-                 ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>-default</code></em></span>?
-                 ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>-list</code></em></span>?
-                http_accept_line</span> </div></div></div><div class="refsect1" title="Description"><a name="idp5918560"></a><h2>Description</h2><p style="width:90%">
-                Command for parsing HTTP Accept header lines that tell the
-                server about preferences and/or capabilities of the browser 
-                (e.g. content language,media type, etc.). The following 
-                script
-            </p><p style="width:90%">
-                <span style="font-family:monospace"><span class="command"><strong>http_accept</strong></span></span> returns a dictionary
-                value in which every content preference is matched to its
-                precedence value
-            </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">load_headers
-set language_precedence [http_accept $headers(Accept-Language)]
-foreach lan [dict keys $language_precedence] {
-                puts "$lan -&gt; [dict get $language_precedence $lan]"
-}</pre><p style="width:90%">
-                when run from a browser where 5 languages were chosen
-                would output
-            </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">en-us -&gt; 1
-en -&gt; 0.8
-it -&gt; 0.6
-de-de -&gt; 0.4
-fr-fr -&gt; 0.2</pre><p style="width:90%">
-                The <em class="replaceable"><code>-list</code></em> switch would suppress
-                the precedence values and the accepted fields 
-                are returned listed with decreasing precedence order.
-            </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting"> puts [http_accept -list $headers(Accept-Language)]
-text/html application/xhtml+xml application/xml */*
-            </pre><p style="width:90%">
-
-            </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="headers.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="html.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">headers </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> html</td></tr></table></div></body></html>
diff --git a/rivet/manual/images/Rivetlogo_small.png b/rivet/manual/images/Rivetlogo_small.png
deleted file mode 100644
index 2b06c47..0000000
--- a/rivet/manual/images/Rivetlogo_small.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/blank.png b/rivet/manual/images/blank.png
deleted file mode 100644
index 764bf4f..0000000
--- a/rivet/manual/images/blank.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/calendar.png b/rivet/manual/images/calendar.png
deleted file mode 100644
index 54f9f33..0000000
--- a/rivet/manual/images/calendar.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/caution.png b/rivet/manual/images/caution.png
deleted file mode 100644
index 5b7809c..0000000
--- a/rivet/manual/images/caution.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/draft.png b/rivet/manual/images/draft.png
deleted file mode 100644
index 0084708..0000000
--- a/rivet/manual/images/draft.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/home.png b/rivet/manual/images/home.png
deleted file mode 100644
index 2b06c47..0000000
--- a/rivet/manual/images/home.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/important.png b/rivet/manual/images/important.png
deleted file mode 100644
index 12c90f6..0000000
--- a/rivet/manual/images/important.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/next.png b/rivet/manual/images/next.png
deleted file mode 100644
index 389d6ad..0000000
--- a/rivet/manual/images/next.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/note.png b/rivet/manual/images/note.png
deleted file mode 100644
index d0c3c64..0000000
--- a/rivet/manual/images/note.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/prev.png b/rivet/manual/images/prev.png
deleted file mode 100644
index 763963b..0000000
--- a/rivet/manual/images/prev.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/table.png b/rivet/manual/images/table.png
deleted file mode 100644
index 6ec425e..0000000
--- a/rivet/manual/images/table.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/tip.png b/rivet/manual/images/tip.png
deleted file mode 100644
index 5c4aab3..0000000
--- a/rivet/manual/images/tip.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/toc-blank.png b/rivet/manual/images/toc-blank.png
deleted file mode 100644
index 6ffad17..0000000
--- a/rivet/manual/images/toc-blank.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/toc-minus.png b/rivet/manual/images/toc-minus.png
deleted file mode 100644
index abbb020..0000000
--- a/rivet/manual/images/toc-minus.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/toc-plus.png b/rivet/manual/images/toc-plus.png
deleted file mode 100644
index 941312c..0000000
--- a/rivet/manual/images/toc-plus.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/up.png b/rivet/manual/images/up.png
deleted file mode 100644
index dfbbb13..0000000
--- a/rivet/manual/images/up.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/images/warning.png b/rivet/manual/images/warning.png
deleted file mode 100644
index 1c33db8..0000000
--- a/rivet/manual/images/warning.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/import_keyvalue_pairs.html b/rivet/manual/import_keyvalue_pairs.html
deleted file mode 100644
index 221d0f3..0000000
--- a/rivet/manual/import_keyvalue_pairs.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>import_keyvalue_pairs</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="html.html" title="html"><link rel="next" href="include.html" title="include"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">import_keyvalue_pairs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="html.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="include.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="import_keyvalue_pairs"><div class="refentry.separator"><hr></div><a name="import_keyvalue_pairs"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>import_keyvalue_pairs &#8212; Import an argument list into the named array</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">import_keyvalue_pairs</span>  ?<span style="font-family:monospace; font-weight: bold;">arrayName</span>? ?<span style="font-family:monospace; font-weight: bold;">argsList</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5938352"></a><h2>Description</h2><p style="width:90%">
-				key-value pairs, like "-foo bar" are stored in the array  ?<span style="font-family:monospace; font-weight: bold;">arrayName</span>?.  
-				In that case, the value "bar" would be stored in the element "foo"
-			</p><p style="width:90%">
-				If "--" appears or a key doesn't begin with "-", the rest of the arg 
-				list is stored in the special args element of the array.
-			</p><p style="width:90%">
-				Example:
-				</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">import_keyvalue_pairs keyvalue_map [list -a1 v1 -a2 v2 -a3 v3 -- 1 2 3 4 5]
-parray keyvalue_map
-
-keyvalue_map(a1)   = v1
-keyvalue_map(a2)   = v2
-keyvalue_map(a3)   = v3
-keyvalue_map(args) = 1 2 3 4 5</pre><p style="width:90%">
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="html.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="include.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">html </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> include</td></tr></table></div></body></html>
diff --git a/rivet/manual/include.html b/rivet/manual/include.html
deleted file mode 100644
index 833e1d7..0000000
--- a/rivet/manual/include.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>include</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="import_keyvalue_pairs.html" title="import_keyvalue_pairs"><link rel="next" href="incr0.html" title="incr0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">include</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="import_keyvalue_pairs.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="incr0.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="include"><div class="refentry.separator"><hr></div><a name="include"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>include &#8212; includes a file into the output stream without modification.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">include</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5946784"></a><h2>Description</h2><p style="width:90%">
-          Include a file without parsing it for processing tags &lt;?
-          and ?&gt;.  This is the best way to include an HTML file or
-          any other static content.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="import_keyvalue_pairs.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="incr0.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">import_keyvalue_pairs </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> incr0</td></tr></table></div></body></html>
diff --git a/rivet/manual/incr0.html b/rivet/manual/incr0.html
deleted file mode 100644
index 00b4cd7..0000000
--- a/rivet/manual/incr0.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>incr0</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="include.html" title="include"><link rel="next" href="lassign.html" title="lassign"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">incr0</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="include.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="lassign.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="incr0"><div class="refentry.separator"><hr></div><a name="incr0"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>incr0 &#8212; increment a variable or set it to 1 if nonexistant.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">incr0</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>num</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5953808"></a><h2>Description</h2><p style="width:90%">
-          Increment a variable
-          <em class="replaceable"><code>varname</code></em> by
-          <em class="replaceable"><code>num</code></em>.  If the
-          variable doesn't exist, create it instead of returning an
-          error.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="include.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="lassign.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">include </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> lassign</td></tr></table></div></body></html>
diff --git a/rivet/manual/index.html b/rivet/manual/index.html
deleted file mode 100644
index 2e4a09d..0000000
--- a/rivet/manual/index.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="next" href="installation.html" title="Apache Rivet Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Apache Rivet</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="installation.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="article" title="Apache Rivet"><div class="titlepage"><div><div><h2 class="title"><a name="idp2034560"></a>Apache Rivet</h2></div><div><div class="author"><h3 class="author"><span class="firstname">The Rivet Team</span></h3><div class="affiliation"><span class="orgname">The Apache Software Foundation<br></span><div class="address"><p><br>
-			  <code class="email">&lt;<a class="email" href="mailto:rivet-dev@tcl.apache.org">rivet-dev@tcl.apache.org</a>&gt;</code><br>
-			</p></div></div></div></div><div><p class="copyright">Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apache Software Foundation</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="index.html#introduction">Introduction to Apache Rivet</a></span></dt><dt><span class="section"><a href="installation.html">Apache Rivet Installation</a></span></dt><dt><span class="section"><a href="directives.html">Rivet Apache Directives</a></span></dt><dt><span class="section"><a href="commands.html">Rivet Tcl Commands and Variables</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="abort_code.html">abort_code</a></span><span class="refpurpose"> &#8212; 
-				Returns the code passed to <span style="font-family:monospace"><span class="command"><strong>abort_page</strong></span></span>
-				earlier during the request processing
-			</span></dt><dt><span class="refentrytitle"><a href="abort_page.html">abort_page</a></span><span class="refpurpose"> &#8212; 
-				Stops outputing data to web page, similar in
-			  	purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.
-			</span></dt><dt><span class="refentrytitle"><a href="apache_log_error.html">apache_log_error</a></span><span class="refpurpose"> &#8212; log messages to the Apache error log</span></dt><dt><span class="refentrytitle"><a href="apache_table.html">apache_table</a></span><span class="refpurpose"> &#8212; access and manipulate Apache tables in the request structure.</span></dt><dt><span class="refentrytitle"><a href="clock_to_rfc.html">clock_to_rfc850_gmt</a></span><span class="refpurpose"> &#8212; create a rfc850 time from [clock seconds].</span></dt><dt><span class="refentrytitle"><a href="cookie.html">cookie</a></span><span class="refpurpose"> &#8212; get and set cookies.</span></dt><dt><span class="refentrytitle"><a href="debug.html">debug</a></span><span class="refpurpose"> &#8212; 
-				A command to print strings, arrays
-    			and the values of variables as specified by the arguments.
-    		</span></dt><dt><span class="refentrytitle"><a href="env.html">env</a></span><span class="refpurpose"> &#8212; Loads a single
-	        "environmental variable" into a Tcl variable.</span></dt><dt><span class="refentrytitle"><a href="escape_sgml_chars.html">escape_sgml_chars</a></span><span class="refpurpose"> &#8212; escape special SGML characters in a string.</span></dt><dt><span class="refentrytitle"><a href="escape_shell_command.html">escape_shell_command</a></span><span class="refpurpose"> &#8212; escape shell metacharacters in a string.</span></dt><dt><span class="refentrytitle"><a href="escape_string.html">escape_string</a></span><span class="refpurpose"> &#8212; convert a string into escaped characters.</span></dt><dt><span class="refentrytitle"><a href="headers.html">headers</a></span><span class="refpurpose"> &#8212; set and parse HTTP headers.</span></dt><dt><span class="refentrytitle"><a href="http_accept.html">http_accept</a></span><span class="refpurpose"> &#8212; Parse HTTP Accept header lines</span></dt><dt><span class="refentrytitle"><a href="html.html">html</a></span><span class="refpurpose"> &#8212; construct html tagged text.</span></dt><dt><span class="refentrytitle"><a href="import_keyvalue_pairs.html">import_keyvalue_pairs</a></span><span class="refpurpose"> &#8212; Import an argument list into the named array</span></dt><dt><span class="refentrytitle"><a href="include.html">include</a></span><span class="refpurpose"> &#8212; includes a file into the output stream without modification.</span></dt><dt><span class="refentrytitle"><a href="incr0.html">incr0</a></span><span class="refpurpose"> &#8212; increment a variable or set it to 1 if nonexistant.</span></dt><dt><span class="refentrytitle"><a href="lassign.html">lassign</a></span><span class="refpurpose"> &#8212; Assign a list of values to a list of variables</span></dt><dt><span class="refentrytitle"><a href="lempty.html">lempty</a></span><span class="refpurpose"> &#8212; Returns 1 if &lt;list&gt; is empty or 0 if it has any elements.  
-			This command emulates the TclX lempty command.
-			</span></dt><dt><span class="refentrytitle"><a href="lmatch.html">lmatch</a></span><span class="refpurpose"> &#8212; 
-				Look for elements in &lt;list&gt; that match &lt;pattern&gt;
-			</span></dt><dt><span class="refentrytitle"><a href="load_cookies.html">load_cookies</a></span><span class="refpurpose"> &#8212; get any cookie variables sent by the client.</span></dt><dt><span class="refentrytitle"><a href="load_env.html">load_env</a></span><span class="refpurpose"> &#8212; get the request's environment variables.</span></dt><dt><span class="refentrytitle"><a href="load_headers.html">load_headers</a></span><span class="refpurpose"> &#8212; get client request's headers.</span></dt><dt><span class="refentrytitle"><a href="load_response.html">load_response</a></span><span class="refpurpose"> &#8212; load form variables into an array.</span></dt><dt><span class="refentrytitle"><a href="makeurl.html">makeurl</a></span><span class="refpurpose"> &#8212; construct url's based on hostname, port.</span></dt><dt><span class="refentrytitle"><a href="no_body.html">no_body</a></span><span class="refpurpose"> &#8212; Prevents Rivet from sending any content.</span></dt><dt><span class="refentrytitle"><a href="parray.html">parray</a></span><span class="refpurpose"> &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</span></dt><dt><span class="refentrytitle"><a href="parse.html">parse</a></span><span class="refpurpose"> &#8212; parses a Rivet template file.</span></dt><dt><span class="refentrytitle"><a href="read_file.html">read_file</a></span><span class="refpurpose"> &#8212; 
-				Read the entire contents of a file and return it as a string.			
-			</span></dt><dt><span class="refentrytitle"><a href="unescape_string.html">unescape_string</a></span><span class="refpurpose"> &#8212; unescape escaped characters in a string.</span></dt><dt><span class="refentrytitle"><a href="upload.html">upload</a></span><span class="refpurpose"> &#8212; handle a file uploaded by a client.</span></dt><dt><span class="refentrytitle"><a href="var.html">var</a></span><span class="refpurpose"> &#8212; get the value of a form variable.</span></dt><dt><span class="refentrytitle"><a href="wrap.html">wrap</a></span><span class="refpurpose"> &#8212; 
-				Split a string on newlines. 
-			</span></dt><dt><span class="refentrytitle"><a href="wrapline.html">wrapline</a></span><span class="refpurpose"> &#8212; 
-				Split the line into multiple lines by splitting on space characters 
-			</span></dt></dl></dd><dt><span class="section"><a href="examples.html">Examples and Usage</a></span></dt><dt><span class="section"><a href="tcl_packages.html">Rivet Tcl Packages</a></span></dt><dt><span class="section"><a href="dio.html">DIO - Database Interface Objects</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="dio_package.html">DIO</a></span><span class="refpurpose"> &#8212; Database Interface Objects</span></dt></dl></dd><dt><span class="section"><a href="diodisplay.html">DIODisplay - Database Interface Objects Display Class</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="diodisplay_package.html">DIODisplay</a></span><span class="refpurpose"> &#8212; Database Interface Objects Display Class</span></dt></dl></dd><dt><span class="section"><a href="session_package.html">Session Package</a></span></dt><dd><dl><dt><span class="section"><a href="session_package.html#idp8135216">Introduction</a></span></dt><dt><span class="section"><a href="session_package.html#requirements">Requirements</a></span></dt><dt><span class="section"><a href="session_package.html#idp8183088">Preparing To Use It</a></span></dt><dt><span class="section"><a href="session_package.html#idp8188544">Example Usage</a></span></dt><dt><span class="section"><a href="session_package.html#idp8195296">Using Sessions From Your Code</a></span></dt><dt><span class="section"><a href="session_package.html#idp8218960">Session Configuration Options</a></span></dt><dt><span class="section"><a href="session_package.html#idp8246304">Session Methods</a></span></dt><dt><span class="section"><a href="session_package.html#idp8273408">Getting Additional Randomness From The Entropy File</a></span></dt></dl></dd><dt><span class="section"><a href="form.html">Form: An HTML Form Fields Generation Utility</a></span></dt><dd><dl><dt><span class="section"><a href="form.html#idp8341280">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="form_package.html">form</a></span><span class="refpurpose"> &#8212;  a Tcl command object for creating HTML forms</span></dt></dl></dd><dt><span class="section"><a href="calendar_package.html">Calendar Package</a></span></dt><dd><dl><dt><span class="section"><a href="calendar_package.html#idp8927584">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="calendar.html">Calendar</a></span><span class="refpurpose"> &#8212; Utility class the builds and prints a calendar table</span></dt><dt><span class="refentrytitle"><a href="xml_calendar.html">XmlCalendar</a></span><span class="refpurpose"> &#8212; Prints XML formatted calendar tables</span></dt><dt><span class="refentrytitle"><a href="html_calendar.html">HtmlCalendar</a></span><span class="refpurpose"> &#8212; Concrete class derived from XmlCalendar</span></dt></dl></dd><dt><span class="section"><a href="entities.html">RivetEntities</a></span></dt><dd><dl><dt><span class="section"><a href="entities.html#idp9165600">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="encode.html">encode</a></span><span class="refpurpose"> &#8212; 
-                encode a string replacing every occurrence of characters for 
-                which an SGML entity exists
-            </span></dt><dt><span class="refentrytitle"><a href="decode.html">decode</a></span><span class="refpurpose"> &#8212; 
-                decode an SGML encoded string replacing every entity with the
-                corresponding character
-            </span></dt></dl></dd><dt><span class="section"><a href="help.html">Resources - How to Get Help</a></span></dt><dd><dl><dt><span class="section"><a href="help.html#idp9208768">Mailing Lists</a></span></dt><dt><span class="section"><a href="help.html#idp9195152">Newsgroup</a></span></dt><dt><span class="section"><a href="help.html#websites">Web Sites</a></span></dt><dt><span class="section"><a href="help.html#idp9269328">Bug Tracking System</a></span></dt><dt><span class="section"><a href="help.html#idp9271248">IRC</a></span></dt><dt><span class="section"><a href="help.html#idp9272576">Editing Rivet Template Files</a></span></dt></dl></dd><dt><span class="section"><a href="internals.html">Rivet Internals</a></span></dt><dd><dl><dt><span class="section"><a href="internals.html#idp9261728">Initialization</a></span></dt><dt><span class="section"><a href="internals.html#idp9248144">RivetChan</a></span></dt><dt><span class="section"><a href="internals.html#idp9311760">The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</a></span></dt><dt><span class="section"><a href="internals.html#idp9317152">Page Parsing, Execution and Caching</a></span></dt><dt><span class="section"><a href="internals.html#idp9322224">Debugging Rivet and Apache</a></span></dt></dl></dd><dt><span class="section"><a href="upgrading.html">Upgrading from mod_dtcl or NeoWebScript</a></span></dt><dd><dl><dt><span class="section"><a href="upgrading.html#idp9304096">mod_dtcl</a></span></dt><dt><span class="section"><a href="upgrading.html#idp9305440">NeoWebScript</a></span></dt></dl></dd></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1. <a href="examples.html#hello%20world">Hello World</a></dt><dt>2. <a href="examples.html#idp6703472">Generate a Table</a></dt><dt>3. <a href="examples.html#variable_access">Variable Access</a></dt><dt>4. <a href="examples.html#file_upload">File Upload</a></dt><dt>5. <a href="examples.html#file_download">File Download</a></dt><dt>6. <a href="examples.html#ajax_xml_messaging">XML Messages and Ajax</a></dt><dt>7. <a href="examples.html#calendar">A Calendar Utility</a></dt></dl></div><p style="width:90%">
-    Document revision: $Revision: 1346386 $, last modified 2012-06-06 16:53:37+02:00$ by $Author: mxmanghi $.
-  </p><div class="section" title="Introduction to Apache Rivet"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="introduction"></a>Introduction to Apache Rivet</h2></div></div></div><p style="width:90%">
-      Apache Rivet is a system for creating dynamic web content via a
-      programming language integrated with Apache Web Server.  It is
-      designed to be fast, powerful and extensible, consume few system
-      resources, be easy to learn, and to provide the user with a
-      platform that can also be used for other programming tasks
-      outside the web (GUI's, system administration tasks, text
-      processing, database manipulation, XML, and so on).  In order to
-      meet these goals, we have chosen the Tcl programming language to
-      combine with the Apache Web Server.
-    </p><p style="width:90%">
-      In this manual, we aim to help get you started, and then
-      writing productive code as quickly as possible, as well as
-      giving you ideas on how to best take advantage of Rivet's
-      architecture to create different styles of web site.
-    </p><p style="width:90%">
-      This documentation is a work in progress, and, like everything
-      else about Apache Rivet, it is Free Software.  If you see
-      something that needs improving, and have ideas or suggestions,
-      don't hesitate to let us know.  If you want to contribute
-      directly, better yet!
-    </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="installation.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Apache Rivet Installation</td></tr></table></div></body></html>
diff --git a/rivet/manual/installation.html b/rivet/manual/installation.html
deleted file mode 100644
index 970d1a1..0000000
--- a/rivet/manual/installation.html
+++ /dev/null
@@ -1,99 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet Installation</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="index.html" title="Apache Rivet"><link rel="next" href="directives.html" title="Rivet Apache Directives"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Apache Rivet Installation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="directives.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Apache Rivet Installation"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="installation"></a>Apache Rivet Installation</h2></div></div></div><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Check Dependencies"><p class="title"><b>Check Dependencies</b></p><p style="width:90%">
-	  To install Rivet, you will need Tcl 8.4 or greater. Rivet can be compiled to work 
-	  with either Apache 1.3.xx or Apache 2.2.xx server.
-	  It is known to run on Linux, FreeBSD, OpenBSD, Solaris and HPUX. Windows NT is also possible
-	  - please see the directions in the distribution.  
-	</p></li><li class="step" title="Get Rivet"><p class="title"><b>Get Rivet</b></p><p style="width:90%">
-	  Download the sources at <a class="ulink" href="http://tcl.apache.org/rivet/download.html" target="_top">http://tcl.apache.org/rivet/download.html</a>.  Currently
-	  the only way to obtain Rivet.  In the future, we hope to have a FreeBSD port, Debian package, RPM's, and windows
-	  binaries.
-	</p></li><li class="step" title="Install Tcl"><p class="title"><b>Install Tcl</b></p><p style="width:90%">
-	  If you don't have Tcl already, you need it!  If you already
-	  have it, you should just be able to use your system Tcl as
-	  long as it is recent.  You can tell Rivet build scripts where Tcl is via
-	  the --with-tcl option to <span style="font-family:monospace"><span class="command"><strong>configure</strong></span></span> (see below).
-	</p></li><li class="step" title="Get and Install Apache Sources"><p class="title"><b>Get and Install Apache Sources</b></p><p style="width:90%">
-          Rivet needs some Apache include (.h) files in order to build.  The easiest way 
-	  to get them is to download the source code of the Apache web server, although some systems
-	  (Debian GNU/Linux for example) make it possible to install only the headers and other 
-	  development files.  If you intend to build Rivet statically (compiled into the Apache web
-	  server instead of loaded dynamically), you definitely need the sources.  
-	    We recommend that you build Rivet as a loadable shared library, for maximum flexibility,
-	    meaning that you also build Apache to be able to load modules. Other than that, 
-	    the default Apache install is fine.  We will tell Rivet where it is located via the 
-	    --with-apxs option to <span style="font-family:monospace"><span class="command"><strong>configure</strong></span></span> (see below).
-	</p><p style="width:90%">
-          The source code for the Apache web server may be found by
-          following the links here: <a class="ulink" href="http://httpd.apache.org/" target="_top">http://httpd.apache.org/</a>.
-	</p></li><li class="step" title="Uncompress Sources"><p class="title"><b>Uncompress Sources</b></p><p style="width:90%">
-	  We will assume that you have Apache installed at this point.
-	  You must uncompress the Rivet sources in the directory where you
-	  wish to compile them.
-
-	  </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">gunzip rivet-X.X.X.tar.gz
-tar -xvf rivet-X.X.X.tar.gz</pre><p style="width:90%">
-
-	</p></li><li class="step" title="Building Rivet"><p class="title"><b>Building Rivet</b></p><ol type="a" class="substeps"><li class="step" title="Step 6.a"><p style="width:90%">
-	      On Linux or Unix systems, Rivet uses the standard <span style="font-family:monospace"><span class="command"><strong>./configure ; make ; make install</strong></span></span> technique.
-	    </p><p style="width:90%">
-	      There are several rivet specific options to configure that might be useful (or needed):
-	      </p><div class="variablelist"><dl><dt><span class="term">--with-tcl</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		      This points to the directory where the
-		      <code class="filename">tclConfig.sh</code> file is located.
-		    </div></div></dd><dt><span class="term">--with-tclsh</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">This points to the location of the
-		      <code class="filename">tclsh</code> executable.</div></div></dd><dt><span class="term">--with-apxs</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The location of the <code class="filename">apxs</code>
-		      program that provides information about the
-		      configuration and compilation options of Apache modules.</div></div></dd><dt><span class="term">--with-apache-version=[1|2]</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-			This option tells the build scripts whether you want to build Rivet for the
-			Apache 1.x or Apache 2.x server.
-		    </div></div></dd><dt><span class="term">--with-apache-include[=DIR]</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-			    Locates the Apache include files on your computer, if they're not in standard directory. 
-		    </div></div></dd><dt><span class="term">--enable-version-display=[yes|no]</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-			This option enables Rivet to display its version in the logfiles when Apache is started. 
-			The default is to keep Rivet version hidden.
-		    </div></div></dd><dt><span class="term">--with-rivet-target-dir=DIR</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-			    This option tells the install script where Rivet's Tcl packages have to be copied. 
-			</div></div></dd></dl></div><p style="width:90%">
-	    </p><p style="width:90%">
-		Example: configuring the build system to compile Rivet for an apache 2.x server, using tcl8.5 and
-		specifying a custom name for the apxs program. 
-	    </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-./configure --with-tcl=/usr/lib/tcl8.5/ --with-tclsh=/usr/bin/tclsh8.5 \
-	    --with-apxs=/usr/bin/apxs2 --with-apache=/usr --with-apache-version=2
-	</pre></li><li class="step" title="Run make"><p class="title"><b>Run make</b></p><p style="width:90%">
-	      At this point, you are ready to run make, which should
-	      run to completion without any errors (a warning or two
-	      is ok, generally).
-	    </p></li><li class="step" title="Install"><p class="title"><b>Install</b></p><p style="width:90%">
-	      Now, you are ready to run the <span style="font-family:monospace"><span class="command"><strong>make
-		install</strong></span></span> to install the resulting files.
-		This should copy the shared object (like
-		<code class="filename">mod_rivet.so</code>, if one was
-		successfully created, into Apache's
-		<code class="filename">libexec</code> directory, as well as
-		install some support scripts and various code.
-	    </p></li></ol></li><li class="step" title="Apache Configuration Files"><p class="title"><b>Apache Configuration Files</b></p><p style="width:90%">
-	  Rivet is relatively easy to configure - we start off by
-	  adding the module itself:
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">LoadModule rivet_module	<em class="replaceable"><code>/usr/lib/apache2/modules/mod_rivet.so</code></em>
-	</pre><p style="width:90%">
-	  This tells Apache to load the Rivet shared object, wherever
-	  it happens to reside on your file system.  Now we have to
-	  tell Apache what kind of files are "Rivet" files and how to
-	  process them:
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">AddType application/x-httpd-rivet .rvt
-AddType application/x-rivet-tcl .tcl</pre><p style="width:90%">
-	  These tell Apache to process files with the
-	  <code class="filename">.rvt</code> and <code class="filename">.tcl</code>
-	  extensions as Rivet files.
-	</p><p style="width:90%">
-	  The characters encoding can be changed using the <span style="font-family:monospace"><span class="command"><strong>header type</strong></span></span> command,
-	  but you can also change the default charset for the whole site:
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">AddType 'application/x-httpd-rivet;charset=utf-8' rvt</pre><p style="width:90%">
-	   All the pages generated by Rivet on this site will be sent with a 
-	    <span style="font-family:monospace"><span class="command"><strong>Content-Type:'text/html;charset=utf-8'</strong></span></span> header.
-	</p><p style="width:90%">You may also wish to use Rivet files as index files for
-	directories.  In that case, you would do the following:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">DirectoryIndex index.html index.htm index.shtml index.cgi index.tcl index.rvt</pre><p style="width:90%">
-	  For other directives that Rivet provides for Apache
-	  configuration, please see <a class="xref" href="directives.html" title="Rivet Apache Directives">the section called &#8220;Rivet Apache Directives&#8221;</a>.
-	</p></li></ol></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="directives.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Apache Rivet </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Rivet Apache Directives</td></tr></table></div></body></html>
diff --git a/rivet/manual/internals.html b/rivet/manual/internals.html
deleted file mode 100644
index 28ba5c8..0000000
--- a/rivet/manual/internals.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Rivet Internals</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="help.html" title="Resources - How to Get Help"><link rel="next" href="upgrading.html" title="Upgrading from mod_dtcl or NeoWebScript"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Rivet Internals</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="help.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="upgrading.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Rivet Internals"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="internals"></a>Rivet Internals</h2></div></div></div><p style="width:90%">
-      This section easily falls out of date, as new code is added, old
-      code is removed, and changes are made.  The best place to look
-      is the source code itself.  If you are interested in the changes
-      themselves, the Subversion revision control system
-      (<span style="font-family:monospace"><span class="command"><strong>svn</strong></span></span>) can provide you with information about
-      what has been happening with the code.
-    </p><div class="section" title="Initialization"><div class="titlepage"><div><div><h3 class="title"><a name="idp9261728"></a>Initialization</h3></div></div></div><p style="width:90%">
-	When Apache is started, (or when child Apache processes are
-	started if a threaded Tcl is used),
-	<code class="function">Rivet_InitTclStuff</code> is called, which
-	creates a new interpreter, or one interpreter per virtual
-	host, depending on the configuration. It also initializes
-	various things, like the <span class="structname">RivetChan</span>
-	channel system, creates the Rivet-specific Tcl commands, and
-	executes Rivet's <code class="filename">init.tcl</code>.  The caching
-	system is also set up, and if there is a
-	<span style="font-family:monospace"><span class="command"><strong>GlobalInitScript</strong></span></span>, it is run.
-      </p></div><div class="section" title="RivetChan"><div class="titlepage"><div><div><h3 class="title"><a name="idp9248144"></a>RivetChan</h3></div></div></div><p style="width:90%">
-	The <span class="structname">RivetChan</span> system was created in
-	order to have an actual Tcl channel that we could redirect
-	standard output to.  This lets us use, for instance, the
-	regular <span style="font-family:monospace"><span class="command"><strong>puts</strong></span></span> command in .rvt pages.  It
-	works by creating a channel that buffers output, and, at
-	predetermined times, passes it on to Apache's IO system.
-	Tcl's regular standard output is replaced with an instance of
-	this channel type, so that, by default, output will go to the
-	web page.
-      </p></div><div class="section" title="The global Command"><div class="titlepage"><div><div><h3 class="title"><a name="idp9311760"></a>The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</h3></div></div></div><p style="width:90%">
-	Rivet aims to run standard Tcl code with as few surprises as
-	possible.  At times this involves some compromises - in this
-	case regarding the <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> command.  The
-	problem is that the command will create truly global
-	variables.  If the user is just cut'n'pasting some Tcl code
-	into Rivet, they most likely just want to be able to share the
-	variable in question with other procs, and don't really care
-	if the variable is actually persistant between pages.  The
-	solution we have created is to create a proc
-	<span style="font-family:monospace"><span class="command"><strong>::request::global</strong></span></span> that takes the place of
-	the <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> command in Rivet templates.  If
-	you really need a true global variable, use either
-	<span style="font-family:monospace"><span class="command"><strong>::global</strong></span></span> or add the :: namespace qualifier
-	to variables you wish to make global.
-      </p></div><div class="section" title="Page Parsing, Execution and Caching"><div class="titlepage"><div><div><h3 class="title"><a name="idp9317152"></a>Page Parsing, Execution and Caching</h3></div></div></div><p style="width:90%">
-	When a Rivet page is requested, it is transformed into an
-	ordinary Tcl script by parsing the file for the &lt;? ?&gt;
-	processing instruction tags.  Everything outside these tags
-	becomes a large <span style="font-family:monospace"><span class="command"><strong>puts</strong></span></span> statement, and
-	everything inside them remains Tcl code.
-      </p><p style="width:90%">
-	Each .rvt file is evaluated in its own
-	<code class="constant">::request</code> namespace, so that it is not
-	necessary to create and tear down interpreters after each
-	page.  By running in its own namespace, though, each page will
-	not run afoul of local variables created by other scripts,
-	because they will be deleted automatically when the namespace
-	goes away after Apache finishes handling the request.
-      </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-	    One current problem with this system is that while
-	    variables are garbage collected, file handles are not, so
-	    that it is very important that Rivet script authors make
-	    sure to close all the files they open.
-      </td></tr></table></div><p style="width:90%">
-      </p><p style="width:90%">
-	After a script has been loaded and parsed into it's "pure Tcl"
-	form, it is also cached, so that it may be used in the future
-	without having to reload it (and re-parse it) from the disk.
-	The number of scripts stored in memory is configurable.  This
-	feature can significantly improve performance.
-      </p></div><div class="section" title="Debugging Rivet and Apache"><div class="titlepage"><div><div><h3 class="title"><a name="idp9322224"></a>Debugging Rivet and Apache</h3></div></div></div><p style="width:90%">
-	If you are interested in hacking on Rivet, you're welcome to
-	contribute!  Invariably, when working with code, things go
-	wrong, and it's necessary to do some debugging.  In a server
-	environment like Apache, it can be a bit more difficult to
-	find the right way to do this.  Here are some techniques to
-	try.
-      </p><p style="width:90%">
-	The first thing you should know is that Apache can be launched
-	as a <span class="emphasis"><em>single process</em></span> with the
-	-X argument:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">httpd -X</pre>.
-      <p style="width:90%">
-	On Linux, one of the first things to try is the system call
-	tracer, <span style="font-family:monospace"><span class="command"><strong>strace</strong></span></span>.  You don't even have to
-	recompile Rivet or Apache for this to work.
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">strace -o /tmp/outputfile -S 1000 httpd -X</pre><p style="width:90%">This command will run httpd in the system call tracer,
-	which leaves its output (there is potentially a lot of it) in
-	<code class="filename">/tmp/outputfile</code>.  The -S
-	option tells <span style="font-family:monospace"><span class="command"><strong></strong></span></span>strace to only record the
-	first 1000 bytes of a syscall.  Some calls such as
-	<code class="function">write</code> can potentially be much longer than
-	this, so you may want to increase this number.  The results
-	are a list of all the system calls made by the program.  You
-	want to look at the end, where the failure presumably occured,
-	to see if you can find anything that looks like an error.  If
-	you're not sure what to make of the results, you can always
-	ask on the Rivet development mailing list.
-      </p><p style="width:90%">
-	If <span style="font-family:monospace"><span class="command"><strong>strace</strong></span></span> (or its equivalent on your
-	operating system) doesn't answer your question, it may be time
-	to debug Apache and Rivet.  To do this, you will need to run
-	the <span style="font-family:monospace"><span class="command"><strong>./configure.tcl</strong></span></span> script with the
-	-enable-symbols option, and recompile.
-      </p><p style="width:90%">
-	Since it's easier to debug a single process, we'll still run
-	Apache in single process mode with -X:
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-@ashland [~] $ gdb /usr/sbin/apache.dbg
-GNU gdb 5.3-debian
-Copyright 2002 Free Software Foundation, Inc.
-GDB is free software, covered by the GNU General Public License, and you are
-welcome to change it and/or distribute copies of it under certain conditions.
-Type "show copying" to see the conditions.
-There is absolutely no warranty for GDB.  Type "show warranty" for details.
-This GDB was configured as "powerpc-linux"...
-(gdb) run -X
-Starting program: /usr/sbin/apache.dbg -X
-[New Thread 16384 (LWP 13598)]
-.
-.
-.
-      </pre><p style="width:90%">
-	When your apache session is up and running, you can request a
-	web page with the browser, and see where things go wrong (if
-	you are dealing with a crash, for instance).
-      </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="help.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="upgrading.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Resources - How to Get Help </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Upgrading from mod_dtcl or NeoWebScript</td></tr></table></div></body></html>
diff --git a/rivet/manual/lassign.html b/rivet/manual/lassign.html
deleted file mode 100644
index d3b8853..0000000
--- a/rivet/manual/lassign.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lassign</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="incr0.html" title="incr0"><link rel="next" href="lempty.html" title="lempty"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">lassign</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="incr0.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="lempty.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="lassign"><div class="refentry.separator"><hr></div><a name="lassign"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lassign &#8212; Assign a list of values to a list of variables</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">lassign</span>  ?<span style="font-family:monospace; font-weight: bold;">value_list</span>? ?<span style="font-family:monospace; font-weight: bold;">variables</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5961232"></a><h2>Description</h2><p style="width:90%">
-				<span style="font-family:monospace"><span class="command"><strong>lassign</strong></span></span> emulates the TclX lassign command. It accepts
-				a list variables and treats the rest as a list of variable names that will
-				be assigned with the values in the caller's scope
-			</p><p style="width:90%">
-				</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting"># lassign {1 2 3} a b c
-# set a
-1
-# set b
-2
-# set c
-3</pre><p style="width:90%">
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="incr0.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="lempty.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">incr0 </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> lempty</td></tr></table></div></body></html>
diff --git a/rivet/manual/lempty.html b/rivet/manual/lempty.html
deleted file mode 100644
index bca2a10..0000000
--- a/rivet/manual/lempty.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lempty</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="lassign.html" title="lassign"><link rel="next" href="lmatch.html" title="lmatch"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">lempty</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="lassign.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="lmatch.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="lempty"><div class="refentry.separator"><hr></div><a name="lempty"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lempty &#8212; Returns 1 if &lt;list&gt; is empty or 0 if it has any elements.  
-			This command emulates the TclX lempty command.
-			</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">lempty</span>  ?<span style="font-family:monospace; font-weight: bold;">list</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5968736"></a><h2>Description</h2><p style="width:90%">
-				Returns 1 if &lt;list&gt; is empty or 0 if it has any elements.  
-				This command emulates the TclX lempty command.
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="lassign.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="lmatch.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">lassign </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> lmatch</td></tr></table></div></body></html>
diff --git a/rivet/manual/lmatch.html b/rivet/manual/lmatch.html
deleted file mode 100644
index 78eb53a..0000000
--- a/rivet/manual/lmatch.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lmatch</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="lempty.html" title="lempty"><link rel="next" href="load_cookies.html" title="load_cookies"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">lmatch</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="lempty.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_cookies.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="lmatch"><div class="refentry.separator"><hr></div><a name="lmatch"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lmatch &#8212; 
-				Look for elements in &lt;list&gt; that match &lt;pattern&gt;
-			</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">lmatch</span>  (<span style="font-family:monospace; font-weight: bold;">-exact</span> | <span style="font-family:monospace; font-weight: bold;">-glob</span> | <span style="font-family:monospace; font-weight: bold;">-regexp</span>) ?<span style="font-family:monospace; font-weight: bold;">list</span>? ?<span style="font-family:monospace; font-weight: bold;">pattern</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5978896"></a><h2>Description</h2><p style="width:90%">
-				Look for elements in &lt;list&gt; that match &lt;pattern&gt;.  
-				This command emulates the TclX lmatch command, but if TclX isn't 
-				available, it's a decent substitute.
-			</p><p style="width:90%">
-				In the following example a regular expression is matched against
-				each element in the input list and a list containing the matching
-				elements is returned
-			</p><p style="width:90%">
-				</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting"># lmatch -regexp lmatch -regexp { aaxa bxxb ccxxxxcc } {.+[x]{2}.+}
-bxxb ccxxxxcc
-				</pre><p style="width:90%">
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="lempty.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="load_cookies.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">lempty </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> load_cookies</td></tr></table></div></body></html>
diff --git a/rivet/manual/load_cookies.html b/rivet/manual/load_cookies.html
deleted file mode 100644
index 185408b..0000000
--- a/rivet/manual/load_cookies.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_cookies</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="lmatch.html" title="lmatch"><link rel="next" href="load_env.html" title="load_env"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_cookies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="lmatch.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_env.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="load_cookies"><div class="refentry.separator"><hr></div><a name="load_cookies"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_cookies &#8212; get any cookie variables sent by the client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_cookies</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5986496"></a><h2>Description</h2></div><p style="width:90%">
-        Load the array of cookie variables into the specified
-        array name.  Uses array cookies by
-        default.
-      </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="lmatch.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="load_env.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">lmatch </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> load_env</td></tr></table></div></body></html>
diff --git a/rivet/manual/load_env.html b/rivet/manual/load_env.html
deleted file mode 100644
index 6bcdd2a..0000000
--- a/rivet/manual/load_env.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_env</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_cookies.html" title="load_cookies"><link rel="next" href="load_headers.html" title="load_headers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_env</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_cookies.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_headers.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="load_env"><div class="refentry.separator"><hr></div><a name="load_env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_env &#8212; get the request's environment variables.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_env</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5992544"></a><h2>Description</h2><p style="width:90%">
-          Load the array of environment variables into the specified
-          array name.  Uses array ::request::env by
-          default.
-        </p><p style="width:90%">
-          As Rivet pages are run in the ::request
-          namespace, it isn't necessary to qualify the array name
-          for most uses - it's ok to access it as
-          env.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="load_cookies.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="load_headers.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">load_cookies </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> load_headers</td></tr></table></div></body></html>
diff --git a/rivet/manual/load_headers.html b/rivet/manual/load_headers.html
deleted file mode 100644
index 83aaf9d..0000000
--- a/rivet/manual/load_headers.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_headers</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_env.html" title="load_env"><link rel="next" href="load_response.html" title="load_response"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_headers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_env.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_response.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="load_headers"><div class="refentry.separator"><hr></div><a name="load_headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_headers &#8212; get client request's headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_headers</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp5999904"></a><h2>Description</h2><p style="width:90%">
-          Load the headers that come from a client request into the
-          provided array name, or use headers if no
-          name is provided.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="load_env.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="load_response.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">load_env </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> load_response</td></tr></table></div></body></html>
diff --git a/rivet/manual/load_response.html b/rivet/manual/load_response.html
deleted file mode 100644
index 4a17a18..0000000
--- a/rivet/manual/load_response.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_response</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_headers.html" title="load_headers"><link rel="next" href="makeurl.html" title="makeurl"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_response</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_headers.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="makeurl.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="load_response"><div class="refentry.separator"><hr></div><a name="load_response"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_response &#8212; load form variables into an array.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_response</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp6005968"></a><h2>Description</h2><p style="width:90%">
-				Load any form variables passed to this page into an
-				array. If <span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> is called without 
-				arguments the array response is created in 
-				the scope of the caller. If the variables var1,var2,var3...
-				having values val1,val2,val3... are passed to the page, the
-				resulting array will be a collection mapping var1,var2,var3...
-				to their corresponding values. <span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span>
-				was inspired by the same NeoWebScript procedure in the way
-				it deals with multiple assignments: if a variable 
-				is assigned more than once the corresponding array element will be a 
-				list of the values for the variable. This can be useful in the case 
-				of forms with checkbox options that are given the same name. 
-                This condition is signalled by the presence of an auxiliary array 
-                variable. 
-            </p><p style="width:90%">
-                Example: if a group of checkboxes are associated to the var1
-                variable then <span style="font-family:monospace"><span class="command"><strong>response(var1)</strong></span></span> will store 
-                the list of their values and the array will also have the extra variable 
-                response(__var1) which can be tested with
-                the usual <span style="font-family:monospace"><span class="command"><strong>[info exists response(__var1)]</strong></span></span>
-            </p><p style="width:90%">
-				Calling <span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> several times for the same
-				array results in adding more values to the array at every call. 
-				When needed it is left to the caller to empty the array between 
-            two subsequent calls.  
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="load_headers.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="makeurl.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">load_headers </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> makeurl</td></tr></table></div></body></html>
diff --git a/rivet/manual/makeurl.html b/rivet/manual/makeurl.html
deleted file mode 100644
index 3c5e1f8..0000000
--- a/rivet/manual/makeurl.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>makeurl</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_response.html" title="load_response"><link rel="next" href="no_body.html" title="no_body"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">makeurl</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_response.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="no_body.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="makeurl"><div class="refentry.separator"><hr></div><a name="makeurl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>makeurl &#8212; construct url's based on hostname, port.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">makeurl</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp6018192"></a><h2>Description</h2><p style="width:90%">
-          Create a self referencing URL from a filename. <span style="font-family:monospace"><span class="command"><strong>makeurl</strong></span></span>
-          can be used in three ways
-          </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> No argument is passed to the command (returns the current script URL)</li><li class="listitem"> 
-                A relative style path is passed (returns the argument prepended with the
-                current script's URL
-            </li><li class="listitem"> 
-                An absolute path is passed to the command: (returns the full URL to the
-                resource)
-            </li></ul></div><p style="width:90%">
-        </p><p style="width:90%">
-            Example of absolute path: </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">makeurl /tclp.gif</pre><p style="width:90%"> returns
-            <code class="computeroutput">http://[hostname]:[port]/tclp.gif</code>.
-            where hostname and port are the hostname and port of the
-            server in question.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="load_response.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="no_body.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">load_response </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> no_body</td></tr></table></div></body></html>
diff --git a/rivet/manual/no_body.html b/rivet/manual/no_body.html
deleted file mode 100644
index 1904c6d..0000000
--- a/rivet/manual/no_body.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>no_body</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="makeurl.html" title="makeurl"><link rel="next" href="parray.html" title="parray"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">no_body</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="makeurl.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="parray.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="no_body"><div class="refentry.separator"><hr></div><a name="no_body"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>no_body &#8212; Prevents Rivet from sending any content.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">no_body</span> </div></div></div><div class="refsect1" title="Description"><a name="idp6027136"></a><h2>Description</h2><p style="width:90%">
-          This command is useful for situations where it is necessary
-          to only return HTTP headers and no actual content.  For
-          instance, when returning a 304 redirect.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="makeurl.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="parray.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">makeurl </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> parray</td></tr></table></div></body></html>
diff --git a/rivet/manual/parray.html b/rivet/manual/parray.html
deleted file mode 100644
index a763d5e..0000000
--- a/rivet/manual/parray.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>parray</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="no_body.html" title="no_body"><link rel="next" href="parse.html" title="parse"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">parray</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="no_body.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="parse.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="parray"><div class="refentry.separator"><hr></div><a name="parray"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parray &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parray</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">pattern</span>?</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp6034640"></a><h2>Description</h2><p style="width:90%">
-          An html version of the standard Tcl
-          <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> command.  Displays the entire
-          contents of an array in a sorted, nicely-formatted way.
-          Mostly used for debugging purposes.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="no_body.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="parse.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">no_body </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> parse</td></tr></table></div></body></html>
diff --git a/rivet/manual/parse.html b/rivet/manual/parse.html
deleted file mode 100644
index efee2b9..0000000
--- a/rivet/manual/parse.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>parse</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="parray.html" title="parray"><link rel="next" href="read_file.html" title="read_file"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">parse</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="parray.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="read_file.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="parse"><div class="refentry.separator"><hr></div><a name="parse"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parse &#8212; parses a Rivet template file.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parse</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="idp6041056"></a><h2>Description</h2><p style="width:90%">
-          Like the Tcl <span style="font-family:monospace"><span class="command"><strong>source</strong></span></span> command, but also
-          parses for Rivet &lt;?  and ?&gt; processing tags.  Using
-          this command, you can use one .rvt file from another.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="parray.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="read_file.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">parray </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> read_file</td></tr></table></div></body></html>
diff --git a/rivet/manual/read_file.html b/rivet/manual/read_file.html
deleted file mode 100644
index 86b503d..0000000
--- a/rivet/manual/read_file.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>read_file</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="parse.html" title="parse"><link rel="next" href="unescape_string.html" title="unescape_string"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">read_file</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="parse.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="unescape_string.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="read_file"><div class="refentry.separator"><hr></div><a name="read_file"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>read_file &#8212; 
-				Read the entire contents of a file and return it as a string.			
-			</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">read_file</span>  ?<span style="font-family:monospace; font-weight: bold;">file name</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp6047600"></a><h2>Description</h2><p style="width:90%">
-				This is a utility command which loads the entire content of
-				a file and returns it as a result.
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="parse.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="unescape_string.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">parse </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> unescape_string</td></tr></table></div></body></html>
diff --git a/rivet/manual/rivet.css b/rivet/manual/rivet.css
deleted file mode 100644
index 1b3d721..0000000
--- a/rivet/manual/rivet.css
+++ /dev/null
@@ -1,31 +0,0 @@
-body {
-    font-family: Arial, sans-serif;
-    font-style: normal;
-}
-
-div.navheader  {
-    background-color: #405871;
-    color: #ffffff;
-    font-size: 150%;
-}
-
-div.navfooter {
-    font-weight: bold;
-}
-
-a {
-    text-decoration: none;
-}
-
-a:link {
-    font-weight: bold;
-}
-a:visited {
-    font-weight: normal;
-}
-a:active {
-    text-decoration: underline;
-}
-a:hover {
-    text-decoration: underline;
-}
\ No newline at end of file
diff --git a/rivet/manual/rivet.html b/rivet/manual/rivet.html
deleted file mode 100644
index 5414f8a..0000000
--- a/rivet/manual/rivet.html
+++ /dev/null
@@ -1,2464 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" title="Apache Rivet"><div class="titlepage"><div><div><h2 class="title"><a name="id360123"></a>Apache Rivet</h2></div><div><div class="author"><h3 class="author"><span class="firstname">The Rivet Team</span></h3><div class="affiliation"><span class="orgname">The Apache Software Foundation<br></span><div class="address"><p><br>
-	  <code class="email">&lt;<a class="email" href="mailto:rivet-dev@tcl.apache.org">rivet-dev@tcl.apache.org</a>&gt;</code><br>
-	</p></div></div></div></div><div><p class="copyright">Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apache Software Foundation</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#introduction">Introduction to Apache Rivet</a></span></dt><dt><span class="section"><a href="#installation">Apache Rivet Installation</a></span></dt><dt><span class="section"><a href="#directives">Rivet Apache Directives</a></span></dt><dt><span class="section"><a href="#commands">Rivet Tcl Commands and Variables</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#var">var</a></span><span class="refpurpose"> &#8212; get the value of a form variable.</span></dt><dt><span class="refentrytitle"><a href="#upload">upload</a></span><span class="refpurpose"> &#8212; handle a file uploaded by a client.</span></dt><dt><span class="refentrytitle"><a href="#load_response">load_response</a></span><span class="refpurpose"> &#8212; load form variables into an array.</span></dt><dt><span class="refentrytitle"><a href="#load_headers">load_headers</a></span><span class="refpurpose"> &#8212; get client request's headers.</span></dt><dt><span class="refentrytitle"><a href="#load_cookies">load_cookies</a></span><span class="refpurpose"> &#8212; get any cookie variables sent by the client.</span></dt><dt><span class="refentrytitle"><a href="#load_env">load_env</a></span><span class="refpurpose"> &#8212; get the request's environment variables.</span></dt><dt><span class="refentrytitle"><a href="#env">env</a></span><span class="refpurpose"> &#8212; Loads a single
-	"environmental variable" into a Tcl variable.</span></dt><dt><span class="refentrytitle"><a href="#include">include</a></span><span class="refpurpose"> &#8212; includes a file into the output stream without modification.</span></dt><dt><span class="refentrytitle"><a href="#parse">parse</a></span><span class="refpurpose"> &#8212; parses a Rivet template file.</span></dt><dt><span class="refentrytitle"><a href="#headers">headers</a></span><span class="refpurpose"> &#8212; set and parse HTTP headers.</span></dt><dt><span class="refentrytitle"><a href="#makeurl">makeurl</a></span><span class="refpurpose"> &#8212; construct url's based on hostname, port.</span></dt><dt><span class="refentrytitle"><a href="#cookie">cookie</a></span><span class="refpurpose"> &#8212; get and set cookies.</span></dt><dt><span class="refentrytitle"><a href="#clock_to_rfc">clock_to_rfc850_gmt</a></span><span class="refpurpose"> &#8212; create a rfc850 time from [clock seconds].</span></dt><dt><span class="refentrytitle"><a href="#html">html</a></span><span class="refpurpose"> &#8212; construct html tagged text.</span></dt><dt><span class="refentrytitle"><a href="#incr0">incr0</a></span><span class="refpurpose"> &#8212; increment a variable or set it to 1 if nonexistant.</span></dt><dt><span class="refentrytitle"><a href="#parray">parray</a></span><span class="refpurpose"> &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</span></dt><dt><span class="refentrytitle"><a href="#abort_page">abort_page</a></span><span class="refpurpose"> &#8212; Stops outputing data to web page, similar in
-	  purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</span></dt><dt><span class="refentrytitle"><a href="#no_body">no_body</a></span><span class="refpurpose"> &#8212; Prevents Rivet from sending any content.</span></dt><dt><span class="refentrytitle"><a href="#escape_string">escape_string</a></span><span class="refpurpose"> &#8212; convert a string into escaped characters.</span></dt><dt><span class="refentrytitle"><a href="#escape_sgml_chars">escape_sgml_chars</a></span><span class="refpurpose"> &#8212; escape special SGML characters in a string.</span></dt><dt><span class="refentrytitle"><a href="#escape_shell_command">escape_shell_command</a></span><span class="refpurpose"> &#8212; escape shell metacharacters in a string.</span></dt><dt><span class="refentrytitle"><a href="#unescape_string">unescape_string</a></span><span class="refpurpose"> &#8212; unescape escaped characters in a string.</span></dt><dt><span class="refentrytitle"><a href="#apache_log_error">apache_log_error</a></span><span class="refpurpose"> &#8212; log messages to the Apache error log</span></dt><dt><span class="refentrytitle"><a href="#apache_table">apache_table</a></span><span class="refpurpose"> &#8212; access and manipulate Apache tables in the request structure.</span></dt></dl></dd><dt><span class="section"><a href="#examples">Examples and Usage</a></span></dt><dt><span class="section"><a href="#tcl_packages">Rivet Tcl Packages</a></span></dt><dt><span class="section"><a href="#dio">DIO - Database Interface Objects</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#dio_package">DIO</a></span><span class="refpurpose"> &#8212; Database Interface Objects</span></dt></dl></dd><dt><span class="section"><a href="#diodisplay">DIODisplay - Database Interface Objects Display Class</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#diodisplay_package">DIODisplay</a></span><span class="refpurpose"> &#8212; Database Interface Objects Display Class</span></dt></dl></dd><dt><span class="section"><a href="#session_package">Session Package</a></span></dt><dd><dl><dt><span class="section"><a href="#id381026">Introduction</a></span></dt><dt><span class="section"><a href="#requirements">Requirements</a></span></dt><dt><span class="section"><a href="#id381362">Preparing To Use It</a></span></dt><dt><span class="section"><a href="#id381407">Example Usage</a></span></dt><dt><span class="section"><a href="#id381463">Using Sessions From Your Code</a></span></dt><dt><span class="section"><a href="#id381660">Session Configuration Options</a></span></dt><dt><span class="section"><a href="#id381888">Session Methods</a></span></dt><dt><span class="section"><a href="#id382114">Getting Additional Randomness From The Entropy File</a></span></dt></dl></dd><dt><span class="section"><a href="#form">Form: An HTML Form Fields Generation Utility</a></span></dt><dd><dl><dt><span class="section"><a href="#id382744">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="#form_package">form</a></span><span class="refpurpose"> &#8212;  a Tcl command object for creating HTML forms</span></dt></dl></dd><dt><span class="section"><a href="#calendar_package">Calendar Package</a></span></dt><dd><dl><dt><span class="section"><a href="#id387514">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="#calendar">Calendar</a></span><span class="refpurpose"> &#8212; Utility class the builds and prints a calendar table</span></dt><dt><span class="refentrytitle"><a href="#xml_calendar">XmlCalendar</a></span><span class="refpurpose"> &#8212; Prints XML formatted calendar tables</span></dt><dt><span class="refentrytitle"><a href="#html_calendar">HtmlCalendar</a></span><span class="refpurpose"> &#8212; Concrete class derived from XmlCalendar</span></dt></dl></dd><dt><span class="section"><a href="#help">Resources - How to Get Help</a></span></dt><dd><dl><dt><span class="section"><a href="#id389501">Mailing Lists</a></span></dt><dt><span class="section"><a href="#id389528">Newsgroup</a></span></dt><dt><span class="section"><a href="#websites">Web Sites</a></span></dt><dt><span class="section"><a href="#id389901">Bug Tracking System</a></span></dt><dt><span class="section"><a href="#id389917">IRC</a></span></dt><dt><span class="section"><a href="#id389928">Editing Rivet Template Files</a></span></dt></dl></dd><dt><span class="section"><a href="#internals">Rivet Internals</a></span></dt><dd><dl><dt><span class="section"><a href="#id389735">Initialization</a></span></dt><dt><span class="section"><a href="#id389686">RivetChan</a></span></dt><dt><span class="section"><a href="#id390255">The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</a></span></dt><dt><span class="section"><a href="#id390300">Page Parsing, Execution and Caching</a></span></dt><dt><span class="section"><a href="#id390342">Debugging Rivet and Apache</a></span></dt></dl></dd><dt><span class="section"><a href="#upgrading">Upgrading from mod_dtcl or NeoWebScript</a></span></dt><dd><dl><dt><span class="section"><a href="#id390476">mod_dtcl</a></span></dt><dt><span class="section"><a href="#id390487">NeoWebScript</a></span></dt></dl></dd></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1. <a href="#hello%20world">Hello World</a></dt><dt>2. <a href="#id369279">Generate a Table</a></dt><dt>3. <a href="#variable_access">Variable Access</a></dt><dt>4. <a href="#file_upload">File Upload</a></dt><dt>5. <a href="#file_download">File Download</a></dt><dt>6. <a href="#ajax_xml_messaging">XML Messages and Ajax</a></dt></dl></div><p style="width:90%">
-    Document revision: $Revision: 959821 $, last modified 2010-07-20 21:49:04+02:00$ by $Author: mxmanghi $.
-  </p><div class="section" title="Introduction to Apache Rivet"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="introduction"></a>Introduction to Apache Rivet</h2></div></div></div><p style="width:90%">
-      Apache Rivet is a system for creating dynamic web content via a
-      programming language integrated with Apache Web Server.  It is
-      designed to be fast, powerful and extensible, consume few system
-      resources, be easy to learn, and to provide the user with a
-      platform that can also be used for other programming tasks
-      outside the web (GUI's, system administration tasks, text
-      processing, database manipulation, XML, and so on).  In order to
-      meet these goals, we have chosen the Tcl programming language to
-      combine with the Apache Web Server.
-    </p><p style="width:90%">
-      In this manual, we aim to help get you started, and then
-      writing productive code as quickly as possible, as well as
-      giving you ideas on how to best take advantage of Rivet's
-      architecture to create different styles of web site.
-    </p><p style="width:90%">
-      This documentation is a work in progress, and, like everything
-      else about Apache Rivet, it is Free Software.  If you see
-      something that needs improving, and have ideas or suggestions,
-      don't hesitate to let us know.  If you want to contribute
-      directly, better yet!
-    </p></div><div class="section" title="Apache Rivet Installation"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="installation"></a>Apache Rivet Installation</h2></div></div></div><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Check Dependencies"><p class="title"><b>Check Dependencies</b></p><p style="width:90%">
-	  To install Rivet, you will need Tcl 8.4 or greater. Rivet can be compiled to work 
-	  with either Apache 1.3.xx or Apache 2.2.xx server.
-	  It is known to run on Linux, FreeBSD, OpenBSD, Solaris and HPUX. Windows NT is also possible
-	  - please see the directions in the distribution.  
-	</p></li><li class="step" title="Get Rivet"><p class="title"><b>Get Rivet</b></p><p style="width:90%">
-	  Download the sources at <a class="ulink" href="http://tcl.apache.org/rivet/download.html" target="_top">http://tcl.apache.org/rivet/download.html</a>.  Currently
-	  the only way to obtain Rivet.  In the future, we hope to have a FreeBSD port, Debian package, RPM's, and windows
-	  binaries.
-	</p></li><li class="step" title="Install Tcl"><p class="title"><b>Install Tcl</b></p><p style="width:90%">
-	  If you don't have Tcl already, you need it!  If you already
-	  have it, you should just be able to use your system Tcl as
-	  long as it is recent.  You can tell Rivet build scripts where Tcl is via
-	  the --with-tcl option to <span style="font-family:monospace"><span class="command"><strong>configure</strong></span></span> (see below).
-	</p></li><li class="step" title="Get and Install Apache Sources"><p class="title"><b>Get and Install Apache Sources</b></p><p style="width:90%">
-          Rivet needs some Apache include (.h) files in order to build.  The easiest way 
-	  to get them is to download the source code of the Apache web server, although some systems
-	  (Debian GNU/Linux for example) make it possible to install only the headers and other 
-	  development files.  If you intend to build Rivet statically (compiled into the Apache web
-	  server instead of loaded dynamically), you definitely need the sources.  
-	    We recommend that you build Rivet as a loadable shared library, for maximum flexibility,
-	    meaning that you also build Apache to be able to load modules. Other than that, 
-	    the default Apache install is fine.  We will tell Rivet where it is located via the 
-	    --with-apxs option to <span style="font-family:monospace"><span class="command"><strong>configure</strong></span></span> (see below).
-	</p><p style="width:90%">
-          The source code for the Apache web server may be found by
-          following the links here: <a class="ulink" href="http://httpd.apache.org/" target="_top">http://httpd.apache.org/</a>.
-	</p></li><li class="step" title="Uncompress Sources"><p class="title"><b>Uncompress Sources</b></p><p style="width:90%">
-	  We will assume that you have Apache installed at this point.
-	  You must uncompress the Rivet sources in the directory where you
-	  wish to compile them.
-
-	  </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">gunzip rivet-X.X.X.tar.gz
-tar -xvf rivet-X.X.X.tar.gz</pre><p style="width:90%">
-
-	</p></li><li class="step" title="Building Rivet"><p class="title"><b>Building Rivet</b></p><ol type="a" class="substeps"><li class="step" title="Step 6.a"><p style="width:90%">
-	      On Linux or Unix systems, Rivet uses the standard <span style="font-family:monospace"><span class="command"><strong>./configure ; make ; make install</strong></span></span> technique.
-	    </p><p style="width:90%">
-	      There are several rivet specific options to configure that might be useful (or needed):
-	      </p><div class="variablelist"><dl><dt><span class="term">--with-tcl</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		      This points to the directory where the
-		      <code class="filename">tclConfig.sh</code> file is located.
-		    </div></div></dd><dt><span class="term">--with-tclsh</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">This points to the location of the
-		      <code class="filename">tclsh</code> executable.</div></div></dd><dt><span class="term">--with-apxs</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The location of the <code class="filename">apxs</code>
-		      program that provides information about the
-		      configuration and compilation options of Apache modules.</div></div></dd><dt><span class="term">--with-apache-version=[1|2]</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-			This option tells the build scripts whether you want to build Rivet for the
-			Apache 1.x or Apache 2.x server.
-		    </div></div></dd><dt><span class="term">--with-apache-include[=DIR]</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-			    Locates the Apache include files on your computer, if they're not in standard directory. 
-		    </div></div></dd><dt><span class="term">--enable-version-display=[yes|no]</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-			This option enables Rivet to display its version in the logfiles when Apache is started. 
-			The default is to keep Rivet version hidden.
-		    </div></div></dd><dt><span class="term">--with-rivet-target-dir=DIR</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-			    This option tells the install script where Rivet's Tcl packages have to be copied. 
-			</div></div></dd></dl></div><p style="width:90%">
-	    </p><p style="width:90%">
-		Example: configuring the build system to compile Rivet for an apache 2.x server, using tcl8.5 and
-		specifying a custom name for the apxs program. 
-	    </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-./configure --with-tcl=/usr/lib/tcl8.5/ --with-tclsh=/usr/bin/tclsh8.5 \
-	    --with-apxs=/usr/bin/apxs2 --with-apache=/usr --with-apache-version=2
-	</pre></li><li class="step" title="Run make"><p class="title"><b>Run make</b></p><p style="width:90%">
-	      At this point, you are ready to run make, which should
-	      run to completion without any errors (a warning or two
-	      is ok, generally).
-	    </p></li><li class="step" title="Install"><p class="title"><b>Install</b></p><p style="width:90%">
-	      Now, you are ready to run the <span style="font-family:monospace"><span class="command"><strong>make
-		install</strong></span></span> to install the resulting files.
-		This should copy the shared object (like
-		<code class="filename">mod_rivet.so</code>, if one was
-		successfully created, into Apache's
-		<code class="filename">libexec</code> directory, as well as
-		install some support scripts and various code.
-	    </p></li></ol></li><li class="step" title="Apache Configuration Files"><p class="title"><b>Apache Configuration Files</b></p><p style="width:90%">
-	  Rivet is relatively easy to configure - we start off by
-	  adding the module itself:
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">LoadModule rivet_module	<em class="replaceable"><code>/usr/lib/apache2/modules/mod_rivet.so</code></em>
-	</pre><p style="width:90%">
-	  This tells Apache to load the Rivet shared object, wherever
-	  it happens to reside on your file system.  Now we have to
-	  tell Apache what kind of files are "Rivet" files and how to
-	  process them:
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">AddType application/x-httpd-rivet .rvt
-AddType application/x-rivet-tcl .tcl</pre><p style="width:90%">
-	  These tell Apache to process files with the
-	  <code class="filename">.rvt</code> and <code class="filename">.tcl</code>
-	  extensions as Rivet files.
-	</p><p style="width:90%">
-	  The characters encoding can be changed using the <span style="font-family:monospace"><span class="command"><strong>header type</strong></span></span> command,
-	  but you can also change the default charset for the whole site:
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">AddType 'application/x-httpd-rivet;charset=utf-8' rvt</pre><p style="width:90%">
-	   All the pages generated by Rivet on this site will be sent with a 
-	    <span style="font-family:monospace"><span class="command"><strong>Content-Type:'text/html;charset=utf-8'</strong></span></span> header.
-	</p><p style="width:90%">You may also wish to use Rivet files as index files for
-	directories.  In that case, you would do the following:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">DirectoryIndex index.html index.htm index.shtml index.cgi index.tcl index.rvt</pre><p style="width:90%">
-	  For other directives that Rivet provides for Apache
-	  configuration, please see <a class="xref" href="#directives" title="Rivet Apache Directives">the section called &#8220;Rivet Apache Directives&#8221;</a>.
-	</p></li></ol></div></div><div class="section" title="Rivet Apache Directives"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="directives"></a>Rivet Apache Directives</h2></div></div></div><p style="width:90%">
-      These directives are used within the Apache httpd server
-      configuration files to modify Apache Rivet's behavior.  Their
-      precedence is as follows: <span style="font-family:monospace"><span class="command"><strong>RivetDirConf</strong></span></span>,
-      <span style="font-family:monospace"><span class="command"><strong>RivetUserConf</strong></span></span>,
-      <span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span>, meaning that DirConf will
-      override UserConf, which will in turn override ServerConf.
-    </p><div class="variablelist"><dl><dt><span class="term">
-	  <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">RivetServerConf</span>  (<span style="font-family:monospace; font-weight: bold;">CacheSize</span> | <span style="font-family:monospace; font-weight: bold;">GlobalInitScript</span> | <span style="font-family:monospace; font-weight: bold;">ChildInitScript</span> | <span style="font-family:monospace; font-weight: bold;">ChildExitScript</span> | <span style="font-family:monospace; font-weight: bold;">BeforeScript</span> | <span style="font-family:monospace; font-weight: bold;">AfterScript</span> | <span style="font-family:monospace; font-weight: bold;">ErrorScript</span> | <span style="font-family:monospace; font-weight: bold;">UploadDirectory</span> | <span style="font-family:monospace; font-weight: bold;">UploadMaxSize</span> | <span style="font-family:monospace; font-weight: bold;">UploadFilesToVar</span> | <span style="font-family:monospace; font-weight: bold;">SeparateVirtualInterps</span> | <span style="font-family:monospace; font-weight: bold;">HonorHeaderOnlyRequests</span>)</div></div>
-	</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex"><span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span> specifies a global
-	    option that is valid for the whole server.  If you have a
-	    virtual host, in some cases, the option specified in the
-	    virtualhost takes precedence over the 'global' version.
-	  </div><div class="variablelist"><dl><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">CacheSize</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>size</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Sets the size of the internal page cache, where
-		  <em class="replaceable"><code>size</code></em> is
-		  the number of byte-compiled pages to be cached for
-		  future use.  Default is
-		  <span style="font-family:monospace"><span class="command"><strong>MaxRequestsPerChild</strong></span></span> / 5, or 50,
-		  if <span style="font-family:monospace"><span class="command"><strong>MaxRequestsPerChild</strong></span></span> is 0.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This option is completely global, even when using
-		  separate, per-virtual host interpreters.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">GlobalInitScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Tcl script that is run when each interpreter is
-		  initialized. <em class="replaceable"><code>script</code></em>
-		  is an actual Tcl script, so to run a file, you would
-		  do:
-
-		  <pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf GlobalInitScript "source /var/www/foobar.tcl"</pre>
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This option is ignored in virtual hosts.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">ChildInitScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Script to be evaluated when each Apache child
-		  process is initialized.  This is the recommended
-		  place to load modules, create global variables, open
-		  connections to other facilities (such as databases)
-		  and so on.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this script is run in addition to
-		  any global childinitscript.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">ChildExitScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Script to be evaluated when each Apache child
-		  process exits.  This is the logical place to clean
-		  up resources created in
-		  ChildInitScript, if necessary.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this script is run in addition to
-		  any global childexitscript.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">BeforeScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Script to be evaluated before each server parsed
-		  (.rvt) page.  This can be used to create a standard
-		  header, for instance.  It could also be used to load
-		  code that you need for every page, if you don't want
-		  to put it in a GlobalInitScript
-		  ChildInitScript when you are first
-		  developing a web site.
-		  <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-		    This code is evaluated at the global level, not
-		    inside the request namespace where pages are
-		    evaluated.
-		  </td></tr></table></div>
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">AfterScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Script to be called after each server parsed (.rvt) page.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">ErrorScript</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>script</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  When Rivet encounters an error in a script, it
-		  constructs an HTML page with some information about
-		  the error, and the script that was being
-		  evaluated. If an ErrorScript is
-		  specified, it is possible to create custom error
-		  pages.  This may be useful if you want to make sure
-		  that users never view your source code.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">UploadDirectory</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>directory</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Directory to place uploaded files.</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">UploadMaxSize</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>size</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Maximum size for uploaded files.</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In virtual hosts, this option takes precedence over
-		  the global setting.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">UploadFilesToVar</span>  (<span style="font-family:monospace; font-weight: bold;">yes</span> | <span style="font-family:monospace; font-weight: bold;">no</span>)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This option controls whether it is possible to
-		  upload files to a Tcl variable.  If you have a size
-		  limit, and don't have to deal with large files, this
-		  might be more convenient than sending the data to a
-		  file on disk.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">SeparateVirtualInterps</span>  (<span style="font-family:monospace; font-weight: bold;">yes</span> | <span style="font-family:monospace; font-weight: bold;">no</span>)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  If on, Rivet will create a separate Tcl interpreter
-		  for each Apache virtual host.  This is useful in an
-		  ISP type situation where it is desirable to separate
-		  clients into separate interpreters, so that they
-		  don't accidentally interfere with one another.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">This option is, by nature, only available at the
-		global level.</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">HonorHeaderOnlyRequests</span>  (<span style="font-family:monospace; font-weight: bold;">yes</span> | <span style="font-family:monospace; font-weight: bold;">no</span>)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  If a HEAD requests is issued by the client Rivet detects
-		  this case and sends back to the client a standard header 
-		  response. If the real header has to be examined (e.g. 
-		  for debugging) you can turn this options on. 
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">This option is, by nature, only available at the global level</div></div></dd></dl></div></div></dd><dt><span class="term">
-	  <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">RivetDirConf</span>  (<span style="font-family:monospace; font-weight: bold;">BeforeScript</span> | <span style="font-family:monospace; font-weight: bold;">AfterScript</span> | <span style="font-family:monospace; font-weight: bold;">ErrorScript</span> | <span style="font-family:monospace; font-weight: bold;">UploadDirectory</span>)</div></div>
-	</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    These options are the same as for
-	    <span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span>, except that they are
-	    only valid for the directory where they are specified, and
-	    its subdirectories.  It may be specified in <span style="font-family:monospace"><span class="command"><strong>Directory</strong></span></span> 
-	    sections.
-	  </div></div></dd><dt><span class="term">
-	  <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">RivetUserConf</span>  (<span style="font-family:monospace; font-weight: bold;">BeforeScript</span> | <span style="font-family:monospace; font-weight: bold;">AfterScript</span> | <span style="font-family:monospace; font-weight: bold;">ErrorScript</span> | <span style="font-family:monospace; font-weight: bold;">UploadDirectory</span>)</div></div>
-	</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    These options are the same as for
-	    <span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span>, except that they are
-	    only valid for the directory where they are specified, and
-	    its subdirectories.
-	  </div></div></dd></dl></div></div><div class="section" title="Rivet Tcl Commands and Variables"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="commands"></a>Rivet Tcl Commands and Variables</h2></div></div></div><div class="refentry" title="var"><a name="var"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>var, var_qs, var_post &#8212; get the value of a form variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>  (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_qs</span>  (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_post</span>  (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div></div><div class="refsect1" title="Description"><a name="id363073"></a><h2>Description</h2><p style="width:90%">
-	  The <span style="font-family:monospace"><span class="command"><strong>var</strong></span></span> command retrieves information
-	  about GET or POST variables sent to the script via client
-	  request.  It treats both GET and POST variables the same,
-	  regardless of their origin.  Note that there are two
-	  additional forms of <span style="font-family:monospace"><span class="command"><strong>var</strong></span></span>:
-	  <span style="font-family:monospace"><span class="command"><strong>var_qs</strong></span></span> and <span style="font-family:monospace"><span class="command"><strong>var_post</strong></span></span>.
-	  These two restrict the retrieval of information to
-	  parameters arriving via the querystring
-	  (?foo=bar&amp;bee=bop) or POSTing, respectively.
-	</p><div class="variablelist"><dl><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">get</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">default</span>?</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the value of variable
-		<em class="replaceable"><code>varname</code></em>
-		as a string (even if there are multiple values).  If
-		the variable doesn't exist as a GET or POST
-		variable, the
-		<em class="replaceable"><code>?<span class="optional">default</span>?</code></em>
-		value is returned, otherwise "" - an empty string -
-		is returned.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">list</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the value of variable
-		<em class="replaceable"><code>varname</code></em> as a
-		list, if there are multiple values.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">exists</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns 1 if
-		<em class="replaceable"><code>varname</code></em>
-		exists, 0 if it doesn't.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">number</span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the number of variables.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">all</span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return a list of variable names and values.
-	      </div></div></dd></dl></div><p style="width:90%">
-	  See <a class="xref" href="#variable_access" title="Example 3. Variable Access">Example 3, &#8220;Variable Access&#8221;</a>.
-	</p></div></div><div class="refentry" title="upload"><div class="refentry.separator"><hr></div><a name="upload"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>upload &#8212; handle a file uploaded by a client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>  (<span style="font-family:monospace; font-weight: bold;">channel</span> | <span style="font-family:monospace; font-weight: bold;">save</span> | <span style="font-family:monospace; font-weight: bold;">data</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">size</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-weight: bold;">filename</span>)</div></div></div><div class="refsect1" title="Description"><a name="id363411"></a><h2>Description</h2><p style="width:90%">The upload command is for file upload manipulation.
-	  See the relevant Apache Directives to further configure the
-	  behavior of this Rivet feature.
-	</p><div class="variablelist"><dl><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">channel</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		When given the name of a file upload
-		<em class="replaceable"><code>uploadname</code></em>,
-		returns a Tcl channel that can be used to access the
-		uploaded file.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">save</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Saves the
-		<em class="replaceable"><code>uploadname</code></em> in
-		the file
-		<em class="replaceable"><code>filename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">data</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns data uploaded to the server.  This is binary clean
-		- in other words, it will work even with files like
-		images, executables, compressed files, and so on.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">exists</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns true if an upload named  ?<span style="font-family:monospace; font-weight: bold;">uploadname</span>?
-		exists.  This can be used in scripts that are meant to
-		be run by different forms that send over uploads that
-		might need specific processing.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">size</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the size of the file uploaded.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">type</span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		If the <code class="varname">Content-type</code> is set, it is
-		returned, otherwise, an empty string.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">filename</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the filename on the remote host that uploaded the file.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">tempname</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the name of the temporary file on the local host that the file was uploaded into.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">names</span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the variable names, as a list, of all the files
-		uploaded.
-	      </div></div></dd></dl></div><p style="width:90%">
-	  See <a class="xref" href="#upload" title="upload">upload</a>.
-	</p></div></div><div class="refentry" title="load_response"><div class="refentry.separator"><hr></div><a name="load_response"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_response &#8212; load form variables into an array.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_response</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id363839"></a><h2>Description</h2><p style="width:90%">
-				Load any form variables passed to this page into an
-				array. If <span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> is called without 
-				arguments the array response is created in 
-				the scope of the caller. If the variables var1,var2,var3...
-				having values val1,val2,val3... are passed to the page, the
-				resulting array will be a collection mapping var1,var2,var3...
-				to their corresponding values. <span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span>
-				was inspired by the same NeoWebScript procedure in the way
-				it deals with multiple assignments: if a variable 
-				is assigned more than once the corresponding array element will be a 
-				list of the values for the variable. This can be useful in the case 
-				of forms with checkbox options that are given the same name.
-				Calling <span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> several times for the same
-				array results in adding more values to the array at every call. 
-				When needed it is left to the caller to empty the array between 
-				two subsequent calls.  
-			</p></div></div><div class="refentry" title="load_headers"><div class="refentry.separator"><hr></div><a name="load_headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_headers &#8212; get client request's headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_headers</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id363911"></a><h2>Description</h2><p style="width:90%">
-	  Load the headers that come from a client request into the
-	  provided array name, or use headers if no
-	  name is provided.
-	</p></div></div><div class="refentry" title="load_cookies"><div class="refentry.separator"><hr></div><a name="load_cookies"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_cookies &#8212; get any cookie variables sent by the client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_cookies</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id363962"></a><h2>Description</h2></div><p style="width:90%">
-	Load the array of cookie variables into the specified
-	array name.  Uses array cookies by
-	default.
-      </p></div><div class="refentry" title="load_env"><div class="refentry.separator"><hr></div><a name="load_env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_env &#8212; get the request's environment variables.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_env</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364012"></a><h2>Description</h2><p style="width:90%">
-	  Load the array of environment variables into the specified
-	  array name.  Uses array ::request::env by
-	  default.
-	</p><p style="width:90%">
-	  As Rivet pages are run in the ::request
-	  namespace, it isn't necessary to qualify the array name
-	  for most uses - it's ok to access it as
-	  env.
-	</p></div></div><div class="refentry" title="env"><div class="refentry.separator"><hr></div><a name="env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>env &#8212; Loads a single
-	"environmental variable" into a Tcl variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">env</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364074"></a><h2>Description</h2><p style="width:90%">
-	  If it is only necessary to load one environmental variable,
-	  this command may be used to avoid the overhead of loading
-	  and storing the entire array.
-	</p></div></div><div class="refentry" title="include"><div class="refentry.separator"><hr></div><a name="include"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>include &#8212; includes a file into the output stream without modification.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">include</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364122"></a><h2>Description</h2><p style="width:90%">
-	  Include a file without parsing it for processing tags &lt;?
-	  and ?&gt;.  This is the best way to include an HTML file or
-	  any other static content.
-	</p></div></div><div class="refentry" title="parse"><div class="refentry.separator"><hr></div><a name="parse"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parse &#8212; parses a Rivet template file.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parse</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364172"></a><h2>Description</h2><p style="width:90%">
-	  Like the Tcl <span style="font-family:monospace"><span class="command"><strong>source</strong></span></span> command, but also
-	  parses for Rivet &lt;?  and ?&gt; processing tags.  Using
-	  this command, you can use one .rvt file from another.
-	</p></div></div><div class="refentry" title="headers"><div class="refentry.separator"><hr></div><a name="headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>headers &#8212; set and parse HTTP headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>  (<span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">redirect</span> | <span style="font-family:monospace; font-weight: bold;">add</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-weight: bold;">numeric</span>)</div></div></div><div class="refsect1" title="Description"><a name="id364261"></a><h2>Description</h2><p style="width:90%">
-	  The <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> command is for setting and
-	  parsing HTTP headers.
-	</p><div class="variablelist"><dl><dt><span class="term"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">set</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>headername</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Set arbitrary header names and values.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">redirect</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uri</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Redirect from the current page to a new
-		URI. <span class="emphasis"><em>Must</em></span> be done in the first block
-		of TCL code.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">add</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>headername</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Add text to header
-		<code class="varname">headername</code>.</div></div></dd><dt><span class="term"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">type</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>content-type</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		This command sets the <code class="constant">Content-type</code>
-		header returned by the script, which is useful if you wish
-		to send content other than HTML with Rivet - PNG or jpeg
-		images, for example.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span>   <span style="font-family:monospace; font-weight: bold;">numeric</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>response code</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Set a numeric response code, such as 200, 404 or 500.
-	      </div></div></dd></dl></div></div></div><div class="refentry" title="makeurl"><div class="refentry.separator"><hr></div><a name="makeurl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>makeurl &#8212; construct url's based on hostname, port.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">makeurl</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364535"></a><h2>Description</h2><p style="width:90%">
-	  Create a self referencing URL from a filename.  For example:
-	  </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">makeurl /tclp.gif</pre><p style="width:90%">
-	  returns
-	  <code class="computeroutput">http://[hostname]:[port]/tclp.gif</code>.
-	  where hostname and port are the hostname and port of the
-	  server in question.
-	</p></div></div><div class="refentry" title="cookie"><div class="refentry.separator"><hr></div><a name="cookie"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cookie &#8212; get and set cookies.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span>  ?<span style="font-family:monospace; font-weight: bold;">set</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">cookiValue</span>?</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-days <em class="replaceable"><code>expireInDays</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-hours <em class="replaceable"><code>expireInHours</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-minutes <em class="replaceable"><code>expireInMinutes</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-expires <em class="replaceable"><code>Wdy, DD-Mon-YYYY HH:MM:SS GMT</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-path <em class="replaceable"><code>uriPathCookieAppliesTo</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-secure <em class="replaceable"><code>1/0</code></em></span>?</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span>  ?<span style="font-family:monospace; font-weight: bold;">get</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364692"></a><h2>Description</h2><p style="width:90%">
-	  <span style="font-family:monospace"><span class="command"><strong>cookie</strong></span></span> gets or sets a cookie.  When you
-	  get a cookie, the command returns the value of the cookie,
-	  or an empty string if no cookie exists.
-	</p></div></div><div class="refentry" title="clock_to_rfc850_gmt"><div class="refentry.separator"><hr></div><a name="clock_to_rfc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>clock_to_rfc850_gmt &#8212; create a rfc850 time from [clock seconds].</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">clock_to_rfc850_gmt</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>seconds</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364745"></a><h2>Description</h2><p style="width:90%">
-	  Convert an integer-seconds-since-1970 click value to
-	  RFC850 format, with the additional requirement that it be
-	  GMT only.
-	</p></div></div><div class="refentry" title="html"><div class="refentry.separator"><hr></div><a name="html"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>html &#8212; construct html tagged text.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">html</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>string</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arg</code></em></span>...?</div></div></div><div class="refsect1" title="Description"><a name="id364800"></a><h2>Description</h2><p style="width:90%">
-	  Print text with the added ability to pass HTML tags
-	  following the string.  Example:
-	  </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">html "Test" b i</pre><p style="width:90%">
-	  produces: <code class="computeroutput">&lt;b&gt;&lt;i&gt;Test&lt;/i&gt;&lt;/b&gt;</code>
-	</p></div></div><div class="refentry" title="incr0"><div class="refentry.separator"><hr></div><a name="incr0"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>incr0 &#8212; increment a variable or set it to 1 if nonexistant.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">incr0</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>num</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364866"></a><h2>Description</h2><p style="width:90%">
-	  Increment a variable
-	  <em class="replaceable"><code>varname</code></em> by
-	  <em class="replaceable"><code>num</code></em>.  If the
-	  variable doesn't exist, create it instead of returning an
-	  error.
-	</p></div></div><div class="refentry" title="parray"><div class="refentry.separator"><hr></div><a name="parray"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parray &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parray</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">pattern</span>?</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364936"></a><h2>Description</h2><p style="width:90%">
-	  An html version of the standard Tcl
-	  <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> command.  Displays the entire
-	  contents of an array in a sorted, nicely-formatted way.
-	  Mostly used for debugging purposes.
-	</p></div></div><div class="refentry" title="abort_page"><div class="refentry.separator"><hr></div><a name="abort_page"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>abort_page &#8212; Stops outputing data to web page, similar in
-	  purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">abort_page</span> </div></div></div><div class="refsect1" title="Description"><a name="id364987"></a><h2>Description</h2><p style="width:90%">This command flushes the
-	output buffer and stops the Tcl script from sending any more
-	data to the client.  A normal Tcl script might use the
-	<span style="font-family:monospace"><span class="command"><strong>exit</strong></span></span> command, but that cannot be used in
-	Rivet without actually exiting the apache child
-	process!</p></div></div><div class="refentry" title="no_body"><div class="refentry.separator"><hr></div><a name="no_body"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>no_body &#8212; Prevents Rivet from sending any content.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">no_body</span> </div></div></div><div class="refsect1" title="Description"><a name="id365032"></a><h2>Description</h2><p style="width:90%">
-	  This command is useful for situations where it is necessary
-	  to only return HTTP headers and no actual content.  For
-	  instance, when returning a 304 redirect.
-	</p></div></div><div class="refentry" title="escape_string"><div class="refentry.separator"><hr></div><a name="escape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_string &#8212; convert a string into escaped characters.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_string</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365079"></a><h2>Description</h2><p style="width:90%">
-	    Scans through each character in the specified string looking
-	    for special characters, escaping them as needed, mapping
-	    special characters to a quoted hexadecimal equivalent,
-	    returning the result.
-	</p><p style="width:90%">
-	    This is useful for quoting strings that are going to be
-	    part of a URL.
-	</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> 
-	    You must require the Rivet package in order to gain access to this command
-	</td></tr></table></div></div></div><div class="refentry" title="escape_sgml_chars"><div class="refentry.separator"><hr></div><a name="escape_sgml_chars"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_sgml_chars &#8212; escape special SGML characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_sgml_chars</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365134"></a><h2>Description</h2><p style="width:90%">
-	  Scans through each character in the specified string looking
-	  for any special (with respect to SGML, and hence HTML) characters
-	  from the specified string, and returns the result.  
-	  For example, the right angle
-	  bracket is escaped to the corrected ampersand gt symbol.
-	</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> 
-	    You must require the Rivet package in order to gain access to this command
-	</td></tr></table></div></div></div><div class="refentry" title="escape_shell_command"><div class="refentry.separator"><hr></div><a name="escape_shell_command"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_shell_command &#8212; escape shell metacharacters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_shell_command</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365186"></a><h2>Description</h2><p style="width:90%">
-	  Scans through each character in the specified string looking
-	  for any shell metacharacters, such as asterisk, less than and
-	  greater than, parens, square brackets, curly brackets, angle 
-	  brackets, dollar signs, backslashes, semicolons, ampersands,
-	  vertical bars, etc. 	
-	</p><p style="width:90%">
-	  For each metacharacter found, it is quoted in the result by
-	  prepending it with a backslash, returning the result.
-	</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> 
-	    You must require the Rivet package in order to gain access to this command
-	</td></tr></table></div></div></div><div class="refentry" title="unescape_string"><div class="refentry.separator"><hr></div><a name="unescape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>unescape_string &#8212; unescape escaped characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">unescape_string</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365242"></a><h2>Description</h2><p style="width:90%">
-	  Scans through each character in the specified string looking
-	  for escaped character sequences (characters containing a
-	  percent sign and two hexadecimal characters, unescaping them 
-	  back to their original character values, as needed, also mapping
-	  plus signs to spaces, and returning the result.
-	</p><p style="width:90%">
-	    This is useful for unquoting strings that have been quoted to
-	    be part of a URL.
-	</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> 
-	    You must require the Rivet package in order to gain access to this command
-	</td></tr></table></div></div></div><div class="refentry" title="apache_log_error"><div class="refentry.separator"><hr></div><a name="apache_log_error"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_log_error &#8212; log messages to the Apache error log</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_log_error</span>  ?<span style="font-family:monospace; font-weight: bold;">priority</span>? ?<span style="font-family:monospace; font-weight: bold;">message</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365305"></a><h2>Description</h2><p style="width:90%">The apache_log_error command logs a message to the 
-	  Apache error log, whose name and location have been
-	  set by the ErrorLog directive.
-	</p><p style="width:90%">
-	Priority must be one of
-	    debug,
-	    info,
-	    notice,
-	    warning,
-	    err,
-	    crit,
-	    alert, or
-	    emerg.
-	</p></div></div><div class="refentry" title="apache_table"><div class="refentry.separator"><hr></div><a name="apache_table"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_table &#8212; access and manipulate Apache tables in the request structure.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>  (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">unset</span> | <span style="font-family:monospace; font-weight: bold;">names</span> | <span style="font-family:monospace; font-weight: bold;">array_get</span> | <span style="font-family:monospace; font-weight: bold;">clear</span>)</div></div></div><div class="refsect1" title="Description"><a name="id365435"></a><h2>Description</h2><p style="width:90%">The apache_table command is for accessing and manipulating
-	  Apache tables in the request structure.
-	</p><p style="width:90%">
-	The table name must be one of
-	    notes,
-	    headers_in,
-	    headers_out,
-	    err_headers_out, or
-	    subprocess_env.
-	</p><div class="variablelist"><dl><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">get</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		When given the name of an Apache table
-		<em class="replaceable"><code>tablename</code></em>
-		and the name of a key
-		<em class="replaceable"><code>tablename</code></em>,
-		returns the value of the key in the table, or an empty
-		string.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">set</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">set</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>list</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Stores the
-		<em class="replaceable"><code>value</code></em> in
-		the table
-		<em class="replaceable"><code>tablename</code></em>
-		under the key
-		<em class="replaceable"><code>key</code></em>.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-	        For the list form,
-		<em class="replaceable"><code>list</code></em> contains
-		a list of zero or more pairs of key-value pairs to be
-		set into the table
-		<em class="replaceable"><code>tablename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">exists</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns 1 if the specified key,
-		<em class="replaceable"><code>key</code></em>,
-		exists in table
-		<em class="replaceable"><code>tablename</code></em>,
-		else 0.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">unset</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-	        Removes the key-value pair referenced by
-		<em class="replaceable"><code>key</code></em>
-		from the table
-		<em class="replaceable"><code>tablename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">names</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns a list of all of the keys present in the table
-		<em class="replaceable"><code>tablename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">array_get</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-	        Returns a list of key-value pairs from the table
-		<em class="replaceable"><code>tablename</code></em>.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span>   <span style="font-family:monospace; font-weight: bold;">clear</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tablename</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Clears the contents of the specified table.
-	      </div></div></dd></dl></div></div></div></div><div class="section" title="Examples and Usage"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="examples"></a>Examples and Usage</h2></div></div></div><p style="width:90%">
-      Some examples of Rivet usage follow.  Some prior Tcl knowledge
-      is assumed.  If you don't know much Tcl, don't worry, it's easy,
-      and there are some good resources available on the web that will
-      get you up to speed quickly.  Go to the 
-      <a class="link" href="#websites" title="Web Sites">web sites</a> section and have a look.
-    </p><div class="example"><a name="hello%20world"></a><p class="title"><b>Example 1. Hello World</b></p><div class="example-contents"><p style="width:90%">
-	As with any tool, it's always nice to see something work, so
-	let's create a small "Hello World" page.</p><p style="width:90%">
-	Assuming you have Apache configured correctly, create a file
-	called <code class="filename">hello.rvt</code> where Apache can find
-	it, with the following content:
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;?
-puts "Hello World"
-?&gt;
-</pre><p style="width:90%">
-	If you then access it with your browser, you should see a
-	blank page with the text "Hello World" (without the quotes) on
-	it.
-      </p></div></div><br class="example-break"><div class="example"><a name="id369279"></a><p class="title"><b>Example 2. Generate a Table</b></p><div class="example-contents"><p style="width:90%">
-	    In another simple example, we dynamically generate a table:
-	  </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;? puts "&lt;table&gt;\n"
-for {set i 1} { $i &lt;= 8 } {incr i} {
-    puts "&lt;tr&gt;\n"
-    for {set j 1} {$j &lt;= 8} {incr j} {
-        set num [ expr $i * $j * 4 - 1]
-        puts [ format "&lt;td bgcolor=\"%02x%02x%02x\" &gt; $num $num $num &lt;/td&gt;\n" \
-		   $num $num $num ]
-    }
-    puts "&lt;/tr&gt;\n"
-}
-puts "&lt;/table&gt;\n" ?&gt;
-</pre><p style="width:90%">
-	    If you read the code, you can see that this is pure Tcl.  We
-	    could take the same code, run it outside of Rivet, and it
-	    would generate the same HTML!
-	  </p><p style="width:90%">
-	    The result should look something like this:
-	  </p><div><img src="table.png"></div></div></div><br class="example-break"><div class="example"><a name="variable_access"></a><p class="title"><b>Example 3. Variable Access</b></p><div class="example-contents"><p style="width:90%">
-	Here, we demonstrate how to access variables set by GET or
-	POST operations.
-      </p><p style="width:90%">
-	Given an HTML form like the following:
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">     &lt;form action="vars.rvt"&gt;
-      &lt;table&gt;
-	&lt;tbody&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;b&gt;Title:&lt;/b&gt;&lt;/td&gt;
-	    &lt;td&gt;&lt;input name="title"&gt;&lt;/td&gt;
-	  &lt;/tr&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;b&gt;Salary:&lt;/b&gt;&lt;/td&gt;
-	    &lt;td&gt;&lt;input name="salary"&gt;&lt;/td&gt;
-	  &lt;/tr&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;b&gt;Boss:&lt;/b&gt;&lt;/td&gt;
-	    &lt;td&gt;&lt;input name="boss"&gt;&lt;/td&gt;&lt;/tr&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;b&gt;Skills:&lt;/b&gt;&lt;/td&gt;
-	    &lt;td&gt;
-	      &lt;select name="skills" multiple="multiple"&gt;
-		&lt;option&gt;c&lt;/option&gt;
-		&lt;option&gt;java&lt;/option&gt;
-		&lt;option&gt;Tcl&lt;/option&gt;
-		&lt;option&gt;Perl&lt;/option&gt;
-	      &lt;/select&gt;
-	    &lt;/td&gt;
-	  &lt;/tr&gt;
-	  &lt;tr&gt;
-	    &lt;td&gt;&lt;input type="submit"&gt;&lt;/td&gt;
-	  &lt;/tr&gt;
-	&lt;/tbody&gt;
-      &lt;/table&gt;
-    &lt;/form&gt;
-</pre><p style="width:90%">
-	We can use this Rivet script to get the variable values:
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;?
-set errlist {}
-if { [var exists title] } {
-    set title [var get title]
-} else {
-    set errlist "You need to enter a title"
-}
-
-if { [var exists salary] } {
-    set salary [var get salary]
-    if { ! [string is digit $salary] } {
-	lappend errlist "Salary must be a number"
-    }
-} else {
-    lappend errlist "You need to enter a salary"
-}
-
-if { [var exists boss] } {
-    set boss [var get boss]
-} else {
-    set boss "Mr. Burns"
-}
-
-if { [var exists skills] } {
-    set skills [var list skills]
-} else {
-    lappend errlist "You need to enter some skills"
-}
-
-if { [llength $errlist] != 0 } {
-    foreach err $errlist {
-	puts "&lt;b&gt; $err &lt;/b&gt;"
-    }
-} else {
-    puts "Thanks for the information!"
-    ?&gt;
-    &lt;table&gt;
-      &lt;tbody&gt;
-	&lt;tr&gt;
-	  &lt;td&gt;&lt;b&gt;Title:&lt;/b&gt;&lt;/td&gt;
-	  &lt;td&gt;&lt;? puts $title ?&gt;&lt;/td&gt;
-	&lt;/tr&gt;
-	&lt;tr&gt;
-	  &lt;td&gt;&lt;b&gt;Boss:&lt;/b&gt;&lt;/td&gt;
-	  &lt;td&gt;&lt;? puts $boss ?&gt;&lt;/td&gt;
-	&lt;/tr&gt;
-	&lt;tr&gt;
-	  &lt;td&gt;&lt;b&gt;Salary:&lt;/b&gt;&lt;/td&gt;
-	  &lt;td&gt;&lt;? puts $salary ?&gt;&lt;/td&gt;
-	&lt;/tr&gt;
-	&lt;tr&gt;
-	  &lt;td&gt;&lt;b&gt;Skills:&lt;/b&gt;&lt;/td&gt;
-	  &lt;td&gt;&lt;? puts $skills ?&gt;&lt;/td&gt;
-	&lt;/tr&gt;
-      &lt;/tbody&gt;
-    &lt;/table&gt;
-    &lt;?
-}
-?&gt;
-</pre><p style="width:90%">
-	The first statement checks to make sure that the
-	<code class="varname">boss</code> variable has been passed to the
-	script, and then does something with that information.  If
-	it's not present, an error is added to the list of errors.
-      </p><p style="width:90%">
-	In the second block of code, the variable
-	<code class="varname">salary</code> is fetched, with one more error
-	check - because it's a number, it needs to be composed of
-	digits.
-      </p><p style="width:90%">
-	The <code class="varname">boss</code> variable isn't required to have
-	been sent - we set it to "Mr. Burns" if it isn't among the
-	information we received.
-      </p><p style="width:90%">
-	The last bit of variable handing code is a bit trickier.
-	Because <code class="varname">skills</code> is a listbox, and can
-	potentially have multiple values, we opt to receive them as a
-	list, so that at some point, we could iterate over them.
-      </p><p style="width:90%">
-	The script then checks to make sure that
-	<code class="varname">errlist</code> is empty and outputting a thankyou
-	message.  If <code class="varname">errlist</code> is not empty, the list
-	of errors it contains is printed.
-      </p></div></div><br class="example-break"><div class="example"><a name="file_upload"></a><p class="title"><b>Example 4. File Upload</b></p><div class="example-contents"><p style="width:90%">
-	The <span style="font-family:monospace"><span class="command"><strong>upload</strong></span></span> command endows Rivet with an
-	interface to access files transferred over http as parts of a
-	multipart form.  The following HTML in one file, say,
-	<code class="filename">upload.html</code> creates a form with a text
-	input entry. By clicking the file chooser button the file
-	browser shows up and the user selects the file to be uploaded
-	(the file path will appear in the text input).  In order to make
-	sure you're uploading the whole file you must combine the
-	action of the enctype and method attributes of the
-	&lt;form...&gt; tag in the way shown in the example.  Failure
-	to do so would result in the client sending only the file's
-	path, rather than the actual contents.
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;form action="foo.rvt" enctype="multipart/form-data" method="post"&gt;
-&lt;input type="file" name="MyUpload"&gt;&lt;/input&gt;
-&lt;input type="submit" value="Send File"&gt;&lt;/input&gt;
-&lt;/form&gt;
-</pre><p style="width:90%">
-	In the script invoked by the form
-	(<code class="filename">upload.rvt</code>) <span style="font-family:monospace"><span class="command"><strong>upload</strong></span></span>
-	 ?<span style="font-family:monospace; font-weight: bold;">argument ...</span>? commands can be used to manipulate the
-	various files uploaded.
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;?
-upload save MyUpload /tmp/uploadfiles/file1
-puts "Saved file [upload filename MyUpload] \
-	([upload size MyUpload] bytes) to server"
-?&gt;</pre><p style="width:90%">
-	Don't forget that the apache server must have write access to
-	the directory where files are being created.  The Rivet Apache
-	directives have a substantial impact on the upload process,
-	you have to carefully read the docs in order to set the
-	appropriate directives values that would match your
-	requirements.
-      </p><p style="width:90%">
-	It is also important to understand that some 
-	<span style="font-family:monospace"><span class="command"><strong>upload</strong></span></span> commands are effective only when
-	used in a mutually exclusive way.  Apache stores the data in
-	temporary files which are read by the <span style="font-family:monospace"><span class="command"><strong>upload save
-	 ?<span style="font-family:monospace; font-weight: bold;">upload name</span>? ?<span style="font-family:monospace; font-weight: bold;">filename</span>?</strong></span></span> or by the
-	<span style="font-family:monospace"><span class="command"><strong>upload data  ?<span style="font-family:monospace; font-weight: bold;">upload name</span>?</strong></span></span>
-	command. Subsequent calls to these 2 commands using the same
-	 ?<span style="font-family:monospace; font-weight: bold;">upload name</span>? argument will return no data on the
-	second call.  Likewise <span style="font-family:monospace"><span class="command"><strong>upload channel  ?<span style="font-family:monospace; font-weight: bold;">upload
-	name</span>?</strong></span></span> will return a Tcl file channel that you
-	can use in regular Tcl scripts only if you haven't already
-	read the data, for example with a call to the <span style="font-family:monospace"><span class="command"><strong>upload
-	data  ?<span style="font-family:monospace; font-weight: bold;">upload name</span>?</strong></span></span> command.
-      </p></div></div><br class="example-break"><div class="example"><a name="file_download"></a><p class="title"><b>Example 5. File Download</b></p><div class="example-contents"><p style="width:90%">
-	In general setting up a data file for being sent over http is 
-	as easy as determining the file's URI and letting Apache's
-	do all that is needed. If this approach fits your design all 
-	you have to do is to keep the downloadable files somewhere 
-	within Apache's DocumentRoot (or in any of the directories 
-	Apache has right to access).
-      </p><p style="width:90%">
-	When a client sends a request for a file, Apache takes
-	care of determining the filetype, sends appropriate headers to
-	the client and then the file content. The client is responsible
-	for deciding how to handle the data accordingly to the 
-	"content-type" headers and its internal design. For example
-	when browsers give up trying to display a certain "content-type"
-	they display a download dialog box asking for directions from
-	the user. 
-      </p><p style="width:90%">
-	Rivet can help if you have more sofisticated needs.  For
-	instance you may be developing an application that uses
-	webpages to collect input data. This information might be
-	passed on to scripts or programs for processing. 
-	In this case a real file representing the
-	data doesn't exist and the content is generated on demand 
-	by the server. 
-	In other circumstances you may need to dynamically inhibit 
-	the download of specific files and hide them away, 
-	Your scripts may expunge from the pages
-	every link to these files (your pages are dynamic, aren't
-	they?) and move them out of way, but it looks like a
-	cumbersome solution.
-      </p><p style="width:90%">
-	Putting Tcl and Rivet in charge of the whole download
-	mechanism helps in building cleaner and safer approaches to
-	the download problem.
-      </p><p style="width:90%">
-	In this example a procedure checks for the existence of a
-	parameter passed in by the browser. The parameter is the name
-	(without extension) of a pdf file.  
-	Pdf files are stored in a directory whose path is
-	in the <span style="font-family:monospace"><span class="command"><strong>pdf_repository</strong></span></span> variable.
-      </p><p style="width:90%">
-	This code is reported as an example of how to control 
-	the protocol using the <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> command.
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting"># Code example for the transmission of a pdf file. 
-
-if {[var exists pdfname]} {
-    set pdfname [var get pdfname]
-
-# let's build the full path to the pdf file. The 'pdf_repository'
-# directory must be readable by the apache children
-
-    set pdf_full_path [file join $pdf_repository ${pdfname}.pdf]
-    if {[file exists $pdf_full_path]} {
-
-# Before the file is sent we inform the client about the file type and
-# file name. The client can be proposed a filename different from the
-# original one. In this case, this is the point where a new file name
-# must be generated.
-
-	headers type			"application/pdf"
-	headers add Content-Disposition "attachment; filename=${pdfname}.pdf"
-	headers add Content-Description "PDF Document"
-
-# The pdf is read and stored in a Tcl variable. The file handle is
-# configured for a binary read: we are just shipping raw data to a
-# client. The following 4 lines of code can be replaced by any code
-# that is able to retrieve the data to be sent from any data source
-# (e.g. database, external program, other Tcl code)
-
-	set paper	    [open $pdf_full_path r]
-	fconfigure	    $paper -translation binary
-	set pdf		    [read $paper]
-	close $paper
-
-# Now we got the data: let's tell the client how many bytes we are
-# about to send (useful for the download progress bar of a dialog box)
-
-	headers add Content-Length  [string length $pdf]
-
-# Let's send the actual file content
-
-	puts $pdf
-    } else {
-	source pdf_not_found_error.rvt
-    }
-} else {
-    source parameter_not_defined_error.rvt
-}
-</pre><p style="width:90%">
-	Before the pdf is sent the procedure sets the
-	<code class="constant">Content-Type</code>, 
-	<code class="constant">Content-Disposition</code>,
-	<code class="constant">Content-Description</code> and
-	<code class="constant">Content-Length</code> headers to inform
-	the client about the file type, name and size. Notice that in
-	order to set the <code class="constant">Content-Type</code> header Rivet 
-	uses a specialiezed form of the <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> 
-	command. Headers must be sent before data gets sent down the 
-	output channel. Messing with this prescription causes an error 
-	to be raised (in fact the protocol itself is been violated)
-      </p><p style="width:90%">
-	More information about the meaning of the mime headers in the
-	http context can be found at 
-	<a class="ulink" href="http://www.w3.org/Protocols/rfc2616/rfc2616.html" target="_top">http://www.w3.org/Protocols/rfc2616/rfc2616.html</a>
-      </p></div></div><br class="example-break"><div class="example"><a name="ajax_xml_messaging"></a><p class="title"><b>Example 6. XML Messages and Ajax</b></p><div class="example-contents"><p style="width:90%">
-	The <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> command is crucial for generating 
-	XML messages that have to be understood by JavaScript code used 
-	in Ajax applications. 
-      </p><p style="width:90%">
-	    Ajax is a web programming technique that heavily relies on the abilty of a web browser to run in backround
-	    JavaScript functions. JavaScript functions can be run as callbacks of events generated by a user interaction 
-	    but they can also react to other I/O events, for example network events. 
-	    Modern browsers endow JavaScript with the ability to build http GET/POST requests to be sent to a remote
-	    webserver. Generally these requests refer to scripts (e.g. Tcl scripts run by Rivet) which inherit as 
-	    variables the arguments encoded in the request. 
-	    The output produced by these scripts is sent back to the browser where callbacks functions extract 
-	    information and hand it down to functions that directly manipulate a page's DOM.
-	    Therefore through Ajax becomes possible to build web applications that are more responsive and flexible: 
-	    instead of going through the cycle of request-generation-transfer-display 
-	    of a whole page, Ajax scripts request from a webserver only the essential data to be displayed.
-	    Ajax emphasizes the requirement of separation between data and user interface, saves 
-	    the server from sending over the same html code and graphics if only a fraction of a page has to be 
-	    updated, allows the programmer to design flexible solutions for complex forms and makes possible
-	    to find new innovative approaches to simple problems (e.g. Google tips that show up as you type in
-	    a query). A downside of this approach is the large number of complexities, subtleties and incompatibilities 
-	    that still exist in the way different versions of popular browsers handle the DOM elements of a page.
-	</p><p style="width:90%">
-	    JavaScript can handle the communication between client and server through an instance of a 
-	    specialized object. For quite a long time 2 approaches existed, the non-IE world (Firefox,Safari,Opera...) 
-	    used the XMLHttpRequest class to create this object, whereas IE (before IE7) used the ActiveXObject class.
-	    With the release of IE7 Microsoft introduced native support for XMLHttpRequest class objects thus enabling
-	    programmers with a unique method for the development of dynamic pages. 
-	</p><p style="width:90%">
-	    By creating an instance of this class a POST or GET request can be sent to the server and the response is 
-	    stored in a property ('returnedText') of the communication object. It's become widely customary to encode 
-	    these responses in XML messages. You can invent your own message structure (either based on XML or anything 
-	    else), but one has to be aware that if the http headers are properly set and the message returned to the 
-	    client is a well formed XML fragment, also the property XMLResponse is assigned with a reference to an object 
-	    that represents the DOM of the XML response. By means of the XML W3C DOM interface the programmer can easily
-	    manipulate the data embedded in the XML message.
-	</p><p style="width:90%">
-	    In this example a Rivet script initializes an array with the essential data regarding a few of the major 
-	    composers of the european music. This array plays the role of a database. The script sends back to the 
-	    client two types of responses: a catalog of the composers or a single record of a composer.
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">#
-# Ajax query servelet: a pseudo database is built into the dictionary 'composers' with the
-# purpose of emulating the role of a real data source. 
-# The script answers with  2 types of responses: a catalog of the record ids and a database 
-# entry matching a given rec_id. The script obviously misses the error handling and the
-# likes. Just an example to see rivet sending xml data to a browser. The full Tcl, JavaScript
-# and HTML code are available from http://people.apache.org/~mxmanghi/rivet-ajax.tar.gz
-
-# This example requires Tcl8.5 or Tcl8.4 with package 'dict' 
-# (http://pascal.scheffers.net/software/tclDict-8.5.2.tar.gz)
-# 
-
-# A pseudo database. rec_id matches a record in the db
-
-set composers [dict create  1 {first_name Claudio middle_name "" last_name Monteverdi	\
-			       lifespan 1567-1643 era Renaissance/Baroque}		\
-			    2 {first_name Johann middle_name Sebastian last_name Bach	\
-			       lifespan 1685-1750 era Baroque }				\
-			    3 {first_name Ludwig middle_name "" last_name "van Beethoven" \
-			       lifespan 1770-1827 era Classical/Romantic}		\
-			    4 {first_name Wolfgang middle_name Amadeus last_name Mozart	\
-				lifespan 1756-1791 era Classical }			\
-			    5 {first_name Robert middle_name "" last_name Schumann	\
-				lifespan 1810-1856 era Romantic} ]
-
-# we use the 'load' argument in order to determine the type of query
-#
-# load=catalog:		    we have to return a list of the names in the database
-# load=composer&amp;res_id=&lt;id&gt;: the script is supposed to return the record
-#			    having &lt;id&gt; as record id
-
-if {[var exists load]} {
-
-# the xml declaration is common to every message (error messages included)
-
-    set xml "&lt;?xml version=\"1.0\" encoding=\"ISO-8859-1\"?&gt;\n"
-    switch [var get load] {
-	catalog {
-	    append xml "&lt;catalog&gt;\n"
-	    foreach nm [dict keys $composers] {
-		set first_name [dict get $composers $nm first_name]
-		set middle_name [dict get $composers $nm middle_name]
-		set last_name  [dict get $composers $nm last_name]
-	        append xml "    &lt;composer key=\"$nm\"&gt;$first_name "
-		if {[string length [string trim $middle_name]] &gt; 0} {
-		    append xml "$middle_name "
-		}
-		append xml "$last_name&lt;/composer&gt;\n"
-	    }
-	    append xml "&lt;/catalog&gt;\n"
-	}
-	composer {
-	    append xml "&lt;composer&gt;\n"
-	    if {[var exists rec_id]} {
-		set rec_id [var get rec_id]
-		if {[dict exists $composers $rec_id]} {
-
-		    foreach {k v} [dict get $composers $rec_id] {
-			append xml "&lt;$k&gt;$v&lt;/$k&gt;\n"
-		    }
-
-		}
-	    }
-	    append xml "&lt;/composer&gt;\n"
-	}
-    }
-
-# we have to tell the client this is an XML message. Failing to do so
-# would result in an XMLResponse property set to null
-
-    headers type "text/xml"
-    headers add Content-Length [string length $xml]
-    puts $xml
-}
-
-</pre><p style="width:90%">
-	    For sake of brevity the JavaScript and HTML will not listed here. They can be downloaded (along with the Tcl 
-	    script) stored in the <a class="ulink" href="http://people.apache.org/~mxmanghi/rivet-ajax.tar.gz" target="_top">rivet-ajax.tar.gz</a> archive. 
-	    By simply opening this tar archive in a directory accessible 
-	    by your apache server and pointing your browser to the rivetService.html page you should see a page with a 
-	    drop-down list. Every time a different name is picked from the list a new query is sent and logged in the 
-	    apache access.log file, even though the html is never reloaded.
-	</p></div></div><br class="example-break"></div><div class="section" title="Rivet Tcl Packages"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="tcl_packages"></a>Rivet Tcl Packages</h2></div></div></div><p style="width:90%">
-      In addition to the core Apache module, Rivet provides a number
-      of Tcl packages that include potentially useful code.
-    </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-				commserver is a package providing a server that can be
-				used for IPC.  Still experimental.  Requires the comm package
-				from tcllib.
-			</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">dio is a database abstraction layer.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-				dtcl is a compatibility package for mod_dtcl
-				applications.
-			</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">form - for creating forms.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">rivet - some additional, useful routines.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">tclrivet</div></li></ul></div></div><div class="section" title="DIO - Database Interface Objects"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="dio"></a>DIO - Database Interface Objects</h2></div></div></div><div class="refentry" title="DIO"><a name="dio_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIO &#8212; Database Interface Objects</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">::DIO::handle</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>interface</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id370308"></a><h2>Description</h2><p style="width:90%">
-	  <span style="font-family:monospace"><span class="command"><strong>DIO</strong></span></span> is designed to be a generic,
-	  object-oriented interface to SQL databases.  Its main goal
-	  is to be as generic as possible, but since not all SQL
-	  databases support the exact same syntaxes, keeping code
-	  generic between databases is left to the abilities of the
-	  programmer.  DIO simply provides a way to keep the Tcl
-	  interface generic.
-	</p><p style="width:90%">
-	  interface - The name of the database
-	  interface.  Currently supported interfaces are
-	  Postgresql and Mysql.
-	</p><p style="width:90%">
-	  If <em class="replaceable"><code>objectName</code></em> is
-	  specified, DIO creates an object of that name.  If there is
-	  no <em class="replaceable"><code>objectName</code></em>
-	  given, DIO will automatically generate a unique object ID
-	</p></div><div class="refsect1" title="Options"><a name="id370351"></a><h2>Options</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-host</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>hostname</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The hostname of the computer to connect to.  If none
-		is given, DIO assumes the local host.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-port</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>portNumber</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The port number to connect to on hostname.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-user</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>username</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The username you wish to login to the server as.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-pass</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>password</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The password to login to the server with.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-db</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>database</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The name of the database to connect to.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-table</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>tableName</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The default table to use when using built-in commands
-		for storing and fetching.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-keyfield</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>keyFieldname</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The default field to use as the primary key when using
-		built-in commands for storing and fetching.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-autokey</span>  (<span style="font-family:monospace; font-weight: bold;">1</span> | <span style="font-family:monospace; font-weight: bold;">0</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If this option is set to 1, DIO will attempt to
-		determine an automatic key for
-		keyField when storing and fetching.
-		In most databases, this requires that the
-		sequence also be specified.  In the
-		case of MySQL, where sequences do not exist, autokey
-		must be used in conjunction with a table which has a
-		field specified as AUTO.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-sequence</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>sequenceName</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If DIO is automatically generating keys, it will use
-		this sequence as a means to gain a unique number for
-		the stored key.</div></div></dd></dl></div></div><div class="refsect1" title="DIO Object Commands"><a name="id370662"></a><h2>DIO Object Commands</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">array</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute request as a SQL query and
-		create an array from the first record found.  The
-		array is set with the fields of the table and the
-		values of the record found.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">autokey</span>? (<span style="font-family:monospace; font-weight: bold;">value</span> | <span style="font-family:monospace; font-weight: bold;">boolean</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current autokey value.  If
-		value is specified, it sets a new
-		value for the autokey option.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">close</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">	      Close the current database connection.  This command is
-		automatically called when the DIO object is destroyed.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">count</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">	      Return a count of the number of rows in the
-		specified (or current) table.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">db</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current database.  If
-		value is specified, it sets a new
-		value for the database.  In most cases, the DIO object
-		will automatically connect to the new database when
-		this option is changed.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">delete</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Delete a record from the database where the primary
-		key matches key.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">destroy</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Destroy the DIO object.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">errorinfo</span>? ?<span style="font-family:monospace; font-weight: bold;">value</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">errorinfo contains the value of
-		the last error, if any, to occur while executing a
-		request.  When a request fails for any reason, this
-		variable is filled with the error message from the SQL
-		interface package.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">exec</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute request as an SQL query.
-		When the exec command is called, the query is
-		executed, and a DIO result object is returned.  From
-		there, the result object can be used to obtain
-		information about the query status and records in a
-		generic way.  See <a class="link" href="#resultobj" title="Result Object Commands">Result
-		  Object Commands</a>
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">fetch</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Fetch a record from the database where the primary key
-		matches key and store the result in
-		an array called arrayName.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">forall</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>body</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-	       Execute an SQL select request and iteratively 
-	       fill the array named arrayName
-	       with elements named with the matching field names, and
-	       values containing the matching values, repeatedly executing 
-	       the specified code body
-	       for each row returned.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">host</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current host value.  If
-		value is specified, it sets a new
-		value for the host.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">insert</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Insert fields from arrayName into the specified table in the database.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">interface</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the database interface type, such as 
-		<code class="literal">Postgresql</code> or <code class="literal">Mysql</code>.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">keyfield</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current keyfield.  If
-		value is specified, it sets a new
-		value for the keyfield.  Value can contain
-		multiple key fields as a Tcl list, if the table has multiple
-		key fields.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">keys</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>pattern</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return a list of keys in the database.  If
-		pattern is specified, only the keys
-		matching will be returned.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">lastkey</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the last key that was used from
-		sequence.  If sequence has not been
-		specified, this command returns an empty string.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">list</span>? ?<span style="font-family:monospace; font-weight: bold;">request</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute request as a SQL query and
-		return a list of the first column of each record
-		found.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">makekey</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>keyfield</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given an array containing key-value pairs and an optional
-		list of key fields (we use the object's keyfield if
-		none is specified), if we're doing auto keys, create
-		and return a new key, otherwise if it's a single key,
-		just return its value from the array, else if there are
-		multiple keys, return all the keys' values from the
-		array as a list.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">nextkey</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Increment sequence and return the
-		next key to be used.  If sequence has not been
-		specified, this command returns an empty
-		string.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">open</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Open the connection to the current database.  This
-		command is automatically called from any command which
-		accesses the database.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">pass</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current pass value.  If
-		value is specified, it sets a new
-		value for the password.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">port</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Return the current port value.  If value is
-		specified, it sets a new value for the port.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">quote</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>string</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Return the specified string quoted in
-	      a way that makes it acceptable as a value in a SQL statement.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">search</span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Search the current table, or the specified table if
-		-table tableName is specified, for rows matching
-		one or more fields as key-value pairs, and return
-		a query result handle.
-		See <a class="link" href="#resultobj" title="Result Object Commands">Result Object Commands</a>
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		For example,
-	<pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">set res [DIO search -table people -firstname Bob]</pre>
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">sequence</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current sequence value.  If value is
-		specified, it sets a new value for the sequence.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">store</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Store the contents of arrayName in the 
-		database, where the keys are the field names and the
-		array's values are the corresponding values.  Do an SQL insert 
-		if the corresponding row doesn't exist, or an update 
-		if it does.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		The table name must have been previously set
-		or specified with  ?<span style="font-family:monospace; font-weight: bold;">-table</span>?, and the key field(s) must
-		have been previously set or specified with
-		 ?<span style="font-family:monospace; font-weight: bold;">-keyfield</span>?.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Please note that the store method has significantly higher 
-		overhead than
-		the update or insert methods, so if you know you are
-		inserting a row rather than updating one, it is advisable
-		to use the insert method and, likewise, if you know you
-		are updating rather than inserting, to use the
-		update method.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute request as a SQL query and
-		return a string containing the first record
-		found.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">table</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">Return the current table.  If
-		value is specified, it sets a new
-		value for the table.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">update</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Updates the row matching the contents of 
-		arrayName in the database.  The matching
-		row must already exist.  The table can have already been
-		set or can be specified with  ?<span style="font-family:monospace; font-weight: bold;">-table</span>?, and
-		the key field(s) must either have been set or
-		specified with  ?<span style="font-family:monospace; font-weight: bold;">-keyfield</span>?.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">user</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current user value.  If
-		value is specified, it sets a new
-		value for the user.
-	      </div></div></dd></dl></div></div><div class="refsect1" title="Result Object Commands"><a name="resultobj"></a><h2>Result Object Commands</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">autocache</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current autocache value.  If
-		value is specified, it sets a new
-		value for autocache.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If autocache is true, the result object will
-		automatically cache rows as you use them.  This means
-		that the first time you execute a forall command, each
-		row is being cached in the result object itself and
-		will no longer need to access the SQL result.
-		<span class="emphasis"><em>Default is true</em></span>.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">cache</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Cache the results of the current SQL result in the
-		result object itself.  This means that even if the
-		database connection is closed and all the results of
-		the DIO object are lost, this result object will still
-		maintain a cached copy of its records.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">errorcode</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current errorcode value.  If value
-		is specified, it sets a new value for errorcode.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		errorcode contains the current code from the
-		SQL database which specifies the result of the query
-		statement which created this object.  This variable
-		can be used to determine the success or failure of a
-		query.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">errorinfo</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current errorinfo value.  If value
-		is specified, it sets a new value for errorinfo.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If an error occurred during the SQL query, DIO
-		attempts to set the value of errorinfo to the
-		resulting error message.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">fields</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current fields value.  If
-		value is specified, it sets a new
-		value for fields.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		fields contains the list of fields
-		used in this query.  The fields are in order of the
-		fields retrieved for each row.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">forall</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>-type</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>body</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Execute body over each record in the
-		result object.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">Types:</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-array</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Create
-		      <em class="replaceable"><code>varName</code></em>
-		      as an array where the indexes are the names of
-		      the fields in the table and the values are the
-		      values of the current row.
-		    </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-keyvalue</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Set
-		      <em class="replaceable"><code>varName</code></em>
-		      to a list containing key-value pairs of fields
-		      and values from the current row. (-field value
-		      -field value)
-		    </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-list</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Set
-		      <em class="replaceable"><code>varName</code></em>
-		      to a list that contains the values of the
-		      current row.
-		    </div></div></dd></dl></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">next</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>-type</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Retrieve the next record in the result object.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">Types:</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-array</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Create
-		      <em class="replaceable"><code>varName</code></em>
-		      as an array where the indexes are the names of
-		      the fields in the table and the values are the
-		      values of the current row.
-		    </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-keyvalue</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Set
-		      <em class="replaceable"><code>varName</code></em>
-		      to a list containing key-value pairs of fields
-		      and values from the current row. (-field value
-		      -field value)
-		    </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-list</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      Set
-		      <em class="replaceable"><code>varName</code></em>
-		      to a list that contains the values of the
-		      current row.
-		    </div></div></dd></dl></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">numrows</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current numrows value.  If value is
-		specified, it sets a new value for numrows.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		numrows is the number of rows in this result.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">resultid</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current resultid value.  If value is
-		specified, it sets a new value for resultid.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		resultid in most databases is the result
-		pointer which was given us by the database.  This
-		variable is not generic and should not really be used,
-		but it's there if you want it.
-	      </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>resultObj</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">rowid</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the current rowid value.  If value is
-		specified, it sets a new value for rowid.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		rowid contains the number of the
-		current result record in the result object.  This
-		variable should not really be accessed outside of the
-		result object, but it's there if you want it.
-	      </div></div></dd></dl></div></div></div></div><div class="section" title="DIODisplay - Database Interface Objects Display Class"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="diodisplay"></a>DIODisplay - Database Interface Objects Display Class</h2></div></div></div><div class="refentry" title="DIODisplay"><a name="diodisplay_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIODisplay &#8212; Database Interface Objects Display Class</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">DIODisplay</span>  (<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> | <span style="font-family:monospace; font-weight: bold;">#auto</span>) (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id376153"></a><h2>Description</h2><p style="width:90%">
-	  DIODisplay is an HTML display class that uses a DIO object
-	  to do the database work and a form object to do the
-	  displaying.
-	</p></div><div class="refsect1" title="Options"><a name="id376164"></a><h2>Options</h2><div class="variablelist"><dl><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-DIO</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>dioObject</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The DIO object to be used in conjunction with this
-		display object.  This is a required field.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-cleanup</span>  (<span style="font-family:monospace; font-weight: bold;">1</span> | <span style="font-family:monospace; font-weight: bold;">0</span>)</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		If cleanup is true, when the display object is shown,
-		it will automatically destroy the DIO object, the form
-		object and itself. Default is true.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-confirmdelete</span>  (<span style="font-family:monospace; font-weight: bold;">1</span> | <span style="font-family:monospace; font-weight: bold;">0</span>)</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		If confirmdelete is true, attempting to delete a
-		record from the database first requires that the user
-		confirm that they wish to delete it.  If it is false,
-		deletion occurs without prompting the user. Defaults
-		to true.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-errorhandler</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>procName</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The name of a procedure to handle errors when they
-		occur.  During the processing of requests and pages,
-		sometimes unexpected errors can occur.  This procedure
-		will handle any errors.  It is called with a single
-		argument, the error string.  Use of the Tcl errorInfo
-		and errorCode variables is also recommended though.
-	      </div><div style="margin-bottom:1.5ex ; padding .5ex">
-		If no errorhandler is specified, the handle_error
-		method within the Display object will handle the
-		error.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-fields</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Specify a list of fields to be used in this object.
-		The fields list is actually created by using the
-		<span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> command to add fields to the
-		display, but this option can be useful to sometimes
-		over-set the list of fields created.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-form</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>formObject</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A Rivet form object to use when displaying a form.  If
-		one is not specified, the display object will
-		automatically create one when it is necessary.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-functions</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>functionList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A list of functions to be displayed in the main menu.
-		This is a list of functions the user is allowed to
-		execute.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-pagesize</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>pageSize</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		How many records to show per page on a search or
-		list. Default is 25.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-rowfields</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A list of fields to display in each row of a search or
-		list.  When a search or list is conducted and the
-		resulting rows are displayed, this list will limit
-		which fields are displayed.  Default is all fields.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-rowfunctions</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>functionList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A list of functions to display in each row of a search
-		or list.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-searchfields</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldList</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		A list of fields to allow a user to search by.  This
-		list will appear in the main screen as a drop-down box
-		of fields the user can search on.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-title</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>title</code></em></span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The title of the display object.  This will be output
-		as the title of the HTML document.
-	      </div></div></dd></dl></div><div class="refsect2" title="DIO Display Object Commands"><a name="id376656"></a><h3>DIO Display Object Commands</h3><div class="variablelist"><dl><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">cleanup</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current cleanup value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for the cleanup
-		  option.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">delete</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Delete the specified key from the
-		  database.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The default action of this method is to call the DIO
-		  object's delete command.  This method can be
-		  overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">destroy</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Destroy the diodisplay object.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">DIO</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current DIO value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for DIO.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">errorhandler</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current errorhandler value.  If
-		  <em class="replaceable"><code>value</code></em> is specified, it
-		  sets a new value for errorhandler.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">fetch</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Fetch the specified <em class="replaceable"><code>key</code></em>
-		  from the database and store it as an array in
-		  <em class="replaceable"><code><em class="replaceable"><code>arrayName</code></em></code></em>.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The default of this method is to call the DIO object's fetch command.
-		  This method can be overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">field</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldName</code></em></span>  (<span style="font-family:monospace; font-weight: bold;">-arg</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arg</code></em></span>...)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Create a new field object and add it to the display.
-		  When a field is added to the display, a new object
-		  of the DIODisplayField class is created with its
-		  values.  See [FIXME - LINK] DIO Display Fields for
-		  options and values.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">fields</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current fields value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for fields.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">form</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current form value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for form.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">function</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>functionName</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Add a new function to the list of possible
-		  functions.  The display object will only execute
-		  methods and procs which are defined as functions by
-		  the object.  This is to protect the program from
-		  executing a different procedure other than what is
-		  allowed.  The <span style="font-family:monospace"><span class="command"><strong>function</strong></span></span> command
-		  adds a new function to the list of allowable
-		  functions.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">functions</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current functions value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for functions.  See
-		  [FIXME - LINK DIO Display Functions] for a list of
-		  default functions.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">pagesize</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current form pagesize.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for pagesize.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">rowfields</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current form rowfields.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for rowfields.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">rowfooter</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Output the footer of a list of rows to the web page.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">rowfunctions</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current rowfunctions value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for rowfunctions.
-		  
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">rowheader</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Output the header of a list of rows to the web page.
-		By default, this is an HTML table with a top row
-		listing the fields in the table.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">searchfields</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current searchfields value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for searchfields.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">show</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Show the display object.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This is the main method of the display class.  It
-		  looks for a variable called <code class="varname">mode</code>
-		  to be passed in through a form response and uses
-		  that mode to execute the appropriate function.  If
-		  mode is not given, the <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span>
-		  function is called.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function should be called for every page.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">showform</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Display the form of the object.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method displays the form for this display
-		  object.  It is used in the <span style="font-family:monospace"><span class="command"><strong>Add</strong></span></span>
-		  and <span style="font-family:monospace"><span class="command"><strong>Edit</strong></span></span> methods but can be
-		  called separately if needed.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overridden if the default look of
-		  a form needs to be changed.  By default, the form
-		  displayed is simply the fields in a table, in order.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">showrow</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Display a single row of a resulting list or search.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method is used to display a single row while
-		  displaying the result of a list or search.
-		  <em class="replaceable"><code>arrayName</code></em>
-		  is a fetched array of the record.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overriden if the default look of
-		  a row needs to be changed.  By default, each row is
-		  output as a table row with each field as a table
-		  data cell.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">showview</span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Display the view of the object.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method displays the view for this display
-		  object.  It is used in the
-		  <span style="font-family:monospace"><span class="command"><strong>Details</strong></span></span> methods but can be
-		  called separately if needed.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This method can be overridden if the default look of
-		  a view needs to be changed.  By default, the view
-		  displayed is simply the fields in a table, in order.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">store</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Store the specified
-		  <em class="replaceable"><code>arrayName</code></em>
-		  in the database.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The default of this method is to call the DIO
-		  object's store command.  This method can be
-		  overridden.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">text</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current text value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for text.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">title</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current title value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for title.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">type</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current type value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for type.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span>   <span style="font-family:monospace; font-weight: bold;">value</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Return the current value value.  If
-		  <em class="replaceable"><code>value</code></em> is
-		  specified, it sets a new value for value.
-		</div></div></dd></dl></div></div><div class="refsect2" title="DIO Display Functions"><a name="id377949"></a><h3>DIO Display Functions</h3><p style="width:90%">
-	    These functions are called from the
-	    <span style="font-family:monospace"><span class="command"><strong>show</strong></span></span> method when a form response
-	    variable called <code class="varname">mode</code> is set.  If no
-	    mode has been set, the default mode is
-	    <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span>.  The show method will handle
-	    the necessary switching of functions.  The show method
-	    also handles checking to make sure the function given is a
-	    true function.  If not, an error message is displayed.
-	    New functions can be added as methods or by use of the
-	    <span style="font-family:monospace"><span class="command"><strong>function</strong></span></span> command, and any of the
-	    default functions can be overridden with new methods to
-	    create an entirely new class.  These are the default
-	    functions provided.
-	  </p><div class="variablelist"><dl><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Add</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Show a form that allows the user to add a new entry
-		  to the database.  This function calls
-		  <span style="font-family:monospace"><span class="command"><strong>showform</strong></span></span> to display the form
-		  for adding the entry.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Cancel</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The <span style="font-family:monospace"><span class="command"><strong>Cancel</strong></span></span> function does nothing
-		  but redirect back to the <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span>
-		  function.  This is handy for forms which have a
-		  cancel button to point to.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Delete</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  If <code class="varname">confirmdelete</code> is true (the
-		  default), the <span style="font-family:monospace"><span class="command"><strong>Delete</strong></span></span> function
-		  will ask the user if they're sure they want to
-		  delete the record from the database.  If
-		  <code class="varname">confirmdelete</code> is false, or if the
-		  user confirms they wish to delete, this function
-		  calls the <span style="font-family:monospace"><span class="command"><strong>DoDelete</strong></span></span> function to do
-		  the actual deletion of a record.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Details</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Display the view of a single record from the database.  This function calls
-		  the <span style="font-family:monospace"><span class="command"><strong>showview</strong></span></span> method to display a single record from the database.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>DoDelete</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function actually deletes a record from the
-		  database.  Once it has deleted the record, it
-		  redirects the user back to the
-		  <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span> function.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Edit</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  Show a form that allows the user to edit an existing
-		  entry to the database.  This function calls
-		  <span style="font-family:monospace"><span class="command"><strong>showform</strong></span></span> to display the form for
-		  editing the entry and fills in the fields with the
-		  values retrieved from the database.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>List</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function lists the entires contents of the
-		  database.  Each record is output in a row using the
-		  <span style="font-family:monospace"><span class="command"><strong>showrow</strong></span></span> method.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function is the main function of the display
-		  object.  If there is no mode, or once most commands
-		  complete, the user will be redirected to this
-		  function.  The default <span style="font-family:monospace"><span class="command"><strong>Main</strong></span></span>
-		  function displays a list of functions the user can
-		  execute, a list of searchfields the user can search
-		  on, and a query field.  This query field is used by
-		  all of the other functions to determine what the
-		  user is trying to find.
-		</div><div style="margin-bottom:1.5ex ; padding .5ex">
-		  In the case of a <span style="font-family:monospace"><span class="command"><strong>search</strong></span></span>, query
-		  specifies what string the user is looking for in the
-		  specified search field.  In the case of
-		  <span style="font-family:monospace"><span class="command"><strong>delete</strong></span></span>,
-		  <span style="font-family:monospace"><span class="command"><strong>details</strong></span></span> or
-		  <span style="font-family:monospace"><span class="command"><strong>edit</strong></span></span>, the query specifies the
-		  database key to access.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Save</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function saves any data passed to using the
-		  <span style="font-family:monospace"><span class="command"><strong>store</strong></span></span> method.  This is primarily
-		  used by the <span style="font-family:monospace"><span class="command"><strong>add</strong></span></span> and
-		  <span style="font-family:monospace"><span class="command"><strong>edit</strong></span></span> commands to store the
-		  results of the form the user has filled out.
-		</div></div></dd><dt><span class="term"><span style="font-family:monospace"><span class="command"><strong>Search</strong></span></span></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  This function searches the database for any row
-		  whose <code class="varname">searchBy</code> field matches
-		  <code class="varname">query</code>. Once any number of records
-		  are found, <span style="font-family:monospace"><span class="command"><strong>Search</strong></span></span> displays the
-		  results in rows.
-		</div></div></dd></dl></div></div><div class="refsect2" title="DIO Display Fields"><a name="id378296"></a><h3>DIO Display Fields</h3><p style="width:90%">
-	    Display fields are created with the
-	    <span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> command of the DIODisplay object.
-	    Each field is created as a new DIODisplayField object or
-	    as a subclass of DIODisplayField.  The standard form
-	    fields use the standard field class, while specialized
-	    field types use a class with different options but still
-	    supports all of the same commands and values a generic
-	    field does.
-	  </p><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>displayObject</code></em></span>   <span style="font-family:monospace; font-weight: bold;">field</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldname</code></em></span>  (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span>...)</div></div><p style="width:90%">
-	    These are the standard options supported by field types:
-	  </p><div class="variablelist"><dl><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-formargs</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arguments</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  When a field is created, any argument which is not a
-		  standard option is assumed to be an argument passed
-		  to the form object when the field is shown in a
-		  form.  These arguments are all appended to the
-		  <code class="varname">formargs</code> variable.  You can use
-		  this option to override or add options after the
-		  initial creation of an object
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-readonly</span>  (<span style="font-family:monospace; font-weight: bold;">1</span> | <span style="font-family:monospace; font-weight: bold;">0</span>)</div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  If <code class="varname">readonly</code> is set to true, the
-		  field will not display a form entry when displaying
-		  in a form.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-text</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>text</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The text displayed next to the form or view field.
-		  By default, DIODisplay tries to figure out a pretty
-		  way to display the field name.  This text will
-		  override that default and display whatever is
-		  specified.
-		</div></div></dd><dt><span class="term">
-		<div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-type</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>fieldType</code></em></span> </div></div>
-	      </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		  The type of field this is.  This type is used when
-		  creating the field in the form object.
-		  <em class="replaceable"><code>fieldType</code></em>
-		  can be any of the accepted form field types.  See
-		  [FIXME - LINK DIO Field Types] for a list of types
-		  available.
-		</div></div></dd></dl></div><p style="width:90%">
-	    All other arguments, unless specified in an individual
-	    field type, are passed directly to the form object when
-	    the field is created.  So, you can pass
-	    -size or -maxsize to
-	    specify the length and maximum length of the field entry.
-	    Or, if type were textarea, you could define
-	    -rows and -cols to
-	    specify its row and column count.
-	  </p></div><div class="refsect2" title="DIO Display Field Types"><a name="id378572"></a><h3>DIO Display Field Types</h3><p style="width:90%">
-	    The following is a list of recognized field types by
-	    DIODisplay.  Some are standard HTML form fields, and
-	    others are DIODisplay fields which execute special actions
-	    and functions.
-	  </p></div></div></div></div><div class="section" title="Session Package"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="session_package"></a>Session Package</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id381026"></a>Introduction</h3></div></div></div><p style="width:90%">
-	This is session management code.  It provides an interface
-	to allow you to generate and track a browser's visit as a
-	"session", giving you a unique session ID and an interface
-	for storing and retrieving data for that session on the
-	server.
-      </p><p style="width:90%">
-	This is an alpha/beta release -- documentation is not in
-	final form, but everything you need should be in this file.
-      </p><p style="width:90%">
-	Using sessions and their included ability to store and
-	retrieve session-related data on the server, programmers can
-	generate more secure and higher-performance websites.  For
-	example, hidden fields do not have to be included in forms
-	(and the risk of them being manipulated by the user
-	mitigated) since data that would be stored in hidden fields
-	can now be stored in the session cache on the server.  Forms
-	are then faster since no hidden data is transmitted --
-	hidden fields must be sent twice, once in the form to the
-	broswer and once in the response from it.
-      </p><p style="width:90%">
-	Robust login systems, etc, can be built on top of this code.
-      </p></div><div class="section" title="Requirements"><div class="titlepage"><div><div><h3 class="title"><a name="requirements"></a>Requirements</h3></div></div></div><p style="width:90%">
-	  Currently has only been tested with Postgresql, MySql and Oracle.
-	  All DB interfacing is done through DIO, though, so it
-	  should be relatively easy to add support for other
-	  databases.
-	</p></div><div class="section" title="Preparing To Use It"><div class="titlepage"><div><div><h3 class="title"><a name="id381362"></a>Preparing To Use It</h3></div></div></div><p style="width:90%">Create the tables in your SQL server.  With Postgres,
-	  do a <span style="font-family:monospace"><span class="command"><strong>psql www</strong></span></span> or whatever DB you
-	  connect as, then a backslash-i on
-	  <code class="filename">session-create.sql</code></p><p style="width:90%">(If you need to delete the tables, use <code class="filename">session-drop.sql</code>)</p><p style="width:90%">The session code by default requires a DIO handle
-	  called <code class="varname">DIO</code> (the name of which can be
-	  overridden).  We get it by doing a</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-	      RivetServerConf ChildInitScript "package require DIO"
-	      RivetServerConf ChildInitScript "::DIO::handle Postgresql DIO -user www"
-	    </pre></div><div class="section" title="Example Usage"><div class="titlepage"><div><div><h3 class="title"><a name="id381407"></a>Example Usage</h3></div></div></div><p style="width:90%">In your httpd.conf, add:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "package require Session; Session SESSION"</pre><p style="width:90%">
-	  This tells Rivet you want to create a session object named
-	  SESSION in every child process Apache creates.</p><p style="width:90%">
-	  You can configure the session at this point using numerous
-	  key-value pairs (which are defined later in this doc).
-	  Here's a quick example:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "package require Session; Session SESSION \
-  -cookieLifetime 120 -debugMode 1"</pre><p style="width:90%">
-	  Turn debugging on -debugMode 1 to figure
-	  out what's going on -- it's really useful, if
-	  verbose.</p><p style="width:90%">
-	  In your .rvt file, when you're generating the &lt;HEAD&gt;
-	  section:
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">SESSION activate</pre><p style="width:90%">
-	  Activate handles everything for you with respect to
-	  creating new sessions, and for locating, validating, and
-	  updating existing sessions.  Activate will either locate
-	  an existing session, or create a new one.  Sessions will
-	  automatically be refreshed (their lifetimes extended) as
-	  additional requests are received during the session, all
-	  under the control of the key-value pairs controlling the
-	  session object.
-	</p></div><div class="section" title="Using Sessions From Your Code"><div class="titlepage"><div><div><h3 class="title"><a name="id381463"></a>Using Sessions From Your Code</h3></div></div></div><p style="width:90%">The main methods your code will use are:</p><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION</span> <span style="font-weight:bold ; font-family:monospace">id</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		After doing a <span style="font-family:monospace"><span class="command"><strong>SESSION activate</strong></span></span>,
-		this will return a 32-byte ASCII-encoded random
-		hexadecimal string.  Every time this browser comes
-		to us with a request within the timeout period, this
-		same string will be returned (assuming they have
-		cookies enabled).
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION</span> <span style="font-weight:bold ; font-family:monospace">is_new_session</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">returns 1 if it's a new session or 0 if it has
-		previously existed (i.e. it's a zero if this request
-		represents a "return" or subsequent visit to a
-		current session.)</div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION new_session_reason</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		This will return why this request is the first
-		request of a new session, either "no_cookie" saying
-		the browser didn't give us a session cookie,
-		"no_session" indicating we got a cookie but couldn't
-		find it in our session table, or "timeout" where
-		they had a cookie and we found the matching session
-		but the session has timed out.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION store</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>packageName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>data</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given the name of a package, a key, and some data.
-		Stores the data in the rivet session cache table.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION fetch</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>packageName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given a package name and a key, return the data
-		stored by the store method, or an empty string if
-		none was set.  (Status is set to the DIO error that
-		occurred, it can be fetched using the status
-		method.)
-	      </div></div></dd></dl></div></div><div class="section" title="Session Configuration Options"><div class="titlepage"><div><div><h3 class="title"><a name="id381660"></a>Session Configuration Options</h3></div></div></div><p style="width:90%">The following key-value pairs can be specified when a
-	  session object (like SESSION above) is created:</p><div class="variablelist"><dl><dt><span class="term">sessionLifetime</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">how many seconds the session will live for.
-		7200 == 2 hours
-	      </div></div></dd><dt><span class="term">sessionRefreshInterval</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		If a request is processed for a browser that
-		currently has a session and this long has elapsed
-		since the session update time was last updated,
-		update it.  900 == 15 minutes.  so if at least 15
-		minutes has elapsed and we've gotten a new request
-		for a page, update the session update time,
-		extending the session lifetime (sessions that are in
-		use keep getting extended).
-	      </div></div></dd><dt><span class="term">cookieName</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex"></div>
-	      name of the cookie stored on the user's web browser
-	      default rivetSession
-	    </div></dd><dt><span class="term">dioObject</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The name of the DIO object we'll use to access the
-		database (default DIO)
-	      </div></div></dd><dt><span class="term">gcProbability</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The probability that garbage collection will occur
-		in percent.  (default 1%, i.e. 1)</div></div></dd><dt><span class="term">gcMaxLifetime</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">the number of seconds after which
-		data will be seen as "garbage" and cleaned up --
-		defaults to 1 day (86400)</div></div></dd><dt><span class="term">refererCheck</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The substring you want to check each
-		HTTP referer for.  If the referer was sent by the
-		browser and the substring is not found, the session
-		will be deleted. (not coded yet)</div></div></dd><dt><span class="term">entropyFile</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The
-		name of a file that random binary data can be read
-		from.  (<code class="filename">/dev/urandom</code>) Data will
-		be used from this file to help generate a
-		super-hard-to-guess session ID.</div></div></dd><dt><span class="term">entropyLength</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The number of bytes which will be
-		read from the entropy file.  If 0, the entropy file
-		will not be read (default 0)</div></div></dd><dt><span class="term">scrambleCode</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Set the scramble code to something unique for the
-		site or your app or whatever, to slightly increase
-		the unguessability of session ids (default "some
-		random string")</div></div></dd><dt><span class="term">cookieLifetime</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The lifetime of the cookie in
-		minutes.  0 means until the browser is closed (I
-		think). (default 0)</div></div></dd><dt><span class="term">cookiePath</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The
-		webserver subpath that the session cookie applies to
-		(defaults to
-		<code class="filename">/</code>)</div></div></dd><dt><span class="term">cookieSecure</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Specifies whether the cookie should
-		only be sent over secure connections, 0 = any, 1 =
-		secure connections only (default
-		0)</div></div></dd><dt><span class="term">sessionTable</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The name of the table that session
-		info will be stored in (default
-		<code class="varname">rivet_session</code>)</div></div></dd><dt><span class="term">sessionCacheTable</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The name of the table that contains
-		cached session data (default
-		<code class="varname">rivet_session_cache</code>)</div></div></dd><dt><span class="term">debugMode</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Set
-		debug mode to 1 to trace through and see the session
-		object do its thing (default 0)</div></div></dd><dt><span class="term">debugFile</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The
-		file handle that debugging messages will be written
-		to (default
-		<code class="varname">stdout</code>)
-	      </div></div></dd></dl></div></div><div class="section" title="Session Methods"><div class="titlepage"><div><div><h3 class="title"><a name="id381888"></a>Session Methods</h3></div></div></div><p style="width:90%">
-	  The following methods can be invoked to find out
-	  information about the current session, store and fetch
-	  server data identified with this session, etc:
-	</p><div class="variablelist"><dl><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION status</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the status of the last operation
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION id</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Get the session ID of the current browser.  Returns
-		an empty string if there's no session (will not
-		happen is SESSION activate has been issued.)
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION new_session_reason</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the reason why there wasn't a previous
-		session, either "no_cookie" saying the browser
-		didn't give us a session cookie, "no_session"
-		indicating we got a cookie but couldn't find it in
-		the session table, or "timeout" when we had a cookie
-		and a session but the session had timed out.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION store</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>packageName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>data</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given a package name, a key string, and a data
-		string, store the data in the rivet session
-		cache.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION fetch</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>packageName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given a package name and a key, return the data
-		stored by the store method, or an empty string if
-		none was set.  Status is set to the DIO error that
-		occurred, it can be fetched using the status
-		method.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION delete</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given a user ID and looking at their IP address we
-		inherited from the environment (thanks, Apache),
-		remove them from the session table.  (the session
-		table is how the server remembers stuff about
-		sessions). If the session ID was not specified the
-		current session is deleted.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION activate</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Find and validate the session ID if they have one.
-		If they don't have one or it isn't valid (timed out,
-		etc), create a session and drop a cookie on
-		them.
-	      </div></div></dd></dl></div></div><div class="section" title="Getting Additional Randomness From The Entropy File"><div class="titlepage"><div><div><h3 class="title"><a name="id382114"></a>Getting Additional Randomness From The Entropy File</h3></div></div></div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "Session SESSION -entropyFile /dev/urandom \
-  -entropyLength 10 -debugMode 1"</pre><p style="width:90%">
-	  This options say we want to get randomness from an entropy
-	  file (random data pseudo-device) of /dev/urandom, to get ten
-	  bytes of random data from that entropy device, and to turn
-	  on debug mode, which will cause the SESSION object to output
-	  all manner of debugging information as it does stuff.  This
-	  has been tested on FreeBSD and appears to work.
-      </p></div></div><div class="section" title="Form: An HTML Form Fields Generation Utility"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="form"></a>Form: An HTML Form Fields Generation Utility</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id382744"></a>Introduction</h3></div></div></div><p style="width:90%">
-			The <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> package is a utility for generating html forms. A <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span>
-			object command saves the programmer from typing the cumbersome html code of input elements, 
-			working out a solution for better standardization and readability of the code. 
-			<span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> requires that only the minimum necessary to distinguish the element is
-			typed, greatly simplyfing the development of forms.
-			Options to the command are treated as a list of parameter-value pairs that become the defaults
-			for the corresponding attributes of the form.
-		</p><p style="width:90%">
-			A <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> object has specialized menthods to generate all of the standard 
-			input fields, i.e. text, password, hidden, generic button, submit or reset buttons and
-			image. <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> creates select input fields, radiobutton and checkbox
-			boolean options groups. Also new inputs introduced with HTML5 are supported: color, date, 
-			datetime, datetime-local, email, file, month, number, range, search, tel, time, url, week.
-		</p><p style="width:90%">
-			Other input elements can be generated using the general purpose 'field' method.			
-		</p></div><div class="refentry" title="form"><a name="form_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>form &#8212;  a Tcl command object for creating HTML forms</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">form</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>value_1</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>value_2</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?</div></div></div><div class="refsect1"><a name="id383158"></a><p style="width:90%">
-	                        creates and returns a new Tcl command named <em class="replaceable"><code>form_name</code></em>.
-			</p><div class="refsect2" title="Options"><a name="id383168"></a><h3>Options</h3><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-method</span>  ?<span style="font-family:monospace; font-weight: bold;">post|get</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-			      			The http method for sending the form data back to the server.
-			      			Possible values are get or post
-			      		</div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-								At the time of writing only the 'get' method is implemented		      	
-			      		</td></tr></table></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-name</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		      				a name for the form being created: this value becomes the value of the 
-		      				attribute 'name' in the &lt;form&gt; tag.
-		      			</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-defaults</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>default_values</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								an array of default values	to be assigned to the fields of the form. 
-								Every name in the array is matched with an input field, when
-								a given field gets added to the form it is initialized with the 
-								value of the corresponding variable in the array. 
-								This option works well in conjuction with the 
-								<span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> command of Rivet when default 
-								values come from another form.
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-action</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>URL</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								The URL the data are being sent to. If no  ?<span style="font-family:monospace; font-weight: bold;">-action</span>? switch is specified
-								the data are sent to the form's URL.
-							</div></div></dd></dl></div></div></div><div class="refsect1" title="Form Object Commands"><a name="id383335"></a><h2>Form Object Commands</h2><p style="width:90%">
-	Form object commands follow the usual syntax of Tcl commands with a  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>subcommand</code></em></span>? argument playing the
-	role of a switch among various functionalities of the command. Form objects also need the  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>? parameter 
-				which is to become the value of the 'name' attribute in an input field. This argument is the key that has to be 
-				used by the server-side script to retrieve the input field value. 
-			</p><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-								form_object   <span style="font-family:monospace; font-weight: bold;">subcommand</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>value1</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>value2</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?</div></div></div></dd></dl></div><p style="width:90%">			
-				Options passed to a subcommand are copied into the tag as attribute="value" pairs. 
-				Some subcommands (e.g. form, radiobuttons and checkboxes) treat specific options in a way 
-				that fits the specific organization and function of these fields. 
-			</p><p style="width:90%">
-				Exceptions to this general syntax are the <span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> and <span style="font-family:monospace"><span class="command"><strong>end</strong></span></span> subcommands.
-				<span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> is an abstract input field creation method and requires an additional
-				parameter specifiyng the type of field to create. Every concrete input field generation command
-				uses this subcommand internally to print the final html.
-			</p></div><div class="refsect1" title="Subcommands"><a name="id383457"></a><h2>Subcommands</h2><div class="refsect2"><a name="id383462"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">start</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-method <em class="replaceable"><code>get | post</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-name <em class="replaceable"><code>form_name</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-defaults <em class="replaceable"><code>default_values</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-action <em class="replaceable"><code>URL</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Print the &lt;form&gt; tag with all its attributes. 
-								This command must be called as first in the form generation
-								process. The following is a sample of code creating a form named 'formname' whose data will
-								be sent via the GET method. Initial form fields values will be obtained from array 
-		<code class="varname">response</code>
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-form myform -defaults response -method get -name formname
-myform start
-myform text	  text_entry -size 20
-myform select option_selected -values {opt1 opt2 opt3 opt4}
-myform submit submit -value Search
-myform end</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-								The code prints a form that sends a text entry content and the option value 
-								associated with a radiobutton. The URL of the server script is the same that
-								created the form. Use the  ?<span style="font-family:monospace; font-weight: bold;">-url</span>? option to specify a different url.
-							</div></div></dd></dl></div><div class="refsect3" title="Options"><a name="id383577"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-method</span>  ?<span style="font-family:monospace; font-weight: bold;">post|get</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-				      			The method to be used to encode the form data. 
-				      			Possible values are get or post
-				      		</div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-									Currently, only the 'get' method is implemented		      	
-				      		</td></tr></table></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-name</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-			      				a name for the form being generated: this value becomes the value of the 
-			      				attribute 'name' in the &lt;form&gt; tag.
-			      			</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-defaults</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>default_values</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-									an array of default values	to be assigned to the fields of the form. 
-									Every name in the array is matched with an input field, when
-									a given field gets added to the form it is initialized with the 
-									value of the corresponding variable in the array. 
-									This option works well in conjuction with the 
-									<span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> command of Rivet when default values
-									come from another form.
-								</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-action</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>URL</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-									The URL the data will be sent to. If no  ?<span style="font-family:monospace; font-weight: bold;">-action</span>? switch is specified
-									the data are sent to the form's URL.
-								</div></div></dd></dl></div></div></div><div class="refsect2"><a name="id383742"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">end</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">	
-			      			Print the &lt;/form&gt; closing tag. This command must
-								be called last in the form generation process
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id383772"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">field</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">type</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">	
-		Print a field of the given  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>type</code></em></span>? and  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>?,
-								including any default key-value pairs defined for this field 
-								type and optional key-value pairs included with the statement
-							</div></div></dd></dl></div><div class="refsect3" title="Options"><a name="id383842"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-opt1</span>  ?<span style="font-family:monospace; font-weight: bold;">val1</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-				      			Option description
-				      		</div></div></dd></dl></div></div></div><div class="refsect2"><a name="id383884"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">radiobuttons</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-values <em class="replaceable"><code>values</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-labels <em class="replaceable"><code>labels</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								the <span style="font-family:monospace"><span class="command"><strong>radiobutton</strong></span></span> creates a whole radiobutton group
-								with the values and labels specified in the argument list. 
-								If no  ?<span style="font-family:monospace; font-weight: bold;">-labels</span>? switch is
-								passed to the subcommand the values are printed as labels of 
-								the radiobutton.
-							</div><div class="refsect3" title="Options"><a name="id383963"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-values</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>values_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-												List of values associated with the radiobuttons to be displayed
-											</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-labels</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>labels_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-												List of labels to be printed with every radiobutton. There must
-												be a label for every radiobutton
-	 										</div></div></dd></dl></div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Example:
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-form myform -defaults response -method get -name formname
-myform start
-myform text text_entry -size 20
-myform radiobuttons fruit -values {big medium small} \
-              -labels {Watermelon Orange Strawberry} \
-              -class myradiobclass
-myform submit submit -value Search
-myform end</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-								will print the following HTML code.
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-&lt;input type="radio" name="fruit" class="myradiobclass" value="big" /&gt;Watermelon
-&lt;input type="radio" name="fruit" class="myradiobclass" value="medium" /&gt;Orange
-&lt;input type="radio" name="fruit" class="myradiobclass" value="small" /&gt;Strawberry
-</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-		if the <code class="varname">response</code> array has a variable for the name 'fruit' the corresponding 
-								radiobutton field is automatically checked. The options  ?<span style="font-family:monospace; font-weight: bold;">values</span>? and  ?<span style="font-family:monospace; font-weight: bold;">labels</span>?
-								are used internally and don't get into the tag attributes. If a  ?<span style="font-family:monospace; font-weight: bold;">labels</span>? 
-								option is not given, labels are assigned using the  ?<span style="font-family:monospace; font-weight: bold;">values</span>? list.
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384112"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">checkbox</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-label <em class="replaceable"><code>label</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-value <em class="replaceable"><code>value</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								The   <span style="font-family:monospace; font-weight: bold;">checkbox</span>  subcommand emits a checkbox 
-								type input field with the name, label and value attributes set 
-								according to the parameters passed to the subcommand.
-							</div><div class="refsect3" title="Options"><a name="id384184"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-values</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>values_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-												List of values associated with the checkboxes to be displayed
-											</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%;  margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-labels</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>labels_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-												List of labels to be printed with every checkbox. There must
-												be a label for every checkbox
-	 										</div></div></dd></dl></div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Example:
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">myform checkbox options -value opt1   -label "Option 1"
-myform checkbox options -value opt2   -label "Option 2"
-myform checkbox options -value opt3   -label "Option 3"
-myform checkbox options -value opt4   -label "Option 4"</pre><div style="margin-bottom:1.5ex ; padding .5ex">
-								Provided opt2 was in response array (in the list valued 'options' variable) that 
-								initialized the form, the output would look like this
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">&lt;input type="checkbox" name="options" label="Option 1" value="opt1" /&gt;Option 1
-&lt;input type="checkbox" name="options" label="Option 2" value="opt2" 
-       	 checked="checked" /&gt;Option 2
-&lt;input type="checkbox" name="options" label="Option 3" value="opt3" /&gt;Option 3
-&lt;input type="checkbox" name="options" label="Option 4" value="opt4" /&gt;Option 4</pre></div></dd></dl></div></div><div class="refsect2"><a name="id384289"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">password</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Same as text, but the input is obfuscated so as not to reveal the text being typed
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384335"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">hidden</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								hidden input element: typicall embedded in a form in order to
-								pass status variables.
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384382"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">submit</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								emits the code for a classical HTML submit button. Example: the following
-								code
-							</div><div style="margin-bottom:1.5ex ; padding .5ex">
-								<pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-	form myform -defaults response -method get -name feedsearch
-	myform start
-	myform submit submit -value Search</pre>						
-							</div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Would emit a form  like this
-							</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-	&lt;form...&gt;
-	&lt;input type="submit" name="submit" value="Search" /&gt; 
-	&lt;/form&gt;</pre></div></dd></dl></div></div><div class="refsect2"><a name="id384448"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">button</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		emits the code for a button field having  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>? as name
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384504"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">reset</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Classical HTML reset button that resets the input fields
-								back to their initial values
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384551"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">image</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an image input field
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384597"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">checkbox</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits a checkbox input field
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384643"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">radio</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits a radiobutton input field
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384689"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">color</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "color" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384736"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">date</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "date" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384782"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">datetime</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "datetime" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384828"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">datetime_local</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "datetime_local" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384874"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">email</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "email" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384920"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">file</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "file" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id384966"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">month</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "month" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id385012"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">number</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "number" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id385059"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">range</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "range" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id385105"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">search</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "search" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id385151"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">tel</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "tel" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id385197"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">time</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "time" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id385243"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">url</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "url" form field						
-							</div></div></dd></dl></div></div><div class="refsect2"><a name="id385289"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">week</span>  ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Emits an HTML 5 "week" form field						
-							</div></div></dd></dl></div></div></div></div></div><div class="section" title="Calendar Package"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="calendar_package"></a>Calendar Package</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id387514"></a>Introduction</h3></div></div></div><p style="width:90%">
-      	The package is based on the Calendar class, a class capable
-      	of printing an ascii calendar table that closely resembles the output 
-      	of the typical Unix <span style="font-family:monospace"><span class="command"><strong>cal</strong></span></span> command. The internal
-      	code is written entirely in Tcl, therefore doesn't rely on the 
-      	existance of <span style="font-family:monospace"><span class="command"><strong>cal</strong></span></span> on the system. 
-      	XmlCalendar inherits the basic methods and adds XML tagging to the
-      	table. XmlCalendar prints an XML calendar table whose header, 
-      	weekdays banner and days rows tags are configurable. 
-      	Also specific days or specific weeks can be given arbitrary attributes.
-      </p><p style="width:90%">
-      	Calendar core methods are based on the 
-      	<a class="ulink" href="http://wiki.tcl.tk/17964" target="_top">cal</a> procedure
-      	written by Richard Suchenwirth and published on the 
-      	<a class="ulink" href="http://wiki.tcl.tk" target="_top">Tcl Wiki</a>
-      </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-	The Calendar package uses Tcl <span style="font-family:monospace"><span class="command"><strong>dict</strong></span></span> command to manage markup 
-	information. Hence either Tcl8.5 or Tcl8.4 with 
-	<a class="ulink" href="http://wiki.tcl.tk/5042" target="_top">package dict</a> are required.   
-      </td></tr></table></div></div><div class="refentry" title="Calendar"><a name="calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>Calendar &#8212; Utility class the builds and prints a calendar table</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">Calendar</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span> </div></div></div><div class="refsect1" title="Calendar object subcommands"><a name="id387904"></a><h2>Calendar object subcommands</h2><p style="width:90%">
-				The main public command for a calendar object is 
-				<span style="font-family:monospace"><span class="command"><strong>emit</strong></span></span> that returns a calendar table
-			</p></div><div class="refsect1"><a name="id387921"></a><div class="variablelist"><p style="width:90%">
-	    			The method <span style="font-family:monospace"><span class="command"><strong>emit</strong></span></span> when invoked with a single argument
-	    			takes it as an year number and prints the whole calendar of
-	    			that year. When invoked with 2 arguments takes the first as a month, either
-	    			expressed in its shortened form ('Jan','Feb',...) or as a number in the 
-	    			range 1-12. The second argument is a year number.
-	    		</p><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-		      			calendar_obj <span style="font-weight:bold ; font-family:monospace">emit</span> </div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-		      			calendar_obj <span style="font-weight:bold ; font-family:monospace">emit</span>  ?<span style="font-family:monospace; font-weight: bold;">month</span>? ?<span style="font-family:monospace; font-weight: bold;">year</span>?</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-							calendar_obj <span style="font-weight:bold ; font-family:monospace">emit</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>month | year</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-							The method 'emit' if invoked without arguments returns an 
-							ASCII formatted calendar of the current month
-		      		</div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-set cal [Calendar #auto]
-set current_month [$cal emit]
-puts $current_month
-      Jun 2010
-  Su Mo Tu We Th Fr Sa
-        1  2  3  4  5
-  6  7  8  9 10 11 12
- 13 14 15 16 17 18 19
- 20 21 22 23 24 25 26
- 27 28 29 30</pre></div></dd></dl></div></div></div><div class="refentry" title="XmlCalendar"><div class="refentry.separator"><hr></div><a name="xml_calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>XmlCalendar &#8212; Prints XML formatted calendar tables</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">XmlCalendar</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?</div></div></div><div class="refsect1"><a name="id388088"></a><p style="width:90%">
-				An XmlCalendar object is created and returned. XmlCalendar objects
-				print XML formatted calendar tables. The markup can be customized
-				using the configuration options. 
-			</p><p style="width:90%">
-				Configuration options accept odd-length lists as values. An option_list has the following
-				structure
-			</p><p style="width:90%">
-				</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">tag_name attr11 val1 attr2 val2 ...</pre><p style="width:90%">			
-			</p><p style="width:90%">
-				The first element of an option list is a tag name, the remaining terms are therefore
-				an even-length sublist which is interpreted as a sequence of attribute-value pairs that
-				will in turn become attributes of the tag.
-			</p></div><div class="refsect1" title="Methods"><a name="id388114"></a><h2>Methods</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-		      			cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span> -opt1 val1 -opt2 val2</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-		      			cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span>  ?<span style="font-family:monospace; font-weight: bold;">month</span>? ?<span style="font-family:monospace; font-weight: bold;">year</span>? -opt1 val1 -opt2 val2</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-							cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span>  ?<span style="font-family:monospace; font-weight: bold;">
-							<em class="replaceable"><code>month | year</code></em></span>? -opt1 val1 
-							-opt2 val2</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-							The method 'emit' if invoked without arguments returns an 
-							XML calendar table of the current month
-		      		</div></div></dd></dl></div></div><div class="refsect1"><a name="id388206"></a><div class="refsect2" title="Options"><a name="id388208"></a><h3>Options</h3><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-container  (tag_name 
-								attr11 val1 attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns an options list to the XML element that 
-								will hold the whole table.   
-							</div><div style="margin-bottom:1.5ex ; padding .5ex">
-								The default tag for the container is 'calendar', with no attributes.
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-header  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns tag name and attributes to the XML header element (default: calheader) 						
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-body  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns tag name and attributes to the XML body element of the table (default: calbody) 						
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-banner  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns tag name and attributes to the XML banner element of the table (default: monthyear) 						
-							</div><div style="margin-bottom:1.5ex ; padding .5ex">
-								The header of a calendar table is made of a banner, showing the Month and Year number, and
-								of a weekdays bar. 							
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-foot  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns tag name and attributes to the XML foot element 
-								of the table (default: calfoot). 						
-							</div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-								This option was added for completeness, but it's not implemented yet							
-							</td></tr></table></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-banner_month  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								month name (default:month)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-banner_year  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								month name (default: year)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-weekdays  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								weekday header (default: weekdays)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-weekdays_cell  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								each single weekday (default: wkdays)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-days_row  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								each row of the calendar table (default: week)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-days_cell  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element representing
-								a cell in the calendar table (default: day)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-cell_function proc</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								If set this option is the name of a procedure that gets
-								called for every day of the month. The procedure must
-								accept 4 argument representing day, month, year and weekday
-								and must return an odd-length list interpreted in the same
-								way as options lists. 
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-current_day day</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								This option works as a simple method for pointing out
-								a specific day of the month. If set with a day number
-								that day will get the class attribute automatically
-								set as "current"
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-current_weekday 0-6 | today</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								This option works as a simple method for pointing out
-								a specific weekday of the month. If set with a weekday 
-								index (0: Sunday, 6: Saturday) the corresponding cell in
-								the weekdays header will get the class attribute automatically
-								set as "current_wkday"
-							</div></div></dd></dl></div></div></div></div><div class="refentry" title="HtmlCalendar"><div class="refentry.separator"><hr></div><a name="html_calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>HtmlCalendar &#8212; Concrete class derived from XmlCalendar</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">HtmlCalendar</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?</div></div></div><div class="refsect1"><a name="id388727"></a><p style="width:90%">
-				Concrete XmlCalendar class for printing html calendar tables. The markup of the class
-				is xhtml compliant and prints a code fragment for inclusion in a webpage.
-				The following is the class definition.
-			</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-::itcl::class HtmlCalendar {
-    inherit XmlCalendar
-    
-    constructor {args} {XmlCalendar::constructor $args} {
-    $this configure -container    table \
-                    -header       thead \
-                    -body         tbody \
-                    -banner       tr    \
-                    -banner_month {th colspan 3 style "text-align: right;"} \
-                    -banner_year  {th colspan 4 style "text-align: left;"}  \
-                    -weekdays     tr    \
-                    -weekday_cell th    \
-                    -days_row     tr    \
-                    -days_cell    td 
-    }
-}</pre></div><div class="refsect1"><a name="id388746"></a><p style="width:90%">
-				A sample output from HtmlCalendar (with some styling)			
-			</p><p style="width:90%">
-				</p><div><img src="calendar.png"></div><p style="width:90%">			
-			</p></div></div></div><div class="section" title="Resources - How to Get Help"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="help"></a>Resources - How to Get Help</h2></div></div></div><div class="section" title="Mailing Lists"><div class="titlepage"><div><div><h3 class="title"><a name="id389501"></a>Mailing Lists</h3></div></div></div><p style="width:90%">
-	The Rivet mailing list is the first place you should turn for
-	help. If you haven't found the solution to your problem in the documentation  
-	or you have a question, idea, or comment about the Rivet code itself send email to
-	<code class="email">&lt;<a class="email" href="mailto:rivet-dev@tcl.apache.org">rivet-dev@tcl.apache.org</a>&gt;</code>. To subscribe to the list, post email to
-	<code class="email">&lt;<a class="email" href="mailto:rivet-dev-subscribe@tcl.apache.org">rivet-dev-subscribe@tcl.apache.org</a>&gt;</code>.
-      </p><p style="width:90%">
-	The mailing list archives are available at <a class="ulink" href="http://mail-archives.apache.org/mod_mbox/tcl-rivet-dev/" target="_top">http://mail-archives.apache.org/mod_mbox/tcl-rivet-dev/</a>
-      </p></div><div class="section" title="Newsgroup"><div class="titlepage"><div><div><h3 class="title"><a name="id389528"></a>Newsgroup</h3></div></div></div><p style="width:90%">
-	The <a class="ulink" href="news:comp.lang.tcl" target="_top">news:comp.lang.tcl</a> newsgroup is a good
-	place to ask about Tcl questions in general.  Rivet developers
-	also follow the newsgroup, but it's best to ask Rivet-specific
-	questions on the Rivet list.
-      </p></div><div class="section" title="Web Sites"><div class="titlepage"><div><div><h3 class="title"><a name="websites"></a>Web Sites</h3></div></div></div><p style="width:90%">
-	There are several web sites that cover Apache and Tcl
-	extensively.
-      </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    <a class="ulink" href="http://tcl.apache.org" target="_top">http://tcl.apache.org</a> is the home for the
-	    Apache Tcl project.  Go there for the latest versions of
-	    our software (if you aren't reading these pages off of the
-	    site!).
-	  </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    <a class="ulink" href="http://httpd.apache.org/docs/" target="_top">http://httpd.apache.org/docs/</a> is the first
-	    place to go for questions about the Apache web server.
-	  </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    <a class="ulink" href="http://www.tcl.tk" target="_top">http://www.tcl.tk</a> is the canonical site
-	    for Tcl information.
-	  </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-	    <a class="ulink" href="http://wiki.tcl.tk" target="_top">http://wiki.tcl.tk</a> is the Tcl'ers Wiki, a
-	    free-form place to search for answers and ask for help.
-	  </div></li></ul></div></div><div class="section" title="Bug Tracking System"><div class="titlepage"><div><div><h3 class="title"><a name="id389901"></a>Bug Tracking System</h3></div></div></div><p style="width:90%">
-	Apache Rivet uses the Apache Bug Tracking system at <a class="ulink" href="http://issues.apache.org/bugzilla/" target="_top">http://issues.apache.org/bugzilla/</a>.  Here,
-	you can report problems, or check and see if existing issues
-	are already known and being dealt with.
-      </p></div><div class="section" title="IRC"><div class="titlepage"><div><div><h3 class="title"><a name="id389917"></a>IRC</h3></div></div></div><p style="width:90%">
-        Occasionally, someone from the Rivet team is on IRC at
-        irc.freenode.net, channel #tcl.
-      </p></div><div class="section" title="Editing Rivet Template Files"><div class="titlepage"><div><div><h3 class="title"><a name="id389928"></a>Editing Rivet Template Files</h3></div></div></div><p style="width:90%">
-	Rivet makes available code for two popular editors,
-	<span class="application">emacs</span> and
-	<span class="application">vim</span> to facilitate the editing of
-	Rivet template files.  The key concept is that the editor is
-	aware of the &lt;? and ?&gt; tags and switches back and forth
-	between Tcl and HTML modes as the cursor moves.  These files,
-	<code class="filename">two-mode-mode.el</code> and
-	<code class="filename">rvt.vim</code> are available in the
-	<code class="filename">contrib/</code> directory.
-      </p></div></div><div class="section" title="Rivet Internals"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="internals"></a>Rivet Internals</h2></div></div></div><p style="width:90%">
-      This section easily falls out of date, as new code is added, old
-      code is removed, and changes are made.  The best place to look
-      is the source code itself.  If you are interested in the changes
-      themselves, the Subversion revision control system
-      (<span style="font-family:monospace"><span class="command"><strong>svn</strong></span></span>) can provide you with information about
-      what has been happening with the code.
-    </p><div class="section" title="Initialization"><div class="titlepage"><div><div><h3 class="title"><a name="id389735"></a>Initialization</h3></div></div></div><p style="width:90%">
-	When Apache is started, (or when child Apache processes are
-	started if a threaded Tcl is used),
-	<code class="function">Rivet_InitTclStuff</code> is called, which
-	creates a new interpreter, or one interpreter per virtual
-	host, depending on the configuration. It also initializes
-	various things, like the <span class="structname">RivetChan</span>
-	channel system, creates the Rivet-specific Tcl commands, and
-	executes Rivet's <code class="filename">init.tcl</code>.  The caching
-	system is also set up, and if there is a
-	<span style="font-family:monospace"><span class="command"><strong>GlobalInitScript</strong></span></span>, it is run.
-      </p></div><div class="section" title="RivetChan"><div class="titlepage"><div><div><h3 class="title"><a name="id389686"></a>RivetChan</h3></div></div></div><p style="width:90%">
-	The <span class="structname">RivetChan</span> system was created in
-	order to have an actual Tcl channel that we could redirect
-	standard output to.  This lets us use, for instance, the
-	regular <span style="font-family:monospace"><span class="command"><strong>puts</strong></span></span> command in .rvt pages.  It
-	works by creating a channel that buffers output, and, at
-	predetermined times, passes it on to Apache's IO system.
-	Tcl's regular standard output is replaced with an instance of
-	this channel type, so that, by default, output will go to the
-	web page.
-      </p></div><div class="section" title="The global Command"><div class="titlepage"><div><div><h3 class="title"><a name="id390255"></a>The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</h3></div></div></div><p style="width:90%">
-	Rivet aims to run standard Tcl code with as few surprises as
-	possible.  At times this involves some compromises - in this
-	case regarding the <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> command.  The
-	problem is that the command will create truly global
-	variables.  If the user is just cut'n'pasting some Tcl code
-	into Rivet, they most likely just want to be able to share the
-	variable in question with other procs, and don't really care
-	if the variable is actually persistant between pages.  The
-	solution we have created is to create a proc
-	<span style="font-family:monospace"><span class="command"><strong>::request::global</strong></span></span> that takes the place of
-	the <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> command in Rivet templates.  If
-	you really need a true global variable, use either
-	<span style="font-family:monospace"><span class="command"><strong>::global</strong></span></span> or add the :: namespace qualifier
-	to variables you wish to make global.
-      </p></div><div class="section" title="Page Parsing, Execution and Caching"><div class="titlepage"><div><div><h3 class="title"><a name="id390300"></a>Page Parsing, Execution and Caching</h3></div></div></div><p style="width:90%">
-	When a Rivet page is requested, it is transformed into an
-	ordinary Tcl script by parsing the file for the &lt;? ?&gt;
-	processing instruction tags.  Everything outside these tags
-	becomes a large <span style="font-family:monospace"><span class="command"><strong>puts</strong></span></span> statement, and
-	everything inside them remains Tcl code.
-      </p><p style="width:90%">
-	Each .rvt file is evaluated in its own
-	<code class="constant">::request</code> namespace, so that it is not
-	necessary to create and tear down interpreters after each
-	page.  By running in its own namespace, though, each page will
-	not run afoul of local variables created by other scripts,
-	because they will be deleted automatically when the namespace
-	goes away after Apache finishes handling the request.
-      </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-	    One current problem with this system is that while
-	    variables are garbage collected, file handles are not, so
-	    that it is very important that Rivet script authors make
-	    sure to close all the files they open.
-      </td></tr></table></div><p style="width:90%">
-      </p><p style="width:90%">
-	After a script has been loaded and parsed into it's "pure Tcl"
-	form, it is also cached, so that it may be used in the future
-	without having to reload it (and re-parse it) from the disk.
-	The number of scripts stored in memory is configurable.  This
-	feature can significantly improve performance.
-      </p></div><div class="section" title="Debugging Rivet and Apache"><div class="titlepage"><div><div><h3 class="title"><a name="id390342"></a>Debugging Rivet and Apache</h3></div></div></div><p style="width:90%">
-	If you are interested in hacking on Rivet, you're welcome to
-	contribute!  Invariably, when working with code, things go
-	wrong, and it's necessary to do some debugging.  In a server
-	environment like Apache, it can be a bit more difficult to
-	find the right way to do this.  Here are some techniques to
-	try.
-      </p><p style="width:90%">
-	The first thing you should know is that Apache can be launched
-	as a <span class="emphasis"><em>single process</em></span> with the
-	-X argument:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">httpd -X</pre>.
-      <p style="width:90%">
-	On Linux, one of the first things to try is the system call
-	tracer, <span style="font-family:monospace"><span class="command"><strong>strace</strong></span></span>.  You don't even have to
-	recompile Rivet or Apache for this to work.
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">strace -o /tmp/outputfile -S 1000 httpd -X</pre><p style="width:90%">This command will run httpd in the system call tracer,
-	which leaves its output (there is potentially a lot of it) in
-	<code class="filename">/tmp/outputfile</code>.  The -S
-	option tells <span style="font-family:monospace"><span class="command"><strong></strong></span></span>strace to only record the
-	first 1000 bytes of a syscall.  Some calls such as
-	<code class="function">write</code> can potentially be much longer than
-	this, so you may want to increase this number.  The results
-	are a list of all the system calls made by the program.  You
-	want to look at the end, where the failure presumably occured,
-	to see if you can find anything that looks like an error.  If
-	you're not sure what to make of the results, you can always
-	ask on the Rivet development mailing list.
-      </p><p style="width:90%">
-	If <span style="font-family:monospace"><span class="command"><strong>strace</strong></span></span> (or its equivalent on your
-	operating system) doesn't answer your question, it may be time
-	to debug Apache and Rivet.  To do this, you will need to run
-	the <span style="font-family:monospace"><span class="command"><strong>./configure.tcl</strong></span></span> script with the
-	-enable-symbols option, and recompile.
-      </p><p style="width:90%">
-	Since it's easier to debug a single process, we'll still run
-	Apache in single process mode with -X:
-      </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-@ashland [~] $ gdb /usr/sbin/apache.dbg
-GNU gdb 5.3-debian
-Copyright 2002 Free Software Foundation, Inc.
-GDB is free software, covered by the GNU General Public License, and you are
-welcome to change it and/or distribute copies of it under certain conditions.
-Type "show copying" to see the conditions.
-There is absolutely no warranty for GDB.  Type "show warranty" for details.
-This GDB was configured as "powerpc-linux"...
-(gdb) run -X
-Starting program: /usr/sbin/apache.dbg -X
-[New Thread 16384 (LWP 13598)]
-.
-.
-.
-      </pre><p style="width:90%">
-	When your apache session is up and running, you can request a
-	web page with the browser, and see where things go wrong (if
-	you are dealing with a crash, for instance).
-      </p></div></div><div class="section" title="Upgrading from mod_dtcl or NeoWebScript"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="upgrading"></a>Upgrading from mod_dtcl or NeoWebScript</h2></div></div></div><p style="width:90%">
-      Rivet is a break from the past, in that we, the authors, have
-      attempted to take what we like best about our past efforts, and
-      leave out or change things we no longer care for.  Backwards
-      compatibility was not a primary goal when creating Rivet, but we
-      do provide this information which may be of use to those wishing
-      to upgrade from mod_dtcl or NWS installations.
-    </p><div class="section" title="mod_dtcl"><div class="titlepage"><div><div><h3 class="title"><a name="id390476"></a>mod_dtcl</h3></div></div></div><p style="width:90%">
-	Rivet was originally based on the dtcl code, but it has
-	changed (improved!) quite a bit.  The concepts remain the
-	same, but many of the commands have changed.
-      </p></div><div class="section" title="NeoWebScript"><div class="titlepage"><div><div><h3 class="title"><a name="id390487"></a>NeoWebScript</h3></div></div></div><p style="width:90%">TODO</p></div></div></div></body></html>
diff --git a/rivet/manual/session_package.html b/rivet/manual/session_package.html
deleted file mode 100644
index 6e59788..0000000
--- a/rivet/manual/session_package.html
+++ /dev/null
@@ -1,184 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Session Package</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="diodisplay_package.html" title="DIODisplay"><link rel="next" href="form.html" title="Form: An HTML Form Fields Generation Utility"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Session Package</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diodisplay_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="form.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Session Package"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="session_package"></a>Session Package</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="idp8135216"></a>Introduction</h3></div></div></div><p style="width:90%">
-	This is session management code.  It provides an interface
-	to allow you to generate and track a browser's visit as a
-	"session", giving you a unique session ID and an interface
-	for storing and retrieving data for that session on the
-	server.
-      </p><p style="width:90%">
-	This is an alpha/beta release -- documentation is not in
-	final form, but everything you need should be in this file.
-      </p><p style="width:90%">
-	Using sessions and their included ability to store and
-	retrieve session-related data on the server, programmers can
-	generate more secure and higher-performance websites.  For
-	example, hidden fields do not have to be included in forms
-	(and the risk of them being manipulated by the user
-	mitigated) since data that would be stored in hidden fields
-	can now be stored in the session cache on the server.  Forms
-	are then faster since no hidden data is transmitted --
-	hidden fields must be sent twice, once in the form to the
-	broswer and once in the response from it.
-      </p><p style="width:90%">
-	Robust login systems, etc, can be built on top of this code.
-      </p></div><div class="section" title="Requirements"><div class="titlepage"><div><div><h3 class="title"><a name="requirements"></a>Requirements</h3></div></div></div><p style="width:90%">
-	  Currently has only been tested with Postgresql, MySql and Oracle.
-	  All DB interfacing is done through DIO, though, so it
-	  should be relatively easy to add support for other
-	  databases.
-	</p></div><div class="section" title="Preparing To Use It"><div class="titlepage"><div><div><h3 class="title"><a name="idp8183088"></a>Preparing To Use It</h3></div></div></div><p style="width:90%">Create the tables in your SQL server.  With Postgres,
-	  do a <span style="font-family:monospace"><span class="command"><strong>psql www</strong></span></span> or whatever DB you
-	  connect as, then a backslash-i on
-	  <code class="filename">session-create.sql</code></p><p style="width:90%">(If you need to delete the tables, use <code class="filename">session-drop.sql</code>)</p><p style="width:90%">The session code by default requires a DIO handle
-	  called <code class="varname">DIO</code> (the name of which can be
-	  overridden).  We get it by doing a</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">
-	      RivetServerConf ChildInitScript "package require DIO"
-	      RivetServerConf ChildInitScript "::DIO::handle Postgresql DIO -user www"
-	    </pre></div><div class="section" title="Example Usage"><div class="titlepage"><div><div><h3 class="title"><a name="idp8188544"></a>Example Usage</h3></div></div></div><p style="width:90%">In your httpd.conf, add:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "package require Session; Session SESSION"</pre><p style="width:90%">
-	  This tells Rivet you want to create a session object named
-	  SESSION in every child process Apache creates.</p><p style="width:90%">
-	  You can configure the session at this point using numerous
-	  key-value pairs (which are defined later in this doc).
-	  Here's a quick example:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "package require Session; Session SESSION \
-  -cookieLifetime 120 -debugMode 1"</pre><p style="width:90%">
-	  Turn debugging on -debugMode 1 to figure
-	  out what's going on -- it's really useful, if
-	  verbose.</p><p style="width:90%">
-	  In your .rvt file, when you're generating the &lt;HEAD&gt;
-	  section:
-	</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">SESSION activate</pre><p style="width:90%">
-	  Activate handles everything for you with respect to
-	  creating new sessions, and for locating, validating, and
-	  updating existing sessions.  Activate will either locate
-	  an existing session, or create a new one.  Sessions will
-	  automatically be refreshed (their lifetimes extended) as
-	  additional requests are received during the session, all
-	  under the control of the key-value pairs controlling the
-	  session object.
-	</p></div><div class="section" title="Using Sessions From Your Code"><div class="titlepage"><div><div><h3 class="title"><a name="idp8195296"></a>Using Sessions From Your Code</h3></div></div></div><p style="width:90%">The main methods your code will use are:</p><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION</span> <span style="font-weight:bold ; font-family:monospace">id</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		After doing a <span style="font-family:monospace"><span class="command"><strong>SESSION activate</strong></span></span>,
-		this will return a 32-byte ASCII-encoded random
-		hexadecimal string.  Every time this browser comes
-		to us with a request within the timeout period, this
-		same string will be returned (assuming they have
-		cookies enabled).
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION</span> <span style="font-weight:bold ; font-family:monospace">is_new_session</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">returns 1 if it's a new session or 0 if it has
-		previously existed (i.e. it's a zero if this request
-		represents a "return" or subsequent visit to a
-		current session.)</div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION new_session_reason</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		This will return why this request is the first
-		request of a new session, either "no_cookie" saying
-		the browser didn't give us a session cookie,
-		"no_session" indicating we got a cookie but couldn't
-		find it in our session table, or "timeout" where
-		they had a cookie and we found the matching session
-		but the session has timed out.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION store</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>packageName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>data</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given the name of a package, a key, and some data.
-		Stores the data in the rivet session cache table.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION fetch</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>packageName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given a package name and a key, return the data
-		stored by the store method, or an empty string if
-		none was set.  (Status is set to the DIO error that
-		occurred, it can be fetched using the status
-		method.)
-	      </div></div></dd></dl></div></div><div class="section" title="Session Configuration Options"><div class="titlepage"><div><div><h3 class="title"><a name="idp8218960"></a>Session Configuration Options</h3></div></div></div><p style="width:90%">The following key-value pairs can be specified when a
-	  session object (like SESSION above) is created:</p><div class="variablelist"><dl><dt><span class="term">sessionLifetime</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">how many seconds the session will live for.
-		7200 == 2 hours
-	      </div></div></dd><dt><span class="term">sessionRefreshInterval</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		If a request is processed for a browser that
-		currently has a session and this long has elapsed
-		since the session update time was last updated,
-		update it.  900 == 15 minutes.  so if at least 15
-		minutes has elapsed and we've gotten a new request
-		for a page, update the session update time,
-		extending the session lifetime (sessions that are in
-		use keep getting extended).
-	      </div></div></dd><dt><span class="term">cookieName</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex"></div>
-	      name of the cookie stored on the user's web browser
-	      default rivetSession
-	    </div></dd><dt><span class="term">dioObject</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The name of the DIO object we'll use to access the
-		database (default DIO)
-	      </div></div></dd><dt><span class="term">gcProbability</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		The probability that garbage collection will occur
-		in percent.  (default 1%, i.e. 1)</div></div></dd><dt><span class="term">gcMaxLifetime</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">the number of seconds after which
-		data will be seen as "garbage" and cleaned up --
-		defaults to 1 day (86400)</div></div></dd><dt><span class="term">refererCheck</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The substring you want to check each
-		HTTP referer for.  If the referer was sent by the
-		browser and the substring is not found, the session
-		will be deleted. (not coded yet)</div></div></dd><dt><span class="term">entropyFile</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The
-		name of a file that random binary data can be read
-		from.  (<code class="filename">/dev/urandom</code>) Data will
-		be used from this file to help generate a
-		super-hard-to-guess session ID.</div></div></dd><dt><span class="term">entropyLength</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The number of bytes which will be
-		read from the entropy file.  If 0, the entropy file
-		will not be read (default 0)</div></div></dd><dt><span class="term">scrambleCode</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Set the scramble code to something unique for the
-		site or your app or whatever, to slightly increase
-		the unguessability of session ids (default "some
-		random string")</div></div></dd><dt><span class="term">cookieLifetime</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The lifetime of the cookie in
-		minutes.  0 means until the browser is closed (I
-		think). (default 0)</div></div></dd><dt><span class="term">cookiePath</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The
-		webserver subpath that the session cookie applies to
-		(defaults to
-		<code class="filename">/</code>)</div></div></dd><dt><span class="term">cookieSecure</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Specifies whether the cookie should
-		only be sent over secure connections, 0 = any, 1 =
-		secure connections only (default
-		0)</div></div></dd><dt><span class="term">sessionTable</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The name of the table that session
-		info will be stored in (default
-		<code class="varname">rivet_session</code>)</div></div></dd><dt><span class="term">sessionCacheTable</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The name of the table that contains
-		cached session data (default
-		<code class="varname">rivet_session_cache</code>)</div></div></dd><dt><span class="term">debugMode</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Set
-		debug mode to 1 to trace through and see the session
-		object do its thing (default 0)</div></div></dd><dt><span class="term">debugFile</span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">The
-		file handle that debugging messages will be written
-		to (default
-		<code class="varname">stdout</code>)
-	      </div></div></dd></dl></div></div><div class="section" title="Session Methods"><div class="titlepage"><div><div><h3 class="title"><a name="idp8246304"></a>Session Methods</h3></div></div></div><p style="width:90%">
-	  The following methods can be invoked to find out
-	  information about the current session, store and fetch
-	  server data identified with this session, etc:
-	</p><div class="variablelist"><dl><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION status</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return the status of the last operation
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION id</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Get the session ID of the current browser.  Returns
-		an empty string if there's no session (will not
-		happen is SESSION activate has been issued.)
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION new_session_reason</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the reason why there wasn't a previous
-		session, either "no_cookie" saying the browser
-		didn't give us a session cookie, "no_session"
-		indicating we got a cookie but couldn't find it in
-		the session table, or "timeout" when we had a cookie
-		and a session but the session had timed out.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION store</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>packageName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>data</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given a package name, a key string, and a data
-		string, store the data in the rivet session
-		cache.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION fetch</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>packageName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>key</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given a package name and a key, return the data
-		stored by the store method, or an empty string if
-		none was set.  Status is set to the DIO error that
-		occurred, it can be fetched using the status
-		method.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION delete</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Given a user ID and looking at their IP address we
-		inherited from the environment (thanks, Apache),
-		remove them from the session table.  (the session
-		table is how the server remembers stuff about
-		sessions). If the session ID was not specified the
-		current session is deleted.
-	      </div></div></dd><dt><span class="term"></span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION activate</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-		Find and validate the session ID if they have one.
-		If they don't have one or it isn't valid (timed out,
-		etc), create a session and drop a cookie on
-		them.
-	      </div></div></dd></dl></div></div><div class="section" title="Getting Additional Randomness From The Entropy File"><div class="titlepage"><div><div><h3 class="title"><a name="idp8273408"></a>Getting Additional Randomness From The Entropy File</h3></div></div></div><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "Session SESSION -entropyFile /dev/urandom \
-  -entropyLength 10 -debugMode 1"</pre><p style="width:90%">
-	  This options say we want to get randomness from an entropy
-	  file (random data pseudo-device) of /dev/urandom, to get ten
-	  bytes of random data from that entropy device, and to turn
-	  on debug mode, which will cause the SESSION object to output
-	  all manner of debugging information as it does stuff.  This
-	  has been tested on FreeBSD and appears to work.
-      </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="diodisplay_package.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="form.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">DIODisplay </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Form: An HTML Form Fields Generation Utility</td></tr></table></div></body></html>
diff --git a/rivet/manual/table.png b/rivet/manual/table.png
deleted file mode 100644
index 6ec425e..0000000
--- a/rivet/manual/table.png
+++ /dev/null
Binary files differ
diff --git a/rivet/manual/tcl_packages.html b/rivet/manual/tcl_packages.html
deleted file mode 100644
index b9b4a3a..0000000
--- a/rivet/manual/tcl_packages.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Rivet Tcl Packages</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="examples.html" title="Examples and Usage"><link rel="next" href="dio.html" title="DIO - Database Interface Objects"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Rivet Tcl Packages</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="examples.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="dio.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Rivet Tcl Packages"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="tcl_packages"></a>Rivet Tcl Packages</h2></div></div></div><p style="width:90%">
-      In addition to the core Apache module, Rivet provides a number
-      of Tcl packages that include potentially useful code.
-    </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-				commserver is a package providing a server that can be
-				used for IPC.  Still experimental.  Requires the comm package
-				from tcllib.
-			</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">dio is a database abstraction layer.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">
-				dtcl is a compatibility package for mod_dtcl
-				applications.
-			</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">form - for creating forms.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">rivet - some additional, useful routines.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">tclrivet</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">calendar - a package providing a simple configurable calendar</div></li></ul></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="examples.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="dio.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Examples and Usage </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> DIO - Database Interface Objects</td></tr></table></div></body></html>
diff --git a/rivet/manual/unescape_string.html b/rivet/manual/unescape_string.html
deleted file mode 100644
index d756d71..0000000
--- a/rivet/manual/unescape_string.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>unescape_string</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="read_file.html" title="read_file"><link rel="next" href="upload.html" title="upload"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">unescape_string</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="read_file.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="upload.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="unescape_string"><div class="refentry.separator"><hr></div><a name="unescape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>unescape_string &#8212; unescape escaped characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">unescape_string</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="idp6053152"></a><h2>Description</h2><p style="width:90%">
-          Scans through each character in the specified string looking
-          for escaped character sequences (characters containing a
-          percent sign and two hexadecimal characters, unescaping them 
-          back to their original character values, as needed, also mapping
-          plus signs to spaces, and returning the result.
-        </p><p style="width:90%">
-            This is useful for unquoting strings that have been quoted to
-            be part of a URL.
-        </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> 
-            You must require the Rivet package in order to gain access to this command
-        </td></tr></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="read_file.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="upload.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">read_file </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> upload</td></tr></table></div></body></html>
diff --git a/rivet/manual/upgrading.html b/rivet/manual/upgrading.html
deleted file mode 100644
index 5ee0970..0000000
--- a/rivet/manual/upgrading.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Upgrading from mod_dtcl or NeoWebScript</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="internals.html" title="Rivet Internals"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Upgrading from mod_dtcl or NeoWebScript</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="internals.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table></div><div class="section" title="Upgrading from mod_dtcl or NeoWebScript"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="upgrading"></a>Upgrading from mod_dtcl or NeoWebScript</h2></div></div></div><p style="width:90%">
-      Rivet is a break from the past, in that we, the authors, have
-      attempted to take what we like best about our past efforts, and
-      leave out or change things we no longer care for.  Backwards
-      compatibility was not a primary goal when creating Rivet, but we
-      do provide this information which may be of use to those wishing
-      to upgrade from mod_dtcl or NWS installations.
-    </p><div class="section" title="mod_dtcl"><div class="titlepage"><div><div><h3 class="title"><a name="idp9304096"></a>mod_dtcl</h3></div></div></div><p style="width:90%">
-	Rivet was originally based on the dtcl code, but it has
-	changed (improved!) quite a bit.  The concepts remain the
-	same, but many of the commands have changed.
-      </p></div><div class="section" title="NeoWebScript"><div class="titlepage"><div><div><h3 class="title"><a name="idp9305440"></a>NeoWebScript</h3></div></div></div><p style="width:90%">TODO</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="internals.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Rivet Internals </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
diff --git a/rivet/manual/upload.html b/rivet/manual/upload.html
deleted file mode 100644
index 5883d27..0000000
--- a/rivet/manual/upload.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>upload</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="unescape_string.html" title="unescape_string"><link rel="next" href="var.html" title="var"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">upload</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unescape_string.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="var.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="upload"><div class="refentry.separator"><hr></div><a name="upload"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>upload &#8212; handle a file uploaded by a client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>  (<span style="font-family:monospace; font-weight: bold;">channel</span> | <span style="font-family:monospace; font-weight: bold;">save</span> | <span style="font-family:monospace; font-weight: bold;">data</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">size</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-weight: bold;">filename</span>)</div></div></div><div class="refsect1" title="Description"><a name="idp6066000"></a><h2>Description</h2><p style="width:90%">The upload command is for file upload manipulation.
-          See the relevant Apache Directives to further configure the
-          behavior of this Rivet feature.
-        </p><div class="variablelist"><dl><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">channel</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            When given the name of a file upload
-            <em class="replaceable"><code>uploadname</code></em>,
-            returns a Tcl channel that can be used to access the
-            uploaded file.
-              </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">save</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            Saves the
-            <em class="replaceable"><code>uploadname</code></em> in
-            the file
-            <em class="replaceable"><code>filename</code></em>.
-              </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">data</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            Returns data uploaded to the server.  This is binary clean
-            - in other words, it will work even with files like
-            images, executables, compressed files, and so on.
-              </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">exists</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            Returns true if an upload named  ?<span style="font-family:monospace; font-weight: bold;">uploadname</span>?
-            exists.  This can be used in scripts that are meant to
-            be run by different forms that send over uploads that
-            might need specific processing.
-              </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">size</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            Returns the size of the file uploaded.
-              </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">type</span> </div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            If the <code class="varname">Content-type</code> is set, it is
-            returned, otherwise, an empty string.
-              </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">filename</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            Returns the filename on the remote host that uploaded the file.
-              </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">tempname</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>uploadname</code></em></span>?</div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            Returns the name of the temporary file on the local host that the file was uploaded into.
-              </div></div></dd><dt><span class="term">
-              <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span>   <span style="font-family:monospace; font-weight: bold;">names</span> </div></div>
-            </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            Returns the variable names, as a list, of all the files
-            uploaded.
-              </div></div></dd></dl></div><p style="width:90%">
-          See <a class="xref" href="upload.html" title="upload">upload</a>.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="unescape_string.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="var.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">unescape_string </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> var</td></tr></table></div></body></html>
diff --git a/rivet/manual/var.html b/rivet/manual/var.html
deleted file mode 100644
index d829fcf..0000000
--- a/rivet/manual/var.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>var</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="upload.html" title="upload"><link rel="next" href="wrap.html" title="wrap"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">var</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="upload.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="wrap.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="var"><div class="refentry.separator"><hr></div><a name="var"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>var, var_qs, var_post &#8212; get the value of a form variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>  (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_qs</span>  (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_post</span>  (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div></div><div class="refsect1" title="Description"><a name="idp6135568"></a><h2>Description</h2><p style="width:90%">
-          The <span style="font-family:monospace"><span class="command"><strong>var</strong></span></span> command retrieves information
-          about GET or POST variables sent to the script via client
-          request.  It treats both GET and POST variables the same,
-          regardless of their origin.  Note that there are two
-          additional forms of <span style="font-family:monospace"><span class="command"><strong>var</strong></span></span>:
-          <span style="font-family:monospace"><span class="command"><strong>var_qs</strong></span></span> and <span style="font-family:monospace"><span class="command"><strong>var_post</strong></span></span>.
-          These two restrict the retrieval of information to
-          parameters arriving via the querystring
-          (?foo=bar&amp;bee=bop) or POSTing, respectively.
-        </p><div class="variablelist"><dl><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">get</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">default</span>?</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the value of variable
-		<em class="replaceable"><code>varname</code></em>
-		as a string (even if there are multiple values).  If
-		the variable doesn't exist as a GET or POST
-		variable, the
-		<em class="replaceable"><code>?<span class="optional">default</span>?</code></em>
-		value is returned, otherwise "" - an empty string -
-		is returned.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">list</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-            Returns the value of variable
-            <em class="replaceable"><code>varname</code></em> as a list, 
-            one list element per reference. Radiobuttons or multiple 
-            selection listboxes are suited widgets which may 
-            return list data.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">exists</span>  ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>?</div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns 1 if
-		<em class="replaceable"><code>varname</code></em>
-		exists, 0 if it doesn't.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">number</span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Returns the number of variables.
-	      </div></div></dd><dt><span class="term">
-	      <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span>   <span style="font-family:monospace; font-weight: bold;">all</span> </div></div>
-	    </span></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">
-		Return a list of variable names and values.
-	      </div></div></dd></dl></div><p style="width:90%">
-          See <a class="xref" href="examples.html#variable_access" title="Example 3. Variable Access">Example 3, &#8220;Variable Access&#8221;</a>.
-        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="upload.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="wrap.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">upload </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> wrap</td></tr></table></div></body></html>
diff --git a/rivet/manual/wrap.html b/rivet/manual/wrap.html
deleted file mode 100644
index 5b8f471..0000000
--- a/rivet/manual/wrap.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>wrap</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="var.html" title="var"><link rel="next" href="wrapline.html" title="wrapline"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">wrap</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="var.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="wrapline.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="wrap"><div class="refentry.separator"><hr></div><a name="wrap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>wrap &#8212; 
-				Split a string on newlines. 
-			</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">wrap</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>? ?<span style="font-family:monospace; font-weight: bold;">maxlen</span>? <span style="font-family:monospace; font-weight: bold;">html</span></div></div></div><div class="refsect1" title="Description"><a name="idp6172160"></a><h2>Description</h2><p style="width:90%">			
-				For each line, wrap the line at a space character to be 
-				equal to or shorter than the maximum length value passed.
-			</p><p style="width:90%">
-				If a third argument called "-html" is present, the string is put together
-				with html &lt;br&gt; line breaks, otherwise it's broken with newlines.
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="var.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="wrapline.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">var </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> wrapline</td></tr></table></div></body></html>
diff --git a/rivet/manual/wrapline.html b/rivet/manual/wrapline.html
deleted file mode 100644
index 668e604..0000000
--- a/rivet/manual/wrapline.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>wrapline</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="wrap.html" title="wrap"><link rel="next" href="examples.html" title="Examples and Usage"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">wrapline</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="wrap.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="examples.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="wrapline"><div class="refentry.separator"><hr></div><a name="wrapline"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>wrapline &#8212; 
-				Split the line into multiple lines by splitting on space characters 
-			</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">wrapline</span>  ?<span style="font-family:monospace; font-weight: bold;">string</span>? ?<span style="font-family:monospace; font-weight: bold;">maxlen</span>? <span style="font-family:monospace; font-weight: bold;">html</span></div></div></div><div class="refsect1" title="Description"><a name="idp6180144"></a><h2>Description</h2><p style="width:90%">
-				Given a line and a maximum length and option "-html" argument, split the line 
-				into multiple lines by splitting on space characters and making sure each line 
-				is less than maximum length.
-			</p><p style="width:90%">
-				If the third argument, "-html", is present, return the result with the lines 
-				separated by html &lt;br&gt; line breaks, otherwise the lines are returned 
-				separated by newline characters.
-			</p><p style="width:90%">
-				If a third argument called "-html" is present, the string is put together
-				with html &lt;br&gt; line breaks, otherwise it's broken with newlines.
-			</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="wrap.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="commands.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="examples.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">wrap </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Examples and Usage</td></tr></table></div></body></html>
diff --git a/rivet/manual/xml_calendar.html b/rivet/manual/xml_calendar.html
deleted file mode 100644
index e9a2597..0000000
--- a/rivet/manual/xml_calendar.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>XmlCalendar</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="calendar.html" title="Calendar"><link rel="next" href="html_calendar.html" title="HtmlCalendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">XmlCalendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="html_calendar.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="XmlCalendar"><div class="refentry.separator"><hr></div><a name="xml_calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>XmlCalendar &#8212; Prints XML formatted calendar tables</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">XmlCalendar</span>   <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span>  ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?</div></div></div><div class="refsect1"><a name="idp9003888"></a><p style="width:90%">
-				An XmlCalendar object is created and returned. XmlCalendar objects
-				print XML formatted calendar tables. The markup can be customized
-				using the configuration options. 
-			</p><p style="width:90%">
-				Configuration options accept odd-length lists as values. An option_list has the following
-				structure
-			</p><p style="width:90%">
-				</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%;       padding: 1ex; border: dashed black 1px ; white-space: pre;      font-family: monospace; font-size: 90%;" class="programlisting">tag_name attr11 val1 attr2 val2 ...</pre><p style="width:90%">			
-			</p><p style="width:90%">
-				The first element of an option list is a tag name, the remaining terms are therefore
-				an even-length sublist which is interpreted as a sequence of attribute-value pairs that
-				will in turn become attributes of the tag.
-			</p></div><div class="refsect1" title="Methods"><a name="idp9006992"></a><h2>Methods</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-		      			cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span> -opt1 val1 -opt2 val2</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-		      			cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span>  ?<span style="font-family:monospace; font-weight: bold;">month</span>? ?<span style="font-family:monospace; font-weight: bold;">year</span>? -opt1 val1 -opt2 val2</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex ">
-							cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span>  ?<span style="font-family:monospace; font-weight: bold;">
-							<em class="replaceable"><code>month | year</code></em></span>? -opt1 val1 
-							-opt2 val2</div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-							The method 'emit' if invoked without arguments returns an 
-							XML calendar table of the current month
-		      		</div></div></dd></dl></div></div><div class="refsect1"><a name="idp9018048"></a><div class="refsect2" title="Options"><a name="idp9018304"></a><h3>Options</h3><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-container  (tag_name 
-								attr11 val1 attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns an options list to the XML element that 
-								will hold the whole table.   
-							</div><div style="margin-bottom:1.5ex ; padding .5ex">
-								The default tag for the container is 'calendar', with no attributes.
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-header  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns tag name and attributes to the XML header element (default: calheader) 						
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-body  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns tag name and attributes to the XML body element of the table (default: calbody) 						
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-banner  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns tag name and attributes to the XML banner element of the table (default: monthyear) 						
-							</div><div style="margin-bottom:1.5ex ; padding .5ex">
-								The header of a calendar table is made of a banner, showing the Month and Year number, and
-								of a weekdays bar. 							
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-foot  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Assigns tag name and attributes to the XML foot element 
-								of the table (default: calfoot). 						
-							</div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
-								This option was added for completeness, but it's not implemented yet							
-							</td></tr></table></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-banner_month  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								month name (default:month)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-banner_year  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								month name (default: year)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-weekdays  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								weekday header (default: weekdays)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-weekdays_cell  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								each single weekday (default: wkdays)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-days_row  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element holding the 
-								each row of the calendar table (default: week)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-days_cell  (tag_name attr11 val1 
-								attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								Tag name and attributes for the XML element representing
-								a cell in the calendar table (default: day)					
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-cell_function proc</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								If set this option is the name of a procedure that gets
-								called for every day of the month. The procedure must
-								accept 4 argument representing day, month, year and weekday
-								and must return an odd-length list interpreted in the same
-								way as options lists. 
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-current_day day</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								This option works as a simple method for pointing out
-								a specific day of the month. If set with a day number
-								that day will get the class attribute automatically
-								set as "current"
-							</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ;  margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex;   word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-current_weekday 0-6 | today</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex">
-								This option works as a simple method for pointing out
-								a specific weekday of the month. If set with a weekday 
-								index (0: Sunday, 6: Saturday) the corresponding cell in
-								the weekdays header will get the class attribute automatically
-								set as "current_wkday"
-							</div></div></dd></dl></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="calendar_package.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="html_calendar.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Calendar </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> HtmlCalendar</td></tr></table></div></body></html>
diff --git a/rivet/static/about.html b/rivet/static/about.html
index 97e53e5..52ff120 100644
--- a/rivet/static/about.html
+++ b/rivet/static/about.html
@@ -79,14 +79,18 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
-                    <li id="main">
+                    <li id="news">
+    <h4 class="">News</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="rn-2-1.html" class="">1 Dec 2012: Rivet 2.1.0 released</a>
+        </li>
+        <li class="navitem">
+            <a href="rn-2-0.html" class="">1 Dec 2012: Rivet 2.0.6 released</a>
+        </li>
+    </ul>
+</li>
+<li id="main">
     <h4 class="">Rivet</h4>
     <ul class="blocklist">
         <li class="navitem">
@@ -99,9 +103,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -114,19 +115,33 @@
     <ul class="blocklist">
         <li class="navitem">
             <a href="http://www.tcl.tk/" target="tclxchange">The Tcl Language
-		    </a>
+                </a>
         </li>
         <li class="navitem">
             <a href="http://wiki.tcl.tk/" target="tclxchange">Tcl'ers Wiki</a>
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 <li id="release">
     <h4 class="">Downloads</h4>
     <ul class="blocklist">
         <li class="navitem">
             <a href="rn-2-0.html" class="">Rivet 2.0</a>
         </li>
+        <li class="navitem">
+            <a href="rn-2-1.html" class="">Rivet 2.1</a>
+        </li>
     </ul>
 </li>
 <li id="acknowledgments">
diff --git a/rivet/static/ajax.html b/rivet/static/ajax.html
index 3b93748..1536cb0 100644
--- a/rivet/static/ajax.html
+++ b/rivet/static/ajax.html
@@ -140,8 +140,8 @@
 # we have to tell the client this is an XML message. Failing to do so
 # would result in an XMLResponse property set to null
 
-    headers type "text/xml"
-    headers add Content-Length [string length $xml]
+    ::rivet::headers type "text/xml"
+    ::rivet::headers add Content-Length [string length $xml]
     puts $xml
 }
 
@@ -179,13 +179,6 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -225,9 +218,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -235,6 +225,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul> 
diff --git a/rivet/static/calendar.html b/rivet/static/calendar.html
index 4d8ed6c..bc852d5 100644
--- a/rivet/static/calendar.html
+++ b/rivet/static/calendar.html
@@ -84,13 +84,6 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -130,9 +123,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -140,6 +130,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul> 
diff --git a/rivet/static/download.html b/rivet/static/download.html
index c1c778a..abe8b52 100644
--- a/rivet/static/download.html
+++ b/rivet/static/download.html
@@ -103,20 +103,24 @@
 
 
                 <div class="contentbottom">
-                    <div id="last_modified">Last Modified: 12-07-2012 22:41:08 UTC</div>
+                    <div id="last_modified">Last Modified: 20-11-2012 16:40:10 UTC</div>
                 </div>
             </div>
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
-                    <li id="main">
+                    <li id="news">
+    <h4 class="">News</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="rn-2-1.html" class="">1 Dec 2012: Rivet 2.1.0 released</a>
+        </li>
+        <li class="navitem">
+            <a href="rn-2-0.html" class="">1 Dec 2012: Rivet 2.0.6 released</a>
+        </li>
+    </ul>
+</li>
+<li id="main">
     <h4 class="">Rivet</h4>
     <ul class="blocklist">
         <li class="navitem">
@@ -129,9 +133,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -144,19 +145,33 @@
     <ul class="blocklist">
         <li class="navitem">
             <a href="http://www.tcl.tk/" target="tclxchange">The Tcl Language
-		    </a>
+                </a>
         </li>
         <li class="navitem">
             <a href="http://wiki.tcl.tk/" target="tclxchange">Tcl'ers Wiki</a>
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 <li id="release">
     <h4 class="">Downloads</h4>
     <ul class="blocklist">
         <li class="navitem">
             <a href="rn-2-0.html" class="">Rivet 2.0</a>
         </li>
+        <li class="navitem">
+            <a href="rn-2-1.html" class="">Rivet 2.1</a>
+        </li>
     </ul>
 </li>
 <li id="acknowledgments">
diff --git a/rivet/static/file_download.html b/rivet/static/file_download.html
index 0491eef..b5a7646 100644
--- a/rivet/static/file_download.html
+++ b/rivet/static/file_download.html
@@ -121,13 +121,6 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -167,9 +160,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -177,6 +167,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul> 
diff --git a/rivet/static/file_upload.html b/rivet/static/file_upload.html
index 13453f8..7cb3954 100644
--- a/rivet/static/file_upload.html
+++ b/rivet/static/file_upload.html
@@ -78,13 +78,6 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -124,9 +117,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -134,6 +124,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul> 
diff --git a/rivet/static/hello_world.html b/rivet/static/hello_world.html
index d7cfb09..d826dc5 100644
--- a/rivet/static/hello_world.html
+++ b/rivet/static/hello_world.html
@@ -53,7 +53,7 @@
     &lt;title&gt;&lt;? puts $hello_message ?&gt;&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;&lt;?
-    puts [html $hello_message pre b]
+    puts [::rivet::html $hello_message pre b]
   ?&gt;&lt;/body&gt;
 &lt;/html&gt;
 </pre>
@@ -69,7 +69,7 @@
   &lt;head&gt;
     &lt;title&gt;&lt;?= $hello_message ?&gt;&lt;/title&gt;
   &lt;/head&gt;
-  &lt;body&gt;&lt;?= [html $hello_message pre b] ?&gt;&lt;/body&gt;
+  &lt;body&gt;&lt;?= [::rivet::html $hello_message pre b] ?&gt;&lt;/body&gt;
 &lt;/html&gt;
 </pre>
   </p>
@@ -79,19 +79,12 @@
 
 
                 <div class="contentbottom">
-                    <div id="last_modified">Last Modified: 26-06-2012 21:51:26 UTC</div>
+                    <div id="last_modified">Last Modified: 26-11-2012 01:22:36 UTC</div>
                 </div>
             </div>
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -131,9 +124,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -141,6 +131,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul> 
diff --git a/rivet/static/rn-2-0.html b/rivet/static/rn-2-0.html
index c786471..9256500 100644
--- a/rivet/static/rn-2-0.html
+++ b/rivet/static/rn-2-0.html
@@ -34,15 +34,23 @@
  file.
 			      </p>
   <p>
-				Rivet 2.0 has been tested on Apache 1.3 , 2.2 and 2.4 servers.
-				<strong>Apache 2.2/2.4 servers must be running 
-				<tt>prefork</tt>
+					Rivet 2.0 has been tested on Apache 1.3 , 2.2 and 2.4 servers.
+					<strong>Apache 2.2/2.4 servers must be running 
+					<tt>prefork</tt>
  as multiprocess module   </strong>
  though. Rivet is incompatible with the 
-				'worker' and 'event' MPMs.
+					'worker' and 'event' MPMs.
 			      </p>
  </div>
  <div class="sez">
+  <h4>Release Notes for Rivet 2.0.6 <span class="timestamp">(30-Nov-2012)</span>
+  </h4>
+  <h5>Fixed Bugs</h5>
+  <ul>
+   <li/>
+  </ul>
+ </div>
+ <div class="sez">
   <h4>Release Notes for Rivet 2.0.5 <span class="timestamp">(26-Jun-2012)</span>
   </h4>
   <h5>Fixed Bugs</h5>
@@ -287,20 +295,24 @@
 
 
                 <div class="contentbottom">
-                    <div id="last_modified">Last Modified: 26-06-2012 11:00:43 UTC</div>
+                    <div id="last_modified">Last Modified: 01-12-2012 16:14:23 UTC</div>
                 </div>
             </div>
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
-                    <li id="main">
+                    <li id="news">
+    <h4 class="">News</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="rn-2-1.html" class="">1 Dec 2012: Rivet 2.1.0 released</a>
+        </li>
+        <li class="navitem">
+            <a href="rn-2-0.html" class="">1 Dec 2012: Rivet 2.0.6 released</a>
+        </li>
+    </ul>
+</li>
+<li id="main">
     <h4 class="">Rivet</h4>
     <ul class="blocklist">
         <li class="navitem">
@@ -313,9 +325,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -328,19 +337,33 @@
     <ul class="blocklist">
         <li class="navitem">
             <a href="http://www.tcl.tk/" target="tclxchange">The Tcl Language
-		    </a>
+                </a>
         </li>
         <li class="navitem">
             <a href="http://wiki.tcl.tk/" target="tclxchange">Tcl'ers Wiki</a>
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 <li id="release">
     <h4 class="">Downloads</h4>
     <ul class="blocklist">
         <li class="navitem">
             <a href="rn-2-0.html" class="">Rivet 2.0</a>
         </li>
+        <li class="navitem">
+            <a href="rn-2-1.html" class="">Rivet 2.1</a>
+        </li>
     </ul>
 </li>
 <li id="acknowledgments">
diff --git a/rivet/static/scripts.html b/rivet/static/scripts.html
index 668c403..0a16347 100644
--- a/rivet/static/scripts.html
+++ b/rivet/static/scripts.html
@@ -56,13 +56,6 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -102,9 +95,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -112,6 +102,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul> 
diff --git a/rivet/static/shaded_table.html b/rivet/static/shaded_table.html
index aa014fd..a7bbf0a 100644
--- a/rivet/static/shaded_table.html
+++ b/rivet/static/shaded_table.html
@@ -56,13 +56,6 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -102,9 +95,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -112,6 +102,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul> 
diff --git a/rivet/static/templates.html b/rivet/static/templates.html
index 393a03c..8b15206 100644
--- a/rivet/static/templates.html
+++ b/rivet/static/templates.html
@@ -60,13 +60,6 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -106,9 +99,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -116,6 +106,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul> 
diff --git a/rivet/static/var_access.html b/rivet/static/var_access.html
index 62a1bff..a3f3e1d 100644
--- a/rivet/static/var_access.html
+++ b/rivet/static/var_access.html
@@ -97,19 +97,19 @@
       &lt;tbody&gt;
         &lt;tr&gt;
           &lt;td&gt;&lt;b&gt;Title:&lt;/b&gt;&lt;/td&gt;
-          &lt;td&gt;&lt;? puts $title ?&gt;&lt;/td&gt;
+          &lt;td&gt;&lt;?= $title ?&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
           &lt;td&gt;&lt;b&gt;Boss:&lt;/b&gt;&lt;/td&gt;
-          &lt;td&gt;&lt;? puts $boss ?&gt;&lt;/td&gt;
+          &lt;td&gt;&lt;?= $boss ?&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
           &lt;td&gt;&lt;b&gt;Salary:&lt;/b&gt;&lt;/td&gt;
-          &lt;td&gt;&lt;? puts $salary ?&gt;&lt;/td&gt;
+          &lt;td&gt;&lt;?= $salary ?&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
           &lt;td&gt;&lt;b&gt;Skills:&lt;/b&gt;&lt;/td&gt;
-          &lt;td&gt;&lt;? puts $skills ?&gt;&lt;/td&gt;
+          &lt;td&gt;&lt;?= $skills ?&gt;&lt;/td&gt;
         &lt;/tr&gt;
       &lt;/tbody&gt;
     &lt;/table&gt;
@@ -140,13 +140,6 @@
 
             <div class="sidebar">
                 <ul>
-                    <li>
-                        <h4>News</h4>
-                        <ul>
-			    <li><span class="newsheader">26 June 2012</span>: <a href="rn-2-0.html">Rivet 2.0.5 released</a></li>
-			    <li><span class="newsheader">6 July 2012</span>: <a href="http://www.eurotcl.tcl3d.org/">10th European Tcl/Tk User Meeting</a></li>
-			</ul>
-                    </li>
                     <li id="rivetexamples">
     <h4 class="">Examples</h4>
     <ul class="blocklist">
@@ -186,9 +179,6 @@
             <a href="download.html" class="">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual/" target="rivetman">Documentation</a>
-        </li>
-        <li class="navitem">
             <a href="hello_world.html" class="">Examples</a>
         </li>
         <li class="navitem">
@@ -196,6 +186,17 @@
         </li>
     </ul>
 </li>
+<li id="manual">
+    <h4 class="">Manuals</h4>
+    <ul class="blocklist">
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+        </li>
+        <li class="navitem">
+            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+        </li>
+    </ul>
+</li>
 
  
                 </ul>