4496ab
                    GNU GENERAL PUBLIC LICENSE
4496ab
                       Version 2, June 1991
4496ab
4496ab
 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
4496ab
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
4496ab
 Everyone is permitted to copy and distribute verbatim copies
4496ab
 of this license document, but changing it is not allowed.
4496ab
4496ab
                            Preamble
4496ab
4496ab
  The licenses for most software are designed to take away your
4496ab
freedom to share and change it.  By contrast, the GNU General Public
4496ab
License is intended to guarantee your freedom to share and change free
4496ab
software--to make sure the software is free for all its users.  This
4496ab
General Public License applies to most of the Free Software
4496ab
Foundation's software and to any other program whose authors commit to
4496ab
using it.  (Some other Free Software Foundation software is covered by
4496ab
the GNU Lesser General Public License instead.)  You can apply it to
4496ab
your programs, too.
4496ab
4496ab
  When we speak of free software, we are referring to freedom, not
4496ab
price.  Our General Public Licenses are designed to make sure that you
4496ab
have the freedom to distribute copies of free software (and charge for
4496ab
this service if you wish), that you receive source code or can get it
4496ab
if you want it, that you can change the software or use pieces of it
4496ab
in new free programs; and that you know you can do these things.
4496ab
4496ab
  To protect your rights, we need to make restrictions that forbid
4496ab
anyone to deny you these rights or to ask you to surrender the rights.
4496ab
These restrictions translate to certain responsibilities for you if you
4496ab
distribute copies of the software, or if you modify it.
4496ab
4496ab
  For example, if you distribute copies of such a program, whether
4496ab
gratis or for a fee, you must give the recipients all the rights that
4496ab
you have.  You must make sure that they, too, receive or can get the
4496ab
source code.  And you must show them these terms so they know their
4496ab
rights.
4496ab
4496ab
  We protect your rights with two steps: (1) copyright the software, and
4496ab
(2) offer you this license which gives you legal permission to copy,
4496ab
distribute and/or modify the software.
4496ab
4496ab
  Also, for each author's protection and ours, we want to make certain
4496ab
that everyone understands that there is no warranty for this free
4496ab
software.  If the software is modified by someone else and passed on, we
4496ab
want its recipients to know that what they have is not the original, so
4496ab
that any problems introduced by others will not reflect on the original
4496ab
authors' reputations.
4496ab
4496ab
  Finally, any free program is threatened constantly by software
4496ab
patents.  We wish to avoid the danger that redistributors of a free
4496ab
program will individually obtain patent licenses, in effect making the
4496ab
program proprietary.  To prevent this, we have made it clear that any
4496ab
patent must be licensed for everyone's free use or not licensed at all.
4496ab
4496ab
  The precise terms and conditions for copying, distribution and
4496ab
modification follow.
4496ab
4496ab
                    GNU GENERAL PUBLIC LICENSE
4496ab
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
4496ab
4496ab
  0. This License applies to any program or other work which contains
4496ab
a notice placed by the copyright holder saying it may be distributed
4496ab
under the terms of this General Public License.  The "Program", below,
4496ab
refers to any such program or work, and a "work based on the Program"
4496ab
means either the Program or any derivative work under copyright law:
4496ab
that is to say, a work containing the Program or a portion of it,
4496ab
either verbatim or with modifications and/or translated into another
4496ab
language.  (Hereinafter, translation is included without limitation in
4496ab
the term "modification".)  Each licensee is addressed as "you".
4496ab
4496ab
Activities other than copying, distribution and modification are not
4496ab
covered by this License; they are outside its scope.  The act of
4496ab
running the Program is not restricted, and the output from the Program
4496ab
is covered only if its contents constitute a work based on the
4496ab
Program (independent of having been made by running the Program).
4496ab
Whether that is true depends on what the Program does.
4496ab
4496ab
  1. You may copy and distribute verbatim copies of the Program's
