xref: /plan9/sys/src/ape/cmd/diff/COPYING (revision 0b459c2cb92b7c9d88818e9a2f72e678e5bc4553)
1*0b459c2cSDavid du Colombier		    GNU GENERAL PUBLIC LICENSE
2*0b459c2cSDavid du Colombier		       Version 2, June 1991
3*0b459c2cSDavid du Colombier
4*0b459c2cSDavid du Colombier Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5*0b459c2cSDavid du Colombier                          675 Mass Ave, Cambridge, MA 02139, USA
6*0b459c2cSDavid du Colombier Everyone is permitted to copy and distribute verbatim copies
7*0b459c2cSDavid du Colombier of this license document, but changing it is not allowed.
8*0b459c2cSDavid du Colombier
9*0b459c2cSDavid du Colombier			    Preamble
10*0b459c2cSDavid du Colombier
11*0b459c2cSDavid du Colombier  The licenses for most software are designed to take away your
12*0b459c2cSDavid du Colombierfreedom to share and change it.  By contrast, the GNU General Public
13*0b459c2cSDavid du ColombierLicense is intended to guarantee your freedom to share and change free
14*0b459c2cSDavid du Colombiersoftware--to make sure the software is free for all its users.  This
15*0b459c2cSDavid du ColombierGeneral Public License applies to most of the Free Software
16*0b459c2cSDavid du ColombierFoundation's software and to any other program whose authors commit to
17*0b459c2cSDavid du Colombierusing it.  (Some other Free Software Foundation software is covered by
18*0b459c2cSDavid du Colombierthe GNU Library General Public License instead.)  You can apply it to
19*0b459c2cSDavid du Colombieryour programs, too.
20*0b459c2cSDavid du Colombier
21*0b459c2cSDavid du Colombier  When we speak of free software, we are referring to freedom, not
22*0b459c2cSDavid du Colombierprice.  Our General Public Licenses are designed to make sure that you
23*0b459c2cSDavid du Colombierhave the freedom to distribute copies of free software (and charge for
24*0b459c2cSDavid du Colombierthis service if you wish), that you receive source code or can get it
25*0b459c2cSDavid du Colombierif you want it, that you can change the software or use pieces of it
26*0b459c2cSDavid du Colombierin new free programs; and that you know you can do these things.
27*0b459c2cSDavid du Colombier
28*0b459c2cSDavid du Colombier  To protect your rights, we need to make restrictions that forbid
29*0b459c2cSDavid du Colombieranyone to deny you these rights or to ask you to surrender the rights.
30*0b459c2cSDavid du ColombierThese restrictions translate to certain responsibilities for you if you
31*0b459c2cSDavid du Colombierdistribute copies of the software, or if you modify it.
32*0b459c2cSDavid du Colombier
33*0b459c2cSDavid du Colombier  For example, if you distribute copies of such a program, whether
34*0b459c2cSDavid du Colombiergratis or for a fee, you must give the recipients all the rights that
35*0b459c2cSDavid du Colombieryou have.  You must make sure that they, too, receive or can get the
36*0b459c2cSDavid du Colombiersource code.  And you must show them these terms so they know their
37*0b459c2cSDavid du Colombierrights.
38*0b459c2cSDavid du Colombier
39*0b459c2cSDavid du Colombier  We protect your rights with two steps: (1) copyright the software, and
40*0b459c2cSDavid du Colombier(2) offer you this license which gives you legal permission to copy,
41*0b459c2cSDavid du Colombierdistribute and/or modify the software.
42*0b459c2cSDavid du Colombier
43*0b459c2cSDavid du Colombier  Also, for each author's protection and ours, we want to make certain
44*0b459c2cSDavid du Colombierthat everyone understands that there is no warranty for this free
45*0b459c2cSDavid du Colombiersoftware.  If the software is modified by someone else and passed on, we
46*0b459c2cSDavid du Colombierwant its recipients to know that what they have is not the original, so
47*0b459c2cSDavid du Colombierthat any problems introduced by others will not reflect on the original
48*0b459c2cSDavid du Colombierauthors' reputations.
49*0b459c2cSDavid du Colombier
50*0b459c2cSDavid du Colombier  Finally, any free program is threatened constantly by software
51*0b459c2cSDavid du Colombierpatents.  We wish to avoid the danger that redistributors of a free
52*0b459c2cSDavid du Colombierprogram will individually obtain patent licenses, in effect making the
53*0b459c2cSDavid du Colombierprogram proprietary.  To prevent this, we have made it clear that any
54*0b459c2cSDavid du Colombierpatent must be licensed for everyone's free use or not licensed at all.
55*0b459c2cSDavid du Colombier
56*0b459c2cSDavid du Colombier  The precise terms and conditions for copying, distribution and
57*0b459c2cSDavid du Colombiermodification follow.
58*0b459c2cSDavid du Colombier
59*0b459c2cSDavid du Colombier		    GNU GENERAL PUBLIC LICENSE
60*0b459c2cSDavid du Colombier   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61*0b459c2cSDavid du Colombier
62*0b459c2cSDavid du Colombier  0. This License applies to any program or other work which contains
63*0b459c2cSDavid du Colombiera notice placed by the copyright holder saying it may be distributed
64*0b459c2cSDavid du Colombierunder the terms of this General Public License.  The "Program", below,
65*0b459c2cSDavid du Colombierrefers to any such program or work, and a "work based on the Program"
66*0b459c2cSDavid du Colombiermeans either the Program or any derivative work under copyright law:
67*0b459c2cSDavid du Colombierthat is to say, a work containing the Program or a portion of it,
68*0b459c2cSDavid du Colombiereither verbatim or with modifications and/or translated into another
69*0b459c2cSDavid du Colombierlanguage.  (Hereinafter, translation is included without limitation in
70*0b459c2cSDavid du Colombierthe term "modification".)  Each licensee is addressed as "you".
71*0b459c2cSDavid du Colombier
72*0b459c2cSDavid du ColombierActivities other than copying, distribution and modification are not
73*0b459c2cSDavid du Colombiercovered by this License; they are outside its scope.  The act of
74*0b459c2cSDavid du Colombierrunning the Program is not restricted, and the output from the Program
75*0b459c2cSDavid du Colombieris covered only if its contents constitute a work based on the
76*0b459c2cSDavid du ColombierProgram (independent of having been made by running the Program).
77*0b459c2cSDavid du ColombierWhether that is true depends on what the Program does.
78*0b459c2cSDavid du Colombier
79*0b459c2cSDavid du Colombier  1. You may copy and distribute verbatim copies of the Program's
80*0b459c2cSDavid du Colombiersource code as you receive it, in any medium, provided that you
81*0b459c2cSDavid du Colombierconspicuously and appropriately publish on each copy an appropriate
82*0b459c2cSDavid du Colombiercopyright notice and disclaimer of warranty; keep intact all the
83*0b459c2cSDavid du Colombiernotices that refer to this License and to the absence of any warranty;
84*0b459c2cSDavid du Colombierand give any other recipients of the Program a copy of this License
85*0b459c2cSDavid du Colombieralong with the Program.
86*0b459c2cSDavid du Colombier
87*0b459c2cSDavid du ColombierYou may charge a fee for the physical act of transferring a copy, and
88*0b459c2cSDavid du Colombieryou may at your option offer warranty protection in exchange for a fee.
89*0b459c2cSDavid du Colombier
90*0b459c2cSDavid du Colombier  2. You may modify your copy or copies of the Program or any portion
91*0b459c2cSDavid du Colombierof it, thus forming a work based on the Program, and copy and
92*0b459c2cSDavid du Colombierdistribute such modifications or work under the terms of Section 1
93*0b459c2cSDavid du Colombierabove, provided that you also meet all of these conditions:
94*0b459c2cSDavid du Colombier
95*0b459c2cSDavid du Colombier    a) You must cause the modified files to carry prominent notices
96*0b459c2cSDavid du Colombier    stating that you changed the files and the date of any change.
97*0b459c2cSDavid du Colombier
98*0b459c2cSDavid du Colombier    b) You must cause any work that you distribute or publish, that in
99*0b459c2cSDavid du Colombier    whole or in part contains or is derived from the Program or any
100*0b459c2cSDavid du Colombier    part thereof, to be licensed as a whole at no charge to all third
101*0b459c2cSDavid du Colombier    parties under the terms of this License.
102*0b459c2cSDavid du Colombier
103*0b459c2cSDavid du Colombier    c) If the modified program normally reads commands interactively
104*0b459c2cSDavid du Colombier    when run, you must cause it, when started running for such
105*0b459c2cSDavid du Colombier    interactive use in the most ordinary way, to print or display an
106*0b459c2cSDavid du Colombier    announcement including an appropriate copyright notice and a
107*0b459c2cSDavid du Colombier    notice that there is no warranty (or else, saying that you provide
108*0b459c2cSDavid du Colombier    a warranty) and that users may redistribute the program under
109*0b459c2cSDavid du Colombier    these conditions, and telling the user how to view a copy of this
110*0b459c2cSDavid du Colombier    License.  (Exception: if the Program itself is interactive but
111*0b459c2cSDavid du Colombier    does not normally print such an announcement, your work based on
112*0b459c2cSDavid du Colombier    the Program is not required to print an announcement.)
113*0b459c2cSDavid du Colombier
114*0b459c2cSDavid du ColombierThese requirements apply to the modified work as a whole.  If
115*0b459c2cSDavid du Colombieridentifiable sections of that work are not derived from the Program,
116*0b459c2cSDavid du Colombierand can be reasonably considered independent and separate works in
117*0b459c2cSDavid du Colombierthemselves, then this License, and its terms, do not apply to those
118*0b459c2cSDavid du Colombiersections when you distribute them as separate works.  But when you
119*0b459c2cSDavid du Colombierdistribute the same sections as part of a whole which is a work based
120*0b459c2cSDavid du Colombieron the Program, the distribution of the whole must be on the terms of
121*0b459c2cSDavid du Colombierthis License, whose permissions for other licensees extend to the
122*0b459c2cSDavid du Colombierentire whole, and thus to each and every part regardless of who wrote it.
123*0b459c2cSDavid du Colombier
124*0b459c2cSDavid du ColombierThus, it is not the intent of this section to claim rights or contest
125*0b459c2cSDavid du Colombieryour rights to work written entirely by you; rather, the intent is to
126*0b459c2cSDavid du Colombierexercise the right to control the distribution of derivative or
127*0b459c2cSDavid du Colombiercollective works based on the Program.
128*0b459c2cSDavid du Colombier
129*0b459c2cSDavid du ColombierIn addition, mere aggregation of another work not based on the Program
130*0b459c2cSDavid du Colombierwith the Program (or with a work based on the Program) on a volume of
131*0b459c2cSDavid du Colombiera storage or distribution medium does not bring the other work under
132*0b459c2cSDavid du Colombierthe scope of this License.
133*0b459c2cSDavid du Colombier
134*0b459c2cSDavid du Colombier  3. You may copy and distribute the Program (or a work based on it,
135*0b459c2cSDavid du Colombierunder Section 2) in object code or executable form under the terms of
136*0b459c2cSDavid du ColombierSections 1 and 2 above provided that you also do one of the following:
137*0b459c2cSDavid du Colombier
138*0b459c2cSDavid du Colombier    a) Accompany it with the complete corresponding machine-readable
139*0b459c2cSDavid du Colombier    source code, which must be distributed under the terms of Sections
140*0b459c2cSDavid du Colombier    1 and 2 above on a medium customarily used for software interchange; or,
141*0b459c2cSDavid du Colombier
142*0b459c2cSDavid du Colombier    b) Accompany it with a written offer, valid for at least three
143*0b459c2cSDavid du Colombier    years, to give any third party, for a charge no more than your
144*0b459c2cSDavid du Colombier    cost of physically performing source distribution, a complete
145*0b459c2cSDavid du Colombier    machine-readable copy of the corresponding source code, to be
146*0b459c2cSDavid du Colombier    distributed under the terms of Sections 1 and 2 above on a medium
147*0b459c2cSDavid du Colombier    customarily used for software interchange; or,
148*0b459c2cSDavid du Colombier
149*0b459c2cSDavid du Colombier    c) Accompany it with the information you received as to the offer
150*0b459c2cSDavid du Colombier    to distribute corresponding source code.  (This alternative is
151*0b459c2cSDavid du Colombier    allowed only for noncommercial distribution and only if you
152*0b459c2cSDavid du Colombier    received the program in object code or executable form with such
153*0b459c2cSDavid du Colombier    an offer, in accord with Subsection b above.)
154*0b459c2cSDavid du Colombier
155*0b459c2cSDavid du ColombierThe source code for a work means the preferred form of the work for
156*0b459c2cSDavid du Colombiermaking modifications to it.  For an executable work, complete source
157*0b459c2cSDavid du Colombiercode means all the source code for all modules it contains, plus any
158*0b459c2cSDavid du Colombierassociated interface definition files, plus the scripts used to
159*0b459c2cSDavid du Colombiercontrol compilation and installation of the executable.  However, as a
160*0b459c2cSDavid du Colombierspecial exception, the source code distributed need not include
161*0b459c2cSDavid du Colombieranything that is normally distributed (in either source or binary
162*0b459c2cSDavid du Colombierform) with the major components (compiler, kernel, and so on) of the
163*0b459c2cSDavid du Colombieroperating system on which the executable runs, unless that component
164*0b459c2cSDavid du Colombieritself accompanies the executable.
165*0b459c2cSDavid du Colombier
166*0b459c2cSDavid du ColombierIf distribution of executable or object code is made by offering
167*0b459c2cSDavid du Colombieraccess to copy from a designated place, then offering equivalent
168*0b459c2cSDavid du Colombieraccess to copy the source code from the same place counts as
169*0b459c2cSDavid du Colombierdistribution of the source code, even though third parties are not
170*0b459c2cSDavid du Colombiercompelled to copy the source along with the object code.
171*0b459c2cSDavid du Colombier
172*0b459c2cSDavid du Colombier  4. You may not copy, modify, sublicense, or distribute the Program
173*0b459c2cSDavid du Colombierexcept as expressly provided under this License.  Any attempt
174*0b459c2cSDavid du Colombierotherwise to copy, modify, sublicense or distribute the Program is
175*0b459c2cSDavid du Colombiervoid, and will automatically terminate your rights under this License.
176*0b459c2cSDavid du ColombierHowever, parties who have received copies, or rights, from you under
177*0b459c2cSDavid du Colombierthis License will not have their licenses terminated so long as such
178*0b459c2cSDavid du Colombierparties remain in full compliance.
179*0b459c2cSDavid du Colombier
180*0b459c2cSDavid du Colombier  5. You are not required to accept this License, since you have not
181*0b459c2cSDavid du Colombiersigned it.  However, nothing else grants you permission to modify or
182*0b459c2cSDavid du Colombierdistribute the Program or its derivative works.  These actions are
183*0b459c2cSDavid du Colombierprohibited by law if you do not accept this License.  Therefore, by
184*0b459c2cSDavid du Colombiermodifying or distributing the Program (or any work based on the
185*0b459c2cSDavid du ColombierProgram), you indicate your acceptance of this License to do so, and
186*0b459c2cSDavid du Colombierall its terms and conditions for copying, distributing or modifying
187*0b459c2cSDavid du Colombierthe Program or works based on it.
188*0b459c2cSDavid du Colombier
189*0b459c2cSDavid du Colombier  6. Each time you redistribute the Program (or any work based on the
190*0b459c2cSDavid du ColombierProgram), the recipient automatically receives a license from the
191*0b459c2cSDavid du Colombieroriginal licensor to copy, distribute or modify the Program subject to
192*0b459c2cSDavid du Colombierthese terms and conditions.  You may not impose any further
193*0b459c2cSDavid du Colombierrestrictions on the recipients' exercise of the rights granted herein.
194*0b459c2cSDavid du ColombierYou are not responsible for enforcing compliance by third parties to
195*0b459c2cSDavid du Colombierthis License.
196*0b459c2cSDavid du Colombier
197*0b459c2cSDavid du Colombier  7. If, as a consequence of a court judgment or allegation of patent
198*0b459c2cSDavid du Colombierinfringement or for any other reason (not limited to patent issues),
199*0b459c2cSDavid du Colombierconditions are imposed on you (whether by court order, agreement or
200*0b459c2cSDavid du Colombierotherwise) that contradict the conditions of this License, they do not
201*0b459c2cSDavid du Colombierexcuse you from the conditions of this License.  If you cannot
202*0b459c2cSDavid du Colombierdistribute so as to satisfy simultaneously your obligations under this
203*0b459c2cSDavid du ColombierLicense and any other pertinent obligations, then as a consequence you
204*0b459c2cSDavid du Colombiermay not distribute the Program at all.  For example, if a patent
205*0b459c2cSDavid du Colombierlicense would not permit royalty-free redistribution of the Program by
206*0b459c2cSDavid du Colombierall those who receive copies directly or indirectly through you, then
207*0b459c2cSDavid du Colombierthe only way you could satisfy both it and this License would be to
208*0b459c2cSDavid du Colombierrefrain entirely from distribution of the Program.
209*0b459c2cSDavid du Colombier
210*0b459c2cSDavid du ColombierIf any portion of this section is held invalid or unenforceable under
211*0b459c2cSDavid du Colombierany particular circumstance, the balance of the section is intended to
212*0b459c2cSDavid du Colombierapply and the section as a whole is intended to apply in other
213*0b459c2cSDavid du Colombiercircumstances.
214*0b459c2cSDavid du Colombier
215*0b459c2cSDavid du ColombierIt is not the purpose of this section to induce you to infringe any
216*0b459c2cSDavid du Colombierpatents or other property right claims or to contest validity of any
217*0b459c2cSDavid du Colombiersuch claims; this section has the sole purpose of protecting the
218*0b459c2cSDavid du Colombierintegrity of the free software distribution system, which is
219*0b459c2cSDavid du Colombierimplemented by public license practices.  Many people have made
220*0b459c2cSDavid du Colombiergenerous contributions to the wide range of software distributed
221*0b459c2cSDavid du Colombierthrough that system in reliance on consistent application of that
222*0b459c2cSDavid du Colombiersystem; it is up to the author/donor to decide if he or she is willing
223*0b459c2cSDavid du Colombierto distribute software through any other system and a licensee cannot
224*0b459c2cSDavid du Colombierimpose that choice.
225*0b459c2cSDavid du Colombier
226*0b459c2cSDavid du ColombierThis section is intended to make thoroughly clear what is believed to
227*0b459c2cSDavid du Colombierbe a consequence of the rest of this License.
228*0b459c2cSDavid du Colombier
229*0b459c2cSDavid du Colombier  8. If the distribution and/or use of the Program is restricted in
230*0b459c2cSDavid du Colombiercertain countries either by patents or by copyrighted interfaces, the
231*0b459c2cSDavid du Colombieroriginal copyright holder who places the Program under this License
232*0b459c2cSDavid du Colombiermay add an explicit geographical distribution limitation excluding
233*0b459c2cSDavid du Colombierthose countries, so that distribution is permitted only in or among
234*0b459c2cSDavid du Colombiercountries not thus excluded.  In such case, this License incorporates
235*0b459c2cSDavid du Colombierthe limitation as if written in the body of this License.
236*0b459c2cSDavid du Colombier
237*0b459c2cSDavid du Colombier  9. The Free Software Foundation may publish revised and/or new versions
238*0b459c2cSDavid du Colombierof the General Public License from time to time.  Such new versions will
239*0b459c2cSDavid du Colombierbe similar in spirit to the present version, but may differ in detail to
240*0b459c2cSDavid du Colombieraddress new problems or concerns.
241*0b459c2cSDavid du Colombier
242*0b459c2cSDavid du ColombierEach version is given a distinguishing version number.  If the Program
243*0b459c2cSDavid du Colombierspecifies a version number of this License which applies to it and "any
244*0b459c2cSDavid du Colombierlater version", you have the option of following the terms and conditions
245*0b459c2cSDavid du Colombiereither of that version or of any later version published by the Free
246*0b459c2cSDavid du ColombierSoftware Foundation.  If the Program does not specify a version number of
247*0b459c2cSDavid du Colombierthis License, you may choose any version ever published by the Free Software
248*0b459c2cSDavid du ColombierFoundation.
249*0b459c2cSDavid du Colombier
250*0b459c2cSDavid du Colombier  10. If you wish to incorporate parts of the Program into other free
251*0b459c2cSDavid du Colombierprograms whose distribution conditions are different, write to the author
252*0b459c2cSDavid du Colombierto ask for permission.  For software which is copyrighted by the Free
253*0b459c2cSDavid du ColombierSoftware Foundation, write to the Free Software Foundation; we sometimes
254*0b459c2cSDavid du Colombiermake exceptions for this.  Our decision will be guided by the two goals
255*0b459c2cSDavid du Colombierof preserving the free status of all derivatives of our free software and
256*0b459c2cSDavid du Colombierof promoting the sharing and reuse of software generally.
257*0b459c2cSDavid du Colombier
258*0b459c2cSDavid du Colombier			    NO WARRANTY
259*0b459c2cSDavid du Colombier
260*0b459c2cSDavid du Colombier  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261*0b459c2cSDavid du ColombierFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262*0b459c2cSDavid du ColombierOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263*0b459c2cSDavid du ColombierPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264*0b459c2cSDavid du ColombierOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265*0b459c2cSDavid du ColombierMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266*0b459c2cSDavid du ColombierTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267*0b459c2cSDavid du ColombierPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268*0b459c2cSDavid du ColombierREPAIR OR CORRECTION.
269*0b459c2cSDavid du Colombier
270*0b459c2cSDavid du Colombier  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271*0b459c2cSDavid du ColombierWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272*0b459c2cSDavid du ColombierREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273*0b459c2cSDavid du ColombierINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274*0b459c2cSDavid du ColombierOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275*0b459c2cSDavid du ColombierTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276*0b459c2cSDavid du ColombierYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277*0b459c2cSDavid du ColombierPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278*0b459c2cSDavid du ColombierPOSSIBILITY OF SUCH DAMAGES.
279*0b459c2cSDavid du Colombier
280*0b459c2cSDavid du Colombier		     END OF TERMS AND CONDITIONS
281*0b459c2cSDavid du Colombier
282*0b459c2cSDavid du Colombier	Appendix: How to Apply These Terms to Your New Programs
283*0b459c2cSDavid du Colombier
284*0b459c2cSDavid du Colombier  If you develop a new program, and you want it to be of the greatest
285*0b459c2cSDavid du Colombierpossible use to the public, the best way to achieve this is to make it
286*0b459c2cSDavid du Colombierfree software which everyone can redistribute and change under these terms.
287*0b459c2cSDavid du Colombier
288*0b459c2cSDavid du Colombier  To do so, attach the following notices to the program.  It is safest
289*0b459c2cSDavid du Colombierto attach them to the start of each source file to most effectively
290*0b459c2cSDavid du Colombierconvey the exclusion of warranty; and each file should have at least
291*0b459c2cSDavid du Colombierthe "copyright" line and a pointer to where the full notice is found.
292*0b459c2cSDavid du Colombier
293*0b459c2cSDavid du Colombier    <one line to give the program's name and a brief idea of what it does.>
294*0b459c2cSDavid du Colombier    Copyright (C) 19yy  <name of author>
295*0b459c2cSDavid du Colombier
296*0b459c2cSDavid du Colombier    This program is free software; you can redistribute it and/or modify
297*0b459c2cSDavid du Colombier    it under the terms of the GNU General Public License as published by
298*0b459c2cSDavid du Colombier    the Free Software Foundation; either version 2 of the License, or
299*0b459c2cSDavid du Colombier    (at your option) any later version.
300*0b459c2cSDavid du Colombier
301*0b459c2cSDavid du Colombier    This program is distributed in the hope that it will be useful,
302*0b459c2cSDavid du Colombier    but WITHOUT ANY WARRANTY; without even the implied warranty of
303*0b459c2cSDavid du Colombier    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304*0b459c2cSDavid du Colombier    GNU General Public License for more details.
305*0b459c2cSDavid du Colombier
306*0b459c2cSDavid du Colombier    You should have received a copy of the GNU General Public License
307*0b459c2cSDavid du Colombier    along with this program; if not, write to the Free Software
308*0b459c2cSDavid du Colombier    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
309*0b459c2cSDavid du Colombier
310*0b459c2cSDavid du ColombierAlso add information on how to contact you by electronic and paper mail.
311*0b459c2cSDavid du Colombier
312*0b459c2cSDavid du ColombierIf the program is interactive, make it output a short notice like this
313*0b459c2cSDavid du Colombierwhen it starts in an interactive mode:
314*0b459c2cSDavid du Colombier
315*0b459c2cSDavid du Colombier    Gnomovision version 69, Copyright (C) 19yy name of author
316*0b459c2cSDavid du Colombier    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317*0b459c2cSDavid du Colombier    This is free software, and you are welcome to redistribute it
318*0b459c2cSDavid du Colombier    under certain conditions; type `show c' for details.
319*0b459c2cSDavid du Colombier
320*0b459c2cSDavid du ColombierThe hypothetical commands `show w' and `show c' should show the appropriate
321*0b459c2cSDavid du Colombierparts of the General Public License.  Of course, the commands you use may
322*0b459c2cSDavid du Colombierbe called something other than `show w' and `show c'; they could even be
323*0b459c2cSDavid du Colombiermouse-clicks or menu items--whatever suits your program.
324*0b459c2cSDavid du Colombier
325*0b459c2cSDavid du ColombierYou should also get your employer (if you work as a programmer) or your
326*0b459c2cSDavid du Colombierschool, if any, to sign a "copyright disclaimer" for the program, if
327*0b459c2cSDavid du Colombiernecessary.  Here is a sample; alter the names:
328*0b459c2cSDavid du Colombier
329*0b459c2cSDavid du Colombier  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330*0b459c2cSDavid du Colombier  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331*0b459c2cSDavid du Colombier
332*0b459c2cSDavid du Colombier  <signature of Ty Coon>, 1 April 1989
333*0b459c2cSDavid du Colombier  Ty Coon, President of Vice
334*0b459c2cSDavid du Colombier
335*0b459c2cSDavid du ColombierThis General Public License does not permit incorporating your program into
336*0b459c2cSDavid du Colombierproprietary programs.  If your program is a subroutine library, you may
337*0b459c2cSDavid du Colombierconsider it more useful to permit linking proprietary applications with the
338*0b459c2cSDavid du Colombierlibrary.  If this is what you want to do, use the GNU Library General
339*0b459c2cSDavid du ColombierPublic License instead of this License.
340