Blame


1 e6c837d6 2009-07-15 rsc Copyright © 2000-2009 Lucent Technologies. All Rights Reserved.
2 e6c837d6 2009-07-15 rsc Portions Copyright © 2001-2008 Russ Cox
3 e6c837d6 2009-07-15 rsc Portions Copyright © 2008-2009 Google Inc.
4 e6c837d6 2009-07-15 rsc
5 e6c837d6 2009-07-15 rsc ===================================================================
6 e6c837d6 2009-07-15 rsc
7 00b80edb 2003-10-11 devnull The bulk of this software is derived from Plan 9 and is thus distributed
8 00b80edb 2003-10-11 devnull under the Lucent Public License, Version 1.02, reproduced below.
9 00b80edb 2003-10-11 devnull
10 00b80edb 2003-10-11 devnull There are a few exceptions: libutf, libfmt, and libregexp are distributed
11 a3c5df57 2003-10-11 devnull under simpler BSD-like boilerplates. See the LICENSE files in those
12 d51419bf 2004-02-09 devnull directories. There are other exceptions, also marked with LICENSE files
13 e96abc03 2009-08-15 rsc in their directories or marked at the top of the file.
14 00b80edb 2003-10-11 devnull
15 17157e4a 2006-03-20 devnull The bitmap fonts in the font/luc, font/lucm, font/lucsans, and font/pelm
16 17157e4a 2006-03-20 devnull directory are copyright B&H Inc. and distributed under more restricted
17 17157e4a 2006-03-20 devnull terms under agreement with B&H. See the NOTICE file in those directories.
18 00b80edb 2003-10-11 devnull
19 00b80edb 2003-10-11 devnull ===================================================================
20 00b80edb 2003-10-11 devnull
21 00b80edb 2003-10-11 devnull Lucent Public License Version 1.02
22 00b80edb 2003-10-11 devnull
23 00b80edb 2003-10-11 devnull THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS PUBLIC
24 00b80edb 2003-10-11 devnull LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
25 00b80edb 2003-10-11 devnull PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
26 00b80edb 2003-10-11 devnull
27 00b80edb 2003-10-11 devnull 1. DEFINITIONS
28 00b80edb 2003-10-11 devnull
29 00b80edb 2003-10-11 devnull "Contribution" means:
30 00b80edb 2003-10-11 devnull
31 00b80edb 2003-10-11 devnull a. in the case of Lucent Technologies Inc. ("LUCENT"), the Original
32 00b80edb 2003-10-11 devnull Program, and
33 00b80edb 2003-10-11 devnull b. in the case of each Contributor,
34 00b80edb 2003-10-11 devnull
35 00b80edb 2003-10-11 devnull i. changes to the Program, and
36 00b80edb 2003-10-11 devnull ii. additions to the Program;
37 00b80edb 2003-10-11 devnull
38 00b80edb 2003-10-11 devnull where such changes and/or additions to the Program were added to the
39 00b80edb 2003-10-11 devnull Program by such Contributor itself or anyone acting on such
40 00b80edb 2003-10-11 devnull Contributor's behalf, and the Contributor explicitly consents, in
41 00b80edb 2003-10-11 devnull accordance with Section 3C, to characterization of the changes and/or
42 00b80edb 2003-10-11 devnull additions as Contributions.
43 00b80edb 2003-10-11 devnull
44 00b80edb 2003-10-11 devnull "Contributor" means LUCENT and any other entity that has Contributed a
45 00b80edb 2003-10-11 devnull Contribution to the Program.
46 00b80edb 2003-10-11 devnull
47 00b80edb 2003-10-11 devnull "Distributor" means a Recipient that distributes the Program,
48 00b80edb 2003-10-11 devnull modifications to the Program, or any part thereof.
49 00b80edb 2003-10-11 devnull
50 00b80edb 2003-10-11 devnull "Licensed Patents" mean patent claims licensable by a Contributor
51 00b80edb 2003-10-11 devnull which are necessarily infringed by the use or sale of its Contribution
52 00b80edb 2003-10-11 devnull alone or when combined with the Program.
53 00b80edb 2003-10-11 devnull
54 00b80edb 2003-10-11 devnull "Original Program" means the original version of the software
55 00b80edb 2003-10-11 devnull accompanying this Agreement as released by LUCENT, including source
56 00b80edb 2003-10-11 devnull code, object code and documentation, if any.
57 00b80edb 2003-10-11 devnull
58 00b80edb 2003-10-11 devnull "Program" means the Original Program and Contributions or any part
59 00b80edb 2003-10-11 devnull thereof
60 00b80edb 2003-10-11 devnull
61 00b80edb 2003-10-11 devnull "Recipient" means anyone who receives the Program under this
62 00b80edb 2003-10-11 devnull Agreement, including all Contributors.
63 00b80edb 2003-10-11 devnull
64 00b80edb 2003-10-11 devnull 2. GRANT OF RIGHTS
65 00b80edb 2003-10-11 devnull
66 00b80edb 2003-10-11 devnull a. Subject to the terms of this Agreement, each Contributor hereby
67 00b80edb 2003-10-11 devnull grants Recipient a non-exclusive, worldwide, royalty-free copyright
68 00b80edb 2003-10-11 devnull license to reproduce, prepare derivative works of, publicly display,
69 00b80edb 2003-10-11 devnull publicly perform, distribute and sublicense the Contribution of such
70 00b80edb 2003-10-11 devnull Contributor, if any, and such derivative works, in source code and
71 00b80edb 2003-10-11 devnull object code form.
72 00b80edb 2003-10-11 devnull
73 00b80edb 2003-10-11 devnull b. Subject to the terms of this Agreement, each Contributor hereby
74 00b80edb 2003-10-11 devnull grants Recipient a non-exclusive, worldwide, royalty-free patent
75 00b80edb 2003-10-11 devnull license under Licensed Patents to make, use, sell, offer to sell,
76 00b80edb 2003-10-11 devnull import and otherwise transfer the Contribution of such Contributor, if
77 00b80edb 2003-10-11 devnull any, in source code and object code form. The patent license granted
78 00b80edb 2003-10-11 devnull by a Contributor shall also apply to the combination of the
79 00b80edb 2003-10-11 devnull Contribution of that Contributor and the Program if, at the time the
80 00b80edb 2003-10-11 devnull Contribution is added by the Contributor, such addition of the
81 00b80edb 2003-10-11 devnull Contribution causes such combination to be covered by the Licensed
82 00b80edb 2003-10-11 devnull Patents. The patent license granted by a Contributor shall not apply
83 00b80edb 2003-10-11 devnull to (i) any other combinations which include the Contribution, nor to
84 00b80edb 2003-10-11 devnull (ii) Contributions of other Contributors. No hardware per se is
85 00b80edb 2003-10-11 devnull licensed hereunder.
86 00b80edb 2003-10-11 devnull
87 00b80edb 2003-10-11 devnull c. Recipient understands that although each Contributor grants the
88 00b80edb 2003-10-11 devnull licenses to its Contributions set forth herein, no assurances are
89 00b80edb 2003-10-11 devnull provided by any Contributor that the Program does not infringe the
90 00b80edb 2003-10-11 devnull patent or other intellectual property rights of any other entity. Each
91 00b80edb 2003-10-11 devnull Contributor disclaims any liability to Recipient for claims brought by
92 00b80edb 2003-10-11 devnull any other entity based on infringement of intellectual property rights
93 00b80edb 2003-10-11 devnull or otherwise. As a condition to exercising the rights and licenses
94 00b80edb 2003-10-11 devnull granted hereunder, each Recipient hereby assumes sole responsibility
95 00b80edb 2003-10-11 devnull to secure any other intellectual property rights needed, if any. For
96 00b80edb 2003-10-11 devnull example, if a third party patent license is required to allow
97 00b80edb 2003-10-11 devnull Recipient to distribute the Program, it is Recipient's responsibility
98 00b80edb 2003-10-11 devnull to acquire that license before distributing the Program.
99 00b80edb 2003-10-11 devnull
100 00b80edb 2003-10-11 devnull d. Each Contributor represents that to its knowledge it has sufficient
101 00b80edb 2003-10-11 devnull copyright rights in its Contribution, if any, to grant the copyright
102 00b80edb 2003-10-11 devnull license set forth in this Agreement.
103 00b80edb 2003-10-11 devnull
104 00b80edb 2003-10-11 devnull 3. REQUIREMENTS
105 00b80edb 2003-10-11 devnull
106 00b80edb 2003-10-11 devnull A. Distributor may choose to distribute the Program in any form under
107 00b80edb 2003-10-11 devnull this Agreement or under its own license agreement, provided that:
108 00b80edb 2003-10-11 devnull
109 00b80edb 2003-10-11 devnull a. it complies with the terms and conditions of this Agreement;
110 00b80edb 2003-10-11 devnull
111 00b80edb 2003-10-11 devnull b. if the Program is distributed in source code or other tangible
112 00b80edb 2003-10-11 devnull form, a copy of this Agreement or Distributor's own license agreement
113 00b80edb 2003-10-11 devnull is included with each copy of the Program; and
114 00b80edb 2003-10-11 devnull
115 00b80edb 2003-10-11 devnull c. if distributed under Distributor's own license agreement, such
116 00b80edb 2003-10-11 devnull license agreement:
117 00b80edb 2003-10-11 devnull
118 00b80edb 2003-10-11 devnull i. effectively disclaims on behalf of all Contributors all warranties
119 00b80edb 2003-10-11 devnull and conditions, express and implied, including warranties or
120 00b80edb 2003-10-11 devnull conditions of title and non-infringement, and implied warranties or
121 00b80edb 2003-10-11 devnull conditions of merchantability and fitness for a particular purpose;
122 00b80edb 2003-10-11 devnull ii. effectively excludes on behalf of all Contributors all liability
123 00b80edb 2003-10-11 devnull for damages, including direct, indirect, special, incidental and
124 00b80edb 2003-10-11 devnull consequential damages, such as lost profits; and
125 00b80edb 2003-10-11 devnull iii. states that any provisions which differ from this Agreement are
126 00b80edb 2003-10-11 devnull offered by that Contributor alone and not by any other party.
127 00b80edb 2003-10-11 devnull
128 00b80edb 2003-10-11 devnull B. Each Distributor must include the following in a conspicuous
129 00b80edb 2003-10-11 devnull location in the Program:
130 00b80edb 2003-10-11 devnull
131 00b80edb 2003-10-11 devnull Copyright (C) 2003, Lucent Technologies Inc. and others. All Rights
132 00b80edb 2003-10-11 devnull Reserved.
133 00b80edb 2003-10-11 devnull
134 00b80edb 2003-10-11 devnull C. In addition, each Contributor must identify itself as the
135 00b80edb 2003-10-11 devnull originator of its Contribution in a manner that reasonably allows
136 00b80edb 2003-10-11 devnull subsequent Recipients to identify the originator of the Contribution.
137 00b80edb 2003-10-11 devnull Also, each Contributor must agree that the additions and/or changes
138 00b80edb 2003-10-11 devnull are intended to be a Contribution. Once a Contribution is contributed,
139 00b80edb 2003-10-11 devnull it may not thereafter be revoked.
140 00b80edb 2003-10-11 devnull
141 00b80edb 2003-10-11 devnull 4. COMMERCIAL DISTRIBUTION
142 00b80edb 2003-10-11 devnull
143 00b80edb 2003-10-11 devnull Commercial distributors of software may accept certain
144 00b80edb 2003-10-11 devnull responsibilities with respect to end users, business partners and the
145 00b80edb 2003-10-11 devnull like. While this license is intended to facilitate the commercial use
146 00b80edb 2003-10-11 devnull of the Program, the Distributor who includes the Program in a
147 00b80edb 2003-10-11 devnull commercial product offering should do so in a manner which does not
148 00b80edb 2003-10-11 devnull create potential liability for Contributors. Therefore, if a
149 00b80edb 2003-10-11 devnull Distributor includes the Program in a commercial product offering,
150 00b80edb 2003-10-11 devnull such Distributor ("Commercial Distributor") hereby agrees to defend
151 00b80edb 2003-10-11 devnull and indemnify every Contributor ("Indemnified Contributor") against
152 00b80edb 2003-10-11 devnull any losses, damages and costs (collectively"Losses") arising from
153 00b80edb 2003-10-11 devnull claims, lawsuits and other legal actions brought by a third party
154 00b80edb 2003-10-11 devnull against the Indemnified Contributor to the extent caused by the acts
155 00b80edb 2003-10-11 devnull or omissions of such Commercial Distributor in connection with its
156 00b80edb 2003-10-11 devnull distribution of the Program in a commercial product offering. The
157 00b80edb 2003-10-11 devnull obligations in this section do not apply to any claims or Losses
158 00b80edb 2003-10-11 devnull relating to any actual or alleged intellectual property infringement.
159 00b80edb 2003-10-11 devnull In order to qualify, an Indemnified Contributor must: a) promptly
160 00b80edb 2003-10-11 devnull notify the Commercial Distributor in writing of such claim, and b)
161 00b80edb 2003-10-11 devnull allow the Commercial Distributor to control, and cooperate with the
162 00b80edb 2003-10-11 devnull Commercial Distributor in, the defense and any related settlement
163 00b80edb 2003-10-11 devnull negotiations. The Indemnified Contributor may participate in any such
164 00b80edb 2003-10-11 devnull claim at its own expense.
165 00b80edb 2003-10-11 devnull
166 00b80edb 2003-10-11 devnull For example, a Distributor might include the Program in a commercial
167 00b80edb 2003-10-11 devnull product offering, Product X. That Distributor is then a Commercial
168 00b80edb 2003-10-11 devnull Distributor. If that Commercial Distributor then makes performance
169 00b80edb 2003-10-11 devnull claims, or offers warranties related to Product X, those performance
170 00b80edb 2003-10-11 devnull claims and warranties are such Commercial Distributor's responsibility
171 00b80edb 2003-10-11 devnull alone. Under this section, the Commercial Distributor would have to
172 00b80edb 2003-10-11 devnull defend claims against the Contributors related to those performance
173 00b80edb 2003-10-11 devnull claims and warranties, and if a court requires any Contributor to pay
174 00b80edb 2003-10-11 devnull any damages as a result, the Commercial Distributor must pay those
175 00b80edb 2003-10-11 devnull damages.
176 00b80edb 2003-10-11 devnull
177 00b80edb 2003-10-11 devnull 5. NO WARRANTY
178 00b80edb 2003-10-11 devnull
179 00b80edb 2003-10-11 devnull EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
180 00b80edb 2003-10-11 devnull PROVIDED ON AN"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
181 00b80edb 2003-10-11 devnull KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
182 00b80edb 2003-10-11 devnull WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
183 00b80edb 2003-10-11 devnull OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
184 00b80edb 2003-10-11 devnull responsible for determining the appropriateness of using and
185 00b80edb 2003-10-11 devnull distributing the Program and assumes all risks associated with its
186 00b80edb 2003-10-11 devnull exercise of rights under this Agreement, including but not limited to
187 00b80edb 2003-10-11 devnull the risks and costs of program errors, compliance with applicable
188 00b80edb 2003-10-11 devnull laws, damage to or loss of data, programs or equipment, and
189 00b80edb 2003-10-11 devnull unavailability or interruption of operations.
190 00b80edb 2003-10-11 devnull
191 00b80edb 2003-10-11 devnull 6. DISCLAIMER OF LIABILITY
192 00b80edb 2003-10-11 devnull
193 00b80edb 2003-10-11 devnull EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
194 00b80edb 2003-10-11 devnull ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
195 00b80edb 2003-10-11 devnull INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
196 00b80edb 2003-10-11 devnull WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
197 00b80edb 2003-10-11 devnull LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
198 00b80edb 2003-10-11 devnull NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
199 00b80edb 2003-10-11 devnull DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
200 00b80edb 2003-10-11 devnull HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
201 00b80edb 2003-10-11 devnull
202 00b80edb 2003-10-11 devnull 7. EXPORT CONTROL
203 00b80edb 2003-10-11 devnull
204 00b80edb 2003-10-11 devnull Recipient agrees that Recipient alone is responsible for compliance
205 00b80edb 2003-10-11 devnull with the United States export administration regulations (and the
206 00b80edb 2003-10-11 devnull export control laws and regulation of any other countries).
207 00b80edb 2003-10-11 devnull
208 00b80edb 2003-10-11 devnull 8. GENERAL
209 00b80edb 2003-10-11 devnull
210 00b80edb 2003-10-11 devnull If any provision of this Agreement is invalid or unenforceable under
211 00b80edb 2003-10-11 devnull applicable law, it shall not affect the validity or enforceability of
212 00b80edb 2003-10-11 devnull the remainder of the terms of this Agreement, and without further
213 00b80edb 2003-10-11 devnull action by the parties hereto, such provision shall be reformed to the
214 00b80edb 2003-10-11 devnull minimum extent necessary to make such provision valid and enforceable.
215 00b80edb 2003-10-11 devnull
216 00b80edb 2003-10-11 devnull If Recipient institutes patent litigation against a Contributor with
217 00b80edb 2003-10-11 devnull respect to a patent applicable to software (including a cross-claim or
218 00b80edb 2003-10-11 devnull counterclaim in a lawsuit), then any patent licenses granted by that
219 00b80edb 2003-10-11 devnull Contributor to such Recipient under this Agreement shall terminate as
220 00b80edb 2003-10-11 devnull of the date such litigation is filed. In addition, if Recipient
221 00b80edb 2003-10-11 devnull institutes patent litigation against any entity (including a
222 00b80edb 2003-10-11 devnull cross-claim or counterclaim in a lawsuit) alleging that the Program
223 00b80edb 2003-10-11 devnull itself (excluding combinations of the Program with other software or
224 00b80edb 2003-10-11 devnull hardware) infringes such Recipient's patent(s), then such Recipient's
225 00b80edb 2003-10-11 devnull rights granted under Section 2(b) shall terminate as of the date such
226 00b80edb 2003-10-11 devnull litigation is filed.
227 00b80edb 2003-10-11 devnull
228 00b80edb 2003-10-11 devnull All Recipient's rights under this Agreement shall terminate if it
229 00b80edb 2003-10-11 devnull fails to comply with any of the material terms or conditions of this
230 00b80edb 2003-10-11 devnull Agreement and does not cure such failure in a reasonable period of
231 00b80edb 2003-10-11 devnull time after becoming aware of such noncompliance. If all Recipient's
232 00b80edb 2003-10-11 devnull rights under this Agreement terminate, Recipient agrees to cease use
233 00b80edb 2003-10-11 devnull and distribution of the Program as soon as reasonably practicable.
234 00b80edb 2003-10-11 devnull However, Recipient's obligations under this Agreement and any licenses
235 00b80edb 2003-10-11 devnull granted by Recipient relating to the Program shall continue and
236 00b80edb 2003-10-11 devnull survive.
237 00b80edb 2003-10-11 devnull
238 00b80edb 2003-10-11 devnull LUCENT may publish new versions (including revisions) of this
239 00b80edb 2003-10-11 devnull Agreement from time to time. Each new version of the Agreement will be
240 00b80edb 2003-10-11 devnull given a distinguishing version number. The Program (including
241 00b80edb 2003-10-11 devnull Contributions) may always be distributed subject to the version of the
242 00b80edb 2003-10-11 devnull Agreement under which it was received. In addition, after a new
243 00b80edb 2003-10-11 devnull version of the Agreement is published, Contributor may elect to
244 00b80edb 2003-10-11 devnull distribute the Program (including its Contributions) under the new
245 00b80edb 2003-10-11 devnull version. No one other than LUCENT has the right to modify this
246 00b80edb 2003-10-11 devnull Agreement. Except as expressly stated in Sections 2(a) and 2(b) above,
247 00b80edb 2003-10-11 devnull Recipient receives no rights or licenses to the intellectual property
248 00b80edb 2003-10-11 devnull of any Contributor under this Agreement, whether expressly, by
249 00b80edb 2003-10-11 devnull implication, estoppel or otherwise. All rights in the Program not
250 00b80edb 2003-10-11 devnull expressly granted under this Agreement are reserved.
251 00b80edb 2003-10-11 devnull
252 00b80edb 2003-10-11 devnull This Agreement is governed by the laws of the State of New York and
253 00b80edb 2003-10-11 devnull the intellectual property laws of the United States of America. No
254 00b80edb 2003-10-11 devnull party to this Agreement will bring a legal action under this Agreement
255 00b80edb 2003-10-11 devnull more than one year after the cause of action arose. Each party waives
256 00b80edb 2003-10-11 devnull its rights to a jury trial in any resulting litigation.
257 00b80edb 2003-10-11 devnull