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