
   COMMANDS:
   Special mod_dtcl commands
     * buffer_add - add text to output_buffer for later printing. Used
       internally.
     * hputs ?-error? - like puts, but to the client instead of stdout.
       The error option permits you to send an 'error message' to the
       apache log file, at the NOTICE level.
     * hgetvars - get the environmental vars. This is in a seperate
       command so as not to make the server do this every time you load a
       .ttml file. ENVS and VARS are the two associative arrays loaded.
       ENVS contains environmental variables, VARS contains all the 'cgi'
       variables. Look in the examples.ttml file to see how these work.
     * include filename - include a flat file. Useful for including HTML
       files.
     * parse filename - include and parse a ttml file (although the
       filename doesn't have to end in .ttml). This creates a subrequest,
       'request' (so that you get things like ::request::request), where
       the file is evaluated. This command was added as of version 0.6,
       so it may have a few bugs to be ironed out - please report them!
     * hflush - flush the output buffers to the client - allows for
       incrementally outputting a page
     * headers setcookie cookie-name cookie-value ?-expires date/time?
       ?-domain domain? ?-path path? ?-secure? - allows you to set a
       cookie with various properties. Cookie-name is the name of the
       cookie, cookie-value is the data associated with the variable.
       Expires sets an expiration date for the cookie, and must be in the
       format 'DD-Mon-YY HH:MM:SS', path sets the path for which the
       cookie is valid, and secure specifies that the cookie is only to
       be transmitted if the connection is secure (HTTPS).
     * headers redirect uri - Redirect from the current page to a new
       URI. Must be done in the first block of TCL code.
     * headers set headername value - Set arbitrary headernames and
       values.
     * dtcl_info - returns information on the internals of the module.
       Currently, only the PID and size of the object cache are reported.
       
   FEATURES: 
   
     * Thanks to the work of Rolf Ade, mod_dtcl now has a companion
       script, [1]dtcl.tcl, based on Don Libes' [2]cgi.tcl. It includes a
       lot of 'utility' functions, that are good for generating HTML.
       Please be aware that this is still alpha/beta code.
     * Paolo Brutti has contributed code that allows mod_dtcl to cache
       commonly visited ttml scripts (as well as numerous other fixes and
       improvements!).
     * dtcl-mode.el is a an elisp mode that allows you to edit a ttml
       file, and switch between html and tcl modes, complete with syntax
       highlighting and indentation! To use it: "M-x load-file" and then
       type in dtcl-mode.el, along with the correct path. Then load your
       ttml file, and do "M-x dtcl-mode".
       
   [3]Return to the mod_dtcl homepage
   $Id: use.html,v 1.6.2.1 1999/12/06 05:26:28 davidw Exp $

References

   1. file://localhost/scratch/buildd/libapache-mod-dtcl-0.7.3/dtcl-tcl.html
   2. http://expect.nist.gov/cgi.tcl/
   3. file://localhost/scratch/buildd/libapache-mod-dtcl-0.7.3/index.html
