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