Changeset debb15d for functions.c


Ignore:
Timestamp:
Feb 23, 2004, 1:15:41 AM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
213a3eb
Parents:
e22f27c
Message:
Added 'show license'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r4357be8 rdebb15d  
    116116{
    117117  owl_function_help_for_command(name);
     118}
     119
     120void owl_function_show_license()
     121{
     122  char *text;
     123
     124  text=""
     125    "Owl version " OWL_VERSION_STRING "\n"
     126    "Copyright (c) 2004 James Kretchmar. All rights reserved.\n"
     127    "\n"
     128    "Redistribution and use in source and binary forms, with or without\n"
     129    "modification, are permitted provided that the following conditions are\n"
     130    "met:\n"
     131    "\n"
     132    "   * Redistributions of source code must retain the above copyright\n"
     133    "     notice, this list of conditions and the following disclaimer.\n"
     134    "\n"
     135    "   * Redistributions in binary form must reproduce the above copyright\n"
     136    "     notice, this list of conditions and the following disclaimer in\n"
     137    "     the documentation and/or other materials provided with the\n"
     138    "     distribution.\n"
     139    "\n"
     140    "   * Redistributions in any form must be accompanied by information on\n"
     141    "     how to obtain complete source code for the Owl software and any\n"
     142    "     accompanying software that uses the Owl software. The source code\n"
     143    "     must either be included in the distribution or be available for no\n"
     144    "     more than the cost of distribution plus a nominal fee, and must be\n"
     145    "     freely redistributable under reasonable conditions. For an\n"
     146    "     executable file, complete source code means the source code for\n"
     147    "     all modules it contains. It does not include source code for\n"
     148    "     modules or files that typically accompany the major components of\n"
     149    "     the operating system on which the executable file runs.\n"
     150    "\n"
     151    "THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n"
     152    "IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n"
     153    "WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR\n"
     154    "NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE\n"
     155    "LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n"
     156    "CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n"
     157    "SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n"
     158    "BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n"
     159    "WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n"
     160    "OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\n"
     161    "IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n";
     162  owl_function_popless_text(text);
    118163}
    119164
Note: See TracChangeset for help on using the changeset viewer.