1f5e00e24SAndrey A. Chernov GNU GENERAL PUBLIC LICENSE 2f5e00e24SAndrey A. Chernov Version 2, June 1991 3f5e00e24SAndrey A. Chernov 4f5e00e24SAndrey A. Chernov Copyright (C) 1989, 1991 Free Software Foundation, Inc. 518fd37a7SXin LI 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6f5e00e24SAndrey A. Chernov Everyone is permitted to copy and distribute verbatim copies 7f5e00e24SAndrey A. Chernov of this license document, but changing it is not allowed. 8f5e00e24SAndrey A. Chernov 9f5e00e24SAndrey A. Chernov Preamble 10f5e00e24SAndrey A. Chernov 11f5e00e24SAndrey A. Chernov The licenses for most software are designed to take away your 12f5e00e24SAndrey A. Chernovfreedom to share and change it. By contrast, the GNU General Public 13f5e00e24SAndrey A. ChernovLicense is intended to guarantee your freedom to share and change free 14f5e00e24SAndrey A. Chernovsoftware--to make sure the software is free for all its users. This 15f5e00e24SAndrey A. ChernovGeneral Public License applies to most of the Free Software 16f5e00e24SAndrey A. ChernovFoundation's software and to any other program whose authors commit to 17f5e00e24SAndrey A. Chernovusing it. (Some other Free Software Foundation software is covered by 18f5e00e24SAndrey A. Chernovthe GNU Library General Public License instead.) You can apply it to 19f5e00e24SAndrey A. Chernovyour programs, too. 20f5e00e24SAndrey A. Chernov 21f5e00e24SAndrey A. Chernov When we speak of free software, we are referring to freedom, not 22f5e00e24SAndrey A. Chernovprice. Our General Public Licenses are designed to make sure that you 23f5e00e24SAndrey A. Chernovhave the freedom to distribute copies of free software (and charge for 24f5e00e24SAndrey A. Chernovthis service if you wish), that you receive source code or can get it 25f5e00e24SAndrey A. Chernovif you want it, that you can change the software or use pieces of it 26f5e00e24SAndrey A. Chernovin new free programs; and that you know you can do these things. 27f5e00e24SAndrey A. Chernov 28f5e00e24SAndrey A. Chernov To protect your rights, we need to make restrictions that forbid 29f5e00e24SAndrey A. Chernovanyone to deny you these rights or to ask you to surrender the rights. 30f5e00e24SAndrey A. ChernovThese restrictions translate to certain responsibilities for you if you 31f5e00e24SAndrey A. Chernovdistribute copies of the software, or if you modify it. 32f5e00e24SAndrey A. Chernov 33f5e00e24SAndrey A. Chernov For example, if you distribute copies of such a program, whether 34f5e00e24SAndrey A. Chernovgratis or for a fee, you must give the recipients all the rights that 35f5e00e24SAndrey A. Chernovyou have. You must make sure that they, too, receive or can get the 36f5e00e24SAndrey A. Chernovsource code. And you must show them these terms so they know their 37f5e00e24SAndrey A. Chernovrights. 38f5e00e24SAndrey A. Chernov 39f5e00e24SAndrey A. Chernov We protect your rights with two steps: (1) copyright the software, and 40f5e00e24SAndrey A. Chernov(2) offer you this license which gives you legal permission to copy, 41f5e00e24SAndrey A. Chernovdistribute and/or modify the software. 42f5e00e24SAndrey A. Chernov 43f5e00e24SAndrey A. Chernov Also, for each author's protection and ours, we want to make certain 44f5e00e24SAndrey A. Chernovthat everyone understands that there is no warranty for this free 45f5e00e24SAndrey A. Chernovsoftware. If the software is modified by someone else and passed on, we 46f5e00e24SAndrey A. Chernovwant its recipients to know that what they have is not the original, so 47f5e00e24SAndrey A. Chernovthat any problems introduced by others will not reflect on the original 48f5e00e24SAndrey A. Chernovauthors' reputations. 49f5e00e24SAndrey A. Chernov 50f5e00e24SAndrey A. Chernov Finally, any free program is threatened constantly by software 51f5e00e24SAndrey A. Chernovpatents. We wish to avoid the danger that redistributors of a free 52f5e00e24SAndrey A. Chernovprogram will individually obtain patent licenses, in effect making the 53f5e00e24SAndrey A. Chernovprogram proprietary. To prevent this, we have made it clear that any 54f5e00e24SAndrey A. Chernovpatent must be licensed for everyone's free use or not licensed at all. 55f5e00e24SAndrey A. Chernov 56f5e00e24SAndrey A. Chernov The precise terms and conditions for copying, distribution and 57f5e00e24SAndrey A. Chernovmodification follow. 58f5e00e24SAndrey A. Chernov 59f5e00e24SAndrey A. Chernov GNU GENERAL PUBLIC LICENSE 60f5e00e24SAndrey A. Chernov TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61f5e00e24SAndrey A. Chernov 62f5e00e24SAndrey A. Chernov 0. This License applies to any program or other work which contains 63f5e00e24SAndrey A. Chernova notice placed by the copyright holder saying it may be distributed 64f5e00e24SAndrey A. Chernovunder the terms of this General Public License. The "Program", below, 65f5e00e24SAndrey A. Chernovrefers to any such program or work, and a "work based on the Program" 66f5e00e24SAndrey A. Chernovmeans either the Program or any derivative work under copyright law: 67f5e00e24SAndrey A. Chernovthat is to say, a work containing the Program or a portion of it, 68f5e00e24SAndrey A. Chernoveither verbatim or with modifications and/or translated into another 69f5e00e24SAndrey A. Chernovlanguage. (Hereinafter, translation is included without limitation in 70f5e00e24SAndrey A. Chernovthe term "modification".) Each licensee is addressed as "you". 71f5e00e24SAndrey A. Chernov 72f5e00e24SAndrey A. ChernovActivities other than copying, distribution and modification are not 73f5e00e24SAndrey A. Chernovcovered by this License; they are outside its scope. The act of 74f5e00e24SAndrey A. Chernovrunning the Program is not restricted, and the output from the Program 75f5e00e24SAndrey A. Chernovis covered only if its contents constitute a work based on the 76f5e00e24SAndrey A. ChernovProgram (independent of having been made by running the Program). 77f5e00e24SAndrey A. ChernovWhether that is true depends on what the Program does. 78f5e00e24SAndrey A. Chernov 79f5e00e24SAndrey A. Chernov 1. You may copy and distribute verbatim copies of the Program's 80f5e00e24SAndrey A. Chernovsource code as you receive it, in any medium, provided that you 81f5e00e24SAndrey A. Chernovconspicuously and appropriately publish on each copy an appropriate 82f5e00e24SAndrey A. Chernovcopyright notice and disclaimer of warranty; keep intact all the 83f5e00e24SAndrey A. Chernovnotices that refer to this License and to the absence of any warranty; 84f5e00e24SAndrey A. Chernovand give any other recipients of the Program a copy of this License 85f5e00e24SAndrey A. Chernovalong with the Program. 86f5e00e24SAndrey A. Chernov 87f5e00e24SAndrey A. ChernovYou may charge a fee for the physical act of transferring a copy, and 88f5e00e24SAndrey A. Chernovyou may at your option offer warranty protection in exchange for a fee. 89f5e00e24SAndrey A. Chernov 90f5e00e24SAndrey A. Chernov 2. You may modify your copy or copies of the Program or any portion 91f5e00e24SAndrey A. Chernovof it, thus forming a work based on the Program, and copy and 92f5e00e24SAndrey A. Chernovdistribute such modifications or work under the terms of Section 1 93f5e00e24SAndrey A. Chernovabove, provided that you also meet all of these conditions: 94f5e00e24SAndrey A. Chernov 95f5e00e24SAndrey A. Chernov a) You must cause the modified files to carry prominent notices 96f5e00e24SAndrey A. Chernov stating that you changed the files and the date of any change. 97f5e00e24SAndrey A. Chernov 98f5e00e24SAndrey A. Chernov b) You must cause any work that you distribute or publish, that in 99f5e00e24SAndrey A. Chernov whole or in part contains or is derived from the Program or any 100f5e00e24SAndrey A. Chernov part thereof, to be licensed as a whole at no charge to all third 101f5e00e24SAndrey A. Chernov parties under the terms of this License. 102f5e00e24SAndrey A. Chernov 103f5e00e24SAndrey A. Chernov c) If the modified program normally reads commands interactively 104f5e00e24SAndrey A. Chernov when run, you must cause it, when started running for such 105f5e00e24SAndrey A. Chernov interactive use in the most ordinary way, to print or display an 106f5e00e24SAndrey A. Chernov announcement including an appropriate copyright notice and a 107f5e00e24SAndrey A. Chernov notice that there is no warranty (or else, saying that you provide 108f5e00e24SAndrey A. Chernov a warranty) and that users may redistribute the program under 109f5e00e24SAndrey A. Chernov these conditions, and telling the user how to view a copy of this 110f5e00e24SAndrey A. Chernov License. (Exception: if the Program itself is interactive but 111f5e00e24SAndrey A. Chernov does not normally print such an announcement, your work based on 112f5e00e24SAndrey A. Chernov the Program is not required to print an announcement.) 113f5e00e24SAndrey A. Chernov 114f5e00e24SAndrey A. ChernovThese requirements apply to the modified work as a whole. If 115f5e00e24SAndrey A. Chernovidentifiable sections of that work are not derived from the Program, 116f5e00e24SAndrey A. Chernovand can be reasonably considered independent and separate works in 117f5e00e24SAndrey A. Chernovthemselves, then this License, and its terms, do not apply to those 118f5e00e24SAndrey A. Chernovsections when you distribute them as separate works. But when you 119f5e00e24SAndrey A. Chernovdistribute the same sections as part of a whole which is a work based 120f5e00e24SAndrey A. Chernovon the Program, the distribution of the whole must be on the terms of 121f5e00e24SAndrey A. Chernovthis License, whose permissions for other licensees extend to the 122f5e00e24SAndrey A. Chernoventire whole, and thus to each and every part regardless of who wrote it. 123f5e00e24SAndrey A. Chernov 124f5e00e24SAndrey A. ChernovThus, it is not the intent of this section to claim rights or contest 125f5e00e24SAndrey A. Chernovyour rights to work written entirely by you; rather, the intent is to 126f5e00e24SAndrey A. Chernovexercise the right to control the distribution of derivative or 127f5e00e24SAndrey A. Chernovcollective works based on the Program. 128f5e00e24SAndrey A. Chernov 129f5e00e24SAndrey A. ChernovIn addition, mere aggregation of another work not based on the Program 130f5e00e24SAndrey A. Chernovwith the Program (or with a work based on the Program) on a volume of 131f5e00e24SAndrey A. Chernova storage or distribution medium does not bring the other work under 132f5e00e24SAndrey A. Chernovthe scope of this License. 133f5e00e24SAndrey A. Chernov 134f5e00e24SAndrey A. Chernov 3. You may copy and distribute the Program (or a work based on it, 135f5e00e24SAndrey A. Chernovunder Section 2) in object code or executable form under the terms of 136f5e00e24SAndrey A. ChernovSections 1 and 2 above provided that you also do one of the following: 137f5e00e24SAndrey A. Chernov 138f5e00e24SAndrey A. Chernov a) Accompany it with the complete corresponding machine-readable 139f5e00e24SAndrey A. Chernov source code, which must be distributed under the terms of Sections 140f5e00e24SAndrey A. Chernov 1 and 2 above on a medium customarily used for software interchange; or, 141f5e00e24SAndrey A. Chernov 142f5e00e24SAndrey A. Chernov b) Accompany it with a written offer, valid for at least three 143f5e00e24SAndrey A. Chernov years, to give any third party, for a charge no more than your 144f5e00e24SAndrey A. Chernov cost of physically performing source distribution, a complete 145f5e00e24SAndrey A. Chernov machine-readable copy of the corresponding source code, to be 146f5e00e24SAndrey A. Chernov distributed under the terms of Sections 1 and 2 above on a medium 147f5e00e24SAndrey A. Chernov customarily used for software interchange; or, 148f5e00e24SAndrey A. Chernov 149f5e00e24SAndrey A. Chernov c) Accompany it with the information you received as to the offer 150f5e00e24SAndrey A. Chernov to distribute corresponding source code. (This alternative is 151f5e00e24SAndrey A. Chernov allowed only for noncommercial distribution and only if you 152f5e00e24SAndrey A. Chernov received the program in object code or executable form with such 153f5e00e24SAndrey A. Chernov an offer, in accord with Subsection b above.) 154f5e00e24SAndrey A. Chernov 155f5e00e24SAndrey A. ChernovThe source code for a work means the preferred form of the work for 156f5e00e24SAndrey A. Chernovmaking modifications to it. For an executable work, complete source 157f5e00e24SAndrey A. Chernovcode means all the source code for all modules it contains, plus any 158f5e00e24SAndrey A. Chernovassociated interface definition files, plus the scripts used to 159f5e00e24SAndrey A. Chernovcontrol compilation and installation of the executable. However, as a 160f5e00e24SAndrey A. Chernovspecial exception, the source code distributed need not include 161f5e00e24SAndrey A. Chernovanything that is normally distributed (in either source or binary 162f5e00e24SAndrey A. Chernovform) with the major components (compiler, kernel, and so on) of the 163f5e00e24SAndrey A. Chernovoperating system on which the executable runs, unless that component 164f5e00e24SAndrey A. Chernovitself accompanies the executable. 165f5e00e24SAndrey A. Chernov 166f5e00e24SAndrey A. ChernovIf distribution of executable or object code is made by offering 167f5e00e24SAndrey A. Chernovaccess to copy from a designated place, then offering equivalent 168f5e00e24SAndrey A. Chernovaccess to copy the source code from the same place counts as 169f5e00e24SAndrey A. Chernovdistribution of the source code, even though third parties are not 170f5e00e24SAndrey A. Chernovcompelled to copy the source along with the object code. 171f5e00e24SAndrey A. Chernov 172f5e00e24SAndrey A. Chernov 4. You may not copy, modify, sublicense, or distribute the Program 173f5e00e24SAndrey A. Chernovexcept as expressly provided under this License. Any attempt 174f5e00e24SAndrey A. Chernovotherwise to copy, modify, sublicense or distribute the Program is 175f5e00e24SAndrey A. Chernovvoid, and will automatically terminate your rights under this License. 176f5e00e24SAndrey A. ChernovHowever, parties who have received copies, or rights, from you under 177f5e00e24SAndrey A. Chernovthis License will not have their licenses terminated so long as such 178f5e00e24SAndrey A. Chernovparties remain in full compliance. 179f5e00e24SAndrey A. Chernov 180f5e00e24SAndrey A. Chernov 5. You are not required to accept this License, since you have not 181f5e00e24SAndrey A. Chernovsigned it. However, nothing else grants you permission to modify or 182f5e00e24SAndrey A. Chernovdistribute the Program or its derivative works. These actions are 183f5e00e24SAndrey A. Chernovprohibited by law if you do not accept this License. Therefore, by 184f5e00e24SAndrey A. Chernovmodifying or distributing the Program (or any work based on the 185f5e00e24SAndrey A. ChernovProgram), you indicate your acceptance of this License to do so, and 186f5e00e24SAndrey A. Chernovall its terms and conditions for copying, distributing or modifying 187f5e00e24SAndrey A. Chernovthe Program or works based on it. 188f5e00e24SAndrey A. Chernov 189f5e00e24SAndrey A. Chernov 6. Each time you redistribute the Program (or any work based on the 190f5e00e24SAndrey A. ChernovProgram), the recipient automatically receives a license from the 191f5e00e24SAndrey A. Chernovoriginal licensor to copy, distribute or modify the Program subject to 192f5e00e24SAndrey A. Chernovthese terms and conditions. You may not impose any further 193f5e00e24SAndrey A. Chernovrestrictions on the recipients' exercise of the rights granted herein. 194f5e00e24SAndrey A. ChernovYou are not responsible for enforcing compliance by third parties to 195f5e00e24SAndrey A. Chernovthis License. 196f5e00e24SAndrey A. Chernov 197f5e00e24SAndrey A. Chernov 7. If, as a consequence of a court judgment or allegation of patent 198f5e00e24SAndrey A. Chernovinfringement or for any other reason (not limited to patent issues), 199f5e00e24SAndrey A. Chernovconditions are imposed on you (whether by court order, agreement or 200f5e00e24SAndrey A. Chernovotherwise) that contradict the conditions of this License, they do not 201f5e00e24SAndrey A. Chernovexcuse you from the conditions of this License. If you cannot 202f5e00e24SAndrey A. Chernovdistribute so as to satisfy simultaneously your obligations under this 203f5e00e24SAndrey A. ChernovLicense and any other pertinent obligations, then as a consequence you 204f5e00e24SAndrey A. Chernovmay not distribute the Program at all. For example, if a patent 205f5e00e24SAndrey A. Chernovlicense would not permit royalty-free redistribution of the Program by 206f5e00e24SAndrey A. Chernovall those who receive copies directly or indirectly through you, then 207f5e00e24SAndrey A. Chernovthe only way you could satisfy both it and this License would be to 208f5e00e24SAndrey A. Chernovrefrain entirely from distribution of the Program. 209f5e00e24SAndrey A. Chernov 210f5e00e24SAndrey A. ChernovIf any portion of this section is held invalid or unenforceable under 211f5e00e24SAndrey A. Chernovany particular circumstance, the balance of the section is intended to 212f5e00e24SAndrey A. Chernovapply and the section as a whole is intended to apply in other 213f5e00e24SAndrey A. Chernovcircumstances. 214f5e00e24SAndrey A. Chernov 215f5e00e24SAndrey A. ChernovIt is not the purpose of this section to induce you to infringe any 216f5e00e24SAndrey A. Chernovpatents or other property right claims or to contest validity of any 217f5e00e24SAndrey A. Chernovsuch claims; this section has the sole purpose of protecting the 218f5e00e24SAndrey A. Chernovintegrity of the free software distribution system, which is 219f5e00e24SAndrey A. Chernovimplemented by public license practices. Many people have made 220f5e00e24SAndrey A. Chernovgenerous contributions to the wide range of software distributed 221f5e00e24SAndrey A. Chernovthrough that system in reliance on consistent application of that 222f5e00e24SAndrey A. Chernovsystem; it is up to the author/donor to decide if he or she is willing 223f5e00e24SAndrey A. Chernovto distribute software through any other system and a licensee cannot 224f5e00e24SAndrey A. Chernovimpose that choice. 225f5e00e24SAndrey A. Chernov 226f5e00e24SAndrey A. ChernovThis section is intended to make thoroughly clear what is believed to 227f5e00e24SAndrey A. Chernovbe a consequence of the rest of this License. 228f5e00e24SAndrey A. Chernov 229f5e00e24SAndrey A. Chernov 8. If the distribution and/or use of the Program is restricted in 230f5e00e24SAndrey A. Chernovcertain countries either by patents or by copyrighted interfaces, the 231f5e00e24SAndrey A. Chernovoriginal copyright holder who places the Program under this License 232f5e00e24SAndrey A. Chernovmay add an explicit geographical distribution limitation excluding 233f5e00e24SAndrey A. Chernovthose countries, so that distribution is permitted only in or among 234f5e00e24SAndrey A. Chernovcountries not thus excluded. In such case, this License incorporates 235f5e00e24SAndrey A. Chernovthe limitation as if written in the body of this License. 236f5e00e24SAndrey A. Chernov 237f5e00e24SAndrey A. Chernov 9. The Free Software Foundation may publish revised and/or new versions 238f5e00e24SAndrey A. Chernovof the General Public License from time to time. Such new versions will 239f5e00e24SAndrey A. Chernovbe similar in spirit to the present version, but may differ in detail to 240f5e00e24SAndrey A. Chernovaddress new problems or concerns. 241f5e00e24SAndrey A. Chernov 242f5e00e24SAndrey A. ChernovEach version is given a distinguishing version number. If the Program 243f5e00e24SAndrey A. Chernovspecifies a version number of this License which applies to it and "any 244f5e00e24SAndrey A. Chernovlater version", you have the option of following the terms and conditions 245f5e00e24SAndrey A. Chernoveither of that version or of any later version published by the Free 246f5e00e24SAndrey A. ChernovSoftware Foundation. If the Program does not specify a version number of 247f5e00e24SAndrey A. Chernovthis License, you may choose any version ever published by the Free Software 248f5e00e24SAndrey A. ChernovFoundation. 249f5e00e24SAndrey A. Chernov 250f5e00e24SAndrey A. Chernov 10. If you wish to incorporate parts of the Program into other free 251f5e00e24SAndrey A. Chernovprograms whose distribution conditions are different, write to the author 252f5e00e24SAndrey A. Chernovto ask for permission. For software which is copyrighted by the Free 253f5e00e24SAndrey A. ChernovSoftware Foundation, write to the Free Software Foundation; we sometimes 254f5e00e24SAndrey A. Chernovmake exceptions for this. Our decision will be guided by the two goals 255f5e00e24SAndrey A. Chernovof preserving the free status of all derivatives of our free software and 256f5e00e24SAndrey A. Chernovof promoting the sharing and reuse of software generally. 257f5e00e24SAndrey A. Chernov 258f5e00e24SAndrey A. Chernov NO WARRANTY 259f5e00e24SAndrey A. Chernov 260f5e00e24SAndrey A. Chernov 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261f5e00e24SAndrey A. ChernovFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262f5e00e24SAndrey A. ChernovOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263f5e00e24SAndrey A. ChernovPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264f5e00e24SAndrey A. ChernovOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265f5e00e24SAndrey A. ChernovMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266f5e00e24SAndrey A. ChernovTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267f5e00e24SAndrey A. ChernovPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268f5e00e24SAndrey A. ChernovREPAIR OR CORRECTION. 269f5e00e24SAndrey A. Chernov 270f5e00e24SAndrey A. Chernov 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271f5e00e24SAndrey A. ChernovWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272f5e00e24SAndrey A. ChernovREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273f5e00e24SAndrey A. ChernovINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274f5e00e24SAndrey A. ChernovOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275f5e00e24SAndrey A. ChernovTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276f5e00e24SAndrey A. ChernovYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277f5e00e24SAndrey A. ChernovPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278f5e00e24SAndrey A. ChernovPOSSIBILITY OF SUCH DAMAGES. 279f5e00e24SAndrey A. Chernov 280f5e00e24SAndrey A. Chernov END OF TERMS AND CONDITIONS 281f5e00e24SAndrey A. Chernov 28218fd37a7SXin LI How to Apply These Terms to Your New Programs 283f5e00e24SAndrey A. Chernov 284f5e00e24SAndrey A. Chernov If you develop a new program, and you want it to be of the greatest 285f5e00e24SAndrey A. Chernovpossible use to the public, the best way to achieve this is to make it 286f5e00e24SAndrey A. Chernovfree software which everyone can redistribute and change under these terms. 287f5e00e24SAndrey A. Chernov 288f5e00e24SAndrey A. Chernov To do so, attach the following notices to the program. It is safest 289f5e00e24SAndrey A. Chernovto attach them to the start of each source file to most effectively 290f5e00e24SAndrey A. Chernovconvey the exclusion of warranty; and each file should have at least 291f5e00e24SAndrey A. Chernovthe "copyright" line and a pointer to where the full notice is found. 292f5e00e24SAndrey A. Chernov 293f5e00e24SAndrey A. Chernov <one line to give the program's name and a brief idea of what it does.> 29418fd37a7SXin LI Copyright (C) <year> <name of author> 295f5e00e24SAndrey A. Chernov 296f5e00e24SAndrey A. Chernov This program is free software; you can redistribute it and/or modify 297f5e00e24SAndrey A. Chernov it under the terms of the GNU General Public License as published by 298f5e00e24SAndrey A. Chernov the Free Software Foundation; either version 2 of the License, or 299f5e00e24SAndrey A. Chernov (at your option) any later version. 300f5e00e24SAndrey A. Chernov 301f5e00e24SAndrey A. Chernov This program is distributed in the hope that it will be useful, 302f5e00e24SAndrey A. Chernov but WITHOUT ANY WARRANTY; without even the implied warranty of 303f5e00e24SAndrey A. Chernov MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304f5e00e24SAndrey A. Chernov GNU General Public License for more details. 305f5e00e24SAndrey A. Chernov 306f5e00e24SAndrey A. Chernov You should have received a copy of the GNU General Public License 307f5e00e24SAndrey A. Chernov along with this program; if not, write to the Free Software 30818fd37a7SXin LI Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 30918fd37a7SXin LI 310f5e00e24SAndrey A. Chernov 311f5e00e24SAndrey A. ChernovAlso add information on how to contact you by electronic and paper mail. 312f5e00e24SAndrey A. Chernov 313f5e00e24SAndrey A. ChernovIf the program is interactive, make it output a short notice like this 314f5e00e24SAndrey A. Chernovwhen it starts in an interactive mode: 315f5e00e24SAndrey A. Chernov 31618fd37a7SXin LI Gnomovision version 69, Copyright (C) year name of author 317f5e00e24SAndrey A. Chernov Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 318f5e00e24SAndrey A. Chernov This is free software, and you are welcome to redistribute it 319f5e00e24SAndrey A. Chernov under certain conditions; type `show c' for details. 320f5e00e24SAndrey A. Chernov 321f5e00e24SAndrey A. ChernovThe hypothetical commands `show w' and `show c' should show the appropriate 322f5e00e24SAndrey A. Chernovparts of the General Public License. Of course, the commands you use may 323f5e00e24SAndrey A. Chernovbe called something other than `show w' and `show c'; they could even be 324f5e00e24SAndrey A. Chernovmouse-clicks or menu items--whatever suits your program. 325f5e00e24SAndrey A. Chernov 326f5e00e24SAndrey A. ChernovYou should also get your employer (if you work as a programmer) or your 327f5e00e24SAndrey A. Chernovschool, if any, to sign a "copyright disclaimer" for the program, if 328f5e00e24SAndrey A. Chernovnecessary. Here is a sample; alter the names: 329f5e00e24SAndrey A. Chernov 330f5e00e24SAndrey A. Chernov Yoyodyne, Inc., hereby disclaims all copyright interest in the program 331f5e00e24SAndrey A. Chernov `Gnomovision' (which makes passes at compilers) written by James Hacker. 332f5e00e24SAndrey A. Chernov 333f5e00e24SAndrey A. Chernov <signature of Ty Coon>, 1 April 1989 334f5e00e24SAndrey A. Chernov Ty Coon, President of Vice 335f5e00e24SAndrey A. Chernov 336f5e00e24SAndrey A. ChernovThis General Public License does not permit incorporating your program into 337f5e00e24SAndrey A. Chernovproprietary programs. If your program is a subroutine library, you may 338f5e00e24SAndrey A. Chernovconsider it more useful to permit linking proprietary applications with the 339f5e00e24SAndrey A. Chernovlibrary. If this is what you want to do, use the GNU Library General 340f5e00e24SAndrey A. ChernovPublic License instead of this License. 341