xterm.log.html revision e0a2b6df
1<!--
2 *****************************************************************************
3 * this file is part of xterm                                                *
4 *                                                                           *
5 * Copyright 1997-2013,2014 by Thomas E. Dickey                              *
6 *                                                                           *
7 * All Rights Reserved                                                       *
8 *                                                                           *
9 * Permission is hereby granted, free of charge, to any person obtaining a   *
10 * copy of this software and associated documentation files (the             *
11 * "Software"), to deal in the Software without restriction, including       *
12 * without limitation the rights to use, copy, modify, merge, publish,       *
13 * distribute, sublicense, and/or sell copies of the Software, and to        *
14 * permit persons to whom the Software is furnished to do so, subject to     *
15 * the following conditions:                                                 *
16 *                                                                           *
17 * The above copyright notice and this permission notice shall be included   *
18 * in all copies or substantial portions of the Software.                    *
19 *                                                                           *
20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS   *
21 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF                *
22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.    *
23 * IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY  *
24 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,      *
25 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE         *
26 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                    *
27 *                                                                           *
28 * Except as contained in this notice, the name(s) of the above copyright    *
29 * holders shall not be used in advertising or otherwise to promote the      *
30 * sale, use or other dealings in this Software without prior written        *
31 * authorization.                                                            *
32 *****************************************************************************
33  $XTermId: xterm.log.html,v 1.1443 2014/03/07 02:47:00 tom Exp $
34  -->
35<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
36
37<html>
38<head>
39  <meta name="generator" content=
40  "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
41
42  <title>XTERM - Change Log</title>
43  <link rev="MADE" href="mailto:dickey@invisible-island.net">
44  <meta http-equiv="Content-Type" content=
45  "text/html; charset=us-ascii">
46  <meta name="keywords" content="xterm, change log">
47  <meta name="description" content=
48  "This is the xterm change-log, distributed with xterm, with items listed by patch-number and date">
49  <link rel="SHORTCUT ICON" href="/img/icons/xterm.ico" type=
50  "image/x-icon">
51</head>
52
53<body>
54  <hr>
55
56  <p>Copyright &copy; 1997-2013,2014 by <a href=
57  "mailto:dickey@invisible-island.net">Thomas E. Dickey</a></p>
58  <hr>
59
60  <h1>Contents</h1>
61
62  <p><a href=
63  "http://invisible-island.net/xterm/xterm.log.html">Here</a> is
64  the latest version of this file.</p>
65
66  <p>It began as a list of the changes that I made for xterm, using
67  the notes that I added when submitting a patch. You should note
68  that other changes were made as well, by other people, to fix
69  bugs and correct ifdef's for portability. Until mid-2006, most of
70  these were summarized in the XFree86 <a href=
71  "http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/CHANGELOG">
72  CHANGELOG</a>).</p>
73
74  <ul>
75    <li><a href="#xterm_303">Patch #303 - 2014/03/06</a></li>
76
77    <li><a href="#xterm_302">Patch #302 - 2014/03/02</a></li>
78
79    <li><a href="#xterm_301">Patch #301 - 2014/01/19</a></li>
80
81    <li><a href="#xterm_300">Patch #300 - 2013/12/03</a></li>
82
83    <li><a href="#xterm_299">Patch #299 - 2013/12/01</a></li>
84
85    <li><a href="#xterm_298">Patch #298 - 2013/11/27</a></li>
86
87    <li><a href="#xterm_297">Patch #297 - 2013/09/10</a></li>
88
89    <li><a href="#xterm_296">Patch #296 - 2013/07/10</a></li>
90
91    <li><a href="#xterm_295">Patch #295 - 2013/07/06</a></li>
92
93    <li><a href="#xterm_294">Patch #294 - 2013/07/05</a></li>
94
95    <li><a href="#xterm_293">Patch #293 - 2013/05/27</a></li>
96
97    <li><a href="#xterm_292">Patch #292 - 2013/04/25</a></li>
98
99    <li><a href="#xterm_291">Patch #291 - 2013/02/26</a></li>
100
101    <li><a href="#xterm_290">Patch #290 - 2013/02/12</a></li>
102
103    <li><a href="#xterm_289">Patch #289 - 2013/02/08</a></li>
104
105    <li><a href="#xterm_288">Patch #288 - 2013/01/09</a></li>
106
107    <li><a href="#xterm_287">Patch #287 - 2012/11/25</a></li>
108
109    <li><a href="#xterm_286">Patch #286 - 2012/10/29</a></li>
110
111    <li><a href="#xterm_285">Patch #285 - 2012/10/23</a></li>
112
113    <li><a href="#xterm_284">Patch #284 - 2012/10/14</a></li>
114
115    <li><a href="#xterm_283">Patch #283 - 2012/10/09</a></li>
116
117    <li><a href="#xterm_282">Patch #282 - 2012/09/28</a></li>
118
119    <li><a href="#xterm_281">Patch #281 - 2012/06/26</a></li>
120
121    <li><a href="#xterm_280">Patch #280 - 2012/06/24</a></li>
122
123    <li><a href="#xterm_279">Patch #279 - 2012/05/10</a></li>
124
125    <li><a href="#xterm_278">Patch #278 - 2012/01/18</a></li>
126
127    <li><a href="#xterm_277">Patch #277 - 2012/01/07</a></li>
128
129    <li><a href="#xterm_276">Patch #276 - 2011/10/10</a></li>
130
131    <li><a href="#xterm_275">Patch #275 - 2011/09/11</a></li>
132
133    <li><a href="#xterm_274">Patch #274 - 2011/09/05</a></li>
134
135    <li><a href="#xterm_273">Patch #273 - 2011/08/25</a></li>
136
137    <li><a href="#xterm_272">Patch #272 - 2011/08/24</a></li>
138
139    <li><a href="#xterm_271">Patch #271 - 2011/07/14</a></li>
140
141    <li><a href="#xterm_270">Patch #270 - 2011/04/26</a></li>
142
143    <li><a href="#xterm_269">Patch #269 - 2011/02/19</a></li>
144
145    <li><a href="#xterm_268">Patch #268 - 2011/02/10</a></li>
146
147    <li><a href="#xterm_267">Patch #267 - 2010/11/20</a></li>
148
149    <li><a href="#xterm_266">Patch #266 - 2010/10/24</a></li>
150
151    <li><a href="#xterm_265">Patch #265 - 2010/10/22</a></li>
152
153    <li><a href="#xterm_264">Patch #264 - 2010/10/14</a></li>
154
155    <li><a href="#xterm_263">Patch #263 - 2010/10/13</a></li>
156
157    <li><a href="#xterm_262">Patch #262 - 2010/8/30</a></li>
158
159    <li><a href="#xterm_261">Patch #261 - 2010/6/28</a></li>
160
161    <li><a href="#xterm_260">Patch #260 - 2010/6/20</a></li>
162
163    <li><a href="#xterm_259">Patch #259 - 2010/6/5</a></li>
164
165    <li><a href="#xterm_258">Patch #258 - 2010/5/1</a></li>
166
167    <li><a href="#xterm_257">Patch #257 - 2010/4/22</a></li>
168
169    <li><a href="#xterm_256">Patch #256 - 2010/3/6</a></li>
170
171    <li><a href="#xterm_255">Patch #255 - 2010/1/21</a></li>
172
173    <li><a href="#xterm_254">Patch #254 - 2010/1/6</a></li>
174
175    <li><a href="#xterm_253">Patch #253 - 2009/12/10</a></li>
176
177    <li><a href="#xterm_252">Patch #252 - 2009/12/7</a></li>
178
179    <li><a href="#xterm_251">Patch #251 - 2009/11/11</a></li>
180
181    <li><a href="#xterm_250">Patch #250 - 2009/10/13</a></li>
182
183    <li><a href="#xterm_249">Patch #249 - 2009/10/1</a></li>
184
185    <li><a href="#xterm_248">Patch #248 - 2009/9/11</a></li>
186
187    <li><a href="#xterm_247">Patch #247 - 2009/8/30</a></li>
188
189    <li><a href="#xterm_246">Patch #246 - 2009/8/16</a></li>
190
191    <li><a href="#xterm_245">Patch #245 - 2009/8/12</a></li>
192
193    <li><a href="#xterm_244">Patch #244 - 2009/8/9</a></li>
194
195    <li><a href="#xterm_243">Patch #243 - 2009/3/28</a></li>
196
197    <li><a href="#xterm_242">Patch #242 - 2009/2/15</a></li>
198
199    <li><a href="#xterm_241">Patch #241 - 2009/1/26</a></li>
200
201    <li><a href="#xterm_240">Patch #240 - 2009/1/25</a></li>
202
203    <li><a href="#xterm_239">Patch #239 - 2009/1/8</a></li>
204
205    <li><a href="#xterm_238">Patch #238 - 2008/12/30</a></li>
206
207    <li><a href="#xterm_237">Patch #237 - 2008/09/14</a></li>
208
209    <li><a href="#xterm_236">Patch #236 - 2008/07/27</a></li>
210
211    <li><a href="#xterm_235">Patch #235 - 2008/04/20</a></li>
212
213    <li><a href="#xterm_234">Patch #234 - 2008/03/02</a></li>
214
215    <li><a href="#xterm_233">Patch #233 - 2008/02/24</a></li>
216
217    <li><a href="#xterm_232">Patch #232 - 2008/01/30</a></li>
218
219    <li><a href="#xterm_231">Patch #231 - 2008/01/05</a></li>
220
221    <li><a href="#xterm_230">Patch #230 - 2007/12/31</a></li>
222
223    <li><a href="#xterm_229">Patch #229 - 2007/8/12</a></li>
224
225    <li><a href="#xterm_228">Patch #228 - 2007/7/22</a></li>
226
227    <li><a href="#xterm_227">Patch #227 - 2007/6/27</a></li>
228
229    <li><a href="#xterm_226">Patch #226 - 2007/6/17</a></li>
230
231    <li><a href="#xterm_225">Patch #225 - 2007/3/24</a></li>
232
233    <li><a href="#xterm_224">Patch #224 - 2007/2/11</a></li>
234
235    <li><a href="#xterm_223">Patch #223 - 2006/11/30</a></li>
236
237    <li><a href="#xterm_222">Patch #222 - 2006/10/17</a></li>
238
239    <li><a href="#xterm_221">Patch #221 - 2006/10/1</a></li>
240
241    <li><a href="#xterm_220">Patch #220 - 2006/9/10</a></li>
242
243    <li><a href="#xterm_219">Patch #219 - 2006/9/4</a></li>
244
245    <li><a href="#xterm_218">Patch #218 - 2006/8/27</a></li>
246
247    <li><a href="#xterm_217">Patch #217 - 2006/8/20</a></li>
248
249    <li><a href="#xterm_216">Patch #216 - 2006/8/3</a></li>
250
251    <li><a href="#xterm_215">Patch #215 - 2006/6/19 - XFree86
252    4.6.99.2</a></li>
253
254    <li><a href="#xterm_214">Patch #214 - 2006/6/18 - XFree86
255    4.6.99.2</a></li>
256
257    <li><a href="#xterm_213">Patch #213 - 2006/4/30 - XFree86
258    4.5.99.905</a></li>
259
260    <li><a href="#xterm_212">Patch #212 - 2006/4/9 - XFree86
261    4.5.99.904</a></li>
262
263    <li><a href="#xterm_211">Patch #211 - 2006/3/19 - XFree86
264    4.5.99.902</a></li>
265
266    <li><a href="#xterm_210">Patch #210 - 2006/3/12 - XFree86
267    4.5.99.902</a></li>
268
269    <li><a href="#xterm_209">Patch #209 - 2006/2/12 - XFree86
270    4.5.99.22</a></li>
271
272    <li><a href="#xterm_208">Patch #208 - 2006/1/3 - XFree86
273    4.5.99.19</a></li>
274
275    <li><a href="#xterm_207">Patch #207 - 2005/11/13 - XFree86
276    4.5.99.16</a></li>
277
278    <li><a href="#xterm_206">Patch #206 - 2005/11/3 - XFree86
279    4.5.99.15</a></li>
280
281    <li><a href="#xterm_205">Patch #205 - 2005/9/18 - XFree86
282    4.5.99.12</a></li>
283
284    <li><a href="#xterm_204">Patch #204 - 2005/8/4 - XFree86
285    4.5.99.9</a></li>
286
287    <li><a href="#xterm_203">Patch #203 - 2005/7/6 - XFree86
288    4.5.99.7</a></li>
289
290    <li><a href="#xterm_202">Patch #202 - 2005/5/2 - XFree86
291    4.5.99.3</a></li>
292
293    <li><a href="#xterm_201">Patch #201 - 2005/4/21 - XFree86
294    4.5.99.2</a></li>
295
296    <li><a href="#xterm_200">Patch #200 - 2005/2/6 - XFree86
297    4.4.99.23</a></li>
298
299    <li><a href="#xterm_199">Patch #199 - 2005/1/17 - XFree86
300    4.4.99.22</a></li>
301
302    <li><a href="#xterm_198">Patch #198 - 2005/1/13 - XFree86
303    4.4.99.21</a></li>
304
305    <li><a href="#xterm_197">Patch #197 - 2004/11/30 - XFree86
306    4.4.99.19</a></li>
307
308    <li><a href="#xterm_196">Patch #196 - 2004/8/15 - XFree86
309    4.4.99.12</a></li>
310
311    <li><a href="#xterm_195">Patch #195 - 2004/8/8 - XFree86
312    4.4.99.11</a></li>
313
314    <li><a href="#xterm_194">Patch #194 - 2004/7/27 - XFree86
315    4.4.99.11</a></li>
316
317    <li><a href="#xterm_193">Patch #193 - 2004/7/19 - XFree86
318    4.4.99.10</a></li>
319
320    <li><a href="#xterm_192">Patch #192 - 2004/7/12 - XFree86
321    4.4.99.9</a></li>
322
323    <li><a href="#xterm_191">Patch #191 - 2004/6/6 - XFree86
324    4.4.99.7</a></li>
325
326    <li><a href="#xterm_190">Patch #190 - 2004/5/25 - XFree86
327    4.4.99.6</a></li>
328
329    <li><a href="#xterm_189">Patch #189 - 2004/5/16 - XFree86
330    4.4.99.6</a></li>
331
332    <li><a href="#xterm_188">Patch #188 - 2004/5/12 - XFree86
333    4.4.99.6</a></li>
334
335    <li><a href="#xterm_187">Patch #187 - 2004/4/27 - XFree86
336    4.4.99.4</a></li>
337
338    <li><a href="#xterm_186">Patch #186 - 2004/4/18 - XFree86
339    4.4.99.4</a></li>
340
341    <li><a href="#xterm_185">Patch #185 - 2004/3/3 - XFree86
342    4.4</a></li>
343
344    <li><a href="#xterm_184">Patch #184 - 2003/12/31 - XFree86
345    4.3.99.903</a></li>
346
347    <li><a href="#xterm_183">Patch #183 - 2003/12/26 - XFree86
348    4.3.99.903</a></li>
349
350    <li><a href="#xterm_182">Patch #182 - 2003/12/2 - XFree86
351    4.3.99.901</a></li>
352
353    <li><a href="#xterm_181">Patch #181 - 2003/10/26 - XFree86
354    4.3.99.15</a></li>
355
356    <li><a href="#xterm_180">Patch #180 - 2003/10/12 - XFree86
357    4.3.99.15</a></li>
358
359    <li><a href="#xterm_179">Patch #179 - 2003/5/21 - XFree86
360    4.3.99.5</a></li>
361
362    <li><a href="#xterm_178">Patch #178 - 2003/5/18 - XFree86
363    4.3.99.5</a></li>
364
365    <li><a href="#xterm_177">Patch #177 - 2003/3/23 - XFree86
366    4.3.0</a></li>
367
368    <li><a href="#xterm_176">Patch #176 - 2003/3/22 - XFree86
369    4.3.0</a></li>
370
371    <li><a href="#xterm_175">Patch #175 - 2003/3/9 - XFree86
372    4.3.0</a></li>
373
374    <li><a href="#xterm_174">Patch #174 - 2003/2/25 - XFree86
375    4.2.99.903</a></li>
376
377    <li><a href="#xterm_173">Patch #173 - 2003/2/6 - XFree86
378    4.2.99.902</a></li>
379
380    <li><a href="#xterm_172">Patch #172 - 2002/12/27 - XFree86
381    4.2.99.3</a></li>
382
383    <li><a href="#xterm_171">Patch #171 - 2002/12/12 - XFree86
384    4.2.99.3</a></li>
385
386    <li><a href="#xterm_170">Patch #170 - 2002/10/13 - XFree86
387    4.2.1</a></li>
388
389    <li><a href="#xterm_169">Patch #169 - 2002/10/5 - XFree86
390    4.2.1</a></li>
391
392    <li><a href="#xterm_168">Patch #168 - 2002/9/29 - XFree86
393    4.2.1</a></li>
394
395    <li><a href="#xterm_167">Patch #167 - 2002/8/24 - XFree86
396    4.2.0</a></li>
397
398    <li><a href="#xterm_166">Patch #166 - 2002/3/25 - XFree86
399    4.2.0</a></li>
400
401    <li><a href="#xterm_165">Patch #165 - 2002/1/5 - XFree86
402    4.1.0</a></li>
403
404    <li><a href="#xterm_164">Patch #164 - 2001/11/13 - XFree86
405    4.1.0</a></li>
406
407    <li><a href="#xterm_163">Patch #163 - 2001/11/04 - XFree86
408    4.1.0</a></li>
409
410    <li><a href="#xterm_162">Patch #162 - 2001/10/23 - XFree86
411    4.1.0</a></li>
412
413    <li><a href="#xterm_161">Patch #161 - 2001/10/10 - XFree86
414    4.1.0</a></li>
415
416    <li><a href="#xterm_160">Patch #160 - 2001/10/7 - XFree86
417    4.1.0</a></li>
418
419    <li><a href="#xterm_159">Patch #159 - 2001/9/19 - XFree86
420    4.1.0</a></li>
421
422    <li><a href="#xterm_158">Patch #158 - 2001/9/8 - XFree86
423    4.1.0</a></li>
424
425    <li><a href="#xterm_157">Patch #157 - 2001/6/18 - XFree86
426    4.1.0</a></li>
427
428    <li><a href="#xterm_156">Patch #156 - 2001/4/28 - XFree86
429    4.0.3</a></li>
430
431    <li><a href="#xterm_155">Patch #155 - 2001/4/20 - XFree86
432    4.0.3</a></li>
433
434    <li><a href="#xterm_154">Patch #154 - 2001/4/11 - XFree86
435    4.0.3</a></li>
436
437    <li><a href="#xterm_153">Patch #153 - 2001/3/29 - XFree86
438    4.0.3</a></li>
439
440    <li><a href="#xterm_152">Patch #152 - 2001/3/13 - XFree86
441    4.0.2</a></li>
442
443    <li><a href="#xterm_151">Patch #151 - 2001/3/10 - XFree86
444    4.0.2</a></li>
445
446    <li><a href="#xterm_150">Patch #150 - 2000/12/29 - XFree86
447    4.0.2</a></li>
448
449    <li><a href="#xterm_149">Patch #149 - 2000/12/6 - XFree86
450    4.0.1h</a></li>
451
452    <li><a href="#xterm_148">Patch #148 - 2000/10/31 - XFree86
453    4.0.1d</a></li>
454
455    <li><a href="#xterm_147">Patch #147 - 2000/10/26 - XFree86
456    4.0.1c</a></li>
457
458    <li><a href="#xterm_146">Patch #146 - 2000/9/12 - XFree86
459    4.0.1c</a></li>
460
461    <li><a href="#xterm_145">Patch #145 - 2000/9/11 - XFree86
462    4.0.1c</a></li>
463
464    <li><a href="#xterm_144">Patch #144 - 2000/8/23 - XFree86
465    4.0.1b</a></li>
466
467    <li><a href="#xterm_143">Patch #143 - 2000/8/19 - XFree86
468    4.0.1b</a></li>
469
470    <li><a href="#xterm_142">Patch #142 - 2000/8/18 - XFree86
471    4.0.1b</a></li>
472
473    <li><a href="#xterm_141">Patch #141 - 2000/8/14 - XFree86
474    4.0.1b</a></li>
475
476    <li><a href="#xterm_140">Patch #140 - 2000/7/23 - XFree86
477    4.0.1</a></li>
478
479    <li><a href="#xterm_139">Patch #139 - 2000/6/17 - XFree86
480    4.0d</a></li>
481
482    <li><a href="#xterm_138">Patch #138 - 2000/6/15 - XFree86
483    4.0c</a></li>
484
485    <li><a href="#xterm_137">Patch #137 - 2000/6/10 - XFree86
486    4.0b</a></li>
487
488    <li><a href="#xterm_136">Patch #136 - 2000/6/3 - XFree86
489    4.0b</a></li>
490
491    <li><a href="#xterm_135">Patch #135 - 2000/5/29 - XFree86
492    4.0b</a></li>
493
494    <li><a href="#xterm_134">Patch #134 - 2000/5/28 - XFree86
495    4.0b</a></li>
496
497    <li><a href="#xterm_133">Patch #133 - 2000/5/2 - XFree86
498    4.0a</a></li>
499
500    <li><a href="#xterm_132">Patch #132 - 2000/4/11 - XFree86
501    4.0a</a></li>
502
503    <li><a href="#xterm_131">Patch #131 - 2000/3/3 - XFree86
504    3.9.18b</a></li>
505
506    <li><a href="#xterm_130">Patch #130 - 2000/3/1 - XFree86
507    3.9.18a</a></li>
508
509    <li><a href="#xterm_129">Patch #129 - 2000/2/26 - XFree86
510    3.9.18a</a></li>
511
512    <li><a href="#xterm_128">Patch #128 - 2000/2/17 - XFree86
513    3.9.18</a></li>
514
515    <li><a href="#xterm_127">Patch #127 - 2000/2/12 - XFree86
516    3.9.17e</a></li>
517
518    <li><a href="#xterm_126">Patch #126 - 2000/2/8 - XFree86
519    3.9.17c</a></li>
520
521    <li><a href="#xterm_125">Patch #125 - 2000/1/31 - XFree86
522    3.9.17c</a></li>
523
524    <li><a href="#xterm_124">Patch #124 - 2000/1/27 - XFree86
525    3.9.17b</a></li>
526
527    <li><a href="#xterm_123">Patch #123 - 2000/1/22 - XFree86
528    3.9.17a</a></li>
529
530    <li><a href="#xterm_122">Patch #122 - 1999/12/28 - XFree86
531    3.9.16f</a></li>
532
533    <li><a href="#xterm_121">Patch #121 - 1999/11/14 - XFree86
534    3.9.16c</a></li>
535
536    <li><a href="#xterm_120">Patch #120 - 1999/10/28 - XFree86
537    3.9.16c</a></li>
538
539    <li><a href="#xterm_119">Patch #119 - 1999/10/16 - XFree86
540    3.9.16c</a></li>
541
542    <li><a href="#xterm_118">Patch #118 - 1999/10/5 - XFree86
543    3.9.16b</a></li>
544
545    <li><a href="#xterm_117">Patch #117 - 1999/9/29 - XFree86
546    3.9.16b</a></li>
547
548    <li><a href="#xterm_116">Patch #116 - 1999/9/25 - XFree86
549    3.9.16a</a></li>
550
551    <li><a href="#xterm_115">Patch #115 - 1999/9/18 - XFree86
552    3.9.16a</a></li>
553
554    <li><a href="#xterm_114">Patch #114 - 1999/9/15 - XFree86
555    3.9.16</a></li>
556
557    <li><a href="#xterm_113">Patch #113 - 1999/8/15 - XFree86
558    3.9.15b</a></li>
559
560    <li><a href="#xterm_112">Patch #112 - 1999/7/17 - XFree86
561    3.9Pw</a></li>
562
563    <li><a href="#xterm_111">Patch #111 - 1999/7/10 - XFree86
564    3.9Pw</a></li>
565
566    <li><a href="#xterm_110">Patch #110 - 1999/6/29 - XFree86
567    3.9Pu</a></li>
568
569    <li><a href="#xterm_109">Patch #109 - 1999/6/23 - XFree86
570    3.9Pt</a></li>
571
572    <li><a href="#xterm_108">Patch #108 - 1999/6/19 - XFree86
573    3.9Ps</a></li>
574
575    <li><a href="#xterm_107">Patch #107 - 1999/6/12 - XFree86
576    3.9Pq</a></li>
577
578    <li><a href="#xterm_106">Patch #106 - 1999/6/9 - XFree86
579    3.9Pq</a></li>
580
581    <li><a href="#xterm_105">Patch #105 - 1999/6/5 - XFree86
582    3.9Pp</a></li>
583
584    <li><a href="#xterm_104">Patch #104 - 1999/5/30 - XFree86
585    3.9Pn</a></li>
586
587    <li><a href="#xterm_103">Patch #103 - 1999/5/14 - XFree86
588    3.9Pm</a></li>
589
590    <li><a href="#xterm_102">Patch #102 - 1999/5/12 - XFree86
591    3.9Pm</a></li>
592
593    <li><a href="#xterm_101">Patch #101 - 1999/5/10 - XFree86
594    3.9Pm</a></li>
595
596    <li><a href="#xterm_100">Patch #100 - 1999/5/3 - XFree86
597    3.9Pl</a></li>
598
599    <li><a href="#xterm_99">Patch #99 - 1999/5/2 - XFree86
600    3.9Pk</a></li>
601
602    <li><a href="#xterm_98">Patch #98 - 1999/4/26 - XFree86
603    3.9Pk</a></li>
604
605    <li><a href="#xterm_97">Patch #97 - 1999/4/25 - XFree86
606    3.9Pk</a></li>
607
608    <li><a href="#xterm_96">Patch #96 - 1999/4/19 - XFree86
609    3.9Pj</a></li>
610
611    <li><a href="#xterm_95">Patch #95 - 1999/4/5 - XFree86
612    3.9Ph</a></li>
613
614    <li><a href="#xterm_94">Patch #94 - 1999/3/27 - XFree86
615    3.9Pf</a></li>
616
617    <li><a href="#xterm_93">Patch #93 - 1999/3/14 - XFree86
618    3.9Pd</a></li>
619
620    <li><a href="#xterm_92">Patch #92 - 1999/2/5 - XFree86
621    3.9Nz</a></li>
622
623    <li><a href="#xterm_91">Patch #91 - 1999/1/21 - XFree86
624    3.9Nw</a></li>
625
626    <li><a href="#xterm_90">Patch #90 - 1998/12/13 - XFree86
627    3.9Nq</a></li>
628
629    <li><a href="#xterm_89">Patch #89 - 1998/11/20 - XFree86
630    3.9Nm</a></li>
631
632    <li><a href="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk
633    and 3.3.2h</a></li>
634
635    <li><a href="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj
636    and 3.3.2f</a></li>
637
638    <li><a href="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj
639    and 3.3.2e</a></li>
640
641    <li><a href="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj
642    and 3.3.2e</a></li>
643
644    <li><a href="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni
645    and 3.3.2e</a></li>
646
647    <li><a href="#sync_83">Resync #83 - 1998/10/7 - XFree86
648    3.3.2e</a></li>
649
650    <li><a href="#xterm_83">Patch #83 - 1998/8/25 - XFree86
651    3.9Nb</a></li>
652
653    <li><a href="#xterm_82">Patch #82 - 1998/7/15 - XFree86
654    3.9Aj</a></li>
655
656    <li><a href="#xterm_81">Patch #81 - 1998/7/14 - XFree86
657    3.9Aj</a></li>
658
659    <li><a href="#xterm_80">Patch #80 - 1998/6/29 - XFree86
660    3.9Ai</a></li>
661
662    <li><a href="#xterm_79">Patch #79 - 1998/6/28 - XFree86
663    3.9Ai</a></li>
664
665    <li><a href="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah
666    and 3.3.2</a></li>
667
668    <li><a href="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah
669    and 3.3.2</a></li>
670
671    <li><a href="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah
672    and 3.3.2</a></li>
673
674    <li><a href="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah
675    and 3.3.2</a></li>
676
677    <li><a href="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag
678    and 3.3.2</a></li>
679
680    <li><a href="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag
681    and 3.3.2</a></li>
682
683    <li><a href="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag
684    and 3.3.2</a></li>
685
686    <li><a href="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag
687    and 3.3.2</a></li>
688
689    <li><a href="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af
690    and 3.3.2</a></li>
691
692    <li><a href="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad
693    and 3.3.2</a></li>
694
695    <li><a href="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad
696    and 3.3.1z</a></li>
697
698    <li><a href="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad
699    and 3.3.1e</a></li>
700
701    <li><a href="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad
702    and 3.3.1d</a></li>
703
704    <li><a href="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad
705    and 3.3.1c</a></li>
706
707    <li><a href="#xterm_64">Patch #64 - 1998/2/8 - XFree86
708    3.9Ad</a></li>
709
710    <li><a href="#xterm_63">Patch #63 - 1998/2/5 - XFree86
711    3.9Ad</a></li>
712
713    <li><a href="#xterm_62">Patch #62 - 1998/1/23 - XFree86
714    3.9Ac</a></li>
715
716    <li><a href="#xterm_61">Patch #61 - 1998/1/17 - XFree86
717    3.9Ac</a></li>
718
719    <li><a href="#xterm_60">Patch #60 - 1998/1/10 - XFree86
720    3.9Ab</a></li>
721
722    <li><a href="#xterm_59">Patch #59 - 1998/1/5 - XFree86
723    3.9Ab</a></li>
724
725    <li><a href="#xterm_58">Patch #58 - 1998/1/3 - XFree86
726    3.9Ab</a></li>
727
728    <li><a href="#xterm_57">Patch #57 - 1997/12/26 - XFree86
729    3.9Aa</a></li>
730
731    <li><a href="#xterm_56">Patch #56 - 1997/11/28 - XFree86
732    3.9x</a></li>
733
734    <li><a href="#xterm_55">Patch #55 - 1997/11/25 - XFree86
735    3.9x</a></li>
736
737    <li><a href="#xterm_54">Patch #54 - 1997/10/17 - XFree86
738    3.9s</a></li>
739
740    <li><a href="#xterm_53">Patch #53 - 1997/10/12 - XFree86
741    3.9r</a></li>
742
743    <li><a href="#xterm_52">Patch #52 - 1997/9/29 - XFree86
744    3.9q</a></li>
745
746    <li><a href="#xterm_51">Patch #51 - 1997/9/15 - XFree86
747    3.9p</a></li>
748
749    <li><a href="#xterm_50">Patch #50 - 1997/8/22 - XFree86
750    3.9m</a></li>
751
752    <li><a href="#xterm_49">Patch #49 - 1997/8/10 - XFree86
753    3.9k</a></li>
754
755    <li><a href="#xterm_48">Patch #48 - 1997/7/26 - XFree86
756    3.9j</a></li>
757
758    <li><a href="#xterm_47">Patch #47 - 1997/7/13 - XFree86
759    3.9i</a></li>
760
761    <li><a href="#xterm_46">Patch #46 - 1997/7/4 - XFree86
762    3.9h</a></li>
763
764    <li><a href="#xterm_45">Patch #45 - 1997/7/2 - XFree86
765    3.9h</a></li>
766
767    <li><a href="#xterm_44">Patch #44 - 1997/6/22 - XFree86
768    3.9g</a></li>
769
770    <li><a href="#xterm_43">Patch #43 - 1997/6/10 - XFree86
771    3.9d</a></li>
772
773    <li><a href="#xterm_42">Patch #42 - 1997/6/8 - XFree86
774    3.2Xl</a></li>
775
776    <li><a href="#xterm_41">Patch #41 - 1997/5/28 - XFree86
777    3.2Xl</a></li>
778
779    <li><a href="#xterm_40">Patch #40 - 1997/5/26 - XFree86
780    3.2Xl</a></li>
781
782    <li><a href="#xterm_39">Patch #39 - 1997/5/24 - XFree86
783    3.2Xl</a></li>
784
785    <li><a href="#xterm_38">Patch #38 - 1997/5/22 - XFree86
786    3.2Xh</a></li>
787
788    <li><a href="#xterm_37">Patch #37 - 1997/5/7 - XFree86
789    3.9a</a></li>
790
791    <li><a href="#xterm_36">Patch #36 - 1997/1/16 - XFree86
792    3.2r</a></li>
793
794    <li><a href="#xterm_35">Patch #35 - 1997/1/7 - XFree86
795    3.2o</a></li>
796
797    <li><a href="#xterm_34">Patch #34 - 1997/1/5 - XFree86
798    3.2o</a></li>
799
800    <li><a href="#xterm_33">Patch #33 - 1996/11/24 - XFree86
801    3.2</a></li>
802
803    <li><a href="#xterm_32">Patch #32 - 1996/11/21 - XFree86
804    3.2</a></li>
805
806    <li><a href="#xterm_31">Patch #31 - 1996/11/16 - XFree86
807    3.2</a></li>
808
809    <li><a href="#xterm_30">Patch #30 - 1996/11/16 - XFree86
810    3.2</a></li>
811
812    <li><a href="#xterm_29">Patch #29 - 1996/9/15 - XFree86
813    3.1.2Gb</a></li>
814
815    <li><a href="#xterm_28">Patch #28 - 1996/8/31 - XFree86
816    3.1.2F</a></li>
817
818    <li><a href="#xterm_27">Patch #27 - 1996/8/21 - XFree86
819    3.1.2Ek</a></li>
820
821    <li><a href="#xterm_26">Patch #26 - 1996/8/20 - XFree86
822    3.1.2Ei</a></li>
823
824    <li><a href="#xterm_25">Patch #25 - 1996/8/18 - XFree86
825    3.1.2Ei</a></li>
826
827    <li><a href="#xterm_24">Patch #24 - 1996/8/11 - XFree86
828    3.1.2Ee</a></li>
829
830    <li><a href="#xterm_23">Patch #23 - 1996/7/31 - XFree86
831    3.1.2Ec</a></li>
832
833    <li><a href="#xterm_22">Patch #22 - 1996/7/26 - XFree86
834    3.1.2Ec</a></li>
835
836    <li><a href="#xterm_21">Patch #21 - 1996/7/24 - XFree86
837    3.1.2Ec</a></li>
838
839    <li><a href="#xterm_20">Patch #20 - 1996/7/24 - XFree86
840    3.1.2Ec</a></li>
841
842    <li><a href="#xterm_19">Patch #19 - 1996/7/21 - XFree86
843    3.1.2Ec</a></li>
844
845    <li><a href="#xterm_18">Patch #18 - 1996/7/18 - XFree86
846    3.1.2Ec</a></li>
847
848    <li><a href="#xterm_17">Patch #17 - 1996/7/2 - XFree86
849    3.1.2Eb</a></li>
850
851    <li><a href="#xterm_16">Patch #16 - 1996/6/25 - XFree86
852    3.1.2Ea</a></li>
853
854    <li><a href="#xterm_15">Patch #15 - 1996/5/29 - XFree86
855    3.1.2E</a></li>
856
857    <li><a href="#xterm_14">Patch #14 - 1996/5/12 - XFree86
858    3.1.2Dj</a></li>
859
860    <li><a href="#xterm_13">Patch #13 - 1996/4/23 - XFree86
861    3.1.2Df</a></li>
862
863    <li><a href="#xterm_12">Patch #12 - 1996/3/16 - XFree86
864    3.1.2Dc</a></li>
865
866    <li><a href="#xterm_11">Patch #11 - 1996/3/5 - XFree86
867    3.1.2Db</a></li>
868
869    <li><a href="#xterm_10">Patch #10 - 1996/2/14 - XFree86
870    3.1.2Cd</a></li>
871
872    <li><a href="#xterm_09">Patch #9 - 1996/2/10 - XFree86
873    3.1.2Cb</a></li>
874
875    <li><a href="#xterm_08">Patch #8 - 1996/2/9 - XFree86
876    3.1.2Cb</a></li>
877
878    <li><a href="#xterm_07">Patch #7 - 1996/1/28 - XFree86
879    3.1.2n</a></li>
880
881    <li><a href="#xterm_06">Patch #6 - 1996/1/8</a></li>
882
883    <li><a href="#xterm_05">Patch #5 - 1996/1/7</a></li>
884
885    <li><a href="#xterm_04">Patch #4 - 1996/1/7</a></li>
886
887    <li><a href="#xterm_03">Patch #3 - 1996/1/7</a></li>
888
889    <li><a href="#xterm_02">Patch #2 - 1996/1/7</a></li>
890
891    <li><a href="#xterm_01">Patch #1 - 1996/1/6</a></li>
892  </ul>
893
894  <h1><a name="xterm_303" id="xterm_303">Patch #303 -
895  2014/03/06</a></h1>
896
897  <ul>
898    <li>improve check for <code>/etc/shells</code> to allow its
899    entries to be symbolic links.</li>
900
901    <li>fix a regression in <a href="#xterm_302">patch #302</a>
902    fixes relating to interaction of <code>SHELL</code> and
903    <code>XTERM_SHELL</code> variables (Debian #740919).</li>
904
905    <li>improve manpage discussion of use of
906    <code>/etc/shells</code> for validating the <code>SHELL</code>
907    environment variable.</li>
908
909    <li>further improve the approximation for color map by ignoring
910    bits which would not be applied by the rgb masks for the
911    current visual (report by Joe Peterson).</li>
912
913    <li>add <code>-report-colors</code> to usage-message (report by
914    Joe Peterson).</li>
915  </ul>
916
917  <h1><a name="xterm_302" id="xterm_302">Patch #302 -
918  2014/03/02</a></h1>
919
920  <ul>
921    <li>amend approximation for color map introduced in <a href=
922    "#xterm_277">patch #277</a> to make that apply only to
923    <code>TrueColor</code> (adapted from patch by Joe
924    Peterson).</li>
925
926    <li>add <code>-report-colors</code> option, to show colors as
927    they are allocated.</li>
928
929    <li>fix some gcc <code>-Wcast-qual</code> warnings.</li>
930
931    <li>correct app-defaults location for CentOS-4 in
932    xterm.spec</li>
933
934    <li>improve check in <code>minstall.sh</code> for X manpage's
935    section number; add sample dependencies for the relevant
936    documentation package to packaging test-scripts (prompted by
937    Novell #779474).</li>
938
939    <li>modify sample build-scripts for dpkg and rpm to ensure that
940    <code>vttests</code> scripts are uncompressed and
941    executable.</li>
942
943    <li>modify Perl scripts in <code>vttests</code> to use
944    <code>env</code> to find Perl rather than relying on
945    <code>/usr/bin/perl</code> This makes the sample scripts usable
946    with NetBSD and other systems using <em>pkgsrc</em>.</li>
947
948    <li>amend check from <a href="#xterm_301">patch #301</a> for
949    valid shell to permit existing <code>SHELL</code> value to
950    specify the shell; clarify the behavior in the manpage (report
951    by Emmanuel Thom&eacute;).</li>
952
953    <li>amend change to wide-character processing from <a href=
954    "#xterm_257">patch #257</a> to allow switching to/from UTF-8
955    encoding if the <code>utf8</code> resource was not set to
956    &ldquo;always&rdquo; (report by Honza Maly).</li>
957
958    <li>fix incorrect free from <a href="#xterm_301">patch #301</a>
959    changes, if explicit program without <code>-e</code> option is
960    a valid shell (patch by Romain Francoise).</li>
961  </ul>
962
963  <h1><a name="xterm_301" id="xterm_301">Patch #301 -
964  2014/01/19</a></h1>
965
966  <ul>
967    <li>OSC&nbsp;104 and 105 did not accept parameter to reset a
968    specific color (patch by Egmont Koblinger).</li>
969
970    <li>add configure check for <code>initgroups</code>, and use
971    that function to complement its use of <code>setgid</code>
972    (prompted by patch by Miroslav Lichvar).</li>
973
974    <li>improve manpage description of scrollbar translations
975    versus the vt100 translations (Debian #723573).</li>
976
977    <li>add a few paragraphs to manpage explaining the implications
978    of xterm's reliance on X Toolkit for command-line parsing.</li>
979
980    <li>modify cursor-theme logic to check if the environment
981    variable <code>XCURSOR_THEME</code> is set to a nonempty value
982    before constructing a dummy them (prompted by similar check
983    added in OpenBSD CVS).</li>
984
985    <li>add check for a case where TrueType bold font is missing a
986    glyph where the non-bold font has it. Temporarily switch to the
987    non-bold font to draw the glyph (report by David
988    Demelier).</li>
989
990    <li>minor documentation fixes for ctlseqs.ms</li>
991
992    <li>only set <code>SHELL</code> environment variable to
993    programs found in <code>/etc/shells</code> (prompted by
994    patch/report by Al Poole).</li>
995
996    <li>build-fix, when <code>--disable-wide-chars</code>
997    <code>--disable-boxchar</code> is used (prompted by patch by
998    Andrey Panov).</li>
999  </ul>
1000
1001  <h1><a name="xterm_300" id="xterm_300">Patch #300 -
1002  2013/12/03</a></h1>
1003
1004  <ul>
1005    <li>amend workaround for <code>Xcursor</code> library from
1006    <a href="#xterm_298">patch #298</a>; the suggested solution for
1007    Debian #466704 fell afoul of a bug in <code>Xcursor</code>
1008    which treated an empty value for <code>Inherits=</code> as a
1009    valid theme&mdash;and resulted in a stack overflow due to
1010    unbounded recursion. Certain environments such as XFCE4 exposed
1011    the bug. A related report in Debian #531679 was closed without
1012    following the recommendation to limit stack recursion in this
1013    library (reported by Sergey V Dyatko, Debian #731269).</li>
1014  </ul>
1015
1016  <h1><a name="xterm_299" id="xterm_299">Patch #299 -
1017  2013/12/01</a></h1>
1018
1019  <ul>
1020    <li>fix regression in line-drawing from <a href=
1021    "#xterm_297">patch #297</a> changes for NRCS exposed by change
1022    to <code>assumeAllChars</code> resource in <a href=
1023    "#xterm_298">patch #298</a> (report by Markus Waldeck).</li>
1024  </ul>
1025
1026  <h1><a name="xterm_298" id="xterm_298">Patch #298 -
1027  2013/11/27</a></h1>
1028
1029  <ul>
1030    <li>quiet a warning about ambiguity when <code>-h</code>
1031    command-line option is parsed, since <code>-help</code> is used
1032    rather than the options mentioned in the message. This warning
1033    was caused by fixes in <a href="#xterm_272">patch
1034    #272</a>.</li>
1035
1036    <li>remove an extra check for keypad-mode which interfered with
1037    the <a href="#xterm_280">patch #280</a>
1038    <code>modifyKeyboard</code> feature for the numeric keypad
1039    (report by David Conners).</li>
1040
1041    <li>change default for <code>assumeAllChars</code> resource
1042    (Debian #725682). There are unresolved issues with Terminus
1043    fonts, e.g., Debian #722017.</li>
1044
1045    <li>add <code>-report-fonts</code> command-line option and
1046    <code>reportFonts</code> resource to optionally report the
1047    fonts which are loaded, and their metrics such as the number of
1048    missing glyphs.</li>
1049
1050    <li>work around <code>Xcursor</code> library to make
1051    <code>pointerColor</code> resource work as documented (Debian
1052    #466704, analysis by Vincent Lef&egrave;vre).</li>
1053
1054    <li>amend change from <a href="#xterm_297">patch #297</a> for
1055    ASCII-equivalents to ensure that missing characters which
1056    happen to be double-width are padded to the expected number of
1057    columns. Also, correct the choice between normal/wide Xft fonts
1058    used when checking for missing characters (reported by WU Yue,
1059    Debian #728949, Gentoo #491334).</li>
1060
1061    <li>modify sixel-graphics drawing to account for scrollbar
1062    width (report by Mario Edelmann).</li>
1063
1064    <li>fix remaining issue with <code>DECNRCM</code>; the British
1065    character set was confused with ISO Latin-1 (report by Hayaki
1066    Saito).</li>
1067
1068    <li>build-fix for <code>--disable-boxchars</code> configure
1069    option.</li>
1070
1071    <li>updated configure macros, from ongoing work on lynx and
1072    ncurses.</li>
1073
1074    <li>update config.guess, config.sub</li>
1075  </ul>
1076
1077  <h1><a name="xterm_297" id="xterm_297">Patch #297 -
1078  2013/09/10</a></h1>
1079
1080  <ul>
1081    <li>modify check for missing cells in bitmap font to work
1082    around terminus 10646 encoding, which is mostly missing, add
1083    <code>assumeAllChars</code> resource to provide the older
1084    behavior.</li>
1085
1086    <li>modify macros used to check for missing cells in bitmap
1087    fonts to pick up a long-overlooked improvement made to xfd in
1088    XFree86.</li>
1089
1090    <li>improve workaround for groff versus ASCII-equivalents;
1091    <a href="#xterm_185">patch #185</a> had overlooked Xft
1092    configuration (reported by anonymous user on Arch Linux
1093    forum).</li>
1094
1095    <li>review/extend <code>DECNRCM</code> support (prompted by
1096    report by Hayaki Saito asking about the two "A" codes).
1097
1098      <ul>
1099        <li>make pasting of DECNRCM data work by translating the
1100        pasted data into the selected encoding.</li>
1101
1102        <li>limit mode changes to VT220 and up.</li>
1103
1104        <li>ignore SCS for National Replacement Characters if
1105        <code>DECNRCM</code> is not set.</li>
1106
1107        <li>add tables and logic to decode SCS controls ending with
1108        "%" and one additional character. This expects the parsing
1109        of SCS to VT320.</li>
1110
1111        <li>also added parsing for SCS of DEC Supplemental and DEC
1112        Technical, which are for VT2xx and VT3xx respectively.</li>
1113
1114        <li>implement VT220 Multinational character set "GR" aka
1115        "DEC Supplemental Graphic".</li>
1116
1117        <li>DEC Technical character set based on <a href=
1118        "http://www.vt100.net/charsets/technical.html">vt100.net
1119        description</a>.</li>
1120
1121        <li>implement Portuguese NRC.</li>
1122
1123        <li>provide for temporarily switching to/from NRC mode from
1124        UTF-8 mode when <code>DECNRCM</code> is set or reset.</li>
1125      </ul>
1126    </li>
1127
1128    <li>minor fix to assert's found while testing examples from
1129    <a href="https://gist.github.com/ttdoda">ttdoda's
1130    slrm-test1.txt</a>.</li>
1131
1132    <li>modify <code>DECLRMM</code> to not update the cursor
1133    position (report by Iwamoto Kouichi forwarded by Hayaki
1134    Saito).</li>
1135
1136    <li>modify cursor-position report to take origin-mode into
1137    account (report by Hayaki Saito, see also <a href=
1138    "https://github.com/gnachman/iTerm2/pull/129">iTerm2 pull
1139    request 129</a>).</li>
1140
1141    <li>correct off-by-one comparison in when handling
1142    carriage-return at left margin (patch by Iwamoto Kouichi,
1143    forwarded by Hayaki Saito).</li>
1144
1145    <li>improve handling of <code>faceName</code> resource when a
1146    "size=" property is embedded in it, by using that size to
1147    replace the default <code>faceSize</code> resource. This lets
1148    xterm honor the other faceSize resources (report by Jens
1149    Schweikhardt).</li>
1150
1151    <li>improve OSC&nbsp;52 selection-data by setting its timestamp
1152    to correspond to the most-recent event received by xterm, to
1153    ensure that calls to <code>XtOwnSelect</code> succeed even if
1154    the selection is manipulated solely through the keyboard
1155    (prompted by patch by Richard Tollerton).</li>
1156
1157    <li>change configure-script defaults for "luit" and
1158    "wide-chars" options to match the values used in the imake
1159    configuration, to lessen user surprise if they are accustomed
1160    to building xterm using imake(report by Andries E
1161    Brouwer).</li>
1162
1163    <li>improve the imake-related configuration's check if xterm is
1164    started in a locale that uses UTF-8 encoding. Before, this
1165    checked the locale settings only for "UTF-8", now it checks
1166    ignoring case for "UTF-8" and "UTF-8" (report by Andries E
1167    Brouwer).</li>
1168  </ul>
1169
1170  <h1><a name="xterm_296" id="xterm_296">Patch #296 -
1171  2013/07/10</a></h1>
1172
1173  <ul>
1174    <li>improve experimental sixel feature (patch by Ross
1175    Combs).</li>
1176
1177    <li>modify delimiter in configure macro used to add a library
1178    after a given library to avoid confusion with <code>-Wl</code>
1179    pass-through options to linker (NetBSD #48031).</li>
1180
1181    <li>fix quoting in expression used to trim extra libraries from
1182    <a href="#xterm_295">patch #295</a> changes (report by Thomas
1183    Klausner).</li>
1184  </ul>
1185
1186  <h1><a name="xterm_295" id="xterm_295">Patch #295 -
1187  2013/07/06</a></h1>
1188
1189  <ul>
1190    <li>adjust order of libraries to work around incomplete symbol
1191    resolution when using <code>--as-needed</code> option
1192    (ArchLinux #36047).</li>
1193
1194    <li>minor fix for <code>plink.sh</code>, for IRIX64.</li>
1195  </ul>
1196
1197  <h1><a name="xterm_294" id="xterm_294">Patch #294 -
1198  2013/07/05</a></h1>
1199
1200  <ul>
1201    <li>add note in ctlseqs.ms for CPR response pointing out a
1202    potential point of confusion with the string sent by a modified
1203    F1 key (suggested by Bram Moolenaar).</li>
1204
1205    <li>improve <code>plink.sh</code> by checking if the linker
1206    supports the <code>--as-needed</code> option (suggested by
1207    David Philippi).</li>
1208
1209    <li>improve clearing for private mode 1049 when switching to
1210    the alternate screen (Debian #711758).</li>
1211
1212    <li>amend fix from <a href="#xterm_292">patch #292</a> by
1213    removing now-unneeded chunk which introduced problem in
1214    selection (Debian #714527).</li>
1215
1216    <li>add definition to optionally override compiled-in class for
1217    xterm from makefile, needed for test-packages.</li>
1218
1219    <li>add configure option
1220    <code>--enable-sixel-graphics</code></li>
1221
1222    <li>add experimental support for sixel graphics (patch by Ross
1223    Combs).</li>
1224  </ul>
1225
1226  <h1><a name="xterm_293" id="xterm_293">Patch #293 -
1227  2013/05/27</a></h1>
1228
1229  <ul>
1230    <li>modify sample xterm.spec to use newer icon</li>
1231
1232    <li>add configure option <code>--with-icon-symlink</code> to
1233    work around systems which map icon requests for to a single
1234    "xterm" icon, but neglect to install the icon needed for window
1235    decorations (report by H Merijn Brand).</li>
1236
1237    <li>improve parameterizing of sample xterm.spec</li>
1238
1239    <li>amend fix for printer from <a href="#xterm_280">patch
1240    #280</a>, removing a reset of the signal handler for
1241    <code>SIGCHLD</code> (report by Joe Julian).</li>
1242
1243    <li>set environment variable <code>XTERM_FILTER</code> if a
1244    locale-filter is used.</li>
1245
1246    <li>enable <code>DEBUG</code> logic when
1247    <code>--enable-trace</code> configure option is given.</li>
1248
1249    <li>improve description of <code>initialFont</code>,
1250    <code>set-vt-font</code> and <code>set-tex-text</code> in
1251    manpage (Debian #707899).</li>
1252
1253    <li>fix regression from <a href="#xterm_292">patch #292</a>;
1254    selecting a word that ended at the right margin without
1255    wrapping would not select the last cell (report by Christian
1256    Weisgerber).</li>
1257  </ul>
1258
1259  <h1><a name="xterm_292" id="xterm_292">Patch #292 -
1260  2013/04/25</a></h1>
1261
1262  <ul>
1263    <li>add limit-check when double-click selects a word; if the
1264    saved-lines were scrolled back and the word selected wrapped at
1265    the screen's lower right corner, an assertion was triggered
1266    (patch by Taketo Kabe).</li>
1267
1268    <li>correct limit-check in <code>unsaveEditBufLines</code>,
1269    fixing a case where enlarging the terminal size could show a
1270    blank line where there actually is available text (patch by
1271    Bertram Felgenhauer).</li>
1272
1273    <li>add <code>PasteControls</code> feature to
1274    <code>allowWindowOps</code> which by default disallows pasting
1275    control characters other than formatting such as carriage
1276    return (discussion with Hayaki Saito).</li>
1277
1278    <li>fix typo in ctlseqs.ms for DECRQM response (patch by
1279    Emanuele Giaquinta).</li>
1280
1281    <li>update default shown in configure <code>--help</code>
1282    message for <code>--with-terminal-id</code> option (patch by
1283    Andres Perera).</li>
1284
1285    <li>rename script/preprocessor variables used for substituting
1286    the <code>backarrowKey</code> default value for consistency
1287    (patch by Andres Perera).</li>
1288
1289    <li>set umask to 077 before creating debugging-trace
1290    files.</li>
1291
1292    <li>add configure option <code>--disable-openpty</code> to
1293    control whether openpty() may be used in preference to
1294    posix_openpt().</li>
1295
1296    <li>improve workaround from <a href="#xterm_279">patch #279</a>
1297    for BSD systems which do not complete initialization until both
1298    sides of the pseudoterminal are opened, by preferring openpty()
1299    function over posix_openpt() when available (report by
1300    Christian Weisgerber).</li>
1301  </ul>
1302
1303  <h1><a name="xterm_291" id="xterm_291">Patch #291 -
1304  2013/02/26</a></h1>
1305
1306  <ul>
1307    <li>add validity check for xterm widget parameter to
1308    <code>AlternateScroll</code> function, needed to handle wheel
1309    mouse events in the scrollbar area since <a href=
1310    "#xterm_282">patch #282</a> changes which introduced
1311    <code>alternateScroll</code> feature (Redhat #874327).</li>
1312  </ul>
1313
1314  <h1><a name="xterm_290" id="xterm_290">Patch #290 -
1315  2013/02/12</a></h1>
1316
1317  <ul>
1318    <li>revert of <a href="#xterm_282">patch #282</a> change was
1319    incomplete (report by Jim Reisert).</li>
1320
1321    <li>fix typo in manpage (report by Vincent Lefevre).</li>
1322  </ul>
1323
1324  <h1><a name="xterm_289" id="xterm_289">Patch #289 -
1325  2013/02/08</a></h1>
1326
1327  <ul>
1328    <li>revert the <a href="#xterm_282">patch #282</a> change which
1329    restored "lost" text after shrinking/growing the screen size.
1330    If the screen was updated between the two resizing operations,
1331    unexpected text might be shown at the end (report/testcase by
1332    Joe Peterson).</li>
1333
1334    <li>reverse the arrow-keys sent for
1335    <code>alternateScroll</code> to match the usage in browsers
1336    (suggested by Dieter Roelants).</li>
1337
1338    <li>modify mouse reports to consistently indicate motion events
1339    whether or not a button is pressed. Old behavior (since
1340    <a href="#xterm_127">patch #127</a> modified encoding for wheel
1341    mouse) showed only that the button was released if no button
1342    had been pressed (report by Andy Koppe).</li>
1343
1344    <li>correct and improve behavior for SGR 1006 mouse protocol on
1345    button release in any-event mode. Initial implementation in
1346    <a href="#xterm_277">patch #277</a> left internal state showing
1347    the last button pressed when reporting motion events. It now
1348    keeps track of all buttons which have been pressed and
1349    released, showing the lowest remaining button by number in the
1350    response (reports by Hayaki Saito, Andy Koppe).</li>
1351
1352    <li>fix inconsistency between <code>TermColors</code> and
1353    <code>OscTextColors</code> enums which interchanged values for
1354    tektronix cursor color and highlight foreground in control
1355    sequences in <a href="#xterm_225">patch #225</a> (report/patch
1356    by Peder Stray).</li>
1357
1358    <li>fix inconsistent use of noreturn-attribute in
1359    <code>Exit</code> function which interfered with clang
1360    --analyze.</li>
1361
1362    <li>remove incorrect <code>free</code> used in computation of
1363    <code>XTERM_SHELL</code> variable, from Coverity fixes in
1364    <a href="#xterm_288">patch #288</a> (FreeBSD #175782).</li>
1365
1366    <li>add <code>--with-valgrind</code> option to configure script
1367    for consistency with my other programs.</li>
1368
1369    <li>update table of ambiguous width characters in wcwidth.c
1370    based on Unicode 6.2.0</li>
1371
1372    <li>update table of combining characters in wcwidth.c based on
1373    Unicode 6.2.0</li>
1374
1375    <li>update precompose.c based on Unicode 6.2.0</li>
1376  </ul>
1377
1378  <h1><a name="xterm_288" id="xterm_288">Patch #288 -
1379  2013/01/09</a></h1>
1380
1381  <ul>
1382    <li>fix a special case in <code>ShowCursor</code> where the
1383    foreground and background colors of the current position are
1384    the same. In that case, choose the further of the window's
1385    foreground and background colors for the cursor color.</li>
1386
1387    <li>modify <code>alternateScroll</code> feature added in
1388    <a href="#xterm_282">patch #282</a> to use either
1389    <code>CSI</code> or <code>SS3</code> according to the cursor
1390    keys application mode setting, to simplify using it in vi, etc.
1391    (suggested by Dietar Roelants).</li>
1392
1393    <li>revise manpage for <code>resize</code> to clarify the
1394    changes which <code>resize</code> may make to the terminal
1395    settings as well as to the terminal itself.</li>
1396
1397    <li>remove code such as <code>struct ttysize</code>, used for
1398    SunOS 3 and 4.</li>
1399
1400    <li>modify configure script and makefile to check for
1401    <code>groff</code> and suppress groff-specific rules if groff
1402    is not found.</li>
1403
1404    <li>modify ctlseqs.ms and makefile to work around bugs in
1405    <code>grohtml</code> which cause ".png" files to be truncated
1406    when producing html documentation.</li>
1407
1408    <li>modify suffix rules for "make docs" to make the names of
1409    the generated ".png" files predictable, helping to work around
1410    longstanding problems with this feature of groff&mdash;none of
1411    its releases work for <em>all</em> of xterm's tables..</li>
1412
1413    <li>correct typo in ctlseqs.ms for DECIC and DECDC; the
1414    character preceding the final "<code>~</code>" is an ASCII
1415    single-quote "<code>'</code>" rather than a space (report by
1416    Paul LeoNerd Evans).</li>
1417
1418    <li>update CF_GCC_VERSION macro, handling both Debian and
1419    Darwin.</li>
1420
1421    <li>improve configure script checks for the
1422    <code>--with-desktop-category</code> option. After <a href=
1423    "#xterm_280">patch #280</a> changes, if no value was given for
1424    this option, and no existing desktop files found for
1425    comparison, the incorrect "auto" value was passed into the
1426    generated desktop file (report by Julien Cristau).</li>
1427
1428    <li>modify sample build-scripts to disable check for
1429    <code>imake</code> due to code-rot in Xorg.</li>
1430
1431    <li>add <code>-v</code> command-line option to
1432    <code>resize</code>, reporting the same version string as
1433    <code>xterm</code> and the two shell-wrappers.</li>
1434
1435    <li>make name-transformation apply to other occurrences of
1436    <code>resize</code>, other manpages.</li>
1437
1438    <li>special-case the name-transformation in xterm's manpage in
1439    the NAME section so that the result works with
1440    <code>makewhatis</code> (report by Julien Cristau).</li>
1441
1442    <li>modify install-rules for manpages to put each program's
1443    respective transformed name into the header rather than
1444    xterm's.</li>
1445
1446    <li>remove deprecated files: proto.h, os2main.c</li>
1447
1448    <li>minor fixes based on Coverity scan, including:
1449
1450      <ul>
1451        <li>correct caching of Atom value for the font menu's
1452        "Selection" entry.</li>
1453
1454        <li>ensure that utmp/utmpx calls do not depend upon
1455        trailing nulls in the <code>ut_id</code> and
1456        <code>ut_line</code> values.</li>
1457      </ul>
1458    </li>
1459  </ul>
1460
1461  <h1><a name="xterm_287" id="xterm_287">Patch #287 -
1462  2012/11/25</a></h1>
1463
1464  <ul>
1465    <li>fix a case where in_put() loop could continue when it has
1466    found an X event rather than the pty, causing the pty-read to
1467    be delayed (patch by Balazs Kezes).</li>
1468
1469    <li>add option to <code>pointerMode</code> resource and
1470    corresponding control sequences to allow text-cursor to remain
1471    hidden if the pointer leaves/enters the window via accelerator
1472    keys. Ordinary motion within the window restores the pointer
1473    (prompted by patch by Balazs Kezes).</li>
1474
1475    <li>remove special case of modifiers for the
1476    <code>Mode_switch</code> and <code>XK_ISO_Level3_Shift</code>
1477    from <a href="#xterm_223">patch #223</a>. Verified that the
1478    conflict which this was intended to resolve does not happen for
1479    normal compose- or modeswitch-handling (prompted by patch by
1480    Balazs Kezes, Debian #638694).</li>
1481
1482    <li>modify the handling of focus-change events to ignore those
1483    whose detail is <code>NotifyPointer</code>, since those are
1484    sent in addition to focus-change events directed to the old/new
1485    windows having focus. In particular, this prevents the
1486    urgency-hint from being reset inadvertantly (prompted by patch
1487    by Balazs Kezes).</li>
1488
1489    <li>modify description of <code>iconName</code> in manpage to
1490    make it clearer that this resource does not specify the
1491    filename of an icon (discussion with Ian Collier).</li>
1492
1493    <li>modify <code>iconHint</code> resource to allow suppressing
1494    the built-in icon by setting this to "none" (discussion with
1495    Ian Collier).</li>
1496
1497    <li>make <code>-iconic</code> option work with the toolbar
1498    configuration.</li>
1499
1500    <li>correct initialization of window manager hints used to set
1501    the icon-pixmap. That detail from <a href="#xterm_282">patch
1502    #282</a> overwrote state used to control the
1503    <code>-iconic</code> command-line option (report by Ian
1504    Collier).</li>
1505
1506    <li>fix paste64 feature for the case where the selection comes
1507    from the current terminal. The selection callback can happen
1508    after the reply is partly built, making it necessary to flush
1509    the reply-buffer to keep things in the proper order (report by
1510    Ailin Nemui).</li>
1511
1512    <li>reject command-line options which are longer than the
1513    options in xterm's table, to avoid mismatches (Redhat
1514    #875305).</li>
1515
1516    <li>correct attribution for <a href="#xterm_282">patch #282</a>
1517    changes.</li>
1518  </ul>
1519
1520  <h1><a name="xterm_286" id="xterm_286">Patch #286 -
1521  2012/10/29</a></h1>
1522
1523  <ul>
1524    <li>fix <code>minstall.in</code> to work with "make docs" rule,
1525    so that patch number appears in the corresponding generated
1526    documentation.</li>
1527
1528    <li>modify <code>minstall.in</code> to keep the name shown in
1529    the heading consistent with any renaming, e.g., for
1530    test-builds.</li>
1531
1532    <li>check for misconfigured <code>printerCommand</code>
1533    resource on the first use, warn and disable it if it does not
1534    specify an executable command (Debian #691642).</li>
1535
1536    <li>improve check for window-manager name needed to establish
1537    usable default for activeIcon resource. This works around a
1538    scenario where <code>gdm</code> does incomplete cleanup,
1539    leaving window properties that refer to windows which no longer
1540    exist (Redhat #869959).</li>
1541  </ul>
1542
1543  <h1><a name="xterm_285" id="xterm_285">Patch #285 -
1544  2012/10/23</a></h1>
1545
1546  <ul>
1547    <li>add/adapt FreeBSD ports files for test-building.</li>
1548
1549    <li>modify <code>minstall.sh</code> to use the patch-number and
1550    date in the manpage footer.</li>
1551
1552    <li>add check for failure to allocate the fg/bg colors at
1553    startup, e.g., misconfiguration. Work around by setting both to
1554    the default colors (suggested by Scott Bertilson).</li>
1555
1556    <li>amend change for <a href="#xterm_280">patch #280</a> which
1557    added <code>modifyKeyboard</code>, to make
1558    <code>modifyOtherKeys</code> work (report by Ailin Nemui).</li>
1559
1560    <li>add <code>query-colors.pl</code> example for
1561    OSC&nbsp;4.</li>
1562
1563    <li>correct mis-applied fix for minstall.sh (report by Miroslav
1564    Lichvar).</li>
1565  </ul>
1566
1567  <h1><a name="xterm_284" id="xterm_284">Patch #284 -
1568  2012/10/14</a></h1>
1569
1570  <ul>
1571    <li>amend configurability changes for icons from <a href=
1572    "#xterm_283">patch #283</a>, moving the new functionality to
1573    the <code>iconHint</code> resource to avoid conflict with
1574    existing uses of the <code>iconName</code> resource in the
1575    <code>Shell</code> widget (report by Emanuel Haupt).</li>
1576
1577    <li>fix documentation errata reported by Miroslav Lichvar:
1578
1579      <ul>
1580        <li>correct manpage default for <code>allowTcapOps</code>
1581        (see <a href="#xterm_243">patch #243</a></li>
1582
1583        <li>modify documentation for configure
1584        <code>--enable-backarrow-key</code> to match the script
1585        (see <a href="#xterm_280">patch #280</a>).</li>
1586
1587        <li>fix typo in <code>minstall.sh</code> in <a href=
1588        "#xterm_283">patch #283</a>, which made the leading-cap
1589        "Xterm" become "xterm" (patch by Miroslav).</li>
1590      </ul>
1591    </li>
1592
1593    <li>fix two typos in configure.in from <a href=
1594    "#xterm_283">patch #283</a> changes; one broke the
1595    <code>--regex</code> configure option (report by H Merijn
1596    Brand).</li>
1597  </ul>
1598
1599  <h1><a name="xterm_283" id="xterm_283">Patch #283 -
1600  2012/10/09</a></h1>
1601
1602  <ul>
1603    <li>modify makefile and script to generate appropriate renaming
1604    s/xterm/xterm-dev/ for test-package's manpage.</li>
1605
1606    <li>improve makefile rules for installing/uninstalling pixmap
1607    files, to include the newer mini- and filled- variants.</li>
1608
1609    <li>clarify change in manpage regarding <a href=
1610    "#xterm_282">patch #282</a> change to always set a
1611    window-decoration icon, even if <code>iconName</code> is not
1612    set.</li>
1613
1614    <li>add a fourth flavor of window-decoration icons,
1615    "filled-xterm" for a monochrome xterm with filled
1616    interior.</li>
1617
1618    <li>use shape-mask to improve contrast of the window-decoration
1619    icons.</li>
1620
1621    <li>minor changes to icon colors to improve contrast on
1622    bright-mud backgrounds.</li>
1623
1624    <li>drop configure checks for memmove versus bcopy, and
1625    strerror function; all currently tested platforms support
1626    these.</li>
1627
1628    <li>cleanup configure macros, as done in byacc 20121003.</li>
1629
1630    <li>improve configurability of the built-in icon selectable via
1631    the <code>iconName</code> resource.</li>
1632
1633    <li>update config.guess, config.sub</li>
1634  </ul>
1635
1636  <h1><a name="xterm_282" id="xterm_282">Patch #282 -
1637  2012/09/28</a></h1>
1638
1639  <ul>
1640    <li>improve configure check for
1641    <code>XkbKeycodeToKeysym</code>, fixing a regression on some
1642    older systems in the <a href="#xterm_280">patch #280</a>
1643    changes.</li>
1644
1645    <li>add clarification in manpage for
1646    <code>alwaysBoldMode</code> and <code>veryBoldColors</code>
1647    resources (prompted by Derek Martin question about using the
1648    former with TrueType fonts).</li>
1649
1650    <li>add <code>alternateScroll</code> resource and corresponding
1651    control sequences which modify the <code>scroll-forw</code> and
1652    <code>scroll-back</code> actions: when the alternate screen is
1653    displayed, wheel mouse up/down will send cursor keys (Debian
1654    #683942).</li>
1655
1656    <li>improve rendering for the case when a Unicode character is
1657    absent in the bold font but present in the normal font by
1658    temporarily falling back to the normal font (Debian #359006,
1659    Debian #408666).</li>
1660
1661    <li>provide configure option
1662    <code>--enable-double-buffer</code> and ifdef's to allow
1663    comparisons with/without double-buffering. The default uses
1664    normal buffering.</li>
1665
1666    <li>add feature to optionally scroll current page before
1667    clearing, controlled by resource setting
1668    <code>cdXtraScroll</code> (prompted by patch by Balazs
1669    Kezes):</li>
1670
1671    <li>integrated patches from Arch Linux forum posting (patches
1672    by Balazs Kezes):
1673
1674      <ul>
1675        <li>modify reallocation limit of line-data when resizing
1676        screen so that "lost" text will be restored if the screen
1677        is first shrunk and then grown.</li>
1678
1679        <li>modify output to use double-buffering to reduce
1680        flicker.</li>
1681      </ul>
1682    </li>
1683
1684    <li>modify <code>scroll-lock</code> action to handle
1685    on/off/toggle keywords like other actions. Previously the
1686    optional parameter was interpreted as an integer.</li>
1687
1688    <li>extend <code>DECSCUSR</code> to provide a way to set the
1689    cursor to a vertical bar (patch by Paul Bolle).</li>
1690
1691    <li>add <code>-8</code>, <code>-c</code>, <code>-d</code> and
1692    <code>-u</code> options to <code>88colors2.pl</code> and
1693    <code>256colors2.pl</code> scripts. No current terminal
1694    emulator recognizes C1 controls while handling UTF-8
1695    encoding&mdash;see notes in <a href="#xterm_119">patch #119</a>
1696    and <a href="#xterm_109">patch #109</a> regarding
1697    <code>utf8controls</code>&mdash;but the <code>-u</code> and
1698    <code>-8</code> options are useful for demonstrating this
1699    point.</li>
1700
1701    <li>improve speed when changing color palettes using OSC
1702    controls by deferring repaint while followup controls might be
1703    additional color palette changes.</li>
1704
1705    <li>modify <code>SGR&nbsp;38</code> and
1706    <code>SGR&nbsp;48</code> to accept RGB index, matching the
1707    closest entry in xterm's palette.</li>
1708
1709    <li>extend <code>SGR&nbsp;38</code> and
1710    <code>SGR&nbsp;48</code> to accept colon as parameter separator
1711    (request by Paul LeoNerd Evans).</li>
1712
1713    <li>modify <code>fullscreen</code> action to allow it to toggle
1714    the full-screen mode rather than only set or unset it (prompted
1715    by Eeri Kask's suggestion to support
1716    <code>_NET_WM_TOGGLE</code>). This implementation does not yet
1717    use <code>_NET_WM_TOGGLE</code>.</li>
1718
1719    <li>add support for <code>_NET_WM_STATE_MAXIMIZED_VERT</code>
1720    and <code>_NET_WM_STATE_MAXIMIZED_HORZ</code> EWMH properties
1721    (suggested by Eeri Kask).</li>
1722
1723    <li>make fullscreen mode work with the tek4014 window. This
1724    change makes only the currently active window to be changed to
1725    fullscreen rather than changing both windows.</li>
1726
1727    <li>modify <code>TekClear</code> function to discard pending
1728    output before clearing the tek4014 display (patch by Kevin
1729    Ryde).</li>
1730
1731    <li>fix <code>deleteIsDEL</code> feature, broken in <a href=
1732    "#xterm_280">patch #280</a> changes (report by Mike Thornburg,
1733    forwarded by Jeremy Huddleston).</li>
1734
1735    <li>fix a special case of wrapping double-width characters
1736    (report/test-case by Ken Winstein).</li>
1737
1738    <li>add <code>E3</code> extended capability to
1739    <code>xterm-basic</code> to match ncurses <a href=
1740    "http://invisible-island.net/ncurses/NEWS.html#t20120728">20120728</a>
1741    patch.</li>
1742
1743    <li>fix incorrect transformation of row-parameter for
1744    <code>ClearCurBackground</code> in <a href="#xterm_279">patch
1745    #279</a> which caused incorrect painting in some scrolling
1746    scenarios (report by Chuck Silvers).</li>
1747
1748    <li>fix typo in manpage description of <code>+maximized</code>
1749    option (Paul Maier).</li>
1750
1751    <li>change default for configure option
1752    <code>--with-xpm</code>, turning it on unless requested
1753    otherwise.</li>
1754
1755    <li>add configure option <code>--with-icon-name</code> which
1756    can be used to override the default icon used in
1757    icon-themes.</li>
1758
1759    <li>extend <code>activeIcon</code> resource to provide
1760    <code>default</code> value which tells xterm to determine the
1761    window manager's name and automatically enable the feature for
1762    fvwm and window maker. The explicit true/false values can be
1763    used to override this behavior.</li>
1764
1765    <li>add "mini" xterm icon, which scales better than the
1766    standard xterm icon, e.g., for the gnome/kde "panel"
1767    feature.</li>
1768
1769    <li>extend <code>iconName</code> resource to search for icon
1770    named according to resource value and use that if found. If not
1771    found, use compiled-in pixmap. Both set the WM_ICON_NAME
1772    property which is used by various window managers, usually for
1773    window decoration.</li>
1774
1775    <li>updated autoconf patch, adding support for --datarootdir,
1776    which changes the default location of manpages.</li>
1777
1778    <li>further improved autoconf macros for configuring icons,
1779    from vile 9.8h</li>
1780  </ul>
1781
1782  <h1><a name="xterm_281" id="xterm_281">Patch #281 -
1783  2012/06/26</a></h1>
1784
1785  <ul>
1786    <li>remove "$(srcdir)/" from install-icon rule to fix builds
1787    when --srcdir configuration option is used.</li>
1788
1789    <li>fix for configure script's search for icon file when it is
1790    not found in the current directory, e.g., when building out of
1791    tree (patch by Thierry Reding).</li>
1792
1793    <li>undo the XK_Home / XK_End change from <a href=
1794    "#xterm_280">patch #280</a> which broke the non-VT220 keyboard
1795    for those keys (report by H Merijn Brand).</li>
1796  </ul>
1797
1798  <h1><a name="xterm_280" id="xterm_280">Patch #280 -
1799  2012/06/24</a></h1>
1800
1801  <ul>
1802    <li>add configure check to work around warning from
1803    desktop-file-install for "Encoding", noting that it emits
1804    deprecation warnings without providing its version
1805    information.</li>
1806
1807    <li>add configure option <code>--with-icon-theme</code> to tell
1808    xterm whether to install into an icon theme, defaulting to
1809    "hicolor" (Redhat #755206, Redhat #799614 and Redhat
1810    #804279).</li>
1811
1812    <li>change <code>--with-icondir</code> to look for "icons"
1813    directory rather than "pixmaps" by default. Add new option
1814    <code>--with-pixmapdir</code> to allow these two uses to be
1815    installed concurrently.</li>
1816
1817    <li>modify configure options <code>--with-app-defaults</code>
1818    and <code>--with-icondir</code> to accept "auto" as value to
1819    look for existing directory from well-known locations.</li>
1820
1821    <li>add missing codes for secondary DA response which tell the
1822    type of terminal as in the primary DA response.</li>
1823
1824    <li>update primary DA response for VT420 to include user
1825    windows and horizontal scrolling.</li>
1826
1827    <li>add <code>modifyKeyboard</code> resource to support
1828    keypad-modifier changes per request by Thomas Wolff.</li>
1829
1830    <li>add XK_Home / XK_End to editing-keypad checks</li>
1831
1832    <li>add back-tab key <code>kB</code> to termcap entries to
1833    match the terminfo.</li>
1834
1835    <li>update terminfo to match corresponding entries in ncurses,
1836    e.g., add <code>XT</code> and adjust <code>sgr</code> string
1837    for xterm-bold entry.</li>
1838
1839    <li>add configure options to predefine the most commonly
1840    customized resources for terminal-settings, use those to
1841    substitute into the manpage the corresponding compiled-in
1842    values: <code>altSendsEscape</code>, <code>backarrowKey</code>,
1843    <code>backarrowKeyIsErase</code>, <code>deleteIsDEL</code>,
1844    <code>metaSendsEscape</code> (Redhat #819588).</li>
1845
1846    <li>change default emulation level to VT420 (discussion with
1847    Ailin Nemui).</li>
1848
1849    <li>improve logic for DECSCL; <a href="#xterm_279">patch
1850    279</a> partly enforced limitation of this to higher-level
1851    emulations. This patch finishes that change.</li>
1852
1853    <li>improve check for base of combining characters, preventing
1854    combination when cursor movement has intervened. Mosh's webpage
1855    gives two different examples of this, with other causes
1856    ascribed to the behavior.</li>
1857
1858    <li>modify IL/DL to set cursor to first column on row for
1859    better VT102/VT220 compatibility (prompted by code review of
1860    mosh).</li>
1861
1862    <li>separate state-table entries for DECSC/DECRC from the
1863    ANSI.SYS save/restore cursor, since the latter conflicts with
1864    DECSLRM when DECLRMM is enabled since <a href=
1865    "#xterm_279">patch #279</a> (report/analysis by Ailin
1866    Nemui).</li>
1867
1868    <li>fixes to avoid using <code>SIGCHLD</code> handler of main
1869    program in printer's subprocess (report by Joe Julian).</li>
1870
1871    <li>correct restore-parameter for mouse-modes from <a href=
1872    "#xterm_279">patch #279</a> changes.</li>
1873
1874    <li>add null-pointer checks to input-method caching added in
1875    <a href="#xterm_277">patch #277</a> to fix a problem in the
1876    exposure code, when deselecting a window (report by Kriston
1877    Rehberg).</li>
1878
1879    <li>unset <code>DESKTOP_STARTUP_ID</code> environment variable
1880    to lessen confusion on the part of GTK applications which use
1881    the variable without checking it (report by John Little).</li>
1882  </ul>
1883
1884  <h1><a name="xterm_279" id="xterm_279">Patch #279 -
1885  2012/05/10</a></h1>
1886
1887  <ul>
1888    <li>fill in missing cases in the save/restore modes feature
1889    (report by Thomas Wolff).</li>
1890
1891    <li>add check to ensure that combining characters are
1892    precomposed in the order given (report/analysis by Andries E
1893    Brouwer).</li>
1894
1895    <li>improve workability check for posix_openpt(), to take into
1896    account BSD systems which do not complete initialization until
1897    both sides of the pseudoterminal are opened (report by
1898    Christian Weisgerber).</li>
1899
1900    <li>amend fix for Debian #650291 in <a href="#xterm_277">patch
1901    #277</a> changes to account for different data returned by
1902    vnc4server (Debian #670638).</li>
1903
1904    <li>add check in DECCRA operation to make copies of blinking
1905    text also blink by updating a line-level flag.</li>
1906
1907    <li>modify rectangle operations to work with DECOM.</li>
1908
1909    <li>modify DECSERA to use the current protected state rather
1910    than preserving it.</li>
1911
1912    <li>add <code>precompose</code> resource to allow storing
1913    character data in Normalized Form D as described in <a href=
1914    "http://unicode.org/reports/tr15/">http://unicode.org/reports/tr15/</a>
1915    (report/discussion with Andries E Brouwer).</li>
1916
1917    <li>modify CBT, other ISO-6429 controls which are used by VT520
1918    to work with DECOM.</li>
1919
1920    <li>add HPR and VPR controls, ISO 6429 cursor movement used in
1921    VT520.</li>
1922
1923    <li>remove "linux" restriction for IUTF8 ifdef in main.c
1924    (prompted by Matthew Dempsky posting on
1925    mailing.openbsd.tech).</li>
1926
1927    <li>implement the remaining VT420-level device status
1928    reports.</li>
1929
1930    <li>change DECXCPR to return page 1, rather than 0.</li>
1931
1932    <li>improve VT-level checks on reporting functions, such as
1933    DECXCPR.</li>
1934
1935    <li>change limit on <code>decTerminalID</code> to 525.</li>
1936
1937    <li>fixes to improve vttest vt52 screen when running as a
1938    VT420:
1939
1940      <ul>
1941        <li>add checks for some VT2xx and up controls for
1942        consistency: DECSCL, S1C8T, S1C7T.</li>
1943
1944        <li>modify DECRQSS return for DECSCL to only return that
1945        when running as VT2xx and up.</li>
1946
1947        <li>when exiting from VT52-mode, resume in VT100 level
1948        rather than the level before starting VT52-mode.</li>
1949      </ul>
1950    </li>
1951
1952    <li>implement DECLRMM, DECSLRMM and DECNCSM (prompted by
1953    discussions with Ailin Nemui and Paul LeoNerd Evans). This
1954    modifies several controls to obey top/bottom and left/right
1955    margins.</li>
1956
1957    <li>correct macro definition used for testing modes used in
1958    ANSI/DEC request-mode controls introduced in <a href=
1959    "#xterm_262">patch #262</a>.</li>
1960
1961    <li>modify <code>x_getlogin</code> to check $LOGNAME and $USER
1962    before fallback to <code>getlogin</code>, so that user's choice
1963    for these variables can be carried forward to the xterm process
1964    (Debian #611487).</li>
1965
1966    <li>document DECSCUSR response for DECRQSS in ctlseqs.ms</li>
1967
1968    <li>add <code>zIconTitleFormat</code> resource to allow
1969    customizing the "***&nbsp;" prefixed to the icon title when the
1970    <code>zIconBeep</code> feature is activated (request by Thomas
1971    Adam).</li>
1972
1973    <li>modify DECSCUSR to update the same internal variable as
1974    RM/SM 12, and document in manpage the two variables used for
1975    controlling blinking cursor (report by Paul LeoNerd
1976    Evans).</li>
1977
1978    <li>correct response data for DECSCUSR in reply for DECRQSS
1979    response, which had inverted the blink-value (reports by Ailin
1980    Nemui, Paul LeoNerd Evans).</li>
1981
1982    <li>add a null-pointer check in <code>OkPasswd</code> macro to
1983    fix a problem in <code>resize</code> with Fedora 17 and a
1984    serial console (report/patch by Daniel Drake).</li>
1985
1986    <li>add workaround for Mac OS X, which loses the window size of
1987    a pseudo-terminal when the tty device is opened
1988    (report/analysis by Egmont Koblinger).</li>
1989
1990    <li>updated configure check for workable
1991    <code>posix_openpt</code> versus <code>grantpt</code>, from
1992    <code>luit</code> fixes.</li>
1993
1994    <li>modify DECIC/DECDC/DECBI/DECFI implemented in <a href=
1995    "#xterm_277">patch #277</a> to enable them only in VT4xx mode
1996    and up (report by Ailin Nemui).</li>
1997
1998    <li>update config.guess, config.sub</li>
1999  </ul>
2000
2001  <h1><a name="xterm_278" id="xterm_278">Patch #278 -
2002  2012/01/18</a></h1>
2003
2004  <ul>
2005    <li>correct initialization for <code>eightBitMeta</code>
2006    resource (FreeBSD #164101).</li>
2007
2008    <li>make special check for Darwin 9 (and lower) to <em>not</em>
2009    use <code>posix_openpt</code> (report by Christian Ebert).</li>
2010
2011    <li>minor fixes (adding ".ne" directives) to reduce the cases
2012    where groff's utility for generating images for tables dumps
2013    core. Most versions of groff (I've found 1.19.2 to be the most
2014    stable) dump core when attempting to report that there are too
2015    few lines on a page for a table to be shown.</li>
2016  </ul>
2017
2018  <h1><a name="xterm_277" id="xterm_277">Patch #277 -
2019  2012/01/07</a></h1>
2020
2021  <ul>
2022    <li>remove special case for ISC pseudo-terminals which attempts
2023    to open the pty in two different ways.</li>
2024
2025    <li>move call to <code>grantpt</code> before asking utempter to
2026    add a record, to work with kFreeBSD which does not update the
2027    terminal's ownership until this point (Debian #652907).</li>
2028
2029    <li>document limitation of XIM interface in manpage (Debian
2030    #230787).</li>
2031
2032    <li>cleanup error reporting with new xtermWarning
2033    function.</li>
2034
2035    <li>add configure option <code>--disable-selection-ops</code>
2036    to make the new actions optional.</li>
2037
2038    <li>add four new actions for making the selection or data
2039    directly copied from the screen (prompted by discussion in
2040    Debian #637001, as well as report by Arjen van Tol):
2041
2042      <ul>
2043        <li>exec-formatted</li>
2044
2045        <li>exec-selectable</li>
2046
2047        <li>insert-formatted</li>
2048
2049        <li>insert-selectable</li>
2050      </ul>
2051    </li>
2052
2053    <li>add <code>visualBellLine</code> resource to allow
2054    <code>visualBell</code> to flash only the current line
2055    (prompted by patch by Gertjan Halkes).</li>
2056
2057    <li>add <code>eightBitMeta</code> resource to control the
2058    features which modify or interpret the eighth bit of a key when
2059    the meta modifier key is pressed (prompted by Debian
2060    #326200).</li>
2061
2062    <li>improve discussion of <code>eightBitInput</code> in the
2063    manpage (prompted by Debian #326200).</li>
2064
2065    <li>correct logic for <code>alt-sends-escape</code> action,
2066    overlooked when implementing <code>altSendsEscape</code>
2067    resource, which still used <code>eightBitInput</code> resource
2068    value.</li>
2069
2070    <li>add a workaround for <code>XAllocColor()</code>, which does
2071    not actually allocate "a read-only colormap entry corresponding
2072    to the closest RGB value supported by the hardware", but rather
2073    a rough approximation (Debian #650291).</li>
2074
2075    <li>undo parameter checks for <code>RequestResize()</code>
2076    added in <a href="#xterm_251">patch #251</a> and amended in
2077    <a href="#xterm_270">patch #270</a>, because zeros also are
2078    special cases (report by John S Urban).</li>
2079
2080    <li>modify some test-scripts to use <code>/bin/echo</code>
2081    rather than the shell's possibly-builtin <code>echo</code>, to
2082    work around broken configuration on Mac OS X, i.e., neither
2083    honoring the option nor flagging an error.</li>
2084
2085    <li>add SGR 1006, as a better technical solution than SGR 1015:
2086
2087      <ul>
2088        <li>the responses will not be confused with line-deletion
2089        and scrolling controls.</li>
2090
2091        <li>the button encoding is a little simpler, since it does
2092        not add an unnecessary 32 because the integer parameter
2093        does not have to be represented as a printable
2094        character.</li>
2095
2096        <li>the control responses for pressing and releasing a
2097        mouse button differ, allowing an application to tell which
2098        button was released.</li>
2099      </ul>
2100
2101      <p>Besides these improvements, in discussion, it was noted
2102      that urxvt's implementation of 1005 is incorrect, relying
2103      upon a locale that provides UTF-8 encoding. In contrast,
2104      vttest demonstrates a correct decoding, independent of
2105      locale.</p>
2106    </li>
2107
2108    <li>add support for urxvt SGR 1015 to address shortcoming of
2109    SGR 1005 with luit (patch by Egmont Koblinger).</li>
2110
2111    <li>add ISO and DEC controls useful for left/right
2112    scrolling.</li>
2113
2114    <li>add some changes for OpenBSD and MirBSD (adapted from patch
2115    by Thorsten Glaser):
2116
2117      <ul>
2118        <li>disable search for non-Unix96 ptys.</li>
2119
2120        <li>fix a gcc warning in
2121        <code>timestamp_filename</code></li>
2122
2123        <li>modify <code>Imakefile</code> to install xterm setgid
2124        to utmp.</li>
2125      </ul>
2126    </li>
2127
2128    <li>add/use/prefer <code>posix_openpt()</code> for opening
2129    pseudo-terminal.</li>
2130
2131    <li>modify special errno handling case in ptydata.c from
2132    <a href="#xterm_158">patch #158</a> to allow for the
2133    possibility that any platform may have special cases where
2134    "/dev/tty" is absent. For example, this can happen in a FreeBSD
2135    jail (patch by David Wolfskill).</li>
2136
2137    <li>add keyboard logic to map shift-tab into XK_ISO_Left_Tab,
2138    which is usually, not always, done by the X keyboard
2139    configuration.</li>
2140
2141    <li>portability fixes for some configure macros:
2142    <code>CF_XOPEN_SOURCE</code></li>
2143  </ul>
2144
2145  <h1><a name="xterm_276" id="xterm_276">Patch #276 -
2146  2011/10/10</a></h1>
2147
2148  <ul>
2149    <li>modify clipping limits for TrueType fonts to account for
2150    the <code>scaleHeight</code> resource setting, to work around
2151    another problem due to recent FreeType changes. In this case,
2152    the <code>DejaVu Sans Mono</code> set to pixelsize=13.5 is
2153    truncated because the font descent is reduced by FreeType to
2154    match an incorrect height metric (report by Adam Lee).</li>
2155
2156    <li>improve recovery when bitmap fonts are not installed, e.g.,
2157    so that switching font-sizes works for TrueType fonts.</li>
2158
2159    <li>modify lookup for <code>XTERM_SHELL</code> feature to allow
2160    relative pathnames.</li>
2161
2162    <li>modify abbreviation disambiguation check for command-line
2163    parameters to account for <code>-geometry</code>, whose
2164    parameter may begin with "+" or "-" (report by Scott
2165    Bertilson).</li>
2166  </ul>
2167
2168  <h1><a name="xterm_275" id="xterm_275">Patch #275 -
2169  2011/09/11</a></h1>
2170
2171  <ul>
2172    <li>add <code>ash</code>, <code>zsh</code> to known shells for
2173    <code>resize</code>.</li>
2174
2175    <li>modify <code>resize</code> to reuse the logic from
2176    <code>xterm</code> which determines the actual logon-user's
2177    shell if <code>$SHELL</code> is not set.</li>
2178
2179    <li>revert the <code>unsetenv("SHELL")</code> added in <a href=
2180    "#xterm_272">patch #272</a>.</li>
2181
2182    <li>an <code>unsetenv("SHELL")</code> added in <a href=
2183    "#xterm_272">patch #272</a> to help ensure that
2184    <code>luit</code> would get the user's shell consistently did
2185    not work as expected for cases where multiple names are in the
2186    password-file for a given uid. That was because changes in
2187    <a href="#xterm_157">patch #157</a> to handle this situation
2188    did not take into account that repeated calls to
2189    <code>getpwnam</code> and <code>getpwuid</code> return a
2190    pointer to the same static buffer. Fixed the older logic to
2191    work as intended, by ensuring that the passwd-data from each
2192    call is stored separately (report by Paul Keusemann).</li>
2193
2194    <li>adjust ifdef's for <code>putenv</code> and
2195    <code>unsetenv</code> in case only one of those is provided on
2196    a given platform.</li>
2197
2198    <li>correct comparison used in <code>ExposeContains</code>
2199    macro from <a href="#xterm_274">patch #274</a> changes, to
2200    handle window-dragging (patch by Todd Eigenschink).</li>
2201  </ul>
2202
2203  <h1><a name="xterm_274" id="xterm_274">Patch #274 -
2204  2011/09/05</a></h1>
2205
2206  <ul>
2207    <li>portability fixes for cygwin: do not define
2208    <code>SVR4</code>, and work around nonstandard header
2209    location.</li>
2210
2211    <li>ifdef'd use of <code>unsetenv</code> from <a href=
2212    "#xterm_273">patch #273</a> changes to work with Solaris 9
2213    (report by Waldemar Rachwal).</li>
2214
2215    <li>modify logic for <code>XtAppPending</code> to merge
2216    adjacent <code>Expose</code> and <code>ConfigureNotify</code>
2217    events which are redundant (report by Edward McGuire).</li>
2218
2219    <li>fix an unneeded warning message when <code>-r</code> option
2220    is given.</li>
2221
2222    <li>remove a few redundant entries from table used for helping
2223    abbreviation-checking of command-line options, makes
2224    <code>-geom</code> work again after <a href="#xterm_272">patch
2225    #272</a> changes as an abbreviation of
2226    <code>-geometry</code>.</li>
2227
2228    <li>add <code>scaleHeight</code> resource and command-line
2229    option <code>-sh</code> as workaround for some
2230    font-configurations broken by changes in FreeType 2.4.6 (report
2231    by Miroslav Hodak).</li>
2232
2233    <li>portability fixes for some configure macros:
2234    <code>CF_FUNC_TGETENT</code>, <code>CF_XOPEN_SOURCE</code>,
2235    <code>CF_X_ATHENA_LIBS</code>.</li>
2236
2237    <li>add configure option <code>--with-freetype-config</code> to
2238    improve selection over the plethora of configuration options
2239    which freetype has so far provided.</li>
2240
2241    <li>build-fix for configure <code>--enable-load-vt-fonts</code>
2242    when <code>--enable-widec</code> is not specified.</li>
2243
2244    <li>build-fixes for suppressing various features, needed after
2245    changes in patches 270, 271 and 272 (report by Brian
2246    Lindholm)</li>
2247  </ul>
2248
2249  <h1><a name="xterm_273" id="xterm_273">Patch #273 -
2250  2011/08/25</a></h1>
2251
2252  <ul>
2253    <li>build-fix for out-of-tree "make docs" rule.</li>
2254
2255    <li>correct a typo in <code>x_strdup</code>, from <a href=
2256    "#xterm_198">patch #198</a> changes.</li>
2257
2258    <li>correct initialization for <code>-e</code> option, broken
2259    in <a href="#xterm_272">patch #272</a> changes (report by
2260    Gabriele Balducci).</li>
2261
2262    <li>build-fix for out-of-tree builds to address
2263    <code>minstall</code> script changes in <a href=
2264    "#xterm_272">patch #272</a> (patch by Thierry Reding).</li>
2265  </ul>
2266
2267  <h1><a name="xterm_272" id="xterm_272">Patch #272 -
2268  2011/08/24</a></h1>
2269
2270  <ul>
2271    <li>document limitation of <code>Gtk</code> in connection with
2272    xterm's <code>-into</code> option, in the manpage (Ubuntu
2273    #806969).</li>
2274
2275    <li>improve <code>-into</code> by checking for and using the
2276    size of the window within which xterm is embedded, overriding
2277    other clues.</li>
2278
2279    <li>modify logic for <code>localeFilter</code> resource to
2280    allow that to include command-line options of luit.</li>
2281
2282    <li>improve <code>-into</code> by checking for invalid
2283    window-id, and allowing hexadecimal/decimal/octal values.</li>
2284
2285    <li>improve <code>keepSelection</code>, adding the case where
2286    the highlighting is cleared, overlooked in <a href=
2287    "#xterm_230">patch #230</a> (patch by Marco Peereboom).</li>
2288
2289    <li>improve command-line parsing to make abbreviate options
2290    work consistently across xterm-specific versus standard X
2291    toolkit options, and report cases where an abbreviated option
2292    happens to be ambiguous. In particular, <code>-d</code> now
2293    works as an abbreviation for <code>-display</code>.</li>
2294
2295    <li>fix regression in command-line parsing introduced in
2296    <a href="#xterm_271">patch #271</a> changes for Debian #629358,
2297    (Debian #637910).</li>
2298
2299    <li>split-out new termcap/terminfo building block
2300    <code>xterm+kbs</code> for configurability.</li>
2301
2302    <li>modify <code>terminfo</code> file to reflect changes in
2303    ncurses for <code>xterm-16color</code> and
2304    <code>xterm-256color</code>.</li>
2305
2306    <li>modify <code>minstall.sh</code>, etc., to reflect the
2307    default default class, <code>$TERM</code> and
2308    <code>decTerminalID</code> values.</li>
2309
2310    <li>reword <code>resize</code> manpage to reflect the fact that
2311    <code>$TERMCAP</code> is not set on all systems (patch by Alan
2312    Coopersmith).</li>
2313
2314    <li>work around combined Xaw6/Xaw7 package in DragonFlyBSD
2315    which omits the usual symbolic link to the preferred library
2316    name.</li>
2317
2318    <li>further improve build-fix for termcap systems by checking
2319    for some which are only partial implementations, e.g., termcap
2320    2.08 in CentOS 5.2</li>
2321  </ul>
2322
2323  <h1><a name="xterm_271" id="xterm_271">Patch #271 -
2324  2011/07/14</a></h1>
2325
2326  <ul>
2327    <li>omit permissions adjustments to pty on exit except for
2328    pre-Unix98 ptys, since modern implementations handle this
2329    (report by Sean C Farley).</li>
2330
2331    <li>modify logic for switching fonts between UTF-8 and
2332    non-UTF-8 encoding to not merge the derivable bold-, wide- and
2333    widebold values from the VT100 fonts. Also suppress warning
2334    when not using UTF-8 fonts if wide- and widebold-fonts cannot
2335    be derived or otherwise loaded (report by Werner
2336    Scheinast).</li>
2337
2338    <li>modify menu-creation to suppress entries which will never
2339    be used in the current configuration, rather than simply
2340    disabling them.</li>
2341
2342    <li>add resource <code>printModeImmediate</code> and menu item
2343    to allow print of screen plus saved lines to a file.</li>
2344
2345    <li>add menu item to allow runtime enable/disable of the
2346    <code>printFileOnXError</code> feature.</li>
2347
2348    <li>append a timestamp to filename used in
2349    <code>printFileOnXError</code> feature, and restrict its
2350    permissions (request by Vincent Lefevre).</li>
2351
2352    <li>add a check when cancelling cursor-blinking, in case the
2353    cursor is blinked off. Fix so that the cursor is repainted
2354    without waiting for other events, e.g., keypress (report by
2355    Ailin Nemui).</li>
2356
2357    <li>add configure <code>--with-app-class</code> option, to
2358    simplify building "xterm-dev" packages with filenames that do
2359    not conflict with conventional "xterm" packages.</li>
2360
2361    <li>corrected logic flow for DECSCL, which prevented the
2362    updated operating level from being reported via DECRQSS (report
2363    by Ailin Nemui).</li>
2364
2365    <li>corrected default for <code>brokenStringTerm</code>
2366    resource to match manpage.</li>
2367
2368    <li>add vttests/dynamic.pl</li>
2369
2370    <li>add runtime check for locale not supported by X libraries,
2371    and fallback to XA_STRING in this case (request by Bryan
2372    Henderson).</li>
2373
2374    <li>fix a special case in configure script after no FreeType
2375    libraries are found. The script was proceeding to check for a
2376    usable configuration.</li>
2377
2378    <li>add <code>xterm+tmux</code> building block to terminfo
2379    (adapted from changes proposed by Ailin Nemui and Nicholas
2380    Marriott).</li>
2381
2382    <li>improve discussion of <code>faceName</code> resource in
2383    manpage (adapted from suggestions by Jens Schweikhardt).</li>
2384
2385    <li>correct mapping of shifted up/down cursor-keys in termcap
2386    function-keys mode, i.e., resource
2387    <code>tcapFunctionKeys</code> (patch by Gertjan Halkes).</li>
2388
2389    <li>update AIX case in <code>CF_XOPEN_SOURCE</code> configure
2390    macro to add release 7.x.</li>
2391
2392    <li>modify ifdef's in <code>xterm_io.h</code> for
2393    <code>__hpux</code> to force that to use the hacked SYSV
2394    support in that file. This fixes a problem with a non-blocking
2395    socket call (patch by Paul Lampert).</li>
2396
2397    <li>improve filtering of desktop category scanning, to exclude
2398    XFCE.</li>
2399
2400    <li>modify configure script to work with systems that have both
2401    ncurses (or other terminfo) as well as a real termcap library,
2402    e.g., Slackware (report by Andrew Watts).</li>
2403
2404    <li>modify configure script to work around special case where
2405    user's environment adds compiler flags to the <code>CC</code>
2406    variable (prompted by report by Paul Lampert).</li>
2407
2408    <li>amend change for Debian #110226 so that "-h" or "-v"
2409    options cause an exit, rather than simply printing to stdout
2410    while the window is displayed (Debian #629358).</li>
2411
2412    <li>add response for <code>DECRQSS</code> which gives the
2413    setting for <code>DECSCUSR</code>.</li>
2414
2415    <li>modify AllocateTermColor() to handle
2416    <code>XtDefaultForeground</code> and
2417    <code>XtDefaultBackground</code>, which are not recognized by
2418    <code>XParseColor</code>. For example, this fixes the use of
2419    OSC&nbsp;112 when no explicit cursor color was set (report by
2420    Ailin Nemui).</li>
2421
2422    <li>handle special-case of <code>KeyPress</code> translated to
2423    <code>popup-menu</code> action (Ubuntu #756273).</li>
2424  </ul>
2425
2426  <h1><a name="xterm_270" id="xterm_270">Patch #270 -
2427  2011/04/26</a></h1>
2428
2429  <ul>
2430    <li>build-fix, e.g., for using <code>imake</code> on platforms
2431    which use the termcap library.</li>
2432
2433    <li>modify <code>utf8</code> resource to accept a name.</li>
2434
2435    <li>mention default for <code>fontWarnings</code> in manpage
2436    (report by Werner Scheinast).</li>
2437
2438    <li>split "UTF-8" menu entry into "UTF-8 Encoding" and "UTF-8
2439    Fonts" (prompted by discussion with Werner Scheinast).</li>
2440
2441    <li>gray-out font-menu entries when a font fails to load, e.g.,
2442    a bitmap font is not installed.</li>
2443
2444    <li>improve behavior when there is no app-defaults file:
2445
2446      <ul>
2447        <li>set the <code>toolBar</code> resource to false</li>
2448
2449        <li>gray-out the font menu entries where no resource is
2450        found.</li>
2451      </ul>
2452    </li>
2453
2454    <li>add configure option <code>--with-desktop-category</code>
2455    to allow customization of the ".desktop" files.</li>
2456
2457    <li>build-fix for the <code>install-desktop</code>
2458    makefile-rule, when the source/build directories differ (patch
2459    by Lo&iuml;c Minier).</li>
2460
2461    <li>add menu entry and corresponding resource which can be used
2462    to suppress all bold-fonts (discussion with Jan
2463    Engelhardt).</li>
2464
2465    <li>make internal line-size value consistent with allocated
2466    sizes of character and related arrays to ensure that bulk
2467    copying of line data, e.g., in scrolling, accounts for the
2468    padding used for pointer alignment (adapted from patch by
2469    Rajesh Mandalemula, also reported by Ali Bahar).</li>
2470
2471    <li>widen ifdef for screen-resizing logic from <a href=
2472    "#xterm_176">patch #176</a> changes to send
2473    <code>SIGWINCH</code> to process group to include any system
2474    supporting <code>ioctl(*,TIOCGPGRP,*)</code> (prompted by
2475    linux-specific patch in OpenSUSE rpm package).</li>
2476
2477    <li>add <code>printModeOnXError</code> and
2478    <code>printFileOnXError</code> resources, which allow the user
2479    to specify that xterm will write the contents of its screen to
2480    a file if it is exiting due to an X error (Debian
2481    #280457).</li>
2482
2483    <li>restore logic that made reverse-video apply to the
2484    scrollbar's foreground/background, broken in <a href=
2485    "#xterm_158">patch #158</a> (report by Bryan Ischo).</li>
2486
2487    <li>amend some of the window operations parameter-checks added
2488    in <a href="#xterm_251">patch #251</a> for the push/pop title
2489    feature, to allow the parameters used for window resizing to be
2490    -1's, which makes the corresponding values ignored rather than
2491    using the window's maximum width/height (report by Noah
2492    Friedman).</li>
2493
2494    <li>correct order of initialization for
2495    <code>translations</code> vs <code>fullscreen</code> resources
2496    to enable a special case which omits the Alt-Enter translation
2497    when <code>fullscreen</code> is disabled (Debian #612978).</li>
2498
2499    <li>update config.guess, config.sub</li>
2500  </ul>
2501
2502  <h1><a name="xterm_269" id="xterm_269">Patch #269 -
2503  2011/02/19</a></h1>
2504
2505  <ul>
2506    <li>build-fixes for <code>imake</code> (report by Heiko
2507    Berges).</li>
2508
2509    <li>modify autoconf macro CF_PKG_CONFIG to work with
2510    cross-compile environments (patch by Thierry Reding).</li>
2511
2512    <li>modify <code>MapToColorMode()</code> to favor bold over
2513    underline, matching the precedence used before <a href=
2514    "#xterm_252">patch #252</a> (report/analysis by Nicolas
2515    George).</li>
2516
2517    <li>add <code>omitTranslation</code> resource, which can be
2518    used to suppress the default translations for these features:
2519
2520      <ul>
2521        <li>fullscreen</li>
2522
2523        <li>scroll-lock</li>
2524
2525        <li>shift-fonts</li>
2526
2527        <li>wheel-mouse</li>
2528      </ul>
2529    </li>
2530
2531    <li>make the fullscreen feature configurable (Debian #612978)
2532
2533      <ul>
2534        <li>add it to the configurable list
2535        <code>disallowedWindowOps</code>.</li>
2536
2537        <li>add command-line option <code>-fullscreen</code> to
2538        allow the feature to be enabled at startup.</li>
2539
2540        <li>add resource <code>fullscreen</code> to control whether
2541        the feature is active or may be enabled.</li>
2542      </ul>
2543    </li>
2544
2545    <li>modify <code>probe_netwm_fullscreen_capability</code> for
2546    64-bit machines. Contrary to <code>XGetWindowProperty</code>
2547    manpage, that function returns 32-bit data packed as
2548    <code>long</code>'s.</li>
2549
2550    <li>eliminate copy of <code>name</code> resource, which was
2551    otherwise used only to give the terminal-description name for
2552    the tcap-query feature. Use the actual <code>$TERM</code> value
2553    instead, as derived from <code>termName</code> resource,
2554    etc.</li>
2555
2556    <li>eliminate an old inconsistency with error messages, some
2557    used the <code>-name</code> option, while others used
2558    <code>argv[0]</code>. The latter is now used consistently.</li>
2559
2560    <li>improve configure check for rpath-hack, to improve builds
2561    on systems where gcc will not search /usr/local/lib, etc.</li>
2562
2563    <li>build-fix for Xaw3d configuration (report by H Merijn
2564    Brand).</li>
2565
2566    <li>update config.guess, config.sub</li>
2567  </ul>
2568
2569  <h1><a name="xterm_268" id="xterm_268">Patch #268 -
2570  2011/02/10</a></h1>
2571
2572  <ul>
2573    <li>fix an inconsistency of the "Enable Reverse Video" checkbox
2574    in the VT Options menu. This also removes a special case added
2575    in <a href="#xterm_217">patch #217</a> which limited the effect
2576    of the <code>reverseVideo</code> resource (Debian
2577    #603808).</li>
2578
2579    <li>amend decoding of misformed UTF-8 sequences to avoid
2580    absorbing valid characters as documented in Unicode 6.0 section
2581    3.9 (report by Keith Winstein).</li>
2582
2583    <li>do not set urgency hint when window already has focus
2584    (patch by Dimitrios Christidis).</li>
2585
2586    <li>amend extended mouse-coordinate mode from <a href=
2587    "#xterm_262">patch #262</a> changes to include the <em>Cb</em>
2588    button-code, which also may be greater than 127 (report by
2589    Ailin Nemui).</li>
2590
2591    <li>ensure that underline-cursor is visible when an application
2592    happens to set the background color (report by Christian
2593    Weisgerber).</li>
2594
2595    <li>add feature for <a href=
2596    "http://www.davidsimmons.com/soft/xtermhacks/xterm-fullscreen.patch">
2597    full-screen toggling</a> using either Alt-Enter or a menu
2598    selection (integrated patch by Dave Simmons).</li>
2599
2600    <li>add missing logic to handle reallocation of FIFO index for
2601    the "UTF-8" menu entry (report by David Holland, NetBSD
2602    #44344).</li>
2603
2604    <li>add makefile rules <code>docs-ctlseqs</code>,
2605    <code>docs-xterm</code>, etc.</li>
2606
2607    <li>correct typo in description of DECRPM in control sequences
2608    document (report by Ailin Nemui).</li>
2609  </ul>
2610
2611  <h1><a name="xterm_267" id="xterm_267">Patch #267 -
2612  2010/11/20</a></h1>
2613
2614  <ul>
2615    <li>minor formatting changes to ctlseqs.ms to simplify a script
2616    which extracts the feature information. See the results in
2617    <a href=
2618    "http://invisible-island.net/xterm/xterm.faq.html#compare_versions">
2619    Comparing versions, by counting controls</a> in the xterm
2620    FAQ.</li>
2621
2622    <li>add <code>docs-clean</code> makefile rule.</li>
2623
2624    <li>add <code>copy-selection</code> action (request by Timo
2625    Juhani Lindfors, Debian #588785).</li>
2626
2627    <li>trim leading/trailing blanks from string used for
2628    "Selection" font-menu data.</li>
2629
2630    <li>trim leading/trailing blanks from color resource
2631    values.</li>
2632
2633    <li>configure script improvements:
2634
2635      <ul>
2636        <li>add workaround for removal of X11 dependency from Xt's
2637        package file (report by Robert Hooker).</li>
2638
2639        <li>add workaround for removal of fontconfig dependency
2640        from Xft's package file (report by Jeremy Huddleston).</li>
2641
2642        <li>add workaround for removal of Xmu dependency from Xaw's
2643        package file (report by Jeremy Huddleston).</li>
2644
2645        <li>improve workaround in <code>CF_X_TOOLKIT</code> macro,
2646        checking for other possible packages where Xt's
2647        dependencies may be given.</li>
2648
2649        <li>prefer <code>${name:=value}</code> to
2650        <code>${name-value}</code>, since recent bash changes break
2651        legacy support for that feature.</li>
2652      </ul>
2653    </li>
2654  </ul>
2655
2656  <h1><a name="xterm_266" id="xterm_266">Patch #266 -
2657  2010/10/24</a></h1>
2658
2659  <ul>
2660    <li>add rpm and dpkg scripts, for testing.</li>
2661
2662    <li>more fixes for Debian #600707 (report by Cyril
2663    Brulebois).</li>
2664  </ul>
2665
2666  <h1><a name="xterm_265" id="xterm_265">Patch #265 -
2667  2010/10/22</a></h1>
2668
2669  <ul>
2670    <li>fix a regression in fontname logic from <a href=
2671    "#xterm_263">patch #263</a> changes (Debian #600707, reported
2672    by Vincent Lefevre).</li>
2673
2674    <li>revert modification of any-event/any-button protocol from
2675    <a href="#xterm_263">patch #263</a> changes. It interferes with
2676    selection using a shifted mouse button (reports by Neil Bird,
2677    Bram Moolenaar).</li>
2678  </ul>
2679
2680  <h1><a name="xterm_264" id="xterm_264">Patch #264 -
2681  2010/10/14</a></h1>
2682
2683  <ul>
2684    <li>replace a null-pointer check with check for empty string in
2685    <code>xtermOpenFont</code>, to eliminate a warning message from
2686    <a href="#xterm_263">patch #263</a> changes.</li>
2687
2688    <li>build-fix for <a href="#xterm_263">patch #263</a> when
2689    toolbar is not configured (patch by Chris Clayton) (reports by
2690    Robby Workman, David Wood).</li>
2691  </ul>
2692
2693  <h1><a name="xterm_263" id="xterm_263">Patch #263 -
2694  2010/10/13</a></h1>
2695
2696  <ul>
2697    <li>corrected initialization of "misc" resource values, to
2698    ensure that xterm has allocated a copy of strings which may not
2699    have been malloc'd by the X library (Debian #600129).</li>
2700
2701    <li>modify handling of any-event/any-button mouse protocol; it
2702    now is active with any combination of key-modifiers.</li>
2703
2704    <li>add debugging feature <code>showWrapMarks</code>, which
2705    marks lines which xterm knows are wrapped, showing where a
2706    double-click will select past the end of a line.</li>
2707
2708    <li>build-fix to address change in include-guards for
2709    <code>Xlib.h</code> in ongoing Xorg edits (patch by Jeremy
2710    Huddleston).</li>
2711
2712    <li>improve <code>pointerMode</code> by continuing to watch for
2713    motion events after mouse tracking is disabled if the pointer
2714    is hidden (Debian #594856).</li>
2715
2716    <li>further extend initialization for active-icon font to check
2717    if the font was not loaded succesfully, to retry with
2718    <code>font1</code>, or as even (if TrueType fonts are used) to
2719    use a TrueType font. The retries are to help with cases as in
2720    <a href="#xterm_241">patch #241</a> where the bitmap fonts are
2721    not available.</li>
2722
2723    <li>fix special case of active-icon used when TrueType font is
2724    specified for the xterm window, from <a href="#xterm_261">patch
2725    #261</a> change. In that case, the default font's size was used
2726    for layout of the active icon's window (Debian #591265).</li>
2727  </ul>
2728
2729  <h1><a name="xterm_262" id="xterm_262">Patch #262 -
2730  2010/8/30</a></h1>
2731
2732  <ul>
2733    <li>fix a case where changing the cursor color via escape
2734    sequences did not immediately update the screen (report by
2735    Andreas Wagner).</li>
2736
2737    <li>implement ANSI and DEC request-mode control sequences. The
2738    latter includes the xterm-specific private modes such as the
2739    mouse mode. The feature is ifdef'd with the rectangle
2740    operations since its decoding overlaps that feature.</li>
2741
2742    <li>correct typo in ctlseqs.ms for response of OSC 21 (patch by
2743    Kevin Schoedel).</li>
2744
2745    <li>improve discussion of mouse tracking in ctlseqs.ms</li>
2746
2747    <li>increase an array limit used in reporting mouse events
2748    (report by Ryan Johnson).</li>
2749
2750    <li>add extended mouse-coordinates mode, allowing up to
2751    2015x2015 windows, using UTF-8 encoding (patch by Ryan
2752    Johnson).</li>
2753
2754    <li>modify manpage hyphens to conform with <a href=
2755    "http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html">
2756    Debian</a>.</li>
2757  </ul>
2758
2759  <h1><a name="xterm_261" id="xterm_261">Patch #261 -
2760  2010/6/28</a></h1>
2761
2762  <ul>
2763    <li>fix regression in <code>renderFont</code> logic, from
2764    <a href="#xterm_260">patch #260</a> changes (report by Joseph
2765    Quinsey).</li>
2766  </ul>
2767
2768  <h1><a name="xterm_260" id="xterm_260">Patch #260 -
2769  2010/6/20</a></h1>
2770
2771  <ul>
2772    <li>modify <code>plink.sh</code> to work around problem linking
2773    to recent PCRE libraries.</li>
2774
2775    <li>extend <code>renderFont</code> resource to allow deferred
2776    switch to TrueType fonts without affecting existing resource
2777    settings (Debian #585620).</li>
2778
2779    <li>modify configure macro CF_X_TOOLKIT to work around omission
2780    of ICE library from ".pc" file (report by Miroslav
2781    Lichvar).</li>
2782
2783    <li>change configure script default for
2784    <code>--enable-broken-st</code> i.e., the
2785    <code>brokenStringTerm</code> feature) to normally enable it.
2786    If the corresponding resource is enabled, this feature
2787    eliminates an apparent freeze of xterm when sending mis-encoded
2788    data to the screen (Debian #584801).</li>
2789
2790    <li>document in manpage some actions which were overlooked:
2791
2792      <ul>
2793        <li>readline-button</li>
2794
2795        <li>scroll-lock</li>
2796
2797        <li>set-8-bit-control</li>
2798      </ul>
2799    </li>
2800
2801    <li>undo a change to limit-check in <code>ScrnRefresh</code> in
2802    <a href="#xterm_257">patch #257</a>, which broke
2803    <code>fastScroll</code> feature (Debian #584841).</li>
2804
2805    <li>modify handling of <code>brokenLinuxOSC</code> and
2806    <code>brokenStringTerm</code> to also sound the bell.</li>
2807
2808    <li>add control/D and control/Q to controls which will cause
2809    early exit from control string per
2810    <code>brokenStringTerm</code> resource.</li>
2811
2812    <li>improve documentation of <code>brokenStringTerm</code>
2813    resource in manpage.</li>
2814  </ul>
2815
2816  <h1><a name="xterm_259" id="xterm_259">Patch #259 -
2817  2010/6/5</a></h1>
2818
2819  <ul>
2820    <li>modify configure check for <a href=
2821    "http://invisible-island.net/luit/">luit</a> to include new
2822    aliases for the program (<code>xterm-filter</code> and
2823    <code>bluit</code>).</li>
2824
2825    <li>add workaround in <code>xtermClearLEDs()</code> to account
2826    for Xkb's override, making vttest's LED demo reset the scroll
2827    lock.</li>
2828
2829    <li>filter out client-message events when deciding whether to
2830    hide cursor, e.g., when using SCIM (patch/report by anonymous
2831    user).</li>
2832
2833    <li>improve description of <code>-bd</code> option in manpage
2834    (report by Guy Daniel Clotilde).</li>
2835
2836    <li>modify configure checks for PCRE and other libraries to use
2837    <code>pkg-config</code>, if available.</li>
2838
2839    <li>amend change from <a href="#xterm_252">patch #252</a>, to
2840    take <code>veryColorColors</code> resource into account when
2841    checking <code>colorBDMode</code> resource for TrueType fonts
2842    (report by anonymous user).</li>
2843
2844    <li>add <code>vttests/query-fonts.pl</code> script for
2845    demonstrating the <code>OSC&nbsp;50</code> font query.</li>
2846
2847    <li>improve manpage discussion of Scroll Lock feature.</li>
2848
2849    <li>improve configure macros CF_GCC_VERSION and
2850    CF_GCC_WARNINGS.</li>
2851
2852    <li>fix warnings for "clang --analyze".</li>
2853
2854    <li>change default for <code>allowScrollLock</code> resource to
2855    <code>false</code>, noting that the supposedly unused key has
2856    been useful for various rebindings (Debian #580946).</li>
2857  </ul>
2858
2859  <h1><a name="xterm_258" id="xterm_258">Patch #258 -
2860  2010/5/1</a></h1>
2861
2862  <ul>
2863    <li>add pointer-checks in <code>ScrnRefresh</code> to fix a
2864    case in rapid scrolling where an empty record is fetched from
2865    the scrollback FIFO.</li>
2866  </ul>
2867
2868  <h1><a name="xterm_257" id="xterm_257">Patch #257 -
2869  2010/4/22</a></h1>
2870
2871  <ul>
2872    <li>correct ctlseqs.ms description of OSC 17 and OSC 19 (patch
2873    by Emanuele Giaquinta).</li>
2874
2875    <li>corrected logic for <code>menuLocale</code> resource; the
2876    <code>setlocale</code> function returns the original locale
2877    only when querying.</li>
2878
2879    <li>improve filtering of translations resource, narrowing the
2880    scope of the <code>alwaysUseMods</code> to address only the
2881    translations that would cause a key to be sent to the host
2882    (report by Andrew Gaylard).</li>
2883
2884    <li>change default value of <code>menuLocale</code> resource to
2885    "C", to work around longstanding <a href=
2886    "http://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg
2887    bug</a>.</li>
2888
2889    <li>modify handling of <code>scrollKey</code> feature to ignore
2890    XON/XOFF keys.</li>
2891
2892    <li>implement scroll-lock feature.</li>
2893
2894    <li>revise memory allocation in UTF8toLatin1() to fix an
2895    out-of-bounds index (Mandriva #54531).</li>
2896
2897    <li>compute value for first wide-character rather than assuming
2898    it is 256, fixes problem with <code>-cjk_width</code>
2899    introduced in patches <a href="#xterm_242">242</a> and <a href=
2900    "#xterm_249">249</a> (report by Thomas Wolff).</li>
2901
2902    <li>improve configure script:
2903
2904      <ul>
2905        <li>corrected check for <code>_XOPEN_SOURCE</code> for
2906        OpenSolaris.</li>
2907
2908        <li>when possible, add rpath option for libraries in
2909        unusual places</li>
2910
2911        <li>add configure option <code>--disable-rpath-hack</code>
2912        to control whether the rpath option can be added.</li>
2913      </ul>
2914    </li>
2915
2916    <li>modify <code>AllocateTermColor()</code> to separate
2917    initialization from control sequences, fixing problem from
2918    <a href="#xterm_254">patch #254</a> changes where enabling
2919    <code>allowSendEvents</code> resource prevents setting cursor
2920    color on command-line (Debian #572928).</li>
2921
2922    <li>amend logic from <a href="#xterm_185">patch #185</a> to not
2923    reallocate cell-array if processing
2924    <code>ESC&nbsp;%&nbsp;G</code> to switch from UTF-8 if already
2925    in ISO-8859-1 character set (report by Michael Koehne).</li>
2926
2927    <li>fix to avoid calling <code>XmuInternStrings()</code> with
2928    zero count (report by Johan Bockg&aring;rd).</li>
2929
2930    <li>fix build when --disable-ansi-color configure option is
2931    used.</li>
2932
2933    <li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is
2934    defined (patch by Matthieu Herrb)</li>
2935  </ul>
2936
2937  <h1><a name="xterm_256" id="xterm_256">Patch #256 -
2938  2010/3/6</a></h1>
2939
2940  <ul>
2941    <li>add TerminalEmulator to desktop category files.</li>
2942
2943    <li>modify <code>sinstall.sh</code> to ignore the "." appended
2944    to permissions by selinux.</li>
2945
2946    <li>change app-defaults organization, installing UXTerm-color
2947    and KOI8XTerm-color for consistent behavior regarding
2948    <code>customization:&nbsp;color</code> (prompted by discussion
2949    in Ubuntu #421261).</li>
2950
2951    <li>fix typo in <code>minstall.sh</code> from <a href=
2952    "#xterm_255">patch #255</a> changes, and add case for
2953    <code>/var/run</code> needed for full path of utmp (report by
2954    Julien Cristau).</li>
2955
2956    <li>minor fix to xterm manpage, remove a comment stating that
2957    margin bell can be changed via the VT Options menu. That was
2958    replaced in <a href="#xterm_225">patch #225</a></li>
2959
2960    <li>add a "docs" rule to makefile.</li>
2961
2962    <li>fix initialization of Atom used for <code>XkbBell</code>
2963    feature from <a href="#xterm_243">patch 243</a> changes. Unlike
2964    the other calls to <code>XInternAtom()</code>, in this case the
2965    flag telling X to create the Atom was unset (patch by Chris
2966    Adams).</li>
2967  </ul>
2968
2969  <h1><a name="xterm_255" id="xterm_255">Patch #255 -
2970  2010/1/21</a></h1>
2971
2972  <ul>
2973    <li>rename <code>install.sh</code> to <code>install-sh</code>
2974    in case suffix-rules might interfere.</li>
2975
2976    <li>extend range for <code>convertToUTF8</code> function to
2977    full 31-bits, to use with printing, etc.</li>
2978
2979    <li>improve manpage by checking for actual locations of
2980    utmp/wtmp files (Debian #562640).</li>
2981
2982    <li>modify configure macro CF_XOPEN_SOURCE to remove -D's
2983    before adding the same name rather than relying on -U's, to
2984    reduce redefinition warnings for some platforms that have
2985    conflicting definitions in headers.</li>
2986
2987    <li>correct logic used to switch to alternate screen using
2988    FIFO-lines configuration (Debian #565772).</li>
2989
2990    <li>update config.guess, config.sub</li>
2991  </ul>
2992
2993  <h1><a name="xterm_254" id="xterm_254">Patch #254 -
2994  2010/1/6</a></h1>
2995
2996  <ul>
2997    <li>add a configure-check to eliminate <code>install-ti</code>
2998    rule from Makefile when the system has no tic (terminfo
2999    compiler) program. This lets one use the
3000    <code>install-full</code> rule more consistently.</li>
3001
3002    <li>amend change to WriteText() function in <a href=
3003    "#xterm_252">patch #252</a> to take into account the
3004    <code>colorAttrMode</code> resource (report by Krzysztof
3005    Kotlenga).</li>
3006
3007    <li>document <code>titleModes</code> resource in manpage, added
3008    in <a href="#xterm_252">patch #252</a>.</li>
3009
3010    <li>modify tcap-query table entries for shifted up/down cursor
3011    keys to match ncurses convention.</li>
3012
3013    <li>improve lookup of termcap-query data, allowing for
3014    duplicate keycodes versus missing entries.</li>
3015
3016    <li>add control sequence which can be used to modify the
3017    terminal data used for the termcap-keyboard.</li>
3018
3019    <li>improve portability of tcap-query feature, using terminfo
3020    functions in preference to termcap on systems having
3021    terminfo.</li>
3022
3023    <li>improve font-setting/querying control
3024    (<code>OSC&nbsp;50</code>):
3025
3026      <ul>
3027        <li>when TrueType font is selected, the TrueType
3028        <code>faceName</code> will be set, rather than the bitmap
3029        font.</li>
3030
3031        <li>when TrueType font is selected, querying returns the
3032        name of the TrueType font.</li>
3033
3034        <li>querying a font recognizes the relative-font convention
3035        that setting a font could use.</li>
3036      </ul>
3037    </li>
3038
3039    <li>add menu-entry for allowColorOps.</li>
3040
3041    <li>add new resources for fine-tuning menu entries:
3042    <code>allowColorOps</code>, <code>disallowedColorOps</code>,
3043    <code>disallowedFontOps</code> and
3044    <code>disallowedTcapOps</code>.</li>
3045
3046    <li>correct logic for disabling the "TrueType Fonts" menu item;
3047    it was not ensuring that the <code>faceName</code> resource
3048    value was non-empty.</li>
3049
3050    <li>implement VT520-style controls <code>DECSMBV</code> and
3051    <code>DECSWBV</code> for setting the margin- and warning-bell
3052    volume.</li>
3053
3054    <li>fix a minor error from <a href="#xterm_243">patch #243</a>
3055    which made the zIconBeep feature use a minor-error tone rather
3056    than an informational tone.</li>
3057
3058    <li>add a null-pointer check for the case where
3059    <code>renderFont</code> resource is true, but
3060    <code>faceName</code> resource is unset, used in logic to strip
3061    "xft:" prefix from <a href="#xterm_251">patch #251</a> changes
3062    (patch by Michael Riepe).</li>
3063
3064    <li>add special case to configure CF_XOPEN_SOURCE macro to use
3065    extensions on Darwin (patch by Dennis Preiser).</li>
3066
3067    <li>improve configure checks for regular expressions header and
3068    library</li>
3069
3070    <li>update config.guess, config.sub</li>
3071  </ul>
3072
3073  <h1><a name="xterm_253" id="xterm_253">Patch #253 -
3074  2009/12/10</a></h1>
3075
3076  <ul>
3077    <li>add a null-pointer check in <code>getPrinterFlags()</code>
3078    per changes in <a href="#xterm_252">patch #252</a>.</li>
3079
3080    <li>add a null-pointer check, needed in UTF-8 mode for Xft
3081    fonts after changes in <a href="#xterm_252">patch #252</a>
3082    (patch by Alan Coopersmith).</li>
3083
3084    <li>correct size when clearing struct for tek4014 (patch by
3085    Jochen Voss).</li>
3086
3087    <li>parenthesize expression in <code>MoreRows</code> macro,
3088    fixing a limit check added in <a href="#xterm_251">patch
3089    #251</a> (Debian #560039).</li>
3090  </ul>
3091
3092  <h1><a name="xterm_252" id="xterm_252">Patch #252 -
3093  2009/12/7</a></h1>
3094
3095  <ul>
3096    <li>modify title-querying logic to support retrieval of titles
3097    encoded using UTF-8.</li>
3098
3099    <li>add new "title-modes" control sequence for controlling
3100    whether window/icon titles can be set or queried using UTF-8,
3101    optionally encoded in a hexadecimal string.</li>
3102
3103    <li>use <code>mkdir&nbsp;-p</code> rather than
3104    <code>mkdirs.sh</code> (prompted by discussion of mawk by
3105    Aleksey Cheusov).</li>
3106
3107    <li>add appropriate copyright/license notices to the bulk of
3108    files lacking same, and modify to use identical terms in others
3109    which used different wording. The main exceptions are the files
3110    contributed by Markus Kuhn, who appears to prefer public domain
3111    distribution, noting that I have modified/improved several of
3112    these without changing the terms of distribution (request by
3113    Jari Aalto).</li>
3114
3115    <li>add control sequences for resetting the "dynamic" colors to
3116    their default values.</li>
3117
3118    <li>add control sequences for resetting the "special" colors to
3119    their default values.</li>
3120
3121    <li>add control sequences for setting the "special" colors such
3122    as <code>colorBD</code> (bold).</li>
3123
3124    <li>add overlooked case for setting highlight foreground color
3125    with the dynamic-colors control.</li>
3126
3127    <li>add <code>OSC 104</code>, for resetting ANSI/16/88/256
3128    colors to default.</li>
3129
3130    <li>reset ANSI/16/88/256 colors to default in soft/hard reset
3131    functions.</li>
3132
3133    <li>strip "xft:" prefix from <code>faceName</code> and
3134    <code>faceNameDoublesize</code> resource values,</li>
3135
3136    <li>add <code>DECSCUSR</code> (discussion with Andy
3137    Koppe).</li>
3138
3139    <li>add check/warning on failure to load font, to see if the
3140    name looks like an Xft pattern rather than XLFD. This can
3141    happen if someone happens to modify their X resource settings
3142    for programs that read data from xterm's namespace.</li>
3143
3144    <li>modify handling of <code>print</code> and
3145    <code>print-everything</code> actions to allow the various
3146    printer flags to be overridden by supplying parameters.</li>
3147
3148    <li>add resource <code>printerNewLine</code> (request by Ovidiu
3149    Gheorghioiu).</li>
3150
3151    <li>minor cleanup, finish using <code>TScreenOf()</code> and
3152    <code>TekScreenOf()</code> macros introduced in <a href=
3153    "#xterm_224">patch #224</a>.</li>
3154
3155    <li>improve checks in ShowCursor/HideCursor to get the
3156    background color, particularly when
3157    <code>highlightReverse</code> resource is used (reports by Jan
3158    Engelhardt, Christian Weisgerber).</li>
3159
3160    <li>correct <code>checkVeryBoldAttr</code> to omit comparison
3161    of foreground color to special color values used for
3162    <code>color&lt;XX&gt;</code> resources (report by Jan
3163    Engelhardt).</li>
3164
3165    <li>make <code>colorBDMode</code> and <code>colorULMode</code>
3166    resources work with TrueType configuration (report by Jan
3167    Engelhardt).</li>
3168  </ul>
3169
3170  <h1><a name="xterm_251" id="xterm_251">Patch #251 -
3171  2009/11/11</a></h1>
3172
3173  <ul>
3174    <li>add window-ops controls to push/pop icon and/or window
3175    labels on a stack.</li>
3176
3177    <li>minor fixes to align termcap file with terminfo.</li>
3178
3179    <li>add resource <code>disallowedWindowOps</code>, to allow
3180    fine-tuning of features to suppress with the
3181    <code>allowWindowOps</code> resource (prompted by discussion
3182    with Bram Moolenaar).</li>
3183
3184    <li>add makefile rules for resize-manpage to pdf, etc.</li>
3185
3186    <li>further improve limit-checks in select/paste (Mandriva
3187    #54531).</li>
3188  </ul>
3189
3190  <h1><a name="xterm_250" id="xterm_250">Patch #250 -
3191  2009/10/13</a></h1>
3192
3193  <ul>
3194    <li>add check and error-message for fonts that have no
3195    printable values in the ISO-8859-1 range (Debian #542434).</li>
3196
3197    <li>some compiler-warning cleanup, in particular workaround for
3198    defective implementation of gcc's attribute warn_unused_result
3199    (report by Bram Moolenaar).</li>
3200
3201    <li>improve estimate of single-column width for packed TrueType
3202    fonts by ignoring extents for codes 127 and 159.</li>
3203
3204    <li>improve line-drawing for TrueType fonts which happen to
3205    have defined glyphs which are <em>not</em> line-drawing in
3206    0..31 by assuming they're not, and just checking the existence
3207    of the Unicode codepoints. This makes it more likely that the
3208    user can override a misconfigured font using the "Line-Drawing
3209    Characters" menu entry.</li>
3210
3211    <li>limit minimum cell-width for packed font to maximum-advance
3212    reported by Xft. Some fonts are wider than that, even in the
3213    Latin-1 range (Debian #550497).</li>
3214
3215    <li>add list of direct-contributors in "THANKS" file.</li>
3216
3217    <li>stylistic changes to this file to help scripted extraction
3218    of list of contributors.</li>
3219
3220    <li>correct off-by-one in <code>okPosition</code> fix from
3221    <a href="#xterm_249">patch #249</a> limit-checks which
3222    prevented double-click selection on the bottom line of the
3223    screen (reports by Rajeev V. Pillai, Debian #550368).</li>
3224
3225    <li>add <code>-q</code> option to
3226    <code>vttest/256colors2.pl</code> and
3227    <code>vttest/88colors2.pl</code> to demonstrate bulk
3228    initialization of color palette.</li>
3229
3230    <li>improve the workaround from patch #188 by enabling
3231    resources for the 88-color model.</li>
3232
3233    <li>document in xterm manpage the limited availability of
3234    resources <code>color16</code> to <code>color255</code> as
3235    noted in <a href="#xterm_188">patch #188</a> (Ubuntu
3236    #438850).</li>
3237  </ul>
3238
3239  <h1><a name="xterm_249" id="xterm_249">Patch #249 -
3240  2009/10/1</a></h1>
3241
3242  <ul>
3243    <li>change default for <code>allowWindowOps</code> resource to
3244    false. 
3245    <!-- on the other hand, gnome-terminal, pterm and rxvt-unicode
3246                leave most of the related functionality enabled ;-) --></li>
3247
3248    <li>add limit-checks for result of visual_width() function,
3249    needed from <a href="#xterm_242">patch #242</a> and exposed by
3250    #244 changes (Debian #548321).</li>
3251
3252    <li>improve limit-checks in select/paste.</li>
3253
3254    <li>fix a remaining bug from <a href="#xterm_230">patch
3255    #230</a> changes for displaying multi-column characters in a
3256    proportional font (report by Chris Jones).</li>
3257
3258    <li>add new resource forcePackedFont and menu entry "Packed
3259    Font" to control whether to use the font's minimum (default) or
3260    maximum width when those differ. The workaround which xterm
3261    uses to accommodate proportional fonts is not necessary with
3262    certain fonts such as unifont which happen to store a mixture
3263    of multicolumn glyphs (report by Chris Jones).</li>
3264
3265    <li>fix an (old) bug which did not restart the timer for
3266    blinking text if the only blinking text was temporarily
3267    scrolled out of view, e.g., using the scrollbar.</li>
3268
3269    <li>fix an (old) flaw in the delete-line operation where the
3270    text which is scrolled into view while the display is scrolled
3271    up was not repainted.</li>
3272
3273    <li>improve delete-line and insert-line operations, retaining
3274    selection when the selection does not intersect the
3275    deleted/inserted lines.</li>
3276
3277    <li>fix an (old) off-by-one error when an application cleared
3278    above the cursor position while the display was scrolled up,
3279    that would leave an extra line of text uncleared.</li>
3280
3281    <li>fix a similar problem where the double-size attribute would
3282    not be reset when clearing the screen while the display was
3283    scrolled up.</li>
3284
3285    <li>fix an indexing error which would occur if an application
3286    cleared a line while the display was scrolled up and was also
3287    in UTF-8 mode (Redhat #524503). The error was from <a href=
3288    "#xterm_228">patch #228</a> but more visible after changes from
3289    <a href="#xterm_244">patch #244</a>.</li>
3290  </ul>
3291
3292  <h1><a name="xterm_248" id="xterm_248">Patch #248 -
3293  2009/9/11</a></h1>
3294
3295  <ul>
3296    <li>fix an overlooked adjustment for selecting double-width
3297    characters in the narrow-character configuration.</li>
3298
3299    <li>eliminate uses of <code>XTERM_CELL</code> and
3300    <code>XTERM_CELLC</code> where an appropriate
3301    <code>LineData</code> pointer is available.</li>
3302
3303    <li>correct expression in <code>okScrnRow</code> macro, making
3304    selections give the length of lines below the visible screen
3305    (report by Stuart Henderson).</li>
3306
3307    <li>correct logic used to improve performance of missing-glyph
3308    check, which did not handle line-drawing characters (Debian
3309    #545220).</li>
3310  </ul>
3311
3312  <h1><a name="xterm_247" id="xterm_247">Patch #247 -
3313  2009/8/30</a></h1>
3314
3315  <ul>
3316    <li>add ifdef's and check for openpty() on DragonFly (patch by
3317    Alex Hornung).</li>
3318
3319    <li>correct calculation for size of line's data block, which
3320    was sometimes off-by-one when configured using
3321    <code>--enable-16bit-chars</code> (report by H Merijn
3322    Brand).</li>
3323
3324    <li>fix indexing error in print-everything feature from
3325    <a href="#xterm_246">patch #246</a> (patch by Ovidiu
3326    Gheorghioiu).</li>
3327  </ul>
3328
3329  <h1><a name="xterm_246" id="xterm_246">Patch #246 -
3330  2009/8/16</a></h1>
3331
3332  <ul>
3333    <li>remove obsolete logic for saving/restoring wrapping flags,
3334    which did not work on 64-bit platform. Wrapping flags (stored
3335    in the line-index) are now copied with line-data (Debian
3336    #541160).</li>
3337
3338    <li>modify comments in app-defaults files to avoid problem with
3339    C preprocessor used by <code>xrdb</code> (Debian #541603).</li>
3340
3341    <li>restore special case in <code>makeColorPair</code>, needed
3342    for <code>colorBDMode</code> resource (Debian #541089).</li>
3343
3344    <li>correct <code>SetLineFlags()</code> macro, broken in
3345    <a href="#xterm_244">patch #244</a> when recoding to avoid
3346    gcc-specific bitfields (Debian #541236).</li>
3347
3348    <li>modify initialization of screen buffers to ensure that
3349    pointers align to int-boundaries. This fixes a problem
3350    introduced in <a href="#xterm_244">patch #244</a> where the
3351    color- and character-arrays (stored after the video-attributes
3352    in each row) might be misaligned (report by Rajeev V
3353    Pillai).</li>
3354
3355    <li>add limit-check in <code>ScrnRefresh</code> for handling
3356    saved-lines from the circular buffer which are repainted on a
3357    screen whose width has increased. To improve performance,
3358    circular buffer entries are not resized (report by Rajeev V
3359    Pillai).</li>
3360
3361    <li>correct type for <code>CellColor</code> (a late change in
3362    <a href="#xterm_244">patch #244</a> to avoid gcc-specifc enums
3363    made that unsigned rather than unsigned short, for the
3364    256-color option).</li>
3365
3366    <li>fix typo in configure option --enable-16bit-chars (report
3367    by Rajeev V. Pillai).</li>
3368  </ul>
3369
3370  <h1><a name="xterm_245" id="xterm_245">Patch #245 -
3371  2009/8/12</a></h1>
3372
3373  <ul>
3374    <li>correct a special case in saving FIFO-lines from <a href=
3375    "#xterm_244">patch #244</a>. If the screen was shrunk, xterm
3376    used the wrong amount for copying to FIFO-lines, and then used
3377    this amount to adjust the current row on the screen. That was
3378    both a visible defect (Debian #541109) as well as a potential
3379    addressing error (Debian #541132, Debian #541160, and Debian
3380    #541236).</li>
3381
3382    <li>add clarification in xterm manual about the various
3383    <code>allow<em>XXX</em>Ops</code> resources, which are disabled
3384    when the <code>allowSendEvents</code> resource is active (patch
3385    by Julien Cristau, Debian #531597).</li>
3386  </ul>
3387
3388  <h1><a name="xterm_244" id="xterm_244">Patch #244 -
3389  2009/8/9</a></h1>
3390
3391  <ul>
3392    <li>refactored storage of saved-lines, providing a configure
3393    option to manage them as a FIFO (actually a circular buffer),
3394    improving performance. Added configure option
3395    <code>--enable-fifo-lines</code> to enable/disable the new
3396    feature (it is enabled by default).</li>
3397
3398    <li>added <code>fastScroll</code> resource, to amuse people who
3399    measure terminal emulator performance by <code>cat</code>'ing
3400    large files to the screen.</li>
3401
3402    <li>modify check in <code>readPtyData</code> from return values
3403    to provide exit on zero-bytes read from pty for FreeBSD, or
3404    eliminate high-CPU in "xterm-hold" processing (discussion with
3405    Ulrich Spoerlein, FreeBSD ports/136686). The check was
3406    originally modified to combine negative/zero values in
3407    XFree86-3.1.2E, 1996/05/06.</li>
3408
3409    <li>add configure option <code>--enable-16bit-chars</code> to
3410    provide wide-characters with 16-bits (rather than the default
3411    32-bits).</li>
3412
3413    <li>add <code>retryInputMethod</code> resource to allow
3414    configuring out the retries xterm uses to connect to
3415    non-responsive XIM server, to work around defective X
3416    configurations as noted in <a href=
3417    "http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html">
3418    NetBSD mailing list</a>.</li>
3419
3420    <li>make regular-expression selection work for VT100
3421    double-sized characters.</li>
3422
3423    <li>improve layout when drawing missing characters in a
3424    proportional font, e.g., as boxes, to take into account whether
3425    they are double-width (report by Guilbert Stabilo on
3426    comp.unix.shell).</li>
3427
3428    <li>add capability for keypad-center (kb2/KA2) to termcap entry
3429    for xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220
3430    (FreeBSD conf/136336).</li>
3431
3432    <li>change default for <code>keepSelection</code> resource to
3433    true (prompted by discussion with David Muir Sharnoff).</li>
3434
3435    <li>remove a limit-check in ptydata.c, allowing Unicode values
3436    past 64k to be displayed using TrueType fonts (Debian
3437    #458432).</li>
3438
3439    <li>remove a vt52-specific ifdef to allow mapping F1-F4 to
3440    PF1-PF4 when vt52 support is not compiled (report by Olaf
3441    'Rhialto' Seibert).</li>
3442
3443    <li>save/restore line-wrapping flags when converting from
3444    ISO-8859-1 encoding to UTF-8 encoding, as well as when resizing
3445    screen.</li>
3446
3447    <li>remove extra adjustment of position in fix for Debian
3448    #418324.</li>
3449
3450    <li>modify default check for <code>mkWidth</code> resource to
3451    check for line-drawing characters, which are categorized as
3452    double-width in Solaris 10 (report by Sebastian Kayser).</li>
3453
3454    <li>add "print-everything" action (patch by Ovidiu
3455    Gheorghioiu).</li>
3456
3457    <li>start refactoring scrollback data using new getLineData()
3458    function.</li>
3459
3460    <li>demote recent change to Debian #252873 fix to experimental,
3461    ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141).</li>
3462
3463    <li>work around groff mapping of ASCII quotes using macros
3464    (requested by Reuben Thomas based on Colin Watson advice, fixes
3465    Debian #378700).</li>
3466
3467    <li>correct symbol used for default of
3468    <code>allowWindowOps</code> which was
3469    <code>DEF_ALLOW_FONT</code> rather than
3470    <code>DEF_ALLOW_WINDOW</code> (report by Matthieu Herrb).</li>
3471
3472    <li>amend fix for tek4014 from <a href="#xterm_243">patch
3473    #243</a> to make it only apply to the Tek Options menu.</li>
3474  </ul>
3475
3476  <h1><a name="xterm_243" id="xterm_243">Patch #243 -
3477  2009/3/28</a></h1>
3478
3479  <ul>
3480    <li>revert change to default for <code>allowTcapOps</code>
3481    (request by Bram Moolenaar).</li>
3482
3483    <li>reallocate result returned by <code>xtermEnvLocale()</code>
3484    to avoid reference to freed memory after handling
3485    <code>menuLocale</code> resource.</li>
3486
3487    <li>fix an old (X11R5) bug in tek4014 for switching
3488    fontsizes.</li>
3489
3490    <li>add resource <code>defaultString</code> to make
3491    configurable the use of "#" when pastes of UTF-8 text fail due
3492    to limitations in the current locale settings.</li>
3493
3494    <li>make the set of selection target Atom's configurable by two
3495    new resources <code>eightBitSelectTypes</code> and
3496    <code>utf8SelectTypes</code>, e.g., to use the
3497    <code>TEXT</code> Atom in preference to
3498    <code>UTF8_STRING</code> (discussion with Stanislav Sedov
3499    regarding koi8rxterm and the FreeBSD port).</li>
3500
3501    <li>modify handling of <code>TARGETS</code> Atom by making it
3502    return exactly the set of targets as those which xterm is
3503    currently providing.</li>
3504
3505    <li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly
3506    to /bin/cat in <code>minstall.sh</code> to work around
3507    /etc/man.conf's with those variables already set (report by
3508    &#1052;&#1072;&#1088;&#1100;&#1103;&#1089;&#1080;&#1085;
3509    &#1057;&#1077;&#1084;&#1105;&#1085;).</li>
3510
3511    <li>improve error-checking of tcap-query parser.</li>
3512
3513    <li>add check for keyboard <code>tcap</code>), which ensures
3514    that terminal descriptions containing the same string for
3515    shifted/unshifted keys will be seen by tcap-query as only the
3516    unshifted key. (This would only happen with an incorrect
3517    terminal description).</li>
3518
3519    <li>fix conversion for input event-state to modifier-parameter
3520    which made tcap-query feature not work with
3521    <code>tcapFunctionKeys</code> (keyboard type
3522    <code>tcap</code>).</li>
3523
3524    <li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow
3525    overriding the default compiled-in values for
3526    "allow<em>xxx</em>" resources.</li>
3527
3528    <li>remove check on bell-percentage added in <a href=
3529    "#xterm_242">patch #242</a>, which disallowed zero/negative
3530    values (Redhat Bugzilla #487829).</li>
3531  </ul>
3532
3533  <h1><a name="xterm_242" id="xterm_242">Patch #242 -
3534  2009/2/15</a></h1>
3535
3536  <ul>
3537    <li>fix configure check for <code>XkbBell</code> and provide
3538    appropriate parameter for it.</li>
3539
3540    <li>fix a caching problem with double-size fonts versus reverse
3541    video that could cause core dump.</li>
3542
3543    <li>repair double-size fonts from workaround used in <a href=
3544    "#xterm_240">patch #240</a>.</li>
3545
3546    <li>add new section to the VT Fonts menu which allows enabling
3547    or disabling the font, termcap (tcap-query), title and window
3548    operations.</li>
3549
3550    <li>add <code>fontWarnings</code> resource, to control whether
3551    to show warnings on failure to load a font.</li>
3552
3553    <li>improve warnings for unloadable fonts introduced in
3554    <a href="#xterm_240">patch #240</a> by limiting those to the
3555    cases where a font would be specified directly by a resource
3556    setting rather than a derived fontname.</li>
3557
3558    <li>further amend fix for Debian #252873 from <a href=
3559    "#xterm_197">patch #197</a> to treat a blank cell which does
3560    not have both foreground and background colored as a
3561    non-colored cell. This improves a special case where the cursor
3562    is on a blank cell which had foreground color scrolled in
3563    (report by Miroslav Lichvar).
3564
3565      <p>Also add the same logic when hiding cursor, so the outline
3566      matches the in-focus cursor.</p>
3567    </li>
3568
3569    <li>modify internals to reduce places PAIRED_CHARS() is used,
3570    making WriteText() and ScrnWriteText() accept IChar array, as
3571    well as providing a wrapper for drawXtermText().</li>
3572
3573    <li>change default XIM font from "*" to "fixed" to improve
3574    startup time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla
3575    #464930).</li>
3576
3577    <li>typo in #240 log (Slava Semushin)</li>
3578  </ul>
3579
3580  <h1><a name="xterm_241" id="xterm_241">Patch #241 -
3581  2009/1/26</a></h1>
3582
3583  <ul>
3584    <li>improve checks for missing bitmap fonts, fallback to
3585    "fixed" as needed to work around broken font-packages (report
3586    by Jacek Luczak).</li>
3587
3588    <li>fix breakage from <a href="#xterm_240">patch #240</a>
3589    changes for <code>xtermAddInput()</code> (patches by Jeff Chua,
3590    Julien Cristau).</li>
3591  </ul>
3592
3593  <h1><a name="xterm_240" id="xterm_240">Patch #240 -
3594  2009/1/25</a></h1>
3595
3596  <ul>
3597    <li>use <code>plink.sh</code> for linking xterm (suggested by
3598    Larry Doolittle).</li>
3599
3600    <li>add resource descriptions for input method to xterm
3601    manpage.</li>
3602
3603    <li>update configure script; consistently append to $CFLAGS
3604    rather than prepend.</li>
3605
3606    <li>add <code>install-scripts</code> rule to makefile, to allow
3607    koi8rxterm and uxterm scripts to be altered independently of
3608    <code>install-bin</code></li>
3609
3610    <li>add <code>-maximized</code> command-line option and
3611    corresponding resource (prompted by alt.os.linux newsgroup
3612    comment).</li>
3613
3614    <li>modify translations of scrollbar widget using
3615    <code>xtermAddInput()</code> (see <a href="#xterm_181">patch
3616    #181</a>) to accept the actions that the vt100 widget accepts,
3617    such as shift-insert to perform a paste operation (request by
3618    Martin Zwickel).</li>
3619
3620    <li>change default for <code>allowTcapsOps</code> resource to
3621    false, since it causes unexpected behavior for vim users with
3622    <code>AltGr</code>.</li>
3623
3624    <li>update config.guess, config.sub</li>
3625  </ul>
3626
3627  <h1><a name="xterm_239" id="xterm_239">Patch #239 -
3628  2009/1/8</a></h1>
3629
3630  <ul>
3631    <li>correct a cast in input.c, which broke translation of
3632    numeric keypad codes to pageup, pagedown, etc., on 64-bit
3633    platform (Debian #511138, report by Larry Doolittle).</li>
3634  </ul>
3635
3636  <h1><a name="xterm_238" id="xterm_238">Patch #238 -
3637  2008/12/30</a></h1>
3638
3639  <ul>
3640    <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint
3641    platforms.</li>
3642
3643    <li>reset the screen wrapping-flag at the end of
3644    <code>ClearRight</code> to fix an occasional case where the
3645    last character of a scrolled and wrapped line would be cleared
3646    (patch by Joe Peterson).</li>
3647
3648    <li>modify to use POSIX coding for comparing resource settings
3649    such as <code>locale</code>, to work with locales such as
3650    Turkish (report by M Vefa Bicakci).</li>
3651
3652    <li>turn on configure <code>paste64</code> feature by default
3653    (request by Jean-Philippe Bernardy). It is runtime
3654    enabled/disabled with <code>allowWindowOps</code>.</li>
3655
3656    <li>turn on configure <code>tcap-query</code> feature by
3657    default, add resource <code>allowTcapOps</code> to make this
3658    runtime enabled/disabled.</li>
3659
3660    <li>make <code>OSC 3</code> (change X property, from <a href=
3661    "#xterm_110">patch #110</a>) subject to
3662    <code>allowWindowOps</code> resource.</li>
3663
3664    <li>make VT220 <code>DSR</code> responses inactive in
3665    VT100-mode.</li>
3666
3667    <li>make <code>DECUDK</code> feature inactive in
3668    VT100-mode.</li>
3669
3670    <li>respond to incorrectly formatted <code>DECRQSS</code> with
3671    a cancel.</li>
3672
3673    <li>add <code>allowFontOps</code> resource to allow the
3674    fontsize-switching and font query/set control sequences to be
3675    enabled/disabled (prompted by Debian #510030).</li>
3676
3677    <li>some code cleanup based on gcc 4.x
3678    <code>-Wconversion</code> warnings in button.c and
3679    charproc.c</li>
3680
3681    <li>modify <code>tcap-query</code> feature to not return data
3682    for shifted cursor-keys when the keyboard type is set to vt220,
3683    since returning the same string for shifted/unshifted keys may
3684    confuse some applications (GenToo #212546).</li>
3685  </ul>
3686
3687  <h1><a name="xterm_237" id="xterm_237">Patch #237 -
3688  2008/09/14</a></h1>
3689
3690  <ul>
3691    <li>improve usability of TrueType fonts by making the font-size
3692    switching for shifted keypad plus/minus use the
3693    <code>faceSize</code> resources to determine the order of fonts
3694    (when TrueType fonts are used) rather than the bitmap fonts,
3695    since their sizes may not be in the same order (report by H
3696    Merijn Brand)</li>
3697
3698    <li>remove an optimization of <code>ConfigureNotify</code>
3699    events from <a href="#xterm_236">patch #236</a> which seems to
3700    interfere with passing <code>SIGWINCH</code> to applications
3701    (GenToo #233836).</li>
3702
3703    <li>modify handling of <code>altSendsEscape</code> to reset the
3704    <code>eightBitInput</code> mode, like
3705    <code>metaSendsEscape</code> (patch by Ted Phelps).</li>
3706
3707    <li>add feature to show the text-cursor as an underline rather
3708    than a box, plus command-line options <code>-uc</code> and
3709    <code>+uc</code> and resource <code>cursorUnderLine</code> to
3710    control the feature (patch by Paul Lampert).</li>
3711
3712    <li>update config.guess, config.sub</li>
3713  </ul>
3714
3715  <h1><a name="xterm_236" id="xterm_236">Patch #236 -
3716  2008/07/27</a></h1>
3717
3718  <ul>
3719    <li>correct memory reallocation when handling a paste of UTF-8
3720    text from <a href="#xterm_225">patch #225</a> changes
3721    (report/patch by Max Mikhanosha).</li>
3722
3723    <li>correct allocation of temporary buffer in
3724    <code>xtermFindShell</code> in case the user's
3725    <code>$PATH</code> contains no ":" (report/analysis by Victor
3726    Stinner, Freedesktop.Org Bugzilla #16790).</li>
3727
3728    <li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to
3729    fix new compile problem exposed by fix for fd_mask (patch by
3730    Hasso Tepper).</li>
3731
3732    <li>add configure-check for ncurses
3733    <code>use_extended_names</code>, (report by Martin
3734    Mokrejs).</li>
3735
3736    <li>correct computation for toolbar height; layout manager
3737    already takes into account <code>borderWidth</code>
3738    resource.</li>
3739
3740    <li>implement VT320-style SCS (select character set) for ISO
3741    Latin-1 supplemental.</li>
3742
3743    <li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu
3744    #230919).</li>
3745
3746    <li>fix to make <code>luit</code> work with xterm's
3747    <code>-ls</code> option (report/patch by Marius Tolzmann).</li>
3748
3749    <li>update config.guess, config.sub</li>
3750  </ul>
3751
3752  <h1><a name="xterm_235" id="xterm_235">Patch #235 -
3753  2008/04/20</a></h1>
3754
3755  <ul>
3756    <li>add control sequences for some of the recent resource/menu
3757    settings:
3758
3759      <ul>
3760        <li><code>altSendsEscape</code> (private mode 1039)</li>
3761
3762        <li><code>keepSelection</code> (private mode 1040)</li>
3763
3764        <li><code>selectToClipboard</code> (private mode 1041)</li>
3765
3766        <li><code>bellIsUrgent</code> (private mode 1042)</li>
3767
3768        <li><code>popOnBell</code> (private mode 1043)</li>
3769      </ul>
3770    </li>
3771
3772    <li>add resource <code>formatOtherKeys</code> to provide an
3773    alternate escape sequence format for the
3774    <code>modifyOtherKeys</code> resource (request by Paul LeoNerd
3775    Evans).</li>
3776
3777    <li>adjust saved-cursor position if the window is resized while
3778    displaying the alternate screen (Novell #196880, Debian
3779    #383384).</li>
3780
3781    <li>improve pointer-checks to fix a bug exposed by resizing
3782    during initialization under StumpWM window manager (Fedora
3783    Bugzilla #437928).</li>
3784
3785    <li>modify <code>unselectwindow()</code> to ensure that the
3786    mouse pointer is not hidden after xterm loses focus (report by
3787    Jeremy Huddleston).</li>
3788
3789    <li>add special check for fd_mask on Mac OS X (report by Jeremy
3790    Huddleston).</li>
3791
3792    <li>add <code>dylib</code> to autoconf's suffix list used for
3793    checking the result from <code>xmkmf</code>, to work with Mac
3794    OS X (report by Jeremy Huddleston).</li>
3795
3796    <li>correct initialization of bold- and wide-, wide-bold fonts
3797    which may be set via the <code>utf8Fonts</code> subresource
3798    (Debian #347790).</li>
3799  </ul>
3800
3801  <h1><a name="xterm_234" id="xterm_234">Patch #234 -
3802  2008/03/02</a></h1>
3803
3804  <ul>
3805    <li>modify <code>sinstall.sh</code> to use POSIX locale to
3806    bypass GNU ls changes to date-format.</li>
3807
3808    <li>improved/refined changes for closing bitmap font (patch by
3809    Andrea Odetti).</li>
3810
3811    <li>improve resize computation for situations where the
3812    negotiation fails, by invoking the xterm widget's core-class
3813    resize method (Debian #365602, patch by Jim Paris).</li>
3814
3815    <li>restore initialization of terminal's <code>VMIN</code> and
3816    <code>VTIME</code> settings, from <a href="#xterm_232">patch
3817    #232</a> changes (patch by Matthieu Herrb).</li>
3818  </ul>
3819
3820  <h1><a name="xterm_233" id="xterm_233">Patch #233 -
3821  2008/02/24</a></h1>
3822
3823  <ul>
3824    <li>add configure check for <code>ttydefaults.h</code>, include
3825    if needed, e.g., for systems where defining
3826    <code>_POSIX_C_SOURCE</code>, etc., prevents it from being
3827    included via <code>termios.h</code> (prompted by comments by
3828    Robert Delius Royar and Jeremy Huddleston).</li>
3829
3830    <li>bug-fixes for bugs.opensolaris.org (patches from Alan
3831    Coopersmith)
3832
3833      <dl>
3834        <dt>4029911</dt>
3835
3836        <dd>fix a typo in manpage</dd>
3837
3838        <dt>4045962</dt>
3839
3840        <dd>xterm doesn't properly set ut_syslen</dd>
3841
3842        <dt>4192572</dt>
3843
3844        <dd>left-left-right misinterpreted as triple click</dd>
3845      </dl>
3846    </li>
3847
3848    <li>minor optimization to tab-initialization (patch by
3849    N&eacute;meth M&aacute;rton).</li>
3850
3851    <li>fix a case where an incorrect font was freed during
3852    initialization from <a href="#xterm_232">patch #232</a> changes
3853    (patch by Andrea Odetti).</li>
3854
3855    <li>improve comparison used in <code>SameFont</code> function
3856    for GC-caching (Julien Cristau).</li>
3857
3858    <li>correct macro name used for default <code>CKILL</code>
3859    definition to work with Mac OS X (report by Jeremy
3860    Huddleston).</li>
3861  </ul>
3862
3863  <h1><a name="xterm_232" id="xterm_232">Patch #232 -
3864  2008/01/30</a></h1>
3865
3866  <ul>
3867    <li>corrected logic in a font-cache used for reverse-video
3868    (Debian #404079).</li>
3869
3870    <li>add control sequence to alter <code>pointerMode</code> at
3871    runtime.</li>
3872
3873    <li>add limit-checks for rectangle operation parameters (report
3874    by Martin Pirker).</li>
3875
3876    <li>modify <code>minstall.sh</code> to suppress
3877    <code>$MANPAGER</code> and <code>$PAGER</code> environment
3878    variables, which may interfere with redirecting output of
3879    <code>man</code> to a shell variable (report/patch by Zdenek
3880    Sekera).</li>
3881
3882    <li>do not try to hide mouse pointer in the tek4014 window,
3883    fixes broken "-t" option at startup from <a href=
3884    "#xterm_230">patch #230</a> changes (report by Robert K.
3885    Nelson).</li>
3886
3887    <li>correct datatype used when drawing tek4014 data using xterm
3888    compiled for wide-characters, on big-endian machines (reports
3889    by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel,
3890    Merle Reinhart).</li>
3891
3892    <li>modify to cache the font-names along with the bitmap font
3893    data, to improve comparison of fonts.</li>
3894
3895    <li>modify to allow building with configure options
3896    <code>--disable-ansi-color</code> and
3897    <code>--disable-leaks</code> (Debian #459817, report/patch by
3898    N&eacute;meth M&aacute;rton).</li>
3899
3900    <li>modify to allow building with configure options
3901    <code>--enable-wide-chars</code> and
3902    <code>--disable-c1-print</code> (Debian #459816, report/patch
3903    by N&eacute;meth M&aacute;rton).</li>
3904
3905    <li>add <code>pointerMode</code> resource to control whether
3906    and when the pointer cursor is hidden as the user types.</li>
3907
3908    <li>simplify initialization of ttyMode- and related characters
3909    using a table.</li>
3910
3911    <li>modify initialization-logic for stty values that correspond
3912    to ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp,
3913    rprnt flush, werase, lnext). These were reset to constants for
3914    both termios and legacy interfaces immediately after asking the
3915    system for the existing values since X11R6.1, rather than using
3916    them to provide inherited values. While the legacy interface
3917    has some constraints, e.g., on HPUX, the POSIX or termios
3918    interface should not. Your shell may reset these anyway
3919    (prompted by patch by Ed Schouten).</li>
3920
3921    <li>improve logic for hiding/displaying pointer-cursor (report
3922    by Mark Brukhartz).</li>
3923
3924    <li>add limit-checks to tabs.c, increase maximum column for
3925    setting tab-stops from 320 to 1024 (report by N&eacute;meth
3926    M&aacute;rton).</li>
3927
3928    <li>correct length, i.e., number of types of selection targets,
3929    computed by <code>ConvertSelection()</code> when not handling
3930    wide characters for the <code>XA_TARGETS()</code> case. This
3931    leaves an extra Atom on the end of the list which is not
3932    handled by <a href=
3933    "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java
3934    applications</a>. The problem was introduced in <a href=
3935    "#xterm_151">patch #151</a> (report by David Wood).</li>
3936  </ul>
3937
3938  <h1><a name="xterm_231" id="xterm_231">Patch #231 -
3939  2008/01/05</a></h1>
3940
3941  <ul>
3942    <li>undo change to <code>getXtermCell()</code> from patch #230
3943    using <code>PACK_PAIR</code> macro (Debian #459014, analysis by
3944    Caetano Jimenez Carezzato).</li>
3945
3946    <li>minor documentation fixes (patch by Slava Semushin)</li>
3947
3948    <li>add makefile actions to install KOI8RXTerm app-defaults
3949    file (patch by Julien Cristau).</li>
3950  </ul>
3951
3952  <h1><a name="xterm_230" id="xterm_230">Patch #230 -
3953  2007/12/31</a></h1>
3954
3955  <ul>
3956    <li>add <code>quietGrab</code> resource, which when true,
3957    suppresses cursor repainting when <code>NotifyGrab</code> and
3958    <code>NotifyUngrab</code> event types are received during
3959    change of focus (request by Nicolas George).</li>
3960
3961    <li>do not treat Unicode BIDI control characters as combining
3962    characters (Debian #457634).</li>
3963
3964    <li>add <code>koi8rxterm</code>, from Debian.</li>
3965
3966    <li>add manpage for <code>uxterm</code>, from Debian (Ubuntu
3967    #128136, Debian #438645)</li>
3968
3969    <li>remove ".xpm" suffixes from Icon filenames in desktop files
3970    since it confuses some lookups following the <a href=
3971    "http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">
3972    Icon Theme Specification</a> (report by Slava Semushin)</li>
3973
3974    <li>correct width-calculation used for adjusting proportional
3975    fonts, to work with wide-characters (Debian #441354).</li>
3976
3977    <li>fixes/improvements for double-size characters:
3978
3979      <ul>
3980        <li>correct old clipping calculation which used total
3981        height of glyphs where ascent was needed.</li>
3982
3983        <li>if bold font is unavailable, fall back to normal
3984        font</li>
3985
3986        <li>adjust to "work" with Xft (which does not support
3987        double-width single-height characters).</li>
3988
3989        <li>restore reset of doublesize for a line when it is
3990        cleared, broken in <a href="#xterm_228">patch
3991        #228</a>.</li>
3992      </ul>
3993    </li>
3994
3995    <li>modify logic for <code>forceBoxChars</code> resource when
3996    using TrueType fonts to be consistent with bitmap fonts</li>
3997
3998    <li>modify logic for <code>forceBoxChars</code> resource to
3999    make the "Line-Drawing Characters" menu entry use xterm's
4000    line-drawing characters even asked to draw wide line-drawing
4001    characters which are available in the font.</li>
4002
4003    <li>modify rectangle-support functions to preserve colors when
4004    filling/erasing to match WRQ Reflection behavior (request by
4005    Enzo Toscano).</li>
4006
4007    <li>add getopt-parsing to tcapquery.pl, including feature to
4008    test the extended cursor/editing keys.</li>
4009
4010    <li>make missing double-width glyphs display as double-width
4011    (Debian #456236).</li>
4012
4013    <li>change <code>tcap-fkeys</code> and <code>rectangles</code>
4014    configure options to enable them by default.</li>
4015
4016    <li>hide the mouse pointer while user is typing (request by
4017    Rodolfo Borges).</li>
4018
4019    <li>extend configure options <code>--enable-tcap-query</code>
4020    and <code>--enable-tcap-fkeys</code> to send cursor- and
4021    editing-keypad keys modified according to the keyboard (or
4022    termcap) selection for shift, alt, control, meta.</li>
4023
4024    <li>modify <code>kdch1</code> in termcap, e.g.,
4025    <code>xterm-r6</code> to match the terminfo file.</li>
4026
4027    <li>add <code>-hm</code> option to turn
4028    <code>highlightColorMode</code> on or off.</li>
4029
4030    <li>add <code>highlightColorMode</code> resource to separate
4031    the new (since <a href="#xterm_225">patch #225</a>)
4032    highlighting with both text- and background-colors (prompted by
4033    report/example by Thomas Wolff).</li>
4034
4035    <li>add <em>Keep Selection</em> menu entry to turn the
4036    <code>keepSelection</code> resource on/off at runtime.</li>
4037
4038    <li>add <code>keepSelection</code> resource, which when
4039    enabled, tells xterm to retain the X selection even after it
4040    stops highlighting it (patch by Sergey Vlasov).</li>
4041
4042    <li>extend the <code>CSI&nbsp;&gt;&nbsp;n</code> sequence to
4043    allow disabling all types of modified-keys that the
4044    <code>CSI&nbsp;&gt;&nbsp;m</code> sequence affects.</li>
4045
4046    <li>move include for <code>&lt;xtermcap.h&gt;</code> in
4047    <code>resize.c</code> to avoid redefinition of
4048    <code>termios</code> structure on OpenSolaris (report by Rahul
4049    Gopinathan Nair).</li>
4050
4051    <li>extend terminfo building blocks for modified editing keys
4052    to include all six keys.</li>
4053
4054    <li>synchronize terminfo with ncurses (report by Stephane
4055    Chazelas)
4056
4057      <ul>
4058        <li>equate <code>xterm-xfree86</code> and
4059        <code>xterm-xf86-v44</code>.</li>
4060
4061        <li>add ncurses extensions OTbs, AX, for termcap
4062        conversions.</li>
4063
4064        <li>make old/legacy entries such as <code>xterm-24</code>,
4065        <code>xterm-65</code> and aliases <code>xterms</code>,
4066        <code>vs100</code> inherit from
4067        <code>xterm-old</code>.</li>
4068
4069        <li>make <code>xterm-r5</code> and <code>xterm-r6</code>
4070        the same, ignoring historical errors in X Consortium's
4071        version.</li>
4072      </ul>
4073    </li>
4074
4075    <li>fix an ifdef in logic for selecting regular expressions
4076    while in a narrow-character locale (Debian #449227).</li>
4077  </ul>
4078
4079  <h1><a name="xterm_229" id="xterm_229">Patch #229 -
4080  2007/8/12</a></h1>
4081
4082  <ul>
4083    <li>override locale in minstall.sh; change in <a href=
4084    "#xterm_226">patch #226</a> does not work in UTF-8 locale
4085    (report by Zdenek Sekera).</li>
4086
4087    <li>undo an incorrect fix for a memory leak in <a href=
4088    "#xterm_209">patch #209</a> (Debian #435858).</li>
4089  </ul>
4090
4091  <h1><a name="xterm_228" id="xterm_228">Patch #228 -
4092  2007/7/22</a></h1>
4093
4094  <ul>
4095    <li>modify configure script to permit combining
4096    <code>--with-utempter</code> and <code>--enable-setuid</code>,
4097    e.g., for using xterm with the utempter library on FreeBSD
4098    (report by Andriy Gapon).</li>
4099
4100    <li>modify "Quit" menu entry to override the <code>-hold</code>
4101    command-line option.</li>
4102
4103    <li>add a check in the startup error-reporting to avoid writing
4104    to pipe when it has not been opened. In that case, report
4105    errors directly to the standard error.</li>
4106
4107    <li>add OPT_READLINE definition to xtermcfg.hin, overlooked in
4108    <a href="#xterm_205">patch #205</a> (report by Kalle Olavi
4109    Niemitalo).</li>
4110
4111    <li>modify <code>88colors2.pl</code> and
4112    <code>256colors2.pl</code>, adding <code>-r</code> option to
4113    reverse the palettes for the extended colors.</li>
4114
4115    <li>check for partial overwrite or deletion of multi-column
4116    characters in several cases, e.g., insert-character,
4117    delete-character, etc., and fill the remainder of the cells
4118    used by the multi-column characters affected with blanks.</li>
4119
4120    <li>correct character-class codes in wide-character mode for
4121    characters 215, 247 (see also <a href="#xterm_165">patch
4122    #165</a>).</li>
4123
4124    <li>fix missing assignment for UTF-8 parsing in widget
4125    initialization (Debian #403360).</li>
4126
4127    <li>correct index expression used to set line-wrapping flag,
4128    making selection from scrollback work consistently (Debian
4129    #430121, report by Vincent Lefevre).</li>
4130
4131    <li>amend changes to handshake in <a href="#xterm_226">patch
4132    #226</a> to accommodate Solaris, which relies on the extra
4133    setting of the terminal size after I/O initialization. Do this
4134    by adding new resource <code>ptySttySize</code>, which is false
4135    for Linux and MacOS X, i.e., true for for Solaris and other
4136    SVR4 platforms, as well as FreeBSD (reports by David Wood,
4137    Renato Botelho).</li>
4138
4139    <li>check for X events after cursor-left, and carriage return,
4140    consistent with indexing operations (comments by Vegard Nossum
4141    and Ingo Molnar on a mailing-list).</li>
4142
4143    <li>initialize the <code>.keyboard</code> structure, needed for
4144    some platforms (such as Solaris) after <a href=
4145    "#xterm_227">patch #227</a> fixes for keysyms (patch by David
4146    Wood).</li>
4147
4148    <li>update config.guess, config.sub</li>
4149  </ul>
4150
4151  <h1><a name="xterm_227" id="xterm_227">Patch #227 -
4152  2007/6/27</a></h1>
4153
4154  <ul>
4155    <li>exclude the Intel compiler from the extra gcc warning
4156    options added in <a href="#xterm_226">patch #226</a>.</li>
4157
4158    <li>modify change for Debian #422521 from <a href=
4159    "#xterm_226">patch #226</a> to work with configurations where
4160    the X server does not recognize the <code>XF86Paste</code> or
4161    <code>SunPaste</code> keysyms (report by Paolo Pumilia).</li>
4162
4163    <li>fix incorrect free in fix for "Selection" menu entry in
4164    <a href="#xterm_226">patch #226</a>.</li>
4165  </ul>
4166
4167  <h1><a name="xterm_226" id="xterm_226">Patch #226 -
4168  2007/6/17</a></h1>
4169
4170  <ul>
4171    <li>add configure check to use
4172    <code>-Wno-unknown-pragmas</code> for Solaris, and a few other
4173    new gcc warning options to address regressions in its warning
4174    options.</li>
4175
4176    <li>add sample desktop and icon files, along with configure
4177    options for manipulating them.</li>
4178
4179    <li>fix an infinite loop when showing a 2-column character in a
4180    1-column screen (Debian #426863).</li>
4181
4182    <li>add <code>XF86Paste</code> and <code>SunPaste</code> to the
4183    default translations (Debian #422521, patch by Bernhard R
4184    Link).</li>
4185
4186    <li>update wcwidth.c (partly based on/prompted by mailing list
4187    comment).</li>
4188
4189    <li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and
4190    Xorg 7.1 keysymdef.h file.</li>
4191
4192    <li>improve <code>gen-pc-fkeys.pl</code>, making it show all of
4193    the building-block terminfo entries used by xterm.</li>
4194
4195    <li>correct strings used for modifiers applied to F1-F4 in
4196    xterm+pcf1 terminfo entry.</li>
4197
4198    <li>improve session management by adding the ICE connection
4199    number to the <code>select</code> call rather than waking up
4200    once per second (patch by Miroslav Lichvar).</li>
4201
4202    <li>add environment variable <code>$XTERM_LOCALE</code> to help
4203    with shell initialization, e.g., to set a specific locale for
4204    xterm on systems where a global locale is set in the shell
4205    startup scripts.</li>
4206
4207    <li>add resource settings <code>mkSampleSize</code> and
4208    <code>mkSamplePass</code> to modify the <code>mkWidth</code>
4209    added in <a href="#xterm_201">patch #201</a>. In <a href=
4210    "#xterm_202">patch #202</a>, xterm would also check if the
4211    system's <code>wcwidth</code> matched its built-in tables "well
4212    enough" to be used when <code>mkWidth</code> was false, and if
4213    not would use the built-in tables anyway. These resources allow
4214    the user to customize the decision (prompted by comments by
4215    Emanuele Giaquinta)</li>
4216
4217    <li>modify logic which resets/updates the screensize on the
4218    child process side of the pseudo-terminal to do this only if a
4219    successful handshake was received, e.g., as determined by the
4220    <code>waitForMap</code> resource (prompted by reports by
4221    Emanuele Giaquinta and Bernhard R Link, but see also <a href=
4222    "#xterm_177">patch #177</a> and <a href="#xterm_159">patch
4223    #159</a>.</li>
4224
4225    <li>improve permissions logic when closing pseudo-terminal
4226    (Debian #12261, patch by Nathanael Nerode, analysis by Richard
4227    Braakman).</li>
4228
4229    <li>add resource <code>highlightReverse</code> which controls
4230    whether xterm will allow selection highlighting to hide
4231    reverse-video or use the older behavior which inverts the
4232    foreground and background colors when selected text with
4233    reverse-video attribute (report by Adam M Costello, comments by
4234    Victor Vaile).</li>
4235
4236    <li>restore a special case for cursor-color in
4237    <code>ReverseVideo()</code> lost in rewrite for <a href=
4238    "#xterm_224">patch #224</a> (report by Adam Sulmicki).</li>
4239
4240    <li>correct initialization for menu entry for
4241    <code>bellIsUrgent</code> (patch by Emanuele Giaquinta).</li>
4242
4243    <li>correct length of underlining for double-width Xft fonts
4244    (report by Shidai Liu "Leo").</li>
4245
4246    <li>correct clipping for double-width Xft fonts (report by
4247    Shidai Liu "Leo").</li>
4248
4249    <li>modify initialization for <code>italicULMode</code> to
4250    avoid <code>XftPatternBuild</code> reusing bold attributes
4251    (report by Shidai Liu "Leo").</li>
4252
4253    <li>add a check in case someone tries to call the
4254    <code>popup-menu()</code> action on a menu which is not
4255    initialized (Debian #426364).</li>
4256
4257    <li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by
4258    Peter Bray).</li>
4259
4260    <li>improve guess for X's manpage section in
4261    <code>minstall.sh</code>, (prompted by comment by Miroslav
4262    Lichvar).</li>
4263
4264    <li>modify <code>minstall.sh</code> to handle manpage patch
4265    with more than one dot (patch by Miroslav Lichvar).</li>
4266
4267    <li>fix configure message for --disable-setgid option (patch by
4268    Miroslav Lichvar).</li>
4269
4270    <li>add <code>allowTitleOps</code> resource to allow users to
4271    prevent the title- and icon-names from changing (request by
4272    John Bashinski).</li>
4273
4274    <li>fix "spawn-new-terminal" action, for the case where no
4275    parameter is passed to the action (patch by Daniel
4276    Colascione).</li>
4277
4278    <li>fix error-checking on internal font switching for
4279    "Selection" menu entry (Debian #421523).</li>
4280
4281    <li>amend select/paste change from <a href="#xterm_225">patch
4282    #225</a> by limiting it to non-UTF-8/non-KOI8-R encoding
4283    (Debian #420974).</li>
4284
4285    <li>add workaround for groff ".URL" codes which are not present
4286    in some commonly-used bitmap fonts (Debian #418324).</li>
4287  </ul>
4288
4289  <h1><a name="xterm_225" id="xterm_225">Patch #225 -
4290  2007/3/24</a></h1>
4291
4292  <ul>
4293    <li>add <code>useClipping</code> resource to allow clipping to
4294    be disabled.</li>
4295
4296    <li>use <code>XftDrawSetClipRectangles</code> to work around
4297    Xft pixel-trash (report by Reuben Thomas).</li>
4298
4299    <li>add configure option <code>--enable-tcap-fkeys</code>, and
4300    resource <code>tcapFunctionKeys</code>, which can be used to
4301    tell xterm to use function-key definitions from the termcap (or
4302    terminfo) which it uses to set $TERM on startup.</li>
4303
4304    <li>add resources <code>altIsNotMeta</code> and
4305    <code>altSendsEscape</code> to allow one to use Alt-keys like
4306    the meta-key even if they are bound to different keycodes
4307    (prompted by discussion with Daniel Jacobowitz).</li>
4308
4309    <li>revert a change from <a href="#xterm_216">patch #216</a>
4310    that unnecessarily made the meta modifier override the
4311    <code>eightBitInput</code> resource if the alt- and
4312    meta-modifiers happened to overlap (report/patch by Daniel
4313    Jacobowitz).</li>
4314
4315    <li>correct associated font for active icon for colored text
4316    (broken in <a href="#xterm_224">patch #224</a>).</li>
4317
4318    <li>correct ifdef's for Darwin (patch by Emanuele
4319    Giaquinta).</li>
4320
4321    <li>add <code>highlightTextColor</code> resource, and options
4322    <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code>
4323    (adapted from patch by Victor Vaile).</li>
4324
4325    <li>revise <code>find_closest_color()</code> function to
4326    address concern about borrowing from <code>Tcl/Tk</code>
4327    (request by Dan McNichol).</li>
4328
4329    <li>add "spawn-new-terminal" action, which can be assigned to
4330    key translation, allowing one to spawn a new copy of xterm
4331    using the current process' working directory (adapted from
4332    patch by Daniel Colascione).</li>
4333
4334    <li>improve select/paste between UTF-8 and Latin1 xterms by
4335    adapting the translations from <a href="#xterm_185">patch
4336    #185</a>. Extend that to include Unicode fullwidth forms
4337    FF00-FF5E. Also modify select/paste of DEC line-drawing
4338    characters in Latin1 mode to use ASCII characters.</li>
4339
4340    <li>add "Enable Bell Urgency" to VT Options menu, removed
4341    "Enable Margin Bell".</li>
4342
4343    <li>add <code>bellIsUrgent</code> resource to control whether
4344    the Urgency hint is set/reset.</li>
4345
4346    <li>modify to set Urgency window manager hint on bell, reset it
4347    on Focus-In event (patch by Emanuele Giaquinta).</li>
4348
4349    <li>add <code>--disable-setgid</code> configure option (request
4350    by Miroslav Lichvar).</li>
4351
4352    <li>fix a possible infinite loop in last change to
4353    <code>dabbrev-expand()</code> (patch by Emanuele
4354    Giaquinta).</li>
4355
4356    <li>modify initialization to set the pty erase value if the
4357    <code>erase</code> is set in the <code>ttyModes</code>
4358    resource. This overrides the <code>ptyInitialErase</code>
4359    setting (request by Llu&iacute;s Batlle i Rossell).</li>
4360
4361    <li>add <code>initialFont</code> resource to xterm widget, like
4362    tek-widget (Debian #299669).</li>
4363
4364    <li>amend change to <code>boldMode</code> from <a href=
4365    "#xterm_223">patch #223</a> for Debian #347790. As noted in
4366    Debian #412599, that made xterm no longer match the documented
4367    behavior. Add new resource <code>alwaysBoldMode</code> to allow
4368    overriding the comparison between normal/bold fonts when
4369    deciding whether to use overstriking to simulate bold
4370    fonts.</li>
4371
4372    <li>restore background color in ClearCurBackground(), omitted
4373    in changes for <a href="#xterm_223">patch #223</a> (report by
4374    Miroslav Lichvar).</li>
4375
4376    <li>correct logic for repainting double-width TrueType
4377    characters (prompted by test-case for Novell #246573).</li>
4378
4379    <li>add a check to avoid trying to repeat a multibyte character
4380    (report by Sami Farin).</li>
4381
4382    <li>modify parameter to <code>XftNameParse()</code> to select
4383    wide face-name as needed, to make <code>-fd</code> option work
4384    (patch by Mike Fabian, Novell #246573).</li>
4385
4386    <li>correct logic for mouse highlight tracking's abort
4387    sequence, broken in a restructuring modification from <a href=
4388    "#xterm_224">patch #224</a> (report by Thomas Wolff).</li>
4389
4390    <li>revert the simplification of blinking cursor, since that
4391    broke the xor'ing introduced in <a href="#xterm_193">patch
4392    #193</a> (report by Thomas Wolff).</li>
4393  </ul>
4394
4395  <h1><a name="xterm_224" id="xterm_224">Patch #224 -
4396  2007/2/11</a></h1>
4397
4398  <ul>
4399    <li>simplify code for set/reset mode for blinking cursor (patch
4400    by Emanuele Giaquinta).</li>
4401
4402    <li>modify <code>dabbrev-expand()</code> to restart after the
4403    last match (patch by Emanuele Giaquinta).</li>
4404
4405    <li>add control sequences for enabling/disabling focus in/out
4406    event reporting (request by Bram Moolenaar).</li>
4407
4408    <li>improve startup performance of menus by adding resource
4409    setting <code>menuLocale</code> which can be set to override
4410    X's lengthy initialization of fontsets - which are seldom used
4411    for the <code>Xaw</code> popup menus (adapted from patch by
4412    Dave Coffin).</li>
4413
4414    <li>modify do_precomposition() function and make-compose.sh to
4415    handle 21-bit codes vs the 16-bit codes those were written for,
4416    and fix a few mis-sorted codes (patch by Thomas Wolff).</li>
4417
4418    <li>handle special case in <code>-cjk_width</code> which
4419    unexpectedly caused a character's width to change when a
4420    combining character (patch by Thomas Wolff)</li>
4421
4422    <li>fix build for GNU/KFreeBSD (Debian #40111).</li>
4423
4424    <li>consolidate GC creation/updating into a single module to
4425    reduce GC manipulation (prompted by Debian #389476, though a
4426    complete fix would involve optimizing the scrolling
4427    behavior).</li>
4428
4429    <li>fix ifdef of xtermCellWidth(), which broke for a case
4430    without TrueType and without wide-character support (report by
4431    Martin Pirker).</li>
4432
4433    <li>undo a comparison in
4434    <code>handle_translated_exposure</code> which did not work due
4435    to X server optimization. That caused the inner border to be
4436    repainted with unexpected colors when handling a repaint, e.g.,
4437    after switching to/from another workspace (Debian #401726,
4438    Redhat Bugzilla #223027).</li>
4439
4440    <li>allow <code>-cr</code> option to override cursor color when
4441    <code>-ah</code> option is used (Debian #406502).</li>
4442
4443    <li>add a note in xterm's manpage explaining that the
4444    <code>-bw</code> (or <code>-w</code>) option is only used by
4445    the window manager, if at all (Debian #405043).</li>
4446
4447    <li>make <code>Selection</code> of <code>VT&nbsp;Fonts</code>
4448    work with <code>selectToClipboard</code> resource.</li>
4449
4450    <li>correct length calculation for <code>Selection</code> entry
4451    of <code>VT&nbsp;Fonts</code> menu, broken since it ignored the
4452    actual selection length since X11R4.</li>
4453
4454    <li>fixes for fontsize changes with <code>-fa</code> option
4455    (Redhat Bugzilla #222340).</li>
4456  </ul>
4457
4458  <h1><a name="xterm_223" id="xterm_223">Patch #223 -
4459  2006/11/30</a></h1>
4460
4461  <ul>
4462    <li>add <code>--enable-rectangles</code> configure option
4463    (request by Martin Pirker).</li>
4464
4465    <li>correct default value for <code>--with-symlink</code>
4466    configure option.</li>
4467
4468    <li>fixes configure script macros that use
4469    <code>$X_EXTRA_LIBS</code>.</li>
4470
4471    <li>modify configure script to provide support for pre-package
4472    config versions of Xft aka "FreeType".</li>
4473
4474    <li>add the Xaw scrollbar translations resource to the xterm
4475    manpage, add an example showing how to change the mouse button
4476    assignments (Debian #382225).</li>
4477
4478    <li>amend a change from <a href="#xterm_216">patch #216</a>,
4479    which omitted modifiers for control, meta, etc., if they were
4480    mixed with any other modifiers. The intent of the change was to
4481    avoid confusion with <code>XK_Mode_switch</code> and
4482    <code>XK_ISO_Level3_Shift</code>; the check is now done
4483    explicitly (report by Daniel Jacobowitz).</li>
4484
4485    <li>interpret a negative value for
4486    <code>modifyCursorKeys</code> or
4487    <code>modifyFunctionKeys</code> resources to disable the
4488    respective features (prompted by Novell #220728).</li>
4489
4490    <li>amend cell-width computation for FreeType from <a href=
4491    "#xterm_217">patch #217</a>, which did not work for VT100
4492    line-drawing characters (Debian #399638, GenToo #147111).</li>
4493
4494    <li>amend a change from <a href="#xterm_216">patch #216</a>,
4495    which made alt-modifier on a cursor-key send a modifier
4496    parameter (Novell #220728).</li>
4497
4498    <li>correct an off-by-one that made DECCRA not work
4499    (report/patch by Martin Pirker).</li>
4500
4501    <li>revert an optimization in SGR_Foreground() and
4502    SGR_Background from <a href="#xterm_209">patch #209</a> (Debian
4503    #347722, analysis by Pierre Lombard).</li>
4504
4505    <li>fix for <code>boldMode</code> (Debian #347790, patch by Tim
4506    Pope).</li>
4507
4508    <li>amend fix for <code>-iconic</code> in <a href=
4509    "#xterm_208">patch #208</a>, which broke the positioning part
4510    of <code>-geom</code> with toolbar configuration.</li>
4511
4512    <li>fix to prevent indexing error in regular expressions (patch
4513    by Dennis Schneider).</li>
4514
4515    <li>fixes to make the internalBorder area not change color due
4516    to reverseVideo and/or related exposure events. The latter was
4517    a very old bug exposed in <a href="#xterm_196">patch #196</a>
4518    (report by Neil Hoggarth, also Debian #397624).</li>
4519  </ul>
4520
4521  <h1><a name="xterm_222" id="xterm_222">Patch #222 -
4522  2006/10/17</a></h1>
4523
4524  <ul>
4525    <li>minor optimization for recoloring cursor via dynamic
4526    colors.</li>
4527
4528    <li>fix a bug caused by restructuring of tek4014 widget (report
4529    by Paul Schenkeveld)</li>
4530  </ul>
4531
4532  <h1><a name="xterm_221" id="xterm_221">Patch #221 -
4533  2006/10/1</a></h1>
4534
4535  <ul>
4536    <li>fix for regular expressions: the code which converted the
4537    column offset within a line did not check properly for the end
4538    of a line, and if allowed to match the whole line, would select
4539    the beginning of the following line. If the following line were
4540    empty, in turn it would select from the next, etc. (report by
4541    Sean Reifschneider).</li>
4542
4543    <li>minor optimization of color allocation to avoid repainting
4544    the screen if the corresponding color had not been
4545    allocated.</li>
4546
4547    <li>fixes for vttests/256colors.pl (report by Egmont
4548    Koblinger).</li>
4549
4550    <li>add terminfo building block entries for modifiers of the
4551    6-key editing keypad.</li>
4552
4553    <li>fix for initialization of tek4014 which broke on QNX
4554    6.1</li>
4555  </ul>
4556
4557  <h1><a name="xterm_220" id="xterm_220">Patch #220 -
4558  2006/9/10</a></h1>
4559
4560  <ul>
4561    <li>make "xterm -t -iconic" work as expected, i.e., start in
4562    tek4014 mode, but iconified.</li>
4563  </ul>
4564
4565  <h1><a name="xterm_219" id="xterm_219">Patch #219 -
4566  2006/9/4</a></h1>
4567
4568  <ul>
4569    <li>some internal restructuring to separate data for vt100 and
4570    tek4014 widgets.</li>
4571
4572    <li>fix a few cases where form-events would be seen by the
4573    vt100 widget when built with the toolbar configuration.</li>
4574  </ul>
4575
4576  <h1><a name="xterm_218" id="xterm_218">Patch #218 -
4577  2006/8/27</a></h1>
4578
4579  <ul>
4580    <li>change behavior when encountering an illegal character in a
4581    title string. Rather than reject the string, translate illegal
4582    characters into "?" and use the string (requested by Thomas
4583    Wolff).</li>
4584
4585    <li>improve checks for nonprinting characters in title strings
4586    (report by Samuel Thibault).</li>
4587
4588    <li>correct typo in menu labels, changing
4589    <code>print-redirect</code> to <code>print-redir</code>, making
4590    it follow the manpage and match the usage for the actions table
4591    (report by Samuel Thibault).</li>
4592
4593    <li>correct a typo that prevents building with some older
4594    systems such as Solaris 2.6 (report by Julian Bridle).</li>
4595  </ul>
4596
4597  <h1><a name="xterm_217" id="xterm_217">Patch #217 -
4598  2006/8/20</a></h1>
4599
4600  <ul>
4601    <li>minor improvements to FreeType font layout and
4602    drawing.</li>
4603
4604    <li>add a check in the ptyInitialErase logic to ensure that the
4605    termcap was read (Redhat Bugzilla #201246).</li>
4606
4607    <li>limit changes for reverse-video from <a href=
4608    "#xterm_216">patch #216</a> to cases where the reverse-video
4609    command-line option is used (report by Zdenek Sekera).</li>
4610
4611    <li>correct bitmap-derived pointsizes for TrueType fonts; they
4612    should be proportional to the square root of the area of the
4613    bitmap fonts.</li>
4614
4615    <li>add resources to specify pointsize of TrueType fonts
4616    (request by Reuben Thomas).</li>
4617
4618    <li>improve install of terminfo by filtering out harmless
4619    messages related to extended capabilities. At the same time,
4620    use ncurses tic to compile the extended capabilities if
4621    possible (report by Zdenek Sekera).</li>
4622
4623    <li>update "xterm+pcfkeys" terminfo entry to correspond to
4624    <a href="#xterm_216">patch #216</a>.</li>
4625  </ul>
4626
4627  <h1><a name="xterm_216" id="xterm_216">Patch #216 -
4628  2006/8/3</a></h1>
4629
4630  <ul>
4631    <li>improve handling of <code>ConfigureNotify</code> events by
4632    checking if there are further events in the queue which
4633    obsolete the current one (adapted from rxvt 2.7.5). Only the
4634    normal normal (non-toolbar) configuration is addressed in this
4635    patch.</li>
4636
4637    <li>several changes to terminfo:
4638
4639      <ul>
4640        <li>incorporate some minor changes from ncurses to help
4641        keep these synchronized:
4642
4643          <dl>
4644            <dt>2005-02-26</dt>
4645
4646            <dd>modify sgr/sgr0 in xterm-new to improve tgetent's
4647            derived "me".</dd>
4648
4649            <dt>2006-02-18</dt>
4650
4651            <dd>remove ncv flag from xterm-16color</dd>
4652
4653            <dt>2006-06-24</dt>
4654
4655            <dd>improve xterm-256color by combining the 16-color
4656            setaf/setab strings with SGR 48, and cancelling the
4657            setf/setb strings.</dd>
4658          </dl>
4659        </li>
4660
4661        <li>use extended function-key definitions for xterm-sun,
4662        xterm-sco entries.</li>
4663
4664        <li>add terminfo building-blocks corresponding to the
4665        <code>modifyFunctionKeys</code> and
4666        <code>modifyCursorKeys</code> resources.</li>
4667      </ul>
4668    </li>
4669
4670    <li>ifdef'd Sun function-key feature to make it optional, like
4671    HP and SCO.</li>
4672
4673    <li>extend table for termcap-query feature through F63, and
4674    updated tcapquery.pl to match.</li>
4675
4676    <li>modify logic for function-key input processing to allow
4677    function key numbers which are constructed by control- and
4678    shift-modifiers to extend beyond X's hardcoded limit of
4679    35.</li>
4680
4681    <li>add control sequence to set or reset the
4682    <code>eightBitInput</code> resource.</li>
4683
4684    <li>change default resource <code>modifyFunctionKeys</code> to
4685    2 to avoid sending SS3 with parameters (report by Kalle Olavi
4686    Niemitalo).</li>
4687
4688    <li>add control sequences for setting and resetting the values
4689    of the <code>modifyCursorKeys</code>,
4690    <code>modifyFunctionKeys</code> and
4691    <code>modifyOtherKeys</code> resources.</li>
4692
4693    <li>add <code>modifyFunctionKeys</code> resource like
4694    <code>modifyCursorKeys</code>. Setting this to zero allows one
4695    to use the control- and shift-modifiers to construct function
4696    key strings, for terminals using many function keys, e.g., for
4697    <code>xterm-sun</code> or <code>xterm-sco</code>.</li>
4698
4699    <li>modify screen responses and function-key logic to reduce
4700    the number of writes made, to make it less likely that an
4701    application would read only part of a function-key in a read
4702    operation (suggested by John E Urbanczyk).</li>
4703
4704    <li>add <code>combiningChars</code> resource, which allows the
4705    user to specify the maximum number of combining characters that
4706    xterm will store for each cell in wide-character mode (prompted
4707    by request by Markus Kuhn to increase the limit from 2).</li>
4708
4709    <li>improve logic in <code>metaSendsEscape</code> in case the
4710    Alt- and Meta-keys are mapped to different modifiers. That
4711    allows one to use the Alt-key for shifting in the
4712    <code>eightBitInput</code> and use a Meta-key modifier to
4713    prefix the result with an <code>&lt;ESC&gt;</code>.</li>
4714
4715    <li>improve <code>modifyCursorKeys</code> logic to prevent it
4716    from modifying codes where <code>eightBitInput</code> or
4717    <code>metaSendsEscape</code> are set (request by Dan
4718    Nicolaescu).</li>
4719
4720    <li>improve <code>modifyCursorKeys</code> logic to prevent it
4721    from changing the user input when other modifiers such as AltGr
4722    are used (report by Thomas Wolff).</li>
4723
4724    <li>extend <code>modifyCursorKeys</code> to include the numeric
4725    keypad when in application mode.</li>
4726
4727    <li>improve <code>-reverse</code> (<code>-rv</code>) option
4728    (patch by Jason Vas Dias, Redhat #189161).</li>
4729
4730    <li>workaround for color resources on Fedora-5 which made the
4731    toolbar colors inconsistent.</li>
4732
4733    <li>corrected calls used for <code>--disable-setuid</code>
4734    option, add debugging traces to help diagnose this area.</li>
4735
4736    <li>modify configure script to ensure that
4737    <code>USE_UTMP_SETGID</code> is defined only if the check for
4738    POSIX saved-ids succeeds, or corresponds to one of the BSD
4739    systems known to have a workable <code>setegid</code>
4740    function.</li>
4741
4742    <li>extend configure check for POSIX saved-ids to include BSD
4743    systems</li>
4744
4745    <li>modify CF_SYSV configure macro to work with gcc on HPUX
4746    10.20, whose broken <code>&lt;term.h&gt;</code> relies on
4747    including <code>&lt;termios.h&gt;</code>.</li>
4748
4749    <li>change order of setuid/setgid ifdef checks in Imakefile to
4750    make it simpler to produce a setgid install, allowing the
4751    latter to override the former (prompted by an XFree86
4752    commit).</li>
4753
4754    <li>adapt a fix for setgid support from subsequent XFree86
4755    changes (patch by Emanuele Giaquinta).</li>
4756
4757    <li>further improve setgid support (patches by Emanuele
4758    Giaquinta).</li>
4759  </ul>
4760
4761  <h1><a name="xterm_215" id="xterm_215">Patch #215 - 2006/6/19 -
4762  XFree86 4.6.99.2</a></h1>
4763
4764  <ul>
4765    <li>improve setgid support by exploiting the saved-ids feature
4766    on which it relies (patch by Emanuele Giaquinta).</li>
4767
4768    <li>make the <code>modifyOtherKeys</code> resource disabled by
4769    default since the intermediate setting altered some common
4770    bindings (report by Emanuele Giaquinta).</li>
4771  </ul>
4772
4773  <h1><a name="xterm_214" id="xterm_214">Patch #214 - 2006/6/18 -
4774  XFree86 4.6.99.2</a></h1>
4775
4776  <ul>
4777    <li>modify makefile rule for ctlseqs.txt to strip
4778    backspace/overstrikes, and add a copy of ctlseqs.txt to the
4779    source tarballs (requests by Bram Moolenaar, Emanuele
4780    Giaquinta).</li>
4781
4782    <li>add <code>modifyOtherKeys</code> resource, analogous to the
4783    <code>modifyCursorKeys</code> resource. This applies to keys
4784    that normally would transmit nothing when a given modifier is
4785    applied (request by Dan Nicolaescu).</li>
4786
4787    <li>add <code>default</code> to the acceptable values for the
4788    <code>keyboardType</code> resource, allowing the
4789    <code>-kt</code> command-line option to override app-defaults
4790    resource settings of <code>sunKeyboard</code>, etc.</li>
4791
4792    <li>correct ifdef's for <code>XkbBell()</code> which used the
4793    header file but not the corresponding function in <a href=
4794    "#xterm_175">patch #175</a> (report by Zach Beane).</li>
4795
4796    <li>add xterm manpage to the <code>--with-symlink</code>
4797    logic.</li>
4798
4799    <li>regenerated configure script to omit some debugging
4800    artifacts of the SIGWINCH test.</li>
4801
4802    <li>fix <code>install-man</code> rule in
4803    <code>Makefile.in</code> to avoid including the
4804    <code>$(DESTDIR)</code> value in substitutions made on the
4805    manpages (patch by Emanuele Giaquinta).</li>
4806
4807    <li>improved fix for cursor deallocation (Redhat #186935, patch
4808    by Jason Vas Dias).</li>
4809
4810    <li>improve checks for setuid/setgid operation to accommodate
4811    limited resource management in some kernels (GenToo
4812    #193238).</li>
4813
4814    <li>update config.guess, config.sub</li>
4815  </ul>
4816
4817  <h1><a name="xterm_213" id="xterm_213">Patch #213 - 2006/4/30 -
4818  XFree86 4.5.99.905</a></h1>
4819
4820  <ul>
4821    <li>minor optimization to cell layout; will use that to
4822    simplify some logic and allow for more than two combining
4823    characters in another patch.</li>
4824
4825    <li>add <code>utf8Latin1</code> resource to make optional the
4826    feature from <a href="#xterm_209">patch #209</a> which allowed
4827    ISO-8859-1 fonts to be used in cases where a wide font was
4828    given. This would only work for the special case where the user
4829    normally used Latin-1 and wanted some wide characters (report
4830    by Rostislav Krasny).</li>
4831
4832    <li>add <code>utf8Title</code> resource to manpage (Novell
4833    #52655).</li>
4834
4835    <li>fix typo in table entry for <code>utf8Title</code> resource
4836    which made it treated as an integer rather than boolean (patch
4837    by Mike Fabian, Novell #52655).</li>
4838  </ul>
4839
4840  <h1><a name="xterm_212" id="xterm_212">Patch #212 - 2006/4/9 -
4841  XFree86 4.5.99.904</a></h1>
4842
4843  <ul>
4844    <li>improve description of <code>forceBoxChars</code> in
4845    manpage (discussion with Joe Wells).</li>
4846
4847    <li>set checkmark for "Select To Clipboard" menu entry on
4848    startup, from resource setting.</li>
4849
4850    <li>update manpage to note that
4851    <code>*customization:color</code> is not needed, though it is
4852    useful (Redhat #188034).</li>
4853
4854    <li>add underscore to sample pattern for URL in
4855    <code>XTerm.ad</code> (Redhat #188037).</li>
4856
4857    <li>modify install rule for manpage to use the configured
4858    app-defaults directory (Redhat #188031).</li>
4859
4860    <li>add checks in <code>releaseCursorGCs()</code> to ensure
4861    GC's are distinct, needed since memory leak changes for
4862    <a href="#xterm_208">patch #208</a> (Redhat #186935, patch by
4863    Jason Vas Dias).</li>
4864
4865    <li>modify <code>Imakefile</code> definitions to allow
4866    <code>imake</code> to set <code>InstallXtermSetGID</code>. Add
4867    symbol <code>InstGidFlags</code>.</li>
4868
4869    <li>add configure script check to ensure that SIGWINCH if
4870    defined even when headers undefine this as a side-effect of
4871    <code>_POSIX_C_SOURCE</code>, etc.</li>
4872
4873    <li>resync with XFree86 CVS
4874
4875      <ul>
4876        <li>ifdef-out chmod of terminal device for OS/2 (XFree86
4877        #1663, Frank Giessler).</li>
4878
4879        <li>move new <code>Imakefile</code> chunk which defines
4880        <code>$(CSGIDFLAGS)</code> before DEFINES, e.g., for IRIX64
4881        (Marc La France).</li>
4882      </ul>
4883    </li>
4884  </ul>
4885
4886  <h1><a name="xterm_211" id="xterm_211">Patch #211 - 2006/3/19 -
4887  XFree86 4.5.99.902</a></h1>
4888
4889  <ul>
4890    <li>modify prefix/suffix transformation in makefile to make
4891    <code>uxterm</code> install properly on Cygwin.</li>
4892
4893    <li>restore the sizeof-comparison for <code>struct
4894    lastlog</code> added in <a href="#xterm_208">patch #208</a>,
4895    rendered (mostly) obsolete in <a href="#xterm_210">patch
4896    #210</a>, since an imake configuration can still turn that code
4897    on (prompted by comment by David Dawes).</li>
4898
4899    <li>remove feature for <code>FreeBSDArchitecture</code> from
4900    <code>Imakefile</code> which would install xterm using the
4901    <code>utmp</code> group since a standard FreeBSD system has no
4902    such group, though it would support this configuration. FreeBSD
4903    packager uses the <code>configure</code> script, which can make
4904    the appropriate check (prompted by comment by David
4905    Dawes).</li>
4906
4907    <li>fixes for gcc redefinition warnings when built using imake
4908    (reports by David Dawes, Marc La France).</li>
4909  </ul>
4910
4911  <h1><a name="xterm_210" id="xterm_210">Patch #210 - 2006/3/12 -
4912  XFree86 4.5.99.902</a></h1>
4913
4914  <ul>
4915    <li>add configure check for workaround in <a href=
4916    "#xterm_208">patch #208</a> for Solaris' inconsistent support
4917    for struct lastlog to quiet compiler warnings (prompted by
4918    David Dawes commit message for XFree86).</li>
4919
4920    <li>fixes for BASE64 selection manipulation, e.g., ensure that
4921    the string terminator is written after cut-buffer data (report
4922    by Joe Allen).</li>
4923
4924    <li>add vttests/paste64.pl script to test experimental option
4925    for setting/getting selection data.</li>
4926
4927    <li>add some error-checking in fontutils.c (prompted by David
4928    Dawes commit message for XFree86).</li>
4929
4930    <li>change xterm manpage to show the actual color resource
4931    names <code>XtDefaultForeground</code> and
4932    <code>XtDefaultBackground</code> rather than black and white
4933    (prompted by discussion with Emanuele Giaquinta).</li>
4934
4935    <li>add <code>utf8Title</code> resource and menu entry,
4936    allowing the user to control whether title strings are
4937    interpreted as ISO-8859-1 or UTF-8 encoding (Novell #52655,
4938    Novell #113206).</li>
4939
4940    <li>change order of ifdef's for utempter versus platforms in
4941    <code>Imakefile</code> to ensure a proper value for
4942    <code>InstallXtermSetGID</code> (prompted by Marc La France
4943    commit message for XFree86).</li>
4944
4945    <li>update the cursor GCs when menu entry for reverse video is
4946    toggled. (Redhat #183993).</li>
4947
4948    <li>a memory-leak fix for <code>set_cursor_gcs()</code> in
4949    <a href="#xterm_208">patch #208</a> broke the <code>-cm</code>
4950    option (Redhat #182382).</li>
4951  </ul>
4952
4953  <h1><a name="xterm_209" id="xterm_209">Patch #209 - 2006/2/12 -
4954  XFree86 4.5.99.22</a></h1>
4955
4956  <ul>
4957    <li>remove <code>setf</code> and <code>setb</code> from
4958    <code>xterm-256color</code> terminfo entry to avoid issues with
4959    applications that ignore the ANSI strings (report by Emanuele
4960    Giaquinta).</li>
4961
4962    <li>remove obsolete references to "Xorg" to avoid confusion
4963    with "X.org" (prompted by David Dawes commit message for
4964    XFree86).</li>
4965
4966    <li>improve initial layout performance for the toolbar
4967    configuration by precalculating the height of the toolbar.</li>
4968
4969    <li>remove menu entry for "Enable Curses Emulation" (to make
4970    room for "Select To Clipboard").</li>
4971
4972    <li>add resource <code>selectToClipboard</code>, action
4973    <code>set-select</code> and a menu entry to allow users to
4974    switch between PRIMARY and CLIPBOARD for select/paste.</li>
4975
4976    <li>allow cursor to have the same color as foreground (text),
4977    since it is rendered as reverse (Debian #350664).</li>
4978
4979    <li>amend change for loading <code>utf8Fonts</code> resource
4980    from <a href="#xterm_204">patch #204</a> to allow an ISO-8859-1
4981    "normal" font to be combined with an ISO-10646 font if the
4982    latter is given via the <code>-fw</code> option or its
4983    corresponding resource value (prompted by comment in Novell
4984    #49305).</li>
4985
4986    <li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for
4987    <code>__GNU__</code> to set the controlling terminal (Debian
4988    #348457).</li>
4989
4990    <li>add configure option <code>--disable-leaks</code>.</li>
4991
4992    <li>add a check in <code>Bell</code> to ensure that the VT100
4993    widget is realized, since it may be called by
4994    <code>xtermLoadFont</code> given an incorrect font resource
4995    (Redhat #180450).</li>
4996
4997    <li>improve initialization of wide-bold font by not using the
4998    derived value when it happens to have few glyphs (report by
4999    Mboso Sampson).</li>
5000
5001    <li>improve dynamic colors by not repainting the screen if only
5002    the cursor color changes (request by Bram Moolenaar).</li>
5003
5004    <li>fix menu initialization for tek4014 window broken in
5005    <a href="#xterm_206">patch #206</a>.</li>
5006
5007    <li>typo in manpage (Debian #351425).</li>
5008
5009    <li>correct loop logic in <code>dotext</code> to prevent an
5010    infinite loop if a wide character was just at the right margin
5011    when wrapping was disabled (report by Serge van den Boom).</li>
5012
5013    <li>initialize the saved-cursor data so a restore-cursor
5014    operation without a preceding save-cursor operation will not
5015    modify the foreground color.</li>
5016
5017    <li>add a new selection feature: regular expressions, and new
5018    resources which specify what happens on multiple mouse clicks:
5019    <code>on2Clicks</code>, <code>on3Clicks</code>,
5020    <code>on4Clicks</code> and <code>on5Clicks</code>.</li>
5021
5022    <li>revert the <code>XTerm.ad</code> change from <a href=
5023    "#xterm_208">patch #208</a> (Debian #348384).</li>
5024
5025    <li>fixes for the print-window to make it handle combining
5026    characters in UTF-8 mode.</li>
5027
5028    <li>add check to ensure that double-clicking to extend
5029    selection will not extend it into the scrollback area. This
5030    still allows users to scroll back and select text (Debian
5031    #347415).</li>
5032
5033    <li>add configure option <code>--with-tty-group</code> to help
5034    work around deficiencies in packager's build environment
5035    (Debian #349142).</li>
5036
5037    <li>fix typo in configure script option
5038    <code>--disable-narrowproto</code> (report by David
5039    Mart&iacute;nez Moreno).</li>
5040
5041    <li>amend CF_X_FREETYPE changes for <code>pkg-config</code>
5042    check to ensure that <code>Xft</code> is known to that tool
5043    (report and patch by Emanuele Giaquinta).</li>
5044
5045    <li>add an ifdef to allow <code>./configure
5046    --disable-active-icon</code> to work, broken by new code for
5047    testing memory leaks in <a href="#xterm_208">patch #208</a>
5048    (report by Brian Lindholm).</li>
5049  </ul>
5050
5051  <h1><a name="xterm_208" id="xterm_208">Patch #208 - 2006/1/3 -
5052  XFree86 4.5.99.19</a></h1>
5053
5054  <ul>
5055    <li>add <code>charClass</code> resource to
5056    <code>XTerm.ad</code> and <code>UXTerm.ad</code> which
5057    simplifies selecting URLs (prompted by Kirill Ponomarew).</li>
5058
5059    <li>modify install rule for <code>uxterm</code> to account for
5060    the <code>--program-prefix</code>, etc., options by invoking
5061    the transformed name of xterm rather than simply "xterm".</li>
5062
5063    <li>modify configure <code>--with-app-defaults</code> option to
5064    allow <code>--without-app-defaults</code>.</li>
5065
5066    <li>add configure <code>--with-symlink</code> option to make it
5067    simpler to install successive versions of <code>xterm</code>
5068    renamed using the <code>--program-prefix</code>, etc., options
5069    with a symbolic link pointing to the most recent.</li>
5070
5071    <li>make <code>-iconic</code> option work with toolbar
5072    configuration (GenToo #113604).</li>
5073
5074    <li>suppress <code>lastlog</code> feature for 64-bit Solaris
5075    configuration since that platform provides only a 32-bit
5076    interface (report by Peter Bray).</li>
5077
5078    <li>fix memory reallocation for the "UTF-8" menu entry when
5079    xterm is started using the <code>+u8</code> option (reported by
5080    Jan Willem Stumpel).</li>
5081
5082    <li>add a configure check for the actual path of
5083    <code>luit</code>, to work around broken <code>imake</code>
5084    configurations.</li>
5085
5086    <li>add a configure check for <code>pkg-config</code> (Redhat
5087    Bugzilla #173541).</li>
5088
5089    <li>modify install-rule for <code>uxterm</code> to omit
5090    executable suffix, e.g., for Cygwin.</li>
5091
5092    <li>modify <code>sinstall.sh</code> to work around quirks in
5093    Cygwin configuration.</li>
5094  </ul>
5095
5096  <h1><a name="xterm_207" id="xterm_207">Patch #207 - 2005/11/13 -
5097  XFree86 4.5.99.16</a></h1>
5098
5099  <ul>
5100    <li>enable <code>lastlogx</code> support for NetBSD (was added,
5101    but not enabled in <a href="#xterm_186">patch #186</a>).</li>
5102
5103    <li>work around broken <code>lastlog.h</code> in glibc 2.3.5,
5104    which includes <code>utmp.h</code>.</li>
5105
5106    <li>revert part of recent XFree86 Imakefile change, restoring
5107    the <code>-I.</code> needed for <code>xmkmf</code> builds of
5108    xterm (XFree86 Bugzilla #1633, reports by Alexander Pohoyda,
5109    Matthieu Herrb).</li>
5110
5111    <li>change compiled-in default for <code>printerCommand</code>
5112    resource to an empty string. People who want to use the printer
5113    should be able to read the manual (Debian #311490).</li>
5114
5115    <li>modify <code>Imakefile</code> to work around old problems
5116    in <code>imake</code> configuration to allow test-builds using
5117    <code>xmkmf</code> on Linux. (This was not noticed since
5118    several releases had broken definitions relating to Xft which
5119    were harder to work around).</li>
5120
5121    <li>link <code>resize</code> for SCO platforms (Kean
5122    Johnston).</li>
5123  </ul>
5124
5125  <h1><a name="xterm_206" id="xterm_206">Patch #206 - 2005/11/3 -
5126  XFree86 4.5.99.15</a></h1>
5127
5128  <ul>
5129    <li>add configure <code>--with-app-defaults</code> option to
5130    allow app-defaults directory for install-rules to be
5131    customized.</li>
5132
5133    <li>remove default translations for
5134    <code>dabbrev-expand()</code> due to conflicts with existing
5135    keyboard arrangements.</li>
5136
5137    <li>remove redundant check for <code>_NET_WM_PID</code> (report
5138    by Emanuele Giaquinta).</li>
5139
5140    <li>set icon border width explicitly to work around fvwm
5141    problem with active icon resizing (report by Steve Morris,
5142    analysis by Dominik Vogt).</li>
5143
5144    <li>modify resource files to make the font-resources a little
5145    more specific, e.g., changing "*VT100*" to "*VT100.", to make
5146    the distinction between VT100.font and VT100.utf8Fonts.font
5147    sharper, in case a packager modifies one of those.</li>
5148
5149    <li>expanded comments in <code>UXTerm.ad</code> regarding the
5150    font resources (Debian #319179).</li>
5151
5152    <li>add <code>--enable-narrowproto</code> configure option to
5153    accommodate X.org "modular" build (report by Stephan Hermann,
5154    GenToo #17220).</li>
5155
5156    <li>fix typo in xterm.man description of <code>+wf</code>
5157    (patch by Tobias Stoeckmann).</li>
5158
5159    <li>add <code>scrollBarBorder</code> resource (request by Floyd
5160    L Davidson).</li>
5161
5162    <li>modify <code>xterm-new</code> terminfo entry to use
5163    capabilities for shifted scroll forward/reverse as shifted
5164    cursor up/down.</li>
5165
5166    <li>correct updating of checkmark for toolbar entry in popup
5167    menu (report by Emanuele Giaquinta).</li>
5168
5169    <li>fix ifdef's to allow compiling with toolbar and without
5170    tek4014 (patch by Emanuele Giaquinta).</li>
5171
5172    <li>use <code>openpty()</code> for Darwin port (patch by
5173    Emanuele Giaquinta).</li>
5174
5175    <li>fix GenToo #90697 a different way, postponing the logic in
5176    <code>SetupToolbar</code> until the toolbar is actually needed,
5177    i.e., the <code>+tb</code> option is handled as expected.</li>
5178
5179    <li>revert fix made in <a href="#xterm_203">patch #203</a> for
5180    GenToo #90697. That introduced a problem with the control mouse
5181    click-popups, while most of the performance problems can be
5182    resolved by restricting the menu fonts (report by Emanuele
5183    Giaquinta).</li>
5184
5185    <li>fix a file-descriptor leak when calling
5186    <code>openpty()</code> (OpenBSD system/4561).</li>
5187
5188    <li>make a special case of resizing work like vt100: a hard
5189    reset also resets the 132/80 mode. The code to support this was
5190    present since X11R5, but not used because the corresponding
5191    initial state of the <code>-132</code> option was not
5192    saved.</li>
5193
5194    <li>restore window manager hints after
5195    <code>XtMakeResizeRequest()</code> calls. One instance from
5196    <a href="#xterm_205">patch #205</a> resulted in the window
5197    manager displaying pixels rather than than characters after
5198    selecting a different font size (FreeBSD ports/87424).</li>
5199
5200    <li>remove special case for Darwin in CF_XOPEN_SOURCE (Emanuele
5201    Giaquinta).</li>
5202
5203    <li>modify parsing of control sequence <code>CSI&nbsp;T</code>
5204    to allow scroll-down to be sent while mouse tracking is enabled
5205    (request by D Hugh Redelmeier).</li>
5206
5207    <li>correct termcap "me" (mode-end) string so it does not
5208    modify the alternate character set (report by Andrey
5209    Chernov).</li>
5210
5211    <li>correct size-comparison in HandleInterpret() broken in
5212    changes from <a href="#xterm_201">patch #201</a> to allocate
5213    input buffer (Debian #334317).</li>
5214
5215    <li>amend adjustments for scrollbar layout from <a href=
5216    "#xterm_204">patch #204</a> to make this apply only to the
5217    toolbar configuration. In the non-toolbar configuration, the
5218    resulting scrollbar was shifted by its borderwidth (report by
5219    Matthieu Herrb).</li>
5220
5221    <li>add select-cursor-extend() action.</li>
5222
5223    <li>fix some broken href's in xterm.log.html, and typo in the
5224    INSTALL file (report/patch by David Mart&iacute;nez
5225    Moreno).</li>
5226
5227    <li>modify <code>Imakefile</code> to use setgid mode for
5228    installing with Linux, OpenBSD and FreeBSD.</li>
5229
5230    <li>add configure --with-setuid and --with-reference options to
5231    allow packagers more flexibility in customizing install
5232    permissions.</li>
5233
5234    <li>generalize and make optional (configure --with-utmp-setgid)
5235    the change made for XFree86 Bugzilla #878 in <a href=
5236    "#xterm_205">patch #205</a> (FreeBSD bug report
5237    #ports/86663).</li>
5238  </ul>
5239
5240  <h1><a name="xterm_205" id="xterm_205">Patch #205 - 2005/9/18 -
5241  XFree86 4.5.99.12</a></h1>
5242
5243  <ul>
5244    <li>correct a typo in CF_FUNC_TGETENT introduced in <a href=
5245    "#xterm_198">patch #198</a> fix for Gentoo #69926.</li>
5246
5247    <li>implement logic in termcap query to process multiple
5248    parameters as documented in ctlseqs.ms</li>
5249
5250    <li>fix buffer size used for termcap query, which was not long
5251    enough for the terminfo "colors" name (patch by Bradd W.
5252    Szonye).</li>
5253
5254    <li>add configure option --enable-readline-mouse, which turns
5255    on the experimental OPT_READLINE code (patch by Ilya
5256    Zakharevich).</li>
5257
5258    <li>for FreeBSD, drop setuid privileges after startup (XFree86
5259    Bugzilla #878, report/patch by Alexander Pohoyda)</li>
5260
5261    <li>add menu entry (alt-esc) and corresponding action
5262    (alt-sends-esc) to toggle the <code>eightBitInput</code>
5263    resource setting.</li>
5264
5265    <li>generate configure script with autoconf 2.52 (patched) to
5266    use the feature therein which forces the script's locale to
5267    POSIX (Gentoo Bugzilla #105369).</li>
5268
5269    <li>modify computation of rows/columns on resize to avoid
5270    extending beyond the given limits, e.g., if resizing in
5271    response to a "maximize" in Gnome or KDE which do not use the
5272    window manager hints for this case (Debian #289123, Novell
5273    #61153).</li>
5274
5275    <li>modifications to work with z/OS 1.4 (Paul Giordano).</li>
5276
5277    <li>improve error-reporting when chown/chmod of the
5278    pseudo-terminal fails, e.g., if a copy of xterm which was
5279    designed to work with old-style pseudo-terminals is not
5280    installed setuid or setgid (report by Jeremy C. Reed).</li>
5281
5282    <li>patches from Emanuele Giaquinta:
5283
5284      <ul>
5285        <li>ctlseqs.ms says that primary and secondary DA accept a
5286        nonzero parameter, which is incorrect. Also modify code to
5287        agree with this.</li>
5288
5289        <li>correct a comment in 88colres.pl</li>
5290
5291        <li>ctlseqs.ms says that the DEC Set/Reset control
5292        sequences for the backarrow key make it send DEL/BS,
5293        respectively, while it's the opposite.</li>
5294
5295        <li>update the menu entries for the metaSendsEscape,
5296        deleteIsDEL and numLock resources when changing them with
5297        the corresponding DEC Set/Reset control sequences.</li>
5298      </ul>
5299    </li>
5300
5301    <li>fixes for configure script:
5302
5303      <ul>
5304        <li>add special case for QNX, defining _QNX_SOURCE.</li>
5305
5306        <li>check for preprocessors which do not perform -U and -D
5307        options in the given order.</li>
5308
5309        <li>improve macro to determine gcc version</li>
5310
5311        <li>improve check for Intel compiler and related warning
5312        options</li>
5313      </ul>
5314    </li>
5315
5316    <li>update config.guess, config.sub</li>
5317
5318    <li>improve fix from <a href="#xterm_198">patch #198</a> for
5319    <code>Cleanup()</code> by ensuring it is not called from the
5320    SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)).</li>
5321
5322    <li>eliminate a retry for a better-matching bold font, to work
5323    around recent font server changes.</li>
5324
5325    <li>fixes for Novell #113277:
5326
5327      <ul>
5328        <li>specify weight for wide font which may be derived from
5329        normal fontname.</li>
5330
5331        <li>cache the derived wide- and widebolt-fontnames.</li>
5332      </ul>
5333    </li>
5334
5335    <li>workaround for GenToo Bugzilla #100728.</li>
5336
5337    <li>add menubar's border width to layout computation. Normally
5338    this is zero, but patterns such as
5339    <code>XTerm*borderWidth:1</code> would give poor layout for the
5340    toolbar configuration.</li>
5341  </ul>
5342
5343  <h1><a name="xterm_204" id="xterm_204">Patch #204 - 2005/8/4 -
5344  XFree86 4.5.99.9</a></h1>
5345
5346  <ul>
5347    <li>work around quirk in shell which allowed user to "run"
5348    uxterm script when there was no UTF-8 locale installed by
5349    entering "sh -x uxterm". Also popup an xmessage to show the
5350    problem for users who run this via a GUI (Debian #318513).</li>
5351
5352    <li>disallow changes to fonts, toolbar and scrollbar when the
5353    vt100 window is iconified, to simplify management of the active
5354    icon.</li>
5355
5356    <li>fixes to make <code>-geom</code> option work properly with
5357    the toolbar configuration (Gentoo #90717, Gentoo #91967).</li>
5358
5359    <li>minor improvements to scrollbar layout: ensure that the
5360    scrollbar border is zero if the vt100 border is zero.</li>
5361
5362    <li>improve initialization due to <code>utf8</code> resource by
5363    loading the <code>utf8Fonts</code> resource in the case where
5364    <code>locale</code> resource is false. Also in this case, do
5365    not disable switching UTF-8 mode on/off.</li>
5366
5367    <li>minor optimization of TrueType font-loading, loads italic
5368    font only when needed.</li>
5369
5370    <li>correct variable used to store temporary result from lookup
5371    of bold font, when initializing the wide-bold-font data and no
5372    immediate match is found by asking for a bold variant of the
5373    wide-font. The result was to use overstriking rather than the
5374    actual bold font (Debian #318162, patch by Eugene Konev).</li>
5375
5376    <li>add checks to ensure vt100 widget is realized when it might
5377    be updated via actions handled from a tek4014-only
5378    configuration.</li>
5379  </ul>
5380
5381  <h1><a name="xterm_203" id="xterm_203">Patch #203 - 2005/7/6 -
5382  XFree86 4.5.99.7</a></h1>
5383
5384  <ul>
5385    <li>modify initialization of <code>allowSendEvents</code> and
5386    <code>allowWindowOps</code> to prevent modification with the
5387    editres protocol.</li>
5388
5389    <li>fix compiler warning for NetBSD by including util.h in
5390    main.c (XFree86 Bugzilla #1596).</li>
5391
5392    <li>fix to build on Darwin 8.x, which no longer provides
5393    <code>setpgrp()</code> (patch by Min Sik Kim).</li>
5394
5395    <li>adapted fixes for Legend (SCO) from diffs attached to
5396    Freedesktop.Org Bugzilla #3180.</li>
5397
5398    <li>fix typo in xterm manpage description of <code>-ls</code>
5399    option (Freedesktop.Org Bugzilla #3543).</li>
5400
5401    <li>add support for interpreting the underline attribute as an
5402    italic font in Xft mode (patch by Chuck Blake).</li>
5403
5404    <li>improve initialization of toolbar so that individual
5405    pulldown menus are initialized on demand, as they are in the
5406    scenario where they are invoked as popup menus (GenToo Bugzilla
5407    #90697).</li>
5408
5409    <li>fix logic in <code>find_utmp</code>, which did not reset
5410    result in <code>getutid()</code>, causing an infinite loop in
5411    some conditions (report by Emil Mikulic).</li>
5412
5413    <li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla
5414    #91008).</li>
5415
5416    <li>modify ifdef's in ptyx.h and xterm_io.h to build with
5417    DragonFly (patch by Jeroen Ruigrok).</li>
5418
5419    <li>change default values for <code>minBufSize</code> and
5420    <code>maxBufSize</code> to 4096 and 32768 respectively so that
5421    the initial read request will match the value from before
5422    changes to use <code>sched_yield()</code>.</li>
5423
5424    <li>make paste of UTF-8 faster for Western character sets by
5425    checking range of incoming data (patch by Joe Allen).</li>
5426
5427    <li>add experimental option to allow applications to get or set
5428    the selection data as a BASE64 string (adapted from patch by
5429    Joe Allen).</li>
5430
5431    <li>fix an off-by-one error parsing <code>-S/nn</code> option
5432    (Debian #311438, report/fix by Peter Chubb).</li>
5433
5434    <li>fix an initialization bug from <a href="#xterm_201">patch
5435    #201</a> that broke logging (report by Rodney Thayer).</li>
5436
5437    <li>amend change to command-line processing in <a href=
5438    "#xterm_201">patch #201</a> to avoid conflict with
5439    <code>-e</code> option (report by Servatius Brandt).</li>
5440
5441    <li>suppress configure check for <code>_XOPEN_SOURCE</code> on
5442    darwin.</li>
5443
5444    <li>update config.guess, config.sub</li>
5445  </ul>
5446
5447  <h1><a name="xterm_202" id="xterm_202">Patch #202 - 2005/5/2 -
5448  XFree86 4.5.99.3</a></h1>
5449
5450  <ul>
5451    <li>add extended shift- and control-modifier cursor keys to
5452    "xterm+pcfkeys" terminfo entry to correspond to ncurses
5453    20050430 patch.</li>
5454
5455    <li>fix a rare case where text would be written with the wrong
5456    colors because output of scrolled text would reset the colors
5457    and the new text would be written with the same colors
5458    (report/testcase by Thomas Glanzmann).</li>
5459
5460    <li>rename <code>$CMD</code> variable in <code>plink.sh</code>
5461    because it is a reserved symbol in bash 3.00.16 (report by Ted
5462    Taylor).</li>
5463
5464    <li>add environment variables <code>$XTERM_SHELL</code> and
5465    <code>$XTERM_VERSION</code> (request by Zdenek Sekera).</li>
5466
5467    <li>corrected workaround for background color of menubar, which
5468    gave a too-broad expression, coloring the background of the
5469    VT100 widget unless overridden by another resource
5470    setting.</li>
5471
5472    <li>correct an error in the logic which decides when
5473    <code>sched_yield()</code> is run; it would occasionally hang
5474    when contending with other pseudo-terminal applications such as
5475    screen (report by Kirill Ponomarew).</li>
5476
5477    <li>modify initialization to decide whether to default to
5478    built-in <code>wcwidth()</code> versus system's version based
5479    on the starting locale and whether the system's version is poor
5480    quality (suggested by Bram Moolenaar).</li>
5481
5482    <li>update table for <code>mk_width()</code> from UnicodeData
5483    4.1.0 using Markus Kuhn's <code>uniset</code> script.</li>
5484  </ul>
5485
5486  <h1><a name="xterm_201" id="xterm_201">Patch #201 - 2005/4/21 -
5487  XFree86 4.5.99.2</a></h1>
5488
5489  <ul>
5490    <li>improve resource files to show how the menubar and popup
5491    menus can be colored (prompted by report by Joe Wells).</li>
5492
5493    <li>modify parsing of OSC (and SOS, etc), strings so their
5494    contents are not interpreted as UTF-8. This allows non-ASCII
5495    title strings to be set, provided that the window manager
5496    complies (report by Thomas Wolff).</li>
5497
5498    <li>improved some of the built-in line-drawing glyphs.</li>
5499
5500    <li>correct color of "box" character drawn for line-drawing
5501    glyph 1 (report by Nicolas George).</li>
5502
5503    <li>improve behavior when switching to UTF-8 mode after startup
5504    so xterm will check if the current fonts are already wide
5505    (ISO10646-1). If they are not, xterm will use the
5506    <code>utf8Fonts</code> subresource to load appropriate fonts
5507    (request by Bram Moolenaar).</li>
5508
5509    <li>modify logic for setting title-string so it applies to the
5510    current widget rather than the vt100 widget.</li>
5511
5512    <li>modify initialization for wide-bold fontname, to search for
5513    one if none is given (report by Michael Schroeder).</li>
5514
5515    <li>add resource <code>mkWidth</code> and command-line option
5516    <code>-mk_width</code> to control whether xterm uses the
5517    built-in version of wcwidth().</li>
5518
5519    <li>add resource settings for minimum/maximum input buffer
5520    size, and call to <code>sched_yield</code> to improve
5521    performance with newer Linux kernels (adapted from patch by
5522    Nicolas George).</li>
5523
5524    <li>correct computation of width for wide characters with the
5525    invisible attribute (report by Thomas Wolff).</li>
5526
5527    <li>modify interaction between <code>+u8</code> and
5528    <code>locale</code> resource to allow the command-line option
5529    to override the resource (requested by Thomas Wolff).</li>
5530
5531    <li>add a limit check for scrolling margins in a one-line
5532    screen, overlooked in fixes for <a href="#xterm_198">patch
5533    #198</a> (Debian #297430).</li>
5534
5535    <li>correct treatment of <code>iconBorderWidth</code> for
5536    resizing an active-icon, and its description in manpage (Debian
5537    #296592).</li>
5538
5539    <li>modify configure script <code>--disable-imake</code> to use
5540    the script's definitions anyway if it cannot detect imake
5541    (prompted by FreeBSD bug 77408).</li>
5542
5543    <li>ignore error in the I/O initialization that tries to set
5544    the tty to 7-bit input for the case where
5545    <code>eightBitInput</code> resource is false (Debian
5546    #298551).</li>
5547
5548    <li>modify command-processing to accept an optional parameter
5549    that tells xterm which shell program to use (request by Zdenek
5550    Sekera).</li>
5551
5552    <li>add simpler resource <code>keyboardType</code> which, when
5553    set, overrides the individual keyboard-type resources and
5554    eliminates the possibility of conflict between them.</li>
5555
5556    <li>add initialization for <code>scoFunctionKeys</code>
5557    resource (report by Rick K).</li>
5558
5559    <li>correct logic of <code>ReallocateBufOffsets()</code> which
5560    did not copy the content of the old screen buffer to the proper
5561    location, making a repaint clear after switching to
5562    wide-character mode (report by Bram Moolenaar):</li>
5563
5564    <li>implement the remaining pieces to make xterm allocate cells
5565    for wide-characters when the "UTF-8" menu entry is selected.
5566    Also, load the UTF-8 font when that menu entry is selected, or
5567    the escape sequence for UTF-8 mode is received (report by Bram
5568    Moolenaar):</li>
5569
5570    <li>add command-line options (<code>-tb</code>,
5571    <code>+tb</code>) and resource <code>toolBar</code> to allow
5572    menu/toolbar to disabled or enabled at startup (prompted by
5573    reports by Joe Wells).</li>
5574
5575    <li>correct typo in configure script's --enable-dec-locator
5576    option (report by Bram Moolenaar).</li>
5577  </ul>
5578
5579  <h1><a name="xterm_200" id="xterm_200">Patch #200 - 2005/2/6 -
5580  XFree86 4.4.99.23</a></h1>
5581
5582  <ul>
5583    <li>increase color pairs value for xterm-256color and
5584    xterm-88color to match ncurses, which has an experimental
5585    option to support this.</li>
5586
5587    <li>modify ifdef's to make AIX use termios rather than termio;
5588    the struct sizes for the two were not the same.</li>
5589
5590    <li>improve CF_WITH_IMAKE_CFLAGS configure macro script for
5591    OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and
5592    AIX.</li>
5593
5594    <li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch
5595    by Min Sik Kim).</li>
5596
5597    <li>modify find_utmp() to initialize the whole utmpx struct
5598    (except ut_id), since that is needed for OSF1 4.0D to prevent
5599    an infinite loop on exit.</li>
5600
5601    <li>add configure check before adding -D_POSIX_SOURCE since
5602    some platforms predefine it, e.g., cygwin.</li>
5603
5604    <li>add simplified sed expressions in CF_IMAKE_CFLAGS configure
5605    script macro to ensure value for PROJECTROOT is quoted on
5606    Solaris, i.e., when nested <code>\(</code> and <code>\)</code>
5607    are not interpreted correctly.</li>
5608
5609    <li>correct DEC rectangle operations to reset state after
5610    completing the operations.</li>
5611
5612    <li>modify CASE_ST handling in charproc.c to ensure that the
5613    parse state is reset even if xterm is not currently processing
5614    an OSC or other string (patch by Johnny Billquist forwarded by
5615    Matthias Scheler, NetBSD xsrc/29003).</li>
5616
5617    <li>fix OS/2 build for innotek_libc (patch by David Yeo).</li>
5618
5619    <li>fix a regression from <a href="#xterm_197">patch #197</a>
5620    fix for Debian #277832 which disowned the selection if it was
5621    scrolled, e.g., by the user pressing return at the bottom of
5622    the screen (Debian #291787).</li>
5623
5624    <li>move the warning/exit for missing $DISPLAY into the error
5625    handler in case <code>-display</code> is given, and the connect
5626    fails for some other reason.</li>
5627  </ul>
5628
5629  <h1><a name="xterm_199" id="xterm_199">Patch #199 - 2005/1/17 -
5630  XFree86 4.4.99.22</a></h1>
5631
5632  <ul>
5633    <li>instead of setting <code>$DISPLAY</code>, check for the
5634    unset variable and warn/exit on this condition (comments by H
5635    Merijn Brand and Bernhard R Link).</li>
5636
5637    <li>fix a typo in Imakefile from <a href="#xterm_198">patch
5638    #198</a> (reports/patches by Stefan Dirsch, Mike Castle).</li>
5639  </ul>
5640
5641  <h1><a name="xterm_198" id="xterm_198">Patch #198 - 2005/1/13 -
5642  XFree86 4.4.99.21</a></h1>
5643
5644  <ul>
5645    <li>set <code>$DISPLAY</code> to ":0" if it is not set.</li>
5646
5647    <li>add <code>utmpDisplayId</code> resource to allow users to
5648    control whether the display identifier (display number and
5649    screen number) are retained in the connection information
5650    recorded in utmp (discussion with Edoardo Tirtarahardja).</li>
5651
5652    <li>add <code>bellOnReset</code> resource to allow users to
5653    disable bell which sounds on hard reset since <a href=
5654    "#xterm_183">patch #183</a> changes to DECSCL (discussion with
5655    Danek Duvall).</li>
5656
5657    <li>improve <code>$WINDOWID</code> for configuration with
5658    toolbar by making it refer to the top-level shell rather than
5659    the parent of the current window. For that case, the parent is
5660    a form widget, which does not have a name, which made the
5661    <code>$WINDOWID</code> not very useful as a parameter for
5662    <code>xwininfo</code> (suggested by Dave Bodenstab).</li>
5663
5664    <li>fix a typo in WhichVFont() macro from <a href=
5665    "#xterm_197">patch #197</a> changes which broke the
5666    --disable-active-icon configuration (report by Ralf S.
5667    Engelschall).</li>
5668
5669    <li>improve some limit checks (Gentoo Bugzilla #75604).</li>
5670
5671    <li>add --disable-setuid option to configure script (Gentoo
5672    Bugzilla #76543).</li>
5673
5674    <li>add --disable-full-tgetent option to configure script,
5675    allowing one to ignore a termcap library in favor of
5676    ncurses/curses (Gentoo Bugzilla #69926).</li>
5677
5678    <li>modify configure script to choose useful warning options
5679    for Intel version 8.0 compiler.</li>
5680
5681    <li>update config.guess, config.sub</li>
5682
5683    <li>make active-icon work properly when TrueType fonts are used
5684    (Debian #286068).</li>
5685
5686    <li>correct change from <a href="#xterm_157">patch #157</a>
5687    which uses getlogin() to check for an alias; the storage used
5688    for the related getpwuid() call was overwritten by the data
5689    used for comparison (patch by Per Hedeland).</li>
5690
5691    <li>correct case of SCS for character set 0 (line-drawing) to
5692    allow it to be selected into GR.</li>
5693
5694    <li>fix a file-descriptor leak (Redhat Bugzilla #139597).</li>
5695
5696    <li>modify <code>creat_as()</code> to only fork if xterm is
5697    actually running as setuid and/or setgid. This works around a
5698    Cygwin bug which hangs when logging is enabled and makes xterm
5699    a little faster for systems using interfaces such as utempter
5700    (report by Al Goodman).</li>
5701
5702    <li>modify <code>Cleanup()</code> to avoid operations such as X
5703    calls that might use unsafe functions when it is called by a
5704    signal handler (report by Michiel Boland).</li>
5705
5706    <li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM
5707    changes from <a href="#xterm_197">patch #197</a> that broke
5708    DECSET 38: switch to Tek4014 emulation (report by Dave
5709    Bodenstab).</li>
5710
5711    <li>fix for manpage escapes (Marc La France).</li>
5712
5713    <li>improve on IRIX-specific change for Imakefile in XFree86
5714    CVS versus resize linking against termcap library to reflect
5715    definitions for USE_TERMCAP in resize.c</li>
5716  </ul>
5717
5718  <h1><a name="xterm_197" id="xterm_197">Patch #197 - 2004/11/30 -
5719  XFree86 4.4.99.19</a></h1>
5720
5721  <ul>
5722    <li>modify configure script to remove empty "-DPROJECTROOT="
5723    definition which resulted unusable values for luit's default
5724    path.</li>
5725
5726    <li>update precompose.c based on Unicode 4.0.1</li>
5727
5728    <li>several minor fixes based on Intel compiler warnings.</li>
5729
5730    <li>change default translations so a <code>BtnDown</code> which
5731    is not recognized is simply ignored rather than emitting a
5732    bell. That makes it less obtrusive when the user tries to use a
5733    mouse which provides more capabilities than the X mouse driver
5734    supports, e.g., one with a horizontal scroll wheel (Debian
5735    #265133).</li>
5736
5737    <li>note in xterm's manpage that <code>translations</code> is
5738    not specific to xterm (Debian #278897).</li>
5739
5740    <li>modify uxterm script to use locale program to verify if the
5741    derived locale is installed (Debian #246398).</li>
5742
5743    <li>correct font handling for active icon when in UTF-8 mode
5744    (report by Paolo Liberatore).</li>
5745
5746    <li>make active-icon and toolbar configurations work
5747    together.</li>
5748
5749    <li>modify the criteria for disowning primary selection.
5750    Previously, this happened anytime the cursor was moved before
5751    the end of the selection. That would ensure that any
5752    insert/delete of char or line, as well as scrolling, would
5753    disown the selection. The new criteria change this to checking
5754    if the operations would modify the data which is highlighted
5755    (Debian #277832).</li>
5756
5757    <li>reimplement <code>DECALN</code> with functions for vt420
5758    rectangles, fixes selection for this case.</li>
5759
5760    <li>implement vt420 rectangle operations.</li>
5761
5762    <li>add parsing, for debug/test of vt220 soft-fonts.</li>
5763
5764    <li>add menu entry, actions and escape sequence to allow
5765    enabling/disabling toolbars at runtime.</li>
5766
5767    <li>improve rendering for Xft, allow it to draw non-linedrawing
5768    characters such as "pi", which were drawn from internal tables
5769    with <a href="#xterm_180">patch #180</a> (Freedesktop.org
5770    Bugzilla #1260).</li>
5771
5772    <li>add configure option <code>--enable-mini-luit</code>,
5773    ifdef'd the mini-luit feature with
5774    <code>OPT_MINI_LUIT</code>.</li>
5775
5776    <li>add mini-luit feature, which supports Latin9 directly
5777    rather than via luit, provided that Unicode fonts are used
5778    (Freedesktop.org Bugzilla #1571, request by Stefan Dirsch,
5779    patch by Michael Schroeder).</li>
5780
5781    <li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x
5782    kernels, set the corresponding flag for the slave pty, to
5783    enable UTF-8 interpretation of backspace in cooked mode
5784    (Freedesktop.org Bugzilla #1578, request by Stefan
5785    Dirsch).</li>
5786
5787    <li>modify <code>faceSize</code> resource to use a
5788    floating-point internal value (adapted from patch by Sam
5789    Stephenson).</li>
5790
5791    <li>correct handling selection of tabs over cleared space in
5792    UTF-8 mode. In this special case, xterm represents the
5793    whitespace with a null rather than a space character (Debian
5794    #276447).</li>
5795
5796    <li>amend fix for infinite loop from <a href="#xterm_192">patch
5797    #192</a> to check if there is wrapped text to output in a
5798    following iteration (Debian #273202).</li>
5799
5800    <li>fixes ifdef'd with <code>__INTERIX</code> to allow building
5801    with Interix (Windows Services for UNIX) 3.5 using the xlibs
5802    libraries from freedesktop.org (patch by Min Sik Kim).</li>
5803
5804    <li>amend solution for Debian #252873, Debian #260471 from
5805    <a href="#xterm_194">patch #194</a> by making the cursor not
5806    explicitly colored if only the foreground color is set, and the
5807    cursor is on a blank space (Debian #275473).</li>
5808
5809    <li>correct logic for send/receive mode (SRM) with regard to
5810    control characters.</li>
5811
5812    <li>fix masking of invisible text in wide-character mode, which
5813    did not work for line-drawing characters.</li>
5814
5815    <li>incorporate CF_XOPEN_SOURCE into configure script,
5816    replacing CF_GNU_SOURCE.</li>
5817  </ul>
5818
5819  <h1><a name="xterm_196" id="xterm_196">Patch #196 - 2004/8/15 -
5820  XFree86 4.4.99.12</a></h1>
5821
5822  <ul>
5823    <li>add a special case to configure script to ignore NetBSD's
5824    <code>grantpt()</code> which was recently added (but not part
5825    of a release), until someone is able to ensure that xterm can
5826    use it (report by Min Sik Kim).</li>
5827
5828    <li>clear the buffer returned by getutid(). This fixes an
5829    infinite loop on some platforms introduced in <a href=
5830    "#xterm_193">patch #193</a> by Debian #256468 fix (report by
5831    David Ellement).</li>
5832  </ul>
5833
5834  <h1><a name="xterm_195" id="xterm_195">Patch #195 - 2004/8/8 -
5835  XFree86 4.4.99.11</a></h1>
5836
5837  <ul>
5838    <li>correct length used for blinking text, make the last column
5839    blink (patch by Alexander V Lukyanov).</li>
5840
5841    <li>start changes to make doublesize characters work with
5842    TrueType fonts (see <a href="#xterm_44">patch #44</a>).</li>
5843
5844    <li>trim leading/trailing blanks from color resources as done
5845    for other strings in <a href="#xterm_167">patch #167</a>.</li>
5846
5847    <li>fixes for <code>showBlinkAsBold</code> resource (report by
5848    Christoph Berg).</li>
5849  </ul>
5850
5851  <h1><a name="xterm_194" id="xterm_194">Patch #194 - 2004/7/27 -
5852  XFree86 4.4.99.11</a></h1>
5853
5854  <ul>
5855    <li>change clearing operations so foreground color attribute is
5856    not set. Usually this is benign, but in some cases when the
5857    cursor color is not set explicitly, the cursor would show this
5858    color (Debian #252873, Debian #260471).</li>
5859
5860    <li>add extra state (cursor-moved) to guard against deciding
5861    that the cursor did not require repainting after an indexing
5862    operation that leaves the cursor in the same location on the
5863    screen.</li>
5864
5865    <li>fix a case where a full-screen indexing operation would not
5866    restore the cursor-busy state.</li>
5867
5868    <li>fix a repainting bug introduced in <a href=
5869    "#xterm_180">patch #180</a>: when using a font lacking
5870    line-drawing characters, a repaint of the screen could skip
5871    horizontally an extra amount after filling in the missing
5872    character (reports by Nicolas George, Hans de Goede, Redhat
5873    Bugzilla #128341).</li>
5874
5875    <li>rename terminfo fragment "xterm-pc-fkeys" to
5876    "xterm+pcfkeys" for consistency with ncurses.</li>
5877  </ul>
5878
5879  <h1><a name="xterm_193" id="xterm_193">Patch #193 - 2004/7/19 -
5880  XFree86 4.4.99.10</a></h1>
5881
5882  <ul>
5883    <li>fix for wide-character selection from OpenBSD CVS
5884    (report/patch by Matthieu Herrb).</li>
5885
5886    <li>modify initialization and cleanup of utmp data to also
5887    compare the <code>ut_line</code> member (Debian #256468).</li>
5888
5889    <li>modify check on focus-change to ignore
5890    <code>FocusOut</code> events generated by
5891    <code>XGrabKeyboard</code>. This fixes a case where the text
5892    cursor would act as if focus were lost when selecting the
5893    "Secure Keyboard" menu option.</li>
5894
5895    <li>add <code>gen-pc-fkeys.pl</code> script, use that to
5896    generate terminfo fragment corresponding to the pc-style
5897    function keys.</li>
5898
5899    <li>fix a case where the checkmark by the "VT220 Keyboard" menu
5900    entry was not set on startup.</li>
5901
5902    <li>separated two methods for making the cursor blink (menu and
5903    escape sequence) by using the menu as the primary method and
5904    XOR'ing the state of the escape sequence against that.</li>
5905
5906    <li>modify logic for enabling blinking cursor via escape
5907    sequence as well as the related save/restore operations so this
5908    is only available if the <code>cursorBlink</code> resource was
5909    set on startup.</li>
5910  </ul>
5911
5912  <h1><a name="xterm_192" id="xterm_192">Patch #192 - 2004/7/12 -
5913  XFree86 4.4.99.9</a></h1>
5914
5915  <ul>
5916    <li>change resource settings for color4 and color12, add some
5917    discussion in <code>XTerm-col.ad</code> (Debian #241717).</li>
5918
5919    <li>add a note in xterm manpage discussing the difference
5920    between alt- and meta-keys, and the way the latter is used in
5921    the <code>eightBitInput</code> resource.</li>
5922
5923    <li>add a note in xterm manpage regarding possible conflict
5924    between resource settings for <code>xterm.vt100.font</code> and
5925    <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650).</li>
5926
5927    <li>add compile-time customization of
5928    <code>backarrowKeyIsErase</code> and
5929    <code>ptyInitialErase</code> default resource values (adapted
5930    from OpenBSD CVS).</li>
5931
5932    <li>change parameter of <code>FIONREAD</code>
5933    <code>ioctl()</code> call from long to int (discussion on
5934    tech-x11@netbsd.org regarding LP64 by John Heasley and Matthias
5935    Scheler).</li>
5936
5937    <li>modify configure script options for Athena widgets to work
5938    as expected for "--without-Xaw3d", etc., (GenToo Bugzilla
5939    #53455).</li>
5940
5941    <li>add case to uxterm to accommodate locales ending with
5942    "@euro", e.g., fr_FR.UTF-8@euro (Debian #255197,
5943    report/analysis by Matthieu Lagouge).</li>
5944
5945    <li>add special case for VT100 graphic's "box" character
5946    (discussion with Ben Armstrong).</li>
5947
5948    <li>add missing initialization for bitmap-font sizes needed to
5949    make fonts menu work with TrueType fonts (report by Ben
5950    Armstrong).</li>
5951
5952    <li>save the fontnames for bold fonts that are derived from
5953    normal fonts, or from the <code>boldFont</code> resource, so
5954    the same value is restored when switching with the VT Fonts
5955    menu (Debian #256086).</li>
5956
5957    <li>fix manpage preprocessing (Marc La France).</li>
5958
5959    <li>fix typo in manpage's description of character classes
5960    (Debian #257073).</li>
5961
5962    <li>modify terminfo to accommodate luit, which relies on G1
5963    being used via an ISO-2022 escape sequence (Debian #254316,
5964    analysis by Juliusz Chroboczek).</li>
5965
5966    <li>modify Makefile.in rule for ctlseqs.txt to work around
5967    groff SGR misfeature.</li>
5968
5969    <li>modify <code>XTerm.ad</code> to set <code>saveLines</code>
5970    default to 1024 (Redhat Bugzilla #127132).</li>
5971
5972    <li>add a limit-check in <code>dotext()</code> to prevent
5973    infinite loop in a corner case of UTF-8 configuration.</li>
5974
5975    <li>update config.guess, config.sub</li>
5976  </ul>
5977
5978  <h1><a name="xterm_191" id="xterm_191">Patch #191 - 2004/6/6 -
5979  XFree86 4.4.99.7</a></h1>
5980
5981  <ul>
5982    <li>correct options parsing for <code>-into</code> option so it
5983    can be combined with <code>-e</code> (Redhat Bugzilla #124518,
5984    report/patch by James Armstrong).</li>
5985
5986    <li>fix ifdef's for <code>OPT_COLOR_RES2</code> so that the
5987    fake resource table introduced in <a href="#xterm_188">patch
5988    #188</a> is not compiled if it is empty. This happened to work
5989    with gcc (report by Joel Konkle-Parker).</li>
5990
5991    <li>reorganize ptydata.c to use one input buffer shared between
5992    the VTxxx and tek4014 emulators. In the new scheme, UTF-8
5993    decoding is performed on characters as they are needed by the
5994    state machine rather than on buffers as they are read.</li>
5995
5996    <li>work around change in quoting of PROJECTROOT symbol when
5997    using configure script, from changes made in <a href=
5998    "#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS (GenToo
5999    Bugzilla #50982).</li>
6000  </ul>
6001
6002  <h1><a name="xterm_190" id="xterm_190">Patch #190 - 2004/5/25 -
6003  XFree86 4.4.99.6</a></h1>
6004
6005  <ul>
6006    <li>correct state for values in the range 128-159 after
6007    translating from UTF-8: this should be ignored unless the user
6008    overrides it with the <code>allowC1Printable</code> resource
6009    (reported by Simon Strandgaard).</li>
6010
6011    <li>add configure-script check for nl_langinfo(CODESET), use
6012    this to replace check of environment variables for UTF-8.</li>
6013
6014    <li>change Makefile.in rules for 256colres.h and 88colres.h so
6015    they are only made if they do not exist. The maintainer-clean
6016    rule will remove these files; they require perl to be
6017    made.</li>
6018
6019    <li>remove check in configure script --enable-toolbar that
6020    suppressed this option when building with Xaw7.</li>
6021
6022    <li>apply fixes to Tektronix widget used for VT100 widget to
6023    make toolbar work with Xaw7 (XFree86 4.x).</li>
6024  </ul>
6025
6026  <h1><a name="xterm_189" id="xterm_189">Patch #189 - 2004/5/16 -
6027  XFree86 4.4.99.6</a></h1>
6028
6029  <ul>
6030    <li>do not call xim_real_init() if <code>openIm</code> resource
6031    is false (Debian #249025).</li>
6032
6033    <li>minor improvements to built-in line-drawing.</li>
6034
6035    <li>fix a few portability issues with dynamic abbreviation
6036    support, i.e., did not compile on Tru64.</li>
6037
6038    <li>modify constraints in form used to layout toolbar, to work
6039    with newer Xaw in XFree86 4.x.</li>
6040  </ul>
6041
6042  <h1><a name="xterm_188" id="xterm_188">Patch #188 - 2004/5/12 -
6043  XFree86 4.4.99.6</a></h1>
6044
6045  <ul>
6046    <li>correct table entry for DEL in the ground state, which
6047    marked it as a printable character from <a href=
6048    "#xterm_171">patch #171</a> (report by D Hugh Redelmeier).</li>
6049
6050    <li>improve fix in <a href="#xterm_186">patch #186</a> for
6051    failure in xim_real_init() by adding a sleep.</li>
6052
6053    <li>fix a typo in os2main.c (XFree86 Bugzilla #1358,
6054    report/patch by Frank Giessler).</li>
6055
6056    <li>make escape sequence reporting dynamic colors consistent
6057    with the logic that sets it; choosing the opposite color when
6058    reverse video is set (XFree86 Bugzilla #1361, reported by Bradd
6059    W Szonye).</li>
6060
6061    <li>modify initialization of 256- and 88-colors so that colors
6062    beyond 16 are normally not X resources. This works around a
6063    hard-coded limit in Xt which breaks xterm when 256-colors and
6064    luit are both configured (report by Noah Friedman).</li>
6065
6066    <li>remove <code>ncv</code> from <code>xterm-256color</code>
6067    terminfo entry since it is no longer needed (report by Eli
6068    Zaretskii).</li>
6069
6070    <li>add "erase2" and "eol2" keywords to <code>ttyModes</code>
6071    resource, for recent/current FreeBSD.</li>
6072
6073    <li>improve ifdef's for utempter library to omit direct calls
6074    to <code>setutent()</code> or <code>getutent()</code> (adapted
6075    from patch by Christian Biere).</li>
6076
6077    <li>add dynamic abbreviation support like Emacs (patch by
6078    Tomasz Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>,
6079    and enabled via the configure script
6080    <code>--enable-dabbrev</code> option.</li>
6081
6082    <li>fix problem responding to session management events, e.g.,
6083    which would make logging out very slow (patch by Eddy De Greef,
6084    Debian #233883).</li>
6085
6086    <li>work around a newer bug in toolbar with XFree86 by forcing
6087    menus to be fully initialized at startup. In older versions of
6088    XFree86 and X11R6, it was possible to delay initialization of
6089    the menu contents until it was popped up. (The longstanding bug
6090    with XFree86 4.x layout for toolbar still exists, though).</li>
6091
6092    <li>modify <code>xtermAddInput</code> to work around core dump
6093    on IRIX64 when initializing scrollbar translations if toolbar
6094    is compiled-in.</li>
6095
6096    <li>fix some minor conflicts in the 2-character entry names in
6097    the termcap file.</li>
6098  </ul>
6099
6100  <h1><a name="xterm_187" id="xterm_187">Patch #187 - 2004/4/27 -
6101  XFree86 4.4.99.4</a></h1>
6102
6103  <ul>
6104    <li>change xterm version string to use
6105    <code>__vendorversion__</code> where that is available, and
6106    "XTerm" otherwise.</li>
6107
6108    <li>improve description of <code>utf8</code> resource in
6109    manpage (Debian #179407).</li>
6110
6111    <li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS
6112    to handle <code>-D</code> options that define string values,
6113    e.g., for <code>XVENDORNAME</code>.</li>
6114
6115    <li>modify configure macro CF_IMAKE_CFLAGS to allow (if
6116    <code>$PATH</code> is set accordingly) to use the
6117    <code>xmkmf</code> script within an X build tree.</li>
6118
6119    <li>add missing <code>#undef OPT_SESSION_MGT</code> to
6120    xtermcfg.hin to make the configure script's
6121    --disable-session-mgt option work.</li>
6122
6123    <li>update config.guess, config.sub</li>
6124  </ul>
6125
6126  <h1><a name="xterm_186" id="xterm_186">Patch #186 - 2004/4/18 -
6127  XFree86 4.4.99.4</a></h1>
6128
6129  <ul>
6130    <li>change reset on <code>DECSCL</code> to a soft-reset
6131    (appears some DEC manuals have errors).</li>
6132
6133    <li>add a section to ctlseqs.ms elaborating on normal/alternate
6134    screens.</li>
6135
6136    <li>modify initialization of Acolors[] so that any
6137    XtDefaultForeground or XtDefaultBackground values are
6138    translated as in the Tcolors[], to use the window's
6139    foreground/background colors. This affects the
6140    <code>colorBD</code> and similar resources which normally have
6141    no explicit color assigned.</li>
6142
6143    <li>modify initialization of Tektronix window so that control
6144    sequences setting its color before the window is popped up will
6145    apply to its initial colors.</li>
6146
6147    <li>add control sequence to set Tektronix window's
6148    text-cursor.</li>
6149
6150    <li>modify initialization of terminal colors, e.g., mouse
6151    pointer and text cursor, to treat
6152    <code>XtDefaultForeground</code> and
6153    <code>XtDefaultBackground</code> values as the actual
6154    foreground and background colors of the terminal rather than
6155    white and black (Debian #241717).</li>
6156
6157    <li>remove an incorrect comparison against
6158    <code>PTYCHARLEN</code> in parsing the <code>-S</code> option
6159    (report by Michael B Taylor).</li>
6160
6161    <li>minor restructuring of terminfo/termcap files, having noted
6162    some packager's customizations which caused the structure to be
6163    confused.</li>
6164
6165    <li>eliminate an isolated use of MIN/MAX in charproc.c</li>
6166
6167    <li>replace <code>XtExtdefaultfont</code> and
6168    <code>XtExtdefaultbackground</code> by their more familiar
6169    equivalents <code>XtDefaultFont</code> and
6170    <code>XtDefaultBackground</code>.</li>
6171
6172    <li>replace ifdef's using <code>SCO</code>, <code>sco</code>
6173    and <code>SCO325</code> with <code>__SCO__</code> (XFree86
6174    Bugzilla #1301, Kean Johnston). But ensure that it still builds
6175    on platforms where this symbol is not defined.</li>
6176
6177    <li>add <code>scoFunctionKeys</code> resource, to match
6178    manpage.</li>
6179
6180    <li>update manpage discussion of menus and related
6181    resources.</li>
6182
6183    <li>enable utmpx support for NetBSD 1.6C and newer (patch by
6184    Matthias Scheler).</li>
6185
6186    <li>add a note in the manpage discussing xterm's treatment of
6187    open file-descriptors (request by Dan Shearer).</li>
6188
6189    <li>modify <code>Help()</code> to make "xterm -h" write to
6190    standard output rather than standard error (patch by Bram
6191    Moolenaar).</li>
6192
6193    <li>check for type of failure in xim_real_init() to avoid
6194    looping when the problem is an unsupported input method rather
6195    than a failure to connect to the XIM server. Problem was
6196    introduced in <a href="#xterm_175">patch #175</a> (XFree86
6197    Bugzilla #1306).</li>
6198
6199    <li>modify <code>Imakefile</code> to remove dependency of
6200    "install" target on the <code>xterm</code> executable to make
6201    installs from tree without attempting to rebuild anything
6202    (commit by David Dawes, report/patch from Lee Olsen).</li>
6203
6204    <li>remove call to <code>ShowCursor</code> from
6205    <code>SetCursorBlink()</code> since that is redundant, and can
6206    cause display glitches if the cursor is already blinking
6207    (XFree86 Bugzilla #1158, patch/report by Andreas Schwab).</li>
6208  </ul>
6209
6210  <h1><a name="xterm_185" id="xterm_185">Patch #185 - 2004/3/3 -
6211  XFree86 4.4</a></h1>
6212
6213  <ul>
6214    <li>fix tcap-query logic for the backspace key (XFree86
6215    Bugzilla #1233, report/patch by Anton Kovalenko).</li>
6216
6217    <li>add test-scripts resize.pl and tcapquery.pl</li>
6218
6219    <li>add translation to ASCII of commonly-used characters that
6220    groff translates to Unicode, when the font in use does not
6221    provide the corresponding glyphs (Debian #219551).</li>
6222
6223    <li>modify RequestMaximize(), which performs maximize/restore
6224    via control sequences, to account for window-frame (patch by
6225    Jess Thrysoee).</li>
6226
6227    <li>improve pattern used in <code>uxterm</code> to check for
6228    UTF-8 locale, e.g., for HPUX (patch by H Merijn Brand).</li>
6229
6230    <li>add <code>-fd</code> option and resource
6231    <code>faceNameDoublesize</code> to specify double-wide fonts
6232    with Xft (adapted from patch by Zarick Lau).</li>
6233
6234    <li>change a couple of resource classes from "Boolean" to
6235    specific values: <code>freeBoldBox</code>,
6236    <code>forceBoxChars</code>.</li>
6237
6238    <li>add resource <code>showMissingGlyphs</code> to outline
6239    places on the screen where a font lacks the corresponding
6240    glyph.</li>
6241
6242    <li>add resource <code>showBlinkAsBold</code> to control
6243    whether blinking text should be shown as bold or actual
6244    blinking text.</li>
6245
6246    <li>improve logic in ShowCursor() to avoid repainting the
6247    cursor when it is already visible, e.g., in response to the
6248    DECTCEM escape sequence. This also addresses XFree86 Bugzilla
6249    #1158.</li>
6250
6251    <li>implement blinking text, using the timer for blinking
6252    cursor.</li>
6253
6254    <li>modify FreeType support to allow resizing the font, in the
6255    same ways the window can be resized if fixed fonts are used.
6256    The relative font sizes are derived from the fixed font
6257    sizes.</li>
6258
6259    <li>add menu items and corresponding actions for switching
6260    on/off the UTF-8 mode and Xft (TrueType) support.</li>
6261
6262    <li>add logic to handle switching UTF-8 mode on/off. It worked
6263    if the escape sequences were flushed, but if data was mixed in
6264    with the same write, some were not handled properly (report by
6265    Nicolas George).</li>
6266
6267    <li>modify to allow turning UTF-8 mode on/off via escape
6268    sequence even if <code>-wc</code> option was not given at
6269    startup (patch by Peter Berg Larsen).</li>
6270
6271    <li>amend fix for XFree86 Bugzilla #981, adjusting for
6272    savedlines value (report by Tim Adye).</li>
6273
6274    <li>fix a typo in computing relative font size (Jess
6275    Thrysoee).</li>
6276  </ul>
6277
6278  <h1><a name="xterm_184" id="xterm_184">Patch #184 - 2003/12/31 -
6279  XFree86 4.3.99.903</a></h1>
6280
6281  <ul>
6282    <li>improve configure-script checks for FreeType and related
6283    libraries, using <code>xft-config</code> or
6284    <code>freetype-config</code> scripts when available.</li>
6285
6286    <li>fix configure-script check for <code>SYSV</code> definition
6287    by ensuring whether <code>sys_errlist[]</code> is declared, and
6288    by modifying the test program to include
6289    <code>X11/Intrinsic.h</code> to check that <code>wchar_t</code>
6290    is declared consistently (report by H Merijn Brand).</li>
6291  </ul>
6292
6293  <h1><a name="xterm_183" id="xterm_183">Patch #183 - 2003/12/26 -
6294  XFree86 4.3.99.903</a></h1>
6295
6296  <ul>
6297    <li>correct logic for configurations that may attempt to open
6298    both old/new-style pseudoterminals. In this case, the old-style
6299    are preferred. Logic was broken in <a href="#xterm_145">patch
6300    #145</a> (XFree86 Bugzilla #997, report/patch by Kean
6301    Johnston).</li>
6302
6303    <li>modify handling of <code>eightBitInput</code> resource in
6304    UTF-8 mode to translate the value into UTF-8. Otherwise an
6305    illegal UTF-8 code is sent to the application (report by Bram
6306    Moolenaar).</li>
6307
6308    <li>modify <code>uxterm</code> script to interpret help and
6309    version options so xterm does not always create a window when
6310    the user requests this information (Debian #223926).</li>
6311
6312    <li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla
6313    #981).</li>
6314
6315    <li>modify DECSCL to perform a hard reset (RIS) as per DEC
6316    manuals. Extended DECSCL to accept parameters for vt4XX and
6317    vt5xx terminals.</li>
6318
6319    <li>correct logic for ANSI conformance level escape sequences,
6320    which were confused with DEC conformance level escape
6321    sequences.</li>
6322
6323    <li>correct state for vt52 shift-in/shift-out, which was not
6324    reset properly after <a href="#xterm_171">patch #171</a>.</li>
6325
6326    <li>correct handling of graphics characters for vt52 mode,
6327    which did not display line-drawing characters after G1 fix from
6328    <a href="#xterm_182">patch #182</a>.</li>
6329
6330    <li>fixes for configure script to work with current Cygwin
6331    headers and libraries.</li>
6332
6333    <li>modify <code>Imakefile</code> to put the current directory
6334    at the beginning of the include searchpath (patch by David
6335    Dawes).</li>
6336  </ul>
6337
6338  <h1><a name="xterm_182" id="xterm_182">Patch #182 - 2003/12/2 -
6339  XFree86 4.3.99.901</a></h1>
6340
6341  <ul>
6342    <li>correct logic for <code>metaSendsEscape</code> resource to
6343    allow for the meta-right key to be tested. Improve check for
6344    meta/alt modifiers by dropping the assumption that a keysym is
6345    associated with only one modifier, and by ignoring NoSymbol
6346    entries in the xmodmap data (XFree86 Bugzilla #924, patch by
6347    David Dawes).</li>
6348
6349    <li>correct wrapping logic for line-drawing characters written
6350    in non-UTF-8 mode of xterm build for wide-characters (XFree86
6351    Bugzilla #918, report/patch by J&uuml;rgen Keil).</li>
6352
6353    <li>improve manpage description of resources, in particular the
6354    <code>utf8Fonts</code> class (XFree86 Bugzilla #905).</li>
6355
6356    <li>add definitions to compile with glibc-based GNU/Hurd,
6357    GNU/KFreeBSD and GNU/KNetBSD (XFree86 Bugzilla #893).</li>
6358
6359    <li>compiler-warning fixes (patch by Christian Biere).</li>
6360
6361    <li>add README.i18n (Tomohiro Kubota).</li>
6362
6363    <li>correct initialization of G1 character set mapping, which
6364    used line-drawing set as a result of confusion between "DEC
6365    Supplemental Graphic" and "DEC Special Graphic" character sets
6366    (see <a href="#xterm_34">patch #34</a> regarding DECSTR).</li>
6367
6368    <li>correct ifdef in main.c for variable utret (patch by
6369    Bernhard Rosenkraenzer).</li>
6370
6371    <li>document in xterm's manpage how to use XFree86 ":unscaled"
6372    keyword to suppress scaling of bold fonts.</li>
6373
6374    <li>when deriving bold fontname from normal fontname, use the
6375    normal font's average width to avoid for example selecting
6376    7x13bold from an 8x13 normal font (Debian #107769).</li>
6377  </ul>
6378
6379  <h1><a name="xterm_181" id="xterm_181">Patch #181 - 2003/10/26 -
6380  XFree86 4.3.99.15</a></h1>
6381
6382  <ul>
6383    <li>implement <code>boldMode</code> for wide-character logic in
6384    <code>drawXtermText()</code> (report by Michael
6385    Schroeder).</li>
6386
6387    <li>modify <code>UXTerm.ad</code> resource file to include
6388    "XTerm-color" rather than "XTerm", in case the latter file
6389    contains no color resource definitions, e.g., after <a href=
6390    "#xterm_180">patch #180</a>.</li>
6391
6392    <li>add action <code>load-vt-fonts()</code> and configure
6393    option <code>--enable-load-vt-fonts</code> which allows users
6394    to define additional sets of VT-fonts which can be loaded at
6395    runtime.</li>
6396
6397    <li>add logic to wide-character support which attempts to load
6398    fonts specified by <code>utf8Fonts</code> subresources at
6399    startup. The subresources have the same names as the fonts
6400    which they replace, e.g., <code>font</code>,
6401    <code>font1</code>, etc., so that the ISO-10646-1 fonts can be
6402    specified in the <code>XTerm</code> app-defaults file (adapted
6403    from patch by Tomohiro Kubota).</li>
6404
6405    <li>improve Set Font escape string handling by making the
6406    relative settings apply to the size of the font, as in shift
6407    keypad plus/minus rather than the menu index.</li>
6408
6409    <li>simplify parameter passing for the <code>set-vt-font</code>
6410    action and related code.</li>
6411
6412    <li>cleanup some include-ordering, moving some recently-added
6413    hardcoded stuff into xterm.h where it will not interfere with
6414    the configure script.</li>
6415
6416    <li>modify <code>xtermAddInput()</code> (see note on
6417    augmentation in <a href="#xterm_158">patch #158</a>) to use the
6418    complete set of default keyboard translations so that one can
6419    use shifted pageup, wheel mouse, etc., while the mouse pointer
6420    is over the scrollbar. (Debian #178812).</li>
6421
6422    <li>make save/restore mode controls apply to show/blink cursor
6423    states.</li>
6424
6425    <li>add escape sequence to start/stop blinking cursor, which
6426    allows implementing <code>cvvis</code> terminfo capability
6427    (request by Nate Bargmann).</li>
6428
6429    <li>add <code>indp</code> and <code>rin</code> to terminfo
6430    entry.</li>
6431
6432    <li>fix an out-of-bounds array reference in ScrnRefresh() for
6433    wide characters (report by Dan Harnett, patch by Todd Miller).
6434    This bug dates from <a href="#xterm_141">patch #141</a>.</li>
6435  </ul>
6436
6437  <h1><a name="xterm_180" id="xterm_180">Patch #180 - 2003/10/12 -
6438  XFree86 4.3.99.15</a></h1>
6439
6440  <ul>
6441    <li>several fixes for rendering using Xft via option
6442    <code>-fa</code>:
6443
6444      <ul>
6445        <li>translate Unicode values, i.e,. from UTF-8 output to
6446        xterm, for line-drawing to xterm's internal code, etc.,
6447        since TrueType fonts generally do not have either set of
6448        line-drawing glyphs. xterm can draw these directly (report
6449        by Abigail Brady).</li>
6450
6451        <li>pass 16-bit values rather than 8-bit values to
6452        xtermXftDrawString() to allow for wide-characters.</li>
6453
6454        <li>remove spurious check for <code>colorBDMode</code>
6455        resource in logic that does bold fonts.</li>
6456
6457        <li>implement underlining.</li>
6458      </ul>
6459    </li>
6460
6461    <li>patches by Ilya Zakharevich:
6462
6463      <ul>
6464        <li>improve drawXtermText() by making the recursive calls
6465        communicate through arguments, and not through
6466        saving/restoring global variables.</li>
6467
6468        <li>make double-width characters work with <code>-u8</code>
6469        option.</li>
6470
6471        <li>modify lookup of double-sized fonts by checking for a
6472        match ignoring x/y resolution if the first check
6473        fails.</li>
6474      </ul>
6475    </li>
6476
6477    <li>make height of TrueType fonts match ascent+descent (patch
6478    by Keith Packard).</li>
6479
6480    <li>correct configure-script check for imake $CFLAGS, which did
6481    not check properly if imake was not available.</li>
6482
6483    <li>correct install rule in Makefile.in for
6484    <code>uxterm</code>, which was attempting to strip the script
6485    (newsgroup posting by Fernan Aguero).</li>
6486
6487    <li>correct AF/AB strings in termcap for xterm-256color and
6488    xterm-88color entries (report by Josh Howard).</li>
6489
6490    <li>update wcwidth.c to incorporate changes from Markus Kuhn's
6491    2003-05-20 (Unicode 4.0) version of that file.</li>
6492
6493    <li>modify <code>scroll-back</code> and
6494    <code>scroll-forw</code> actions to accept an adjustment value,
6495    e.g.,
6496      <pre>
6497              <code>scroll-back(1, page-2)</code>
6498</pre>to scroll back by 2 lines less than a page (patch by Greg
6499Klanderman).
6500    </li>
6501
6502    <li>use color resource setting from Debian package for xterm
6503    VT100 widget, since the choice of blues provides better
6504    contrast.</li>
6505
6506    <li>remove color resources from <code>XTerm.ad</code>, leaving
6507    them only in <code>XTerm-col.ad</code> (prompted by Debian
6508    package for xterm).</li>
6509
6510    <li>correct configure script option --enable-pty-handshake
6511    (report by Paul Gilmartin).</li>
6512
6513    <li>add <code>visualBellDelay</code> resource to modify the
6514    length of time used for visual bell, for very slow displays or
6515    very fast computers (reports by Ingo van Lil and Doug
6516    Toppin).</li>
6517
6518    <li>correct logic for initializing dynamic highlight color
6519    (patch by Jess Thrysoee).</li>
6520
6521    <li>add a check for non-zero size in call to
6522    <code>XCopyArea()</code> to accommodate a Solaris bug.</li>
6523
6524    <li>correct typo in example for character classes in xterm
6525    manpage (Debian #198910).</li>
6526
6527    <li>link xterm with bind_on_load option on Darwin to work
6528    around a deadlock in the dynamic loader when a signal is
6529    received while the dynamic loader is looking up symbols
6530    (patches by Rob Braun, Torrey Lyons).</li>
6531
6532    <li>modify configure script to avoid using "head -1".</li>
6533
6534    <li>update config.guess, config.sub</li>
6535
6536    <li>modify ifdef's to work around inclusion of types FcChar32
6537    and XftCharSpec with FreeType 2.0 (see <a href=
6538    "#xterm_175">patch #175</a>).</li>
6539
6540    <li>modify the predictable version of the generated logfile
6541    name (see <a href="#xterm_171">patch #171</a>) to append the
6542    process-id rather than a random value.</li>
6543
6544    <li>resync with XFree86 CVS
6545
6546      <ul>
6547        <li>Enable SCO function keys in xterm</li>
6548
6549        <li>Make Delete key send DEL by default on SCO in
6550        xterm</li>
6551      </ul>
6552    </li>
6553  </ul>
6554
6555  <h1><a name="xterm_179" id="xterm_179">Patch #179 - 2003/5/21 -
6556  XFree86 4.3.99.5</a></h1>
6557
6558  <ul>
6559    <li>modify ifdef's for WTMPX_FILE to allow building on cygwin
6560    again.</li>
6561
6562    <li>change the default of pty-handshaking configure option (and
6563    related default for imake) to assume this feature is
6564    needed.</li>
6565
6566    <li>add ifdef's so configure option for XawPlus library works
6567    (patch by Pavel Roskin).</li>
6568
6569    <li>add <code>$(MAIN_DEFINES)</code> to the variables checked
6570    by the configure script that may contain information set by
6571    imake. This allows xterm to build/run properly using the
6572    configure script on IRIX64.</li>
6573
6574    <li>add configure check for ".exe" suffix on cygwin.</li>
6575  </ul>
6576
6577  <h1><a name="xterm_178" id="xterm_178">Patch #178 - 2003/5/18 -
6578  XFree86 4.3.99.5</a></h1>
6579
6580  <ul>
6581    <li>modify default for configure
6582    <code>--enable-pty-handshake</code> option to enable it for
6583    Solaris (report by Nelson Beebe).</li>
6584
6585    <li>modify <code>in_put()</code> function to call
6586    <code>PreeditPosition()</code> only when the cursor's position
6587    has changed. This addresses report by Stefan Baums of high CPU
6588    usage while xterm with chinput are running in the background
6589    (patch by Yong Li).</li>
6590
6591    <li>improved explanation of <code>-ls</code> conflict with
6592    <code>-e</code> option in xterm manpage (adapted from comments
6593    by Henning Makholm).</li>
6594
6595    <li>correct comment in terminfo file regarding modifier used
6596    for <code>kDC</code> (Debian #189764, report by Henning
6597    Makholm).</li>
6598
6599    <li>correct/extend some of the keypad description in ctlseqs.ms
6600    (report by Henning Makholm).</li>
6601
6602    <li>correct keypad-mapping table in input.c so
6603    <code>XK_KP_Equal</code> works (report by Henning
6604    Makholm).</li>
6605
6606    <li>modified to work with CJK double-width (bi-width/monospace)
6607    fonts. They're similar to Roman Czbora and David Starner's
6608    gnuunifonts in that Latin letters and numbers have all the same
6609    width which is exactly the half of the width of East Asian
6610    characters. (patch by Jungshik Shin
6611    &lt;jshin@mailaps.org&gt;).</li>
6612
6613    <li>add configure option <code>--enable-broken-osc</code> and
6614    resource <code>brokenLinuxOSC</code> to accommodate scripts
6615    which do not distinguish between running in the Linux console
6616    and running in X. Linux console recognizes malformed control
6617    strings which start with an <code>OSC</code>, but are
6618    fixed-length, with no terminator.</li>
6619
6620    <li>add configure option <code>--enable-broken-st</code> and
6621    resource <code>brokenStringTerm</code> to allow user to revert
6622    one part of the parsing table corrections from <a href=
6623    "#xterm_171">patch #171</a>. (reports by Matthias Scheler and
6624    Kirill Ponomarew indicate that someone's network firmware sends
6625    an <code>&lt;escape&gt;X</code>).</li>
6626
6627    <li>modify configure <code>--disable-imake</code> to provide
6628    values for <code>OSMAJORVERSION</code>,
6629    <code>OSMINORVERSION</code>, <code>FUNCPROTO</code> and
6630    <code>NARROWPROTO</code> (report by Heiko Schlichting).</li>
6631
6632    <li>correct <code>vttests/16colors.sh</code>, which omitted the
6633    <code>$SUF</code> variable in output strings (patch by Paul
6634    Gilmartin).</li>
6635
6636    <li>modify shell scripts in <code>vttests</code> directory to
6637    attempt to use named signals in the <code>trap</code>
6638    statement, making this portable to OS/390 (report by Paul
6639    Gilmartin). Tested on SunOS 4.1.4, which implements only
6640    numbers.</li>
6641  </ul>
6642
6643  <h1><a name="xterm_177" id="xterm_177">Patch #177 - 2003/3/23 -
6644  XFree86 4.3.0</a></h1>
6645
6646  <ul>
6647    <li>fix definition of <code>USE_HANDSHAKE</code>, must be
6648    numeric (reported by Jens Schleusener).</li>
6649  </ul>
6650
6651  <h1><a name="xterm_176" id="xterm_176">Patch #176 - 2003/3/22 -
6652  XFree86 4.3.0</a></h1>
6653
6654  <ul>
6655    <li>add configure option <code>--enable-pty-handshake</code> to
6656    allow one to compile-in support for the pty handshaking logic,
6657    and resource <code>ptyHandshake</code> to enable or disable it
6658    (suggested by Ian Collier).</li>
6659
6660    <li>restore <code>USE_HANDSHAKE</code> ifdef removed in
6661    <a href="#xterm_159">patch #159</a> to address Debian
6662    #39964.</li>
6663
6664    <li>move ifdef's for ttysize/winsize into xterm_io.h</li>
6665
6666    <li>simplify loop on <code>tgetent</code>, check if the
6667    successive entries in the lookup table are the same. That makes
6668    xterm do one less lookup if there is no "xterm" entry in the
6669    termcap file (report by Derek Martin).</li>
6670
6671    <li>correct manpage discussion of <code>$TERM</code> and
6672    <code>$TERMCAP</code> variables, which omitted the Tektronix
6673    emulation and a note of the final "dumb" fallback.</li>
6674
6675    <li>broaden ifdef for
6676    <code>XRegisterIMInstantiateCallback()</code> from <a href=
6677    "#xterm_175">patch #175</a> (XIM fix) to exclude non-XFree86
6678    (report by Nelson Beebe indicates this breaks for Solaris, IRIX
6679    and OSF/1).</li>
6680
6681    <li>correct resource-size for <code>iconFont</code> (this was
6682    added by X11R6.3).</li>
6683
6684    <li>improve configure check for XKB bell extension, to work
6685    around inconsistent implementation of this feature (reports by
6686    Nelson Beebe, Kriston Rehberg and David Ellement).</li>
6687
6688    <li>modify configure-check for <code>tty</code> group to be
6689    less strict in batch mode (report by Nelson Beebe).</li>
6690
6691    <li>modify to allow building with g++, to use its compiler
6692    warnings (suggested by Nelson Beebe).</li>
6693
6694    <li>modify <code>dec2ucs[]</code> table to reflect newer codes
6695    available for scanlines 1, 3, 7, 9 (report by Michael
6696    Schroeder).</li>
6697
6698    <li>add configure option for XawPlus library.</li>
6699  </ul>
6700
6701  <h1><a name="xterm_175" id="xterm_175">Patch #175 - 2003/3/9 -
6702  XFree86 4.3.0</a></h1>
6703
6704  <ul>
6705    <li>fix a SIGSEGV which could occur if xterm is connecting to
6706    XIM server, and the XIM server is destroyed (patch by Nam
6707    SungHyun).</li>
6708
6709    <li>modify to use built-in line-drawing characters for Xft
6710    fonts (patch by Andrew Tipton).</li>
6711
6712    <li>make menu reflect the state of the <code>tekInhibit</code>
6713    resource.</li>
6714
6715    <li>make <code>signalInhibit</code> resource work, i.e.,
6716    disable the menu entries that would send signals to, or exit
6717    xterm. This was probably broken in X11R5 when logging was
6718    disabled (report by Sven Mascheck).</li>
6719
6720    <li>changed classes of <code>colorBDMode</code> and similar
6721    resources that override colors when a video attribute is set to
6722    <code>ColorAttrMode</code>, to make them distinct from
6723    <code>ColorMode</code>. This avoids an unexpected rendering of
6724    reverse video, for example (report by Paul Fox).</li>
6725
6726    <li>changed class of <code>veryBoldColors</code> to
6727    <code>VeryBoldColors</code>, since <code>ColorMode</code> is
6728    associated with boolean resources.</li>
6729
6730    <li>add option <code>-k8</code> and resource
6731    <code>allowC1Printable</code> to allow users of non-VTxxx
6732    character sets such as KOI-8 to treat the C1 control area
6733    (character codes 128-159) as printable rather than control
6734    characters.</li>
6735
6736    <li>add a null-pointer check for return-value of
6737    <code>ptsname()</code> in HPUX-specific code (report by David
6738    Ellement).</li>
6739
6740    <li>revise the ifdef's used for <code>XKB</code> bell support.
6741    The code was using a nonstandard call
6742    <code>XkbStdBell()</code>. Changed to use
6743    <code>XkbBell()</code> (based on patch by
6744    &lt;derek@signalmarketing.com&gt;).</li>
6745
6746    <li>add a null-pointer check in <code>xtermLoadFont()</code> in
6747    case there is no wide-bold font (Nam SungHyun).</li>
6748
6749    <li>change <code>Makefile.in</code> to use autoconf's
6750    <code>bindir</code>, <code>libdir</code> and
6751    <code>mandir</code> variables (report by Nam SungHyun).</li>
6752
6753    <li>add <code>le</code> to termcap <code>xterm-basic</code>
6754    entry. Though missing from older termcaps for xterm, some
6755    applications check for it (report by Matthias Buelow).</li>
6756
6757    <li>modify <code>uxterm</code> script to strip modifiers such
6758    as "@euro" from the locale setting before adding ".UTF-8"
6759    (Debian #179929).</li>
6760
6761    <li>modify the remaining places where tek4014 emulation uses
6762    <code>XDefineCursor()</code>, to make it work as originally
6763    implemented, e.g., when switching back to alpha mode. Added
6764    test-screen in vttest to test this feature properly.</li>
6765  </ul>
6766
6767  <h1><a name="xterm_174" id="xterm_174">Patch #174 - 2003/2/25 -
6768  XFree86 4.2.99.903</a></h1>
6769
6770  <ul>
6771    <li>work-around for XFree86 bug which made
6772    <code>XDefineCursor()</code> on a shell-window no longer work.
6773    The tek4014 emulation used this. Use the next lower window
6774    (report by Karl Rudolf Bauchspiess).</li>
6775
6776    <li>add a resource setting <code>allowWindowOps</code> to
6777    control whether the extended window operations should be
6778    allowed, e.g., resize, iconify, report window attributes. This
6779    is to accommodate people who are not capable of using a pager
6780    to view log-files.</li>
6781  </ul>
6782
6783  <h1><a name="xterm_173" id="xterm_173">Patch #173 - 2003/2/6 -
6784  XFree86 4.2.99.902</a></h1>
6785
6786  <ul>
6787    <li>reset mouse mode to normal on a full reset. This does not
6788    apply to mouse hilite tracking mode, of course (see
6789    ctlseqs.ms).</li>
6790
6791    <li>add a time-delay at the point where mouse hilite tracking
6792    mode choses to not handle X events, to avoid runaway CPU usage
6793    (report by D Hugh Redelmeier).</li>
6794
6795    <li>check for illegal character in DECUDK string, quit if
6796    detected.</li>
6797  </ul>
6798
6799  <h1><a name="xterm_172" id="xterm_172">Patch #172 - 2002/12/27 -
6800  XFree86 4.2.99.3</a></h1>
6801
6802  <ul>
6803    <li>fixes to make repainting of 256-color example work properly
6804    (reports by Abigail Brady and Scott A Crosby).
6805
6806      <ul>
6807        <li>set flag in <code>AllocateAnsiColor()</code> to ensure
6808        the color is allocated once only.</li>
6809
6810        <li>fix check in <code>ScrnRefresh</code>, which was
6811        comparing background colors only if the ANSI foreground
6812        colors also were set.</li>
6813      </ul>
6814    </li>
6815
6816    <li>merge <code>Error()</code> calls and some
6817    <code>exit()</code> calls into <code>SysError()</code>, and
6818    change that to add the brief explanation for each error code
6819    which is provided in the manpage. Change a few
6820    <code>SysError()</code>, calls to avoid using code 1, to avoid
6821    confusion with exit status from places that do not use
6822    <code>SysError()</code>.</li>
6823
6824    <li>simplify logic used to open a debug logfile as the standard
6825    error.</li>
6826
6827    <li>modify the <code>-e</code> option so that if it fails,
6828    xterm will check if only one argument follows, e.g., it was
6829    quoted, and then retry using <code>sh&nbsp;-c</code>.</li>
6830
6831    <li>modify parsing of DECUDK string parameter to allow a comma
6832    between pairs of hexadecimal digits (Ray Neuman
6833    &lt;raymond@one.com.au&gt; reports that "real" terminals accept
6834    this; perhaps they simply ignore unexpected characters).</li>
6835
6836    <li>fix a few problems with the <code>$TERMCAP</code> string
6837    generated by <code>resize</code>:
6838
6839      <ul>
6840        <li>for Bourne shell, add an <code>export</code> command.
6841        This was missing as far back as X11R5.</li>
6842
6843        <li>escape exclamation marks, used in xterm's reset
6844        string.</li>
6845
6846        <li>translate literal <code>\177\</code> to "^?".</li>
6847      </ul>
6848    </li>
6849
6850    <li>improve configure check for <code>tgetent()</code> to work
6851    when <code>$TERMCAP</code> has been set to a specific
6852    entry.</li>
6853
6854    <li>modify <code>minstall.sh</code> to use "%" rather than "@",
6855    to avoid problems with AFS (report by Zdenek Sekera).</li>
6856
6857    <li>list fatal error codes from <code>error.h</code> in the
6858    manpage, remove unused codes in <code>error.h</code>.</li>
6859
6860    <li>use more explicit wording for manpage list of color
6861    resources, since at least one user confused the generic names
6862    such as "black" with the names in rgb.txt (the latter are now
6863    used).</li>
6864
6865    <li>minor fix to description of 1003 mouse mode in ctlseqs.ms
6866    (Larry Riedel).</li>
6867  </ul>
6868
6869  <h1><a name="xterm_171" id="xterm_171">Patch #171 - 2002/12/12 -
6870  XFree86 4.2.99.3</a></h1>
6871
6872  <ul>
6873    <li>modify parser tables to improve detection of malformed
6874    control sequences, making xterm behave more like a real DEC
6875    terminal (patch by Paul Williams).</li>
6876
6877    <li>update comment in <code>input.c</code> to document
6878    <code>Meta</code> as a modifier for escape sequences (patch by
6879    D Roland Walker).</li>
6880
6881    <li>add ifdef'd code for logging option which adds the hostname
6882    and a timestamp to the generated logfile name. The ifdef's are
6883    setup with the configure script (patch by Nelson Beebe).</li>
6884
6885    <li>remove <code>xevents()</code> call from the end of
6886    <code>BlinkCursor()</code>, to fix an occasional problem which
6887    caused xterm to pause until a key was pressed. The reason for
6888    this was that there was no check to ensure that there really
6889    were events for <code>xevents()</code> to process. (patch by
6890    Semen A Ustimenko &lt;semenu@FreeBSD.org&gt;).</li>
6891
6892    <li>remove unused mode-params from <code>open()</code> calls
6893    that do not create a file.</li>
6894
6895    <li>modify configure script to put new items first on
6896    <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid
6897    conflict with environment's <em>-I</em> and <em>-D</em>
6898    options.</li>
6899
6900    <li>update config.guess, config.sub</li>
6901
6902    <li>resync with XFree86 CVS
6903
6904      <ul>
6905        <li>fix va_args glitches for xterm/libfontconfig: 0 ==
6906        (void*)0 isn't true for all platforms (Egbert Eich).</li>
6907
6908        <li>initialise ProgramName in xterm's main before
6909        referencing it (XFree86 #5473, Peter Valchev).</li>
6910
6911        <li>some cleanup of Imakefile ifdef's (Marc La
6912        France).</li>
6913      </ul>
6914    </li>
6915  </ul>
6916
6917  <h1><a name="xterm_170" id="xterm_170">Patch #170 - 2002/10/13 -
6918  XFree86 4.2.1</a></h1>
6919
6920  <ul>
6921    <li>correct an off-by-one allocating data for sorted help
6922    message.</li>
6923
6924    <li>modify configure script to check for Xpm library, on which
6925    XFree86 Xaw library depends.</li>
6926
6927    <li>update config.guess, config.sub</li>
6928  </ul>
6929
6930  <h1><a name="xterm_169" id="xterm_169">Patch #169 - 2002/10/5 -
6931  XFree86 4.2.1</a></h1>
6932
6933  <ul>
6934    <li>modify wording of some options in help message to make them
6935    use <code>-/+</code> consistently with respect to "on/off" or
6936    "off/on".</li>
6937
6938    <li>sort options list which is displayed in help- and
6939    syntax-messages at runtime to simplify maintenance.</li>
6940
6941    <li>remove support for Amoeba and Minix (Juliusz Chroboczek
6942    noted it was removed from XFree86 server; there have been no
6943    users since 1996).</li>
6944
6945    <li>add configure script option
6946    <code>--disable-session-mgt</code> to control whether the
6947    session management code should be compiled-in (request by H
6948    Merijn Brand).</li>
6949
6950    <li>ifdef'd the session-management changes with
6951    <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which
6952    predates the related definitions.</li>
6953
6954    <li>fix <code>decode_keyvalue()</code>, which did not properly
6955    parse multiple settings as needed for the <code>ttyModes</code>
6956    resource, since it did not skip over the parsed data.</li>
6957
6958    <li>fix an option-parsing conflict between <code>-class</code>
6959    and <code>-cjk_width</code> (Nam SungHyun)</li>
6960
6961    <li>add a missing null in <code>XtVaSetValues()</code> call
6962    used in <code>Cleanup()</code> (Nam SungHyun)</li>
6963  </ul>
6964
6965  <h1><a name="xterm_168" id="xterm_168">Patch #168 - 2002/9/29 -
6966  XFree86 4.2.1</a></h1>
6967
6968  <ul>
6969    <li>improve data reported for control sequence that requests
6970    window position by taking into account the window decorations,
6971    e.g., border and title (patch by Jess Thrysoee
6972    &lt;jess@thrysoee.dk&gt;).</li>
6973
6974    <li>add <code>-cjk_width</code> and corresponding resource
6975    <code>cjkWidth</code> (patch by Jungshik Shin
6976    &lt;jshin@mailaps.org&gt;).</li>
6977
6978    <li>add <code>-into</code> option, for embedding xterm in a
6979    Tcl/Tk application (patch by George Peter Staplin
6980    &lt;georgeps@xmission.com&gt;).</li>
6981
6982    <li>add simple session management (XSM) client capabilities to
6983    xterm. So a session manager such as, e.g., xsm, should be able
6984    to respawn or kill xterms without the help of an SM proxy (like
6985    smproxy), which is a hack and almost always buggy (patch by
6986    David Madore).</li>
6987
6988    <li>fix conflict between ifdef's for
6989    <code>OPT_DEC_LOCATOR</code> and <code>OPT_READLINE</code> in
6990    button.c (reported by Ilya Zakharevich).</li>
6991
6992    <li>fix for inconsistent use of <code>struct utmp</code> versus
6993    <code>struct utmpx</code> introduced in <a href=
6994    "#xterm_167">patch #167</a> (patches by Paul Gilmartin, Marc La
6995    France).</li>
6996
6997    <li>modify logic for <code>metaSendsEscape</code> to allow it
6998    to work in a setup where the Meta-key is not recognized as a
6999    modifier by the key-translations logic (discussion of
7000    eightBitInput with H.J.Lu). Note however that Vincent Lefevre
7001    reported this in January).</li>
7002
7003    <li>use null pointer values consistently, rather than literal
7004    "0", for ending variable-length argument lists, e.g., for
7005    <code>execlp()</code> (based on patch by Matthieu Herrb).</li>
7006
7007    <li>correct logic of <code>ChangeAnsiColorRequest()</code>,
7008    which would do a screen repaint after replying to a request for
7009    information.</li>
7010
7011    <li>improve scripts in vttests to work with systems whose
7012    shells support <code>echo -n</code> and have, as does Debian,
7013    an unrelated <code>print</code> utility.</li>
7014
7015    <li>add vttests/acolors.sh to demonstrate OSC 4, which queries
7016    or sets ANSI colors.</li>
7017
7018    <li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).</li>
7019
7020    <li>typos in xterm manpage (Jens Schweikhardt)</li>
7021
7022    <li>remove a redundant GCC_UNUSED from InitPopup() (Nam
7023    SungHyun)</li>
7024  </ul>
7025
7026  <h1><a name="xterm_167" id="xterm_167">Patch #167 - 2002/8/24 -
7027  XFree86 4.2.0</a></h1>
7028
7029  <ul>
7030    <li>correct ifdef's for <code>USE_TERMCAP</code> to match
7031    cygwin configuration.</li>
7032
7033    <li>fix several places in ctlseqs.ms which had no boxes around
7034    the literal text (report by Ilya Zakharevich).</li>
7035
7036    <li>extend mouse support for readline, ifdef'd with
7037    OPT_READLINE (integrated patch from Ilya Zakharevich).</li>
7038
7039    <li>modify terminfo description to match default for
7040    <code>modifyCursorKeys</code> resource.</li>
7041
7042    <li>add <code>modifyCursorKeys</code> resource to control how
7043    the shift- and similar modifiers are used to make a cursor
7044    escape sequence. The default makes a modified escape sequence
7045    always start with CSI and puts the modifier as the second
7046    parameter, to avoid confusing applications that would interpret
7047    the first parameter as a repeat count. The original behavior
7048    can be obtained by setting the resource to 0 (newsgroup
7049    discussion with Stephen J Turnbull, Jeffrey Altman).</li>
7050
7051    <li>correct missing initializations for
7052    <code>appdefaultCursor</code> and <code>appdefaultKeypad</code>
7053    resources.</li>
7054
7055    <li>add configure option <code>--enable-luit</code> and ifdef'd
7056    the luit-related code with OPT_LUIT_PROG.</li>
7057
7058    <li>modify xterm to invoke luit (integrated patch by Tomohiro
7059    Kubota)</li>
7060
7061    <li>update wcwidth.c to match Markus Kuhn's 2002-05-18
7062    version.</li>
7063
7064    <li>correct limit-checking in <code>ComputeSelect()</code> to
7065    handle selections that extend off the visible area; rather than
7066    modify the parameters to <code>TrackText()</code>, use
7067    <code>ScrollSelection()</code> to update the highlighting
7068    limits. (reported by Yegappan Lakshmanan and Nelson Beebe,
7069    patch by Alexander V Lukyanov).</li>
7070
7071    <li>correct manpage description of <code>tiXtraScroll</code>
7072    resource (reported by Tony Finch).</li>
7073
7074    <li>changes from OpenBSD:
7075
7076      <ul>
7077        <li>Make xterm setgid utmp to be able to update utmp even
7078        with root privileges revoked.</li>
7079
7080        <li>If not updating utmp, revoke group privileges totally
7081        too.</li>
7082      </ul>
7083    </li>
7084
7085    <li>changes from NetBSD:
7086
7087      <ul>
7088        <li>Check that the return value from ttyslot() is greater
7089        than 0 before writing the utmp file. Fixes w's "w: Stale
7090        utmp entry: &lt;user&gt; &lt;tty&gt; &lt;pty&gt;"
7091        errors.</li>
7092
7093        <li>Use openpty() to deal with new pty naming scheme.</li>
7094      </ul>
7095    </li>
7096
7097    <li>add <code>print-redir</code> action and menu entry to allow
7098    user to switch terminal in/out of printer controller mode. It
7099    appears from the manual that a real vt220 would not switch back
7100    to normal mode, so another mechanism is used (addresses Debian
7101    #37517).</li>
7102
7103    <li>check if <code>printerCommand</code> resource string is
7104    empty, use this to allow user to disable printer function.</li>
7105
7106    <li>trim trailing blanks from resource strings.</li>
7107
7108    <li>check return value from <code>ptsname()</code>, which may
7109    return null for example if someone has changed the permissions
7110    of /dev/pts to zero (Debian #121899).</li>
7111
7112    <li>modify OS/2 version to use <code>__UNIXOS2__</code>
7113    definition rather than <code>__EMX__</code>, related cleanup
7114    (patch by Holger Veit).</li>
7115
7116    <li>used modified indent 2.0 (patch <a href=
7117    "ftp://invisible-island.net/gnu-patches/">20020428</a>) to
7118    reformat most of the C source files, to simplify
7119    maintenance.</li>
7120
7121    <li>fix a couple of places where there were leading tabs on
7122    symbol-definition lines in Imakefile (Marc La France from
7123    report by Tony Finch)</li>
7124
7125    <li>add imake variable (TraceXTerm) to allow building debug
7126    version (Egbert Eich).</li>
7127  </ul>
7128
7129  <h1><a name="xterm_166" id="xterm_166">Patch #166 - 2002/3/25 -
7130  XFree86 4.2.0</a></h1>
7131
7132  <ul>
7133    <li>correct a bug in selection: double clicking on a word which
7134    was partly scrolled off the screen may select that text (report
7135    by Vincent Lefevre &lt;vincent@vinc17.org&gt;).</li>
7136
7137    <li>implement <code>veryBoldColors</code> resource to control
7138    whether the corresponding video attribute such as
7139    <code>bold</code> is displayed when using
7140    <code>colorBDMode</code>, etc. (request by Josh Howard
7141    &lt;jrh@vicor-nb.com&gt;).</li>
7142
7143    <li>define escape sequences for function keys F21-F35 (patch by
7144    Steve Wall).</li>
7145
7146    <li>change the colors for the 256-color model, making them less
7147    skewed toward black (patch by Steve Wall).</li>
7148
7149    <li>add <code>vt100Graphics</code> resource (see <a href=
7150    "#xterm_115">patch #115</a>, based on discussion with Glenn
7151    Maynard).</li>
7152
7153    <li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid
7154    potential incompatibilities between these flavors of Athena
7155    widgets.</li>
7156
7157    <li>add configure check for XFree86 4.x Xaw library, whose
7158    geometry management is broken, to avoid trying to use it for
7159    toolbar configuration.</li>
7160
7161    <li>updates to configure script from vile and lynx to allow
7162    configure.in to be compiled with autoconf 2.5x</li>
7163
7164    <li>add a check for null pointer return by
7165    <code>ptsname()</code> (newsgroup posting from Mike Silva
7166    &lt;mikesilva@lucent.com&gt;).</li>
7167
7168    <li>fill in a few details needed to allow UTF-8 mode to switch
7169    on/off after startup. This requires that <code>wideChars</code>
7170    resource be set. (based on comments in 4 Aug 2001 by Alexey
7171    Marinichev &lt;lyosha@lyosha.2y.net&gt;).</li>
7172
7173    <li>remove duplicate install rules that make directories, e.g.,
7174    so installing manpage will not create app-defaults
7175    directory.</li>
7176
7177    <li>add comment in in <code>do_osc()</code>, reserving cases 30
7178    and 31 for for Konsole (request by Stephan Binner
7179    &lt;Stephan.Binner@gmx.de&gt;).</li>
7180
7181    <li>fixes for ctlseqs.ms and xterm.man (patch by Werner Lemberg
7182    &lt;wl@gnu.org&gt;).</li>
7183
7184    <li>add check for monochrome display, disabling colorMode in
7185    that case (fixes Debian #134130).</li>
7186
7187    <li>resync with XFree86 CVS
7188
7189      <ul>
7190        <li>Fix some xterm build warnings on *BSD (patch by David
7191        Dawes).</li>
7192
7193        <li>Only use SA_RESTART in xterm when it's available (patch
7194        by Frank Liu).</li>
7195
7196        <li>Fix incorrect code in signal handlers in most of the
7197        clients, xterm and xdm not done yet (patch by Matthieu
7198        Herrb).</li>
7199      </ul>
7200    </li>
7201  </ul>
7202
7203  <h1><a name="xterm_165" id="xterm_165">Patch #165 - 2002/1/5 -
7204  XFree86 4.1.0</a></h1>
7205
7206  <ul>
7207    <li>modify <code>uxterm</code> script to strip encoding part
7208    from environment variable before adding ".UTF-8" (based on
7209    Debian #125947, but using a more portable solution).</li>
7210
7211    <li>add an assignment statement in VTInitialize() to make
7212    <code>awaitInput</code> resource work.</li>
7213
7214    <li>use new macros init_Bres(), etc., in VTInitialize() to add
7215    trace of the initialization of resources.</li>
7216
7217    <li>modify checks for $LC_ALL, related environment variables to
7218    ensure the resulting strings are nonempty (report by Markus
7219    Kuhn).</li>
7220
7221    <li>add an ifdef in charproc.c for num_ptrs variable in case
7222    all configure options are disabled.</li>
7223
7224    <li>modify definition of getXtermBackground() to avoid negative
7225    array index warning on Tru64 (report by Jeremie Petit).</li>
7226
7227    <li>improve fix from patch #165 (still Debian #117184, report
7228    by Matt Zimmerman &lt;mdz@debian.org&gt;)</li>
7229
7230    <li>correct install rule for uxterm in Makefile.in, to handle
7231    the case where building in a different directory than xterm's
7232    source (patch by Paul Gilmartin).</li>
7233
7234    <li>documented ANSI.SYS-style cursor save/restore escape
7235    sequences in ctlseqs.ms, which are in xterm since X11R5.</li>
7236
7237    <li>correct two entries in the default charClass table, which
7238    did not follow the manpage comment about the character number
7239    corresponding to the class (patch by Marc Bevand
7240    &lt;bevand_m@epita.fr&gt;).</li>
7241
7242    <li>fix a couple of typos in comments in the app-defaults files
7243    (David Krause &lt;xfree86@davidkrause.com&gt;).</li>
7244
7245    <li>resync with XFree86 CVS
7246
7247      <ul>
7248        <li>update language of copyrights in some files to reflect
7249        the fact that they were reassigned from X Consortium to The
7250        Open Group in 1998. Note that this xterm source is derived
7251        from the 1996 version from X Consortium, does not
7252        incorporate changes made by X Consortium or The Open Group
7253        after that date, hence we do not add The Open Group's 1998
7254        copyright date to related files.</li>
7255
7256        <li>save/restore <code>errno</code> in signal catcher
7257        (patch by Matthieu Herrb).</li>
7258
7259        <li>modify UXTerm.ad's font5 resource so that xterm can
7260        display double width characters using a font distributed
7261        with XFree86 (Tomohiro Kubota).</li>
7262      </ul>
7263    </li>
7264  </ul>
7265
7266  <h1><a name="xterm_164" id="xterm_164">Patch #164 - 2001/11/13 -
7267  XFree86 4.1.0</a></h1>
7268
7269  <ul>
7270    <li>correct a case where <code>ptyInitialErase</code> and
7271    <code>backarrowKeyIsErase</code> resources combine to set
7272    <code>DECBKM</code> mode, but a <code>reset</code> command
7273    would not reset xterm to that state, making the erase character
7274    revert to ^H (Debian #117184)</li>
7275  </ul>
7276
7277  <h1><a name="xterm_163" id="xterm_163">Patch #163 - 2001/11/04 -
7278  XFree86 4.1.0</a></h1>
7279
7280  <ul>
7281    <li>correct ifdef's for <code>__QNX__</code> and
7282    <code>USE_SYSV_PGRP</code> in main.c call to
7283    <code>tcsetpgrp</code>, which broke bash behavior around
7284    <a href="#xterm_140">patch #140</a> (report/patch by Frank Liu
7285    &lt;fliu@mail.vipstage.com&gt;).</li>
7286
7287    <li>modify trace.c to fix missing definition of GCC_UNUSED for
7288    compilers other than gcc when configured for trace code
7289    (report/patch by Paul Gilmartin).</li>
7290
7291    <li>change format in TraceOptions() to use long rather than
7292    int, since the latter could lose precision on 64-bit machines
7293    (report/patch by Nelson Beebe).</li>
7294
7295    <li>modify xterm manual page and minstall.sh to allow imake
7296    rules to define location of app-defaults directory (Debian
7297    #87611).</li>
7298
7299    <li>review/update list of conflicting preprocesor symbols to
7300    remove from $CPPFLAGS at the end of the configure script. In
7301    particular, this allows one to configure xterm without the
7302    utempter library on Redhat 7.1 (report/patch by Adam
7303    Sulmicki).</li>
7304  </ul>
7305
7306  <h1><a name="xterm_162" id="xterm_162">Patch #162 - 2001/10/23 -
7307  XFree86 4.1.0</a></h1>
7308
7309  <ul>
7310    <li>correct logic that processes <code>-class</code> option, so
7311    that a following <code>-e</code> option is handled (Debian
7312    #116297).</li>
7313
7314    <li>improve options-decoding to allow <code>-version</code> and
7315    <code>-help</code> options to be combined (Debian
7316    #110226).</li>
7317
7318    <li>add a 10 millisecond delay in event loop when processing
7319    <code>-hold</code> option, to avoid using too much CPU time
7320    (Debian #116213).</li>
7321
7322    <li>prefix final program execution in <code>uxterm</code> with
7323    "exec" to avoid a useless shell hanging around (Christian
7324    Weisgerber).</li>
7325  </ul>
7326
7327  <h1><a name="xterm_161" id="xterm_161">Patch #161 - 2001/10/10 -
7328  XFree86 4.1.0</a></h1>
7329
7330  <ul>
7331    <li>modify logic that resets keypad application mode to avoid
7332    doing this if there is no modifier associated with the Num_Lock
7333    keysym (report by John E Davis &lt;davis@space.mit.edu&gt; and
7334    Alan W Irwin &lt;irwin@beluga.phys.uvic.ca&gt;).</li>
7335
7336    <li>add built-in translation for Control/KP_Separator to
7337    KP_Subtract, to accommodate users who wish to use xmodmap to
7338    reassign the top row of the numeric keypad.</li>
7339
7340    <li>correct Imakefile install-rule for <code>uxname</code>
7341    script (reported by Nam SungHyun &lt;namsh@lge.com&gt;).</li>
7342
7343    <li>resync with XFree86 CVS &ndash; correct typo in
7344    <code>&lt;ncurses/term.h&gt;</code> ifdef.</li>
7345  </ul>
7346
7347  <h1><a name="xterm_160" id="xterm_160">Patch #160 - 2001/10/7 -
7348  XFree86 4.1.0</a></h1>
7349
7350  <ul>
7351    <li>modify logic in main.c (see <a href="#xterm_145">patch
7352    #145</a>) to avoid generating the same identifier, for example,
7353    for /dev/tty1 and /dev/pts/1, which is used to denote an entry
7354    in the utmp file (Debian bug report #84676), A similar fix was
7355    also sent by Jerome Borsboom &lt;borsboom@westbrabant.net&gt;
7356    in May, but I overlooked it when reviewing bug reports.</li>
7357
7358    <li>add configure check for <code>&lt;ncurses/term.h&gt;</code>
7359    to get rid of hardcoded <code>__CYGWIN__</code> ifdef in
7360    resize.c
7361
7362      <p>NOTE: The CYGWIN port should not be linking
7363      <code>resize</code> with ncurses. It appears that the only
7364      reason it is, is because both the ncurses and termcap ports
7365      on that platform are badly misconfigured (essential pieces
7366      have been removed, etc). Checking for
7367      <code>&lt;ncurses/term.h&gt;</code> does not hurt anything,
7368      since there are some correct installations that are set up
7369      that way.</p>
7370    </li>
7371
7372    <li>add a sample <code>uxterm</code> script, which uses the
7373    <code>UXTerm</code> application defaults for UTF-8
7374    environments.</li>
7375
7376    <li>undo change to xterm application defaults, since this
7377    introduced an unnecessary incompatibility. The intended
7378    functionality was already addressed by the <a href=
7379    "#xterm_141">UXTerm</a> app-defaults file.</li>
7380
7381    <li>resync with XFree86 CVS
7382
7383      <ul>
7384        <li>Modified xterm app default to use LFD fontnames instead
7385        of old type (Michael Schroeder).</li>
7386
7387        <li>Fix xterm when XIM is disabled - caused a segfault
7388        (Tomohiro Kubota).</li>
7389      </ul>
7390    </li>
7391  </ul>
7392
7393  <h1><a name="xterm_159" id="xterm_159">Patch #159 - 2001/9/19 -
7394  XFree86 4.1.0</a></h1>
7395
7396  <ul>
7397    <li>remove an ifdef for <code>USE_HANDSHAKE</code> added in
7398    patch #158 from the second <code>TIOCSSIZE</code> ioctl call in
7399    the initialization code. Paul Gilmartin reports that for
7400    Solaris 2.6 (sparc), stty does not show that xterm sets rows
7401    and columns unless the second ioctl is executed.</li>
7402
7403    <li>correct treatment of empty parameter list for some OSC
7404    strings (report by Sami Farin &lt;sfarin@ratol.fi&gt;).</li>
7405  </ul>
7406
7407  <h1><a name="xterm_158" id="xterm_158">Patch #158 - 2001/9/8 -
7408  XFree86 4.1.0</a></h1>
7409
7410  <ul>
7411    <li>augment key translations for scrollbar widget to ensure
7412    that keystrokes intended for the text area are not lost if the
7413    mouse pointer happens to fall on the scrollbar. This can
7414    happen, for instance, if the user's <code>app-defaults</code>
7415    or <code>.Xdefaults</code> file contains a translations
7416    resource, though it may also happen through unrelated resource
7417    settings: probably a bug in libXt (reported by Paul Fox
7418    &lt;pgf@foxharp.boston.ma.us&gt; and Dmitry Yu. Bolkhovityanov
7419    &lt;D.Yu.Bolkhovityanov@inp.nsk.su&gt;).</li>
7420
7421    <li>widen ifdef's in xterm.h to define
7422    <code>__EXTENSIONS__</code> on Solaris, for compilers other
7423    than gcc. This was added along <code>_POSIX_C_SOURCE</code>
7424    with in <a href="#xterm_151">patch #151</a>, but is not
7425    sufficient since Sun's compiler does not define
7426    <code>__STDC__</code> by default (report by Matthias Scheler
7427    &lt;tron@zhadum.de&gt;).</li>
7428
7429    <li>modify xterm to obtain the closest matching color if an
7430    exact color is not available, e.g., on 8-bit displays (patch by
7431    Steve Wall)</li>
7432
7433    <li>implement "OverTheSpot" preedit type of XIM input (patch by
7434    Tomohiro Kubota):
7435
7436      <ul>
7437        <li>This preedit type is a reasonable compromise between
7438        simpleness of implementation and usefulness. "Root" preedit
7439        type is easy to implement but not useful; "OnTheSpot"
7440        preedit type is the best in the point of view of user
7441        interface but very complex. And more, "OverTheSpot" is the
7442        preedit type which the most XIM servers support. Thus, to
7443        achieve reasonable usability, support of "OverTheSpot"
7444        preedit type is needed.</li>
7445
7446        <li>In "OverTheSpot" preedit type, the preedit
7447        (preconversion) string is displayed at the position of the
7448        cursor. On the other hand, it is XIM server's
7449        responsibility to display the preedit string. Thus, it is
7450        needed for XIM client (here XTerm) to inform the XIM server
7451        of the cursor position. And more, to achieve good visual
7452        proportion, preedit string must be written using proper
7453        font. Thus, it is XIM client's responsibility to inform the
7454        XIM server of the proper font. The font must be supplied by
7455        "fontset". Fontset is a set of fonts with charsets which
7456        are specified by the current locale. Since XTerm uses
7457        ISO10646 fonts regardless of the current locale, the fonts
7458        for XIM must be prepared separately. It is difficult to
7459        prepare fonts which are similar to XTerm font. Thus, my
7460        patch uses a simple way - the default font is "*" which
7461        matches every fonts and X library will automatically choose
7462        fonts with proper charsets. I added "-fx" command option
7463        and "ximFont" resource to override this default font
7464        setting.</li>
7465
7466        <li>changed the definition of "OverTheSpot" preedit type
7467        from XIMPreeditPosition|XIMStatusArea to
7468        XIMPreeditPosition|XIMStatusNothing. This matches the
7469        behavior of other programs such as Rxvt, Kterm, Gedit.</li>
7470
7471        <li>A tiny XIM bugfix is also included. By calling
7472        XSetLocaleModifiers() with parameter of "", it can consier
7473        XMODIFIERS environmental variable which is a standard way
7474        for users to specify XIM server to be used.</li>
7475      </ul>
7476    </li>
7477
7478    <li>adjust configure script to accommodate repackaging of
7479    keysym2ucs.c as include-file for xutf8.c (patch by Tomohiro
7480    Kubota).</li>
7481
7482    <li>add the <code>UXTerm</code> app-defaults file to makefile
7483    install rules (request by Juliusz Chroboczek).</li>
7484
7485    <li>correct logic in <code>get_termcap()</code>, which returned
7486    false if the <code>tgetent()</code> call indicated that xterm
7487    was linked with terminfo. Although the <code>$TERMCAP</code>
7488    variable cannot be adjusted in this case, xterm still needs
7489    information from this call to extract data to initialize the
7490    erase-mode when the <code>ptyInitialErase</code> resource is
7491    false.</li>
7492
7493    <li>modify <code>ScrollbarReverseVideo()</code> function to
7494    cache the original border color, so it can restore that when an
7495    application flashes the screen (Bugzilla #38872).</li>
7496
7497    <li>resync with XFree86 CVS
7498
7499      <ul>
7500        <li>remove ifdef's for X_NOT_STDC_ENV (patch by David
7501        Dawes).</li>
7502
7503        <li>add Cygwin to special errno handling case in ptydata.c
7504        (Alan Hourihane)</li>
7505
7506        <li>set screen size earlier in initialization, to address a
7507        race with window manager resizing its clients (Keith
7508        Packard).</li>
7509      </ul>
7510    </li>
7511  </ul>
7512
7513  <h1><a name="xterm_157" id="xterm_157">Patch #157 - 2001/6/18 -
7514  XFree86 4.1.0</a></h1>
7515
7516  <ul>
7517    <li>clean up button.c and input.c (patch by Juliusz
7518    Chroboczek). The basic idea is to use a single set of APIs in
7519    the XTerm core, and put a set of workarounds in a separate
7520    file. As you will notice, this drastically simplifies parts of
7521    the code; in particular, the only remaining ifdefs related to
7522    the differences between Xutf8 and legacy systems are related to
7523    the selection provider logic. This defines two new files,
7524    xutf8.h and xutf8.c, provide some half-hearted but fully
7525    portable emulation for the three Xutf8* functions that XTerm
7526    uses. Putting these in a separate file will allow people to
7527    experiment with more complex versions without making the core
7528    of XTerm more difficult to maintain. The functionality of the
7529    emulation is as follows.
7530
7531      <ul>
7532        <li>Xutf8TextListToTextProperty fully handles XStringstyle
7533        and XUTF8StringStyle. It will only generate STRING for
7534        XStdICCTextStyle, and wil only generate Latin-1 in
7535        XCompoundTextStyle (but label it as COMPOUND_TEXT, as the
7536        spec requires). (I have hesitated to make this function
7537        fail for XStdICCTextStyle and XCompoundTextStyle; this
7538        might be a smart thing to do, in the hope that the
7539        selection requestor will try UTF8_STRING afterwards;
7540        opinions?)</li>
7541
7542        <li>Xutf8TextPropertyToTextList fully handles STRING and
7543        UTF8_STRING. It systematically fails for
7544        COMPOUND_TEXT.</li>
7545
7546        <li>Xutf8LookupString will properly handle single-keystroke
7547        input for the keysyms covered by Markus' keysym2ucs
7548        function. It will not handle either compose key input or
7549        external input methods.</li>
7550      </ul>
7551    </li>
7552
7553    <li>add an ifdef for <code>SunXK_F36</code>, used in
7554    <code>xtermcapKeycode()</code> (patch by Mark Waggoner
7555    &lt;waggoner@ichips.intel.com&gt;).</li>
7556
7557    <li>modify check for login name to try <code>getlogin()</code>
7558    and $LOGNAME, $USER environment variables to detect if the user
7559    has logged in under an alias, i.e., an account with the same
7560    user id but a different name (Debian bug report #70084).</li>
7561
7562    <li>add resource <code>tiXtraScroll</code>, which can be used
7563    to preserve the screen contents in the scrollback rather than
7564    erasing it when starting a fullscreen application such as
7565    <code>vi</code> (patch by Ken Martin
7566    &lt;fletcher@catsreach.org&gt;).</li>
7567
7568    <li>two patches by Denis Zaitsev &lt;zzz@cd-club.ru&gt;:
7569
7570      <ul>
7571        <li>added <code>forceBoxChars</code> resource to control
7572        the "line-drawing characters" option.</li>
7573
7574        <li>added <code>freeBoldBox</code> resource, which, when
7575        set true, suppresses check in
7576        <code>same_font_size()</code>, so xterm does not attempt to
7577        ensure that the bold font is the same size as the normal
7578        font.</li>
7579      </ul>
7580    </li>
7581
7582    <li>change the color class for ANSI colors and similar ones
7583    such as bold-color, etc., to follow the convention that the
7584    classname is the instance name with a leading capital (e.g.,
7585    <code>color0</code> and <code>Color0</code> rather than
7586    <code>color0</code> and <code>Foreground</code>). There was
7587    little use for Foreground as a class other than to create
7588    occasional confusion and bug reports, most recently by Nelson
7589    Beebe who reports that it disables colors in xterm but not on
7590    Linux, which is probably due to a difference in resource
7591    evaluation order. A configure script option
7592    (--disable-color-class) is provided for anyone who did use the
7593    older behavior.</li>
7594
7595    <li>fix a signal-handling bug. When running xterm with
7596    <code>ksh</code> or similar shell such as bash 2.05, xterm will
7597    hang and not respond to keystrokes after the user types
7598    <code>suspend</code>. Additionally the popup menus do not
7599    respond, so it is not possible to send SIGCONT to the shell.
7600    What is happening is that the shell is sending itself SIGSTOP,
7601    and it is being stopped. Per specification it also means that
7602    the operating system is sending SIGCHLD to parent to the bash
7603    (XTERM). Now the issue is that xterm assumes it cannot happen
7604    and it expects to receive SIGCHLD only upon
7605    <em>termination</em> of its children. This causes a deadlock
7606    with xterm waiting for the child to die, and the child waiting
7607    for SIGCONT. (report/patch by Adam Sulmicki), analysis/testing
7608    by Sven Mascheck
7609    &lt;sven.mascheck@student.uni-ulm.de&gt;).</li>
7610
7611    <li>correct some inconsistent checks for
7612    <code>XtReleaseGC()</code> calls in
7613    <code>xtermLoadFont()</code> (patch by Nam SungHyun
7614    &lt;namsh@lge.com&gt;).</li>
7615
7616    <li>updated wcwidth.c and keysym2ucs.c to versions dated
7617    2001/1/12 and 2001/4/18, respectively from
7618    http://www.cl.cam.ac.uk/~mgk25/ucs/</li>
7619
7620    <li>correction to change from <a href="#xterm_90">patch
7621    #90</a>, which was intended to reset the saved cursor position
7622    for normal/alternate screens on a soft reset, but actually
7623    wiped out all of the saved cursor information. Just reset the
7624    saved position for the current screen (report by Michael
7625    Schroeder).</li>
7626
7627    <li>modify ShowCursor() and HideCursor() so that if the cursor
7628    points to the second part of a wide character, make the
7629    show/hide operate on the first position of the wide character
7630    (patch by Sven Verdoolaege).</li>
7631
7632    <li>scrolling in the alternate screen just before switching
7633    back to the main screen can cause extra blank lines to be
7634    inserted into the scrollback buffer (patch by Paul Vojta
7635    &lt;vojta@math.berkeley.edu&gt;).</li>
7636
7637    <li>resync with XFree86 4.1.0:
7638
7639      <ul>
7640        <li>Use TermcapLibrary as -lncurses instead of -ltermcap,
7641        fixes problem building xterm/resize on Cygwin/XFree86
7642        (Harold Hunt).</li>
7643
7644        <li>Install xterm.termcap and xterm.terminfo when
7645        installing xterm (Torrey T. Lyons).</li>
7646
7647        <li>Fix some build issues on Cygwin/XFree86 (Suhaib
7648        Siddiqi).</li>
7649
7650        <li>Define CBAUD, when it's missing in xterm, on LynxOS
7651        (Stuart Lissaman).</li>
7652      </ul>
7653    </li>
7654  </ul>
7655
7656  <h1><a name="xterm_156" id="xterm_156">Patch #156 - 2001/4/28 -
7657  XFree86 4.0.3</a></h1>
7658
7659  <ul>
7660    <li>change order of selection-target types to make 8-bit xterm
7661    prefer UTF8_STRING to COMPOUND_TEXT (patch by Juliusz
7662    Chroboczek).</li>
7663
7664    <li>document <code>-fa</code>, <code>-fs</code> command-line
7665    options and <code>faceName</code>, <code>faceSize</code>
7666    resources which are used by the freetype library support.</li>
7667
7668    <li>if configure script finds freetype libraries, but imake
7669    definitions do not have the XRENDERFONT definition, define it
7670    anyway.</li>
7671
7672    <li>modify configure script check for freetype libraries to
7673    include <code>&lt;Xlib.h&gt;</code>, since an older version of
7674    the related headers relies on this (patch by Adam
7675    Sulmicki).</li>
7676  </ul>
7677
7678  <h1><a name="xterm_155" id="xterm_155">Patch #155 - 2001/4/20 -
7679  XFree86 4.0.3</a></h1>
7680
7681  <ul>
7682    <li>correct return type of in_put() from <a href=
7683    "#xterm_155">patch #153</a> changes, which left it not wide
7684    enough for UTF-8 (patch by Bruno Haible).</li>
7685  </ul>
7686
7687  <h1><a name="xterm_154" id="xterm_154">Patch #154 - 2001/4/11 -
7688  XFree86 4.0.3</a></h1>
7689
7690  <ul>
7691    <li>undo check for return value from <code>pututline</code>
7692    (used for debugging) since that function does not return a
7693    value on Slackware 3.6.</li>
7694
7695    <li>correct length in ScreenWrite, when rendering invisible
7696    text (patch by Sven Verdoolaege &lt;skimo@kotnet.org&gt;).</li>
7697
7698    <li>fixes/improvements for the <code>i18nSelection</code>
7699    resource from patch #153, by Bruno Haible:
7700
7701      <ul>
7702        <li>add missing initialization for
7703        <code>i18nSelection</code> resource.</li>
7704
7705        <li>split-out the non-ICCM aspect of the
7706        <code>i18nSelection</code> resource as a new resource,
7707        <code>brokenSelections</code>.</li>
7708      </ul>
7709    </li>
7710
7711    <li>add configure check for <code>&lt;time.h&gt;</code> and
7712    <code>&lt;sys/time.h&gt;</code>, to allow for Unixware&nbsp;7,
7713    which requires both. If the configure script is not used, only
7714    <code>&lt;time.h&gt;</code> will be included as before (report
7715    by Thanh Ma).</li>
7716
7717    <li>fix redefinition of <code>dup2</code>,
7718    <code>getutent</code>, <code>getutid</code>,
7719    <code>getutline</code> and <code>sleep</code> functions on
7720    Unixware&nbsp;7 (report by Thanh Ma
7721    &lt;Thanh.Ma@casi-rusco.com&gt;)</li>
7722
7723    <li>add a fall-back definition for <code>__hpux</code>, which
7724    is apparently not defined in some compilers on HPUX 11.0
7725    (reported by Clint Olsen).</li>
7726
7727    <li>change VAL_INITIAL_ERASE, which is used as a fallback for
7728    the <code>"kb"</code> termcap string to 8, since that matches
7729    the xterm terminal description (request by Alexander V
7730    Lukyanov).</li>
7731
7732    <li>correct an off-by-one in <code>ClearInLine</code>, which
7733    caused the erase-characters (ECH) control to display
7734    incorrectly (patch by Alexander V Lukyanov).</li>
7735
7736    <li>correct escape sequences shown in terminfo for shifted
7737    editing keys. The modifier code was for the control key rather
7738    than the shift key.</li>
7739  </ul>
7740
7741  <h1><a name="xterm_153" id="xterm_153">Patch #153 - 2001/3/29 -
7742  XFree86 4.0.3</a></h1>
7743
7744  <ul>
7745    <li>increase PTYCHARLEN to 8 for os390, add some debugging
7746    traces for UTMP functions (patch by Paul Gilmartin).</li>
7747
7748    <li>correct an misplaced brace in
7749    <code>SelectionReceived()</code> (patch by Bruno Haible).</li>
7750
7751    <li>correct an assignment dropped in
7752    <code>SelectionReceived()</code> which made it not compile for
7753    wide-characters combined with debug traces.</li>
7754
7755    <li>correct typo, clarify description of 88- and 256-color
7756    controls (report by Bram Moolenaar).</li>
7757
7758    <li>correct a typo in ctlseqs.ms which caused DEC Locator
7759    control sequences using single quote "'" display grave "`"
7760    instead (reported by Paul Williams, apparently in patch
7761    #114).</li>
7762  </ul>
7763
7764  <h1><a name="xterm_152" id="xterm_152">Patch #152 - 2001/3/13 -
7765  XFree86 4.0.2</a></h1>
7766
7767  <ul>
7768    <li>correct index in inner loop in <code>VTInitI18N()</code>
7769    from patch #151 changes, which resulted in infinite loop under
7770    some conditions (report/analysis by Paul Gilmartin).</li>
7771
7772    <li>remove spurious "%|" from terminfo sgr capabilities
7773    (report/analysis by Adam M Costello, Debian #89222).</li>
7774
7775    <li>add shell script to adjust list of dynamic libraries linked
7776    by <code>resize</code> when building with the standalone
7777    configure script. Otherwise it uses the same list as for xterm,
7778    which is excessive.</li>
7779
7780    <li>fix a few compiler warnings reported by the 20010305 gcc
7781    snapshot.</li>
7782  </ul>
7783
7784  <h1><a name="xterm_151" id="xterm_151">Patch #151 - 2001/3/10 -
7785  XFree86 4.0.2</a></h1>
7786
7787  <ul>
7788    <li>alter the behaviour of selections in XTerm (patch by
7789    Juliusz Chroboczek). It is believed to follow the ICCCM +
7790    UTF8_STRING to the letter, both in UTF-8 and in eight-bit mode.
7791    From his description:
7792
7793      <ul>
7794        <li>When compiled against XFree86 4.0.2, the patched XTerm
7795        will make the selection available as COMPOUND_TEXT, STRING
7796        or UTF8_STRING in both modes. It will request selections in
7797        the following order:
7798
7799          <p>UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT,
7800          STRING.<br>
7801          eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING,
7802          STRING.</p>
7803        </li>
7804
7805        <li>When compiled against an earlier version of XFree86 (or
7806        compiled with OPT_UTF8_API=0), it will still obey the
7807        ICCCM, but will neither request nor provide UTF8_STRING in
7808        eight-bit mode, and neither TEXT nor COMPOUND_TEXT in UTF-8
7809        mode.</li>
7810
7811        <li>For compatibility with previous versions of XTerm, a
7812        resource <code>i18nSelections</code> is provided, please
7813        see the manpage for details. However, due to an unexpected
7814        combination of ICCCM extensions by various bits and pieces
7815        of the libraries, interacting with previous versions of
7816        XTerm will work in many locales even without this flag.
7817        (Please do not set this resource to true by default, as
7818        this would violate the ICCCM.)</li>
7819      </ul>
7820    </li>
7821
7822    <li>improved error checking/reporting in VTInitI18N(), ensuring
7823    that lack of input method styles is treated distinctly from a
7824    mismatch.</li>
7825
7826    <li>remove an incorrect ifdef from patch #141 which suppressed
7827    overstriking to simulate bold font when xterm was compiled to
7828    support wide characters (report/analysis by Adam M Costello
7829    &lt;amc@cs.berkeley.edu&gt;, Debian #76404, Debian
7830    #77575).</li>
7831
7832    <li>modify <code>RequestResize()</code> function to
7833    save/restore window manager hints. Its call to
7834    <code>XtMakeResizeRequest()</code> had the undesirable
7835    side-effect of clearing window manager hints, e.g., when
7836    switching to 132-columns via DECCOLM escape sequence. Window
7837    manager hints make it simple to resize xterm in terms of
7838    character cells rather than pixels (reports by Christian
7839    Weisgerber, Debian #79939).
7840
7841      <p>This applies to the normal configuration. When built with
7842      toolbar support, the hints are applied to a different widget
7843      level (more work will be needed to make hints work with the
7844      toolbar).</p>
7845    </li>
7846
7847    <li>fix a redefinition warning for resize.c on OpenBSD (patch
7848    by Christian Weisgerber).</li>
7849
7850    <li>change resource corresponding to <code>-T</code> option to
7851    match Xt library's <code>-title</code>, i.e.,
7852    <code>.title</code> rather than <code>*title</code> so the
7853    command-line options are interchangeable as documented (Debian
7854    bug report #68843).</li>
7855
7856    <li>add script used from autoconf'd makefile for installing
7857    manpages, since recent XFree86 changing the way section numbers
7858    are represented makes the install dependent on extra
7859    scripts.</li>
7860
7861    <li>add configure check for freetype libraries and configure
7862    option --disable-freetype to override this feature.</li>
7863
7864    <li>modify some configure script macros to avoid using
7865    changequote(), which has been rendered useless in the latest
7866    autoconf alpha 2.49c</li>
7867
7868    <li>update config.guess, config.sub to 2001-2-13</li>
7869
7870    <li>remove redundant/contradictory __CYGWIN__ definitions from
7871    resize.c</li>
7872
7873    <li>correct manpage typo introduced by X11R6.5 resync.</li>
7874  </ul>
7875
7876  <p>Changes from XFree86 4.0.2:</p>
7877
7878  <ul>
7879    <li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris
7880    to make this compile with <code>gcc -ansi -pedantic</code>
7881    (report by &lt;mark@zang.com&gt;.</li>
7882  </ul>
7883
7884  <h1><a name="xterm_150" id="xterm_150">Patch #150 - 2000/12/29 -
7885  XFree86 4.0.2</a></h1>
7886
7887  <ul>
7888    <li>move the binding for shifted keypad plus/minus, which
7889    invokes the <code>larger-vt-font()</code> and
7890    <code>smaller-vt-font()</code> actions, respectively, into the
7891    translations resource (suggested by Marius Gedminas
7892    &lt;mgedmin@puni.osf.lt&gt;).</li>
7893
7894    <li>modify configure script to support the
7895    <code>--program-prefix</code>, <code>--program-suffix</code>
7896    and <code>--program-transform-name</code> options (request by
7897    Alison Winters &lt;alison@mirrabooka.com&gt;).</li>
7898
7899    <li>fixes for wide/combining characters (Robert Brady):
7900
7901      <ul>
7902        <li>fix a scrolling / combining characters display
7903        anomaly</li>
7904
7905        <li>fix a problem with double-width characters where if the
7906        primary font had no box-drawing characters, the right hand
7907        half of double-width characters was erased (reported by Yao
7908        Zhang &lt;yzhang@sharemedia.com&gt;).</li>
7909
7910        <li>fix special case of null byte for key handling in UTF-8
7911        locales.</li>
7912      </ul>
7913    </li>
7914
7915    <li>modify logic that compares sizes of normal and bold fonts
7916    to be more forgiving of the font server's choice of bold font
7917    which must match the normal font's size. Now
7918    <code>same_font_size()</code> compares the height of the fonts
7919    rather than individually ascent and descent, and allows the
7920    bold font to be one pixel smaller than the normal font
7921    (addresses a report by Alan Citterman &lt;alan@mticket.com&gt;,
7922    who says that something in patches #146 to #148 made xterm more
7923    likely to overstrike bold fonts, and indirectly Debian bug
7924    report #76404, which reports the opposite).</li>
7925
7926    <li>make configure script use $CFLAGS and $CPPFLAGS
7927    consistently, including removing a chunk from configure.in
7928    which attempted to save/restore $CPPFLAGS while processing
7929    value set by the --x-includes option, but lost values set in an
7930    intervening AC_CHECK_HEADERS. This change modifies macros
7931    CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and CF_X_TOOLKIT, as well as
7932    removing variables IMAKE_CFLAGS and X_CFLAGS from the generated
7933    makefile (the AC_CHECK_HEADERS problem was reported by Albert
7934    Chin-A-Young &lt;china@thewrittenword.com&lt;).</li>
7935
7936    <li>correct a comparison in SELECTWORD case of ComputeSelect(),
7937    which resulted in a word-selection wrapping past the first
7938    column without checking the first column's character class
7939    (reported by Christian Lacunza
7940    &lt;celacunza@netscape.net&gt;</li>
7941
7942    <li>correct a logic in UTF-8 mode for selecting double-width
7943    characters; a combining character was omitted (patch by Markus
7944    Kuhn).</li>
7945
7946    <li>add feature to pop (raise) window when a bell is received
7947    (patch by Gael Roualland
7948    &lt;gael.roualland@dial.oleane.com&gt;).</li>
7949
7950    <li>add __NetBSD__ and __OpenBSD__ to special-case in
7951    xterm_io.h for USE_POSIX_TERMIOS definition (patch by Christian
7952    Weisgerber).</li>
7953
7954    <li>move special-case HPUX include for &lt;sys/bsdtty.h&gt; to
7955    xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for
7956    HPUX 10.20 (report by Bruno Betro).</li>
7957  </ul>
7958
7959  <h1><a name="xterm_149" id="xterm_149">Patch #149 - 2000/12/6 -
7960  XFree86 4.0.1h</a></h1>
7961
7962  <ul>
7963    <li>restructured includes for <code>termios.h</code>,
7964    <code>termio.h</code> and related definitions for main.c,
7965    os2main.c, screen.c and resize.c so they will share equivalent
7966    definitions in a new header <code>xterm_io.h</code>. This is
7967    intended to solve some problems mainly for HPUX which appear to
7968    arise from inconsistent definitions for SIGWINCH- and
7969    HAS_LTCHARS-related symbols (reports by Bruno Betro, Jeremie
7970    Petit and Clint Olsen).</li>
7971
7972    <li>improve usability of double-width fonts by allowing normal
7973    fonts to be given as double-width (from a patch by Fabrice
7974    Bellard &lt;bellard@email.enst.fr&gt;).</li>
7975
7976    <li>correct a few compiler warnings in TRACE() macros for
7977    signed/unsigned variable differences (reported by Clint
7978    Olsen).</li>
7979
7980    <li>make configure script use $CFLAGS and $CPPFLAGS more
7981    consistently, i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC
7982    macro.</li>
7983
7984    <li>expanded description of environment variables in
7985    manual-page.</li>
7986
7987    <li>modify OPT_TCAP_QUERY feature to always return the termcap
7988    or terminfo capability string in the response, and to
7989    read/write the names in hexadecimal form to allow for the
7990    special case of termcap's <code>k;</code> name (patch by Bram
7991    Moolenaar).</li>
7992
7993    <li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so
7994    the corresponding configure options work (patch by Bram
7995    Moolenaar).</li>
7996
7997    <li>resync with XFree86 4.0.1g:
7998
7999      <ul>
8000        <li>Rewrite Xft library for Render extension/core text and
8001        font management Change xterm to use new interface (Keith
8002        Packard).</li>
8003      </ul>
8004    </li>
8005  </ul>
8006
8007  <h1><a name="xterm_148" id="xterm_148">Patch #148 - 2000/10/31 -
8008  XFree86 4.0.1d</a></h1>
8009
8010  <ul>
8011    <li>document logfile options in man-page.</li>
8012
8013    <li>correct spelling of <code>-samename</code> option in help
8014    message.</li>
8015
8016    <li>add configure script option
8017    <code>--enable-tcap-query</code> (request by Bram
8018    Moolenaar).</li>
8019
8020    <li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature
8021    (patch by Bram Moolenaar).</li>
8022
8023    <li>patch by Kiyokazu Suto &lt;suto@ks-and-ks.ne.jp&gt;:
8024
8025      <ul>
8026        <li>add support for bold font for double width characters.
8027        The font name may be specified with the command line option
8028        <code>-fwb</code> or with resource
8029        <code>wideBoldFont</code> (class
8030        <code>WideBoldFont</code>).</li>
8031
8032        <li>correct underlining of double width character string,
8033        which was drawn only half width.</li>
8034
8035        <li>correct binary search of precomposed character table,
8036        which may return wrong result when <code>int</code> is just
8037        32 bits.</li>
8038      </ul>
8039    </li>
8040
8041    <li>some changes to align terminfo with ncurses 5.2:
8042
8043      <ul>
8044        <li>remove xtermm description, retaining xterm-mono since
8045        the former conflicts with ncurses.</li>
8046
8047        <li>modify initialization and reset strings to avoid
8048        putting the save/restore cursor operations bracketing
8049        changes to video attributes, since the changes could be
8050        lost when the cursor is restored. This affects xterm-r6 and
8051        xterm-8bit (the xterm-xfree86 entry uses the soft-reset
8052        feature which resets scrolling margins and origin mode
8053        without requiring us to save/restore the cursor
8054        position).</li>
8055
8056        <li>make a few entries explicitly inherit from
8057        xterm-xfree86 rather than xterm: xterm-rep, xterm-xmc,
8058        xterm-nrc</li>
8059      </ul>
8060    </li>
8061
8062    <li>ensure that sign-extension does not affect
8063    <code>ctype</code> macros by using <code>CharOf()</code> macro
8064    to coerce the parameter to an unsigned char.</li>
8065
8066    <li>resync with XFree86 4.0.1d:
8067
8068      <ul>
8069        <li>Add primitive support in xterm for Xft based fonts
8070        (Keith Packard). The changes are ifdef'd with
8071        <code>-DXRENDERFONT</code>.</li>
8072      </ul>
8073    </li>
8074  </ul>
8075
8076  <h1><a name="xterm_147" id="xterm_147">Patch #147 - 2000/10/26 -
8077  XFree86 4.0.1c</a></h1>
8078
8079  <ul>
8080    <li>correct implementation of <code>ptyInitialErase</code>: the
8081    value assigned to <code>initial_erase</code> was for the
8082    control terminal, which is correct as far as it goes. But there
8083    was no following test for the pseudo-terminal's erase value,
8084    which would overwrite the default obtained from the control
8085    terminal (reported by Christian Weisgerber
8086    &lt;naddy@mips.inka.de&gt;).</li>
8087
8088    <li>modify check for printable-characters in OSC string to use
8089    xterm's ansi_table rather than isprint() macro, to isolate this
8090    check from locale settings. This fixes a problem using 8-bit
8091    characters to set the title (reported by Ricardas Cepas
8092    &lt;rch@richard.eu.org&gt;).</li>
8093
8094    <li>modify sample scripts to check for printf before print,
8095    since the latter is not as well standardized (e.g., on
8096    Linux).</li>
8097
8098    <li>updated config.sub, config.guess to reflect changes on
8099    subversions.gnu.org</li>
8100  </ul>
8101
8102  <h1><a name="xterm_146" id="xterm_146">Patch #146 - 2000/9/12 -
8103  XFree86 4.0.1c</a></h1>
8104
8105  <ul>
8106    <li>correct two instances overlooked from patch #141 which
8107    assumed UTF-8 mode without checking, causing a core dump in
8108    non-UTF-8 mode (one instance was reported by Tommi Virtanen
8109    &lt;tv@debian.org&gt;).</li>
8110
8111    <li>correct a problem selecting from the scrollback buffer in
8112    UTF-8 mode by changing remaining getXtermCell() calls to
8113    XTERM_CELL() as in the non-UTF-8 cases (report by Markus Kuhn,
8114    patch by Robert Brady).</li>
8115  </ul>
8116
8117  <h1><a name="xterm_145" id="xterm_145">Patch #145 - 2000/9/11 -
8118  XFree86 4.0.1c</a></h1>
8119
8120  <ul>
8121    <li>changes for UTF-8 configuration (Robert Brady):
8122
8123      <ul>
8124        <li>doublewide characters don't lose their accents when the
8125        cursor moves onto or from them (a visual bug)</li>
8126
8127        <li>fix logic in addXtermCombining, which mean that if the
8128        low byte of a cell's first combining char was 0, a
8129        following combining char would go into combining slot 1,
8130        not 2.</li>
8131
8132        <li>modify logic for cut-buffers so UTF-8 data is first
8133        converted to Latin1.</li>
8134
8135        <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL.</li>
8136
8137        <li>modify to allow xterm to to show combining characters
8138        attached to doublewidth characters.</li>
8139
8140        <li>correct bug in linewrap with -u8 option (reported by
8141        Andreas Koenig &lt;andreas.koenig@anima.de&gt;).</li>
8142      </ul>
8143    </li>
8144
8145    <li>several changes to PTY logic (based on request by Tim Ryan
8146    &lt;timryan@nortelnetworks.com&gt;).
8147
8148      <ul>
8149        <li>modify treatment of <code>-S</code> option to to make
8150        it work with Unix98 PTY's.</li>
8151
8152        <li>restore sense of IsPts flag in <code>get_pty()</code>,
8153        which was lost in Unix98 changes.</li>
8154
8155        <li>use new functions <code>my_pty_id()</code> and
8156        <code>my_pty_name()</code> to simplify/fix strings used for
8157        utmp, wtmp identifiers.</li>
8158
8159        <li>simplify <code>get_pty()</code> function, making it
8160        have a single return point so its inputs/outputs can be
8161        identified.</li>
8162      </ul>
8163    </li>
8164
8165    <li>update config.guess and config.sub and scripts to my
8166    20000819 patch, adding cases for OS/2 EMX.</li>
8167
8168    <li>add special case for os390 compiler options to configure
8169    script (patch by Paul Gilmartin)</li>
8170
8171    <li>fix some unused-variable compiler warnings (reported by
8172    Zdenek Sekera).</li>
8173
8174    <li>split-out some string functions into xstrings.c, to use
8175    them more consistently among main.c, os2main.c and
8176    resize.c</li>
8177
8178    <li>align termcap/terminfo files, adding entries to make them
8179    match. The termcap entries are necessarily less complete than
8180    the terminfo, to fit within 1023 character per entry.</li>
8181
8182    <li>add terminfo entry for xterm-sco (SCO function keys).</li>
8183
8184    <li>modify <code>same_font_name()</code> to properly handle
8185    wildcard introduced in <code>bold_font_name()</code>, making
8186    comparison for different fonts succeed when only the normal
8187    font is specified. This is needed to decide if 1-pixel offset
8188    should be used. (reported in a newsgroup by Bart Oldeman
8189    &lt;enbeo@enbeo.resnet.bris.ac.uk&gt;)</li>
8190
8191    <li>correct preprocessor line for OPT_WIDE_CHARS in
8192    drawXtermText() from patch #141 which resulted in overstriking
8193    for bold fonts not working.</li>
8194
8195    <li>correct Imakefile from 4.0.1c resync so UTF-8 modules are
8196    in UTF8SRC, UTF8OBJ lists, allowing build without UTF-8
8197    support.</li>
8198  </ul>
8199
8200  <h1><a name="xterm_144" id="xterm_144">Patch #144 - 2000/8/23 -
8201  XFree86 4.0.1b</a></h1>
8202
8203  <ul>
8204    <li>remove a spurious assignment in ScreenWrite() from Robert
8205    Brady's patch which set a null at the "end" of the buffer to be
8206    written. That made the autowrap feature write a blank in the
8207    first column for the non-UTF-8 configuration, rather than the
8208    actual character (reported by Alan Citterman
8209    &lt;alan@mticket.com&gt;).</li>
8210  </ul>
8211
8212  <h1><a name="xterm_143" id="xterm_143">Patch #143 - 2000/8/19 -
8213  XFree86 4.0.1b</a></h1>
8214
8215  <ul>
8216    <li>add a check to ensure that <code>-class</code> command-line
8217    option is not confused with <code>-c</code> (reported by Paul
8218    Townsend &lt;aab@aab.cc.purdue.edu&gt;).</li>
8219  </ul>
8220
8221  <h1><a name="xterm_142" id="xterm_142">Patch #142 - 2000/8/18 -
8222  XFree86 4.0.1b</a></h1>
8223
8224  <ul>
8225    <li>correction to precompose scripts, so 0061 + 0300 will now
8226    be really be displayed as 00C0 (patch by Robert Brady
8227    &lt;robert@susu.org.uk&gt;).</li>
8228
8229    <li>correct macro ClassSelects() in button.c, used to hide
8230    ifdef's for OPT_WIDE_CHARS in patch #141 (reported by Andreas
8231    Paul &lt;paula@informatik.tu-muenchen.de&gt;).</li>
8232
8233    <li>change wcwidth.h to include stddef.h rather than wchar.h,
8234    which is not present on OpenBSD and FreeBSD (reported by
8235    Christian Weisgerber and Bram Moolenaar).</li>
8236
8237    <li>newer config.sub and config.guess, from lynx
8238    2.8.4dev.7</li>
8239  </ul>
8240
8241  <h1><a name="xterm_141" id="xterm_141">Patch #141 - 2000/8/14 -
8242  XFree86 4.0.1b</a></h1>
8243
8244  <ul>
8245    <li>changes for doublewidth and combining characters, from
8246    http://www.ecs.soton.ac.uk/~rwb197/xterm/ (integrated patch by
8247    Robert Brady). In this context, doublewidth refers to 16-bit
8248    character sets which may have glyphs occupying two cells.</li>
8249
8250    <li>add command-line option <code>-class</code>, which allows
8251    one to override xterm's resource class. Also add resource file
8252    <code>UXTerm.ad</code>, which simplifies using xterm for both
8253    8-bit character sets and UTF-8.</li>
8254
8255    <li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram
8256    Moolenaar, Steve Wall).</li>
8257  </ul>
8258
8259  <h1><a name="xterm_140" id="xterm_140">Patch #140 - 2000/7/23 -
8260  XFree86 4.0.1</a></h1>
8261
8262  <ul>
8263    <li>modify Makefile.in to circumvent GNU make's built-in suffix
8264    rule for ".sh" which confuses install.sh with the "make
8265    install" target (report/patch by Paul Gilmartin).</li>
8266
8267    <li>implement an experimental control sequence which an
8268    application may use to query the terminal to determine what
8269    sequence of characters it would send for a given function key.
8270    This is ifdef'd with OPT_TCAP_QUERY (request by Bram
8271    Moolenaar).</li>
8272
8273    <li>add /usr/local to search path in CF_X_ATHENA configure
8274    macro to build with Xaw3d on OpenBSD (patch by Christian
8275    Weisgerber).</li>
8276
8277    <li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to
8278    xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate
8279    (report by Alain Filbois &lt;Alain.Filbois@loria.fr&gt;).</li>
8280
8281    <li>correct a few errors in xterm.man: font in filename example
8282    for Tektronix emulation, and description of -nul/+nul
8283    command-line options (report by Eric Fischer
8284    &lt;enf@pobox.com&gt;).</li>
8285
8286    <li>update config.guess and config.sub, from tin and lynx.</li>
8287  </ul>
8288
8289  <h1><a name="xterm_139" id="xterm_139">Patch #139 - 2000/6/17 -
8290  XFree86 4.0d</a></h1>
8291
8292  <ul>
8293    <li>back out change to <code>-name</code> command-line option,
8294    restoring its original behavior (as noted by David Madore, the
8295    correct interpretation of this option is the application
8296    instance rather than the application class).</li>
8297  </ul>
8298
8299  <h1><a name="xterm_138" id="xterm_138">Patch #138 - 2000/6/15 -
8300  XFree86 4.0c</a></h1>
8301
8302  <ul>
8303    <li>workaround for fixed fonts which are generated from Unicode
8304    fonts: they omit glyphs for some xterm's less-used line-drawing
8305    characters, which caused xterm to set a flag telling it to use
8306    only its internal line-drawing characters. Do not set the flag
8307    (it can be set from the popup menu), and xterm will generate
8308    only the line-drawing glyphs which actually are missing.<br>
8309    Otherwise, when used for large fonts, xterm may generate a
8310    2-pixel wide line, which can leave dots on the screen.</li>
8311
8312    <li>restore first line of 256colres.pl, omitted in 4.0c
8313    diffs.</li>
8314  </ul>
8315
8316  <h1><a name="xterm_137" id="xterm_137">Patch #137 - 2000/6/10 -
8317  XFree86 4.0b</a></h1>
8318
8319  <ul>
8320    <li>make command-line <code>-name</code> option work as
8321    documented. Apparently this was lost in X11R5 when coding to
8322    use <code>XtAppInitialize</code>.</li>
8323
8324    <li>limit numeric parameters of control sequences to 65535 to
8325    simplify checks for numeric overflow.</li>
8326
8327    <li>change index into UDK list to unsigned to guard against
8328    numeric overflow making the index negative (Taneli Huuskonen
8329    &lt;huuskone@cc.helsinki.fi&gt;).</li>
8330
8331    <li>change <code>sun&nbsp;function-keys</code> resource name to
8332    <code>sunFunctionKeys</code> to work around redefinition of the
8333    token <code>sun</code> by xrdb on Solaris. Similarly, renamed
8334    resource <code>sun&nbsp;keyboard</code> to
8335    <code>sunKeyboard</code> (Steve Wall).</li>
8336
8337    <li>change similar resource names for HP and SCO to avoid
8338    potential conflict with xrdb symbols on other systems, as well
8339    as for consistency.</li>
8340
8341    <li>reorganized the install targets in the autoconf'd Makefile,
8342    adding install-app, install-bin, install-dirs and install-man.
8343    The app-defaults class can be overridden by setting the make
8344    variable 'CLASS', simplifying customization of xterm as a
8345    Unicode terminal, e.g., CLASS=UXTerm.</li>
8346
8347    <li>add limit checks to <code>ClearInLine()</code>,
8348    <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to
8349    correct potential out-of-bounds indexing (prompted by Debian
8350    bug report #64713, which reported a problem with ICH escape
8351    sequences).</li>
8352
8353    <li>updates to config.sub and config.guess Kevin Buettner
8354    &lt;kev@primenet.com&gt; for elf64_ia64 Bernd Kuemmerlen
8355    &lt;bkuemmer@mevis.de&gt; and MacOS X.</li>
8356
8357    <li>for os390, add check for errno set to ENODEV on failure to
8358    open /dev/tty when there is no controlling terminal (patch by
8359    Paul Gilmartin).</li>
8360
8361    <li>fixes for building on Digital Unix 4.0 and AIX 4.2 (patch
8362    from H Merijn Brand &lt;h.m.brand@hccnet.nl&gt;).</li>
8363
8364    <li>modify DECRQSS reply for DECSCL to additionally report if
8365    the terminal is set for 8-bit controls.</li>
8366  </ul>
8367
8368  <h1><a name="xterm_136" id="xterm_136">Patch #136 - 2000/6/3 -
8369  XFree86 4.0b</a></h1>
8370
8371  <ul>
8372    <li>add a resource (<code>limitResize</code>) limiting resizing
8373    via the CSI 4 t and CSI 8 t sequences.</li>
8374
8375    <li>ignore out-of-bounds resize requests, i.e., where
8376    sign-extension or truncation of the parameters would
8377    occur.</li>
8378  </ul>
8379
8380  <h1><a name="xterm_135" id="xterm_135">Patch #135 - 2000/5/29 -
8381  XFree86 4.0b</a></h1>
8382
8383  <ul>
8384    <li>remove code introduced in #134 which made some backgrounds
8385    bold.</li>
8386
8387    <li>minor correction to format of updated $TERMCAP when adding
8388    <code>kb</code> capability for <code>ptyInitialErase</code>
8389    logic.</li>
8390
8391    <li>improved test for SVR4 definition.</li>
8392  </ul>
8393
8394  <h1><a name="xterm_134" id="xterm_134">Patch #134 - 2000/5/28 -
8395  XFree86 4.0b</a></h1>
8396
8397  <ul>
8398    <li>update URL's and mailing addresses, moved to
8399    http://dickey.his.com and dickey@herndon4.his.com</li>
8400
8401    <li>correct missing quotes in CF_TTY_GROUP configure script
8402    macro in case the script is run in batch mode.</li>
8403
8404    <li>modify ownership-check of log file to ignore the group
8405    ownership. Otherwise xterm cannot create logfiles in
8406    directories with set-gid permissions.</li>
8407
8408    <li>simplify the logic that reads termcap data.</li>
8409
8410    <li>add fallback definition for B9600 in case line speed
8411    definition for 38400 is missing (report by Jack J Woehr
8412    &lt;jwoehr@ibm.net&gt;, for OpenBSD 2.6).</li>
8413
8414    <li>fix: Set highlightColor, and select a region containing the
8415    text cursor. If the window loses focus, the cursor becomes
8416    hollow, with the region inside the cursor being
8417    background/foreground, unlike the rest of the selection, which
8418    is foreground/highlight (patch by Ross Paterson
8419    &lt;ross@soi.city.ac.uk&gt;).</li>
8420
8421    <li>add configure script tests to define SVR4, SYSV and
8422    USE_POSIX_WAIT, which enables xterm to compile on Solaris 7 and
8423    SCO Openserver without imake, though there are still a few
8424    features for the latter which require <code>sco</code> to be
8425    predefined.</li>
8426
8427    <li>patches from Steve Wall:
8428
8429      <ul>
8430        <li>add support for two Sun-specific function keys. These
8431        keys are labeled F11 and F12 on Sun Type 5 keyboards, but
8432        return SunXK_F36 and SunXK_F37. Support will only be
8433        compiled in if the header file &lt;X11/Sunkeysym.h&gt;
8434        exists and contains the appropriate symbol definitions. The
8435        keycodes for the DEC keycodes were arbitrary unused codes,
8436        but the ones for the Sun keycodes are what cmdtool and
8437        shelltool actually send.</li>
8438
8439        <li>add <code>colorRV</code> and <code>colorRVMode</code>
8440        resources to allow specifying a color to use for reverse
8441        video, similar to the existing UL, BD, and BL modes.</li>
8442
8443        <li>add <code>alwaysUseMods</code> resource, to override
8444        check if <code>alt</code> or <code>meta</code> modifiers
8445        are used in <code>translations</code> resource. Revamped
8446        the code to calculate the modifier value, and included Meta
8447        if alwaysUseMods is TRUE, using values 9-16.</li>
8448      </ul>
8449    </li>
8450
8451    <li>fixes for os390 (Paul Gilmartin):
8452
8453      <ul>
8454        <li>regularize the definition of CONTROL() and remove an
8455        acknowledged "trial and error" table.</li>
8456
8457        <li>translate "^?" into A2E(0177) which is the EBCDIC "DEL"
8458        rather than plain 0177 which is the EBCDIC quotation
8459        mark.</li>
8460
8461        <li>modify <code>xtermMissingChar()</code> so that EBCDIC
8462        codes 128-159 are not rendered as blanks by X server
8463        running on Solaris, which sees those as control
8464        characters.</li>
8465
8466        <li>make debugging traces (configure --enable-trace) work
8467        properly with EBCDIC.</li>
8468      </ul>
8469    </li>
8470  </ul>
8471
8472  <h1><a name="xterm_133" id="xterm_133">Patch #133 - 2000/5/2 -
8473  XFree86 4.0a</a></h1>
8474
8475  <ul>
8476    <li>add substitutions in autoconf'd Makefile for CPPFLAGS,
8477    LDFLAGS and AWK (reported by Neil Bird).</li>
8478
8479    <li>correct uninitialized <code>childstat</code> variable from
8480    patch #131 in <code>creat_as()</code> function, which caused
8481    logging to not work on Solaris, whose <code>waitpid()</code>
8482    function does not initialize its parameter. Add check for EINTR
8483    on return from <code>waitpid()</code> as well (reported by Neil
8484    Bird &lt;neil.bird@rdel.co.uk&gt;).</li>
8485
8486    <li>remove a redundant check for working <code>setuid()</code>
8487    function introduced in patch #132. Greg Smith reports that this
8488    does not work as intended on os390.</li>
8489
8490    <li>change line speed from 9600bd to 38400bd, to accommodate
8491    people who mistakenly use $TERM set to <em>vt100</em>, to
8492    reduce the effect of padding associated with this terminal
8493    type.</li>
8494
8495    <li>add configure script check for IRIX 6.5's redefinition of
8496    baud rates associated with <code>struct termio</code>, to
8497    correct a situation where the baud rate was initialized to zero
8498    (reported by Andrew Isaacson &lt;adi@lcse.umn.edu&gt;).</li>
8499
8500    <li>remove unused configure script check for VDISABLE.</li>
8501  </ul>
8502
8503  <h1><a name="xterm_132" id="xterm_132">Patch #132 - 2000/4/11 -
8504  XFree86 4.0a</a></h1>
8505
8506  <ul>
8507    <li>undo an incorrect change from patch #113 caused the right
8508    scrollbar to be positioned incorrectly when re-enabling it
8509    (analysis by D Roland Walker).</li>
8510
8511    <li>add ctrlFKeys resource, replacing constant for adjusting
8512    control-F1 to control-F12 to VT220-style F10-F20. The resource
8513    changes the constant 12 to a default value of 10 (request by
8514    Jim Knoble &lt;jmknoble@pobox.com&gt;).</li>
8515
8516    <li>correct ifdef'ing for conflict between definitions in AIX's
8517    &lt;sys/select.h&gt; and &lt;X11/Xpoll.h&gt; (reported by Clint
8518    Olsen).</li>
8519
8520    <li>add checks for return-values of getutid(), initgroups() and
8521    setuid() in main.c, as well as modifying ifdef's for __osf__ to
8522    include tty-group and WTMP logic (adapted from patch by Paul
8523    Szabo &lt;psz@maths.usyd.edu.au&gt;)</li>
8524
8525    <li>modify resize.c to build and work on os390 (uses EBCDIC)
8526    (adapted from patch by Phil Sidler
8527    &lt;Phil.Sidler@airborne.com&gt;)</li>
8528
8529    <li>use Ires(), Bres() and Sres() macros to simplify resource
8530    list in charproc.c</li>
8531
8532    <li>resync with XFree86 4.0a:
8533
8534      <ul>
8535        <li>correct a typo in os2main.c (Holger Veit, from
8536        4.0a).</li>
8537      </ul>
8538    </li>
8539  </ul>
8540
8541  <h1><a name="xterm_131" id="xterm_131">Patch #131 - 2000/3/3 -
8542  XFree86 3.9.18b</a></h1>
8543
8544  <ul>
8545    <li>improve logfile security (integrated patch by Branden
8546    Robinson)
8547
8548      <ul>
8549        <li>make the <code>creat_as()</code> function more strict
8550        by using O_EXCL rather than O_APPEND.</li>
8551
8552        <li>fixes to make DEBUG ifdef's compile/run, including
8553        making the debug logfile more unique by appending a
8554        timestamp to its name.</li>
8555
8556        <li>include &lt;term.h&gt; in resize.c, to fix a
8557        missing-prototype warning.</li>
8558      </ul>
8559    </li>
8560
8561    <li>modified <code>creat_as()</code> a little more, retaining
8562    the ability to append to a logfile If the user specifies the
8563    name. Also, check if the opened file (which patch #130 ensures
8564    is owned by the effective user) is not writable by other
8565    users.</li>
8566
8567    <li>use <code>creat_as()</code> logic to make tek4014
8568    screen-copy more secure (noted by Branden Robinson).</li>
8569
8570    <li>ifdef'd some of Branden's changes to build/work on older
8571    machines.</li>
8572
8573    <li>correct missing initialization of the <code>.mode</code>
8574    flag in <code>ColorRes</code> struct, from patch #129. This
8575    worked on Linux because <code>malloc()</code> zeroes memory on
8576    that platform (reported by Christian Weisgerber).</li>
8577
8578    <li>modify logic for <code>deleteIsDEL</code> resource so it
8579    has internally 3 states: unspecified, true and false. If
8580    unspecified, the keyboard type determines whether the Delete
8581    key transmits <code>&lt;ESC&gt;[3~</code> or <code>\177</code>,
8582    and the popup menu entry reflects the internal state.
8583    Otherwise, the popup menu entry overrides the keyboard type
8584    (suggested by Dr Werner Fink, to make it simpler to set
8585    resources that imitate the legacy X11R6 xterm).</li>
8586  </ul>
8587
8588  <h1><a name="xterm_130" id="xterm_130">Patch #130 - 2000/3/1 -
8589  XFree86 3.9.18a</a></h1>
8590
8591  <ul>
8592    <li>modify <code>scroll-forw()</code> and
8593    <code>scroll-back()</code> actions, adding a third parameter
8594    which will direct xterm to ignore the action when mouse
8595    reporting is enabled. This is needed for the wheel mouse to be
8596    used to report to the application rather than scroll the
8597    window.</li>
8598
8599    <li>add menu entry and action to allow disabling xterm's
8600    assumption that the current font contains line-drawing
8601    characters if the font cells 1-31 are nonempty. Some fonts may
8602    have other characters (reported by Bruno Betro
8603    &lt;bruno@iami.mi.cnr.it&gt;).</li>
8604
8605    <li>add a check in <code>creat_as()</code> to ensure that the
8606    user really owns the logfile that has been opened.</li>
8607
8608    <li>add logic to implement SCO function-keys. (This is really
8609    incomplete, since I intend to revisit this and make xterm able
8610    to emulate scoansi better than just the function-keys).</li>
8611
8612    <li>add configure script option --enable-sco-fkeys, minor
8613    related fixes (patch by Dr Werner Fink).</li>
8614
8615    <li>fix typos in ctlseqs.ms (reported by Bram Moolenaar)</li>
8616
8617    <li>fix typo in sinstall.sh default for $TST_PROG (reported by
8618    Paul Gilmartin &lt;pg@sweng.stortek.com&gt;)</li>
8619  </ul>
8620
8621  <h1><a name="xterm_129" id="xterm_129">Patch #129 - 2000/2/26 -
8622  XFree86 3.9.18a</a></h1>
8623
8624  <ul>
8625    <li>improve initialization of ANSI colors by delaying
8626    allocation until each color is first used.</li>
8627
8628    <li>remove ifdef that prevented colorBD/colorUL/colorBL
8629    resources from working when 256-color configuration was built
8630    (reported by Todd Larason).</li>
8631
8632    <li>fix some minor inconsistencies in terminfo (Debian
8633    #58530).</li>
8634  </ul>
8635
8636  <h1><a name="xterm_128" id="xterm_128">Patch #128 - 2000/2/17 -
8637  XFree86 3.9.18</a></h1>
8638
8639  <ul>
8640    <li>correct logic for <code>oldXtermFKeys</code> resource,
8641    fixes a core dump when attempting to set it from the
8642    command-line (reported by Dr Werner Fink).</li>
8643
8644    <li>correct ifdef for meta-sends-escap so configure
8645    --disable-num-lock builds.</li>
8646  </ul>
8647
8648  <h1><a name="xterm_127" id="xterm_127">Patch #127 - 2000/2/12 -
8649  XFree86 3.9.17e</a></h1>
8650
8651  <ul>
8652    <li>add resource, popup menu entry and control sequence to
8653    allow changing the Delete key to send either DEL or the
8654    VT220-style Remove escape sequence.</li>
8655
8656    <li>remove logic for metaSendsEscape that would allow xterm to
8657    send <code>&lt;ESC&gt;[3~</code> before a function key that
8658    would begin with <code>&lt;ESC&gt;[3~</code> (request by
8659    Christian Weisgerber).</li>
8660
8661    <li>add missing action and documentation for
8662    meta-sends-escape.</li>
8663
8664    <li>correct a few typos in ctlseqs.ms (incorrect code for Cyan
8665    color)</li>
8666  </ul>
8667
8668  <h1><a name="xterm_126" id="xterm_126">Patch #126 - 2000/2/8 -
8669  XFree86 3.9.17c</a></h1>
8670
8671  <ul>
8672    <li>ensure that xterm will automatically activate the UTF-8
8673    mode whenever the name of the locale environment variable
8674    suggests that a UTF-8 locale is in use (patch by Markus Kuhn).
8675    This will help that by simply setting LC_CTYPE an entire system
8676    can be switched over to UTF-8, without users having to remember
8677    the UTF-8 command line options ("-u8", etc.) of the various
8678    applications. Command line options and X resource entries can
8679    still be used to override this default choice.</li>
8680
8681    <li>add old function-keys control sequences and popup menu
8682    entry, for compatibility with legacy X11R6 xterm.</li>
8683
8684    <li>revert translation of editing keypad "Delete" key to legacy
8685    \177.</li>
8686
8687    <li>simplify the color-resource data expressions with macro
8688    COLOR_RES, for later use in restructuring color
8689    initialization.</li>
8690
8691    <li>change encoding of wheel mouse (buttons 4 and 5) to avoid
8692    conflict with legacy mouse modifiers (suggested by Bram
8693    Moolenaar).</li>
8694  </ul>
8695
8696  <h1><a name="xterm_125" id="xterm_125">Patch #125 - 2000/1/31 -
8697  XFree86 3.9.17c</a></h1>
8698
8699  <ul>
8700    <li>make this work on OpenVMS (integrated patch by David
8701    Mathog).</li>
8702
8703    <li>rename some functions, e.g., <code>Index</code> to
8704    <code>xtermIndex</code> so that ports such as VMS which link
8705    externals ignoring case will not have library conflicts
8706    (reported by David Mathog).</li>
8707
8708    <li>correct logic of <code>do_reversevideo()</code>, which did
8709    not update the corresponding popup menu check mark (reported by
8710    David Mathog, this was a detail overlooked in patch #94).</li>
8711
8712    <li>change TRACE macro so semicolon is not within definition,
8713    making <em>indent</em> and similar programs work better.</li>
8714
8715    <li>add <code>depend</code> rule to Makefile.in</li>
8716
8717    <li>modify logic of boldColors resource to suppress it if an
8718    extended color control has been used, e.g., for 88-color or
8719    256-color mode (patch by Todd Larason).</li>
8720
8721    <li>revise logic that handles menus and input translation for
8722    keyboard type so only one can be selected at a time.</li>
8723
8724    <li>restore kdch1=\177 for the Sun function-key type, and make
8725    the the Delete key send DEL (\177) if the oldXtermFKeys
8726    resource is set.</li>
8727
8728    <li>rephrase logic and ifdef's for POSIX VDISABLE to avoid
8729    preprocessor expression that will not compile on NetBSD/x86
8730    1.4.1 (reported by Takaaki Nomura
8731    &lt;amadeus@yk.rim.or.jp&gt;).</li>
8732  </ul>
8733
8734  <h1><a name="xterm_124" id="xterm_124">Patch #124 - 2000/1/27 -
8735  XFree86 3.9.17b</a></h1>
8736
8737  <ul>
8738    <li>change coding of editing keypad's "Delete" key to
8739    &lt;escape&gt;[3~, in the default (Sun/PC) keyboard mode. This
8740    makes the terminfo kdch1 capability independent of the coding
8741    of the backarrow key, which sends either backspace (8) or DEL
8742    (127). The reason for doing this (compatibility with the
8743    <em>screen</em> program) outweighs the choice of DEL (127)
8744    which was used in X11R5/X11R6 xterms. The <em>screen</em>
8745    program translates whatever matches kdch1 into
8746    &lt;escape&gt;[3~, even if it happens to be the stty erase
8747    character.</li>
8748
8749    <li>add encoding for control/?, to work around xmodmap or key
8750    translations which may confuse backspace and delete. A
8751    control/? will send DEL (127), and a control/H will of course
8752    send backspace (8).</li>
8753
8754    <li>add encoding for kcbt to &lt;escape&gt;[Z (fixes Debian
8755    #54840).</li>
8756
8757    <li>minor correction to logic that encodes Sun and DEC function
8758    keys to avoid sending an escape sequence if the key symbol is
8759    not found in xterm's lookup table.</li>
8760
8761    <li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-"
8762    pattern is more likely to be implemented when <em>imake</em>
8763    configures xterm (fixes Debian #55105).</li>
8764
8765    <li>change manpage to make it clearer what codes are sent by
8766    the backarrow key.</li>
8767  </ul>
8768
8769  <h1><a name="xterm_123" id="xterm_123">Patch #123 - 2000/1/22 -
8770  XFree86 3.9.17a</a></h1>
8771
8772  <ul>
8773    <li>add a note reserving OSC 51 for use in Emacs shell (request
8774    by Rob Mayoff &lt;mayoff@dqd.com&gt;).</li>
8775
8776    <li>correct a missing backslash in xterm-vt220 termcap.</li>
8777
8778    <li>cleanup remaining quoted includes, preferring bracketed
8779    form.</li>
8780
8781    <li>minor configure-script macro updates from tin and
8782    vile.</li>
8783
8784    <li>add configure-script option for using utempter library,
8785    adapted from Redhat 6.1 patch for XFree86 3.3.5</li>
8786
8787    <li>resync with XFree86 3.9.17a:
8788
8789      <ul>
8790        <li>correction to QNX support (Frank Guangxin Liu)</li>
8791
8792        <li>some cosmetic changes that did not correct any reported
8793        problems.</li>
8794      </ul>
8795    </li>
8796  </ul>
8797
8798  <h1><a name="xterm_122" id="xterm_122">Patch #122 - 1999/12/28 -
8799  XFree86 3.9.16f</a></h1>
8800
8801  <ul>
8802    <li>move the suggested wheel-mouse button translations into
8803    charproc.c to simplify customization. Correct some minor logic
8804    errors in the support for buttons 4 and 5, used for wheel mice
8805    (reported by Bram Moolenaar).</li>
8806
8807    <li>implement <em>metaSendsEscape</em> resource, with
8808    corresponding control sequence and menu entry. Like
8809    <em>eightBitInput</em>, this causes xterm to send ESC prefixing
8810    the given key, but applies to all keys and is independent of
8811    the 8-bit/7-bit terminal setting. (requests by Alexander V
8812    Lukyanov and Marc Feeley).</li>
8813
8814    <li>correct potential indexing with negative subscript in
8815    udk_lookup(), (reported by Ian Collier
8816    &lt;Ian.Collier@comlab.ox.ac.uk&gt;).</li>
8817
8818    <li>modify configure script that sets TERMINFO_DIR to use
8819    ${prefix} rather than /usr if the --prefix option was specified
8820    (request by Zdenek Sekera &lt;zs@sgi.com&gt;).</li>
8821
8822    <li>modify checks for repeat-character control sequence to test
8823    the character class against xterm's state table, rather than
8824    the isprint() macro (patch by Alexander V Lukyanov).</li>
8825
8826    <li>change several functions to macros to improve speed</li>
8827
8828    <li>two corrections to simulation of bold font via
8829    overstriking:
8830
8831      <ul>
8832        <li>use clipping to avoid leaving trash at end of the text,
8833        and</li>
8834
8835        <li>add brackets so wide-character logic does not
8836        fall-through into the overstriking logic (reported by Marc
8837        Feeley &lt;feeley@IRO.UMontreal.CA&gt;)</li>
8838      </ul>
8839    </li>
8840
8841    <li>add several entries to termcap file to make it have the
8842    same set of aliases as the terminfo file.</li>
8843
8844    <li>scale the color values used for xterm-256color terminfo
8845    entry to 0..1000, as expected by ncurses.</li>
8846
8847    <li>change xterm-r6 terminfo definitions for F1-F4 to match
8848    program.</li>
8849
8850    <li>Add QNX/Neutrino support (Frank Guangxin Liu
8851    &lt;frank@ctcqnx4.ctc.cummins.com&gt;)</li>
8852  </ul>
8853
8854  <h1><a name="xterm_121" id="xterm_121">Patch #121 - 1999/11/14 -
8855  XFree86 3.9.16c</a></h1>
8856
8857  <ul>
8858    <li>change label on "Sun/PC Keyboard" popup menu entry to
8859    "VT220 Keyboard", since the checked state corresponds to VT220
8860    rather than Sun/PC.</li>
8861
8862    <li>add configure test CF_UTMP_UT_XSTATUS to handle the
8863    variants of utmp exit status (reports by Dave Ellement, Jeremie
8864    Petit, Tomas Vanhala).</li>
8865
8866    <li>amend treatment of ALT key (see <a href="#xterm_94">patch
8867    #94</a>) so that if ALT is used as a modifier in key
8868    translations, then no parameter will be sent in escape
8869    sequences for Sun/PC function keys (request by Dr Werner
8870    Fink).</li>
8871
8872    <li>modify default for OPT_I18N_SUPPORT to assume that
8873    <code>XtSetLanguageProc()</code> is available in X11R5.
8874
8875      <p>Caveat: <code>XtSetLanguageProc()</code> was added fairly
8876      late in the X11R5 patches, and some vendors shipped buggy
8877      versions of this function (request by Tomas Vanhala).</p>
8878    </li>
8879
8880    <li>correct configure macro CF_SYSV_UTMP to test-link with
8881    functions consistent with the header, e.g., getutent() for
8882    utmp.h and getutxent() for utmpx.h (reported by Greg
8883    Smith).</li>
8884
8885    <li>modify terminfo entry for <code>xterm-xfree86</code> to
8886    reflect modifiers for shift and control (from a patch by
8887    Alexander V Lukyanov).</li>
8888
8889    <li>modify terminfo entry for <code>xterm-sun</code> to match
8890    the function-key definitions in ncurses. The pageup/pagedown
8891    and related function keys correspond to the Sun keyboard, which
8892    does not necessarily correspond with X's notion of those
8893    keys.</li>
8894
8895    <li>modify treatment of XK_Delete keysym so it transmits
8896    parameterized VT220-style <code>&lt;ESC&gt;[3~</code> if
8897    modifiers (shift, control alt) are given (request by Alexander
8898    V Lukyanov).</li>
8899
8900    <li>corrected misspelled resource name in command-line option
8901    for HP function keys.</li>
8902  </ul>
8903
8904  <h1><a name="xterm_120" id="xterm_120">Patch #120 - 1999/10/28 -
8905  XFree86 3.9.16c</a></h1>
8906
8907  <ul>
8908    <li>refine the change to <code>SGR_Background()</code> in patch
8909    #119, by not flushing the pending scrolling operation if the
8910    background color is not actually changing. This combination
8911    occurs when using color-ls to display a long listing, since
8912    each line ends with an SGR0 which affects only the foreground
8913    color. The unnecessary flushing made it noticeably slower
8914    (reported by D Roland Walker &lt;walker@pobox.com&gt;).</li>
8915
8916    <li>remove obsolete documentation about modifiers which can be
8917    returned in mouse tracking mode, and modify logic to ignore
8918    modifiers other than the existing ones, e.g., NumLock (prompted
8919    by discussions with Christian Weisgerber and Brad Pepers
8920    &lt;brad@linuxcanada.com&gt;).</li>
8921
8922    <li>use free bit from obsolete shift-modifier coding of mouse
8923    tracking button events to encode buttons 4 and 5, e.g., for a
8924    wheel mouse (requests by Brad Pepers and Bram Moolenaar).</li>
8925
8926    <li>correct a place where the ptyInitialErase logic did not set
8927    the backarrowKey state, and modify it further to use tgetstr()
8928    rather than parse the termcap data returned from tgetent() so
8929    the ptyInitialErase logic will work when xterm is linked with a
8930    terminfo library (based on a patch by Dr Werner Fink
8931    &lt;werner@suse.de&gt;).</li>
8932
8933    <li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration
8934    (patch by Michael Rohleder).</li>
8935
8936    <li>improve configure script's utmp tests (based on reports by
8937    Greg Smith for os390, and David Ellement for HPUX).</li>
8938
8939    <li>modify sinstall.sh to use uid=0 rather than 'root' to
8940    determine if the installer is privileged. This is needed on
8941    some systems since more than one account may be privileged
8942    (report by Greg Smith).</li>
8943
8944    <li>add an application resource, <code>messages</code> (and a
8945    corresponding -/+mesg option) which controls the initial
8946    permission on the terminal: if messages is set to true (the
8947    default), behavior is as without the patch; if it is set to
8948    false (as per -mesg), the terminal is opened in mode 0600, thus
8949    producing the effect of the <code>mesg n</code> command. This
8950    is useful for users who want to redirect all their messages to
8951    one particular xterm: it is more pleasant to do this with xterm
8952    resources than with explicit calls to the <code>mesg</code>
8953    program (patch, description by David Madore
8954    &lt;david.madore@ens.fr&gt;).</li>
8955  </ul>
8956
8957  <h1><a name="xterm_119" id="xterm_119">Patch #119 - 1999/10/16 -
8958  XFree86 3.9.16c</a></h1>
8959
8960  <ul>
8961    <li>add responses (DA and DSR) for DEC locator mode</li>
8962
8963    <li>add coding for ANSI color to DA response</li>
8964
8965    <li>implement UTF-8 translation for Media Copy (print)
8966    operations.</li>
8967
8968    <li>implement vt320 control sequences for Print Composed Main
8969    Display and for Print All Pages. The latter directs xterm to
8970    print the current screen as well as the scrollback buffer.</li>
8971
8972    <li>correct error in _GNU_SOURCE configure test, which left it
8973    always defined.</li>
8974
8975    <li>add more information, i.e., with strerror for some system
8976    calls in the main program which may fail due to insufficient
8977    permissions (prompted by a problem report for <code>-C</code>
8978    by Jeremie Petit &lt;Jeremie.Petit@digital.com&gt;).</li>
8979
8980    <li>add workaround for conflict between &lt;X11/Xpoll.h&gt; and
8981    &lt;sys/select.h&gt; on AIX 4.3 (Richard Griswold
8982    &lt;griswold@acm.org&gt;).</li>
8983
8984    <li>add configure script test to resolve conflict between
8985    between &lt;X11/Xpoll.h&gt; and &lt;sys/select.h&gt;</li>
8986
8987    <li>modify translation of UTF-8 sequences to reject "overly
8988    long" variations (patch by Markus Kuhn).</li>
8989
8990    <li>remove <code>utf8controls</code> resource, since Markus'
8991    change removes the corresponding logic.</li>
8992
8993    <li>correct a case where colors were not rendered properly.
8994    This happened when an application inserted several lines, then
8995    changed colors. If this was done all in one write, then there
8996    would be no intervening refresh, and the new color was applied
8997    to the pending scrolling operation which was awaiting the next
8998    refresh (reported by Stephane Chazelas
8999    &lt;Stephane_Chazelas@Raytheon.com&gt;).</li>
9000  </ul>
9001
9002  <h1><a name="xterm_118" id="xterm_118">Patch #118 - 1999/10/5 -
9003  XFree86 3.9.16b</a></h1>
9004
9005  <ul>
9006    <li>refine configure test for utmp versus utmpx, to build on
9007    HP-UX 10.x (reported by David Ellement).</li>
9008
9009    <li>move the configure check for <code>const</code> after the
9010    check for ANSI C compiler options, since those may be required
9011    to make it work properly on HP-UX.</li>
9012
9013    <li>add configure test for defining
9014    <code>_GNU_SOURCE</code></li>
9015
9016    <li>correction to <em>-hold</em> option, ensure that if data is
9017    already in the output buffer that it will be displayed before
9018    closing the PTY.</li>
9019
9020    <li>move the configure checks for setuid install of xterm into
9021    a script to avoid installing it setuid'd to a non-root user
9022    (reported by Adam Sulmicki &lt;adam@cfar.umd.edu&gt;).</li>
9023
9024    <li>correct configure script's check for termcap.h to avoid
9025    using ncurses' version of it on systems that have a working
9026    <code>tgetent()</code> function. This is needed to make
9027    <code>resize</code> work properly.</li>
9028
9029    <li>fix some typography in ctlseqs.ms description of DEC
9030    locator events (reported by Steve Wall).</li>
9031  </ul>
9032
9033  <h1><a name="xterm_117" id="xterm_117">Patch #117 - 1999/9/29 -
9034  XFree86 3.9.16b</a></h1>
9035
9036  <ul>
9037    <li>change order of tests in configure script for utmp and
9038    utmpx to test utmpx first, to compile on Solaris (reported by
9039    Leena Heino &lt;liinu@uta.fi&gt; and Patrik Hagglund
9040    &lt;patha@ida.liu.se&gt;).</li>
9041
9042    <li>add a configure test for utmp.ut_xtime, needed for SCO
9043    Openserver, and for lastlog, needed for Redhat 6.0, to refine
9044    the utmp/utmpx auto-configure.</li>
9045
9046    <li>remove a spurious comma in an #undef (reported by David
9047    Green &lt;greendjf@cvhp152.marconicomms.com&gt; and David
9048    Ellement &lt;ellement@sdd.hp.com&gt; both on HP-UX, whose
9049    compiler does care about syntax).</li>
9050
9051    <li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported
9052    by Suhaib M. Siddiqi &lt;Ssiddiqi@InspirePharm.Com&gt;, who is
9053    told that the next Cygnus release will drop that symbol in
9054    their next release).</li>
9055
9056    <li>minor cleanup of ifdef's for makeColorPair (patch by Steve
9057    Wall).</li>
9058
9059    <li>work around problem observed in XFree86 3.3.5 (patch by
9060    Alexander V Lukyanov, Redhat #5419). From the problem report:
9061
9062      <blockquote>
9063        <p>xterm consumes cpu when selecting text with mouse
9064        (holding down left mouse button) and when a program working
9065        under the xterm outputs something to stdout.</p>
9066
9067        <p>Easy way to reproduce:<br>
9068        <code>while :; do echo aaa; sleep 1; done</code><br>
9069        (while this runs, select text and hold down left mouse
9070        button) watch cpu load.<br>
9071        release left mouse button - spinning stops.</p>
9072      </blockquote>
9073    </li>
9074  </ul>
9075
9076  <h1><a name="xterm_116" id="xterm_116">Patch #116 - 1999/9/25 -
9077  XFree86 3.9.16a</a></h1>
9078
9079  <ul>
9080    <li>modify warning if change-ownership of PTY fails; some
9081    configurations may not happen to have old-style pty's (reported
9082    by Bob Maynard).</li>
9083
9084    <li>improve check in configure script for group ownership of
9085    installed xterm; some platforms use the -g option of ls to
9086    toggle group off rather than on (reported by Greg Smith).</li>
9087
9088    <li>minor improvement to toolbar geometry, to make it not
9089    resizable. This still is not satisfactory (but is usable) since
9090    the toolbar overlaps the xterm widget if the window is resized
9091    to make it smaller. It appears that some work is needed for the
9092    xterm widget's geometry management to make it function
9093    properly.</li>
9094
9095    <li>implement configure script tests for utmp, tty group.</li>
9096
9097    <li>implement <em>-hold</em> option, allowing users to retain
9098    the window after a shell has exited (this is recently an FAQ,
9099    but prompted by a comment by Joachim Plaettner-Hochwarth
9100    &lt;plaettner@aem.umn.edu&gt; in comp.unix.programmer, that the
9101    IRIX winterm provides this option).</li>
9102
9103    <li>add support for DEC Locator control sequences for xterm
9104    (integrated patch by Steve Wall):
9105      <pre>
9106                DECEFR, "Enable Filter Rectangle"
9107                DECELR, "Enable Locator Reports"
9108                DECSLE, "Select Locator Events"
9109                DECRQLP, "Request Locator Position"
9110</pre>
9111
9112      <p>This allows the xterm mouse to be used with applications
9113      that use the DEC Locator sequences, such as VAX Tpu, or SMG$
9114      based applications.</p>
9115    </li>
9116
9117    <li>improve print action (patch by Matthias Baake). From his
9118    notes,
9119
9120      <ul>
9121        <li>Bug 1<br>
9122        Underlined text is preceded by ESC&nbsp;[0;2m . This should
9123        be ESC&nbsp;[0;4m&nbsp;, ESC&nbsp;[2m doesn't seem to have
9124        any effect. (print.c/send_SGR)</li>
9125
9126        <li>Bug 2<br>
9127        The check for the last non-empty column (while (last &gt;
9128        0) ... in print.c/printLine) omits the rightmost column of
9129        the screen, the loop must start with last =
9130        screen-&gt;max_col+1 instead of last =
9131        screen-&gt;max_col.</li>
9132
9133        <li>Bug 3<br>
9134        Any attributes of the first character (and of all
9135        immediately following characters with the same attributes)
9136        are ignored. The variable attr (print.c/printLine) should
9137        be initialized with 0, not with *a &amp; SGR_MASK.</li>
9138      </ul>
9139    </li>
9140  </ul>
9141
9142  <h1><a name="xterm_115" id="xterm_115">Patch #115 - 1999/9/18 -
9143  XFree86 3.9.16a</a></h1>
9144
9145  <ul>
9146    <li>integrated changes by Steve Wall to implement an 88-color
9147    model for systems where 256-colors cannot be allocated.</li>
9148
9149    <li>when 256-color configuration is compiled, colored bold and
9150    underlining is not available; ifdef'd to avoid possible odd
9151    effects in this case (reported by Steve Wall).</li>
9152
9153    <li>add resource <em>cacheDoublesize</em>, to limit the caching
9154    of font information for double-sized characters. This addresses
9155    a problem reported by Aryeh Koenigsberg for X terminals with
9156    limited font memory.</li>
9157
9158    <li>modify treatment of line-drawing characters in UTF-8 mode
9159    so that the Unicode values are used rather than the C0 codes
9160    for storing the translated characters (request by Markus
9161    Kuhn).</li>
9162  </ul>
9163
9164  <h1><a name="xterm_114" id="xterm_114">Patch #114 - 1999/9/15 -
9165  XFree86 3.9.16</a></h1>
9166
9167  <ul>
9168    <li>add configure script checks for Athena headers and
9169    libraries under /usr/contrib to work on HPUX (reported by
9170    several people: David Nixon &lt;djn@csc.liv.ac.uk&gt; Aryeh
9171    Koenigsberg &lt;aryeh.koenigsberg@telrad.co.il&gt; Johannes
9172    M&auml;hner &lt;johanm@camline.com&gt; Andrew Gaylard
9173    &lt;andrew.gaylard@bsw.co.za&gt;).</li>
9174
9175    <li>add check to configure script if xterm is installed setgid
9176    rather than setuid, since wtmp and utmp may be installed with
9177    group-writable permissions other than root (based on Debian bug
9178    report #7112 by Bo Branten &lt;bosse@ing.umu.se&gt;).</li>
9179
9180    <li>rewrote logic that removes data from termcap entry, e.g.,
9181    for titeInhibit, to make it less likely to remove the wrong
9182    data.</li>
9183
9184    <li>correct logic which checks for missing characters used for
9185    line drawing. The 0 character was tested unnecessarily, leading
9186    to some inefficiency when rendering.</li>
9187
9188    <li>change termcap capability which is used as input or output
9189    of ptyInitialErase logic from <em>kD</em> to <em>kb</em>.
9190    Christian Weisgerber &lt;naddy@mips.rhein-neckar.de&gt; pointed
9191    out in effect that <em>kD</em> (in terminfo <em>kdch1</em>)
9192    should correspond to the control sequence for <em>dch1</em>,
9193    which deletes from the current position toward the right.</li>
9194
9195    <li>check for failure to change ownership of the PTY device and
9196    warn when xterm is running setuid'd to root. This was reported
9197    to happen on the FreeBSD/NetBSD/OpenBSD systems as a result of
9198    the chflags() call.</li>
9199
9200    <li>add xterm-noapp terminfo entry to illustate a nominally
9201    bash-compatible terminal description.</li>
9202  </ul>
9203
9204  <h1><a name="xterm_113" id="xterm_113">Patch #113 - 1999/8/15 -
9205  XFree86 3.9.15b</a></h1>
9206
9207  <p>Several fixes. The main one is a first draft of pulldown
9208  menus. It's not complete (I have some minor/annoying geometry
9209  problems to correct), but is usable. Once it's complete I plan to
9210  add a menu to support additional selections that won't fit on the
9211  current popup menus. Also, this fits into my longterm plan to
9212  allow configuring with Motif libraries.</p>
9213
9214  <ul>
9215    <li>correct error in input conversion for NRC mode (reported by
9216    Stefan Traby &lt;stefan@sime.com&gt;).</li>
9217
9218    <li>fix initialization of num_lock data in Misc struct (since
9219    those fields of the reference widget aren't initialized), and
9220    add logic to deal with XVision whose NumLock key does not
9221    transmit but does alter keypad state.</li>
9222
9223    <li>correct a missing return-value in get_pty(), for SCO</li>
9224
9225    <li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br>
9226    #define VAL_INITIAL_ERASE A2E(127)</li>
9227
9228    <li>correct foreground color within cursor outline when the
9229    window is unfocused (reported by Stephane Chazelas).</li>
9230
9231    <li>corrected position of scrollbar set in ResizeScrollBar(),
9232    which left it positioned incorrectly if the right scrollbar
9233    were enabled from the popup menu but was not initially enabled.
9234
9235      <p>I have noticed some additional problems with
9236      right-scrollbar on X11R5 which I will correct later.</p>
9237    </li>
9238
9239    <li>integrate changes by Jean-Claude Michot for QNX from
9240    XFree86 3.3.4c</li>
9241
9242    <li>add resources menuBar/MenuBar, menuHeight/MenuHeight for
9243    later use in toolbar geometry.</li>
9244
9245    <li>add configure option --enable-toolbar</li>
9246
9247    <li>add missing definition to make ziconbeep logic not
9248    compile-in when configure script disables it.</li>
9249
9250    <li>add configure-check for input-method support in X
9251    libraries</li>
9252  </ul>
9253
9254  <h1><a name="xterm_112" id="xterm_112">Patch #112 - 1999/7/17 -
9255  XFree86 3.9Pw</a></h1>
9256
9257  <ul>
9258    <li>add null-pointer check to FlushLog(), fixes a core dump
9259    when both -l and -lf options are used when xterm is configured
9260    with wide-character support.</li>
9261
9262    <li>remove "ISO" case for SD, which was due to a typographical
9263    error in ECMA-48 (reported by Paul Williams
9264    &lt;paul@celigne.co.uk&gt; for vttest).</li>
9265
9266    <li>add "FILES" section to manpage.</li>
9267
9268    <li>generate header file to initialize default resources for
9269    colors 16-255.</li>
9270
9271    <li>fixes for os390 (Greg Smith):
9272
9273      <ul>
9274        <li>add README.os390</li>
9275
9276        <li>use the pty_search() function to find an available
9277        pty/tty pair.</li>
9278
9279        <li>move E2A() call out of getXtermCell() to SaveText()
9280        function so it will be available in all
9281        configurations.</li>
9282      </ul>
9283    </li>
9284
9285    <li>patches by Todd Larason:
9286
9287      <ul>
9288        <li>enable SGR 48 5 in ISO color mode, not just 256 color
9289        mode</li>
9290
9291        <li>change configure's --disable-256-color option to
9292        --enable-256-color, to match its effect</li>
9293
9294        <li>fix OSC 4 xx ? (report ansi color) to report a string
9295        which can actually be used to set the color back</li>
9296
9297        <li>fix OSC 4 xx yy (change ansi color) to not allow
9298        setting colors &gt; 15 in 16 color mode</li>
9299
9300        <li>simplify the COLOR_ settings a bit in ptyx.h, along
9301        with setting NUM_ANSI_COLORS needed for #1 and #4
9302        above</li>
9303
9304        <li>correct string-terminator code passed for reference to
9305        OSC responses; when in 7-bit mode, only the final byte of
9306        ST was seen.</li>
9307
9308        <li>Allow multiple color #;name pairs in OSC 4, and
9309        document changes to match.</li>
9310      </ul>
9311    </li>
9312  </ul>
9313
9314  <h1><a name="xterm_111" id="xterm_111">Patch #111 - 1999/7/10 -
9315  XFree86 3.9Pw</a></h1>
9316
9317  <ul>
9318    <li>add control sequences for specifying the RGB value of the
9319    ANSI colors, and for configuring with 256 colors (patch by Todd
9320    Larason &lt;jtl@molehill.org&gt;). I made the default
9321    configuration to 16-colors, because xterm uses the default
9322    color map (which has only 256 colors).</li>
9323
9324    <li>correct an error in DCS $ q m reporting for colors 8-15
9325    (Todd Larason).</li>
9326
9327    <li>add test/demo script for double size characters. Used this
9328    to test/correct display of double size characters that should
9329    wrap, underlined double size characters.</li>
9330
9331    <li>increased cache size for double size fonts to 8, to allow
9332    for both normal and bold fonts (discussion with Aryeh
9333    Koenigsberg &lt;aryeh.koenigsberg@telrad.co.il&gt;).</li>
9334
9335    <li>add fixes for port to OS390 aka MVS (integrated patch from
9336    Greg Smith &lt;rys@epaibm.rtpnc.epa.gov&gt;). OS390 uses EBCDIC
9337    rather than ASCII.</li>
9338
9339    <li>correct an off-by-one in binary search limits in
9340    keysym2ucs.c (Markus Kuhn).</li>
9341
9342    <li>implement logging for UTF-8 mode. The output is written in
9343    UTF-8 form.</li>
9344  </ul>
9345
9346  <h1><a name="xterm_110" id="xterm_110">Patch #110 - 1999/6/29 -
9347  XFree86 3.9Pu</a></h1>
9348
9349  <ul>
9350    <li>If colorMode is enabled by default, compile-in default
9351    resources to match the colors listed in XTerm-col.ad (this
9352    should fix a longstanding FAQ).</li>
9353
9354    <li>added new OSC&nbsp;3&nbsp;;&nbsp;PROPNAME=VALUE&nbsp;ST
9355    escape sequence to set an arbitrary X property on the top level
9356    xterm X11 window. Omit "=VALUE" to delete the X property (patch
9357    by Greg Badros &lt;gjb@cs.washington.edu&gt;).</li>
9358
9359    <li>change internal flag used for <em>utf8controls</em>
9360    resource so we allow 31-bit range of characters (suggested by
9361    Thomas Wolff).</li>
9362
9363    <li>add check for 16-bit characters in OSC strings, change them
9364    to '?' (reported by Thomas Wolff).</li>
9365
9366    <li>modify logic of same_font_name() to avoid trying to
9367    interpret both parameters as wildcard patterns. That does not
9368    (cannot) work, and in some instances the font server will
9369    return unresolved wildcards for the normal or bold fontnames,
9370    making them match inadvertently, triggering the fallback
9371    overstrike logic (reported by Tim Adye).</li>
9372  </ul>
9373
9374  <h1><a name="xterm_109" id="xterm_109">Patch #109 - 1999/6/23 -
9375  XFree86 3.9Pt</a></h1>
9376
9377  <ul>
9378    <li>correct range-check from patch #108, which resulted in not
9379    being able to select from the scrollback buffer (reported by
9380    Tim Adye &lt;T.J.Adye@rl.ac.uk&gt;)</li>
9381
9382    <li>correct "no available ptys" problem with Cygwin B20.1
9383    (patch by Tim Adye).</li>
9384
9385    <li>modified install-ti rule in Makefile.in to allow override
9386    of the terminfo directory when doing a "make install", i.e., by
9387    assigning to TERMINFO_DIR (request by Zdenek Sekera
9388    &lt;zs@sgi.com&gt;).</li>
9389
9390    <li>added install-full rule to Makefile.in</li>
9391
9392    <li>resync mkdirs.sh and install.sh scripts against current
9393    autoconf</li>
9394
9395    <li>implement $(DESTDIR) in Makefile.in, making it simple to
9396    install xterm and associated files into a directory just for
9397    packaging a binary release (suggested by CaT
9398    &lt;cat@zip.com.au&gt;).</li>
9399
9400    <li>change IChar type to unsigned, rather than unsigned short,
9401    making room for a flag to keep with 16-bit characters to
9402    prevent them from being interpreted as C0 or C1 controls
9403    (reported by Thomas Wolff).</li>
9404
9405    <li>correct a typo from patch #107, incorrect array name, in
9406    the filterUTF8 function (patch by Bruno Haible
9407    &lt;haible@ilog.fr&gt;)</li>
9408
9409    <li>add <em>utf8controls</em> resource to specify whether xterm
9410    should interpret 16-bit characters unpacked from UTF-8 form as
9411    control characters if they happen to fall into that range. This
9412    behavior is left unspecified by the Unicode standard (request
9413    by Thomas Wolff).</li>
9414
9415    <li>modify handling of OSC to recover if application sends
9416    16-bit characters with codes above 255. We cannot display them
9417    as is, but translate out-of-range characters to a '?' (reported
9418    by Thomas Wolff).</li>
9419  </ul>
9420
9421  <h1><a name="xterm_108" id="xterm_108">Patch #108 - 1999/6/19 -
9422  XFree86 3.9Ps</a></h1>
9423
9424  <ul>
9425    <li>add a range-check to LastTextCol(), to guard against
9426    indexing before the beginning of the scrollback buffer. This
9427    appears to happen with certain fonts under X11R5 (reported by
9428    Stephane Chazelas &lt;Stephane_Chazelas@Raytheon.com&gt;).</li>
9429
9430    <li>implement resource <em>boldMode</em>, to allow disabling
9431    the simulation of bold fonts when the bold and normal fonts are
9432    not different (requested by Will Day
9433    &lt;willday@rom.oit.gatech.edu&gt;).</li>
9434
9435    <li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few
9436    bugs in the UTF-8 selection (patch by Juliusz Chroboczek).</li>
9437
9438    <li>correct logic of binary-search in keysym2ucs.c (patch by
9439    Markus Kuhn).</li>
9440
9441    <li>add special interpretation of keysym codes above 0x1000000
9442    as the corresponding UCS value plus 0x1000000 (patch by Markus
9443    Kuhn).</li>
9444  </ul>
9445
9446  <h1><a name="xterm_107" id="xterm_107">Patch #107 - 1999/6/12 -
9447  XFree86 3.9Pq</a></h1>
9448
9449  <ul>
9450    <li>Two changes from Stephen P Wall. From his description:
9451
9452      <blockquote>
9453        <p>The first change is simple - I added ESC[3J to erase the
9454        stored lines above the screen. That's what the changes to
9455        util.c and ctlseqs.ms are.</p>
9456
9457        <p>The second change is to get the blinking cursor working.
9458        I took out the cursorBlinkTime resource, and put in
9459        cursorBlink (Boolean), cursorOnTime (time cursor is on in
9460        msecs) and cursorOffTime, and added a cursorblink item to
9461        the vtMenu to enable/disable it.</p>
9462      </blockquote>
9463    </li>
9464
9465    <li>improve selection (integrated patch by Juliusz Chroboczek).
9466    From his description:
9467
9468      <blockquote>
9469        <p>With this patch, selection conversion works
9470        properly:</p>
9471        <pre>
9472        ISO 8859-1 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
9473        ISO 8859-1 xterm -&gt; UTF-8 xterm (transferred as STRING);
9474        UTF-8 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
9475        UTF-8 xterm -&gt; UTF-8 xterm (transferred as UTF-8).
9476</pre>
9477
9478        <p>It will not work properly if one xterm is in, say, ISO
9479        8859-2. Actually, for this case xterm breaks the ICCCM
9480        routinely (sending ISO 8859-2 data as STRING), so I
9481        wouldn't worry too much about it. I have not changed the
9482        behaviour in eight-bit mode in any way.</p>
9483      </blockquote>
9484    </li>
9485  </ul>
9486
9487  <h1><a name="xterm_106" id="xterm_106">Patch #106 - 1999/6/9 -
9488  XFree86 3.9Pq</a></h1>
9489
9490  <ul>
9491    <li>remove duplicate fix for OpenBSD in resize.c</li>
9492
9493    <li>correct logic in ScreenWrite, which did not reset the high
9494    bytes of 16-bit characters when overwriting them with a 8-bit
9495    character string (reported by Thomas Wolff).</li>
9496
9497    <li>provide limited support for input of UTF-8 16-bit data by a
9498    lookup table (integrated patch by Markus Kuhn).</li>
9499
9500    <li>correct check in non_blank_line to ensure we're in
9501    wide-character mode before looking at the high bytes, for
9502    InsertChar.</li>
9503  </ul>
9504
9505  <h1><a name="xterm_105" id="xterm_105">Patch #105 - 1999/6/5 -
9506  XFree86 3.9Pp</a></h1>
9507
9508  <ul>
9509    <li>implement new resource <em>trimSelection</em>, which allows
9510    xterm to trim trailing blanks from selected lines. This does
9511    not affect the highlighting. (reported by several people using
9512    <em>mutt</em>, including Hans Morten Kind &lt;edphk@uib.no&gt;,
9513    Jeremy &lt;jeremy@exit109.com&gt; and (Michael Fuller
9514    &lt;msf@mds.rmit.edu.au&gt;).</li>
9515
9516    <li>include term.h in resize for OpenBSD (patch by Matthieu
9517    Herrb).</li>
9518
9519    <li>correct logic for UTF-8 in functions that hide and show the
9520    cursor; it was displaying a space whenever the low byte of the
9521    character at the cursor position was zero (reported by Thomas
9522    Wolff &lt;Thomas.Wolff@icn.siemens.de&gt;).</li>
9523  </ul>
9524
9525  <h1><a name="xterm_104" id="xterm_104">Patch #104 - 1999/5/30 -
9526  XFree86 3.9Pn</a></h1>
9527
9528  <p>This is a resync patch against XFree86 3.9Pn, reflecting
9529  changes which were submitted by Branden Robinson, who worked with
9530  Wichert Akkerman &lt;wichert@cs.leidenuniv.nl&gt; to set up
9531  ifdef's to handle GNU libc 2.1, and use getpt() which lets xterm
9532  avoid having to know the actual PTY name.</p>
9533
9534  <p>I have also added a few fixes for signed/unsigned mismatches,
9535  and corrected a problem in the configure script (the UTF-8 code
9536  was always configured since the Imakefile defines this).</p>
9537
9538  <h1><a name="xterm_103" id="xterm_103">Patch #103 - 1999/5/14 -
9539  XFree86 3.9Pm</a></h1>
9540
9541  <ul>
9542    <li>correct selection logic: I omitted an offset that accounts
9543    for the distance into the scrollback buffer when rewriting this
9544    for patch #101. Also fixed a similar problem for selecting
9545    double size characters from the scrollback buffer (first was
9546    reported by D Roland Walker &lt;walker@pobox.com&gt;).</li>
9547
9548    <li>improved support for Unix98 PTY's, using patch in Debian
9549    bug report #35650, by J.H.M. Dassen
9550    &lt;jdassen@wi.leidenuniv.nl&gt;. From the patch description:
9551
9552      <blockquote>
9553        <ul>
9554          <li>No longer links xterm against libutil on a glibc2.1
9555          system. libutil is a compatibility library and should
9556          only be used when necessary. Rather than having get_pty()
9557          use openpty() from this compatibility library, use the
9558          real UNIX98 pty support in get_pty() (open()ing the
9559          master pty, through getpt() if available (glibc
9560          extension)). Use openpty() only under glibc2.0.</li>
9561
9562          <li>GNU libc2 is not Linux-specific; already it runs on
9563          the Hurd. It provides the UNIX98 pty functions (plus the
9564          getpt() extension), regardless of the underlying OS.
9565          Changed two constructs to look for GNU libc2 only, not
9566          GNU libc2 on Linux.</li>
9567        </ul>
9568      </blockquote>
9569    </li>
9570
9571    <li>improve font configuration, by checking if the user's
9572    resource settings for normal and bold fonts give the same font
9573    sizes (fixes problem reported by Peter Waltenberg
9574    &lt;peterw@dascom.com&gt;).</li>
9575  </ul>
9576
9577  <h1><a name="xterm_102" id="xterm_102">Patch #102 - 1999/5/12 -
9578  XFree86 3.9Pm</a></h1>
9579
9580  <ul>
9581    <li>revert change to openpty call in patch #101; this causes
9582    xterm to fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn
9583    Brand).</li>
9584
9585    <li>modify print.c to move include of stdio.h after the
9586    autoconf'd xtermcfg.h since HP's ANSI C compiler otherwise sees
9587    inconsistent prototype for getopt, probably due to problem with
9588    const (reported by H Merijn Brand).</li>
9589  </ul>
9590
9591  <h1><a name="xterm_101" id="xterm_101">Patch #101 - 1999/5/10 -
9592  XFree86 3.9Pm</a></h1>
9593
9594  <ul>
9595    <li>moved includes and definitions for 'select' from data.h to
9596    xterm.h to fix problem introduced by prototype for getPtyData,
9597    part of UTF-8 changes (reported by Jens Schleusener
9598    &lt;Jens.Schleusener@dlr.de&gt;)</li>
9599
9600    <li>added "Meta &lt;Btn2Down&gt;:clear-saved-lines()" default
9601    translation (patch by H Merijn Brand)</li>
9602
9603    <li>fixes to configure script and ifdef's in main.c to build on
9604    a HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with
9605    egcs 1.1.2 and HP's ANSI C compiler (patch by H Merijn Brand
9606    &lt;PROCURA_BV@CompuServe.com&gt;)</li>
9607
9608    <li>add more parentheses in ifdef's (patch by Bob
9609    Maynard).</li>
9610
9611    <li>eliminate conflicting definitions for USE_TERMINFO in
9612    resize.c (reported by Jeremy Buhler).</li>
9613
9614    <li>change openpty call to pass NULL rather than ttydev
9615    parameter, since that was used only to estimate the length of
9616    the corresponding data, and may not really be long enough
9617    (reported by Andreas Jaeger)</li>
9618
9619    <li>update description in xterm manpage for character class
9620    table, which said it handles only 7-bit codes.</li>
9621
9622    <li>correct a typo in ScrnDeleteChar() which made it not clear
9623    the high byte of wide-character data.</li>
9624
9625    <li>add logic to convert selection to UTF-8 form when
9626    appropriate. This makes select/paste "work", but further work
9627    is needed to make UTF-8 recognized as a locale in Xlib.</li>
9628
9629    <li>correct right-limit check when selecting double-width
9630    characters.</li>
9631
9632    <li>change default answerback response to an empty string.</li>
9633  </ul>
9634
9635  <h1><a name="xterm_100" id="xterm_100">Patch #100 - 1999/5/3 -
9636  XFree86 3.9Pl</a></h1>
9637
9638  <ul>
9639    <li>Correct a typo in the default resource value for
9640    backarrowKeyIsErase: it was always true (reported by Bram
9641    Moolenaar).</li>
9642
9643    <li>improve configure script's test if the installed xterm is
9644    setuid, in case that is a symbolic link.</li>
9645
9646    <li>correct "install-ti" rule in Makefile.in, by not setting a
9647    blank $TERMINFO value. That is interpreted as "." by ncurses'
9648    tic.</li>
9649  </ul>
9650
9651  <h1><a name="xterm_99" id="xterm_99">Patch #99 - 1999/5/2 -
9652  XFree86 3.9Pk</a></h1>
9653
9654  <ul>
9655    <li>correct logic that computes num_ptrs count of the number of
9656    indices into the screen buffer. This is the maximum of the
9657    colors and character-set indices; was incorrect in patch
9658    #97.</li>
9659
9660    <li>correct argument type for sigsetjmp, incidental change in
9661    patch #96's Unix88 PTY patch (reported by Bram Moolenaar).</li>
9662
9663    <li>correct description of secondary DA in ctlseqs.ms (reported
9664    by Bram Moolenaar).</li>
9665
9666    <li>decouple the backarrowKey and ptyInitialErase resources by
9667    adding a new resource backarrowKeyIsErase, to accommodate
9668    people using applications which have hardcoded tests for
9669    characters 8 and 127 rather than relying on the stty
9670    settings.</li>
9671
9672    <li>modify the UTF-8 decoder so that all possible illegal UTF-8
9673    sequences are properly represented by U+FFFD. This should be
9674    very helpful for developers of code that output UTF-8 strings
9675    for debugging. See the file utf-8-test.txt in
9676    http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a
9677    demonstration text that contains numerous illegal UTF-8 values.
9678    (patch by Markus Kuhn).</li>
9679
9680    <li>correct a place in ScrnRefresh where I was filling the high
9681    byte of a wide character with a space rather than a null
9682    (reported by Markus Kuhn).</li>
9683  </ul>
9684
9685  <h1><a name="xterm_98" id="xterm_98">Patch #98 - 1999/4/26 -
9686  XFree86 3.9Pk</a></h1>
9687
9688  <ul>
9689    <li>correct data manipulation in unparseputc(), broken for
9690    little-endian machines by patch #97's UTF-8 changes. This meant
9691    that keyboard input on SunOS did not work, though Linux i386
9692    was fine.</li>
9693
9694    <li>modify initialization for backarrowKey and logic for
9695    initial-erase to prevent the initial-erase from overriding an
9696    explicitly set backarrowKey resource (reported by Vikas
9697    Agnihotri).</li>
9698
9699    <li>add a missing null-pointer check in ScrnRefresh, for the
9700    wide-characters configuration.</li>
9701  </ul>
9702
9703  <h1><a name="xterm_97" id="xterm_97">Patch #97 - 1999/4/25 -
9704  XFree86 3.9Pk</a></h1>
9705
9706  <ul>
9707    <li>add configure script test for -lutil, needed for openpty
9708    call when configuring xterm for Glibc-2.1 and Unix98 PTY's
9709    (first reported by Martin Lorentz"
9710    &lt;m.lorentz@w12.link-goe.de&gt;).</li>
9711
9712    <li>completely parenthesize ifdef expressions for Glibc
9713    (suggested by Bob Maynard).</li>
9714
9715    <li>add initial-erase options (-ie, +ie) to help message
9716    (reported by Vikas Agnihotri).</li>
9717
9718    <li>remove duplicate definition of USE_USG_PTYS (reported by
9719    Jeremy Buhler).</li>
9720
9721    <li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a
9722    DEL (\177). I overlooked this when separating the styles of
9723    keyboard with the <em>sunKeyboard</em> resources in patch #94,
9724    so that it normally matches the value of the stty erase
9725    character:
9726
9727      <ul>
9728        <li>Reported by Jae Gangemi
9729        &lt;jgangemi@ccf.rutgers.edu&gt;, this caused emacs to not
9730        process the DEL properly, combining it with succeeding
9731        characters.</li>
9732
9733        <li>This does not appear to be related to a problem which I
9734        have found with <em>screen</em>, which translates the stty
9735        erase into the termcap <em>kD</em> or terminfo
9736        <em>kdch1</em> value (depending on how it is linked) if the
9737        $TERMCAP variable is set when <em>screen</em> is
9738        invoked.</li>
9739      </ul>
9740    </li>
9741
9742    <li>add command-line options for enabling UTF-8 mode: -u8 and
9743    +u8. The more obvious -utf8 and +utf8 would conflict with
9744    xterm's -ut and +ut (utmp) options. The UTF-8 changes were
9745    requested by Markus Kuhn &lt;Markus.Kuhn@cl.cam.ac.uk&gt;. This
9746    patch does not complete UTF-8 implementation, but makes it
9747    usable, i.e., display and refresh work, and I am able to
9748    display the test cases which Markus provides. More work is
9749    needed to complete this feature:
9750
9751      <ul>
9752        <li>the control sequences for switching in/out of UTF-8
9753        mode are partly implemented (don't use them). Similarly,
9754        the switching between vt100 and tek4014 emulations when
9755        UTF-8 mode is enabled will not work properly.
9756
9757          <p>You must use the -u8 command line option to use this
9758          feature, as well as compile with the OPT_WIDE_CHARS
9759          definition.</p>
9760        </li>
9761
9762        <li>cut/paste only copies 8-bit characters.</li>
9763
9764        <li>logging is disabled in the wide-character
9765        configuration</li>
9766
9767        <li>printing only writes 8-bit characters.</li>
9768
9769        <li>input only does 8-bit characters. This is the area that
9770        I know least about.</li>
9771      </ul>
9772    </li>
9773  </ul>
9774
9775  <h1><a name="xterm_96" id="xterm_96">Patch #96 - 1999/4/19 -
9776  XFree86 3.9Pj</a></h1>
9777
9778  <ul>
9779    <li>modify Makefile.in to work with configure script's --srcdir
9780    option. (patch by Jeremy Buhler
9781    &lt;jbuhler@cs.washington.edu&gt;)</li>
9782
9783    <li>add checks for 'echo -n' equivalent for 8colors.sh and
9784    16colors.sh scripts (reported by Vikas Agnihotri).</li>
9785
9786    <li>improve logic that looks for bold fonts to allow for
9787    wildcards in the specification for normal fonts, and to ensure
9788    that if a bold font is specified as normal, that xterm will
9789    simulate a bold version of that using a one-pixel offset
9790    overstrike (reported by Henrik Harmsen
9791    &lt;harmsen@erv.ericsson.se&gt;).</li>
9792
9793    <li>correct horizontal spacing of double width line-drawing
9794    characters that xterm simulates.</li>
9795
9796    <li>improve support for Unix98 PTY's, using patch in Debian bug
9797    report #35650, by Topi Miettinen
9798    &lt;Topi.Miettinen@medialab.sonera.fi&gt;. Andreas Jaeger says
9799    this also corrects a permissions problem reported by
9800    cat@zip.net.au</li>
9801
9802    <li>modify initial-erase logic to ensure that
9803    <code>ttyModes</code> resource overrides it.</li>
9804  </ul>
9805
9806  <h1><a name="xterm_95" id="xterm_95">Patch #95 - 1999/4/5 -
9807  XFree86 3.9Ph</a></h1>
9808
9809  <ul>
9810    <li>modify primary DA response to allow a '1' parameter.</li>
9811
9812    <li>add printer and national replacement character sets to
9813    VT220 primary DA response.</li>
9814
9815    <li>document primary and secondary DA responses in
9816    ctlseqs.ms</li>
9817
9818    <li>use the patch number (e.g., 95) in the secondary DA
9819    response, providing user applications a means of determining
9820    the version of xterm for feature comparison (request by Bram
9821    Moolenaar).</li>
9822
9823    <li>make xterm respond to secondary DA when the decTerminalID
9824    is set for VT100.</li>
9825
9826    <li>limit user-defined keys (DECUDK) to VT220-style keyboard
9827    when sunKeyBoard resource is true.</li>
9828
9829    <li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with
9830    Glibc-2.1 and no Unix98 PTY support (patch from Andreas Jaeger
9831    &lt;aj@arthur.rhein-neckar.de&gt;)</li>
9832
9833    <li>add optional feature (resource and command-line options) to
9834    make xterm use the PTY's sense of erase character on startup,
9835    rather than requiring it to be \177, or set the PTY's erase
9836    character to match xterm's configuration. Note that while
9837    $TERMCAP is modified to reflect the actual configuration, the
9838    terminfo kdch1 string is not (request by Dirk H Hohndel
9839    &lt;hohndel@suse.de&gt;)</li>
9840
9841    <li>improve scripts in vttests to work with newer shells that
9842    do not use 'echo -n'.</li>
9843
9844    <li>add fonts.sh example script</li>
9845
9846    <li>correct inequality in handling of "#1" font
9847    specification.</li>
9848
9849    <li>correct call to XGetWMNormalHints() used for computing
9850    maximum screen size; the size hints may not have been set.</li>
9851
9852    <li>begin implementation of support for wide-characters
9853    (configure option --enable-wide-chars defines OPT_WIDE_CHARS,
9854    invoke xterm with -wc option to activate this feature). This
9855    patch optionally widens internal data structures, invokes the
9856    16-bit text output rather than the 8-bit version and adds some
9857    tables.</li>
9858  </ul>
9859
9860  <h1><a name="xterm_94" id="xterm_94">Patch #94 - 1999/3/27 -
9861  XFree86 3.9Pf</a></h1>
9862
9863  <ul>
9864    <li>further fixes for terminfo: ka1, ka3, etc., differ between
9865    the default xterm-xfree86 and xterm-vt220 entries.</li>
9866
9867    <li>change default (with sunKeyboard resource false) behavior
9868    of the editing keypad "Delete" to send a 127, like xterm-r6.
9869    The VT220-style <code>&lt;ESC&gt;[3~</code> is sent when
9870    sunKeyboard is true (reported by Tomas Vanhala).</li>
9871
9872    <li>add parameters to function keys to indicate if shift,
9873    control or alt are set. The codes are based on a description of
9874    a DEC VT510 with a PC keyboard, from Jeffrey Altman
9875    &lt;jaltman@watsun.cc.columbia.edu&gt;.</li>
9876
9877    <li>add control sequence 1035, set-num-lock action and num-lock
9878    menu entry to control the use of the NumLock and Alt keys for
9879    the Sun/PC and VT220 keyboard extensions.</li>
9880
9881    <li>implement DECSET/DECRST numeric keypad (DECNKM) mode.</li>
9882
9883    <li>modify terminfo and termcap to use recommended "X Window"
9884    or "X11" names rather than "X Windows" (reported by Tomas
9885    Vanhala).</li>
9886
9887    <li>suppress translation of shifted keypad "+" when sunKeyboard
9888    is true.</li>
9889
9890    <li>workaround unexpected behavior (perhaps bug) in
9891    XmbLookupString, which returns trash in the string buffer for
9892    numlock and control-key combined with keypad-keys.</li>
9893
9894    <li>modify ScrollBarReverseVideo() to keep scrollbar border
9895    visible when reverse video is toggled.</li>
9896
9897    <li>correct missing case for parameter 17 (set highlight color)
9898    in dynamic colors control sequences.</li>
9899
9900    <li>extend dynamic colors control sequences to allow users to
9901    determine the colors and font which are currently active.</li>
9902
9903    <li>minor tweak to OSC responses, to use BEL if the application
9904    used that to end the request, rather than ST. This works better
9905    with shell scripts, which may not handle an
9906    <code>&lt;ESC&gt;backslash</code> very well.</li>
9907
9908    <li>separate menu settings for reverse video from that done
9909    under program control.</li>
9910
9911    <li>corrected ifdef's for menus, which did not allow tek4014 to
9912    be suppressed properly (reported by Clint Olsen).</li>
9913
9914    <li>changes for Linux-2.2.x with GLibc-2.1 and /dev/ptmx
9915    support (integrated patch from Pavel Roskin):
9916
9917      <ul>
9918        <li>main.c and resize.c were using different rules to
9919        determine whether ATT should be defined (actually
9920        USE_USG_PTYS is more apt).</li>
9921
9922        <li>copy definitions from main.c to resize.c to prevent
9923        sys/stream.h and sys/ptem.h from inclusion when SYSV is not
9924        defined</li>
9925
9926        <li>define CNUL if not already defined like other
9927        variables.</li>
9928
9929        <li>/dev/tty does exist in Linux, but it doesn't mean, it
9930        should be used. Therefore EACCES is now an acceptable
9931        result.</li>
9932
9933        <li>ifdef'd several calls such as <code>ioctl (ptyfd,
9934        I_PUSH, "ptem")</code> to build on Linux (I_PUSH is not
9935        defined when sys/stropts.h is not included).</li>
9936      </ul>
9937    </li>
9938
9939    <li>initialize second "ltc" variable in main.c (reported by
9940    David Dawes).</li>
9941
9942    <li>provide definition for USE_USG_PTYS in screen.c</li>
9943
9944    <li>add resource-files to install rule in standalone
9945    Makefile.in</li>
9946
9947    <li>add sample scripts to illustrate titlebar controls,
9948    resizing and colors.</li>
9949  </ul>
9950
9951  <h1><a name="xterm_93" id="xterm_93">Patch #93 - 1999/3/14 -
9952  XFree86 3.9Pd</a></h1>
9953
9954  <p>Here are several fixes and minor enhancements. The chief ones
9955  are the fixes for NumLock mode and reverse video, since we had
9956  become used to working around the problems.</p>
9957
9958  <ul>
9959    <li>remove kfnd/kll/kslt strings from terminfo, because curses
9960    applications do not necessarily return khome/kend pairs
9961    (reported by Vikas Agnihotri).</li>
9962
9963    <li>implement NumLock resource which overrides the keyboard
9964    tables for the special case of keypad keys. This is a problem
9965    introduced in xterm by X11R6 changes, i.e., an ambiguity which
9966    in effect discarded vt100 keypad support.</li>
9967
9968    <li>modify Sun/PC keyboard mode to extend this (emulation of
9969    DEC vt100 keypad) to the remainder of the numeric keypad. Now,
9970    the default operating mode of xterm uses the keyboard tables
9971    as-is (except if the NumLock mode overrides), but provides good
9972    vt100 keypad compatibility if the Sun/PC keyboard menu item is
9973    checked.</li>
9974
9975    <li>separate command-line settings for reverse video from that
9976    done under program control. This is a problem which was
9977    introduced by X11R6. Though <em>correct</em>, most users are
9978    confused by allowing the reset command to undo the effect of
9979    the command-line <kbd>-rv</kbd> option.</li>
9980
9981    <li>add description of function keys, keypad and cursor keys to
9982    ctlseqs.ms</li>
9983
9984    <li>add terminfo entries for xterm-vt52, xterm-sun and
9985    xterm-hp</li>
9986
9987    <li>correct typo (missing case value) for DECSET 35,
9988    enable/disable shifted keypad action and a few compiler
9989    warnings (reported by Zdenek Sekera &lt;zs@sgi.com&gt;).</li>
9990
9991    <li>correct reporting of color values 8-15 in DECRQSS (reported
9992    by Vikas Agnihotri).</li>
9993
9994    <li>modify parsing of ttyModes resource to recognize "^-" as
9995    "undef" (requested by Tomas Vanhala).</li>
9996
9997    <li>integrate/extend changes to add iconify/maximize actions
9998    (from Edward S. Arthur &lt;eda@ultranet.com&gt;).</li>
9999
10000    <li>add control sequences for maximizing/restoring window, and
10001    for reporting maximum screen size.</li>
10002
10003    <li>add 'interpret' action, to support local function-key
10004    interpretation. Used properly, this makes most of the
10005    specialized actions of xterm redundant.</li>
10006
10007    <li>add control sequence private modes 1051, 1052 and 1052, for
10008    setting the Sun and HP function key modes, and for setting the
10009    Sun/PC keyboard mode.</li>
10010
10011    <li>add configure option --disable-maximize</li>
10012
10013    <li>add configure option --disable-num-lcok</li>
10014
10015    <li>extend descriptions of configure script options in
10016    INSTALL.</li>
10017  </ul>
10018
10019  <h1><a name="xterm_92" id="xterm_92">Patch #92 - 1999/2/5 -
10020  XFree86 3.9Nz</a></h1>
10021
10022  <ul>
10023    <li>increase buffer size for tgetent (i.e., termcap) to 1500.
10024    This fixes a problem where <em>screen</em> is built using
10025    ncurses or GNU termcap and <em>xterm</em> is built using the
10026    standard termcap interface. The former does not limit the
10027    termcap size, while the latter is assumed to be no longer than
10028    1023 characters. The <em>screen</em> program's termcap entry is
10029    about 1200 characters long.</li>
10030
10031    <li>change update_menu_item() to a function, to simplify
10032    debugging. This also reduces the executable by 4Kb.</li>
10033
10034    <li>add control sequences for DECSET 30, 1010, 1011 like rxvt
10035    (enable or disable some features that were only settable via
10036    resources or command line arguments).</li>
10037
10038    <li>add control sequence for DECSET 35, which enables/disables
10039    the shifted keypad functions.</li>
10040
10041    <li>add support for switching font sizes, by stepping through
10042    the font menu using shifted keypad plus and minus.</li>
10043
10044    <li>correct missing initialization of tekInhibit and tekSmall
10045    resources.</li>
10046
10047    <li>correct ifdef's in charproc.c for XtNgeometry and
10048    XtCGeometry (reported by Bram Moolenaar).</li>
10049  </ul>
10050
10051  <h1><a name="xterm_91" id="xterm_91">Patch #91 - 1999/1/21 -
10052  XFree86 3.9Nw</a></h1>
10053
10054  <ul>
10055    <li>Implement logic to translate input characters which are
10056    mapped when in vt220 National Replacement Character mode
10057    (requested by Tomas Vanhala).</li>
10058
10059    <li>Resync configure scripts with my patches to autoconf
10060    2.13</li>
10061
10062    <li>Change order of -lXmu and -lXext to accommodate cygwin32
10063    (reported by Vikas Agnihotri).</li>
10064
10065    <li>Add "-ti" option to set terminal emulation level from
10066    command line rather than via resource.</li>
10067
10068    <li>Simplify some of the preprocessor logic using #elif.</li>
10069  </ul>
10070
10071  <h1><a name="xterm_90" id="xterm_90">Patch #90 - 1998/12/13 -
10072  XFree86 3.9Nq</a></h1>
10073
10074  <p>This implements several small fixes and enhancements. The
10075  chief one implements fallback support for line drawing characters
10076  with fonts that do not include those characters. But I
10077  implemented that last.</p>
10078
10079  <ul>
10080    <li>If any of the glyphs in positions 0-31 (used by xterm to
10081    implement the VT100 alternate character set) are zero-sized
10082    (i.e., missing), xterm will reserve a normal space for the
10083    glyph when drawing. I implemented a simple stroke-drawing
10084    function to draw the line-drawing characters and a couple of
10085    the other (simpler) characters such as diamond. (This was
10086    suggested by Vikas Agnihotri).</li>
10087
10088    <li>Modify the computation of doublesize characters to work
10089    around font servers which shift the scaled characters up/down
10090    or do not give the correct width.</li>
10091
10092    <li>Add popup menu item and corresponding resource settings to
10093    disable the font-scaling logic for doublesize characters to
10094    work around (older) font servers which simply do not draw the
10095    fonts scaled to the size that they said they would. I see this
10096    problem on a SunOS system running X11R5; the X11R6 servers seem
10097    well behaved.</li>
10098
10099    <li>Implement new escape sequence, private mode 1049, which
10100    combines the switch to/from alternate screen mode with screen
10101    clearing and cursor save/restore. Unlike the existing escape
10102    sequence, this clears the alternate screen when switching to it
10103    rather than when switching to the normal screen, thus retaining
10104    the alternate screen contents for select/paste operations.
10105
10106      <p>When I implemented the popup menu entry to toggle between
10107      the normal and alternate screens, I considered only pasting
10108      from the normal screen to the alternate; this improvement
10109      allows either direction.</p>
10110    </li>
10111
10112    <li>Changed the termcap and terminfo for xterm-xfree86 and
10113    xterm-8bit to use the new 1049 private mode.</li>
10114
10115    <li>Modify the logic which switches between normal and
10116    alternate screens so that the save/restore cursor operations
10117    apply only to the current screen. That means that applications
10118    which use the terminfo smcur/rmcur or termcap ti/te
10119    capabilities will restore the cursor to the original position
10120    on the normal screen rather than to the most recent place where
10121    a save-cursor operation was performed.
10122
10123      <p>I note that a real VT100 terminal would not behave in this
10124      way, but it is a moot point since the VT100 does not
10125      implement alternate screen, and therefore the save/restore
10126      cursor sequence would not be used in this context. I reviewed
10127      the logic which switches between normal and alternate screens
10128      based on some recent newsgroup postings as well as a proposed
10129      patch in the Debian group which attempts to do this (the
10130      patch has a bug, however, so I did not use it).</p>
10131    </li>
10132
10133    <li>Add popup menu entry for toggling the titeInhibit
10134    resource.</li>
10135
10136    <li>Add new resource answerbackString, which overrides the
10137    default "xterm" returned by xterm when responding to an ENQ
10138    (control/E) character (request by Rajesh Vaidheeswarran
10139    &lt;rv@fore.com&gt;).</li>
10140
10141    <li>Add new resource keyboardDialect for setting the NRC
10142    display character set (request by Tomas Vanhala, who notes that
10143    I should add logic to translate the keyboard as well).</li>
10144
10145    <li>Add new command-line option and corresponding resources for
10146    making xterm generate escape sequences compatible with HP
10147    terminals. Like the existing Sun escape sequences, this is
10148    available as a popup menu item. It is enabled by the configure
10149    script with the option --enable-hp-fkeys (requested by Toni
10150    Mueller &lt;sales@oeko.net&gt;).</li>
10151
10152    <li>Add configure script option --disable-boxchars to disable
10153    the fallback support for line drawing characters.</li>
10154
10155    <li>Fix ifdef's for configure script --disable-ansi-color, and
10156    reviewed all configure options to ensure that all can be
10157    enabled/disabled appropriately.</li>
10158
10159    <li>Update config.guess and config.sub, from Lynx.</li>
10160  </ul>
10161
10162  <h1><a name="xterm_89" id="xterm_89">Patch #89 - 1998/11/20 -
10163  XFree86 3.9Nm</a></h1>
10164
10165  <p>This patch completes the implementation of double-sized
10166  character support for the VT100 emulation, and fixes a few minor
10167  bugs:</p>
10168
10169  <ul>
10170    <li>corrected the cursor position in HideCursor, which did not
10171    multiply the column by two when in doublesize mode. This bug,
10172    which did not appear in normal use, dates back to my original
10173    <a href="#xterm_44">changes</a> to partly implement
10174    double-sized characters. I noticed it when cat'ing a typescript
10175    from vttest's double-sized character test.</li>
10176
10177    <li>ensure that the current line is repainted when switching
10178    between single and double width characters.</li>
10179
10180    <li>reduce the number of bits used for double-sized character
10181    coding from 3 to 2, to make more room for soft-font codes.</li>
10182
10183    <li>copy newer ifdef's from the XFree86 3.3.3 release's main.c,
10184    which address details of glibc and powerpc.</li>
10185
10186    <li>moved definition of DECL_ERRNO in xterm.h to match XFree86
10187    3.3.3</li>
10188
10189    <li>modify <em>resize</em> to remove the ifdef on SVr4 that
10190    suppressed printing the script for $LINES and $COLUMNS.
10191    Solaris' resize utility does this; suppressing the behavior is
10192    unnecessary.</li>
10193  </ul>
10194
10195  <p>I tested the double-sized characters using vttest and the
10196  xfsft patch. These fonts worked reasonably well:</p>
10197  <pre>
10198        -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
10199        9x15
10200</pre>
10201
10202  <p>The iso8859 font does not include box characters, of course,
10203  but looks good.</p>
10204
10205  <h1><a name="xterm_88" id="xterm_88">Patch #88 - 1998/10/31 -
10206  XFree86 3.9Nk and 3.3.2h</a></h1>
10207
10208  <p>This refines my #85 patch by checking for a case where the
10209  font server returns a bold font that does not quite correspond to
10210  the normal font. When I asked for a bold version of the 6x12
10211  font, the font server returned a near equivalent where the ascent
10212  and descent values did not match, causing xterm to leave lines
10213  across the display. This patch makes xterm reject that type of
10214  mismatch, falling back to the old font behavior.</p>
10215
10216  <h1><a name="xterm_87" id="xterm_87">Patch #87 - 1998/10/21 -
10217  XFree86 3.9Nj and 3.3.2f</a></h1>
10218
10219  <p>This corrects a problem reported by Stefan Dalibor. My table
10220  entries for the <em>printerExtent</em> and
10221  <em>printerFormFeed</em> resources used the wrong types for
10222  sizeof, causing the printer to not work properly on some
10223  platforms because the <em>printAttributes</em> resource was
10224  overwritten (e.g., Digital Unix with DEC Alpha).</p>
10225
10226  <p>I reviewed all of the resource table entries and fixed a
10227  potential problem with <em>resizeGravity</em>, which was typed as
10228  <em>int</em> rather than <em>XtGravity</em>.</p>
10229
10230  <h1><a name="xterm_86" id="xterm_86">Patch #86 - 1998/10/14 -
10231  XFree86 3.9Nj and 3.3.2e</a></h1>
10232
10233  <p>A small fix: when switching to/from the continuous mouse
10234  reporting mode, the event mask was incorrect if xterm was built
10235  under X11R5 because the original data was saved under an ifdef
10236  for active-icon.</p>
10237
10238  <h1><a name="xterm_85" id="xterm_85">Patch #85 - 1998/10/12 -
10239  XFree86 3.9Nj and 3.3.2e</a></h1>
10240
10241  <p>Some cleanup (I noticed the pixel droppings a few months ago
10242  after getting a new 17" monitor):</p>
10243
10244  <ul>
10245    <li>split-out the functions that load/reload fonts for xterm as
10246    new file fontutils.c to extend them to support automatic
10247    loading of bold font corresponding to the normal font. Adapted
10248    logic from EMU 1.3 for this purpose. This fixes most
10249    occurrences of pixel droppings from bold characters.</li>
10250
10251    <li>modified by renaming variables and adding casts to permit
10252    compile with g++.</li>
10253
10254    <li>modify headers so they can all be compiled without order
10255    dependencies, and use bracketed rather than quoting includes to
10256    allow compile from separate directory.</li>
10257
10258    <li>renamed xtermm terminfo entry to xterm-mono, to avoid
10259    conflict with Solaris entry now in ncurses.</li>
10260  </ul>
10261
10262  <h1><a name="xterm_84" id="xterm_84">Patch #84 - 1998/10/9 -
10263  XFree86 3.9Ni and 3.3.2e</a></h1>
10264
10265  <p>Several small fixes and enhancements, including a patch from
10266  Bjorn Helgaas:</p>
10267
10268  <ul>
10269    <li>correct initialization of TERMCAP environment variable,
10270    which was frequently set to garbage on non-Linux systems
10271    because "termcap" and "newtc" contained random data from the
10272    stack.</li>
10273
10274    <li>remove the LINEWRAPPED attribute from lines as they are
10275    cleared. Previously, the attribute was set but never
10276    cleared.</li>
10277
10278    <li>make word and line selections work even when lines are
10279    wrapped by xterm. Previously, selections were limited to one
10280    screen line.</li>
10281  </ul>
10282
10283  <p>as well as</p>
10284
10285  <ul>
10286    <li>modify logic for line-wrapping to reset the associated flag
10287    if the application deletes a character. This fixes a problem
10288    reported by Bjorn Helgaas where word/line selection would still
10289    wrap even after deleting characters from the first line.</li>
10290
10291    <li>add kll/kH capabilities to xterm-xfree86 entries in termcap
10292    and terminfo (request by Michael Schroeder).</li>
10293
10294    <li>shorten descriptions in termcap to make resolved entries
10295    all shorter than 1023 character limit.</li>
10296
10297    <li>use DECSTR control sequence to shorten initialization and
10298    reset strings in xterm-xfree86 termcap and terminfo.</li>
10299
10300    <li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match
10301    termcap.</li>
10302
10303    <li>correct typos in initialization and reset strings in
10304    xterm-r5 termcap and terminfo.</li>
10305
10306    <li>disable special translations of key symbols (the backarrow
10307    key, the editing keypad and the keypad "+") when a modifier
10308    other than shift, control or numlock is used. This makes xterm
10309    handle the meta key as expected by people using emacs (reported
10310    by Pete Harlan &lt;harlan@pointofchoice.com&gt; in
10311    linux.debian.user newsgroup).</li>
10312  </ul>
10313
10314  <h1><a name="sync_83" id="sync_83">Resync #83 - 1998/10/7 -
10315  XFree86 3.3.2e</a></h1>
10316
10317  <p>Merge changes through patch #83 with the 3.3.2e version.</p>
10318
10319  <p>This follows a change from XFree86 CVS which adds checks for
10320  non-null return from malloc (patch by Matthieu Herrb).</p>
10321
10322  <h1><a name="xterm_83" id="xterm_83">Patch #83 - 1998/8/25 -
10323  XFree86 3.9Nb</a></h1>
10324
10325  <p>Several small fixes and enhancements:</p>
10326
10327  <ul>
10328    <li>add configure test to infer if xterm should be installed
10329    setuid based on previously installed xterm (reported by Stephen
10330    Marley and Stefan Dalibor).</li>
10331
10332    <li>implement quasi-continuous mouse reporting (integrated
10333    patch by Jason Bacon).</li>
10334
10335    <li>correct control sequences transmitted by function keys F1
10336    to F4 when sunFunctionKeys resource is true (it was still using
10337    the VT100 control sequences).</li>
10338
10339    <li>modify handling of backarrow key so that the control
10340    modifier toggles the backspace/delete interpretation set by the
10341    backarrowKey resource.</li>
10342
10343    <li>limit the row and column values used to report mouse
10344    position.</li>
10345  </ul>
10346
10347  <p>From resync with XFree86 3.9Nb:</p>
10348
10349  <ul>
10350    <li>add support for the VSTATUS control character (patch by
10351    Robert Earl &lt;rearl@teleport.com&gt;).</li>
10352  </ul>
10353
10354  <h1><a name="xterm_82" id="xterm_82">Patch #82 - 1998/7/15 -
10355  XFree86 3.9Aj</a></h1>
10356
10357  <p>Bug fix for patch #81:</p>
10358
10359  <ul>
10360    <li>remove an #undef for NBBY, which caused compile problem on
10361    FreeBSD (reported by David Dawes).</li>
10362  </ul>
10363
10364  <h1><a name="xterm_81" id="xterm_81">Patch #81 - 1998/7/14 -
10365  XFree86 3.9Aj</a></h1>
10366
10367  <p>More bug fixes:</p>
10368
10369  <ul>
10370    <li>fix conflicting ifdef's for TIOCSLTC when building with
10371    Linux on AXP aka DEC Alpha (reported by Robin Cutshaw).</li>
10372
10373    <li>correction to patch #79, move assignment for
10374    *utptr-&gt;ut_user = 0; back into non-SVR4 ifdef in main.c,
10375    since this clobbers username on Solaris 2.5.1 (analysis by Will
10376    Day &lt;willday@rom.oit.gatech.edu&gt;).</li>
10377
10378    <li>corrected khome/kend in xterm-8bit terminfo
10379    description.</li>
10380
10381    <li>improve cursor color by making it always the reverse of
10382    fg/bg unless the cursorColor resource is set, i.e., to
10383    something other than the default foreground (reported by Vikas
10384    Agnihotri and Bram Moolenaar).</li>
10385
10386    <li>minor fixes for compiler warnings, including a syntax error
10387    in the AMOEBA ifdef's.</li>
10388  </ul>
10389
10390  <p>From resync with XFree86 3.9Aj:</p>
10391
10392  <ul>
10393    <li>correction to patch #73, supply missing #else for fallback
10394    definitions of size_t, time_t (Robin Cutshaw
10395    &lt;robin@intercore.com&gt;).</li>
10396  </ul>
10397
10398  <h1><a name="xterm_80" id="xterm_80">Patch #80 - 1998/6/29 -
10399  XFree86 3.9Ai</a></h1>
10400
10401  <p>This fixes a couple of items leftover or introduced by patch
10402  79:</p>
10403
10404  <ul>
10405    <li>take out the logic that suppresses editing-keypad in vt100
10406    mode (those keys are too valuable to give up for a fine point
10407    of emulation).</li>
10408
10409    <li>corrected a couple of places in terminfo where I missed
10410    using the vt220-style editing-keypad codes for Find/Select
10411    (mapped to Home/End).</li>
10412
10413    <li>checked termcap file against terminfo, fix several places
10414    where it was inconsistent.</li>
10415  </ul>
10416
10417  <h1><a name="xterm_79" id="xterm_79">Patch #79 - 1998/6/28 -
10418  XFree86 3.9Ai</a></h1>
10419
10420  <p>This patch fixes several small bugs:</p>
10421
10422  <ul>
10423    <li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas
10424    Vanhala).</li>
10425
10426    <li>add new resource 'oldXtermFKeys' which provides backward
10427    compatibility for F1-F4 control sequences with TOG's
10428    xterm.</li>
10429
10430    <li>determine the server's default foreground/background Pixel
10431    values, needed if the -flipPixels X server option is used
10432    (reported by David Dawes).</li>
10433
10434    <li>correct logic for F1-F4 function keys so that they generate
10435    VT100 compatible escape sequences in VT220 mode, since that is
10436    what the numeric keypad is supposed to do (reported by Ron
10437    Johnson, Jr. &lt;ronjohn@communique.net&gt;).</li>
10438
10439    <li>modify logic for editing keypad to work more like VT220:
10440    don't pass those codes in VT100-mode unless oldXtermFKeys mode
10441    is set.</li>
10442
10443    <li>correct an interaction with the editing-keypad logic that
10444    prevented backarrow key from sending a 127 for the delete key
10445    (the 'remove' escape sequence was being sent instead).</li>
10446
10447    <li>use return-value from getuid() rather than the parameter,
10448    to work on systems which do not update the latter (patch by
10449    Kevin Buhr &lt;buhr@mozart.stat.wisc.edu&gt;)</li>
10450
10451    <li>correct scrollbar border color when toggling to/from secure
10452    keyboard mode (patch by Jeff Uphoff
10453    &lt;juphoff@tarsier.cv.nrao.edu&gt;)</li>
10454
10455    <li>modifications to terminfo file:
10456
10457      <ul>
10458        <li>rename description to xterm-xfree86, adding an entry
10459        'xterm' which is derived from xterm-xfree86 to simplify
10460        customization.</li>
10461
10462        <li>change string for kdch1 from \177 to \E[3~, to address
10463        complaints from Debian developers. (This applies to the key
10464        labeled "Delete", and does not affect the backarrow
10465        key).</li>
10466
10467        <li>add user-strings u6, u7, u8, u9 to entries to make them
10468        work with Daniel Weaver's "tack" program.</li>
10469
10470        <li>modify xterm-24, xterm-bold, xterm-boldso entries to
10471        disentangle them from explicit dependency upon
10472        xterm-xfree86.</li>
10473
10474        <li>add generic 'xterm-color' entry.</li>
10475
10476        <li>minor corrections to xterm-xfree86, xterm-8bit,
10477        xterm-r5 and xterm-r6 entries.</li>
10478      </ul>
10479    </li>
10480  </ul>
10481
10482  <h1><a name="xterm_78" id="xterm_78">Patch #78 - 1998/6/3 -
10483  XFree86 3.9Ah and 3.3.2</a></h1>
10484
10485  <p>Again, most of the bulk of this patch is for ANSI conversion.
10486  I used the IRIX compiler's -wlint option to find the remaining
10487  functions that use K&amp;R syntax (since gcc does not do this
10488  properly). Also, I changed the logic in the print code slightly
10489  to close unwanted files before opening a pipe to the printer.
10490  This may help in some configurations where the line printer hangs
10491  until xterm closes the pipe.</p>
10492
10493  <h1><a name="xterm_77" id="xterm_77">Patch #77 - 1998/5/26 -
10494  XFree86 3.9Ah and 3.3.2</a></h1>
10495
10496  <p>Most of the bulk of this patch is to convert the extended C
10497  (K&amp;R functions with prototypes) to ANSI. I verified that on
10498  Linux by comparing object files, to ensure that I did not, for
10499  example, interchange parameters in the function declarations.</p>
10500
10501  <p>The rest of the patch fixes several minor bugs, and adds a few
10502  features:</p>
10503
10504  <ul>
10505    <li>back-out my use of ncurses "captoinfo -f" option
10506    (if/then/else/endif) formatting, since ncurses did not
10507    correctly filter embedded newlines in terminfo capability
10508    strings until _after_ ncurses 4.1, thus corrupting
10509    setf/setb/sgr strings (reported by Darren Hiebert and
10510    others).</li>
10511
10512    <li>document SGR 8, 28 (invisible/visible), add corresponding
10513    capabilities to terminfo description.
10514
10515      <p>I would also add the 'prot protected capability, but the
10516      control sequences for that would not be recognized or
10517      properly ignored by the older xterm programs.</p>
10518    </li>
10519
10520    <li>modify ChangeGroup to not suppress a null-resource, but
10521    treat it as an empty string (recommended by Stefan
10522    Dalibor).</li>
10523
10524    <li>add printerAutoClose resource to control whether printer is
10525    closed when going offline. More than one person reports
10526    problems (on Solaris 2.6 and Digital Unix 4.0) getting the
10527    printer to proceed unless xterm exits; I think that it is a
10528    problem flushing the pipe. Closing it ought to flush it.</li>
10529
10530    <li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N
10531    (but adapt XtStackAlloc/XtStackFree for clarity, as well as
10532    fixing memory leak).</li>
10533
10534    <li>change calls on FillCurBackground to ClearCurBackground, in
10535    effect using XClearArea rather than XFillRectangle when
10536    clearing as a side-effect of scrolling and insertion (patch by
10537    Alexander V Lukyanov)</li>
10538
10539    <li>correct some places where insert/delete did not _move_ the
10540    color attributes, using memmove (patch by Alexander V Lukyanov
10541    &lt;lav@long.yar.ru&gt;)</li>
10542
10543    <li>add ifdef's for __CYGWIN32__, for port to cygnus version
10544    B19.1 (patch by Andrew Sumner
10545    &lt;andrew_sumner@hotmail.com&gt;).</li>
10546
10547    <li>remove #define for hpux that turned on USE_SYSV_ENVVARS,
10548    since this causes some applications (such as 'less') to get
10549    incorrect $LINES and $COLUMNS values (reported by Clint
10550    Olsen).</li>
10551
10552    <li>modify behavior for HP-UX, to set the "reserved" process
10553    group controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does
10554    not produce an error (patch by Ben Yoshino
10555    &lt;ben@wiliki.eng.hawaii.edu&gt;).</li>
10556
10557    <li>correct length of underlining, reducing it by one pixel to
10558    avoid leaving a dot when the application does not clear the
10559    whole screen I noticed this only recently myself (and other
10560    people as well); it depends on the font chosen. A 6x10 font
10561    shows it, but the other fonts from XTerm.ad do not. I also see
10562    a similar problem with the emulation of bold fonts. (patch by
10563    Sergei Laskavy &lt;Laskavy@cs.msu.su&gt;).</li>
10564
10565    <li>add include for Xos.h to xterm.h, to ensure proper
10566    definitions (reported by Holger Veit).</li>
10567
10568    <li>update config.guess to recognize Unixware 2.1 and 7 (patch
10569    by Mike Hopkirk &lt;hops@sco.com&gt;).</li>
10570  </ul>
10571
10572  <h1><a name="xterm_76" id="xterm_76">Patch #76 - 1998/5/8 -
10573  XFree86 3.9Ah and 3.3.2</a></h1>
10574
10575  <p>A fix for the print-window function, and some minor
10576  cleanup:</p>
10577
10578  <ul>
10579    <li>modify logic that closes pipe in the print-window function
10580    to not use pclose, which does not work on all systems, since I
10581    did not open the pipe with popen (reported by Stefan
10582    Dalibor).</li>
10583
10584    <li>correct name of $(EXTRA_LOAD_FLAGS) imake variable
10585    (reported by Stefan Dalibor).</li>
10586
10587    <li>guard logic in ChangeGroup() function against null pointer
10588    (reported by Stefan Dalibor).</li>
10589
10590    <li>ensure that menu entry for toggling sunKeyboard resource is
10591    initialized (reported by Branden Robinson
10592    &lt;branden@purdue.edu&gt;).</li>
10593
10594    <li>gcc unused-variable warnings (reported by Bernd Ernesti
10595    &lt;bernd@arresum.inka.de&gt;)</li>
10596
10597    <li>rename global variable 'buffer' to 'VTbuffer'</li>
10598  </ul>
10599
10600  <h1><a name="xterm_75" id="xterm_75">Patch #75 - 1998/5/7 -
10601  XFree86 3.9Ah and 3.3.2</a></h1>
10602
10603  <p>This incorporates fixes from several people, as well as some
10604  improvements that I made based on feedback from users:</p>
10605
10606  <ul>
10607    <li>add option to standalone configure script,
10608    "--with-own-terminfo-dir", which causes xterm to pass a
10609    predefined value of $TERMINFO to the application. Also use this
10610    value in install rule "make install-ti", for the standalone
10611    configure script. (patch &amp; feedback from Tor Lillqvist
10612    &lt;tml@hemuli.tte.vtt.fi&gt;)</li>
10613
10614    <li>change ifdef's for "hpux" to "__hpux" (patch by Tor
10615    Lillqvist). The imake configuration uses the former, but the
10616    latter is predefined by HP's compilers.</li>
10617
10618    <li>define USE_SYSV_ENVVARS for HP-UX, curses does not use
10619    $TERMCAP (patch by Tor Lillqvist).</li>
10620
10621    <li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's.
10622    Works both on HP-UX 9 and 10. (patch by Tor Lillqvist).</li>
10623
10624    <li>modify configure script to obtain the $(EXTRA_LOADFLAGS)
10625    value from imake, needed for compiling under DEC OSF/1
10626    (reported by Stefan Dalibor)</li>
10627
10628    <li>modify print-window action so that the printer is closed
10629    after printing a window, unless the printer was already opened
10630    (i.e., by an application running in the window). This makes the
10631    printing complete without having to exit xterm, since not all
10632    systems treat fflush through a pipe very well (reported by
10633    Stefan Dalibor)</li>
10634
10635    <li>modify printing code so that the ^M's are not printed if
10636    the printAttribute resource is set to zero (request by Stefan
10637    Dalibor).</li>
10638
10639    <li>correct typo in xterm.man, for the default value of
10640    printAttribute (reported by Stefan Dalibor).</li>
10641
10642    <li>correct printing code so that the alternate character set
10643    is printed, like other attributes, with escape sequences.</li>
10644
10645    <li>correct termcap description, removing spurious 'm'
10646    character from the 'op' capability (reported by Greg Woods
10647    &lt;woods@weird.com&gt;).</li>
10648
10649    <li>correct trace code so that the initial timestamp is
10650    set.</li>
10651
10652    <li>correct/modify utmp data for the Linux glibc 2
10653    configuration, so that the ut_line member is set before using
10654    it to update wtmp (patch by Bill Nottingham
10655    &lt;wen1@cec.wustl.edu&gt;).</li>
10656  </ul>
10657
10658  <h1><a name="xterm_74" id="xterm_74">Patch #74 - 1998/4/27 -
10659  XFree86 3.9Ag and 3.3.2</a></h1>
10660
10661  <p>This corrects a couple of recent bugs and adds a new
10662  resource:</p>
10663
10664  <ul>
10665    <li>modify definition of TRACE_CHILD so that it does not
10666    conflict with ifdef's for USE_USG_PTYS in main.c (reported by
10667    Vikas Agnihotri &lt;VikasA@att.com&gt; and Stefan
10668    Dalibor).</li>
10669
10670    <li>correct ownership of file (actually pipe) written by the
10671    print controls. When undoing the setuid changes in patch #69, I
10672    overlooked this. Now xterm forks a process which resets setuid
10673    and routes the printer data as the real user.</li>
10674
10675    <li>add a new resource, "printAttributes", which controls
10676    whether color attributes (or any attributes) are sent to the
10677    printer.</li>
10678  </ul>
10679
10680  <h1><a name="xterm_73" id="xterm_73">Patch #73 - 1998/4/25 -
10681  XFree86 3.9Ag and 3.3.2</a></h1>
10682
10683  <p>This patch does the following:</p>
10684
10685  <ul>
10686    <li>implements a print-window facility for xterm. Though useful
10687    in itself, I added it as part of some debugging which I am
10688    doing. (Occasionally during an exposure event xterm fails to
10689    restore the proper colors for highlighted text, and printing
10690    the screen will show the internal states nicely).
10691
10692      <p>The print facility now also displays the color
10693      information. (I will probably make this a resource).</p>
10694    </li>
10695
10696    <li>modified the xterm-16color terminfo description to use the
10697    setaf and setab strings, which is a little more efficient
10698    (requested by Stephen Marley).</li>
10699
10700    <li>reduced some clutter of the ifdef/includes (e.g., stdlib.h,
10701    unistd.h, errno) making the configure script test for these.
10702
10703      <p>I removed the symbols Size_t and Time_t, since they no
10704      longer serve a useful purpose.</p>
10705    </li>
10706
10707    <li>added some debugging traces to show the initial screen
10708    size, and the success/failure of the ioctl calls pass handle
10709    window resizing events to the application (for Clint Olsen).
10710
10711      <p>I also modified the trace code to produce two files since
10712      some of the information is produced by the child process. So
10713      now they are Trace-parent.out and Trace-child.out</p>
10714    </li>
10715
10716    <li>updated configure test for ANSI compiler options to handle
10717    a special case for HP-UX 10.x (reported by Clint Olsen).</li>
10718  </ul>
10719
10720  <h1><a name="xterm_72" id="xterm_72">Patch #72 - 1998/4/17 -
10721  XFree86 3.9Ag and 3.3.2</a></h1>
10722
10723  <p>This is a patch from Chris Siebenmann
10724  &lt;cks@hawkwind.utcs.toronto.edu&gt;, which I have cleaned up a
10725  little, and integrated into the configure script.</p>
10726
10727  <p>From his description:</p>
10728
10729  <blockquote>
10730    <p>This set of patches is the latest incarnation of patches
10731    originally written by Ian! D Allen, then of the University of
10732    Waterloo and now of who knows where; I have been carrying them
10733    forward from xterm to xterm ever since about X11R4. What they
10734    do is add an option so that when an iconified xterm receives
10735    output it prepends '*** ' to its icon title and (optionally)
10736    beeps the bell; deiconifying the xterm removes the '*** '. Over
10737    the years I've found this to be incredibly convenient for
10738    monitoring all sorts of low-activity things.</p>
10739  </blockquote>
10740
10741  <h1><a name="xterm_71" id="xterm_71">Patch #71 - 1998/4/12 -
10742  XFree86 3.9Ag and 3.3.2</a></h1>
10743
10744  <p>This patch is a slightly modified version of one by Richard
10745  Braakman, which prevents buffer overflow in the input-method and
10746  preedit-type parsing in xterm. I changed a couple of details to
10747  make the code more maintainable, and looked for similar things -
10748  copying into a fixed-size buffer (found none, though I did spot
10749  an unused variable).</p>
10750
10751  <h1><a name="xterm_70" id="xterm_70">Patch #70 - 1998/3/29 -
10752  XFree86 3.9Af and 3.3.2</a></h1>
10753
10754  <p>This patch corrects some minor bugs in xterm, and fills in
10755  some more details in the VT220 emulation:</p>
10756
10757  <ul>
10758    <li>modify Imakefile to use SpecialCObjectRule for menu and
10759    data modules, making xterm build properly if logging is enabled
10760    (patch by Scott Sewall &lt;scott@iprg.nokia.com&gt;).</li>
10761
10762    <li>restore "ich" capability to terminfo entries, since Michael
10763    Schroeder points out that "ich1" is the one which is the
10764    problem in Solaris vi.</li>
10765
10766    <li>correct color of cursor, which would disappear on
10767    inverse-video since the initialization did not compare the
10768    cursor color against both foreground and background (reported
10769    by Olivier Calle).</li>
10770
10771    <li>correct abbreviation-test for -version and -help options,
10772    making command-line option -vb work (reported by Stefan
10773    Dalibor).</li>
10774
10775    <li>correct a dependency between ifdef's for OPT_I18N_SUPPORT
10776    and OPT_INPUT_METHOD (reported by Stefan Dalibor).</li>
10777
10778    <li>split-out character-set translations as new module
10779    charsets.c, to implement VT220 national replacement character
10780    sets (a mode where some of the characters are displayed as
10781    specific European glyphs). This relies on xterm using an ISO
10782    8859-1 font (approach suggested by Kenneth R. Robinette
10783    &lt;zkrr01@mailbox.neosoft.com&gt;).</li>
10784
10785    <li>correct a missing increment, which made SS2 and SS3
10786    controls repeat the shifted character.</li>
10787
10788    <li>add xterm-nrc to terminfo to illustrate the VT220 national
10789    replacement character sets.</li>
10790
10791    <li>reformat terminfo using new ncurses tic option "-f", which
10792    makes if/then/else/endif expressions easier to read.</li>
10793  </ul>
10794
10795  <h1><a name="xterm_69" id="xterm_69">Patch #69 - 1998/3/16 -
10796  XFree86 3.9Ad and 3.3.2</a></h1>
10797
10798  <p>This corrects the problem in xterm with utmp, reported by
10799  Olivier Calle &lt;olivier@tc.fluke.com&gt; as well as some other
10800  people after the XFree86 3.3.2 release.</p>
10801
10802  <p>The error was introduced by my patch #53 in XFree86 3.9r
10803  (October 1997).</p>
10804
10805  <p>The correction removes the reset of setuid/setgid before the
10806  main event loop, and solves the problem which I had worked around
10807  in a different manner: for some reason, the particular waitpid()
10808  call in creat_as() hangs, does not return when the child process
10809  exits. I changed the ifdef's to force the Linux configuration to
10810  use wait() instead. This call appears to work properly on other
10811  platforms such as SunOS and Solaris.</p>
10812
10813  <p>I also added tests in the standalone configure script to check
10814  for the existence of waitpid().</p>
10815
10816  <h1><a name="xterm_68" id="xterm_68">Patch #68 - 1998/3/4 -
10817  XFree86 3.9Ad and 3.3.1z</a></h1>
10818
10819  <p>This corrects another problem with the logic for
10820  highlightColor resource. As reported by David Dawes:</p>
10821
10822  <blockquote>
10823    <p>I've just noticed a problem with with the "inverse" control
10824    sequence (ESC[7m) with the 3.3.2 xterm. What it does is sets
10825    the background black, and the text the usual foreground colour
10826    rather than simply swapping the foreground/background.</p>
10827  </blockquote>
10828
10829  <p>This appears to be because when I added logic to check that
10830  the highlightColor was distinct from foreground and background
10831  colors, I did not add a further check to see that it was not
10832  black (I would make an explicit check for the resource not being
10833  set, but see nothing definite in the headers that would let me
10834  reference an explicitly-undefined Pixel value, though there are
10835  some implications in xpm.h). But this should work.</p>
10836
10837  <h1><a name="xterm_67" id="xterm_67">Patch #67 - 1998/2/23 -
10838  XFree86 3.9Ad and 3.3.1e</a></h1>
10839
10840  <p>This patch does the following:</p>
10841
10842  <ul>
10843    <li>improve test for highlightColor so that xterm does not
10844    attempt to use that unless it is different from the foreground
10845    and background colors (reported by Stefan Dalibor
10846    &lt;Stefan.Dalibor@informatik.uni-erlangen.de&gt;.
10847
10848      <p>I could not reproduce this until I noticed that the -rev
10849      option exposed it nicely.</p>
10850    </li>
10851
10852    <li>remove ich and ich1 from xterm and xterm-8bit terminfo
10853    descriptions. SVr4 terminfo documents that you must not combine
10854    these with smir/rmir, but ncurses allows it, opening a hole.
10855    Solaris 2.6 vi does not work properly if it is using a terminfo
10856    description when these are combined, since it was written to
10857    accommodate old terminals that required it (reported by Stephen
10858    Marley).</li>
10859
10860    <li>restore 1-pixel overlap of scrollbar border with left edge
10861    of window (reported by Jim Burmeister
10862    &lt;jimb@metrolink.com&gt;).</li>
10863
10864    <li>add a configure option, --enable-logfile-exec, which allows
10865    the user to specify a pipe for logfile. This defines
10866    ALLOWLOGFILEEXEC.</li>
10867
10868    <li>makes the ALLOWLOGFILEEXEC code compile &amp; run, if
10869    configured.</li>
10870
10871    <li>minor documentation nits.</li>
10872  </ul>
10873
10874  <h1><a name="xterm_66" id="xterm_66">Patch #66 - 1998/2/16 -
10875  XFree86 3.9Ad and 3.3.1d</a></h1>
10876
10877  <p>This fixes the problem reported with failure to build the
10878  <em>resize</em> program (BSDI, OSF/1) due to not having
10879  &lt;termcap.h&gt;, by changing the ifdef to one that would be set
10880  only if the file exists (not currently specified, except by the
10881  standalone configure script). We do not really need to include
10882  &lt;termcap.h&gt; to build, but only for a clean compile, since
10883  it may declare the tgetent() prototype. I also updated the
10884  man-page for <em>resize</em>, since I had recently noticed that
10885  it can be used to resize <em>xterm</em> using the "Sun" control
10886  sequences option.</p>
10887
10888  <h1><a name="xterm_65" id="xterm_65">Patch #65 - 1998/2/14 -
10889  XFree86 3.9Ad and 3.3.1c</a></h1>
10890
10891  <p>This is a small patch to xterm's 8-bit terminal description. I
10892  noticed while testing ncurses that I had specified the wrong
10893  (VT100-style) codes for the F1-F4. Xterm only uses VT220-style
10894  function keys in 8-bit mode.</p>
10895
10896  <h1><a name="xterm_64" id="xterm_64">Patch #64 - 1998/2/8 -
10897  XFree86 3.9Ad</a></h1>
10898
10899  <p>This fixes the following problems with xterm:</p>
10900
10901  <ul>
10902    <li>save/restore the ANSI foreground and background colors with
10903    the other visible attributes in the save-cursor and
10904    restore-cursor operations. This works around a problem with
10905    vim, which apparently assumed that switching between the normal
10906    and alternate screens resets the colors (reported by Jim Battle
10907    &lt;jb@chromatic.com&gt;).
10908
10909      <p>It would be nice to implement save/restore cursor as a
10910      stack (and solve this type of problem completely), but that
10911      would lead to incompatibility with applications which assume
10912      they are running with a VT100 or VT220.</p>
10913    </li>
10914
10915    <li>corrects behavior of a restore-cursor operation which does
10916    not follow a save-cursor (it is supposed to set the character
10917    sets to a known initial state).</li>
10918
10919    <li>extends the sunKeyboard resource (and menu toggle) to
10920    modify the home, end and delete keys on a Sun or PC editing
10921    keypad, making them generate codes compatible with DEC VT220's
10922    Find, Select and Remove keys.</li>
10923
10924    <li>corrects a length in checking command-line options, which
10925    caused the "-help" message to not work when X was not
10926    running.</li>
10927
10928    <li>add some detail to the man-page (requested by Jason Bacon
10929    &lt;acadix@execpc.com&gt;)</li>
10930
10931    <li>modify the standalone configure script to ignore the broken
10932    nsl and socket libraries on IRIX 6.2 (the ones on 5.2 also are
10933    broken, so this change just widens the check for the system
10934    version number).</li>
10935  </ul>
10936
10937  <h1><a name="xterm_63" id="xterm_63">Patch #63 - 1998/2/5 -
10938  XFree86 3.9Ad</a></h1>
10939
10940  <p>This is another patch from Bjorn Helgaas
10941  &lt;helgaas@rsn.hp.com&gt;, which I've reviewed (and learned
10942  some). Following are his notes:</p>
10943
10944  <p>I poked around some more and finally got xterm-62 to build and
10945  run cleanly on HP-UX 10.20. Here are the patches. They look sort
10946  of ugly, so here's a little explanation:</p>
10947
10948  <ul>
10949    <li>aclocal.m4: Removed side effects from the AC_CACHE_VAL
10950    commands in CF_FUNC_TGETENT. Previously, LIBS was set inside
10951    AC_CACHE_VAL, which worked fine the first time configure was
10952    run, but failed if there were cached values.</li>
10953
10954    <li>aclocal.m4: Added temporary setting of LIBS before
10955    AC_TRY_LINK in CF_FUNC_TGETENT. Previously, the last value set
10956    by the AC_TRY_RUN loop was used, so only -lcurses was
10957    checked.</li>
10958
10959    <li>configure.in: Added temporary setting of CPPFLAGS before
10960    AC_CHECK_HEADERS for X11 files. Previously
10961    &lt;X11/DECkeysym.h&gt; and &lt;X11/Xpoll.h&gt; were found only
10962    if they were in the compiler's default include directories,
10963    even if `--x-includes=DIR' had been used or AC_PATH_XTRA had
10964    found them elsewhere.</li>
10965  </ul>
10966
10967  <p>The problem on HP-UX was that we were linking with -lcurses
10968  rather than -ltermcap due to the second bullet above, and
10969  apparently something in HP-UX curses is broken. This seems very
10970  strange, because the only thing used is tgetent, which should
10971  affect any tty/pty configuration, but I lost interest in tracking
10972  down the exact problem.</p>
10973
10974  <h1><a name="xterm_62" id="xterm_62">Patch #62 - 1998/1/23 -
10975  XFree86 3.9Ac</a></h1>
10976
10977  <p>This is a patch mostly by Bjorn Helgaas
10978  &lt;helgaas@dhc.net&gt; (I added the os2main.c change, and a
10979  little of the documentation). From Bjorn's description:</p>
10980
10981  <ul>
10982    <li>If you use the "-hc &lt;color&gt;" option or set the
10983    "highlightColor" resource, text is highlighted by changing only
10984    the background color, rather than using reverse video. I find
10985    this easier to read, especially when selecting multi-colored
10986    text, and it is similar to the way Netscape shows
10987    selections.</li>
10988
10989    <li>Most of the code changes are under "#if
10990    OPT_HIGHLIGHT_COLOR". The principal exception is in screen.c,
10991    where I added a couple calls to resetXtermGC(). This seems like
10992    it could be a bug even without the color highlighting changes
10993    (though I don't pretend to understand all the logic).</li>
10994  </ul>
10995
10996  <h1><a name="xterm_61" id="xterm_61">Patch #61 - 1998/1/17 -
10997  XFree86 3.9Ac</a></h1>
10998
10999  <p>This patch modifies the reset behavior of xterm slightly:</p>
11000
11001  <ul>
11002    <li>change the terminfo entry so that rs1 (one of the strings
11003    used by the 'reset' program) does a hard reset rather than
11004    switching character sets. This is more in accord with other
11005    terminal descriptions.</li>
11006
11007    <li>modifies the treatment of hard reset by the xterm program
11008    to reset the saved lines.</li>
11009
11010    <li>corrects hard reset by also resetting user-defined keys,
11011    i.e., DECUDK.</li>
11012  </ul>
11013
11014  <h1><a name="xterm_60" id="xterm_60">Patch #60 - 1998/1/10 -
11015  XFree86 3.9Ab</a></h1>
11016
11017  <p>This fixes some minor bugs and adds new functionality:</p>
11018
11019  <ul>
11020    <li>add support for blinking text.
11021
11022      <ul>
11023        <li>This does not actually cause the text to flash, but
11024        text with the blink attribute can be displayed in color,
11025        using new resources colorBL and colorBLMode.</li>
11026
11027        <li>If colors are not used, the blinking text will be
11028        displayed as before (just like bold). The main purpose of
11029        this is to make applications work properly when they assume
11030        the emulator supports blinking text.</li>
11031
11032        <li>I did this by moving the per-cell LINEWRAPPED flag to a
11033        per-line flag, to make room for the new BLINK flag. There
11034        were no per-line flags, so this changes a lot of
11035        logic.</li>
11036      </ul>
11037    </li>
11038
11039    <li>corrected missing save-cursor logic in the handling of SGR
11040    1048 (the new control sequence I added in patch #54,
11041    1997/10/17). Reported by Darren Hiebert.</li>
11042
11043    <li>flush the output of the transparent printing after each
11044    line Reported by Tomas Vanhala
11045    &lt;vanhala@ling.helsinki.fi&gt;.</li>
11046
11047    <li>correct the modes that are affected by save/restore cursor
11048    by adding WRAPAROUND and PROTECTED.</li>
11049
11050    <li>corrected placement of one of the XSync calls that I added
11051    in patch #51, 1997/9/15, which had the side-effect of writing
11052    on the window border when the xterm was resizing from 132 to 80
11053    columns.</li>
11054
11055    <li>work around an incompatibility of the XKB definition used
11056    in xterm versus that symbol from IRIX 6.2's imake definitions
11057    (by adjusting the standalone configure script).</li>
11058  </ul>
11059
11060  <h1><a name="xterm_59" id="xterm_59">Patch #59 - 1998/1/5 -
11061  XFree86 3.9Ab</a></h1>
11062
11063  <p>My last patch has an off-by-one error in the comparison for
11064  argc. Douglas Kosovic &lt;douglask@dstc.edu.au&gt; showed me
11065  where (he got a core dump). Also, I think this explains Clint
11066  Olsen's problem, but the symptoms were more subtle (EINVAL for a
11067  system call if the -display option is omitted).</p>
11068
11069  <h1><a name="xterm_58" id="xterm_58">Patch #58 - 1998/1/3 -
11070  XFree86 3.9Ab</a></h1>
11071
11072  <p>This patch does the following:</p>
11073
11074  <ul>
11075    <li>implement logic to permit xterm to work with proportional
11076    fonts.
11077
11078      <ul>
11079        <li>Thomas Wolff &lt;Thomas.Wolff@sietec.de&gt; requested
11080        this (but it isn't exactly what he's asking for - that's a
11081        more involved task).</li>
11082
11083        <li>I chose to do this by rendering the characters on a
11084        fixed pitch, because it would not be useful for existing
11085        applications to display varying numbers of characters on
11086        each line.</li>
11087
11088        <li>Except that this forces the display to be wider, it
11089        works reasonably well. A couple of special cases (reverse +
11090        colorBD, for example) do not display with proper colors,
11091        since the inter-character gaps are painted with the
11092        background.</li>
11093      </ul>
11094    </li>
11095
11096    <li>added a version number to the program (several people have
11097    requested this).</li>
11098
11099    <li>make the -version and -help options interpreted before the
11100    program attempts to open the display.</li>
11101
11102    <li>minor reorganization of the man-page (ordered the options,
11103    resources and translations alphabetically - and eliminated some
11104    duplication).</li>
11105
11106    <li>corrected a misspelled filename in Makefile.in, and added a
11107    lint rule.</li>
11108
11109    <li>updated the configure script to correct behavior when it
11110    cannot find imake, as well as to fix the IRIX+gcc build
11111    (conflict with /usr/include).</li>
11112
11113    <li>regenerated the configure script with a newer patch to
11114    autoconf that fixes a problem with environment space vs the
11115    configure --help message.</li>
11116  </ul>
11117
11118  <h1><a name="xterm_57" id="xterm_57">Patch #57 - 1997/12/26 -
11119  XFree86 3.9Aa</a></h1>
11120
11121  <p>This patch is mostly concerned with the standalone configure
11122  script; a few minor corrections are added:</p>
11123
11124  <ul>
11125    <li>add configure option --disable-tek4014, to allow xterm to
11126    be built without the tek4014 emulation.</li>
11127
11128    <li>add configure option --with-terminal-type, to allow xterm
11129    to be compiled with default $TERM value other than "xterm"
11130    (e.g., "xterm-16color") -- requested by Stephen Marley
11131    &lt;stephen@memex.com&gt;.</li>
11132
11133    <li>fix a typo in the configure --help message -- reported by
11134    Darren Hiebert &lt;darren@hmi.com&gt;.</li>
11135
11136    <li>review diffs between main.c and os2main.c, to make them
11137    more alike. (applies some minor bug-fixes to OS/2's
11138    version).</li>
11139
11140    <li>add missing quotes in memmove/bcopy configure test</li>
11141  </ul>
11142
11143  <h1><a name="xterm_56" id="xterm_56">Patch #56 - 1997/11/28 -
11144  XFree86 3.9x</a></h1>
11145
11146  <p>This patch is based on analysis by Arfst Ludwig
11147  &lt;arfst@luxor.IN-Berlin.DE&gt;, who reported:</p>
11148
11149  <blockquote>
11150    <p>Setting the following resources xterm (all current versions)
11151    receives a segmentation fault on &lt;Btn2Up&gt; after
11152    scrolling:</p>
11153    <pre>
11154          *XTerm*VT100*translations:    #override \
11155              ~Shift~Ctrl&lt;Btn2Up&gt;: insert-selection(PRIMARY, CUT_BUFFER0)\n\
11156              Shift~Ctrl&lt;Btn2Up&gt;:  insert-selection(CLIPBOARD, CUT_BUFFER1)\n\
11157              ~Shift&lt;BtnUp&gt;:       select-end(PRIMARY, CUT_BUFFER0)\n\
11158              Shift&lt;BtnUp&gt;:        select-end(CLIPBOARD, CUT_BUFFER1)
11159</pre>
11160
11161    <p>(The above resources intention is to be able to paste the
11162    latest selection even if the xterm was cleared.)</p>
11163
11164    <p>And here is how it works (and a fix!): The widget given to
11165    the action handler as first argument is not guaranteed to be a
11166    XtermWidget (it can be the ScrollbarWidget). Instead of
11167    accessing the widget's member directly XtDisplay gives the
11168    required pointer in a safe way.</p>
11169  </blockquote>
11170
11171  <p>I noticed that this was not the only instance (by reading the
11172  code, and testing with his example), and extended the solution to
11173  check the widget-class to ensure that it is indeed xterm's widget
11174  class before attempting to use it in the context of
11175  translations.</p>
11176
11177  <h1><a name="xterm_55" id="xterm_55">Patch #55 - 1997/11/25 -
11178  XFree86 3.9x</a></h1>
11179
11180  <p>This fixes the segmentation violation noted by Rogier Wolff
11181  about a month ago. He'd set xterm to 400 (rows) by 150 columns,
11182  which broke because there were limited buffers (200 rows) used
11183  for juggling data when adding or deleting lines and for switching
11184  between alternate and normal screens. I replaced this by an
11185  allocated buffer.</p>
11186
11187  <p>The bug is simple to test if you set titeInhibit false.</p>
11188
11189  <h1><a name="xterm_54" id="xterm_54">Patch #54 - 1997/10/17 -
11190  XFree86 3.9s</a></h1>
11191
11192  <p>This patch does the following:</p>
11193
11194  <ul>
11195    <li>correct a minor placement problem with the right
11196    scrollbar.</li>
11197
11198    <li>implement a new set of control sequences for switching
11199    between the normal and alternate VT100 screens. These work
11200    around the older sequences limitation that required
11201    modification of the runtime $TERMCAP to cooperate with the
11202    titeInhibit resource (that can't work with terminfo). I do this
11203    by moving all of the functionality of the rmcur terminfo
11204    capability into the control sequences.</li>
11205
11206    <li>implement the alternate-screen menu entry</li>
11207  </ul>
11208
11209  <h1><a name="xterm_53" id="xterm_53">Patch #53 - 1997/10/12 -
11210  XFree86 3.9r</a></h1>
11211
11212  <p>This patch adds a fix and implements a new feature (as well as
11213  some minor typos):</p>
11214
11215  <ul>
11216    <li>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a
11217    problem with the wait call with the logging option. It hung
11218    when the logfile was opened as a command-line option. I fixed
11219    this by moving the StartLogging() call down past the place
11220    where I'd reset the setuid mode. So the logfile is opened as
11221    the real user, without having to fork.</li>
11222
11223    <li>improve Rohleder's changes by renaming the command-line
11224    options and reducing the number of ifdef's.</li>
11225
11226    <li>implement right-scrollbars for xterm (patch by Michael
11227    Rohleder &lt;michael.rohleder@stadt-frankfurt.de&gt;).</li>
11228  </ul>
11229
11230  <h1><a name="xterm_52" id="xterm_52">Patch #52 - 1997/9/29 -
11231  XFree86 3.9q</a></h1>
11232
11233  <p>This patch addresses bugs and requests reported by</p>
11234
11235  <ul>
11236    <li>Bob Maynard &lt;rmaynard@montana.com&gt;,</li>
11237
11238    <li>Clint Olsen &lt;olsenc@ichips.intel.com&gt;,</li>
11239
11240    <li>JCHANDRA@Inf.COM (JCHANDRA),</li>
11241
11242    <li>Michael Schroeder
11243    &lt;Michael.Schroeder@informatik.uni-erlangen.de&gt;,</li>
11244
11245    <li>Pablo Ariel Kohan &lt;pablo@memco.co.il&gt;</li>
11246  </ul>
11247
11248  <p>Some of the changes are interrelated (it was an unusually busy
11249  week).</p>
11250
11251  <ul>
11252    <li>change the default resource value for colorMode to true,
11253    matching the Xterm.ad file.</li>
11254
11255    <li>correct behavior of 'ech' control, making the default and 0
11256    parameters erase one character rather than to the end of line
11257    (reported by Michael Schroeder).</li>
11258
11259    <li>add resource boldColors, command-line options +pc and -pc
11260    and configure-script option to specify behavior of xterm's
11261    mapping bold colors 0 through 7 to colors 8 through 15.
11262    (request by Pablo Ariel Kohan).</li>
11263
11264    <li>add resource colorAttrMode to specify whether colorULMode
11265    and colorBDMode can override the ANSI colors (report by Clint
11266    Olsen).</li>
11267
11268    <li>correct a conflict between colorULMode/colorBDMode versus
11269    ANSI colors, where exposure events would occasionally pick up
11270    the former (e.g., colorBD) rather than ANSI colors. Testing the
11271    colorAttrMode made this apparent, though it has been in the
11272    code since 3.2A (patch #35 in Jan 1997).</li>
11273
11274    <li>correct two problems with the optional logging support. On
11275    Linux at least, the waitpid call in creat_as hangs when the
11276    logging is toggled from the popup menu. Also, the mktemp
11277    template has the wrong number of X's (since X11R5!). Fixed the
11278    waitpid problem by exploiting the fact that the setuid behavior
11279    is reset before the popup menus are available. (reported by
11280    Jayachandran C.).</li>
11281
11282    <li>add configure script options for building with the Xaw3d
11283    and neXtaw libraries.</li>
11284
11285    <li>correct CF_IMAKE_CFLAGS standalone configure script macro,
11286    so that it will pick up $(ALLDEFINES) rather than
11287    $(STD_DEFINES). This is needed to make scrollbars work on
11288    Linux, since that uses narrow prototypes. (reported by Bob
11289    Maynard).</li>
11290
11291    <li>various minor updates to configure-script macros.</li>
11292  </ul>
11293
11294  <h1><a name="xterm_51" id="xterm_51">Patch #51 - 1997/9/15 -
11295  XFree86 3.9p</a></h1>
11296
11297  <p>Most of this patch is related to the standalone configure
11298  script, though there are fixes/enhancements as well:</p>
11299
11300  <ul>
11301    <li>add a new resource sunKeyboard, with associated
11302    command-line option and menu-toggle that allows using a normal
11303    Sun or PC keyboard to generated the complete DEC-style function
11304    keys and keypad.</li>
11305
11306    <li>correct a reversed foreground/background test in the
11307    control sequence that replies with the current SGR
11308    settings.</li>
11309
11310    <li>correct, by invoking XSync, a display problem that caused
11311    the program to not properly update newly exposed areas when a
11312    font change or 80/132 resize request was not completely
11313    accepted.</li>
11314
11315    <li>restructured autoconf macros (I made a library of all of
11316    the macros across the complicated configure scripts I'm working
11317    on).</li>
11318
11319    <li>use the autoconf config.guess and config.sub scripts to
11320    better identify the host-os.</li>
11321
11322    <li>improve the configure script that uses 'imake' as a
11323    fallback for definitions.</li>
11324
11325    <li>correct several instances of unsigned/signed mixed
11326    expressions.</li>
11327  </ul>
11328
11329  <p>I've tested the configure script on Linux, SunOS 4.1.3,
11330  Solaris 2.5.1, IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but
11331  the last run properly as well).</p>
11332
11333  <h1><a name="xterm_50" id="xterm_50">Patch #50 - 1997/8/22 -
11334  XFree86 3.9m</a></h1>
11335
11336  <p>This is a collection of small fixes, and a couple of minor
11337  enhancements:</p>
11338
11339  <ul>
11340    <li>plug a security hole in the implementation of Media Copy
11341    (print) by invoking setuid just before the main loop.</li>
11342
11343    <li>add an ifdef'd include for &lt;sys/termio.h&gt; for HP-UX,
11344    which allows the program to process SIGWINCH events (this is a
11345    bug in X11R6.3)</li>
11346
11347    <li>add state-table entries for VT52 emulation to enter/exit
11348    keypad application mode.</li>
11349
11350    <li>disable the popup-menu entry for 8-bit controls when the
11351    terminal-id is less than 200 (e.g., VT52 or VT100).</li>
11352
11353    <li>ensure that the popup-menu entry for 8-bit controls is
11354    updated when the application enables/disables this mode,
11355    including the response to a full-reset.</li>
11356
11357    <li>implement VT300 DECBKM feature: set interpretation of the
11358    backarrow key to either backspace or delete. The initial
11359    setting is via resource; it can also be modified in the main
11360    popup menu.</li>
11361
11362    <li>implement VTxxx KAM (ISO AM), which allows a keyboard to be
11363    locked (i.e., the terminal discards input).</li>
11364
11365    <li>implement VTxxx SRM, which is used to control local echoing
11366    of input on the terminal.</li>
11367
11368    <li>add terminfo and termcap entries for xterm-8bit, a
11369    variation of the xterm description that uses 8-bit control
11370    characters.</li>
11371
11372    <li>add fallback definitions for Imakefile to allow it to work
11373    on some X11R5 systems that have no SpecialCObjectRule or
11374    ProgramTargetName macros.</li>
11375
11376    <li>add .c.o and .c.i rules to standalone Makefile.in</li>
11377
11378    <li>correct order of -lXmu and -lXext in standalone configure
11379    script.</li>
11380
11381    <li>add configure script options to allow selective disabling
11382    of active-icon, input-method and i18n code (mainly for users
11383    with X11R5 or an incomplete X11R6 configuration).</li>
11384
11385    <li>change menu-indices from #define's to enum values, thereby
11386    making it work better with the ifdef's for logging and
11387    active-icon (the X11R6.3 active-icon code is incorrectly
11388    ifdef'd; this corrects an error introduced by incorporating
11389    that code).</li>
11390
11391    <li>correct minor compile errors in the configuration where
11392    active-icon is not used.</li>
11393
11394    <li>add configure option to suppress echoing of long compiler
11395    commands</li>
11396
11397    <li>correct spelling of decTerminalID in configure script help
11398    message</li>
11399
11400    <li>use gcc __attribute__((unused)) to quiet warnings about
11401    unused parameters when compiling with -W (to make it simpler to
11402    find the real problems).</li>
11403  </ul>
11404
11405  <h1><a name="xterm_49" id="xterm_49">Patch #49 - 1997/8/10 -
11406  XFree86 3.9k</a></h1>
11407
11408  <p>This patch implements the VT100/VT220 Media Copy (i.e.,
11409  print-screen) control sequences.</p>
11410
11411  <h1><a name="xterm_48" id="xterm_48">Patch #48 - 1997/7/26 -
11412  XFree86 3.9j</a></h1>
11413
11414  <p>This patch does the following (all but the first affect only
11415  the standalone configure script):</p>
11416
11417  <ul>
11418    <li>minor correction to positioning of underlines for small
11419    (e.g., 5x8) font size.
11420
11421      <p>The existing behavior allowed underlines to be drawn
11422      outside the character-cell, so they weren't cleared properly
11423      under some circumstances.</p>
11424    </li>
11425
11426    <li>adds more special-case tokens to the standalone configure
11427    script's imake-option filter (e.g., "&amp;&amp;", since a "make
11428    -n main.o" on my IRIX system uses that shell construct).</li>
11429
11430    <li>adds a '--enable-logging' option for the standalone
11431    configure script.</li>
11432
11433    <li>adds check and ifdef's for the standalone configure script
11434    to allow for building on platforms with X11R6, which lacks
11435    Xpoll.h (introduced in X11R6.1).</li>
11436  </ul>
11437
11438  <h1><a name="xterm_47" id="xterm_47">Patch #47 - 1997/7/13 -
11439  XFree86 3.9i</a></h1>
11440
11441  <p>This patch does the following</p>
11442
11443  <ul>
11444    <li>corrects an indexing error in the doublesize character
11445    logic (button.c) that caused core dump (this was reported by J.
11446    Wunsch).</li>
11447
11448    <li>corrects the logic of ShowCursor when it is painting in a
11449    doublesize cell (charproc.c).</li>
11450
11451    <li>corrects, according to vttest, the behavior when switching
11452    to doublesize characters and back again (doublechr.c).</li>
11453
11454    <li>adds cbt (back_tab) to the terminfo description (this was
11455    something that I'd overlooked as applicable to curses
11456    optimization last summer).</li>
11457
11458    <li>corrects, for the standalone xmc test, the logic for
11459    disabling xmc.</li>
11460  </ul>
11461
11462  <h1><a name="xterm_46" id="xterm_46">Patch #46 - 1997/7/4 -
11463  XFree86 3.9h</a></h1>
11464
11465  <p>This is a patch to provide test-support for some work I'm
11466  doing on ncurses. It does not modify the normal configuration of
11467  xterm; the code is compiled if the standalone configure option
11468  "--enable-xmc-glitch" is specified.</p>
11469
11470  <h1><a name="xterm_45" id="xterm_45">Patch #45 - 1997/7/2 -
11471  XFree86 3.9h</a></h1>
11472
11473  <p>This fixes the problem reported with xterm's cursor color
11474  versus the background (the second chunk in this patch) and also
11475  removes some duplicate initialization of the cursor GC's. If the
11476  cursor color at startup is the same as the background, then xterm
11477  will use the reverse GC, ignoring the setting of the colorMode
11478  resource.</p>
11479
11480  <h1><a name="xterm_44" id="xterm_44">Patch #44 - 1997/6/22 -
11481  XFree86 3.9g</a></h1>
11482
11483  <p>This implements the first part of the VT100 doublesize
11484  characters for xterm, as well as fixing a handful of bugs:</p>
11485
11486  <ul>
11487    <li>the doublesize character support uses the normal font
11488    (using scaled fonts will be another patch) with blanks to
11489    simulate doublesize characters. This patch does most of the
11490    global changes that'll be required. I've hidden most of the
11491    details in macros and ifdef's so it's easy to configure out
11492    (part of the patch is a configure option for that
11493    purpose).</li>
11494
11495    <li>corrected limits in DeleteChar() function -- it's always
11496    ignored the size of the left border and scrollbar. I noticed
11497    this when working on the doublesize characters since the glitch
11498    was doubled in size (i.e., it wrapped some garbage around the
11499    right margin).</li>
11500
11501    <li>corrected 'memmove()' logic, for standalone builds (it
11502    referenced a malloc wrapper from my development library).</li>
11503
11504    <li>add a check for HideCursor() to prevent repeated screen
11505    updates (which can cause a spurious cursor glitch to appear,
11506    e.g., during scrolling). I noticed this with the 3.2A version
11507    (but only a few weeks ago, when I started working on this
11508    patch).</li>
11509  </ul>
11510
11511  <h1><a name="xterm_43" id="xterm_43">Patch #43 - 1997/6/10 -
11512  XFree86 3.9d</a></h1>
11513
11514  <p>Here's a fix for two problems:</p>
11515
11516  <ul>
11517    <li>modify handling of tgetent results in xterm and resize
11518    programs to make them tolerant of missing termcap file, or
11519    unknown terminal name. In this scheme, an explicit "-tn" option
11520    will succeed, overriding the fallback list.</li>
11521
11522    <li>a nit in the configure script (log extra information to
11523    help diagnose which case of the test-compile of tgetent was
11524    used).</li>
11525  </ul>
11526
11527  <h1><a name="xterm_42" id="xterm_42">Patch #42 - 1997/6/8 -
11528  XFree86 3.2Xl</a></h1>
11529
11530  <p>Bram Moolenaar reported that the cursor color changed
11531  unexpectedly while scrolling. The cause was that it used the same
11532  GC's as the logic that draws the ANSI colors. The bug only
11533  appears if the cursorColor resource isn't set, and has been
11534  present since the initial implementation early last year. (The
11535  same bug also appears in rxvt ;-). Here's a fix.</p>
11536
11537  <h1><a name="xterm_41" id="xterm_41">Patch #41 - 1997/5/28 -
11538  XFree86 3.2Xl</a></h1>
11539
11540  <p>Some nits found by Darren Hiebert (missing part of
11541  install-rule, incorrect assignment for --enable-color-mode
11542  option).</p>
11543
11544  <h1><a name="xterm_40" id="xterm_40">Patch #40 - 1997/5/26 -
11545  XFree86 3.2Xl</a></h1>
11546
11547  <p>Patch for the configure script's logic for obtaining imake
11548  predefined symbols.</p>
11549
11550  <h1><a name="xterm_39" id="xterm_39">Patch #39 - 1997/5/24 -
11551  XFree86 3.2Xl</a></h1>
11552
11553  <p>This patch does the following:</p>
11554
11555  <ul>
11556    <li>integrate the 16-color change for 'xterm'</li>
11557
11558    <li>minor fixes/clarification of tgetent in terminfo vs termcap
11559    to 'resize'</li>
11560  </ul>
11561
11562  <p>(both changes also modify the configure script)</p>
11563
11564  <h1><a name="xterm_38" id="xterm_38">Patch #38 - 1997/5/22 -
11565  XFree86 3.2Xh</a></h1>
11566
11567  <p>This implements a simple configuration script with autoconf
11568  (to which I'll add more options later). It does the
11569  following:</p>
11570
11571  <ul>
11572    <li>configures xterm to build with X11R5 (at least on SunOS
11573    4.1, Solaris 2.4, possibly IRIX - sorry network was down today,
11574    but I did test an earlier version yesterday).</li>
11575
11576    <li>enables/disables the configuration ifdef's for ANSI color
11577    and VT52 emulation.</li>
11578  </ul>
11579
11580  <p>It does not make tests for the things that imake does (that's
11581  another project), instead it uses a hybrid of the autoconf tests
11582  for libraries and adds imake's compiler options (which are
11583  necessary in some cases to get main.c to compile).</p>
11584
11585  <h1><a name="xterm_37" id="xterm_37">Patch #37 - 1997/5/7 -
11586  XFree86 3.9a</a></h1>
11587
11588  <p>This corrects a minor, but annoying error in the vt220
11589  emulation: the DECUDK is only supposed to be interpreted for
11590  _shifted_ function keys.</p>
11591
11592  <h1><a name="xterm_36" id="xterm_36">Patch #36 - 1997/1/16 -
11593  XFree86 3.2r</a></h1>
11594
11595  <p>This corrects something that I overlooked in patch #27
11596  (21-aug-1996), which is that when trimming the region to be
11597  repainted for the highlightSelection resource of xterm, I still
11598  have to paint the background past the highlighted region. This
11599  only happens when I first do a selection in a window that's
11600  partly off-screen, then move the window on-screen.</p>
11601
11602  <h1><a name="xterm_35" id="xterm_35">Patch #35 - 1997/1/7 -
11603  XFree86 3.2o</a></h1>
11604
11605  <p>This patch does the following:</p>
11606
11607  <ul>
11608    <li>combines the coding for foreground and background colors
11609    into a single byte, reducing the memory required to store
11610    saved-lines in color. (I'll take back that byte in a following
11611    patch to use to ensure the character-set, so there's no
11612    long-term decrease in memory use).</li>
11613
11614    <li>modifies the PF1-PF4 coding in termcap/terminfo. Because
11615    xterm is still by default emulating vt100, the function key
11616    codes are vt100-compatible (I overlooked this in patch #31). I
11617    also reformatted the whole terminfo file into a single-column,
11618    for consistency.</li>
11619
11620    <li>adds an interim xterm-vt220 description to accommodate the
11621    old and new styles of function-keys (though probably it'd be
11622    better to drop the old-style altogether).</li>
11623  </ul>
11624
11625  <h1><a name="xterm_34" id="xterm_34">Patch #34 - 1997/1/5 -
11626  XFree86 3.2o</a></h1>
11627
11628  <p>This patch does the following:</p>
11629
11630  <ul>
11631    <li>implement DECSTR (soft terminal reset). The biggest diff is
11632    due to adding another state table (note that there's only one
11633    useful state here, but it's only 256 bytes rather than 1k as it
11634    would have been before I reduced the size of state
11635    entries).</li>
11636
11637    <li>some minor tidying up (e.g., signed/unsigned use bitcpy,
11638    MODE_DECCKM, resetColor, resetCharsets). More is done in patch
11639    #35.</li>
11640  </ul>
11641
11642  <p>I got the description of DECSTR from a vt420 user's manual.
11643  I'll do some testing with vttest to ensure that there's nothing
11644  else to do than what was documented.</p>
11645
11646  <h1><a name="xterm_33" id="xterm_33">Patch #33 - 1996/11/24 -
11647  XFree86 3.2</a></h1>
11648
11649  <p>This adds to the reset-fix by Matthieu Herrb
11650  &lt;Mathieu.Herrb@mipnet.fr&gt; a small change to make xterm able
11651  to output 8-bit characters in VT100 mode. Applications that run
11652  on real VT100's don't do that anyway, and this feature should be
11653  removed sometime after finishing off the VT220 emulation (VT220's
11654  can do 8-bit characters). That would be a good time to change the
11655  default terminal-id to 220.</p>
11656
11657  <h1><a name="xterm_32" id="xterm_32">Patch #32 - 1996/11/21 -
11658  XFree86 3.2</a></h1>
11659
11660  <p>This implements the REP (repeat) control for xterm. That isn't
11661  part of the DEC VTxxx series, but is defined in ISO 6429. (Note
11662  that the base xterm terminal description is <em>not</em> changed
11663  -- I added a variant, "xterm-rep").</p>
11664
11665  <h1><a name="xterm_31" id="xterm_31">Patch #31 - 1996/11/16 -
11666  XFree86 3.2</a></h1>
11667
11668  <p>This implements vt52 emulation in xterm (ifdef'd so it can be
11669  removed). I've been using it for testing for the past month or
11670  so.</p>
11671
11672  <h1><a name="xterm_30" id="xterm_30">Patch #30 - 1996/11/16 -
11673  XFree86 3.2</a></h1>
11674
11675  <p>From bug-report by &lt;auroux@clipper.ens.fr&gt; (Denis
11676  Auroux), missing reset to ground state. I checked through the
11677  rest of <em>that</em> table and found another, in the
11678  unimplemented MC (screen print).</p>
11679
11680  <h1><a name="xterm_29" id="xterm_29">Patch #29 - 1996/9/15 -
11681  XFree86 3.1.2Gb</a></h1>
11682
11683  <p>This patch does the following:</p>
11684
11685  <ul>
11686    <li>corrects the restoration of color for bold/underline color
11687    mode</li>
11688
11689    <li>adds a resource 'decTerminalID' to control the reporting
11690    level of xterm (e.g., VT100, VT220).</li>
11691
11692    <li>uses the new resource to implement/correct the DA1, DA2 and
11693    DECRPTUI reports.</li>
11694
11695    <li>change valid-response code in DECRQSS from 0 to 1 (the
11696    manual says 0, but the VT420 terminal I've been testing on says
11697    1).</li>
11698  </ul>
11699
11700  <p>All of these changes are based on vttest 2.6</p>
11701
11702  <p>(Most of the volume in the patch is to add 2 more state tables
11703  for parsing the 2nd/3rd device-attribute controls).</p>
11704
11705  <h1><a name="xterm_28" id="xterm_28">Patch #28 - 1996/8/31 -
11706  XFree86 3.1.2F</a></h1>
11707
11708  <p>This patch corrects the following reported by Roland Rosenfeld
11709  &lt;roland@spinnaker.rhein.de&gt;:</p>
11710
11711  <ul>
11712    <li>handle SGR 22, 24 and 25 in combination with colorUL and
11713    colorBD resources. Also noted &amp; fixed reset of colored
11714    underline/bold with SGR 0.</li>
11715
11716    <li>a typo in the termcap (missing '['), from 3.1.2Dj (my
11717    error)</li>
11718  </ul>
11719
11720  <p>Roland also complained that he couldn't use box characters
11721  with</p>
11722  <pre>
11723        -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
11724</pre>
11725
11726  <p>but that's a known xterm limitation (the box characters must
11727  be part of the font, in the first 32 locations).</p>
11728
11729  <h1><a name="xterm_27" id="xterm_27">Patch #27 - 1996/8/21 -
11730  XFree86 3.1.2Ek</a></h1>
11731
11732  <p>This patch fixes one of my long-term gripes: xterm's selection
11733  doesn't clearly show what's being selected (as per David's
11734  request, it's controlled by a resource, which defaults to the
11735  older behavior).</p>
11736
11737  <h1><a name="xterm_26" id="xterm_26">Patch #26 - 1996/8/20 -
11738  XFree86 3.1.2Ei</a></h1>
11739
11740  <p>Here's a patch to fix a problem with xterm's cut/paste and
11741  another to modify the appearance of the highlighting while
11742  selecting. (The changes are independent, so you can see if the
11743  change to screen.c is desirable).</p>
11744
11745  <h1><a name="xterm_25" id="xterm_25">Patch #25 - 1996/8/18 -
11746  XFree86 3.1.2Ei</a></h1>
11747
11748  <p>Here's a correction for two minor bugs that I picked up in
11749  testing, plus some lint (from Solaris 2.5) where NULL was used
11750  incorrectly:</p>
11751
11752  <ul>
11753    <li>make the second alternate font the same as the first
11754    (that's what vt420 and dtterm do)</li>
11755
11756    <li>corrected DECSCL report when DECSCL hasn't been set (i.e.,
11757    don't return a '60').</li>
11758  </ul>
11759
11760  <h1><a name="xterm_24" id="xterm_24">Patch #24 - 1996/8/11 -
11761  XFree86 3.1.2Ee</a></h1>
11762
11763  <p>This patch does several things. In effect, xterm can (I think)
11764  do a reasonably good job of emulating vt220 and vt320 terminals
11765  (as well as it was doing vt100, at any rate ;-).</p>
11766
11767  <p>It does NOT do:</p>
11768
11769  <ul>
11770    <li>soft fonts</li>
11771
11772    <li>rigel or sixel graphics</li>
11773  </ul>
11774
11775  <p>Anyway, I:</p>
11776
11777  <ul>
11778    <li>added ECH, CPL, CNL, SU, SD, CBT, CHT controls</li>
11779
11780    <li>added popup-menu for switching between DEC and Sun function
11781    keys. (corrected alignment err wrt logging entry at that
11782    point).</li>
11783
11784    <li>make xterm recognize both 8-bit and 7-bit controls
11785    (including popup menu for switching modes).</li>
11786
11787    <li>add user-definable function keys (aka DECUDK)</li>
11788
11789    <li>support concealed text</li>
11790
11791    <li>support protected text (both ISO compatible and DEC
11792    compatible - that's not the same thing, btw), with SPA, EPA,
11793    DECSCA, DECSED, DECSEL controls.</li>
11794
11795    <li>implement DECSCL.</li>
11796  </ul>
11797
11798  <p>I'll be continuing to test this patch for a while, but don't
11799  expect to add any new functionality (it passes all of the current
11800  tests I've built in vttest, but I need to make more tests)..</p>
11801
11802  <h1><a name="xterm_23" id="xterm_23">Patch #23 - 1996/7/31 -
11803  XFree86 3.1.2Ec</a></h1>
11804
11805  <p>This removes the blinking cursor I added last week (for
11806  performance reasons). Time-permitting, I'll revisit this after
11807  3.2 is released (there <em>will</em> be more work after XFree86
11808  3.2, I assume).</p>
11809
11810  <h1><a name="xterm_22" id="xterm_22">Patch #22 - 1996/7/26 -
11811  XFree86 3.1.2Ec</a></h1>
11812
11813  <p>I looked more closely at my "double-negative" and realized
11814  that I had been confused by the default color scheme (black on
11815  white) in combination with reverse video. However, I did see that
11816  the original_fg and original_bg data weren't really used - so I
11817  removed that logic.</p>
11818
11819  <p>Also:</p>
11820
11821  <ul>
11822    <li>during initialization, check if ANSI colors are set with
11823    non fg/bg values, disable color mode if not. This makes xterm
11824    tolerant of applications that allocate the whole color
11825    map.</li>
11826
11827    <li>implemented blinking cursor (default is <em>off</em>)</li>
11828  </ul>
11829
11830  <h1><a name="xterm_21" id="xterm_21">Patch #21 - 1996/7/24 -
11831  XFree86 3.1.2Ec</a></h1>
11832
11833  <p>This patch does the following:</p>
11834
11835  <ul>
11836    <li>fixes some minor typography in the control-sequences
11837    documentation (it didn't occur to me til I'd sent the last
11838    patch that I could use ghostview for previewing the troff
11839    output ;-)</li>
11840
11841    <li>adjusts the shell's background color in ReverseVideo so
11842    that flicker in resizing is reduced</li>
11843
11844    <li>adds an ifdef OPT_ISO_COLORS to allow configuring xterm
11845    without the ISO color support (saves a lot of memory)</li>
11846
11847    <li>used that ifdef to isolate/modify logic so that if the user
11848    doesn't have the colorMode enabled, then ISO color support is
11849    disabled (saving memory).
11850
11851      <p>(If anyone needs numbers, I had savedLines set to 2000,
11852      and found a reduction from ~700k to ~400k of allocated
11853      memory, according to Purify).</p>
11854    </li>
11855  </ul>
11856
11857  <h1><a name="xterm_20" id="xterm_20">Patch #20 - 1996/7/24 -
11858  XFree86 3.1.2Ec</a></h1>
11859
11860  <p>This documents the changes in control sequences for window
11861  operations that I added in my previous patch. I'm testing another
11862  patch that allows the user to use less memory if colors aren't
11863  needed.</p>
11864
11865  <h1><a name="xterm_19" id="xterm_19">Patch #19 - 1996/7/21 -
11866  XFree86 3.1.2Ec</a></h1>
11867
11868  <p>This patch does the following:</p>
11869
11870  <ul>
11871    <li>fixes the core dump that I reported on IRIX 5.2 (in main.c)
11872
11873      <p>(it's worth noting that this bug exists in X11R6.1, so I'd
11874      like to assume that someone's already submitted a fix to X
11875      Consortium...)</p>
11876    </li>
11877
11878    <li>change the interpretation of zero rows or columns in a
11879    resize-window request to use the root window's size (looking
11880    more carefully at dtterm, that seems to be what it does).</li>
11881
11882    <li>change some memmove calls to memcpy for slightly better
11883    performance. also, a couple of memset calls to bzero, since
11884    Quantify says bzero runs 20% faster, I assume because there's
11885    one less argument.</li>
11886
11887    <li>interpret character sets 1 and 2 (so that vttest gives a
11888    reasonable result) Both rxvt and dtterm do something
11889    equivalent.</li>
11890
11891    <li>fix a minor memory leak in the logic that retrieves the
11892    window or icon names (Purify found this for me while I ran
11893    vttest).</li>
11894  </ul>
11895
11896  <h1><a name="xterm_18" id="xterm_18">Patch #18 - 1996/7/18 -
11897  XFree86 3.1.2Ec</a></h1>
11898
11899  <p>This implements the following:</p>
11900
11901  <ul>
11902    <li>escape sequences that act like the CDE dtterm's window
11903    operations (though I have implemented the default width and
11904    height -- I've seen a rather buggy dtterm running that seems to
11905    treat width=0 or height=0 literally -- maybe that's a feature,
11906    not a bug?)</li>
11907
11908    <li>minor tweak to the screen-repainting when resizing (I still
11909    cannot entirely get rid of flicker).</li>
11910
11911    <li>still more fixes to terminfo &amp; termcap (I corrected my
11912    error for the hpa code and added some other stuff by comparing
11913    to ncurses' description and rxvt's).</li>
11914
11915    <li>a tweak to the changes by Michael Rohleder for the color
11916    translation</li>
11917
11918    <li>re-order attribute codes to allow later implementation of
11919    protected fields (dtterm supposedly does this; it's probably
11920    more useful than blinking or invisible text -- that uses up all
11921    of the available bits without changing the attribute scheme
11922    radically).</li>
11923  </ul>
11924
11925  <h1><a name="xterm_17" id="xterm_17">Patch #17 - 1996/7/2 -
11926  XFree86 3.1.2Eb</a></h1>
11927
11928  <p>This patch implements for xterm several minor features from
11929  ISO 6429 which are useful for terminfo applications. The HPA and
11930  VPA control sequences allow cursor movement along a row or
11931  column, cutting down a little on the characters transmitted. The
11932  other codes allow resetting specific graphic rendition attributes
11933  without modifying the other attributes. (now if someone just had
11934  time to implement blinking cursors...)</p>
11935
11936  <h1><a name="xterm_16" id="xterm_16">Patch #16 - 1996/6/25 -
11937  XFree86 3.1.2Ea</a></h1>
11938
11939  <p>Adam Tla/lka &lt;atlka@pg.gda.pl&gt; told me a couple of weeks
11940  ago that I'd missed some of the background coloring in xterm. I
11941  investigated, and found that while I'd picked up on the
11942  clear-to-bottom and clear-to-end-of-line operations, I'd
11943  overlooked the insert/delete lines. Just so I wouldn't overlook
11944  any more of these, I updated a copy of vttest to test ISO colors
11945  and bce (background color erase). This patch introduces a new
11946  function, ClearCurBackground, whose calls replace the direct
11947  XClearArea calls that I'd overlooked. (There's also a few
11948  compiler warnings fixed, etc ;-)</p>
11949
11950  <h1><a name="xterm_15" id="xterm_15">Patch #15 - 1996/5/29 -
11951  XFree86 3.1.2E</a></h1>
11952
11953  <p>This fixes the problem reported by David Dawes, by making the
11954  50msec select timeout for the Xaw3d arrow scrollbar a resource.
11955  (I made it a boolean for a variety of reasons -- to make it a
11956  number, you'd need an additional resource, to avoid breaking the
11957  logic).</p>
11958
11959  <h1><a name="xterm_14" id="xterm_14">Patch #14 - 1996/5/12 -
11960  XFree86 3.1.2Dj</a></h1>
11961
11962  <p>This patch brings the termcap and terminfo descriptions for
11963  xterm up to date. I made the following changes:</p>
11964
11965  <ul>
11966    <li>reformatted the terminfo description in a single-column
11967    (this is ok for terminfo, and will simplify future patches --
11968    can't do that for termcap, since it would impact buffer
11969    requirements on some systems).</li>
11970
11971    <li>omitted obsolete features in termcap to save a little space
11972    (bs, pt)</li>
11973
11974    <li>added color capabilities to termcap (ut, Co, NC, op, AB,
11975    AF)</li>
11976
11977    <li>corrected some capabilities (vi, ve)</li>
11978
11979    <li>added 'st' (set tab)</li>
11980
11981    <li>reduced function keys in termcap for 'xterm' to 12 because
11982    color capabilities makes that description larger than 1023
11983    characters.</li>
11984
11985    <li>created new termcap name 'xtermm' (monochrome) to match the
11986    terminfo list, and make that description have 20 function
11987    keys.</li>
11988
11989    <li>added corresponding color capabilities to terminfo (bce,
11990    colors, pairs, op, ncv, setab, setaf)</li>
11991
11992    <li>corrected corresponding capabilities in terminfo (civis,
11993    cnorm, rmcup, smcup)</li>
11994
11995    <li>added capabilities (el1, hts)</li>
11996
11997    <li>in both, corrected home/end keys to match the code
11998    correction made by Thomas Mueller in 3.1.2Bk
11999
12000      <p>=&gt; (I'm still considering modifying the code &amp;
12001      description to match the rxvt program).</p>
12002    </li>
12003  </ul>
12004
12005  <h1><a name="xterm_13" id="xterm_13">Patch #13 - 1996/4/23 -
12006  XFree86 3.1.2Df</a></h1>
12007
12008  <p>This corrects my earlier changes for colors - the inner border
12009  of the xterm was getting painted with the wrong color, since I'd
12010  moved the call to set the background into the logic that tracks
12011  SGR information.</p>
12012
12013  <h1><a name="xterm_12" id="xterm_12">Patch #12 - 1996/3/16 -
12014  XFree86 3.1.2Dc</a></h1>
12015
12016  <p>This corrects a memory leak in xterm that happens whenever one
12017  switches fonts.</p>
12018
12019  <h1><a name="xterm_11" id="xterm_11">Patch #11 - 1996/3/5 -
12020  XFree86 3.1.2Db</a></h1>
12021
12022  <p>This patch corrects the behavior of the ANSI colors in xterm
12023  when reverse video is used, as well as some other lesser
12024  sins:</p>
12025
12026  <ul>
12027    <li>button.c
12028
12029      <ul>
12030        <li>(compiler warnings: shadowing of 'time', redundant
12031        cast)</li>
12032      </ul>
12033    </li>
12034
12035    <li>charproc.c
12036
12037      <ul>
12038        <li>renamed screen.colors[] array to screen.Acolors[] to
12039        more easily distinguish the non-ANSI colors from the ANSI
12040        colors.</li>
12041
12042        <li>moved logic of SGR_Save() into VTInitialize, getting
12043        rid of local private variables original_fg and
12044        original_bg.</li>
12045
12046        <li>moved some logic into getXtermForeground and
12047        getXtermBackground from SGR_Foreground, SGR_Background,
12048        etc.</li>
12049
12050        <li>corrected misleading 'row' to 'col' in case for CUF,
12051        CUB sequences.</li>
12052      </ul>
12053    </li>
12054
12055    <li>ctlseqs.ms</li>
12056
12057    <li>xterm.man
12058
12059      <ul>
12060        <li>(correct a misconception which I'd added that the
12061        color0 through color6 resource values apply to non-ANSI
12062        colors)</li>
12063      </ul>
12064    </li>
12065
12066    <li>ptyx.h
12067
12068      <ul>
12069        <li>added original_fg, original_bg to TScreen
12070        structure.</li>
12071      </ul>
12072    </li>
12073
12074    <li>scrollbar.c
12075
12076      <ul>
12077        <li>(compiler warnings: redundant cast)</li>
12078      </ul>
12079    </li>
12080
12081    <li>util.c
12082
12083      <ul>
12084        <li>new functions getXtermForeground and getXtermBackground
12085        replace the macros GET_FG and GET_BG, with the added
12086        functionality of checking for the reverse-video status of
12087        xterm.</li>
12088
12089        <li>in ReverseVideo, swap the SGR foreground and background
12090        colors also.</li>
12091      </ul>
12092    </li>
12093  </ul>
12094
12095  <h1><a name="xterm_10" id="xterm_10">Patch #10 - 1996/2/14 -
12096  XFree86 3.1.2Cd</a></h1>
12097
12098  <p>I observed an occasional glitch in the xterm's color behavior;
12099  a clear to end of line would get a color that had been used in a
12100  program that supposedly reset colors. I traced this down to the
12101  way xterm was modifying colors of GC's on the fly; it didn't
12102  restore the original color of the GC, even though it would later
12103  be used in functions (such as ClearRight) that assumed (my error)
12104  that the GC would have the current foreground or background
12105  color.</p>
12106
12107  <p>I fixed this by resetting the GC's colors with a new function
12108  'resetXtermGC()', and direct calls on
12109  SGR_Foreground/SGR_Background, as appropriate and using a new
12110  function 'updatedXtermGC()' to encapsulate the logic that
12111  modifies the GC's color. (I also removed some commented-out code
12112  that was trying to do this -- the problem was a little more
12113  obscure).</p>
12114
12115  <h1><a name="xterm_09" id="xterm_09">Patch #9 - 1996/2/10 -
12116  XFree86 3.1.2Cb</a></h1>
12117
12118  <p>This patch fixes the remaining problems that I had making
12119  xterm run with x11r5, as well as a couple of other bugs. It
12120  follows my patch from yesterday, that added ifdef's for some of
12121  the input-method resources.</p>
12122
12123  <ul>
12124    <li>corrected ifdef's that suppress the input-method code
12125    (doesn't exist in my x11r5, and xterm works adequately without
12126    it).</li>
12127
12128    <li>corrected fallback definition for 'Select()' macro (oops:
12129    I'd copied the wrong text...)</li>
12130
12131    <li>moved the declarations for the fd_set variables to
12132    data.[ch]</li>
12133
12134    <li>corrected an ifdef in resize.c (sunos 4.x doesn't have
12135    termcap.h)</li>
12136
12137    <li>corrected (in main.c) some unused/orphaned variables.</li>
12138  </ul>
12139
12140  <h1><a name="xterm_08" id="xterm_08">Patch #8 - 1996/2/9 -
12141  XFree86 3.1.2Cb</a></h1>
12142
12143  <p>This is mostly a documentation patch for xterm. It describes
12144  the color control sequences in more detail, and documents some
12145  other features of xterm that aren't described elsewhere.</p>
12146
12147  <p>I've also added a couple of ifdef's to fix (part of) the
12148  problem that I'm working on (making the program work properly on
12149  x11r5, where I'm doing memory testing -- I have a "good" version
12150  from mid-January, but my resync version doesn't work properly on
12151  x11r5). I'm not done with <em>that</em> yet.</p>
12152
12153  <h1><a name="xterm_07" id="xterm_07">Patch #7 - 1996/1/28 -
12154  XFree86 3.1.2n</a></h1>
12155
12156  <p>I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've
12157  got an S3 card.</p>
12158
12159  <p>This fixes the following in the 3.1.2n xterm:</p>
12160
12161  <ul>
12162    <li>initialize cur_foreground, cur_background in charproc.c
12163    (Purify told me they weren't initialized).</li>
12164
12165    <li>add interpretation of codes 39, 49, to reset background and
12166    foreground to default value (I'm told that ISO 6429 does this;
12167    but I don't have a written reference -- yet -- can anyone help
12168    here?). Anyway, rxvt does it, and it'll solve my remaining
12169    color management problems.</li>
12170
12171    <li>shadowing of 'time' in menu.c</li>
12172
12173    <li>'Cardinal' vs 'int' in scrollbar.c</li>
12174
12175    <li>several changes to permit compile with X11R5 (the system
12176    that I've got Purify on won't be upgraded to X11R6 for a long
12177    time).</li>
12178  </ul>
12179
12180  <p>I built this version (with a minor nit that I'll patch soon)
12181  on SunOS 4.1.3 so that I can test it some more with Purify.</p>
12182
12183  <p><em>btw</em>: the changes made in Xpoll.h won't work on some
12184  older systems, because fd_set isn't a defined type (I've got one
12185  machine at least that this applies to).</p>
12186
12187  <h1><a name="xterm_06" id="xterm_06">Patch #6 - 1996/1/8</a></h1>
12188
12189  <p>This patch does all of the SGR foreground/background fixes
12190  (i.e., clearing the screen after an SGR color is set causes that
12191  color to be used in the foreground and/or background). If the
12192  FG_COLOR and/or BG_COLOR flags aren't set, then the xterm
12193  foreground and background default to the window's values. This
12194  usage is consistent with various types of hardware (especially
12195  the IBM PC), and is also used in rxvt.</p>
12196
12197  <ul>
12198    <li>charproc.c:
12199
12200      <ul>
12201        <li>add/use new macros GET_FG, GET_BG - n/c.</li>
12202
12203        <li>add/use new functions SGR_Foreground() and
12204        SGR_Background() to set corresponding colors in GC's, and
12205        to retain sense of "original" colors.
12206
12207          <p>=&gt; This makes redundant some of the corresponding
12208          logic in HideCursor to set the foreground and background,
12209          but I left it in since it <em>may</em> be fixing an
12210          unrelated requirement.</p>
12211        </li>
12212
12213        <li>set GC's in LoadNewFont() according to whether the SGR
12214        fg/bg colors are active.
12215
12216          <p>=&gt; This fixes some glitches in the accompanying
12217          resize, that leaves parts of the window in the original
12218          background color.</p>
12219        </li>
12220      </ul>
12221    </li>
12222
12223    <li>screen.c:
12224
12225      <ul>
12226        <li>modified ClearBufRows() to use the SGR fg/bg colors if
12227        they're set.</li>
12228
12229        <li>added function ScrnClearLines(), used this to replace
12230        portions of ScrnInsertLine() and ScrnDeleteLine(). The new
12231        function uses the SGR fg/bg colors if they're set.
12232
12233          <p>=&gt; Otherwise, selection after an index or reverse
12234          index will paint the wrong colors.</p>
12235        </li>
12236
12237        <li>modified ScrnDeleteChar() and ScrnInsertChar() to use
12238        SGR fg/bg colors.</li>
12239      </ul>
12240    </li>
12241
12242    <li>util.c:
12243
12244      <ul>
12245        <li>modified ClearRight() so that if either of the SGR
12246        fg/bg colors is set, we don't bzero the attributes and
12247        color arrays, but instead fill them with the appropriate
12248        codes.</li>
12249
12250        <li>modified ClearLeft to use SGR fg/bg colors.</li>
12251      </ul>
12252    </li>
12253  </ul>
12254
12255  <h1><a name="xterm_05" id="xterm_05">Patch #5 - 1996/1/7</a></h1>
12256
12257  <p>This patch modifies the object code, by replacing indexing
12258  expressions with temporary variables with the full indexing
12259  expression. At first glance, this seems inefficient (it did to me
12260  ;-), until remembering comments made in the compilers newsgroups
12261  that trying to "help" the compiler doesn't really work that well.
12262  A good optimizing compiler can do a better job than the
12263  programmer can. (There's a moral in the use of 'register'
12264  variables also, but I won't fix those...).</p>
12265
12266  <p>Anyway, the revised code generates a smaller object...</p>
12267
12268  <ul>
12269    <li>charproc.c:
12270
12271      <ul>
12272        <li>recode index expressions in ShowCursor() and
12273        HideCursor() using SCRN_BUF_xxxxS macros - changes
12274        object.</li>
12275
12276        <li>replace constant '4' by MAX_PTRS - n/c.</li>
12277      </ul>
12278    </li>
12279
12280    <li>ptyx.h:
12281
12282      <ul>
12283        <li>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS
12284        macros, to pick up references to ScrnBuf data directly, and
12285        added MAX_PTRS symbol to pick up those '4' constants strewn
12286        about the code - n/c.</li>
12287      </ul>
12288    </li>
12289
12290    <li>screen.c:
12291
12292      <ul>
12293        <li>recode index expressions in ScreenWrite() using
12294        SCRN_BUF_xxxxS macros - changes object.</li>
12295
12296        <li>replace constant '4' by MAX_PTRS - n/c.</li>
12297
12298        <li>use macros BUF_CHARS, BUF_ATTRS - n/c.</li>
12299
12300        <li>cast calloc to 'Char *' to fix compiler warning on IRIX
12301        - n/c</li>
12302      </ul>
12303    </li>
12304
12305    <li>scrollbar.c:
12306
12307      <ul>
12308        <li>replace constant '4' by MAX_PTRS - n/c.</li>
12309
12310        <li>cast calloc to 'Char *' to fix compiler warning on IRIX
12311        - n/c</li>
12312      </ul>
12313    </li>
12314  </ul>
12315
12316  <h1><a name="xterm_04" id="xterm_04">Patch #4 - 1996/1/7</a></h1>
12317
12318  <p>When setting up for this phase, I saw that you'd corrected the
12319  bug that I found in ClearLeft. I decided to make this series of
12320  patches anyway, since readability never hurt (and there's the
12321  potential for finding another bug while reviewing this set).</p>
12322
12323  <ul>
12324    <li>button.c:
12325
12326      <ul>
12327        <li>use SCRN_BUF_xxxxS macros - n/c</li>
12328      </ul>
12329    </li>
12330
12331    <li>charproc.c:
12332
12333      <ul>
12334        <li>use SCRN_BUF_xxxxS macros - n/c</li>
12335      </ul>
12336    </li>
12337
12338    <li>ptyx.h:
12339
12340      <ul>
12341        <li>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS,
12342        SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four arrays
12343        that are derived from screen-&gt;buf.</li>
12344      </ul>
12345    </li>
12346
12347    <li>screen.c:
12348
12349      <ul>
12350        <li>use SCRN_BUF_xxxxS macros - n/c</li>
12351      </ul>
12352    </li>
12353
12354    <li>util.c:
12355
12356      <ul>
12357        <li>use SCRN_BUF_xxxxS macros - n/c</li>
12358      </ul>
12359    </li>
12360  </ul>
12361
12362  <h1><a name="xterm_03" id="xterm_03">Patch #3 - 1996/1/7</a></h1>
12363
12364  <p>This is my third (and final cleanup) patch for xterm. It gets
12365  rid of the unused stuff, and converts several functions to static
12366  (thereby reducing their scope).</p>
12367
12368  <p>At this point, the only compile warnings I've got (on Linux)
12369  are those about the select arguments (int vs fd_set type), and a
12370  missing declaration for waitpid. Those both are hard to get right
12371  without autoconfigure.</p>
12372
12373  <p>The next patches will address the functional changes...</p>
12374
12375  <ul>
12376    <li>Tekproc.c:
12377
12378      <ul>
12379        <li>changed several functions to 'static' that aren't used
12380        outside this module -- changes object</li>
12381      </ul>
12382    </li>
12383
12384    <li>charproc.c:
12385
12386      <ul>
12387        <li>changed several functions to 'static' that aren't used
12388        outside this module -- changes object</li>
12389
12390        <li>deleted unused function unparsefputs -- changes
12391        object.</li>
12392      </ul>
12393    </li>
12394
12395    <li>main.c:
12396
12397      <ul>
12398        <li>changed several functions to 'static' that aren't used
12399        outside this module -- changes object</li>
12400
12401        <li>ifdef'd out unused function 'consolepr()' -- changes
12402        object</li>
12403
12404        <li>removed unused variable 'dummy_tio' -- changes
12405        object</li>
12406
12407        <li>moved variable 'discipline' to quiet unused-warning --
12408        changes object</li>
12409      </ul>
12410    </li>
12411
12412    <li>main.h:
12413
12414      <ul>
12415        <li>deleted unused definition of DEFBORDERWIDTH - n/c</li>
12416      </ul>
12417    </li>
12418
12419    <li>misc.c:
12420
12421      <ul>
12422        <li>changed several functions to 'static' that aren't used
12423        outside this module -- changes object</li>
12424
12425        <li>provide dummy return statements for xerror and xioerror
12426        to quiet compiler warnings -- changes object</li>
12427      </ul>
12428    </li>
12429
12430    <li>ptyx.h:
12431
12432      <ul>
12433        <li>change sbuf_address and abuf_address to 'Char *' -
12434        n/c</li>
12435      </ul>
12436    </li>
12437
12438    <li>resize.c:
12439
12440      <ul>
12441        <li>changed several functions to 'static' that aren't used
12442        outside this module -- changes object</li>
12443      </ul>
12444    </li>
12445
12446    <li>screen.c:
12447
12448      <ul>
12449        <li>remove unnecessary 'Char **' casts - n/c</li>
12450      </ul>
12451    </li>
12452
12453    <li>util.c:
12454
12455      <ul>
12456        <li>changed several functions to 'static' that aren't used
12457        outside this module -- changes object</li>
12458      </ul>
12459    </li>
12460  </ul>
12461
12462  <h1><a name="xterm_02" id="xterm_02">Patch #2 - 1996/1/7</a></h1>
12463
12464  <p>This is my second patch to xterm. It corrects most of the gcc
12465  warnings (except for some that are due to X header files ;-). I
12466  compared objects to keep track of the changes that don't affect
12467  the object code (n/c) versus those that do.</p>
12468
12469  <p>At this point, I'm compiling (fairly) clean with gcc
12470  options</p>
12471  <pre>
12472        -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs
12473</pre>
12474
12475  <p>(I also compiled with -Wshadow, but while that found some
12476  things that I wanted to find, there's far too many warnings from
12477  the X headers to be usable in this context).</p>
12478
12479  <p>The changes:</p>
12480
12481  <ul>
12482    <li>Tekproc.c:
12483
12484      <ul>
12485        <li>parenthesized expression to avoid gcc warning --
12486        n/c.</li>
12487
12488        <li>corrected nested-extern declaration for Bool
12489        waiting_for_initial_map; ourTopLevelShellArgs, and
12490        number_ourTopLevelShellArgs - n/c</li>
12491      </ul>
12492    </li>
12493
12494    <li>charproc.c:
12495
12496      <ul>
12497        <li>corrected potentially-unintialized variables 'scstype',
12498        'xim', and 'input_style' -- changes object.</li>
12499
12500        <li>adjusted logic of VTparse so that gcc won't warn about
12501        setjmp clobbering parsestate -- changes object.</li>
12502
12503        <li>corrected initialization of 'scstype', which could have
12504        been clobbered by setjmp/longjmp - changes object.</li>
12505
12506        <li>corrected nested-extern declaration of 'term',
12507        'ProgramName' - n/c</li>
12508      </ul>
12509    </li>
12510
12511    <li>cursor.c:
12512
12513      <ul>
12514        <li>corrected nested-extern declaration of 'term' --
12515        n/c</li>
12516
12517        <li>renamed 'term' parameters to avoid gcc -Wshadow warning
12518        - n/c</li>
12519      </ul>
12520    </li>
12521
12522    <li>input.c:
12523
12524      <ul>
12525        <li>change interface of StringInput to assume size_t (i.e.,
12526        unsigned) nbytes -- changes object.</li>
12527
12528        <li>change interface of funcvalue, and sunfuncvalue to use
12529        'KeySym' type instead of 'int' - changes object.</li>
12530      </ul>
12531    </li>
12532
12533    <li>main.c:
12534
12535      <ul>
12536        <li>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h
12537        - n/c</li>
12538
12539        <li>corrected missing params of 'do_hangup()' -- changes
12540        object (note: the missing params were not used).</li>
12541
12542        <li>corrected missing param of 'Error()' -- changes
12543        object</li>
12544
12545        <li>corrected nested-extern 'environ' - n/c</li>
12546
12547        <li>adjusted assignments to 'tty_got_hung' and 'no_dev_tty'
12548        so that gcc can see they won't be clobbered by the longjmp
12549        - changes object.</li>
12550
12551        <li>use Size_t type - n/c.</li>
12552      </ul>
12553    </li>
12554
12555    <li>menu.c:
12556
12557      <ul>
12558        <li>removed redundant prototype for 'do_hangup()' --
12559        n/c.</li>
12560
12561        <li>renamed 'time' parameters to avoid gcc -Wshadow warning
12562        - n/c</li>
12563      </ul>
12564    </li>
12565
12566    <li>menu.h:
12567
12568      <ul>
12569        <li>renamed 'time' parameters to avoid gcc -Wshadow warning
12570        - n/c</li>
12571      </ul>
12572    </li>
12573
12574    <li>misc.c:
12575
12576      <ul>
12577        <li>corrected definition of 'HandleFocusChange()' --
12578        changes object</li>
12579
12580        <li>cast parameters in call to 'TekExpose()' -- n/c</li>
12581
12582        <li>corrected nested-extern declarations of 'term',
12583        'toplevel', ProgramName, and 'environ' -- n/c.</li>
12584
12585        <li>use Size_t type - n/c.</li>
12586      </ul>
12587    </li>
12588
12589    <li>proto.h:
12590
12591      <ul>
12592        <li>moved definition of SIGNAL_T (and SIGNAL_RETURN) here
12593        from main.c, resize.c to allow use of this symbol in
12594        prototypes (mostly in xterm.h).</li>
12595
12596        <li>added definition 'Size_t' to use as corrected type for
12597        strncpy, malloc sizes - n/c.</li>
12598      </ul>
12599    </li>
12600
12601    <li>resize.c:
12602
12603      <ul>
12604        <li>moved SIGNAL_T definition to proto.h -- n/c.</li>
12605
12606        <li>use Size_t type - n/c.</li>
12607      </ul>
12608    </li>
12609
12610    <li>screen.c:
12611
12612      <ul>
12613        <li>use Size_t type - n/c.</li>
12614      </ul>
12615    </li>
12616
12617    <li>tabs.c:
12618
12619      <ul>
12620        <li>corrected nested-extern declaration of 'term' --
12621        n/c</li>
12622      </ul>
12623    </li>
12624
12625    <li>util.c:
12626
12627      <ul>
12628        <li>corrected/supplied parameters to 'TekExpose()' --
12629        changes object (note: 'TekExpose()' doesn't use its
12630        parameters).</li>
12631
12632        <li>corrected nested-extern declaration of
12633        'waiting_for_initial_map' -- n/c.</li>
12634
12635        <li>renamed 'term' parameters to avoid gcc -Wshadow warning
12636        - n/c</li>
12637      </ul>
12638    </li>
12639
12640    <li>xterm.h:
12641
12642      <ul>
12643        <li>prototype 'do_hangup()', 'HandleFocusChange()',
12644        'TekExpose()', 'Error()', 'Exit()' - forces changes in
12645        various places.</li>
12646
12647        <li>adjusted prototypes that pass 'Boolean' arguments to
12648        use 'int' (this is the "correct" ANSI approach to extended
12649        compiles; it's worth mentioning that gcc doesn't meet the
12650        ANSI spec here). I used gcc -Wconversion to find these, but
12651        there's a lot of unrelated warnings that are due to setting
12652        NARROWPROTO in the config - n/c.</li>
12653
12654        <li>renamed 'term' parameters to avoid gcc -Wshadow warning
12655        - n/c</li>
12656      </ul>
12657    </li>
12658  </ul>
12659
12660  <h1><a name="xterm_01" id="xterm_01">Patch #1 - 1996/1/6</a></h1>
12661
12662  <p>This is my first cleanup patch for xterm. It addresses all of
12663  the gcc warnings for -Wall, -Wmissing-prototypes and
12664  -Wstrict-prototypes that I can change without modifying the
12665  object code. (I'm compiling this with gcc 2.7.0 for an aout
12666  target, which makes it simple to compare objects. When I do
12667  ELF-only, I've got a tool that compares that sort of thing as
12668  well).</p>
12669
12670  <p>Briefly, this patch adds (and uses) two header files in the
12671  xterm directory:</p>
12672  <pre>
12673        proto.h
12674        xterm.h
12675</pre>
12676
12677  <p>I expect this to be the biggest patch by far. However (barring
12678  a misplaced prototype), it shouldn't break anything, since the
12679  intent of the patch is to provide missing declarations.</p>
12680</body>
12681</html>
12682