12382Spaul		    GNU GENERAL PUBLIC LICENSE
22382Spaul		       Version 2, June 1991
32382Spaul
42382Spaul Copyright (C) 1989, 1991 Free Software Foundation, Inc.
52382Spaul                          675 Mass Ave, Cambridge, MA 02139, USA
62382Spaul Everyone is permitted to copy and distribute verbatim copies
72382Spaul of this license document, but changing it is not allowed.
82382Spaul
92382Spaul			    Preamble
102382Spaul
112382Spaul  The licenses for most software are designed to take away your
122382Spaulfreedom to share and change it.  By contrast, the GNU General Public
132382SpaulLicense is intended to guarantee your freedom to share and change free
142382Spaulsoftware--to make sure the software is free for all its users.  This
152382SpaulGeneral Public License applies to most of the Free Software
162382SpaulFoundation's software and to any other program whose authors commit to
172382Spaulusing it.  (Some other Free Software Foundation software is covered by
182382Spaulhe GNU Library General Public License instead.)  You can apply it to
192382Spaulyour programs, too.
202382Spaul
212382Spaul  When we speak of free software, we are referring to freedom, not
222382Spaulprice.  Our General Public Licenses are designed to make sure that you
232382Spaulhave the freedom to distribute copies of free software (and charge for
242382Spaulthis service if you wish), that you receive source code or can get it
252382Spaulif you want it, that you can change the software or use pieces of it
262382Spaulin new free programs; and that you know you can do these things.
272382Spaul
282382Spaul  To protect your rights, we need to make restrictions that forbid
292382Spaulanyone to deny you these rights or to ask you to surrender the rights.
302382SpaulThese restrictions translate to certain responsibilities for you if you
312382Spauldistribute copies of the software, or if you modify it.
322382Spaul
332382Spaul  For example, if you distribute copies of such a program, whether
342382Spaulgratis or for a fee, you must give the recipients all the rights that
352382Spaulyou have.  You must make sure that they, too, receive or can get the
362382Spaulsource code.  And you must show them these terms so they know their
372382Spaulrights.
382382Spaul
392382Spaul  We protect your rights with two steps: (1) copyright the software, and
402382Spaul(2) offer you this license which gives you legal permission to copy,
412382Spauldistribute and/or modify the software.
422382Spaul
432382Spaul  Also, for each author's protection and ours, we want to make certain
442382Spaulthat everyone understands that there is no warranty for this free
452382Spaulsoftware.  If the software is modified by someone else and passed on, we
462382Spaulwant its recipients to know that what they have is not the original, so
472382Spaulthat any problems introduced by others will not reflect on the original
482382Spaulauthors' reputations.
492382Spaul
502382Spaul  Finally, any free program is threatened constantly by software
512382Spaulpatents.  We wish to avoid the danger that redistributors of a free
522382Spaulprogram will individually obtain patent licenses, in effect making the
532382Spaulprogram proprietary.  To prevent this, we have made it clear that any
542382Spaulpatent must be licensed for everyone's free use or not licensed at all.
552382Spaul
562382Spaul  The precise terms and conditions for copying, distribution and
572382Spaulmodification follow.
582382Spaul
592382Spaul		    GNU GENERAL PUBLIC LICENSE
602382Spaul   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
612382Spaul
622382Spaul  0. This License applies to any program or other work which contains
632382Spaula notice placed by the copyright holder saying it may be distributed
642382Spaulunder the terms of this General Public License.  The "Program", below,
652382Spaulrefers to any such program or work, and a "work based on the Program"
662382Spaulmeans either the Program or any derivative work under copyright law:
672382Spaulthat is to say, a work containing the Program or a portion of it,
682382Spauleither verbatim or with modifications and/or translated into another
692382Spaullanguage.  (Hereinafter, translation is included without limitation in
702382Spaulthe term "modification".)  Each licensee is addressed as "you".
712382Spaul
722382SpaulActivities other than copying, distribution and modification are not
732382Spaulcovered by this License; they are outside its scope.  The act of
742382Spaulrunning the Program is not restricted, and the output from the Program
752382Spaulis covered only if its contents constitute a work based on the
762382SpaulProgram (independent of having been made by running the Program).
772382SpaulWhether that is true depends on what the Program does.
782382Spaul
792382Spaul  1. You may copy and distribute verbatim copies of the Program's
802382Spaulsource code as you receive it, in any medium, provided that you
812382Spaulconspicuously and appropriately publish on each copy an appropriate
822382Spaulcopyright notice and disclaimer of warranty; keep intact all the
832382Spaulnotices that refer to this License and to the absence of any warranty;
842382Spauland give any other recipients of the Program a copy of this License
852382Spaulalong with the Program.
862382Spaul
872382SpaulYou may charge a fee for the physical act of transferring a copy, and
882382Spaulyou may at your option offer warranty protection in exchange for a fee.
892382Spaul
902382Spaul  2. You may modify your copy or copies of the Program or any portion
912382Spaulof it, thus forming a work based on the Program, and copy and
922382Spauldistribute such modifications or work under the terms of Section 1
932382Spaulabove, provided that you also meet all of these conditions:
942382Spaul
952382Spaul    a) You must cause the modified files to carry prominent notices
962382Spaul    stating that you changed the files and the date of any change.
972382Spaul
982382Spaul    b) You must cause any work that you distribute or publish, that in
992382Spaul    whole or in part contains or is derived from the Program or any
1002382Spaul    part thereof, to be licensed as a whole at no charge to all third
1012382Spaul    parties under the terms of this License.
1022382Spaul
1032382Spaul    c) If the modified program normally reads commands interactively
1042382Spaul    when run, you must cause it, when started running for such
1052382Spaul    interactive use in the most ordinary way, to print or display an
1062382Spaul    announcement including an appropriate copyright notice and a
1072382Spaul    notice that there is no warranty (or else, saying that you provide
1082382Spaul    a warranty) and that users may redistribute the program under
1092382Spaul    these conditions, and telling the user how to view a copy of this
1102382Spaul    License.  (Exception: if the Program itself is interactive but
1112382Spaul    does not normally print such an announcement, your work based on
1122382Spaul    the Program is not required to print an announcement.)
1132382Spaul
1142382SpaulThese requirements apply to the modified work as a whole.  If
1152382Spaulidentifiable sections of that work are not derived from the Program,
1162382Spauland can be reasonably considered independent and separate works in
1172382Spaulthemselves, then this License, and its terms, do not apply to those
1182382Spaulsections when you distribute them as separate works.  But when you
1192382Spauldistribute the same sections as part of a whole which is a work based
1202382Spaulon the Program, the distribution of the whole must be on the terms of
1212382Spaulthis License, whose permissions for other licensees extend to the
1222382Spaulentire whole, and thus to each and every part regardless of who wrote it.
1232382Spaul
1242382SpaulThus, it is not the intent of this section to claim rights or contest
1252382Spaulyour rights to work written entirely by you; rather, the intent is to
1262382Spaulexercise the right to control the distribution of derivative or
1272382Spaulcollective works based on the Program.
1282382Spaul
1292382SpaulIn addition, mere aggregation of another work not based on the Program
1302382Spaulwith the Program (or with a work based on the Program) on a volume of
1312382Spaula storage or distribution medium does not bring the other work under
1322382Spaulthe scope of this License.
1332382Spaul
1342382Spaul  3. You may copy and distribute the Program (or a work based on it,
1352382Spaulunder Section 2) in object code or executable form under the terms of
1362382SpaulSections 1 and 2 above provided that you also do one of the following:
1372382Spaul
1382382Spaul    a) Accompany it with the complete corresponding machine-readable
1392382Spaul    source code, which must be distributed under the terms of Sections
1402382Spaul    1 and 2 above on a medium customarily used for software interchange; or,
1412382Spaul
1422382Spaul    b) Accompany it with a written offer, valid for at least three
1432382Spaul    years, to give any third party, for a charge no more than your
1442382Spaul    cost of physically performing source distribution, a complete
1452382Spaul    machine-readable copy of the corresponding source code, to be
1462382Spaul    distributed under the terms of Sections 1 and 2 above on a medium
1472382Spaul    customarily used for software interchange; or,
1482382Spaul
1492382Spaul    c) Accompany it with the information you received as to the offer
1502382Spaul    to distribute corresponding source code.  (This alternative is
1512382Spaul    allowed only for noncommercial distribution and only if you
1522382Spaul    received the program in object code or executable form with such
1532382Spaul    an offer, in accord with Subsection b above.)
1542382Spaul
1552382SpaulThe source code for a work means the preferred form of the work for
1562382Spaulmaking modifications to it.  For an executable work, complete source
1572382Spaulcode means all the source code for all modules it contains, plus any
1582382Spaulassociated interface definition files, plus the scripts used to
1592382Spaulcontrol compilation and installation of the executable.  However, as a
1602382Spaulspecial exception, the source code distributed need not include
1612382Spaulanything that is normally distributed (in either source or binary
1622382Spaulform) with the major components (compiler, kernel, and so on) of the
1632382Spauloperating system on which the executable runs, unless that component
1642382Spaulitself accompanies the executable.
1652382Spaul
1662382SpaulIf distribution of executable or object code is made by offering
1672382Spaulaccess to copy from a designated place, then offering equivalent
1682382Spaulaccess to copy the source code from the same place counts as
1692382Spauldistribution of the source code, even though third parties are not
1702382Spaulcompelled to copy the source along with the object code.
1712382Spaul
1722382Spaul  4. You may not copy, modify, sublicense, or distribute the Program
1732382Spaulexcept as expressly provided under this License.  Any attempt
1742382Spaulotherwise to copy, modify, sublicense or distribute the Program is
1752382Spaulvoid, and will automatically terminate your rights under this License.
1762382SpaulHowever, parties who have received copies, or rights, from you under
1772382Spaulthis License will not have their licenses terminated so long as such
1782382Spaulparties remain in full compliance.
1792382Spaul
1802382Spaul  5. You are not required to accept this License, since you have not
1812382Spaulsigned it.  However, nothing else grants you permission to modify or
1822382Spauldistribute the Program or its derivative works.  These actions are
1832382Spaulprohibited by law if you do not accept this License.  Therefore, by
1842382Spaulmodifying or distributing the Program (or any work based on the
1852382SpaulProgram), you indicate your acceptance of this License to do so, and
1862382Spaulall its terms and conditions for copying, distributing or modifying
1872382Spaulthe Program or works based on it.
1882382Spaul
1892382Spaul  6. Each time you redistribute the Program (or any work based on the
1902382SpaulProgram), the recipient automatically receives a license from the
1912382Spauloriginal licensor to copy, distribute or modify the Program subject to
1922382Spaulthese terms and conditions.  You may not impose any further
1932382Spaulrestrictions on the recipients' exercise of the rights granted herein.
1942382SpaulYou are not responsible for enforcing compliance by third parties to
1952382Spaulthis License.
1962382Spaul
1972382Spaul  7. If, as a consequence of a court judgment or allegation of patent
1982382Spaulinfringement or for any other reason (not limited to patent issues),
1992382Spaulconditions are imposed on you (whether by court order, agreement or
2002382Spaulotherwise) that contradict the conditions of this License, they do not
2012382Spaulexcuse you from the conditions of this License.  If you cannot
2022382Spauldistribute so as to satisfy simultaneously your obligations under this
2032382SpaulLicense and any other pertinent obligations, then as a consequence you
2042382Spaulmay not distribute the Program at all.  For example, if a patent
2052382Spaullicense would not permit royalty-free redistribution of the Program by
2062382Spaulall those who receive copies directly or indirectly through you, then
2072382Spaulthe only way you could satisfy both it and this License would be to
2082382Spaulrefrain entirely from distribution of the Program.
2092382Spaul
2102382SpaulIf any portion of this section is held invalid or unenforceable under
2112382Spaulany particular circumstance, the balance of the section is intended to
2122382Spaulapply and the section as a whole is intended to apply in other
2132382Spaulcircumstances.
2142382Spaul
2152382SpaulIt is not the purpose of this section to induce you to infringe any
2162382Spaulpatents or other property right claims or to contest validity of any
2172382Spaulsuch claims; this section has the sole purpose of protecting the
2182382Spaulintegrity of the free software distribution system, which is
2192382Spaulimplemented by public license practices.  Many people have made
2202382Spaulgenerous contributions to the wide range of software distributed
2212382Spaulthrough that system in reliance on consistent application of that
2222382Spaulsystem; it is up to the author/donor to decide if he or she is willing
2232382Spaulto distribute software through any other system and a licensee cannot
2242382Spaulimpose that choice.
2252382Spaul
2262382SpaulThis section is intended to make thoroughly clear what is believed to
2272382Spaulbe a consequence of the rest of this License.
2282382Spaul
2292382Spaul  8. If the distribution and/or use of the Program is restricted in
2302382Spaulcertain countries either by patents or by copyrighted interfaces, the
2312382Spauloriginal copyright holder who places the Program under this License
2322382Spaulmay add an explicit geographical distribution limitation excluding
2332382Spaulthose countries, so that distribution is permitted only in or among
2342382Spaulcountries not thus excluded.  In such case, this License incorporates
2352382Spaulthe limitation as if written in the body of this License.
2362382Spaul
2372382Spaul  9. The Free Software Foundation may publish revised and/or new versions
2382382Spaulof the General Public License from time to time.  Such new versions will
2392382Spaulbe similar in spirit to the present version, but may differ in detail to
2402382Spauladdress new problems or concerns.
2412382Spaul
2422382SpaulEach version is given a distinguishing version number.  If the Program
2432382Spaulspecifies a version number of this License which applies to it and "any
2442382Spaullater version", you have the option of following the terms and conditions
2452382Spauleither of that version or of any later version published by the Free
2462382SpaulSoftware Foundation.  If the Program does not specify a version number of
2472382Spaulthis License, you may choose any version ever published by the Free Software
2482382SpaulFoundation.
2492382Spaul
2502382Spaul  10. If you wish to incorporate parts of the Program into other free
2512382Spaulprograms whose distribution conditions are different, write to the author
2522382Spaulto ask for permission.  For software which is copyrighted by the Free
2532382SpaulSoftware Foundation, write to the Free Software Foundation; we sometimes
2542382Spaulmake exceptions for this.  Our decision will be guided by the two goals
2552382Spaulof preserving the free status of all derivatives of our free software and
2562382Spaulof promoting the sharing and reuse of software generally.
2572382Spaul
2582382Spaul			    NO WARRANTY
2592382Spaul
2602382Spaul  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
2612382SpaulFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
2622382SpaulOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
2632382SpaulPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
2642382SpaulOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2652382SpaulMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
2662382SpaulTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
2672382SpaulPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
2682382SpaulREPAIR OR CORRECTION.
2692382Spaul
2702382Spaul  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
2712382SpaulWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
2722382SpaulREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
2732382SpaulINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
2742382SpaulOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
2752382SpaulTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
2762382SpaulYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
2772382SpaulPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
2782382SpaulPOSSIBILITY OF SUCH DAMAGES.
2792382Spaul
2802382Spaul		     END OF TERMS AND CONDITIONS
2812382Spaul
2822382Spaul	Appendix: How to Apply These Terms to Your New Programs
2832382Spaul
2842382Spaul  If you develop a new program, and you want it to be of the greatest
2852382Spaulpossible use to the public, the best way to achieve this is to make it
2862382Spaulfree software which everyone can redistribute and change under these terms.
2872382Spaul
2882382Spaul  To do so, attach the following notices to the program.  It is safest
2892382Spaulto attach them to the start of each source file to most effectively
2902382Spaulconvey the exclusion of warranty; and each file should have at least
2912382Spaulthe "copyright" line and a pointer to where the full notice is found.
2922382Spaul
2932382Spaul    <one line to give the program's name and a brief idea of what it does.>
2942382Spaul    Copyright (C) 19yy  <name of author>
2952382Spaul
2962382Spaul    This program is free software; you can redistribute it and/or modify
2972382Spaul    it under the terms of the GNU General Public License as published by
2982382Spaul    the Free Software Foundation; either version 2 of the License, or
2992382Spaul    (at your option) any later version.
3002382Spaul
3012382Spaul    This program is distributed in the hope that it will be useful,
3022382Spaul    but WITHOUT ANY WARRANTY; without even the implied warranty of
3032382Spaul    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3042382Spaul    GNU General Public License for more details.
3052382Spaul
3062382Spaul    You should have received a copy of the GNU General Public License
3072382Spaul    along with this program; if not, write to the Free Software
3082382Spaul    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
3092382Spaul
3102382SpaulAlso add information on how to contact you by electronic and paper mail.
3112382Spaul
3122382SpaulIf the program is interactive, make it output a short notice like this
3132382Spaulwhen it starts in an interactive mode:
3142382Spaul
3152382Spaul    Gnomovision version 69, Copyright (C) 19yy name of author
3162382Spaul    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
3172382Spaul    This is free software, and you are welcome to redistribute it
3182382Spaul    under certain conditions; type `show c' for details.
3192382Spaul
3202382SpaulThe hypothetical commands `show w' and `show c' should show the appropriate
3212382Spaulparts of the General Public License.  Of course, the commands you use may
3222382Spaulbe called something other than `show w' and `show c'; they could even be
3232382Spaulmouse-clicks or menu items--whatever suits your program.
3242382Spaul
3252382SpaulYou should also get your employer (if you work as a programmer) or your
3262382Spaulschool, if any, to sign a "copyright disclaimer" for the program, if
3272382Spaulnecessary.  Here is a sample; alter the names:
3282382Spaul
3292382Spaul  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
3302382Spaul  `Gnomovision' (which makes passes at compilers) written by James Hacker.
3312382Spaul
3322382Spaul  <signature of Ty Coon>, 1 April 1989
3332382Spaul  Ty Coon, President of Vice
3342382Spaul
3352382SpaulThis General Public License does not permit incorporating your program into
3362382Spaulproprietary programs.  If your program is a subroutine library, you may
3372382Spaulconsider it more useful to permit linking proprietary applications with the
3382382Spaullibrary.  If this is what you want to do, use the GNU Library General
3392382SpaulPublic License instead of this License.
340