There are four sections to the licensing terms.

I. Part of the D'Agents system is a modified version of Tcl 7.5 and Tk 4.1.
   Modified copies of Tcl 7.5 and Tk 4.1 may be freely distributed according
   to Sun's licensing terms (taken from tcl7.5/license.terms).

   "This software is copyrighted by the Regents of the University of
    California, Sun Microsystems, Inc., and other parties.  The following
    terms apply to all files associated with the software unless explicitly
    disclaimed in individual files.

    The authors hereby grant permission to use, copy, modify, distribute,
    and license this software and its documentation for any purpose, provided
    that existing copyright notices are retained in all copies and that this
    notice is included verbatim in any distributions. No written agreement,
    license, or royalty fee is required for any of the authorized uses.
    Modifications to this software may be copyrighted by their authors
    and need not follow the licensing terms described here, provided that
    the new terms are clearly indicated on the first page of each file where
    they apply.

    IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
    FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
    ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
    DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
    POSSIBILITY OF SUCH DAMAGE.

    THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
    IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
    NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
    MODIFICATIONS.

    RESTRICTED RIGHTS: Use, duplication or disclosure by the government
    is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
    of the Rights in Technical Data and Computer Software Clause as DFARS
    252.227-7013 and FAR 52.227-19."

II. Part of the D'Agents system is the random number generator from MIT's PGP
    2.6.2.  The random number generator can be freely distributed according
    to MIT's licensing terms (taken from the mitlicen.txt file that comes with
    PGP 2.6.2).  Since D'Agents includes ONLY the random number generator,
    D'Agents has no export restrictions.

    "Compilation Copyright (c) 1994 by the Massachusetts Institute
     of Technology.  All rights reserved.

     Permission to use, copy, modify, and distribute this compilation for
     any non-commercial purpose is hereby granted without fee, subject to
     the following license:

     1. Any copy or modification of this compilation must include the above
        copyright notice and this license.

     2. Software included in this compilation includes a feature that
        causes the format of messages generated by it to change on September
        1, 1994. Modification to this software to disable this feature is not
        authorized and will make this license, and the license in the
        underlying software, null and void.

     3. Users of the software included in this compilation agree to use
        their best efforts to provide MIT with any modifications containing
        improvements or extensions and hereby grant MIT a perpetual,
        royalty-free license to use and distribute such modifications under
        the terms of this license.  Such modifications may be provided to MIT
        by email to pgp-bugs@mit.edu.

     4. The software included in this compilation makes use of the
        RSAREF(TM) Cryptographic Toolkit, use and distribution of which are
        covered by the RSA Data Security, Inc., Program License Agreement
        included in this compilation.  This compilation also contains
        materials copyrighted by Philip Zimmermann under terms also included
        in this compilation.  (See the "Legal Issues" section of the PGP
        User's Guide, Volume 2.)  Users must also agree to the terms of both
        of these licenses.

     5. MIT makes no warranty or representation that the operation of the
        software in this compilation will be error-free, and MIT is under no
        obligation to provide any services, by way of maintenance, update, or
        otherwise.  THE SOFTWARE AND ANY DOCUMENTATION ARE PROVIDED "AS IS"
        WITHOUT EXPRESS OR IMPLIED WARRANTY INCLUDING, BUT NOT LIMITED TO,
        THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
        PURPOSE. IN NO EVENT WILL MIT OR ANY OTHER CONTRIBUTOR BE LIABLE FOR
        DIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF MIT HAS BEEN
        ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 
     6. Users will not use the name of the Massachusetts Institute of
        Technology nor any adaptation thereof in any publicity or
        advertising, without prior written consent from MIT in each case.

     7.  Export of this software from the United States may require a
         specific license from the United States Government.  It is the
         responsibility of any person or organization contemplating export
         to obtain such a license before exporting."

III. As with any software system, I was able to improve many routines in
     the D'Agents code after examining (1) equivalent routines in other 
     public-domain source code distributions and (2) equivalent examples in 
     programming books.  Whenever a D'Agents section is based directly on
     one of these routines or examples, I have included the relevant
     copyright information in the code itself.  (In many cases, no copyright
     applies, and I instead include bibliographic information only.)
    
IV. All other D'Agents code was written at Dartmouth and is covered under
    the following licensing terms. 
     
    "The authors hereby grant permission to use, copy, modify, distribute,
     and license this software and its documentation for any NON-COMMERCIAL
     purpose, provided that (1) existing copyright notices are retained in all 
     copies, (2) this notice is included verbatim in any distributions and (3) 
     the main D'Agents developer (robert.s.gray@dartmouth.edu) is notified 
     prior to the distribution of a modified version.  No written agreement, 
     license, or royalty fee is required for any of the authorized uses.  
     Modifications to this software may be copyrighted by their authors and 
     need not follow the licensing terms described here, provided that the new 
     terms are clearly indicated on the first page of each file where they 
     apply.

     IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
     FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
     ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
     DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
     FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
     IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
     NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
     MODIFICATIONS.

     RESTRICTED RIGHTS: Use, duplication or disclosure by the government
     is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
     of the Rights in Technical Data and Computer Software Clause as DFARS
     252.227-7013 and FAR 52.227-19."