4496ab
source code as you receive it, in any medium, provided that you
4496ab
conspicuously and appropriately publish on each copy an appropriate
4496ab
copyright notice and disclaimer of warranty; keep intact all the
4496ab
notices that refer to this License and to the absence of any warranty;
4496ab
and give any other recipients of the Program a copy of this License
4496ab
along with the Program.
4496ab
4496ab
You may charge a fee for the physical act of transferring a copy, and
4496ab
you may at your option offer warranty protection in exchange for a fee.
4496ab
4496ab
  2. You may modify your copy or copies of the Program or any portion
4496ab
of it, thus forming a work based on the Program, and copy and
4496ab
distribute such modifications or work under the terms of Section 1
4496ab
above, provided that you also meet all of these conditions:
4496ab
4496ab
    a) You must cause the modified files to carry prominent notices
4496ab
    stating that you changed the files and the date of any change.
4496ab
4496ab
    b) You must cause any work that you distribute or publish, that in
4496ab
    whole or in part contains or is derived from the Program or any
4496ab
    part thereof, to be licensed as a whole at no charge to all third
4496ab
    parties under the terms of this License.
4496ab
4496ab
    c) If the modified program normally reads commands interactively
4496ab
    when run, you must cause it, when started running for such
4496ab
    interactive use in the most ordinary way, to print or display an
4496ab
    announcement including an appropriate copyright notice and a
4496ab
    notice that there is no warranty (or else, saying that you provide
4496ab
    a warranty) and that users may redistribute the program under
4496ab
    these conditions, and telling the user how to view a copy of this
4496ab
    License.  (Exception: if the Program itself is interactive but
4496ab
    does not normally print such an announcement, your work based on
4496ab
    the Program is not required to print an announcement.)
4496ab
4496ab
These requirements apply to the modified work as a whole.  If
4496ab
identifiable sections of that work are not derived from the Program,
4496ab
and can be reasonably considered independent and separate works in
4496ab
themselves, then this License, and its terms, do not apply to those
4496ab
sections when you distribute them as separate works.  But when you
4496ab
distribute the same sections as part of a whole which is a work based
4496ab
on the Program, the distribution of the whole must be on the terms of
4496ab
this License, whose permissions for other licensees extend to the
4496ab
entire whole, and thus to each and every part regardless of who wrote it.
4496ab
4496ab
Thus, it is not the intent of this section to claim rights or contest
4496ab
your rights to work written entirely by you; rather, the intent is to
4496ab
exercise the right to control the distribution of derivative or
4496ab
collective works based on the Program.
4496ab
4496ab
In addition, mere aggregation of another work not based on the Program
4496ab
with the Program (or with a work based on the Program) on a volume of
4496ab
a storage or distribution medium does not bring the other work under
4496ab
the scope of this License.
4496ab
4496ab
  3. You may copy and distribute the Program (or a work based on it,
4496ab
under Section 2) in object code or executable form under the terms of
4496ab
Sections 1 and 2 above provided that you also do one of the following:
4496ab
4496ab
    a) Accompany it with the complete corresponding machine-readable
4496ab
    source code, which must be distributed under the terms of Sections
4496ab
    1 and 2 above on a medium customarily used for software interchange; or,
4496ab
4496ab
    b) Accompany it with a written offer, valid for at least three
4496ab
    years, to give any third party, for a charge no more than your
4496ab
    cost of physically performing source distribution, a complete
4496ab
    machine-readable copy of the corresponding source code, to be
4496ab
    distributed under the terms of Sections 1 and 2 above on a medium
4496ab
    customarily used for software interchange; or,
4496ab
4496ab
    c) Accompany it with the information you received as to the offer
4496ab
    to distribute corresponding source code.  (This alternative is
4496ab
    allowed only for noncommercial distribution and only if you
4496ab
    received the program in object code or executable form with such
4496ab
    an offer, in accord with Subsection b above.)
