1130812Smarcel		    GNU GENERAL PUBLIC LICENSE
2130812Smarcel		       Version 2, June 1991
3130812Smarcel
4130812Smarcel Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5130812Smarcel     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6130812Smarcel Everyone is permitted to copy and distribute verbatim copies
7130812Smarcel of this license document, but changing it is not allowed.
8130812Smarcel
9130812Smarcel			    Preamble
10130812Smarcel
11130812Smarcel  The licenses for most software are designed to take away your
12130812Smarcelfreedom to share and change it.  By contrast, the GNU General Public
13130812SmarcelLicense is intended to guarantee your freedom to share and change free
14130812Smarcelsoftware--to make sure the software is free for all its users.  This
15130812SmarcelGeneral Public License applies to most of the Free Software
16130812SmarcelFoundation's software and to any other program whose authors commit to
17130812Smarcelusing it.  (Some other Free Software Foundation software is covered by
18130812Smarcelthe GNU Library General Public License instead.)  You can apply it to
19130812Smarcelyour programs, too.
20130812Smarcel
21130812Smarcel  When we speak of free software, we are referring to freedom, not
22130812Smarcelprice.  Our General Public Licenses are designed to make sure that you
23130812Smarcelhave the freedom to distribute copies of free software (and charge for
24130812Smarcelthis service if you wish), that you receive source code or can get it
25130812Smarcelif you want it, that you can change the software or use pieces of it
26130812Smarcelin new free programs; and that you know you can do these things.
27130812Smarcel
28130812Smarcel  To protect your rights, we need to make restrictions that forbid
29130812Smarcelanyone to deny you these rights or to ask you to surrender the rights.
30130812SmarcelThese restrictions translate to certain responsibilities for you if you
31130812Smarceldistribute copies of the software, or if you modify it.
32130812Smarcel
33130812Smarcel  For example, if you distribute copies of such a program, whether
34130812Smarcelgratis or for a fee, you must give the recipients all the rights that
35130812Smarcelyou have.  You must make sure that they, too, receive or can get the
36130812Smarcelsource code.  And you must show them these terms so they know their
37130812Smarcelrights.
38130812Smarcel
39130812Smarcel  We protect your rights with two steps: (1) copyright the software, and
40130812Smarcel(2) offer you this license which gives you legal permission to copy,
41130812Smarceldistribute and/or modify the software.
42130812Smarcel
43130812Smarcel  Also, for each author's protection and ours, we want to make certain
44130812Smarcelthat everyone understands that there is no warranty for this free
45130812Smarcelsoftware.  If the software is modified by someone else and passed on, we
46130812Smarcelwant its recipients to know that what they have is not the original, so
47130812Smarcelthat any problems introduced by others will not reflect on the original
48130812Smarcelauthors' reputations.
49130812Smarcel
50130812Smarcel  Finally, any free program is threatened constantly by software
51130812Smarcelpatents.  We wish to avoid the danger that redistributors of a free
52130812Smarcelprogram will individually obtain patent licenses, in effect making the
53130812Smarcelprogram proprietary.  To prevent this, we have made it clear that any
54130812Smarcelpatent must be licensed for everyone's free use or not licensed at all.
55130812Smarcel
56130812Smarcel  The precise terms and conditions for copying, distribution and
57130812Smarcelmodification follow.
58130812Smarcel
59130812Smarcel		    GNU GENERAL PUBLIC LICENSE
60130812Smarcel   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61130812Smarcel
62130812Smarcel  0. This License applies to any program or other work which contains
63130812Smarcela notice placed by the copyright holder saying it may be distributed
64130812Smarcelunder the terms of this General Public License.  The "Program", below,
65130812Smarcelrefers to any such program or work, and a "work based on the Program"
66130812Smarcelmeans either the Program or any derivative work under copyright law:
67130812Smarcelthat is to say, a work containing the Program or a portion of it,
68130812Smarceleither verbatim or with modifications and/or translated into another
69130812Smarcellanguage.  (Hereinafter, translation is included without limitation in
70130812Smarcelthe term "modification".)  Each licensee is addressed as "you".
71130812Smarcel
72130812SmarcelActivities other than copying, distribution and modification are not
73130812Smarcelcovered by this License; they are outside its scope.  The act of
74130812Smarcelrunning the Program is not restricted, and the output from the Program
75130812Smarcelis covered only if its contents constitute a work based on the
76130812SmarcelProgram (independent of having been made by running the Program).
77130812SmarcelWhether that is true depends on what the Program does.
78130812Smarcel
79130812Smarcel  1. You may copy and distribute verbatim copies of the Program's
80130812Smarcelsource code as you receive it, in any medium, provided that you
81130812Smarcelconspicuously and appropriately publish on each copy an appropriate
82130812Smarcelcopyright notice and disclaimer of warranty; keep intact all the
83130812Smarcelnotices that refer to this License and to the absence of any warranty;
84130812Smarceland give any other recipients of the Program a copy of this License
85130812Smarcelalong with the Program.
86130812Smarcel
87130812SmarcelYou may charge a fee for the physical act of transferring a copy, and
88130812Smarcelyou may at your option offer warranty protection in exchange for a fee.
89130812Smarcel
90130812Smarcel  2. You may modify your copy or copies of the Program or any portion
91130812Smarcelof it, thus forming a work based on the Program, and copy and
92130812Smarceldistribute such modifications or work under the terms of Section 1
93130812Smarcelabove, provided that you also meet all of these conditions:
94130812Smarcel
95130812Smarcel    a) You must cause the modified files to carry prominent notices
96130812Smarcel    stating that you changed the files and the date of any change.
97130812Smarcel
98130812Smarcel    b) You must cause any work that you distribute or publish, that in
99130812Smarcel    whole or in part contains or is derived from the Program or any
100130812Smarcel    part thereof, to be licensed as a whole at no charge to all third
101130812Smarcel    parties under the terms of this License.
102130812Smarcel
103130812Smarcel    c) If the modified program normally reads commands interactively
104130812Smarcel    when run, you must cause it, when started running for such
105130812Smarcel    interactive use in the most ordinary way, to print or display an
106130812Smarcel    announcement including an appropriate copyright notice and a
107130812Smarcel    notice that there is no warranty (or else, saying that you provide
108130812Smarcel    a warranty) and that users may redistribute the program under
109130812Smarcel    these conditions, and telling the user how to view a copy of this
110130812Smarcel    License.  (Exception: if the Program itself is interactive but
111130812Smarcel    does not normally print such an announcement, your work based on
112130812Smarcel    the Program is not required to print an announcement.)
113130812Smarcel
114130812SmarcelThese requirements apply to the modified work as a whole.  If
115130812Smarcelidentifiable sections of that work are not derived from the Program,
116130812Smarceland can be reasonably considered independent and separate works in
117130812Smarcelthemselves, then this License, and its terms, do not apply to those
118130812Smarcelsections when you distribute them as separate works.  But when you
119130812Smarceldistribute the same sections as part of a whole which is a work based
120130812Smarcelon the Program, the distribution of the whole must be on the terms of
121130812Smarcelthis License, whose permissions for other licensees extend to the
122130812Smarcelentire whole, and thus to each and every part regardless of who wrote it.
123130812Smarcel
124130812SmarcelThus, it is not the intent of this section to claim rights or contest
125130812Smarcelyour rights to work written entirely by you; rather, the intent is to
126130812Smarcelexercise the right to control the distribution of derivative or
127130812Smarcelcollective works based on the Program.
128130812Smarcel
129130812SmarcelIn addition, mere aggregation of another work not based on the Program
130130812Smarcelwith the Program (or with a work based on the Program) on a volume of
131130812Smarcela storage or distribution medium does not bring the other work under
132130812Smarcelthe scope of this License.
133130812Smarcel
134130812Smarcel  3. You may copy and distribute the Program (or a work based on it,
135130812Smarcelunder Section 2) in object code or executable form under the terms of
136130812SmarcelSections 1 and 2 above provided that you also do one of the following:
137130812Smarcel
138130812Smarcel    a) Accompany it with the complete corresponding machine-readable
139130812Smarcel    source code, which must be distributed under the terms of Sections
140130812Smarcel    1 and 2 above on a medium customarily used for software interchange; or,
141130812Smarcel
142130812Smarcel    b) Accompany it with a written offer, valid for at least three
143130812Smarcel    years, to give any third party, for a charge no more than your
144130812Smarcel    cost of physically performing source distribution, a complete
145130812Smarcel    machine-readable copy of the corresponding source code, to be
146130812Smarcel    distributed under the terms of Sections 1 and 2 above on a medium
147130812Smarcel    customarily used for software interchange; or,
148130812Smarcel
149130812Smarcel    c) Accompany it with the information you received as to the offer
150130812Smarcel    to distribute corresponding source code.  (This alternative is
151130812Smarcel    allowed only for noncommercial distribution and only if you
152130812Smarcel    received the program in object code or executable form with such
153130812Smarcel    an offer, in accord with Subsection b above.)
154130812Smarcel
155130812SmarcelThe source code for a work means the preferred form of the work for
156130812Smarcelmaking modifications to it.  For an executable work, complete source
157130812Smarcelcode means all the source code for all modules it contains, plus any
158130812Smarcelassociated interface definition files, plus the scripts used to
159130812Smarcelcontrol compilation and installation of the executable.  However, as a
160130812Smarcelspecial exception, the source code distributed need not include
161130812Smarcelanything that is normally distributed (in either source or binary
162130812Smarcelform) with the major components (compiler, kernel, and so on) of the
163130812Smarceloperating system on which the executable runs, unless that component
164130812Smarcelitself accompanies the executable.
165130812Smarcel
166130812SmarcelIf distribution of executable or object code is made by offering
167130812Smarcelaccess to copy from a designated place, then offering equivalent
168130812Smarcelaccess to copy the source code from the same place counts as
169130812Smarceldistribution of the source code, even though third parties are not
170130812Smarcelcompelled to copy the source along with the object code.
171130812Smarcel
172130812Smarcel  4. You may not copy, modify, sublicense, or distribute the Program
173130812Smarcelexcept as expressly provided under this License.  Any attempt
174130812Smarcelotherwise to copy, modify, sublicense or distribute the Program is
175130812Smarcelvoid, and will automatically terminate your rights under this License.
176130812SmarcelHowever, parties who have received copies, or rights, from you under
177130812Smarcelthis License will not have their licenses terminated so long as such
178130812Smarcelparties remain in full compliance.
179130812Smarcel
180130812Smarcel  5. You are not required to accept this License, since you have not
181130812Smarcelsigned it.  However, nothing else grants you permission to modify or
182130812Smarceldistribute the Program or its derivative works.  These actions are
183130812Smarcelprohibited by law if you do not accept this License.  Therefore, by
184130812Smarcelmodifying or distributing the Program (or any work based on the
185130812SmarcelProgram), you indicate your acceptance of this License to do so, and
186130812Smarcelall its terms and conditions for copying, distributing or modifying
187130812Smarcelthe Program or works based on it.
188130812Smarcel
189130812Smarcel  6. Each time you redistribute the Program (or any work based on the
190130812SmarcelProgram), the recipient automatically receives a license from the
191130812Smarceloriginal licensor to copy, distribute or modify the Program subject to
192130812Smarcelthese terms and conditions.  You may not impose any further
193130812Smarcelrestrictions on the recipients' exercise of the rights granted herein.
194130812SmarcelYou are not responsible for enforcing compliance by third parties to
195130812Smarcelthis License.
196130812Smarcel
197130812Smarcel  7. If, as a consequence of a court judgment or allegation of patent
198130812Smarcelinfringement or for any other reason (not limited to patent issues),
199130812Smarcelconditions are imposed on you (whether by court order, agreement or
200130812Smarcelotherwise) that contradict the conditions of this License, they do not
201130812Smarcelexcuse you from the conditions of this License.  If you cannot
202130812Smarceldistribute so as to satisfy simultaneously your obligations under this
203130812SmarcelLicense and any other pertinent obligations, then as a consequence you
204130812Smarcelmay not distribute the Program at all.  For example, if a patent
205130812Smarcellicense would not permit royalty-free redistribution of the Program by
206130812Smarcelall those who receive copies directly or indirectly through you, then
207130812Smarcelthe only way you could satisfy both it and this License would be to
208130812Smarcelrefrain entirely from distribution of the Program.
209130812Smarcel
210130812SmarcelIf any portion of this section is held invalid or unenforceable under
211130812Smarcelany particular circumstance, the balance of the section is intended to
212130812Smarcelapply and the section as a whole is intended to apply in other
213130812Smarcelcircumstances.
214130812Smarcel
215130812SmarcelIt is not the purpose of this section to induce you to infringe any
216130812Smarcelpatents or other property right claims or to contest validity of any
217130812Smarcelsuch claims; this section has the sole purpose of protecting the
218130812Smarcelintegrity of the free software distribution system, which is
219130812Smarcelimplemented by public license practices.  Many people have made
220130812Smarcelgenerous contributions to the wide range of software distributed
221130812Smarcelthrough that system in reliance on consistent application of that
222130812Smarcelsystem; it is up to the author/donor to decide if he or she is willing
223130812Smarcelto distribute software through any other system and a licensee cannot
224130812Smarcelimpose that choice.
225130812Smarcel
226130812SmarcelThis section is intended to make thoroughly clear what is believed to
227130812Smarcelbe a consequence of the rest of this License.
228130812Smarcel
229130812Smarcel  8. If the distribution and/or use of the Program is restricted in
230130812Smarcelcertain countries either by patents or by copyrighted interfaces, the
231130812Smarceloriginal copyright holder who places the Program under this License
232130812Smarcelmay add an explicit geographical distribution limitation excluding
233130812Smarcelthose countries, so that distribution is permitted only in or among
234130812Smarcelcountries not thus excluded.  In such case, this License incorporates
235130812Smarcelthe limitation as if written in the body of this License.
236130812Smarcel
237130812Smarcel  9. The Free Software Foundation may publish revised and/or new versions
238130812Smarcelof the General Public License from time to time.  Such new versions will
239130812Smarcelbe similar in spirit to the present version, but may differ in detail to
240130812Smarceladdress new problems or concerns.
241130812Smarcel
242130812SmarcelEach version is given a distinguishing version number.  If the Program
243130812Smarcelspecifies a version number of this License which applies to it and "any
244130812Smarcellater version", you have the option of following the terms and conditions
245130812Smarceleither of that version or of any later version published by the Free
246130812SmarcelSoftware Foundation.  If the Program does not specify a version number of
247130812Smarcelthis License, you may choose any version ever published by the Free Software
248130812SmarcelFoundation.
249130812Smarcel
250130812Smarcel  10. If you wish to incorporate parts of the Program into other free
251130812Smarcelprograms whose distribution conditions are different, write to the author
252130812Smarcelto ask for permission.  For software which is copyrighted by the Free
253130812SmarcelSoftware Foundation, write to the Free Software Foundation; we sometimes
254130812Smarcelmake exceptions for this.  Our decision will be guided by the two goals
255130812Smarcelof preserving the free status of all derivatives of our free software and
256130812Smarcelof promoting the sharing and reuse of software generally.
257130812Smarcel
258130812Smarcel			    NO WARRANTY
259130812Smarcel
260130812Smarcel  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261130812SmarcelFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262130812SmarcelOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263130812SmarcelPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264130812SmarcelOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265130812SmarcelMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266130812SmarcelTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267130812SmarcelPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268130812SmarcelREPAIR OR CORRECTION.
269130812Smarcel
270130812Smarcel  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271130812SmarcelWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272130812SmarcelREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273130812SmarcelINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274130812SmarcelOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275130812SmarcelTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276130812SmarcelYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277130812SmarcelPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278130812SmarcelPOSSIBILITY OF SUCH DAMAGES.
279130812Smarcel
280130812Smarcel		     END OF TERMS AND CONDITIONS
281130812Smarcel
282130812Smarcel	    How to Apply These Terms to Your New Programs
283130812Smarcel
284130812Smarcel  If you develop a new program, and you want it to be of the greatest
285130812Smarcelpossible use to the public, the best way to achieve this is to make it
286130812Smarcelfree software which everyone can redistribute and change under these terms.
287130812Smarcel
288130812Smarcel  To do so, attach the following notices to the program.  It is safest
289130812Smarcelto attach them to the start of each source file to most effectively
290130812Smarcelconvey the exclusion of warranty; and each file should have at least
291130812Smarcelthe "copyright" line and a pointer to where the full notice is found.
292130812Smarcel
293130812Smarcel    <one line to give the program's name and a brief idea of what it does.>
294130812Smarcel    Copyright (C) <year>  <name of author>
295130812Smarcel
296130812Smarcel    This program is free software; you can redistribute it and/or modify
297130812Smarcel    it under the terms of the GNU General Public License as published by
298130812Smarcel    the Free Software Foundation; either version 2 of the License, or
299130812Smarcel    (at your option) any later version.
300130812Smarcel
301130812Smarcel    This program is distributed in the hope that it will be useful,
302130812Smarcel    but WITHOUT ANY WARRANTY; without even the implied warranty of
303130812Smarcel    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304130812Smarcel    GNU General Public License for more details.
305130812Smarcel
306130812Smarcel    You should have received a copy of the GNU General Public License
307130812Smarcel    along with this program; if not, write to the Free Software
308130812Smarcel    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
309130812Smarcel
310130812Smarcel
311130812SmarcelAlso add information on how to contact you by electronic and paper mail.
312130812Smarcel
313130812SmarcelIf the program is interactive, make it output a short notice like this
314130812Smarcelwhen it starts in an interactive mode:
315130812Smarcel
316130812Smarcel    Gnomovision version 69, Copyright (C) year  name of author
317130812Smarcel    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318130812Smarcel    This is free software, and you are welcome to redistribute it
319130812Smarcel    under certain conditions; type `show c' for details.
320130812Smarcel
321130812SmarcelThe hypothetical commands `show w' and `show c' should show the appropriate
322130812Smarcelparts of the General Public License.  Of course, the commands you use may
323130812Smarcelbe called something other than `show w' and `show c'; they could even be
324130812Smarcelmouse-clicks or menu items--whatever suits your program.
325130812Smarcel
326130812SmarcelYou should also get your employer (if you work as a programmer) or your
327130812Smarcelschool, if any, to sign a "copyright disclaimer" for the program, if
328130812Smarcelnecessary.  Here is a sample; alter the names:
329130812Smarcel
330130812Smarcel  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331130812Smarcel  `Gnomovision' (which makes passes at compilers) written by James Hacker.
332130812Smarcel
333130812Smarcel  <signature of Ty Coon>, 1 April 1989
334130812Smarcel  Ty Coon, President of Vice
335130812Smarcel
336130812SmarcelThis General Public License does not permit incorporating your program into
337130812Smarcelproprietary programs.  If your program is a subroutine library, you may
338130812Smarcelconsider it more useful to permit linking proprietary applications with the
339130812Smarcellibrary.  If this is what you want to do, use the GNU Library General
340130812SmarcelPublic License instead of this License.
341