1169695Skan		    GNU GENERAL PUBLIC LICENSE
2169695Skan		       Version 2, June 1991
3169695Skan
4169695Skan Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5169695Skan     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
6169695Skan Everyone is permitted to copy and distribute verbatim copies
7169695Skan of this license document, but changing it is not allowed.
8169695Skan
9169695Skan			    Preamble
10169695Skan
11169695Skan  The licenses for most software are designed to take away your
12169695Skanfreedom to share and change it.  By contrast, the GNU General Public
13169695SkanLicense is intended to guarantee your freedom to share and change free
14169695Skansoftware--to make sure the software is free for all its users.  This
15169695SkanGeneral Public License applies to most of the Free Software
16169695SkanFoundation's software and to any other program whose authors commit to
17169695Skanusing it.  (Some other Free Software Foundation software is covered by
18169695Skanthe GNU Library General Public License instead.)  You can apply it to
19169695Skanyour programs, too.
20169695Skan
21169695Skan  When we speak of free software, we are referring to freedom, not
22169695Skanprice.  Our General Public Licenses are designed to make sure that you
23169695Skanhave the freedom to distribute copies of free software (and charge for
24169695Skanthis service if you wish), that you receive source code or can get it
25169695Skanif you want it, that you can change the software or use pieces of it
26169695Skanin new free programs; and that you know you can do these things.
27169695Skan
28169695Skan  To protect your rights, we need to make restrictions that forbid
29169695Skananyone to deny you these rights or to ask you to surrender the rights.
30169695SkanThese restrictions translate to certain responsibilities for you if you
31169695Skandistribute copies of the software, or if you modify it.
32169695Skan
33169695Skan  For example, if you distribute copies of such a program, whether
34169695Skangratis or for a fee, you must give the recipients all the rights that
35169695Skanyou have.  You must make sure that they, too, receive or can get the
36169695Skansource code.  And you must show them these terms so they know their
37169695Skanrights.
38169695Skan
39169695Skan  We protect your rights with two steps: (1) copyright the software, and
40169695Skan(2) offer you this license which gives you legal permission to copy,
41169695Skandistribute and/or modify the software.
42169695Skan
43169695Skan  Also, for each author's protection and ours, we want to make certain
44169695Skanthat everyone understands that there is no warranty for this free
45169695Skansoftware.  If the software is modified by someone else and passed on, we
46169695Skanwant its recipients to know that what they have is not the original, so
47169695Skanthat any problems introduced by others will not reflect on the original
48169695Skanauthors' reputations.
49169695Skan
50169695Skan  Finally, any free program is threatened constantly by software
51169695Skanpatents.  We wish to avoid the danger that redistributors of a free
52169695Skanprogram will individually obtain patent licenses, in effect making the
53169695Skanprogram proprietary.  To prevent this, we have made it clear that any
54169695Skanpatent must be licensed for everyone's free use or not licensed at all.
55169695Skan
56169695Skan  The precise terms and conditions for copying, distribution and
57169695Skanmodification follow.
58169695Skan
59169695Skan		    GNU GENERAL PUBLIC LICENSE
60169695Skan   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61169695Skan
62169695Skan  0. This License applies to any program or other work which contains
63169695Skana notice placed by the copyright holder saying it may be distributed
64169695Skanunder the terms of this General Public License.  The "Program", below,
65169695Skanrefers to any such program or work, and a "work based on the Program"
66169695Skanmeans either the Program or any derivative work under copyright law:
67169695Skanthat is to say, a work containing the Program or a portion of it,
68169695Skaneither verbatim or with modifications and/or translated into another
69169695Skanlanguage.  (Hereinafter, translation is included without limitation in
70169695Skanthe term "modification".)  Each licensee is addressed as "you".
71169695Skan
72169695SkanActivities other than copying, distribution and modification are not
73169695Skancovered by this License; they are outside its scope.  The act of
74169695Skanrunning the Program is not restricted, and the output from the Program
75169695Skanis covered only if its contents constitute a work based on the
76169695SkanProgram (independent of having been made by running the Program).
77169695SkanWhether that is true depends on what the Program does.
78169695Skan
79169695Skan  1. You may copy and distribute verbatim copies of the Program's
80169695Skansource code as you receive it, in any medium, provided that you
81169695Skanconspicuously and appropriately publish on each copy an appropriate
82169695Skancopyright notice and disclaimer of warranty; keep intact all the
83169695Skannotices that refer to this License and to the absence of any warranty;
84169695Skanand give any other recipients of the Program a copy of this License
85169695Skanalong with the Program.
86169695Skan
87169695SkanYou may charge a fee for the physical act of transferring a copy, and
88169695Skanyou may at your option offer warranty protection in exchange for a fee.
89169695Skan
90169695Skan  2. You may modify your copy or copies of the Program or any portion
91169695Skanof it, thus forming a work based on the Program, and copy and
92169695Skandistribute such modifications or work under the terms of Section 1
93169695Skanabove, provided that you also meet all of these conditions:
94169695Skan
95169695Skan    a) You must cause the modified files to carry prominent notices
96169695Skan    stating that you changed the files and the date of any change.
97169695Skan
98169695Skan    b) You must cause any work that you distribute or publish, that in
99169695Skan    whole or in part contains or is derived from the Program or any
100169695Skan    part thereof, to be licensed as a whole at no charge to all third
101169695Skan    parties under the terms of this License.
102169695Skan
103169695Skan    c) If the modified program normally reads commands interactively
104169695Skan    when run, you must cause it, when started running for such
105169695Skan    interactive use in the most ordinary way, to print or display an
106169695Skan    announcement including an appropriate copyright notice and a
107169695Skan    notice that there is no warranty (or else, saying that you provide
108169695Skan    a warranty) and that users may redistribute the program under
109169695Skan    these conditions, and telling the user how to view a copy of this
110169695Skan    License.  (Exception: if the Program itself is interactive but
111169695Skan    does not normally print such an announcement, your work based on
112169695Skan    the Program is not required to print an announcement.)
113169695Skan
114169695SkanThese requirements apply to the modified work as a whole.  If
115169695Skanidentifiable sections of that work are not derived from the Program,
116169695Skanand can be reasonably considered independent and separate works in
117169695Skanthemselves, then this License, and its terms, do not apply to those
118169695Skansections when you distribute them as separate works.  But when you
119169695Skandistribute the same sections as part of a whole which is a work based
120169695Skanon the Program, the distribution of the whole must be on the terms of
121169695Skanthis License, whose permissions for other licensees extend to the
122169695Skanentire whole, and thus to each and every part regardless of who wrote it.
123169695Skan
124169695SkanThus, it is not the intent of this section to claim rights or contest
125169695Skanyour rights to work written entirely by you; rather, the intent is to
126169695Skanexercise the right to control the distribution of derivative or
127169695Skancollective works based on the Program.
128169695Skan
129169695SkanIn addition, mere aggregation of another work not based on the Program
130169695Skanwith the Program (or with a work based on the Program) on a volume of
131169695Skana storage or distribution medium does not bring the other work under
132169695Skanthe scope of this License.
133169695Skan
134169695Skan  3. You may copy and distribute the Program (or a work based on it,
135169695Skanunder Section 2) in object code or executable form under the terms of
136169695SkanSections 1 and 2 above provided that you also do one of the following:
137169695Skan
138169695Skan    a) Accompany it with the complete corresponding machine-readable
139169695Skan    source code, which must be distributed under the terms of Sections
140169695Skan    1 and 2 above on a medium customarily used for software interchange; or,
141169695Skan
142169695Skan    b) Accompany it with a written offer, valid for at least three
143169695Skan    years, to give any third party, for a charge no more than your
144169695Skan    cost of physically performing source distribution, a complete
145169695Skan    machine-readable copy of the corresponding source code, to be
146169695Skan    distributed under the terms of Sections 1 and 2 above on a medium
147169695Skan    customarily used for software interchange; or,
148169695Skan
149169695Skan    c) Accompany it with the information you received as to the offer
150169695Skan    to distribute corresponding source code.  (This alternative is
151169695Skan    allowed only for noncommercial distribution and only if you
152169695Skan    received the program in object code or executable form with such
153169695Skan    an offer, in accord with Subsection b above.)
154169695Skan
155169695SkanThe source code for a work means the preferred form of the work for
156169695Skanmaking modifications to it.  For an executable work, complete source
157169695Skancode means all the source code for all modules it contains, plus any
158169695Skanassociated interface definition files, plus the scripts used to
159169695Skancontrol compilation and installation of the executable.  However, as a
160169695Skanspecial exception, the source code distributed need not include
161169695Skananything that is normally distributed (in either source or binary
162169695Skanform) with the major components (compiler, kernel, and so on) of the
163169695Skanoperating system on which the executable runs, unless that component
164169695Skanitself accompanies the executable.
165169695Skan
166169695SkanIf distribution of executable or object code is made by offering
167169695Skanaccess to copy from a designated place, then offering equivalent
168169695Skanaccess to copy the source code from the same place counts as
169169695Skandistribution of the source code, even though third parties are not
170169695Skancompelled to copy the source along with the object code.
171169695Skan
172169695Skan  4. You may not copy, modify, sublicense, or distribute the Program
173169695Skanexcept as expressly provided under this License.  Any attempt
174169695Skanotherwise to copy, modify, sublicense or distribute the Program is
175169695Skanvoid, and will automatically terminate your rights under this License.
176169695SkanHowever, parties who have received copies, or rights, from you under
177169695Skanthis License will not have their licenses terminated so long as such
178169695Skanparties remain in full compliance.
179169695Skan
180169695Skan  5. You are not required to accept this License, since you have not
181169695Skansigned it.  However, nothing else grants you permission to modify or
182169695Skandistribute the Program or its derivative works.  These actions are
183169695Skanprohibited by law if you do not accept this License.  Therefore, by
184169695Skanmodifying or distributing the Program (or any work based on the
185169695SkanProgram), you indicate your acceptance of this License to do so, and
186169695Skanall its terms and conditions for copying, distributing or modifying
187169695Skanthe Program or works based on it.
188169695Skan
189169695Skan  6. Each time you redistribute the Program (or any work based on the
190169695SkanProgram), the recipient automatically receives a license from the
191169695Skanoriginal licensor to copy, distribute or modify the Program subject to
192169695Skanthese terms and conditions.  You may not impose any further
193169695Skanrestrictions on the recipients' exercise of the rights granted herein.
194169695SkanYou are not responsible for enforcing compliance by third parties to
195169695Skanthis License.
196169695Skan
197169695Skan  7. If, as a consequence of a court judgment or allegation of patent
198169695Skaninfringement or for any other reason (not limited to patent issues),
199169695Skanconditions are imposed on you (whether by court order, agreement or
200169695Skanotherwise) that contradict the conditions of this License, they do not
201169695Skanexcuse you from the conditions of this License.  If you cannot
202169695Skandistribute so as to satisfy simultaneously your obligations under this
203169695SkanLicense and any other pertinent obligations, then as a consequence you
204169695Skanmay not distribute the Program at all.  For example, if a patent
205169695Skanlicense would not permit royalty-free redistribution of the Program by
206169695Skanall those who receive copies directly or indirectly through you, then
207169695Skanthe only way you could satisfy both it and this License would be to
208169695Skanrefrain entirely from distribution of the Program.
209169695Skan
210169695SkanIf any portion of this section is held invalid or unenforceable under
211169695Skanany particular circumstance, the balance of the section is intended to
212169695Skanapply and the section as a whole is intended to apply in other
213169695Skancircumstances.
214169695Skan
215169695SkanIt is not the purpose of this section to induce you to infringe any
216169695Skanpatents or other property right claims or to contest validity of any
217169695Skansuch claims; this section has the sole purpose of protecting the
218169695Skanintegrity of the free software distribution system, which is
219169695Skanimplemented by public license practices.  Many people have made
220169695Skangenerous contributions to the wide range of software distributed
221169695Skanthrough that system in reliance on consistent application of that
222169695Skansystem; it is up to the author/donor to decide if he or she is willing
223169695Skanto distribute software through any other system and a licensee cannot
224169695Skanimpose that choice.
225169695Skan
226169695SkanThis section is intended to make thoroughly clear what is believed to
227169695Skanbe a consequence of the rest of this License.
228169695Skan
229169695Skan  8. If the distribution and/or use of the Program is restricted in
230169695Skancertain countries either by patents or by copyrighted interfaces, the
231169695Skanoriginal copyright holder who places the Program under this License
232169695Skanmay add an explicit geographical distribution limitation excluding
233169695Skanthose countries, so that distribution is permitted only in or among
234169695Skancountries not thus excluded.  In such case, this License incorporates
235169695Skanthe limitation as if written in the body of this License.
236169695Skan
237169695Skan  9. The Free Software Foundation may publish revised and/or new versions
238169695Skanof the General Public License from time to time.  Such new versions will
239169695Skanbe similar in spirit to the present version, but may differ in detail to
240169695Skanaddress new problems or concerns.
241169695Skan
242169695SkanEach version is given a distinguishing version number.  If the Program
243169695Skanspecifies a version number of this License which applies to it and "any
244169695Skanlater version", you have the option of following the terms and conditions
245169695Skaneither of that version or of any later version published by the Free
246169695SkanSoftware Foundation.  If the Program does not specify a version number of
247169695Skanthis License, you may choose any version ever published by the Free Software
248169695SkanFoundation.
249169695Skan
250169695Skan  10. If you wish to incorporate parts of the Program into other free
251169695Skanprograms whose distribution conditions are different, write to the author
252169695Skanto ask for permission.  For software which is copyrighted by the Free
253169695SkanSoftware Foundation, write to the Free Software Foundation; we sometimes
254169695Skanmake exceptions for this.  Our decision will be guided by the two goals
255169695Skanof preserving the free status of all derivatives of our free software and
256169695Skanof promoting the sharing and reuse of software generally.
257169695Skan
258169695Skan			    NO WARRANTY
259169695Skan
260169695Skan  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261169695SkanFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262169695SkanOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263169695SkanPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264169695SkanOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265169695SkanMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266169695SkanTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267169695SkanPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268169695SkanREPAIR OR CORRECTION.
269169695Skan
270169695Skan  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271169695SkanWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272169695SkanREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273169695SkanINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274169695SkanOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275169695SkanTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276169695SkanYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277169695SkanPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278169695SkanPOSSIBILITY OF SUCH DAMAGES.
279169695Skan
280169695Skan		     END OF TERMS AND CONDITIONS
281169695Skan
282169695Skan	    How to Apply These Terms to Your New Programs
283169695Skan
284169695Skan  If you develop a new program, and you want it to be of the greatest
285169695Skanpossible use to the public, the best way to achieve this is to make it
286169695Skanfree software which everyone can redistribute and change under these terms.
287169695Skan
288169695Skan  To do so, attach the following notices to the program.  It is safest
289169695Skanto attach them to the start of each source file to most effectively
290169695Skanconvey the exclusion of warranty; and each file should have at least
291169695Skanthe "copyright" line and a pointer to where the full notice is found.
292169695Skan
293169695Skan    <one line to give the program's name and a brief idea of what it does.>
294169695Skan    Copyright (C) <year>  <name of author>
295169695Skan
296169695Skan    This program is free software; you can redistribute it and/or modify
297169695Skan    it under the terms of the GNU General Public License as published by
298169695Skan    the Free Software Foundation; either version 2 of the License, or
299169695Skan    (at your option) any later version.
300169695Skan
301169695Skan    This program is distributed in the hope that it will be useful,
302169695Skan    but WITHOUT ANY WARRANTY; without even the implied warranty of
303169695Skan    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304169695Skan    GNU General Public License for more details.
305169695Skan
306169695Skan    You should have received a copy of the GNU General Public License
307169695Skan    along with this program; if not, write to the Free Software
308169695Skan    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
309169695Skan
310169695Skan
311169695SkanAlso add information on how to contact you by electronic and paper mail.
312169695Skan
313169695SkanIf the program is interactive, make it output a short notice like this
314169695Skanwhen it starts in an interactive mode:
315169695Skan
316169695Skan    Gnomovision version 69, Copyright (C) year  name of author
317169695Skan    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318169695Skan    This is free software, and you are welcome to redistribute it
319169695Skan    under certain conditions; type `show c' for details.
320169695Skan
321169695SkanThe hypothetical commands `show w' and `show c' should show the appropriate
322169695Skanparts of the General Public License.  Of course, the commands you use may
323169695Skanbe called something other than `show w' and `show c'; they could even be
324169695Skanmouse-clicks or menu items--whatever suits your program.
325169695Skan
326169695SkanYou should also get your employer (if you work as a programmer) or your
327169695Skanschool, if any, to sign a "copyright disclaimer" for the program, if
328169695Skannecessary.  Here is a sample; alter the names:
329169695Skan
330169695Skan  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331169695Skan  `Gnomovision' (which makes passes at compilers) written by James Hacker.
332169695Skan
333169695Skan  <signature of Ty Coon>, 1 April 1989
334169695Skan  Ty Coon, President of Vice
335169695Skan
336169695SkanThis General Public License does not permit incorporating your program into
337169695Skanproprietary programs.  If your program is a subroutine library, you may
338169695Skanconsider it more useful to permit linking proprietary applications with the
339169695Skanlibrary.  If this is what you want to do, use the GNU Library General
340169695SkanPublic License instead of this License.
341