4496ab
4496ab
The source code for a work means the preferred form of the work for
4496ab
making modifications to it.  For an executable work, complete source
4496ab
code means all the source code for all modules it contains, plus any
4496ab
associated interface definition files, plus the scripts used to
4496ab
control compilation and installation of the executable.  However, as a
4496ab
special exception, the source code distributed need not include
4496ab
anything that is normally distributed (in either source or binary
4496ab
form) with the major components (compiler, kernel, and so on) of the
4496ab
operating system on which the executable runs, unless that component
4496ab
itself accompanies the executable.
4496ab
4496ab
If distribution of executable or object code is made by offering
4496ab
access to copy from a designated place, then offering equivalent
4496ab
access to copy the source code from the same place counts as
4496ab
distribution of the source code, even though third parties are not
4496ab
compelled to copy the source along with the object code.
4496ab
4496ab
  4. You may not copy, modify, sublicense, or distribute the Program
4496ab
except as expressly provided under this License.  Any attempt
4496ab
otherwise to copy, modify, sublicense or distribute the Program is
4496ab
void, and will automatically terminate your rights under this License.
4496ab
However, parties who have received copies, or rights, from you under
4496ab
this License will not have their licenses terminated so long as such
4496ab
parties remain in full compliance.
4496ab
4496ab
  5. You are not required to accept this License, since you have not
4496ab
signed it.  However, nothing else grants you permission to modify or
4496ab
distribute the Program or its derivative works.  These actions are
4496ab
prohibited by law if you do not accept this License.  Therefore, by
4496ab
modifying or distributing the Program (or any work based on the
4496ab
Program), you indicate your acceptance of this License to do so, and
4496ab
all its terms and conditions for copying, distributing or modifying
4496ab
the Program or works based on it.
4496ab
4496ab
  6. Each time you redistribute the Program (or any work based on the
4496ab
Program), the recipient automatically receives a license from the
4496ab
original licensor to copy, distribute or modify the Program subject to
4496ab
these terms and conditions.  You may not impose any further
4496ab
restrictions on the recipients' exercise of the rights granted herein.
4496ab
You are not responsible for enforcing compliance by third parties to
4496ab
this License.
4496ab
4496ab
  7. If, as a consequence of a court judgment or allegation of patent
4496ab
infringement or for any other reason (not limited to patent issues),
4496ab
conditions are imposed on you (whether by court order, agreement or
4496ab
otherwise) that contradict the conditions of this License, they do not
4496ab
excuse you from the conditions of this License.  If you cannot
4496ab
distribute so as to satisfy simultaneously your obligations under this
4496ab
License and any other pertinent obligations, then as a consequence you
4496ab
may not distribute the Program at all.  For example, if a patent
4496ab
license would not permit royalty-free redistribution of the Program by
4496ab
all those who receive copies directly or indirectly through you, then
4496ab
the only way you could satisfy both it and this License would be to
4496ab
refrain entirely from distribution of the Program.
4496ab
4496ab
If any portion of this section is held invalid or unenforceable under
4496ab
any particular circumstance, the balance of the section is intended to
4496ab
apply and the section as a whole is intended to apply in other
4496ab
circumstances.
4496ab
4496ab
It is not the purpose of this section to induce you to infringe any
4496ab
patents or other property right claims or to contest validity of any
4496ab
such claims; this section has the sole purpose of protecting the
4496ab
integrity of the free software distribution system, which is
4496ab
implemented by public license practices.  Many people have made
4496ab
generous contributions to the wide range of software distributed
4496ab
through that system in reliance on consistent application of that
4496ab
system; it is up to the author/donor to decide if he or she is willing
4496ab
to distribute software through any other system and a licensee cannot
4496ab
impose that choice.
4496ab
4496ab
This section is intended to make thoroughly clear what is believed to
4496ab
be a consequence of the rest of this License.
4496ab
4496ab
  8. If the distribution and/or use of the Program is restricted in
4496ab
certain countries either by patents or by copyrighted interfaces, the
4496ab
original copyright holder who places the Program under this License
4496ab
may add an explicit geographical distribution limitation excluding
4496ab
those countries, so that distribution is permitted only in or among
4496ab
countries not thus excluded.  In such case, this License incorporates
4496ab
the limitation as if written in the body of this License.
4496ab
4496ab
  9. The Free Software Foundation may publish revised and/or new versions
