1*e948b3e4Syifeizhao GNU GENERAL PUBLIC LICENSE 2*e948b3e4Syifeizhao Version 2, June 1991 3*e948b3e4Syifeizhao 4*e948b3e4Syifeizhao Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5*e948b3e4Syifeizhao 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6*e948b3e4Syifeizhao Everyone is permitted to copy and distribute verbatim copies 7*e948b3e4Syifeizhao of this license document, but changing it is not allowed. 8*e948b3e4Syifeizhao 9*e948b3e4Syifeizhao Preamble 10*e948b3e4Syifeizhao 11*e948b3e4Syifeizhao The licenses for most software are designed to take away your 12*e948b3e4Syifeizhaofreedom to share and change it. By contrast, the GNU General Public 13*e948b3e4SyifeizhaoLicense is intended to guarantee your freedom to share and change free 14*e948b3e4Syifeizhaosoftware--to make sure the software is free for all its users. This 15*e948b3e4SyifeizhaoGeneral Public License applies to most of the Free Software 16*e948b3e4SyifeizhaoFoundation's software and to any other program whose authors commit to 17*e948b3e4Syifeizhaousing it. (Some other Free Software Foundation software is covered by 18*e948b3e4Syifeizhaothe GNU Lesser General Public License instead.) You can apply it to 19*e948b3e4Syifeizhaoyour programs, too. 20*e948b3e4Syifeizhao 21*e948b3e4Syifeizhao When we speak of free software, we are referring to freedom, not 22*e948b3e4Syifeizhaoprice. Our General Public Licenses are designed to make sure that you 23*e948b3e4Syifeizhaohave the freedom to distribute copies of free software (and charge for 24*e948b3e4Syifeizhaothis service if you wish), that you receive source code or can get it 25*e948b3e4Syifeizhaoif you want it, that you can change the software or use pieces of it 26*e948b3e4Syifeizhaoin new free programs; and that you know you can do these things. 27*e948b3e4Syifeizhao 28*e948b3e4Syifeizhao To protect your rights, we need to make restrictions that forbid 29*e948b3e4Syifeizhaoanyone to deny you these rights or to ask you to surrender the rights. 30*e948b3e4SyifeizhaoThese restrictions translate to certain responsibilities for you if you 31*e948b3e4Syifeizhaodistribute copies of the software, or if you modify it. 32*e948b3e4Syifeizhao 33*e948b3e4Syifeizhao For example, if you distribute copies of such a program, whether 34*e948b3e4Syifeizhaogratis or for a fee, you must give the recipients all the rights that 35*e948b3e4Syifeizhaoyou have. You must make sure that they, too, receive or can get the 36*e948b3e4Syifeizhaosource code. And you must show them these terms so they know their 37*e948b3e4Syifeizhaorights. 38*e948b3e4Syifeizhao 39*e948b3e4Syifeizhao We protect your rights with two steps: (1) copyright the software, and 40*e948b3e4Syifeizhao(2) offer you this license which gives you legal permission to copy, 41*e948b3e4Syifeizhaodistribute and/or modify the software. 42*e948b3e4Syifeizhao 43*e948b3e4Syifeizhao Also, for each author's protection and ours, we want to make certain 44*e948b3e4Syifeizhaothat everyone understands that there is no warranty for this free 45*e948b3e4Syifeizhaosoftware. If the software is modified by someone else and passed on, we 46*e948b3e4Syifeizhaowant its recipients to know that what they have is not the original, so 47*e948b3e4Syifeizhaothat any problems introduced by others will not reflect on the original 48*e948b3e4Syifeizhaoauthors' reputations. 49*e948b3e4Syifeizhao 50*e948b3e4Syifeizhao Finally, any free program is threatened constantly by software 51*e948b3e4Syifeizhaopatents. We wish to avoid the danger that redistributors of a free 52*e948b3e4Syifeizhaoprogram will individually obtain patent licenses, in effect making the 53*e948b3e4Syifeizhaoprogram proprietary. To prevent this, we have made it clear that any 54*e948b3e4Syifeizhaopatent must be licensed for everyone's free use or not licensed at all. 55*e948b3e4Syifeizhao 56*e948b3e4Syifeizhao The precise terms and conditions for copying, distribution and 57*e948b3e4Syifeizhaomodification follow. 58*e948b3e4Syifeizhao 59*e948b3e4Syifeizhao GNU GENERAL PUBLIC LICENSE 60*e948b3e4Syifeizhao TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61*e948b3e4Syifeizhao 62*e948b3e4Syifeizhao 0. This License applies to any program or other work which contains 63*e948b3e4Syifeizhaoa notice placed by the copyright holder saying it may be distributed 64*e948b3e4Syifeizhaounder the terms of this General Public License. The "Program", below, 65*e948b3e4Syifeizhaorefers to any such program or work, and a "work based on the Program" 66*e948b3e4Syifeizhaomeans either the Program or any derivative work under copyright law: 67*e948b3e4Syifeizhaothat is to say, a work containing the Program or a portion of it, 68*e948b3e4Syifeizhaoeither verbatim or with modifications and/or translated into another 69*e948b3e4Syifeizhaolanguage. (Hereinafter, translation is included without limitation in 70*e948b3e4Syifeizhaothe term "modification".) Each licensee is addressed as "you". 71*e948b3e4Syifeizhao 72*e948b3e4SyifeizhaoActivities other than copying, distribution and modification are not 73*e948b3e4Syifeizhaocovered by this License; they are outside its scope. The act of 74*e948b3e4Syifeizhaorunning the Program is not restricted, and the output from the Program 75*e948b3e4Syifeizhaois covered only if its contents constitute a work based on the 76*e948b3e4SyifeizhaoProgram (independent of having been made by running the Program). 77*e948b3e4SyifeizhaoWhether that is true depends on what the Program does. 78*e948b3e4Syifeizhao 79*e948b3e4Syifeizhao 1. You may copy and distribute verbatim copies of the Program's 80*e948b3e4Syifeizhaosource code as you receive it, in any medium, provided that you 81*e948b3e4Syifeizhaoconspicuously and appropriately publish on each copy an appropriate 82*e948b3e4Syifeizhaocopyright notice and disclaimer of warranty; keep intact all the 83*e948b3e4Syifeizhaonotices that refer to this License and to the absence of any warranty; 84*e948b3e4Syifeizhaoand give any other recipients of the Program a copy of this License 85*e948b3e4Syifeizhaoalong with the Program. 86*e948b3e4Syifeizhao 87*e948b3e4SyifeizhaoYou may charge a fee for the physical act of transferring a copy, and 88*e948b3e4Syifeizhaoyou may at your option offer warranty protection in exchange for a fee. 89*e948b3e4Syifeizhao 90*e948b3e4Syifeizhao 2. You may modify your copy or copies of the Program or any portion 91*e948b3e4Syifeizhaoof it, thus forming a work based on the Program, and copy and 92*e948b3e4Syifeizhaodistribute such modifications or work under the terms of Section 1 93*e948b3e4Syifeizhaoabove, provided that you also meet all of these conditions: 94*e948b3e4Syifeizhao 95*e948b3e4Syifeizhao a) You must cause the modified files to carry prominent notices 96*e948b3e4Syifeizhao stating that you changed the files and the date of any change. 97*e948b3e4Syifeizhao 98*e948b3e4Syifeizhao b) You must cause any work that you distribute or publish, that in 99*e948b3e4Syifeizhao whole or in part contains or is derived from the Program or any 100*e948b3e4Syifeizhao part thereof, to be licensed as a whole at no charge to all third 101*e948b3e4Syifeizhao parties under the terms of this License. 102*e948b3e4Syifeizhao 103*e948b3e4Syifeizhao c) If the modified program normally reads commands interactively 104*e948b3e4Syifeizhao when run, you must cause it, when started running for such 105*e948b3e4Syifeizhao interactive use in the most ordinary way, to print or display an 106*e948b3e4Syifeizhao announcement including an appropriate copyright notice and a 107*e948b3e4Syifeizhao notice that there is no warranty (or else, saying that you provide 108*e948b3e4Syifeizhao a warranty) and that users may redistribute the program under 109*e948b3e4Syifeizhao these conditions, and telling the user how to view a copy of this 110*e948b3e4Syifeizhao License. (Exception: if the Program itself is interactive but 111*e948b3e4Syifeizhao does not normally print such an announcement, your work based on 112*e948b3e4Syifeizhao the Program is not required to print an announcement.) 113*e948b3e4Syifeizhao 114*e948b3e4SyifeizhaoThese requirements apply to the modified work as a whole. If 115*e948b3e4Syifeizhaoidentifiable sections of that work are not derived from the Program, 116*e948b3e4Syifeizhaoand can be reasonably considered independent and separate works in 117*e948b3e4Syifeizhaothemselves, then this License, and its terms, do not apply to those 118*e948b3e4Syifeizhaosections when you distribute them as separate works. But when you 119*e948b3e4Syifeizhaodistribute the same sections as part of a whole which is a work based 120*e948b3e4Syifeizhaoon the Program, the distribution of the whole must be on the terms of 121*e948b3e4Syifeizhaothis License, whose permissions for other licensees extend to the 122*e948b3e4Syifeizhaoentire whole, and thus to each and every part regardless of who wrote it. 123*e948b3e4Syifeizhao 124*e948b3e4SyifeizhaoThus, it is not the intent of this section to claim rights or contest 125*e948b3e4Syifeizhaoyour rights to work written entirely by you; rather, the intent is to 126*e948b3e4Syifeizhaoexercise the right to control the distribution of derivative or 127*e948b3e4Syifeizhaocollective works based on the Program. 128*e948b3e4Syifeizhao 129*e948b3e4SyifeizhaoIn addition, mere aggregation of another work not based on the Program 130*e948b3e4Syifeizhaowith the Program (or with a work based on the Program) on a volume of 131*e948b3e4Syifeizhaoa storage or distribution medium does not bring the other work under 132*e948b3e4Syifeizhaothe scope of this License. 133*e948b3e4Syifeizhao 134*e948b3e4Syifeizhao 3. You may copy and distribute the Program (or a work based on it, 135*e948b3e4Syifeizhaounder Section 2) in object code or executable form under the terms of 136*e948b3e4SyifeizhaoSections 1 and 2 above provided that you also do one of the following: 137*e948b3e4Syifeizhao 138*e948b3e4Syifeizhao a) Accompany it with the complete corresponding machine-readable 139*e948b3e4Syifeizhao source code, which must be distributed under the terms of Sections 140*e948b3e4Syifeizhao 1 and 2 above on a medium customarily used for software interchange; or, 141*e948b3e4Syifeizhao 142*e948b3e4Syifeizhao b) Accompany it with a written offer, valid for at least three 143*e948b3e4Syifeizhao years, to give any third party, for a charge no more than your 144*e948b3e4Syifeizhao cost of physically performing source distribution, a complete 145*e948b3e4Syifeizhao machine-readable copy of the corresponding source code, to be 146*e948b3e4Syifeizhao distributed under the terms of Sections 1 and 2 above on a medium 147*e948b3e4Syifeizhao customarily used for software interchange; or, 148*e948b3e4Syifeizhao 149*e948b3e4Syifeizhao c) Accompany it with the information you received as to the offer 150*e948b3e4Syifeizhao to distribute corresponding source code. (This alternative is 151*e948b3e4Syifeizhao allowed only for noncommercial distribution and only if you 152*e948b3e4Syifeizhao received the program in object code or executable form with such 153*e948b3e4Syifeizhao an offer, in accord with Subsection b above.) 154*e948b3e4Syifeizhao 155*e948b3e4SyifeizhaoThe source code for a work means the preferred form of the work for 156*e948b3e4Syifeizhaomaking modifications to it. For an executable work, complete source 157*e948b3e4Syifeizhaocode means all the source code for all modules it contains, plus any 158*e948b3e4Syifeizhaoassociated interface definition files, plus the scripts used to 159*e948b3e4Syifeizhaocontrol compilation and installation of the executable. However, as a 160*e948b3e4Syifeizhaospecial exception, the source code distributed need not include 161*e948b3e4Syifeizhaoanything that is normally distributed (in either source or binary 162*e948b3e4Syifeizhaoform) with the major components (compiler, kernel, and so on) of the 163*e948b3e4Syifeizhaooperating system on which the executable runs, unless that component 164*e948b3e4Syifeizhaoitself accompanies the executable. 165*e948b3e4Syifeizhao 166*e948b3e4SyifeizhaoIf distribution of executable or object code is made by offering 167*e948b3e4Syifeizhaoaccess to copy from a designated place, then offering equivalent 168*e948b3e4Syifeizhaoaccess to copy the source code from the same place counts as 169*e948b3e4Syifeizhaodistribution of the source code, even though third parties are not 170*e948b3e4Syifeizhaocompelled to copy the source along with the object code. 171*e948b3e4Syifeizhao 172*e948b3e4Syifeizhao 4. You may not copy, modify, sublicense, or distribute the Program 173*e948b3e4Syifeizhaoexcept as expressly provided under this License. Any attempt 174*e948b3e4Syifeizhaootherwise to copy, modify, sublicense or distribute the Program is 175*e948b3e4Syifeizhaovoid, and will automatically terminate your rights under this License. 176*e948b3e4SyifeizhaoHowever, parties who have received copies, or rights, from you under 177*e948b3e4Syifeizhaothis License will not have their licenses terminated so long as such 178*e948b3e4Syifeizhaoparties remain in full compliance. 179*e948b3e4Syifeizhao 180*e948b3e4Syifeizhao 5. You are not required to accept this License, since you have not 181*e948b3e4Syifeizhaosigned it. However, nothing else grants you permission to modify or 182*e948b3e4Syifeizhaodistribute the Program or its derivative works. These actions are 183*e948b3e4Syifeizhaoprohibited by law if you do not accept this License. Therefore, by 184*e948b3e4Syifeizhaomodifying or distributing the Program (or any work based on the 185*e948b3e4SyifeizhaoProgram), you indicate your acceptance of this License to do so, and 186*e948b3e4Syifeizhaoall its terms and conditions for copying, distributing or modifying 187*e948b3e4Syifeizhaothe Program or works based on it. 188*e948b3e4Syifeizhao 189*e948b3e4Syifeizhao 6. Each time you redistribute the Program (or any work based on the 190*e948b3e4SyifeizhaoProgram), the recipient automatically receives a license from the 191*e948b3e4Syifeizhaooriginal licensor to copy, distribute or modify the Program subject to 192*e948b3e4Syifeizhaothese terms and conditions. You may not impose any further 193*e948b3e4Syifeizhaorestrictions on the recipients' exercise of the rights granted herein. 194*e948b3e4SyifeizhaoYou are not responsible for enforcing compliance by third parties to 195*e948b3e4Syifeizhaothis License. 196*e948b3e4Syifeizhao 197*e948b3e4Syifeizhao 7. If, as a consequence of a court judgment or allegation of patent 198*e948b3e4Syifeizhaoinfringement or for any other reason (not limited to patent issues), 199*e948b3e4Syifeizhaoconditions are imposed on you (whether by court order, agreement or 200*e948b3e4Syifeizhaootherwise) that contradict the conditions of this License, they do not 201*e948b3e4Syifeizhaoexcuse you from the conditions of this License. If you cannot 202*e948b3e4Syifeizhaodistribute so as to satisfy simultaneously your obligations under this 203*e948b3e4SyifeizhaoLicense and any other pertinent obligations, then as a consequence you 204*e948b3e4Syifeizhaomay not distribute the Program at all. For example, if a patent 205*e948b3e4Syifeizhaolicense would not permit royalty-free redistribution of the Program by 206*e948b3e4Syifeizhaoall those who receive copies directly or indirectly through you, then 207*e948b3e4Syifeizhaothe only way you could satisfy both it and this License would be to 208*e948b3e4Syifeizhaorefrain entirely from distribution of the Program. 209*e948b3e4Syifeizhao 210*e948b3e4SyifeizhaoIf any portion of this section is held invalid or unenforceable under 211*e948b3e4Syifeizhaoany particular circumstance, the balance of the section is intended to 212*e948b3e4Syifeizhaoapply and the section as a whole is intended to apply in other 213*e948b3e4Syifeizhaocircumstances. 214*e948b3e4Syifeizhao 215*e948b3e4SyifeizhaoIt is not the purpose of this section to induce you to infringe any 216*e948b3e4Syifeizhaopatents or other property right claims or to contest validity of any 217*e948b3e4Syifeizhaosuch claims; this section has the sole purpose of protecting the 218*e948b3e4Syifeizhaointegrity of the free software distribution system, which is 219*e948b3e4Syifeizhaoimplemented by public license practices. Many people have made 220*e948b3e4Syifeizhaogenerous contributions to the wide range of software distributed 221*e948b3e4Syifeizhaothrough that system in reliance on consistent application of that 222*e948b3e4Syifeizhaosystem; it is up to the author/donor to decide if he or she is willing 223*e948b3e4Syifeizhaoto distribute software through any other system and a licensee cannot 224*e948b3e4Syifeizhaoimpose that choice. 225*e948b3e4Syifeizhao 226*e948b3e4SyifeizhaoThis section is intended to make thoroughly clear what is believed to 227*e948b3e4Syifeizhaobe a consequence of the rest of this License. 228*e948b3e4Syifeizhao 229*e948b3e4Syifeizhao 8. If the distribution and/or use of the Program is restricted in 230*e948b3e4Syifeizhaocertain countries either by patents or by copyrighted interfaces, the 231*e948b3e4Syifeizhaooriginal copyright holder who places the Program under this License 232*e948b3e4Syifeizhaomay add an explicit geographical distribution limitation excluding 233*e948b3e4Syifeizhaothose countries, so that distribution is permitted only in or among 234*e948b3e4Syifeizhaocountries not thus excluded. In such case, this License incorporates 235*e948b3e4Syifeizhaothe limitation as if written in the body of this License. 236*e948b3e4Syifeizhao 237*e948b3e4Syifeizhao 9. The Free Software Foundation may publish revised and/or new versions 238*e948b3e4Syifeizhaoof the General Public License from time to time. Such new versions will 239*e948b3e4Syifeizhaobe similar in spirit to the present version, but may differ in detail to 240*e948b3e4Syifeizhaoaddress new problems or concerns. 241*e948b3e4Syifeizhao 242*e948b3e4SyifeizhaoEach version is given a distinguishing version number. If the Program 243*e948b3e4Syifeizhaospecifies a version number of this License which applies to it and "any 244*e948b3e4Syifeizhaolater version", you have the option of following the terms and conditions 245*e948b3e4Syifeizhaoeither of that version or of any later version published by the Free 246*e948b3e4SyifeizhaoSoftware Foundation. If the Program does not specify a version number of 247*e948b3e4Syifeizhaothis License, you may choose any version ever published by the Free Software 248*e948b3e4SyifeizhaoFoundation. 249*e948b3e4Syifeizhao 250*e948b3e4Syifeizhao 10. If you wish to incorporate parts of the Program into other free 251*e948b3e4Syifeizhaoprograms whose distribution conditions are different, write to the author 252*e948b3e4Syifeizhaoto ask for permission. For software which is copyrighted by the Free 253*e948b3e4SyifeizhaoSoftware Foundation, write to the Free Software Foundation; we sometimes 254*e948b3e4Syifeizhaomake exceptions for this. Our decision will be guided by the two goals 255*e948b3e4Syifeizhaoof preserving the free status of all derivatives of our free software and 256*e948b3e4Syifeizhaoof promoting the sharing and reuse of software generally. 257*e948b3e4Syifeizhao 258*e948b3e4Syifeizhao NO WARRANTY 259*e948b3e4Syifeizhao 260*e948b3e4Syifeizhao 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261*e948b3e4SyifeizhaoFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262*e948b3e4SyifeizhaoOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263*e948b3e4SyifeizhaoPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264*e948b3e4SyifeizhaoOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265*e948b3e4SyifeizhaoMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266*e948b3e4SyifeizhaoTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267*e948b3e4SyifeizhaoPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268*e948b3e4SyifeizhaoREPAIR OR CORRECTION. 269*e948b3e4Syifeizhao 270*e948b3e4Syifeizhao 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271*e948b3e4SyifeizhaoWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272*e948b3e4SyifeizhaoREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273*e948b3e4SyifeizhaoINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274*e948b3e4SyifeizhaoOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275*e948b3e4SyifeizhaoTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276*e948b3e4SyifeizhaoYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277*e948b3e4SyifeizhaoPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278*e948b3e4SyifeizhaoPOSSIBILITY OF SUCH DAMAGES. 279*e948b3e4Syifeizhao 280*e948b3e4Syifeizhao END OF TERMS AND CONDITIONS 281*e948b3e4Syifeizhao 282*e948b3e4Syifeizhao How to Apply These Terms to Your New Programs 283*e948b3e4Syifeizhao 284*e948b3e4Syifeizhao If you develop a new program, and you want it to be of the greatest 285*e948b3e4Syifeizhaopossible use to the public, the best way to achieve this is to make it 286*e948b3e4Syifeizhaofree software which everyone can redistribute and change under these terms. 287*e948b3e4Syifeizhao 288*e948b3e4Syifeizhao To do so, attach the following notices to the program. It is safest 289*e948b3e4Syifeizhaoto attach them to the start of each source file to most effectively 290*e948b3e4Syifeizhaoconvey the exclusion of warranty; and each file should have at least 291*e948b3e4Syifeizhaothe "copyright" line and a pointer to where the full notice is found. 292*e948b3e4Syifeizhao 293*e948b3e4Syifeizhao <one line to give the program's name and a brief idea of what it does.> 294*e948b3e4Syifeizhao Copyright (C) <year> <name of author> 295*e948b3e4Syifeizhao 296*e948b3e4Syifeizhao This program is free software; you can redistribute it and/or modify 297*e948b3e4Syifeizhao it under the terms of the GNU General Public License as published by 298*e948b3e4Syifeizhao the Free Software Foundation; either version 2 of the License, or 299*e948b3e4Syifeizhao (at your option) any later version. 300*e948b3e4Syifeizhao 301*e948b3e4Syifeizhao This program is distributed in the hope that it will be useful, 302*e948b3e4Syifeizhao but WITHOUT ANY WARRANTY; without even the implied warranty of 303*e948b3e4Syifeizhao MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304*e948b3e4Syifeizhao GNU General Public License for more details. 305*e948b3e4Syifeizhao 306*e948b3e4Syifeizhao You should have received a copy of the GNU General Public License along 307*e948b3e4Syifeizhao with this program; if not, write to the Free Software Foundation, Inc., 308*e948b3e4Syifeizhao 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309*e948b3e4Syifeizhao 310*e948b3e4SyifeizhaoAlso add information on how to contact you by electronic and paper mail. 311*e948b3e4Syifeizhao 312*e948b3e4SyifeizhaoIf the program is interactive, make it output a short notice like this 313*e948b3e4Syifeizhaowhen it starts in an interactive mode: 314*e948b3e4Syifeizhao 315*e948b3e4Syifeizhao Gnomovision version 69, Copyright (C) year name of author 316*e948b3e4Syifeizhao Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317*e948b3e4Syifeizhao This is free software, and you are welcome to redistribute it 318*e948b3e4Syifeizhao under certain conditions; type `show c' for details. 319*e948b3e4Syifeizhao 320*e948b3e4SyifeizhaoThe hypothetical commands `show w' and `show c' should show the appropriate 321*e948b3e4Syifeizhaoparts of the General Public License. Of course, the commands you use may 322*e948b3e4Syifeizhaobe called something other than `show w' and `show c'; they could even be 323*e948b3e4Syifeizhaomouse-clicks or menu items--whatever suits your program. 324*e948b3e4Syifeizhao 325*e948b3e4SyifeizhaoYou should also get your employer (if you work as a programmer) or your 326*e948b3e4Syifeizhaoschool, if any, to sign a "copyright disclaimer" for the program, if 327*e948b3e4Syifeizhaonecessary. Here is a sample; alter the names: 328*e948b3e4Syifeizhao 329*e948b3e4Syifeizhao Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330*e948b3e4Syifeizhao `Gnomovision' (which makes passes at compilers) written by James Hacker. 331*e948b3e4Syifeizhao 332*e948b3e4Syifeizhao <signature of Ty Coon>, 1 April 1989 333*e948b3e4Syifeizhao Ty Coon, President of Vice 334*e948b3e4Syifeizhao 335*e948b3e4SyifeizhaoThis General Public License does not permit incorporating your program into 336*e948b3e4Syifeizhaoproprietary programs. If your program is a subroutine library, you may 337*e948b3e4Syifeizhaoconsider it more useful to permit linking proprietary applications with the 338*e948b3e4Syifeizhaolibrary. If this is what you want to do, use the GNU Lesser General 339*e948b3e4SyifeizhaoPublic License instead of this License. 340