xref: /plan9/sys/src/cmd/unix/drawterm/LICENSE (revision 8ccd4a6360d974db7bd7bbd4f37e7018419ea908)
1*8ccd4a63SDavid du ColombierCopyright (c) 2005 Lucent Technologies
2*8ccd4a63SDavid du ColombierPortions Copyright (c) 2005 Russ Cox, MIT
3*8ccd4a63SDavid du Colombier
4*8ccd4a63SDavid du ColombierThe Plan 9 software is provided under the terms of the
5*8ccd4a63SDavid du ColombierLucent Public License, Version 1.02, reproduced below.
6*8ccd4a63SDavid du Colombier
7*8ccd4a63SDavid du Colombier===================================================================
8*8ccd4a63SDavid du Colombier
9*8ccd4a63SDavid du ColombierLucent Public License Version 1.02
10*8ccd4a63SDavid du Colombier
11*8ccd4a63SDavid du ColombierTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS PUBLIC
12*8ccd4a63SDavid du ColombierLICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
13*8ccd4a63SDavid du ColombierPROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
14*8ccd4a63SDavid du Colombier
15*8ccd4a63SDavid du Colombier1. DEFINITIONS
16*8ccd4a63SDavid du Colombier
17*8ccd4a63SDavid du Colombier"Contribution" means:
18*8ccd4a63SDavid du Colombier
19*8ccd4a63SDavid du Colombier  a. in the case of Lucent Technologies Inc. ("LUCENT"), the Original
20*8ccd4a63SDavid du Colombier     Program, and
21*8ccd4a63SDavid du Colombier  b. in the case of each Contributor,
22*8ccd4a63SDavid du Colombier
23*8ccd4a63SDavid du Colombier     i. changes to the Program, and
24*8ccd4a63SDavid du Colombier    ii. additions to the Program;
25*8ccd4a63SDavid du Colombier
26*8ccd4a63SDavid du Colombier    where such changes and/or additions to the Program were added to the
27*8ccd4a63SDavid du Colombier    Program by such Contributor itself or anyone acting on such
28*8ccd4a63SDavid du Colombier    Contributor's behalf, and the Contributor explicitly consents, in
29*8ccd4a63SDavid du Colombier    accordance with Section 3C, to characterization of the changes and/or
30*8ccd4a63SDavid du Colombier    additions as Contributions.
31*8ccd4a63SDavid du Colombier
32*8ccd4a63SDavid du Colombier"Contributor" means LUCENT and any other entity that has Contributed a
33*8ccd4a63SDavid du ColombierContribution to the Program.
34*8ccd4a63SDavid du Colombier
35*8ccd4a63SDavid du Colombier"Distributor" means a Recipient that distributes the Program,
36*8ccd4a63SDavid du Colombiermodifications to the Program, or any part thereof.
37*8ccd4a63SDavid du Colombier
38*8ccd4a63SDavid du Colombier"Licensed Patents" mean patent claims licensable by a Contributor
39*8ccd4a63SDavid du Colombierwhich are necessarily infringed by the use or sale of its Contribution
40*8ccd4a63SDavid du Colombieralone or when combined with the Program.
41*8ccd4a63SDavid du Colombier
42*8ccd4a63SDavid du Colombier"Original Program" means the original version of the software
43*8ccd4a63SDavid du Colombieraccompanying this Agreement as released by LUCENT, including source
44*8ccd4a63SDavid du Colombiercode, object code and documentation, if any.
45*8ccd4a63SDavid du Colombier
46*8ccd4a63SDavid du Colombier"Program" means the Original Program and Contributions or any part
47*8ccd4a63SDavid du Colombierthereof
48*8ccd4a63SDavid du Colombier
49*8ccd4a63SDavid du Colombier"Recipient" means anyone who receives the Program under this
50*8ccd4a63SDavid du ColombierAgreement, including all Contributors.
51*8ccd4a63SDavid du Colombier
52*8ccd4a63SDavid du Colombier2. GRANT OF RIGHTS
53*8ccd4a63SDavid du Colombier
54*8ccd4a63SDavid du Colombier a. Subject to the terms of this Agreement, each Contributor hereby
55*8ccd4a63SDavid du Colombier    grants Recipient a non-exclusive, worldwide, royalty-free copyright
56*8ccd4a63SDavid du Colombier    license to reproduce, prepare derivative works of, publicly display,
57*8ccd4a63SDavid du Colombier    publicly perform, distribute and sublicense the Contribution of such
58*8ccd4a63SDavid du Colombier    Contributor, if any, and such derivative works, in source code and
59*8ccd4a63SDavid du Colombier    object code form.
60*8ccd4a63SDavid du Colombier
61*8ccd4a63SDavid du Colombier b. Subject to the terms of this Agreement, each Contributor hereby
62*8ccd4a63SDavid du Colombier    grants Recipient a non-exclusive, worldwide, royalty-free patent
63*8ccd4a63SDavid du Colombier    license under Licensed Patents to make, use, sell, offer to sell,
64*8ccd4a63SDavid du Colombier    import and otherwise transfer the Contribution of such Contributor, if
65*8ccd4a63SDavid du Colombier    any, in source code and object code form. The patent license granted
66*8ccd4a63SDavid du Colombier    by a Contributor shall also apply to the combination of the
67*8ccd4a63SDavid du Colombier    Contribution of that Contributor and the Program if, at the time the
68*8ccd4a63SDavid du Colombier    Contribution is added by the Contributor, such addition of the
69*8ccd4a63SDavid du Colombier    Contribution causes such combination to be covered by the Licensed
70*8ccd4a63SDavid du Colombier    Patents. The patent license granted by a Contributor shall not apply
71*8ccd4a63SDavid du Colombier    to (i) any other combinations which include the Contribution, nor to
72*8ccd4a63SDavid du Colombier    (ii) Contributions of other Contributors. No hardware per se is
73*8ccd4a63SDavid du Colombier    licensed hereunder.
74*8ccd4a63SDavid du Colombier
75*8ccd4a63SDavid du Colombier c. Recipient understands that although each Contributor grants the
76*8ccd4a63SDavid du Colombier    licenses to its Contributions set forth herein, no assurances are
77*8ccd4a63SDavid du Colombier    provided by any Contributor that the Program does not infringe the
78*8ccd4a63SDavid du Colombier    patent or other intellectual property rights of any other entity. Each
79*8ccd4a63SDavid du Colombier    Contributor disclaims any liability to Recipient for claims brought by
80*8ccd4a63SDavid du Colombier    any other entity based on infringement of intellectual property rights
81*8ccd4a63SDavid du Colombier    or otherwise. As a condition to exercising the rights and licenses
82*8ccd4a63SDavid du Colombier    granted hereunder, each Recipient hereby assumes sole responsibility
83*8ccd4a63SDavid du Colombier    to secure any other intellectual property rights needed, if any. For
84*8ccd4a63SDavid du Colombier    example, if a third party patent license is required to allow
85*8ccd4a63SDavid du Colombier    Recipient to distribute the Program, it is Recipient's responsibility
86*8ccd4a63SDavid du Colombier    to acquire that license before distributing the Program.
87*8ccd4a63SDavid du Colombier
88*8ccd4a63SDavid du Colombier d. Each Contributor represents that to its knowledge it has sufficient
89*8ccd4a63SDavid du Colombier    copyright rights in its Contribution, if any, to grant the copyright
90*8ccd4a63SDavid du Colombier    license set forth in this Agreement.
91*8ccd4a63SDavid du Colombier
92*8ccd4a63SDavid du Colombier3. REQUIREMENTS
93*8ccd4a63SDavid du Colombier
94*8ccd4a63SDavid du ColombierA. Distributor may choose to distribute the Program in any form under
95*8ccd4a63SDavid du Colombierthis Agreement or under its own license agreement, provided that:
96*8ccd4a63SDavid du Colombier
97*8ccd4a63SDavid du Colombier a. it complies with the terms and conditions of this Agreement;
98*8ccd4a63SDavid du Colombier
99*8ccd4a63SDavid du Colombier b. if the Program is distributed in source code or other tangible
100*8ccd4a63SDavid du Colombier    form, a copy of this Agreement or Distributor's own license agreement
101*8ccd4a63SDavid du Colombier    is included with each copy of the Program; and
102*8ccd4a63SDavid du Colombier
103*8ccd4a63SDavid du Colombier c. if distributed under Distributor's own license agreement, such
104*8ccd4a63SDavid du Colombier    license agreement:
105*8ccd4a63SDavid du Colombier
106*8ccd4a63SDavid du Colombier      i. effectively disclaims on behalf of all Contributors all warranties
107*8ccd4a63SDavid du Colombier         and conditions, express and implied, including warranties or
108*8ccd4a63SDavid du Colombier         conditions of title and non-infringement, and implied warranties or
109*8ccd4a63SDavid du Colombier         conditions of merchantability and fitness for a particular purpose;
110*8ccd4a63SDavid du Colombier     ii. effectively excludes on behalf of all Contributors all liability
111*8ccd4a63SDavid du Colombier         for damages, including direct, indirect, special, incidental and
112*8ccd4a63SDavid du Colombier         consequential damages, such as lost profits; and
113*8ccd4a63SDavid du Colombier    iii. states that any provisions which differ from this Agreement are
114*8ccd4a63SDavid du Colombier         offered by that Contributor alone and not by any other party.
115*8ccd4a63SDavid du Colombier
116*8ccd4a63SDavid du ColombierB. Each Distributor must include the following in a conspicuous
117*8ccd4a63SDavid du Colombier   location in the Program:
118*8ccd4a63SDavid du Colombier
119*8ccd4a63SDavid du Colombier   Copyright (C) 2003, Lucent Technologies Inc. and others. All Rights
120*8ccd4a63SDavid du Colombier   Reserved.
121*8ccd4a63SDavid du Colombier
122*8ccd4a63SDavid du ColombierC. In addition, each Contributor must identify itself as the
123*8ccd4a63SDavid du Colombieroriginator of its Contribution in a manner that reasonably allows
124*8ccd4a63SDavid du Colombiersubsequent Recipients to identify the originator of the Contribution.
125*8ccd4a63SDavid du ColombierAlso, each Contributor must agree that the additions and/or changes
126*8ccd4a63SDavid du Colombierare intended to be a Contribution. Once a Contribution is contributed,
127*8ccd4a63SDavid du Colombierit may not thereafter be revoked.
128*8ccd4a63SDavid du Colombier
129*8ccd4a63SDavid du Colombier4. COMMERCIAL DISTRIBUTION
130*8ccd4a63SDavid du Colombier
131*8ccd4a63SDavid du ColombierCommercial distributors of software may accept certain
132*8ccd4a63SDavid du Colombierresponsibilities with respect to end users, business partners and the
133*8ccd4a63SDavid du Colombierlike. While this license is intended to facilitate the commercial use
134*8ccd4a63SDavid du Colombierof the Program, the Distributor who includes the Program in a
135*8ccd4a63SDavid du Colombiercommercial product offering should do so in a manner which does not
136*8ccd4a63SDavid du Colombiercreate potential liability for Contributors. Therefore, if a
137*8ccd4a63SDavid du ColombierDistributor includes the Program in a commercial product offering,
138*8ccd4a63SDavid du Colombiersuch Distributor ("Commercial Distributor") hereby agrees to defend
139*8ccd4a63SDavid du Colombierand indemnify every Contributor ("Indemnified Contributor") against
140*8ccd4a63SDavid du Colombierany losses, damages and costs (collectively"Losses") arising from
141*8ccd4a63SDavid du Colombierclaims, lawsuits and other legal actions brought by a third party
142*8ccd4a63SDavid du Colombieragainst the Indemnified Contributor to the extent caused by the acts
143*8ccd4a63SDavid du Colombieror omissions of such Commercial Distributor in connection with its
144*8ccd4a63SDavid du Colombierdistribution of the Program in a commercial product offering. The
145*8ccd4a63SDavid du Colombierobligations in this section do not apply to any claims or Losses
146*8ccd4a63SDavid du Colombierrelating to any actual or alleged intellectual property infringement.
147*8ccd4a63SDavid du ColombierIn order to qualify, an Indemnified Contributor must: a) promptly
148*8ccd4a63SDavid du Colombiernotify the Commercial Distributor in writing of such claim, and b)
149*8ccd4a63SDavid du Colombierallow the Commercial Distributor to control, and cooperate with the
150*8ccd4a63SDavid du ColombierCommercial Distributor in, the defense and any related settlement
151*8ccd4a63SDavid du Colombiernegotiations. The Indemnified Contributor may participate in any such
152*8ccd4a63SDavid du Colombierclaim at its own expense.
153*8ccd4a63SDavid du Colombier
154*8ccd4a63SDavid du ColombierFor example, a Distributor might include the Program in a commercial
155*8ccd4a63SDavid du Colombierproduct offering, Product X. That Distributor is then a Commercial
156*8ccd4a63SDavid du ColombierDistributor. If that Commercial Distributor then makes performance
157*8ccd4a63SDavid du Colombierclaims, or offers warranties related to Product X, those performance
158*8ccd4a63SDavid du Colombierclaims and warranties are such Commercial Distributor's responsibility
159*8ccd4a63SDavid du Colombieralone. Under this section, the Commercial Distributor would have to
160*8ccd4a63SDavid du Colombierdefend claims against the Contributors related to those performance
161*8ccd4a63SDavid du Colombierclaims and warranties, and if a court requires any Contributor to pay
162*8ccd4a63SDavid du Colombierany damages as a result, the Commercial Distributor must pay those
163*8ccd4a63SDavid du Colombierdamages.
164*8ccd4a63SDavid du Colombier
165*8ccd4a63SDavid du Colombier5. NO WARRANTY
166*8ccd4a63SDavid du Colombier
167*8ccd4a63SDavid du ColombierEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
168*8ccd4a63SDavid du ColombierPROVIDED ON AN"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
169*8ccd4a63SDavid du ColombierKIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
170*8ccd4a63SDavid du ColombierWARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
171*8ccd4a63SDavid du ColombierOR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
172*8ccd4a63SDavid du Colombierresponsible for determining the appropriateness of using and
173*8ccd4a63SDavid du Colombierdistributing the Program and assumes all risks associated with its
174*8ccd4a63SDavid du Colombierexercise of rights under this Agreement, including but not limited to
175*8ccd4a63SDavid du Colombierthe risks and costs of program errors, compliance with applicable
176*8ccd4a63SDavid du Colombierlaws, damage to or loss of data, programs or equipment, and
177*8ccd4a63SDavid du Colombierunavailability or interruption of operations.
178*8ccd4a63SDavid du Colombier
179*8ccd4a63SDavid du Colombier6. DISCLAIMER OF LIABILITY
180*8ccd4a63SDavid du Colombier
181*8ccd4a63SDavid du ColombierEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
182*8ccd4a63SDavid du ColombierANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
183*8ccd4a63SDavid du ColombierINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
184*8ccd4a63SDavid du ColombierWITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
185*8ccd4a63SDavid du ColombierLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
186*8ccd4a63SDavid du ColombierNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
187*8ccd4a63SDavid du ColombierDISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
188*8ccd4a63SDavid du ColombierHEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
189*8ccd4a63SDavid du Colombier
190*8ccd4a63SDavid du Colombier7. EXPORT CONTROL
191*8ccd4a63SDavid du Colombier
192*8ccd4a63SDavid du ColombierRecipient agrees that Recipient alone is responsible for compliance
193*8ccd4a63SDavid du Colombierwith the United States export administration regulations (and the
194*8ccd4a63SDavid du Colombierexport control laws and regulation of any other countries).
195*8ccd4a63SDavid du Colombier
196*8ccd4a63SDavid du Colombier8. GENERAL
197*8ccd4a63SDavid du Colombier
198*8ccd4a63SDavid du ColombierIf any provision of this Agreement is invalid or unenforceable under
199*8ccd4a63SDavid du Colombierapplicable law, it shall not affect the validity or enforceability of
200*8ccd4a63SDavid du Colombierthe remainder of the terms of this Agreement, and without further
201*8ccd4a63SDavid du Colombieraction by the parties hereto, such provision shall be reformed to the
202*8ccd4a63SDavid du Colombierminimum extent necessary to make such provision valid and enforceable.
203*8ccd4a63SDavid du Colombier
204*8ccd4a63SDavid du ColombierIf Recipient institutes patent litigation against a Contributor with
205*8ccd4a63SDavid du Colombierrespect to a patent applicable to software (including a cross-claim or
206*8ccd4a63SDavid du Colombiercounterclaim in a lawsuit), then any patent licenses granted by that
207*8ccd4a63SDavid du ColombierContributor to such Recipient under this Agreement shall terminate as
208*8ccd4a63SDavid du Colombierof the date such litigation is filed. In addition, if Recipient
209*8ccd4a63SDavid du Colombierinstitutes patent litigation against any entity (including a
210*8ccd4a63SDavid du Colombiercross-claim or counterclaim in a lawsuit) alleging that the Program
211*8ccd4a63SDavid du Colombieritself (excluding combinations of the Program with other software or
212*8ccd4a63SDavid du Colombierhardware) infringes such Recipient's patent(s), then such Recipient's
213*8ccd4a63SDavid du Colombierrights granted under Section 2(b) shall terminate as of the date such
214*8ccd4a63SDavid du Colombierlitigation is filed.
215*8ccd4a63SDavid du Colombier
216*8ccd4a63SDavid du ColombierAll Recipient's rights under this Agreement shall terminate if it
217*8ccd4a63SDavid du Colombierfails to comply with any of the material terms or conditions of this
218*8ccd4a63SDavid du ColombierAgreement and does not cure such failure in a reasonable period of
219*8ccd4a63SDavid du Colombiertime after becoming aware of such noncompliance. If all Recipient's
220*8ccd4a63SDavid du Colombierrights under this Agreement terminate, Recipient agrees to cease use
221*8ccd4a63SDavid du Colombierand distribution of the Program as soon as reasonably practicable.
222*8ccd4a63SDavid du ColombierHowever, Recipient's obligations under this Agreement and any licenses
223*8ccd4a63SDavid du Colombiergranted by Recipient relating to the Program shall continue and
224*8ccd4a63SDavid du Colombiersurvive.
225*8ccd4a63SDavid du Colombier
226*8ccd4a63SDavid du ColombierLUCENT may publish new versions (including revisions) of this
227*8ccd4a63SDavid du ColombierAgreement from time to time. Each new version of the Agreement will be
228*8ccd4a63SDavid du Colombiergiven a distinguishing version number. The Program (including
229*8ccd4a63SDavid du ColombierContributions) may always be distributed subject to the version of the
230*8ccd4a63SDavid du ColombierAgreement under which it was received. In addition, after a new
231*8ccd4a63SDavid du Colombierversion of the Agreement is published, Contributor may elect to
232*8ccd4a63SDavid du Colombierdistribute the Program (including its Contributions) under the new
233*8ccd4a63SDavid du Colombierversion. No one other than LUCENT has the right to modify this
234*8ccd4a63SDavid du ColombierAgreement. Except as expressly stated in Sections 2(a) and 2(b) above,
235*8ccd4a63SDavid du ColombierRecipient receives no rights or licenses to the intellectual property
236*8ccd4a63SDavid du Colombierof any Contributor under this Agreement, whether expressly, by
237*8ccd4a63SDavid du Colombierimplication, estoppel or otherwise. All rights in the Program not
238*8ccd4a63SDavid du Colombierexpressly granted under this Agreement are reserved.
239*8ccd4a63SDavid du Colombier
240*8ccd4a63SDavid du ColombierThis Agreement is governed by the laws of the State of New York and
241*8ccd4a63SDavid du Colombierthe intellectual property laws of the United States of America. No
242*8ccd4a63SDavid du Colombierparty to this Agreement will bring a legal action under this Agreement
243*8ccd4a63SDavid du Colombiermore than one year after the cause of action arose. Each party waives
244*8ccd4a63SDavid du Colombierits rights to a jury trial in any resulting litigation.
245*8ccd4a63SDavid du Colombier
246