4496ab
of the General Public License from time to time.  Such new versions will
4496ab
be similar in spirit to the present version, but may differ in detail to
4496ab
address new problems or concerns.
4496ab
4496ab
Each version is given a distinguishing version number.  If the Program
4496ab
specifies a version number of this License which applies to it and "any
4496ab
later version", you have the option of following the terms and conditions
4496ab
either of that version or of any later version published by the Free
4496ab
Software Foundation.  If the Program does not specify a version number of
4496ab
this License, you may choose any version ever published by the Free Software
4496ab
Foundation.
4496ab
4496ab
  10. If you wish to incorporate parts of the Program into other free
4496ab
programs whose distribution conditions are different, write to the author
4496ab
to ask for permission.  For software which is copyrighted by the Free
4496ab
Software Foundation, write to the Free Software Foundation; we sometimes
4496ab
make exceptions for this.  Our decision will be guided by the two goals
4496ab
of preserving the free status of all derivatives of our free software and
4496ab
of promoting the sharing and reuse of software generally.
4496ab
4496ab
                            NO WARRANTY
4496ab
4496ab
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
4496ab
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
4496ab
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
4496ab
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
4496ab
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
4496ab
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
4496ab
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
4496ab
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
4496ab
REPAIR OR CORRECTION.
4496ab
4496ab
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
4496ab
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
4496ab
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
4496ab
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
4496ab
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
4496ab
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
4496ab
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
4496ab
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
4496ab
POSSIBILITY OF SUCH DAMAGES.
4496ab
4496ab
                     END OF TERMS AND CONDITIONS
4496ab
4496ab
            How to Apply These Terms to Your New Programs
4496ab
4496ab
  If you develop a new program, and you want it to be of the greatest
4496ab
possible use to the public, the best way to achieve this is to make it
4496ab
free software which everyone can redistribute and change under these terms.
4496ab
4496ab
  To do so, attach the following notices to the program.  It is safest
4496ab
to attach them to the start of each source file to most effectively
4496ab
convey the exclusion of warranty; and each file should have at least
4496ab
the "copyright" line and a pointer to where the full notice is found.
4496ab
4496ab
    <one line to give the program's name and a brief idea of what it does.>
4496ab
    Copyright (C) <year>  <name of author>
4496ab
4496ab
    This program is free software; you can redistribute it and/or modify
4496ab
    it under the terms of the GNU General Public License as published by
4496ab
    the Free Software Foundation; either version 2 of the License, or
4496ab
    (at your option) any later version.
4496ab
4496ab
    This program is distributed in the hope that it will be useful,
4496ab
    but WITHOUT ANY WARRANTY; without even the implied warranty of
4496ab
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4496ab
    GNU General Public License for more details.
4496ab
4496ab
    You should have received a copy of the GNU General Public License along
4496ab
    with this program; if not, write to the Free Software Foundation, Inc.,
4496ab
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4496ab
4496ab
Also add information on how to contact you by electronic and paper mail.
4496ab
4496ab
If the program is interactive, make it output a short notice like this
4496ab
when it starts in an interactive mode:
4496ab
4496ab
    Gnomovision version 69, Copyright (C) year name of author
4496ab
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
4496ab
    This is free software, and you are welcome to redistribute it
4496ab
    under certain conditions; type `show c' for details.
4496ab
4496ab
The hypothetical commands `show w' and `show c' should show the appropriate
4496ab
parts of the General Public License.  Of course, the commands you use may
4496ab
be called something other than `show w' and `show c'; they could even be
4496ab
mouse-clicks or menu items--whatever suits your program.
4496ab
4496ab
You should also get your employer (if you work as a programmer) or your
4496ab
school, if any, to sign a "copyright disclaimer" for the program, if
4496ab
necessary.  Here is a sample; alter the names:
4496ab
4496ab
  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
4496ab
  `Gnomovision' (which makes passes at compilers) written by James Hacker.
4496ab
4496ab
  <signature of Ty Coon>, 1 April 1989
4496ab
  Ty Coon, President of Vice
4496ab
4496ab
This General Public License does not permit incorporating your program into
4496ab
proprietary programs.  If your program is a subroutine library, you may
4496ab
consider it more useful to permit linking proprietary applications with the
4496ab
library.  If this is what you want to do, use the GNU Lesser General
4496ab
Public License instead of this License.