Debian Codegraph @

xterm.log.html

raw
1 <!--
2 *****************************************************************************
3 * this file is part of xterm *
4 * *
5 * Copyright 1997-2025,2026 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.2778 2026/05/01 23:27:57 tom Exp $
34 -->
35 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
36 <html>
37 <head>
38 <meta name="generator" content=
39 "HTML Tidy for HTML5 for Linux version 5.8.0">
40 <title>XTERM - Change Log</title>
41 <link rel="author" href="mailto:[email protected]">
42 <meta http-equiv="Content-Type" content=
43 "text/html; charset=us-ascii">
44 <meta name="keywords" content="xterm, change log">
45 <meta name="description" content=
46 "This is the xterm change-log, distributed with xterm, with items listed by patch-number and date">
47 <link rel="SHORTCUT ICON" href="/img/icons/xterm.ico" type=
48 "image/x-icon">
49 </head>
50 <body>
51 <hr>
52
53 <p>Copyright &copy; 1997-2025,2026 by <a href=
54 "mailto:[email protected]">Thomas E. Dickey</a></p>
55
56 <hr>
57
58 <h1>Contents</h1>
59
60 <p><a href=
61 "https://invisible-island.net/xterm/xterm.log.html">Here</a> is
62 the latest version of this file.</p>
63
64 <p>It began as a list of the changes that I made for xterm, using
65 the notes that I added when submitting a patch. You should note
66 that other changes were made as well, by other people, to fix
67 bugs and correct ifdef's for portability. Until mid-2006, most of
68 these were summarized in the XFree86 <a href=
69 "https://web.archive.org/web/20070101220948/http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/CHANGELOG">
70 CHANGELOG</a>).</p>
71
72 <ul>
73 <li><a href="#xterm_410">Patch #410 - 2026/05/01</a></li>
74
75 <li><a href="#xterm_409">Patch #409 - 2026/04/13</a></li>
76
77 <li><a href="#xterm_408">Patch #408 - 2026/04/12</a></li>
78
79 <li><a href="#xterm_407">Patch #407 - 2026/02/16</a></li>
80
81 <li><a href="#xterm_406">Patch #406 - 2025/12/21</a></li>
82
83 <li><a href="#xterm_405">Patch #405 - 2025/12/14</a></li>
84
85 <li><a href="#xterm_404">Patch #404 - 2025/11/30</a></li>
86
87 <li><a href="#xterm_403">Patch #403 - 2025/10/19</a></li>
88
89 <li><a href="#xterm_402">Patch #402 - 2025/09/08</a></li>
90
91 <li><a href="#xterm_401">Patch #401 - 2025/07/02</a></li>
92
93 <li><a href="#xterm_400">Patch #400 - 2025/06/15</a></li>
94
95 <li><a href="#xterm_399">Patch #399 - 2025/05/18</a></li>
96
97 <li><a href="#xterm_398">Patch #398 - 2025/04/11</a></li>
98
99 <li><a href="#xterm_397">Patch #397 - 2025/01/05</a></li>
100
101 <li><a href="#xterm_396">Patch #396 - 2024/12/02</a></li>
102
103 <li><a href="#xterm_395">Patch #395 - 2024/10/24</a></li>
104
105 <li><a href="#xterm_394">Patch #394 - 2024/09/02</a></li>
106
107 <li><a href="#xterm_393">Patch #393 - 2024/07/11</a></li>
108
109 <li><a href="#xterm_392">Patch #392 - 2024/05/22</a></li>
110
111 <li><a href="#xterm_391">Patch #391 - 2024/05/12</a></li>
112
113 <li><a href="#xterm_390">Patch #390 - 2024/02/19</a></li>
114
115 <li><a href="#xterm_389">Patch #389 - 2024/01/01</a></li>
116
117 <li><a href="#xterm_388">Patch #388 - 2023/10/22</a></li>
118
119 <li><a href="#xterm_387">Patch #387 - 2023/10/15</a></li>
120
121 <li><a href="#xterm_386">Patch #386 - 2023/10/09</a></li>
122
123 <li><a href="#xterm_385">Patch #385 - 2023/10/01</a></li>
124
125 <li><a href="#xterm_384">Patch #384 - 2023/07/10</a></li>
126
127 <li><a href="#xterm_383">Patch #383 - 2023/06/27</a></li>
128
129 <li><a href="#xterm_382">Patch #382 - 2023/05/30</a></li>
130
131 <li><a href="#xterm_381">Patch #381 - 2023/05/28</a></li>
132
133 <li><a href="#xterm_380">Patch #380 - 2023/05/09</a></li>
134
135 <li><a href="#xterm_379">Patch #379 - 2023/02/15</a></li>
136
137 <li><a href="#xterm_378">Patch #378 - 2023/01/09</a></li>
138
139 <li><a href="#xterm_377">Patch #377 - 2022/11/25</a></li>
140
141 <li><a href="#xterm_376">Patch #376 - 2022/11/16</a></li>
142
143 <li><a href="#xterm_375">Patch #375 - 2022/10/23</a></li>
144
145 <li><a href="#xterm_374">Patch #374 - 2022/10/10</a></li>
146
147 <li><a href="#xterm_373">Patch #373 - 2022/09/25</a></li>
148
149 <li><a href="#xterm_372">Patch #372 - 2022/03/09</a></li>
150
151 <li><a href="#xterm_371">Patch #371 - 2022/02/24</a></li>
152
153 <li><a href="#xterm_370">Patch #370 - 2021/11/13</a></li>
154
155 <li><a href="#xterm_369">Patch #369 - 2021/09/21</a></li>
156
157 <li><a href="#xterm_368">Patch #368 - 2021/06/07</a></li>
158
159 <li><a href="#xterm_367">Patch #367 - 2021/03/26</a></li>
160
161 <li><a href="#xterm_366">Patch #366 - 2021/02/10</a></li>
162
163 <li><a href="#xterm_365">Patch #365 - 2021/02/03</a></li>
164
165 <li><a href="#xterm_364">Patch #364 - 2021/02/02</a></li>
166
167 <li><a href="#xterm_363">Patch #363 - 2020/12/26</a></li>
168
169 <li><a href="#xterm_362">Patch #362 - 2020/11/11</a></li>
170
171 <li><a href="#xterm_361">Patch #361 - 2020/10/14</a></li>
172
173 <li><a href="#xterm_360">Patch #360 - 2020/09/20</a></li>
174
175 <li><a href="#xterm_359">Patch #359 - 2020/08/17</a></li>
176
177 <li><a href="#xterm_358">Patch #358 - 2020/07/12</a></li>
178
179 <li><a href="#xterm_357">Patch #357 - 2020/07/05</a></li>
180
181 <li><a href="#xterm_356">Patch #356 - 2020/05/02</a></li>
182
183 <li><a href="#xterm_355">Patch #355 - 2020/05/01</a></li>
184
185 <li><a href="#xterm_354">Patch #354 - 2020/04/26</a></li>
186
187 <li><a href="#xterm_353">Patch #353 - 2020/02/01</a></li>
188
189 <li><a href="#xterm_352">Patch #352 - 2020/01/16</a></li>
190
191 <li><a href="#xterm_351">Patch #351 - 2019/11/17</a></li>
192
193 <li><a href="#xterm_350">Patch #350 - 2019/11/02</a></li>
194
195 <li><a href="#xterm_349">Patch #349 - 2019/09/22</a></li>
196
197 <li><a href="#xterm_348">Patch #348 - 2019/07/22</a></li>
198
199 <li><a href="#xterm_347">Patch #347 - 2019/06/30</a></li>
200
201 <li><a href="#xterm_346">Patch #346 - 2019/05/27</a></li>
202
203 <li><a href="#xterm_345">Patch #345 - 2019/05/14</a></li>
204
205 <li><a href="#xterm_344">Patch #344 - 2019/02/12</a></li>
206
207 <li><a href="#xterm_343">Patch #343 - 2019/01/13</a></li>
208
209 <li><a href="#xterm_342">Patch #342 - 2019/01/03</a></li>
210
211 <li><a href="#xterm_341">Patch #341 - 2018/12/24</a></li>
212
213 <li><a href="#xterm_340">Patch #340 - 2018/12/16</a></li>
214
215 <li><a href="#xterm_339">Patch #339 - 2018/12/12</a></li>
216
217 <li><a href="#xterm_338">Patch #338 - 2018/12/09</a></li>
218
219 <li><a href="#xterm_337">Patch #337 - 2018/09/21</a></li>
220
221 <li><a href="#xterm_336">Patch #336 - 2018/09/19</a></li>
222
223 <li><a href="#xterm_335">Patch #335 - 2018/08/14</a></li>
224
225 <li><a href="#xterm_334">Patch #334 - 2018/08/12</a></li>
226
227 <li><a href="#xterm_333">Patch #333 - 2018/05/03</a></li>
228
229 <li><a href="#xterm_332">Patch #332 - 2018/04/15</a></li>
230
231 <li><a href="#xterm_331">Patch #331 - 2017/12/30</a></li>
232
233 <li><a href="#xterm_330">Patch #330 - 2017/06/20</a></li>
234
235 <li><a href="#xterm_329">Patch #329 - 2017/06/12</a></li>
236
237 <li><a href="#xterm_328">Patch #328 - 2017/06/01</a></li>
238
239 <li><a href="#xterm_327">Patch #327 - 2016/10/07</a></li>
240
241 <li><a href="#xterm_326">Patch #326 - 2016/09/25</a></li>
242
243 <li><a href="#xterm_325">Patch #325 - 2016/06/05</a></li>
244
245 <li><a href="#xterm_324">Patch #324 - 2016/03/10</a></li>
246
247 <li><a href="#xterm_323">Patch #323 - 2016/03/07</a></li>
248
249 <li><a href="#xterm_322">Patch #322 - 2016/01/02</a></li>
250
251 <li><a href="#xterm_321">Patch #321 - 2015/12/31</a></li>
252
253 <li><a href="#xterm_320">Patch #320 - 2015/08/28</a></li>
254
255 <li><a href="#xterm_319">Patch #319 - 2015/08/19</a></li>
256
257 <li><a href="#xterm_318">Patch #318 - 2015/04/12</a></li>
258
259 <li><a href="#xterm_317">Patch #317 - 2015/03/27</a></li>
260
261 <li><a href="#xterm_316">Patch #316 - 2015/03/07</a></li>
262
263 <li><a href="#xterm_315">Patch #315 - 2015/03/02</a></li>
264
265 <li><a href="#xterm_314">Patch #314 - 2014/12/28</a></li>
266
267 <li><a href="#xterm_313">Patch #313 - 2014/11/28</a></li>
268
269 <li><a href="#xterm_312">Patch #312 - 2014/09/28</a></li>
270
271 <li><a href="#xterm_311">Patch #311 - 2014/09/18</a></li>
272
273 <li><a href="#xterm_310">Patch #310 - 2014/07/25</a></li>
274
275 <li><a href="#xterm_309">Patch #309 - 2014/07/13</a></li>
276
277 <li><a href="#xterm_308">Patch #308 - 2014/06/19</a></li>
278
279 <li><a href="#xterm_307">Patch #307 - 2014/06/17</a></li>
280
281 <li><a href="#xterm_306">Patch #306 - 2014/06/03</a></li>
282
283 <li><a href="#xterm_305">Patch #305 - 2014/06/02</a></li>
284
285 <li><a href="#xterm_304">Patch #304 - 2014/05/03</a></li>
286
287 <li><a href="#xterm_303">Patch #303 - 2014/03/06</a></li>
288
289 <li><a href="#xterm_302">Patch #302 - 2014/03/02</a></li>
290
291 <li><a href="#xterm_301">Patch #301 - 2014/01/19</a></li>
292
293 <li><a href="#xterm_300">Patch #300 - 2013/12/03</a></li>
294
295 <li><a href="#xterm_299">Patch #299 - 2013/12/01</a></li>
296
297 <li><a href="#xterm_298">Patch #298 - 2013/11/27</a></li>
298
299 <li><a href="#xterm_297">Patch #297 - 2013/09/10</a></li>
300
301 <li><a href="#xterm_296">Patch #296 - 2013/07/10</a></li>
302
303 <li><a href="#xterm_295">Patch #295 - 2013/07/06</a></li>
304
305 <li><a href="#xterm_294">Patch #294 - 2013/07/05</a></li>
306
307 <li><a href="#xterm_293">Patch #293 - 2013/05/27</a></li>
308
309 <li><a href="#xterm_292">Patch #292 - 2013/04/25</a></li>
310
311 <li><a href="#xterm_291">Patch #291 - 2013/02/26</a></li>
312
313 <li><a href="#xterm_290">Patch #290 - 2013/02/12</a></li>
314
315 <li><a href="#xterm_289">Patch #289 - 2013/02/08</a></li>
316
317 <li><a href="#xterm_288">Patch #288 - 2013/01/09</a></li>
318
319 <li><a href="#xterm_287">Patch #287 - 2012/11/25</a></li>
320
321 <li><a href="#xterm_286">Patch #286 - 2012/10/29</a></li>
322
323 <li><a href="#xterm_285">Patch #285 - 2012/10/23</a></li>
324
325 <li><a href="#xterm_284">Patch #284 - 2012/10/14</a></li>
326
327 <li><a href="#xterm_283">Patch #283 - 2012/10/09</a></li>
328
329 <li><a href="#xterm_282">Patch #282 - 2012/09/28</a></li>
330
331 <li><a href="#xterm_281">Patch #281 - 2012/06/26</a></li>
332
333 <li><a href="#xterm_280">Patch #280 - 2012/06/24</a></li>
334
335 <li><a href="#xterm_279">Patch #279 - 2012/05/10</a></li>
336
337 <li><a href="#xterm_278">Patch #278 - 2012/01/18</a></li>
338
339 <li><a href="#xterm_277">Patch #277 - 2012/01/07</a></li>
340
341 <li><a href="#xterm_276">Patch #276 - 2011/10/10</a></li>
342
343 <li><a href="#xterm_275">Patch #275 - 2011/09/11</a></li>
344
345 <li><a href="#xterm_274">Patch #274 - 2011/09/05</a></li>
346
347 <li><a href="#xterm_273">Patch #273 - 2011/08/25</a></li>
348
349 <li><a href="#xterm_272">Patch #272 - 2011/08/24</a></li>
350
351 <li><a href="#xterm_271">Patch #271 - 2011/07/14</a></li>
352
353 <li><a href="#xterm_270">Patch #270 - 2011/04/26</a></li>
354
355 <li><a href="#xterm_269">Patch #269 - 2011/02/19</a></li>
356
357 <li><a href="#xterm_268">Patch #268 - 2011/02/10</a></li>
358
359 <li><a href="#xterm_267">Patch #267 - 2010/11/20</a></li>
360
361 <li><a href="#xterm_266">Patch #266 - 2010/10/24</a></li>
362
363 <li><a href="#xterm_265">Patch #265 - 2010/10/22</a></li>
364
365 <li><a href="#xterm_264">Patch #264 - 2010/10/14</a></li>
366
367 <li><a href="#xterm_263">Patch #263 - 2010/10/13</a></li>
368
369 <li><a href="#xterm_262">Patch #262 - 2010/8/30</a></li>
370
371 <li><a href="#xterm_261">Patch #261 - 2010/6/28</a></li>
372
373 <li><a href="#xterm_260">Patch #260 - 2010/6/20</a></li>
374
375 <li><a href="#xterm_259">Patch #259 - 2010/6/5</a></li>
376
377 <li><a href="#xterm_258">Patch #258 - 2010/5/1</a></li>
378
379 <li><a href="#xterm_257">Patch #257 - 2010/4/22</a></li>
380
381 <li><a href="#xterm_256">Patch #256 - 2010/3/6</a></li>
382
383 <li><a href="#xterm_255">Patch #255 - 2010/1/21</a></li>
384
385 <li><a href="#xterm_254">Patch #254 - 2010/1/6</a></li>
386
387 <li><a href="#xterm_253">Patch #253 - 2009/12/10</a></li>
388
389 <li><a href="#xterm_252">Patch #252 - 2009/12/7</a></li>
390
391 <li><a href="#xterm_251">Patch #251 - 2009/11/11</a></li>
392
393 <li><a href="#xterm_250">Patch #250 - 2009/10/13</a></li>
394
395 <li><a href="#xterm_249">Patch #249 - 2009/10/1</a></li>
396
397 <li><a href="#xterm_248">Patch #248 - 2009/9/11</a></li>
398
399 <li><a href="#xterm_247">Patch #247 - 2009/8/30</a></li>
400
401 <li><a href="#xterm_246">Patch #246 - 2009/8/16</a></li>
402
403 <li><a href="#xterm_245">Patch #245 - 2009/8/12</a></li>
404
405 <li><a href="#xterm_244">Patch #244 - 2009/8/9</a></li>
406
407 <li><a href="#xterm_243">Patch #243 - 2009/3/28</a></li>
408
409 <li><a href="#xterm_242">Patch #242 - 2009/2/15</a></li>
410
411 <li><a href="#xterm_241">Patch #241 - 2009/1/26</a></li>
412
413 <li><a href="#xterm_240">Patch #240 - 2009/1/25</a></li>
414
415 <li><a href="#xterm_239">Patch #239 - 2009/1/8</a></li>
416
417 <li><a href="#xterm_238">Patch #238 - 2008/12/30</a></li>
418
419 <li><a href="#xterm_237">Patch #237 - 2008/09/14</a></li>
420
421 <li><a href="#xterm_236">Patch #236 - 2008/07/27</a></li>
422
423 <li><a href="#xterm_235">Patch #235 - 2008/04/20</a></li>
424
425 <li><a href="#xterm_234">Patch #234 - 2008/03/02</a></li>
426
427 <li><a href="#xterm_233">Patch #233 - 2008/02/24</a></li>
428
429 <li><a href="#xterm_232">Patch #232 - 2008/01/30</a></li>
430
431 <li><a href="#xterm_231">Patch #231 - 2008/01/05</a></li>
432
433 <li><a href="#xterm_230">Patch #230 - 2007/12/31</a></li>
434
435 <li><a href="#xterm_229">Patch #229 - 2007/8/12</a></li>
436
437 <li><a href="#xterm_228">Patch #228 - 2007/7/22</a></li>
438
439 <li><a href="#xterm_227">Patch #227 - 2007/6/27</a></li>
440
441 <li><a href="#xterm_226">Patch #226 - 2007/6/17</a></li>
442
443 <li><a href="#xterm_225">Patch #225 - 2007/3/24</a></li>
444
445 <li><a href="#xterm_224">Patch #224 - 2007/2/11</a></li>
446
447 <li><a href="#xterm_223">Patch #223 - 2006/11/30</a></li>
448
449 <li><a href="#xterm_222">Patch #222 - 2006/10/17</a></li>
450
451 <li><a href="#xterm_221">Patch #221 - 2006/10/1</a></li>
452
453 <li><a href="#xterm_220">Patch #220 - 2006/9/10</a></li>
454
455 <li><a href="#xterm_219">Patch #219 - 2006/9/4</a></li>
456
457 <li><a href="#xterm_218">Patch #218 - 2006/8/27</a></li>
458
459 <li><a href="#xterm_217">Patch #217 - 2006/8/20</a></li>
460
461 <li><a href="#xterm_216">Patch #216 - 2006/8/3</a></li>
462
463 <li><a href="#xterm_215">Patch #215 - 2006/6/19 - XFree86
464 4.6.99.2</a></li>
465
466 <li><a href="#xterm_214">Patch #214 - 2006/6/18 - XFree86
467 4.6.99.2</a></li>
468
469 <li><a href="#xterm_213">Patch #213 - 2006/4/30 - XFree86
470 4.5.99.905</a></li>
471
472 <li><a href="#xterm_212">Patch #212 - 2006/4/9 - XFree86
473 4.5.99.904</a></li>
474
475 <li><a href="#xterm_211">Patch #211 - 2006/3/19 - XFree86
476 4.5.99.902</a></li>
477
478 <li><a href="#xterm_210">Patch #210 - 2006/3/12 - XFree86
479 4.5.99.902</a></li>
480
481 <li><a href="#xterm_209">Patch #209 - 2006/2/12 - XFree86
482 4.5.99.22</a></li>
483
484 <li><a href="#xterm_208">Patch #208 - 2006/1/3 - XFree86
485 4.5.99.19</a></li>
486
487 <li><a href="#xterm_207">Patch #207 - 2005/11/13 - XFree86
488 4.5.99.16</a></li>
489
490 <li><a href="#xterm_206">Patch #206 - 2005/11/3 - XFree86
491 4.5.99.15</a></li>
492
493 <li><a href="#xterm_205">Patch #205 - 2005/9/18 - XFree86
494 4.5.99.12</a></li>
495
496 <li><a href="#xterm_204">Patch #204 - 2005/8/4 - XFree86
497 4.5.99.9</a></li>
498
499 <li><a href="#xterm_203">Patch #203 - 2005/7/6 - XFree86
500 4.5.99.7</a></li>
501
502 <li><a href="#xterm_202">Patch #202 - 2005/5/2 - XFree86
503 4.5.99.3</a></li>
504
505 <li><a href="#xterm_201">Patch #201 - 2005/4/21 - XFree86
506 4.5.99.2</a></li>
507
508 <li><a href="#xterm_200">Patch #200 - 2005/2/6 - XFree86
509 4.4.99.23</a></li>
510
511 <li><a href="#xterm_199">Patch #199 - 2005/1/17 - XFree86
512 4.4.99.22</a></li>
513
514 <li><a href="#xterm_198">Patch #198 - 2005/1/13 - XFree86
515 4.4.99.21</a></li>
516
517 <li><a href="#xterm_197">Patch #197 - 2004/11/30 - XFree86
518 4.4.99.19</a></li>
519
520 <li><a href="#xterm_196">Patch #196 - 2004/8/15 - XFree86
521 4.4.99.12</a></li>
522
523 <li><a href="#xterm_195">Patch #195 - 2004/8/8 - XFree86
524 4.4.99.11</a></li>
525
526 <li><a href="#xterm_194">Patch #194 - 2004/7/27 - XFree86
527 4.4.99.11</a></li>
528
529 <li><a href="#xterm_193">Patch #193 - 2004/7/19 - XFree86
530 4.4.99.10</a></li>
531
532 <li><a href="#xterm_192">Patch #192 - 2004/7/12 - XFree86
533 4.4.99.9</a></li>
534
535 <li><a href="#xterm_191">Patch #191 - 2004/6/6 - XFree86
536 4.4.99.7</a></li>
537
538 <li><a href="#xterm_190">Patch #190 - 2004/5/25 - XFree86
539 4.4.99.6</a></li>
540
541 <li><a href="#xterm_189">Patch #189 - 2004/5/16 - XFree86
542 4.4.99.6</a></li>
543
544 <li><a href="#xterm_188">Patch #188 - 2004/5/12 - XFree86
545 4.4.99.6</a></li>
546
547 <li><a href="#xterm_187">Patch #187 - 2004/4/27 - XFree86
548 4.4.99.4</a></li>
549
550 <li><a href="#xterm_186">Patch #186 - 2004/4/18 - XFree86
551 4.4.99.4</a></li>
552
553 <li><a href="#xterm_185">Patch #185 - 2004/3/3 - XFree86
554 4.4</a></li>
555
556 <li><a href="#xterm_184">Patch #184 - 2003/12/31 - XFree86
557 4.3.99.903</a></li>
558
559 <li><a href="#xterm_183">Patch #183 - 2003/12/26 - XFree86
560 4.3.99.903</a></li>
561
562 <li><a href="#xterm_182">Patch #182 - 2003/12/2 - XFree86
563 4.3.99.901</a></li>
564
565 <li><a href="#xterm_181">Patch #181 - 2003/10/26 - XFree86
566 4.3.99.15</a></li>
567
568 <li><a href="#xterm_180">Patch #180 - 2003/10/12 - XFree86
569 4.3.99.15</a></li>
570
571 <li><a href="#xterm_179">Patch #179 - 2003/5/21 - XFree86
572 4.3.99.5</a></li>
573
574 <li><a href="#xterm_178">Patch #178 - 2003/5/18 - XFree86
575 4.3.99.5</a></li>
576
577 <li><a href="#xterm_177">Patch #177 - 2003/3/23 - XFree86
578 4.3.0</a></li>
579
580 <li><a href="#xterm_176">Patch #176 - 2003/3/22 - XFree86
581 4.3.0</a></li>
582
583 <li><a href="#xterm_175">Patch #175 - 2003/3/9 - XFree86
584 4.3.0</a></li>
585
586 <li><a href="#xterm_174">Patch #174 - 2003/2/25 - XFree86
587 4.2.99.903</a></li>
588
589 <li><a href="#xterm_173">Patch #173 - 2003/2/6 - XFree86
590 4.2.99.902</a></li>
591
592 <li><a href="#xterm_172">Patch #172 - 2002/12/27 - XFree86
593 4.2.99.3</a></li>
594
595 <li><a href="#xterm_171">Patch #171 - 2002/12/12 - XFree86
596 4.2.99.3</a></li>
597
598 <li><a href="#xterm_170">Patch #170 - 2002/10/13 - XFree86
599 4.2.1</a></li>
600
601 <li><a href="#xterm_169">Patch #169 - 2002/10/5 - XFree86
602 4.2.1</a></li>
603
604 <li><a href="#xterm_168">Patch #168 - 2002/9/29 - XFree86
605 4.2.1</a></li>
606
607 <li><a href="#xterm_167">Patch #167 - 2002/8/24 - XFree86
608 4.2.0</a></li>
609
610 <li><a href="#xterm_166">Patch #166 - 2002/3/25 - XFree86
611 4.2.0</a></li>
612
613 <li><a href="#xterm_165">Patch #165 - 2002/1/5 - XFree86
614 4.1.0</a></li>
615
616 <li><a href="#xterm_164">Patch #164 - 2001/11/13 - XFree86
617 4.1.0</a></li>
618
619 <li><a href="#xterm_163">Patch #163 - 2001/11/04 - XFree86
620 4.1.0</a></li>
621
622 <li><a href="#xterm_162">Patch #162 - 2001/10/23 - XFree86
623 4.1.0</a></li>
624
625 <li><a href="#xterm_161">Patch #161 - 2001/10/10 - XFree86
626 4.1.0</a></li>
627
628 <li><a href="#xterm_160">Patch #160 - 2001/10/7 - XFree86
629 4.1.0</a></li>
630
631 <li><a href="#xterm_159">Patch #159 - 2001/9/19 - XFree86
632 4.1.0</a></li>
633
634 <li><a href="#xterm_158">Patch #158 - 2001/9/8 - XFree86
635 4.1.0</a></li>
636
637 <li><a href="#xterm_157">Patch #157 - 2001/6/18 - XFree86
638 4.1.0</a></li>
639
640 <li><a href="#xterm_156">Patch #156 - 2001/4/28 - XFree86
641 4.0.3</a></li>
642
643 <li><a href="#xterm_155">Patch #155 - 2001/4/20 - XFree86
644 4.0.3</a></li>
645
646 <li><a href="#xterm_154">Patch #154 - 2001/4/11 - XFree86
647 4.0.3</a></li>
648
649 <li><a href="#xterm_153">Patch #153 - 2001/3/29 - XFree86
650 4.0.3</a></li>
651
652 <li><a href="#xterm_152">Patch #152 - 2001/3/13 - XFree86
653 4.0.2</a></li>
654
655 <li><a href="#xterm_151">Patch #151 - 2001/3/10 - XFree86
656 4.0.2</a></li>
657
658 <li><a href="#xterm_150">Patch #150 - 2000/12/29 - XFree86
659 4.0.2</a></li>
660
661 <li><a href="#xterm_149">Patch #149 - 2000/12/6 - XFree86
662 4.0.1h</a></li>
663
664 <li><a href="#xterm_148">Patch #148 - 2000/10/31 - XFree86
665 4.0.1d</a></li>
666
667 <li><a href="#xterm_147">Patch #147 - 2000/10/26 - XFree86
668 4.0.1c</a></li>
669
670 <li><a href="#xterm_146">Patch #146 - 2000/9/12 - XFree86
671 4.0.1c</a></li>
672
673 <li><a href="#xterm_145">Patch #145 - 2000/9/11 - XFree86
674 4.0.1c</a></li>
675
676 <li><a href="#xterm_144">Patch #144 - 2000/8/23 - XFree86
677 4.0.1b</a></li>
678
679 <li><a href="#xterm_143">Patch #143 - 2000/8/19 - XFree86
680 4.0.1b</a></li>
681
682 <li><a href="#xterm_142">Patch #142 - 2000/8/18 - XFree86
683 4.0.1b</a></li>
684
685 <li><a href="#xterm_141">Patch #141 - 2000/8/14 - XFree86
686 4.0.1b</a></li>
687
688 <li><a href="#xterm_140">Patch #140 - 2000/7/23 - XFree86
689 4.0.1</a></li>
690
691 <li><a href="#xterm_139">Patch #139 - 2000/6/17 - XFree86
692 4.0d</a></li>
693
694 <li><a href="#xterm_138">Patch #138 - 2000/6/15 - XFree86
695 4.0c</a></li>
696
697 <li><a href="#xterm_137">Patch #137 - 2000/6/10 - XFree86
698 4.0b</a></li>
699
700 <li><a href="#xterm_136">Patch #136 - 2000/6/3 - XFree86
701 4.0b</a></li>
702
703 <li><a href="#xterm_135">Patch #135 - 2000/5/29 - XFree86
704 4.0b</a></li>
705
706 <li><a href="#xterm_134">Patch #134 - 2000/5/28 - XFree86
707 4.0b</a></li>
708
709 <li><a href="#xterm_133">Patch #133 - 2000/5/2 - XFree86
710 4.0a</a></li>
711
712 <li><a href="#xterm_132">Patch #132 - 2000/4/11 - XFree86
713 4.0a</a></li>
714
715 <li><a href="#xterm_131">Patch #131 - 2000/3/3 - XFree86
716 3.9.18b</a></li>
717
718 <li><a href="#xterm_130">Patch #130 - 2000/3/1 - XFree86
719 3.9.18a</a></li>
720
721 <li><a href="#xterm_129">Patch #129 - 2000/2/26 - XFree86
722 3.9.18a</a></li>
723
724 <li><a href="#xterm_128">Patch #128 - 2000/2/17 - XFree86
725 3.9.18</a></li>
726
727 <li><a href="#xterm_127">Patch #127 - 2000/2/12 - XFree86
728 3.9.17e</a></li>
729
730 <li><a href="#xterm_126">Patch #126 - 2000/2/8 - XFree86
731 3.9.17c</a></li>
732
733 <li><a href="#xterm_125">Patch #125 - 2000/1/31 - XFree86
734 3.9.17c</a></li>
735
736 <li><a href="#xterm_124">Patch #124 - 2000/1/27 - XFree86
737 3.9.17b</a></li>
738
739 <li><a href="#xterm_123">Patch #123 - 2000/1/22 - XFree86
740 3.9.17a</a></li>
741
742 <li><a href="#xterm_122">Patch #122 - 1999/12/28 - XFree86
743 3.9.16f</a></li>
744
745 <li><a href="#xterm_121">Patch #121 - 1999/11/14 - XFree86
746 3.9.16c</a></li>
747
748 <li><a href="#xterm_120">Patch #120 - 1999/10/28 - XFree86
749 3.9.16c</a></li>
750
751 <li><a href="#xterm_119">Patch #119 - 1999/10/16 - XFree86
752 3.9.16c</a></li>
753
754 <li><a href="#xterm_118">Patch #118 - 1999/10/5 - XFree86
755 3.9.16b</a></li>
756
757 <li><a href="#xterm_117">Patch #117 - 1999/9/29 - XFree86
758 3.9.16b</a></li>
759
760 <li><a href="#xterm_116">Patch #116 - 1999/9/25 - XFree86
761 3.9.16a</a></li>
762
763 <li><a href="#xterm_115">Patch #115 - 1999/9/18 - XFree86
764 3.9.16a</a></li>
765
766 <li><a href="#xterm_114">Patch #114 - 1999/9/15 - XFree86
767 3.9.16</a></li>
768
769 <li><a href="#xterm_113">Patch #113 - 1999/8/15 - XFree86
770 3.9.15b</a></li>
771
772 <li><a href="#xterm_112">Patch #112 - 1999/7/17 - XFree86
773 3.9Pw</a></li>
774
775 <li><a href="#xterm_111">Patch #111 - 1999/7/10 - XFree86
776 3.9Pw</a></li>
777
778 <li><a href="#xterm_110">Patch #110 - 1999/6/29 - XFree86
779 3.9Pu</a></li>
780
781 <li><a href="#xterm_109">Patch #109 - 1999/6/23 - XFree86
782 3.9Pt</a></li>
783
784 <li><a href="#xterm_108">Patch #108 - 1999/6/19 - XFree86
785 3.9Ps</a></li>
786
787 <li><a href="#xterm_107">Patch #107 - 1999/6/12 - XFree86
788 3.9Pq</a></li>
789
790 <li><a href="#xterm_106">Patch #106 - 1999/6/9 - XFree86
791 3.9Pq</a></li>
792
793 <li><a href="#xterm_105">Patch #105 - 1999/6/5 - XFree86
794 3.9Pp</a></li>
795
796 <li><a href="#xterm_104">Patch #104 - 1999/5/30 - XFree86
797 3.9Pn</a></li>
798
799 <li><a href="#xterm_103">Patch #103 - 1999/5/14 - XFree86
800 3.9Pm</a></li>
801
802 <li><a href="#xterm_102">Patch #102 - 1999/5/12 - XFree86
803 3.9Pm</a></li>
804
805 <li><a href="#xterm_101">Patch #101 - 1999/5/10 - XFree86
806 3.9Pm</a></li>
807
808 <li><a href="#xterm_100">Patch #100 - 1999/5/3 - XFree86
809 3.9Pl</a></li>
810
811 <li><a href="#xterm_99">Patch #99 - 1999/5/2 - XFree86
812 3.9Pk</a></li>
813
814 <li><a href="#xterm_98">Patch #98 - 1999/4/26 - XFree86
815 3.9Pk</a></li>
816
817 <li><a href="#xterm_97">Patch #97 - 1999/4/25 - XFree86
818 3.9Pk</a></li>
819
820 <li><a href="#xterm_96">Patch #96 - 1999/4/19 - XFree86
821 3.9Pj</a></li>
822
823 <li><a href="#xterm_95">Patch #95 - 1999/4/5 - XFree86
824 3.9Ph</a></li>
825
826 <li><a href="#xterm_94">Patch #94 - 1999/3/27 - XFree86
827 3.9Pf</a></li>
828
829 <li><a href="#xterm_93">Patch #93 - 1999/3/14 - XFree86
830 3.9Pd</a></li>
831
832 <li><a href="#xterm_92">Patch #92 - 1999/2/5 - XFree86
833 3.9Nz</a></li>
834
835 <li><a href="#xterm_91">Patch #91 - 1999/1/21 - XFree86
836 3.9Nw</a></li>
837
838 <li><a href="#xterm_90">Patch #90 - 1998/12/13 - XFree86
839 3.9Nq</a></li>
840
841 <li><a href="#xterm_89">Patch #89 - 1998/11/20 - XFree86
842 3.9Nm</a></li>
843
844 <li><a href="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk
845 and 3.3.2h</a></li>
846
847 <li><a href="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj
848 and 3.3.2f</a></li>
849
850 <li><a href="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj
851 and 3.3.2e</a></li>
852
853 <li><a href="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj
854 and 3.3.2e</a></li>
855
856 <li><a href="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni
857 and 3.3.2e</a></li>
858
859 <li><a href="#sync_83">Resync #83 - 1998/10/7 - XFree86
860 3.3.2e</a></li>
861
862 <li><a href="#xterm_83">Patch #83 - 1998/8/25 - XFree86
863 3.9Nb</a></li>
864
865 <li><a href="#xterm_82">Patch #82 - 1998/7/15 - XFree86
866 3.9Aj</a></li>
867
868 <li><a href="#xterm_81">Patch #81 - 1998/7/14 - XFree86
869 3.9Aj</a></li>
870
871 <li><a href="#xterm_80">Patch #80 - 1998/6/29 - XFree86
872 3.9Ai</a></li>
873
874 <li><a href="#xterm_79">Patch #79 - 1998/6/28 - XFree86
875 3.9Ai</a></li>
876
877 <li><a href="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah
878 and 3.3.2</a></li>
879
880 <li><a href="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah
881 and 3.3.2</a></li>
882
883 <li><a href="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah
884 and 3.3.2</a></li>
885
886 <li><a href="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah
887 and 3.3.2</a></li>
888
889 <li><a href="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag
890 and 3.3.2</a></li>
891
892 <li><a href="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag
893 and 3.3.2</a></li>
894
895 <li><a href="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag
896 and 3.3.2</a></li>
897
898 <li><a href="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag
899 and 3.3.2</a></li>
900
901 <li><a href="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af
902 and 3.3.2</a></li>
903
904 <li><a href="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad
905 and 3.3.2</a></li>
906
907 <li><a href="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad
908 and 3.3.1z</a></li>
909
910 <li><a href="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad
911 and 3.3.1e</a></li>
912
913 <li><a href="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad
914 and 3.3.1d</a></li>
915
916 <li><a href="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad
917 and 3.3.1c</a></li>
918
919 <li><a href="#xterm_64">Patch #64 - 1998/2/8 - XFree86
920 3.9Ad</a></li>
921
922 <li><a href="#xterm_63">Patch #63 - 1998/2/5 - XFree86
923 3.9Ad</a></li>
924
925 <li><a href="#xterm_62">Patch #62 - 1998/1/23 - XFree86
926 3.9Ac</a></li>
927
928 <li><a href="#xterm_61">Patch #61 - 1998/1/17 - XFree86
929 3.9Ac</a></li>
930
931 <li><a href="#xterm_60">Patch #60 - 1998/1/10 - XFree86
932 3.9Ab</a></li>
933
934 <li><a href="#xterm_59">Patch #59 - 1998/1/5 - XFree86
935 3.9Ab</a></li>
936
937 <li><a href="#xterm_58">Patch #58 - 1998/1/3 - XFree86
938 3.9Ab</a></li>
939
940 <li><a href="#xterm_57">Patch #57 - 1997/12/26 - XFree86
941 3.9Aa</a></li>
942
943 <li><a href="#xterm_56">Patch #56 - 1997/11/28 - XFree86
944 3.9x</a></li>
945
946 <li><a href="#xterm_55">Patch #55 - 1997/11/25 - XFree86
947 3.9x</a></li>
948
949 <li><a href="#xterm_54">Patch #54 - 1997/10/17 - XFree86
950 3.9s</a></li>
951
952 <li><a href="#xterm_53">Patch #53 - 1997/10/12 - XFree86
953 3.9r</a></li>
954
955 <li><a href="#xterm_52">Patch #52 - 1997/9/29 - XFree86
956 3.9q</a></li>
957
958 <li><a href="#xterm_51">Patch #51 - 1997/9/15 - XFree86
959 3.9p</a></li>
960
961 <li><a href="#xterm_50">Patch #50 - 1997/8/22 - XFree86
962 3.9m</a></li>
963
964 <li><a href="#xterm_49">Patch #49 - 1997/8/10 - XFree86
965 3.9k</a></li>
966
967 <li><a href="#xterm_48">Patch #48 - 1997/7/26 - XFree86
968 3.9j</a></li>
969
970 <li><a href="#xterm_47">Patch #47 - 1997/7/13 - XFree86
971 3.9i</a></li>
972
973 <li><a href="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</a></li>
974
975 <li><a href="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</a></li>
976
977 <li><a href="#xterm_44">Patch #44 - 1997/6/22 - XFree86
978 3.9g</a></li>
979
980 <li><a href="#xterm_43">Patch #43 - 1997/6/10 - XFree86
981 3.9d</a></li>
982
983 <li><a href="#xterm_42">Patch #42 - 1997/6/8 - XFree86
984 3.2Xl</a></li>
985
986 <li><a href="#xterm_41">Patch #41 - 1997/5/28 - XFree86
987 3.2Xl</a></li>
988
989 <li><a href="#xterm_40">Patch #40 - 1997/5/26 - XFree86
990 3.2Xl</a></li>
991
992 <li><a href="#xterm_39">Patch #39 - 1997/5/24 - XFree86
993 3.2Xl</a></li>
994
995 <li><a href="#xterm_38">Patch #38 - 1997/5/22 - XFree86
996 3.2Xh</a></li>
997
998 <li><a href="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</a></li>
999
1000 <li><a href="#xterm_36">Patch #36 - 1997/1/16 - XFree86
1001 3.2r</a></li>
1002
1003 <li><a href="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</a></li>
1004
1005 <li><a href="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</a></li>
1006
1007 <li><a href="#xterm_33">Patch #33 - 1996/11/24 - XFree86
1008 3.2</a></li>
1009
1010 <li><a href="#xterm_32">Patch #32 - 1996/11/21 - XFree86
1011 3.2</a></li>
1012
1013 <li><a href="#xterm_31">Patch #31 - 1996/11/16 - XFree86
1014 3.2</a></li>
1015
1016 <li><a href="#xterm_30">Patch #30 - 1996/11/16 - XFree86
1017 3.2</a></li>
1018
1019 <li><a href="#xterm_29">Patch #29 - 1996/9/15 - XFree86
1020 3.1.2Gb</a></li>
1021
1022 <li><a href="#xterm_28">Patch #28 - 1996/8/31 - XFree86
1023 3.1.2F</a></li>
1024
1025 <li><a href="#xterm_27">Patch #27 - 1996/8/21 - XFree86
1026 3.1.2Ek</a></li>
1027
1028 <li><a href="#xterm_26">Patch #26 - 1996/8/20 - XFree86
1029 3.1.2Ei</a></li>
1030
1031 <li><a href="#xterm_25">Patch #25 - 1996/8/18 - XFree86
1032 3.1.2Ei</a></li>
1033
1034 <li><a href="#xterm_24">Patch #24 - 1996/8/11 - XFree86
1035 3.1.2Ee</a></li>
1036
1037 <li><a href="#xterm_23">Patch #23 - 1996/7/31 - XFree86
1038 3.1.2Ec</a></li>
1039
1040 <li><a href="#xterm_22">Patch #22 - 1996/7/26 - XFree86
1041 3.1.2Ec</a></li>
1042
1043 <li><a href="#xterm_21">Patch #21 - 1996/7/24 - XFree86
1044 3.1.2Ec</a></li>
1045
1046 <li><a href="#xterm_20">Patch #20 - 1996/7/24 - XFree86
1047 3.1.2Ec</a></li>
1048
1049 <li><a href="#xterm_19">Patch #19 - 1996/7/21 - XFree86
1050 3.1.2Ec</a></li>
1051
1052 <li><a href="#xterm_18">Patch #18 - 1996/7/18 - XFree86
1053 3.1.2Ec</a></li>
1054
1055 <li><a href="#xterm_17">Patch #17 - 1996/7/2 - XFree86
1056 3.1.2Eb</a></li>
1057
1058 <li><a href="#xterm_16">Patch #16 - 1996/6/25 - XFree86
1059 3.1.2Ea</a></li>
1060
1061 <li><a href="#xterm_15">Patch #15 - 1996/5/29 - XFree86
1062 3.1.2E</a></li>
1063
1064 <li><a href="#xterm_14">Patch #14 - 1996/5/12 - XFree86
1065 3.1.2Dj</a></li>
1066
1067 <li><a href="#xterm_13">Patch #13 - 1996/4/23 - XFree86
1068 3.1.2Df</a></li>
1069
1070 <li><a href="#xterm_12">Patch #12 - 1996/3/16 - XFree86
1071 3.1.2Dc</a></li>
1072
1073 <li><a href="#xterm_11">Patch #11 - 1996/3/5 - XFree86
1074 3.1.2Db</a></li>
1075
1076 <li><a href="#xterm_10">Patch #10 - 1996/2/14 - XFree86
1077 3.1.2Cd</a></li>
1078
1079 <li><a href="#xterm_09">Patch #9 - 1996/2/10 - XFree86
1080 3.1.2Cb</a></li>
1081
1082 <li><a href="#xterm_08">Patch #8 - 1996/2/9 - XFree86
1083 3.1.2Cb</a></li>
1084
1085 <li><a href="#xterm_07">Patch #7 - 1996/1/28 - XFree86
1086 3.1.2n</a></li>
1087
1088 <li><a href="#xterm_06">Patch #6 - 1996/1/8</a></li>
1089
1090 <li><a href="#xterm_05">Patch #5 - 1996/1/7</a></li>
1091
1092 <li><a href="#xterm_04">Patch #4 - 1996/1/7</a></li>
1093
1094 <li><a href="#xterm_03">Patch #3 - 1996/1/7</a></li>
1095
1096 <li><a href="#xterm_02">Patch #2 - 1996/1/7</a></li>
1097
1098 <li><a href="#xterm_01">Patch #1 - 1996/1/6</a></li>
1099 </ul>
1100
1101 <h1><a name="xterm_410" id="xterm_410">Patch #410 -
1102 2026/05/01</a></h1>
1103
1104 <ul>
1105 <li>amend one of the fixes for Debian #738794 in <a href=
1106 "#xterm_407">patch #407</a>, which caused combining characters
1107 to be outlined (report by "Martin").</li>
1108
1109 <li>clarify in <tt>ctlseqs.ms</tt> which modes listed for
1110 DECSET are readonly (prompted by discussion with Thomas
1111 Wolff).</li>
1112 </ul>
1113
1114 <h1><a name="xterm_409" id="xterm_409">Patch #409 -
1115 2026/04/13</a></h1>
1116
1117 <ul>
1118 <li>correct one of the special cases added for Debian #1123877
1119 in <a href="#xterm_408">patch #408</a> (report by H Merijn
1120 Brand).</li>
1121
1122 <li>update version for <em>Extended Window Manager Hints</em>
1123 (EWMH), in manpage.</li>
1124 </ul>
1125
1126 <h1><a name="xterm_408" id="xterm_408">Patch #408 -
1127 2026/04/12</a></h1>
1128
1129 <ul>
1130 <li>fix some gcc, cppcheck, clang and coverity warnings.</li>
1131
1132 <li>fix a regression in <a href="#xterm_404">patch #404</a>
1133 which prevented key-press/release events from working with
1134 selection-related actions (report by Julio Bacel).</li>
1135
1136 <li>improve feature which retains selection/highlighting when
1137 screen is scrolled (Debian #1128961, cf Debian #291787).</li>
1138
1139 <li>fill in a few more special cases for Debian #1123877.</li>
1140 </ul>
1141
1142 <h1><a name="xterm_407" id="xterm_407">Patch #407 -
1143 2026/02/16</a></h1>
1144
1145 <ul>
1146 <li>add private modes 1020 to 1023 for reporting whether xterm
1147 uses UTF-8, whether CJK-width is set, whether Emoji-width is
1148 set, and whether private-width is set.</li>
1149
1150 <li>add resource <tt>privateWidth</tt> to control whether PUA
1151 (private use area) codes are neutral width or
1152 single-width.</li>
1153
1154 <li>improve fix for Debian #738794, to show boxes for codes
1155 which are neither combining characters or valid Unicode
1156 characters (Debian #1123877).</li>
1157
1158 <li>improve switching to/from UTF-8 mode by saving, restoring
1159 and resetting the G0-G3 array (Debian #1124802).</li>
1160
1161 <li>use <tt>ST</tt> consistently in terminfo rather than legacy
1162 <tt>BEL</tt></li>
1163
1164 <li>minor updates to configure script and terminfo</li>
1165
1166 <li>add option <tt>--enable-resize-adjust</tt> for saving and
1167 repainting parts of the window which are lost when the user
1168 resizes the window (integrated patch by Kirill A
1169 Korinsky).</li>
1170 </ul>
1171
1172 <h1><a name="xterm_406" id="xterm_406">Patch #406 -
1173 2025/12/21</a></h1>
1174
1175 <ul>
1176 <li>add configure option <tt>--enable-resize-adjust</tt>, to
1177 provide support for cursor-adjustment and repainting of saved
1178 data when resizing the window (patch by Kirill A
1179 Korinsky).</li>
1180
1181 <li>add option <tt>-emoji_width</tt> and resource
1182 <tt>emojiWidth</tt> to allow enabling/disabling VS15/VS16
1183 feature introduced in <a href="#xterm_404">patch #404</a>
1184 (Debian #1123509). Also, work around display issues by changing
1185 the filler character for VS16.</li>
1186 </ul>
1187
1188 <h1><a name="xterm_405" id="xterm_405">Patch #405 -
1189 2025/12/14</a></h1>
1190
1191 <ul>
1192 <li>correct sign-extension in drawing changes made in <a href=
1193 "#xterm_404">patch #404</a> (Debian #1122519)</li>
1194
1195 <li>further improvements to limit-checking for mouse button and
1196 motion events (report by James Holderness).</li>
1197
1198 <li>correct index expression when handling overflow of title
1199 stack.</li>
1200 </ul>
1201
1202 <h1><a name="xterm_404" id="xterm_404">Patch #404 -
1203 2025/11/30</a></h1>
1204
1205 <ul>
1206 <li>add numeric keypad codes to XTGETTCAP.</li>
1207
1208 <li>implement parsing and cursor positioning for Unicode
1209 variation selectors 15 and 16.</li>
1210
1211 <li>improve limit-checking for mouse button and motion events
1212 (report by James Holderness).</li>
1213
1214 <li>fix a bug in printer code in xterm #403 (report by Felix
1215 Brockmeier).</li>
1216
1217 <li>change <tt>wcwidth</tt> for private-use codes, to make them
1218 consistently neutral width, i.e., single/double width according
1219 to whether they are used for CJK.</li>
1220
1221 <li>improve test-driver for <tt>wcwidth</tt>, adding options to
1222 test the predefined ranges listed in UnicodeData, as well as
1223 suppressing output where it only shows that the system's
1224 <tt>wcwidth</tt> lacks a definition for codes.</li>
1225
1226 <li>add some of the OpenBSD local-patches, including an
1227 ifdef-improvement for <tt>DEF_DISALLOWED_WINDOW</tt> (patch by
1228 Matthieu Herrb).</li>
1229
1230 <li>modify configure script macros to widen pattern for
1231 <tt>$host_os</tt> from &ldquo;linux*gnu&rdquo; to
1232 &ldquo;linux*gnu*&rdquo; to cover targets such as
1233 i686-pc-linux-gnut64 (GenToo #963725).</li>
1234 </ul>
1235
1236 <h1><a name="xterm_403" id="xterm_403">Patch #403 -
1237 2025/10/19</a></h1>
1238
1239 <ul>
1240 <li>modify a special case which gives the expected width of
1241 Latin-1 characters to account for the <tt>allowC1Printable</tt>
1242 resource (Debian #1110771).</li>
1243
1244 <li>modify <tt>run-tic.in</tt> to use ncurses tic's <tt>-o</tt>
1245 option in preference to the <tt>TERMINFO</tt> environment
1246 variable.</li>
1247
1248 <li>adjust limits for built-in line-drawing characters (Debian
1249 #1109472).</li>
1250
1251 <li>add note in manpage regarding environment variables which
1252 xterm removes (report by Ben Collver).</li>
1253
1254 <li>modify resources <code>eightBitSelectTypes</code> and
1255 <code>utf8SelectTypes</code> to match names ignoring case.</li>
1256
1257 <li>improve manpage description of comma-separated resource
1258 values (prompted by discussion with Istv&aacute;n Kopft).</li>
1259
1260 <li>change default value for <code>disallowedWindowOps</code>
1261 resource (prompted by discussion with Istv&aacute;n
1262 Kopft).</li>
1263
1264 <li>fix a mismatched pointer in free in error-handling of a
1265 table lookup of resource initialization (report/patch by
1266 Istv&aacute;n Kopft).</li>
1267
1268 <li>update tables in <code>wcwidth.c</code> based on Unicode
1269 17.0.0</li>
1270
1271 <li>update config.guess, config.sub</li>
1272 </ul>
1273
1274 <h1><a name="xterm_402" id="xterm_402">Patch #402 -
1275 2025/09/08</a></h1>
1276
1277 <ul>
1278 <li>revise a correction for HLS to RGB from <a href=
1279 "#xterm_385">patch #385</a> to avoid losing precision
1280 (report/patch by Istv&aacute;n Kopft).</li>
1281
1282 <li>extend special case for line-drawing characters in glyphs
1283 1-31 to work with TrueType fonts (report/testcase by Jens
1284 Schweikhardt).</li>
1285
1286 <li>modify <code>wcwidth.c</code> to treat Emoji codes as
1287 double-width.</li>
1288
1289 <li>add configure option <tt>--with-xterm-kbs</tt> as in
1290 ncurses, to provide for platform-based default value for the
1291 erase key definition in terminfo.</li>
1292
1293 <li>modify DA1 to report extension code 17 with VT320.</li>
1294
1295 <li>simplify <tt>CursorBack</tt> and related cursor-movement
1296 functions.</li>
1297
1298 <li>change names of experimental ifdef's such as xmc-glitch to
1299 begin with "<tt>EXP_</tt>", and consistently use fallbacks in
1300 ptyx.h</li>
1301
1302 <li>expanded section of manpage dealing with select/paste.</li>
1303
1304 <li>amend <a href="#xterm_392">patch #392</a> changes for
1305 accepting an 8-bit ST to make this an experimental feature
1306 limited to the SOS table when in UTF-8 mode.</li>
1307
1308 <li>update precompose.c based on Unicode 16.0</li>
1309
1310 <li>add a null-pointer check in <tt>ScrnWriteText</tt> (Debian
1311 #1110769).</li>
1312 </ul>
1313
1314 <h1><a name="xterm_401" id="xterm_401">Patch #401 -
1315 2025/07/02</a></h1>
1316
1317 <ul>
1318 <li>adjust reported window-position by the shell window's
1319 border with in XTWINOPS 13, for better match with the position
1320 set via XTWINOPS 3, fixing a mismatch seen with esctest.</li>
1321
1322 <li>improve ifdef'ing of infrequently-configured features.</li>
1323
1324 <li>add <tt>vttests/query-allowed.pl</tt>, to illustrate OSC
1325 60, 61, and 62.</li>
1326
1327 <li>add <em>OSC 62</em>, to provide a list of features which
1328 can be specified to be disabled/enabled via resource settings
1329 or menus.</li>
1330
1331 <li>restore a check needed for Debian #1084794, which was lost
1332 in the changes for <a href="#xterm_400">patch #400</a> (report
1333 by Sean C Farley).</li>
1334
1335 <li>correct spelling for "allowWindowOps" in OSC 61. The
1336 original spelling "allowWinOps" is still accepted.</li>
1337 </ul>
1338
1339 <h1><a name="xterm_400" id="xterm_400">Patch #400 -
1340 2025/06/15</a></h1>
1341
1342 <ul>
1343 <li>improve configure check for X libraries to reduce
1344 duplicates.</li>
1345
1346 <li>amend fix for (Debian #1084794 to ensure that
1347 non-linedrawing characters are drawn with Xft (report by Robert
1348 Ross).</li>
1349
1350 <li>simplify/consolidate copyright notices where those were
1351 redundant.</li>
1352
1353 <li>update/improve cleanup of environment variables.</li>
1354 </ul>
1355
1356 <h1><a name="xterm_399" id="xterm_399">Patch #399 -
1357 2025/05/18</a></h1>
1358
1359 <ul>
1360 <li>add configure check for <tt>inline</tt>, for c89
1361 support.</li>
1362
1363 <li>further improve integration between UTF-8 and
1364 <tt>allowC1Printable</tt> (report by Matthieu Herrb).</li>
1365
1366 <li>modify one of the missing-character checks to prefer Xft's
1367 check over the check for missing line-drawing characters
1368 (Debian #1084794).</li>
1369
1370 <li>align terminfo building blocks in terminfo to correspond to
1371 recent refactoring/trimming in ncurses.</li>
1372
1373 <li>revise a limit-check in selection to fix a regression in
1374 <a href="#xterm_398">patch #398</a> (Debian #1105738).</li>
1375
1376 <li>modify configure check for Xft to work around recent change
1377 to fontconfig's pkg-config file (Gentoo #953864).</li>
1378 </ul>
1379
1380 <h1><a name="xterm_398" id="xterm_398">Patch #398 -
1381 2025/04/11</a></h1>
1382
1383 <ul>
1384 <li>modify <tt>DECFRA</tt> and <tt>DECRQCRA</tt> to handle NRCS
1385 and ISO character set mappings.</li>
1386
1387 <li>ensure that the cursor GC is updated when switching between
1388 normal and italic fonts (report/testcase by Peter
1389 Fabinski).</li>
1390
1391 <li>reduce overflow in scaling of ReGIS coordinates
1392 (report/testcase by Robert L Masterson).</li>
1393
1394 <li>improve permissions-check for valid shell program.</li>
1395
1396 <li>extend <em>modifyOtherKeys</em> and
1397 <em>formatOtherKeys</em> to the various categories of special
1398 keys, i.e., cursor-keys, function-keys, keypad-keys,
1399 modifier-keys and (other) special-keys.
1400 <ul>
1401 <li>review/extend <tt>convmap.pl</tt> to handle all of the
1402 X11 keysym definitions in <tt>keysym2ucs</tt>.</li>
1403
1404 <li>keysyms which do not correspond to Unicode character
1405 codes are mapped to Unicode private use areas in the BMP
1406 and plane 15.</li>
1407
1408 <li>add/extend control sequences for the new format- and
1409 modify-resources.</li>
1410 </ul>
1411 </li>
1412
1413 <li>fix copy/paste error in configure script for default value
1414 of <tt>--enable-block-select</tt> (report by Vincent
1415 Lef&egrave;vre).</li>
1416
1417 <li>revise <tt>keysym2ucs.c</tt>, to provide mapping to/from
1418 the Unicode private use area for non-character keysyms. Also
1419 remove redundant items from <tt>keysym.map</tt>.</li>
1420
1421 <li>improve <tt>modifyOtherKeys</tt>, by providing the UCS
1422 value for keys which have no single-byte representation (Debian
1423 #1093056).</li>
1424
1425 <li>add two extensions to <tt>modifyOtherKeys</tt>:
1426 <ul>
1427 <li>setting <tt>modifyOtherKeys</tt> to 3 makes all
1428 keyboard input send escape sequences, using parameter 1
1429 where no modifiers are given.</li>
1430
1431 <li>a subparameter can be added to the <tt>XTMODKEYS</tt>
1432 control sequence, telling xterm to factor-out the
1433 corresponding modifier mask from available parameters in
1434 the <tt>modifyOtherKeys</tt> feature.</li>
1435 </ul>
1436 </li>
1437
1438 <li>add items <tt>ColumnMode</tt> and <tt>StatusLine</tt> to
1439 <tt>disallowWindowOps</tt>, for <tt>DECCOLM</tt>,
1440 <tt>DECANM</tt> and <tt>DECSASD</tt>, <tt>DECSSDT</tt>
1441 respectively (report by Sami Farin).</li>
1442
1443 <li>fix several minor issues reported by Coverity.</li>
1444
1445 <li>add <tt>ColorEvents</tt> resource to provide a way for
1446 applications to send a client message which can modify the
1447 default foreground and background colors (adapted from patch by
1448 Claes N&auml;st&eacute;n).</li>
1449
1450 <li>add special case for displaying an error for <tt>CAN</tt>
1451 (cancel) when emulating VT100 (prompted by discussion with
1452 Thomas Wolff).</li>
1453
1454 <li>correct the size of a <tt>CellData</tt> buffer in
1455 <tt>xtermReportSGR</tt> seen in ASAN2 (report by Sami
1456 Farin).</li>
1457 </ul>
1458
1459 <h1><a name="xterm_397" id="xterm_397">Patch #397 -
1460 2025/01/05</a></h1>
1461
1462 <ul>
1463 <li>add resource <tt>printRawChars</tt> to allow bypassing
1464 check in <a href="#xterm_389">patch #389</a> which omits
1465 Unicode non-characters from printing (request by Adam
1466 Saponara).</li>
1467
1468 <li>add visible-effect for <tt>SUB</tt>, per DEC 070 page
1469 5-132.</li>
1470
1471 <li>correct a limit-check in private mode <tt>1045</tt>.</li>
1472
1473 <li>add optional feature for block-selection, bound to
1474 meta-button-one (patch by Adam Saponara).</li>
1475
1476 <li>if started as a VT52, identify the terminal as a real VT52
1477 rather than VT52 emulated by VT100.</li>
1478
1479 <li>amend change to VT52 cursor-addressing per DEC 070 (mintty
1480 #1299).</li>
1481
1482 <li>correct <tt>ctlseqs.ms</tt> suffix for
1483 <tt>XTTITLEPOS</tt></li>
1484 </ul>
1485
1486 <h1><a name="xterm_396" id="xterm_396">Patch #396 -
1487 2024/12/02</a></h1>
1488
1489 <ul>
1490 <li>fix stricter warnings provided by upcoming gcc 15, as well
1491 as NetBSD lint.</li>
1492
1493 <li>modify title-stack test script, adding logging and
1494 command-replay options. Improved the script with new controls:
1495 <ul>
1496 <li>add <tt>XTTITLEPOS</tt> query to get position in
1497 title-stack.</li>
1498
1499 <li>add <tt>DECRQSS</tt> for <tt>XTSMTITLE</tt>.</li>
1500 </ul>
1501 </li>
1502
1503 <li>correct cursor-addressing limit for VT52 mode (report by
1504 Serguei Fichel).</li>
1505
1506 <li>amend change in <a href="#xterm_395">patch #395</a> for
1507 7-bit parsing to allow UTF-8 titles (report by Dmytro
1508 Bagril).</li>
1509
1510 <li>portability fixes for configure script, from ncurses</li>
1511
1512 <li>update config.guess, config.sub</li>
1513 </ul>
1514
1515 <h1><a name="xterm_395" id="xterm_395">Patch #395 -
1516 2024/10/24</a></h1>
1517
1518 <ul>
1519 <li>add <tt>DECRQSS</tt> response for <tt>DECSTGLT</tt>, i.e.,
1520 ANSI SGR color.</li>
1521
1522 <li>add Russian and SCS NRCS character set mappings.</li>
1523
1524 <li>remove obsolete code for OS390 and VMS.</li>
1525
1526 <li>minor fixes to work with vttest 20240929's 7-bit parsing
1527 test.</li>
1528
1529 <li>improve DECRPM responses for unsupported modes; those which
1530 are valid for a given DEC terminal are reported as permanently
1531 reset rather than unknown.</li>
1532
1533 <li>add JIS-Roman and JIS-Katakana character sets, for
1534 VT382.</li>
1535
1536 <li>fix typo in <tt>ctlseqs.ms</tt> note about function key vs
1537 DSR (report by Michael Thomas Greer).</li>
1538
1539 <li>formatting fixes for <tt>ctlseqs.ms</tt> (report by Mark
1540 Manning).</li>
1541
1542 <li>update tables in <code>wcwidth.c</code> based on Unicode
1543 16.0.0</li>
1544 </ul>
1545
1546 <h1><a name="xterm_394" id="xterm_394">Patch #394 -
1547 2024/09/02</a></h1>
1548
1549 <ul>
1550 <li>add <tt>-nomap</tt> option (request by Tavis Ormandy).</li>
1551
1552 <li>improve checks for rectangle operations, per DEC 070.</li>
1553
1554 <li>improve check for missing characters in bitmap fonts, for a
1555 case where the font is marked complete but its range does not
1556 include non-Latin1 codes (prompted by discussion with Craig
1557 Leres).</li>
1558
1559 <li>correct upper-limit in check for missing characters, from
1560 <a href="#xterm_393">patch #393</a> changes (report/patch by
1561 Matthew Martin).</li>
1562
1563 <li>fix for <tt>-report-fonts</tt> option when the font's first
1564 character position is nonzero (prompted by discussion with
1565 Craig Leres).</li>
1566
1567 <li>add null-pointer check for a Heisenbug (Debian
1568 #1078255).</li>
1569 </ul>
1570
1571 <h1><a name="xterm_393" id="xterm_393">Patch #393 -
1572 2024/07/11</a></h1>
1573
1574 <ul>
1575 <li>add a check for ANSI SC/RC, to ignore CSI parameters.</li>
1576
1577 <li>improve check for missing characters for bitmap-fonts by
1578 using the normal font for reference in the case where the
1579 current font, e.g., the wide-font was derived from the normal
1580 font and lacks per-character metrics (report by Rajeev V.
1581 Pillai).</li>
1582
1583 <li>fix regression in error-recovery for SGR parameters from
1584 <a href="#xterm_357">patch #357</a> (report by James
1585 Holderness).</li>
1586
1587 <li>remove some duplicates in <tt>xtermcfg.h</tt> (report by
1588 Matthew Green).</li>
1589
1590 <li>change default for <tt>--enable-imake</tt> configure
1591 option.</li>
1592
1593 <li>fixes for <tt>wcwidth</tt>:
1594 <ul>
1595 <li>return 0 for format effectors, like a zero-width
1596 printing character rather than -1 like a control character
1597 (report by Rajeev V. Pillai).</li>
1598
1599 <li>correct <tt>doublewidth</tt> to account for reserved
1600 codepoints which are listed in the EastAsianWidth
1601 file.</li>
1602
1603 <li>add a special case for surrogate pairs, which might be
1604 checked in testing the <tt>wcwidth</tt> function.</li>
1605 </ul>
1606 </li>
1607
1608 <li>amend sixel bounds-check added in <a href=
1609 "#xterm_371">patch #371</a> to not wrap out-of-bounds
1610 data.</li>
1611
1612 <li>eliminate <tt>maxStringParse</tt> limit for SIXEL.</li>
1613
1614 <li>improve logic which ignores APC, PM and SOS controls to
1615 also not accumulate their data temporarily in a buffer.</li>
1616
1617 <li>exclude <tt>TERM_INGRESS</tt> from cleanup of environment
1618 variables (patch by Iain Riley).</li>
1619
1620 <li>fix some documentation typos (report by Thomas Wolff).</li>
1621 </ul>
1622
1623 <h1><a name="xterm_392" id="xterm_392">Patch #392 -
1624 2024/05/22</a></h1>
1625
1626 <ul>
1627 <li>improve input decoding for non-Latin1 character sets by
1628 preserving the sense of GL/GR.</li>
1629
1630 <li>add resource <tt>preferLatin1</tt> to simplify UPSS
1631 configuration (Gentoo #932154).</li>
1632
1633 <li>build-fix for <tt>--disable-boxchars</tt>; <a href=
1634 "#xterm_390">patch #390</a> reuses that feature's code to draw
1635 the part of the DEC Technical character set which has no
1636 Unicode equivalent.</li>
1637
1638 <li>modify <tt>#include</tt> of <tt>pty.h</tt> to work with
1639 musl (report by Khem Raj).</li>
1640
1641 <li>improve definitions used in <tt>clock_gettime</tt> logic in
1642 <tt>graphics_sixel.c</tt>, as well as updating comments (patch
1643 by Ben Wong).</li>
1644
1645 <li>amend <code>allowC1Printable</code> changes from <a href=
1646 "#xterm_391">patch #391</a>, restoring a special case which
1647 caused C1 characters to be ignored (report/testcase by Dmytro
1648 Bagrii).</li>
1649 </ul>
1650
1651 <h1><a name="xterm_391" id="xterm_391">Patch #391 -
1652 2024/05/12</a></h1>
1653
1654 <ul>
1655 <li>improve integration between UTF-8 and
1656 <code>allowC1Printable</code>.</li>
1657
1658 <li>alter SIXEL HLS computation to make blue 0 degrees (patch
1659 by Ben Wong).</li>
1660
1661 <li>disable SIXEL aspect-ratio, pending a rewrite (patch by Ben
1662 Wong).</li>
1663
1664 <li>add resource <code>incrementalGraphics</code> (prompted by
1665 patch by Ben Wong).</li>
1666
1667 <li>reorganize <tt>graphics_sixel.c</tt> as a step toward
1668 eliminating graphics buffer-size (integrated patch by Ben
1669 Wong).</li>
1670
1671 <li>use <code>__linux__</code> consistently rather than the
1672 older <code>linux</code>.</li>
1673
1674 <li>build-fix for musl (report by Jon&aacute;&scaron; Vidra,
1675 adapted patch by Khem Raj):
1676 <ul>
1677 <li>modify <code><em>ifdef</em></code> for
1678 <code>USE_OPENPTY</code>, changing test for
1679 <code>__GLIBC__</code> to <code>__linux__</code></li>
1680
1681 <li>change <code><em>ifdef</em></code>'s for
1682 <code>_POSIX_SOURCE</code> to
1683 <code>_POSIX_VERSION</code></li>
1684
1685 <li>modify <code><em>ifdef</em></code> for
1686 <code>setsid</code> to use a configure-script check for
1687 that function's existence and move the old check to imake
1688 fallbacks.</li>
1689 </ul>
1690 </li>
1691
1692 <li>minor consistency fixes for manpage.</li>
1693
1694 <li>fix regression in <a href="#xterm_390">patch #390</a>:
1695 non-UTF8 text pasted as a XA_UTF8_STRING was not decoded
1696 (report by Petri Kaukasoina).</li>
1697 </ul>
1698
1699 <h1><a name="xterm_390" id="xterm_390">Patch #390 -
1700 2024/02/19</a></h1>
1701
1702 <ul>
1703 <li>improve typography of control-sequences page (patches by
1704 Branden Robinson).</li>
1705
1706 <li>amend UPSS change from <a href="#xterm_389">patch #389</a>,
1707 fixing a regression in VT100/VT220 character sets.</li>
1708
1709 <li>modify ANSI conformance per ECMA-43 and DEC 070:
1710 <ul>
1711 <li>set ANSI conformance level to 3 for DEC levels 2 and
1712 up.</li>
1713
1714 <li>disable locking shifts in level 1, e.g., VT100.</li>
1715
1716 <li>disable single-shifts from G2/G3 in level 1.</li>
1717
1718 <li>use UPSS for G2/G3 in levels 2 and up.</li>
1719 </ul>
1720 </li>
1721
1722 <li>modify invisible-character attribute to permit
1723 <tt>DECRQCRA</tt> to report a consistent checksum
1724 (report/testcase by Thomas Wolff).</li>
1725
1726 <li>align terminfo building blocks in terminfo to correspond to
1727 recent refactoring/trimming in ncurses.</li>
1728
1729 <li>set flag in regexec call for
1730 <code>on<em>N</em>Clicks</code> to handle
1731 &ldquo;<tt>^</tt>&rdquo; anchor (patch by Matthew Martin).</li>
1732
1733 <li>add line-drawing data for the characters in <a href=
1734 "https://www.vt100.net/charsets/technical.html"><em>DEC
1735 Technical</em></a> which have no Unicode equivalents.</li>
1736
1737 <li>remove a special case in <tt>encode_scs</tt> which made
1738 xterm report Latin-1 when encoding is set to UTF-8, where ASCII
1739 is the selected character set. This fixes a regression in
1740 vttest for the <tt>DECRSPS</tt> cursor test.</li>
1741
1742 <li>correct values for <em>Ps</em> of <tt>DECAUPSS</tt> in
1743 <tt>ctlseqs.ms</tt> (report by James Holderness).</li>
1744
1745 <li>simplify/correct expression for checking Unicode
1746 non-characters (report by Thomas Wolff).</li>
1747
1748 <li>correct loop for trimming environment variables
1749 (report/patch by Casper Dik).</li>
1750
1751 <li>fixes for manpage formatting (Debian #1041809).</li>
1752
1753 <li>update config.guess, config.sub</li>
1754 </ul>
1755
1756 <h1><a name="xterm_389" id="xterm_389">Patch #389 -
1757 2024/01/01</a></h1>
1758
1759 <ul>
1760 <li>interchange variables in subparameter parsing, fixing a bug
1761 where subparameters after the first parameter could be
1762 misidentified (patch by Adam Saponara).</li>
1763
1764 <li>correct popping of icon/window titles in a case where only
1765 one was pushed from <a href="#xterm_385">patch #385</a>
1766 changes.</li>
1767
1768 <li>add <tt>XTQMODKEYS</tt> response in <tt>DECRQSS</tt>, as
1769 alternative for vim.</li>
1770
1771 <li>correct <tt>DECCIR</tt> encoded information on character
1772 set size, handle a VT525 quirk, and add <tt>DECST8C</tt>
1773 (Windows Terminal #14984).</li>
1774
1775 <li>improve <tt>DECRQCRA</tt> (prompted by discussion with
1776 James Holderness, Windows Terminal #14974).</li>
1777
1778 <li>add part of VT525 color controls:
1779 <ul>
1780 <li><tt>DECAC</tt>, to update default
1781 foreground/background, respond to <tt>DECRQSS</tt></li>
1782
1783 <li><tt>DECATC</tt>, to respond with <tt>DECRQSS</tt></li>
1784 </ul>
1785 </li>
1786
1787 <li>prevent Unicode non-characters from being printed (prompted
1788 by patch by Grady Martin).</li>
1789
1790 <li>modify <tt>send_SGR()</tt> to avoid modifying colors 16 to
1791 255 in printed output (patch by Grady Martin).</li>
1792
1793 <li>minor cleanup of miscellaneous error-codes with
1794 <tt>ERROR_MISC</tt>.</li>
1795
1796 <li>remove legacy <tt><em>CSI</em> 53</tt> for locator status,
1797 corrected in <a href="#xterm_294">patch #294</a>.</li>
1798
1799 <li>modify <tt>DECRQUPSS</tt> and <tt>DECAUPSS</tt> feature to
1800 support VT5xx character sets (report by Thomas Wolff).</li>
1801
1802 <li>improve configure script:
1803 <ul>
1804 <li>reduce configure-check compiler warnings (prompted by
1805 Florian Weimer, Redhat #2251945)</li>
1806
1807 <li>improve usage messages in configure script to make it
1808 clearer when an option value is optional.</li>
1809 </ul>
1810 </li>
1811
1812 <li>improve EWMH handling (report/analysis by Edward Rosten)
1813 <ul>
1814 <li>reset <tt>_NET_WM_STATE_HIDDEN</tt> flag from
1815 <tt>_NET_WM_STATE</tt> before mapping the window to
1816 deiconify.</li>
1817
1818 <li>cache X properties to reduce latency (adapted from
1819 patch by Edward Rosten).</li>
1820 </ul>
1821 </li>
1822 </ul>
1823
1824 <h1><a name="xterm_388" id="xterm_388">Patch #388 -
1825 2023/10/22</a></h1>
1826
1827 <ul>
1828 <li>improve <tt>disallowPasteControls</tt> by adding a category
1829 for the special characters known to <tt>stty</tt> (prompted by
1830 discussion with David Leadbeater).</li>
1831
1832 <li>amend support of <tt>DECAUPSS</tt>, undoing change to
1833 initialization of G2/G3 so that pasting of GR characters works
1834 properly (report/analysis by Petri Kaukasoina).</li>
1835
1836 <li>update config.guess, config.sub</li>
1837 </ul>
1838
1839 <h1><a name="xterm_387" id="xterm_387">Patch #387 -
1840 2023/10/15</a></h1>
1841
1842 <ul>
1843 <li>add <tt>DECRQUPSS</tt> and <tt>DECAUPSS</tt>.</li>
1844
1845 <li>add <tt>DECRQDE</tt> (report by Jake Hamby).</li>
1846
1847 <li>correct indexing expression in title-stack, from <a href=
1848 "#xterm_385">patch #385</a> changes (report by Brian
1849 Lindholm).</li>
1850 </ul>
1851
1852 <h1><a name="xterm_386" id="xterm_386">Patch #386 -
1853 2023/10/09</a></h1>
1854
1855 <ul>
1856 <li>improve references in <tt>ctlseqs.ms</tt> (prompted by
1857 discussion with Kirill Chibisov).</li>
1858
1859 <li>make the maximum amount of memory used for buffering DCS
1860 and OSC strings configurable with <tt>maxStringParse</tt>
1861 resource (report by Daniel Franke).</li>
1862
1863 <li>improve performance of ReGIS when initializing the largest
1864 fontsize (report by Ben Wong).</li>
1865
1866 <li>fix regression in SIXEL colors, in <a href=
1867 "#xterm_385">patch #385</a> (report/patch by Jonny
1868 Langley).</li>
1869
1870 <li>fix typo in <code>--with-wtmp</code> (report/patch by Sven
1871 Joachim)</li>
1872 </ul>
1873
1874 <h1><a name="xterm_385" id="xterm_385">Patch #385 -
1875 2023/10/01</a></h1>
1876
1877 <ul>
1878 <li>fixes for ReGIS (report by Ben Wong).
1879 <ul>
1880 <li>correct conversion from HLS to RGB</li>
1881
1882 <li>improve font-caching performance.</li>
1883 </ul>
1884 </li>
1885
1886 <li>update tables in <code>wcwidth.c</code> based on Unicode
1887 15.1.0</li>
1888
1889 <li>improve <code>fastScroll</code> resource:
1890 <ul>
1891 <li>suppress screen-refreshes for carriage-returns</li>
1892
1893 <li>add <code>-jf</code> option to simplify use of this
1894 resource.</li>
1895
1896 <li>add a control sequence for enabling/disabling the
1897 resource.</li>
1898
1899 <li>enable this feature by default</li>
1900 </ul>
1901 </li>
1902
1903 <li>extend title-stack feature to allow an additional parameter
1904 to directly access the stack, like the
1905 <code>XTPUSHCOLORS</code> and <code>XTPOPCOLORS</code>
1906 feature.</li>
1907
1908 <li>correct size and position of box shown for double-cell
1909 character which happens to be missing from the bitmap font
1910 (report by Peter Fabinski).</li>
1911
1912 <li>improved configure script:
1913 <ul>
1914 <li>add pattern for uClibc-ng to <tt>CF_XOPEN_SOURCE</tt>
1915 (report/patch by Waldemar Brodkorb).</li>
1916
1917 <li>add configure options <tt>--with-utmp-path</tt> and
1918 <tt>--with-wtmp-path</tt> to override configure script's
1919 check for utmp/wtmp pathnames which are shown in the manual
1920 (Debian #1042767).</li>
1921
1922 <li><tt>CF_XOPEN_SOURCE</tt> provides for defining
1923 <tt>_DEFAULT_SOURCE</tt> for MinGW32 and MinGW64.</li>
1924
1925 <li>sed expression used to report gcc version now works
1926 with MinGW</li>
1927 </ul>
1928 </li>
1929
1930 <li>ensure that line-attributes are reset after drawing missing
1931 character (report by Christian Weisgerber).</li>
1932
1933 <li>update config.guess, config.sub</li>
1934 </ul>
1935
1936 <h1><a name="xterm_384" id="xterm_384">Patch #384 -
1937 2023/07/10</a></h1>
1938
1939 <ul>
1940 <li>exclude ASCII space from <code>showMissingGlyphs</code>,
1941 since a few bitmap fonts lack this (report by "SanRemo",
1942 Emanuel Haupt).</li>
1943
1944 <li>correct a step in rendering double-width characters with
1945 bitmap-fonts (report by Peter Fabinski, Debian #1039986).</li>
1946
1947 <li>fixes for ReGIS-related problems (report by Ben Wong):
1948 <ul>
1949 <li>mimic an undocumented hardware VT340 feature which
1950 handles color initialization with incomplete
1951 parameters.</li>
1952
1953 <li>handle whitespace between operator/operands for color
1954 values.</li>
1955
1956 <li>reset ReGIS-context when resetting graphics in
1957 <tt>RIS</tt>.</li>
1958 </ul>
1959 </li>
1960 </ul>
1961
1962 <h1><a name="xterm_383" id="xterm_383">Patch #383 -
1963 2023/06/27</a></h1>
1964
1965 <ul>
1966 <li>expand description of full- and soft-reset in the
1967 manual.</li>
1968
1969 <li>fixes for full- and soft-reset:
1970 <ul>
1971 <li>clear alternate screen on full reset.</li>
1972
1973 <li>disable menu-entry for active icon; it merely shows
1974 whether the feature is enabled.</li>
1975
1976 <li>use <tt>appcursorDefault</tt> and
1977 <tt>appkeypadDefault</tt> resources for reset of
1978 <tt>DECCKM</tt> and <tt>DECKPAM</tt>.</li>
1979
1980 <li>save initial resource values for
1981 <tt>sixelScrolling</tt> and <tt>privateColorRegisters</tt>,
1982 using those in full reset.</li>
1983
1984 <li>update checkbox for <em>Enable Blinking Cursor</em>
1985 (report by Rajeev V. Pillai).</li>
1986 </ul>
1987 </li>
1988
1989 <li>add reply for <tt>DECSACE</tt> with <tt>DECRQSS</tt>.</li>
1990
1991 <li>modify status-line feature to exit without erasing for
1992 <tt>DECSTR</tt>.</li>
1993
1994 <li>add private mode <tt>1045</tt> which imitates the original
1995 xterm cursor-back reverse wrapping mode <tt>45</tt> (see
1996 <a href="#xterm_380">patch #380</a>).</li>
1997
1998 <li>improve checks for non-Unicode values, e.g., in
1999 <tt>DECRQCRA</tt>.</li>
2000
2001 <li>re-checkout from RCS archive to fix stale identifiers
2002 (report by Sven Joachim).</li>
2003 </ul>
2004
2005 <h1><a name="xterm_382" id="xterm_382">Patch #382 -
2006 2023/05/30</a></h1>
2007
2008 <ul>
2009 <li>amend change to <tt>CursorBack</tt> in <a href=
2010 "#xterm_380">patch #380</a>, allowing the result to be on the
2011 hidden right-half of double-cell characters (report by Rajeev
2012 V. Pillai).</li>
2013
2014 <li>amend <tt>xtermDrawString</tt>, fixing regression with
2015 <tt>--disable-wide-chars</tt> configuration from <a href=
2016 "#xterm_380">patch #380</a>.</li>
2017
2018 <li>corrected pathname for <tt>run-tic.sh</tt>, for full
2019 install in an out-of-tree build (report by Rajeev V.
2020 Pillai).</li>
2021 </ul>
2022
2023 <h1><a name="xterm_381" id="xterm_381">Patch #381 -
2024 2023/05/28</a></h1>
2025
2026 <ul>
2027 <li>fix a regression in wide bitmap fonts versus check for
2028 missing glyphs (report by Rajeev V. Pillai).</li>
2029 </ul>
2030
2031 <h1><a name="xterm_380" id="xterm_380">Patch #380 -
2032 2023/05/09</a></h1>
2033
2034 <ul>
2035 <li>simplify the change for <code>sixelScrolling</code> from
2036 <a href="#xterm_374">patch #374</a> (report by Per
2037 Bothner).</li>
2038
2039 <li>add <tt>xterm+focus</tt> and <tt>report+da2</tt>, update
2040 <tt>report+version</tt> building blocks in terminfo, from
2041 post-ncurses 6.4</li>
2042
2043 <li>drop the <tt>-title</tt> option from <tt>uxterm</tt> and
2044 <tt>koi8rxterm</tt>, because that interferes with deriving the
2045 default title from the <tt>-e</tt> option (Debian #1031837).
2046 Compensate for this by using the <tt>-class</tt> option to
2047 derive a default title.</li>
2048
2049 <li>improve description of readline 2003 mode in
2050 <tt>ctlseqs.ms</tt> (report by Thomas Wolff).</li>
2051
2052 <li>other improvements to status-line feature (report by Thomas
2053 Wolff):
2054 <ul>
2055 <li>clear status line on <tt>DECCOLM</tt></li>
2056
2057 <li>ignore <tt>DECSASD</tt> if no previous
2058 <tt>DECSSDT</tt></li>
2059
2060 <li>allow <tt>DECSSDT&nbsp;1</tt> immediately after
2061 <tt>DECSSDT&nbsp;2</tt>, i.e., without switching back to
2062 host mode.</li>
2063 </ul>
2064 </li>
2065
2066 <li>adjust <tt>RequestResize</tt> to avoid shrinking screen
2067 when using <tt>DECCOLM</tt> while the status-line is active
2068 (report/patch by Thomas Wolff).</li>
2069
2070 <li>disallow wrapping before the beginning of the screen, to
2071 the end of the screen, for cursor-back sequences (Redhat
2072 #2182357).</li>
2073
2074 <li>modify makefile to install the 16x16 xpm files (report by
2075 Harald Dunkel).</li>
2076
2077 <li>update test-package to reflect resolution of Debian
2078 #906901.</li>
2079
2080 <li>change default of <code>showMissingGlyphs</code> to
2081 <em>True</em>.</li>
2082
2083 <li>improve handling of double-sized characters when those
2084 happen to be missing from the bitmap font and/or are
2085 fullwidth.</li>
2086
2087 <li>pointer/overflow fixes (reported by David Leadbeater):
2088 <ul>
2089 <li>improve limit-checks for control-sequence numeric
2090 parameters in SIXEL graphics.</li>
2091
2092 <li>add null-pointer checks in <tt>WriteNow</tt> macro to
2093 handle a case where <tt>SS2</tt> or <tt>SS3</tt> might be
2094 in effect while processing a combining character.</li>
2095
2096 <li>disallow ReGIS reporting for character-set names
2097 containing characters other than alphanumerics or
2098 underscore.</li>
2099
2100 <li>implement TrueType fallback font for double-sized
2101 characters, including Unicode fullwidth. Also add
2102 <tt>limitFontHeight</tt> to provide for configuring the
2103 distinction between slightly-oversized glyphs and
2104 double-sized glyphs.</li>
2105 </ul>
2106 </li>
2107
2108 <li>configure script improvements:
2109 <ul>
2110 <li>check for <tt>nfsd_t</tt></li>
2111 </ul>
2112 </li>
2113
2114 <li>fix a typo in the underline cursor thickness derivation
2115 (patch by Jan Engelhardt).</li>
2116 </ul>
2117
2118 <h1><a name="xterm_379" id="xterm_379">Patch #379 -
2119 2023/02/15</a></h1>
2120
2121 <ul>
2122 <li>improve text-cursor (patch by Jan Engelhardt):
2123 <ul>
2124 <li>allow selecting <tt>CURSOR_BAR</tt> mode from
2125 command-line/Xresources.</li>
2126
2127 <li>draw cursor using filled rectangle instead of rectangle
2128 outline to permit thicker underlines/bars.</li>
2129
2130 <li>scale up cursor relative to font size.</li>
2131 </ul>
2132 </li>
2133
2134 <li>improve readline modes (Fedora #2166860):
2135 <ul>
2136 <li>document readline modes</li>
2137
2138 <li>change the feature to configure by default</li>
2139
2140 <li>replace hard-coded SS3 for cursor movement with current
2141 mode</li>
2142
2143 <li>replace hard-coded erase/lnext characters with current
2144 values</li>
2145 </ul>
2146 </li>
2147
2148 <li>improve status-line (report by Thomas Wolff):
2149 <ul>
2150 <li><tt>RIS</tt> turns off status-line</li>
2151
2152 <li>Right-margin (<tt>DECLRMM</tt> and <tt>DECSLRM</tt>)
2153 limits the length of text written/updated in the
2154 status-line.</li>
2155
2156 <li>Most controls which affect the whole screen are ignored
2157 while updating the status-line.</li>
2158 </ul>
2159 </li>
2160
2161 <li>modify configure check for <tt>tgetent</tt> to allow for
2162 some special cases of ncurses configuration (report by Satadru
2163 Pramani).</li>
2164
2165 <li>reduce timeout, improve warning message if resize is run on
2166 a terminal which is not VT100-compatible.</li>
2167
2168 <li>reduce compiler warnings in configure script.</li>
2169 </ul>
2170
2171 <h1><a name="xterm_378" id="xterm_378">Patch #378 -
2172 2023/01/09</a></h1>
2173
2174 <ul>
2175 <li>improve descriptions of <em>XTQMODKEYS</em> and
2176 <em>XTQALLOWED</em> features in <tt>ctlseqs.ms</tt> (reports by
2177 Bram Moolenaar, Thomas Wolff).</li>
2178
2179 <li>add <tt>bracketed+paste</tt> and <tt>report+version</tt>
2180 building blocks to terminfo, from ncurses 6.4</li>
2181
2182 <li>improve check for unsupported formatting characters, e.g.,
2183 zero-width space, to properly ignore them (report by Thomas
2184 Wolff).</li>
2185
2186 <li>improve/document error-checking for some of the controls
2187 which return responses: DECRQSS, XTGETXRES, XTSETTCAP,
2188 XTGETTCAP (prompted by discussion with David Leadbeater).</li>
2189
2190 <li>improve limit-checks for fallback font cache (report by
2191 Dimitrije Erdeljan).</li>
2192
2193 <li>improve check for too-wide glyph in fallback font by
2194 allowing xterm to continue searching for a suitable font rather
2195 than just failing on the first. Also add
2196 <tt>limitFontWidth</tt> to allow changing the amount by which a
2197 glyph must extend outside the font's bounding box to disallow
2198 it.</li>
2199 </ul>
2200
2201 <h1><a name="xterm_377" id="xterm_377">Patch #377 -
2202 2022/11/25</a></h1>
2203
2204 <ul>
2205 <li>add control sequences for reporting the current state of
2206 the modified keys options (XTQMODKEYS) and allowed/disallowed
2207 operations (XTQALLOWED), (prompted by discussion with Bram
2208 Moolenaar).</li>
2209
2210 <li>amend <code>modifyOtherKeys</code> case 2 to distinguish
2211 the escape character with modifiers, e.g., shift-escape, from a
2212 plain escape character (suggested by Bram Moolenaar).</li>
2213
2214 <li>improve parsing and error-recovery in the case where a list
2215 of X11 bitmap fonts is given in the <code>-fn</code> and
2216 related options.</li>
2217
2218 <li>change default for <code>xftTrackMemUsage</code> to false,
2219 because libXft does not handle certain fonts.</li>
2220 </ul>
2221
2222 <h1><a name="xterm_376" id="xterm_376">Patch #376 -
2223 2022/11/16</a></h1>
2224
2225 <ul>
2226 <li>modify configure script to always check for gcc
2227 attributes,</li>
2228
2229 <li>update <code>install-sh</code>.</li>
2230
2231 <li>fix parsing of <code>result&nbsp;-u</code> in
2232 <code>vttests/halves.pl</code>.</li>
2233
2234 <li>add a note in <code>ctlseqs.ms</code> about compatibility
2235 of <code>TBC</code>.</li>
2236
2237 <li>fix a copy/paste error in manual (patch by Grady
2238 Martin).</li>
2239
2240 <li>add null-pointer checks in <code>x_strcasecmp</code> and
2241 <code>x_strncasecmp</code>, to help with error-recovery for a
2242 missing font (Debian #1022942).</li>
2243 </ul>
2244
2245 <h1><a name="xterm_375" id="xterm_375">Patch #375 -
2246 2022/10/23</a></h1>
2247
2248 <ul>
2249 <li>improve error-recovery when setting a bitmap font for the
2250 VT100 window, e.g., in case <em>OSC&nbsp;50</em> failed,
2251 restoring the most recent valid font so that a subsequent
2252 <em>OSC&nbsp;50</em> reports this correctly (report by David
2253 Leadbeater).</li>
2254
2255 <li>exclude <code>MC_XDG_OPEN</code> from environment variables
2256 trimmed on startup (report by Gabor Hauzer).</li>
2257
2258 <li>check for null pointer in <code>isSelect()</code> (report
2259 by Column Paget).</li>
2260 </ul>
2261
2262 <h1><a name="xterm_374" id="xterm_374">Patch #374 -
2263 2022/10/10</a></h1>
2264
2265 <ul>
2266 <li>eliminate use of grep aliases from vttests scripts.</li>
2267
2268 <li>amend discussion of <code>DECSDM</code> versus <em>Sixel
2269 Scrolling</em> in <code>ctlseqs.ms</code> (reports by Hayaki
2270 Saito, Ben Wong).</li>
2271
2272 <li>change default for <code>sixelScrolling</code> resource to
2273 better match VT330/VT340 <code>DECSDM</code> setting (patch by
2274 Ben Wong).</li>
2275
2276 <li>fix some gcc and coverity warnings.</li>
2277
2278 <li>improve memory usage for <tt>OSC&nbsp;52</tt> (report by
2279 David Leadbeater).</li>
2280
2281 <li>fix regression in <a href="#xterm_373">xterm-373</a> change
2282 adding resources <tt>xftTrackMemUsage</tt> to
2283 <tt>xftMaxGlyphMemory</tt>, which did not first cache the
2284 server's resource-settings (report/testcase by Gabor Hauzer, as
2285 well as Debian #1021243).</li>
2286
2287 <li>fix regression in <a href="#xterm_373">xterm-373</a> change
2288 for status-line vs alternate screen (report by Rajeev V.
2289 Pillai).</li>
2290
2291 <li>configure script improvements:
2292 <ul>
2293 <li>modify <tt>CF_XOPEN_SOURCE</tt> to handle more special
2294 cases of Linux (reports by Adam Sampson, Sven
2295 Joachim).</li>
2296
2297 <li>modify checks for egrep/fgrep aliases to work around
2298 warning messages from GNU grep 3.8</li>
2299 </ul>
2300 </li>
2301 </ul>
2302
2303 <h1><a name="xterm_373" id="xterm_373">Patch #373 -
2304 2022/09/25</a></h1>
2305
2306 <ul>
2307 <li>improve rendering of TrueType fonts:
2308 <ul>
2309 <li>add resource <tt>xftTrackMemUsage</tt> to
2310 enable/disable a new feature of Xft which improves
2311 performance.</li>
2312
2313 <li>add resources <tt>xftMaxGlyphMemory</tt> and
2314 <tt>xftMaxUnrefFonts</tt> to customize memory-usage of Xft
2315 and fontconfig.</li>
2316
2317 <li>provide for display of colored fonts in libXft
2318 2.3.5</li>
2319
2320 <li>allow for an extra TrueType font to be specified using
2321 the <code>-fa</code> option, as an override to the
2322 <em>fontconfig</em> scheme of fallback fonts (request by
2323 Nickolas Raymond Kaczynski).</li>
2324
2325 <li>improve caching of TrueType missing-glyph tests.</li>
2326
2327 <li>allow no more than 255 fonts to be scanned for a
2328 fontset.</li>
2329
2330 <li>eliminate a table-lookup in <tt>findXftGlyph</tt></li>
2331 </ul>
2332 </li>
2333
2334 <li>improvements status-line feature:
2335 <ul>
2336 <li>save/restore wraparound flag when updating the
2337 status-line (report by Rajeev V. Pillai).</li>
2338
2339 <li>avoid clearing the status-line when switching between
2340 normal and alternate screens (report by Valtteri
2341 Vuorikoski).</li>
2342
2343 <li>remove adjustment from <tt>update_winsize</tt> leftover
2344 from initial work (report by Valtteri Vuorikoski).</li>
2345 </ul>
2346 </li>
2347
2348 <li>modify <tt>wcwidth</tt> tables to separate Unicode
2349 <em>Cf</em> category as <em>formatting</em> control-characters,
2350 to better match the guideline for <a href=
2351 "http://www.unicode.org/faq/unsup_char.html">unsupported
2352 characters</a> (report by Tim Chase).</li>
2353
2354 <li>add configure option
2355 <tt>--disable-exec-selection</tt>.</li>
2356
2357 <li>use <tt>mkstemp</tt> where <tt>mkdtemp</tt> is unavailable,
2358 when initializing colored cursor.</li>
2359
2360 <li>adapt fixes from OpenBSD xenocara:
2361 <ul>
2362 <li>improve ifdef's for a few optional features.</li>
2363
2364 <li>correct <tt>#ifdef</tt> to <tt>#if</tt> in a few uses
2365 of <tt>OPT_PRINT_ON_EXIT</tt>.</li>
2366 </ul>
2367 </li>
2368
2369 <li>set <tt>StartupWMClass</tt> in
2370 &ldquo;<tt>.desktop</tt>&rdquo; files, e.g., to help
2371 <tt>cinnamon-session</tt> notice that xterm sets
2372 <tt>WM_CLASS</tt> and use its icon (patch by Richard de
2373 Boer).</li>
2374
2375 <li>disable pixel computation when rgb width is greater than 8,
2376 to work with depth 30 (patch by Denis Kaganovich).</li>
2377
2378 <li>improve color-computation for SGR 2 faint/dim (patch by
2379 Boian Bonev). Add resource <tt>faintIsRelative</tt> to specify
2380 if the modified computation should be used (prompted by
2381 discussion with Matthieu Herrb).</li>
2382
2383 <li>correct comparison-length for environment variable cleanup
2384 (patch by Brendan O' Dea).</li>
2385
2386 <li>correct <tt>dsl</tt> capability for <tt>dec+sl</tt> block
2387 in terminfo (report by Rajeev V. Pillai).</li>
2388
2389 <li>improve output formatting by <tt>vttests/utf8.pl</tt></li>
2390
2391 <li>repair test/demo scripts still using "vxt-" prefix, some
2392 cleanup with shellcheck.</li>
2393
2394 <li>enable page-number for <tt>DECXCPR</tt> response in
2395 VT330.</li>
2396
2397 <li>amend change for combining characters in <a href=
2398 "#xterm_371">patch #371</a> to limit it to the
2399 currently-defined codes (report by Thomas Wolff).</li>
2400
2401 <li>add directory-template parameter to <tt>mktemp</tt> in
2402 shell-scripts to improve portability to older systems (patch by
2403 Ryan Schmidt).</li>
2404
2405 <li>mention webpage <a href=
2406 "https://invisible-island.net/xterm/xterm-paste64.html"><em>XTerm
2407 &ndash; bracketed-paste</em></a> in
2408 <code>ctlseqs.ms</code></li>
2409
2410 <li>update manual-page descriptions for
2411 <code>allowPasteControls</code> and
2412 <code>disallowedPasteControls</code> (<a href=
2413 "#xterm_363">patch #363</a>).</li>
2414
2415 <li>further extended list of environment variables to purge on
2416 startup (suggested by Thomas Wolff).</li>
2417
2418 <li>update config.guess, config.sub</li>
2419 </ul>
2420
2421 <h1><a name="xterm_372" id="xterm_372">Patch #372 -
2422 2022/03/09</a></h1>
2423
2424 <ul>
2425 <li>amend allocation/freeing of scrollback lines, eliminating
2426 an adjustment for status-line added in <a href=
2427 "#xterm_371">patch #371</a> (report/testcase by Rajeev V.
2428 Pillai).</li>
2429 </ul>
2430
2431 <h1><a name="xterm_371" id="xterm_371">Patch #371 -
2432 2022/02/24</a></h1>
2433
2434 <ul>
2435 <li>drop double-buffer default from test-packages, since that
2436 interferes with status-line.</li>
2437
2438 <li>add <code>faceSize7</code> to table in
2439 <code>charproc.c</code>, overlooked in <a href=
2440 "#xterm_360">patch #360</a> (patch by Vladimir A. Pavlov).</li>
2441
2442 <li>use <code>XDrawString</code> rather than
2443 <code>XDrawString16</code> for text when the latter is not
2444 needed.</li>
2445
2446 <li>improve performance for initializing/reusing graphic
2447 objects in the SIXEL feature.</li>
2448
2449 <li>improve error-checking for <code>resize</code>.</li>
2450
2451 <li>fix errata in manual page (Debian #988221).</li>
2452
2453 <li>extended list of environment variables to purge on startup,
2454 i.e., in case a user starts xterm from another terminal
2455 emulator.</li>
2456
2457 <li>add comment in <code>cursor.c</code> to explain why
2458 autowrap (<code>DECAWM</code>) does not apply to data
2459 saved/restored with save/restore cursor-operations (report by
2460 Thomas Wolff).</li>
2461
2462 <li>add special case in generating the combining-character
2463 table in <code>wcwidth.c</code>, for Hangul Jamo Extended-B
2464 (report by Luis Javier Merino).</li>
2465
2466 <li>simplify/improve portability of <code>trap</code> commands
2467 in shell-scripts.</li>
2468
2469 <li>update configure options<br>
2470 <code>--disable-rectangles</code>,<br>
2471 <code>--disable-tcap-fkeys</code> and<br>
2472 <code>--disable-tcap-query</code><br>
2473 to account for changed default settings.</li>
2474
2475 <li>rather than ignore empty parameter for setting title, use
2476 that to reset it to &ldquo;xterm&rdquo; for scripting.</li>
2477
2478 <li>check for out-of-bounds condition while drawing sixels, and
2479 quit that operation (report by Nick Black).</li>
2480
2481 <li>add fallback definition for <code>PROJECTROOT</code> so
2482 that a suitable default location for <code>luit</code> will be
2483 compiled-in on build-servers.</li>
2484
2485 <li>implement DEC status-line controls DECSASD/DECSSDT:
2486 <ul>
2487 <li>decode controls, set state</li>
2488
2489 <li>implement DECRQSS responses</li>
2490
2491 <li>implement indicator-style status-line</li>
2492
2493 <li>add configure option
2494 <code>--enable-status-line</code></li>
2495
2496 <li>add resource <code>indicatorFormat</code></li>
2497
2498 <li>implement host-writable status-line, able to handle
2499 video-attributes and simple left/right cursor movement.
2500 This disallows all of the DEC/xterm private modes such as
2501 switching to/from the alternate screen.</li>
2502
2503 <li>move the status-line if the window is resized.</li>
2504
2505 <li><em>Note:</em> the associated screen-resizing does not
2506 work for the special case of TrueType fonts with
2507 double-buffering (see note in <a href=
2508 "#xterm_349_xft_bug">patch #349</a>).</li>
2509 </ul>
2510 </li>
2511
2512 <li>modify configure-script fixup for <code>-Werror</code>
2513 options to exclude fixup for <code>-Werror=format</code>, e.g.,
2514 <code>-Werror=format-security</code>.</li>
2515
2516 <li>amend change from <a href="#xterm_370">patch #370</a>; DEC
2517 070's pseudo-code for DECCOLM incorrectly suggests that it
2518 enables DECLRMM as a side-effect.</li>
2519
2520 <li>fix some memory leaks seen using esctest and asan2 (patch
2521 by Luis Javier Merino).</li>
2522 </ul>
2523
2524 <h1><a name="xterm_370" id="xterm_370">Patch #370 -
2525 2021/11/13</a></h1>
2526
2527 <ul>
2528 <li>add <code>-a</code>, <code>-c</code> and <code>-d</code>
2529 options to <code>query-status.pl</code> to improve test for
2530 <code>DECRQSS</code>.</li>
2531
2532 <li>expanded discussion of maximum graphics geometry in
2533 <code>ctlseqs.ms</code> (suggested by Bon Wong).</li>
2534
2535 <li>corrected parameter symbol for <code>DECCARA</code> and
2536 <code>DECRARA</code> in <code>ctlseqs.ms</code> to indicate
2537 that multiple parameters may be used (report by Thomas
2538 Wolff).</li>
2539
2540 <li>add several test/demo scripts.</li>
2541
2542 <li>improve <code>DECCOLM</code>, <code>DECLRMM</code> and
2543 <code>DECALN</code> referring to pseudo-code in DEC 070.</li>
2544
2545 <li>amend a change in patch #348 which caused left/right margin
2546 mode to be reset when resizing the terminal window (report by
2547 Valentine Barshak).</li>
2548
2549 <li>fix a misnamed macro-parameter (patch by Rajeev V.
2550 Pillai).</li>
2551
2552 <li>fix spacing of <code>wideFont</code> when its width is not
2553 exactly twice as wide as the normal font (report by Rajeev V.
2554 Pillai).</li>
2555
2556 <li>suppress loading of italic font in a few places when
2557 <code>colorITmode</code> is enabled (report/analysis by Rajeev
2558 V. Pillai).</li>
2559
2560 <li>modify <code>XTSMGRAPHICS</code> to return failure status
2561 if the terminal is not configured to support the corresponding
2562 ReGIS or SIXEL feature (report by Nick Black, notcurses #2252,
2563 notcurses #2257).</li>
2564
2565 <li>modify <code>DECERA</code> and <code>DECFRA</code> to erase
2566 corresponding area in SIXEL graphics (patch by Nick Black,
2567 notcurses #1740, vt340test #16). Also modify
2568 <code>DECSERA</code>.</li>
2569
2570 <li>equate visuals for TrueColor and DirectColor (patch by
2571 Denis Kaganovich).</li>
2572
2573 <li>correct computation for pixel value of rgb when using depth
2574 16 (report by Denis Kaganovich).</li>
2575
2576 <li>correct wrapping of VT100-style double-sized characters
2577 when configured for Unicode wide-characters (report by Luis
2578 Javier Merino).</li>
2579
2580 <li>updated default value for <code>sixelScrolling</code>
2581 resource to match expected behavior versus <code>DECSDM</code>
2582 change in <a href="#xterm_369">patch #369</a> (report by Grant
2583 Taylor).</li>
2584 </ul>
2585
2586 <h1><a name="xterm_369" id="xterm_369">Patch #369 -
2587 2021/09/21</a></h1>
2588
2589 <ul>
2590 <li>modify <code>run-tic.sh</code> to work around bug in
2591 development version of ncurses which was packaged in FreeBSD
2592 ports.</li>
2593
2594 <li>remove ifdef's for <code>OPT_COLOR_RES</code> and
2595 <code>OPT_COLOR_RES2</code>.</li>
2596
2597 <li>improve performance over slow connections (report by Harald
2598 Dunkel).</li>
2599
2600 <li>update cursor if restoring mode for DECTCEM.</li>
2601
2602 <li>modify <code>CharWidth</code> macro to ensure that the
2603 shortcut for Latin-1 is only applied when UTF-8 is not enabled,
2604 to fix a bug in handling soft-hyphen from <a href=
2605 "#xterm_334">patch #334</a> changes (patch by Martijn van
2606 Duren).</li>
2607
2608 <li>improve terminfo:
2609 <ul>
2610 <li>fill-in function-keys in terminfo which are not Sun/HP
2611 keyboards using <code>xterm+nopcfkeys</code>
2612 building-block.</li>
2613
2614 <li>add kbeg to xterm+keypad to accommodate termcap
2615 applications</li>
2616
2617 <li>add smglp and smgrp to vt420+lrmm, to provide useful
2618 data for the "tabs" <code><strong>+m</strong></code>
2619 option</li>
2620 </ul>
2621 </li>
2622
2623 <li>support shift-tab in Sun, HP and SCO keyboards.</li>
2624
2625 <li>document some legacy features in <code>ctlseqs.ms</code>
2626 (prompted by discussion with Jimmy Aguilar Mena "Ergus").</li>
2627
2628 <li>add &ldquo;trim&rdquo; option to <code>cdXtraScroll</code>
2629 and <code>tiXtraScroll</code>.</li>
2630
2631 <li>remove support for non-fifo save-lines configuration.</li>
2632
2633 <li>extend <code>cdXtraScroll</code> to check if the cursor is
2634 at the upper-left of the scrolling region when the erasure is
2635 for the remainder of the screen versus the whole screen
2636 (prompted by discussion with J&ouml;rg Breitbart).</li>
2637
2638 <li>add workaround for broken pcre2 package in Debian 10.</li>
2639
2640 <li>change screen-refresh call used for <code>DECCARA</code>
2641 and <code>DECRARA</code> to ensure that trailing blanks which
2642 are part of the rectangle are repainted (report/analysis by
2643 Dennis Filder).</li>
2644
2645 <li>when resetting the terminal, ensure that the cursor shape
2646 also is reset, e.g., if <code>DECSCUSR</code> has been used to
2647 modify the cursor shape for an xterm which was started with the
2648 underlined cursor option (report/analysis by Luis Javier
2649 Merino).</li>
2650
2651 <li>prevent <code>DECSCUSR</code> from blinking the cursor if
2652 the <code>cursorBlink</code> resource is &ldquo;never&rdquo;
2653 (report by Vladimir D Seleznev).</li>
2654
2655 <li>invert the sense of <code>DECSDM</code>, to correspond with
2656 VT382 manuals (lsix #41).</li>
2657
2658 <li>update tables in <code>wcwidth.c</code> based on Unicode
2659 14.0.0</li>
2660 </ul>
2661
2662 <h1><a name="xterm_368" id="xterm_368">Patch #368 -
2663 2021/06/07</a></h1>
2664
2665 <ul>
2666 <li>add <code>DefaultOff</code> option to
2667 <code>RenderFont</code> resource, as part of the
2668 session-management feature.</li>
2669
2670 <li>add auto-scroll-lock feature (patch by Stelios
2671 Bounanos).</li>
2672
2673 <li>update the window-size information returned via
2674 <code>TIOCGWINSZ</code> when rows/columns are unchanged but the
2675 font-size changes (report by Nick Black).</li>
2676
2677 <li>improve session-management feature by saving/restoring the
2678 font settings.</li>
2679
2680 <li>update config.guess, config.sub</li>
2681 </ul>
2682
2683 <h1><a name="xterm_367" id="xterm_367">Patch #367 -
2684 2021/03/26</a></h1>
2685
2686 <ul>
2687 <li>add <code>OSC&nbsp;22</code> to allow programs to select
2688 different pointer cursor at runtime.</li>
2689
2690 <li>change configuration for <em>no-return</em> functions to
2691 use <code>_Noreturn</code> when it is available, because
2692 <code>clang --analyze</code> does not properly handle the gcc
2693 noreturn attribute.</li>
2694
2695 <li>add <code>cursorTheme</code> resource to provide a way to
2696 enable or disable the cursor theme feature.</li>
2697
2698 <li>modified <code>CopyWait</code> event retries to use shorter
2699 sleeps, to improve responsiveness (tmux #2556).</li>
2700
2701 <li>improve quoting/escaping in demo-scripts per
2702 shellcheck.</li>
2703
2704 <li>add <code>resizeByPixel</code> resource, to permit
2705 disabling window manager resizing-hints (patch by Tim
2706 Oehl).</li>
2707
2708 <li>corrected <code>printOptsImmediate</code> handling of
2709 alternate-screen (report by Abhijit Dasgupta).</li>
2710
2711 <li>update sample terminfo to more closely match ncurses.</li>
2712
2713 <li>add/improve limit-checks for Xlib calls (report by Roman
2714 Fiedler).</li>
2715
2716 <li>fix a typo in the help-message (report by Tomas
2717 Korbar).</li>
2718 </ul>
2719
2720 <h1><a name="xterm_366" id="xterm_366">Patch #366 -
2721 2021/02/10</a></h1>
2722
2723 <ul>
2724 <li>correct a compiler-warning fix in <a href=
2725 "#xterm_352">patch #352</a> which allowed sign-extension of
2726 coordinate values (report by "CismonX").</li>
2727
2728 <li>correct upper-limit for selection buffer, accounting for
2729 combining characters (report/testcase by Tavis Ormandy).</li>
2730
2731 <li>with <code>alwaysHighlight</code> true, xterm does not
2732 properly track focus. The <em>screen-&gt;select</em>
2733 <code>FOCUS</code> flag remains always on, which prevents
2734 <code>bellIsUrgent</code> from working, as the urgent
2735 <code>WM_HINT</code> flag is only set in
2736 <code>setXUrgency()</code> when the window is not focused. Fix
2737 this by updating <em>screen-&gt;select</em> in
2738 <code>unselectwindow()</code> regardless of the value of
2739 <code>always_highlight</code> (patch by Jiri Bohac).</li>
2740
2741 <li>improve fix for interaction between SRM and ENQ (report by
2742 Grant Taylor).</li>
2743
2744 <li>build-fix for <code>--with-Xaw3dxft</code>, needed when
2745 <code>--with-toolbar</code> is omitted (report by Jimmy Olgeni,
2746 Emanuel Haupt).</li>
2747 </ul>
2748
2749 <h1><a name="xterm_365" id="xterm_365">Patch #365 -
2750 2021/02/03</a></h1>
2751
2752 <ul>
2753 <li>amend fix for &ldquo;word&rdquo; selection in <a href=
2754 "#xterm_364">patch #364</a> to limit that to the
2755 <code>insert-selectable</code> <em>action</em>, which reads
2756 data from the screen. This restores the interactive behavior
2757 where double-clicking on a &ldquo;word&rdquo; would make
2758 subsequent selection extensions by words as well as suppressing
2759 some boundary-checks (report by David Wolfskill, FreeBSD
2760 #253225).</li>
2761 </ul>
2762
2763 <h1><a name="xterm_364" id="xterm_364">Patch #364 -
2764 2021/02/02</a></h1>
2765
2766 <ul>
2767 <li>add <code>-fc</code> option.</li>
2768
2769 <li>correct/improve limit-checks for SRM versus ENQ from
2770 <a href="#xterm_344">patch #344</a> (report by Tom
2771 Szilagyi).</li>
2772
2773 <li>enable <code>XftFont</code> resource in Xaw3dxft
2774 configuration (patch by Tavis Ormandy).</li>
2775
2776 <li>improve quoting/escaping in build-scripts per
2777 shellcheck.</li>
2778
2779 <li>add <code>libpcre2-posix</code> to the packages tested for
2780 <code>--with-pcre2</code> option, needed with Fedora (report by
2781 Tomas Korbar).</li>
2782
2783 <li>correct a typo in manual page, and note that
2784 <code>KeepClipboard</code> may not be compiled-in (report/patch
2785 by Sean C Farley).</li>
2786
2787 <li>corrected boundary-checks for &ldquo;word&rdquo; selection
2788 used in <code>on<em>N</em>Clicks</code> resources (report by
2789 Tavis Ormandy).</li>
2790
2791 <li>update to autoconf-2.52-20210101, to improve shellcheck
2792 warnings.</li>
2793
2794 <li>improve configure check for desktop categories.</li>
2795 </ul>
2796
2797 <h1><a name="xterm_363" id="xterm_363">Patch #363 -
2798 2020/12/26</a></h1>
2799
2800 <ul>
2801 <li>disable groff hyphenation in generated html when using
2802 man2html.</li>
2803
2804 <li>change SCS &ldquo;<code>&amp;4</code>&rdquo; Cyrillic to
2805 non-NRCS, per VT520 manual.</li>
2806
2807 <li>amend fix for SCS in <a href="#xterm_198">patch #198</a> to
2808 remove <code>DEL</code> rather than converting it to a space
2809 (report by Thomas Wolff).</li>
2810
2811 <li>modify state transitions for selecting character sets to
2812 eliminate an ambiguity between the &ldquo;A&rdquo; used in
2813 VT220 versus VT320.</li>
2814
2815 <li>improve error recovery when selecting characters by
2816 resetting to US ASCII when no suitable encoding is found, e.g.,
2817 attempting to use an NRCS sequence when NRCS is not
2818 enabled.</li>
2819
2820 <li>turn off hyphenation in &ldquo;<code>.txt</code>&rdquo;
2821 conversion, prompted by groff changes.</li>
2822
2823 <li>add VT5xx ISO Latin-2 (prompted by discussion with Thomas
2824 Wolff).</li>
2825
2826 <li>amend change from <a href="#xterm_361">patch #361</a> to
2827 event-handling in <code>CopyWait</code> to handle active-icon
2828 as a special case (Debian #975687).</li>
2829
2830 <li>add call to <code>loadColorTable</code> to get the visual
2831 information needed to decode BE RGBA32 color format (patch by
2832 Leandro Lupori).</li>
2833
2834 <li>modify the resource-parsing for
2835 <code>disallowedPasteControls</code> and similar lists of
2836 names/numbers to recognize &ldquo;~;&rdquo; (tilde) for
2837 cancelling a given name/number.</li>
2838
2839 <li>add ENQ, EOT and NUL to default for
2840 <code>disallowedPasteControls</code>.</li>
2841
2842 <li>change default for <code>disallowedPasteControls</code> to
2843 omit the tab character (suggested by Harald Dunkel).</li>
2844
2845 <li>fix swapped height/width in <code>regisScreenSize</code>
2846 and <code>maxGraphicSize</code> resources using "auto" value,
2847 from <a href="#xterm_314">patch #314</a> (report by Anton
2848 Lavrentiev)</li>
2849
2850 <li>revise <a href="#xterm_362">patch #362</a> change for
2851 shift-modifier versus mouse protocol and select/paste by adding
2852 resource <code>shiftEscape</code>, which can be enabled via a
2853 control sequence (prompted by discussion with Matthijs van
2854 Duin).</li>
2855
2856 <li>simplify/improve ifdef in trace code for using a separate
2857 set of files for each run of xterm.</li>
2858
2859 <li>add options <code>-r</code> and <code>-t</code> to
2860 <code>vttests/query-color.pl</code> to show the 6-digit RGB
2861 code and actual colors.</li>
2862
2863 <li>add <code>nel</code> to <code>xterm-basic</code>
2864 terminfo.</li>
2865
2866 <li>alter <code>vttests/modify-keys.pl</code> to omit HTML
2867 reference links to the modified-keys table where no keycode was
2868 available.</li>
2869 </ul>
2870
2871 <h1><a name="xterm_362" id="xterm_362">Patch #362 -
2872 2020/11/11</a></h1>
2873
2874 <ul>
2875 <li>cleanup of calls to <code>free</code>, removing checks for
2876 null (Walter Harms).</li>
2877
2878 <li>improved mouse-button reporting (prompted by discussion
2879 with Stephane Chazelas)
2880 <ul>
2881 <li>narrow the scope of the change for shift-key in
2882 <a href="#xterm_361">patch #361</a> to make it apply only
2883 when the <code>modifyOtherKeys</code> resource is set to 2
2884 (i.e., &ldquo;program mode&rdquo;). Also, when checking the
2885 shift-key, ignore modifiers other than shift, control and
2886 &ldquo;meta&rdquo;</li>
2887
2888 <li>use the alt/meta modifier information obtained in
2889 <code>VTInitModifiers</code> to replace a hard-coded
2890 <em>mod1</em> used to detect &ldquo;Meta&rdquo; for
2891 mouse-button responses.</li>
2892 </ul>
2893 </li>
2894
2895 <li>reduce <code>SIGWINCH</code>'s sent to the client by
2896 filtering out duplicates.</li>
2897
2898 <li>improve display when <code>scaleHeight</code> is greater
2899 than 1:
2900 <ul>
2901 <li>the text-cursor is vertically-centered on the current
2902 line, rather than only extending below the current line
2903 (report by Manu Chaturvedi).</li>
2904
2905 <li>the built-in line-drawing characters extend to the
2906 scaled cell-height.</li>
2907 </ul>
2908 </li>
2909
2910 <li>fill-in special case for motion-events to match the changes
2911 for shift-key in pointer-button events from <a href=
2912 "#xterm_361">patch #361</a>.</li>
2913 </ul>
2914
2915 <h1><a name="xterm_361" id="xterm_361">Patch #361 -
2916 2020/10/14</a></h1>
2917
2918 <ul>
2919 <li>treat the return value of <code>strerror</code> as readonly
2920 (patch by Philipp Klaus Krause).</li>
2921
2922 <li>modify event-handling in <code>CopyWait</code> to work
2923 around hanging while writing large amounts of text to an active
2924 icon and at the same time iconifying/deiconifying (report by
2925 Dave Kemper).</li>
2926
2927 <li>initialize double-buffer for active-icon window.</li>
2928
2929 <li>improve manual page description of scrollbar resources
2930 (report by Brian Lindholm).</li>
2931
2932 <li>correct ifdef for menu entry for active-icon, when
2933 initializing it with toolbar configuration.</li>
2934
2935 <li>add preprocessor option to makefile to set internal
2936 definition of pixmaps directory to match the
2937 install-configuration (FreeBSD #250036).</li>
2938
2939 <li>cleanup of calls to <code>free</code>, removing checks for
2940 null (Walter Harms).</li>
2941
2942 <li>add fallback actions <code>pointer-button</code> and
2943 <code>pointer-motion</code> which handle events for the mouse
2944 control-sequences protocol if the <em>select</em>-related
2945 translations are omitted with
2946 <code>*omitTranslation:select</code> (prompted by discussion
2947 with "Ergus")</li>
2948
2949 <li>amend rule for using shift-key to override mouse-protocol
2950 for select/paste to limit that feature to mouse-buttons which
2951 are actually bound to select/paste actions (prompted by
2952 discussion with "Ergus").</li>
2953
2954 <li>corrected mapping in special case for repainting wrap-marks
2955 when viewing the scrollback area.</li>
2956
2957 <li>use separate <em>GCs</em> for <code>showWrapMarks</code>
2958 feature, to work around cursor coloring change in <a href=
2959 "#xterm_345">patch #345</a> (report by Paulo Silva de
2960 Al&iacute;bano).</li>
2961 </ul>
2962
2963 <h1><a name="xterm_360" id="xterm_360">Patch #360 -
2964 2020/09/20</a></h1>
2965
2966 <ul>
2967 <li>mention <code>decGraphicsID</code> in
2968 <code>ctlseqs.ms</code> (suggested by Thomas Wolff).</li>
2969
2970 <li>modify pixel-coordinate mouse response to use as origin the
2971 VT100-window rather than the underlying widget, which includes
2972 the scrollbar (report by Thomas Wolff).</li>
2973
2974 <li>add configure option <code>--disable-print-graphics</code>
2975 (Ross Combs).</li>
2976
2977 <li>add <code>test_ptydata</code> to &ldquo;make check&rdquo;
2978 rule.</li>
2979
2980 <li>minor fixes for <code>ctlseqs.ms</code> (report by
2981 Jean-Marc Bourguet).</li>
2982
2983 <li>minor fixes for manpage style (report/patch by
2984 "a1346054").</li>
2985
2986 <li>correct cleanup from switch between italics/normal font in
2987 the show/hide cursor functions (report/testcase by Peter
2988 Fabinski).</li>
2989
2990 <li>integrated patch by Ross Combs:
2991 <ul>
2992 <li>internal renaming of GraphicsID symbols, for
2993 readability.</li>
2994
2995 <li>adjust logic for VT125, treating it as a ReGIS
2996 terminal.</li>
2997 </ul>
2998 </li>
2999
3000 <li>update configure macros, for compiler-warning fixes.</li>
3001
3002 <li>integrated patch by Ross Combs:
3003 <ul>
3004 <li>add control sequence modes for graphics printing.</li>
3005
3006 <li>improve conversion to bitmaps for TrueType fonts in
3007 ReGIS</li>
3008
3009 <li>add <code>font7</code> resource, for an
3010 &ldquo;enormous&rdquo; bitmap font.</li>
3011
3012 <li>do not reset graphics in a soft-reset.</li>
3013
3014 <li>add <code>pointerFont</code> resource, and
3015 <code>-pf</code> command-line option.</li>
3016 </ul>
3017 </li>
3018
3019 <li>improve typography of manual page (patch by Branden
3020 Robinson).</li>
3021
3022 <li>amend <a href="#xterm_359">patch #359</a> change to
3023 <code>df-install.in</code> to ignore a command-line assignment
3024 to <code>DESTDIR</code> if followed by an explicit
3025 <code>--dir</code> (report by Sven Joachim).</li>
3026 </ul>
3027
3028 <h1><a name="xterm_359" id="xterm_359">Patch #359 -
3029 2020/08/17</a></h1>
3030
3031 <ul>
3032 <li>add special case in <code>WriteText</code> to allow colors
3033 8-15 to override <code>colorBDMode</code> (patch by Ingo
3034 Br&uuml;ckl).</li>
3035
3036 <li>add <code>utf8Weblike</code> resource, to provide an
3037 alternate scheme for handling ill-formed UTF-8 sequences
3038 (adapted from patch by Dan Gohman).</li>
3039
3040 <li>improve computation for the number of lines needed to
3041 scroll-up a SIXEL graphic (report/patch by Ben Wong).</li>
3042
3043 <li>correct manpage description for default value of
3044 <code>disallowWindowOps</code> from changes in <a href=
3045 "#xterm_331">xterm #331</a> (patch by Ben Wong).</li>
3046
3047 <li>correct a loop starting-point in
3048 <code>refresh_graphics</code> from optimization in <a href=
3049 "#xterm_358">patch #358</a> changes (report by Ben Wong).</li>
3050
3051 <li>add a new mouse mode 1016, which uses the same format as
3052 mode 1006, but sends the mouse's position in pixels (suggested
3053 by Igor van den Hoven).</li>
3054
3055 <li>fix an issue from <a href="#xterm_338">patch #338</a>
3056 changes where only the first selection buffer specified in the
3057 request would be updated using OSC 52 (patch by Michael
3058 Gulick).</li>
3059
3060 <li>modify makefile/scripts to allow <code>DESTDIR</code> to
3061 prefix the target directory for desktop-file-install (report by
3062 Fred Heitkamp).</li>
3063
3064 <li>enable SIXEL feature by default.</li>
3065
3066 <li>update config.guess, config.sub</li>
3067 </ul>
3068
3069 <h1><a name="xterm_358" id="xterm_358">Patch #358 -
3070 2020/07/12</a></h1>
3071
3072 <ul>
3073 <li>correct logic for decodeTerminalID changes in <a href=
3074 "#xterm_357">patch #357</a> (report by "Chartreuse").</li>
3075
3076 <li>modify makefile to use <code>plink.sh</code> when linking
3077 test-programs, to fix build when using pcre (report by H Merijn
3078 Brand)</li>
3079
3080 <li>build-fix for test_ptydata program (patch by H Merijn
3081 Brand)</li>
3082 </ul>
3083
3084 <h1><a name="xterm_357" id="xterm_357">Patch #357 -
3085 2020/07/05</a></h1>
3086
3087 <ul>
3088 <li>several minor optimizations for the ReGIS and SIXEL
3089 features, improving performance by 10%.</li>
3090
3091 <li>add resource <code>decGraphicsID</code> to allow displaying
3092 graphics when the emulation level would ordinarily disallow
3093 this (prompted by discussion with Thomas Wolff).</li>
3094
3095 <li>add control sequences for fast switching of color palettes:
3096 <code>XTPUSHCOLORS</code>, <code>XTPOPCOLORS</code>,
3097 <code>XTREPORTCOLORS</code></li>
3098
3099 <li>amend change for soft-hyphen from <a href=
3100 "#xterm_328">patch #328</a> to avoid stripping
3101 replacement-characters which would be shown with malformed or
3102 overlong UTF-8 input.</li>
3103
3104 <li>corrected an error-handling case in
3105 <code>decodeUtf8</code>, matching a similar fix in <a href=
3106 "#xterm_268">patch #268</a> (report/patch by Dan Gohman).</li>
3107
3108 <li>add a test-driver for <code>ptydata.c</code></li>
3109
3110 <li>minor cleanup of macros (adapted from patch by Walter
3111 Harms).</li>
3112
3113 <li>fix some errata in <code>ctlseqs.ms</code> (report by
3114 Thomas Wolff).</li>
3115
3116 <li>allow immediate repaint-on-palette-changed if
3117 double-buffering is enabled.</li>
3118
3119 <li>deprecate codes 10/11 in sgr push controls, changing those
3120 to 30/31, to avoid confusion with sgr 10-19.</li>
3121
3122 <li>modify <code>SGR</code> parameter handling to stop if an
3123 unrecognized parameter is encountered, to guard against
3124 malformed or nonstandard sequences (report by Bram
3125 Moolenaar).</li>
3126
3127 <li>modify <code>DECERA</code> color for consistency with other
3128 erasures/clearing (report by Thomas Wolff).</li>
3129
3130 <li><code>ECH</code> should not be masked by
3131 <code>DECSCA</code> (report by Thomas Wolff).</li>
3132
3133 <li>extend <code>DECFRA</code> and <code>REP</code> to accept
3134 any &ldquo;graphic&rdquo; character rather than just Latin1,
3135 etc. (report by Thomas Wolff).</li>
3136
3137 <li>add <code>-C</code> option to 256colors2.pl and
3138 88colors2.pl, to demonstrate mixed semicolon/colon separators
3139 which are implied by ECMA-48.</li>
3140
3141 <li>update sample terminfo to reflect the documentation
3142 improvements.</li>
3143
3144 <li>update description of 88/256/direct color in
3145 <code>ctlseqs.ms</code> to point out that using semicolons is a
3146 deprecated legacy feature, and standard terminal applications
3147 should use colons (prompted by discussion with Bram
3148 Moolenaar).</li>
3149
3150 <li>modify configure-check for <code>tgetent</code> to
3151 conditionally include <code>termcap.h</code>, enabling
3152 configuration using <code>clang</code>'s pedantic-errors option
3153 (report by Dennis Clarke). See <a href=
3154 "https://invisible-island.net/ncurses/man/curs_termcap.3x.html#h3-Other-Compatibility">
3155 <em>Other Compatibility</em></a> in ncurses'
3156 <em>curs_termcap(3X)</em>.</li>
3157
3158 <li>remove some unnecessary pointer checks (patch by Walter
3159 Harms).</li>
3160
3161 <li>accept terminal-id and add DA response for VT131,
3162 VT132.</li>
3163 </ul>
3164
3165 <h1><a name="xterm_356" id="xterm_356">Patch #356 -
3166 2020/05/02</a></h1>
3167
3168 <ul>
3169 <li>revise fix for Debian #954730, which interfered with wheel
3170 mouse events (report by Gabriele Balducci).</li>
3171 </ul>
3172
3173 <h1><a name="xterm_355" id="xterm_355">Patch #355 -
3174 2020/05/01</a></h1>
3175
3176 <ul>
3177 <li>revise fix for Debian #954730, which interfered with wheel
3178 mouse events (report by Henri Menke).</li>
3179
3180 <li>fix typos in documentation (reports by Stephen Hurd, Stefan
3181 Assmann).</li>
3182
3183 <li>add mapping for <code>decTerminalID</code> for
3184 &ldquo;100&rdquo; overlooked in <a href="#xterm_354">patch
3185 #354</a>.</li>
3186
3187 <li>update tables in wcwidth.c based on Unicode 13.0.0</li>
3188
3189 <li>build-fix for &ldquo;make check&rdquo; when building
3190 out-of-tree (report by Sven Joachim).</li>
3191 </ul>
3192
3193 <h1><a name="xterm_354" id="xterm_354">Patch #354 -
3194 2020/04/26</a></h1>
3195
3196 <ul>
3197 <li>work around performance problems of
3198 <code>XDrawImageString</code> and
3199 <code>XDrawImageString16</code> functions (Debian
3200 #954845).</li>
3201
3202 <li>add a control sequence which reports xterm's version (patch
3203 by Nicholas Marriott, mintty #881).</li>
3204
3205 <li>temporarily set numeric locale category to "C" when parsing
3206 resources, so that <code>scaleHeight</code> and
3207 <code>faceSize</code> settings do not depend on locale (Debian
3208 #820803).</li>
3209
3210 <li>improve DA/DA2 response by ensuring that the
3211 <code>decTerminalID</code> maps to one of the known
3212 identifiers, as well as providing DA2 response for VT241 and
3213 VT382.</li>
3214
3215 <li>terminfo improvements:
3216 <ul>
3217 <li>add (my) comments from ncurses which explain the keypad
3218 layouts.</li>
3219
3220 <li>add <code>vt52+keypad</code> from ncurses</li>
3221
3222 <li>use improved <code>xm</code> example for
3223 <code>xterm+x11mouse</code>, <code>xterm+sm+1006</code>
3224 from ncurses 6.2 terminfo.src</li>
3225 </ul>
3226 </li>
3227
3228 <li>two fixes for left/right wheel mouse event reporting
3229 (Debian #954730):
3230 <ul>
3231 <li>filter identical button-events</li>
3232
3233 <li>correct order of button-range versus protocol type (see
3234 <a href="#xterm_345">patch #345</a>)</li>
3235 </ul>
3236 </li>
3237
3238 <li>change &ldquo;make check&rdquo; makefile-rule to use
3239 test-drivers for charclass and wcwidth data.</li>
3240
3241 <li>quiet &ldquo;did not find a usable <em>xxx</em> TrueType
3242 font&rdquo; warnings by making <code>fontWarnings</code> apply
3243 to these messages (report by Jim Rees).</li>
3244
3245 <li>improve reinitialization of parameter list (report/testcase
3246 by James Holderness).</li>
3247
3248 <li>temporarily set numeric locale category to "C" when
3249 formatting SVG or XHTML screendumps, to make the radix
3250 separator used in RGB values consistent (adapted from patch by
3251 George Kouryachy).</li>
3252
3253 <li>add resource <code>forceXftHeight</code> to control whether
3254 workaround from Debian #880407 is used.</li>
3255
3256 <li>apply updated ascent/descent in workaround from Debian
3257 #880407 to fix a 1-pixel gap in built-in vertical lines
3258 (report/testcase by Stefan Assmann).</li>
3259
3260 <li>improve round-off of scaling for built-in line-drawing
3261 (prompted by discussion with Stefan Assmann).</li>
3262
3263 <li>adjust fonts in svg-icon files to accommodate reduced
3264 functionality of new pango (report/analysis by YOKOTA
3265 Hiroshi).</li>
3266
3267 <li>improve configure check for X Toolkit library.</li>
3268
3269 <li>correct Y-coordinate transformation in
3270 <code>ClearCurBackground</code>, overlooked in changes for
3271 <a href="#xterm_334">patch #334</a> (report/analysis by Chuck
3272 Silvers).</li>
3273
3274 <li>remove <code>--vendor</code> option from test-packages'
3275 install of desktop files; the feature is badly broken in
3276 <em>gnome-shell</em>.</li>
3277
3278 <li>modify <code>uxterm</code> to make it possible to select
3279 nonstandard locale <em>C.UTF-8</em>, e.g, if the user's locale
3280 is set to &ldquo;C&rdquo; (Debian #940626).</li>
3281
3282 <li>re-save/tweak &ldquo;.svg&rdquo; icon-files to work around
3283 breakage in toolset since the files were created in <a href=
3284 "#xterm_283">patch #283</a>.</li>
3285 </ul>
3286
3287 <h1><a name="xterm_353" id="xterm_353">Patch #353 -
3288 2020/02/01</a></h1>
3289
3290 <ul>
3291 <li>amend change in <a href="#xterm_352">patch #352</a> for
3292 button-events to fix a case where some followup events were not
3293 processed soon enough (report/patch by Jimmy Aguilar
3294 Mena).</li>
3295
3296 <li>handle <em>MappingNotify</em> X event, to improve recovery
3297 when switching keyboard configurations using
3298 <code>xkbcomp</code> (prompted by discussion with Frank Mosch,
3299 Debian #661295). There is more work needed here, possibly in
3300 the X libraries.</li>
3301
3302 <li>improve discussion of mouse-mode in <code>ctlseqs.ms</code>
3303 (suggested by Igor van den Hoven).</li>
3304
3305 <li>further improve checks for Xft <em>max-advance-width</em>
3306 to take into account fonts which use two cells for ambiguous
3307 width characters. Also improve the time used for these checks
3308 (reports by Yuri Pankov, Frank Mosch).</li>
3309
3310 <li>fix a few spelling errors reported by codespell (report by
3311 Jens Schleusener).</li>
3312
3313 <li>modify <code>run-tic.sh</code> to prefer development
3314 version of ncurses since changes to terminfo file in <a href=
3315 "#xterm_345">patch #345</a> rely upon bug-fixes in ncurses
3316 (prompted by discussion with Will Senn).</li>
3317 </ul>
3318
3319 <h1><a name="xterm_352" id="xterm_352">Patch #352 -
3320 2020/01/16</a></h1>
3321
3322 <ul>
3323 <li>adjust fontsize data to handle a minor inconsistency from
3324 recent Xft versions (Debian #880407, adapted from patch by
3325 Vincent Lef&egrave;vre).</li>
3326
3327 <li>add a table to the manual page description of
3328 <code>forceBoxChars</code> to alert the reader to the special
3329 characters aside from &ldquo;line-drawing&rdquo; which are
3330 drawn directly when this resource is set (Debian #931305).</li>
3331
3332 <li>improve <code>checkXft</code> logic which attempts to
3333 detect fonts whose <em>max-advance-width</em> is inconsistent
3334 with the actual glyph widths. For some fonts, it is necessary
3335 to check additional characters (report/analysis by Jan
3336 Engelhardt).</li>
3337
3338 <li>improve configure-checks for X headers and libraries on
3339 recent MacOS, which has moved those files under
3340 <code>/usr/X11</code>.</li>
3341
3342 <li>improve portability of iconify/deiconify feature by taking
3343 into account some window managers which manipulate the EWMH
3344 <code>_NET_WM_STATE</code> property, adding/removing
3345 <code>_NET_WM_STATE_HIDDEN</code> rather than actually
3346 <em>minimizing</em> the window (prompted by discussion with
3347 J&ouml;rg Breitbart).</li>
3348
3349 <li>improve workaround from <a href="#xterm_287">patch #287</a>
3350 for the <code>-iconic</code> option when configured with
3351 toolbar by postponing the extra request for minimizing the
3352 window to the end of menu-initialization.</li>
3353
3354 <li>modify <code>xevents</code> special-case for mouse-events
3355 to include button-events so that the meta key by itself can
3356 generate button-events (report/analysis by Mattias
3357 Engdeg&aring;rd).</li>
3358
3359 <li>amend SGR-stack change from <a href="#xterm_348">patch
3360 #348</a> to not associate bold attribute with background color
3361 (report by Nicholas Marriott).</li>
3362
3363 <li>fix copy/paste error in manual page (patch by Larry
3364 Hynes).</li>
3365
3366 <li>add definitions in <code>xterm_io.h</code> so that GNU/Hurd
3367 will use <code>posix_openpty</code> (patch by Samuel
3368 Thibault).</li>
3369
3370 <li>build-fix in debug-tracing, for <code>esctest</code>.</li>
3371
3372 <li>updated autoconf macros</li>
3373
3374 <li>update config.guess</li>
3375 </ul>
3376
3377 <h1><a name="xterm_351" id="xterm_351">Patch #351 -
3378 2019/11/17</a></h1>
3379
3380 <ul>
3381 <li>correct logic in <code>property_to_string</code> for
3382 deciding when to fallback from UTF-8 decoding to ISO-8859-1
3383 decoding, broken in <a href="#xterm_350">xterm #350</a>
3384 (FreeBSD #241961).</li>
3385
3386 <li>add <code>-report-icons</code> to help-message.</li>
3387
3388 <li>improved autoconf macros:
3389 <ul>
3390 <li><code>CF_ADD_LIBS</code>: the change to filter out
3391 duplicates caused this to append rather than prepend.
3392 revise to fix that.</li>
3393
3394 <li><code>CF_GCC_VERSION</code> and
3395 <code>CF_GCC_WARNINGS</code>: move checks to distinguish
3396 icc/clang from gcc from the macro which handles the
3397 --enable-warnings option, to make this work
3398 without-warnings for the inline-checks.</li>
3399 </ul>
3400 </li>
3401
3402 <li>update config.guess, config.sub</li>
3403
3404 <li>correct status in <code>XTGETXRES</code> replies when the
3405 resource was not found.</li>
3406
3407 <li>fix some gcc, cppcheck, clang and coverity warnings.</li>
3408
3409 <li>guard call to <code>RequestResize</code> from the
3410 struct-notify event handler to prevent recursion in the
3411 Xft+buffered workaround in some cases when doing manual
3412 resizing rather than resizing via escape sequences (reports by
3413 Stefan Assmann, Mike Thornburg).</li>
3414
3415 <li>amend the workaround for Xft+buffered blanking by moving
3416 the switch to bitmap-fonts to account for differences in font
3417 metrics between bitmap- and TrueType-fonts (report by Stefan
3418 Assmann).</li>
3419
3420 <li>improve the note on the <code>xterm-rep</code> terminfo
3421 entry (prompted by discussion with Sven Joachim).</li>
3422 </ul>
3423
3424 <h1><a name="xterm_350" id="xterm_350">Patch #350 -
3425 2019/11/02</a></h1>
3426
3427 <ul>
3428 <li>modify html/svg dump to not ignore zero'd/blank cells.</li>
3429
3430 <li>align terminfo file with ncurses, e.g., add
3431 <code>xterm+osc104</code> block.</li>
3432
3433 <li>improve discussion of <code>modifyOtherKeys</code> in
3434 manual page and in <code>ctlseqs.ms</code>.</li>
3435
3436 <li>add <code>vttests/modify-keys.pl</code> script to
3437 illustrate the <code>modifyOtherKeys</code> resource (prompted
3438 by discussion with Bram Moolenaar).</li>
3439
3440 <li>various improvements to <code>ctlseqs.ms</code>, as part of
3441 autogenerating links for the website.</li>
3442
3443 <li>update manual page default for <code>saveLines</code>
3444 resource default value (Branden Robinson, Debian #913815).</li>
3445
3446 <li>add command-line option <code>-report-xres</code> to show
3447 the values of the VT100 widget X resources when initialization
3448 is complete.</li>
3449
3450 <li>add a control sequence which, like tcap-query, allows an
3451 application to inspect most X resource settings of the VT100
3452 widget.</li>
3453
3454 <li>adjust some optional features to enable them in the imake
3455 configuration as they would be by default via the configure
3456 script.</li>
3457
3458 <li>add null-pointer checks to improve error recovery when
3459 bitmap fonts are missing or corrupt (report by Jonne
3460 Ransijn).</li>
3461
3462 <li>correct the condition for deleting the EWMH window-title
3463 property, i.e., if UTF-8 titles are disabled, rather than if an
3464 update to the EWHM property found no change (report by Sven
3465 Joachim).</li>
3466
3467 <li>build-fix for the case when configure
3468 <code>--enable-trace</code> is used without
3469 <code>--enable-warnings</code> (report by Sven Joachim).</li>
3470
3471 <li>fix a few minor bugs found with Coverity.</li>
3472
3473 <li>add a check in <code>property_to_string</code> to avoid
3474 translating <code>UTF8_STRING</code> or
3475 <code>COMPOUND_TEXT</code> into Latin-1 when UTF-8 encoding is
3476 active, e.g., when pushing onto the title-stack while switching
3477 to the alternate screen.</li>
3478
3479 <li>build-fix for the <code>--disable-doublechars</code>
3480 configure option (report by Brian Lindholm).</li>
3481 </ul>
3482
3483 <h1><a name="xterm_349" id="xterm_349">Patch #349 -
3484 2019/09/22</a></h1>
3485
3486 <ul>
3487 <li>add graphic context to support bold+italics (patch by Quinn
3488 Strahl).</li>
3489
3490 <li>document window properties in the manual page.</li>
3491
3492 <li>improve title-string feature:
3493 <ul>
3494 <li>if any of <code>allowC1Printable</code>,
3495 <code>utf8Title</code> or <code>titleModes</code> hint that
3496 an application might send a title-string encoded in UTF-8,
3497 check if that is the case, and if it is recodable into
3498 ISO-8859-1, use that for the ICCCM-style title.</li>
3499
3500 <li>check if the title given by a control sequence happens
3501 to be already encoded in UTF-8, to avoid double-encoding
3502 (FreeBSD #240393).</li>
3503
3504 <li>Make <code>sameName</code> resource work for the EWMH
3505 titles.</li>
3506
3507 <li>Modify menu-state of <code>utf8Title</code> to be
3508 consistent with the <code>utf8</code> source, i.e., setting
3509 the EWMH properties automatically when UTF-8 is
3510 active.</li>
3511 </ul>
3512 </li>
3513
3514 <li id="xterm_349_xft_bug">reorganize text-drawing to make it
3515 possible to investigate using Xft to implement VT100-style
3516 double-sized characters. While doing this, made a workaround
3517 for apparent Xft bug which loses its drawable state when
3518 switching from 132 to 80 columns.</li>
3519
3520 <li>improve font-warning messages by showing which are
3521 <em>derived</em> rather than directly from resource settings
3522 (suggested by Tomas Korbar). Also filter repeated font-warning
3523 messages, to accommodate broken X configurations.</li>
3524
3525 <li>fix an inconsistency between failure to load derived wide
3526 font versus failure to load derived wide-bold font (Redhat
3527 #1679790). That relies upon the &ldquo;:unscaled&rdquo;
3528 property which is broken in some distributions (however, recent
3529 Debian and the BSDs such as MacOS work).</li>
3530
3531 <li>updated autoconf-252 to check X11R7 include/lib directories
3532 found on some older configurations.</li>
3533
3534 <li>set a graphic-context for border when double-buffering is
3535 active; to prevent the border color from changing when
3536 switching to reverse-video.</li>
3537
3538 <li>build-fix for <code>--disable-ziconbeep</code>, which
3539 conflicted with the new double-buffer configuration (report by
3540 Brian Lindholm).</li>
3541
3542 <li>fix loop-limit for lookup of <code>fullscreen</code>
3543 resource broken in <a href="#xterm_347">xterm #347</a> (report
3544 by Scott Bertilson).</li>
3545 </ul>
3546
3547 <h1><a name="xterm_348" id="xterm_348">Patch #348 -
3548 2019/07/22</a></h1>
3549
3550 <ul>
3551 <li>update window-manager hints when exiting Tek4014 mode
3552 (Debian #932569, patch by Jonathan Irwin).</li>
3553
3554 <li>fix a misformatted printf in
3555 <code>report-sgr.pl</code>.</li>
3556
3557 <li>add configure check for termios types, to improve
3558 compiler-warnings.</li>
3559
3560 <li>ensure that when resetting margins, to also reset
3561 <code>DECLRMM</code>. This affects <code>DECCOLM</code>,
3562 <code>DECALN</code> (although DEC STD 070 mentions only
3563 top/bottom margins), and <code>DECSTR</code>.</li>
3564
3565 <li>corrected order of reset/move when setting
3566 <code>DECCOLM</code>, and make it more consistent by always
3567 resetting margins, rather than only when the mode is changed
3568 (report by James Holderness).</li>
3569
3570 <li>compile-in double-buffer support by default, changing the
3571 configure option to set the default resource value for
3572 <code>buffered</code> to true or false.</li>
3573
3574 <li>take in account the reverse-video state when computing the
3575 filler-color used when clearing the screen in double-buffering
3576 configuration.</li>
3577
3578 <li>correct logic for filtering scrollbar-updates when
3579 <code>buffered</code> resource is compiled-in but not enabled
3580 (report by Paul Lampert).</li>
3581
3582 <li>improve state saved/restored for cursor-save and SGR stack
3583 features.</li>
3584
3585 <li>improve description of 1006 and 1005 mouse modes, to avoid
3586 implying that they use character-parameters (report by Bryan
3587 Christ).</li>
3588
3589 <li>explain in <code>ctlseqs.ms</code> that some of the numeric
3590 keypad keys were xterm extensions rather than VT100/VT220
3591 terminal features (prompted by discussion with Thomas
3592 Wolff).</li>
3593
3594 <li>explain in <code>ctlseqs.ms</code> how the DEC windowing
3595 extension is supported by xterm.</li>
3596
3597 <li>add 28 rectangular editing to the primary response
3598 (suggested by Thomas Wolff).</li>
3599
3600 <li>fix a typo, improve wording in <code>ctlseqs.ms</code>
3601 (Thomas Wolff).</li>
3602
3603 <li>fix internal column-parameter when <code>SL</code> or
3604 <code>SR</code> is used with left/right margins (patch by
3605 Thomas Wolff).</li>
3606
3607 <li>fix off-by-one in VT52 graphics character mapping (patch by
3608 Thomas Wolff).</li>
3609
3610 <li>use <code>_X_UNUSED</code>, etc., when available as a
3611 fallback for <code>GCC_UNUSED</code>, etc., to reduce compiler
3612 warnings when building with <code><em>imake</em></code>.</li>
3613
3614 <li>update config.sub</li>
3615 </ul>
3616
3617 <h1><a name="xterm_347" id="xterm_347">Patch #347 -
3618 2019/06/30</a></h1>
3619
3620 <ul>
3621 <li>fix a few minor bugs found with Coverity.</li>
3622
3623 <li>improve double-buffering for scrollbars combined with
3624 scrolled text; add <code>bufferedFPS</code> resource to control
3625 the maximum rate of screen updates (report by Mike
3626 Thornburg).</li>
3627
3628 <li>improve fixes for <code>DECCRA</code> handling of
3629 double-width characters (patch by Martin Hostettler).</li>
3630
3631 <li>improve discussion of ECMA-48's typographical error for
3632 <code>SD</code> in <code>ctlseqs.ms</code> (prompted by report
3633 by Martin Hostettler).</li>
3634
3635 <li>correct off-by-one in parameter limit-check for
3636 <code>DECCRA</code> (report by Martin Hostettler).</li>
3637
3638 <li>modify <code>saveCellData</code> to handle case where
3639 double-width character is partially copied; that should be
3640 blanked (report/testcase by Thomas Wolff).</li>
3641
3642 <li>add resource <code>buffered</code> to allow
3643 enabling/disabling double-buffered mode.</li>
3644
3645 <li>two fixes for the double-buffer configuration, prompted by
3646 MacPorts' switch to double-buffering (patch by Mike Thornburg,
3647 MacPorts #58313):
3648 <ul>
3649 <li>ensure that the needSwap flag is set after drawing
3650 TrueType text</li>
3651
3652 <li>corrected the drawable-parameter used for the
3653 bar-cursor</li>
3654 </ul>
3655 </li>
3656
3657 <li>modify <code>ScrnRefresh</code> to ignore a case where the
3658 left/right halves of a double-width character have been set to
3659 different video attributes. The attribute to use is in the
3660 left-half (report/testcase by Thomas Wolff).</li>
3661
3662 <li>correct a limit-check for <code>DECCRA</code> in case the
3663 target lies off-screen (report/testcase by Thomas Wolff).</li>
3664
3665 <li>documentation errata (report by Thomas Wolff).</li>
3666
3667 <li>reset flags including wraparound and reverse-wrap when
3668 switching to VT52 mode, while noting that DEC's standard
3669 documentation leaves that behavior <em>undefined</em> (report
3670 by Thomas Wolff).</li>
3671
3672 <li>ensure that italic font is turned off on hard/soft resets
3673 (report by Martin Hostettler).</li>
3674
3675 <li>improve responsiveness to X events while processing HTML or
3676 SVG dumps (report by Martin Hostettler).</li>
3677
3678 <li>replace logic in <code>wcwidth.c</code> for detecting
3679 double-width characters with binary-search table generated
3680 using updated <code>uniset</code> (report by Robert Ross).</li>
3681
3682 <li>add test-driver for <code>wcwidth.c</code> to simplify
3683 comparison with system's <code>wcwidth</code>.</li>
3684
3685 <li>ensure that window-manager name comparisons work when
3686 active-icon is enabled, since <code><em>CSI</em>13t</code> uses
3687 the window-manager name (report by Glenn Golden, Arch
3688 #62818).</li>
3689
3690 <li>trim a stray &ldquo;experimental&rdquo; in one of the
3691 comments about the tcap-query feature, which has been a
3692 supported feature since 2008 (see <a href="#xterm_238">patch
3693 #238</a>).</li>
3694 </ul>
3695
3696 <h1><a name="xterm_346" id="xterm_346">Patch #346 -
3697 2019/05/27</a></h1>
3698
3699 <ul>
3700 <li>update description of the &ldquo;default&rdquo; setting for
3701 the <code>renderFont</code> resource to match the behavior in
3702 <a href="#xterm_261">patch #261</a> (Debian #862042).</li>
3703
3704 <li>account for <code>internalBorder</code> in
3705 <code>useBorderClipping</code> (report by Robert Ross).</li>
3706
3707 <li>update table of unknown-width characters in wcwidth.c based
3708 on Unicode 12.1.0 (prompted by discussion with Robert
3709 Ross).</li>
3710
3711 <li>improve description of DECSCL versus S7C1T and S8C1T in
3712 <code>ctlseqs.ms</code>.</li>
3713
3714 <li>improve consistency between <code><em>CSI</em>3t</code> and
3715 <code><em>CSI</em>13t</code>, accounting for differences
3716 between some window managers' handling of EMWH extents (report
3717 by Bram Moolenaar).</li>
3718
3719 <li>fix a sign-extension when reporting offscreen window
3720 position (report by Bram Moolenaar).</li>
3721 </ul>
3722
3723 <h1><a name="xterm_345" id="xterm_345">Patch #345 -
3724 2019/05/14</a></h1>
3725
3726 <ul>
3727 <li>updated FreeBSD test-package from recent /usr/ports
3728 scripts.</li>
3729
3730 <li>workaround in <code>run-tic.sh</code> for HPUX, whose
3731 <code>mktemp</code> prints the name of a temporary directory
3732 without creating it.</li>
3733
3734 <li>add left/right margin capabilities to terminfo, since the
3735 default terminal emulation is VT420 (suggested by Thomas
3736 Wolff).</li>
3737
3738 <li>modify treatment of <code>reverseVideo</code> for dynamic
3739 colors to make text foreground/background consistent with the
3740 cursor color (prompted by discussion with Ben Wong, lsix
3741 #20).</li>
3742
3743 <li>modify button-handling to make SGR button-release distinct
3744 from button-press for button-codes starting with 8 (patch by
3745 Mikulas Patocka).</li>
3746
3747 <li>add aliases for the sgr push/pop controls to work around
3748 language limitations of C# (request by Dan Thompson).</li>
3749
3750 <li>correct a typo in <code>setDirectFG</code>, which could
3751 cause setting of indexed-color after a direct-color to be
3752 ignored.</li>
3753
3754 <li>add resource <code>useBorderClipping</code> as an
3755 alternative to <code>useClipping</code> (request by Robert
3756 Ross).</li>
3757
3758 <li>improve logic for displaying xterm's built-in line-drawing
3759 characters vs missing glyphs, e.g., for U+2409 to U+240D (patch
3760 by Robert Ross).</li>
3761
3762 <li>add <code>vttests/sgrPushPop2.pl</code> to illustrate how
3763 selective pushes work, as well as to demonstrate push/pop of
3764 the various color types supported by xterm.</li>
3765
3766 <li>fix a special case in <code>XTPOPSGR</code> where
3767 direct-colors were not checked as a dependency of
3768 indexed-colors, contrary to documentation.</li>
3769
3770 <li>reduce buffer-flushes for <code>OSC&nbsp;4</code> and
3771 <code>OSC&nbsp;5</code> color-queries, as well as in the
3772 queries for dynamic colors.<br>
3773 <strong>Note:</strong> this change makes the reply for
3774 <code>OSC&nbsp;5</code> use the &ldquo;5&rdquo; in the
3775 response; formerly it was mapped to &rdquo;4&rdquo; after
3776 adding the maximum number of colors.</li>
3777
3778 <li>modify <code>vttests/query-color.pl</code> to demonstrate
3779 multiple queries in one request.</li>
3780
3781 <li>update tables of combining and unknown-width characters in
3782 wcwidth.c based on Unicode 12.0.0.</li>
3783
3784 <li>modify response for <code>OSC&nbsp;5</code> to be
3785 consistent with documentation.</li>
3786
3787 <li>add <code>vttests/query-dynamic.pl</code></li>
3788
3789 <li>modify <code>vttests/query-color.pl</code> to accept bold,
3790 underline, etc., keywords to decide whether to use
3791 <code>OSC&nbsp;5</code> rather than
3792 <code>OSC&nbsp;4</code>.</li>
3793
3794 <li>modify cursor coloring to avoid a case where the cursor
3795 matched the foreground color while the text was displayed in
3796 reverse-video (report by Nuno Silva).</li>
3797
3798 <li>fix an inconsistency in X10 mouse responses from <a href=
3799 "#xterm_342">patch #342</a> changes; the legacy protocol
3800 supports only buttons 1-3.</li>
3801
3802 <li>reduce the number of buffer-flushes for tcap-query
3803 batches.</li>
3804
3805 <li>modify <code>tcapquery.pl</code> to demonstrate batch
3806 queries with <code>-q</code> option.</li>
3807
3808 <li>increase response-buffer size, and make it configurable as
3809 <code>limitResponse</code> (prompted by discussion with Stephen
3810 P Wall).</li>
3811
3812 <li>modified configure script:
3813 <ul>
3814 <li>check/workaround for non-POSIX manipulation of
3815 predefined symbols</li>
3816
3817 <li>check for updated X Toolkit, which uses
3818 <code>const</code>.</li>
3819 </ul>
3820 </li>
3821
3822 <li>update config.guess, config.sub</li>
3823
3824 <li>provide for secondary-selection, overlooked in <a href=
3825 "#xterm_338">patch #338</a> (report by Emile LeBlanc).</li>
3826
3827 <li>documentation errata (patch by Larry Hynes).</li>
3828
3829 <li>improve pointer-checks in <code>Tekproc.c</code></li>
3830
3831 <li>revise solution for Debian #919475, to allow for
3832 struct-notify events occurring as a side-effect of toggling
3833 to/from full-screen mode.</li>
3834
3835 <li>window's border-size was incorrectly added to position when
3836 maximizing window (report by Gary Langshaw).</li>
3837 </ul>
3838
3839 <h1><a name="xterm_344" id="xterm_344">Patch #344 -
3840 2019/02/12</a></h1>
3841
3842 <ul>
3843 <li>add ASCII escape to default for
3844 <code>disallowedPasteControls</code> (prompted by discussion
3845 with Martin Hostettler).</li>
3846
3847 <li>fix typo in <code>ctlseqs.ms</code> (Robert Ross).</li>
3848
3849 <li>implement DEC Cyrillic NRCS (based on screenshots of vttest
3850 provided by Markus Schmidt).</li>
3851
3852 <li>correct control returning sixel geometry maximum versus
3853 actual size (patch by Ben Wong).</li>
3854
3855 <li>improve manual page for <code>resize</code> to clarify that
3856 <code>resize</code> does not execute the shell commands which
3857 it generates for setting environment variables.</li>
3858
3859 <li>improve memory-management for parser, to handle response
3860 strings that might occur with <code>ENQ</code> or when
3861 <code>SRM</code> mode is active (patch by Martin
3862 Hostettler).</li>
3863
3864 <li>change <code>Comment</code> text in uxterm's desktop file
3865 to work around a limitation of GNOME's GIO application
3866 (<a href="https://gitlab.gnome.org/GNOME/gnome-shell/issues/940#note_427334">issue
3867 #940</a>). The <a href=
3868 "https://developer.gnome.org/gio/stable/gio-Desktop-file-based-GAppInfo.html#g-desktop-app-info-search">
3869 documentation</a> reads:
3870 <blockquote>
3871 <p>Searches desktop files for ones that match
3872 <em><code>search_string</code></em>.</p>
3873
3874 <p>The return value is an array of <em>strv</em>s. Each
3875 <em>strv</em> contains a list of applications that matched
3876 search_string with an equal score. The outer list is sorted
3877 by score so that the first <em>strv</em> contains the
3878 best-matching applications, and so on. The algorithm for
3879 determining matches is undefined and may change at any
3880 time.</p>
3881 </blockquote>
3882 </li>
3883
3884 <li>a check of <code>zIconBeep</code> resource was removed in
3885 double-buffer fix in <a href="#xterm_334">patch #334</a>. That
3886 is used to decide whether to handle struct-notify events. When
3887 xterm does handle the events, it may negotiate a new
3888 window-size with the window manager. In that case, the
3889 <code>limitResize</code> resource setting limited the new
3890 window-size to the screen-size. Amended that by eliminating the
3891 limit for this special case when double-buffer is configured,
3892 and restoring the check for <code>zIconBeep</code> when
3893 double-buffer is not configured (Debian #919475).</li>
3894
3895 <li>disallow recursion which could happen if a user configures
3896 the <code>answerbackString</code> resource with the
3897 <code>ENQ</code> code and experiments with that code when
3898 <code>SRM</code> is enabled (report by by Martin
3899 Hostettler).</li>
3900
3901 <li>add remaining credits in <code>COPYING</code> file.</li>
3902
3903 <li>modify <code>run-tic.sh</code> to check if it is using an
3904 older version of ncurses which does not support large terminal
3905 descriptions, and if so, remove a non-essential feature to keep
3906 within the 4096-byte legacy limit.</li>
3907 </ul>
3908
3909 <h1><a name="xterm_343" id="xterm_343">Patch #343 -
3910 2019/01/13</a></h1>
3911
3912 <ul>
3913 <li>modify <code>run-tic.sh</code> to prefer ncurses6 over
3914 ncurses5, when available.</li>
3915
3916 <li>add <code>COPYING</code> file, and dummy "check" makefile
3917 rule for testing Arch packages.</li>
3918
3919 <li>add/update package scripts for FreeBSD and NetBSD, for
3920 testing.</li>
3921
3922 <li>update tables of combining and ambiguous-width characters
3923 in wcwidth.c based on Unicode 11.0.0.</li>
3924
3925 <li>modify <code>xterm-new</code> sample terminfo entry to
3926 correspond to ncurses 6.1, using the SGR 1006 mouse
3927 protocol.</li>
3928
3929 <li>improve manual page discussion of selection ownership
3930 versus highlighting (prompted by discussion with Martin
3931 Hostettler).</li>
3932
3933 <li>restore/repair <code>keepClipboard</code> feature which was
3934 broken by changes in <a href="#xterm_338">patch #338</a>
3935 (report by Martin Hostettler).</li>
3936
3937 <li>improve documentation for <code>deleteIsDEL</code>
3938 resource.</li>
3939
3940 <li>modify DECRQM response for private mode 1037 to account for
3941 cases where the resource <code>deleteIsDEL</code> is initially
3942 neither true nor false, but dependent upon the keyboard type
3943 (report/analysis by Martin Hostettler).</li>
3944
3945 <li>clear pointers for pattern/fontset after destroying their
3946 data when switching facename with an escape sequence (report by
3947 Robert Ross).</li>
3948
3949 <li>modify logic for TrueType fallback fonts to match the
3950 sort-order used by <code>fc-match</code> (report by Robert
3951 Ross).</li>
3952
3953 <li>add resource setting <code>limitFontsets</code> which can
3954 be used to limit or disable the new TrueType fontset feature
3955 (request by Robert Ross).</li>
3956 </ul>
3957
3958 <h1><a name="xterm_342" id="xterm_342">Patch #342 -
3959 2019/01/03</a></h1>
3960
3961 <ul>
3962 <li>limit mouse-button events to 11 buttons in the original
3963 protocol, and 15 in the extended mouse-protocol (patch by
3964 Martin Hostettler).</li>
3965
3966 <li>correct calculation for buttons past 11 in
3967 <code>mouse-codes</code> sample script (patch by Martin
3968 Hostettler).</li>
3969
3970 <li>disable a supplementary check added in <a href=
3971 "#xterm_341">patch #341</a> which interferes with using
3972 fontconfig to select different-sized bitmap fonts (Arch
3973 #61237).</li>
3974 </ul>
3975
3976 <h1><a name="xterm_341" id="xterm_341">Patch #341 -
3977 2018/12/24</a></h1>
3978
3979 <ul>
3980 <li>add options to <code>mouse-codes</code> script to
3981 demonstrate that the encoding used for mouse events limits
3982 button numbers to 11.</li>
3983
3984 <li>allow mouse button numbers up to 11 using an offset of 128
3985 for button numbers 8-11 rather than the offset of 64 used for
3986 wheel-mouse, etc., buttons 4-7 in <a href="#xterm_338">patch
3987 #338</a> (adapted from patch by Martin Hostettler).</li>
3988
3989 <li>correct off-by-one right-margin checks for double-width
3990 character adjustments in DECERA/DECFRA (patch by Martin
3991 Hostettler).</li>
3992
3993 <li>allocated size of selection buffer was not reset when
3994 freeing the buffer in <a href="#xterm_338">patch #338</a>
3995 (report/analysis by Stefan Assmann).</li>
3996
3997 <li>modify the initial pattern passed to fontconfig to disallow
3998 color bitmap fonts.</li>
3999
4000 <li>improve error recovery for a case where fontconfig ignores
4001 the requested pattern due to override in the user's font
4002 configuration (report/testcase by Stefan Assmann).</li>
4003 </ul>
4004
4005 <h1><a name="xterm_340" id="xterm_340">Patch #340 -
4006 2018/12/16</a></h1>
4007
4008 <ul>
4009 <li>suppress a spurious warning about fontsets when
4010 initializing menus for the toolbar configuration.</li>
4011
4012 <li>fix some strict compiler warnings.</li>
4013
4014 <li>improve checks for TrueType font, to help with the case of
4015 color bitmap fonts, which fontconfig misrepresents (Arch Linux
4016 #58706).</li>
4017 </ul>
4018
4019 <h1><a name="xterm_339" id="xterm_339">Patch #339 -
4020 2018/12/12</a></h1>
4021
4022 <ul>
4023 <li>modify <code>CF_GNU_SOURCE</code> macro to treat
4024 <em>newlib</em> as similar to <em>glibc</em>, fixing a problem
4025 with the configure checks for pseudoterminals in Cygwin
4026 overlooked in <a href="#xterm_334">patch #334</a> updates for
4027 configure-macros.</li>
4028 </ul>
4029
4030 <h1><a name="xterm_338" id="xterm_338">Patch #338 -
4031 2018/12/09</a></h1>
4032
4033 <ul>
4034 <li>ignore <code>$TERMINFO</code> in the configure script if it
4035 is set to a non-directory value.</li>
4036
4037 <li>updated configure macros:
4038 <ul>
4039 <li><code>CF_WITH_PCRE2</code>, modified to work with
4040 Debian's (mis-numbered) pcre3 package.</li>
4041
4042 <li><code>CF_CC_ENV_FLAGS</code> , report preprocessor
4043 options in <code>CFLAGS</code></li>
4044
4045 <li><code>CF_LD_RPATH_OPT</code> , suppress check if
4046 <code>--disable-rpath</code> option was given.</li>
4047
4048 <li><code>CF_XOPEN_SOURCE</code>, add case for
4049 midnightbsd</li>
4050 </ul>
4051 </li>
4052
4053 <li>update config.guess, config.sub</li>
4054
4055 <li>add a check to ensure that the filename parameter passed to
4056 <code>XpmReadFileToPixmap</code> is actually a file, since that
4057 function does not check (report by Ben Nott).</li>
4058
4059 <li>amend solution for Debian #758633 to ensure that replies
4060 for bracketed paste are not sent while processing a selection
4061 for <code>exec-formatted</code> (Debian #913237).</li>
4062
4063 <li>improve adjustments/clearing for double-width characters in
4064 <code>DECERA</code>, <code>DECFRA</code>,
4065 <code>DECSERA</code>.</li>
4066
4067 <li>improve adjustments/clearing for double-width characters
4068 when doing vertical scrolling within left/right margins (patch
4069 by Martin Hostettler).</li>
4070
4071 <li>modify wcwidth to encode a few spacing combining marks as
4072 regular combining characters.</li>
4073
4074 <li>change compiled-in default for <code>saveLines</code> to
4075 match the resource-file changed in <a href="#xterm_192">patch
4076 #192</a> (Debian #913815).</li>
4077
4078 <li>change default <code>faceSize</code> to 8.0, to simplify
4079 switching back/forth between bitmap fonts and TrueType. This
4080 was originally (mis)set to 14.0 in <a href="#xterm_148">patch
4081 #148</a>.</li>
4082
4083 <li>add fallback support in Xft configuration for missing
4084 glyphs (prompted by discussion with Mike Burns).</li>
4085
4086 <li>fix a problem with using direct-colors for the background
4087 color when clearing/scrolling (report by Nicholas
4088 Marriott).</li>
4089
4090 <li>add a "sources" rule for the makefile's generated
4091 source.</li>
4092
4093 <li>add a short explanation in <code>ctlseqs.ms</code>
4094 discussing the differences in error-recovery for malformed
4095 sequences versus unimplemented features, and amend one case for
4096 consistency (prompted by discussion with Martin
4097 Hostettler).</li>
4098
4099 <li>adjusted ifdef's so that the paste64 configure option does
4100 not automatically enable the readline-mouse configure
4101 option.</li>
4102
4103 <li>revert the change which prevented concurrent ownership of
4104 different selection targets, and instead modify selection
4105 storage so that different concurrent requests for different
4106 selection targets will be stored/retrieved independently
4107 (Debian #901249).</li>
4108
4109 <li>remove a check which prevented returning button-codes past
4110 the documented 4/5 for wheel mouse, and add a script
4111 <code>mouse-codes</code> which makes a report showing the
4112 various mouse codes for different button/modifier combinations
4113 (discussion with P&#345;emysl Janouch).</li>
4114
4115 <li>improve display and checksum for DEC Special Graphics by
4116 mapping 0x5f to 0.</li>
4117
4118 <li>add a null-pointer check for table-ending in the
4119 extended-boolean resource-handling (report by Felix von
4120 Leitner).</li>
4121
4122 <li>remove stray <code>]</code>'s from INSTALL-file (Larry
4123 Hynes).</li>
4124 </ul>
4125
4126 <h1><a name="xterm_337" id="xterm_337">Patch #337 -
4127 2018/09/21</a></h1>
4128
4129 <ul>
4130 <li>regenerated configure script (report by Sven Joachim).</li>
4131
4132 <li>revise/improve fix for scrolling in margins
4133 (report/analysis by Martin Hostettler):</li>
4134
4135 <li>amend change to default-translations "select" subset to
4136 ensure that specific key-press actions are listed before
4137 generic key-press actions (reports by H Merijn Brand, Sven
4138 Joachim).</li>
4139 </ul>
4140
4141 <h1><a name="xterm_336" id="xterm_336">Patch #336 -
4142 2018/09/19</a></h1>
4143
4144 <ul>
4145 <li>ensure that only one of PRIMARY and CLIPBOARD is owned by
4146 xterm at a given time (Debian #901249).</li>
4147
4148 <li>documentation fixes (report by Lars Krueger):
4149 <ul>
4150 <li>document <code>SL</code> and <code>SR</code>.</li>
4151
4152 <li>document <code>DECRPTUI</code>, change number of digits
4153 to match VT420.</li>
4154 </ul>
4155 </li>
4156
4157 <li>revise <code>omitTranslation</code> resource, e.g.,
4158 splitting &ldquo;default&rdquo; into several more useful
4159 categories.</li>
4160
4161 <li>modify mask-logic to permit <em>control-</em> and
4162 <em>meta-</em> modifiers to be used in mouse protocol.</li>
4163
4164 <li>several fixes for parsing/state (report/testcases by Martin
4165 Hostettler):
4166 <ul>
4167 <li>remove an old/unimplemented entry for xterm-title from
4168 state table.</li>
4169
4170 <li>save/restore wrap-flag when scrolling, to fix an
4171 inconsistency between jump-scrolling and
4172 normal-scrolling.</li>
4173
4174 <li>improve a special case of wrapping where the cursor
4175 starts beyond the right-margin, and wraps at the terminal's
4176 last-column before the settable-margins can take
4177 effect.</li>
4178
4179 <li>if origin mode is set, adjust a restored cursor column
4180 relative to the left margin.</li>
4181
4182 <li>when scrolling a line within left/right margins,
4183 correct order of the fixups needed when a double-width
4184 character crosses the margin boundary.</li>
4185 </ul>
4186 </li>
4187
4188 <li>review/fix a few cases where the parsing state was not
4189 reset after completing a control sequence (prompted by report
4190 by Martin Hostettler).</li>
4191
4192 <li>disallow <code>XTCHECKSUM</code> if the corresponding
4193 window-ops "SetChecksum" is unset.</li>
4194
4195 <li>add <code>print-vt-chars.pl</code> script to illustrate the
4196 NRCS and codepages supported by xterm.</li>
4197
4198 <li>add <code>other-sgr.sh</code> script to demonstrate the
4199 non-VT100 video attributes implemented in <a href=
4200 "#xterm_305">patch #305</a>, and added a summary of their
4201 introduction in ECMA-48 to the control sequences document.</li>
4202
4203 <li>add <code>tabs</code> and <code>-tabs</code> keywords to
4204 <code>ttyModes</code> resource to simplify workaround for
4205 terminal drivers which are not aware of UTF-8 (FreeBSD
4206 #229682).</li>
4207
4208 <li>add VT5xx NRCS 7-bit Turkish and DEC Turkish.</li>
4209
4210 <li>add VT5xx NRCS 7-bit Hebrew and DEC Hebrew.</li>
4211
4212 <li>add VT5xx NRCS 7-bit Greek and DEC Greek.</li>
4213
4214 <li>correct a few post-VT220 codepages to make them display
4215 without setting the NRCS state.</li>
4216
4217 <li>extend <code>vt100Graphics</code> resource to include other
4218 character-sets such as the VT500 codepages in UTF-8 mode.</li>
4219
4220 <li>add some VT5xx codepages to help with the discussion of
4221 96-character sets: <em>ISO Greek Supplemental</em>, <em>ISO
4222 Hebrew Supplemental</em>, <em>ISO Latin&ndash;5
4223 Supplemental</em>, and <em>ISO Latin&ndash;Cyrillic</em>.</li>
4224
4225 <li>improve description of the VT300-controls for designating
4226 character sets, and fix a typo which indicated that some were
4227 used for 94-character sets (prompted by discussion with Lars
4228 Krueger).</li>
4229
4230 <li>add private control <code>XTCHECKSUM</code> for modifying
4231 <code>checksumExtension</code>.</li>
4232
4233 <li>factor out xterm's <code>DECRQCRA</code> checksum
4234 extensions as a resource setting
4235 <code>checksumExtension</code>.</li>
4236
4237 <li>revise calculation of checksum for <code>DECRQCRA</code> to
4238 match DEC's terminals (using screenshots of vttest provided by
4239 Markus Schmidt).</li>
4240
4241 <li>restore a fix for memory-checksum setup of
4242 <code>DECCKSR</code> from <a href="#xterm_315">patch #315</a>
4243 incorrectly reverted in <a href="#xterm_334">patch #334</a> as
4244 part of fix for <code>DECRQCRA</code>.</li>
4245 </ul>
4246
4247 <h1><a name="xterm_335" id="xterm_335">Patch #335 -
4248 2018/08/14</a></h1>
4249
4250 <ul>
4251 <li>add <code>colorInnerBorder</code> resource to make a change
4252 from <a href="#xterm_334">patch #334</a> configurable (reports
4253 by H Merijn Brand, Gabriele Balducci).</li>
4254 </ul>
4255
4256 <h1><a name="xterm_334" id="xterm_334">Patch #334 -
4257 2018/08/12</a></h1>
4258
4259 <ul>
4260 <li>modify <code>Imakefile</code> to reflect the fact that
4261 NetBSD no longer has a working termcap emulation.</li>
4262
4263 <li>add resource-setting <code>validShells</code> which can be
4264 used to augment the system's <code>/etc/shell</code> (prompted
4265 by discussion with Paul Lampert).</li>
4266
4267 <li>stifle some useless warnings from lintian in
4268 test-packages.</li>
4269
4270 <li>add the ncurses extension &ldquo;RGB&rdquo; to the
4271 responses for the termcap-query feature.</li>
4272
4273 <li>improved getopts-handling in sample scripts.</li>
4274
4275 <li>fix some warnings from gcc8 and clang --analyze.</li>
4276
4277 <li>update note about incorrect documentation for
4278 <code>DECRQSS</code> to include VT525 (report by Markus
4279 Schmidt).</li>
4280
4281 <li>correct check for default-values in rectangular parsing; a
4282 zero counts as a missing or default parameter (report/testcase
4283 by Markus Schmidt).</li>
4284
4285 <li>correct some ranges in the <code>ambiguous[]</code> table
4286 in wcwidth (adapted from patch by KUGA Tsutomu).</li>
4287
4288 <li>fix a special case with faint video attribute incorrectly
4289 combined with default color.</li>
4290
4291 <li>add private control <code>XTREPORTSGR</code> for reporting
4292 video-attributes and color on a rectangle, and script
4293 <code>report-sgr.pl</code> to demonstrate it.</li>
4294
4295 <li>modify some of the markup in <code>ctlseqs.ms</code> to
4296 work around groff's reassignment of ASCII punctuation
4297 characters as documented in <em>groff_char(7)</em>.</li>
4298
4299 <li>treat ECMA-48 SGR 6 the same as SGR 5.</li>
4300
4301 <li>add private controls <code>XTPUSHSGR</code> and
4302 <code>XTPOPSGR</code> for saving/restoring the current
4303 video-attributes on a stack (adapted from patch by Dan
4304 Thompson).</li>
4305
4306 <li>modify <code>DECRPM</code> response for logging enable to
4307 indicate its state even when enabling/disabling it is not
4308 allowed.</li>
4309
4310 <li>implement <code>DECSNLS</code></li>
4311
4312 <li>implement <code>DECRSPS</code></li>
4313
4314 <li>improve fill-color for double-buffer configuration, which
4315 was sharing a graphic context with the cursor.</li>
4316
4317 <li>fix a couple of cases where double-sized VT100 characters
4318 were not clipped, seen in Joe Smith's <a href=
4319 "http://www.inwap.com/pdp10/#Tymnet">VT100 torture
4320 test</a>.</li>
4321
4322 <li>color the inner border using the same
4323 <code>borderColor</code> as the outer border, rather than
4324 filling with the VT100's default background.</li>
4325
4326 <li>change encoding of &ldquo;THANKS&rdquo; to UTF-8.</li>
4327
4328 <li>modify handling of <code>DECELR</code> to recognize
4329 <code>MotionNotify</code> events again, amending a check for
4330 <code>allowMouseOps</code> which limited that to button-events
4331 in <a href="#xterm_328">patch #328</a> (Olaf Rogalsky).</li>
4332
4333 <li>fix some screen-painting problems with left/right margins
4334 when using insert-line or delete-line (report/testcase by
4335 Martin Hostettler). also fix similar case with
4336 index/reverse-index.</li>
4337
4338 <li>several minor performance improvements using macros, e.g.,
4339 inline checks for character width.</li>
4340
4341 <li>add <code>DECSCPP</code> and <code>DECSLPP</code> to
4342 <code>DECRQSS</code>.</li>
4343
4344 <li>implement <code>DECSCPP</code>.</li>
4345
4346 <li>implement <code>DECCIR</code> and <code>DECTABSR</code>
4347 presentation reports.</li>
4348
4349 <li>modify checksum computation for <code>DECRQCRA</code> to
4350 treat uninitialized cells as blanks rather than nulls.</li>
4351
4352 <li>drop custom-entity from HTML-dump, use UTF-8 for &amp;nbsp;
4353 (Debian #902381).</li>
4354
4355 <li>modify display of non-BMP characters when using bitmap
4356 fonts to show a null/empty box rather than the replacement
4357 character which was used in cleanup changes for <a href=
4358 "#xterm_233">patch #233</a> (report by Christian
4359 Weisgerber).</li>
4360
4361 <li>when setting up clipping rectangle for Xft, allow for the
4362 case where xterm is only displaying a combining character,
4363 where the base was already written (report by Joshua
4364 Crowgey).</li>
4365
4366 <li>allow reset Xft's state if switching font-sizes when
4367 double-buffering is used.</li>
4368
4369 <li>fix repainting, e.g., on resize, when double-buffering is
4370 used with Xft (patch by Daniel Colascione).</li>
4371
4372 <li>correct some interchanged pairs of symbols in
4373 <code>unicode/keysym.map</code> (Brad Town).</li>
4374
4375 <li>improve configure macros CF_GCC_WARNINGS, CF_GNU_SOURCE,
4376 CF_POSIX_C_SOURCE, CF_TRY_XOPEN_SOURCE, CF_XOPEN_SOURCE,
4377 CF_X_ATHENA_CPPFLAGS.</li>
4378
4379 <li>modify <code>logFile</code> resource to interpret
4380 &ldquo;<code>-</code>&rdquo; as the standard output (adapted
4381 patch by Colum Paget).</li>
4382
4383 <li>improve documentation of Tek4014 menu options; fix a case
4384 where the Tek4014 window was not displayed before switching
4385 modes.</li>
4386
4387 <li>re-correct parameter for <em>pid</em> used for DECCKSR,
4388 DECRQCSR (see <a href="#xterm_315">xterm #315</a>).</li>
4389
4390 <li>hard/soft reset now resets the cursor-blinking state that
4391 may have been set via escape sequences; the cursor-blinking
4392 menu-entry feature is unmodified (report by Matthieu
4393 Herrb).</li>
4394
4395 <li>update config.guess, config.sub</li>
4396 </ul>
4397
4398 <h1><a name="xterm_333" id="xterm_333">Patch #333 -
4399 2018/05/03</a></h1>
4400
4401 <ul>
4402 <li>ensure that i18n is enabled if input-method is
4403 enabled.</li>
4404
4405 <li>modify logic for pre-edit to update spot-location while the
4406 cursor is invisible (Kakoune #1940).</li>
4407
4408 <li>change default icon to newer one, "mini.xterm".</li>
4409
4410 <li>install a complete set of icons, to simplify post-install
4411 customization.</li>
4412
4413 <li>add resource <code>disallowedPasteControls</code> to extend
4414 filtering of control characters from pastes.</li>
4415
4416 <li>add <code>print-on-error</code> action-hook, and document
4417 action-hooks for dump-html, dump-svg.</li>
4418
4419 <li>provide action-hook for <code>print-immediate</code>, which
4420 was available only as a menu-item (report by Rastislav
4421 Barlik).</li>
4422
4423 <li>continue to improve notes in <code>ctlseqs.ms</code> which
4424 mention where various controls originated.</li>
4425
4426 <li>add case to accept ECMA-48's bogus <code>SD</code>, but
4427 document the issue in <code>ctlseqs.ms</code>.</li>
4428
4429 <li>add control sequence for loading XPM-icon file, using the
4430 analogous control sequence from shelltool/dtterm.</li>
4431
4432 <li>add <code>-report-icons</code> option, to report on
4433 XPM-icon and title-bar updates.</li>
4434
4435 <li>correct a discrepancy between locator-reports for VT220 vs
4436 VT330.</li>
4437
4438 <li>add window-ops control sequences to complement existing
4439 ones for reporting window-position and text-area size with
4440 reports for text-area position and window-size.</li>
4441
4442 <li>display vt52 graphics mode characters.</li>
4443
4444 <li>correct case-statement for window-ops 10, overlooked since
4445 some window managers equate vertical-maximize and
4446 horizontal-maximize window hints with full-screen
4447 maximize.</li>
4448 </ul>
4449
4450 <h1><a name="xterm_332" id="xterm_332">Patch #332 -
4451 2018/04/15</a></h1>
4452
4453 <ul>
4454 <li>add a <code>GetChecksum</code> item to
4455 <code>disallowedWindowOps</code></li>
4456
4457 <li>improve notes in <code>ctlseqs.ms</code> which mention
4458 where various controls originated.</li>
4459
4460 <li>add control sequences for querying the X display size and
4461 the character size, both in pixels to help eliminate some of
4462 the constants in <code>esctest</code>.</li>
4463
4464 <li>fixes prompted by review of George Nachman's
4465 <code>esctest</code> script:
4466 <ul>
4467 <li>add a null-pointer check and a limit-check in
4468 <code>xtermCheckRect</code>.</li>
4469
4470 <li>correct limit-check for right-margin when processing
4471 autowrapping if xterm is not built for
4472 wide-characters.</li>
4473
4474 <li>repair logic in <code>RIS</code> to reset 132-column
4475 mode when an escape sequence is used to enable
4476 80/132-column switching.</li>
4477
4478 <li>correct array-limit for EWMH working state.</li>
4479
4480 <li>further improve limit-checks versus assert's (see
4481 <a href="#xterm_315">patch #315</a>).</li>
4482
4483 <li>correct order of check-margins and move-to-left margin
4484 for <code>DL</code> and <code>IL</code>.</li>
4485
4486 <li>modify reverse-wrap to pay attention to top/bottom
4487 margins as it has done for left/right margins since
4488 <a href="#xterm_279">patch #279</a>.</li>
4489
4490 <li>modify behavior of <code>DECFI</code> and
4491 <code>DECBI</code> to not index the screen at the
4492 left/right edge of the display unless those happen to be
4493 the left/right margins.</li>
4494
4495 <li>add case for VT320 DSR response for keyboard
4496 status.</li>
4497 </ul>
4498 </li>
4499
4500 <li>improve check for valid shell path using
4501 <code>getusershell</code> and <code>endusershell</code> if
4502 available, in case <code>/etc/shells</code> does not exist
4503 (suggested by Rainer Orth).</li>
4504
4505 <li>modified configure checks for groff and man2html, to use
4506 the latter by default, but allowing mandoc as a partial
4507 replacement for former.</li>
4508
4509 <li>revisited the inconsistent copyright notices mentioned in
4510 <a href="#xterm_165">patch #165</a>, and eliminate the issue as
4511 mentioned in this <a href=
4512 "https://invisible-island.net/personal/copyrights.html">copyright
4513 discussion</a>.</li>
4514
4515 <li>fix typo in this change-log (report by Sven Joachim)</li>
4516
4517 <li>update config.guess, config.sub</li>
4518 </ul>
4519
4520 <h1><a name="xterm_331" id="xterm_331">Patch #331 -
4521 2017/12/30</a></h1>
4522
4523 <ul>
4524 <li>add workaround for improper grayscale adjustments made in
4525 FreeType library, exposed by changes to rounding in 2.8.1,
4526 which shows up as a gap in line-drawing characters (Debian
4527 #880407).</li>
4528
4529 <li>improve a special case where a non-Unicode font's
4530 line-drawing characters were not used, when specifying it via
4531 the <code>utf8Fonts</code> resource, e.g.,
4532 <blockquote>
4533 <pre>
4534 -fs 15 \
4535 -xrm '*VT100.font:12x24' \
4536 -xrm '*VT100.boldFont:12x24' \
4537 -xrm '*VT100.utf8Fonts.font: 12x24' \
4538 -xrm '*VT100.utf8Fonts.boldFont: 12x24' \
4539 </pre>
4540 </blockquote>
4541 </li>
4542
4543 <li>replace constant 10msec delay for next X event with new
4544 resource <code>nextEventDelay</code>, and reduce that to 1msec
4545 to accommodate faster machines than used when
4546 <code>-hold</code> was implemented in <a href=
4547 "#xterm_116">1999</a> (Debian #877628).</li>
4548
4549 <li>add <code>scroll-to</code> action, which simplifies binding
4550 a key to scroll to the beginning or end of the saved-lines
4551 (Debian #880120).</li>
4552
4553 <li>add building blocks for alternate screen and/or title-stack
4554 features in the <code>terminfo</code> file.</li>
4555
4556 <li>improve calculations for cell-data size.</li>
4557
4558 <li>change configure script to enable XHTML/SVG screen dumps by
4559 default.</li>
4560
4561 <li>change configure script to enable 256-colors by
4562 default.</li>
4563
4564 <li>update config.guess, config.sub</li>
4565
4566 <li>change configure script option for
4567 <code>--with-man2html</code> to use improved script by
4568 default.</li>
4569
4570 <li>add case for private mode 1044 in DECRQM, to report the
4571 keepClipboard resource setting and corresponding menu
4572 entry.</li>
4573
4574 <li>fix an inconsistency between private mode 12 (the AT&amp;T
4575 610 cursor blink) and <code>DECSCUSR</code>: the former relied
4576 on having the <code>cursorBlink</code> resource set initially
4577 to enable the escape sequence, while the latter does not.</li>
4578
4579 <li>add private modes 13 and 14, as well as resource
4580 <code>cursorBlinkXOR</code> to allow better control over the
4581 cursor-blinking state (discussion with Bram Moolenaar).</li>
4582
4583 <li>modify the html and svg screen dumps to support direct
4584 color</li>
4585
4586 <li>modify media copy (screen-printing) to support the same SGR
4587 codes as <code>DECRQSS</code>, including 88/256 indexed color
4588 as well as direct color.</li>
4589
4590 <li>improve options-parsing for query-status.pl script.</li>
4591
4592 <li>modify parsing of <code>SGR</code> direct-color control
4593 making <em>color space identitier</em> optional. The
4594 corresponding <code>DECRQSS</code> reply always returns an
4595 empty (default) field for the identifier.</li>
4596
4597 <li>add wide-attributes to <code>DECRQSS</code> reply for
4598 <code>SGR</code>.</li>
4599
4600 <li>add private mode 1046 to help with scripting
4601 applications.</li>
4602
4603 <li>correct expression used for readline-flags in DECRQM; to
4604 test the current flag rather than information <em>stacked</em>
4605 within the same variable.</li>
4606
4607 <li>correct typo in <code>ctlseqs.ms</code> reference to
4608 ISO-8613-6 (patch by Mike Frysinger).</li>
4609
4610 <li>fix lintian warning for test-package.</li>
4611
4612 <li>fix typo in <code>DECRQSS</code> for <code>SGR</code> 48,
4613 which printed the foreground value for colors past 15. Also use
4614 colon delimiter for codes 38/48 in response (report by Paul
4615 LeoNerd Evans).</li>
4616
4617 <li>improve workaround for Debian #542434 by using the font's
4618 maximum width when no ISO-8859-1 glyphs are provided (Debian
4619 #879936).</li>
4620
4621 <li>work around a special case of <em>Xft</em>'s mismanagement
4622 of its cached data by adding a check before the
4623 <code>-report-fonts</code> option to ensure that it does not
4624 use an <code>XftPattern</code> which may have been freed during
4625 a call to <code>XftFontOpenPattern</code>.</li>
4626
4627 <li>improve manual page description of <code>regex</code>
4628 option for <code>on<em>X</em>Clicks</code> resources (report by
4629 Lukas Mai).</li>
4630
4631 <li>add <code>directColor</code> resource.</li>
4632
4633 <li>additional manpage macro cleanup (Branden Robinson, Debian
4634 #880551).</li>
4635
4636 <li>add optional support for direct-colors (adapted from patch
4637 by anonymous &ldquo;Nibby Nebbulous&rdquo;).</li>
4638
4639 <li>improve legacy/NRC character set mapping (patch by Thomas
4640 Wolff), e.g.,
4641 <ul>
4642 <li>enable alternate NRC set designators for French and
4643 French Canadian, &lsquo;9&rsquo; and &lsquo;f&rsquo;
4644 respectively, as documented in ctlseqs. (&lsquo;9&rsquo; is
4645 documented for VT510, &lsquo;f&rsquo; is a Kermit
4646 feature).</li>
4647
4648 <li>correct the Unicode value in the <em>DEC Technical</em>
4649 table to show capital delta.</li>
4650
4651 <li>referring to
4652 <blockquote>
4653 <p><a href=
4654 "http://vt100.net/docs/vt220-rm/table2-3b.html">http://vt100.net/docs/vt220-rm/table2-3b.html</a><br>
4655
4656 <a href=
4657 "http://vt100.net/docs/vt320-uu/appendixe.html">http://vt100.net/docs/vt320-uu/appendixe.html</a></p>
4658 </blockquote>
4659
4660 <p>add entries for the <em>DEC Supplemental Graphics</em>
4661 table to display 0x28/0xa8 as &curren; and 0x5d/0xdd as
4662 &Yuml;.</p>
4663 </li>
4664
4665 <li>referring to
4666 <blockquote>
4667 <p><a href=
4668 "http://www.vt100.net/charsets/technical.html">http://www.vt100.net/charsets/technical.html</a></p>
4669 </blockquote>
4670
4671 <p>alter the Unicode values used for 0x2b through 0x2c to
4672 use <em>curly braces</em> to work with the
4673 &ldquo;middle&rdquo; parts displayed with 0x2f and
4674 0x30.</p>
4675 </li>
4676
4677 <li>modify the VT220 &ldquo;Supplemental&rdquo; table,
4678 giving a hint that it was probably meant to be
4679 &ldquo;Supplemental Graphics&rdquo; and is the same as
4680 VT320's table.</li>
4681 </ul>
4682 </li>
4683
4684 <li>quiet a few font-warnings when a derived fontname cannot be
4685 opened, overlooked in refactoring of font resources in <a href=
4686 "#xterm_328">patch #328</a> (initially reported on <a href=
4687 "https://cygwin.com/ml/cygwin/2017-06/msg00255.html">Cygwin
4688 mailing list</a>, with <a href=
4689 "https://cygwin.com/ml/cygwin/2017-07/msg00216.html">followup</a>).</li>
4690
4691 <li>correct error response for <code>DECRQSS</code> broken in
4692 cleanup of Coverity reports in <a href="#xterm_288">patch
4693 #288</a> (reports by Bram Moolenaar and IWAMOTO Kouichi).</li>
4694
4695 <li>improve <code>DECRPM</code> responses by returning <em>mode
4696 not recognized</em> for modes which may not be settable due to
4697 the selected <code>decTerminalID</code> resource (report by
4698 IWAMOTO Kouichi).</li>
4699
4700 <li>correct logic for <code>print-immediate</code> action, and
4701 enable corresponding menu entry (patch by Lauri
4702 Tirkkonen).</li>
4703
4704 <li>add configure option <code>--with-pcre2</code> (patch by
4705 David Michael).</li>
4706
4707 <li>fix a misspelled subsection title in ctlseqs.ms and add a
4708 note regarding blink which was rendered as bold in X11R6.
4709 Blinking text was implemented in <a href="#xterm_60">Patch
4710 #60</a>.</li>
4711
4712 <li>fix typos in <code>xterm.man</code> (patches by Sven
4713 Joachim, Larry Hynes).</li>
4714
4715 <li>fix typography in <code>xterm.man</code> (patch by Bjarni
4716 Ingi Gislason, Debian #869248).</li>
4717
4718 <li>fix typo in <code>INSTALL</code> (Larry Hynes).</li>
4719
4720 <li>add <code>xterm-direct</code> terminal description based on
4721 changes introduced in <a href="#xterm_277">patch #277</a>, and
4722 relying upon ncurses <code><strong>RGB</strong></code>
4723 extension.</li>
4724
4725 <li>modify <code>xterm-new</code> terminal description to use
4726 ECMA-48 <code>REP</code>, reflecting its use in xterm since
4727 <a href="#xterm_32">patch #32</a> (1996).</li>
4728
4729 <li>clarify comment in ctlseqs.ms regarding blink: it has been
4730 part of xterm since <a href="#xterm_60">patch #60</a>
4731 (1998).</li>
4732
4733 <li>update ftp URLs in documentation.</li>
4734 </ul>
4735
4736 <h1><a name="xterm_330" id="xterm_330">Patch #330 -
4737 2017/06/20</a></h1>
4738
4739 <ul>
4740 <li>updates for ReGIS (Ross Combs):
4741 <ul>
4742 <li>remove redundant text command error check which broke
4743 <code>T(B)</code> and <code>T(E)</code>.</li>
4744
4745 <li>retain the loading alphabet number across multiple
4746 &ldquo;L&rdquo; commands.</li>
4747
4748 <li>add <code>S(T)</code> delay handler.</li>
4749
4750 <li>fix some color handling error messages.</li>
4751
4752 <li>add stubbed-out macrograph handling.</li>
4753
4754 <li>use <code>fragment_remaining()</code> and
4755 <code>fragment_consumed()</code> instead of manually
4756 checking position / length in various places.</li>
4757
4758 <li>rename some local variables in string / extent / option
4759 parsing</li>
4760
4761 <li>wrap some long lines.</li>
4762
4763 <li>move macrograph command handling out of the
4764 top-level.</li>
4765 </ul>
4766 </li>
4767
4768 <li>add a summary of the italic fonts loaded to
4769 <code>-report-fonts</code> option.</li>
4770
4771 <li>modify the font-lookup for italics to allow for
4772 &ldquo;<code>-i-</code>&rdquo; if no match is found with slant
4773 &ldquo;<code>-o-</code>&rdquo; (prompted by patch by Ben
4774 Wong).</li>
4775
4776 <li>change default values for <code>mkSamplePass</code> and
4777 <code>mkSampleSize</code> to reflect generally-improved locale
4778 support in various operating systems (FreeBSD #219800).</li>
4779
4780 <li>modify <code>wcwidth.c</code> to return -1 for non-Unicode
4781 values, and adjust a couple of blocks to better match
4782 assumptions about ambiguous-width characters in other
4783 implementations. Also modify <code>wcwidth.c</code> to support
4784 configurable soft-hyphen, so there is no drawback to using this
4785 version rather than a system <code>wcwidth</code>.</li>
4786
4787 <li>amend change made in <a href="#xterm_328">patch #328</a>
4788 for cursor-visibility to handle case where an application is
4789 updating the reverse-video state (FreeBSD #219800).</li>
4790
4791 <li>update tables of combining and ambiguous-width characters
4792 in wcwidth.c based on Unicode 10.0.0.</li>
4793
4794 <li>build-fix for <code>--enable-sixel-graphics</code> without
4795 <code>--enable-regis-graphics</code> (reports by Sven Joachim,
4796 FreeBSD #219945).</li>
4797 </ul>
4798
4799 <h1><a name="xterm_329" id="xterm_329">Patch #329 -
4800 2017/06/12</a></h1>
4801
4802 <ul>
4803 <li>add control sequences for reading the Sixel and ReGIS
4804 graphics sizes (suggested by Ben Wong).</li>
4805
4806 <li>add a workaround for <code>wcwidth</code> returning -1 for
4807 characters which should have been printable (FreeBSD
4808 #219800).</li>
4809
4810 <li>fix a bug in font initialization from <a href=
4811 "#xterm_328">patch #328</a> (FreeBSD #219800).</li>
4812
4813 <li>fix a special case in <code>HideCursor</code> which
4814 assigned a bold font to the slot used for normal font in
4815 changes for italics in <a href="#xterm_307">patch #307</a>
4816 (Debian #858304).</li>
4817
4818 <li>updates for ReGIS (Ross Combs):
4819 <ul>
4820 <li>Strings specified with no command are used as
4821 "comments". Print these in the log when tracing.</li>
4822
4823 <li>Catch attempts to use "alternate display" mode (AKA
4824 "blink") from the GIGI, but do not implement it.</li>
4825
4826 <li>The <code>T(M)</code> command should only multiply the
4827 height by 10, not 20.</li>
4828
4829 <li>Make the <code>S(E)</code> command reset more state
4830 than just the screen contents.</li>
4831
4832 <li>Remove two rotation variables which were only being
4833 printed.</li>
4834
4835 <li>Numerous minor fixes and comment updates in the
4836 <code>R</code> command.</li>
4837
4838 <li>Unknown <code>R</code> command option names trigger an
4839 empty response.</li>
4840
4841 <li>Fix the output position after printing rotated text (it
4842 was missing the the sign before).</li>
4843
4844 <li>Fix the position change with pixelvectors and rotated
4845 text (the rotation transform was not being applied).</li>
4846
4847 <li>Update the <em>TODO</em> list and remove a verification
4848 <em>FIXME</em> (slanted text positioning is correct as
4849 is).</li>
4850
4851 <li>Emulate the approximately 1.4x enlargement for text
4852 which isn't rotated at right angles.</li>
4853
4854 <li>Only update the color planes specified in the plane
4855 mask (the <code>W</code> command's <code>F</code>
4856 option).</li>
4857 </ul>
4858 </li>
4859
4860 <li>fix a bug introduced by the changes to font information in
4861 <a href="#xterm_328">patch #328</a>. When processing the
4862 "checkfont" option of the <code>locale</code> resource, the
4863 program referred to the <em>request</em> data, to an array
4864 which was only allocated in the <em>new/result</em> widget
4865 (report by H Merijn Brand).</li>
4866
4867 <li>fix a missing assignment initialization to make the
4868 <code>utf8</code> resource control whether escape sequences to
4869 enable/disable UTF-8 mode are allowed.</li>
4870 </ul>
4871
4872 <h1><a name="xterm_328" id="xterm_328">Patch #328 -
4873 2017/06/01</a></h1>
4874
4875 <ul>
4876 <li>revise parser for <code>charClass</code> resource, making
4877 these improvements:
4878 <ul>
4879 <li>accept octal and hexadecimal values</li>
4880
4881 <li>allow embedded whitespace</li>
4882
4883 <li>allow the class after colon to be optional, e.g., to
4884 clear class settings for a range of characters.</li>
4885 </ul>
4886 </li>
4887
4888 <li>add command-line option
4889 <code>-report-charclass</code>.</li>
4890
4891 <li>fix most lintian warnings about test-package</li>
4892
4893 <li>add <code>eraseSavedLines</code> resource.</li>
4894
4895 <li>document <code>DECSED&nbsp;3</code> in
4896 <code>ctlseqs.ms</code> (report by Ben Longmans).</li>
4897
4898 <li>improve integration between configure-events and updates
4899 for reported screensize, in particular when switching between
4900 vt100 and tek4014 modes.</li>
4901
4902 <li>modify selection-highlighting of reverse-video text to keep
4903 that distinct, e.g., by reversing the selection foreground and
4904 background colors as one would expect. This fixes a "useless"
4905 case in the description of
4906 <code>highlightColorMode</code>.</li>
4907
4908 <li>improve fix for Debian #759734, addressing a case where
4909 non-colored cursor would be invisible against reverse-video
4910 (see <a href="#xterm_311">patch #311</a>).</li>
4911
4912 <li>updates for ReGIS (Ross Combs):
4913 <ul>
4914 <li>the "H" option of the "T" command should multiply by
4915 10, not 20.</li>
4916
4917 <li>display unknown glyphs as a solid block.</li>
4918
4919 <li>given a succession of text-direction options, use the
4920 last.</li>
4921
4922 <li>fix the direction of ReGIS slanted text so that
4923 negative values produce oblique output .</li>
4924
4925 <li>fix the ReGIS text direction option to only rotate
4926 characters when no following size option is used.</li>
4927 </ul>
4928 </li>
4929
4930 <li>update terminfo to better match corresponding entries in
4931 ncurses, e.g., <code>u8</code> pattern to match the VT220,
4932 VT420, etc., primary responses, as well as adding
4933 <code>smxx</code> and <code>rmxx</code>.</li>
4934
4935 <li>fixes from J&ouml;rg Sommer:
4936 <ul>
4937 <li>corrected a trace-message regarding maximum
4938 graphics-size; it used the similar ReGIS maximum size which
4939 might not be configured.</li>
4940
4941 <li>in <code>do_select_regex</code>, clear selection if
4942 there is no match. If the regex does not match anything
4943 around the cursor, the selection returned must be empty,
4944 otherwise the whole line is treated as a match. This way
4945 the command defined by <code>exec-selectable</code> will
4946 not be executed if there is no match.</li>
4947
4948 <li>modify limit in <code>do_select_regex</code> to include
4949 the character at the cursor in the match, making it easier
4950 to type something and then hit the key to trigger
4951 <code>exec-selectable</code>.</li>
4952
4953 <li>If <code>exec-selectable</code> or
4954 <code>insert-selection</code> is triggered by a mouse
4955 button click, the position of the mouse pointer should be
4956 used. This makes it easier to address any position on the
4957 window and it makes it possible to use the mouse, e.g., for
4958 applications such as mutt where you cannot move the
4959 cursor.</li>
4960 </ul>
4961 </li>
4962
4963 <li>modify <code>DECRC</code> to save/restore xterm's
4964 last-column flag used to control wrapping behavior rather than
4965 manipulating <code>DECAWM</code> (report/analysis by Mattias
4966 Engdeg&aring;rd).</li>
4967
4968 <li>add configure option <code>--enable-terminfo-env</code> to
4969 use the value set by <code>--with-own-terminfo</code> for the
4970 <code>$TERMINFO</code> environment variable. That variable was
4971 set automatically for HPUX, but would be useful in other
4972 systems, e.g., for Solaris (request by Jeff Wieland).</li>
4973
4974 <li>fix a race condition when setting up a signal handler to
4975 timeout if opening <code>/dev/tty</code> hangs (patch by Tobias
4976 Stoeckmann).</li>
4977
4978 <li>review/cleanup resources which were not in the manual page
4979 (report by Maxwell Anselm):
4980 <ul>
4981 <li>add manual page description as needed.</li>
4982
4983 <li>drop resource name for <code>menuBar</code>, as
4984 unnecessary.</li>
4985
4986 <li>modify fallback numeric value for
4987 <code>regisScreenSize</code> resource to match that for
4988 <code>maxGraphicSize</code>.</li>
4989 </ul>
4990 </li>
4991
4992 <li>updated configure macros <code>CF_ADD_CFLAGS</code>,
4993 <code>CF_CC_ENV_FLAGS</code>, <code>CF_GNU_SOURCE</code>,
4994 <code>CF_MATH_LIB</code>, and <code>CF_XOPEN_SOURCE</code> from
4995 other program-changes.</li>
4996
4997 <li>update config.guess, config.sub</li>
4998
4999 <li>change &ldquo;maximum screensize&rdquo; assumed by
5000 <code>resize</code> to 9999x9999, to accommodate people using
5001 the <em><code>Unreadable</code></em> font.</li>
5002
5003 <li>drop <code>Utility</code> from default value of
5004 <code>--with-desktop-category</code> (Debian #780176).</li>
5005
5006 <li>widen the configure script pattern used for finding related
5007 ".desktop" files, including &ldquo;Terminal&rdquo;</li>
5008
5009 <li>several minor improvements to font utility functions:
5010 <ul>
5011 <li>provide for later modification to implement font-sets
5012 by parsing the font resources as comma-separated
5013 lists.</li>
5014
5015 <li>parse <code>-fn</code> and <code>-fa</code> similarly,
5016 using &ldquo;x:&rdquo; and &ldquo;xft:&rdquo; prefixes for
5017 font name/family strings to distinguish between XLFD and
5018 Xft font specifications.</li>
5019
5020 <li>use loops to iterate over font classes</li>
5021
5022 <li>use getters/setters for font data to allow for
5023 on-demand lookups.</li>
5024
5025 <li>make the debugging trace for missing glyph less verbose
5026 since that interferes with the <code>-report-fonts</code>
5027 option.</li>
5028
5029 <li>refactor <code>xtermLoadFont</code> to make it clearer
5030 how some fonts are derived from others, e.g., bold,
5031 wide.</li>
5032
5033 <li>make the triggering and suppressing of font-warnings
5034 more consistent by storing the last state in the
5035 widget.</li>
5036
5037 <li>reduce font-warnings by checking for repeated
5038 warnings.</li>
5039 </ul>
5040 </li>
5041
5042 <li>add <code>vttests/query-status.pl</code></li>
5043
5044 <li>add <code>vttests/closest-rgb</code></li>
5045
5046 <li>add special case for displaying soft-hyphen if it happens
5047 to fall at the right margin, and omitting similar case such as
5048 the BIDI markers, where a zero-width character is neither a
5049 control character nor a combining character (Debian
5050 #844325).</li>
5051
5052 <li>modify logic for <code>OSC&nbsp;52</code>, <em>manipulate
5053 selection data</em>, to update the selection-time to include
5054 the latest X events. This fixes some cases where the selection
5055 was invalid, e.g., after an event due to focus-follows-mouse
5056 (report/testcase by Stephane Chauveau).</li>
5057
5058 <li>revise macro <code>CastMallocN</code> as new macro
5059 <code>TextAlloc</code> to make explicit use of
5060 <code>sizeof(char)</code> (prompted by patch by Cade
5061 Foster).</li>
5062
5063 <li>add <em>&ldquo;Mouse Ops&rdquo;</em> menu entry and related
5064 resources to allow runtime disabling/enabling of the mouse
5065 protocol escape sequences (discussion with Bob Proulx).</li>
5066
5067 <li>improve discussion of mouse actions versus protocol in the
5068 manual (discussion with Bob Proulx).</li>
5069
5070 <li>improve discussion of environment variables in the manual,
5071 pointing out where some features (such as termcap and the
5072 System5 <code>COLUMNS</code> and <code>LINES</code> variables)
5073 are used rarely, mainly to support legacy applications.</li>
5074
5075 <li>add examples of <code>translations</code> resource for
5076 select/paste, and for font-size changes to the manual.</li>
5077
5078 <li>minor reordering of some entries in <code>ctlseqs.ms</code>
5079 for consistency (report by Arran Ubels).</li>
5080
5081 <li>add <code>-s</code> option to <code>256colors2.pl</code>
5082 and <code>88colors2.pl</code>, to demonstrate modifying the
5083 &ldquo;system&rdquo; colors 0&ndash;15.</li>
5084
5085 <li>omit <code>XFT_SPACING</code> property from call to <code>
5086 XftPatternBuild</code>, to work around a bug in
5087 <em>fontconfig</em> for handling Google Go fonts, whose names
5088 sort in an order not expected by <em>fontconfig</em>, causing
5089 the request for a monospaced font to return <em>italics</em>,
5090 e.g.,
5091 <blockquote>
5092 <pre>
5093 $ fc-match 'Go Mono:spacing=monospace'
5094 Go-Mono-Italic.ttf: "Go Mono" "Italic"
5095 (report by Giacomo Boffi on <a href=
5096 "http://unix.stackexchange.com/questions/324941/xterm-displays-an-italic-face-instead-of-regular">Stackoverflow</a>).
5097
5098 </pre>
5099 </blockquote>
5100 </li>
5101
5102 <li>modify <code>minstall.in</code> to improve a workaround
5103 added to the manual page in <a href="#xterm_182">patch #182</a>
5104 to avoid having the C preprocessor used in the imake
5105 configuration strip out the comments in the character classes
5106 section (reports by Ted Unangst, Anthony J Bentley).</li>
5107 </ul>
5108
5109 <h1><a name="xterm_327" id="xterm_327">Patch #327 -
5110 2016/10/07</a></h1>
5111
5112 <ul>
5113 <li>add a check in the function which handles end-of-line
5114 wrapping to ensure that C1 controls are allocated one column
5115 when <code>allowC1Printable</code> is set (Debian
5116 #738794).</li>
5117
5118 <li>use consistent error-checking after <code>strtol</code>
5119 calls, fixes a case where a query with OSC 6 did not ensure
5120 there was a valid color number (report by Alex Smith).</li>
5121
5122 <li>add <code>-baudrate</code> option, for testing
5123 ncurses.</li>
5124
5125 <li>always generate the <code>CASE_<em>xxx</em></code> symbols
5126 in <code>VTparse.h</code> and <code>Tekparse.h</code>, as part
5127 of a change to improve debug-logging. This makes the build
5128 always depend upon <code>awk</code>.</li>
5129
5130 <li>modify <code>allowC1Printable</code> to disallow codes
5131 160-254 as being equivalent to codes 32-126 when parsing escape
5132 sequences (Debian #839220).</li>
5133
5134 <li>amend fix from <a href="#xterm_326">patch #326</a> for
5135 TrueType fonts to exclude the hidden character used for
5136 double-width cells (report by Grady Martin).</li>
5137
5138 <li>fix a typo in <code>ctlseqs.ms</code></li>
5139 </ul>
5140
5141 <h1><a name="xterm_326" id="xterm_326">Patch #326 -
5142 2016/09/25</a></h1>
5143
5144 <ul>
5145 <li>updated appdata file (report by Richard Hughes).</li>
5146
5147 <li>improve discussion of the different terminal emulations
5148 provided by xterm in the manual page.</li>
5149
5150 <li>add examples of setting the icon title with/without the
5151 window title in the manual (Debian #833984).</li>
5152
5153 <li>correct a limit-check when using a numeric value for
5154 extended Booleans e.g., <code>*fullscreen:3</code> rather than
5155 a name such as <code>*fullscreen:never</code>.</li>
5156
5157 <li>add action <code>allow-bold-fonts</code></li>
5158
5159 <li>improved formatting fixes for manual page, using script to
5160 find mismatches in spelling of resources, actions and menu
5161 entries.</li>
5162
5163 <li>improve documentation of logging resources.</li>
5164
5165 <li>fix a special case of flickering cursor by adding
5166 <code>GraphicsExpose</code> to the list of event types that
5167 should not trigger making the mouse cursor visible (patch by
5168 Joe Peterson).</li>
5169
5170 <li>correct initialization of line-drawing in VT52-mode,
5171 overlooked in changes for <a href="#xterm_297">patch #297</a>
5172 (report/patch by Ben Wiley Sittler).</li>
5173
5174 <li>minor clarification of form-feed versus line-feed in
5175 <code>ctlseqs.ms</code> (suggested by David Kemper).</li>
5176
5177 <li>amend fix for Debian #738794 to restore a check for missing
5178 characters which are <em>not</em> combining characters. Also
5179 fill in a corresponding special case for TrueType fonts (Debian
5180 #827905).</li>
5181 </ul>
5182
5183 <h1><a name="xterm_325" id="xterm_325">Patch #325 -
5184 2016/06/05</a></h1>
5185
5186 <ul>
5187 <li>improve manual page discussion of function keys (discussion
5188 with Ross Combs).</li>
5189
5190 <li>further improve fix for Debian #545220 in <a href=
5191 "#xterm_248">patch #248</a>, to avoid conflict with combining
5192 characters (Debian #738794).</li>
5193
5194 <li>improve <code>-hold</code> option to avoid 100% CPU usage
5195 with NetBSD after closing the shell, which makes subsequent
5196 checks for X input events fail (prompted by patch by Pierre
5197 Pronchery).</li>
5198
5199 <li>review <code>#ifdef</code> statements, listed those which
5200 do not have a configure option in
5201 <code>xtermcfg.hin</code>.</li>
5202
5203 <li>fixed one case where the menu sensistivity for
5204 <em>Print-All Immediately</em> and <em>Print-All on Error</em>
5205 was not properly ifdef'd.</li>
5206
5207 <li>modify terminfo entries for 16-, 88- and 256-color to reset
5208 palette with <code>rs1</code> capability.</li>
5209
5210 <li>accept <code>legacy</code> value of <code>-kt</code> as
5211 synonym for the <code>oldXtermFKeys</code> resource, and extend
5212 the full-reset logic to use the keyboard type set via
5213 <code>-kt</code>.</li>
5214
5215 <li>modify <code>ioctl</code> calls for <code>I_PUSH</code> to
5216 first check if the module has been added, using
5217 <code>I_FIND</code>. This is needed for newer Solaris libraries
5218 with c11 support (adapted from patch by Alan Coopersmith).</li>
5219
5220 <li>add check in <code>getXtermCombining</code> to ensure that
5221 combining characters were allocated (report by Tor
5222 Andersson).</li>
5223
5224 <li>add configure option <code>--without-xinerama</code> to
5225 allow suppressing the extension (Gentoo #580936).</li>
5226
5227 <li>update keysym2ucs.c based on Unicode 9.0</li>
5228
5229 <li>fixed most <code>cppcheck --enable=all</code> warnings,
5230 including for style (prompted by report by David Binderman).
5231 There was one bug-fix:
5232 <ul>
5233 <li>RGB least-squares computation in
5234 <code>allocateClosestRGB</code> used only one ordinate</li>
5235 </ul>
5236 </li>
5237
5238 <li>add <code>cppcheck</code> to lint-like programs in
5239 configure script and makefile.</li>
5240
5241 <li>fix some const correctness issues and point out an array
5242 lifetime issue (Ross Combs).</li>
5243
5244 <li>updates for SIXEL and ReGIS (Ross Combs):
5245 <ul>
5246 <li>Sixel drawing should still happen after an error if
5247 some commands have been processed</li>
5248
5249 <li>Tiny steps toward reporting ReGIS input</li>
5250 </ul>
5251 </li>
5252 </ul>
5253
5254 <h1><a name="xterm_324" id="xterm_324">Patch #324 -
5255 2016/03/10</a></h1>
5256
5257 <ul>
5258 <li>updated configure macro <code>CF_LD_RPATH_OPT</code> from
5259 ncurses changes.</li>
5260
5261 <li>provide alternate fix for Juha Nurmela's report by turning
5262 on POSIX signals if <code>_POSIX_C_SOURCE</code> is at least
5263 one. This is done to improve the behavior if a direct child
5264 process receives a <code>STOP</code> signal.</li>
5265
5266 <li>revert change to <code>CF_POSIX_C_SOURCE</code> from
5267 <a href="#xterm_323">patch #323</a> (reports by Ashish Shukla,
5268 Christian Weisgerber).</li>
5269 </ul>
5270
5271 <h1><a name="xterm_323" id="xterm_323">Patch #323 -
5272 2016/03/07</a></h1>
5273
5274 <ul>
5275 <li>updated appdata and desktop files to add keywords (report
5276 by Richard Hughes).</li>
5277
5278 <li>modify configure macro <code>CF_POSIX_C_SOURCE</code> to
5279 accommodate some systems, e.g., FreeBSD, which have separated
5280 their implementation specific preprocessor symbols from the
5281 POSIX ones, requiring both to be defined (report by Juha
5282 Nurmela).</li>
5283
5284 <li>change the directory to the current working dir of the
5285 child process in exec-formatted and exec-selectable actions
5286 (patch by Alexander Pohoyda).</li>
5287
5288 <li>correct typo in xterm.man (patch by Larry Hynes).</li>
5289
5290 <li>correct typo in ctlseqs.ms (report by Shriramana
5291 Sharma).</li>
5292
5293 <li>add feature to support XHTML and SVG screen dumps (patch by
5294 Jens Schweikhardt).</li>
5295
5296 <li>correct response to DECRQSS when terminal id is less than
5297 400 (patch by Iwamoto Kouichi).</li>
5298 </ul>
5299
5300 <h1><a name="xterm_322" id="xterm_322">Patch #322 -
5301 2016/01/02</a></h1>
5302
5303 <ul>
5304 <li>fix regression due to incorrect fix for compiler warning
5305 when allocating storage for <code>/etc/shells</code> (reports
5306 by Ashish Shukla, Debian #809646).</li>
5307 </ul>
5308
5309 <h1><a name="xterm_321" id="xterm_321">Patch #321 -
5310 2015/12/31</a></h1>
5311
5312 <ul>
5313 <li>add resource <code>keepClipboard</code>, escape sequence
5314 and action <code>keep-clipboard</code>.</li>
5315
5316 <li>add optional feature to capture text copied to clipboard at
5317 the time of copying rather than at the time the clipboard
5318 contents are requested for pasting (patch by Milan
5319 Mehner).</li>
5320
5321 <li>improve a special case where the <code>-e</code> option was
5322 used to pass a single-quoted command via <code>luit</code>, by
5323 wrapping it in a &ldquo;sh -c&rdquo; (report by Keith
5324 Hedger).</li>
5325
5326 <li>minor fix for type-cleanliness when allocating storage for
5327 <code>/etc/shells</code> (Tobias Stoeckmann).</li>
5328
5329 <li>fix a typo in manual page (Dan Church).</li>
5330
5331 <li>fix minor file-descriptor leak; after calling
5332 <code>openpty</code>, the slave's file descriptor is not needed
5333 (report by Juha Nurmela).</li>
5334
5335 <li>editorial change to ctlseqs.ms (report by David
5336 Gomboc).</li>
5337
5338 <li>minor updates for autoconf macros.</li>
5339
5340 <li>update config.guess, config.sub</li>
5341 </ul>
5342
5343 <h1><a name="xterm_320" id="xterm_320">Patch #320 -
5344 2015/08/28</a></h1>
5345
5346 <ul>
5347 <li>correct documentation for <code>%t</code> format (report by
5348 Martin Tournoij).</li>
5349
5350 <li>add <code>%R</code> for consistency to
5351 <code>exec-formatted()</code> and
5352 <code>insert-formatted()</code> actions.</li>
5353
5354 <li>add <code>%r</code> format to <code>exec-formatted()</code>
5355 and <code>insert-formatted()</code> actions (patch by Martin
5356 Tournoij).</li>
5357
5358 <li>Amend fix for Debian #794201 (report forwarded from
5359 Christian Jachmann by Emanuel Haupt, Debian #797008).</li>
5360 </ul>
5361
5362 <h1><a name="xterm_319" id="xterm_319">Patch #319 -
5363 2015/08/19</a></h1>
5364
5365 <ul>
5366 <li>add a section to <code>ctlseqs.ms</code> discussing control
5367 sequences and ECMA-48, to explain why C1 controls do not occur
5368 in the decoded characters from UTF-8 byte streams (prompted by
5369 discussion with Poul-Henning Kamp).</li>
5370
5371 <li>modify check for cursor-theme from <a href=
5372 "#xterm_301">patch #301</a> to also check if the resource
5373 <code>Xcursor.theme</code> is set to a nonempty value before
5374 fallback to xterm's own dummy theme (request by Robert
5375 Kloefkorn).</li>
5376
5377 <li>explain in <code>ctlseqs.ms</code> that some keys which
5378 normally send SS3-prefixes are changed to CSI-prefixes if
5379 key-modifiers are passed as parameters (report by George
5380 Nachman).</li>
5381
5382 <li>correct double-free of font information when multiple
5383 problems are found, particularly for the wide fonts loaded via
5384 the <code>-wc</code> option (report/testcase by Nelson
5385 Beebe).</li>
5386
5387 <li>make configure option <code>--enable-builtin-xpms</code>
5388 actually work (report by William Bulley).</li>
5389
5390 <li>correct combination of <code>-ls</code> and <code>-e</code>
5391 options for utempter configuration (Debian #794201).</li>
5392
5393 <li>NetBSD build-fix for OPT_RENDERFONT versus OPT_SHIFT_FONTS
5394 (patch by Matthew Green, forwarded by Thomas Klausner).</li>
5395
5396 <li>fix a few minor bugs found with Coverity.</li>
5397
5398 <li>update pixelvector handling (Ross Combs):
5399 <ul>
5400 <li>split pixel-based and coord-based functions with common
5401 parts factored out to a "raw" function</li>
5402
5403 <li>add a "step" variant which loads a single PV digit</li>
5404 </ul>
5405 </li>
5406
5407 <li>make the graphic dirty upon resize or clear, fixing some
5408 missing refreshes (patch by Ross Combs)</li>
5409
5410 <li>fixes scrolling to use user coordinates and move in the
5411 correct direction (patch by Ross Combs)</li>
5412
5413 <li>several fixes/improvements for ReGIS whitespace and
5414 page-handling (patch by Ross Combs).</li>
5415 </ul>
5416
5417 <h1><a name="xterm_318" id="xterm_318">Patch #318 -
5418 2015/04/12</a></h1>
5419
5420 <ul>
5421 <li>rename new(er) configure option
5422 <code>--enable-initial-erase</code> to
5423 <code>--enable-pty-erase</code>, since that conflicted with an
5424 existing option (report by Jens Schweikhardt).</li>
5425
5426 <li>fix cut/paste error in <code>--with-builtin-xpms</code>
5427 configure option (reports by Jens Schweikhardt, Ross
5428 Combs).</li>
5429
5430 <li>fix minor formatting issue in xterm manual (report by Jens
5431 Schweikhardt).</li>
5432
5433 <li>eliminate unnecessary "#(vi" markers in autoconf macros by
5434 using "(" to begin case-statement cases (suggested by Jens
5435 Schweikhardt).</li>
5436
5437 <li>minor fixes to improve <code>const</code> usage (Ross
5438 Combs).</li>
5439 </ul>
5440
5441 <h1><a name="xterm_317" id="xterm_317">Patch #317 -
5442 2015/03/27</a></h1>
5443
5444 <ul>
5445 <li>adapt example for <code>exec-formatted</code> from <a href=
5446 "http://lukas.zapletalovi.com/2013/07/hidden-gems-of-xterm.html">
5447 Luk&aacute;&scaron; Zapletal's</a> webpage to manual (Debian
5448 #780008).</li>
5449
5450 <li>add a short usage section to the xterm manual, including
5451 notes on setting the window title (Debian #742477).</li>
5452
5453 <li>revise a change made to <code>ICH</code> in <a href=
5454 "#xterm_314">patch #314</a> to address limit-checks
5455 (reports/testcases by Zolt&aacute;n K&eacute;ri and Joe
5456 Peterson, also reported by Christian Weisgerber).</li>
5457 </ul>
5458
5459 <h1><a name="xterm_316" id="xterm_316">Patch #316 -
5460 2015/03/07</a></h1>
5461
5462 <ul>
5463 <li>revert change to make <code>DCH</code> honor top/bottom
5464 scrolling margins. For the record, both the VT420 and VT520
5465 reference manuals incorrectly state that <em>"DCH has no effect
5466 outside the scrolling margins."</em></li>
5467
5468 <li>fix regression in <code>DCH</code> introduced in adjustment
5469 for limit-check in <a href="#xterm_314">patch #315</a>
5470 (report/testcase by Zolt&aacute;n K&eacute;ri, also reported by
5471 Christian Weisgerber).</li>
5472
5473 <li>correct default value for configure option
5474 <code>--enable-initial-erase</code>; it should be "False", but
5475 in <a href="#xterm_315">patch #315</a> it was "Maybe", which
5476 differed from default set in <a href="#xterm_192">patch
5477 #192</a>.</li>
5478 </ul>
5479
5480 <h1><a name="xterm_315" id="xterm_315">Patch #315 -
5481 2015/03/02</a></h1>
5482
5483 <ul>
5484 <li>change default for <code>--enable-narrowproto</code> for
5485 Cygwin to "no" to better match contemporary configurations
5486 (report by Jens Schweikhardt, prompted by <a href=
5487 "http://stackoverflow.com/questions/28137618/what-is-a-narrow-prototype-and-why-would-i-need-one/28334574?noredirect=1#comment45022128_28334574">
5488 discussion</a>).</li>
5489
5490 <li>provide <code>OSC&nbsp;106</code> as an alternative to
5491 <code>OSC&nbsp;6</code>, avoiding conflict with one of
5492 Terminal.app's undocumented escape sequences (report by Egmont
5493 Koblinger).</li>
5494
5495 <li>fix an off-by-one in comparison when autowrap and
5496 left/right margins are combined (report by George
5497 Nachman).</li>
5498
5499 <li>modify <code>DECBI</code> and <code>DECFI</code> to work
5500 outside the left/right margins, since the vague VT520 reference
5501 manual could support that interpretation (suggested by George
5502 Nachman).</li>
5503
5504 <li>correct response for <code>DECSCUSR</code> in
5505 <code>DECRQSS</code> (report/analysis by George Nachman).</li>
5506
5507 <li>add <code>DECSLRM</code> to list for <code>DECRQSS</code>
5508 in ctlseqs.ms (report by George Nachman).</li>
5509
5510 <li>improve limit-checks versus assert's in the debugging
5511 version (reports by George Nachman).</li>
5512
5513 <li>correct a problem with multiple writes to the right-margin
5514 when autowrap is turned off (report by George Nachman, also
5515 reported in Gnome #744819 by Ulf Magnusson).</li>
5516
5517 <li>modify <code>DCH</code> to honor top/bottom and left/right
5518 margins (report by George Nachman).</li>
5519
5520 <li>correct off-by-one in comparison so that <code>DL</code>
5521 honors left/right margins (report by George Nachman).</li>
5522
5523 <li>correct logic of <code>DECSCL</code>, which always set
5524 8-bit controls as a side-effect (report by George
5525 Nachman).</li>
5526
5527 <li>correct loop limit for <code>DECSED&nbsp;1</code>, when
5528 <code>DECSCA</code> is enabled (report by George Nachman).</li>
5529
5530 <li>fix a entry in csi_table for &ldquo;<code>$</code>&rdquo;,
5531 needed for <code><em>CSI</em>&nbsp;[&nbsp;$&nbsp;z</code>
5532 (report by George Nachman).</li>
5533
5534 <li>remove restriction from <a href="#xterm_279">patch #279</a>
5535 changes on <code>DECIC</code> and <code>DECDC</code> to
5536 left-right mode (report by George Nachman).</li>
5537
5538 <li>correct PID value returned in response to DECRQCRA
5539 (report/analysis by George Nachman).</li>
5540
5541 <li>fix an ifdef'ing problem, where
5542 <code>--disable-dec-locator</code> would turn off logic needed
5543 for <code>DECIC</code> and <code>DECDC</code> (report by George
5544 Nachman).</li>
5545
5546 <li>correct order of parameters in report for
5547 <code><em>CSI</em>&nbsp;1&nbsp;9&nbsp;t</code>, which gives the
5548 screensize in characters (report by George Nachman).</li>
5549
5550 <li>add null pointer checks for a case in DECCRA where part of
5551 the target rectangle lies outside the screen limits (report by
5552 George Nachman).</li>
5553
5554 <li>remove extra "6" for selective erase from DA1 response
5555 (report by George Nachman).</li>
5556
5557 <li>support Xinerama screen specification in geometry parsing
5558 (patch by Nicolas George).</li>
5559
5560 <li>add configure option <code>--enable-initial-erase</code> to
5561 set <code>ptyInitialErase</code> consistently with manpage, as
5562 well as adding a table in manpage to clarify the relationship
5563 between the resources related to the backarrow key (Debian
5564 #775952).</li>
5565
5566 <li>add configure <code>--enable-builtin-xpms</code> to
5567 simplify compiling-in the icons introduced in <a href=
5568 "#xterm_284">patch #284</a> (prompted by discussion with
5569 William Bulley).</li>
5570
5571 <li>fix/improve autoconf macros:
5572 <ul>
5573 <li>CF_WITH_APP_DEFAULTS, add paths for OSX</li>
5574
5575 <li>CF_WITH_MAN2HTML, configure option "--with-man2html"
5576 provides "man2html" as alternative to groff's man/html
5577 conversion</li>
5578 </ul>
5579 </li>
5580
5581 <li>fix some minor issues in manpage (Jens Schweikhardt).</li>
5582 </ul>
5583
5584 <h1><a name="xterm_314" id="xterm_314">Patch #314 -
5585 2014/12/28</a></h1>
5586
5587 <ul>
5588 <li>fix a minor bug in the termcap-specific version of
5589 <code>resize</code> when the lines or columns values are at the
5590 very end of an incomplete termcap string (prompted by coverity
5591 report).</li>
5592
5593 <li>improve paste64 feature (report by Olaf Rogalsky)
5594 <ul>
5595 <li>fix &ldquo;<code>p</code>;&rdquo; command in
5596 <code>paste64.pl</code> example.</li>
5597
5598 <li>modify <code>_OwnSelection</code> to allow the paste64
5599 control to cause primary/clipboard selections to be
5600 disowned and cleared.</li>
5601
5602 <li>omit an extra "=" used in padding, to make the base64
5603 response a multiple of four characters.</li>
5604
5605 <li>modify <code>_ConvertSelectionHelper</code> to not stop
5606 converting on embedded nulls in the primary or clipboard
5607 selection. That makes the behavior consistent with
5608 cut-buffers. Nulls are not passed on to the application
5609 because they are used for separators in the X library calls
5610 that convert <code>XTextProperty</code> values.</li>
5611 </ul>
5612 </li>
5613
5614 <li>add configure option <code>--with-man2html</code> to allow
5615 an alternative to groff's man/html conversion.</li>
5616
5617 <li>review and modify resource-settings which can be set via
5618 control sequences, etc:
5619 <ul>
5620 <li>add <code>OSC&nbsp;6</code>, to enable/disable colors
5621 set via <code>OSC&nbsp;5</code>, without changing the color
5622 assignments (prompted by patch by Ingo Br&uuml;ckl).</li>
5623
5624 <li>add command-line option <code>-itc</code> for
5625 italics.</li>
5626
5627 <li>add <code>colorIT</code> and <code>colorITMode</code>
5628 for italics, like <code>colorBD</code>, etc.</li>
5629
5630 <li>guard <code>allowPasteControls</code> against
5631 modification by <code>editres</code>.</li>
5632 </ul>
5633 </li>
5634
5635 <li>change <code>passedPty</code> from fixed-length to
5636 allocated to ensure that it is long enough to hold the
5637 <code>-S</code> option value (report by Ben Longbons).</li>
5638
5639 <li>improve ReGIS graphics initialization (Ross Combs):
5640 <ul>
5641 <li>add a new string resource to set the default ReGIS
5642 font.</li>
5643
5644 <li>fix a caching problem where the font name wasn't taken
5645 into consideration when looking up cached metrics.</li>
5646
5647 <li>enables use of fractional values in coordinates (which
5648 in turn allows setting the coordinates to something like
5649 [0,1][1,0])</li>
5650
5651 <li>doubles the minimum ReGIS graphic to 200x200</li>
5652
5653 <li>set the default ReGIS image size to "auto"</li>
5654
5655 <li>fix some swapped width/height parameters in TRACE
5656 messages</li>
5657
5658 <li>add support for scaling and mirrored coordinate systems
5659 to the screen address command</li>
5660
5661 <li>sets a minimum ReGIS graphics size of 100x100 --
5662 smaller address ranges will be scaled up</li>
5663
5664 <li>reset the image if either the width or height is zero
5665 (which should happen together or not at all, but switching
5666 the logic gets rid of some parentheses)</li>
5667
5668 <li>adds support for alternate screen coordinates (just
5669 offsets, not inverted coordinates or scaling)</li>
5670
5671 <li>keeps the graphics state across ReGIS calls unless P1
5672 or P3 entry codes are used</li>
5673
5674 <li>changes loops to continue after parsing whitespace to
5675 allow trailing whitespace</li>
5676
5677 <li>fixes some incorrect character casts</li>
5678 </ul>
5679 </li>
5680 </ul>
5681
5682 <h1><a name="xterm_313" id="xterm_313">Patch #313 -
5683 2014/11/28</a></h1>
5684
5685 <ul>
5686 <li>add <code>regisScreenSize</code> resource setting to allow
5687 custom screensizes for ReGIS graphics (prompted by discussion
5688 with Scott Froebe).</li>
5689
5690 <li>fix some minor issues in manpage (Jens Schweikhardt).</li>
5691
5692 <li>improve ReGIS font-handling (Ross Combs):
5693 <ul>
5694 <li>remove "random junk" generation for unknown
5695 characters</li>
5696
5697 <li>add xterm extension to load user glyphs for alphabet
5698 0</li>
5699
5700 <li>add xterm extension to specify loading an alphabet from
5701 a font by name</li>
5702
5703 <li>fix bug with use of empty alphabet slots which caused
5704 slot 0 to be clobbered</li>
5705
5706 <li>update/clarify ReGIS-related comments</li>
5707
5708 <li>add DECprint extension for printing/clearing the screen
5709 (only clearing is performed)</li>
5710 </ul>
5711 </li>
5712
5713 <li>improve ReGIS colorspec conversion (Ross Combs):
5714 <ul>
5715 <li>avoid some floating point math for colorspace
5716 conversion</li>
5717
5718 <li>move two copies of colorspec parsing to a single
5719 function</li>
5720
5721 <li>change colorspec parsing to handle components being out
5722 of order or with spaces and commas between them</li>
5723
5724 <li>add support for an extension where RGB components can
5725 be given instead of HLS</li>
5726 </ul>
5727 </li>
5728
5729 <li>improve use of const, e.g., for the <code>LineData</code>
5730 pointers (patch by Ross Combs).</li>
5731
5732 <li>clip of graphics that overlap the scrollback buffer and alt
5733 screen (patch by Ross Combs).</li>
5734
5735 <li>amend change to focus-change events in <a href=
5736 "#xterm_287">patch #287</a> to limit it to suppressing the
5737 reset of the urgency-hint, because some useful
5738 <code>FocusOut</code> events were lost (report by Joe
5739 Peterson).</li>
5740
5741 <li>modify dpkg build-script to configure xterm-dev as an
5742 <code>x-terminal-emulator</code> alternative.</li>
5743
5744 <li>extend the <code>--with-xterm-symlink</code> feature to
5745 make symbolic links for the other programs and scripts.</li>
5746
5747 <li>minor fix to <code>vttests/resize.pl</code> to avoid
5748 undefined variable when receiving broken/missing response,
5749 e.g., from mrxvt.</li>
5750
5751 <li>change the way that ReGIS graphics are refreshed (patch by
5752 Ross Combs):
5753 <ul>
5754 <li>it pre-composes any overlapping graphics to avoid
5755 unnecessary and flickering draws</li>
5756
5757 <li>it adds a three-dimensional lookup table for RGB -&gt;
5758 pixel values and uses this across all graphics</li>
5759
5760 <li>it draws in line segments when there is a run of the
5761 same color</li>
5762
5763 <li>in cases where there are no transparent parts, it uses
5764 an XImage to draw</li>
5765
5766 <li>it hooks into the double-buffering support if it is
5767 enabled (though this doesn't seem to get rid of all
5768 flicker).</li>
5769 </ul>
5770 This has the effect of reducing flicker and speeding up
5771 redraws.
5772 </li>
5773 </ul>
5774
5775 <h1><a name="xterm_312" id="xterm_312">Patch #312 -
5776 2014/09/28</a></h1>
5777
5778 <ul>
5779 <li>undo change to <code>do_select_regex()</code> in <a href=
5780 "#xterm_311">patch #311</a> (reports by H Merijn Brand,
5781 Sven-Haegar Koch, Debian #762978).</li>
5782 </ul>
5783
5784 <h1><a name="xterm_311" id="xterm_311">Patch #311 -
5785 2014/09/18</a></h1>
5786
5787 <ul>
5788 <li>mention <code>xclip</code> in manpage as an alternative
5789 workaround for copying clipboard data, noting that
5790 <code>selectToClipboard</code> (see <a href="#xterm_209">patch
5791 #209</a>) is the recommended approach (Debian #639094).</li>
5792
5793 <li>correct comparison in do_select_regex() of working position
5794 against starting column.</li>
5795
5796 <li>correct initialization for regular-expression feature of
5797 <code>exec-selectable</code> and <code>insert-selectable</code>
5798 actions (Debian #758633).</li>
5799
5800 <li>modify logic for <code>exec-formatted</code> and
5801 <code>insert-formatted</code> actions to ensure that the
5802 formatting occurs just after the selection is received (Debian
5803 #758633).</li>
5804
5805 <li>account for state of reverse-video in special case of
5806 cursor coloring (Debian #759734).</li>
5807
5808 <li>fix a sign-extension problem in ReGIS support, as well as
5809 correcting a case where ignored-characters were not really
5810 ignored (patch by Ross Combs).</li>
5811
5812 <li>Enable the "Escape Sequence" menu entry when an OSC&nbsp;50
5813 is received. Also disable it if the escape sequence specifies
5814 no font (Debian #760208).</li>
5815
5816 <li>improve fix for the <code>fontsel</code> menu entry from
5817 <a href="#xterm_304">patch #304</a>: because the recovery used
5818 the "current font", it would fail if one first selected a valid
5819 font, then an invalid font (Debian #760207).</li>
5820
5821 <li>correct an off-by-one in limit-check for
5822 <code>ScrnLimitChar</code> function (report by Egmont
5823 Koblinger).</li>
5824 </ul>
5825
5826 <h1><a name="xterm_310" id="xterm_310">Patch #310 -
5827 2014/07/25</a></h1>
5828
5829 <ul>
5830 <li>update package/freebsd files based on xterm #309 port.</li>
5831
5832 <li>adapt changes from Minux3.2 which ported <a href=
5833 "#xterm_197">xterm #197</a>, to allow building on that platform
5834 both using <code>imake</code> as well as using the configure
5835 script.</li>
5836
5837 <li>update precompose.c based on Unicode 7.0</li>
5838
5839 <li>build-fix for <code>--with-Xaw3dxft</code> option (report
5840 by Emanuel Haupt).</li>
5841 </ul>
5842
5843 <h1><a name="xterm_309" id="xterm_309">Patch #309 -
5844 2014/07/13</a></h1>
5845
5846 <ul>
5847 <li>modify configure script to work around debris left by
5848 XQuartz upgrades.</li>
5849
5850 <li>modify test-package scripts to enable ReGIS graphics.</li>
5851
5852 <li>improvements/additions to ReGIS graphics, e.g., drawing
5853 text (Ross Combs).</li>
5854
5855 <li>add <code>--with-Xaw3dxft</code>, to link with Xaw 3d xft
5856 library (Stephen P Wall).</li>
5857
5858 <li>amend reset for cursor-shape to take into account
5859 <code>cursorUnderline</code> resource (report by Christian
5860 Weisgerber).</li>
5861
5862 <li>update config.guess, config.sub</li>
5863 </ul>
5864
5865 <h1><a name="xterm_308" id="xterm_308">Patch #308 -
5866 2014/06/19</a></h1>
5867
5868 <ul>
5869 <li>corrected font used for clipping double-width bitmap fonts
5870 from <a href="#xterm_307">patch #307</a> changes to work around
5871 mis-scaled fonts (Debian #752947).</li>
5872
5873 <li>improve wording of a warning message.</li>
5874 </ul>
5875
5876 <h1><a name="xterm_307" id="xterm_307">Patch #307 -
5877 2014/06/17</a></h1>
5878
5879 <ul>
5880 <li>fill background for top/bottom parts of
5881 double-width/double-height characters, to cover occasional gaps
5882 due to bitmap font-scaling (report by Egmont Koblinger).</li>
5883
5884 <li>amend resets for keyboard-type, pointer-mode and
5885 title-modes from <a href="#xterm_305">xterm #305</a> changes to
5886 account for resource settings (Debian #751351).</li>
5887
5888 <li>modify <em>printAttributes</em> feature to include new SGR
5889 codes.</li>
5890
5891 <li>modify cursor show/hide logic to work with italic
5892 fonts.</li>
5893
5894 <li>do clipping and filling for a case with bitmap-fonts and
5895 italics when the font server returns only a "close" match
5896 (report/testcase by Egmont Koblinger).</li>
5897
5898 <li>adjust loop comparison for underlining to display
5899 underlines on 5x8 font as in <a href="#xterm_304">patch
5900 #304</a> (Debian #750733).</li>
5901
5902 <li>amend fix for Freedesktop #15979 (Debian #750733).</li>
5903
5904 <li>amend xterm.appdata.xml, making it validate with current
5905 schema.</li>
5906 </ul>
5907
5908 <h1><a name="xterm_306" id="xterm_306">Patch #306 -
5909 2014/06/03</a></h1>
5910
5911 <ul>
5912 <li>fixes for display-errors in new SGR codes (report by Egmont
5913 Koblinger).</li>
5914 </ul>
5915
5916 <h1><a name="xterm_305" id="xterm_305">Patch #305 -
5917 2014/06/02</a></h1>
5918
5919 <ul>
5920 <li>add <code>xterm.appdata.xml</code> (request by Richard
5921 Hughes). By the way, none of the <em>released</em> validators
5922 yet handle <code>&lt;licence&gt;</code> tags (or
5923 <code>&lt;metadata_license&gt;</code>, etc).</li>
5924
5925 <li>fix memory leaks in bitmap font-name caching.</li>
5926
5927 <li>other changes to hard-reset behavior:
5928 <ul>
5929 <li>reset keyboard-type on hard-reset.</li>
5930
5931 <li>reset pointer-mode (<code>pointerMode</code>) on
5932 hard-reset</li>
5933
5934 <li>reset title-modes (<code>titleModes</code>) on
5935 hard-reset</li>
5936
5937 <li>reset cursor-shape on hard or soft-reset</li>
5938
5939 <li>reset LEDs on hard-reset.</li>
5940
5941 <li>reset DECSACE on hard-reset.</li>
5942 </ul>
5943 </li>
5944
5945 <li>reset bracketed-paste mode on hard-reset (suggested by
5946 Egmont Koblinger).</li>
5947
5948 <li>modify UTF-8 decoder to account for
5949 <code>allowC1Printable</code> resource.</li>
5950
5951 <li>revise <code>getXftColor</code> to ensure that its sequence
5952 number will not overflow in long-running sessions.</li>
5953
5954 <li>minor fix to selection to prevent hidden character from
5955 being returned in selection data (report by Egmont
5956 Koblinger).</li>
5957
5958 <li>add <code>-sh</code> to help-message.</li>
5959
5960 <li>amend check for incomplete fonts to always decide that a
5961 character is missing if the font lacks per-character metrics
5962 (prompted by Freedesktop #15979).</li>
5963
5964 <li>minor reorganization to implement &ldquo;filler&rdquo; SGR
5965 features. There are no established applications which rely upon
5966 these; some people find them amusing.
5967 <ul>
5968 <li>separate bits used to manage drawing state from
5969 attribute-bits.</li>
5970
5971 <li>implement SGR codes 2, 3, 9, 21 and their corresponding
5972 resets.</li>
5973
5974 <li>add configure option <code>--disable-wide-attrs</code>
5975 to disable the feature.</li>
5976 </ul>
5977 </li>
5978
5979 <li>additional changes for ReGIS support (Ross Combs):
5980 <ul>
5981 <li>fix some arc drawing bugs and add support for pattern
5982 shading.</li>
5983 </ul>
5984 </li>
5985 </ul>
5986
5987 <h1><a name="xterm_304" id="xterm_304">Patch #304 -
5988 2014/05/03</a></h1>
5989
5990 <ul>
5991 <li>add debugging check for parsing table entries, fixed a few
5992 inconsistencies.</li>
5993
5994 <li>handle utmp/utmpx strings consistently with new function
5995 that null-pads unused locations.</li>
5996
5997 <li>build-fix for imake configuration with FreeBSD 9 and later,
5998 to account for replacing <code>utmp</code> with
5999 <code>utmpx</code>.</li>
6000
6001 <li>improve handling of the <code>fontsel</code>
6002 (font-selection) menu item:
6003 <ul>
6004 <li>initialize the menu entry differently if the toolbar
6005 configuration is used, i.e., enabling it without attempting
6006 to use the current selection as a font name. Because of the
6007 way in which the toolbar is setup, this attempt usually
6008 failed, and would result in a warning.</li>
6009
6010 <li>if the menu action fails, e.g., no font can be loaded
6011 for the given selected name, then recover by resuming with
6012 the current font. Before, the recovery went to the default
6013 font. That was done to work around missing bitmap font in
6014 <a href="#xterm_276">patch #276</a>.</li>
6015 </ul>
6016 </li>
6017
6018 <li>document OSC&nbsp;119 in the control sequences listing
6019 (report by Egmont Koblinger).</li>
6020
6021 <li>modify special handling of <code>XF86Paste</code> or
6022 <code>SunPaste</code> keysyms (see <a href="#xterm_227">patch
6023 #227</a>) to use the standard shift/lock modifiers in case
6024 those are, for example, used in level 3 in an XKB file (patch
6025 by Matthieu Herrb).</li>
6026
6027 <li>configure macro updates:
6028 <ul>
6029 <li>drop the <code>-no-gcc</code> option from
6030 CF_INTEL_COMPILER</li>
6031
6032 <li>modify CF_XOPEN_SOURCE to suppress the check for
6033 defining _XOPEN_SOURCE on Solaris</li>
6034 </ul>
6035 </li>
6036
6037 <li>reduce bss storage used for ReGIS/Sixel modules, as well as
6038 cleanup storage usage in other modules.</li>
6039
6040 <li>initial changes for ReGIS support (Ross Combs):
6041 <ul>
6042 <li>document control-sequences</li>
6043
6044 <li>separate ifdef's for sixel and color-register
6045 features</li>
6046
6047 <li>add configuration for VT382</li>
6048 </ul>
6049 </li>
6050 </ul>
6051
6052 <h1><a name="xterm_303" id="xterm_303">Patch #303 -
6053 2014/03/06</a></h1>
6054
6055 <ul>
6056 <li>improve check for <code>/etc/shells</code> to allow its
6057 entries to be symbolic links.</li>
6058
6059 <li>fix a regression in <a href="#xterm_302">patch #302</a>
6060 fixes relating to interaction of <code>SHELL</code> and
6061 <code>XTERM_SHELL</code> variables (Debian #740919).</li>
6062
6063 <li>improve manpage discussion of use of
6064 <code>/etc/shells</code> for validating the <code>SHELL</code>
6065 environment variable.</li>
6066
6067 <li>further improve the approximation for color map by ignoring
6068 bits which would not be applied by the rgb masks for the
6069 current visual (report by Joe Peterson).</li>
6070
6071 <li>add <code>-report-colors</code> to usage-message (report by
6072 Joe Peterson).</li>
6073 </ul>
6074
6075 <h1><a name="xterm_302" id="xterm_302">Patch #302 -
6076 2014/03/02</a></h1>
6077
6078 <ul>
6079 <li>amend approximation for color map introduced in <a href=
6080 "#xterm_277">patch #277</a> to make that apply only to
6081 <code>TrueColor</code> (adapted from patch by Joe
6082 Peterson).</li>
6083
6084 <li>add <code>-report-colors</code> option, to show colors as
6085 they are allocated.</li>
6086
6087 <li>fix some gcc <code>-Wcast-qual</code> warnings.</li>
6088
6089 <li>correct app-defaults location for CentOS-4 in
6090 xterm.spec</li>
6091
6092 <li>improve check in <code>minstall.sh</code> for X manpage's
6093 section number; add sample dependencies for the relevant
6094 documentation package to packaging test-scripts (prompted by
6095 Novell #779474).</li>
6096
6097 <li>modify sample build-scripts for dpkg and rpm to ensure that
6098 <code>vttests</code> scripts are uncompressed and
6099 executable.</li>
6100
6101 <li>modify Perl scripts in <code>vttests</code> to use
6102 <code>env</code> to find Perl rather than relying on
6103 <code>/usr/bin/perl</code> This makes the sample scripts usable
6104 with NetBSD and other systems using <em>pkgsrc</em>.</li>
6105
6106 <li>amend check from <a href="#xterm_301">patch #301</a> for
6107 valid shell to permit existing <code>SHELL</code> value to
6108 specify the shell; clarify the behavior in the manpage (report
6109 by Emmanuel Thom&eacute;).</li>
6110
6111 <li>amend change to wide-character processing from <a href=
6112 "#xterm_257">patch #257</a> to allow switching to/from UTF-8
6113 encoding if the <code>utf8</code> resource was not set to
6114 &ldquo;always&rdquo; (report by Honza Maly).</li>
6115
6116 <li>fix incorrect free from <a href="#xterm_301">patch #301</a>
6117 changes, if explicit program without <code>-e</code> option is
6118 a valid shell (patch by Romain Francoise).</li>
6119 </ul>
6120
6121 <h1><a name="xterm_301" id="xterm_301">Patch #301 -
6122 2014/01/19</a></h1>
6123
6124 <ul>
6125 <li>OSC&nbsp;104 and 105 did not accept parameter to reset a
6126 specific color (patch by Egmont Koblinger).</li>
6127
6128 <li>add configure check for <code>initgroups</code>, and use
6129 that function to complement its use of <code>setgid</code>
6130 (prompted by patch by Miroslav Lichvar).</li>
6131
6132 <li>improve manpage description of scrollbar translations
6133 versus the vt100 translations (Debian #723573).</li>
6134
6135 <li>add a few paragraphs to manpage explaining the implications
6136 of xterm's reliance on X Toolkit for command-line parsing.</li>
6137
6138 <li>modify cursor-theme logic to check if the environment
6139 variable <code>XCURSOR_THEME</code> is set to a nonempty value
6140 before constructing a dummy them (prompted by similar check
6141 added in OpenBSD CVS).</li>
6142
6143 <li>add check for a case where TrueType bold font is missing a
6144 glyph where the non-bold font has it. Temporarily switch to the
6145 non-bold font to draw the glyph (report by David
6146 Demelier).</li>
6147
6148 <li>minor documentation fixes for ctlseqs.ms</li>
6149
6150 <li>only set <code>SHELL</code> environment variable to
6151 programs found in <code>/etc/shells</code> (prompted by
6152 patch/report by Al Poole).</li>
6153
6154 <li>build-fix, when <code>--disable-wide-chars</code>
6155 <code>--disable-boxchar</code> is used (prompted by patch by
6156 Andrey Panov).</li>
6157 </ul>
6158
6159 <h1><a name="xterm_300" id="xterm_300">Patch #300 -
6160 2013/12/03</a></h1>
6161
6162 <ul>
6163 <li>amend workaround for <code>Xcursor</code> library from
6164 <a href="#xterm_298">patch #298</a>; the suggested solution for
6165 Debian #466704 fell afoul of a bug in <code>Xcursor</code>
6166 which treated an empty value for <code>Inherits=</code> as a
6167 valid theme&mdash;and resulted in a stack overflow due to
6168 unbounded recursion. Certain environments such as XFCE4 exposed
6169 the bug. A related report in Debian #531679 was closed without
6170 following the recommendation to limit stack recursion in this
6171 library (reported by Sergey V Dyatko, Debian #731269).</li>
6172 </ul>
6173
6174 <h1><a name="xterm_299" id="xterm_299">Patch #299 -
6175 2013/12/01</a></h1>
6176
6177 <ul>
6178 <li>fix regression in line-drawing from <a href=
6179 "#xterm_297">patch #297</a> changes for NRCS exposed by change
6180 to <code>assumeAllChars</code> resource in <a href=
6181 "#xterm_298">patch #298</a> (report by Markus Waldeck).</li>
6182 </ul>
6183
6184 <h1><a name="xterm_298" id="xterm_298">Patch #298 -
6185 2013/11/27</a></h1>
6186
6187 <ul>
6188 <li>quiet a warning about ambiguity when <code>-h</code>
6189 command-line option is parsed, since <code>-help</code> is used
6190 rather than the options mentioned in the message. This warning
6191 was caused by fixes in <a href="#xterm_272">patch
6192 #272</a>.</li>
6193
6194 <li>remove an extra check for keypad-mode which interfered with
6195 the <a href="#xterm_280">patch #280</a>
6196 <code>modifyKeyboard</code> feature for the numeric keypad
6197 (report by David Conners).</li>
6198
6199 <li>change default for <code>assumeAllChars</code> resource
6200 (Debian #725682). There are unresolved issues with Terminus
6201 fonts, e.g., Debian #722017.</li>
6202
6203 <li>add <code>-report-fonts</code> command-line option and
6204 <code>reportFonts</code> resource to optionally report the
6205 fonts which are loaded, and their metrics such as the number of
6206 missing glyphs.</li>
6207
6208 <li>work around <code>Xcursor</code> library to make
6209 <code>pointerColor</code> resource work as documented (Debian
6210 #466704, analysis by Vincent Lef&egrave;vre).</li>
6211
6212 <li>amend change from <a href="#xterm_297">patch #297</a> for
6213 ASCII-equivalents to ensure that missing characters which
6214 happen to be double-width are padded to the expected number of
6215 columns. Also, correct the choice between normal/wide Xft fonts
6216 used when checking for missing characters (reported by WU Yue,
6217 Debian #728949, Gentoo #491334).</li>
6218
6219 <li>modify sixel-graphics drawing to account for scrollbar
6220 width (report by Mario Edelmann).</li>
6221
6222 <li>fix remaining issue with <code>DECNRCM</code>; the British
6223 character set was confused with ISO Latin-1 (report by Hayaki
6224 Saito).</li>
6225
6226 <li>build-fix for <code>--disable-boxchars</code> configure
6227 option.</li>
6228
6229 <li>updated configure macros, from ongoing work on lynx and
6230 ncurses.</li>
6231
6232 <li>update config.guess, config.sub</li>
6233 </ul>
6234
6235 <h1><a name="xterm_297" id="xterm_297">Patch #297 -
6236 2013/09/10</a></h1>
6237
6238 <ul>
6239 <li>modify check for missing cells in bitmap font to work
6240 around terminus 10646 encoding, which is mostly missing, add
6241 <code>assumeAllChars</code> resource to provide the older
6242 behavior.</li>
6243
6244 <li>modify macros used to check for missing cells in bitmap
6245 fonts to pick up a long-overlooked improvement made to xfd in
6246 XFree86.</li>
6247
6248 <li>improve workaround for groff versus ASCII-equivalents;
6249 <a href="#xterm_185">patch #185</a> had overlooked Xft
6250 configuration (reported by anonymous user on Arch Linux
6251 forum).</li>
6252
6253 <li>review/extend <code>DECNRCM</code> support (prompted by
6254 report by Hayaki Saito asking about the two "A" codes).
6255 <ul>
6256 <li>make pasting of DECNRCM data work by translating the
6257 pasted data into the selected encoding.</li>
6258
6259 <li>limit mode changes to VT220 and up.</li>
6260
6261 <li>ignore SCS for National Replacement Characters if
6262 <code>DECNRCM</code> is not set.</li>
6263
6264 <li>add tables and logic to decode SCS controls ending with
6265 "%" and one additional character. This expects the parsing
6266 of SCS to VT320.</li>
6267
6268 <li>also added parsing for SCS of DEC Supplemental and DEC
6269 Technical, which are for VT2xx and VT3xx respectively.</li>
6270
6271 <li>implement VT220 Multinational character set "GR" aka
6272 "DEC Supplemental Graphic".</li>
6273
6274 <li>DEC Technical character set based on <a href=
6275 "http://www.vt100.net/charsets/technical.html">vt100.net
6276 description</a>.</li>
6277
6278 <li>implement Portuguese NRC.</li>
6279
6280 <li>provide for temporarily switching to/from NRC mode from
6281 UTF-8 mode when <code>DECNRCM</code> is set or reset.</li>
6282 </ul>
6283 </li>
6284
6285 <li>minor fix to assert's found while testing examples from
6286 <a href="https://gist.github.com/ttdoda">ttdoda's
6287 slrm-test1.txt</a>.</li>
6288
6289 <li>modify <code>DECLRMM</code> to not update the cursor
6290 position (report by Iwamoto Kouichi forwarded by Hayaki
6291 Saito).</li>
6292
6293 <li>modify cursor-position report to take origin-mode into
6294 account (report by Hayaki Saito, see also <a href=
6295 "https://github.com/gnachman/iTerm2/pull/129">iTerm2 pull
6296 request 129</a>).</li>
6297
6298 <li>correct off-by-one comparison in when handling
6299 carriage-return at left margin (patch by Iwamoto Kouichi,
6300 forwarded by Hayaki Saito).</li>
6301
6302 <li>improve handling of <code>faceName</code> resource when a
6303 "size=" property is embedded in it, by using that size to
6304 replace the default <code>faceSize</code> resource. This lets
6305 xterm honor the other faceSize resources (report by Jens
6306 Schweikhardt).</li>
6307
6308 <li>improve OSC&nbsp;52 selection-data by setting its timestamp
6309 to correspond to the most-recent event received by xterm, to
6310 ensure that calls to <code>XtOwnSelect</code> succeed even if
6311 the selection is manipulated solely through the keyboard
6312 (prompted by patch by Richard Tollerton).</li>
6313
6314 <li>change configure-script defaults for "luit" and
6315 "wide-chars" options to match the values used in the imake
6316 configuration, to lessen user surprise if they are accustomed
6317 to building xterm using imake(report by Andries E
6318 Brouwer).</li>
6319
6320 <li>improve the imake-related configuration's check if xterm is
6321 started in a locale that uses UTF-8 encoding. Before, this
6322 checked the locale settings only for "UTF-8", now it checks
6323 ignoring case for "UTF-8" and "UTF-8" (report by Andries E
6324 Brouwer).</li>
6325 </ul>
6326
6327 <h1><a name="xterm_296" id="xterm_296">Patch #296 -
6328 2013/07/10</a></h1>
6329
6330 <ul>
6331 <li>improve experimental sixel feature (Ross Combs).</li>
6332
6333 <li>modify delimiter in configure macro used to add a library
6334 after a given library to avoid confusion with <code>-Wl</code>
6335 pass-through options to linker (NetBSD #48031).</li>
6336
6337 <li>fix quoting in expression used to trim extra libraries from
6338 <a href="#xterm_295">patch #295</a> changes (report by Thomas
6339 Klausner).</li>
6340 </ul>
6341
6342 <h1><a name="xterm_295" id="xterm_295">Patch #295 -
6343 2013/07/06</a></h1>
6344
6345 <ul>
6346 <li>adjust order of libraries to work around incomplete symbol
6347 resolution when using <code>--as-needed</code> option
6348 (ArchLinux #36047).</li>
6349
6350 <li>minor fix for <code>plink.sh</code>, for IRIX64.</li>
6351 </ul>
6352
6353 <h1><a name="xterm_294" id="xterm_294">Patch #294 -
6354 2013/07/05</a></h1>
6355
6356 <ul>
6357 <li>add note in ctlseqs.ms for CPR response pointing out a
6358 potential point of confusion with the string sent by a modified
6359 F1 key (suggested by Bram Moolenaar).</li>
6360
6361 <li>improve <code>plink.sh</code> by checking if the linker
6362 supports the <code>--as-needed</code> option (suggested by
6363 David Philippi).</li>
6364
6365 <li>improve clearing for private mode 1049 when switching to
6366 the alternate screen (Debian #711758).</li>
6367
6368 <li>amend fix from <a href="#xterm_292">patch #292</a> by
6369 removing now-unneeded chunk which introduced problem in
6370 selection (Debian #714527).</li>
6371
6372 <li>add definition to optionally override compiled-in class for
6373 xterm from makefile, needed for test-packages.</li>
6374
6375 <li>add configure option
6376 <code>--enable-sixel-graphics</code></li>
6377
6378 <li>add experimental support for sixel graphics (Ross
6379 Combs).</li>
6380 </ul>
6381
6382 <h1><a name="xterm_293" id="xterm_293">Patch #293 -
6383 2013/05/27</a></h1>
6384
6385 <ul>
6386 <li>modify sample xterm.spec to use newer icon</li>
6387
6388 <li>add configure option <code>--with-icon-symlink</code> to
6389 work around systems which map icon requests for to a single
6390 "xterm" icon, but neglect to install the icon needed for window
6391 decorations (report by H Merijn Brand).</li>
6392
6393 <li>improve parameterizing of sample xterm.spec</li>
6394
6395 <li>amend fix for printer from <a href="#xterm_280">patch
6396 #280</a>, removing a reset of the signal handler for
6397 <code>SIGCHLD</code> (report by Joe Julian).</li>
6398
6399 <li>set environment variable <code>XTERM_FILTER</code> if a
6400 locale-filter is used.</li>
6401
6402 <li>enable <code>DEBUG</code> logic when
6403 <code>--enable-trace</code> configure option is given.</li>
6404
6405 <li>improve description of <code>initialFont</code>,
6406 <code>set-vt-font</code> and <code>set-tex-text</code> in
6407 manpage (Debian #707899).</li>
6408
6409 <li>fix regression from <a href="#xterm_292">patch #292</a>;
6410 selecting a word that ended at the right margin without
6411 wrapping would not select the last cell (report by Christian
6412 Weisgerber).</li>
6413 </ul>
6414
6415 <h1><a name="xterm_292" id="xterm_292">Patch #292 -
6416 2013/04/25</a></h1>
6417
6418 <ul>
6419 <li>add limit-check when double-click selects a word; if the
6420 saved-lines were scrolled back and the word selected wrapped at
6421 the screen's lower right corner, an assertion was triggered
6422 (patch by Taketo Kabe).</li>
6423
6424 <li>correct limit-check in <code>unsaveEditBufLines</code>,
6425 fixing a case where enlarging the terminal size could show a
6426 blank line where there actually is available text (patch by
6427 Bertram Felgenhauer).</li>
6428
6429 <li>add <code>PasteControls</code> feature to
6430 <code>allowWindowOps</code> which by default disallows pasting
6431 control characters other than formatting such as carriage
6432 return (discussion with Hayaki Saito).</li>
6433
6434 <li>fix typo in ctlseqs.ms for DECRQM response (patch by
6435 Emanuele Giaquinta).</li>
6436
6437 <li>update default shown in configure <code>--help</code>
6438 message for <code>--with-terminal-id</code> option (patch by
6439 Andres Perera).</li>
6440
6441 <li>rename script/preprocessor variables used for substituting
6442 the <code>backarrowKey</code> default value for consistency
6443 (patch by Andres Perera).</li>
6444
6445 <li>set umask to 077 before creating debugging-trace
6446 files.</li>
6447
6448 <li>add configure option <code>--disable-openpty</code> to
6449 control whether openpty() may be used in preference to
6450 posix_openpt().</li>
6451
6452 <li>improve workaround from <a href="#xterm_279">patch #279</a>
6453 for BSD systems which do not complete initialization until both
6454 sides of the pseudoterminal are opened, by preferring openpty()
6455 function over posix_openpt() when available (report by
6456 Christian Weisgerber).</li>
6457 </ul>
6458
6459 <h1><a name="xterm_291" id="xterm_291">Patch #291 -
6460 2013/02/26</a></h1>
6461
6462 <ul>
6463 <li>add validity check for xterm widget parameter to
6464 <code>AlternateScroll</code> function, needed to handle wheel
6465 mouse events in the scrollbar area since <a href=
6466 "#xterm_282">patch #282</a> changes which introduced
6467 <code>alternateScroll</code> feature (Redhat #874327).</li>
6468 </ul>
6469
6470 <h1><a name="xterm_290" id="xterm_290">Patch #290 -
6471 2013/02/12</a></h1>
6472
6473 <ul>
6474 <li>revert of <a href="#xterm_282">patch #282</a> change was
6475 incomplete (report by Jim Reisert).</li>
6476
6477 <li>fix typo in manpage (report by Vincent
6478 Lef&egrave;vre).</li>
6479 </ul>
6480
6481 <h1><a name="xterm_289" id="xterm_289">Patch #289 -
6482 2013/02/08</a></h1>
6483
6484 <ul>
6485 <li>revert the <a href="#xterm_282">patch #282</a> change which
6486 restored "lost" text after shrinking/growing the screen size.
6487 If the screen was updated between the two resizing operations,
6488 unexpected text might be shown at the end (report/testcase by
6489 Joe Peterson).</li>
6490
6491 <li>reverse the arrow-keys sent for
6492 <code>alternateScroll</code> to match the usage in browsers
6493 (suggested by Dieter Roelants).</li>
6494
6495 <li>modify mouse reports to consistently indicate motion events
6496 whether or not a button is pressed. Old behavior (since
6497 <a href="#xterm_127">patch #127</a> modified encoding for wheel
6498 mouse) showed only that the button was released if no button
6499 had been pressed (report by Andy Koppe).</li>
6500
6501 <li>correct and improve behavior for SGR 1006 mouse protocol on
6502 button release in any-event mode. Initial implementation in
6503 <a href="#xterm_277">patch #277</a> left internal state showing
6504 the last button pressed when reporting motion events. It now
6505 keeps track of all buttons which have been pressed and
6506 released, showing the lowest remaining button by number in the
6507 response (reports by Hayaki Saito, Andy Koppe).</li>
6508
6509 <li>fix inconsistency between <code>TermColors</code> and
6510 <code>OscTextColors</code> enums which interchanged values for
6511 tektronix cursor color and highlight foreground in control
6512 sequences in <a href="#xterm_225">patch #225</a> (report/patch
6513 by Peder Stray).</li>
6514
6515 <li>fix inconsistent use of noreturn-attribute in
6516 <code>Exit</code> function which interfered with clang
6517 --analyze.</li>
6518
6519 <li>remove incorrect <code>free</code> used in computation of
6520 <code>XTERM_SHELL</code> variable, from Coverity fixes in
6521 <a href="#xterm_288">patch #288</a> (FreeBSD #175782).</li>
6522
6523 <li>add <code>--with-valgrind</code> option to configure script
6524 for consistency with my other programs.</li>
6525
6526 <li>update table of ambiguous width characters in wcwidth.c
6527 based on Unicode 6.2.0</li>
6528
6529 <li>update table of combining characters in wcwidth.c based on
6530 Unicode 6.2.0</li>
6531
6532 <li>update precompose.c based on Unicode 6.2.0</li>
6533 </ul>
6534
6535 <h1><a name="xterm_288" id="xterm_288">Patch #288 -
6536 2013/01/09</a></h1>
6537
6538 <ul>
6539 <li>fix a special case in <code>ShowCursor</code> where the
6540 foreground and background colors of the current position are
6541 the same. In that case, choose the further of the window's
6542 foreground and background colors for the cursor color.</li>
6543
6544 <li>modify <code>alternateScroll</code> feature added in
6545 <a href="#xterm_282">patch #282</a> to use either
6546 <code>CSI</code> or <code>SS3</code> according to the cursor
6547 keys application mode setting, to simplify using it in vi, etc.
6548 (suggested by Dietar Roelants).</li>
6549
6550 <li>revise manpage for <code>resize</code> to clarify the
6551 changes which <code>resize</code> may make to the terminal
6552 settings as well as to the terminal itself.</li>
6553
6554 <li>remove code such as <code>struct ttysize</code>, used for
6555 SunOS 3 and 4.</li>
6556
6557 <li>modify configure script and makefile to check for
6558 <code>groff</code> and suppress groff-specific rules if groff
6559 is not found.</li>
6560
6561 <li>modify ctlseqs.ms and makefile to work around bugs in
6562 <code>grohtml</code> which cause ".png" files to be truncated
6563 when producing html documentation.</li>
6564
6565 <li>modify suffix rules for "make docs" to make the names of
6566 the generated ".png" files predictable, helping to work around
6567 longstanding problems with this feature of groff&mdash;none of
6568 its releases work for <em>all</em> of xterm's tables..</li>
6569
6570 <li>correct typo in ctlseqs.ms for DECIC and DECDC; the
6571 character preceding the final "<code>~</code>" is an ASCII
6572 single-quote "<code>'</code>" rather than a space (report by
6573 Paul LeoNerd Evans).</li>
6574
6575 <li>update CF_GCC_VERSION macro, handling both Debian and
6576 Darwin.</li>
6577
6578 <li>improve configure script checks for the
6579 <code>--with-desktop-category</code> option. After <a href=
6580 "#xterm_280">patch #280</a> changes, if no value was given for
6581 this option, and no existing desktop files found for
6582 comparison, the incorrect "auto" value was passed into the
6583 generated desktop file (report by Julien Cristau).</li>
6584
6585 <li>modify sample build-scripts to disable check for
6586 <code>imake</code> due to code-rot in Xorg.</li>
6587
6588 <li>add <code>-v</code> command-line option to
6589 <code>resize</code>, reporting the same version string as
6590 <code>xterm</code> and the two shell-wrappers.</li>
6591
6592 <li>make name-transformation apply to other occurrences of
6593 <code>resize</code>, other manpages.</li>
6594
6595 <li>special-case the name-transformation in xterm's manpage in
6596 the NAME section so that the result works with
6597 <code>makewhatis</code> (report by Julien Cristau).</li>
6598
6599 <li>modify install-rules for manpages to put each program's
6600 respective transformed name into the header rather than
6601 xterm's.</li>
6602
6603 <li>remove deprecated files: proto.h, os2main.c</li>
6604
6605 <li>minor fixes based on Coverity scan, including:
6606 <ul>
6607 <li>correct caching of Atom value for the font menu's
6608 "Selection" entry.</li>
6609
6610 <li>ensure that utmp/utmpx calls do not depend upon
6611 trailing nulls in the <code>ut_id</code> and
6612 <code>ut_line</code> values.</li>
6613 </ul>
6614 </li>
6615 </ul>
6616
6617 <h1><a name="xterm_287" id="xterm_287">Patch #287 -
6618 2012/11/25</a></h1>
6619
6620 <ul>
6621 <li>fix a case where in_put() loop could continue when it has
6622 found an X event rather than the pty, causing the pty-read to
6623 be delayed (patch by Balazs Kezes).</li>
6624
6625 <li>add option to <code>pointerMode</code> resource and
6626 corresponding control sequences to allow text-cursor to remain
6627 hidden if the pointer leaves/enters the window via accelerator
6628 keys. Ordinary motion within the window restores the pointer
6629 (prompted by patch by Balazs Kezes).</li>
6630
6631 <li>remove special case of modifiers for the
6632 <code>Mode_switch</code> and <code>XK_ISO_Level3_Shift</code>
6633 from <a href="#xterm_223">patch #223</a>. Verified that the
6634 conflict which this was intended to resolve does not happen for
6635 normal compose- or modeswitch-handling (prompted by patch by
6636 Balazs Kezes, Debian #638694).</li>
6637
6638 <li>modify the handling of focus-change events to ignore those
6639 whose detail is <code>NotifyPointer</code>, since those are
6640 sent in addition to focus-change events directed to the old/new
6641 windows having focus. In particular, this prevents the
6642 urgency-hint from being reset inadvertently (prompted by patch
6643 by Balazs Kezes).</li>
6644
6645 <li>modify description of <code>iconName</code> in manpage to
6646 make it clearer that this resource does not specify the
6647 filename of an icon (discussion with Ian Collier).</li>
6648
6649 <li>modify <code>iconHint</code> resource to allow suppressing
6650 the built-in icon by setting this to "none" (discussion with
6651 Ian Collier).</li>
6652
6653 <li>make <code>-iconic</code> option work with the toolbar
6654 configuration.</li>
6655
6656 <li>correct initialization of window manager hints used to set
6657 the icon-pixmap. That detail from <a href="#xterm_282">patch
6658 #282</a> overwrote state used to control the
6659 <code>-iconic</code> command-line option (report by Ian
6660 Collier).</li>
6661
6662 <li>fix paste64 feature for the case where the selection comes
6663 from the current terminal. The selection callback can happen
6664 after the reply is partly built, making it necessary to flush
6665 the reply-buffer to keep things in the proper order (report by
6666 Ailin Nemui).</li>
6667
6668 <li>reject command-line options which are longer than the
6669 options in xterm's table, to avoid mismatches (Redhat
6670 #875305).</li>
6671
6672 <li>correct attribution for <a href="#xterm_282">patch #282</a>
6673 changes.</li>
6674 </ul>
6675
6676 <h1><a name="xterm_286" id="xterm_286">Patch #286 -
6677 2012/10/29</a></h1>
6678
6679 <ul>
6680 <li>fix <code>minstall.in</code> to work with "make docs" rule,
6681 so that patch number appears in the corresponding generated
6682 documentation.</li>
6683
6684 <li>modify <code>minstall.in</code> to keep the name shown in
6685 the heading consistent with any renaming, e.g., for
6686 test-builds.</li>
6687
6688 <li>check for misconfigured <code>printerCommand</code>
6689 resource on the first use, warn and disable it if it does not
6690 specify an executable command (Debian #691642).</li>
6691
6692 <li>improve check for window-manager name needed to establish
6693 usable default for activeIcon resource. This works around a
6694 scenario where <code>gdm</code> does incomplete cleanup,
6695 leaving window properties that refer to windows which no longer
6696 exist (Redhat #869959).</li>
6697 </ul>
6698
6699 <h1><a name="xterm_285" id="xterm_285">Patch #285 -
6700 2012/10/23</a></h1>
6701
6702 <ul>
6703 <li>add/adapt FreeBSD ports files for test-building.</li>
6704
6705 <li>modify <code>minstall.sh</code> to use the patch-number and
6706 date in the manpage footer.</li>
6707
6708 <li>add check for failure to allocate the fg/bg colors at
6709 startup, e.g., misconfiguration. Work around by setting both to
6710 the default colors (suggested by Scott Bertilson).</li>
6711
6712 <li>amend change for <a href="#xterm_280">patch #280</a> which
6713 added <code>modifyKeyboard</code>, to make
6714 <code>modifyOtherKeys</code> work (report by Ailin Nemui).</li>
6715
6716 <li>add <code>query-colors.pl</code> example for
6717 OSC&nbsp;4.</li>
6718
6719 <li>correct mis-applied fix for minstall.sh (report by Miroslav
6720 Lichvar).</li>
6721 </ul>
6722
6723 <h1><a name="xterm_284" id="xterm_284">Patch #284 -
6724 2012/10/14</a></h1>
6725
6726 <ul>
6727 <li>amend configurability changes for icons from <a href=
6728 "#xterm_283">patch #283</a>, moving the new functionality to
6729 the <code>iconHint</code> resource to avoid conflict with
6730 existing uses of the <code>iconName</code> resource in the
6731 <code>Shell</code> widget (report by Emanuel Haupt).</li>
6732
6733 <li>fix documentation errata reported by Miroslav Lichvar:
6734 <ul>
6735 <li>correct manpage default for <code>allowTcapOps</code>
6736 (see <a href="#xterm_243">patch #243</a></li>
6737
6738 <li>modify documentation for configure
6739 <code>--enable-backarrow-key</code> to match the script
6740 (see <a href="#xterm_280">patch #280</a>).</li>
6741
6742 <li>fix typo in <code>minstall.sh</code> in <a href=
6743 "#xterm_283">patch #283</a>, which made the leading-cap
6744 "Xterm" become "xterm" (patch by Miroslav).</li>
6745 </ul>
6746 </li>
6747
6748 <li>fix two typos in configure.in from <a href=
6749 "#xterm_283">patch #283</a> changes; one broke the
6750 <code>--regex</code> configure option (report by H Merijn
6751 Brand).</li>
6752 </ul>
6753
6754 <h1><a name="xterm_283" id="xterm_283">Patch #283 -
6755 2012/10/09</a></h1>
6756
6757 <ul>
6758 <li>modify makefile and script to generate appropriate renaming
6759 s/xterm/xterm-dev/ for test-package's manpage.</li>
6760
6761 <li>improve makefile rules for installing/uninstalling pixmap
6762 files, to include the newer mini- and filled- variants.</li>
6763
6764 <li>clarify change in manpage regarding <a href=
6765 "#xterm_282">patch #282</a> change to always set a
6766 window-decoration icon, even if <code>iconName</code> is not
6767 set.</li>
6768
6769 <li>add a fourth flavor of window-decoration icons,
6770 "filled-xterm" for a monochrome xterm with filled
6771 interior.</li>
6772
6773 <li>use shape-mask to improve contrast of the window-decoration
6774 icons.</li>
6775
6776 <li>minor changes to icon colors to improve contrast on
6777 bright-mud backgrounds.</li>
6778
6779 <li>drop configure checks for memmove versus bcopy, and
6780 strerror function; all currently tested platforms support
6781 these.</li>
6782
6783 <li>cleanup configure macros, as done in byacc 20121003.</li>
6784
6785 <li>improve configurability of the built-in icon selectable via
6786 the <code>iconName</code> resource.</li>
6787
6788 <li>update config.guess, config.sub</li>
6789 </ul>
6790
6791 <h1><a name="xterm_282" id="xterm_282">Patch #282 -
6792 2012/09/28</a></h1>
6793
6794 <ul>
6795 <li>improve configure check for
6796 <code>XkbKeycodeToKeysym</code>, fixing a regression on some
6797 older systems in the <a href="#xterm_280">patch #280</a>
6798 changes.</li>
6799
6800 <li>add clarification in manpage for
6801 <code>alwaysBoldMode</code> and <code>veryBoldColors</code>
6802 resources (prompted by Derek Martin question about using the
6803 former with TrueType fonts).</li>
6804
6805 <li>add <code>alternateScroll</code> resource and corresponding
6806 control sequences which modify the <code>scroll-forw</code> and
6807 <code>scroll-back</code> actions: when the alternate screen is
6808 displayed, wheel mouse up/down will send cursor keys (Debian
6809 #683942).</li>
6810
6811 <li>improve rendering for the case when a Unicode character is
6812 absent in the bold font but present in the normal font by
6813 temporarily falling back to the normal font (Debian #359006,
6814 Debian #408666).</li>
6815
6816 <li>provide configure option
6817 <code>--enable-double-buffer</code> and ifdef's to allow
6818 comparisons with/without double-buffering. The default uses
6819 normal buffering.</li>
6820
6821 <li>add feature to optionally scroll current page before
6822 clearing, controlled by resource setting
6823 <code>cdXtraScroll</code> (prompted by patch by Balazs
6824 Kezes):</li>
6825
6826 <li>integrated patches from Arch Linux forum posting (patches
6827 by Balazs Kezes):
6828 <ul>
6829 <li>modify reallocation limit of line-data when resizing
6830 screen so that "lost" text will be restored if the screen
6831 is first shrunk and then grown.</li>
6832
6833 <li>modify output to use double-buffering to reduce
6834 flicker.</li>
6835 </ul>
6836 </li>
6837
6838 <li>modify <code>scroll-lock</code> action to handle
6839 on/off/toggle keywords like other actions. Previously the
6840 optional parameter was interpreted as an integer.</li>
6841
6842 <li>extend <code>DECSCUSR</code> to provide a way to set the
6843 cursor to a vertical bar (patch by Paul Bolle).</li>
6844
6845 <li>add <code>-8</code>, <code>-c</code>, <code>-d</code> and
6846 <code>-u</code> options to <code>88colors2.pl</code> and
6847 <code>256colors2.pl</code> scripts. No current terminal
6848 emulator recognizes C1 controls while handling UTF-8
6849 encoding&mdash;see notes in <a href="#xterm_119">patch #119</a>
6850 and <a href="#xterm_109">patch #109</a> regarding
6851 <code>utf8controls</code>&mdash;but the <code>-u</code> and
6852 <code>-8</code> options are useful for demonstrating this
6853 point.</li>
6854
6855 <li>improve speed when changing color palettes using OSC
6856 controls by deferring repaint while followup controls might be
6857 additional color palette changes.</li>
6858
6859 <li>modify <code>SGR&nbsp;38</code> and
6860 <code>SGR&nbsp;48</code> to accept RGB index, matching the
6861 closest entry in xterm's palette.</li>
6862
6863 <li>extend <code>SGR&nbsp;38</code> and
6864 <code>SGR&nbsp;48</code> to accept colon as parameter separator
6865 (request by Paul LeoNerd Evans).</li>
6866
6867 <li>modify <code>fullscreen</code> action to allow it to toggle
6868 the full-screen mode rather than only set or unset it (prompted
6869 by Eeri Kask's suggestion to support
6870 <code>_NET_WM_TOGGLE</code>). This implementation does not yet
6871 use <code>_NET_WM_TOGGLE</code>.</li>
6872
6873 <li>add support for <code>_NET_WM_STATE_MAXIMIZED_VERT</code>
6874 and <code>_NET_WM_STATE_MAXIMIZED_HORZ</code> EWMH properties
6875 (suggested by Eeri Kask).</li>
6876
6877 <li>make fullscreen mode work with the tek4014 window. This
6878 change makes only the currently active window to be changed to
6879 fullscreen rather than changing both windows.</li>
6880
6881 <li>modify <code>TekClear</code> function to discard pending
6882 output before clearing the tek4014 display (patch by Kevin
6883 Ryde).</li>
6884
6885 <li>fix <code>deleteIsDEL</code> feature, broken in <a href=
6886 "#xterm_280">patch #280</a> changes (report by Mike Thornburg,
6887 forwarded by Jeremy Huddleston).</li>
6888
6889 <li>fix a special case of wrapping double-width characters
6890 (report/test-case by Ken Winstein).</li>
6891
6892 <li>add <code>E3</code> extended capability to
6893 <code>xterm-basic</code> to match ncurses <a href=
6894 "https://invisible-island.net/ncurses/NEWS.html#t20120728">20120728</a>
6895 patch.</li>
6896
6897 <li>fix incorrect transformation of row-parameter for
6898 <code>ClearCurBackground</code> in <a href="#xterm_279">patch
6899 #279</a> which caused incorrect painting in some scrolling
6900 scenarios (report by Chuck Silvers).</li>
6901
6902 <li>fix typo in manpage description of <code>+maximized</code>
6903 option (Paul Maier).</li>
6904
6905 <li>change default for configure option
6906 <code>--with-xpm</code>, turning it on unless requested
6907 otherwise.</li>
6908
6909 <li>add configure option <code>--with-icon-name</code> which
6910 can be used to override the default icon used in
6911 icon-themes.</li>
6912
6913 <li>extend <code>activeIcon</code> resource to provide
6914 <code>default</code> value which tells xterm to determine the
6915 window manager's name and automatically enable the feature for
6916 fvwm and window maker. The explicit true/false values can be
6917 used to override this behavior.</li>
6918
6919 <li>add "mini" xterm icon, which scales better than the
6920 standard xterm icon, e.g., for the gnome/kde "panel"
6921 feature.</li>
6922
6923 <li>extend <code>iconName</code> resource to search for icon
6924 named according to resource value and use that if found. If not
6925 found, use compiled-in pixmap. Both set the WM_ICON_NAME
6926 property which is used by various window managers, usually for
6927 window decoration.</li>
6928
6929 <li>updated autoconf patch, adding support for --datarootdir,
6930 which changes the default location of manpages.</li>
6931
6932 <li>further improved autoconf macros for configuring icons,
6933 from vile 9.8h</li>
6934 </ul>
6935
6936 <h1><a name="xterm_281" id="xterm_281">Patch #281 -
6937 2012/06/26</a></h1>
6938
6939 <ul>
6940 <li>remove "$(srcdir)/" from install-icon rule to fix builds
6941 when --srcdir configuration option is used.</li>
6942
6943 <li>fix for configure script's search for icon file when it is
6944 not found in the current directory, e.g., when building out of
6945 tree (patch by Thierry Reding).</li>
6946
6947 <li>undo the XK_Home / XK_End change from <a href=
6948 "#xterm_280">patch #280</a> which broke the non-VT220 keyboard
6949 for those keys (report by H Merijn Brand).</li>
6950 </ul>
6951
6952 <h1><a name="xterm_280" id="xterm_280">Patch #280 -
6953 2012/06/24</a></h1>
6954
6955 <ul>
6956 <li>add configure check to work around warning from
6957 desktop-file-install for "Encoding", noting that it emits
6958 deprecation warnings without providing its version
6959 information.</li>
6960
6961 <li>add configure option <code>--with-icon-theme</code> to tell
6962 xterm whether to install into an icon theme, defaulting to
6963 "hicolor" (Redhat #755206, Redhat #799614 and Redhat
6964 #804279).</li>
6965
6966 <li>change <code>--with-icondir</code> to look for "icons"
6967 directory rather than "pixmaps" by default. Add new option
6968 <code>--with-pixmapdir</code> to allow these two uses to be
6969 installed concurrently.</li>
6970
6971 <li>modify configure options <code>--with-app-defaults</code>
6972 and <code>--with-icondir</code> to accept "auto" as value to
6973 look for existing directory from well-known locations.</li>
6974
6975 <li>add missing codes for secondary DA response which tell the
6976 type of terminal as in the primary DA response.</li>
6977
6978 <li>update primary DA response for VT420 to include user
6979 windows and horizontal scrolling.</li>
6980
6981 <li>add <code>modifyKeyboard</code> resource to support
6982 keypad-modifier changes per request by Thomas Wolff.</li>
6983
6984 <li>add XK_Home / XK_End to editing-keypad checks</li>
6985
6986 <li>add back-tab key <code>kB</code> to termcap entries to
6987 match the terminfo.</li>
6988
6989 <li>update terminfo to match corresponding entries in ncurses,
6990 e.g., add <code>XT</code> and adjust <code>sgr</code> string
6991 for xterm-bold entry.</li>
6992
6993 <li>add configure options to predefine the most commonly
6994 customized resources for terminal-settings, use those to
6995 substitute into the manpage the corresponding compiled-in
6996 values: <code>altSendsEscape</code>, <code>backarrowKey</code>,
6997 <code>backarrowKeyIsErase</code>, <code>deleteIsDEL</code>,
6998 <code>metaSendsEscape</code> (Redhat #819588).</li>
6999
7000 <li>change default emulation level to VT420 (discussion with
7001 Ailin Nemui).</li>
7002
7003 <li>improve logic for DECSCL; <a href="#xterm_279">patch
7004 279</a> partly enforced limitation of this to higher-level
7005 emulations. This patch finishes that change.</li>
7006
7007 <li>improve check for base of combining characters, preventing
7008 combination when cursor movement has intervened. Mosh's webpage
7009 gives two different examples of this, with other causes
7010 ascribed to the behavior.</li>
7011
7012 <li>modify IL/DL to set cursor to first column on row for
7013 better VT102/VT220 compatibility (prompted by code review of
7014 mosh).</li>
7015
7016 <li>separate state-table entries for DECSC/DECRC from the
7017 ANSI.SYS save/restore cursor, since the latter conflicts with
7018 DECSLRM when DECLRMM is enabled since <a href=
7019 "#xterm_279">patch #279</a> (report/analysis by Ailin
7020 Nemui).</li>
7021
7022 <li>fixes to avoid using <code>SIGCHLD</code> handler of main
7023 program in printer's subprocess (report by Joe Julian).</li>
7024
7025 <li>correct restore-parameter for mouse-modes from <a href=
7026 "#xterm_279">patch #279</a> changes.</li>
7027
7028 <li>add null-pointer checks to input-method caching added in
7029 <a href="#xterm_277">patch #277</a> to fix a problem in the
7030 exposure code, when deselecting a window (report by Kriston
7031 Rehberg).</li>
7032
7033 <li>unset <code>DESKTOP_STARTUP_ID</code> environment variable
7034 to lessen confusion on the part of GTK applications which use
7035 the variable without checking it (report by John Little).</li>
7036 </ul>
7037
7038 <h1><a name="xterm_279" id="xterm_279">Patch #279 -
7039 2012/05/10</a></h1>
7040
7041 <ul>
7042 <li>fill in missing cases in the save/restore modes feature
7043 (report by Thomas Wolff).</li>
7044
7045 <li>add check to ensure that combining characters are
7046 precomposed in the order given (report/analysis by Andries E
7047 Brouwer).</li>
7048
7049 <li>improve workability check for posix_openpt(), to take into
7050 account BSD systems which do not complete initialization until
7051 both sides of the pseudoterminal are opened (report by
7052 Christian Weisgerber).</li>
7053
7054 <li>amend fix for Debian #650291 in <a href="#xterm_277">patch
7055 #277</a> changes to account for different data returned by
7056 vnc4server (Debian #670638).</li>
7057
7058 <li>add check in DECCRA operation to make copies of blinking
7059 text also blink by updating a line-level flag.</li>
7060
7061 <li>modify rectangle operations to work with DECOM.</li>
7062
7063 <li>modify DECSERA to use the current protected state rather
7064 than preserving it.</li>
7065
7066 <li>add <code>precompose</code> resource to allow storing
7067 character data in Normalized Form D as described in <a href=
7068 "http://unicode.org/reports/tr15/">http://unicode.org/reports/tr15/</a>
7069 (report/discussion with Andries E Brouwer).</li>
7070
7071 <li>modify CBT, other ISO-6429 controls which are used by VT520
7072 to work with DECOM.</li>
7073
7074 <li>add HPR and VPR controls, ISO 6429 cursor movement used in
7075 VT520.</li>
7076
7077 <li>remove "linux" restriction for IUTF8 ifdef in main.c
7078 (prompted by Matthew Dempsky posting on
7079 mailing.openbsd.tech).</li>
7080
7081 <li>implement the remaining VT420-level device status
7082 reports.</li>
7083
7084 <li>change DECXCPR to return page 1, rather than 0.</li>
7085
7086 <li>improve VT-level checks on reporting functions, such as
7087 DECXCPR.</li>
7088
7089 <li>change limit on <code>decTerminalID</code> to 525.</li>
7090
7091 <li>fixes to improve vttest vt52 screen when running as a
7092 VT420:
7093 <ul>
7094 <li>add checks for some VT2xx and up controls for
7095 consistency: DECSCL, S1C8T, S1C7T.</li>
7096
7097 <li>modify DECRQSS return for DECSCL to only return that
7098 when running as VT2xx and up.</li>
7099
7100 <li>when exiting from VT52-mode, resume in VT100 level
7101 rather than the level before starting VT52-mode.</li>
7102 </ul>
7103 </li>
7104
7105 <li>implement DECLRMM, DECSLRMM and DECNCSM (prompted by
7106 discussions with Ailin Nemui and Paul LeoNerd Evans). This
7107 modifies several controls to obey top/bottom and left/right
7108 margins.</li>
7109
7110 <li>correct macro definition used for testing modes used in
7111 ANSI/DEC request-mode controls introduced in <a href=
7112 "#xterm_262">patch #262</a>.</li>
7113
7114 <li>modify <code>x_getlogin</code> to check $LOGNAME and $USER
7115 before fallback to <code>getlogin</code>, so that user's choice
7116 for these variables can be carried forward to the xterm process
7117 (Debian #611487).</li>
7118
7119 <li>document DECSCUSR response for DECRQSS in ctlseqs.ms</li>
7120
7121 <li>add <code>zIconTitleFormat</code> resource to allow
7122 customizing the "***&nbsp;" prefixed to the icon title when the
7123 <code>zIconBeep</code> feature is activated (request by Thomas
7124 Adam).</li>
7125
7126 <li>modify DECSCUSR to update the same internal variable as
7127 RM/SM 12, and document in manpage the two variables used for
7128 controlling blinking cursor (report by Paul LeoNerd
7129 Evans).</li>
7130
7131 <li>correct response data for DECSCUSR in reply for DECRQSS
7132 response, which had inverted the blink-value (reports by Ailin
7133 Nemui, Paul LeoNerd Evans).</li>
7134
7135 <li>add a null-pointer check in <code>OkPasswd</code> macro to
7136 fix a problem in <code>resize</code> with Fedora 17 and a
7137 serial console (report/patch by Daniel Drake).</li>
7138
7139 <li>add workaround for Mac OS X, which loses the window size of
7140 a pseudo-terminal when the tty device is opened
7141 (report/analysis by Egmont Koblinger).</li>
7142
7143 <li>updated configure check for workable
7144 <code>posix_openpt</code> versus <code>grantpt</code>, from
7145 <code>luit</code> fixes.</li>
7146
7147 <li>modify DECIC/DECDC/DECBI/DECFI implemented in <a href=
7148 "#xterm_277">patch #277</a> to enable them only in VT4xx mode
7149 and up (report by Ailin Nemui).</li>
7150
7151 <li>update config.guess, config.sub</li>
7152 </ul>
7153
7154 <h1><a name="xterm_278" id="xterm_278">Patch #278 -
7155 2012/01/18</a></h1>
7156
7157 <ul>
7158 <li>correct initialization for <code>eightBitMeta</code>
7159 resource (FreeBSD #164101).</li>
7160
7161 <li>make special check for Darwin 9 (and lower) to <em>not</em>
7162 use <code>posix_openpt</code> (report by Christian Ebert).</li>
7163
7164 <li>minor fixes (adding ".ne" directives) to reduce the cases
7165 where groff's utility for generating images for tables dumps
7166 core. Most versions of groff (I've found 1.19.2 to be the most
7167 stable) dump core when attempting to report that there are too
7168 few lines on a page for a table to be shown.</li>
7169 </ul>
7170
7171 <h1><a name="xterm_277" id="xterm_277">Patch #277 -
7172 2012/01/07</a></h1>
7173
7174 <ul>
7175 <li>remove special case for ISC pseudo-terminals which attempts
7176 to open the pty in two different ways.</li>
7177
7178 <li>move call to <code>grantpt</code> before asking utempter to
7179 add a record, to work with kFreeBSD which does not update the
7180 terminal's ownership until this point (Debian #652907).</li>
7181
7182 <li>document limitation of XIM interface in manpage (Debian
7183 #230787).</li>
7184
7185 <li>cleanup error reporting with new xtermWarning
7186 function.</li>
7187
7188 <li>add configure option <code>--disable-selection-ops</code>
7189 to make the new actions optional.</li>
7190
7191 <li>add four new actions for making the selection or data
7192 directly copied from the screen (prompted by discussion in
7193 Debian #637001, as well as report by Arjen van Tol):
7194 <ul>
7195 <li>exec-formatted</li>
7196
7197 <li>exec-selectable</li>
7198
7199 <li>insert-formatted</li>
7200
7201 <li>insert-selectable</li>
7202 </ul>
7203 </li>
7204
7205 <li>add <code>visualBellLine</code> resource to allow
7206 <code>visualBell</code> to flash only the current line
7207 (prompted by patch by Gertjan Halkes).</li>
7208
7209 <li>add <code>eightBitMeta</code> resource to control the
7210 features which modify or interpret the eighth bit of a key when
7211 the meta modifier key is pressed (prompted by Debian
7212 #326200).</li>
7213
7214 <li>improve discussion of <code>eightBitInput</code> in the
7215 manpage (prompted by Debian #326200).</li>
7216
7217 <li>correct logic for <code>alt-sends-escape</code> action,
7218 overlooked when implementing <code>altSendsEscape</code>
7219 resource, which still used <code>eightBitInput</code> resource
7220 value.</li>
7221
7222 <li>add a workaround for <code>XAllocColor()</code>, which does
7223 not actually allocate "a read-only colormap entry corresponding
7224 to the closest RGB value supported by the hardware", but rather
7225 a rough approximation (Debian #650291).</li>
7226
7227 <li>undo parameter checks for <code>RequestResize()</code>
7228 added in <a href="#xterm_251">patch #251</a> and amended in
7229 <a href="#xterm_270">patch #270</a>, because zeros also are
7230 special cases (report by John S Urban).</li>
7231
7232 <li>modify some test-scripts to use <code>/bin/echo</code>
7233 rather than the shell's possibly-builtin <code>echo</code>, to
7234 work around broken configuration on Mac OS X, i.e., neither
7235 honoring the option nor flagging an error.</li>
7236
7237 <li>add SGR 1006, as a better technical solution than SGR 1015:
7238 <ul>
7239 <li>the responses will not be confused with line-deletion
7240 and scrolling controls.</li>
7241
7242 <li>the button encoding is a little simpler, since it does
7243 not add an unnecessary 32 because the integer parameter
7244 does not have to be represented as a printable
7245 character.</li>
7246
7247 <li>the control responses for pressing and releasing a
7248 mouse button differ, allowing an application to tell which
7249 button was released.</li>
7250 </ul>
7251
7252 <p>Besides these improvements, in discussion, it was noted
7253 that urxvt's implementation of 1005 is incorrect, relying
7254 upon a locale that provides UTF-8 encoding. In contrast,
7255 vttest demonstrates a correct decoding, independent of
7256 locale.</p>
7257 </li>
7258
7259 <li>add support for urxvt SGR 1015 to address shortcoming of
7260 SGR 1005 with luit (patch by Egmont Koblinger).</li>
7261
7262 <li>add ISO and DEC controls useful for left/right
7263 scrolling.</li>
7264
7265 <li>add some changes for OpenBSD and MirBSD (adapted from patch
7266 by Thorsten Glaser):
7267 <ul>
7268 <li>disable search for non-Unix96 ptys.</li>
7269
7270 <li>fix a gcc warning in
7271 <code>timestamp_filename</code></li>
7272
7273 <li>modify <code>Imakefile</code> to install xterm setgid
7274 to utmp.</li>
7275 </ul>
7276 </li>
7277
7278 <li>add/use/prefer <code>posix_openpt()</code> for opening
7279 pseudo-terminal.</li>
7280
7281 <li>modify special errno handling case in ptydata.c from
7282 <a href="#xterm_158">patch #158</a> to allow for the
7283 possibility that any platform may have special cases where
7284 "/dev/tty" is absent. For example, this can happen in a FreeBSD
7285 jail (patch by David Wolfskill).</li>
7286
7287 <li>add keyboard logic to map shift-tab into XK_ISO_Left_Tab,
7288 which is usually, not always, done by the X keyboard
7289 configuration.</li>
7290
7291 <li>portability fixes for some configure macros:
7292 <code>CF_XOPEN_SOURCE</code></li>
7293 </ul>
7294
7295 <h1><a name="xterm_276" id="xterm_276">Patch #276 -
7296 2011/10/10</a></h1>
7297
7298 <ul>
7299 <li>modify clipping limits for TrueType fonts to account for
7300 the <code>scaleHeight</code> resource setting, to work around
7301 another problem due to recent FreeType changes. In this case,
7302 the <code>DejaVu Sans Mono</code> set to pixelsize=13.5 is
7303 truncated because the font descent is reduced by FreeType to
7304 match an incorrect height metric (report by Adam Lee).</li>
7305
7306 <li>improve recovery when bitmap fonts are not installed, e.g.,
7307 so that switching font-sizes works for TrueType fonts.</li>
7308
7309 <li>modify lookup for <code>XTERM_SHELL</code> feature to allow
7310 relative pathnames.</li>
7311
7312 <li>modify abbreviation disambiguation check for command-line
7313 parameters to account for <code>-geometry</code>, whose
7314 parameter may begin with "+" or "-" (report by Scott
7315 Bertilson).</li>
7316 </ul>
7317
7318 <h1><a name="xterm_275" id="xterm_275">Patch #275 -
7319 2011/09/11</a></h1>
7320
7321 <ul>
7322 <li>add <code>ash</code>, <code>zsh</code> to known shells for
7323 <code>resize</code>.</li>
7324
7325 <li>modify <code>resize</code> to reuse the logic from
7326 <code>xterm</code> which determines the actual logon-user's
7327 shell if <code>$SHELL</code> is not set.</li>
7328
7329 <li>revert the <code>unsetenv("SHELL")</code> added in <a href=
7330 "#xterm_272">patch #272</a>.</li>
7331
7332 <li>an <code>unsetenv("SHELL")</code> added in <a href=
7333 "#xterm_272">patch #272</a> to help ensure that
7334 <code>luit</code> would get the user's shell consistently did
7335 not work as expected for cases where multiple names are in the
7336 password-file for a given uid. That was because changes in
7337 <a href="#xterm_157">patch #157</a> to handle this situation
7338 did not take into account that repeated calls to
7339 <code>getpwnam</code> and <code>getpwuid</code> return a
7340 pointer to the same static buffer. Fixed the older logic to
7341 work as intended, by ensuring that the passwd-data from each
7342 call is stored separately (report by Paul Keusemann).</li>
7343
7344 <li>adjust ifdef's for <code>putenv</code> and
7345 <code>unsetenv</code> in case only one of those is provided on
7346 a given platform.</li>
7347
7348 <li>correct comparison used in <code>ExposeContains</code>
7349 macro from <a href="#xterm_274">patch #274</a> changes, to
7350 handle window-dragging (patch by Todd Eigenschink).</li>
7351 </ul>
7352
7353 <h1><a name="xterm_274" id="xterm_274">Patch #274 -
7354 2011/09/05</a></h1>
7355
7356 <ul>
7357 <li>portability fixes for cygwin: do not define
7358 <code>SVR4</code>, and work around nonstandard header
7359 location.</li>
7360
7361 <li>ifdef'd use of <code>unsetenv</code> from <a href=
7362 "#xterm_273">patch #273</a> changes to work with Solaris 9
7363 (report by Waldemar Rachwal).</li>
7364
7365 <li>modify logic for <code>XtAppPending</code> to merge
7366 adjacent <code>Expose</code> and <code>ConfigureNotify</code>
7367 events which are redundant (report by Edward McGuire).</li>
7368
7369 <li>fix an unneeded warning message when <code>-r</code> option
7370 is given.</li>
7371
7372 <li>remove a few redundant entries from table used for helping
7373 abbreviation-checking of command-line options, makes
7374 <code>-geom</code> work again after <a href="#xterm_272">patch
7375 #272</a> changes as an abbreviation of
7376 <code>-geometry</code>.</li>
7377
7378 <li>add <code>scaleHeight</code> resource and command-line
7379 option <code>-sh</code> as workaround for some
7380 font-configurations broken by changes in FreeType 2.4.6 (report
7381 by Miroslav Hodak).</li>
7382
7383 <li>portability fixes for some configure macros:
7384 <code>CF_FUNC_TGETENT</code>, <code>CF_XOPEN_SOURCE</code>,
7385 <code>CF_X_ATHENA_LIBS</code>.</li>
7386
7387 <li>add configure option <code>--with-freetype-config</code> to
7388 improve selection over the plethora of configuration options
7389 which freetype has so far provided.</li>
7390
7391 <li>build-fix for configure <code>--enable-load-vt-fonts</code>
7392 when <code>--enable-widec</code> is not specified.</li>
7393
7394 <li>build-fixes for suppressing various features, needed after
7395 changes in patches 270, 271 and 272 (report by Brian
7396 Lindholm)</li>
7397 </ul>
7398
7399 <h1><a name="xterm_273" id="xterm_273">Patch #273 -
7400 2011/08/25</a></h1>
7401
7402 <ul>
7403 <li>build-fix for out-of-tree "make docs" rule.</li>
7404
7405 <li>correct a typo in <code>x_strdup</code>, from <a href=
7406 "#xterm_198">patch #198</a> changes.</li>
7407
7408 <li>correct initialization for <code>-e</code> option, broken
7409 in <a href="#xterm_272">patch #272</a> changes (report by
7410 Gabriele Balducci).</li>
7411
7412 <li>build-fix for out-of-tree builds to address
7413 <code>minstall</code> script changes in <a href=
7414 "#xterm_272">patch #272</a> (patch by Thierry Reding).</li>
7415 </ul>
7416
7417 <h1><a name="xterm_272" id="xterm_272">Patch #272 -
7418 2011/08/24</a></h1>
7419
7420 <ul>
7421 <li>document limitation of <code>Gtk</code> in connection with
7422 xterm's <code>-into</code> option, in the manpage (Ubuntu
7423 #806969).</li>
7424
7425 <li>improve <code>-into</code> by checking for and using the
7426 size of the window within which xterm is embedded, overriding
7427 other clues.</li>
7428
7429 <li>modify logic for <code>localeFilter</code> resource to
7430 allow that to include command-line options of luit.</li>
7431
7432 <li>improve <code>-into</code> by checking for invalid
7433 window-id, and allowing hexadecimal/decimal/octal values.</li>
7434
7435 <li>improve <code>keepSelection</code>, adding the case where
7436 the highlighting is cleared, overlooked in <a href=
7437 "#xterm_230">patch #230</a> (patch by Marco Peereboom).</li>
7438
7439 <li>improve command-line parsing to make abbreviate options
7440 work consistently across xterm-specific versus standard X
7441 toolkit options, and report cases where an abbreviated option
7442 happens to be ambiguous. In particular, <code>-d</code> now
7443 works as an abbreviation for <code>-display</code>.</li>
7444
7445 <li>fix regression in command-line parsing introduced in
7446 <a href="#xterm_271">patch #271</a> changes for Debian #629358,
7447 (Debian #637910).</li>
7448
7449 <li>split-out new termcap/terminfo building block
7450 <code>xterm+kbs</code> for configurability.</li>
7451
7452 <li>modify <code>terminfo</code> file to reflect changes in
7453 ncurses for <code>xterm-16color</code> and
7454 <code>xterm-256color</code>.</li>
7455
7456 <li>modify <code>minstall.sh</code>, etc., to reflect the
7457 default default class, <code>$TERM</code> and
7458 <code>decTerminalID</code> values.</li>
7459
7460 <li>reword <code>resize</code> manpage to reflect the fact that
7461 <code>$TERMCAP</code> is not set on all systems (patch by Alan
7462 Coopersmith).</li>
7463
7464 <li>work around combined Xaw6/Xaw7 package in DragonFlyBSD
7465 which omits the usual symbolic link to the preferred library
7466 name.</li>
7467
7468 <li>further improve build-fix for termcap systems by checking
7469 for some which are only partial implementations, e.g., termcap
7470 2.08 in CentOS 5.2</li>
7471 </ul>
7472
7473 <h1><a name="xterm_271" id="xterm_271">Patch #271 -
7474 2011/07/14</a></h1>
7475
7476 <ul>
7477 <li>omit permissions adjustments to pty on exit except for
7478 pre-Unix98 ptys, since modern implementations handle this
7479 (report by Sean C Farley).</li>
7480
7481 <li>modify logic for switching fonts between UTF-8 and
7482 non-UTF-8 encoding to not merge the derivable bold-, wide- and
7483 widebold values from the VT100 fonts. Also suppress warning
7484 when not using UTF-8 fonts if wide- and widebold-fonts cannot
7485 be derived or otherwise loaded (report by Werner
7486 Scheinast).</li>
7487
7488 <li>modify menu-creation to suppress entries which will never
7489 be used in the current configuration, rather than simply
7490 disabling them.</li>
7491
7492 <li>add resource <code>printModeImmediate</code> and menu item
7493 to allow print of screen plus saved lines to a file.</li>
7494
7495 <li>add menu item to allow runtime enable/disable of the
7496 <code>printFileOnXError</code> feature.</li>
7497
7498 <li>append a timestamp to filename used in
7499 <code>printFileOnXError</code> feature, and restrict its
7500 permissions (request by Vincent Lef&egrave;vre).</li>
7501
7502 <li>add a check when cancelling cursor-blinking, in case the
7503 cursor is blinked off. Fix so that the cursor is repainted
7504 without waiting for other events, e.g., keypress (report by
7505 Ailin Nemui).</li>
7506
7507 <li>add configure <code>--with-app-class</code> option, to
7508 simplify building "xterm-dev" packages with filenames that do
7509 not conflict with conventional "xterm" packages.</li>
7510
7511 <li>corrected logic flow for DECSCL, which prevented the
7512 updated operating level from being reported via DECRQSS (report
7513 by Ailin Nemui).</li>
7514
7515 <li>corrected default for <code>brokenStringTerm</code>
7516 resource to match manpage.</li>
7517
7518 <li>add vttests/dynamic.pl</li>
7519
7520 <li>add runtime check for locale not supported by X libraries,
7521 and fallback to XA_STRING in this case (request by Bryan
7522 Henderson).</li>
7523
7524 <li>fix a special case in configure script after no FreeType
7525 libraries are found. The script was proceeding to check for a
7526 usable configuration.</li>
7527
7528 <li>add <code>xterm+tmux</code> building block to terminfo
7529 (adapted from changes proposed by Ailin Nemui and Nicholas
7530 Marriott).</li>
7531
7532 <li>improve discussion of <code>faceName</code> resource in
7533 manpage (adapted from suggestions by Jens Schweikhardt).</li>
7534
7535 <li>correct mapping of shifted up/down cursor-keys in termcap
7536 function-keys mode, i.e., resource
7537 <code>tcapFunctionKeys</code> (patch by Gertjan Halkes).</li>
7538
7539 <li>update AIX case in <code>CF_XOPEN_SOURCE</code> configure
7540 macro to add release 7.x.</li>
7541
7542 <li>modify ifdef's in <code>xterm_io.h</code> for
7543 <code>__hpux</code> to force that to use the hacked SYSV
7544 support in that file. This fixes a problem with a non-blocking
7545 socket call (patch by Paul Lampert).</li>
7546
7547 <li>improve filtering of desktop category scanning, to exclude
7548 XFCE.</li>
7549
7550 <li>modify configure script to work with systems that have both
7551 ncurses (or other terminfo) as well as a real termcap library,
7552 e.g., Slackware (report by Andrew Watts).</li>
7553
7554 <li>modify configure script to work around special case where
7555 user's environment adds compiler flags to the <code>CC</code>
7556 variable (prompted by report by Paul Lampert).</li>
7557
7558 <li>amend change for Debian #110226 so that "-h" or "-v"
7559 options cause an exit, rather than simply printing to stdout
7560 while the window is displayed (Debian #629358).</li>
7561
7562 <li>add response for <code>DECRQSS</code> which gives the
7563 setting for <code>DECSCUSR</code>.</li>
7564
7565 <li>modify AllocateTermColor() to handle
7566 <code>XtDefaultForeground</code> and
7567 <code>XtDefaultBackground</code>, which are not recognized by
7568 <code>XParseColor</code>. For example, this fixes the use of
7569 OSC&nbsp;112 when no explicit cursor color was set (report by
7570 Ailin Nemui).</li>
7571
7572 <li>handle special-case of <code>KeyPress</code> translated to
7573 <code>popup-menu</code> action (Ubuntu #756273).</li>
7574 </ul>
7575
7576 <h1><a name="xterm_270" id="xterm_270">Patch #270 -
7577 2011/04/26</a></h1>
7578
7579 <ul>
7580 <li>build-fix, e.g., for using <code>imake</code> on platforms
7581 which use the termcap library.</li>
7582
7583 <li>modify <code>utf8</code> resource to accept a name.</li>
7584
7585 <li>mention default for <code>fontWarnings</code> in manpage
7586 (report by Werner Scheinast).</li>
7587
7588 <li>split "UTF-8" menu entry into "UTF-8 Encoding" and "UTF-8
7589 Fonts" (prompted by discussion with Werner Scheinast).</li>
7590
7591 <li>gray-out font-menu entries when a font fails to load, e.g.,
7592 a bitmap font is not installed.</li>
7593
7594 <li>improve behavior when there is no app-defaults file:
7595 <ul>
7596 <li>set the <code>toolBar</code> resource to false</li>
7597
7598 <li>gray-out the font menu entries where no resource is
7599 found.</li>
7600 </ul>
7601 </li>
7602
7603 <li>add configure option <code>--with-desktop-category</code>
7604 to allow customization of the ".desktop" files.</li>
7605
7606 <li>build-fix for the <code>install-desktop</code>
7607 makefile-rule, when the source/build directories differ (patch
7608 by Lo&iuml;c Minier).</li>
7609
7610 <li>add menu entry and corresponding resource which can be used
7611 to suppress all bold-fonts (discussion with Jan
7612 Engelhardt).</li>
7613
7614 <li>make internal line-size value consistent with allocated
7615 sizes of character and related arrays to ensure that bulk
7616 copying of line data, e.g., in scrolling, accounts for the
7617 padding used for pointer alignment (adapted from patch by
7618 Rajesh Mandalemula, also reported by Ali Bahar).</li>
7619
7620 <li>widen ifdef for screen-resizing logic from <a href=
7621 "#xterm_176">patch #176</a> changes to send
7622 <code>SIGWINCH</code> to process group to include any system
7623 supporting <code>ioctl(*,TIOCGPGRP,*)</code> (prompted by
7624 linux-specific patch in OpenSUSE rpm package).</li>
7625
7626 <li>add <code>printModeOnXError</code> and
7627 <code>printFileOnXError</code> resources, which allow the user
7628 to specify that xterm will write the contents of its screen to
7629 a file if it is exiting due to an X error (Debian
7630 #280457).</li>
7631
7632 <li>restore logic that made reverse-video apply to the
7633 scrollbar's foreground/background, broken in <a href=
7634 "#xterm_158">patch #158</a> (report by Bryan Ischo).</li>
7635
7636 <li>amend some of the window operations parameter-checks added
7637 in <a href="#xterm_251">patch #251</a> for the push/pop title
7638 feature, to allow the parameters used for window resizing to be
7639 -1's, which makes the corresponding values ignored rather than
7640 using the window's maximum width/height (report by Noah
7641 Friedman).</li>
7642
7643 <li>correct order of initialization for
7644 <code>translations</code> vs <code>fullscreen</code> resources
7645 to enable a special case which omits the Alt-Enter translation
7646 when <code>fullscreen</code> is disabled (Debian #612978).</li>
7647
7648 <li>update config.guess, config.sub</li>
7649 </ul>
7650
7651 <h1><a name="xterm_269" id="xterm_269">Patch #269 -
7652 2011/02/19</a></h1>
7653
7654 <ul>
7655 <li>build-fixes for <code>imake</code> (report by Heiko
7656 Berges).</li>
7657
7658 <li>modify autoconf macro CF_PKG_CONFIG to work with
7659 cross-compile environments (patch by Thierry Reding).</li>
7660
7661 <li>modify <code>MapToColorMode()</code> to favor bold over
7662 underline, matching the precedence used before <a href=
7663 "#xterm_252">patch #252</a> (report/analysis by Nicolas
7664 George).</li>
7665
7666 <li>add <code>omitTranslation</code> resource, which can be
7667 used to suppress the default translations for these features:
7668 <ul>
7669 <li>fullscreen</li>
7670
7671 <li>scroll-lock</li>
7672
7673 <li>shift-fonts</li>
7674
7675 <li>wheel-mouse</li>
7676 </ul>
7677 </li>
7678
7679 <li>make the fullscreen feature configurable (Debian #612978)
7680 <ul>
7681 <li>add it to the configurable list
7682 <code>disallowedWindowOps</code>.</li>
7683
7684 <li>add command-line option <code>-fullscreen</code> to
7685 allow the feature to be enabled at startup.</li>
7686
7687 <li>add resource <code>fullscreen</code> to control whether
7688 the feature is active or may be enabled.</li>
7689 </ul>
7690 </li>
7691
7692 <li>modify <code>probe_netwm_fullscreen_capability</code> for
7693 64-bit machines. Contrary to <code>XGetWindowProperty</code>
7694 manpage, that function returns 32-bit data packed as
7695 <code>long</code>'s.</li>
7696
7697 <li>eliminate copy of <code>name</code> resource, which was
7698 otherwise used only to give the terminal-description name for
7699 the tcap-query feature. Use the actual <code>$TERM</code> value
7700 instead, as derived from <code>termName</code> resource,
7701 etc.</li>
7702
7703 <li>eliminate an old inconsistency with error messages, some
7704 used the <code>-name</code> option, while others used
7705 <code>argv[0]</code>. The latter is now used consistently.</li>
7706
7707 <li>improve configure check for rpath-hack, to improve builds
7708 on systems where gcc will not search /usr/local/lib, etc.</li>
7709
7710 <li>build-fix for Xaw3d configuration (report by H Merijn
7711 Brand).</li>
7712
7713 <li>update config.guess, config.sub</li>
7714 </ul>
7715
7716 <h1><a name="xterm_268" id="xterm_268">Patch #268 -
7717 2011/02/10</a></h1>
7718
7719 <ul>
7720 <li>fix an inconsistency of the "Enable Reverse Video" checkbox
7721 in the VT Options menu. This also removes a special case added
7722 in <a href="#xterm_217">patch #217</a> which limited the effect
7723 of the <code>reverseVideo</code> resource (Debian
7724 #603808).</li>
7725
7726 <li>amend decoding of misformed UTF-8 sequences to avoid
7727 absorbing valid characters as documented in Unicode 6.0 section
7728 3.9 (report by Keith Winstein).</li>
7729
7730 <li>do not set urgency hint when window already has focus
7731 (patch by Dimitrios Christidis).</li>
7732
7733 <li>amend extended mouse-coordinate mode from <a href=
7734 "#xterm_262">patch #262</a> changes to include the <em>Cb</em>
7735 button-code, which also may be greater than 127 (report by
7736 Ailin Nemui).</li>
7737
7738 <li>ensure that underline-cursor is visible when an application
7739 happens to set the background color (report by Christian
7740 Weisgerber).</li>
7741
7742 <li>add feature for <a href=
7743 "http://www.davidsimmons.com/soft/xtermhacks/xterm-fullscreen.patch">
7744 full-screen toggling</a> using either Alt-Enter or a menu
7745 selection (integrated patch by Dave Simmons).</li>
7746
7747 <li>add missing logic to handle reallocation of FIFO index for
7748 the "UTF-8" menu entry (report by David Holland, NetBSD
7749 #44344).</li>
7750
7751 <li>add makefile rules <code>docs-ctlseqs</code>,
7752 <code>docs-xterm</code>, etc.</li>
7753
7754 <li>correct typo in description of DECRPM in control sequences
7755 document (report by Ailin Nemui).</li>
7756 </ul>
7757
7758 <h1><a name="xterm_267" id="xterm_267">Patch #267 -
7759 2010/11/20</a></h1>
7760
7761 <ul>
7762 <li>minor formatting changes to ctlseqs.ms to simplify a script
7763 which extracts the feature information. See the results in
7764 <a href=
7765 "https://invisible-island.net/xterm/xterm.faq.html#compare_versions">
7766 Comparing versions, by counting controls</a> in the xterm
7767 FAQ.</li>
7768
7769 <li>add <code>docs-clean</code> makefile rule.</li>
7770
7771 <li>add <code>copy-selection</code> action (request by Timo
7772 Juhani Lindfors, Debian #588785).</li>
7773
7774 <li>trim leading/trailing blanks from string used for
7775 "Selection" font-menu data.</li>
7776
7777 <li>trim leading/trailing blanks from color resource
7778 values.</li>
7779
7780 <li>configure script improvements:
7781 <ul>
7782 <li>add workaround for removal of X11 dependency from Xt's
7783 package file (report by Robert Hooker).</li>
7784
7785 <li>add workaround for removal of fontconfig dependency
7786 from Xft's package file (report by Jeremy Huddleston).</li>
7787
7788 <li>add workaround for removal of Xmu dependency from Xaw's
7789 package file (report by Jeremy Huddleston).</li>
7790
7791 <li>improve workaround in <code>CF_X_TOOLKIT</code> macro,
7792 checking for other possible packages where Xt's
7793 dependencies may be given.</li>
7794
7795 <li>prefer <code>${name:=value}</code> to
7796 <code>${name-value}</code>, since recent bash changes break
7797 legacy support for that feature.</li>
7798 </ul>
7799 </li>
7800 </ul>
7801
7802 <h1><a name="xterm_266" id="xterm_266">Patch #266 -
7803 2010/10/24</a></h1>
7804
7805 <ul>
7806 <li>add rpm and dpkg scripts, for testing.</li>
7807
7808 <li>more fixes for Debian #600707 (report by Cyril
7809 Brulebois).</li>
7810 </ul>
7811
7812 <h1><a name="xterm_265" id="xterm_265">Patch #265 -
7813 2010/10/22</a></h1>
7814
7815 <ul>
7816 <li>fix a regression in fontname logic from <a href=
7817 "#xterm_263">patch #263</a> changes (Debian #600707, reported
7818 by Vincent Lef&egrave;vre).</li>
7819
7820 <li>revert modification of any-event/any-button protocol from
7821 <a href="#xterm_263">patch #263</a> changes. It interferes with
7822 selection using a shifted mouse button (reports by Neil Bird,
7823 Bram Moolenaar).</li>
7824 </ul>
7825
7826 <h1><a name="xterm_264" id="xterm_264">Patch #264 -
7827 2010/10/14</a></h1>
7828
7829 <ul>
7830 <li>replace a null-pointer check with check for empty string in
7831 <code>xtermOpenFont</code>, to eliminate a warning message from
7832 <a href="#xterm_263">patch #263</a> changes.</li>
7833
7834 <li>build-fix for <a href="#xterm_263">patch #263</a> when
7835 toolbar is not configured (patch by Chris Clayton) (reports by
7836 Robby Workman, David Wood).</li>
7837 </ul>
7838
7839 <h1><a name="xterm_263" id="xterm_263">Patch #263 -
7840 2010/10/13</a></h1>
7841
7842 <ul>
7843 <li>corrected initialization of "misc" resource values, to
7844 ensure that xterm has allocated a copy of strings which may not
7845 have been malloc'd by the X library (Debian #600129).</li>
7846
7847 <li>modify handling of any-event/any-button mouse protocol; it
7848 now is active with any combination of key-modifiers.</li>
7849
7850 <li>add debugging feature <code>showWrapMarks</code>, which
7851 marks lines which xterm knows are wrapped, showing where a
7852 double-click will select past the end of a line.</li>
7853
7854 <li>build-fix to address change in include-guards for
7855 <code>Xlib.h</code> in ongoing Xorg edits (patch by Jeremy
7856 Huddleston).</li>
7857
7858 <li>improve <code>pointerMode</code> by continuing to watch for
7859 motion events after mouse tracking is disabled if the pointer
7860 is hidden (Debian #594856).</li>
7861
7862 <li>further extend initialization for active-icon font to check
7863 if the font was not loaded successfully, to retry with
7864 <code>font1</code>, or as even (if TrueType fonts are used) to
7865 use a TrueType font. The retries are to help with cases as in
7866 <a href="#xterm_241">patch #241</a> where the bitmap fonts are
7867 not available.</li>
7868
7869 <li>fix special case of active-icon used when TrueType font is
7870 specified for the xterm window, from <a href="#xterm_261">patch
7871 #261</a> change. In that case, the default font's size was used
7872 for layout of the active icon's window (Debian #591265).</li>
7873 </ul>
7874
7875 <h1><a name="xterm_262" id="xterm_262">Patch #262 - 2010/8/30</a></h1>
7876
7877 <ul>
7878 <li>fix a case where changing the cursor color via escape
7879 sequences did not immediately update the screen (report by
7880 Andreas Wagner).</li>
7881
7882 <li>implement ANSI and DEC request-mode control sequences. The
7883 latter includes the xterm-specific private modes such as the
7884 mouse mode. The feature is ifdef'd with the rectangle
7885 operations since its decoding overlaps that feature.</li>
7886
7887 <li>correct typo in ctlseqs.ms for response of OSC 21 (patch by
7888 Kevin Schoedel).</li>
7889
7890 <li>improve discussion of mouse tracking in ctlseqs.ms</li>
7891
7892 <li>increase an array limit used in reporting mouse events
7893 (report by Ryan Johnson).</li>
7894
7895 <li>add extended mouse-coordinates mode, allowing up to
7896 2015x2015 windows, using UTF-8 encoding (patch by Ryan
7897 Johnson).</li>
7898
7899 <li>modify manpage hyphens to conform with <a href=
7900 "http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html">
7901 Debian</a>.</li>
7902 </ul>
7903
7904 <h1><a name="xterm_261" id="xterm_261">Patch #261 - 2010/6/28</a></h1>
7905
7906 <ul>
7907 <li>fix regression in <code>renderFont</code> logic, from
7908 <a href="#xterm_260">patch #260</a> changes (report by Joseph
7909 Quinsey).</li>
7910 </ul>
7911
7912 <h1><a name="xterm_260" id="xterm_260">Patch #260 - 2010/6/20</a></h1>
7913
7914 <ul>
7915 <li>modify <code>plink.sh</code> to work around problem linking
7916 to recent PCRE libraries.</li>
7917
7918 <li>extend <code>renderFont</code> resource to allow deferred
7919 switch to TrueType fonts without affecting existing resource
7920 settings (Debian #585620).</li>
7921
7922 <li>modify configure macro CF_X_TOOLKIT to work around omission
7923 of ICE library from ".pc" file (report by Miroslav
7924 Lichvar).</li>
7925
7926 <li>change configure script default for
7927 <code>--enable-broken-st</code> i.e., the
7928 <code>brokenStringTerm</code> feature) to normally enable it.
7929 If the corresponding resource is enabled, this feature
7930 eliminates an apparent freeze of xterm when sending mis-encoded
7931 data to the screen (Debian #584801).</li>
7932
7933 <li>document in manpage some actions which were overlooked:
7934 <ul>
7935 <li>readline-button</li>
7936
7937 <li>scroll-lock</li>
7938
7939 <li>set-8-bit-control</li>
7940 </ul>
7941 </li>
7942
7943 <li>undo a change to limit-check in <code>ScrnRefresh</code> in
7944 <a href="#xterm_257">patch #257</a>, which broke
7945 <code>fastScroll</code> feature (Debian #584841).</li>
7946
7947 <li>modify handling of <code>brokenLinuxOSC</code> and
7948 <code>brokenStringTerm</code> to also sound the bell.</li>
7949
7950 <li>add control/D and control/Q to controls which will cause
7951 early exit from control string per
7952 <code>brokenStringTerm</code> resource.</li>
7953
7954 <li>improve documentation of <code>brokenStringTerm</code>
7955 resource in manpage.</li>
7956 </ul>
7957
7958 <h1><a name="xterm_259" id="xterm_259">Patch #259 - 2010/6/5</a></h1>
7959
7960 <ul>
7961 <li>modify configure check for <a href=
7962 "https://invisible-island.net/luit/">luit</a> to include new
7963 aliases for the program (<code>xterm-filter</code> and
7964 <code>bluit</code>).</li>
7965
7966 <li>add workaround in <code>xtermClearLEDs()</code> to account
7967 for Xkb's override, making vttest's LED demo reset the scroll
7968 lock.</li>
7969
7970 <li>filter out client-message events when deciding whether to
7971 hide cursor, e.g., when using SCIM (patch/report by anonymous
7972 user).</li>
7973
7974 <li>improve description of <code>-bd</code> option in manpage
7975 (report by Guy Daniel Clotilde).</li>
7976
7977 <li>modify configure checks for PCRE and other libraries to use
7978 <code>pkg-config</code>, if available.</li>
7979
7980 <li>amend change from <a href="#xterm_252">patch #252</a>, to
7981 take <code>veryColorColors</code> resource into account when
7982 checking <code>colorBDMode</code> resource for TrueType fonts
7983 (report by anonymous user).</li>
7984
7985 <li>add <code>vttests/query-fonts.pl</code> script for
7986 demonstrating the <code>OSC&nbsp;50</code> font query.</li>
7987
7988 <li>improve manpage discussion of Scroll Lock feature.</li>
7989
7990 <li>improve configure macros CF_GCC_VERSION and
7991 CF_GCC_WARNINGS.</li>
7992
7993 <li>fix warnings for "clang --analyze".</li>
7994
7995 <li>change default for <code>allowScrollLock</code> resource to
7996 <code>false</code>, noting that the supposedly unused key has
7997 been useful for various rebindings (Debian #580946).</li>
7998 </ul>
7999
8000 <h1><a name="xterm_258" id="xterm_258">Patch #258 - 2010/5/1</a></h1>
8001
8002 <ul>
8003 <li>add pointer-checks in <code>ScrnRefresh</code> to fix a
8004 case in rapid scrolling where an empty record is fetched from
8005 the scrollback FIFO.</li>
8006 </ul>
8007
8008 <h1><a name="xterm_257" id="xterm_257">Patch #257 - 2010/4/22</a></h1>
8009
8010 <ul>
8011 <li>correct ctlseqs.ms description of OSC 17 and OSC 19 (patch
8012 by Emanuele Giaquinta).</li>
8013
8014 <li>corrected logic for <code>menuLocale</code> resource; the
8015 <code>setlocale</code> function returns the original locale
8016 only when querying.</li>
8017
8018 <li>improve filtering of translations resource, narrowing the
8019 scope of the <code>alwaysUseMods</code> to address only the
8020 translations that would cause a key to be sent to the host
8021 (report by Andrew Gaylard).</li>
8022
8023 <li>change default value of <code>menuLocale</code> resource to
8024 "C", to work around longstanding <a href=
8025 "https://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg
8026 bug</a>.</li>
8027
8028 <li>modify handling of <code>scrollKey</code> feature to ignore
8029 XON/XOFF keys.</li>
8030
8031 <li>implement scroll-lock feature.</li>
8032
8033 <li>revise memory allocation in UTF8toLatin1() to fix an
8034 out-of-bounds index (Mandriva #54531).</li>
8035
8036 <li>compute value for first wide-character rather than assuming
8037 it is 256, fixes problem with <code>-cjk_width</code>
8038 introduced in patches <a href="#xterm_242">242</a> and <a href=
8039 "#xterm_249">249</a> (report by Thomas Wolff).</li>
8040
8041 <li>improve configure script:
8042 <ul>
8043 <li>corrected check for <code>_XOPEN_SOURCE</code> for
8044 OpenSolaris.</li>
8045
8046 <li>when possible, add rpath option for libraries in
8047 unusual places</li>
8048
8049 <li>add configure option <code>--disable-rpath-hack</code>
8050 to control whether the rpath option can be added.</li>
8051 </ul>
8052 </li>
8053
8054 <li>modify <code>AllocateTermColor()</code> to separate
8055 initialization from control sequences, fixing problem from
8056 <a href="#xterm_254">patch #254</a> changes where enabling
8057 <code>allowSendEvents</code> resource prevents setting cursor
8058 color on command-line (Debian #572928).</li>
8059
8060 <li>amend logic from <a href="#xterm_185">patch #185</a> to not
8061 reallocate cell-array if processing
8062 <code>ESC&nbsp;%&nbsp;G</code> to switch from UTF-8 if already
8063 in ISO-8859-1 character set (report by Michael Koehne).</li>
8064
8065 <li>fix to avoid calling <code>XmuInternStrings()</code> with
8066 zero count (report by Johan Bockg&aring;rd).</li>
8067
8068 <li>fix build when --disable-ansi-color configure option is
8069 used.</li>
8070
8071 <li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is
8072 defined (patch by Matthieu Herrb)</li>
8073 </ul>
8074
8075 <h1><a name="xterm_256" id="xterm_256">Patch #256 - 2010/3/6</a></h1>
8076
8077 <ul>
8078 <li>add TerminalEmulator to desktop category files.</li>
8079
8080 <li>modify <code>sinstall.sh</code> to ignore the "." appended
8081 to permissions by selinux.</li>
8082
8083 <li>change app-defaults organization, installing UXTerm-color
8084 and KOI8XTerm-color for consistent behavior regarding
8085 <code>customization:&nbsp;color</code> (prompted by discussion
8086 in Ubuntu #421261).</li>
8087
8088 <li>fix typo in <code>minstall.sh</code> from <a href=
8089 "#xterm_255">patch #255</a> changes, and add case for
8090 <code>/var/run</code> needed for full path of utmp (report by
8091 Julien Cristau).</li>
8092
8093 <li>minor fix to xterm manpage, remove a comment stating that
8094 margin bell can be changed via the VT Options menu. That was
8095 replaced in <a href="#xterm_225">patch #225</a></li>
8096
8097 <li>add a "docs" rule to makefile.</li>
8098
8099 <li>fix initialization of Atom used for <code>XkbBell</code>
8100 feature from <a href="#xterm_243">patch 243</a> changes. Unlike
8101 the other calls to <code>XInternAtom()</code>, in this case the
8102 flag telling X to create the Atom was unset (patch by Chris
8103 Adams).</li>
8104 </ul>
8105
8106 <h1><a name="xterm_255" id="xterm_255">Patch #255 - 2010/1/21</a></h1>
8107
8108 <ul>
8109 <li>rename <code>install.sh</code> to <code>install-sh</code>
8110 in case suffix-rules might interfere.</li>
8111
8112 <li>extend range for <code>convertToUTF8</code> function to
8113 full 31-bits, to use with printing, etc.</li>
8114
8115 <li>improve manpage by checking for actual locations of
8116 utmp/wtmp files (Debian #562640).</li>
8117
8118 <li>modify configure macro CF_XOPEN_SOURCE to remove -D's
8119 before adding the same name rather than relying on -U's, to
8120 reduce redefinition warnings for some platforms that have
8121 conflicting definitions in headers.</li>
8122
8123 <li>correct logic used to switch to alternate screen using
8124 FIFO-lines configuration (Debian #565772).</li>
8125
8126 <li>update config.guess, config.sub</li>
8127 </ul>
8128
8129 <h1><a name="xterm_254" id="xterm_254">Patch #254 - 2010/1/6</a></h1>
8130
8131 <ul>
8132 <li>add a configure-check to eliminate <code>install-ti</code>
8133 rule from Makefile when the system has no tic (terminfo
8134 compiler) program. This lets one use the
8135 <code>install-full</code> rule more consistently.</li>
8136
8137 <li>amend change to WriteText() function in <a href=
8138 "#xterm_252">patch #252</a> to take into account the
8139 <code>colorAttrMode</code> resource (report by Krzysztof
8140 Kotlenga).</li>
8141
8142 <li>document <code>titleModes</code> resource in manpage, added
8143 in <a href="#xterm_252">patch #252</a>.</li>
8144
8145 <li>modify tcap-query table entries for shifted up/down cursor
8146 keys to match ncurses convention.</li>
8147
8148 <li>improve lookup of termcap-query data, allowing for
8149 duplicate keycodes versus missing entries.</li>
8150
8151 <li>add control sequence which can be used to modify the
8152 terminal data used for the termcap-keyboard.</li>
8153
8154 <li>improve portability of tcap-query feature, using terminfo
8155 functions in preference to termcap on systems having
8156 terminfo.</li>
8157
8158 <li>improve font-setting/querying control
8159 (<code>OSC&nbsp;50</code>):
8160 <ul>
8161 <li>when TrueType font is selected, the TrueType
8162 <code>faceName</code> will be set, rather than the bitmap
8163 font.</li>
8164
8165 <li>when TrueType font is selected, querying returns the
8166 name of the TrueType font.</li>
8167
8168 <li>querying a font recognizes the relative-font convention
8169 that setting a font could use.</li>
8170 </ul>
8171 </li>
8172
8173 <li>add menu-entry for allowColorOps.</li>
8174
8175 <li>add new resources for fine-tuning menu entries:
8176 <code>allowColorOps</code>, <code>disallowedColorOps</code>,
8177 <code>disallowedFontOps</code> and
8178 <code>disallowedTcapOps</code>.</li>
8179
8180 <li>correct logic for disabling the "TrueType Fonts" menu item;
8181 it was not ensuring that the <code>faceName</code> resource
8182 value was non-empty.</li>
8183
8184 <li>implement VT520-style controls <code>DECSMBV</code> and
8185 <code>DECSWBV</code> for setting the margin- and warning-bell
8186 volume.</li>
8187
8188 <li>fix a minor error from <a href="#xterm_243">patch #243</a>
8189 which made the zIconBeep feature use a minor-error tone rather
8190 than an informational tone.</li>
8191
8192 <li>add a null-pointer check for the case where
8193 <code>renderFont</code> resource is true, but
8194 <code>faceName</code> resource is unset, used in logic to strip
8195 "xft:" prefix from <a href="#xterm_251">patch #251</a> changes
8196 (patch by Michael Riepe).</li>
8197
8198 <li>add special case to configure CF_XOPEN_SOURCE macro to use
8199 extensions on Darwin (patch by Dennis Preiser).</li>
8200
8201 <li>improve configure checks for regular expressions header and
8202 library</li>
8203
8204 <li>update config.guess, config.sub</li>
8205 </ul>
8206
8207 <h1><a name="xterm_253" id="xterm_253">Patch #253 -
8208 2009/12/10</a></h1>
8209
8210 <ul>
8211 <li>add a null-pointer check in <code>getPrinterFlags()</code>
8212 per changes in <a href="#xterm_252">patch #252</a>.</li>
8213
8214 <li>add a null-pointer check, needed in UTF-8 mode for Xft
8215 fonts after changes in <a href="#xterm_252">patch #252</a>
8216 (patch by Alan Coopersmith).</li>
8217
8218 <li>correct size when clearing struct for tek4014 (patch by
8219 Jochen Voss).</li>
8220
8221 <li>parenthesize expression in <code>MoreRows</code> macro,
8222 fixing a limit check added in <a href="#xterm_251">patch
8223 #251</a> (Debian #560039).</li>
8224 </ul>
8225
8226 <h1><a name="xterm_252" id="xterm_252">Patch #252 - 2009/12/7</a></h1>
8227
8228 <ul>
8229 <li>modify title-querying logic to support retrieval of titles
8230 encoded using UTF-8.</li>
8231
8232 <li>add new "title-modes" control sequence for controlling
8233 whether window/icon titles can be set or queried using UTF-8,
8234 optionally encoded in a hexadecimal string.</li>
8235
8236 <li>use <code>mkdir&nbsp;-p</code> rather than
8237 <code>mkdirs.sh</code> (prompted by discussion of mawk by
8238 Aleksey Cheusov).</li>
8239
8240 <li>add appropriate copyright/license notices to the bulk of
8241 files lacking same, and modify to use identical terms in others
8242 which used different wording. The main exceptions are the files
8243 contributed by Markus Kuhn, who appears to prefer public domain
8244 distribution, noting that I have modified/improved several of
8245 these without changing the terms of distribution (request by
8246 Jari Aalto).</li>
8247
8248 <li>add control sequences for resetting the "dynamic" colors to
8249 their default values.</li>
8250
8251 <li>add control sequences for resetting the "special" colors to
8252 their default values.</li>
8253
8254 <li>add control sequences for setting the "special" colors such
8255 as <code>colorBD</code> (bold).</li>
8256
8257 <li>add overlooked case for setting highlight foreground color
8258 with the dynamic-colors control.</li>
8259
8260 <li>add <code>OSC 104</code>, for resetting ANSI/16/88/256
8261 colors to default.</li>
8262
8263 <li>reset ANSI/16/88/256 colors to default in soft/hard reset
8264 functions.</li>
8265
8266 <li>strip "xft:" prefix from <code>faceName</code> and
8267 <code>faceNameDoublesize</code> resource values,</li>
8268
8269 <li>add <code>DECSCUSR</code> (discussion with Andy
8270 Koppe).</li>
8271
8272 <li>add check/warning on failure to load font, to see if the
8273 name looks like an Xft pattern rather than XLFD. This can
8274 happen if someone happens to modify their X resource settings
8275 for programs that read data from xterm's namespace.</li>
8276
8277 <li>modify handling of <code>print</code> and
8278 <code>print-everything</code> actions to allow the various
8279 printer flags to be overridden by supplying parameters.</li>
8280
8281 <li>add resource <code>printerNewLine</code> (request by Ovidiu
8282 Gheorghioiu).</li>
8283
8284 <li>minor cleanup, finish using <code>TScreenOf()</code> and
8285 <code>TekScreenOf()</code> macros introduced in <a href=
8286 "#xterm_224">patch #224</a>.</li>
8287
8288 <li>improve checks in ShowCursor/HideCursor to get the
8289 background color, particularly when
8290 <code>highlightReverse</code> resource is used (reports by Jan
8291 Engelhardt, Christian Weisgerber).</li>
8292
8293 <li>correct <code>checkVeryBoldAttr</code> to omit comparison
8294 of foreground color to special color values used for
8295 <code>color&lt;XX&gt;</code> resources (report by Jan
8296 Engelhardt).</li>
8297
8298 <li>make <code>colorBDMode</code> and <code>colorULMode</code>
8299 resources work with TrueType configuration (report by Jan
8300 Engelhardt).</li>
8301 </ul>
8302
8303 <h1><a name="xterm_251" id="xterm_251">Patch #251 -
8304 2009/11/11</a></h1>
8305
8306 <ul>
8307 <li>add window-ops controls to push/pop icon and/or window
8308 labels on a stack.</li>
8309
8310 <li>minor fixes to align termcap file with terminfo.</li>
8311
8312 <li>add resource <code>disallowedWindowOps</code>, to allow
8313 fine-tuning of features to suppress with the
8314 <code>allowWindowOps</code> resource (prompted by discussion
8315 with Bram Moolenaar).</li>
8316
8317 <li>add makefile rules for resize-manpage to pdf, etc.</li>
8318
8319 <li>further improve limit-checks in select/paste (Mandriva
8320 #54531).</li>
8321 </ul>
8322
8323 <h1><a name="xterm_250" id="xterm_250">Patch #250 -
8324 2009/10/13</a></h1>
8325
8326 <ul>
8327 <li>add check and error-message for fonts that have no
8328 printable values in the ISO-8859-1 range (Debian #542434).</li>
8329
8330 <li>some compiler-warning cleanup, in particular workaround for
8331 defective implementation of gcc's attribute warn_unused_result
8332 (report by Bram Moolenaar).</li>
8333
8334 <li>improve estimate of single-column width for packed TrueType
8335 fonts by ignoring extents for codes 127 and 159.</li>
8336
8337 <li>improve line-drawing for TrueType fonts which happen to
8338 have defined glyphs which are <em>not</em> line-drawing in
8339 0..31 by assuming they're not, and just checking the existence
8340 of the Unicode codepoints. This makes it more likely that the
8341 user can override a misconfigured font using the "Line-Drawing
8342 Characters" menu entry.</li>
8343
8344 <li>limit minimum cell-width for packed font to maximum-advance
8345 reported by Xft. Some fonts are wider than that, even in the
8346 Latin-1 range (Debian #550497).</li>
8347
8348 <li>add list of direct-contributors in "THANKS" file.</li>
8349
8350 <li>stylistic changes to this file to help scripted extraction
8351 of list of contributors.</li>
8352
8353 <li>correct off-by-one in <code>okPosition</code> fix from
8354 <a href="#xterm_249">patch #249</a> limit-checks which
8355 prevented double-click selection on the bottom line of the
8356 screen (reports by Rajeev V. Pillai, Debian #550368).</li>
8357
8358 <li>add <code>-q</code> option to
8359 <code>vttests/256colors2.pl</code> and
8360 <code>vttests/88colors2.pl</code> to demonstrate bulk
8361 initialization of color palette.</li>
8362
8363 <li>improve the workaround from patch #188 by enabling
8364 resources for the 88-color model.</li>
8365
8366 <li>document in xterm manpage the limited availability of
8367 resources <code>color16</code> to <code>color255</code> as
8368 noted in <a href="#xterm_188">patch #188</a> (Ubuntu
8369 #438850).</li>
8370 </ul>
8371
8372 <h1><a name="xterm_249" id="xterm_249">Patch #249 - 2009/10/1</a></h1>
8373
8374 <ul>
8375 <li>change default for <code>allowWindowOps</code> resource to
8376 false.
8377 <!-- on the other hand, gnome-terminal, pterm and rxvt-unicode
8378 leave most of the related functionality enabled ;-) --></li>
8379
8380 <li>add limit-checks for result of visual_width() function,
8381 needed from <a href="#xterm_242">patch #242</a> and exposed by
8382 #244 changes (Debian #548321).</li>
8383
8384 <li>improve limit-checks in select/paste.</li>
8385
8386 <li>fix a remaining bug from <a href="#xterm_230">patch
8387 #230</a> changes for displaying multi-column characters in a
8388 proportional font (report by Chris Jones).</li>
8389
8390 <li>add new resource forcePackedFont and menu entry "Packed
8391 Font" to control whether to use the font's minimum (default) or
8392 maximum width when those differ. The workaround which xterm
8393 uses to accommodate proportional fonts is not necessary with
8394 certain fonts such as unifont which happen to store a mixture
8395 of multicolumn glyphs (report by Chris Jones).</li>
8396
8397 <li>fix an (old) bug which did not restart the timer for
8398 blinking text if the only blinking text was temporarily
8399 scrolled out of view, e.g., using the scrollbar.</li>
8400
8401 <li>fix an (old) flaw in the delete-line operation where the
8402 text which is scrolled into view while the display is scrolled
8403 up was not repainted.</li>
8404
8405 <li>improve delete-line and insert-line operations, retaining
8406 selection when the selection does not intersect the
8407 deleted/inserted lines.</li>
8408
8409 <li>fix an (old) off-by-one error when an application cleared
8410 above the cursor position while the display was scrolled up,
8411 that would leave an extra line of text uncleared.</li>
8412
8413 <li>fix a similar problem where the double-size attribute would
8414 not be reset when clearing the screen while the display was
8415 scrolled up.</li>
8416
8417 <li>fix an indexing error which would occur if an application
8418 cleared a line while the display was scrolled up and was also
8419 in UTF-8 mode (Redhat #524503). The error was from <a href=
8420 "#xterm_228">patch #228</a> but more visible after changes from
8421 <a href="#xterm_244">patch #244</a>.</li>
8422 </ul>
8423
8424 <h1><a name="xterm_248" id="xterm_248">Patch #248 - 2009/9/11</a></h1>
8425
8426 <ul>
8427 <li>fix an overlooked adjustment for selecting double-width
8428 characters in the narrow-character configuration.</li>
8429
8430 <li>eliminate uses of <code>XTERM_CELL</code> and
8431 <code>XTERM_CELLC</code> where an appropriate
8432 <code>LineData</code> pointer is available.</li>
8433
8434 <li>correct expression in <code>okScrnRow</code> macro, making
8435 selections give the length of lines below the visible screen
8436 (report by Stuart Henderson).</li>
8437
8438 <li>correct logic used to improve performance of missing-glyph
8439 check, which did not handle line-drawing characters (Debian
8440 #545220).</li>
8441 </ul>
8442
8443 <h1><a name="xterm_247" id="xterm_247">Patch #247 - 2009/8/30</a></h1>
8444
8445 <ul>
8446 <li>add ifdef's and check for openpty() on DragonFly (patch by
8447 Alex Hornung).</li>
8448
8449 <li>correct calculation for size of line's data block, which
8450 was sometimes off-by-one when configured using
8451 <code>--enable-16bit-chars</code> (report by H Merijn
8452 Brand).</li>
8453
8454 <li>fix indexing error in print-everything feature from
8455 <a href="#xterm_246">patch #246</a> (patch by Ovidiu
8456 Gheorghioiu).</li>
8457 </ul>
8458
8459 <h1><a name="xterm_246" id="xterm_246">Patch #246 - 2009/8/16</a></h1>
8460
8461 <ul>
8462 <li>remove obsolete logic for saving/restoring wrapping flags,
8463 which did not work on 64-bit platform. Wrapping flags (stored
8464 in the line-index) are now copied with line-data (Debian
8465 #541160).</li>
8466
8467 <li>modify comments in app-defaults files to avoid problem with
8468 C preprocessor used by <code>xrdb</code> (Debian #541603).</li>
8469
8470 <li>restore special case in <code>makeColorPair</code>, needed
8471 for <code>colorBDMode</code> resource (Debian #541089).</li>
8472
8473 <li>correct <code>SetLineFlags()</code> macro, broken in
8474 <a href="#xterm_244">patch #244</a> when recoding to avoid
8475 gcc-specific bitfields (Debian #541236).</li>
8476
8477 <li>modify initialization of screen buffers to ensure that
8478 pointers align to int-boundaries. This fixes a problem
8479 introduced in <a href="#xterm_244">patch #244</a> where the
8480 color- and character-arrays (stored after the video-attributes
8481 in each row) might be misaligned (report by Rajeev V
8482 Pillai).</li>
8483
8484 <li>add limit-check in <code>ScrnRefresh</code> for handling
8485 saved-lines from the circular buffer which are repainted on a
8486 screen whose width has increased. To improve performance,
8487 circular buffer entries are not resized (report by Rajeev V
8488 Pillai).</li>
8489
8490 <li>correct type for <code>CellColor</code> (a late change in
8491 <a href="#xterm_244">patch #244</a> to avoid gcc-specifc enums
8492 made that unsigned rather than unsigned short, for the
8493 256-color option).</li>
8494
8495 <li>fix typo in configure option --enable-16bit-chars (report
8496 by Rajeev V. Pillai).</li>
8497 </ul>
8498
8499 <h1><a name="xterm_245" id="xterm_245">Patch #245 - 2009/8/12</a></h1>
8500
8501 <ul>
8502 <li>correct a special case in saving FIFO-lines from <a href=
8503 "#xterm_244">patch #244</a>. If the screen was shrunk, xterm
8504 used the wrong amount for copying to FIFO-lines, and then used
8505 this amount to adjust the current row on the screen. That was
8506 both a visible defect (Debian #541109) as well as a potential
8507 addressing error (Debian #541132, Debian #541160, and Debian
8508 #541236).</li>
8509
8510 <li>add clarification in xterm manual about the various
8511 <code>allow<em>XXX</em>Ops</code> resources, which are disabled
8512 when the <code>allowSendEvents</code> resource is active (patch
8513 by Julien Cristau, Debian #531597).</li>
8514 </ul>
8515
8516 <h1><a name="xterm_244" id="xterm_244">Patch #244 - 2009/8/9</a></h1>
8517
8518 <ul>
8519 <li>refactored storage of saved-lines, providing a configure
8520 option to manage them as a FIFO (actually a circular buffer),
8521 improving performance. Added configure option
8522 <code>--enable-fifo-lines</code> to enable/disable the new
8523 feature (it is enabled by default).</li>
8524
8525 <li>added <code>fastScroll</code> resource, to amuse people who
8526 measure terminal emulator performance by <code>cat</code>'ing
8527 large files to the screen.</li>
8528
8529 <li>modify check in <code>readPtyData</code> from return values
8530 to provide exit on zero-bytes read from pty for FreeBSD, or
8531 eliminate high-CPU in "xterm-hold" processing (discussion with
8532 Ulrich Spoerlein, FreeBSD ports/136686). The check was
8533 originally modified to combine negative/zero values in
8534 XFree86-3.1.2E, 1996/05/06.</li>
8535
8536 <li>add configure option <code>--enable-16bit-chars</code> to
8537 provide wide-characters with 16-bits (rather than the default
8538 32-bits).</li>
8539
8540 <li>add <code>retryInputMethod</code> resource to allow
8541 configuring out the retries xterm uses to connect to
8542 non-responsive XIM server, to work around defective X
8543 configurations as noted in <a href=
8544 "http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html">
8545 NetBSD mailing list</a>.</li>
8546
8547 <li>make regular-expression selection work for VT100
8548 double-sized characters.</li>
8549
8550 <li>improve layout when drawing missing characters in a
8551 proportional font, e.g., as boxes, to take into account whether
8552 they are double-width (report by Guilbert Stabilo on
8553 comp.unix.shell).</li>
8554
8555 <li>add capability for keypad-center (kb2/KA2) to termcap entry
8556 for xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220
8557 (FreeBSD conf/136336).</li>
8558
8559 <li>change default for <code>keepSelection</code> resource to
8560 true (prompted by discussion with David Muir Sharnoff).</li>
8561
8562 <li>remove a limit-check in ptydata.c, allowing Unicode values
8563 past 64k to be displayed using TrueType fonts (Debian
8564 #458432).</li>
8565
8566 <li>remove a vt52-specific ifdef to allow mapping F1-F4 to
8567 PF1-PF4 when vt52 support is not compiled (report by Olaf
8568 'Rhialto' Seibert).</li>
8569
8570 <li>save/restore line-wrapping flags when converting from
8571 ISO-8859-1 encoding to UTF-8 encoding, as well as when resizing
8572 screen.</li>
8573
8574 <li>remove extra adjustment of position in fix for Debian
8575 #418324.</li>
8576
8577 <li>modify default check for <code>mkWidth</code> resource to
8578 check for line-drawing characters, which are categorized as
8579 double-width in Solaris 10 (report by Sebastian Kayser).</li>
8580
8581 <li>add "print-everything" action (patch by Ovidiu
8582 Gheorghioiu).</li>
8583
8584 <li>start refactoring scrollback data using new getLineData()
8585 function.</li>
8586
8587 <li>demote recent change to Debian #252873 fix to experimental,
8588 ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141).</li>
8589
8590 <li>work around groff mapping of ASCII quotes using macros
8591 (requested by Reuben Thomas based on Colin Watson advice, fixes
8592 Debian #378700).</li>
8593
8594 <li>correct symbol used for default of
8595 <code>allowWindowOps</code> which was
8596 <code>DEF_ALLOW_FONT</code> rather than
8597 <code>DEF_ALLOW_WINDOW</code> (report by Matthieu Herrb).</li>
8598
8599 <li>amend fix for tek4014 from <a href="#xterm_243">patch
8600 #243</a> to make it only apply to the Tek Options menu.</li>
8601 </ul>
8602
8603 <h1><a name="xterm_243" id="xterm_243">Patch #243 - 2009/3/28</a></h1>
8604
8605 <ul>
8606 <li>revert change to default for <code>allowTcapOps</code>
8607 (request by Bram Moolenaar).</li>
8608
8609 <li>reallocate result returned by <code>xtermEnvLocale()</code>
8610 to avoid reference to freed memory after handling
8611 <code>menuLocale</code> resource.</li>
8612
8613 <li>fix an old (X11R5) bug in tek4014 for switching
8614 fontsizes.</li>
8615
8616 <li>add resource <code>defaultString</code> to make
8617 configurable the use of "#" when pastes of UTF-8 text fail due
8618 to limitations in the current locale settings.</li>
8619
8620 <li>make the set of selection target Atom's configurable by two
8621 new resources <code>eightBitSelectTypes</code> and
8622 <code>utf8SelectTypes</code>, e.g., to use the
8623 <code>TEXT</code> Atom in preference to
8624 <code>UTF8_STRING</code> (discussion with Stanislav Sedov
8625 regarding koi8rxterm and the FreeBSD port).</li>
8626
8627 <li>modify handling of <code>TARGETS</code> Atom by making it
8628 return exactly the set of targets as those which xterm is
8629 currently providing.</li>
8630
8631 <li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly
8632 to /bin/cat in <code>minstall.sh</code> to work around
8633 /etc/man.conf's with those variables already set (report by
8634 &#1052;&#1072;&#1088;&#1100;&#1103;&#1089;&#1080;&#1085;
8635 &#1057;&#1077;&#1084;&#1105;&#1085;).</li>
8636
8637 <li>improve error-checking of tcap-query parser.</li>
8638
8639 <li>add check for keyboard <code>tcap</code>), which ensures
8640 that terminal descriptions containing the same string for
8641 shifted/unshifted keys will be seen by tcap-query as only the
8642 unshifted key. (This would only happen with an incorrect
8643 terminal description).</li>
8644
8645 <li>fix conversion for input event-state to modifier-parameter
8646 which made tcap-query feature not work with
8647 <code>tcapFunctionKeys</code> (keyboard type
8648 <code>tcap</code>).</li>
8649
8650 <li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow
8651 overriding the default compiled-in values for
8652 "allow<em>xxx</em>" resources.</li>
8653
8654 <li>remove check on bell-percentage added in <a href=
8655 "#xterm_242">patch #242</a>, which disallowed zero/negative
8656 values (Redhat Bugzilla #487829).</li>
8657 </ul>
8658
8659 <h1><a name="xterm_242" id="xterm_242">Patch #242 - 2009/2/15</a></h1>
8660
8661 <ul>
8662 <li>fix configure check for <code>XkbBell</code> and provide
8663 appropriate parameter for it.</li>
8664
8665 <li>fix a caching problem with double-size fonts versus reverse
8666 video that could cause core dump.</li>
8667
8668 <li>repair double-size fonts from workaround used in <a href=
8669 "#xterm_240">patch #240</a>.</li>
8670
8671 <li>add new section to the VT Fonts menu which allows enabling
8672 or disabling the font, termcap (tcap-query), title and window
8673 operations.</li>
8674
8675 <li>add <code>fontWarnings</code> resource, to control whether
8676 to show warnings on failure to load a font.</li>
8677
8678 <li>improve warnings for unloadable fonts introduced in
8679 <a href="#xterm_240">patch #240</a> by limiting those to the
8680 cases where a font would be specified directly by a resource
8681 setting rather than a derived fontname.</li>
8682
8683 <li>further amend fix for Debian #252873 from <a href=
8684 "#xterm_197">patch #197</a> to treat a blank cell which does
8685 not have both foreground and background colored as a
8686 non-colored cell. This improves a special case where the cursor
8687 is on a blank cell which had foreground color scrolled in
8688 (report by Miroslav Lichvar).
8689 <p>Also add the same logic when hiding cursor, so the outline
8690 matches the in-focus cursor.</p>
8691 </li>
8692
8693 <li>modify internals to reduce places PAIRED_CHARS() is used,
8694 making WriteText() and ScrnWriteText() accept IChar array, as
8695 well as providing a wrapper for drawXtermText().</li>
8696
8697 <li>change default XIM font from "*" to "fixed" to improve
8698 startup time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla
8699 #464930).</li>
8700
8701 <li>typo in #240 log (Slava Semushin)</li>
8702 </ul>
8703
8704 <h1><a name="xterm_241" id="xterm_241">Patch #241 - 2009/1/26</a></h1>
8705
8706 <ul>
8707 <li>improve checks for missing bitmap fonts, fallback to
8708 "fixed" as needed to work around broken font-packages (report
8709 by Jacek Luczak).</li>
8710
8711 <li>fix breakage from <a href="#xterm_240">patch #240</a>
8712 changes for <code>xtermAddInput()</code> (patches by Jeff Chua,
8713 Julien Cristau).</li>
8714 </ul>
8715
8716 <h1><a name="xterm_240" id="xterm_240">Patch #240 - 2009/1/25</a></h1>
8717
8718 <ul>
8719 <li>use <code>plink.sh</code> for linking xterm (suggested by
8720 Larry Doolittle).</li>
8721
8722 <li>add resource descriptions for input method to xterm
8723 manpage.</li>
8724
8725 <li>update configure script; consistently append to $CFLAGS
8726 rather than prepend.</li>
8727
8728 <li>add <code>install-scripts</code> rule to makefile, to allow
8729 koi8rxterm and uxterm scripts to be altered independently of
8730 <code>install-bin</code></li>
8731
8732 <li>add <code>-maximized</code> command-line option and
8733 corresponding resource (prompted by alt.os.linux newsgroup
8734 comment).</li>
8735
8736 <li>modify translations of scrollbar widget using
8737 <code>xtermAddInput()</code> (see <a href="#xterm_181">patch
8738 #181</a>) to accept the actions that the vt100 widget accepts,
8739 such as shift-insert to perform a paste operation (request by
8740 Martin Zwickel).</li>
8741
8742 <li>change default for <code>allowTcapsOps</code> resource to
8743 false, since it causes unexpected behavior for vim users with
8744 <code>AltGr</code>.</li>
8745
8746 <li>update config.guess, config.sub</li>
8747 </ul>
8748
8749 <h1><a name="xterm_239" id="xterm_239">Patch #239 - 2009/1/8</a></h1>
8750
8751 <ul>
8752 <li>correct a cast in input.c, which broke translation of
8753 numeric keypad codes to pageup, pagedown, etc., on 64-bit
8754 platform (Debian #511138, report by Larry Doolittle).</li>
8755 </ul>
8756
8757 <h1><a name="xterm_238" id="xterm_238">Patch #238 -
8758 2008/12/30</a></h1>
8759
8760 <ul>
8761 <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint
8762 platforms.</li>
8763
8764 <li>reset the screen wrapping-flag at the end of
8765 <code>ClearRight</code> to fix an occasional case where the
8766 last character of a scrolled and wrapped line would be cleared
8767 (patch by Joe Peterson).</li>
8768
8769 <li>modify to use POSIX coding for comparing resource settings
8770 such as <code>locale</code>, to work with locales such as
8771 Turkish (report by M Vefa Bicakci).</li>
8772
8773 <li>turn on configure <code>paste64</code> feature by default
8774 (request by Jean-Philippe Bernardy). It is runtime
8775 enabled/disabled with <code>allowWindowOps</code>.</li>
8776
8777 <li>turn on configure <code>tcap-query</code> feature by
8778 default, add resource <code>allowTcapOps</code> to make this
8779 runtime enabled/disabled.</li>
8780
8781 <li>make <code>OSC 3</code> (change X property, from <a href=
8782 "#xterm_110">patch #110</a>) subject to
8783 <code>allowWindowOps</code> resource.</li>
8784
8785 <li>make VT220 <code>DSR</code> responses inactive in
8786 VT100-mode.</li>
8787
8788 <li>make <code>DECUDK</code> feature inactive in
8789 VT100-mode.</li>
8790
8791 <li>respond to incorrectly formatted <code>DECRQSS</code> with
8792 a cancel.</li>
8793
8794 <li>add <code>allowFontOps</code> resource to allow the
8795 fontsize-switching and font query/set control sequences to be
8796 enabled/disabled (prompted by Debian #510030).</li>
8797
8798 <li>some code cleanup based on gcc 4.x
8799 <code>-Wconversion</code> warnings in button.c and
8800 charproc.c</li>
8801
8802 <li>modify <code>tcap-query</code> feature to not return data
8803 for shifted cursor-keys when the keyboard type is set to vt220,
8804 since returning the same string for shifted/unshifted keys may
8805 confuse some applications (Gentoo #212546).</li>
8806 </ul>
8807
8808 <h1><a name="xterm_237" id="xterm_237">Patch #237 -
8809 2008/09/14</a></h1>
8810
8811 <ul>
8812 <li>improve usability of TrueType fonts by making the font-size
8813 switching for shifted keypad plus/minus use the
8814 <code>faceSize</code> resources to determine the order of fonts
8815 (when TrueType fonts are used) rather than the bitmap fonts,
8816 since their sizes may not be in the same order (report by H
8817 Merijn Brand)</li>
8818
8819 <li>remove an optimization of <code>ConfigureNotify</code>
8820 events from <a href="#xterm_236">patch #236</a> which seems to
8821 interfere with passing <code>SIGWINCH</code> to applications
8822 (Gentoo #233836).</li>
8823
8824 <li>modify handling of <code>altSendsEscape</code> to reset the
8825 <code>eightBitInput</code> mode, like
8826 <code>metaSendsEscape</code> (patch by Ted Phelps).</li>
8827
8828 <li>add feature to show the text-cursor as an underline rather
8829 than a box, plus command-line options <code>-uc</code> and
8830 <code>+uc</code> and resource <code>cursorUnderLine</code> to
8831 control the feature (patch by Paul Lampert).</li>
8832
8833 <li>update config.guess, config.sub</li>
8834 </ul>
8835
8836 <h1><a name="xterm_236" id="xterm_236">Patch #236 -
8837 2008/07/27</a></h1>
8838
8839 <ul>
8840 <li>correct memory reallocation when handling a paste of UTF-8
8841 text from <a href="#xterm_225">patch #225</a> changes
8842 (report/patch by Max Mikhanosha).</li>
8843
8844 <li>correct allocation of temporary buffer in
8845 <code>xtermFindShell</code> in case the user's
8846 <code>$PATH</code> contains no ":" (report/analysis by Victor
8847 Stinner, Freedesktop.Org Bugzilla #16790).</li>
8848
8849 <li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to
8850 fix new compile problem exposed by fix for fd_mask (patch by
8851 Hasso Tepper).</li>
8852
8853 <li>add configure-check for ncurses
8854 <code>use_extended_names</code>, (report by Martin
8855 Mokrejs).</li>
8856
8857 <li>correct computation for toolbar height; layout manager
8858 already takes into account <code>borderWidth</code>
8859 resource.</li>
8860
8861 <li>implement VT320-style SCS (select character set) for ISO
8862 Latin-1 supplemental.</li>
8863
8864 <li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu
8865 #230919).</li>
8866
8867 <li>fix to make <code>luit</code> work with xterm's
8868 <code>-ls</code> option (report/patch by Marius Tolzmann).</li>
8869
8870 <li>update config.guess, config.sub</li>
8871 </ul>
8872
8873 <h1><a name="xterm_235" id="xterm_235">Patch #235 -
8874 2008/04/20</a></h1>
8875
8876 <ul>
8877 <li>add control sequences for some of the recent resource/menu
8878 settings:
8879 <ul>
8880 <li><code>altSendsEscape</code> (private mode 1039)</li>
8881
8882 <li><code>keepSelection</code> (private mode 1040)</li>
8883
8884 <li><code>selectToClipboard</code> (private mode 1041)</li>
8885
8886 <li><code>bellIsUrgent</code> (private mode 1042)</li>
8887
8888 <li><code>popOnBell</code> (private mode 1043)</li>
8889 </ul>
8890 </li>
8891
8892 <li>add resource <code>formatOtherKeys</code> to provide an
8893 alternate escape sequence format for the
8894 <code>modifyOtherKeys</code> resource (request by Paul LeoNerd
8895 Evans).</li>
8896
8897 <li>adjust saved-cursor position if the window is resized while
8898 displaying the alternate screen (Novell #196880, Debian
8899 #383384).</li>
8900
8901 <li>improve pointer-checks to fix a bug exposed by resizing
8902 during initialization under StumpWM window manager (Fedora
8903 Bugzilla #437928).</li>
8904
8905 <li>modify <code>unselectwindow()</code> to ensure that the
8906 mouse pointer is not hidden after xterm loses focus (report by
8907 Jeremy Huddleston).</li>
8908
8909 <li>add special check for fd_mask on Mac OS X (report by Jeremy
8910 Huddleston).</li>
8911
8912 <li>add <code>dylib</code> to autoconf's suffix list used for
8913 checking the result from <code>xmkmf</code>, to work with Mac
8914 OS X (report by Jeremy Huddleston).</li>
8915
8916 <li>correct initialization of bold- and wide-, wide-bold fonts
8917 which may be set via the <code>utf8Fonts</code> subresource
8918 (Debian #347790).</li>
8919 </ul>
8920
8921 <h1><a name="xterm_234" id="xterm_234">Patch #234 -
8922 2008/03/02</a></h1>
8923
8924 <ul>
8925 <li>modify <code>sinstall.sh</code> to use POSIX locale to
8926 bypass GNU ls changes to date-format.</li>
8927
8928 <li>improved/refined changes for closing bitmap font (patch by
8929 Andrea Odetti).</li>
8930
8931 <li>improve resize computation for situations where the
8932 negotiation fails, by invoking the xterm widget's core-class
8933 resize method (Debian #365602, patch by Jim Paris).</li>
8934
8935 <li>restore initialization of terminal's <code>VMIN</code> and
8936 <code>VTIME</code> settings, from <a href="#xterm_232">patch
8937 #232</a> changes (patch by Matthieu Herrb).</li>
8938 </ul>
8939
8940 <h1><a name="xterm_233" id="xterm_233">Patch #233 -
8941 2008/02/24</a></h1>
8942
8943 <ul>
8944 <li>add configure check for <code>ttydefaults.h</code>, include
8945 if needed, e.g., for systems where defining
8946 <code>_POSIX_C_SOURCE</code>, etc., prevents it from being
8947 included via <code>termios.h</code> (prompted by comments by
8948 Robert Delius Royar and Jeremy Huddleston).</li>
8949
8950 <li>bug-fixes for bugs.opensolaris.org (patches from Alan
8951 Coopersmith)
8952 <dl>
8953 <dt>4029911</dt>
8954
8955 <dd>fix a typo in manpage</dd>
8956
8957 <dt>4045962</dt>
8958
8959 <dd>xterm doesn't properly set ut_syslen</dd>
8960
8961 <dt>4192572</dt>
8962
8963 <dd>left-left-right misinterpreted as triple click</dd>
8964 </dl>
8965 </li>
8966
8967 <li>minor optimization to tab-initialization (patch by
8968 N&eacute;meth M&aacute;rton).</li>
8969
8970 <li>fix a case where an incorrect font was freed during
8971 initialization from <a href="#xterm_232">patch #232</a> changes
8972 (patch by Andrea Odetti).</li>
8973
8974 <li>improve comparison used in <code>SameFont</code> function
8975 for GC-caching (Julien Cristau).</li>
8976
8977 <li>correct macro name used for default <code>CKILL</code>
8978 definition to work with Mac OS X (report by Jeremy
8979 Huddleston).</li>
8980 </ul>
8981
8982 <h1><a name="xterm_232" id="xterm_232">Patch #232 -
8983 2008/01/30</a></h1>
8984
8985 <ul>
8986 <li>corrected logic in a font-cache used for reverse-video
8987 (Debian #404079).</li>
8988
8989 <li>add control sequence to alter <code>pointerMode</code> at
8990 runtime.</li>
8991
8992 <li>add limit-checks for rectangle operation parameters (report
8993 by Martin Pirker).</li>
8994
8995 <li>modify <code>minstall.sh</code> to suppress
8996 <code>$MANPAGER</code> and <code>$PAGER</code> environment
8997 variables, which may interfere with redirecting output of
8998 <code>man</code> to a shell variable (report/patch by Zdenek
8999 Sekera).</li>
9000
9001 <li>do not try to hide mouse pointer in the tek4014 window,
9002 fixes broken "-t" option at startup from <a href=
9003 "#xterm_230">patch #230</a> changes (report by Robert K.
9004 Nelson).</li>
9005
9006 <li>correct datatype used when drawing tek4014 data using xterm
9007 compiled for wide-characters, on big-endian machines (reports
9008 by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel,
9009 Merle Reinhart).</li>
9010
9011 <li>modify to cache the font-names along with the bitmap font
9012 data, to improve comparison of fonts.</li>
9013
9014 <li>modify to allow building with configure options
9015 <code>--disable-ansi-color</code> and
9016 <code>--disable-leaks</code> (Debian #459817, report/patch by
9017 N&eacute;meth M&aacute;rton).</li>
9018
9019 <li>modify to allow building with configure options
9020 <code>--enable-wide-chars</code> and
9021 <code>--disable-c1-print</code> (Debian #459816, report/patch
9022 by N&eacute;meth M&aacute;rton).</li>
9023
9024 <li>add <code>pointerMode</code> resource to control whether
9025 and when the pointer cursor is hidden as the user types.</li>
9026
9027 <li>simplify initialization of ttyMode- and related characters
9028 using a table.</li>
9029
9030 <li>modify initialization-logic for stty values that correspond
9031 to ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp,
9032 rprnt flush, werase, lnext). These were reset to constants for
9033 both termios and legacy interfaces immediately after asking the
9034 system for the existing values since X11R6.1, rather than using
9035 them to provide inherited values. While the legacy interface
9036 has some constraints, e.g., on HPUX, the POSIX or termios
9037 interface should not. Your shell may reset these anyway
9038 (prompted by patch by Ed Schouten).</li>
9039
9040 <li>improve logic for hiding/displaying pointer-cursor (report
9041 by Mark Brukhartz).</li>
9042
9043 <li>add limit-checks to tabs.c, increase maximum column for
9044 setting tab-stops from 320 to 1024 (report by N&eacute;meth
9045 M&aacute;rton).</li>
9046
9047 <li>correct length, i.e., number of types of selection targets,
9048 computed by <code>ConvertSelection()</code> when not handling
9049 wide characters for the <code>XA_TARGETS()</code> case. This
9050 leaves an extra Atom on the end of the list which is not
9051 handled by <a href=
9052 "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java
9053 applications</a>. The problem was introduced in <a href=
9054 "#xterm_151">patch #151</a> (report by David Wood).</li>
9055 </ul>
9056
9057 <h1><a name="xterm_231" id="xterm_231">Patch #231 -
9058 2008/01/05</a></h1>
9059
9060 <ul>
9061 <li>undo change to <code>getXtermCell()</code> from patch #230
9062 using <code>PACK_PAIR</code> macro (Debian #459014, analysis by
9063 Caetano Jimenez Carezzato).</li>
9064
9065 <li>minor documentation fixes (patch by Slava Semushin)</li>
9066
9067 <li>add makefile actions to install KOI8RXTerm app-defaults
9068 file (patch by Julien Cristau).</li>
9069 </ul>
9070
9071 <h1><a name="xterm_230" id="xterm_230">Patch #230 -
9072 2007/12/31</a></h1>
9073
9074 <ul>
9075 <li>add <code>quietGrab</code> resource, which when true,
9076 suppresses cursor repainting when <code>NotifyGrab</code> and
9077 <code>NotifyUngrab</code> event types are received during
9078 change of focus (request by Nicolas George).</li>
9079
9080 <li>do not treat Unicode BIDI control characters as combining
9081 characters (Debian #457634).</li>
9082
9083 <li>add <code>koi8rxterm</code>, from Debian.</li>
9084
9085 <li>add manpage for <code>uxterm</code>, from Debian (Ubuntu
9086 #128136, Debian #438645)</li>
9087
9088 <li>remove ".xpm" suffixes from Icon filenames in desktop files
9089 since it confuses some lookups following the <a href=
9090 "http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">
9091 Icon Theme Specification</a> (report by Slava Semushin)</li>
9092
9093 <li>correct width-calculation used for adjusting proportional
9094 fonts, to work with wide-characters (Debian #441354).</li>
9095
9096 <li>fixes/improvements for double-size characters:
9097 <ul>
9098 <li>correct old clipping calculation which used total
9099 height of glyphs where ascent was needed.</li>
9100
9101 <li>if bold font is unavailable, fall back to normal
9102 font</li>
9103
9104 <li>adjust to "work" with Xft (which does not support
9105 double-width single-height characters).</li>
9106
9107 <li>restore reset of doublesize for a line when it is
9108 cleared, broken in <a href="#xterm_228">patch
9109 #228</a>.</li>
9110 </ul>
9111 </li>
9112
9113 <li>modify logic for <code>forceBoxChars</code> resource when
9114 using TrueType fonts to be consistent with bitmap fonts</li>
9115
9116 <li>modify logic for <code>forceBoxChars</code> resource to
9117 make the "Line-Drawing Characters" menu entry use xterm's
9118 line-drawing characters even asked to draw wide line-drawing
9119 characters which are available in the font.</li>
9120
9121 <li>modify rectangle-support functions to preserve colors when
9122 filling/erasing to match WRQ Reflection behavior (request by
9123 Enzo Toscano).</li>
9124
9125 <li>add getopt-parsing to tcapquery.pl, including feature to
9126 test the extended cursor/editing keys.</li>
9127
9128 <li>make missing double-width glyphs display as double-width
9129 (Debian #456236).</li>
9130
9131 <li>change <code>tcap-fkeys</code> and <code>rectangles</code>
9132 configure options to enable them by default.</li>
9133
9134 <li>hide the mouse pointer while user is typing (request by
9135 Rodolfo Borges).</li>
9136
9137 <li>extend configure options <code>--enable-tcap-query</code>
9138 and <code>--enable-tcap-fkeys</code> to send cursor- and
9139 editing-keypad keys modified according to the keyboard (or
9140 termcap) selection for shift, alt, control, meta.</li>
9141
9142 <li>modify <code>kdch1</code> in termcap, e.g.,
9143 <code>xterm-r6</code> to match the terminfo file.</li>
9144
9145 <li>add <code>-hm</code> option to turn
9146 <code>highlightColorMode</code> on or off.</li>
9147
9148 <li>add <code>highlightColorMode</code> resource to separate
9149 the new (since <a href="#xterm_225">patch #225</a>)
9150 highlighting with both text- and background-colors (prompted by
9151 report/example by Thomas Wolff).</li>
9152
9153 <li>add <em>Keep Selection</em> menu entry to turn the
9154 <code>keepSelection</code> resource on/off at runtime.</li>
9155
9156 <li>add <code>keepSelection</code> resource, which when
9157 enabled, tells xterm to retain the X selection even after it
9158 stops highlighting it (patch by Sergey Vlasov).</li>
9159
9160 <li>extend the <code>CSI&nbsp;&gt;&nbsp;n</code> sequence to
9161 allow disabling all types of modified-keys that the
9162 <code>CSI&nbsp;&gt;&nbsp;m</code> sequence affects.</li>
9163
9164 <li>move include for <code>&lt;xtermcap.h&gt;</code> in
9165 <code>resize.c</code> to avoid redefinition of
9166 <code>termios</code> structure on OpenSolaris (report by Rahul
9167 Gopinathan Nair).</li>
9168
9169 <li>extend terminfo building blocks for modified editing keys
9170 to include all six keys.</li>
9171
9172 <li>synchronize terminfo with ncurses (report by Stephane
9173 Chazelas)
9174 <ul>
9175 <li>equate <code>xterm-xfree86</code> and
9176 <code>xterm-xf86-v44</code>.</li>
9177
9178 <li>add ncurses extensions OTbs, AX, for termcap
9179 conversions.</li>
9180
9181 <li>make old/legacy entries such as <code>xterm-24</code>,
9182 <code>xterm-65</code> and aliases <code>xterms</code>,
9183 <code>vs100</code> inherit from
9184 <code>xterm-old</code>.</li>
9185
9186 <li>make <code>xterm-r5</code> and <code>xterm-r6</code>
9187 the same, ignoring historical errors in X Consortium's
9188 version.</li>
9189 </ul>
9190 </li>
9191
9192 <li>fix an ifdef in logic for selecting regular expressions
9193 while in a narrow-character locale (Debian #449227).</li>
9194 </ul>
9195
9196 <h1><a name="xterm_229" id="xterm_229">Patch #229 - 2007/8/12</a></h1>
9197
9198 <ul>
9199 <li>override locale in minstall.sh; change in <a href=
9200 "#xterm_226">patch #226</a> does not work in UTF-8 locale
9201 (report by Zdenek Sekera).</li>
9202
9203 <li>undo an incorrect fix for a memory leak in <a href=
9204 "#xterm_209">patch #209</a> (Debian #435858).</li>
9205 </ul>
9206
9207 <h1><a name="xterm_228" id="xterm_228">Patch #228 - 2007/7/22</a></h1>
9208
9209 <ul>
9210 <li>modify configure script to permit combining
9211 <code>--with-utempter</code> and <code>--enable-setuid</code>,
9212 e.g., for using xterm with the utempter library on FreeBSD
9213 (report by Andriy Gapon).</li>
9214
9215 <li>modify "Quit" menu entry to override the <code>-hold</code>
9216 command-line option.</li>
9217
9218 <li>add a check in the startup error-reporting to avoid writing
9219 to pipe when it has not been opened. In that case, report
9220 errors directly to the standard error.</li>
9221
9222 <li>add OPT_READLINE definition to xtermcfg.hin, overlooked in
9223 <a href="#xterm_205">patch #205</a> (report by Kalle Olavi
9224 Niemitalo).</li>
9225
9226 <li>modify <code>88colors2.pl</code> and
9227 <code>256colors2.pl</code>, adding <code>-r</code> option to
9228 reverse the palettes for the extended colors.</li>
9229
9230 <li>check for partial overwrite or deletion of multi-column
9231 characters in several cases, e.g., insert-character,
9232 delete-character, etc., and fill the remainder of the cells
9233 used by the multi-column characters affected with blanks.</li>
9234
9235 <li>correct character-class codes in wide-character mode for
9236 characters 215, 247 (see also <a href="#xterm_165">patch
9237 #165</a>).</li>
9238
9239 <li>fix missing assignment for UTF-8 parsing in widget
9240 initialization (Debian #403360).</li>
9241
9242 <li>correct index expression used to set line-wrapping flag,
9243 making selection from scrollback work consistently (Debian
9244 #430121, report by Vincent Lef&egrave;vre).</li>
9245
9246 <li>amend changes to handshake in <a href="#xterm_226">patch
9247 #226</a> to accommodate Solaris, which relies on the extra
9248 setting of the terminal size after I/O initialization. Do this
9249 by adding new resource <code>ptySttySize</code>, which is false
9250 for Linux and MacOS X, i.e., true for for Solaris and other
9251 SVR4 platforms, as well as FreeBSD (reports by David Wood,
9252 Renato Botelho).</li>
9253
9254 <li>check for X events after cursor-left, and carriage return,
9255 consistent with indexing operations (comments by Vegard Nossum
9256 and Ingo Molnar on a mailing-list).</li>
9257
9258 <li>initialize the <code>.keyboard</code> structure, needed for
9259 some platforms (such as Solaris) after <a href=
9260 "#xterm_227">patch #227</a> fixes for keysyms (patch by David
9261 Wood).</li>
9262
9263 <li>update config.guess, config.sub</li>
9264 </ul>
9265
9266 <h1><a name="xterm_227" id="xterm_227">Patch #227 - 2007/6/27</a></h1>
9267
9268 <ul>
9269 <li>exclude the Intel compiler from the extra gcc warning
9270 options added in <a href="#xterm_226">patch #226</a>.</li>
9271
9272 <li>modify change for Debian #422521 from <a href=
9273 "#xterm_226">patch #226</a> to work with configurations where
9274 the X server does not recognize the <code>XF86Paste</code> or
9275 <code>SunPaste</code> keysyms (report by Paolo Pumilia).</li>
9276
9277 <li>fix incorrect free in fix for "Selection" menu entry in
9278 <a href="#xterm_226">patch #226</a>.</li>
9279 </ul>
9280
9281 <h1><a name="xterm_226" id="xterm_226">Patch #226 - 2007/6/17</a></h1>
9282
9283 <ul>
9284 <li>add configure check to use
9285 <code>-Wno-unknown-pragmas</code> for Solaris, and a few other
9286 new gcc warning options to address regressions in its warning
9287 options.</li>
9288
9289 <li>add sample desktop and icon files, along with configure
9290 options for manipulating them.</li>
9291
9292 <li>fix an infinite loop when showing a 2-column character in a
9293 1-column screen (Debian #426863).</li>
9294
9295 <li>add <code>XF86Paste</code> and <code>SunPaste</code> to the
9296 default translations (Debian #422521, patch by Bernhard R
9297 Link).</li>
9298
9299 <li>update wcwidth.c (partly based on/prompted by mailing list
9300 comment).</li>
9301
9302 <li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and
9303 Xorg 7.1 keysymdef.h file.</li>
9304
9305 <li>improve <code>gen-pc-fkeys.pl</code>, making it show all of
9306 the building-block terminfo entries used by xterm.</li>
9307
9308 <li>correct strings used for modifiers applied to F1-F4 in
9309 xterm+pcf1 terminfo entry.</li>
9310
9311 <li>improve session management by adding the ICE connection
9312 number to the <code>select</code> call rather than waking up
9313 once per second (patch by Miroslav Lichvar).</li>
9314
9315 <li>add environment variable <code>$XTERM_LOCALE</code> to help
9316 with shell initialization, e.g., to set a specific locale for
9317 xterm on systems where a global locale is set in the shell
9318 startup scripts.</li>
9319
9320 <li>add resource settings <code>mkSampleSize</code> and
9321 <code>mkSamplePass</code> to modify the <code>mkWidth</code>
9322 added in <a href="#xterm_201">patch #201</a>. In <a href=
9323 "#xterm_202">patch #202</a>, xterm would also check if the
9324 system's <code>wcwidth</code> matched its built-in tables "well
9325 enough" to be used when <code>mkWidth</code> was false, and if
9326 not would use the built-in tables anyway. These resources allow
9327 the user to customize the decision (prompted by comments by
9328 Emanuele Giaquinta)</li>
9329
9330 <li>modify logic which resets/updates the screensize on the
9331 child process side of the pseudo-terminal to do this only if a
9332 successful handshake was received, e.g., as determined by the
9333 <code>waitForMap</code> resource (prompted by reports by
9334 Emanuele Giaquinta and Bernhard R Link, but see also <a href=
9335 "#xterm_177">patch #177</a> and <a href="#xterm_159">patch
9336 #159</a>.</li>
9337
9338 <li>improve permissions logic when closing pseudo-terminal
9339 (Debian #12261, patch by Nathanael Nerode, analysis by Richard
9340 Braakman).</li>
9341
9342 <li>add resource <code>highlightReverse</code> which controls
9343 whether xterm will allow selection highlighting to hide
9344 reverse-video or use the older behavior which inverts the
9345 foreground and background colors when selected text with
9346 reverse-video attribute (report by Adam M Costello, comments by
9347 Victor Vaile).</li>
9348
9349 <li>restore a special case for cursor-color in
9350 <code>ReverseVideo()</code> lost in rewrite for <a href=
9351 "#xterm_224">patch #224</a> (report by Adam Sulmicki).</li>
9352
9353 <li>correct initialization for menu entry for
9354 <code>bellIsUrgent</code> (patch by Emanuele Giaquinta).</li>
9355
9356 <li>correct length of underlining for double-width Xft fonts
9357 (report by Shidai Liu "Leo").</li>
9358
9359 <li>correct clipping for double-width Xft fonts (report by
9360 Shidai Liu "Leo").</li>
9361
9362 <li>modify initialization for <code>italicULMode</code> to
9363 avoid <code>XftPatternBuild</code> reusing bold attributes
9364 (report by Shidai Liu "Leo").</li>
9365
9366 <li>add a check in case someone tries to call the
9367 <code>popup-menu()</code> action on a menu which is not
9368 initialized (Debian #426364).</li>
9369
9370 <li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by
9371 Peter Bray).</li>
9372
9373 <li>improve guess for X's manpage section in
9374 <code>minstall.sh</code>, (prompted by comment by Miroslav
9375 Lichvar).</li>
9376
9377 <li>modify <code>minstall.sh</code> to handle manpage patch
9378 with more than one dot (patch by Miroslav Lichvar).</li>
9379
9380 <li>fix configure message for --disable-setgid option (patch by
9381 Miroslav Lichvar).</li>
9382
9383 <li>add <code>allowTitleOps</code> resource to allow users to
9384 prevent the title- and icon-names from changing (request by
9385 John Bashinski).</li>
9386
9387 <li>fix "spawn-new-terminal" action, for the case where no
9388 parameter is passed to the action (patch by Daniel
9389 Colascione).</li>
9390
9391 <li>fix error-checking on internal font switching for
9392 "Selection" menu entry (Debian #421523).</li>
9393
9394 <li>amend select/paste change from <a href="#xterm_225">patch
9395 #225</a> by limiting it to non-UTF-8/non-KOI8-R encoding
9396 (Debian #420974).</li>
9397
9398 <li>add workaround for groff ".URL" codes which are not present
9399 in some commonly-used bitmap fonts (Debian #418324).</li>
9400 </ul>
9401
9402 <h1><a name="xterm_225" id="xterm_225">Patch #225 - 2007/3/24</a></h1>
9403
9404 <ul>
9405 <li>add <code>useClipping</code> resource to allow clipping to
9406 be disabled.</li>
9407
9408 <li>use <code>XftDrawSetClipRectangles</code> to work around
9409 Xft pixel-trash (report by Reuben Thomas).</li>
9410
9411 <li>add configure option <code>--enable-tcap-fkeys</code>, and
9412 resource <code>tcapFunctionKeys</code>, which can be used to
9413 tell xterm to use function-key definitions from the termcap (or
9414 terminfo) which it uses to set $TERM on startup.</li>
9415
9416 <li>add resources <code>altIsNotMeta</code> and
9417 <code>altSendsEscape</code> to allow one to use Alt-keys like
9418 the meta-key even if they are bound to different keycodes
9419 (prompted by discussion with Daniel Jacobowitz).</li>
9420
9421 <li>revert a change from <a href="#xterm_216">patch #216</a>
9422 that unnecessarily made the meta modifier override the
9423 <code>eightBitInput</code> resource if the alt- and
9424 meta-modifiers happened to overlap (report/patch by Daniel
9425 Jacobowitz).</li>
9426
9427 <li>correct associated font for active icon for colored text
9428 (broken in <a href="#xterm_224">patch #224</a>).</li>
9429
9430 <li>correct ifdef's for Darwin (patch by Emanuele
9431 Giaquinta).</li>
9432
9433 <li>add <code>highlightTextColor</code> resource, and options
9434 <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code>
9435 (adapted from patch by Victor Vaile).</li>
9436
9437 <li>revise <code>find_closest_color()</code> function to
9438 address concern about borrowing from <code>Tcl/Tk</code>
9439 (request by Dan McNichol).</li>
9440
9441 <li>add "spawn-new-terminal" action, which can be assigned to
9442 key translation, allowing one to spawn a new copy of xterm
9443 using the current process's working directory (adapted from
9444 patch by Daniel Colascione).</li>
9445
9446 <li>improve select/paste between UTF-8 and Latin1 xterms by
9447 adapting the translations from <a href="#xterm_185">patch
9448 #185</a>. Extend that to include Unicode fullwidth forms
9449 FF00-FF5E. Also modify select/paste of DEC line-drawing
9450 characters in Latin1 mode to use ASCII characters.</li>
9451
9452 <li>add "Enable Bell Urgency" to VT Options menu, removed
9453 "Enable Margin Bell".</li>
9454
9455 <li>add <code>bellIsUrgent</code> resource to control whether
9456 the Urgency hint is set/reset.</li>
9457
9458 <li>modify to set Urgency window manager hint on bell, reset it
9459 on Focus-In event (patch by Emanuele Giaquinta).</li>
9460
9461 <li>add <code>--disable-setgid</code> configure option (request
9462 by Miroslav Lichvar).</li>
9463
9464 <li>fix a possible infinite loop in last change to
9465 <code>dabbrev-expand()</code> (patch by Emanuele
9466 Giaquinta).</li>
9467
9468 <li>modify initialization to set the pty erase value if the
9469 <code>erase</code> is set in the <code>ttyModes</code>
9470 resource. This overrides the <code>ptyInitialErase</code>
9471 setting (request by Llu&iacute;s Batlle i Rossell).</li>
9472
9473 <li>add <code>initialFont</code> resource to xterm widget, like
9474 tek-widget (Debian #299669).</li>
9475
9476 <li>amend change to <code>boldMode</code> from <a href=
9477 "#xterm_223">patch #223</a> for Debian #347790. As noted in
9478 Debian #412599, that made xterm no longer match the documented
9479 behavior. Add new resource <code>alwaysBoldMode</code> to allow
9480 overriding the comparison between normal/bold fonts when
9481 deciding whether to use overstriking to simulate bold
9482 fonts.</li>
9483
9484 <li>restore background color in ClearCurBackground(), omitted
9485 in changes for <a href="#xterm_223">patch #223</a> (report by
9486 Miroslav Lichvar).</li>
9487
9488 <li>correct logic for repainting double-width TrueType
9489 characters (prompted by test-case for Novell #246573).</li>
9490
9491 <li>add a check to avoid trying to repeat a multibyte character
9492 (report by Sami Farin).</li>
9493
9494 <li>modify parameter to <code>XftNameParse()</code> to select
9495 wide face-name as needed, to make <code>-fd</code> option work
9496 (patch by Mike Fabian, Novell #246573).</li>
9497
9498 <li>correct logic for mouse highlight tracking's abort
9499 sequence, broken in a restructuring modification from <a href=
9500 "#xterm_224">patch #224</a> (report by Thomas Wolff).</li>
9501
9502 <li>revert the simplification of blinking cursor, since that
9503 broke the xor'ing introduced in <a href="#xterm_193">patch
9504 #193</a> (report by Thomas Wolff).</li>
9505 </ul>
9506
9507 <h1><a name="xterm_224" id="xterm_224">Patch #224 - 2007/2/11</a></h1>
9508
9509 <ul>
9510 <li>simplify code for set/reset mode for blinking cursor (patch
9511 by Emanuele Giaquinta).</li>
9512
9513 <li>modify <code>dabbrev-expand()</code> to restart after the
9514 last match (patch by Emanuele Giaquinta).</li>
9515
9516 <li>add control sequences for enabling/disabling focus in/out
9517 event reporting (request by Bram Moolenaar).</li>
9518
9519 <li>improve startup performance of menus by adding resource
9520 setting <code>menuLocale</code> which can be set to override
9521 X's lengthy initialization of fontsets - which are seldom used
9522 for the <code>Xaw</code> popup menus (adapted from patch by
9523 Dave Coffin).</li>
9524
9525 <li>modify <code>do_precomposition()</code> function and
9526 <code>make-precompose.sh</code> to handle 21-bit codes vs the
9527 16-bit codes those were written for, and fix a few mis-sorted
9528 codes (patch by Thomas Wolff).</li>
9529
9530 <li>handle special case in <code>-cjk_width</code> which
9531 unexpectedly caused a character's width to change when a
9532 combining character (patch by Thomas Wolff)</li>
9533
9534 <li>fix build for GNU/KFreeBSD (Debian #40111).</li>
9535
9536 <li>consolidate GC creation/updating into a single module to
9537 reduce GC manipulation (prompted by Debian #389476, though a
9538 complete fix would involve optimizing the scrolling
9539 behavior).</li>
9540
9541 <li>fix ifdef of xtermCellWidth(), which broke for a case
9542 without TrueType and without wide-character support (report by
9543 Martin Pirker).</li>
9544
9545 <li>undo a comparison in
9546 <code>handle_translated_exposure</code> which did not work due
9547 to X server optimization. That caused the inner border to be
9548 repainted with unexpected colors when handling a repaint, e.g.,
9549 after switching to/from another workspace (Debian #401726,
9550 Redhat Bugzilla #223027).</li>
9551
9552 <li>allow <code>-cr</code> option to override cursor color when
9553 <code>-ah</code> option is used (Debian #406502).</li>
9554
9555 <li>add a note in xterm's manpage explaining that the
9556 <code>-bw</code> (or <code>-w</code>) option is only used by
9557 the window manager, if at all (Debian #405043).</li>
9558
9559 <li>make <code>Selection</code> of <code>VT&nbsp;Fonts</code>
9560 work with <code>selectToClipboard</code> resource.</li>
9561
9562 <li>correct length calculation for <code>Selection</code> entry
9563 of <code>VT&nbsp;Fonts</code> menu, broken since it ignored the
9564 actual selection length since X11R4.</li>
9565
9566 <li>fixes for fontsize changes with <code>-fa</code> option
9567 (Redhat Bugzilla #222340).</li>
9568 </ul>
9569
9570 <h1><a name="xterm_223" id="xterm_223">Patch #223 -
9571 2006/11/30</a></h1>
9572
9573 <ul>
9574 <li>add <code>--enable-rectangles</code> configure option
9575 (request by Martin Pirker).</li>
9576
9577 <li>correct default value for <code>--with-symlink</code>
9578 configure option.</li>
9579
9580 <li>fixes configure script macros that use
9581 <code>$X_EXTRA_LIBS</code>.</li>
9582
9583 <li>modify configure script to provide support for pre-package
9584 config versions of Xft aka "FreeType".</li>
9585
9586 <li>add the Xaw scrollbar translations resource to the xterm
9587 manpage, add an example showing how to change the mouse button
9588 assignments (Debian #382225).</li>
9589
9590 <li>amend a change from <a href="#xterm_216">patch #216</a>,
9591 which omitted modifiers for control, meta, etc., if they were
9592 mixed with any other modifiers. The intent of the change was to
9593 avoid confusion with <code>XK_Mode_switch</code> and
9594 <code>XK_ISO_Level3_Shift</code>; the check is now done
9595 explicitly (report by Daniel Jacobowitz).</li>
9596
9597 <li>interpret a negative value for
9598 <code>modifyCursorKeys</code> or
9599 <code>modifyFunctionKeys</code> resources to disable the
9600 respective features (prompted by Novell #220728).</li>
9601
9602 <li>amend cell-width computation for FreeType from <a href=
9603 "#xterm_217">patch #217</a>, which did not work for VT100
9604 line-drawing characters (Debian #399638, Gentoo #147111).</li>
9605
9606 <li>amend a change from <a href="#xterm_216">patch #216</a>,
9607 which made alt-modifier on a cursor-key send a modifier
9608 parameter (Novell #220728).</li>
9609
9610 <li>correct an off-by-one that made DECCRA not work
9611 (report/patch by Martin Pirker).</li>
9612
9613 <li>revert an optimization in SGR_Foreground() and
9614 SGR_Background from <a href="#xterm_209">patch #209</a> (Debian
9615 #347722, analysis by Pierre Lombard).</li>
9616
9617 <li>fix for <code>boldMode</code> (Debian #347790, patch by Tim
9618 Pope).</li>
9619
9620 <li>amend fix for <code>-iconic</code> in <a href=
9621 "#xterm_208">patch #208</a>, which broke the positioning part
9622 of <code>-geom</code> with toolbar configuration.</li>
9623
9624 <li>fix to prevent indexing error in regular expressions (patch
9625 by Dennis Schneider).</li>
9626
9627 <li>fixes to make the <code>internalBorder</code> area not
9628 change color due to reverseVideo and/or related exposure
9629 events. The latter was a very old bug exposed in <a href=
9630 "#xterm_196">patch #196</a> (report by Neil Hoggarth, also
9631 Debian #397624).</li>
9632 </ul>
9633
9634 <h1><a name="xterm_222" id="xterm_222">Patch #222 -
9635 2006/10/17</a></h1>
9636
9637 <ul>
9638 <li>minor optimization for recoloring cursor via dynamic
9639 colors.</li>
9640
9641 <li>fix a bug caused by restructuring of tek4014 widget (report
9642 by Paul Schenkeveld)</li>
9643 </ul>
9644
9645 <h1><a name="xterm_221" id="xterm_221">Patch #221 - 2006/10/1</a></h1>
9646
9647 <ul>
9648 <li>fix for regular expressions: the code which converted the
9649 column offset within a line did not check properly for the end
9650 of a line, and if allowed to match the whole line, would select
9651 the beginning of the following line. If the following line were
9652 empty, in turn it would select from the next, etc. (report by
9653 Sean Reifschneider).</li>
9654
9655 <li>minor optimization of color allocation to avoid repainting
9656 the screen if the corresponding color had not been
9657 allocated.</li>
9658
9659 <li>fixes for vttests/256colors.pl (report by Egmont
9660 Koblinger).</li>
9661
9662 <li>add terminfo building block entries for modifiers of the
9663 6-key editing keypad.</li>
9664
9665 <li>fix for initialization of tek4014 which broke on QNX
9666 6.1</li>
9667 </ul>
9668
9669 <h1><a name="xterm_220" id="xterm_220">Patch #220 - 2006/9/10</a></h1>
9670
9671 <ul>
9672 <li>make "xterm -t -iconic" work as expected, i.e., start in
9673 tek4014 mode, but iconified.</li>
9674 </ul>
9675
9676 <h1><a name="xterm_219" id="xterm_219">Patch #219 - 2006/9/4</a></h1>
9677
9678 <ul>
9679 <li>some internal restructuring to separate data for vt100 and
9680 tek4014 widgets.</li>
9681
9682 <li>fix a few cases where form-events would be seen by the
9683 vt100 widget when built with the toolbar configuration.</li>
9684 </ul>
9685
9686 <h1><a name="xterm_218" id="xterm_218">Patch #218 - 2006/8/27</a></h1>
9687
9688 <ul>
9689 <li>change behavior when encountering an illegal character in a
9690 title string. Rather than reject the string, translate illegal
9691 characters into "?" and use the string (requested by Thomas
9692 Wolff).</li>
9693
9694 <li>improve checks for nonprinting characters in title strings
9695 (report by Samuel Thibault).</li>
9696
9697 <li>correct typo in menu labels, changing
9698 <code>print-redirect</code> to <code>print-redir</code>, making
9699 it follow the manpage and match the usage for the actions table
9700 (report by Samuel Thibault).</li>
9701
9702 <li>correct a typo that prevents building with some older
9703 systems such as Solaris 2.6 (report by Julian Bridle).</li>
9704 </ul>
9705
9706 <h1><a name="xterm_217" id="xterm_217">Patch #217 - 2006/8/20</a></h1>
9707
9708 <ul>
9709 <li>minor improvements to FreeType font layout and
9710 drawing.</li>
9711
9712 <li>add a check in the ptyInitialErase logic to ensure that the
9713 termcap was read (Redhat Bugzilla #201246).</li>
9714
9715 <li>limit changes for reverse-video from <a href=
9716 "#xterm_216">patch #216</a> to cases where the reverse-video
9717 command-line option is used (report by Zdenek Sekera).</li>
9718
9719 <li>correct bitmap-derived pointsizes for TrueType fonts; they
9720 should be proportional to the square root of the area of the
9721 bitmap fonts.</li>
9722
9723 <li>add resources to specify pointsize of TrueType fonts
9724 (request by Reuben Thomas).</li>
9725
9726 <li>improve install of terminfo by filtering out harmless
9727 messages related to extended capabilities. At the same time,
9728 use ncurses tic to compile the extended capabilities if
9729 possible (report by Zdenek Sekera).</li>
9730
9731 <li>update "xterm+pcfkeys" terminfo entry to correspond to
9732 <a href="#xterm_216">patch #216</a>.</li>
9733 </ul>
9734
9735 <h1><a name="xterm_216" id="xterm_216">Patch #216 - 2006/8/3</a></h1>
9736
9737 <ul>
9738 <li>improve handling of <code>ConfigureNotify</code> events by
9739 checking if there are further events in the queue which
9740 obsolete the current one (adapted from rxvt 2.7.5). Only the
9741 normal normal (non-toolbar) configuration is addressed in this
9742 patch.</li>
9743
9744 <li>several changes to terminfo:
9745 <ul>
9746 <li>incorporate some minor changes from ncurses to help
9747 keep these synchronized:
9748 <dl>
9749 <dt>2005-02-26</dt>
9750
9751 <dd>modify sgr/sgr0 in xterm-new to improve tgetent's
9752 derived "me".</dd>
9753
9754 <dt>2006-02-18</dt>
9755
9756 <dd>remove ncv flag from xterm-16color</dd>
9757
9758 <dt>2006-06-24</dt>
9759
9760 <dd>improve xterm-256color by combining the 16-color
9761 setaf/setab strings with SGR 48, and cancelling the
9762 setf/setb strings.</dd>
9763 </dl>
9764 </li>
9765
9766 <li>use extended function-key definitions for xterm-sun,
9767 xterm-sco entries.</li>
9768
9769 <li>add terminfo building-blocks corresponding to the
9770 <code>modifyFunctionKeys</code> and
9771 <code>modifyCursorKeys</code> resources.</li>
9772 </ul>
9773 </li>
9774
9775 <li>ifdef'd Sun function-key feature to make it optional, like
9776 HP and SCO.</li>
9777
9778 <li>extend table for termcap-query feature through F63, and
9779 updated tcapquery.pl to match.</li>
9780
9781 <li>modify logic for function-key input processing to allow
9782 function key numbers which are constructed by control- and
9783 shift-modifiers to extend beyond X's hardcoded limit of
9784 35.</li>
9785
9786 <li>add control sequence to set or reset the
9787 <code>eightBitInput</code> resource.</li>
9788
9789 <li>change default resource <code>modifyFunctionKeys</code> to
9790 2 to avoid sending SS3 with parameters (report by Kalle Olavi
9791 Niemitalo).</li>
9792
9793 <li>add control sequences for setting and resetting the values
9794 of the <code>modifyCursorKeys</code>,
9795 <code>modifyFunctionKeys</code> and
9796 <code>modifyOtherKeys</code> resources.</li>
9797
9798 <li>add <code>modifyFunctionKeys</code> resource like
9799 <code>modifyCursorKeys</code>. Setting this to zero allows one
9800 to use the control- and shift-modifiers to construct function
9801 key strings, for terminals using many function keys, e.g., for
9802 <code>xterm-sun</code> or <code>xterm-sco</code>.</li>
9803
9804 <li>modify screen responses and function-key logic to reduce
9805 the number of writes made, to make it less likely that an
9806 application would read only part of a function-key in a read
9807 operation (suggested by John E Urbanczyk).</li>
9808
9809 <li>add <code>combiningChars</code> resource, which allows the
9810 user to specify the maximum number of combining characters that
9811 xterm will store for each cell in wide-character mode (prompted
9812 by request by Markus Kuhn to increase the limit from 2).</li>
9813
9814 <li>improve logic in <code>metaSendsEscape</code> in case the
9815 Alt- and Meta-keys are mapped to different modifiers. That
9816 allows one to use the Alt-key for shifting in the
9817 <code>eightBitInput</code> and use a Meta-key modifier to
9818 prefix the result with an <code>&lt;ESC&gt;</code>.</li>
9819
9820 <li>improve <code>modifyCursorKeys</code> logic to prevent it
9821 from modifying codes where <code>eightBitInput</code> or
9822 <code>metaSendsEscape</code> are set (request by Dan
9823 Nicolaescu).</li>
9824
9825 <li>improve <code>modifyCursorKeys</code> logic to prevent it
9826 from changing the user input when other modifiers such as AltGr
9827 are used (report by Thomas Wolff).</li>
9828
9829 <li>extend <code>modifyCursorKeys</code> to include the numeric
9830 keypad when in application mode.</li>
9831
9832 <li>improve <code>-reverse</code> (<code>-rv</code>) option
9833 (patch by Jason Vas Dias, Redhat #189161).</li>
9834
9835 <li>workaround for color resources on Fedora-5 which made the
9836 toolbar colors inconsistent.</li>
9837
9838 <li>corrected calls used for <code>--disable-setuid</code>
9839 option, add debugging traces to help diagnose this area.</li>
9840
9841 <li>modify configure script to ensure that
9842 <code>USE_UTMP_SETGID</code> is defined only if the check for
9843 POSIX saved-ids succeeds, or corresponds to one of the BSD
9844 systems known to have a workable <code>setegid</code>
9845 function.</li>
9846
9847 <li>extend configure check for POSIX saved-ids to include BSD
9848 systems</li>
9849
9850 <li>modify CF_SYSV configure macro to work with gcc on HPUX
9851 10.20, whose broken <code>&lt;term.h&gt;</code> relies on
9852 including <code>&lt;termios.h&gt;</code>.</li>
9853
9854 <li>change order of setuid/setgid ifdef checks in Imakefile to
9855 make it simpler to produce a setgid install, allowing the
9856 latter to override the former (prompted by an XFree86
9857 commit).</li>
9858
9859 <li>adapt a fix for setgid support from subsequent XFree86
9860 changes (patch by Emanuele Giaquinta).</li>
9861
9862 <li>further improve setgid support (patches by Emanuele
9863 Giaquinta).</li>
9864 </ul>
9865
9866 <h1><a name="xterm_215" id="xterm_215">Patch #215 - 2006/6/19 -
9867 XFree86 4.6.99.2</a></h1>
9868
9869 <ul>
9870 <li>improve setgid support by exploiting the saved-ids feature
9871 on which it relies (patch by Emanuele Giaquinta).</li>
9872
9873 <li>make the <code>modifyOtherKeys</code> resource disabled by
9874 default since the intermediate setting altered some common
9875 bindings (report by Emanuele Giaquinta).</li>
9876 </ul>
9877
9878 <h1><a name="xterm_214" id="xterm_214">Patch #214 - 2006/6/18 -
9879 XFree86 4.6.99.2</a></h1>
9880
9881 <ul>
9882 <li>modify makefile rule for ctlseqs.txt to strip
9883 backspace/overstrikes, and add a copy of ctlseqs.txt to the
9884 source tarballs (requests by Bram Moolenaar, Emanuele
9885 Giaquinta).</li>
9886
9887 <li>add <code>modifyOtherKeys</code> resource, analogous to the
9888 <code>modifyCursorKeys</code> resource. This applies to keys
9889 that normally would transmit nothing when a given modifier is
9890 applied (request by Dan Nicolaescu).</li>
9891
9892 <li>add <code>default</code> to the acceptable values for the
9893 <code>keyboardType</code> resource, allowing the
9894 <code>-kt</code> command-line option to override app-defaults
9895 resource settings of <code>sunKeyboard</code>, etc.</li>
9896
9897 <li>correct ifdef's for <code>XkbBell()</code> which used the
9898 header file but not the corresponding function in <a href=
9899 "#xterm_175">patch #175</a> (report by Zach Beane).</li>
9900
9901 <li>add xterm manpage to the <code>--with-symlink</code>
9902 logic.</li>
9903
9904 <li>regenerated configure script to omit some debugging
9905 artifacts of the SIGWINCH test.</li>
9906
9907 <li>fix <code>install-man</code> rule in
9908 <code>Makefile.in</code> to avoid including the
9909 <code>$(DESTDIR)</code> value in substitutions made on the
9910 manpages (patch by Emanuele Giaquinta).</li>
9911
9912 <li>improved fix for cursor deallocation (Redhat #186935, patch
9913 by Jason Vas Dias).</li>
9914
9915 <li>improve checks for setuid/setgid operation to accommodate
9916 limited resource management in some kernels (Gentoo
9917 #193238).</li>
9918
9919 <li>update config.guess, config.sub</li>
9920 </ul>
9921
9922 <h1><a name="xterm_213" id="xterm_213">Patch #213 - 2006/4/30 -
9923 XFree86 4.5.99.905</a></h1>
9924
9925 <ul>
9926 <li>minor optimization to cell layout; will use that to
9927 simplify some logic and allow for more than two combining
9928 characters in another patch.</li>
9929
9930 <li>add <code>utf8Latin1</code> resource to make optional the
9931 feature from <a href="#xterm_209">patch #209</a> which allowed
9932 ISO-8859-1 fonts to be used in cases where a wide font was
9933 given. This would only work for the special case where the user
9934 normally used Latin-1 and wanted some wide characters (report
9935 by Rostislav Krasny).</li>
9936
9937 <li>add <code>utf8Title</code> resource to manpage (Novell
9938 #52655).</li>
9939
9940 <li>fix typo in table entry for <code>utf8Title</code> resource
9941 which made it treated as an integer rather than boolean (patch
9942 by Mike Fabian, Novell #52655).</li>
9943 </ul>
9944
9945 <h1><a name="xterm_212" id="xterm_212">Patch #212 - 2006/4/9 -
9946 XFree86 4.5.99.904</a></h1>
9947
9948 <ul>
9949 <li>improve description of <code>forceBoxChars</code> in
9950 manpage (discussion with Joe Wells).</li>
9951
9952 <li>set checkmark for "Select To Clipboard" menu entry on
9953 startup, from resource setting.</li>
9954
9955 <li>update manpage to note that
9956 <code>*customization:color</code> is not needed, though it is
9957 useful (Redhat #188034).</li>
9958
9959 <li>add underscore to sample pattern for URL in
9960 <code>XTerm.ad</code> (Redhat #188037).</li>
9961
9962 <li>modify install rule for manpage to use the configured
9963 app-defaults directory (Redhat #188031).</li>
9964
9965 <li>add checks in <code>releaseCursorGCs()</code> to ensure
9966 GC's are distinct, needed since memory leak changes for
9967 <a href="#xterm_208">patch #208</a> (Redhat #186935, patch by
9968 Jason Vas Dias).</li>
9969
9970 <li>modify <code>Imakefile</code> definitions to allow
9971 <code>imake</code> to set <code>InstallXtermSetGID</code>. Add
9972 symbol <code>InstGidFlags</code>.</li>
9973
9974 <li>add configure script check to ensure that SIGWINCH if
9975 defined even when headers undefine this as a side-effect of
9976 <code>_POSIX_C_SOURCE</code>, etc.</li>
9977
9978 <li>resync with XFree86 CVS
9979 <ul>
9980 <li>ifdef-out chmod of terminal device for OS/2 (XFree86
9981 #1663, Frank Giessler).</li>
9982
9983 <li>move new <code>Imakefile</code> chunk which defines
9984 <code>$(CSGIDFLAGS)</code> before DEFINES, e.g., for IRIX64
9985 (Marc La France).</li>
9986 </ul>
9987 </li>
9988 </ul>
9989
9990 <h1><a name="xterm_211" id="xterm_211">Patch #211 - 2006/3/19 -
9991 XFree86 4.5.99.902</a></h1>
9992
9993 <ul>
9994 <li>modify prefix/suffix transformation in makefile to make
9995 <code>uxterm</code> install properly on Cygwin.</li>
9996
9997 <li>restore the sizeof-comparison for <code>struct
9998 lastlog</code> added in <a href="#xterm_208">patch #208</a>,
9999 rendered (mostly) obsolete in <a href="#xterm_210">patch
10000 #210</a>, since an imake configuration can still turn that code
10001 on (prompted by comment by David Dawes).</li>
10002
10003 <li>remove feature for <code>FreeBSDArchitecture</code> from
10004 <code>Imakefile</code> which would install xterm using the
10005 <code>utmp</code> group since a standard FreeBSD system has no
10006 such group, though it would support this configuration. FreeBSD
10007 packager uses the <code>configure</code> script, which can make
10008 the appropriate check (prompted by comment by David
10009 Dawes).</li>
10010
10011 <li>fixes for gcc redefinition warnings when built using imake
10012 (reports by David Dawes, Marc La France).</li>
10013 </ul>
10014
10015 <h1><a name="xterm_210" id="xterm_210">Patch #210 - 2006/3/12 -
10016 XFree86 4.5.99.902</a></h1>
10017
10018 <ul>
10019 <li>add configure check for workaround in <a href=
10020 "#xterm_208">patch #208</a> for Solaris' inconsistent support
10021 for struct lastlog to quiet compiler warnings (prompted by
10022 David Dawes commit message for XFree86).</li>
10023
10024 <li>fixes for BASE64 selection manipulation, e.g., ensure that
10025 the string terminator is written after cut-buffer data (report
10026 by Joe Allen).</li>
10027
10028 <li>add vttests/paste64.pl script to test experimental option
10029 for setting/getting selection data.</li>
10030
10031 <li>add some error-checking in fontutils.c (prompted by David
10032 Dawes commit message for XFree86).</li>
10033
10034 <li>change xterm manpage to show the actual color resource
10035 names <code>XtDefaultForeground</code> and
10036 <code>XtDefaultBackground</code> rather than black and white
10037 (prompted by discussion with Emanuele Giaquinta).</li>
10038
10039 <li>add <code>utf8Title</code> resource and menu entry,
10040 allowing the user to control whether title strings are
10041 interpreted as ISO-8859-1 or UTF-8 encoding (Novell #52655,
10042 Novell #113206).</li>
10043
10044 <li>change order of ifdef's for utempter versus platforms in
10045 <code>Imakefile</code> to ensure a proper value for
10046 <code>InstallXtermSetGID</code> (prompted by Marc La France
10047 commit message for XFree86).</li>
10048
10049 <li>update the cursor GCs when menu entry for reverse video is
10050 toggled. (Redhat #183993).</li>
10051
10052 <li>a memory-leak fix for <code>set_cursor_gcs()</code> in
10053 <a href="#xterm_208">patch #208</a> broke the <code>-cm</code>
10054 option (Redhat #182382).</li>
10055 </ul>
10056
10057 <h1><a name="xterm_209" id="xterm_209">Patch #209 - 2006/2/12 -
10058 XFree86 4.5.99.22</a></h1>
10059
10060 <ul>
10061 <li>remove <code>setf</code> and <code>setb</code> from
10062 <code>xterm-256color</code> terminfo entry to avoid issues with
10063 applications that ignore the ANSI strings (report by Emanuele
10064 Giaquinta).</li>
10065
10066 <li>remove obsolete references to "Xorg" to avoid confusion
10067 with "X.org" (prompted by David Dawes commit message for
10068 XFree86).</li>
10069
10070 <li>improve initial layout performance for the toolbar
10071 configuration by precalculating the height of the toolbar.</li>
10072
10073 <li>remove menu entry for "Enable Curses Emulation" (to make
10074 room for "Select To Clipboard").</li>
10075
10076 <li>add resource <code>selectToClipboard</code>, action
10077 <code>set-select</code> and a menu entry to allow users to
10078 switch between PRIMARY and CLIPBOARD for select/paste.</li>
10079
10080 <li>allow cursor to have the same color as foreground (text),
10081 since it is rendered as reverse (Debian #350664).</li>
10082
10083 <li>amend change for loading <code>utf8Fonts</code> resource
10084 from <a href="#xterm_204">patch #204</a> to allow an ISO-8859-1
10085 "normal" font to be combined with an ISO-10646 font if the
10086 latter is given via the <code>-fw</code> option or its
10087 corresponding resource value (prompted by comment in Novell
10088 #49305).</li>
10089
10090 <li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for
10091 <code>__GNU__</code> to set the controlling terminal (Debian
10092 #348457).</li>
10093
10094 <li>add configure option <code>--disable-leaks</code>.</li>
10095
10096 <li>add a check in <code>Bell</code> to ensure that the VT100
10097 widget is realized, since it may be called by
10098 <code>xtermLoadFont</code> given an incorrect font resource
10099 (Redhat #180450).</li>
10100
10101 <li>improve initialization of wide-bold font by not using the
10102 derived value when it happens to have few glyphs (report by
10103 Mboso Sampson).</li>
10104
10105 <li>improve dynamic colors by not repainting the screen if only
10106 the cursor color changes (request by Bram Moolenaar).</li>
10107
10108 <li>fix menu initialization for tek4014 window broken in
10109 <a href="#xterm_206">patch #206</a>.</li>
10110
10111 <li>typo in manpage (Debian #351425).</li>
10112
10113 <li>correct loop logic in <code>dotext</code> to prevent an
10114 infinite loop if a wide character was just at the right margin
10115 when wrapping was disabled (report by Serge van den Boom).</li>
10116
10117 <li>initialize the saved-cursor data so a restore-cursor
10118 operation without a preceding save-cursor operation will not
10119 modify the foreground color.</li>
10120
10121 <li>add a new selection feature: regular expressions, and new
10122 resources which specify what happens on multiple mouse clicks:
10123 <code>on2Clicks</code>, <code>on3Clicks</code>,
10124 <code>on4Clicks</code> and <code>on5Clicks</code>.</li>
10125
10126 <li>revert the <code>XTerm.ad</code> change from <a href=
10127 "#xterm_208">patch #208</a> (Debian #348384).</li>
10128
10129 <li>fixes for the print-window to make it handle combining
10130 characters in UTF-8 mode.</li>
10131
10132 <li>add check to ensure that double-clicking to extend
10133 selection will not extend it into the scrollback area. This
10134 still allows users to scroll back and select text (Debian
10135 #347415).</li>
10136
10137 <li>add configure option <code>--with-tty-group</code> to help
10138 work around deficiencies in packager's build environment
10139 (Debian #349142).</li>
10140
10141 <li>fix typo in configure script option
10142 <code>--disable-narrowproto</code> (report by David
10143 Mart&iacute;nez Moreno).</li>
10144
10145 <li>amend CF_X_FREETYPE changes for <code>pkg-config</code>
10146 check to ensure that <code>Xft</code> is known to that tool
10147 (report and patch by Emanuele Giaquinta).</li>
10148
10149 <li>add an ifdef to allow <code>./configure
10150 --disable-active-icon</code> to work, broken by new code for
10151 testing memory leaks in <a href="#xterm_208">patch #208</a>
10152 (report by Brian Lindholm).</li>
10153 </ul>
10154
10155 <h1><a name="xterm_208" id="xterm_208">Patch #208 - 2006/1/3 -
10156 XFree86 4.5.99.19</a></h1>
10157
10158 <ul>
10159 <li>add <code>charClass</code> resource to
10160 <code>XTerm.ad</code> and <code>UXTerm.ad</code> which
10161 simplifies selecting URLs (prompted by Kirill Ponomarew).</li>
10162
10163 <li>modify install rule for <code>uxterm</code> to account for
10164 the <code>--program-prefix</code>, etc., options by invoking
10165 the transformed name of xterm rather than simply "xterm".</li>
10166
10167 <li>modify configure <code>--with-app-defaults</code> option to
10168 allow <code>--without-app-defaults</code>.</li>
10169
10170 <li>add configure <code>--with-symlink</code> option to make it
10171 simpler to install successive versions of <code>xterm</code>
10172 renamed using the <code>--program-prefix</code>, etc., options
10173 with a symbolic link pointing to the most recent.</li>
10174
10175 <li>make <code>-iconic</code> option work with toolbar
10176 configuration (Gentoo #113604).</li>
10177
10178 <li>suppress <code>lastlog</code> feature for 64-bit Solaris
10179 configuration since that platform provides only a 32-bit
10180 interface (report by Peter Bray).</li>
10181
10182 <li>fix memory reallocation for the "UTF-8" menu entry when
10183 xterm is started using the <code>+u8</code> option (reported by
10184 Jan Willem Stumpel).</li>
10185
10186 <li>add a configure check for the actual path of
10187 <code>luit</code>, to work around broken <code>imake</code>
10188 configurations.</li>
10189
10190 <li>add a configure check for <code>pkg-config</code> (Redhat
10191 Bugzilla #173541).</li>
10192
10193 <li>modify install-rule for <code>uxterm</code> to omit
10194 executable suffix, e.g., for Cygwin.</li>
10195
10196 <li>modify <code>sinstall.sh</code> to work around quirks in
10197 Cygwin configuration.</li>
10198 </ul>
10199
10200 <h1><a name="xterm_207" id="xterm_207">Patch #207 - 2005/11/13 -
10201 XFree86 4.5.99.16</a></h1>
10202
10203 <ul>
10204 <li>enable <code>lastlogx</code> support for NetBSD (was added,
10205 but not enabled in <a href="#xterm_186">patch #186</a>).</li>
10206
10207 <li>work around broken <code>lastlog.h</code> in glibc 2.3.5,
10208 which includes <code>utmp.h</code>.</li>
10209
10210 <li>revert part of recent XFree86 Imakefile change, restoring
10211 the <code>-I.</code> needed for <code>xmkmf</code> builds of
10212 xterm (XFree86 Bugzilla #1633, reports by Alexander Pohoyda,
10213 Matthieu Herrb).</li>
10214
10215 <li>change compiled-in default for <code>printerCommand</code>
10216 resource to an empty string. People who want to use the printer
10217 should be able to read the manual (Debian #311490).</li>
10218
10219 <li>modify <code>Imakefile</code> to work around old problems
10220 in <code>imake</code> configuration to allow test-builds using
10221 <code>xmkmf</code> on Linux. (This was not noticed since
10222 several releases had broken definitions relating to Xft which
10223 were harder to work around).</li>
10224
10225 <li>link <code>resize</code> for SCO platforms (Kean
10226 Johnston).</li>
10227 </ul>
10228
10229 <h1><a name="xterm_206" id="xterm_206">Patch #206 - 2005/11/3 -
10230 XFree86 4.5.99.15</a></h1>
10231
10232 <ul>
10233 <li>add configure <code>--with-app-defaults</code> option to
10234 allow app-defaults directory for install-rules to be
10235 customized.</li>
10236
10237 <li>remove default translations for
10238 <code>dabbrev-expand()</code> due to conflicts with existing
10239 keyboard arrangements.</li>
10240
10241 <li>remove redundant check for <code>_NET_WM_PID</code> (report
10242 by Emanuele Giaquinta).</li>
10243
10244 <li>set icon border width explicitly to work around fvwm
10245 problem with active icon resizing (report by Steve Morris,
10246 analysis by Dominik Vogt).</li>
10247
10248 <li>modify resource files to make the font-resources a little
10249 more specific, e.g., changing "*VT100*" to "*VT100.", to make
10250 the distinction between VT100.font and VT100.utf8Fonts.font
10251 sharper, in case a packager modifies one of those.</li>
10252
10253 <li>expanded comments in <code>UXTerm.ad</code> regarding the
10254 font resources (Debian #319179).</li>
10255
10256 <li>add <code>--enable-narrowproto</code> configure option to
10257 accommodate X.org "modular" build (report by Stephan Hermann,
10258 Gentoo #17220).</li>
10259
10260 <li>fix typo in xterm.man description of <code>+wf</code>
10261 (patch by Tobias Stoeckmann).</li>
10262
10263 <li>add <code>scrollBarBorder</code> resource (request by Floyd
10264 L Davidson).</li>
10265
10266 <li>modify <code>xterm-new</code> terminfo entry to use
10267 capabilities for shifted scroll forward/reverse as shifted
10268 cursor up/down.</li>
10269
10270 <li>correct updating of checkmark for toolbar entry in popup
10271 menu (report by Emanuele Giaquinta).</li>
10272
10273 <li>fix ifdef's to allow compiling with toolbar and without
10274 tek4014 (patch by Emanuele Giaquinta).</li>
10275
10276 <li>use <code>openpty()</code> for Darwin port (patch by
10277 Emanuele Giaquinta).</li>
10278
10279 <li>fix Gentoo #90697 a different way, postponing the logic in
10280 <code>SetupToolbar</code> until the toolbar is actually needed,
10281 i.e., the <code>+tb</code> option is handled as expected.</li>
10282
10283 <li>revert fix made in <a href="#xterm_203">patch #203</a> for
10284 Gentoo #90697. That introduced a problem with the control mouse
10285 click-popups, while most of the performance problems can be
10286 resolved by restricting the menu fonts (report by Emanuele
10287 Giaquinta).</li>
10288
10289 <li>fix a file-descriptor leak when calling
10290 <code>openpty()</code> (OpenBSD system/4561).</li>
10291
10292 <li>make a special case of resizing work like vt100: a hard
10293 reset also resets the 132/80 mode. The code to support this was
10294 present since X11R5, but not used because the corresponding
10295 initial state of the <code>-132</code> option was not
10296 saved.</li>
10297
10298 <li>restore window manager hints after
10299 <code>XtMakeResizeRequest()</code> calls. One instance from
10300 <a href="#xterm_205">patch #205</a> resulted in the window
10301 manager displaying pixels rather than than characters after
10302 selecting a different font size (FreeBSD ports/87424).</li>
10303
10304 <li>remove special case for Darwin in CF_XOPEN_SOURCE (Emanuele
10305 Giaquinta).</li>
10306
10307 <li>modify parsing of control sequence <code>CSI&nbsp;T</code>
10308 to allow scroll-down to be sent while mouse tracking is enabled
10309 (request by D Hugh Redelmeier).</li>
10310
10311 <li>correct termcap "me" (mode-end) string so it does not
10312 modify the alternate character set (report by Andrey
10313 Chernov).</li>
10314
10315 <li>correct size-comparison in HandleInterpret() broken in
10316 changes from <a href="#xterm_201">patch #201</a> to allocate
10317 input buffer (Debian #334317).</li>
10318
10319 <li>amend adjustments for scrollbar layout from <a href=
10320 "#xterm_204">patch #204</a> to make this apply only to the
10321 toolbar configuration. In the non-toolbar configuration, the
10322 resulting scrollbar was shifted by its borderwidth (report by
10323 Matthieu Herrb).</li>
10324
10325 <li>add select-cursor-extend() action.</li>
10326
10327 <li>fix some broken href's in xterm.log.html, and typo in the
10328 INSTALL file (report/patch by David Mart&iacute;nez
10329 Moreno).</li>
10330
10331 <li>modify <code>Imakefile</code> to use setgid mode for
10332 installing with Linux, OpenBSD and FreeBSD.</li>
10333
10334 <li>add configure --with-setuid and --with-reference options to
10335 allow packagers more flexibility in customizing install
10336 permissions.</li>
10337
10338 <li>generalize and make optional (configure --with-utmp-setgid)
10339 the change made for XFree86 Bugzilla #878 in <a href=
10340 "#xterm_205">patch #205</a> (FreeBSD bug report
10341 #ports/86663).</li>
10342 </ul>
10343
10344 <h1><a name="xterm_205" id="xterm_205">Patch #205 - 2005/9/18 -
10345 XFree86 4.5.99.12</a></h1>
10346
10347 <ul>
10348 <li>correct a typo in CF_FUNC_TGETENT introduced in <a href=
10349 "#xterm_198">patch #198</a> fix for Gentoo #69926.</li>
10350
10351 <li>implement logic in termcap query to process multiple
10352 parameters as documented in ctlseqs.ms</li>
10353
10354 <li>fix buffer size used for termcap query, which was not long
10355 enough for the terminfo "colors" name (patch by Bradd W.
10356 Szonye).</li>
10357
10358 <li>add configure option --enable-readline-mouse, which turns
10359 on the experimental OPT_READLINE code (patch by Ilya
10360 Zakharevich).</li>
10361
10362 <li>for FreeBSD, drop setuid privileges after startup (XFree86
10363 Bugzilla #878, report/patch by Alexander Pohoyda)</li>
10364
10365 <li>add menu entry (alt-esc) and corresponding action
10366 (alt-sends-esc) to toggle the <code>eightBitInput</code>
10367 resource setting.</li>
10368
10369 <li>generate configure script with autoconf 2.52 (patched) to
10370 use the feature therein which forces the script's locale to
10371 POSIX (Gentoo Bugzilla #105369).</li>
10372
10373 <li>modify computation of rows/columns on resize to avoid
10374 extending beyond the given limits, e.g., if resizing in
10375 response to a "maximize" in Gnome or KDE which do not use the
10376 window manager hints for this case (Debian #289123, Novell
10377 #61153).</li>
10378
10379 <li>modifications to work with z/OS 1.4 (Paul Giordano).</li>
10380
10381 <li>improve error-reporting when chown/chmod of the
10382 pseudo-terminal fails, e.g., if a copy of xterm which was
10383 designed to work with old-style pseudo-terminals is not
10384 installed setuid or setgid (report by Jeremy C. Reed).</li>
10385
10386 <li>patches from Emanuele Giaquinta:
10387 <ul>
10388 <li>ctlseqs.ms says that primary and secondary DA accept a
10389 nonzero parameter, which is incorrect. Also modify code to
10390 agree with this.</li>
10391
10392 <li>correct a comment in 88colres.pl</li>
10393
10394 <li>ctlseqs.ms says that the DEC Set/Reset control
10395 sequences for the backarrow key make it send DEL/BS,
10396 respectively, while it's the opposite.</li>
10397
10398 <li>update the menu entries for the metaSendsEscape,
10399 deleteIsDEL and numLock resources when changing them with
10400 the corresponding DEC Set/Reset control sequences.</li>
10401 </ul>
10402 </li>
10403
10404 <li>fixes for configure script:
10405 <ul>
10406 <li>add special case for QNX, defining _QNX_SOURCE.</li>
10407
10408 <li>check for preprocessors which do not perform -U and -D
10409 options in the given order.</li>
10410
10411 <li>improve macro to determine gcc version</li>
10412
10413 <li>improve check for Intel compiler and related warning
10414 options</li>
10415 </ul>
10416 </li>
10417
10418 <li>update config.guess, config.sub</li>
10419
10420 <li>improve fix from <a href="#xterm_198">patch #198</a> for
10421 <code>Cleanup()</code> by ensuring it is not called from the
10422 SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)).</li>
10423
10424 <li>eliminate a retry for a better-matching bold font, to work
10425 around recent font server changes.</li>
10426
10427 <li>fixes for Novell #113277:
10428 <ul>
10429 <li>specify weight for wide font which may be derived from
10430 normal fontname.</li>
10431
10432 <li>cache the derived wide- and widebolt-fontnames.</li>
10433 </ul>
10434 </li>
10435
10436 <li>workaround for Gentoo Bugzilla #100728.</li>
10437
10438 <li>add menubar's border width to layout computation. Normally
10439 this is zero, but patterns such as
10440 <code>XTerm*borderWidth:1</code> would give poor layout for the
10441 toolbar configuration.</li>
10442 </ul>
10443
10444 <h1><a name="xterm_204" id="xterm_204">Patch #204 - 2005/8/4 -
10445 XFree86 4.5.99.9</a></h1>
10446
10447 <ul>
10448 <li>work around quirk in shell which allowed user to "run"
10449 uxterm script when there was no UTF-8 locale installed by
10450 entering "sh -x uxterm". Also popup an xmessage to show the
10451 problem for users who run this via a GUI (Debian #318513).</li>
10452
10453 <li>disallow changes to fonts, toolbar and scrollbar when the
10454 vt100 window is iconified, to simplify management of the active
10455 icon.</li>
10456
10457 <li>fixes to make <code>-geom</code> option work properly with
10458 the toolbar configuration (Gentoo #90717, Gentoo #91967).</li>
10459
10460 <li>minor improvements to scrollbar layout: ensure that the
10461 scrollbar border is zero if the vt100 border is zero.</li>
10462
10463 <li>improve initialization due to <code>utf8</code> resource by
10464 loading the <code>utf8Fonts</code> resource in the case where
10465 <code>locale</code> resource is false. Also in this case, do
10466 not disable switching UTF-8 mode on/off.</li>
10467
10468 <li>minor optimization of TrueType font-loading, loads italic
10469 font only when needed.</li>
10470
10471 <li>correct variable used to store temporary result from lookup
10472 of bold font, when initializing the wide-bold-font data and no
10473 immediate match is found by asking for a bold variant of the
10474 wide-font. The result was to use overstriking rather than the
10475 actual bold font (Debian #318162, patch by Eugene Konev).</li>
10476
10477 <li>add checks to ensure vt100 widget is realized when it might
10478 be updated via actions handled from a tek4014-only
10479 configuration.</li>
10480 </ul>
10481
10482 <h1><a name="xterm_203" id="xterm_203">Patch #203 - 2005/7/6 -
10483 XFree86 4.5.99.7</a></h1>
10484
10485 <ul>
10486 <li>modify initialization of <code>allowSendEvents</code> and
10487 <code>allowWindowOps</code> to prevent modification with the
10488 editres protocol.</li>
10489
10490 <li>fix compiler warning for NetBSD by including util.h in
10491 main.c (XFree86 Bugzilla #1596).</li>
10492
10493 <li>fix to build on Darwin 8.x, which no longer provides
10494 <code>setpgrp()</code> (patch by Min Sik Kim).</li>
10495
10496 <li>adapted fixes for Legend (SCO) from diffs attached to
10497 Freedesktop.Org Bugzilla #3180.</li>
10498
10499 <li>fix typo in xterm manpage description of <code>-ls</code>
10500 option (Freedesktop.Org Bugzilla #3543).</li>
10501
10502 <li>add support for interpreting the underline attribute as an
10503 italic font in Xft mode (patch by Chuck Blake).</li>
10504
10505 <li>improve initialization of toolbar so that individual
10506 pulldown menus are initialized on demand, as they are in the
10507 scenario where they are invoked as popup menus (Gentoo Bugzilla
10508 #90697).</li>
10509
10510 <li>fix logic in <code>find_utmp</code>, which did not reset
10511 result in <code>getutid()</code>, causing an infinite loop in
10512 some conditions (report by Emil Mikulic).</li>
10513
10514 <li>set the <code>_NET_WM_PID</code> property (Gentoo Bugzilla
10515 #91008).</li>
10516
10517 <li>modify ifdef's in ptyx.h and xterm_io.h to build with
10518 DragonFly (patch by Jeroen Ruigrok).</li>
10519
10520 <li>change default values for <code>minBufSize</code> and
10521 <code>maxBufSize</code> to 4096 and 32768 respectively so that
10522 the initial read request will match the value from before
10523 changes to use <code>sched_yield()</code>.</li>
10524
10525 <li>make paste of UTF-8 faster for Western character sets by
10526 checking range of incoming data (patch by Joe Allen).</li>
10527
10528 <li>add experimental option to allow applications to get or set
10529 the selection data as a BASE64 string (adapted from patch by
10530 Joe Allen).</li>
10531
10532 <li>fix an off-by-one error parsing <code>-S/nn</code> option
10533 (Debian #311438, report/fix by Peter Chubb).</li>
10534
10535 <li>fix an initialization bug from <a href="#xterm_201">patch
10536 #201</a> that broke logging (report by Rodney Thayer).</li>
10537
10538 <li>amend change to command-line processing in <a href=
10539 "#xterm_201">patch #201</a> to avoid conflict with
10540 <code>-e</code> option (report by Servatius Brandt).</li>
10541
10542 <li>suppress configure check for <code>_XOPEN_SOURCE</code> on
10543 darwin.</li>
10544
10545 <li>update config.guess, config.sub</li>
10546 </ul>
10547
10548 <h1><a name="xterm_202" id="xterm_202">Patch #202 - 2005/5/2 -
10549 XFree86 4.5.99.3</a></h1>
10550
10551 <ul>
10552 <li>add extended shift- and control-modifier cursor keys to
10553 "xterm+pcfkeys" terminfo entry to correspond to ncurses
10554 20050430 patch.</li>
10555
10556 <li>fix a rare case where text would be written with the wrong
10557 colors because output of scrolled text would reset the colors
10558 and the new text would be written with the same colors
10559 (report/testcase by Thomas Glanzmann).</li>
10560
10561 <li>rename <code>$CMD</code> variable in <code>plink.sh</code>
10562 because it is a reserved symbol in bash 3.00.16 (report by Ted
10563 Taylor).</li>
10564
10565 <li>add environment variables <code>$XTERM_SHELL</code> and
10566 <code>$XTERM_VERSION</code> (request by Zdenek Sekera).</li>
10567
10568 <li>corrected workaround for background color of menubar, which
10569 gave a too-broad expression, coloring the background of the
10570 VT100 widget unless overridden by another resource
10571 setting.</li>
10572
10573 <li>correct an error in the logic which decides when
10574 <code>sched_yield()</code> is run; it would occasionally hang
10575 when contending with other pseudo-terminal applications such as
10576 screen (report by Kirill Ponomarew).</li>
10577
10578 <li>modify initialization to decide whether to default to
10579 built-in <code>wcwidth()</code> versus system's version based
10580 on the starting locale and whether the system's version is poor
10581 quality (suggested by Bram Moolenaar).</li>
10582
10583 <li>update table for <code>mk_width()</code> from UnicodeData
10584 4.1.0 using Markus Kuhn's <code>uniset</code> script.</li>
10585 </ul>
10586
10587 <h1><a name="xterm_201" id="xterm_201">Patch #201 - 2005/4/21 -
10588 XFree86 4.5.99.2</a></h1>
10589
10590 <ul>
10591 <li>improve resource files to show how the menubar and popup
10592 menus can be colored (prompted by report by Joe Wells).</li>
10593
10594 <li>modify parsing of OSC (and SOS, etc), strings so their
10595 contents are not interpreted as UTF-8. This allows non-ASCII
10596 title strings to be set, provided that the window manager
10597 complies (report by Thomas Wolff).</li>
10598
10599 <li>improved some of the built-in line-drawing glyphs.</li>
10600
10601 <li>correct color of "box" character drawn for line-drawing
10602 glyph 1 (report by Nicolas George).</li>
10603
10604 <li>improve behavior when switching to UTF-8 mode after startup
10605 so xterm will check if the current fonts are already wide
10606 (ISO10646-1). If they are not, xterm will use the
10607 <code>utf8Fonts</code> subresource to load appropriate fonts
10608 (request by Bram Moolenaar).</li>
10609
10610 <li>modify logic for setting title-string so it applies to the
10611 current widget rather than the vt100 widget.</li>
10612
10613 <li>modify initialization for wide-bold fontname, to search for
10614 one if none is given (report by Michael Schroeder).</li>
10615
10616 <li>add resource <code>mkWidth</code> and command-line option
10617 <code>-mk_width</code> to control whether xterm uses the
10618 built-in version of wcwidth().</li>
10619
10620 <li>add resource settings for minimum/maximum input buffer
10621 size, and call to <code>sched_yield</code> to improve
10622 performance with newer Linux kernels (adapted from patch by
10623 Nicolas George).</li>
10624
10625 <li>correct computation of width for wide characters with the
10626 invisible attribute (report by Thomas Wolff).</li>
10627
10628 <li>modify interaction between <code>+u8</code> and
10629 <code>locale</code> resource to allow the command-line option
10630 to override the resource (requested by Thomas Wolff).</li>
10631
10632 <li>add a limit check for scrolling margins in a one-line
10633 screen, overlooked in fixes for <a href="#xterm_198">patch
10634 #198</a> (Debian #297430).</li>
10635
10636 <li>correct treatment of <code>iconBorderWidth</code> for
10637 resizing an active-icon, and its description in manpage (Debian
10638 #296592).</li>
10639
10640 <li>modify configure script <code>--disable-imake</code> to use
10641 the script's definitions anyway if it cannot detect imake
10642 (prompted by FreeBSD bug 77408).</li>
10643
10644 <li>ignore error in the I/O initialization that tries to set
10645 the tty to 7-bit input for the case where
10646 <code>eightBitInput</code> resource is false (Debian
10647 #298551).</li>
10648
10649 <li>modify command-processing to accept an optional parameter
10650 that tells xterm which shell program to use (request by Zdenek
10651 Sekera).</li>
10652
10653 <li>add simpler resource <code>keyboardType</code> which, when
10654 set, overrides the individual keyboard-type resources and
10655 eliminates the possibility of conflict between them.</li>
10656
10657 <li>add initialization for <code>scoFunctionKeys</code>
10658 resource (report by Rick K).</li>
10659
10660 <li>correct logic of <code>ReallocateBufOffsets()</code> which
10661 did not copy the content of the old screen buffer to the proper
10662 location, making a repaint clear after switching to
10663 wide-character mode (report by Bram Moolenaar):</li>
10664
10665 <li>implement the remaining pieces to make xterm allocate cells
10666 for wide-characters when the "UTF-8" menu entry is selected.
10667 Also, load the UTF-8 font when that menu entry is selected, or
10668 the escape sequence for UTF-8 mode is received (report by Bram
10669 Moolenaar):</li>
10670
10671 <li>add command-line options (<code>-tb</code>,
10672 <code>+tb</code>) and resource <code>toolBar</code> to allow
10673 menu/toolbar to disabled or enabled at startup (prompted by
10674 reports by Joe Wells).</li>
10675
10676 <li>correct typo in configure script's --enable-dec-locator
10677 option (report by Bram Moolenaar).</li>
10678 </ul>
10679
10680 <h1><a name="xterm_200" id="xterm_200">Patch #200 - 2005/2/6 -
10681 XFree86 4.4.99.23</a></h1>
10682
10683 <ul>
10684 <li>increase color pairs value for xterm-256color and
10685 xterm-88color to match ncurses, which has an experimental
10686 option to support this.</li>
10687
10688 <li>modify ifdef's to make AIX use termios rather than termio;
10689 the struct sizes for the two were not the same.</li>
10690
10691 <li>improve CF_WITH_IMAKE_CFLAGS configure macro script for
10692 OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and
10693 AIX.</li>
10694
10695 <li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch
10696 by Min Sik Kim).</li>
10697
10698 <li>modify find_utmp() to initialize the whole utmpx struct
10699 (except ut_id), since that is needed for OSF1 4.0D to prevent
10700 an infinite loop on exit.</li>
10701
10702 <li>add configure check before adding -D_POSIX_SOURCE since
10703 some platforms predefine it, e.g., cygwin.</li>
10704
10705 <li>add simplified sed expressions in CF_IMAKE_CFLAGS configure
10706 script macro to ensure value for PROJECTROOT is quoted on
10707 Solaris, i.e., when nested <code>\(</code> and <code>\)</code>
10708 are not interpreted correctly.</li>
10709
10710 <li>correct DEC rectangle operations to reset state after
10711 completing the operations.</li>
10712
10713 <li>modify CASE_ST handling in charproc.c to ensure that the
10714 parse state is reset even if xterm is not currently processing
10715 an OSC or other string (patch by Johnny Billquist forwarded by
10716 Matthias Scheler, NetBSD xsrc/29003).</li>
10717
10718 <li>fix OS/2 build for innotek_libc (patch by David Yeo).</li>
10719
10720 <li>fix a regression from <a href="#xterm_197">patch #197</a>
10721 fix for Debian #277832 which disowned the selection if it was
10722 scrolled, e.g., by the user pressing return at the bottom of
10723 the screen (Debian #291787).</li>
10724
10725 <li>move the warning/exit for missing $DISPLAY into the error
10726 handler in case <code>-display</code> is given, and the connect
10727 fails for some other reason.</li>
10728 </ul>
10729
10730 <h1><a name="xterm_199" id="xterm_199">Patch #199 - 2005/1/17 -
10731 XFree86 4.4.99.22</a></h1>
10732
10733 <ul>
10734 <li>instead of setting <code>$DISPLAY</code>, check for the
10735 unset variable and warn/exit on this condition (comments by H
10736 Merijn Brand and Bernhard R Link).</li>
10737
10738 <li>fix a typo in Imakefile from <a href="#xterm_198">patch
10739 #198</a> (reports/patches by Stefan Dirsch, Mike Castle).</li>
10740 </ul>
10741
10742 <h1><a name="xterm_198" id="xterm_198">Patch #198 - 2005/1/13 -
10743 XFree86 4.4.99.21</a></h1>
10744
10745 <ul>
10746 <li>set <code>$DISPLAY</code> to ":0" if it is not set.</li>
10747
10748 <li>add <code>utmpDisplayId</code> resource to allow users to
10749 control whether the display identifier (display number and
10750 screen number) are retained in the connection information
10751 recorded in utmp (discussion with Edoardo Tirtarahardja).</li>
10752
10753 <li>add <code>bellOnReset</code> resource to allow users to
10754 disable bell which sounds on hard reset since <a href=
10755 "#xterm_183">patch #183</a> changes to DECSCL (discussion with
10756 Danek Duvall).</li>
10757
10758 <li>improve <code>$WINDOWID</code> for configuration with
10759 toolbar by making it refer to the top-level shell rather than
10760 the parent of the current window. For that case, the parent is
10761 a form widget, which does not have a name, which made the
10762 <code>$WINDOWID</code> not very useful as a parameter for
10763 <code>xwininfo</code> (suggested by Dave Bodenstab).</li>
10764
10765 <li>fix a typo in WhichVFont() macro from <a href=
10766 "#xterm_197">patch #197</a> changes which broke the
10767 --disable-active-icon configuration (report by Ralf S.
10768 Engelschall).</li>
10769
10770 <li>improve some limit checks (Gentoo Bugzilla #75604).</li>
10771
10772 <li>add --disable-setuid option to configure script (Gentoo
10773 Bugzilla #76543).</li>
10774
10775 <li>add --disable-full-tgetent option to configure script,
10776 allowing one to ignore a termcap library in favor of
10777 ncurses/curses (Gentoo Bugzilla #69926).</li>
10778
10779 <li>modify configure script to choose useful warning options
10780 for Intel version 8.0 compiler.</li>
10781
10782 <li>update config.guess, config.sub</li>
10783
10784 <li>make active-icon work properly when TrueType fonts are used
10785 (Debian #286068).</li>
10786
10787 <li>correct change from <a href="#xterm_157">patch #157</a>
10788 which uses getlogin() to check for an alias; the storage used
10789 for the related getpwuid() call was overwritten by the data
10790 used for comparison (patch by Per Hedeland).</li>
10791
10792 <li>correct case of SCS for character set 0 (line-drawing) to
10793 allow it to be selected into GR.</li>
10794
10795 <li>fix a file-descriptor leak (Redhat Bugzilla #139597).</li>
10796
10797 <li>modify <code>creat_as()</code> to only fork if xterm is
10798 actually running as setuid and/or setgid. This works around a
10799 Cygwin bug which hangs when logging is enabled and makes xterm
10800 a little faster for systems using interfaces such as utempter
10801 (report by Al Goodman).</li>
10802
10803 <li>modify <code>Cleanup()</code> to avoid operations such as X
10804 calls that might use unsafe functions when it is called by a
10805 signal handler (report by Michiel Boland).</li>
10806
10807 <li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM
10808 changes from <a href="#xterm_197">patch #197</a> that broke
10809 DECSET 38: switch to Tek4014 emulation (report by Dave
10810 Bodenstab).</li>
10811
10812 <li>fix for manpage escapes (Marc La France).</li>
10813
10814 <li>improve on IRIX-specific change for Imakefile in XFree86
10815 CVS versus resize linking against termcap library to reflect
10816 definitions for USE_TERMCAP in resize.c</li>
10817 </ul>
10818
10819 <h1><a name="xterm_197" id="xterm_197">Patch #197 - 2004/11/30 -
10820 XFree86 4.4.99.19</a></h1>
10821
10822 <ul>
10823 <li>modify configure script to remove empty "-DPROJECTROOT="
10824 definition which resulted unusable values for luit's default
10825 path.</li>
10826
10827 <li>update precompose.c based on Unicode 4.0.1</li>
10828
10829 <li>several minor fixes based on Intel compiler warnings.</li>
10830
10831 <li>change default translations so a <code>BtnDown</code> which
10832 is not recognized is simply ignored rather than emitting a
10833 bell. That makes it less obtrusive when the user tries to use a
10834 mouse which provides more capabilities than the X mouse driver
10835 supports, e.g., one with a horizontal scroll wheel (Debian
10836 #265133).</li>
10837
10838 <li>note in xterm's manpage that <code>translations</code> is
10839 not specific to xterm (Debian #278897).</li>
10840
10841 <li>modify uxterm script to use locale program to verify if the
10842 derived locale is installed (Debian #246398).</li>
10843
10844 <li>correct font handling for active icon when in UTF-8 mode
10845 (report by Paolo Liberatore).</li>
10846
10847 <li>make active-icon and toolbar configurations work
10848 together.</li>
10849
10850 <li>modify the criteria for disowning primary selection.
10851 Previously, this happened anytime the cursor was moved before
10852 the end of the selection. That would ensure that any
10853 insert/delete of char or line, as well as scrolling, would
10854 disown the selection. The new criteria change this to checking
10855 if the operations would modify the data which is highlighted
10856 (Debian #277832).</li>
10857
10858 <li>reimplement <code>DECALN</code> with functions for vt420
10859 rectangles, fixes selection for this case.</li>
10860
10861 <li>implement vt420 rectangle operations.</li>
10862
10863 <li>add parsing, for debug/test of vt220 soft-fonts.</li>
10864
10865 <li>add menu entry, actions and escape sequence to allow
10866 enabling/disabling toolbars at runtime.</li>
10867
10868 <li>improve rendering for Xft, allow it to draw non-linedrawing
10869 characters such as "pi", which were drawn from internal tables
10870 with <a href="#xterm_180">patch #180</a> (Freedesktop.org
10871 Bugzilla #1260).</li>
10872
10873 <li>add configure option <code>--enable-mini-luit</code>,
10874 ifdef'd the mini-luit feature with
10875 <code>OPT_MINI_LUIT</code>.</li>
10876
10877 <li>add mini-luit feature, which supports Latin9 directly
10878 rather than via luit, provided that Unicode fonts are used
10879 (Freedesktop.org Bugzilla #1571, request by Stefan Dirsch,
10880 patch by Michael Schroeder).</li>
10881
10882 <li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x
10883 kernels, set the corresponding flag for the slave pty, to
10884 enable UTF-8 interpretation of backspace in cooked mode
10885 (Freedesktop.org Bugzilla #1578, request by Stefan
10886 Dirsch).</li>
10887
10888 <li>modify <code>faceSize</code> resource to use a
10889 floating-point internal value (adapted from patch by Sam
10890 Stephenson).</li>
10891
10892 <li>correct handling selection of tabs over cleared space in
10893 UTF-8 mode. In this special case, xterm represents the
10894 whitespace with a null rather than a space character (Debian
10895 #276447).</li>
10896
10897 <li>amend fix for infinite loop from <a href="#xterm_192">patch
10898 #192</a> to check if there is wrapped text to output in a
10899 following iteration (Debian #273202).</li>
10900
10901 <li>fixes ifdef'd with <code>__INTERIX</code> to allow building
10902 with Interix (Windows Services for UNIX) 3.5 using the xlibs
10903 libraries from freedesktop.org (patch by Min Sik Kim).</li>
10904
10905 <li>amend solution for Debian #252873, Debian #260471 from
10906 <a href="#xterm_194">patch #194</a> by making the cursor not
10907 explicitly colored if only the foreground color is set, and the
10908 cursor is on a blank space (Debian #275473).</li>
10909
10910 <li>correct logic for send/receive mode (SRM) with regard to
10911 control characters.</li>
10912
10913 <li>fix masking of invisible text in wide-character mode, which
10914 did not work for line-drawing characters.</li>
10915
10916 <li>incorporate CF_XOPEN_SOURCE into configure script,
10917 replacing CF_GNU_SOURCE.</li>
10918 </ul>
10919
10920 <h1><a name="xterm_196" id="xterm_196">Patch #196 - 2004/8/15 -
10921 XFree86 4.4.99.12</a></h1>
10922
10923 <ul>
10924 <li>add a special case to configure script to ignore NetBSD's
10925 <code>grantpt()</code> which was recently added (but not part
10926 of a release), until someone is able to ensure that xterm can
10927 use it (report by Min Sik Kim).</li>
10928
10929 <li>clear the buffer returned by getutid(). This fixes an
10930 infinite loop on some platforms introduced in <a href=
10931 "#xterm_193">patch #193</a> by Debian #256468 fix (report by
10932 David Ellement).</li>
10933 </ul>
10934
10935 <h1><a name="xterm_195" id="xterm_195">Patch #195 - 2004/8/8 -
10936 XFree86 4.4.99.11</a></h1>
10937
10938 <ul>
10939 <li>correct length used for blinking text, make the last column
10940 blink (patch by Alexander V Lukyanov).</li>
10941
10942 <li>start changes to make doublesize characters work with
10943 TrueType fonts (see <a href="#xterm_44">patch #44</a>).</li>
10944
10945 <li>trim leading/trailing blanks from color resources as done
10946 for other strings in <a href="#xterm_167">patch #167</a>.</li>
10947
10948 <li>fixes for <code>showBlinkAsBold</code> resource (report by
10949 Christoph Berg).</li>
10950 </ul>
10951
10952 <h1><a name="xterm_194" id="xterm_194">Patch #194 - 2004/7/27 -
10953 XFree86 4.4.99.11</a></h1>
10954
10955 <ul>
10956 <li>change clearing operations so foreground color attribute is
10957 not set. Usually this is benign, but in some cases when the
10958 cursor color is not set explicitly, the cursor would show this
10959 color (Debian #252873, Debian #260471).</li>
10960
10961 <li>add extra state (cursor-moved) to guard against deciding
10962 that the cursor did not require repainting after an indexing
10963 operation that leaves the cursor in the same location on the
10964 screen.</li>
10965
10966 <li>fix a case where a full-screen indexing operation would not
10967 restore the cursor-busy state.</li>
10968
10969 <li>fix a repainting bug introduced in <a href=
10970 "#xterm_180">patch #180</a>: when using a font lacking
10971 line-drawing characters, a repaint of the screen could skip
10972 horizontally an extra amount after filling in the missing
10973 character (reports by Nicolas George, Hans de Goede, Redhat
10974 Bugzilla #128341).</li>
10975
10976 <li>rename terminfo fragment "xterm-pc-fkeys" to
10977 "xterm+pcfkeys" for consistency with ncurses.</li>
10978 </ul>
10979
10980 <h1><a name="xterm_193" id="xterm_193">Patch #193 - 2004/7/19 -
10981 XFree86 4.4.99.10</a></h1>
10982
10983 <ul>
10984 <li>fix for wide-character selection from OpenBSD CVS
10985 (report/patch by Matthieu Herrb).</li>
10986
10987 <li>modify initialization and cleanup of utmp data to also
10988 compare the <code>ut_line</code> member (Debian #256468).</li>
10989
10990 <li>modify check on focus-change to ignore
10991 <code>FocusOut</code> events generated by
10992 <code>XGrabKeyboard</code>. This fixes a case where the text
10993 cursor would act as if focus were lost when selecting the
10994 "Secure Keyboard" menu option.</li>
10995
10996 <li>add <code>gen-pc-fkeys.pl</code> script, use that to
10997 generate terminfo fragment corresponding to the pc-style
10998 function keys.</li>
10999
11000 <li>fix a case where the checkmark by the "VT220 Keyboard" menu
11001 entry was not set on startup.</li>
11002
11003 <li>separated two methods for making the cursor blink (menu and
11004 escape sequence) by using the menu as the primary method and
11005 XOR'ing the state of the escape sequence against that.</li>
11006
11007 <li>modify logic for enabling blinking cursor via escape
11008 sequence as well as the related save/restore operations so this
11009 is only available if the <code>cursorBlink</code> resource was
11010 set on startup.</li>
11011 </ul>
11012
11013 <h1><a name="xterm_192" id="xterm_192">Patch #192 - 2004/7/12 -
11014 XFree86 4.4.99.9</a></h1>
11015
11016 <ul>
11017 <li>change resource settings for color4 and color12, add some
11018 discussion in <code>XTerm-col.ad</code> (Debian #241717).</li>
11019
11020 <li>add a note in xterm manpage discussing the difference
11021 between alt- and meta-keys, and the way the latter is used in
11022 the <code>eightBitInput</code> resource.</li>
11023
11024 <li>add a note in xterm manpage regarding possible conflict
11025 between resource settings for <code>xterm.vt100.font</code> and
11026 <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650).</li>
11027
11028 <li>add compile-time customization of
11029 <code>backarrowKeyIsErase</code> and
11030 <code>ptyInitialErase</code> default resource values (adapted
11031 from OpenBSD CVS).</li>
11032
11033 <li>change parameter of <code>FIONREAD</code>
11034 <code>ioctl()</code> call from long to int (discussion on
11035 [email protected] regarding LP64 by John Heasley and Matthias
11036 Scheler).</li>
11037
11038 <li>modify configure script options for Athena widgets to work
11039 as expected for "--without-Xaw3d", etc., (Gentoo Bugzilla
11040 #53455).</li>
11041
11042 <li>add case to uxterm to accommodate locales ending with
11043 "@euro", e.g., fr_FR.UTF-8@euro (Debian #255197,
11044 report/analysis by Matthieu Lagouge).</li>
11045
11046 <li>add special case for VT100 graphic's "box" character
11047 (discussion with Ben Armstrong).</li>
11048
11049 <li>add missing initialization for bitmap-font sizes needed to
11050 make fonts menu work with TrueType fonts (report by Ben
11051 Armstrong).</li>
11052
11053 <li>save the fontnames for bold fonts that are derived from
11054 normal fonts, or from the <code>boldFont</code> resource, so
11055 the same value is restored when switching with the VT Fonts
11056 menu (Debian #256086).</li>
11057
11058 <li>fix manpage preprocessing (Marc La France).</li>
11059
11060 <li>fix typo in manpage's description of character classes
11061 (Debian #257073).</li>
11062
11063 <li>modify terminfo to accommodate luit, which relies on G1
11064 being used via an ISO-2022 escape sequence (Debian #254316,
11065 analysis by Juliusz Chroboczek).</li>
11066
11067 <li>modify Makefile.in rule for ctlseqs.txt to work around
11068 groff SGR misfeature.</li>
11069
11070 <li>modify <code>XTerm.ad</code> to set <code>saveLines</code>
11071 default to 1024 (Redhat Bugzilla #127132).</li>
11072
11073 <li>add a limit-check in <code>dotext()</code> to prevent
11074 infinite loop in a corner case of UTF-8 configuration.</li>
11075
11076 <li>update config.guess, config.sub</li>
11077 </ul>
11078
11079 <h1><a name="xterm_191" id="xterm_191">Patch #191 - 2004/6/6 -
11080 XFree86 4.4.99.7</a></h1>
11081
11082 <ul>
11083 <li>correct options parsing for <code>-into</code> option so it
11084 can be combined with <code>-e</code> (Redhat Bugzilla #124518,
11085 report/patch by James Armstrong).</li>
11086
11087 <li>fix ifdef's for <code>OPT_COLOR_RES2</code> so that the
11088 fake resource table introduced in <a href="#xterm_188">patch
11089 #188</a> is not compiled if it is empty. This happened to work
11090 with gcc (report by Joel Konkle-Parker).</li>
11091
11092 <li>reorganize ptydata.c to use one input buffer shared between
11093 the VTxxx and tek4014 emulators. In the new scheme, UTF-8
11094 decoding is performed on characters as they are needed by the
11095 state machine rather than on buffers as they are read.</li>
11096
11097 <li>work around change in quoting of PROJECTROOT symbol when
11098 using configure script, from changes made in <a href=
11099 "#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS (Gentoo
11100 Bugzilla #50982).</li>
11101 </ul>
11102
11103 <h1><a name="xterm_190" id="xterm_190">Patch #190 - 2004/5/25 -
11104 XFree86 4.4.99.6</a></h1>
11105
11106 <ul>
11107 <li>correct state for values in the range 128-159 after
11108 translating from UTF-8: this should be ignored unless the user
11109 overrides it with the <code>allowC1Printable</code> resource
11110 (reported by Simon Strandgaard).</li>
11111
11112 <li>add configure-script check for nl_langinfo(CODESET), use
11113 this to replace check of environment variables for UTF-8.</li>
11114
11115 <li>change Makefile.in rules for 256colres.h and 88colres.h so
11116 they are only made if they do not exist. The maintainer-clean
11117 rule will remove these files; they require perl to be
11118 made.</li>
11119
11120 <li>remove check in configure script --enable-toolbar that
11121 suppressed this option when building with Xaw7.</li>
11122
11123 <li>apply fixes to Tektronix widget used for VT100 widget to
11124 make toolbar work with Xaw7 (XFree86 4.x).</li>
11125 </ul>
11126
11127 <h1><a name="xterm_189" id="xterm_189">Patch #189 - 2004/5/16 -
11128 XFree86 4.4.99.6</a></h1>
11129
11130 <ul>
11131 <li>do not call xim_real_init() if <code>openIm</code> resource
11132 is false (Debian #249025).</li>
11133
11134 <li>minor improvements to built-in line-drawing.</li>
11135
11136 <li>fix a few portability issues with dynamic abbreviation
11137 support, i.e., did not compile on Tru64.</li>
11138
11139 <li>modify constraints in form used to layout toolbar, to work
11140 with newer Xaw in XFree86 4.x.</li>
11141 </ul>
11142
11143 <h1><a name="xterm_188" id="xterm_188">Patch #188 - 2004/5/12 -
11144 XFree86 4.4.99.6</a></h1>
11145
11146 <ul>
11147 <li>correct table entry for DEL in the ground state, which
11148 marked it as a printable character from <a href=
11149 "#xterm_171">patch #171</a> (report by D Hugh Redelmeier).</li>
11150
11151 <li>improve fix in <a href="#xterm_186">patch #186</a> for
11152 failure in xim_real_init() by adding a sleep.</li>
11153
11154 <li>fix a typo in os2main.c (XFree86 Bugzilla #1358,
11155 report/patch by Frank Giessler).</li>
11156
11157 <li>make escape sequence reporting dynamic colors consistent
11158 with the logic that sets it; choosing the opposite color when
11159 reverse video is set (XFree86 Bugzilla #1361, reported by Bradd
11160 W Szonye).</li>
11161
11162 <li>modify initialization of 256- and 88-colors so that colors
11163 beyond 16 are normally not X resources. This works around a
11164 hard-coded limit in Xt which breaks xterm when 256-colors and
11165 luit are both configured (report by Noah Friedman).</li>
11166
11167 <li>remove <code>ncv</code> from <code>xterm-256color</code>
11168 terminfo entry since it is no longer needed (report by Eli
11169 Zaretskii).</li>
11170
11171 <li>add "erase2" and "eol2" keywords to <code>ttyModes</code>
11172 resource, for recent/current FreeBSD.</li>
11173
11174 <li>improve ifdef's for utempter library to omit direct calls
11175 to <code>setutent()</code> or <code>getutent()</code> (adapted
11176 from patch by Christian Biere).</li>
11177
11178 <li>add dynamic abbreviation support like Emacs (patch by
11179 Tomasz Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>,
11180 and enabled via the configure script
11181 <code>--enable-dabbrev</code> option.</li>
11182
11183 <li>fix problem responding to session management events, e.g.,
11184 which would make logging out very slow (patch by Eddy De Greef,
11185 Debian #233883).</li>
11186
11187 <li>work around a newer bug in toolbar with XFree86 by forcing
11188 menus to be fully initialized at startup. In older versions of
11189 XFree86 and X11R6, it was possible to delay initialization of
11190 the menu contents until it was popped up. (The longstanding bug
11191 with XFree86 4.x layout for toolbar still exists, though).</li>
11192
11193 <li>modify <code>xtermAddInput</code> to work around core dump
11194 on IRIX64 when initializing scrollbar translations if toolbar
11195 is compiled-in.</li>
11196
11197 <li>fix some minor conflicts in the 2-character entry names in
11198 the termcap file.</li>
11199 </ul>
11200
11201 <h1><a name="xterm_187" id="xterm_187">Patch #187 - 2004/4/27 -
11202 XFree86 4.4.99.4</a></h1>
11203
11204 <ul>
11205 <li>change xterm version string to use
11206 <code>__vendorversion__</code> where that is available, and
11207 "XTerm" otherwise.</li>
11208
11209 <li>improve description of <code>utf8</code> resource in
11210 manpage (Debian #179407).</li>
11211
11212 <li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS
11213 to handle <code>-D</code> options that define string values,
11214 e.g., for <code>XVENDORNAME</code>.</li>
11215
11216 <li>modify configure macro CF_IMAKE_CFLAGS to allow (if
11217 <code>$PATH</code> is set accordingly) to use the
11218 <code>xmkmf</code> script within an X build tree.</li>
11219
11220 <li>add missing <code>#undef OPT_SESSION_MGT</code> to
11221 xtermcfg.hin to make the configure script's
11222 --disable-session-mgt option work.</li>
11223
11224 <li>update config.guess, config.sub</li>
11225 </ul>
11226
11227 <h1><a name="xterm_186" id="xterm_186">Patch #186 - 2004/4/18 -
11228 XFree86 4.4.99.4</a></h1>
11229
11230 <ul>
11231 <li>change reset on <code>DECSCL</code> to a soft-reset
11232 (appears some DEC manuals have errors).</li>
11233
11234 <li>add a section to ctlseqs.ms elaborating on normal/alternate
11235 screens.</li>
11236
11237 <li>modify initialization of Acolors[] so that any
11238 XtDefaultForeground or XtDefaultBackground values are
11239 translated as in the Tcolors[], to use the window's
11240 foreground/background colors. This affects the
11241 <code>colorBD</code> and similar resources which normally have
11242 no explicit color assigned.</li>
11243
11244 <li>modify initialization of Tektronix window so that control
11245 sequences setting its color before the window is popped up will
11246 apply to its initial colors.</li>
11247
11248 <li>add control sequence to set Tektronix window's
11249 text-cursor.</li>
11250
11251 <li>modify initialization of terminal colors, e.g., mouse
11252 pointer and text cursor, to treat
11253 <code>XtDefaultForeground</code> and
11254 <code>XtDefaultBackground</code> values as the actual
11255 foreground and background colors of the terminal rather than
11256 white and black (Debian #241717).</li>
11257
11258 <li>remove an incorrect comparison against
11259 <code>PTYCHARLEN</code> in parsing the <code>-S</code> option
11260 (report by Michael B Taylor).</li>
11261
11262 <li>minor restructuring of terminfo/termcap files, having noted
11263 some packager's customizations which caused the structure to be
11264 confused.</li>
11265
11266 <li>eliminate an isolated use of MIN/MAX in charproc.c</li>
11267
11268 <li>replace <code>XtExtdefaultfont</code> and
11269 <code>XtExtdefaultbackground</code> by their more familiar
11270 equivalents <code>XtDefaultFont</code> and
11271 <code>XtDefaultBackground</code>.</li>
11272
11273 <li>replace ifdef's using <code>SCO</code>, <code>sco</code>
11274 and <code>SCO325</code> with <code>__SCO__</code> (XFree86
11275 Bugzilla #1301, Kean Johnston). But ensure that it still builds
11276 on platforms where this symbol is not defined.</li>
11277
11278 <li>add <code>scoFunctionKeys</code> resource, to match
11279 manpage.</li>
11280
11281 <li>update manpage discussion of menus and related
11282 resources.</li>
11283
11284 <li>enable utmpx support for NetBSD 1.6C and newer (patch by
11285 Matthias Scheler).</li>
11286
11287 <li>add a note in the manpage discussing xterm's treatment of
11288 open file-descriptors (request by Dan Shearer).</li>
11289
11290 <li>modify <code>Help()</code> to make "xterm -h" write to
11291 standard output rather than standard error (patch by Bram
11292 Moolenaar).</li>
11293
11294 <li>check for type of failure in xim_real_init() to avoid
11295 looping when the problem is an unsupported input method rather
11296 than a failure to connect to the XIM server. Problem was
11297 introduced in <a href="#xterm_175">patch #175</a> (XFree86
11298 Bugzilla #1306).</li>
11299
11300 <li>modify <code>Imakefile</code> to remove dependency of
11301 "install" target on the <code>xterm</code> executable to make
11302 installs from tree without attempting to rebuild anything
11303 (commit by David Dawes, report/patch from Lee Olsen).</li>
11304
11305 <li>remove call to <code>ShowCursor</code> from
11306 <code>SetCursorBlink()</code> since that is redundant, and can
11307 cause display glitches if the cursor is already blinking
11308 (XFree86 Bugzilla #1158, patch/report by Andreas Schwab).</li>
11309 </ul>
11310
11311 <h1><a name="xterm_185" id="xterm_185">Patch #185 - 2004/3/3 -
11312 XFree86 4.4</a></h1>
11313
11314 <ul>
11315 <li>fix tcap-query logic for the backspace key (XFree86
11316 Bugzilla #1233, report/patch by Anton Kovalenko).</li>
11317
11318 <li>add test-scripts resize.pl and tcapquery.pl</li>
11319
11320 <li>add translation to ASCII of commonly-used characters that
11321 groff translates to Unicode, when the font in use does not
11322 provide the corresponding glyphs (Debian #219551).</li>
11323
11324 <li>modify RequestMaximize(), which performs maximize/restore
11325 via control sequences, to account for window-frame (patch by
11326 Jess Thrysoee).</li>
11327
11328 <li>improve pattern used in <code>uxterm</code> to check for
11329 UTF-8 locale, e.g., for HPUX (patch by H Merijn Brand).</li>
11330
11331 <li>add <code>-fd</code> option and resource
11332 <code>faceNameDoublesize</code> to specify double-wide fonts
11333 with Xft (adapted from patch by Zarick Lau).</li>
11334
11335 <li>change a couple of resource classes from "Boolean" to
11336 specific values: <code>freeBoldBox</code>,
11337 <code>forceBoxChars</code>.</li>
11338
11339 <li>add resource <code>showMissingGlyphs</code> to outline
11340 places on the screen where a font lacks the corresponding
11341 glyph.</li>
11342
11343 <li>add resource <code>showBlinkAsBold</code> to control
11344 whether blinking text should be shown as bold or actual
11345 blinking text.</li>
11346
11347 <li>improve logic in ShowCursor() to avoid repainting the
11348 cursor when it is already visible, e.g., in response to the
11349 DECTCEM escape sequence. This also addresses XFree86 Bugzilla
11350 #1158.</li>
11351
11352 <li>implement blinking text, using the timer for blinking
11353 cursor.</li>
11354
11355 <li>modify FreeType support to allow resizing the font, in the
11356 same ways the window can be resized if fixed fonts are used.
11357 The relative font sizes are derived from the fixed font
11358 sizes.</li>
11359
11360 <li>add menu items and corresponding actions for switching
11361 on/off the UTF-8 mode and Xft (TrueType) support.</li>
11362
11363 <li>add logic to handle switching UTF-8 mode on/off. It worked
11364 if the escape sequences were flushed, but if data was mixed in
11365 with the same write, some were not handled properly (report by
11366 Nicolas George).</li>
11367
11368 <li>modify to allow turning UTF-8 mode on/off via escape
11369 sequence even if <code>-wc</code> option was not given at
11370 startup (patch by Peter Berg Larsen).</li>
11371
11372 <li>amend fix for XFree86 Bugzilla #981, adjusting for
11373 savedlines value (report by Tim Adye).</li>
11374
11375 <li>fix a typo in computing relative font size (Jess
11376 Thrysoee).</li>
11377 </ul>
11378
11379 <h1><a name="xterm_184" id="xterm_184">Patch #184 - 2003/12/31 -
11380 XFree86 4.3.99.903</a></h1>
11381
11382 <ul>
11383 <li>improve configure-script checks for FreeType and related
11384 libraries, using <code>xft-config</code> or
11385 <code>freetype-config</code> scripts when available.</li>
11386
11387 <li>fix configure-script check for <code>SYSV</code> definition
11388 by ensuring whether <code>sys_errlist[]</code> is declared, and
11389 by modifying the test program to include
11390 <code>X11/Intrinsic.h</code> to check that <code>wchar_t</code>
11391 is declared consistently (report by H Merijn Brand).</li>
11392 </ul>
11393
11394 <h1><a name="xterm_183" id="xterm_183">Patch #183 - 2003/12/26 -
11395 XFree86 4.3.99.903</a></h1>
11396
11397 <ul>
11398 <li>correct logic for configurations that may attempt to open
11399 both old/new-style pseudoterminals. In this case, the old-style
11400 are preferred. Logic was broken in <a href="#xterm_145">patch
11401 #145</a> (XFree86 Bugzilla #997, report/patch by Kean
11402 Johnston).</li>
11403
11404 <li>modify handling of <code>eightBitInput</code> resource in
11405 UTF-8 mode to translate the value into UTF-8. Otherwise an
11406 illegal UTF-8 code is sent to the application (report by Bram
11407 Moolenaar).</li>
11408
11409 <li>modify <code>uxterm</code> script to interpret help and
11410 version options so xterm does not always create a window when
11411 the user requests this information (Debian #223926).</li>
11412
11413 <li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla
11414 #981).</li>
11415
11416 <li>modify DECSCL to perform a hard reset (RIS) as per DEC
11417 manuals. Extended DECSCL to accept parameters for vt4XX and
11418 vt5xx terminals.</li>
11419
11420 <li>correct logic for ANSI conformance level escape sequences,
11421 which were confused with DEC conformance level escape
11422 sequences.</li>
11423
11424 <li>correct state for vt52 shift-in/shift-out, which was not
11425 reset properly after <a href="#xterm_171">patch #171</a>.</li>
11426
11427 <li>correct handling of graphics characters for vt52 mode,
11428 which did not display line-drawing characters after G1 fix from
11429 <a href="#xterm_182">patch #182</a>.</li>
11430
11431 <li>fixes for configure script to work with current Cygwin
11432 headers and libraries.</li>
11433
11434 <li>modify <code>Imakefile</code> to put the current directory
11435 at the beginning of the include searchpath (patch by David
11436 Dawes).</li>
11437 </ul>
11438
11439 <h1><a name="xterm_182" id="xterm_182">Patch #182 - 2003/12/2 -
11440 XFree86 4.3.99.901</a></h1>
11441
11442 <ul>
11443 <li>correct logic for <code>metaSendsEscape</code> resource to
11444 allow for the meta-right key to be tested. Improve check for
11445 meta/alt modifiers by dropping the assumption that a keysym is
11446 associated with only one modifier, and by ignoring NoSymbol
11447 entries in the xmodmap data (XFree86 Bugzilla #924, patch by
11448 David Dawes).</li>
11449
11450 <li>correct wrapping logic for line-drawing characters written
11451 in non-UTF-8 mode of xterm build for wide-characters (XFree86
11452 Bugzilla #918, report/patch by J&uuml;rgen Keil).</li>
11453
11454 <li>improve manpage description of resources, in particular the
11455 <code>utf8Fonts</code> class (XFree86 Bugzilla #905).</li>
11456
11457 <li>add definitions to compile with glibc-based GNU/Hurd,
11458 GNU/KFreeBSD and GNU/KNetBSD (XFree86 Bugzilla #893).</li>
11459
11460 <li>compiler-warning fixes (patch by Christian Biere).</li>
11461
11462 <li>add README.i18n (Tomohiro Kubota).</li>
11463
11464 <li>correct initialization of G1 character set mapping, which
11465 used line-drawing set as a result of confusion between "DEC
11466 Supplemental Graphic" and "DEC Special Graphic" character sets
11467 (see <a href="#xterm_34">patch #34</a> regarding DECSTR).</li>
11468
11469 <li>correct ifdef in main.c for variable utret (patch by
11470 Bernhard Rosenkraenzer).</li>
11471
11472 <li>document in xterm's manpage how to use XFree86 ":unscaled"
11473 keyword to suppress scaling of bold fonts.</li>
11474
11475 <li>when deriving bold fontname from normal fontname, use the
11476 normal font's average width to avoid for example selecting
11477 7x13bold from an 8x13 normal font (Debian #107769).</li>
11478 </ul>
11479
11480 <h1><a name="xterm_181" id="xterm_181">Patch #181 - 2003/10/26 -
11481 XFree86 4.3.99.15</a></h1>
11482
11483 <ul>
11484 <li>implement <code>boldMode</code> for wide-character logic in
11485 <code>drawXtermText()</code> (report by Michael
11486 Schroeder).</li>
11487
11488 <li>modify <code>UXTerm.ad</code> resource file to include
11489 "XTerm-color" rather than "XTerm", in case the latter file
11490 contains no color resource definitions, e.g., after <a href=
11491 "#xterm_180">patch #180</a>.</li>
11492
11493 <li>add action <code>load-vt-fonts()</code> and configure
11494 option <code>--enable-load-vt-fonts</code> which allows users
11495 to define additional sets of VT-fonts which can be loaded at
11496 runtime.</li>
11497
11498 <li>add logic to wide-character support which attempts to load
11499 fonts specified by <code>utf8Fonts</code> subresources at
11500 startup. The subresources have the same names as the fonts
11501 which they replace, e.g., <code>font</code>,
11502 <code>font1</code>, etc., so that the ISO-10646-1 fonts can be
11503 specified in the <code>XTerm</code> app-defaults file (adapted
11504 from patch by Tomohiro Kubota).</li>
11505
11506 <li>improve Set Font escape string handling by making the
11507 relative settings apply to the size of the font, as in shift
11508 keypad plus/minus rather than the menu index.</li>
11509
11510 <li>simplify parameter passing for the <code>set-vt-font</code>
11511 action and related code.</li>
11512
11513 <li>cleanup some include-ordering, moving some recently-added
11514 hardcoded stuff into xterm.h where it will not interfere with
11515 the configure script.</li>
11516
11517 <li>modify <code>xtermAddInput()</code> (see note on
11518 augmentation in <a href="#xterm_158">patch #158</a>) to use the
11519 complete set of default keyboard translations so that one can
11520 use shifted pageup, wheel mouse, etc., while the mouse pointer
11521 is over the scrollbar. (Debian #178812).</li>
11522
11523 <li>make save/restore mode controls apply to show/blink cursor
11524 states.</li>
11525
11526 <li>add escape sequence to start/stop blinking cursor, which
11527 allows implementing <code>cvvis</code> terminfo capability
11528 (request by Nate Bargmann).</li>
11529
11530 <li>add <code>indp</code> and <code>rin</code> to terminfo
11531 entry.</li>
11532
11533 <li>fix an out-of-bounds array reference in ScrnRefresh() for
11534 wide characters (report by Dan Harnett, patch by Todd Miller).
11535 This bug dates from <a href="#xterm_141">patch #141</a>.</li>
11536 </ul>
11537
11538 <h1><a name="xterm_180" id="xterm_180">Patch #180 - 2003/10/12 -
11539 XFree86 4.3.99.15</a></h1>
11540
11541 <ul>
11542 <li>several fixes for rendering using Xft via option
11543 <code>-fa</code>:
11544 <ul>
11545 <li>translate Unicode values, i.e,. from UTF-8 output to
11546 xterm, for line-drawing to xterm's internal code, etc.,
11547 since TrueType fonts generally do not have either set of
11548 line-drawing glyphs. xterm can draw these directly (report
11549 by Abigail Brady).</li>
11550
11551 <li>pass 16-bit values rather than 8-bit values to
11552 xtermXftDrawString() to allow for wide-characters.</li>
11553
11554 <li>remove spurious check for <code>colorBDMode</code>
11555 resource in logic that does bold fonts.</li>
11556
11557 <li>implement underlining.</li>
11558 </ul>
11559 </li>
11560
11561 <li>patches by Ilya Zakharevich:
11562 <ul>
11563 <li>improve drawXtermText() by making the recursive calls
11564 communicate through arguments, and not through
11565 saving/restoring global variables.</li>
11566
11567 <li>make double-width characters work with <code>-u8</code>
11568 option.</li>
11569
11570 <li>modify lookup of double-sized fonts by checking for a
11571 match ignoring x/y resolution if the first check
11572 fails.</li>
11573 </ul>
11574 </li>
11575
11576 <li>make height of TrueType fonts match ascent+descent (patch
11577 by Keith Packard).</li>
11578
11579 <li>correct configure-script check for imake $CFLAGS, which did
11580 not check properly if imake was not available.</li>
11581
11582 <li>correct install rule in Makefile.in for
11583 <code>uxterm</code>, which was attempting to strip the script
11584 (newsgroup posting by Fernan Aguero).</li>
11585
11586 <li>correct AF/AB strings in termcap for xterm-256color and
11587 xterm-88color entries (report by Josh Howard).</li>
11588
11589 <li>update wcwidth.c to incorporate changes from Markus Kuhn's
11590 2003-05-20 (Unicode 4.0) version of that file.</li>
11591
11592 <li>modify <code>scroll-back</code> and
11593 <code>scroll-forw</code> actions to accept an adjustment value,
11594 e.g.,
11595
11596 <pre>
11597 <code>scroll-back(1, page-2)</code>
11598 </pre>to scroll back by 2 lines less than a page (patch by Greg
11599 Klanderman).
11600 </li>
11601
11602 <li>use color resource setting from Debian package for xterm
11603 VT100 widget, since the choice of blues provides better
11604 contrast.</li>
11605
11606 <li>remove color resources from <code>XTerm.ad</code>, leaving
11607 them only in <code>XTerm-col.ad</code> (prompted by Debian
11608 package for xterm).</li>
11609
11610 <li>correct configure script option --enable-pty-handshake
11611 (report by Paul Gilmartin).</li>
11612
11613 <li>add <code>visualBellDelay</code> resource to modify the
11614 length of time used for visual bell, for very slow displays or
11615 very fast computers (reports by Ingo van Lil and Doug
11616 Toppin).</li>
11617
11618 <li>correct logic for initializing dynamic highlight color
11619 (patch by Jess Thrysoee).</li>
11620
11621 <li>add a check for non-zero size in call to
11622 <code>XCopyArea()</code> to accommodate a Solaris bug.</li>
11623
11624 <li>correct typo in example for character classes in xterm
11625 manpage (Debian #198910).</li>
11626
11627 <li>link xterm with bind_on_load option on Darwin to work
11628 around a deadlock in the dynamic loader when a signal is
11629 received while the dynamic loader is looking up symbols
11630 (patches by Rob Braun, Torrey Lyons).</li>
11631
11632 <li>modify configure script to avoid using "head -1".</li>
11633
11634 <li>update config.guess, config.sub</li>
11635
11636 <li>modify ifdef's to work around inclusion of types FcChar32
11637 and XftCharSpec with FreeType 2.0 (see <a href=
11638 "#xterm_175">patch #175</a>).</li>
11639
11640 <li>modify the predictable version of the generated logfile
11641 name (see <a href="#xterm_171">patch #171</a>) to append the
11642 process-id rather than a random value.</li>
11643
11644 <li>resync with XFree86 CVS
11645 <ul>
11646 <li>Enable SCO function keys in xterm</li>
11647
11648 <li>Make Delete key send DEL by default on SCO in
11649 xterm</li>
11650 </ul>
11651 </li>
11652 </ul>
11653
11654 <h1><a name="xterm_179" id="xterm_179">Patch #179 - 2003/5/21 -
11655 XFree86 4.3.99.5</a></h1>
11656
11657 <ul>
11658 <li>modify ifdef's for WTMPX_FILE to allow building on cygwin
11659 again.</li>
11660
11661 <li>change the default of pty-handshaking configure option (and
11662 related default for imake) to assume this feature is
11663 needed.</li>
11664
11665 <li>add ifdef's so configure option for XawPlus library works
11666 (patch by Pavel Roskin).</li>
11667
11668 <li>add <code>$(MAIN_DEFINES)</code> to the variables checked
11669 by the configure script that may contain information set by
11670 imake. This allows xterm to build/run properly using the
11671 configure script on IRIX64.</li>
11672
11673 <li>add configure check for ".exe" suffix on cygwin.</li>
11674 </ul>
11675
11676 <h1><a name="xterm_178" id="xterm_178">Patch #178 - 2003/5/18 -
11677 XFree86 4.3.99.5</a></h1>
11678
11679 <ul>
11680 <li>modify default for configure
11681 <code>--enable-pty-handshake</code> option to enable it for
11682 Solaris (report by Nelson Beebe).</li>
11683
11684 <li>modify <code>in_put()</code> function to call
11685 <code>PreeditPosition()</code> only when the cursor's position
11686 has changed. This addresses report by Stefan Baums of high CPU
11687 usage while xterm with chinput are running in the background
11688 (patch by Yong Li).</li>
11689
11690 <li>improved explanation of <code>-ls</code> conflict with
11691 <code>-e</code> option in xterm manpage (adapted from comments
11692 by Henning Makholm).</li>
11693
11694 <li>correct comment in terminfo file regarding modifier used
11695 for <code>kDC</code> (Debian #189764, report by Henning
11696 Makholm).</li>
11697
11698 <li>correct/extend some of the keypad description in ctlseqs.ms
11699 (report by Henning Makholm).</li>
11700
11701 <li>correct keypad-mapping table in input.c so
11702 <code>XK_KP_Equal</code> works (report by Henning
11703 Makholm).</li>
11704
11705 <li>modified to work with CJK double-width (bi-width/monospace)
11706 fonts. They're similar to Roman Czbora and David Starner's
11707 gnuunifonts in that Latin letters and numbers have all the same
11708 width which is exactly the half of the width of East Asian
11709 characters. (patch by Jungshik Shin
11710 &lt;[email protected]&gt;).</li>
11711
11712 <li>add configure option <code>--enable-broken-osc</code> and
11713 resource <code>brokenLinuxOSC</code> to accommodate scripts
11714 which do not distinguish between running in the Linux console
11715 and running in X. Linux console recognizes malformed control
11716 strings which start with an <code>OSC</code>, but are
11717 fixed-length, with no terminator.</li>
11718
11719 <li>add configure option <code>--enable-broken-st</code> and
11720 resource <code>brokenStringTerm</code> to allow user to revert
11721 one part of the parsing table corrections from <a href=
11722 "#xterm_171">patch #171</a>. (reports by Matthias Scheler and
11723 Kirill Ponomarew indicate that someone's network firmware sends
11724 an <code>&lt;escape&gt;X</code>).</li>
11725
11726 <li>modify configure <code>--disable-imake</code> to provide
11727 values for <code>OSMAJORVERSION</code>,
11728 <code>OSMINORVERSION</code>, <code>FUNCPROTO</code> and
11729 <code>NARROWPROTO</code> (report by Heiko Schlichting).</li>
11730
11731 <li>correct <code>vttests/16colors.sh</code>, which omitted the
11732 <code>$SUF</code> variable in output strings (patch by Paul
11733 Gilmartin).</li>
11734
11735 <li>modify shell scripts in <code>vttests</code> directory to
11736 attempt to use named signals in the <code>trap</code>
11737 statement, making this portable to OS/390 (report by Paul
11738 Gilmartin). Tested on SunOS 4.1.4, which implements only
11739 numbers.</li>
11740 </ul>
11741
11742 <h1><a name="xterm_177" id="xterm_177">Patch #177 - 2003/3/23 -
11743 XFree86 4.3.0</a></h1>
11744
11745 <ul>
11746 <li>fix definition of <code>USE_HANDSHAKE</code>, must be
11747 numeric (reported by Jens Schleusener).</li>
11748 </ul>
11749
11750 <h1><a name="xterm_176" id="xterm_176">Patch #176 - 2003/3/22 -
11751 XFree86 4.3.0</a></h1>
11752
11753 <ul>
11754 <li>add configure option <code>--enable-pty-handshake</code> to
11755 allow one to compile-in support for the pty handshaking logic,
11756 and resource <code>ptyHandshake</code> to enable or disable it
11757 (suggested by Ian Collier).</li>
11758
11759 <li>restore <code>USE_HANDSHAKE</code> ifdef removed in
11760 <a href="#xterm_159">patch #159</a> to address Debian
11761 #39964.</li>
11762
11763 <li>move ifdef's for ttysize/winsize into xterm_io.h</li>
11764
11765 <li>simplify loop on <code>tgetent</code>, check if the
11766 successive entries in the lookup table are the same. That makes
11767 xterm do one less lookup if there is no "xterm" entry in the
11768 termcap file (report by Derek Martin).</li>
11769
11770 <li>correct manpage discussion of <code>$TERM</code> and
11771 <code>$TERMCAP</code> variables, which omitted the Tektronix
11772 emulation and a note of the final "dumb" fallback.</li>
11773
11774 <li>broaden ifdef for
11775 <code>XRegisterIMInstantiateCallback()</code> from <a href=
11776 "#xterm_175">patch #175</a> (XIM fix) to exclude non-XFree86
11777 (report by Nelson Beebe indicates this breaks for Solaris, IRIX
11778 and OSF/1).</li>
11779
11780 <li>correct resource-size for <code>iconFont</code> (this was
11781 added by X11R6.3).</li>
11782
11783 <li>improve configure check for XKB bell extension, to work
11784 around inconsistent implementation of this feature (reports by
11785 Nelson Beebe, Kriston Rehberg and David Ellement).</li>
11786
11787 <li>modify configure-check for <code>tty</code> group to be
11788 less strict in batch mode (report by Nelson Beebe).</li>
11789
11790 <li>modify to allow building with g++, to use its compiler
11791 warnings (suggested by Nelson Beebe).</li>
11792
11793 <li>modify <code>dec2ucs[]</code> table to reflect newer codes
11794 available for scanlines 1, 3, 7, 9 (report by Michael
11795 Schroeder).</li>
11796
11797 <li>add configure option for XawPlus library.</li>
11798 </ul>
11799
11800 <h1><a name="xterm_175" id="xterm_175">Patch #175 - 2003/3/9 -
11801 XFree86 4.3.0</a></h1>
11802
11803 <ul>
11804 <li>fix a SIGSEGV which could occur if xterm is connecting to
11805 XIM server, and the XIM server is destroyed (patch by Nam
11806 SungHyun).</li>
11807
11808 <li>modify to use built-in line-drawing characters for Xft
11809 fonts (patch by Andrew Tipton).</li>
11810
11811 <li>make menu reflect the state of the <code>tekInhibit</code>
11812 resource.</li>
11813
11814 <li>make <code>signalInhibit</code> resource work, i.e.,
11815 disable the menu entries that would send signals to, or exit
11816 xterm. This was probably broken in X11R5 when logging was
11817 disabled (report by Sven Mascheck).</li>
11818
11819 <li>changed classes of <code>colorBDMode</code> and similar
11820 resources that override colors when a video attribute is set to
11821 <code>ColorAttrMode</code>, to make them distinct from
11822 <code>ColorMode</code>. This avoids an unexpected rendering of
11823 reverse video, for example (report by Paul Fox).</li>
11824
11825 <li>changed class of <code>veryBoldColors</code> to
11826 <code>VeryBoldColors</code>, since <code>ColorMode</code> is
11827 associated with boolean resources.</li>
11828
11829 <li>add option <code>-k8</code> and resource
11830 <code>allowC1Printable</code> to allow users of non-VTxxx
11831 character sets such as KOI-8 to treat the C1 control area
11832 (character codes 128-159) as printable rather than control
11833 characters.</li>
11834
11835 <li>add a null-pointer check for return-value of
11836 <code>ptsname()</code> in HPUX-specific code (report by David
11837 Ellement).</li>
11838
11839 <li>revise the ifdef's used for <code>XKB</code> bell support.
11840 The code was using a nonstandard call
11841 <code>XkbStdBell()</code>. Changed to use
11842 <code>XkbBell()</code> (based on patch by
11843 &lt;[email protected]&gt;).</li>
11844
11845 <li>add a null-pointer check in <code>xtermLoadFont()</code> in
11846 case there is no wide-bold font (Nam SungHyun).</li>
11847
11848 <li>change <code>Makefile.in</code> to use autoconf's
11849 <code>bindir</code>, <code>libdir</code> and
11850 <code>mandir</code> variables (report by Nam SungHyun).</li>
11851
11852 <li>add <code>le</code> to termcap <code>xterm-basic</code>
11853 entry. Though missing from older termcaps for xterm, some
11854 applications check for it (report by Matthias Buelow).</li>
11855
11856 <li>modify <code>uxterm</code> script to strip modifiers such
11857 as "@euro" from the locale setting before adding ".UTF-8"
11858 (Debian #179929).</li>
11859
11860 <li>modify the remaining places where tek4014 emulation uses
11861 <code>XDefineCursor()</code>, to make it work as originally
11862 implemented, e.g., when switching back to alpha mode. Added
11863 test-screen in vttest to test this feature properly.</li>
11864 </ul>
11865
11866 <h1><a name="xterm_174" id="xterm_174">Patch #174 - 2003/2/25 -
11867 XFree86 4.2.99.903</a></h1>
11868
11869 <ul>
11870 <li>work-around for XFree86 bug which made
11871 <code>XDefineCursor()</code> on a shell-window no longer work.
11872 The tek4014 emulation used this. Use the next lower window
11873 (report by Karl Rudolf Bauchspiess).</li>
11874
11875 <li>add a resource setting <code>allowWindowOps</code> to
11876 control whether the extended window operations should be
11877 allowed, e.g., resize, iconify, report window attributes. This
11878 is to accommodate people who are not capable of using a pager
11879 to view log-files.</li>
11880 </ul>
11881
11882 <h1><a name="xterm_173" id="xterm_173">Patch #173 - 2003/2/6 -
11883 XFree86 4.2.99.902</a></h1>
11884
11885 <ul>
11886 <li>reset mouse mode to normal on a full reset. This does not
11887 apply to mouse hilite tracking mode, of course (see
11888 ctlseqs.ms).</li>
11889
11890 <li>add a time-delay at the point where mouse hilite tracking
11891 mode choses to not handle X events, to avoid runaway CPU usage
11892 (report by D Hugh Redelmeier).</li>
11893
11894 <li>check for illegal character in DECUDK string, quit if
11895 detected.</li>
11896 </ul>
11897
11898 <h1><a name="xterm_172" id="xterm_172">Patch #172 - 2002/12/27 -
11899 XFree86 4.2.99.3</a></h1>
11900
11901 <ul>
11902 <li>fixes to make repainting of 256-color example work properly
11903 (reports by Abigail Brady and Scott A Crosby).
11904 <ul>
11905 <li>set flag in <code>AllocateAnsiColor()</code> to ensure
11906 the color is allocated once only.</li>
11907
11908 <li>fix check in <code>ScrnRefresh</code>, which was
11909 comparing background colors only if the ANSI foreground
11910 colors also were set.</li>
11911 </ul>
11912 </li>
11913
11914 <li>merge <code>Error()</code> calls and some
11915 <code>exit()</code> calls into <code>SysError()</code>, and
11916 change that to add the brief explanation for each error code
11917 which is provided in the manpage. Change a few
11918 <code>SysError()</code>, calls to avoid using code 1, to avoid
11919 confusion with exit status from places that do not use
11920 <code>SysError()</code>.</li>
11921
11922 <li>simplify logic used to open a debug logfile as the standard
11923 error.</li>
11924
11925 <li>modify the <code>-e</code> option so that if it fails,
11926 xterm will check if only one argument follows, e.g., it was
11927 quoted, and then retry using <code>sh&nbsp;-c</code>.</li>
11928
11929 <li>modify parsing of DECUDK string parameter to allow a comma
11930 between pairs of hexadecimal digits (Ray Neuman
11931 &lt;[email protected]&gt; reports that "real" terminals accept
11932 this; perhaps they simply ignore unexpected characters).</li>
11933
11934 <li>fix a few problems with the <code>$TERMCAP</code> string
11935 generated by <code>resize</code>:
11936 <ul>
11937 <li>for Bourne shell, add an <code>export</code> command.
11938 This was missing as far back as X11R5.</li>
11939
11940 <li>escape exclamation marks, used in xterm's reset
11941 string.</li>
11942
11943 <li>translate literal <code>\177\</code> to "^?".</li>
11944 </ul>
11945 </li>
11946
11947 <li>improve configure check for <code>tgetent()</code> to work
11948 when <code>$TERMCAP</code> has been set to a specific
11949 entry.</li>
11950
11951 <li>modify <code>minstall.sh</code> to use "%" rather than "@",
11952 to avoid problems with AFS (report by Zdenek Sekera).</li>
11953
11954 <li>list fatal error codes from <code>error.h</code> in the
11955 manpage, remove unused codes in <code>error.h</code>.</li>
11956
11957 <li>use more explicit wording for manpage list of color
11958 resources, since at least one user confused the generic names
11959 such as "black" with the names in rgb.txt (the latter are now
11960 used).</li>
11961
11962 <li>minor fix to description of 1003 mouse mode in ctlseqs.ms
11963 (Larry Riedel).</li>
11964 </ul>
11965
11966 <h1><a name="xterm_171" id="xterm_171">Patch #171 - 2002/12/12 -
11967 XFree86 4.2.99.3</a></h1>
11968
11969 <ul>
11970 <li>modify parser tables to improve detection of malformed
11971 control sequences, making xterm behave more like a real DEC
11972 terminal (patch by Paul Williams).</li>
11973
11974 <li>update comment in <code>input.c</code> to document
11975 <code>Meta</code> as a modifier for escape sequences (patch by
11976 D Roland Walker).</li>
11977
11978 <li>add ifdef'd code for logging option which adds the hostname
11979 and a timestamp to the generated logfile name. The ifdef's are
11980 setup with the configure script (patch by Nelson Beebe).</li>
11981
11982 <li>remove <code>xevents()</code> call from the end of
11983 <code>BlinkCursor()</code>, to fix an occasional problem which
11984 caused xterm to pause until a key was pressed. The reason for
11985 this was that there was no check to ensure that there really
11986 were events for <code>xevents()</code> to process. (patch by
11987 Semen A Ustimenko &lt;[email protected]&gt;).</li>
11988
11989 <li>remove unused mode-params from <code>open()</code> calls
11990 that do not create a file.</li>
11991
11992 <li>modify configure script to put new items first on
11993 <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid
11994 conflict with environment's <em>-I</em> and <em>-D</em>
11995 options.</li>
11996
11997 <li>update config.guess, config.sub</li>
11998
11999 <li>resync with XFree86 CVS
12000 <ul>
12001 <li>fix va_args glitches for xterm/libfontconfig: 0 ==
12002 (void*)0 isn't true for all platforms (Egbert Eich).</li>
12003
12004 <li>initialise ProgramName in xterm's main before
12005 referencing it (XFree86 #5473, Peter Valchev).</li>
12006
12007 <li>some cleanup of Imakefile ifdef's (Marc La
12008 France).</li>
12009 </ul>
12010 </li>
12011 </ul>
12012
12013 <h1><a name="xterm_170" id="xterm_170">Patch #170 - 2002/10/13 -
12014 XFree86 4.2.1</a></h1>
12015
12016 <ul>
12017 <li>correct an off-by-one allocating data for sorted help
12018 message.</li>
12019
12020 <li>modify configure script to check for Xpm library, on which
12021 XFree86 Xaw library depends.</li>
12022
12023 <li>update config.guess, config.sub</li>
12024 </ul>
12025
12026 <h1><a name="xterm_169" id="xterm_169">Patch #169 - 2002/10/5 -
12027 XFree86 4.2.1</a></h1>
12028
12029 <ul>
12030 <li>modify wording of some options in help message to make them
12031 use <code>-/+</code> consistently with respect to "on/off" or
12032 "off/on".</li>
12033
12034 <li>sort options list which is displayed in help- and
12035 syntax-messages at runtime to simplify maintenance.</li>
12036
12037 <li>remove support for Amoeba and Minix (Juliusz Chroboczek
12038 noted it was removed from XFree86 server; there have been no
12039 users since 1996).</li>
12040
12041 <li>add configure script option
12042 <code>--disable-session-mgt</code> to control whether the
12043 session management code should be compiled-in (request by H
12044 Merijn Brand).</li>
12045
12046 <li>ifdef'd the session-management changes with
12047 <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which
12048 predates the related definitions.</li>
12049
12050 <li>fix <code>decode_keyvalue()</code>, which did not properly
12051 parse multiple settings as needed for the <code>ttyModes</code>
12052 resource, since it did not skip over the parsed data.</li>
12053
12054 <li>fix an option-parsing conflict between <code>-class</code>
12055 and <code>-cjk_width</code> (Nam SungHyun)</li>
12056
12057 <li>add a missing null in <code>XtVaSetValues()</code> call
12058 used in <code>Cleanup()</code> (Nam SungHyun)</li>
12059 </ul>
12060
12061 <h1><a name="xterm_168" id="xterm_168">Patch #168 - 2002/9/29 -
12062 XFree86 4.2.1</a></h1>
12063
12064 <ul>
12065 <li>improve data reported for control sequence that requests
12066 window position by taking into account the window decorations,
12067 e.g., border and title (patch by Jess Thrysoee
12068 &lt;[email protected]&gt;).</li>
12069
12070 <li>add <code>-cjk_width</code> and corresponding resource
12071 <code>cjkWidth</code> (patch by Jungshik Shin
12072 &lt;[email protected]&gt;).</li>
12073
12074 <li>add <code>-into</code> option, for embedding xterm in a
12075 Tcl/Tk application (patch by George Peter Staplin
12076 &lt;[email protected]&gt;).</li>
12077
12078 <li>add simple session management (XSM) client capabilities to
12079 xterm. So a session manager such as, e.g., xsm, should be able
12080 to respawn or kill xterms without the help of an SM proxy (like
12081 smproxy), which is a hack and almost always buggy (patch by
12082 David Madore).</li>
12083
12084 <li>fix conflict between ifdef's for
12085 <code>OPT_DEC_LOCATOR</code> and <code>OPT_READLINE</code> in
12086 button.c (reported by Ilya Zakharevich).</li>
12087
12088 <li>fix for inconsistent use of <code>struct utmp</code> versus
12089 <code>struct utmpx</code> introduced in <a href=
12090 "#xterm_167">patch #167</a> (patches by Paul Gilmartin, Marc La
12091 France).</li>
12092
12093 <li>modify logic for <code>metaSendsEscape</code> to allow it
12094 to work in a setup where the Meta-key is not recognized as a
12095 modifier by the key-translations logic (discussion of
12096 eightBitInput with H.J.Lu). Note however that Vincent
12097 Lef&egrave;vre reported this in January).</li>
12098
12099 <li>use null pointer values consistently, rather than literal
12100 "0", for ending variable-length argument lists, e.g., for
12101 <code>execlp()</code> (based on patch by Matthieu Herrb).</li>
12102
12103 <li>correct logic of <code>ChangeAnsiColorRequest()</code>,
12104 which would do a screen repaint after replying to a request for
12105 information.</li>
12106
12107 <li>improve scripts in vttests to work with systems whose
12108 shells support <code>echo -n</code> and have, as does Debian,
12109 an unrelated <code>print</code> utility.</li>
12110
12111 <li>add vttests/acolors.sh to demonstrate OSC 4, which queries
12112 or sets ANSI colors.</li>
12113
12114 <li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).</li>
12115
12116 <li>typos in xterm manpage (Jens Schweikhardt)</li>
12117
12118 <li>remove a redundant GCC_UNUSED from InitPopup() (Nam
12119 SungHyun)</li>
12120 </ul>
12121
12122 <h1><a name="xterm_167" id="xterm_167">Patch #167 - 2002/8/24 -
12123 XFree86 4.2.0</a></h1>
12124
12125 <ul>
12126 <li>correct ifdef's for <code>USE_TERMCAP</code> to match
12127 cygwin configuration.</li>
12128
12129 <li>fix several places in ctlseqs.ms which had no boxes around
12130 the literal text (report by Ilya Zakharevich).</li>
12131
12132 <li>extend mouse support for readline, ifdef'd with
12133 OPT_READLINE (integrated patch from Ilya Zakharevich).</li>
12134
12135 <li>modify terminfo description to match default for
12136 <code>modifyCursorKeys</code> resource.</li>
12137
12138 <li>add <code>modifyCursorKeys</code> resource to control how
12139 the shift- and similar modifiers are used to make a cursor
12140 escape sequence. The default makes a modified escape sequence
12141 always start with CSI and puts the modifier as the second
12142 parameter, to avoid confusing applications that would interpret
12143 the first parameter as a repeat count. The original behavior
12144 can be obtained by setting the resource to 0 (newsgroup
12145 discussion with Stephen J Turnbull, Jeffrey Altman).</li>
12146
12147 <li>correct missing initializations for
12148 <code>appdefaultCursor</code> and <code>appdefaultKeypad</code>
12149 resources.</li>
12150
12151 <li>add configure option <code>--enable-luit</code> and ifdef'd
12152 the luit-related code with OPT_LUIT_PROG.</li>
12153
12154 <li>modify xterm to invoke luit (integrated patch by Tomohiro
12155 Kubota)</li>
12156
12157 <li>update wcwidth.c to match Markus Kuhn's 2002-05-18
12158 version.</li>
12159
12160 <li>correct limit-checking in <code>ComputeSelect()</code> to
12161 handle selections that extend off the visible area; rather than
12162 modify the parameters to <code>TrackText()</code>, use
12163 <code>ScrollSelection()</code> to update the highlighting
12164 limits. (reported by Yegappan Lakshmanan and Nelson Beebe,
12165 patch by Alexander V Lukyanov).</li>
12166
12167 <li>correct manpage description of <code>tiXtraScroll</code>
12168 resource (reported by Tony Finch).</li>
12169
12170 <li>changes from OpenBSD:
12171 <ul>
12172 <li>Make xterm setgid utmp to be able to update utmp even
12173 with root privileges revoked.</li>
12174
12175 <li>If not updating utmp, revoke group privileges totally
12176 too.</li>
12177 </ul>
12178 </li>
12179
12180 <li>changes from NetBSD:
12181 <ul>
12182 <li>Check that the return value from ttyslot() is greater
12183 than 0 before writing the utmp file. Fixes w's "w: Stale
12184 utmp entry: &lt;user&gt; &lt;tty&gt; &lt;pty&gt;"
12185 errors.</li>
12186
12187 <li>Use openpty() to deal with new pty naming scheme.</li>
12188 </ul>
12189 </li>
12190
12191 <li>add <code>print-redir</code> action and menu entry to allow
12192 user to switch terminal in/out of printer controller mode. It
12193 appears from the manual that a real vt220 would not switch back
12194 to normal mode, so another mechanism is used (addresses Debian
12195 #37517).</li>
12196
12197 <li>check if <code>printerCommand</code> resource string is
12198 empty, use this to allow user to disable printer function.</li>
12199
12200 <li>trim trailing blanks from resource strings.</li>
12201
12202 <li>check return value from <code>ptsname()</code>, which may
12203 return null for example if someone has changed the permissions
12204 of /dev/pts to zero (Debian #121899).</li>
12205
12206 <li>modify OS/2 version to use <code>__UNIXOS2__</code>
12207 definition rather than <code>__EMX__</code>, related cleanup
12208 (patch by Holger Veit).</li>
12209
12210 <li>used modified indent 2.0 (patch <a href=
12211 "ftp://ftp.invisible-island.net/gnu-patches/">20020428</a>) to
12212 reformat most of the C source files, to simplify
12213 maintenance.</li>
12214
12215 <li>fix a couple of places where there were leading tabs on
12216 symbol-definition lines in Imakefile (Marc La France from
12217 report by Tony Finch)</li>
12218
12219 <li>add imake variable (TraceXTerm) to allow building debug
12220 version (Egbert Eich).</li>
12221 </ul>
12222
12223 <h1><a name="xterm_166" id="xterm_166">Patch #166 - 2002/3/25 -
12224 XFree86 4.2.0</a></h1>
12225
12226 <ul>
12227 <li>correct a bug in selection: double clicking on a word which
12228 was partly scrolled off the screen may select that text (report
12229 by Vincent Lef&egrave;vre &lt;[email protected]&gt;).</li>
12230
12231 <li>implement <code>veryBoldColors</code> resource to control
12232 whether the corresponding video attribute such as
12233 <code>bold</code> is displayed when using
12234 <code>colorBDMode</code>, etc. (request by Josh Howard
12235 &lt;[email protected]&gt;).</li>
12236
12237 <li>define escape sequences for function keys F21-F35 (patch by
12238 Stephen P Wall).</li>
12239
12240 <li>change the colors for the 256-color model, making them less
12241 skewed toward black (patch by Stephen P Wall).</li>
12242
12243 <li>add <code>vt100Graphics</code> resource (see <a href=
12244 "#xterm_115">patch #115</a>, based on discussion with Glenn
12245 Maynard).</li>
12246
12247 <li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid
12248 potential incompatibilities between these flavors of Athena
12249 widgets.</li>
12250
12251 <li>add configure check for XFree86 4.x Xaw library, whose
12252 geometry management is broken, to avoid trying to use it for
12253 toolbar configuration.</li>
12254
12255 <li>updates to configure script from vile and lynx to allow
12256 configure.in to be compiled with autoconf 2.5x</li>
12257
12258 <li>add a check for null pointer return by
12259 <code>ptsname()</code> (newsgroup posting from Mike Silva
12260 &lt;[email protected]&gt;).</li>
12261
12262 <li>fill in a few details needed to allow UTF-8 mode to switch
12263 on/off after startup. This requires that <code>wideChars</code>
12264 resource be set. (based on comments in 4 Aug 2001 by Alexey
12265 Marinichev &lt;[email protected]&gt;).</li>
12266
12267 <li>remove duplicate install rules that make directories, e.g.,
12268 so installing manpage will not create app-defaults
12269 directory.</li>
12270
12271 <li>add comment in in <code>do_osc()</code>, reserving cases 30
12272 and 31 for for Konsole (request by Stephan Binner
12273 &lt;[email protected]&gt;).</li>
12274
12275 <li>fixes for ctlseqs.ms and xterm.man (patch by Werner Lemberg
12276 &lt;[email protected]&gt;).</li>
12277
12278 <li>add check for monochrome display, disabling colorMode in
12279 that case (fixes Debian #134130).</li>
12280
12281 <li>resync with XFree86 CVS
12282 <ul>
12283 <li>Fix some xterm build warnings on *BSD (patch by David
12284 Dawes).</li>
12285
12286 <li>Only use SA_RESTART in xterm when it's available (patch
12287 by Frank Liu).</li>
12288
12289 <li>Fix incorrect code in signal handlers in most of the
12290 clients, xterm and xdm not done yet (patch by Matthieu
12291 Herrb).</li>
12292 </ul>
12293 </li>
12294 </ul>
12295
12296 <h1><a name="xterm_165" id="xterm_165">Patch #165 - 2002/1/5 -
12297 XFree86 4.1.0</a></h1>
12298
12299 <ul>
12300 <li>modify <code>uxterm</code> script to strip encoding part
12301 from environment variable before adding ".UTF-8" (based on
12302 Debian #125947, but using a more portable solution).</li>
12303
12304 <li>add an assignment statement in VTInitialize() to make
12305 <code>awaitInput</code> resource work.</li>
12306
12307 <li>use new macros init_Bres(), etc., in VTInitialize() to add
12308 trace of the initialization of resources.</li>
12309
12310 <li>modify checks for $LC_ALL, related environment variables to
12311 ensure the resulting strings are nonempty (report by Markus
12312 Kuhn).</li>
12313
12314 <li>add an ifdef in charproc.c for num_ptrs variable in case
12315 all configure options are disabled.</li>
12316
12317 <li>modify definition of getXtermBackground() to avoid negative
12318 array index warning on Tru64 (report by Jeremie Petit).</li>
12319
12320 <li>improve fix from patch #165 (still Debian #117184, report
12321 by Matt Zimmerman &lt;[email protected]&gt;)</li>
12322
12323 <li>correct install rule for uxterm in Makefile.in, to handle
12324 the case where building in a different directory than xterm's
12325 source (patch by Paul Gilmartin).</li>
12326
12327 <li>documented ANSI.SYS-style cursor save/restore escape
12328 sequences in ctlseqs.ms, which are in xterm since X11R5.</li>
12329
12330 <li>correct two entries in the default charClass table, which
12331 did not follow the manpage comment about the character number
12332 corresponding to the class (patch by Marc Bevand
12333 &lt;[email protected]&gt;).</li>
12334
12335 <li>fix a couple of typos in comments in the app-defaults files
12336 (David Krause &lt;[email protected]&gt;).</li>
12337
12338 <li>resync with XFree86 CVS
12339 <ul>
12340 <li>update language of copyrights in some files to reflect
12341 the fact that they were reassigned from X Consortium to The
12342 Open Group in 1998. Note that this xterm source is derived
12343 from the 1996 version from X Consortium, does not
12344 incorporate changes made by X Consortium or The Open Group
12345 after that date, hence we do not add The Open Group's 1998
12346 copyright date to related files.</li>
12347
12348 <li>save/restore <code>errno</code> in signal catcher
12349 (patch by Matthieu Herrb).</li>
12350
12351 <li>modify UXTerm.ad's font5 resource so that xterm can
12352 display double width characters using a font distributed
12353 with XFree86 (Tomohiro Kubota).</li>
12354 </ul>
12355 </li>
12356 </ul>
12357
12358 <h1><a name="xterm_164" id="xterm_164">Patch #164 - 2001/11/13 -
12359 XFree86 4.1.0</a></h1>
12360
12361 <ul>
12362 <li>correct a case where <code>ptyInitialErase</code> and
12363 <code>backarrowKeyIsErase</code> resources combine to set
12364 <code>DECBKM</code> mode, but a <code>reset</code> command
12365 would not reset xterm to that state, making the erase character
12366 revert to ^H (Debian #117184)</li>
12367 </ul>
12368
12369 <h1><a name="xterm_163" id="xterm_163">Patch #163 - 2001/11/04 -
12370 XFree86 4.1.0</a></h1>
12371
12372 <ul>
12373 <li>correct ifdef's for <code>__QNX__</code> and
12374 <code>USE_SYSV_PGRP</code> in main.c call to
12375 <code>tcsetpgrp</code>, which broke bash behavior around
12376 <a href="#xterm_140">patch #140</a> (report/patch by Frank Liu
12377 &lt;[email protected]&gt;).</li>
12378
12379 <li>modify trace.c to fix missing definition of GCC_UNUSED for
12380 compilers other than gcc when configured for trace code
12381 (report/patch by Paul Gilmartin).</li>
12382
12383 <li>change format in TraceOptions() to use long rather than
12384 int, since the latter could lose precision on 64-bit machines
12385 (report/patch by Nelson Beebe).</li>
12386
12387 <li>modify xterm manual page and minstall.sh to allow imake
12388 rules to define location of app-defaults directory (Debian
12389 #87611).</li>
12390
12391 <li>review/update list of conflicting preprocessor symbols to
12392 remove from $CPPFLAGS at the end of the configure script. In
12393 particular, this allows one to configure xterm without the
12394 utempter library on Redhat 7.1 (report/patch by Adam
12395 Sulmicki).</li>
12396 </ul>
12397
12398 <h1><a name="xterm_162" id="xterm_162">Patch #162 - 2001/10/23 -
12399 XFree86 4.1.0</a></h1>
12400
12401 <ul>
12402 <li>correct logic that processes <code>-class</code> option, so
12403 that a following <code>-e</code> option is handled (Debian
12404 #116297).</li>
12405
12406 <li>improve options-decoding to allow <code>-version</code> and
12407 <code>-help</code> options to be combined (Debian
12408 #110226).</li>
12409
12410 <li>add a 10 millisecond delay in event loop when processing
12411 <code>-hold</code> option, to avoid using too much CPU time
12412 (Debian #116213).</li>
12413
12414 <li>prefix final program execution in <code>uxterm</code> with
12415 "exec" to avoid a useless shell hanging around (Christian
12416 Weisgerber).</li>
12417 </ul>
12418
12419 <h1><a name="xterm_161" id="xterm_161">Patch #161 - 2001/10/10 -
12420 XFree86 4.1.0</a></h1>
12421
12422 <ul>
12423 <li>modify logic that resets keypad application mode to avoid
12424 doing this if there is no modifier associated with the Num_Lock
12425 keysym (report by John E Davis &lt;[email protected]&gt; and
12426 Alan W Irwin &lt;[email protected]&gt;).</li>
12427
12428 <li>add built-in translation for Control/KP_Separator to
12429 KP_Subtract, to accommodate users who wish to use xmodmap to
12430 reassign the top row of the numeric keypad.</li>
12431
12432 <li>correct Imakefile install-rule for <code>uxname</code>
12433 script (reported by Nam SungHyun &lt;[email protected]&gt;).</li>
12434
12435 <li>resync with XFree86 CVS &ndash; correct typo in
12436 <code>&lt;ncurses/term.h&gt;</code> ifdef.</li>
12437 </ul>
12438
12439 <h1><a name="xterm_160" id="xterm_160">Patch #160 - 2001/10/7 -
12440 XFree86 4.1.0</a></h1>
12441
12442 <ul>
12443 <li>modify logic in main.c (see <a href="#xterm_145">patch
12444 #145</a>) to avoid generating the same identifier, for example,
12445 for /dev/tty1 and /dev/pts/1, which is used to denote an entry
12446 in the utmp file (Debian bug report #84676), A similar fix was
12447 also sent by Jerome Borsboom &lt;[email protected]&gt;
12448 in May, but I overlooked it when reviewing bug reports.</li>
12449
12450 <li>add configure check for <code>&lt;ncurses/term.h&gt;</code>
12451 to get rid of hardcoded <code>__CYGWIN__</code> ifdef in
12452 resize.c
12453 <p>NOTE: The CYGWIN port should not be linking
12454 <code>resize</code> with ncurses. It appears that the only
12455 reason it is, is because both the ncurses and termcap ports
12456 on that platform are badly misconfigured (essential pieces
12457 have been removed, etc). Checking for
12458 <code>&lt;ncurses/term.h&gt;</code> does not hurt anything,
12459 since there are some correct installations that are set up
12460 that way.</p>
12461 </li>
12462
12463 <li>add a sample <code>uxterm</code> script, which uses the
12464 <code>UXTerm</code> application defaults for UTF-8
12465 environments.</li>
12466
12467 <li>undo change to xterm application defaults, since this
12468 introduced an unnecessary incompatibility. The intended
12469 functionality was already addressed by the <a href=
12470 "#xterm_141">UXTerm</a> app-defaults file.</li>
12471
12472 <li>resync with XFree86 CVS
12473 <ul>
12474 <li>Modified xterm app default to use LFD fontnames instead
12475 of old type (Michael Schroeder).</li>
12476
12477 <li>Fix xterm when XIM is disabled - caused a segfault
12478 (Tomohiro Kubota).</li>
12479 </ul>
12480 </li>
12481 </ul>
12482
12483 <h1><a name="xterm_159" id="xterm_159">Patch #159 - 2001/9/19 -
12484 XFree86 4.1.0</a></h1>
12485
12486 <ul>
12487 <li>remove an ifdef for <code>USE_HANDSHAKE</code> added in
12488 patch #158 from the second <code>TIOCSSIZE</code> ioctl call in
12489 the initialization code. Paul Gilmartin reports that for
12490 Solaris 2.6 (sparc), stty does not show that xterm sets rows
12491 and columns unless the second ioctl is executed.</li>
12492
12493 <li>correct treatment of empty parameter list for some OSC
12494 strings (report by Sami Farin &lt;[email protected]&gt;).</li>
12495 </ul>
12496
12497 <h1><a name="xterm_158" id="xterm_158">Patch #158 - 2001/9/8 -
12498 XFree86 4.1.0</a></h1>
12499
12500 <ul>
12501 <li>augment key translations for scrollbar widget to ensure
12502 that keystrokes intended for the text area are not lost if the
12503 mouse pointer happens to fall on the scrollbar. This can
12504 happen, for instance, if the user's <code>app-defaults</code>
12505 or <code>.Xdefaults</code> file contains a translations
12506 resource, though it may also happen through unrelated resource
12507 settings: probably a bug in libXt (reported by Paul Fox
12508 &lt;[email protected]&gt; and Dmitry Yu. Bolkhovityanov
12509 &lt;[email protected]&gt;).</li>
12510
12511 <li>widen ifdef's in xterm.h to define
12512 <code>__EXTENSIONS__</code> on Solaris, for compilers other
12513 than gcc. This was added along <code>_POSIX_C_SOURCE</code>
12514 with in <a href="#xterm_151">patch #151</a>, but is not
12515 sufficient since Sun's compiler does not define
12516 <code>__STDC__</code> by default (report by Matthias Scheler
12517 &lt;[email protected]&gt;).</li>
12518
12519 <li>modify xterm to obtain the closest matching color if an
12520 exact color is not available, e.g., on 8-bit displays (patch by
12521 Stephen P Wall)</li>
12522
12523 <li>implement "OverTheSpot" preedit type of XIM input (patch by
12524 Tomohiro Kubota):
12525 <ul>
12526 <li>This preedit type is a reasonable compromise between
12527 simpleness of implementation and usefulness. "Root" preedit
12528 type is easy to implement but not useful; "OnTheSpot"
12529 preedit type is the best in the point of view of user
12530 interface but very complex. And more, "OverTheSpot" is the
12531 preedit type which the most XIM servers support. Thus, to
12532 achieve reasonable usability, support of "OverTheSpot"
12533 preedit type is needed.</li>
12534
12535 <li>In "OverTheSpot" preedit type, the preedit
12536 (preconversion) string is displayed at the position of the
12537 cursor. On the other hand, it is XIM server's
12538 responsibility to display the preedit string. Thus, it is
12539 needed for XIM client (here XTerm) to inform the XIM server
12540 of the cursor position. And more, to achieve good visual
12541 proportion, preedit string must be written using proper
12542 font. Thus, it is XIM client's responsibility to inform the
12543 XIM server of the proper font. The font must be supplied by
12544 "fontset". Fontset is a set of fonts with charsets which
12545 are specified by the current locale. Since XTerm uses
12546 ISO10646 fonts regardless of the current locale, the fonts
12547 for XIM must be prepared separately. It is difficult to
12548 prepare fonts which are similar to XTerm font. Thus, my
12549 patch uses a simple way - the default font is "*" which
12550 matches every fonts and X library will automatically choose
12551 fonts with proper charsets. I added "-fx" command option
12552 and "ximFont" resource to override this default font
12553 setting.</li>
12554
12555 <li>changed the definition of "OverTheSpot" preedit type
12556 from XIMPreeditPosition|XIMStatusArea to
12557 XIMPreeditPosition|XIMStatusNothing. This matches the
12558 behavior of other programs such as Rxvt, Kterm, Gedit.</li>
12559
12560 <li>A tiny XIM bugfix is also included. By calling
12561 XSetLocaleModifiers() with parameter of "", it can consider
12562 XMODIFIERS environmental variable which is a standard way
12563 for users to specify XIM server to be used.</li>
12564 </ul>
12565 </li>
12566
12567 <li>adjust configure script to accommodate repackaging of
12568 keysym2ucs.c as include-file for xutf8.c (patch by Tomohiro
12569 Kubota).</li>
12570
12571 <li>add the <code>UXTerm</code> app-defaults file to makefile
12572 install rules (request by Juliusz Chroboczek).</li>
12573
12574 <li>correct logic in <code>get_termcap()</code>, which returned
12575 false if the <code>tgetent()</code> call indicated that xterm
12576 was linked with terminfo. Although the <code>$TERMCAP</code>
12577 variable cannot be adjusted in this case, xterm still needs
12578 information from this call to extract data to initialize the
12579 erase-mode when the <code>ptyInitialErase</code> resource is
12580 false.</li>
12581
12582 <li>modify <code>ScrollbarReverseVideo()</code> function to
12583 cache the original border color, so it can restore that when an
12584 application flashes the screen (Bugzilla #38872).</li>
12585
12586 <li>resync with XFree86 CVS
12587 <ul>
12588 <li>remove ifdef's for X_NOT_STDC_ENV (patch by David
12589 Dawes).</li>
12590
12591 <li>add Cygwin to special errno handling case in ptydata.c
12592 (Alan Hourihane)</li>
12593
12594 <li>set screen size earlier in initialization, to address a
12595 race with window manager resizing its clients (Keith
12596 Packard).</li>
12597 </ul>
12598 </li>
12599 </ul>
12600
12601 <h1><a name="xterm_157" id="xterm_157">Patch #157 - 2001/6/18 -
12602 XFree86 4.1.0</a></h1>
12603
12604 <ul>
12605 <li>clean up button.c and input.c (patch by Juliusz
12606 Chroboczek). The basic idea is to use a single set of APIs in
12607 the XTerm core, and put a set of workarounds in a separate
12608 file. As you will notice, this drastically simplifies parts of
12609 the code; in particular, the only remaining ifdefs related to
12610 the differences between Xutf8 and legacy systems are related to
12611 the selection provider logic. This defines two new files,
12612 xutf8.h and xutf8.c, provide some half-hearted but fully
12613 portable emulation for the three Xutf8* functions that XTerm
12614 uses. Putting these in a separate file will allow people to
12615 experiment with more complex versions without making the core
12616 of XTerm more difficult to maintain. The functionality of the
12617 emulation is as follows.
12618 <ul>
12619 <li>Xutf8TextListToTextProperty fully handles XStringstyle
12620 and XUTF8StringStyle. It will only generate STRING for
12621 XStdICCTextStyle, and will only generate Latin-1 in
12622 XCompoundTextStyle (but label it as COMPOUND_TEXT, as the
12623 spec requires). (I have hesitated to make this function
12624 fail for XStdICCTextStyle and XCompoundTextStyle; this
12625 might be a smart thing to do, in the hope that the
12626 selection requestor will try UTF8_STRING afterwards;
12627 opinions?)</li>
12628
12629 <li>Xutf8TextPropertyToTextList fully handles STRING and
12630 UTF8_STRING. It systematically fails for
12631 COMPOUND_TEXT.</li>
12632
12633 <li>Xutf8LookupString will properly handle single-keystroke
12634 input for the keysyms covered by Markus' keysym2ucs
12635 function. It will not handle either compose key input or
12636 external input methods.</li>
12637 </ul>
12638 </li>
12639
12640 <li>add an ifdef for <code>SunXK_F36</code>, used in
12641 <code>xtermcapKeycode()</code> (patch by Mark Waggoner
12642 &lt;[email protected]&gt;).</li>
12643
12644 <li>modify check for login name to try <code>getlogin()</code>
12645 and $LOGNAME, $USER environment variables to detect if the user
12646 has logged in under an alias, i.e., an account with the same
12647 user id but a different name (Debian bug report #70084).</li>
12648
12649 <li>add resource <code>tiXtraScroll</code>, which can be used
12650 to preserve the screen contents in the scrollback rather than
12651 erasing it when starting a fullscreen application such as
12652 <code>vi</code> (patch by Ken Martin
12653 &lt;[email protected]&gt;).</li>
12654
12655 <li>two patches by Denis Zaitsev &lt;[email protected]&gt;:
12656 <ul>
12657 <li>added <code>forceBoxChars</code> resource to control
12658 the "line-drawing characters" option.</li>
12659
12660 <li>added <code>freeBoldBox</code> resource, which, when
12661 set true, suppresses check in
12662 <code>same_font_size()</code>, so xterm does not attempt to
12663 ensure that the bold font is the same size as the normal
12664 font.</li>
12665 </ul>
12666 </li>
12667
12668 <li>change the color class for ANSI colors and similar ones
12669 such as bold-color, etc., to follow the convention that the
12670 classname is the instance name with a leading capital (e.g.,
12671 <code>color0</code> and <code>Color0</code> rather than
12672 <code>color0</code> and <code>Foreground</code>). There was
12673 little use for Foreground as a class other than to create
12674 occasional confusion and bug reports, most recently by Nelson
12675 Beebe who reports that it disables colors in xterm but not on
12676 Linux, which is probably due to a difference in resource
12677 evaluation order. A configure script option
12678 (--disable-color-class) is provided for anyone who did use the
12679 older behavior.</li>
12680
12681 <li>fix a signal-handling bug. When running xterm with
12682 <code>ksh</code> or similar shell such as bash 2.05, xterm will
12683 hang and not respond to keystrokes after the user types
12684 <code>suspend</code>. Additionally the popup menus do not
12685 respond, so it is not possible to send SIGCONT to the shell.
12686 What is happening is that the shell is sending itself SIGSTOP,
12687 and it is being stopped. Per specification it also means that
12688 the operating system is sending SIGCHLD to parent to the bash
12689 (XTERM). Now the issue is that xterm assumes it cannot happen
12690 and it expects to receive SIGCHLD only upon
12691 <em>termination</em> of its children. This causes a deadlock
12692 with xterm waiting for the child to die, and the child waiting
12693 for SIGCONT. (report/patch by Adam Sulmicki), analysis/testing
12694 by Sven Mascheck
12695 &lt;[email protected]&gt;).</li>
12696
12697 <li>correct some inconsistent checks for
12698 <code>XtReleaseGC()</code> calls in
12699 <code>xtermLoadFont()</code> (patch by Nam SungHyun
12700 &lt;[email protected]&gt;).</li>
12701
12702 <li>updated wcwidth.c and keysym2ucs.c to versions dated
12703 2001/1/12 and 2001/4/18, respectively from
12704 http://www.cl.cam.ac.uk/~mgk25/ucs/</li>
12705
12706 <li>correction to change from <a href="#xterm_90">patch
12707 #90</a>, which was intended to reset the saved cursor position
12708 for normal/alternate screens on a soft reset, but actually
12709 wiped out all of the saved cursor information. Just reset the
12710 saved position for the current screen (report by Michael
12711 Schroeder).</li>
12712
12713 <li>modify ShowCursor() and HideCursor() so that if the cursor
12714 points to the second part of a wide character, make the
12715 show/hide operate on the first position of the wide character
12716 (patch by Sven Verdoolaege).</li>
12717
12718 <li>scrolling in the alternate screen just before switching
12719 back to the main screen can cause extra blank lines to be
12720 inserted into the scrollback buffer (patch by Paul Vojta
12721 &lt;[email protected]&gt;).</li>
12722
12723 <li>resync with XFree86 4.1.0:
12724 <ul>
12725 <li>Use TermcapLibrary as -lncurses instead of -ltermcap,
12726 fixes problem building xterm/resize on Cygwin/XFree86
12727 (Harold Hunt).</li>
12728
12729 <li>Install xterm.termcap and xterm.terminfo when
12730 installing xterm (Torrey T. Lyons).</li>
12731
12732 <li>Fix some build issues on Cygwin/XFree86 (Suhaib
12733 Siddiqi).</li>
12734
12735 <li>Define CBAUD, when it's missing in xterm, on LynxOS
12736 (Stuart Lissaman).</li>
12737 </ul>
12738 </li>
12739 </ul>
12740
12741 <h1><a name="xterm_156" id="xterm_156">Patch #156 - 2001/4/28 -
12742 XFree86 4.0.3</a></h1>
12743
12744 <ul>
12745 <li>change order of selection-target types to make 8-bit xterm
12746 prefer UTF8_STRING to COMPOUND_TEXT (patch by Juliusz
12747 Chroboczek).</li>
12748
12749 <li>document <code>-fa</code>, <code>-fs</code> command-line
12750 options and <code>faceName</code>, <code>faceSize</code>
12751 resources which are used by the freetype library support.</li>
12752
12753 <li>if configure script finds freetype libraries, but imake
12754 definitions do not have the XRENDERFONT definition, define it
12755 anyway.</li>
12756
12757 <li>modify configure script check for freetype libraries to
12758 include <code>&lt;Xlib.h&gt;</code>, since an older version of
12759 the related headers relies on this (patch by Adam
12760 Sulmicki).</li>
12761 </ul>
12762
12763 <h1><a name="xterm_155" id="xterm_155">Patch #155 - 2001/4/20 -
12764 XFree86 4.0.3</a></h1>
12765
12766 <ul>
12767 <li>correct return type of in_put() from <a href=
12768 "#xterm_155">patch #153</a> changes, which left it not wide
12769 enough for UTF-8 (patch by Bruno Haible).</li>
12770 </ul>
12771
12772 <h1><a name="xterm_154" id="xterm_154">Patch #154 - 2001/4/11 -
12773 XFree86 4.0.3</a></h1>
12774
12775 <ul>
12776 <li>undo check for return value from <code>pututline</code>
12777 (used for debugging) since that function does not return a
12778 value on Slackware 3.6.</li>
12779
12780 <li>correct length in ScreenWrite, when rendering invisible
12781 text (patch by Sven Verdoolaege &lt;[email protected]&gt;).</li>
12782
12783 <li>fixes/improvements for the <code>i18nSelection</code>
12784 resource from patch #153, by Bruno Haible:
12785 <ul>
12786 <li>add missing initialization for
12787 <code>i18nSelection</code> resource.</li>
12788
12789 <li>split-out the non-ICCM aspect of the
12790 <code>i18nSelection</code> resource as a new resource,
12791 <code>brokenSelections</code>.</li>
12792 </ul>
12793 </li>
12794
12795 <li>add configure check for <code>&lt;time.h&gt;</code> and
12796 <code>&lt;sys/time.h&gt;</code>, to allow for Unixware&nbsp;7,
12797 which requires both. If the configure script is not used, only
12798 <code>&lt;time.h&gt;</code> will be included as before (report
12799 by Thanh Ma).</li>
12800
12801 <li>fix redefinition of <code>dup2</code>,
12802 <code>getutent</code>, <code>getutid</code>,
12803 <code>getutline</code> and <code>sleep</code> functions on
12804 Unixware&nbsp;7 (report by Thanh Ma
12805 &lt;[email protected]&gt;)</li>
12806
12807 <li>add a fall-back definition for <code>__hpux</code>, which
12808 is apparently not defined in some compilers on HPUX 11.0
12809 (reported by Clint Olsen).</li>
12810
12811 <li>change VAL_INITIAL_ERASE, which is used as a fallback for
12812 the <code>"kb"</code> termcap string to 8, since that matches
12813 the xterm terminal description (request by Alexander V
12814 Lukyanov).</li>
12815
12816 <li>correct an off-by-one in <code>ClearInLine</code>, which
12817 caused the erase-characters (ECH) control to display
12818 incorrectly (patch by Alexander V Lukyanov).</li>
12819
12820 <li>correct escape sequences shown in terminfo for shifted
12821 editing keys. The modifier code was for the control key rather
12822 than the shift key.</li>
12823 </ul>
12824
12825 <h1><a name="xterm_153" id="xterm_153">Patch #153 - 2001/3/29 -
12826 XFree86 4.0.3</a></h1>
12827
12828 <ul>
12829 <li>increase PTYCHARLEN to 8 for os390, add some debugging
12830 traces for UTMP functions (patch by Paul Gilmartin).</li>
12831
12832 <li>correct an misplaced brace in
12833 <code>SelectionReceived()</code> (patch by Bruno Haible).</li>
12834
12835 <li>correct an assignment dropped in
12836 <code>SelectionReceived()</code> which made it not compile for
12837 wide-characters combined with debug traces.</li>
12838
12839 <li>correct typo, clarify description of 88- and 256-color
12840 controls (report by Bram Moolenaar).</li>
12841
12842 <li>correct a typo in ctlseqs.ms which caused DEC Locator
12843 control sequences using single quote "'" display grave "`"
12844 instead (reported by Paul Williams, apparently in patch
12845 #114).</li>
12846 </ul>
12847
12848 <h1><a name="xterm_152" id="xterm_152">Patch #152 - 2001/3/13 -
12849 XFree86 4.0.2</a></h1>
12850
12851 <ul>
12852 <li>correct index in inner loop in <code>VTInitI18N()</code>
12853 from patch #151 changes, which resulted in infinite loop under
12854 some conditions (report/analysis by Paul Gilmartin).</li>
12855
12856 <li>remove spurious "%|" from terminfo sgr capabilities
12857 (report/analysis by Adam M Costello, Debian #89222).</li>
12858
12859 <li>add shell script to adjust list of dynamic libraries linked
12860 by <code>resize</code> when building with the standalone
12861 configure script. Otherwise it uses the same list as for xterm,
12862 which is excessive.</li>
12863
12864 <li>fix a few compiler warnings reported by the 20010305 gcc
12865 snapshot.</li>
12866 </ul>
12867
12868 <h1><a name="xterm_151" id="xterm_151">Patch #151 - 2001/3/10 -
12869 XFree86 4.0.2</a></h1>
12870
12871 <ul>
12872 <li>alter the behaviour of selections in XTerm (patch by
12873 Juliusz Chroboczek). It is believed to follow the ICCCM +
12874 UTF8_STRING to the letter, both in UTF-8 and in eight-bit mode.
12875 From his description:
12876 <ul>
12877 <li>When compiled against XFree86 4.0.2, the patched XTerm
12878 will make the selection available as COMPOUND_TEXT, STRING
12879 or UTF8_STRING in both modes. It will request selections in
12880 the following order:
12881 <p>UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT,
12882 STRING.<br>
12883 eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING,
12884 STRING.</p>
12885 </li>
12886
12887 <li>When compiled against an earlier version of XFree86 (or
12888 compiled with OPT_UTF8_API=0), it will still obey the
12889 ICCCM, but will neither request nor provide UTF8_STRING in
12890 eight-bit mode, and neither TEXT nor COMPOUND_TEXT in UTF-8
12891 mode.</li>
12892
12893 <li>For compatibility with previous versions of XTerm, a
12894 resource <code>i18nSelections</code> is provided, please
12895 see the manpage for details. However, due to an unexpected
12896 combination of ICCCM extensions by various bits and pieces
12897 of the libraries, interacting with previous versions of
12898 XTerm will work in many locales even without this flag.
12899 (Please do not set this resource to true by default, as
12900 this would violate the ICCCM.)</li>
12901 </ul>
12902 </li>
12903
12904 <li>improved error checking/reporting in VTInitI18N(), ensuring
12905 that lack of input method styles is treated distinctly from a
12906 mismatch.</li>
12907
12908 <li>remove an incorrect ifdef from patch #141 which suppressed
12909 overstriking to simulate bold font when xterm was compiled to
12910 support wide characters (report/analysis by Adam M Costello
12911 &lt;[email protected]&gt;, Debian #76404, Debian
12912 #77575).</li>
12913
12914 <li>modify <code>RequestResize()</code> function to
12915 save/restore window manager hints. Its call to
12916 <code>XtMakeResizeRequest()</code> had the undesirable
12917 side-effect of clearing window manager hints, e.g., when
12918 switching to 132-columns via DECCOLM escape sequence. Window
12919 manager hints make it simple to resize xterm in terms of
12920 character cells rather than pixels (reports by Christian
12921 Weisgerber, Debian #79939).
12922 <p>This applies to the normal configuration. When built with
12923 toolbar support, the hints are applied to a different widget
12924 level (more work will be needed to make hints work with the
12925 toolbar).</p>
12926 </li>
12927
12928 <li>fix a redefinition warning for resize.c on OpenBSD (patch
12929 by Christian Weisgerber).</li>
12930
12931 <li>change resource corresponding to <code>-T</code> option to
12932 match Xt library's <code>-title</code>, i.e.,
12933 <code>.title</code> rather than <code>*title</code> so the
12934 command-line options are interchangeable as documented (Debian
12935 bug report #68843).</li>
12936
12937 <li>add script used from autoconf'd makefile for installing
12938 manpages, since recent XFree86 changing the way section numbers
12939 are represented makes the install dependent on extra
12940 scripts.</li>
12941
12942 <li>add configure check for freetype libraries and configure
12943 option --disable-freetype to override this feature.</li>
12944
12945 <li>modify some configure script macros to avoid using
12946 changequote(), which has been rendered useless in the latest
12947 autoconf alpha 2.49c</li>
12948
12949 <li>update config.guess, config.sub to 2001-2-13</li>
12950
12951 <li>remove redundant/contradictory __CYGWIN__ definitions from
12952 resize.c</li>
12953
12954 <li>correct manpage typo introduced by X11R6.5 resync.</li>
12955 </ul>
12956
12957 <p>Changes from XFree86 4.0.2:</p>
12958
12959 <ul>
12960 <li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris
12961 to make this compile with <code>gcc -ansi -pedantic</code>
12962 (report by &lt;[email protected]&gt;.</li>
12963 </ul>
12964
12965 <h1><a name="xterm_150" id="xterm_150">Patch #150 - 2000/12/29 -
12966 XFree86 4.0.2</a></h1>
12967
12968 <ul>
12969 <li>move the binding for shifted keypad plus/minus, which
12970 invokes the <code>larger-vt-font()</code> and
12971 <code>smaller-vt-font()</code> actions, respectively, into the
12972 translations resource (suggested by Marius Gedminas
12973 &lt;[email protected]&gt;).</li>
12974
12975 <li>modify configure script to support the
12976 <code>--program-prefix</code>, <code>--program-suffix</code>
12977 and <code>--program-transform-name</code> options (request by
12978 Alison Winters &lt;[email protected]&gt;).</li>
12979
12980 <li>fixes for wide/combining characters (Robert Brady):
12981 <ul>
12982 <li>fix a scrolling / combining characters display
12983 anomaly</li>
12984
12985 <li>fix a problem with double-width characters where if the
12986 primary font had no box-drawing characters, the right hand
12987 half of double-width characters was erased (reported by Yao
12988 Zhang &lt;[email protected]&gt;).</li>
12989
12990 <li>fix special case of null byte for key handling in UTF-8
12991 locales.</li>
12992 </ul>
12993 </li>
12994
12995 <li>modify logic that compares sizes of normal and bold fonts
12996 to be more forgiving of the font server's choice of bold font
12997 which must match the normal font's size. Now
12998 <code>same_font_size()</code> compares the height of the fonts
12999 rather than individually ascent and descent, and allows the
13000 bold font to be one pixel smaller than the normal font
13001 (addresses a report by Alan Citterman &lt;[email protected]&gt;,
13002 who says that something in patches <a href=
13003 "#xterm_146">#146</a> to <a href="#xterm_148">#148</a> made
13004 xterm more likely to overstrike bold fonts, and indirectly
13005 Debian bug report #76404, which reports the opposite).</li>
13006
13007 <li>make configure script use $CFLAGS and $CPPFLAGS
13008 consistently, including removing a chunk from configure.in
13009 which attempted to save/restore $CPPFLAGS while processing
13010 value set by the --x-includes option, but lost values set in an
13011 intervening AC_CHECK_HEADERS. This change modifies macros
13012 CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and CF_X_TOOLKIT, as well as
13013 removing variables IMAKE_CFLAGS and X_CFLAGS from the generated
13014 makefile (the AC_CHECK_HEADERS problem was reported by Albert
13015 Chin-A-Young &lt;[email protected]&lt;).</li>
13016
13017 <li>correct a comparison in SELECTWORD case of ComputeSelect(),
13018 which resulted in a word-selection wrapping past the first
13019 column without checking the first column's character class
13020 (reported by Christian Lacunza
13021 &lt;[email protected]&gt;</li>
13022
13023 <li>correct a logic in UTF-8 mode for selecting double-width
13024 characters; a combining character was omitted (patch by Markus
13025 Kuhn).</li>
13026
13027 <li>add feature to pop (raise) window when a bell is received
13028 (patch by Gael Roualland
13029 &lt;[email protected]&gt;).</li>
13030
13031 <li>add __NetBSD__ and __OpenBSD__ to special-case in
13032 xterm_io.h for USE_POSIX_TERMIOS definition (patch by Christian
13033 Weisgerber).</li>
13034
13035 <li>move special-case HPUX include for &lt;sys/bsdtty.h&gt; to
13036 xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for
13037 HPUX 10.20 (report by Bruno Betro).</li>
13038 </ul>
13039
13040 <h1><a name="xterm_149" id="xterm_149">Patch #149 - 2000/12/6 -
13041 XFree86 4.0.1h</a></h1>
13042
13043 <ul>
13044 <li>restructured includes for <code>termios.h</code>,
13045 <code>termio.h</code> and related definitions for main.c,
13046 os2main.c, screen.c and resize.c so they will share equivalent
13047 definitions in a new header <code>xterm_io.h</code>. This is
13048 intended to solve some problems mainly for HPUX which appear to
13049 arise from inconsistent definitions for SIGWINCH- and
13050 HAS_LTCHARS-related symbols (reports by Bruno Betro, Jeremie
13051 Petit and Clint Olsen).</li>
13052
13053 <li>improve usability of double-width fonts by allowing normal
13054 fonts to be given as double-width (from a patch by Fabrice
13055 Bellard &lt;[email protected]&gt;).</li>
13056
13057 <li>correct a few compiler warnings in TRACE() macros for
13058 signed/unsigned variable differences (reported by Clint
13059 Olsen).</li>
13060
13061 <li>make configure script use $CFLAGS and $CPPFLAGS more
13062 consistently, i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC
13063 macro.</li>
13064
13065 <li>expanded description of environment variables in
13066 manual-page.</li>
13067
13068 <li>modify OPT_TCAP_QUERY feature to always return the termcap
13069 or terminfo capability string in the response, and to
13070 read/write the names in hexadecimal form to allow for the
13071 special case of termcap's <code>k;</code> name (patch by Bram
13072 Moolenaar).</li>
13073
13074 <li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so
13075 the corresponding configure options work (patch by Bram
13076 Moolenaar).</li>
13077
13078 <li>resync with XFree86 4.0.1g:
13079 <ul>
13080 <li>Rewrite Xft library for Render extension/core text and
13081 font management Change xterm to use new interface (Keith
13082 Packard).</li>
13083 </ul>
13084 </li>
13085 </ul>
13086
13087 <h1><a name="xterm_148" id="xterm_148">Patch #148 - 2000/10/31 -
13088 XFree86 4.0.1d</a></h1>
13089
13090 <ul>
13091 <li>document logfile options in man-page.</li>
13092
13093 <li>correct spelling of <code>-samename</code> option in help
13094 message.</li>
13095
13096 <li>add configure script option
13097 <code>--enable-tcap-query</code> (request by Bram
13098 Moolenaar).</li>
13099
13100 <li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature
13101 (patch by Bram Moolenaar).</li>
13102
13103 <li>patch by Kiyokazu Suto &lt;[email protected]&gt;:
13104 <ul>
13105 <li>add support for bold font for double width characters.
13106 The font name may be specified with the command line option
13107 <code>-fwb</code> or with resource
13108 <code>wideBoldFont</code> (class
13109 <code>WideBoldFont</code>).</li>
13110
13111 <li>correct underlining of double width character string,
13112 which was drawn only half width.</li>
13113
13114 <li>correct binary search of precomposed character table,
13115 which may return wrong result when <code>int</code> is just
13116 32 bits.</li>
13117 </ul>
13118 </li>
13119
13120 <li>some changes to align terminfo with ncurses 5.2:
13121 <ul>
13122 <li>remove xtermm description, retaining xterm-mono since
13123 the former conflicts with ncurses.</li>
13124
13125 <li>modify initialization and reset strings to avoid
13126 putting the save/restore cursor operations bracketing
13127 changes to video attributes, since the changes could be
13128 lost when the cursor is restored. This affects xterm-r6 and
13129 xterm-8bit (the xterm-xfree86 entry uses the soft-reset
13130 feature which resets scrolling margins and origin mode
13131 without requiring us to save/restore the cursor
13132 position).</li>
13133
13134 <li>make a few entries explicitly inherit from
13135 xterm-xfree86 rather than xterm: xterm-rep, xterm-xmc,
13136 xterm-nrc</li>
13137 </ul>
13138 </li>
13139
13140 <li>ensure that sign-extension does not affect
13141 <code>ctype</code> macros by using <code>CharOf()</code> macro
13142 to coerce the parameter to an unsigned char.</li>
13143
13144 <li>resync with XFree86 4.0.1d:
13145 <ul>
13146 <li>Add primitive support in xterm for Xft based fonts
13147 (Keith Packard). The changes are ifdef'd with
13148 <code>-DXRENDERFONT</code>.</li>
13149 </ul>
13150 </li>
13151 </ul>
13152
13153 <h1><a name="xterm_147" id="xterm_147">Patch #147 - 2000/10/26 -
13154 XFree86 4.0.1c</a></h1>
13155
13156 <ul>
13157 <li>correct implementation of <code>ptyInitialErase</code>: the
13158 value assigned to <code>initial_erase</code> was for the
13159 control terminal, which is correct as far as it goes. But there
13160 was no following test for the pseudo-terminal's erase value,
13161 which would overwrite the default obtained from the control
13162 terminal (reported by Christian Weisgerber
13163 &lt;[email protected]&gt;).</li>
13164
13165 <li>modify check for printable-characters in OSC string to use
13166 xterm's ansi_table rather than isprint() macro, to isolate this
13167 check from locale settings. This fixes a problem using 8-bit
13168 characters to set the title (reported by Ricardas Cepas
13169 &lt;[email protected]&gt;).</li>
13170
13171 <li>modify sample scripts to check for printf before print,
13172 since the latter is not as well standardized (e.g., on
13173 Linux).</li>
13174
13175 <li>updated config.sub, config.guess to reflect changes on
13176 subversions.gnu.org</li>
13177 </ul>
13178
13179 <h1><a name="xterm_146" id="xterm_146">Patch #146 - 2000/9/12 -
13180 XFree86 4.0.1c</a></h1>
13181
13182 <ul>
13183 <li>correct two instances overlooked from patch #141 which
13184 assumed UTF-8 mode without checking, causing a core dump in
13185 non-UTF-8 mode (one instance was reported by Tommi Virtanen
13186 &lt;[email protected]&gt;).</li>
13187
13188 <li>correct a problem selecting from the scrollback buffer in
13189 UTF-8 mode by changing remaining getXtermCell() calls to
13190 XTERM_CELL() as in the non-UTF-8 cases (report by Markus Kuhn,
13191 patch by Robert Brady).</li>
13192 </ul>
13193
13194 <h1><a name="xterm_145" id="xterm_145">Patch #145 - 2000/9/11 -
13195 XFree86 4.0.1c</a></h1>
13196
13197 <ul>
13198 <li>changes for UTF-8 configuration (Robert Brady):
13199 <ul>
13200 <li>doublewide characters don't lose their accents when the
13201 cursor moves onto or from them (a visual bug)</li>
13202
13203 <li>fix logic in addXtermCombining, which mean that if the
13204 low byte of a cell's first combining char was 0, a
13205 following combining char would go into combining slot 1,
13206 not 2.</li>
13207
13208 <li>modify logic for cut-buffers so UTF-8 data is first
13209 converted to Latin1.</li>
13210
13211 <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL.</li>
13212
13213 <li>modify to allow xterm to to show combining characters
13214 attached to doublewidth characters.</li>
13215
13216 <li>correct bug in linewrap with -u8 option (reported by
13217 Andreas Koenig &lt;[email protected]&gt;).</li>
13218 </ul>
13219 </li>
13220
13221 <li>several changes to PTY logic (based on request by Tim Ryan
13222 &lt;[email protected]&gt;).
13223 <ul>
13224 <li>modify treatment of <code>-S</code> option to to make
13225 it work with Unix98 PTY's.</li>
13226
13227 <li>restore sense of IsPts flag in <code>get_pty()</code>,
13228 which was lost in Unix98 changes.</li>
13229
13230 <li>use new functions <code>my_pty_id()</code> and
13231 <code>my_pty_name()</code> to simplify/fix strings used for
13232 utmp, wtmp identifiers.</li>
13233
13234 <li>simplify <code>get_pty()</code> function, making it
13235 have a single return point so its inputs/outputs can be
13236 identified.</li>
13237 </ul>
13238 </li>
13239
13240 <li>update config.guess and config.sub and scripts to my
13241 20000819 patch, adding cases for OS/2 EMX.</li>
13242
13243 <li>add special case for os390 compiler options to configure
13244 script (patch by Paul Gilmartin)</li>
13245
13246 <li>fix some unused-variable compiler warnings (reported by
13247 Zdenek Sekera).</li>
13248
13249 <li>split-out some string functions into xstrings.c, to use
13250 them more consistently among main.c, os2main.c and
13251 resize.c</li>
13252
13253 <li>align termcap/terminfo files, adding entries to make them
13254 match. The termcap entries are necessarily less complete than
13255 the terminfo, to fit within 1023 character per entry.</li>
13256
13257 <li>add terminfo entry for xterm-sco (SCO function keys).</li>
13258
13259 <li>modify <code>same_font_name()</code> to properly handle
13260 wildcard introduced in <code>bold_font_name()</code>, making
13261 comparison for different fonts succeed when only the normal
13262 font is specified. This is needed to decide if 1-pixel offset
13263 should be used. (reported in a newsgroup by Bart Oldeman
13264 &lt;[email protected]&gt;)</li>
13265
13266 <li>correct preprocessor line for OPT_WIDE_CHARS in
13267 drawXtermText() from patch #141 which resulted in overstriking
13268 for bold fonts not working.</li>
13269
13270 <li>correct Imakefile from 4.0.1c resync so UTF-8 modules are
13271 in UTF8SRC, UTF8OBJ lists, allowing build without UTF-8
13272 support.</li>
13273 </ul>
13274
13275 <h1><a name="xterm_144" id="xterm_144">Patch #144 - 2000/8/23 -
13276 XFree86 4.0.1b</a></h1>
13277
13278 <ul>
13279 <li>remove a spurious assignment in ScreenWrite() from Robert
13280 Brady's patch which set a null at the "end" of the buffer to be
13281 written. That made the autowrap feature write a blank in the
13282 first column for the non-UTF-8 configuration, rather than the
13283 actual character (reported by Alan Citterman
13284 &lt;[email protected]&gt;).</li>
13285 </ul>
13286
13287 <h1><a name="xterm_143" id="xterm_143">Patch #143 - 2000/8/19 -
13288 XFree86 4.0.1b</a></h1>
13289
13290 <ul>
13291 <li>add a check to ensure that <code>-class</code> command-line
13292 option is not confused with <code>-c</code> (reported by Paul
13293 Townsend &lt;[email protected]&gt;).</li>
13294 </ul>
13295
13296 <h1><a name="xterm_142" id="xterm_142">Patch #142 - 2000/8/18 -
13297 XFree86 4.0.1b</a></h1>
13298
13299 <ul>
13300 <li>correction to precompose scripts, so 0061 + 0300 will now
13301 be really be displayed as 00C0 (patch by Robert Brady
13302 &lt;[email protected]&gt;).</li>
13303
13304 <li>correct macro ClassSelects() in button.c, used to hide
13305 ifdef's for OPT_WIDE_CHARS in patch #141 (reported by Andreas
13306 Paul &lt;[email protected]&gt;).</li>
13307
13308 <li>change wcwidth.h to include stddef.h rather than wchar.h,
13309 which is not present on OpenBSD and FreeBSD (reported by
13310 Christian Weisgerber and Bram Moolenaar).</li>
13311
13312 <li>newer config.sub and config.guess, from lynx
13313 2.8.4dev.7</li>
13314 </ul>
13315
13316 <h1><a name="xterm_141" id="xterm_141">Patch #141 - 2000/8/14 -
13317 XFree86 4.0.1b</a></h1>
13318
13319 <ul>
13320 <li>changes for doublewidth and combining characters, from
13321 http://www.ecs.soton.ac.uk/~rwb197/xterm/ (integrated patch by
13322 Robert Brady). In this context, doublewidth refers to 16-bit
13323 character sets which may have glyphs occupying two cells.</li>
13324
13325 <li>add command-line option <code>-class</code>, which allows
13326 one to override xterm's resource class. Also add resource file
13327 <code>UXTerm.ad</code>, which simplifies using xterm for both
13328 8-bit character sets and UTF-8.</li>
13329
13330 <li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram
13331 Moolenaar, Stephen P Wall).</li>
13332 </ul>
13333
13334 <h1><a name="xterm_140" id="xterm_140">Patch #140 - 2000/7/23 -
13335 XFree86 4.0.1</a></h1>
13336
13337 <ul>
13338 <li>modify Makefile.in to circumvent GNU make's built-in suffix
13339 rule for ".sh" which confuses install.sh with the "make
13340 install" target (report/patch by Paul Gilmartin).</li>
13341
13342 <li>implement an experimental control sequence which an
13343 application may use to query the terminal to determine what
13344 sequence of characters it would send for a given function key.
13345 This is ifdef'd with OPT_TCAP_QUERY (request by Bram
13346 Moolenaar).</li>
13347
13348 <li>add /usr/local to search path in CF_X_ATHENA configure
13349 macro to build with Xaw3d on OpenBSD (patch by Christian
13350 Weisgerber).</li>
13351
13352 <li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to
13353 xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate
13354 (report by Alain Filbois &lt;[email protected]&gt;).</li>
13355
13356 <li>correct a few errors in xterm.man: font in filename example
13357 for Tektronix emulation, and description of -nul/+nul
13358 command-line options (report by Eric Fischer
13359 &lt;[email protected]&gt;).</li>
13360
13361 <li>update config.guess and config.sub, from tin and lynx.</li>
13362 </ul>
13363
13364 <h1><a name="xterm_139" id="xterm_139">Patch #139 - 2000/6/17 -
13365 XFree86 4.0d</a></h1>
13366
13367 <ul>
13368 <li>back out change to <code>-name</code> command-line option,
13369 restoring its original behavior (as noted by David Madore, the
13370 correct interpretation of this option is the application
13371 instance rather than the application class).</li>
13372 </ul>
13373
13374 <h1><a name="xterm_138" id="xterm_138">Patch #138 - 2000/6/15 -
13375 XFree86 4.0c</a></h1>
13376
13377 <ul>
13378 <li>workaround for fixed fonts which are generated from Unicode
13379 fonts: they omit glyphs for some xterm's less-used line-drawing
13380 characters, which caused xterm to set a flag telling it to use
13381 only its internal line-drawing characters. Do not set the flag
13382 (it can be set from the popup menu), and xterm will generate
13383 only the line-drawing glyphs which actually are missing.<br>
13384 Otherwise, when used for large fonts, xterm may generate a
13385 2-pixel wide line, which can leave dots on the screen.</li>
13386
13387 <li>restore first line of 256colres.pl, omitted in 4.0c
13388 diffs.</li>
13389 </ul>
13390
13391 <h1><a name="xterm_137" id="xterm_137">Patch #137 - 2000/6/10 -
13392 XFree86 4.0b</a></h1>
13393
13394 <ul>
13395 <li>make command-line <code>-name</code> option work as
13396 documented. Apparently this was lost in X11R5 when coding to
13397 use <code>XtAppInitialize</code>.</li>
13398
13399 <li>limit numeric parameters of control sequences to 65535 to
13400 simplify checks for numeric overflow.</li>
13401
13402 <li>change index into UDK list to unsigned to guard against
13403 numeric overflow making the index negative (Taneli Huuskonen
13404 &lt;[email protected]&gt;).</li>
13405
13406 <li>change <code>sun&nbsp;function-keys</code> resource name to
13407 <code>sunFunctionKeys</code> to work around redefinition of the
13408 token <code>sun</code> by xrdb on Solaris. Similarly, renamed
13409 resource <code>sun&nbsp;keyboard</code> to
13410 <code>sunKeyboard</code> (Stephen P Wall).</li>
13411
13412 <li>change similar resource names for HP and SCO to avoid
13413 potential conflict with xrdb symbols on other systems, as well
13414 as for consistency.</li>
13415
13416 <li>reorganized the install targets in the autoconf'd Makefile,
13417 adding install-app, install-bin, install-dirs and install-man.
13418 The app-defaults class can be overridden by setting the make
13419 variable 'CLASS', simplifying customization of xterm as a
13420 Unicode terminal, e.g., CLASS=UXTerm.</li>
13421
13422 <li>add limit checks to <code>ClearInLine()</code>,
13423 <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to
13424 correct potential out-of-bounds indexing (prompted by Debian
13425 bug report #64713, which reported a problem with ICH escape
13426 sequences).</li>
13427
13428 <li>updates to config.sub and config.guess Kevin Buettner
13429 &lt;[email protected]&gt; for elf64_ia64 Bernd Kuemmerlen
13430 &lt;[email protected]&gt; and MacOS X.</li>
13431
13432 <li>for os390, add check for errno set to ENODEV on failure to
13433 open /dev/tty when there is no controlling terminal (patch by
13434 Paul Gilmartin).</li>
13435
13436 <li>fixes for building on Digital Unix 4.0 and AIX 4.2 (patch
13437 from H Merijn Brand &lt;[email protected]&gt;).</li>
13438
13439 <li>modify DECRQSS reply for DECSCL to additionally report if
13440 the terminal is set for 8-bit controls.</li>
13441 </ul>
13442
13443 <h1><a name="xterm_136" id="xterm_136">Patch #136 - 2000/6/3 -
13444 XFree86 4.0b</a></h1>
13445
13446 <ul>
13447 <li>add a resource (<code>limitResize</code>) limiting resizing
13448 via the CSI 4 t and CSI 8 t sequences.</li>
13449
13450 <li>ignore out-of-bounds resize requests, i.e., where
13451 sign-extension or truncation of the parameters would
13452 occur.</li>
13453 </ul>
13454
13455 <h1><a name="xterm_135" id="xterm_135">Patch #135 - 2000/5/29 -
13456 XFree86 4.0b</a></h1>
13457
13458 <ul>
13459 <li>remove code introduced in #134 which made some backgrounds
13460 bold.</li>
13461
13462 <li>minor correction to format of updated $TERMCAP when adding
13463 <code>kb</code> capability for <code>ptyInitialErase</code>
13464 logic.</li>
13465
13466 <li>improved test for SVR4 definition.</li>
13467 </ul>
13468
13469 <h1><a name="xterm_134" id="xterm_134">Patch #134 - 2000/5/28 -
13470 XFree86 4.0b</a></h1>
13471
13472 <ul>
13473 <li>update URL's and mailing addresses, moved to
13474 http://dickey.his.com and [email protected]</li>
13475
13476 <li>correct missing quotes in CF_TTY_GROUP configure script
13477 macro in case the script is run in batch mode.</li>
13478
13479 <li>modify ownership-check of log file to ignore the group
13480 ownership. Otherwise xterm cannot create logfiles in
13481 directories with set-gid permissions.</li>
13482
13483 <li>simplify the logic that reads termcap data.</li>
13484
13485 <li>add fallback definition for B9600 in case line speed
13486 definition for 38400 is missing (report by Jack J Woehr
13487 &lt;[email protected]&gt;, for OpenBSD 2.6).</li>
13488
13489 <li>fix: Set highlightColor, and select a region containing the
13490 text cursor. If the window loses focus, the cursor becomes
13491 hollow, with the region inside the cursor being
13492 background/foreground, unlike the rest of the selection, which
13493 is foreground/highlight (patch by Ross Paterson
13494 &lt;[email protected]&gt;).</li>
13495
13496 <li>add configure script tests to define SVR4, SYSV and
13497 USE_POSIX_WAIT, which enables xterm to compile on Solaris 7 and
13498 SCO Openserver without imake, though there are still a few
13499 features for the latter which require <code>sco</code> to be
13500 predefined.</li>
13501
13502 <li>patches from Stephen P Wall:
13503 <ul>
13504 <li>add support for two Sun-specific function keys. These
13505 keys are labeled F11 and F12 on Sun Type 5 keyboards, but
13506 return SunXK_F36 and SunXK_F37. Support will only be
13507 compiled in if the header file &lt;X11/Sunkeysym.h&gt;
13508 exists and contains the appropriate symbol definitions. The
13509 keycodes for the DEC keycodes were arbitrary unused codes,
13510 but the ones for the Sun keycodes are what cmdtool and
13511 shelltool actually send.</li>
13512
13513 <li>add <code>colorRV</code> and <code>colorRVMode</code>
13514 resources to allow specifying a color to use for reverse
13515 video, similar to the existing UL, BD, and BL modes.</li>
13516
13517 <li>add <code>alwaysUseMods</code> resource, to override
13518 check if <code>alt</code> or <code>meta</code> modifiers
13519 are used in <code>translations</code> resource. Revamped
13520 the code to calculate the modifier value, and included Meta
13521 if alwaysUseMods is TRUE, using values 9-16.</li>
13522 </ul>
13523 </li>
13524
13525 <li>fixes for os390 (Paul Gilmartin):
13526 <ul>
13527 <li>regularize the definition of CONTROL() and remove an
13528 acknowledged "trial and error" table.</li>
13529
13530 <li>translate "^?" into A2E(0177) which is the EBCDIC "DEL"
13531 rather than plain 0177 which is the EBCDIC quotation
13532 mark.</li>
13533
13534 <li>modify <code>xtermMissingChar()</code> so that EBCDIC
13535 codes 128-159 are not rendered as blanks by X server
13536 running on Solaris, which sees those as control
13537 characters.</li>
13538
13539 <li>make debugging traces (configure --enable-trace) work
13540 properly with EBCDIC.</li>
13541 </ul>
13542 </li>
13543 </ul>
13544
13545 <h1><a name="xterm_133" id="xterm_133">Patch #133 - 2000/5/2 -
13546 XFree86 4.0a</a></h1>
13547
13548 <ul>
13549 <li>add substitutions in autoconf'd Makefile for CPPFLAGS,
13550 LDFLAGS and AWK (reported by Neil Bird).</li>
13551
13552 <li>correct uninitialized <code>childstat</code> variable from
13553 patch #131 in <code>creat_as()</code> function, which caused
13554 logging to not work on Solaris, whose <code>waitpid()</code>
13555 function does not initialize its parameter. Add check for EINTR
13556 on return from <code>waitpid()</code> as well (reported by Neil
13557 Bird &lt;[email protected]&gt;).</li>
13558
13559 <li>remove a redundant check for working <code>setuid()</code>
13560 function introduced in patch #132. Greg Smith reports that this
13561 does not work as intended on os390.</li>
13562
13563 <li>change line speed from 9600bd to 38400bd, to accommodate
13564 people who mistakenly use $TERM set to <em>vt100</em>, to
13565 reduce the effect of padding associated with this terminal
13566 type.</li>
13567
13568 <li>add configure script check for IRIX 6.5's redefinition of
13569 baud rates associated with <code>struct termio</code>, to
13570 correct a situation where the baud rate was initialized to zero
13571 (reported by Andrew Isaacson &lt;[email protected]&gt;).</li>
13572
13573 <li>remove unused configure script check for VDISABLE.</li>
13574 </ul>
13575
13576 <h1><a name="xterm_132" id="xterm_132">Patch #132 - 2000/4/11 -
13577 XFree86 4.0a</a></h1>
13578
13579 <ul>
13580 <li>undo an incorrect change from patch #113 caused the right
13581 scrollbar to be positioned incorrectly when re-enabling it
13582 (analysis by D Roland Walker).</li>
13583
13584 <li>add ctrlFKeys resource, replacing constant for adjusting
13585 control-F1 to control-F12 to VT220-style F10-F20. The resource
13586 changes the constant 12 to a default value of 10 (request by
13587 Jim Knoble &lt;[email protected]&gt;).</li>
13588
13589 <li>correct ifdef'ing for conflict between definitions in AIX's
13590 &lt;sys/select.h&gt; and &lt;X11/Xpoll.h&gt; (reported by Clint
13591 Olsen).</li>
13592
13593 <li>add checks for return-values of getutid(), initgroups() and
13594 setuid() in main.c, as well as modifying ifdef's for __osf__ to
13595 include tty-group and WTMP logic (adapted from patch by Paul
13596 Szabo &lt;[email protected]&gt;)</li>
13597
13598 <li>modify resize.c to build and work on os390 (uses EBCDIC)
13599 (adapted from patch by Phil Sidler
13600 &lt;[email protected]&gt;)</li>
13601
13602 <li>use Ires(), Bres() and Sres() macros to simplify resource
13603 list in charproc.c</li>
13604
13605 <li>resync with XFree86 4.0a:
13606 <ul>
13607 <li>correct a typo in os2main.c (Holger Veit, from
13608 4.0a).</li>
13609 </ul>
13610 </li>
13611 </ul>
13612
13613 <h1><a name="xterm_131" id="xterm_131">Patch #131 - 2000/3/3 -
13614 XFree86 3.9.18b</a></h1>
13615
13616 <ul>
13617 <li>improve logfile security (integrated patch by Branden
13618 Robinson)
13619 <ul>
13620 <li>make the <code>creat_as()</code> function more strict
13621 by using O_EXCL rather than O_APPEND.</li>
13622
13623 <li>fixes to make DEBUG ifdef's compile/run, including
13624 making the debug logfile more unique by appending a
13625 timestamp to its name.</li>
13626
13627 <li>include &lt;term.h&gt; in resize.c, to fix a
13628 missing-prototype warning.</li>
13629 </ul>
13630 </li>
13631
13632 <li>modified <code>creat_as()</code> a little more, retaining
13633 the ability to append to a logfile If the user specifies the
13634 name. Also, check if the opened file (which <a href=
13635 "#xterm_130">patch #130</a> ensures is owned by the effective
13636 user) is not writable by other users.</li>
13637
13638 <li>use <code>creat_as()</code> logic to make tek4014
13639 screen-copy more secure (noted by Branden Robinson).</li>
13640
13641 <li>ifdef'd some of Branden's changes to build/work on older
13642 machines.</li>
13643
13644 <li>correct missing initialization of the <code>.mode</code>
13645 flag in <code>ColorRes</code> struct, from patch #129. This
13646 worked on Linux because <code>malloc()</code> zeroes memory on
13647 that platform (reported by Christian Weisgerber).</li>
13648
13649 <li>modify logic for <code>deleteIsDEL</code> resource so it
13650 has internally 3 states: unspecified, true and false. If
13651 unspecified, the keyboard type determines whether the Delete
13652 key transmits <code>&lt;ESC&gt;[3~</code> or <code>\177</code>,
13653 and the popup menu entry reflects the internal state.
13654 Otherwise, the popup menu entry overrides the keyboard type
13655 (suggested by Dr Werner Fink, to make it simpler to set
13656 resources that imitate the legacy X11R6 xterm).</li>
13657 </ul>
13658
13659 <h1><a name="xterm_130" id="xterm_130">Patch #130 - 2000/3/1 -
13660 XFree86 3.9.18a</a></h1>
13661
13662 <ul>
13663 <li>modify <code>scroll-forw()</code> and
13664 <code>scroll-back()</code> actions, adding a third parameter
13665 which will direct xterm to ignore the action when mouse
13666 reporting is enabled. This is needed for the wheel mouse to be
13667 used to report to the application rather than scroll the
13668 window.</li>
13669
13670 <li>add menu entry and action to allow disabling xterm's
13671 assumption that the current font contains line-drawing
13672 characters if the font cells 1-31 are nonempty. Some fonts may
13673 have other characters (reported by Bruno Betro
13674 &lt;[email protected]&gt;).</li>
13675
13676 <li>add a check in <code>creat_as()</code> to ensure that the
13677 user really owns the logfile that has been opened.</li>
13678
13679 <li>add logic to implement SCO function-keys. (This is really
13680 incomplete, since I intend to revisit this and make xterm able
13681 to emulate scoansi better than just the function-keys).</li>
13682
13683 <li>add configure script option --enable-sco-fkeys, minor
13684 related fixes (patch by Dr Werner Fink).</li>
13685
13686 <li>fix typos in ctlseqs.ms (reported by Bram Moolenaar)</li>
13687
13688 <li>fix typo in sinstall.sh default for $TST_PROG (reported by
13689 Paul Gilmartin &lt;[email protected]&gt;)</li>
13690 </ul>
13691
13692 <h1><a name="xterm_129" id="xterm_129">Patch #129 - 2000/2/26 -
13693 XFree86 3.9.18a</a></h1>
13694
13695 <ul>
13696 <li>improve initialization of ANSI colors by delaying
13697 allocation until each color is first used.</li>
13698
13699 <li>remove ifdef that prevented colorBD/colorUL/colorBL
13700 resources from working when 256-color configuration was built
13701 (reported by Todd Larason).</li>
13702
13703 <li>fix some minor inconsistencies in terminfo (Debian
13704 #58530).</li>
13705 </ul>
13706
13707 <h1><a name="xterm_128" id="xterm_128">Patch #128 - 2000/2/17 -
13708 XFree86 3.9.18</a></h1>
13709
13710 <ul>
13711 <li>correct logic for <code>oldXtermFKeys</code> resource,
13712 fixes a core dump when attempting to set it from the
13713 command-line (reported by Dr Werner Fink).</li>
13714
13715 <li>correct ifdef for meta-sends-escap so configure
13716 --disable-num-lock builds.</li>
13717 </ul>
13718
13719 <h1><a name="xterm_127" id="xterm_127">Patch #127 - 2000/2/12 -
13720 XFree86 3.9.17e</a></h1>
13721
13722 <ul>
13723 <li>add resource, popup menu entry and control sequence to
13724 allow changing the Delete key to send either DEL or the
13725 VT220-style Remove escape sequence.</li>
13726
13727 <li>remove logic for metaSendsEscape that would allow xterm to
13728 send <code>&lt;ESC&gt;[3~</code> before a function key that
13729 would begin with <code>&lt;ESC&gt;[3~</code> (request by
13730 Christian Weisgerber).</li>
13731
13732 <li>add missing action and documentation for
13733 meta-sends-escape.</li>
13734
13735 <li>correct a few typos in ctlseqs.ms (incorrect code for Cyan
13736 color)</li>
13737 </ul>
13738
13739 <h1><a name="xterm_126" id="xterm_126">Patch #126 - 2000/2/8 -
13740 XFree86 3.9.17c</a></h1>
13741
13742 <ul>
13743 <li>ensure that xterm will automatically activate the UTF-8
13744 mode whenever the name of the locale environment variable
13745 suggests that a UTF-8 locale is in use (patch by Markus Kuhn).
13746 This will help that by simply setting LC_CTYPE an entire system
13747 can be switched over to UTF-8, without users having to remember
13748 the UTF-8 command line options ("-u8", etc.) of the various
13749 applications. Command line options and X resource entries can
13750 still be used to override this default choice.</li>
13751
13752 <li>add old function-keys control sequences and popup menu
13753 entry, for compatibility with legacy X11R6 xterm.</li>
13754
13755 <li>revert translation of editing keypad "Delete" key to legacy
13756 \177.</li>
13757
13758 <li>simplify the color-resource data expressions with macro
13759 COLOR_RES, for later use in restructuring color
13760 initialization.</li>
13761
13762 <li>change encoding of wheel mouse (buttons 4 and 5) to avoid
13763 conflict with legacy mouse modifiers (suggested by Bram
13764 Moolenaar).</li>
13765 </ul>
13766
13767 <h1><a name="xterm_125" id="xterm_125">Patch #125 - 2000/1/31 -
13768 XFree86 3.9.17c</a></h1>
13769
13770 <ul>
13771 <li>make this work on OpenVMS (integrated patch by David
13772 Mathog).</li>
13773
13774 <li>rename some functions, e.g., <code>Index</code> to
13775 <code>xtermIndex</code> so that ports such as VMS which link
13776 externals ignoring case will not have library conflicts
13777 (reported by David Mathog).</li>
13778
13779 <li>correct logic of <code>do_reversevideo()</code>, which did
13780 not update the corresponding popup menu check mark (reported by
13781 David Mathog, this was a detail overlooked in patch #94).</li>
13782
13783 <li>change TRACE macro so semicolon is not within definition,
13784 making <em>indent</em> and similar programs work better.</li>
13785
13786 <li>add <code>depend</code> rule to Makefile.in</li>
13787
13788 <li>modify logic of boldColors resource to suppress it if an
13789 extended color control has been used, e.g., for 88-color or
13790 256-color mode (patch by Todd Larason).</li>
13791
13792 <li>revise logic that handles menus and input translation for
13793 keyboard type so only one can be selected at a time.</li>
13794
13795 <li>restore kdch1=\177 for the Sun function-key type, and make
13796 the the Delete key send DEL (\177) if the oldXtermFKeys
13797 resource is set.</li>
13798
13799 <li>rephrase logic and ifdef's for POSIX VDISABLE to avoid
13800 preprocessor expression that will not compile on NetBSD/x86
13801 1.4.1 (reported by Takaaki Nomura
13802 &lt;[email protected]&gt;).</li>
13803 </ul>
13804
13805 <h1><a name="xterm_124" id="xterm_124">Patch #124 - 2000/1/27 -
13806 XFree86 3.9.17b</a></h1>
13807
13808 <ul>
13809 <li>change coding of editing keypad's "Delete" key to
13810 &lt;escape&gt;[3~, in the default (Sun/PC) keyboard mode. This
13811 makes the terminfo kdch1 capability independent of the coding
13812 of the backarrow key, which sends either backspace (8) or DEL
13813 (127). The reason for doing this (compatibility with the
13814 <em>screen</em> program) outweighs the choice of DEL (127)
13815 which was used in X11R5/X11R6 xterms. The <em>screen</em>
13816 program translates whatever matches kdch1 into
13817 &lt;escape&gt;[3~, even if it happens to be the stty erase
13818 character.</li>
13819
13820 <li>add encoding for control/?, to work around xmodmap or key
13821 translations which may confuse backspace and delete. A
13822 control/? will send DEL (127), and a control/H will of course
13823 send backspace (8).</li>
13824
13825 <li>add encoding for kcbt to &lt;escape&gt;[Z (fixes Debian
13826 #54840).</li>
13827
13828 <li>minor correction to logic that encodes Sun and DEC function
13829 keys to avoid sending an escape sequence if the key symbol is
13830 not found in xterm's lookup table.</li>
13831
13832 <li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-"
13833 pattern is more likely to be implemented when <em>imake</em>
13834 configures xterm (fixes Debian #55105).</li>
13835
13836 <li>change manpage to make it clearer what codes are sent by
13837 the backarrow key.</li>
13838 </ul>
13839
13840 <h1><a name="xterm_123" id="xterm_123">Patch #123 - 2000/1/22 -
13841 XFree86 3.9.17a</a></h1>
13842
13843 <ul>
13844 <li>add a note reserving OSC 51 for use in Emacs shell (request
13845 by Rob Mayoff &lt;[email protected]&gt;).</li>
13846
13847 <li>correct a missing backslash in xterm-vt220 termcap.</li>
13848
13849 <li>cleanup remaining quoted includes, preferring bracketed
13850 form.</li>
13851
13852 <li>minor configure-script macro updates from tin and
13853 vile.</li>
13854
13855 <li>add configure-script option for using utempter library,
13856 adapted from Redhat 6.1 patch for XFree86 3.3.5</li>
13857
13858 <li>resync with XFree86 3.9.17a:
13859 <ul>
13860 <li>correction to QNX support (Frank Guangxin Liu)</li>
13861
13862 <li>some cosmetic changes that did not correct any reported
13863 problems.</li>
13864 </ul>
13865 </li>
13866 </ul>
13867
13868 <h1><a name="xterm_122" id="xterm_122">Patch #122 - 1999/12/28 -
13869 XFree86 3.9.16f</a></h1>
13870
13871 <ul>
13872 <li>move the suggested wheel-mouse button translations into
13873 charproc.c to simplify customization. Correct some minor logic
13874 errors in the support for buttons 4 and 5, used for wheel mice
13875 (reported by Bram Moolenaar).</li>
13876
13877 <li>implement <em>metaSendsEscape</em> resource, with
13878 corresponding control sequence and menu entry. Like
13879 <em>eightBitInput</em>, this causes xterm to send ESC prefixing
13880 the given key, but applies to all keys and is independent of
13881 the 8-bit/7-bit terminal setting. (requests by Alexander V
13882 Lukyanov and Marc Feeley).</li>
13883
13884 <li>correct potential indexing with negative subscript in
13885 udk_lookup(), (reported by Ian Collier
13886 &lt;[email protected]&gt;).</li>
13887
13888 <li>modify configure script that sets TERMINFO_DIR to use
13889 ${prefix} rather than /usr if the --prefix option was specified
13890 (request by Zdenek Sekera &lt;[email protected]&gt;).</li>
13891
13892 <li>modify checks for repeat-character control sequence to test
13893 the character class against xterm's state table, rather than
13894 the isprint() macro (patch by Alexander V Lukyanov).</li>
13895
13896 <li>change several functions to macros to improve speed</li>
13897
13898 <li>two corrections to simulation of bold font via
13899 overstriking:
13900 <ul>
13901 <li>use clipping to avoid leaving trash at end of the text,
13902 and</li>
13903
13904 <li>add brackets so wide-character logic does not
13905 fall-through into the overstriking logic (reported by Marc
13906 Feeley &lt;[email protected]&gt;)</li>
13907 </ul>
13908 </li>
13909
13910 <li>add several entries to termcap file to make it have the
13911 same set of aliases as the terminfo file.</li>
13912
13913 <li>scale the color values used for xterm-256color terminfo
13914 entry to 0..1000, as expected by ncurses.</li>
13915
13916 <li>change xterm-r6 terminfo definitions for F1-F4 to match
13917 program.</li>
13918
13919 <li>Add QNX/Neutrino support (Frank Guangxin Liu
13920 &lt;[email protected]&gt;)</li>
13921 </ul>
13922
13923 <h1><a name="xterm_121" id="xterm_121">Patch #121 - 1999/11/14 -
13924 XFree86 3.9.16c</a></h1>
13925
13926 <ul>
13927 <li>change label on "Sun/PC Keyboard" popup menu entry to
13928 "VT220 Keyboard", since the checked state corresponds to VT220
13929 rather than Sun/PC.</li>
13930
13931 <li>add configure test CF_UTMP_UT_XSTATUS to handle the
13932 variants of utmp exit status (reports by Dave Ellement, Jeremie
13933 Petit, Tomas Vanhala).</li>
13934
13935 <li>amend treatment of ALT key (see <a href="#xterm_94">patch
13936 #94</a>) so that if ALT is used as a modifier in key
13937 translations, then no parameter will be sent in escape
13938 sequences for Sun/PC function keys (request by Dr Werner
13939 Fink).</li>
13940
13941 <li>modify default for OPT_I18N_SUPPORT to assume that
13942 <code>XtSetLanguageProc()</code> is available in X11R5.
13943 <p>Caveat: <code>XtSetLanguageProc()</code> was added fairly
13944 late in the X11R5 patches, and some vendors shipped buggy
13945 versions of this function (request by Tomas Vanhala).</p>
13946 </li>
13947
13948 <li>correct configure macro CF_SYSV_UTMP to test-link with
13949 functions consistent with the header, e.g., getutent() for
13950 utmp.h and getutxent() for utmpx.h (reported by Greg
13951 Smith).</li>
13952
13953 <li>modify terminfo entry for <code>xterm-xfree86</code> to
13954 reflect modifiers for shift and control (from a patch by
13955 Alexander V Lukyanov).</li>
13956
13957 <li>modify terminfo entry for <code>xterm-sun</code> to match
13958 the function-key definitions in ncurses. The pageup/pagedown
13959 and related function keys correspond to the Sun keyboard, which
13960 does not necessarily correspond with X's notion of those
13961 keys.</li>
13962
13963 <li>modify treatment of XK_Delete keysym so it transmits
13964 parameterized VT220-style <code>&lt;ESC&gt;[3~</code> if
13965 modifiers (shift, control alt) are given (request by Alexander
13966 V Lukyanov).</li>
13967
13968 <li>corrected misspelled resource name in command-line option
13969 for HP function keys.</li>
13970 </ul>
13971
13972 <h1><a name="xterm_120" id="xterm_120">Patch #120 - 1999/10/28 -
13973 XFree86 3.9.16c</a></h1>
13974
13975 <ul>
13976 <li>refine the change to <code>SGR_Background()</code> in patch
13977 #119, by not flushing the pending scrolling operation if the
13978 background color is not actually changing. This combination
13979 occurs when using color-ls to display a long listing, since
13980 each line ends with an SGR0 which affects only the foreground
13981 color. The unnecessary flushing made it noticeably slower
13982 (reported by D Roland Walker &lt;[email protected]&gt;).</li>
13983
13984 <li>remove obsolete documentation about modifiers which can be
13985 returned in mouse tracking mode, and modify logic to ignore
13986 modifiers other than the existing ones, e.g., NumLock (prompted
13987 by discussions with Christian Weisgerber and Brad Pepers
13988 &lt;[email protected]&gt;).</li>
13989
13990 <li>use free bit from obsolete shift-modifier coding of mouse
13991 tracking button events to encode buttons 4 and 5, e.g., for a
13992 wheel mouse (requests by Brad Pepers and Bram Moolenaar).</li>
13993
13994 <li>correct a place where the ptyInitialErase logic did not set
13995 the backarrowKey state, and modify it further to use tgetstr()
13996 rather than parse the termcap data returned from tgetent() so
13997 the ptyInitialErase logic will work when xterm is linked with a
13998 terminfo library (based on a patch by Dr Werner Fink
13999 &lt;[email protected]&gt;).</li>
14000
14001 <li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration
14002 (patch by Michael Rohleder).</li>
14003
14004 <li>improve configure script's utmp tests (based on reports by
14005 Greg Smith for os390, and David Ellement for HPUX).</li>
14006
14007 <li>modify sinstall.sh to use uid=0 rather than 'root' to
14008 determine if the installer is privileged. This is needed on
14009 some systems since more than one account may be privileged
14010 (report by Greg Smith).</li>
14011
14012 <li>add an application resource, <code>messages</code> (and a
14013 corresponding -/+mesg option) which controls the initial
14014 permission on the terminal: if messages is set to true (the
14015 default), behavior is as without the patch; if it is set to
14016 false (as per -mesg), the terminal is opened in mode 0600, thus
14017 producing the effect of the <code>mesg n</code> command. This
14018 is useful for users who want to redirect all their messages to
14019 one particular xterm: it is more pleasant to do this with xterm
14020 resources than with explicit calls to the <code>mesg</code>
14021 program (patch, description by David Madore
14022 &lt;[email protected]&gt;).</li>
14023 </ul>
14024
14025 <h1><a name="xterm_119" id="xterm_119">Patch #119 - 1999/10/16 -
14026 XFree86 3.9.16c</a></h1>
14027
14028 <ul>
14029 <li>add responses (DA and DSR) for DEC locator mode</li>
14030
14031 <li>add coding for ANSI color to DA response</li>
14032
14033 <li>implement UTF-8 translation for Media Copy (print)
14034 operations.</li>
14035
14036 <li>implement vt320 control sequences for Print Composed Main
14037 Display and for Print All Pages. The latter directs xterm to
14038 print the current screen as well as the scrollback buffer.</li>
14039
14040 <li>correct error in _GNU_SOURCE configure test, which left it
14041 always defined.</li>
14042
14043 <li>add more information, i.e., with strerror for some system
14044 calls in the main program which may fail due to insufficient
14045 permissions (prompted by a problem report for <code>-C</code>
14046 by Jeremie Petit &lt;[email protected]&gt;).</li>
14047
14048 <li>add workaround for conflict between &lt;X11/Xpoll.h&gt; and
14049 &lt;sys/select.h&gt; on AIX 4.3 (Richard Griswold
14050 &lt;[email protected]&gt;).</li>
14051
14052 <li>add configure script test to resolve conflict between
14053 between &lt;X11/Xpoll.h&gt; and &lt;sys/select.h&gt;</li>
14054
14055 <li>modify translation of UTF-8 sequences to reject "overly
14056 long" variations (patch by Markus Kuhn).</li>
14057
14058 <li>remove <code>utf8controls</code> resource, since Markus'
14059 change removes the corresponding logic.</li>
14060
14061 <li>correct a case where colors were not rendered properly.
14062 This happened when an application inserted several lines, then
14063 changed colors. If this was done all in one write, then there
14064 would be no intervening refresh, and the new color was applied
14065 to the pending scrolling operation which was awaiting the next
14066 refresh (reported by Stephane Chazelas
14067 &lt;[email protected]&gt;).</li>
14068 </ul>
14069
14070 <h1><a name="xterm_118" id="xterm_118">Patch #118 - 1999/10/5 -
14071 XFree86 3.9.16b</a></h1>
14072
14073 <ul>
14074 <li>refine configure test for utmp versus utmpx, to build on
14075 HP-UX 10.x (reported by David Ellement).</li>
14076
14077 <li>move the configure check for <code>const</code> after the
14078 check for ANSI C compiler options, since those may be required
14079 to make it work properly on HP-UX.</li>
14080
14081 <li>add configure test for defining
14082 <code>_GNU_SOURCE</code></li>
14083
14084 <li>correction to <em>-hold</em> option, ensure that if data is
14085 already in the output buffer that it will be displayed before
14086 closing the PTY.</li>
14087
14088 <li>move the configure checks for setuid install of xterm into
14089 a script to avoid installing it setuid'd to a non-root user
14090 (reported by Adam Sulmicki &lt;[email protected]&gt;).</li>
14091
14092 <li>correct configure script's check for termcap.h to avoid
14093 using ncurses' version of it on systems that have a working
14094 <code>tgetent()</code> function. This is needed to make
14095 <code>resize</code> work properly.</li>
14096
14097 <li>fix some typography in ctlseqs.ms description of DEC
14098 locator events (reported by Stephen P Wall).</li>
14099 </ul>
14100
14101 <h1><a name="xterm_117" id="xterm_117">Patch #117 - 1999/9/29 -
14102 XFree86 3.9.16b</a></h1>
14103
14104 <ul>
14105 <li>change order of tests in configure script for utmp and
14106 utmpx to test utmpx first, to compile on Solaris (reported by
14107 Leena Heino &lt;[email protected]&gt; and Patrik Hagglund
14108 &lt;[email protected]&gt;).</li>
14109
14110 <li>add a configure test for utmp.ut_xtime, needed for SCO
14111 Openserver, and for lastlog, needed for Redhat 6.0, to refine
14112 the utmp/utmpx auto-configure.</li>
14113
14114 <li>remove a spurious comma in an #undef (reported by David
14115 Green &lt;[email protected]&gt; and David
14116 Ellement &lt;[email protected]&gt; both on HP-UX, whose
14117 compiler does care about syntax).</li>
14118
14119 <li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported
14120 by Suhaib M. Siddiqi &lt;[email protected]&gt;, who is
14121 told that the next Cygnus release will drop that symbol in
14122 their next release).</li>
14123
14124 <li>minor cleanup of ifdef's for makeColorPair (patch by
14125 Stephen P Wall).</li>
14126
14127 <li>work around problem observed in XFree86 3.3.5 (patch by
14128 Alexander V Lukyanov, Redhat #5419). From the problem report:
14129 <blockquote>
14130 <p>xterm consumes cpu when selecting text with mouse
14131 (holding down left mouse button) and when a program working
14132 under the xterm outputs something to stdout.</p>
14133
14134 <p>Easy way to reproduce:<br>
14135 <code>while :; do echo aaa; sleep 1; done</code><br>
14136 (while this runs, select text and hold down left mouse
14137 button) watch cpu load.<br>
14138 release left mouse button - spinning stops.</p>
14139 </blockquote>
14140 </li>
14141 </ul>
14142
14143 <h1><a name="xterm_116" id="xterm_116">Patch #116 - 1999/9/25 -
14144 XFree86 3.9.16a</a></h1>
14145
14146 <ul>
14147 <li>modify warning if change-ownership of PTY fails; some
14148 configurations may not happen to have old-style pty's (reported
14149 by Bob Maynard).</li>
14150
14151 <li>improve check in configure script for group ownership of
14152 installed xterm; some platforms use the -g option of ls to
14153 toggle group off rather than on (reported by Greg Smith).</li>
14154
14155 <li>minor improvement to toolbar geometry, to make it not
14156 resizable. This still is not satisfactory (but is usable) since
14157 the toolbar overlaps the xterm widget if the window is resized
14158 to make it smaller. It appears that some work is needed for the
14159 xterm widget's geometry management to make it function
14160 properly.</li>
14161
14162 <li>implement configure script tests for utmp, tty group.</li>
14163
14164 <li>implement <em>-hold</em> option, allowing users to retain
14165 the window after a shell has exited (this is recently an FAQ,
14166 but prompted by a comment by Joachim Plaettner-Hochwarth
14167 &lt;[email protected]&gt; in comp.unix.programmer, that the
14168 IRIX winterm provides this option).</li>
14169
14170 <li>add support for DEC Locator control sequences for xterm
14171 (integrated patch by Stephen P Wall):
14172
14173 <pre>
14174 DECEFR, "Enable Filter Rectangle"
14175 DECELR, "Enable Locator Reports"
14176 DECSLE, "Select Locator Events"
14177 DECRQLP, "Request Locator Position"
14178 </pre>
14179 <p>This allows the xterm mouse to be used with applications
14180 that use the DEC Locator sequences, such as VAX Tpu, or SMG$
14181 based applications.</p>
14182 </li>
14183
14184 <li>improve print action (patch by Matthias Baake). From his
14185 notes,
14186 <ul>
14187 <li>Bug 1<br>
14188 Underlined text is preceded by ESC&nbsp;[0;2m . This should
14189 be ESC&nbsp;[0;4m&nbsp;, ESC&nbsp;[2m doesn't seem to have
14190 any effect. (print.c/send_SGR)</li>
14191
14192 <li>Bug 2<br>
14193 The check for the last non-empty column (while (last &gt;
14194 0) ... in print.c/printLine) omits the rightmost column of
14195 the screen, the loop must start with last =
14196 screen-&gt;max_col+1 instead of last =
14197 screen-&gt;max_col.</li>
14198
14199 <li>Bug 3<br>
14200 Any attributes of the first character (and of all
14201 immediately following characters with the same attributes)
14202 are ignored. The variable attr (print.c/printLine) should
14203 be initialized with 0, not with *a &amp; SGR_MASK.</li>
14204 </ul>
14205 </li>
14206 </ul>
14207
14208 <h1><a name="xterm_115" id="xterm_115">Patch #115 - 1999/9/18 -
14209 XFree86 3.9.16a</a></h1>
14210
14211 <ul>
14212 <li>integrated changes by Stephen P Wall to implement an
14213 88-color model for systems where 256-colors cannot be
14214 allocated.</li>
14215
14216 <li>when 256-color configuration is compiled, colored bold and
14217 underlining is not available; ifdef'd to avoid possible odd
14218 effects in this case (reported by Stephen P Wall).</li>
14219
14220 <li>add resource <em>cacheDoublesize</em>, to limit the caching
14221 of font information for double-sized characters. This addresses
14222 a problem reported by Aryeh Koenigsberg for X terminals with
14223 limited font memory.</li>
14224
14225 <li>modify treatment of line-drawing characters in UTF-8 mode
14226 so that the Unicode values are used rather than the C0 codes
14227 for storing the translated characters (request by Markus
14228 Kuhn).</li>
14229 </ul>
14230
14231 <h1><a name="xterm_114" id="xterm_114">Patch #114 - 1999/9/15 -
14232 XFree86 3.9.16</a></h1>
14233
14234 <ul>
14235 <li>add configure script checks for Athena headers and
14236 libraries under /usr/contrib to work on HPUX (reported by
14237 several people: David Nixon &lt;[email protected]&gt; Aryeh
14238 Koenigsberg &lt;[email protected]&gt; Johannes
14239 M&auml;hner &lt;[email protected]&gt; Andrew Gaylard
14240 &lt;[email protected]&gt;).</li>
14241
14242 <li>add check to configure script if xterm is installed setgid
14243 rather than setuid, since wtmp and utmp may be installed with
14244 group-writable permissions other than root (based on Debian bug
14245 report #7112 by Bo Branten &lt;[email protected]&gt;).</li>
14246
14247 <li>rewrote logic that removes data from termcap entry, e.g.,
14248 for titeInhibit, to make it less likely to remove the wrong
14249 data.</li>
14250
14251 <li>correct logic which checks for missing characters used for
14252 line drawing. The 0 character was tested unnecessarily, leading
14253 to some inefficiency when rendering.</li>
14254
14255 <li>change termcap capability which is used as input or output
14256 of ptyInitialErase logic from <em>kD</em> to <em>kb</em>.
14257 Christian Weisgerber &lt;[email protected]&gt; pointed
14258 out in effect that <em>kD</em> (in terminfo <em>kdch1</em>)
14259 should correspond to the control sequence for <em>dch1</em>,
14260 which deletes from the current position toward the right.</li>
14261
14262 <li>check for failure to change ownership of the PTY device and
14263 warn when xterm is running setuid'd to root. This was reported
14264 to happen on the FreeBSD/NetBSD/OpenBSD systems as a result of
14265 the chflags() call.</li>
14266
14267 <li>add xterm-noapp terminfo entry to illustate a nominally
14268 bash-compatible terminal description.</li>
14269 </ul>
14270
14271 <h1><a name="xterm_113" id="xterm_113">Patch #113 - 1999/8/15 -
14272 XFree86 3.9.15b</a></h1>
14273
14274 <p>Several fixes. The main one is a first draft of pulldown
14275 menus. It's not complete (I have some minor/annoying geometry
14276 problems to correct), but is usable. Once it's complete I plan to
14277 add a menu to support additional selections that won't fit on the
14278 current popup menus. Also, this fits into my longterm plan to
14279 allow configuring with Motif libraries.</p>
14280
14281 <ul>
14282 <li>correct error in input conversion for NRC mode (reported by
14283 Stefan Traby &lt;[email protected]&gt;).</li>
14284
14285 <li>fix initialization of num_lock data in Misc struct (since
14286 those fields of the reference widget aren't initialized), and
14287 add logic to deal with XVision whose NumLock key does not
14288 transmit but does alter keypad state.</li>
14289
14290 <li>correct a missing return-value in get_pty(), for SCO</li>
14291
14292 <li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br>
14293 #define VAL_INITIAL_ERASE A2E(127)</li>
14294
14295 <li>correct foreground color within cursor outline when the
14296 window is unfocused (reported by Stephane Chazelas).</li>
14297
14298 <li>corrected position of scrollbar set in ResizeScrollBar(),
14299 which left it positioned incorrectly if the right scrollbar
14300 were enabled from the popup menu but was not initially enabled.
14301 <p>I have noticed some additional problems with
14302 right-scrollbar on X11R5 which I will correct later.</p>
14303 </li>
14304
14305 <li>integrate changes by Jean-Claude Michot for QNX from
14306 XFree86 3.3.4c</li>
14307
14308 <li>add resources menuBar/MenuBar, menuHeight/MenuHeight for
14309 later use in toolbar geometry.</li>
14310
14311 <li>add configure option --enable-toolbar</li>
14312
14313 <li>add missing definition to make ziconbeep logic not
14314 compile-in when configure script disables it.</li>
14315
14316 <li>add configure-check for input-method support in X
14317 libraries</li>
14318 </ul>
14319
14320 <h1><a name="xterm_112" id="xterm_112">Patch #112 - 1999/7/17 -
14321 XFree86 3.9Pw</a></h1>
14322
14323 <ul>
14324 <li>add null-pointer check to FlushLog(), fixes a core dump
14325 when both -l and -lf options are used when xterm is configured
14326 with wide-character support.</li>
14327
14328 <li>remove "ISO" case for SD, which was due to a typographical
14329 error in ECMA-48 (reported by Paul Williams
14330 &lt;[email protected]&gt; for vttest).</li>
14331
14332 <li>add "FILES" section to manpage.</li>
14333
14334 <li>generate header file to initialize default resources for
14335 colors 16-255.</li>
14336
14337 <li>fixes for os390 (Greg Smith):
14338 <ul>
14339 <li>add README.os390</li>
14340
14341 <li>use the pty_search() function to find an available
14342 pty/tty pair.</li>
14343
14344 <li>move E2A() call out of getXtermCell() to SaveText()
14345 function so it will be available in all
14346 configurations.</li>
14347 </ul>
14348 </li>
14349
14350 <li>patches by Todd Larason:
14351 <ul>
14352 <li>enable SGR 48 5 in ISO color mode, not just 256 color
14353 mode</li>
14354
14355 <li>change configure's --disable-256-color option to
14356 --enable-256-color, to match its effect</li>
14357
14358 <li>fix OSC 4 xx ? (report ansi color) to report a string
14359 which can actually be used to set the color back</li>
14360
14361 <li>fix OSC 4 xx yy (change ansi color) to not allow
14362 setting colors &gt; 15 in 16 color mode</li>
14363
14364 <li>simplify the COLOR_ settings a bit in ptyx.h, along
14365 with setting NUM_ANSI_COLORS needed for #1 and #4
14366 above</li>
14367
14368 <li>correct string-terminator code passed for reference to
14369 OSC responses; when in 7-bit mode, only the final byte of
14370 ST was seen.</li>
14371
14372 <li>Allow multiple color #;name pairs in OSC 4, and
14373 document changes to match.</li>
14374 </ul>
14375 </li>
14376 </ul>
14377
14378 <h1><a name="xterm_111" id="xterm_111">Patch #111 - 1999/7/10 -
14379 XFree86 3.9Pw</a></h1>
14380
14381 <ul>
14382 <li>add control sequences for specifying the RGB value of the
14383 ANSI colors, and for configuring with 256 colors (patch by Todd
14384 Larason &lt;[email protected]&gt;). I made the default
14385 configuration to 16-colors, because xterm uses the default
14386 color map (which has only 256 colors).</li>
14387
14388 <li>correct an error in DCS $ q m reporting for colors 8-15
14389 (Todd Larason).</li>
14390
14391 <li>add test/demo script for double size characters. Used this
14392 to test/correct display of double size characters that should
14393 wrap, underlined double size characters.</li>
14394
14395 <li>increased cache size for double size fonts to 8, to allow
14396 for both normal and bold fonts (discussion with Aryeh
14397 Koenigsberg &lt;[email protected]&gt;).</li>
14398
14399 <li>add fixes for port to OS390 aka MVS (integrated patch from
14400 Greg Smith &lt;[email protected]&gt;). OS390 uses EBCDIC
14401 rather than ASCII.</li>
14402
14403 <li>correct an off-by-one in binary search limits in
14404 keysym2ucs.c (Markus Kuhn).</li>
14405
14406 <li>implement logging for UTF-8 mode. The output is written in
14407 UTF-8 form.</li>
14408 </ul>
14409
14410 <h1><a name="xterm_110" id="xterm_110">Patch #110 - 1999/6/29 -
14411 XFree86 3.9Pu</a></h1>
14412
14413 <ul>
14414 <li>If colorMode is enabled by default, compile-in default
14415 resources to match the colors listed in XTerm-col.ad (this
14416 should fix a longstanding FAQ).</li>
14417
14418 <li>added new OSC&nbsp;3&nbsp;;&nbsp;PROPNAME=VALUE&nbsp;ST
14419 escape sequence to set an arbitrary X property on the top level
14420 xterm X11 window. Omit "=VALUE" to delete the X property (patch
14421 by Greg Badros &lt;[email protected]&gt;).</li>
14422
14423 <li>change internal flag used for <em>utf8controls</em>
14424 resource so we allow 31-bit range of characters (suggested by
14425 Thomas Wolff).</li>
14426
14427 <li>add check for 16-bit characters in OSC strings, change them
14428 to '?' (reported by Thomas Wolff).</li>
14429
14430 <li>modify logic of same_font_name() to avoid trying to
14431 interpret both parameters as wildcard patterns. That does not
14432 (cannot) work, and in some instances the font server will
14433 return unresolved wildcards for the normal or bold fontnames,
14434 making them match inadvertently, triggering the fallback
14435 overstrike logic (reported by Tim Adye).</li>
14436 </ul>
14437
14438 <h1><a name="xterm_109" id="xterm_109">Patch #109 - 1999/6/23 -
14439 XFree86 3.9Pt</a></h1>
14440
14441 <ul>
14442 <li>correct range-check from patch #108, which resulted in not
14443 being able to select from the scrollback buffer (reported by
14444 Tim Adye &lt;[email protected]&gt;)</li>
14445
14446 <li>correct "no available ptys" problem with Cygwin B20.1
14447 (patch by Tim Adye).</li>
14448
14449 <li>modified install-ti rule in Makefile.in to allow override
14450 of the terminfo directory when doing a "make install", i.e., by
14451 assigning to TERMINFO_DIR (request by Zdenek Sekera
14452 &lt;[email protected]&gt;).</li>
14453
14454 <li>added install-full rule to Makefile.in</li>
14455
14456 <li>resync mkdirs.sh and install.sh scripts against current
14457 autoconf</li>
14458
14459 <li>implement $(DESTDIR) in Makefile.in, making it simple to
14460 install xterm and associated files into a directory just for
14461 packaging a binary release (suggested by CaT
14462 &lt;[email protected]&gt;).</li>
14463
14464 <li>change IChar type to unsigned, rather than unsigned short,
14465 making room for a flag to keep with 16-bit characters to
14466 prevent them from being interpreted as C0 or C1 controls
14467 (reported by Thomas Wolff).</li>
14468
14469 <li>correct a typo from patch #107, incorrect array name, in
14470 the filterUTF8 function (patch by Bruno Haible
14471 &lt;[email protected]&gt;)</li>
14472
14473 <li>add <em>utf8controls</em> resource to specify whether xterm
14474 should interpret 16-bit characters unpacked from UTF-8 form as
14475 control characters if they happen to fall into that range. This
14476 behavior is left unspecified by the Unicode standard (request
14477 by Thomas Wolff).</li>
14478
14479 <li>modify handling of OSC to recover if application sends
14480 16-bit characters with codes above 255. We cannot display them
14481 as is, but translate out-of-range characters to a '?' (reported
14482 by Thomas Wolff).</li>
14483 </ul>
14484
14485 <h1><a name="xterm_108" id="xterm_108">Patch #108 - 1999/6/19 -
14486 XFree86 3.9Ps</a></h1>
14487
14488 <ul>
14489 <li>add a range-check to LastTextCol(), to guard against
14490 indexing before the beginning of the scrollback buffer. This
14491 appears to happen with certain fonts under X11R5 (reported by
14492 Stephane Chazelas &lt;[email protected]&gt;).</li>
14493
14494 <li>implement resource <em>boldMode</em>, to allow disabling
14495 the simulation of bold fonts when the bold and normal fonts are
14496 not different (requested by Will Day
14497 &lt;[email protected]&gt;).</li>
14498
14499 <li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few
14500 bugs in the UTF-8 selection (patch by Juliusz Chroboczek).</li>
14501
14502 <li>correct logic of binary-search in keysym2ucs.c (patch by
14503 Markus Kuhn).</li>
14504
14505 <li>add special interpretation of keysym codes above 0x1000000
14506 as the corresponding UCS value plus 0x1000000 (patch by Markus
14507 Kuhn).</li>
14508 </ul>
14509
14510 <h1><a name="xterm_107" id="xterm_107">Patch #107 - 1999/6/12 -
14511 XFree86 3.9Pq</a></h1>
14512
14513 <ul>
14514 <li>Two changes from Stephen P Wall. From his description:
14515 <blockquote>
14516 <p>The first change is simple - I added ESC[3J to erase the
14517 stored lines above the screen. That's what the changes to
14518 util.c and ctlseqs.ms are.</p>
14519
14520 <p>The second change is to get the blinking cursor working.
14521 I took out the cursorBlinkTime resource, and put in
14522 cursorBlink (Boolean), cursorOnTime (time cursor is on in
14523 msecs) and cursorOffTime, and added a cursorblink item to
14524 the vtMenu to enable/disable it.</p>
14525 </blockquote>
14526 </li>
14527
14528 <li>improve selection (integrated patch by Juliusz Chroboczek).
14529 From his description:
14530 <blockquote>
14531 <p>With this patch, selection conversion works
14532 properly:</p>
14533
14534 <pre>
14535 ISO 8859-1 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
14536 ISO 8859-1 xterm -&gt; UTF-8 xterm (transferred as STRING);
14537 UTF-8 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
14538 UTF-8 xterm -&gt; UTF-8 xterm (transferred as UTF-8).
14539 </pre>
14540 <p>It will not work properly if one xterm is in, say, ISO
14541 8859-2. Actually, for this case xterm breaks the ICCCM
14542 routinely (sending ISO 8859-2 data as STRING), so I
14543 wouldn't worry too much about it. I have not changed the
14544 behaviour in eight-bit mode in any way.</p>
14545 </blockquote>
14546 </li>
14547 </ul>
14548
14549 <h1><a name="xterm_106" id="xterm_106">Patch #106 - 1999/6/9 -
14550 XFree86 3.9Pq</a></h1>
14551
14552 <ul>
14553 <li>remove duplicate fix for OpenBSD in resize.c</li>
14554
14555 <li>correct logic in ScreenWrite, which did not reset the high
14556 bytes of 16-bit characters when overwriting them with a 8-bit
14557 character string (reported by Thomas Wolff).</li>
14558
14559 <li>provide limited support for input of UTF-8 16-bit data by a
14560 lookup table (integrated patch by Markus Kuhn).</li>
14561
14562 <li>correct check in non_blank_line to ensure we're in
14563 wide-character mode before looking at the high bytes, for
14564 InsertChar.</li>
14565 </ul>
14566
14567 <h1><a name="xterm_105" id="xterm_105">Patch #105 - 1999/6/5 -
14568 XFree86 3.9Pp</a></h1>
14569
14570 <ul>
14571 <li>implement new resource <em>trimSelection</em>, which allows
14572 xterm to trim trailing blanks from selected lines. This does
14573 not affect the highlighting. (reported by several people using
14574 <em>mutt</em>, including Hans Morten Kind &lt;[email protected]&gt;,
14575 Jeremy &lt;[email protected]&gt; and (Michael Fuller
14576 &lt;[email protected]&gt;).</li>
14577
14578 <li>include term.h in resize for OpenBSD (patch by Matthieu
14579 Herrb).</li>
14580
14581 <li>correct logic for UTF-8 in functions that hide and show the
14582 cursor; it was displaying a space whenever the low byte of the
14583 character at the cursor position was zero (reported by Thomas
14584 Wolff &lt;[email protected]&gt;).</li>
14585 </ul>
14586
14587 <h1><a name="xterm_104" id="xterm_104">Patch #104 - 1999/5/30 -
14588 XFree86 3.9Pn</a></h1>
14589
14590 <p>This is a resync patch against XFree86 3.9Pn, reflecting
14591 changes which were submitted by Branden Robinson, who worked with
14592 Wichert Akkerman &lt;[email protected]&gt; to set up
14593 ifdef's to handle GNU libc 2.1, and use getpt() which lets xterm
14594 avoid having to know the actual PTY name.</p>
14595
14596 <p>I have also added a few fixes for signed/unsigned mismatches,
14597 and corrected a problem in the configure script (the UTF-8 code
14598 was always configured since the Imakefile defines this).</p>
14599
14600 <h1><a name="xterm_103" id="xterm_103">Patch #103 - 1999/5/14 -
14601 XFree86 3.9Pm</a></h1>
14602
14603 <ul>
14604 <li>correct selection logic: I omitted an offset that accounts
14605 for the distance into the scrollback buffer when rewriting this
14606 for <a href="#xterm_101">patch #101</a>. Also fixed a similar
14607 problem for selecting double size characters from the
14608 scrollback buffer (first was reported by D Roland Walker
14609 &lt;[email protected]&gt;).</li>
14610
14611 <li>improved support for Unix98 PTY's, using patch in Debian
14612 bug report #35650, by J.H.M. Dassen
14613 &lt;[email protected]&gt;. From the patch description:
14614 <blockquote>
14615 <ul>
14616 <li>No longer links xterm against libutil on a glibc2.1
14617 system. libutil is a compatibility library and should
14618 only be used when necessary. Rather than having get_pty()
14619 use openpty() from this compatibility library, use the
14620 real UNIX98 pty support in get_pty() (open()ing the
14621 master pty, through getpt() if available (glibc
14622 extension)). Use openpty() only under glibc2.0.</li>
14623
14624 <li>GNU libc2 is not Linux-specific; already it runs on
14625 the Hurd. It provides the UNIX98 pty functions (plus the
14626 getpt() extension), regardless of the underlying OS.
14627 Changed two constructs to look for GNU libc2 only, not
14628 GNU libc2 on Linux.</li>
14629 </ul>
14630 </blockquote>
14631 </li>
14632
14633 <li>improve font configuration, by checking if the user's
14634 resource settings for normal and bold fonts give the same font
14635 sizes (fixes problem reported by Peter Waltenberg
14636 &lt;[email protected]&gt;).</li>
14637 </ul>
14638
14639 <h1><a name="xterm_102" id="xterm_102">Patch #102 - 1999/5/12 -
14640 XFree86 3.9Pm</a></h1>
14641
14642 <ul>
14643 <li>revert change to openpty call in <a href="#xterm_101">patch
14644 #101</a>; this causes xterm to fail on DEC-Alpha OSF/1 4.0B
14645 (reported by H Merijn Brand).</li>
14646
14647 <li>modify print.c to move include of stdio.h after the
14648 autoconf'd xtermcfg.h since HP's ANSI C compiler otherwise sees
14649 inconsistent prototype for getopt, probably due to problem with
14650 const (reported by H Merijn Brand).</li>
14651 </ul>
14652
14653 <h1><a name="xterm_101" id="xterm_101">Patch #101 - 1999/5/10 -
14654 XFree86 3.9Pm</a></h1>
14655
14656 <ul>
14657 <li>moved includes and definitions for 'select' from data.h to
14658 xterm.h to fix problem introduced by prototype for getPtyData,
14659 part of UTF-8 changes (reported by Jens Schleusener
14660 &lt;[email protected]&gt;)</li>
14661
14662 <li>added "Meta &lt;Btn2Down&gt;:clear-saved-lines()" default
14663 translation (patch by H Merijn Brand)</li>
14664
14665 <li>fixes to configure script and ifdef's in main.c to build on
14666 a HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with
14667 egcs 1.1.2 and HP's ANSI C compiler (patch by H Merijn Brand
14668 &lt;[email protected]&gt;)</li>
14669
14670 <li>add more parentheses in ifdef's (patch by Bob
14671 Maynard).</li>
14672
14673 <li>eliminate conflicting definitions for USE_TERMINFO in
14674 resize.c (reported by Jeremy Buhler).</li>
14675
14676 <li>change openpty call to pass NULL rather than ttydev
14677 parameter, since that was used only to estimate the length of
14678 the corresponding data, and may not really be long enough
14679 (reported by Andreas Jaeger)</li>
14680
14681 <li>update description in xterm manpage for character class
14682 table, which said it handles only 7-bit codes.</li>
14683
14684 <li>correct a typo in ScrnDeleteChar() which made it not clear
14685 the high byte of wide-character data.</li>
14686
14687 <li>add logic to convert selection to UTF-8 form when
14688 appropriate. This makes select/paste "work", but further work
14689 is needed to make UTF-8 recognized as a locale in Xlib.</li>
14690
14691 <li>correct right-limit check when selecting double-width
14692 characters.</li>
14693
14694 <li>change default answerback response to an empty string.</li>
14695 </ul>
14696
14697 <h1><a name="xterm_100" id="xterm_100">Patch #100 - 1999/5/3 -
14698 XFree86 3.9Pl</a></h1>
14699
14700 <ul>
14701 <li>Correct a typo in the default resource value for
14702 backarrowKeyIsErase: it was always true (reported by Bram
14703 Moolenaar).</li>
14704
14705 <li>improve configure script's test if the installed xterm is
14706 setuid, in case that is a symbolic link.</li>
14707
14708 <li>correct "install-ti" rule in Makefile.in, by not setting a
14709 blank $TERMINFO value. That is interpreted as "." by ncurses'
14710 tic.</li>
14711 </ul>
14712
14713 <h1><a name="xterm_99" id="xterm_99">Patch #99 - 1999/5/2 -
14714 XFree86 3.9Pk</a></h1>
14715
14716 <ul>
14717 <li>correct logic that computes num_ptrs count of the number of
14718 indices into the screen buffer. This is the maximum of the
14719 colors and character-set indices; was incorrect in patch
14720 #97.</li>
14721
14722 <li>correct argument type for sigsetjmp, incidental change in
14723 patch #96's Unix88 PTY patch (reported by Bram Moolenaar).</li>
14724
14725 <li>correct description of secondary DA in ctlseqs.ms (reported
14726 by Bram Moolenaar).</li>
14727
14728 <li>decouple the backarrowKey and ptyInitialErase resources by
14729 adding a new resource backarrowKeyIsErase, to accommodate
14730 people using applications which have hardcoded tests for
14731 characters 8 and 127 rather than relying on the stty
14732 settings.</li>
14733
14734 <li>modify the UTF-8 decoder so that all possible illegal UTF-8
14735 sequences are properly represented by U+FFFD. This should be
14736 very helpful for developers of code that output UTF-8 strings
14737 for debugging. See the file utf-8-test.txt in
14738 http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a
14739 demonstration text that contains numerous illegal UTF-8 values.
14740 (patch by Markus Kuhn).</li>
14741
14742 <li>correct a place in ScrnRefresh where I was filling the high
14743 byte of a wide character with a space rather than a null
14744 (reported by Markus Kuhn).</li>
14745 </ul>
14746
14747 <h1><a name="xterm_98" id="xterm_98">Patch #98 - 1999/4/26 -
14748 XFree86 3.9Pk</a></h1>
14749
14750 <ul>
14751 <li>correct data manipulation in unparseputc(), broken for
14752 little-endian machines by patch #97's UTF-8 changes. This meant
14753 that keyboard input on SunOS did not work, though Linux i386
14754 was fine.</li>
14755
14756 <li>modify initialization for backarrowKey and logic for
14757 initial-erase to prevent the initial-erase from overriding an
14758 explicitly set backarrowKey resource (reported by Vikas
14759 Agnihotri).</li>
14760
14761 <li>add a missing null-pointer check in ScrnRefresh, for the
14762 wide-characters configuration.</li>
14763 </ul>
14764
14765 <h1><a name="xterm_97" id="xterm_97">Patch #97 - 1999/4/25 -
14766 XFree86 3.9Pk</a></h1>
14767
14768 <ul>
14769 <li>add configure script test for -lutil, needed for openpty
14770 call when configuring xterm for Glibc-2.1 and Unix98 PTY's
14771 (first reported by Martin Lorentz"
14772 &lt;[email protected]&gt;).</li>
14773
14774 <li>completely parenthesize ifdef expressions for Glibc
14775 (suggested by Bob Maynard).</li>
14776
14777 <li>add initial-erase options (-ie, +ie) to help message
14778 (reported by Vikas Agnihotri).</li>
14779
14780 <li>remove duplicate definition of USE_USG_PTYS (reported by
14781 Jeremy Buhler).</li>
14782
14783 <li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a
14784 DEL (\177). I overlooked this when separating the styles of
14785 keyboard with the <em>sunKeyboard</em> resources in patch #94,
14786 so that it normally matches the value of the stty erase
14787 character:
14788 <ul>
14789 <li>Reported by Jae Gangemi
14790 &lt;[email protected]&gt;, this caused emacs to not
14791 process the DEL properly, combining it with succeeding
14792 characters.</li>
14793
14794 <li>This does not appear to be related to a problem which I
14795 have found with <em>screen</em>, which translates the stty
14796 erase into the termcap <em>kD</em> or terminfo
14797 <em>kdch1</em> value (depending on how it is linked) if the
14798 $TERMCAP variable is set when <em>screen</em> is
14799 invoked.</li>
14800 </ul>
14801 </li>
14802
14803 <li>add command-line options for enabling UTF-8 mode: -u8 and
14804 +u8. The more obvious -utf8 and +utf8 would conflict with
14805 xterm's -ut and +ut (utmp) options. The UTF-8 changes were
14806 requested by Markus Kuhn &lt;[email protected]&gt;. This
14807 patch does not complete UTF-8 implementation, but makes it
14808 usable, i.e., display and refresh work, and I am able to
14809 display the test cases which Markus provides. More work is
14810 needed to complete this feature:
14811 <ul>
14812 <li>the control sequences for switching in/out of UTF-8
14813 mode are partly implemented (don't use them). Similarly,
14814 the switching between vt100 and tek4014 emulations when
14815 UTF-8 mode is enabled will not work properly.
14816 <p>You must use the -u8 command line option to use this
14817 feature, as well as compile with the OPT_WIDE_CHARS
14818 definition.</p>
14819 </li>
14820
14821 <li>cut/paste only copies 8-bit characters.</li>
14822
14823 <li>logging is disabled in the wide-character
14824 configuration</li>
14825
14826 <li>printing only writes 8-bit characters.</li>
14827
14828 <li>input only does 8-bit characters. This is the area that
14829 I know least about.</li>
14830 </ul>
14831 </li>
14832 </ul>
14833
14834 <h1><a name="xterm_96" id="xterm_96">Patch #96 - 1999/4/19 -
14835 XFree86 3.9Pj</a></h1>
14836
14837 <ul>
14838 <li>modify Makefile.in to work with configure script's --srcdir
14839 option. (patch by Jeremy Buhler
14840 &lt;[email protected]&gt;)</li>
14841
14842 <li>add checks for 'echo -n' equivalent for 8colors.sh and
14843 16colors.sh scripts (reported by Vikas Agnihotri).</li>
14844
14845 <li>improve logic that looks for bold fonts to allow for
14846 wildcards in the specification for normal fonts, and to ensure
14847 that if a bold font is specified as normal, that xterm will
14848 simulate a bold version of that using a one-pixel offset
14849 overstrike (reported by Henrik Harmsen
14850 &lt;[email protected]&gt;).</li>
14851
14852 <li>correct horizontal spacing of double width line-drawing
14853 characters that xterm simulates.</li>
14854
14855 <li>improve support for Unix98 PTY's, using patch in Debian bug
14856 report #35650, by Topi Miettinen
14857 &lt;[email protected]&gt;. Andreas Jaeger says
14858 this also corrects a permissions problem reported by
14859 [email protected]</li>
14860
14861 <li>modify initial-erase logic to ensure that
14862 <code>ttyModes</code> resource overrides it.</li>
14863 </ul>
14864
14865 <h1><a name="xterm_95" id="xterm_95">Patch #95 - 1999/4/5 -
14866 XFree86 3.9Ph</a></h1>
14867
14868 <ul>
14869 <li>modify primary DA response to allow a '1' parameter.</li>
14870
14871 <li>add printer and national replacement character sets to
14872 VT220 primary DA response.</li>
14873
14874 <li>document primary and secondary DA responses in
14875 ctlseqs.ms</li>
14876
14877 <li>use the patch number (e.g., 95) in the secondary DA
14878 response, providing user applications a means of determining
14879 the version of xterm for feature comparison (request by Bram
14880 Moolenaar).</li>
14881
14882 <li>make xterm respond to secondary DA when the decTerminalID
14883 is set for VT100.</li>
14884
14885 <li>limit user-defined keys (DECUDK) to VT220-style keyboard
14886 when sunKeyBoard resource is true.</li>
14887
14888 <li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with
14889 Glibc-2.1 and no Unix98 PTY support (patch from Andreas Jaeger
14890 &lt;[email protected]&gt;)</li>
14891
14892 <li>add optional feature (resource and command-line options) to
14893 make xterm use the PTY's sense of erase character on startup,
14894 rather than requiring it to be \177, or set the PTY's erase
14895 character to match xterm's configuration. Note that while
14896 $TERMCAP is modified to reflect the actual configuration, the
14897 terminfo kdch1 string is not (request by Dirk H Hohndel
14898 &lt;[email protected]&gt;)</li>
14899
14900 <li>improve scripts in vttests to work with newer shells that
14901 do not use 'echo -n'.</li>
14902
14903 <li>add fonts.sh example script</li>
14904
14905 <li>correct inequality in handling of "#1" font
14906 specification.</li>
14907
14908 <li>correct call to XGetWMNormalHints() used for computing
14909 maximum screen size; the size hints may not have been set.</li>
14910
14911 <li>begin implementation of support for wide-characters
14912 (configure option --enable-wide-chars defines OPT_WIDE_CHARS,
14913 invoke xterm with -wc option to activate this feature). This
14914 patch optionally widens internal data structures, invokes the
14915 16-bit text output rather than the 8-bit version and adds some
14916 tables.</li>
14917 </ul>
14918
14919 <h1><a name="xterm_94" id="xterm_94">Patch #94 - 1999/3/27 -
14920 XFree86 3.9Pf</a></h1>
14921
14922 <ul>
14923 <li>further fixes for terminfo: ka1, ka3, etc., differ between
14924 the default xterm-xfree86 and xterm-vt220 entries.</li>
14925
14926 <li>change default (with sunKeyboard resource false) behavior
14927 of the editing keypad "Delete" to send a 127, like xterm-r6.
14928 The VT220-style <code>&lt;ESC&gt;[3~</code> is sent when
14929 sunKeyboard is true (reported by Tomas Vanhala).</li>
14930
14931 <li>add parameters to function keys to indicate if shift,
14932 control or alt are set. The codes are based on a description of
14933 a DEC VT510 with a PC keyboard, from Jeffrey Altman
14934 &lt;[email protected]&gt;.</li>
14935
14936 <li>add control sequence 1035, set-num-lock action and num-lock
14937 menu entry to control the use of the NumLock and Alt keys for
14938 the Sun/PC and VT220 keyboard extensions.</li>
14939
14940 <li>implement DECSET/DECRST numeric keypad (DECNKM) mode.</li>
14941
14942 <li>modify terminfo and termcap to use recommended "X Window"
14943 or "X11" names rather than "X Windows" (reported by Tomas
14944 Vanhala).</li>
14945
14946 <li>suppress translation of shifted keypad "+" when sunKeyboard
14947 is true.</li>
14948
14949 <li>workaround unexpected behavior (perhaps bug) in
14950 XmbLookupString, which returns trash in the string buffer for
14951 numlock and control-key combined with keypad-keys.</li>
14952
14953 <li>modify ScrollBarReverseVideo() to keep scrollbar border
14954 visible when reverse video is toggled.</li>
14955
14956 <li>correct missing case for parameter 17 (set highlight color)
14957 in dynamic colors control sequences.</li>
14958
14959 <li>extend dynamic colors control sequences to allow users to
14960 determine the colors and font which are currently active.</li>
14961
14962 <li>minor tweak to OSC responses, to use BEL if the application
14963 used that to end the request, rather than ST. This works better
14964 with shell scripts, which may not handle an
14965 <code>&lt;ESC&gt;backslash</code> very well.</li>
14966
14967 <li>separate menu settings for reverse video from that done
14968 under program control.</li>
14969
14970 <li>corrected ifdef's for menus, which did not allow tek4014 to
14971 be suppressed properly (reported by Clint Olsen).</li>
14972
14973 <li>changes for Linux-2.2.x with GLibc-2.1 and /dev/ptmx
14974 support (integrated patch from Pavel Roskin):
14975 <ul>
14976 <li>main.c and resize.c were using different rules to
14977 determine whether ATT should be defined (actually
14978 USE_USG_PTYS is more apt).</li>
14979
14980 <li>copy definitions from main.c to resize.c to prevent
14981 sys/stream.h and sys/ptem.h from inclusion when SYSV is not
14982 defined</li>
14983
14984 <li>define CNUL if not already defined like other
14985 variables.</li>
14986
14987 <li>/dev/tty does exist in Linux, but it doesn't mean, it
14988 should be used. Therefore EACCES is now an acceptable
14989 result.</li>
14990
14991 <li>ifdef'd several calls such as <code>ioctl (ptyfd,
14992 I_PUSH, "ptem")</code> to build on Linux (I_PUSH is not
14993 defined when sys/stropts.h is not included).</li>
14994 </ul>
14995 </li>
14996
14997 <li>initialize second "ltc" variable in main.c (reported by
14998 David Dawes).</li>
14999
15000 <li>provide definition for USE_USG_PTYS in screen.c</li>
15001
15002 <li>add resource-files to install rule in standalone
15003 Makefile.in</li>
15004
15005 <li>add sample scripts to illustrate titlebar controls,
15006 resizing and colors.</li>
15007 </ul>
15008
15009 <h1><a name="xterm_93" id="xterm_93">Patch #93 - 1999/3/14 -
15010 XFree86 3.9Pd</a></h1>
15011
15012 <p>Here are several fixes and minor enhancements. The chief ones
15013 are the fixes for NumLock mode and reverse video, since we had
15014 become used to working around the problems.</p>
15015
15016 <ul>
15017 <li>remove kfnd/kll/kslt strings from terminfo, because curses
15018 applications do not necessarily return khome/kend pairs
15019 (reported by Vikas Agnihotri).</li>
15020
15021 <li>implement NumLock resource which overrides the keyboard
15022 tables for the special case of keypad keys. This is a problem
15023 introduced in xterm by X11R6 changes, i.e., an ambiguity which
15024 in effect discarded vt100 keypad support.</li>
15025
15026 <li>modify Sun/PC keyboard mode to extend this (emulation of
15027 DEC vt100 keypad) to the remainder of the numeric keypad. Now,
15028 the default operating mode of xterm uses the keyboard tables
15029 as-is (except if the NumLock mode overrides), but provides good
15030 vt100 keypad compatibility if the Sun/PC keyboard menu item is
15031 checked.</li>
15032
15033 <li>separate command-line settings for reverse video from that
15034 done under program control. This is a problem which was
15035 introduced by X11R6. Though <em>correct</em>, most users are
15036 confused by allowing the reset command to undo the effect of
15037 the command-line <kbd>-rv</kbd> option.</li>
15038
15039 <li>add description of function keys, keypad and cursor keys to
15040 ctlseqs.ms</li>
15041
15042 <li>add terminfo entries for xterm-vt52, xterm-sun and
15043 xterm-hp</li>
15044
15045 <li>correct typo (missing case value) for DECSET 35,
15046 enable/disable shifted keypad action and a few compiler
15047 warnings (reported by Zdenek Sekera &lt;[email protected]&gt;).</li>
15048
15049 <li>correct reporting of color values 8-15 in DECRQSS (reported
15050 by Vikas Agnihotri).</li>
15051
15052 <li>modify parsing of ttyModes resource to recognize "^-" as
15053 "undef" (requested by Tomas Vanhala).</li>
15054
15055 <li>integrate/extend changes to add iconify/maximize actions
15056 (from Edward S. Arthur &lt;[email protected]&gt;).</li>
15057
15058 <li>add control sequences for maximizing/restoring window, and
15059 for reporting maximum screen size.</li>
15060
15061 <li>add 'interpret' action, to support local function-key
15062 interpretation. Used properly, this makes most of the
15063 specialized actions of xterm redundant.</li>
15064
15065 <li>add control sequence private modes 1051, 1052 and 1052, for
15066 setting the Sun and HP function key modes, and for setting the
15067 Sun/PC keyboard mode.</li>
15068
15069 <li>add configure option --disable-maximize</li>
15070
15071 <li>add configure option --disable-num-lcok</li>
15072
15073 <li>extend descriptions of configure script options in
15074 INSTALL.</li>
15075 </ul>
15076
15077 <h1><a name="xterm_92" id="xterm_92">Patch #92 - 1999/2/5 -
15078 XFree86 3.9Nz</a></h1>
15079
15080 <ul>
15081 <li>increase buffer size for tgetent (i.e., termcap) to 1500.
15082 This fixes a problem where <em>screen</em> is built using
15083 ncurses or GNU termcap and <em>xterm</em> is built using the
15084 standard termcap interface. The former does not limit the
15085 termcap size, while the latter is assumed to be no longer than
15086 1023 characters. The <em>screen</em> program's termcap entry is
15087 about 1200 characters long.</li>
15088
15089 <li>change update_menu_item() to a function, to simplify
15090 debugging. This also reduces the executable by 4Kb.</li>
15091
15092 <li>add control sequences for DECSET 30, 1010, 1011 like rxvt
15093 (enable or disable some features that were only settable via
15094 resources or command line arguments).</li>
15095
15096 <li>add control sequence for DECSET 35, which enables/disables
15097 the shifted keypad functions.</li>
15098
15099 <li>add support for switching font sizes, by stepping through
15100 the font menu using shifted keypad plus and minus.</li>
15101
15102 <li>correct missing initialization of tekInhibit and tekSmall
15103 resources.</li>
15104
15105 <li>correct ifdef's in charproc.c for XtNgeometry and
15106 XtCGeometry (reported by Bram Moolenaar).</li>
15107 </ul>
15108
15109 <h1><a name="xterm_91" id="xterm_91">Patch #91 - 1999/1/21 -
15110 XFree86 3.9Nw</a></h1>
15111
15112 <ul>
15113 <li>Implement logic to translate input characters which are
15114 mapped when in vt220 National Replacement Character mode
15115 (requested by Tomas Vanhala).</li>
15116
15117 <li>Resync configure scripts with my patches to autoconf
15118 2.13</li>
15119
15120 <li>Change order of -lXmu and -lXext to accommodate cygwin32
15121 (reported by Vikas Agnihotri).</li>
15122
15123 <li>Add "-ti" option to set terminal emulation level from
15124 command line rather than via resource.</li>
15125
15126 <li>Simplify some of the preprocessor logic using #elif.</li>
15127 </ul>
15128
15129 <h1><a name="xterm_90" id="xterm_90">Patch #90 - 1998/12/13 -
15130 XFree86 3.9Nq</a></h1>
15131
15132 <p>This implements several small fixes and enhancements. The
15133 chief one implements fallback support for line drawing characters
15134 with fonts that do not include those characters. But I
15135 implemented that last.</p>
15136
15137 <ul>
15138 <li>If any of the glyphs in positions 0-31 (used by xterm to
15139 implement the VT100 alternate character set) are zero-sized
15140 (i.e., missing), xterm will reserve a normal space for the
15141 glyph when drawing. I implemented a simple stroke-drawing
15142 function to draw the line-drawing characters and a couple of
15143 the other (simpler) characters such as diamond. (This was
15144 suggested by Vikas Agnihotri).</li>
15145
15146 <li>Modify the computation of doublesize characters to work
15147 around font servers which shift the scaled characters up/down
15148 or do not give the correct width.</li>
15149
15150 <li>Add popup menu item and corresponding resource settings to
15151 disable the font-scaling logic for doublesize characters to
15152 work around (older) font servers which simply do not draw the
15153 fonts scaled to the size that they said they would. I see this
15154 problem on a SunOS system running X11R5; the X11R6 servers seem
15155 well behaved.</li>
15156
15157 <li>Implement new escape sequence, private mode 1049, which
15158 combines the switch to/from alternate screen mode with screen
15159 clearing and cursor save/restore. Unlike the existing escape
15160 sequence, this clears the alternate screen when switching to it
15161 rather than when switching to the normal screen, thus retaining
15162 the alternate screen contents for select/paste operations.
15163 <p>When I implemented the popup menu entry to toggle between
15164 the normal and alternate screens, I considered only pasting
15165 from the normal screen to the alternate; this improvement
15166 allows either direction.</p>
15167 </li>
15168
15169 <li>Changed the termcap and terminfo for xterm-xfree86 and
15170 xterm-8bit to use the new 1049 private mode.</li>
15171
15172 <li>Modify the logic which switches between normal and
15173 alternate screens so that the save/restore cursor operations
15174 apply only to the current screen. That means that applications
15175 which use the terminfo smcur/rmcur or termcap ti/te
15176 capabilities will restore the cursor to the original position
15177 on the normal screen rather than to the most recent place where
15178 a save-cursor operation was performed.
15179 <p>I note that a real VT100 terminal would not behave in this
15180 way, but it is a moot point since the VT100 does not
15181 implement alternate screen, and therefore the save/restore
15182 cursor sequence would not be used in this context. I reviewed
15183 the logic which switches between normal and alternate screens
15184 based on some recent newsgroup postings as well as a proposed
15185 patch in the Debian group which attempts to do this (the
15186 patch has a bug, however, so I did not use it).</p>
15187 </li>
15188
15189 <li>Add popup menu entry for toggling the titeInhibit
15190 resource.</li>
15191
15192 <li>Add new resource answerbackString, which overrides the
15193 default "xterm" returned by xterm when responding to an ENQ
15194 (control/E) character (request by Rajesh Vaidheeswarran
15195 &lt;[email protected]&gt;).</li>
15196
15197 <li>Add new resource keyboardDialect for setting the NRC
15198 display character set (request by Tomas Vanhala, who notes that
15199 I should add logic to translate the keyboard as well).</li>
15200
15201 <li>Add new command-line option and corresponding resources for
15202 making xterm generate escape sequences compatible with HP
15203 terminals. Like the existing Sun escape sequences, this is
15204 available as a popup menu item. It is enabled by the configure
15205 script with the option --enable-hp-fkeys (requested by Toni
15206 Mueller &lt;[email protected]&gt;).</li>
15207
15208 <li>Add configure script option --disable-boxchars to disable
15209 the fallback support for line drawing characters.</li>
15210
15211 <li>Fix ifdef's for configure script --disable-ansi-color, and
15212 reviewed all configure options to ensure that all can be
15213 enabled/disabled appropriately.</li>
15214
15215 <li>Update config.guess and config.sub, from Lynx.</li>
15216 </ul>
15217
15218 <h1><a name="xterm_89" id="xterm_89">Patch #89 - 1998/11/20 -
15219 XFree86 3.9Nm</a></h1>
15220
15221 <p>This patch completes the implementation of double-sized
15222 character support for the VT100 emulation, and fixes a few minor
15223 bugs:</p>
15224
15225 <ul>
15226 <li>corrected the cursor position in HideCursor, which did not
15227 multiply the column by two when in doublesize mode. This bug,
15228 which did not appear in normal use, dates back to my original
15229 <a href="#xterm_44">changes</a> to partly implement
15230 double-sized characters. I noticed it when cat'ing a typescript
15231 from vttest's double-sized character test.</li>
15232
15233 <li>ensure that the current line is repainted when switching
15234 between single and double width characters.</li>
15235
15236 <li>reduce the number of bits used for double-sized character
15237 coding from 3 to 2, to make more room for soft-font codes.</li>
15238
15239 <li>copy newer ifdef's from the XFree86 3.3.3 release's main.c,
15240 which address details of glibc and powerpc.</li>
15241
15242 <li>moved definition of DECL_ERRNO in xterm.h to match XFree86
15243 3.3.3</li>
15244
15245 <li>modify <em>resize</em> to remove the ifdef on SVr4 that
15246 suppressed printing the script for $LINES and $COLUMNS.
15247 Solaris' resize utility does this; suppressing the behavior is
15248 unnecessary.</li>
15249 </ul>
15250
15251 <p>I tested the double-sized characters using vttest and the
15252 xfsft patch. These fonts worked reasonably well:</p>
15253
15254 <pre>
15255 -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
15256 9x15
15257 </pre>
15258 <p>The iso8859 font does not include box characters, of course,
15259 but looks good.</p>
15260
15261 <h1><a name="xterm_88" id="xterm_88">Patch #88 - 1998/10/31 -
15262 XFree86 3.9Nk and 3.3.2h</a></h1>
15263
15264 <p>This refines my <a href="#xterm_85">patch #85</a> by checking
15265 for a case where the font server returns a bold font that does
15266 not quite correspond to the normal font. When I asked for a bold
15267 version of the 6x12 font, the font server returned a near
15268 equivalent where the ascent and descent values did not match,
15269 causing xterm to leave lines across the display. This patch makes
15270 xterm reject that type of mismatch, falling back to the old font
15271 behavior.</p>
15272
15273 <h1><a name="xterm_87" id="xterm_87">Patch #87 - 1998/10/21 -
15274 XFree86 3.9Nj and 3.3.2f</a></h1>
15275
15276 <p>This corrects a problem reported by Stefan Dalibor. My table
15277 entries for the <em>printerExtent</em> and
15278 <em>printerFormFeed</em> resources used the wrong types for
15279 sizeof, causing the printer to not work properly on some
15280 platforms because the <em>printAttributes</em> resource was
15281 overwritten (e.g., Digital Unix with DEC Alpha).</p>
15282
15283 <p>I reviewed all of the resource table entries and fixed a
15284 potential problem with <em>resizeGravity</em>, which was typed as
15285 <em>int</em> rather than <em>XtGravity</em>.</p>
15286
15287 <h1><a name="xterm_86" id="xterm_86">Patch #86 - 1998/10/14 -
15288 XFree86 3.9Nj and 3.3.2e</a></h1>
15289
15290 <p>A small fix: when switching to/from the continuous mouse
15291 reporting mode, the event mask was incorrect if xterm was built
15292 under X11R5 because the original data was saved under an ifdef
15293 for active-icon.</p>
15294
15295 <h1><a name="xterm_85" id="xterm_85">Patch #85 - 1998/10/12 -
15296 XFree86 3.9Nj and 3.3.2e</a></h1>
15297
15298 <p>Some cleanup (I noticed the pixel droppings a few months ago
15299 after getting a new 17" monitor):</p>
15300
15301 <ul>
15302 <li>split-out the functions that load/reload fonts for xterm as
15303 new file fontutils.c to extend them to support automatic
15304 loading of bold font corresponding to the normal font. Adapted
15305 logic from EMU 1.3 for this purpose. This fixes most
15306 occurrences of pixel droppings from bold characters.</li>
15307
15308 <li>modified by renaming variables and adding casts to permit
15309 compile with g++.</li>
15310
15311 <li>modify headers so they can all be compiled without order
15312 dependencies, and use bracketed rather than quoting includes to
15313 allow compile from separate directory.</li>
15314
15315 <li>renamed xtermm terminfo entry to xterm-mono, to avoid
15316 conflict with Solaris entry now in ncurses.</li>
15317 </ul>
15318
15319 <h1><a name="xterm_84" id="xterm_84">Patch #84 - 1998/10/9 -
15320 XFree86 3.9Ni and 3.3.2e</a></h1>
15321
15322 <p>Several small fixes and enhancements, including a patch from
15323 Bjorn Helgaas:</p>
15324
15325 <ul>
15326 <li>correct initialization of TERMCAP environment variable,
15327 which was frequently set to garbage on non-Linux systems
15328 because "termcap" and "newtc" contained random data from the
15329 stack.</li>
15330
15331 <li>remove the LINEWRAPPED attribute from lines as they are
15332 cleared. Previously, the attribute was set but never
15333 cleared.</li>
15334
15335 <li>make word and line selections work even when lines are
15336 wrapped by xterm. Previously, selections were limited to one
15337 screen line.</li>
15338 </ul>
15339
15340 <p>as well as</p>
15341
15342 <ul>
15343 <li>modify logic for line-wrapping to reset the associated flag
15344 if the application deletes a character. This fixes a problem
15345 reported by Bjorn Helgaas where word/line selection would still
15346 wrap even after deleting characters from the first line.</li>
15347
15348 <li>add kll/kH capabilities to xterm-xfree86 entries in termcap
15349 and terminfo (request by Michael Schroeder).</li>
15350
15351 <li>shorten descriptions in termcap to make resolved entries
15352 all shorter than 1023 character limit.</li>
15353
15354 <li>use DECSTR control sequence to shorten initialization and
15355 reset strings in xterm-xfree86 termcap and terminfo.</li>
15356
15357 <li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match
15358 termcap.</li>
15359
15360 <li>correct typos in initialization and reset strings in
15361 xterm-r5 termcap and terminfo.</li>
15362
15363 <li>disable special translations of key symbols (the backarrow
15364 key, the editing keypad and the keypad "+") when a modifier
15365 other than shift, control or numlock is used. This makes xterm
15366 handle the meta key as expected by people using emacs (reported
15367 by Pete Harlan &lt;[email protected]&gt; in
15368 linux.debian.user newsgroup).</li>
15369 </ul>
15370
15371 <h1><a name="sync_83" id="sync_83">Resync #83 - 1998/10/7 -
15372 XFree86 3.3.2e</a></h1>
15373
15374 <p>Merge changes through <a href="#xterm_83">patch #83</a> with
15375 the 3.3.2e version.</p>
15376
15377 <p>This follows a change from XFree86 CVS which adds checks for
15378 non-null return from malloc (patch by Matthieu Herrb).</p>
15379
15380 <h1><a name="xterm_83" id="xterm_83">Patch #83 - 1998/8/25 -
15381 XFree86 3.9Nb</a></h1>
15382
15383 <p>Several small fixes and enhancements:</p>
15384
15385 <ul>
15386 <li>add configure test to infer if xterm should be installed
15387 setuid based on previously installed xterm (reported by Stephen
15388 Marley and Stefan Dalibor).</li>
15389
15390 <li>implement quasi-continuous mouse reporting (integrated
15391 patch by Jason Bacon).</li>
15392
15393 <li>correct control sequences transmitted by function keys F1
15394 to F4 when sunFunctionKeys resource is true (it was still using
15395 the VT100 control sequences).</li>
15396
15397 <li>modify handling of backarrow key so that the control
15398 modifier toggles the backspace/delete interpretation set by the
15399 backarrowKey resource.</li>
15400
15401 <li>limit the row and column values used to report mouse
15402 position.</li>
15403 </ul>
15404
15405 <p>From resync with XFree86 3.9Nb:</p>
15406
15407 <ul>
15408 <li>add support for the VSTATUS control character (patch by
15409 Robert Earl &lt;[email protected]&gt;).</li>
15410 </ul>
15411
15412 <h1><a name="xterm_82" id="xterm_82">Patch #82 - 1998/7/15 -
15413 XFree86 3.9Aj</a></h1>
15414
15415 <p>Bug fix for <a href="#xterm_81">patch #81</a>:</p>
15416
15417 <ul>
15418 <li>remove an #undef for NBBY, which caused compile problem on
15419 FreeBSD (reported by David Dawes).</li>
15420 </ul>
15421
15422 <h1><a name="xterm_81" id="xterm_81">Patch #81 - 1998/7/14 -
15423 XFree86 3.9Aj</a></h1>
15424
15425 <p>More bug fixes:</p>
15426
15427 <ul>
15428 <li>fix conflicting ifdef's for TIOCSLTC when building with
15429 Linux on AXP aka DEC Alpha (reported by Robin Cutshaw).</li>
15430
15431 <li>correction to patch #79, move assignment for
15432 *utptr-&gt;ut_user = 0; back into non-SVR4 ifdef in main.c,
15433 since this clobbers username on Solaris 2.5.1 (analysis by Will
15434 Day &lt;[email protected]&gt;).</li>
15435
15436 <li>corrected khome/kend in xterm-8bit terminfo
15437 description.</li>
15438
15439 <li>improve cursor color by making it always the reverse of
15440 fg/bg unless the cursorColor resource is set, i.e., to
15441 something other than the default foreground (reported by Vikas
15442 Agnihotri and Bram Moolenaar).</li>
15443
15444 <li>minor fixes for compiler warnings, including a syntax error
15445 in the AMOEBA ifdef's.</li>
15446 </ul>
15447
15448 <p>From resync with XFree86 3.9Aj:</p>
15449
15450 <ul>
15451 <li>correction to patch #73, supply missing #else for fallback
15452 definitions of size_t, time_t (Robin Cutshaw
15453 &lt;[email protected]&gt;).</li>
15454 </ul>
15455
15456 <h1><a name="xterm_80" id="xterm_80">Patch #80 - 1998/6/29 -
15457 XFree86 3.9Ai</a></h1>
15458
15459 <p>This fixes a couple of items leftover or introduced by patch
15460 79:</p>
15461
15462 <ul>
15463 <li>take out the logic that suppresses editing-keypad in vt100
15464 mode (those keys are too valuable to give up for a fine point
15465 of emulation).</li>
15466
15467 <li>corrected a couple of places in terminfo where I missed
15468 using the vt220-style editing-keypad codes for Find/Select
15469 (mapped to Home/End).</li>
15470
15471 <li>checked termcap file against terminfo, fix several places
15472 where it was inconsistent.</li>
15473 </ul>
15474
15475 <h1><a name="xterm_79" id="xterm_79">Patch #79 - 1998/6/28 -
15476 XFree86 3.9Ai</a></h1>
15477
15478 <p>This patch fixes several small bugs:</p>
15479
15480 <ul>
15481 <li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas
15482 Vanhala).</li>
15483
15484 <li>add new resource 'oldXtermFKeys' which provides backward
15485 compatibility for F1-F4 control sequences with TOG's
15486 xterm.</li>
15487
15488 <li>determine the server's default foreground/background Pixel
15489 values, needed if the -flipPixels X server option is used
15490 (reported by David Dawes).</li>
15491
15492 <li>correct logic for F1-F4 function keys so that they generate
15493 VT100 compatible escape sequences in VT220 mode, since that is
15494 what the numeric keypad is supposed to do (reported by Ron
15495 Johnson, Jr. &lt;[email protected]&gt;).</li>
15496
15497 <li>modify logic for editing keypad to work more like VT220:
15498 don't pass those codes in VT100-mode unless oldXtermFKeys mode
15499 is set.</li>
15500
15501 <li>correct an interaction with the editing-keypad logic that
15502 prevented backarrow key from sending a 127 for the delete key
15503 (the 'remove' escape sequence was being sent instead).</li>
15504
15505 <li>use return-value from getuid() rather than the parameter,
15506 to work on systems which do not update the latter (patch by
15507 Kevin Buhr &lt;[email protected]&gt;)</li>
15508
15509 <li>correct scrollbar border color when toggling to/from secure
15510 keyboard mode (patch by Jeff Uphoff
15511 &lt;[email protected]&gt;)</li>
15512
15513 <li>modifications to terminfo file:
15514 <ul>
15515 <li>rename description to xterm-xfree86, adding an entry
15516 'xterm' which is derived from xterm-xfree86 to simplify
15517 customization.</li>
15518
15519 <li>change string for kdch1 from \177 to \E[3~, to address
15520 complaints from Debian developers. (This applies to the key
15521 labeled "Delete", and does not affect the backarrow
15522 key).</li>
15523
15524 <li>add user-strings u6, u7, u8, u9 to entries to make them
15525 work with Daniel Weaver's "tack" program.</li>
15526
15527 <li>modify xterm-24, xterm-bold, xterm-boldso entries to
15528 disentangle them from explicit dependency upon
15529 xterm-xfree86.</li>
15530
15531 <li>add generic 'xterm-color' entry.</li>
15532
15533 <li>minor corrections to xterm-xfree86, xterm-8bit,
15534 xterm-r5 and xterm-r6 entries.</li>
15535 </ul>
15536 </li>
15537 </ul>
15538
15539 <h1><a name="xterm_78" id="xterm_78">Patch #78 - 1998/6/3 -
15540 XFree86 3.9Ah and 3.3.2</a></h1>
15541
15542 <p>Again, most of the bulk of this patch is for ANSI conversion.
15543 I used the IRIX compiler's -wlint option to find the remaining
15544 functions that use K&amp;R syntax (since gcc does not do this
15545 properly). Also, I changed the logic in the print code slightly
15546 to close unwanted files before opening a pipe to the printer.
15547 This may help in some configurations where the line printer hangs
15548 until xterm closes the pipe.</p>
15549
15550 <h1><a name="xterm_77" id="xterm_77">Patch #77 - 1998/5/26 -
15551 XFree86 3.9Ah and 3.3.2</a></h1>
15552
15553 <p>Most of the bulk of this patch is to convert the extended C
15554 (K&amp;R functions with prototypes) to ANSI. I verified that on
15555 Linux by comparing object files, to ensure that I did not, for
15556 example, interchange parameters in the function declarations.</p>
15557
15558 <p>The rest of the patch fixes several minor bugs, and adds a few
15559 features:</p>
15560
15561 <ul>
15562 <li>back-out my use of ncurses "captoinfo -f" option
15563 (if/then/else/endif) formatting, since ncurses did not
15564 correctly filter embedded newlines in terminfo capability
15565 strings until _after_ ncurses 4.1, thus corrupting
15566 setf/setb/sgr strings (reported by Darren Hiebert and
15567 others).</li>
15568
15569 <li>document SGR 8, 28 (invisible/visible), add corresponding
15570 capabilities to terminfo description.
15571 <p>I would also add the 'prot protected capability, but the
15572 control sequences for that would not be recognized or
15573 properly ignored by the older xterm programs.</p>
15574 </li>
15575
15576 <li>modify ChangeGroup to not suppress a null-resource, but
15577 treat it as an empty string (recommended by Stefan
15578 Dalibor).</li>
15579
15580 <li>add printerAutoClose resource to control whether printer is
15581 closed when going offline. More than one person reports
15582 problems (on Solaris 2.6 and Digital Unix 4.0) getting the
15583 printer to proceed unless xterm exits; I think that it is a
15584 problem flushing the pipe. Closing it ought to flush it.</li>
15585
15586 <li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N
15587 (but adapt XtStackAlloc/XtStackFree for clarity, as well as
15588 fixing memory leak).</li>
15589
15590 <li>change calls on FillCurBackground to ClearCurBackground, in
15591 effect using XClearArea rather than XFillRectangle when
15592 clearing as a side-effect of scrolling and insertion (patch by
15593 Alexander V Lukyanov)</li>
15594
15595 <li>correct some places where insert/delete did not _move_ the
15596 color attributes, using memmove (patch by Alexander V Lukyanov
15597 &lt;[email protected]&gt;)</li>
15598
15599 <li>add ifdef's for __CYGWIN32__, for port to cygnus version
15600 B19.1 (patch by Andrew Sumner
15601 &lt;[email protected]&gt;).</li>
15602
15603 <li>remove #define for hpux that turned on USE_SYSV_ENVVARS,
15604 since this causes some applications (such as 'less') to get
15605 incorrect $LINES and $COLUMNS values (reported by Clint
15606 Olsen).</li>
15607
15608 <li>modify behavior for HP-UX, to set the "reserved" process
15609 group controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does
15610 not produce an error (patch by Ben Yoshino
15611 &lt;[email protected]&gt;).</li>
15612
15613 <li>correct length of underlining, reducing it by one pixel to
15614 avoid leaving a dot when the application does not clear the
15615 whole screen I noticed this only recently myself (and other
15616 people as well); it depends on the font chosen. A 6x10 font
15617 shows it, but the other fonts from XTerm.ad do not. I also see
15618 a similar problem with the emulation of bold fonts. (patch by
15619 Sergei Laskavy &lt;[email protected]&gt;).</li>
15620
15621 <li>add include for Xos.h to xterm.h, to ensure proper
15622 definitions (reported by Holger Veit).</li>
15623
15624 <li>update config.guess to recognize Unixware 2.1 and 7 (patch
15625 by Mike Hopkirk &lt;[email protected]&gt;).</li>
15626 </ul>
15627
15628 <h1><a name="xterm_76" id="xterm_76">Patch #76 - 1998/5/8 -
15629 XFree86 3.9Ah and 3.3.2</a></h1>
15630
15631 <p>A fix for the print-window function, and some minor
15632 cleanup:</p>
15633
15634 <ul>
15635 <li>modify logic that closes pipe in the print-window function
15636 to not use pclose, which does not work on all systems, since I
15637 did not open the pipe with popen (reported by Stefan
15638 Dalibor).</li>
15639
15640 <li>correct name of $(EXTRA_LOAD_FLAGS) imake variable
15641 (reported by Stefan Dalibor).</li>
15642
15643 <li>guard logic in ChangeGroup() function against null pointer
15644 (reported by Stefan Dalibor).</li>
15645
15646 <li>ensure that menu entry for toggling sunKeyboard resource is
15647 initialized (reported by Branden Robinson
15648 &lt;[email protected]&gt;).</li>
15649
15650 <li>gcc unused-variable warnings (reported by Bernd Ernesti
15651 &lt;[email protected]&gt;)</li>
15652
15653 <li>rename global variable 'buffer' to 'VTbuffer'</li>
15654 </ul>
15655
15656 <h1><a name="xterm_75" id="xterm_75">Patch #75 - 1998/5/7 -
15657 XFree86 3.9Ah and 3.3.2</a></h1>
15658
15659 <p>This incorporates fixes from several people, as well as some
15660 improvements that I made based on feedback from users:</p>
15661
15662 <ul>
15663 <li>add option to standalone configure script,
15664 "--with-own-terminfo-dir", which causes xterm to pass a
15665 predefined value of $TERMINFO to the application. Also use this
15666 value in install rule "make install-ti", for the standalone
15667 configure script. (patch &amp; feedback from Tor Lillqvist
15668 &lt;[email protected]&gt;)</li>
15669
15670 <li>change ifdef's for "hpux" to "__hpux" (patch by Tor
15671 Lillqvist). The imake configuration uses the former, but the
15672 latter is predefined by HP's compilers.</li>
15673
15674 <li>define USE_SYSV_ENVVARS for HP-UX, curses does not use
15675 $TERMCAP (patch by Tor Lillqvist).</li>
15676
15677 <li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's.
15678 Works both on HP-UX 9 and 10. (patch by Tor Lillqvist).</li>
15679
15680 <li>modify configure script to obtain the $(EXTRA_LOADFLAGS)
15681 value from imake, needed for compiling under DEC OSF/1
15682 (reported by Stefan Dalibor)</li>
15683
15684 <li>modify print-window action so that the printer is closed
15685 after printing a window, unless the printer was already opened
15686 (i.e., by an application running in the window). This makes the
15687 printing complete without having to exit xterm, since not all
15688 systems treat fflush through a pipe very well (reported by
15689 Stefan Dalibor)</li>
15690
15691 <li>modify printing code so that the ^M's are not printed if
15692 the printAttribute resource is set to zero (request by Stefan
15693 Dalibor).</li>
15694
15695 <li>correct typo in xterm.man, for the default value of
15696 printAttribute (reported by Stefan Dalibor).</li>
15697
15698 <li>correct printing code so that the alternate character set
15699 is printed, like other attributes, with escape sequences.</li>
15700
15701 <li>correct termcap description, removing spurious 'm'
15702 character from the 'op' capability (reported by Greg Woods
15703 &lt;[email protected]&gt;).</li>
15704
15705 <li>correct trace code so that the initial timestamp is
15706 set.</li>
15707
15708 <li>correct/modify utmp data for the Linux glibc 2
15709 configuration, so that the ut_line member is set before using
15710 it to update wtmp (patch by Bill Nottingham
15711 &lt;[email protected]&gt;).</li>
15712 </ul>
15713
15714 <h1><a name="xterm_74" id="xterm_74">Patch #74 - 1998/4/27 -
15715 XFree86 3.9Ag and 3.3.2</a></h1>
15716
15717 <p>This corrects a couple of recent bugs and adds a new
15718 resource:</p>
15719
15720 <ul>
15721 <li>modify definition of TRACE_CHILD so that it does not
15722 conflict with ifdef's for USE_USG_PTYS in main.c (reported by
15723 Vikas Agnihotri &lt;[email protected]&gt; and Stefan
15724 Dalibor).</li>
15725
15726 <li>correct ownership of file (actually pipe) written by the
15727 print controls. When undoing the setuid changes in patch #69, I
15728 overlooked this. Now xterm forks a process which resets setuid
15729 and routes the printer data as the real user.</li>
15730
15731 <li>add a new resource, "printAttributes", which controls
15732 whether color attributes (or any attributes) are sent to the
15733 printer.</li>
15734 </ul>
15735
15736 <h1><a name="xterm_73" id="xterm_73">Patch #73 - 1998/4/25 -
15737 XFree86 3.9Ag and 3.3.2</a></h1>
15738
15739 <p>This patch does the following:</p>
15740
15741 <ul>
15742 <li>implements a print-window facility for xterm. Though useful
15743 in itself, I added it as part of some debugging which I am
15744 doing. (Occasionally during an exposure event xterm fails to
15745 restore the proper colors for highlighted text, and printing
15746 the screen will show the internal states nicely).
15747 <p>The print facility now also displays the color
15748 information. (I will probably make this a resource).</p>
15749 </li>
15750
15751 <li>modified the xterm-16color terminfo description to use the
15752 setaf and setab strings, which is a little more efficient
15753 (requested by Stephen Marley).</li>
15754
15755 <li>reduced some clutter of the ifdef/includes (e.g., stdlib.h,
15756 unistd.h, errno) making the configure script test for these.
15757 <p>I removed the symbols Size_t and Time_t, since they no
15758 longer serve a useful purpose.</p>
15759 </li>
15760
15761 <li>added some debugging traces to show the initial screen
15762 size, and the success/failure of the ioctl calls pass handle
15763 window resizing events to the application (for Clint Olsen).
15764 <p>I also modified the trace code to produce two files since
15765 some of the information is produced by the child process. So
15766 now they are Trace-parent.out and Trace-child.out</p>
15767 </li>
15768
15769 <li>updated configure test for ANSI compiler options to handle
15770 a special case for HP-UX 10.x (reported by Clint Olsen).</li>
15771 </ul>
15772
15773 <h1><a name="xterm_72" id="xterm_72">Patch #72 - 1998/4/17 -
15774 XFree86 3.9Ag and 3.3.2</a></h1>
15775
15776 <p>This is a patch from Chris Siebenmann
15777 &lt;[email protected]&gt;, which I have cleaned up a
15778 little, and integrated into the configure script.</p>
15779
15780 <p>From his description:</p>
15781
15782 <blockquote>
15783 <p>This set of patches is the latest incarnation of patches
15784 originally written by Ian! D Allen, then of the University of
15785 Waterloo and now of who knows where; I have been carrying them
15786 forward from xterm to xterm ever since about X11R4. What they
15787 do is add an option so that when an iconified xterm receives
15788 output it prepends '*** ' to its icon title and (optionally)
15789 beeps the bell; deiconifying the xterm removes the '*** '. Over
15790 the years I've found this to be incredibly convenient for
15791 monitoring all sorts of low-activity things.</p>
15792 </blockquote>
15793
15794 <h1><a name="xterm_71" id="xterm_71">Patch #71 - 1998/4/12 -
15795 XFree86 3.9Ag and 3.3.2</a></h1>
15796
15797 <p>This patch is a slightly modified version of one by Richard
15798 Braakman, which prevents buffer overflow in the input-method and
15799 preedit-type parsing in xterm. I changed a couple of details to
15800 make the code more maintainable, and looked for similar things -
15801 copying into a fixed-size buffer (found none, though I did spot
15802 an unused variable).</p>
15803
15804 <h1><a name="xterm_70" id="xterm_70">Patch #70 - 1998/3/29 -
15805 XFree86 3.9Af and 3.3.2</a></h1>
15806
15807 <p>This patch corrects some minor bugs in xterm, and fills in
15808 some more details in the VT220 emulation:</p>
15809
15810 <ul>
15811 <li>modify Imakefile to use SpecialCObjectRule for menu and
15812 data modules, making xterm build properly if logging is enabled
15813 (patch by Scott Sewall &lt;[email protected]&gt;).</li>
15814
15815 <li>restore "ich" capability to terminfo entries, since Michael
15816 Schroeder points out that "ich1" is the one which is the
15817 problem in Solaris vi.</li>
15818
15819 <li>correct color of cursor, which would disappear on
15820 inverse-video since the initialization did not compare the
15821 cursor color against both foreground and background (reported
15822 by Olivier Calle).</li>
15823
15824 <li>correct abbreviation-test for -version and -help options,
15825 making command-line option -vb work (reported by Stefan
15826 Dalibor).</li>
15827
15828 <li>correct a dependency between ifdef's for OPT_I18N_SUPPORT
15829 and OPT_INPUT_METHOD (reported by Stefan Dalibor).</li>
15830
15831 <li>split-out character-set translations as new module
15832 charsets.c, to implement VT220 national replacement character
15833 sets (a mode where some of the characters are displayed as
15834 specific European glyphs). This relies on xterm using an ISO
15835 8859-1 font (approach suggested by Kenneth R. Robinette
15836 &lt;[email protected]&gt;).</li>
15837
15838 <li>correct a missing increment, which made SS2 and SS3
15839 controls repeat the shifted character.</li>
15840
15841 <li>add xterm-nrc to terminfo to illustrate the VT220 national
15842 replacement character sets.</li>
15843
15844 <li>reformat terminfo using new ncurses tic option "-f", which
15845 makes if/then/else/endif expressions easier to read.</li>
15846 </ul>
15847
15848 <h1><a name="xterm_69" id="xterm_69">Patch #69 - 1998/3/16 -
15849 XFree86 3.9Ad and 3.3.2</a></h1>
15850
15851 <p>This corrects the problem in xterm with utmp, reported by
15852 Olivier Calle &lt;[email protected]&gt; as well as some other
15853 people after the XFree86 3.3.2 release.</p>
15854
15855 <p>The error was introduced by my <a href="#xterm_53">patch
15856 #53</a> in XFree86 3.9r (October 1997).</p>
15857
15858 <p>The correction removes the reset of setuid/setgid before the
15859 main event loop, and solves the problem which I had worked around
15860 in a different manner: for some reason, the particular waitpid()
15861 call in creat_as() hangs, does not return when the child process
15862 exits. I changed the ifdef's to force the Linux configuration to
15863 use wait() instead. This call appears to work properly on other
15864 platforms such as SunOS and Solaris.</p>
15865
15866 <p>I also added tests in the standalone configure script to check
15867 for the existence of waitpid().</p>
15868
15869 <h1><a name="xterm_68" id="xterm_68">Patch #68 - 1998/3/4 -
15870 XFree86 3.9Ad and 3.3.1z</a></h1>
15871
15872 <p>This corrects another problem with the logic for
15873 highlightColor resource. As reported by David Dawes:</p>
15874
15875 <blockquote>
15876 <p>I've just noticed a problem with with the "inverse" control
15877 sequence (ESC[7m) with the 3.3.2 xterm. What it does is sets
15878 the background black, and the text the usual foreground colour
15879 rather than simply swapping the foreground/background.</p>
15880 </blockquote>
15881
15882 <p>This appears to be because when I added logic to check that
15883 the highlightColor was distinct from foreground and background
15884 colors, I did not add a further check to see that it was not
15885 black (I would make an explicit check for the resource not being
15886 set, but see nothing definite in the headers that would let me
15887 reference an explicitly-undefined Pixel value, though there are
15888 some implications in xpm.h). But this should work.</p>
15889
15890 <h1><a name="xterm_67" id="xterm_67">Patch #67 - 1998/2/23 -
15891 XFree86 3.9Ad and 3.3.1e</a></h1>
15892
15893 <p>This patch does the following:</p>
15894
15895 <ul>
15896 <li>improve test for highlightColor so that xterm does not
15897 attempt to use that unless it is different from the foreground
15898 and background colors (reported by Stefan Dalibor
15899 &lt;[email protected]&gt;.
15900 <p>I could not reproduce this until I noticed that the -rev
15901 option exposed it nicely.</p>
15902 </li>
15903
15904 <li>remove ich and ich1 from xterm and xterm-8bit terminfo
15905 descriptions. SVr4 terminfo documents that you must not combine
15906 these with smir/rmir, but ncurses allows it, opening a hole.
15907 Solaris 2.6 vi does not work properly if it is using a terminfo
15908 description when these are combined, since it was written to
15909 accommodate old terminals that required it (reported by Stephen
15910 Marley).</li>
15911
15912 <li>restore 1-pixel overlap of scrollbar border with left edge
15913 of window (reported by Jim Burmeister
15914 &lt;[email protected]&gt;).</li>
15915
15916 <li>add a configure option, --enable-logfile-exec, which allows
15917 the user to specify a pipe for logfile. This defines
15918 ALLOWLOGFILEEXEC.</li>
15919
15920 <li>makes the ALLOWLOGFILEEXEC code compile &amp; run, if
15921 configured.</li>
15922
15923 <li>minor documentation nits.</li>
15924 </ul>
15925
15926 <h1><a name="xterm_66" id="xterm_66">Patch #66 - 1998/2/16 -
15927 XFree86 3.9Ad and 3.3.1d</a></h1>
15928
15929 <p>This fixes the problem reported with failure to build the
15930 <em>resize</em> program (BSDI, OSF/1) due to not having
15931 &lt;termcap.h&gt;, by changing the ifdef to one that would be set
15932 only if the file exists (not currently specified, except by the
15933 standalone configure script). We do not really need to include
15934 &lt;termcap.h&gt; to build, but only for a clean compile, since
15935 it may declare the tgetent() prototype. I also updated the
15936 man-page for <em>resize</em>, since I had recently noticed that
15937 it can be used to resize <em>xterm</em> using the "Sun" control
15938 sequences option.</p>
15939
15940 <h1><a name="xterm_65" id="xterm_65">Patch #65 - 1998/2/14 -
15941 XFree86 3.9Ad and 3.3.1c</a></h1>
15942
15943 <p>This is a small patch to xterm's 8-bit terminal description. I
15944 noticed while testing ncurses that I had specified the wrong
15945 (VT100-style) codes for the F1-F4. Xterm only uses VT220-style
15946 function keys in 8-bit mode.</p>
15947
15948 <h1><a name="xterm_64" id="xterm_64">Patch #64 - 1998/2/8 -
15949 XFree86 3.9Ad</a></h1>
15950
15951 <p>This fixes the following problems with xterm:</p>
15952
15953 <ul>
15954 <li>save/restore the ANSI foreground and background colors with
15955 the other visible attributes in the save-cursor and
15956 restore-cursor operations. This works around a problem with
15957 vim, which apparently assumed that switching between the normal
15958 and alternate screens resets the colors (reported by Jim Battle
15959 &lt;[email protected]&gt;).
15960 <p>It would be nice to implement save/restore cursor as a
15961 stack (and solve this type of problem completely), but that
15962 would lead to incompatibility with applications which assume
15963 they are running with a VT100 or VT220.</p>
15964 </li>
15965
15966 <li>corrects behavior of a restore-cursor operation which does
15967 not follow a save-cursor (it is supposed to set the character
15968 sets to a known initial state).</li>
15969
15970 <li>extends the sunKeyboard resource (and menu toggle) to
15971 modify the home, end and delete keys on a Sun or PC editing
15972 keypad, making them generate codes compatible with DEC VT220's
15973 Find, Select and Remove keys.</li>
15974
15975 <li>corrects a length in checking command-line options, which
15976 caused the "-help" message to not work when X was not
15977 running.</li>
15978
15979 <li>add some detail to the man-page (requested by Jason Bacon
15980 &lt;[email protected]&gt;)</li>
15981
15982 <li>modify the standalone configure script to ignore the broken
15983 nsl and socket libraries on IRIX 6.2 (the ones on 5.2 also are
15984 broken, so this change just widens the check for the system
15985 version number).</li>
15986 </ul>
15987
15988 <h1><a name="xterm_63" id="xterm_63">Patch #63 - 1998/2/5 -
15989 XFree86 3.9Ad</a></h1>
15990
15991 <p>This is another patch from Bjorn Helgaas
15992 &lt;[email protected]&gt;, which I've reviewed (and learned
15993 some). Following are his notes:</p>
15994
15995 <p>I poked around some more and finally got xterm-62 to build and
15996 run cleanly on HP-UX 10.20. Here are the patches. They look sort
15997 of ugly, so here's a little explanation:</p>
15998
15999 <ul>
16000 <li>aclocal.m4: Removed side effects from the AC_CACHE_VAL
16001 commands in CF_FUNC_TGETENT. Previously, LIBS was set inside
16002 AC_CACHE_VAL, which worked fine the first time configure was
16003 run, but failed if there were cached values.</li>
16004
16005 <li>aclocal.m4: Added temporary setting of LIBS before
16006 AC_TRY_LINK in CF_FUNC_TGETENT. Previously, the last value set
16007 by the AC_TRY_RUN loop was used, so only -lcurses was
16008 checked.</li>
16009
16010 <li>configure.in: Added temporary setting of CPPFLAGS before
16011 AC_CHECK_HEADERS for X11 files. Previously
16012 &lt;X11/DECkeysym.h&gt; and &lt;X11/Xpoll.h&gt; were found only
16013 if they were in the compiler's default include directories,
16014 even if `--x-includes=DIR' had been used or AC_PATH_XTRA had
16015 found them elsewhere.</li>
16016 </ul>
16017
16018 <p>The problem on HP-UX was that we were linking with -lcurses
16019 rather than -ltermcap due to the second bullet above, and
16020 apparently something in HP-UX curses is broken. This seems very
16021 strange, because the only thing used is tgetent, which should
16022 affect any tty/pty configuration, but I lost interest in tracking
16023 down the exact problem.</p>
16024
16025 <h1><a name="xterm_62" id="xterm_62">Patch #62 - 1998/1/23 -
16026 XFree86 3.9Ac</a></h1>
16027
16028 <p>This is a patch mostly by Bjorn Helgaas
16029 &lt;[email protected]&gt; (I added the os2main.c change, and a
16030 little of the documentation). From Bjorn's description:</p>
16031
16032 <ul>
16033 <li>If you use the "-hc &lt;color&gt;" option or set the
16034 "highlightColor" resource, text is highlighted by changing only
16035 the background color, rather than using reverse video. I find
16036 this easier to read, especially when selecting multi-colored
16037 text, and it is similar to the way Netscape shows
16038 selections.</li>
16039
16040 <li>Most of the code changes are under "#if
16041 OPT_HIGHLIGHT_COLOR". The principal exception is in screen.c,
16042 where I added a couple calls to resetXtermGC(). This seems like
16043 it could be a bug even without the color highlighting changes
16044 (though I don't pretend to understand all the logic).</li>
16045 </ul>
16046
16047 <h1><a name="xterm_61" id="xterm_61">Patch #61 - 1998/1/17 -
16048 XFree86 3.9Ac</a></h1>
16049
16050 <p>This patch modifies the reset behavior of xterm slightly:</p>
16051
16052 <ul>
16053 <li>change the terminfo entry so that rs1 (one of the strings
16054 used by the 'reset' program) does a hard reset rather than
16055 switching character sets. This is more in accord with other
16056 terminal descriptions.</li>
16057
16058 <li>modifies the treatment of hard reset by the xterm program
16059 to reset the saved lines.</li>
16060
16061 <li>corrects hard reset by also resetting user-defined keys,
16062 i.e., DECUDK.</li>
16063 </ul>
16064
16065 <h1><a name="xterm_60" id="xterm_60">Patch #60 - 1998/1/10 -
16066 XFree86 3.9Ab</a></h1>
16067
16068 <p>This fixes some minor bugs and adds new functionality:</p>
16069
16070 <ul>
16071 <li>add support for blinking text.
16072 <ul>
16073 <li>This does not actually cause the text to flash, but
16074 text with the blink attribute can be displayed in color,
16075 using new resources colorBL and colorBLMode.</li>
16076
16077 <li>If colors are not used, the blinking text will be
16078 displayed as before (just like bold). The main purpose of
16079 this is to make applications work properly when they assume
16080 the emulator supports blinking text.</li>
16081
16082 <li>I did this by moving the per-cell LINEWRAPPED flag to a
16083 per-line flag, to make room for the new BLINK flag. There
16084 were no per-line flags, so this changes a lot of
16085 logic.</li>
16086 </ul>
16087 </li>
16088
16089 <li>corrected missing save-cursor logic in the handling of SGR
16090 1048 (the new control sequence I added in patch #54,
16091 1997/10/17). Reported by Darren Hiebert.</li>
16092
16093 <li>flush the output of the transparent printing after each
16094 line Reported by Tomas Vanhala
16095 &lt;[email protected]&gt;.</li>
16096
16097 <li>correct the modes that are affected by save/restore cursor
16098 by adding WRAPAROUND and PROTECTED.</li>
16099
16100 <li>corrected placement of one of the XSync calls that I added
16101 in patch #51, 1997/9/15, which had the side-effect of writing
16102 on the window border when the xterm was resizing from 132 to 80
16103 columns.</li>
16104
16105 <li>work around an incompatibility of the XKB definition used
16106 in xterm versus that symbol from IRIX 6.2's imake definitions
16107 (by adjusting the standalone configure script).</li>
16108 </ul>
16109
16110 <h1><a name="xterm_59" id="xterm_59">Patch #59 - 1998/1/5 -
16111 XFree86 3.9Ab</a></h1>
16112
16113 <p>My last patch has an off-by-one error in the comparison for
16114 argc. Douglas Kosovic &lt;[email protected]&gt; showed me
16115 where (he got a core dump). Also, I think this explains Clint
16116 Olsen's problem, but the symptoms were more subtle (EINVAL for a
16117 system call if the -display option is omitted).</p>
16118
16119 <h1><a name="xterm_58" id="xterm_58">Patch #58 - 1998/1/3 -
16120 XFree86 3.9Ab</a></h1>
16121
16122 <p>This patch does the following:</p>
16123
16124 <ul>
16125 <li>implement logic to permit xterm to work with proportional
16126 fonts.
16127 <ul>
16128 <li>Thomas Wolff &lt;[email protected]&gt; requested
16129 this (but it isn't exactly what he's asking for - that's a
16130 more involved task).</li>
16131
16132 <li>I chose to do this by rendering the characters on a
16133 fixed pitch, because it would not be useful for existing
16134 applications to display varying numbers of characters on
16135 each line.</li>
16136
16137 <li>Except that this forces the display to be wider, it
16138 works reasonably well. A couple of special cases (reverse +
16139 colorBD, for example) do not display with proper colors,
16140 since the inter-character gaps are painted with the
16141 background.</li>
16142 </ul>
16143 </li>
16144
16145 <li>added a version number to the program (several people have
16146 requested this).</li>
16147
16148 <li>make the -version and -help options interpreted before the
16149 program attempts to open the display.</li>
16150
16151 <li>minor reorganization of the man-page (ordered the options,
16152 resources and translations alphabetically - and eliminated some
16153 duplication).</li>
16154
16155 <li>corrected a misspelled filename in Makefile.in, and added a
16156 lint rule.</li>
16157
16158 <li>updated the configure script to correct behavior when it
16159 cannot find imake, as well as to fix the IRIX+gcc build
16160 (conflict with /usr/include).</li>
16161
16162 <li>regenerated the configure script with a newer patch to
16163 autoconf that fixes a problem with environment space vs the
16164 configure --help message.</li>
16165 </ul>
16166
16167 <h1><a name="xterm_57" id="xterm_57">Patch #57 - 1997/12/26 -
16168 XFree86 3.9Aa</a></h1>
16169
16170 <p>This patch is mostly concerned with the standalone configure
16171 script; a few minor corrections are added:</p>
16172
16173 <ul>
16174 <li>add configure option --disable-tek4014, to allow xterm to
16175 be built without the tek4014 emulation.</li>
16176
16177 <li>add configure option --with-terminal-type, to allow xterm
16178 to be compiled with default $TERM value other than "xterm"
16179 (e.g., "xterm-16color") -- requested by Stephen Marley
16180 &lt;[email protected]&gt;.</li>
16181
16182 <li>fix a typo in the configure --help message -- reported by
16183 Darren Hiebert &lt;[email protected]&gt;.</li>
16184
16185 <li>review diffs between main.c and os2main.c, to make them
16186 more alike. (applies some minor bug-fixes to OS/2's
16187 version).</li>
16188
16189 <li>add missing quotes in memmove/bcopy configure test</li>
16190 </ul>
16191
16192 <h1><a name="xterm_56" id="xterm_56">Patch #56 - 1997/11/28 -
16193 XFree86 3.9x</a></h1>
16194
16195 <p>This patch is based on analysis by Arfst Ludwig
16196 &lt;[email protected]&gt;, who reported:</p>
16197
16198 <blockquote>
16199 <p>Setting the following resources xterm (all current versions)
16200 receives a segmentation fault on &lt;Btn2Up&gt; after
16201 scrolling:</p>
16202
16203 <pre>
16204 *XTerm*VT100*translations: #override \
16205 ~Shift~Ctrl&lt;Btn2Up&gt;: insert-selection(PRIMARY, CUT_BUFFER0)\n\
16206 Shift~Ctrl&lt;Btn2Up&gt;: insert-selection(CLIPBOARD, CUT_BUFFER1)\n\
16207 ~Shift&lt;BtnUp&gt;: select-end(PRIMARY, CUT_BUFFER0)\n\
16208 Shift&lt;BtnUp&gt;: select-end(CLIPBOARD, CUT_BUFFER1)
16209 </pre>
16210 <p>(The above resources intention is to be able to paste the
16211 latest selection even if the xterm was cleared.)</p>
16212
16213 <p>And here is how it works (and a fix!): The widget given to
16214 the action handler as first argument is not guaranteed to be a
16215 XtermWidget (it can be the ScrollbarWidget). Instead of
16216 accessing the widget's member directly XtDisplay gives the
16217 required pointer in a safe way.</p>
16218 </blockquote>
16219
16220 <p>I noticed that this was not the only instance (by reading the
16221 code, and testing with his example), and extended the solution to
16222 check the widget-class to ensure that it is indeed xterm's widget
16223 class before attempting to use it in the context of
16224 translations.</p>
16225
16226 <h1><a name="xterm_55" id="xterm_55">Patch #55 - 1997/11/25 -
16227 XFree86 3.9x</a></h1>
16228
16229 <p>This fixes the segmentation violation noted by Rogier Wolff
16230 about a month ago. He'd set xterm to 400 (rows) by 150 columns,
16231 which broke because there were limited buffers (200 rows) used
16232 for juggling data when adding or deleting lines and for switching
16233 between alternate and normal screens. I replaced this by an
16234 allocated buffer.</p>
16235
16236 <p>The bug is simple to test if you set titeInhibit false.</p>
16237
16238 <h1><a name="xterm_54" id="xterm_54">Patch #54 - 1997/10/17 -
16239 XFree86 3.9s</a></h1>
16240
16241 <p>This patch does the following:</p>
16242
16243 <ul>
16244 <li>correct a minor placement problem with the right
16245 scrollbar.</li>
16246
16247 <li>implement a new set of control sequences for switching
16248 between the normal and alternate VT100 screens. These work
16249 around the older sequences limitation that required
16250 modification of the runtime $TERMCAP to cooperate with the
16251 titeInhibit resource (that can't work with terminfo). I do this
16252 by moving all of the functionality of the rmcur terminfo
16253 capability into the control sequences.</li>
16254
16255 <li>implement the alternate-screen menu entry</li>
16256 </ul>
16257
16258 <h1><a name="xterm_53" id="xterm_53">Patch #53 - 1997/10/12 -
16259 XFree86 3.9r</a></h1>
16260
16261 <p>This patch adds a fix and implements a new feature (as well as
16262 some minor typos):</p>
16263
16264 <ul>
16265 <li>[email protected] (JCHANDRA) noted that there was still a
16266 problem with the wait call with the logging option. It hung
16267 when the logfile was opened as a command-line option. I fixed
16268 this by moving the StartLogging() call down past the place
16269 where I'd reset the setuid mode. So the logfile is opened as
16270 the real user, without having to fork.</li>
16271
16272 <li>improve Rohleder's changes by renaming the command-line
16273 options and reducing the number of ifdef's.</li>
16274
16275 <li>implement right-scrollbars for xterm (patch by Michael
16276 Rohleder &lt;[email protected]&gt;).</li>
16277 </ul>
16278
16279 <h1><a name="xterm_52" id="xterm_52">Patch #52 - 1997/9/29 -
16280 XFree86 3.9q</a></h1>
16281
16282 <p>This patch addresses bugs and requests reported by</p>
16283
16284 <ul>
16285 <li>Bob Maynard &lt;[email protected]&gt;,</li>
16286
16287 <li>Clint Olsen &lt;[email protected]&gt;,</li>
16288
16289 <li>[email protected] (JCHANDRA),</li>
16290
16291 <li>Michael Schroeder
16292 &lt;[email protected]&gt;,</li>
16293
16294 <li>Pablo Ariel Kohan &lt;[email protected]&gt;</li>
16295 </ul>
16296
16297 <p>Some of the changes are interrelated (it was an unusually busy
16298 week).</p>
16299
16300 <ul>
16301 <li>change the default resource value for colorMode to true,
16302 matching the Xterm.ad file.</li>
16303
16304 <li>correct behavior of 'ech' control, making the default and 0
16305 parameters erase one character rather than to the end of line
16306 (reported by Michael Schroeder).</li>
16307
16308 <li>add resource boldColors, command-line options +pc and -pc
16309 and configure-script option to specify behavior of xterm's
16310 mapping bold colors 0 through 7 to colors 8 through 15.
16311 (request by Pablo Ariel Kohan).</li>
16312
16313 <li>add resource colorAttrMode to specify whether colorULMode
16314 and colorBDMode can override the ANSI colors (report by Clint
16315 Olsen).</li>
16316
16317 <li>correct a conflict between colorULMode/colorBDMode versus
16318 ANSI colors, where exposure events would occasionally pick up
16319 the former (e.g., colorBD) rather than ANSI colors. Testing the
16320 colorAttrMode made this apparent, though it has been in the
16321 code since 3.2A (<a href="#xterm_35">patch #35</a> in Jan
16322 1997).</li>
16323
16324 <li>correct two problems with the optional logging support. On
16325 Linux at least, the waitpid call in creat_as hangs when the
16326 logging is toggled from the popup menu. Also, the mktemp
16327 template has the wrong number of X's (since X11R5!). Fixed the
16328 waitpid problem by exploiting the fact that the setuid behavior
16329 is reset before the popup menus are available. (reported by
16330 Jayachandran C.).</li>
16331
16332 <li>add configure script options for building with the Xaw3d
16333 and neXtaw libraries.</li>
16334
16335 <li>correct CF_IMAKE_CFLAGS standalone configure script macro,
16336 so that it will pick up $(ALLDEFINES) rather than
16337 $(STD_DEFINES). This is needed to make scrollbars work on
16338 Linux, since that uses narrow prototypes. (reported by Bob
16339 Maynard).</li>
16340
16341 <li>various minor updates to configure-script macros.</li>
16342 </ul>
16343
16344 <h1><a name="xterm_51" id="xterm_51">Patch #51 - 1997/9/15 -
16345 XFree86 3.9p</a></h1>
16346
16347 <p>Most of this patch is related to the standalone configure
16348 script, though there are fixes/enhancements as well:</p>
16349
16350 <ul>
16351 <li>add a new resource sunKeyboard, with associated
16352 command-line option and menu-toggle that allows using a normal
16353 Sun or PC keyboard to generated the complete DEC-style function
16354 keys and keypad.</li>
16355
16356 <li>correct a reversed foreground/background test in the
16357 control sequence that replies with the current SGR
16358 settings.</li>
16359
16360 <li>correct, by invoking XSync, a display problem that caused
16361 the program to not properly update newly exposed areas when a
16362 font change or 80/132 resize request was not completely
16363 accepted.</li>
16364
16365 <li>restructured autoconf macros (I made a library of all of
16366 the macros across the complicated configure scripts I'm working
16367 on).</li>
16368
16369 <li>use the autoconf config.guess and config.sub scripts to
16370 better identify the host-os.</li>
16371
16372 <li>improve the configure script that uses 'imake' as a
16373 fallback for definitions.</li>
16374
16375 <li>correct several instances of unsigned/signed mixed
16376 expressions.</li>
16377 </ul>
16378
16379 <p>I've tested the configure script on Linux, SunOS 4.1.3,
16380 Solaris 2.5.1, IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but
16381 the last run properly as well).</p>
16382
16383 <h1><a name="xterm_50" id="xterm_50">Patch #50 - 1997/8/22 -
16384 XFree86 3.9m</a></h1>
16385
16386 <p>This is a collection of small fixes, and a couple of minor
16387 enhancements:</p>
16388
16389 <ul>
16390 <li>plug a security hole in the implementation of Media Copy
16391 (print) by invoking setuid just before the main loop.</li>
16392
16393 <li>add an ifdef'd include for &lt;sys/termio.h&gt; for HP-UX,
16394 which allows the program to process SIGWINCH events (this is a
16395 bug in X11R6.3)</li>
16396
16397 <li>add state-table entries for VT52 emulation to enter/exit
16398 keypad application mode.</li>
16399
16400 <li>disable the popup-menu entry for 8-bit controls when the
16401 terminal-id is less than 200 (e.g., VT52 or VT100).</li>
16402
16403 <li>ensure that the popup-menu entry for 8-bit controls is
16404 updated when the application enables/disables this mode,
16405 including the response to a full-reset.</li>
16406
16407 <li>implement VT300 DECBKM feature: set interpretation of the
16408 backarrow key to either backspace or delete. The initial
16409 setting is via resource; it can also be modified in the main
16410 popup menu.</li>
16411
16412 <li>implement VTxxx KAM (ISO AM), which allows a keyboard to be
16413 locked (i.e., the terminal discards input).</li>
16414
16415 <li>implement VTxxx SRM, which is used to control local echoing
16416 of input on the terminal.</li>
16417
16418 <li>add terminfo and termcap entries for xterm-8bit, a
16419 variation of the xterm description that uses 8-bit control
16420 characters.</li>
16421
16422 <li>add fallback definitions for Imakefile to allow it to work
16423 on some X11R5 systems that have no SpecialCObjectRule or
16424 ProgramTargetName macros.</li>
16425
16426 <li>add .c.o and .c.i rules to standalone Makefile.in</li>
16427
16428 <li>correct order of -lXmu and -lXext in standalone configure
16429 script.</li>
16430
16431 <li>add configure script options to allow selective disabling
16432 of active-icon, input-method and i18n code (mainly for users
16433 with X11R5 or an incomplete X11R6 configuration).</li>
16434
16435 <li>change menu-indices from #define's to enum values, thereby
16436 making it work better with the ifdef's for logging and
16437 active-icon (the X11R6.3 active-icon code is incorrectly
16438 ifdef'd; this corrects an error introduced by incorporating
16439 that code).</li>
16440
16441 <li>correct minor compile errors in the configuration where
16442 active-icon is not used.</li>
16443
16444 <li>add configure option to suppress echoing of long compiler
16445 commands</li>
16446
16447 <li>correct spelling of decTerminalID in configure script help
16448 message</li>
16449
16450 <li>use gcc __attribute__((unused)) to quiet warnings about
16451 unused parameters when compiling with -W (to make it simpler to
16452 find the real problems).</li>
16453 </ul>
16454
16455 <h1><a name="xterm_49" id="xterm_49">Patch #49 - 1997/8/10 -
16456 XFree86 3.9k</a></h1>
16457
16458 <p>This patch implements the VT100/VT220 Media Copy (i.e.,
16459 print-screen) control sequences.</p>
16460
16461 <h1><a name="xterm_48" id="xterm_48">Patch #48 - 1997/7/26 -
16462 XFree86 3.9j</a></h1>
16463
16464 <p>This patch does the following (all but the first affect only
16465 the standalone configure script):</p>
16466
16467 <ul>
16468 <li>minor correction to positioning of underlines for small
16469 (e.g., 5x8) font size.
16470 <p>The existing behavior allowed underlines to be drawn
16471 outside the character-cell, so they weren't cleared properly
16472 under some circumstances.</p>
16473 </li>
16474
16475 <li>adds more special-case tokens to the standalone configure
16476 script's imake-option filter (e.g., "&amp;&amp;", since a "make
16477 -n main.o" on my IRIX system uses that shell construct).</li>
16478
16479 <li>adds a '--enable-logging' option for the standalone
16480 configure script.</li>
16481
16482 <li>adds check and ifdef's for the standalone configure script
16483 to allow for building on platforms with X11R6, which lacks
16484 Xpoll.h (introduced in X11R6.1).</li>
16485 </ul>
16486
16487 <h1><a name="xterm_47" id="xterm_47">Patch #47 - 1997/7/13 -
16488 XFree86 3.9i</a></h1>
16489
16490 <p>This patch does the following</p>
16491
16492 <ul>
16493 <li>corrects an indexing error in the doublesize character
16494 logic (button.c) that caused core dump (this was reported by J.
16495 Wunsch).</li>
16496
16497 <li>corrects the logic of ShowCursor when it is painting in a
16498 doublesize cell (charproc.c).</li>
16499
16500 <li>corrects, according to vttest, the behavior when switching
16501 to doublesize characters and back again (doublechr.c).</li>
16502
16503 <li>adds cbt (back_tab) to the terminfo description (this was
16504 something that I'd overlooked as applicable to curses
16505 optimization last summer).</li>
16506
16507 <li>corrects, for the standalone xmc test, the logic for
16508 disabling xmc.</li>
16509 </ul>
16510
16511 <h1><a name="xterm_46" id="xterm_46">Patch #46 - 1997/7/4 -
16512 XFree86 3.9h</a></h1>
16513
16514 <p>This is a patch to provide test-support for some work I'm
16515 doing on ncurses. It does not modify the normal configuration of
16516 xterm; the code is compiled if the standalone configure option
16517 "--enable-xmc-glitch" is specified.</p>
16518
16519 <h1><a name="xterm_45" id="xterm_45">Patch #45 - 1997/7/2 -
16520 XFree86 3.9h</a></h1>
16521
16522 <p>This fixes the problem reported with xterm's cursor color
16523 versus the background (the second chunk in this patch) and also
16524 removes some duplicate initialization of the cursor GC's. If the
16525 cursor color at startup is the same as the background, then xterm
16526 will use the reverse GC, ignoring the setting of the colorMode
16527 resource.</p>
16528
16529 <h1><a name="xterm_44" id="xterm_44">Patch #44 - 1997/6/22 -
16530 XFree86 3.9g</a></h1>
16531
16532 <p>This implements the first part of the VT100 doublesize
16533 characters for xterm, as well as fixing a handful of bugs:</p>
16534
16535 <ul>
16536 <li>the doublesize character support uses the normal font
16537 (using scaled fonts will be another patch) with blanks to
16538 simulate doublesize characters. This patch does most of the
16539 global changes that'll be required. I've hidden most of the
16540 details in macros and ifdef's so it's easy to configure out
16541 (part of the patch is a configure option for that
16542 purpose).</li>
16543
16544 <li>corrected limits in DeleteChar() function -- it's always
16545 ignored the size of the left border and scrollbar. I noticed
16546 this when working on the doublesize characters since the glitch
16547 was doubled in size (i.e., it wrapped some garbage around the
16548 right margin).</li>
16549
16550 <li>corrected 'memmove()' logic, for standalone builds (it
16551 referenced a malloc wrapper from my development library).</li>
16552
16553 <li>add a check for HideCursor() to prevent repeated screen
16554 updates (which can cause a spurious cursor glitch to appear,
16555 e.g., during scrolling). I noticed this with the 3.2A version
16556 (but only a few weeks ago, when I started working on this
16557 patch).</li>
16558 </ul>
16559
16560 <h1><a name="xterm_43" id="xterm_43">Patch #43 - 1997/6/10 -
16561 XFree86 3.9d</a></h1>
16562
16563 <p>Here's a fix for two problems:</p>
16564
16565 <ul>
16566 <li>modify handling of tgetent results in xterm and resize
16567 programs to make them tolerant of missing termcap file, or
16568 unknown terminal name. In this scheme, an explicit "-tn" option
16569 will succeed, overriding the fallback list.</li>
16570
16571 <li>a nit in the configure script (log extra information to
16572 help diagnose which case of the test-compile of tgetent was
16573 used).</li>
16574 </ul>
16575
16576 <h1><a name="xterm_42" id="xterm_42">Patch #42 - 1997/6/8 -
16577 XFree86 3.2Xl</a></h1>
16578
16579 <p>Bram Moolenaar reported that the cursor color changed
16580 unexpectedly while scrolling. The cause was that it used the same
16581 GC's as the logic that draws the ANSI colors. The bug only
16582 appears if the cursorColor resource isn't set, and has been
16583 present since the initial implementation early last year. (The
16584 same bug also appears in rxvt ;-). Here's a fix.</p>
16585
16586 <h1><a name="xterm_41" id="xterm_41">Patch #41 - 1997/5/28 -
16587 XFree86 3.2Xl</a></h1>
16588
16589 <p>Some nits found by Darren Hiebert (missing part of
16590 install-rule, incorrect assignment for --enable-color-mode
16591 option).</p>
16592
16593 <h1><a name="xterm_40" id="xterm_40">Patch #40 - 1997/5/26 -
16594 XFree86 3.2Xl</a></h1>
16595
16596 <p>Patch for the configure script's logic for obtaining imake
16597 predefined symbols.</p>
16598
16599 <h1><a name="xterm_39" id="xterm_39">Patch #39 - 1997/5/24 -
16600 XFree86 3.2Xl</a></h1>
16601
16602 <p>This patch does the following:</p>
16603
16604 <ul>
16605 <li>integrate the 16-color change for 'xterm'</li>
16606
16607 <li>minor fixes/clarification of tgetent in terminfo vs termcap
16608 to 'resize'</li>
16609 </ul>
16610
16611 <p>(both changes also modify the configure script)</p>
16612
16613 <h1><a name="xterm_38" id="xterm_38">Patch #38 - 1997/5/22 -
16614 XFree86 3.2Xh</a></h1>
16615
16616 <p>This implements a simple configuration script with autoconf
16617 (to which I'll add more options later). It does the
16618 following:</p>
16619
16620 <ul>
16621 <li>configures xterm to build with X11R5 (at least on SunOS
16622 4.1, Solaris 2.4, possibly IRIX - sorry network was down today,
16623 but I did test an earlier version yesterday).</li>
16624
16625 <li>enables/disables the configuration ifdef's for ANSI color
16626 and VT52 emulation.</li>
16627 </ul>
16628
16629 <p>It does not make tests for the things that imake does (that's
16630 another project), instead it uses a hybrid of the autoconf tests
16631 for libraries and adds imake's compiler options (which are
16632 necessary in some cases to get main.c to compile).</p>
16633
16634 <h1><a name="xterm_37" id="xterm_37">Patch #37 - 1997/5/7 -
16635 XFree86 3.9a</a></h1>
16636
16637 <p>This corrects a minor, but annoying error in the vt220
16638 emulation: the DECUDK is only supposed to be interpreted for
16639 _shifted_ function keys.</p>
16640
16641 <h1><a name="xterm_36" id="xterm_36">Patch #36 - 1997/1/16 -
16642 XFree86 3.2r</a></h1>
16643
16644 <p>This corrects something that I overlooked in patch #27
16645 (21-aug-1996), which is that when trimming the region to be
16646 repainted for the highlightSelection resource of xterm, I still
16647 have to paint the background past the highlighted region. This
16648 only happens when I first do a selection in a window that's
16649 partly off-screen, then move the window on-screen.</p>
16650
16651 <h1><a name="xterm_35" id="xterm_35">Patch #35 - 1997/1/7 -
16652 XFree86 3.2o</a></h1>
16653
16654 <p>This patch does the following:</p>
16655
16656 <ul>
16657 <li>combines the coding for foreground and background colors
16658 into a single byte, reducing the memory required to store
16659 saved-lines in color. (I'll take back that byte in a following
16660 patch to use to ensure the character-set, so there's no
16661 long-term decrease in memory use).</li>
16662
16663 <li>modifies the PF1-PF4 coding in termcap/terminfo. Because
16664 xterm is still by default emulating vt100, the function key
16665 codes are vt100-compatible (I overlooked this in patch #31). I
16666 also reformatted the whole terminfo file into a single-column,
16667 for consistency.</li>
16668
16669 <li>adds an interim xterm-vt220 description to accommodate the
16670 old and new styles of function-keys (though probably it'd be
16671 better to drop the old-style altogether).</li>
16672 </ul>
16673
16674 <h1><a name="xterm_34" id="xterm_34">Patch #34 - 1997/1/5 -
16675 XFree86 3.2o</a></h1>
16676
16677 <p>This patch does the following:</p>
16678
16679 <ul>
16680 <li>implement DECSTR (soft terminal reset). The biggest diff is
16681 due to adding another state table (note that there's only one
16682 useful state here, but it's only 256 bytes rather than 1k as it
16683 would have been before I reduced the size of state
16684 entries).</li>
16685
16686 <li>some minor tidying up (e.g., signed/unsigned use bitcpy,
16687 MODE_DECCKM, resetColor, resetCharsets). More is done in
16688 <a href="#xterm_35">patch #35</a>.</li>
16689 </ul>
16690
16691 <p>I got the description of DECSTR from a vt420 user's manual.
16692 I'll do some testing with vttest to ensure that there's nothing
16693 else to do than what was documented.</p>
16694
16695 <h1><a name="xterm_33" id="xterm_33">Patch #33 - 1996/11/24 -
16696 XFree86 3.2</a></h1>
16697
16698 <p>This adds to the reset-fix by Matthieu Herrb
16699 &lt;[email protected]&gt; a small change to make xterm able
16700 to output 8-bit characters in VT100 mode. Applications that run
16701 on real VT100's don't do that anyway, and this feature should be
16702 removed sometime after finishing off the VT220 emulation (VT220's
16703 can do 8-bit characters). That would be a good time to change the
16704 default terminal-id to 220.</p>
16705
16706 <h1><a name="xterm_32" id="xterm_32">Patch #32 - 1996/11/21 -
16707 XFree86 3.2</a></h1>
16708
16709 <p>This implements the REP (repeat) control for xterm. That isn't
16710 part of the DEC VTxxx series, but is defined in ISO 6429. (Note
16711 that the base xterm terminal description is <em>not</em> changed
16712 -- I added a variant, "xterm-rep").</p>
16713
16714 <h1><a name="xterm_31" id="xterm_31">Patch #31 - 1996/11/16 -
16715 XFree86 3.2</a></h1>
16716
16717 <p>This implements vt52 emulation in xterm (ifdef'd so it can be
16718 removed). I've been using it for testing for the past month or
16719 so.</p>
16720
16721 <h1><a name="xterm_30" id="xterm_30">Patch #30 - 1996/11/16 -
16722 XFree86 3.2</a></h1>
16723
16724 <p>From bug-report by &lt;[email protected]&gt; (Denis
16725 Auroux), missing reset to ground state. I checked through the
16726 rest of <em>that</em> table and found another, in the
16727 unimplemented MC (screen print).</p>
16728
16729 <h1><a name="xterm_29" id="xterm_29">Patch #29 - 1996/9/15 -
16730 XFree86 3.1.2Gb</a></h1>
16731
16732 <p>This patch does the following:</p>
16733
16734 <ul>
16735 <li>corrects the restoration of color for bold/underline color
16736 mode</li>
16737
16738 <li>adds a resource 'decTerminalID' to control the reporting
16739 level of xterm (e.g., VT100, VT220).</li>
16740
16741 <li>uses the new resource to implement/correct the DA1, DA2 and
16742 DECRPTUI reports.</li>
16743
16744 <li>change valid-response code in DECRQSS from 0 to 1 (the
16745 manual says 0, but the VT420 terminal I've been testing on says
16746 1).</li>
16747 </ul>
16748
16749 <p>All of these changes are based on vttest 2.6</p>
16750
16751 <p>(Most of the volume in the patch is to add 2 more state tables
16752 for parsing the 2nd/3rd device-attribute controls).</p>
16753
16754 <h1><a name="xterm_28" id="xterm_28">Patch #28 - 1996/8/31 -
16755 XFree86 3.1.2F</a></h1>
16756
16757 <p>This patch corrects the following reported by Roland Rosenfeld
16758 &lt;[email protected]&gt;:</p>
16759
16760 <ul>
16761 <li>handle SGR 22, 24 and 25 in combination with colorUL and
16762 colorBD resources. Also noted &amp; fixed reset of colored
16763 underline/bold with SGR 0.</li>
16764
16765 <li>a typo in the termcap (missing '['), from 3.1.2Dj (my
16766 error)</li>
16767 </ul>
16768
16769 <p>Roland also complained that he couldn't use box characters
16770 with</p>
16771
16772 <pre>
16773 -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
16774 </pre>
16775 <p>but that's a known xterm limitation (the box characters must
16776 be part of the font, in the first 32 locations).</p>
16777
16778 <h1><a name="xterm_27" id="xterm_27">Patch #27 - 1996/8/21 -
16779 XFree86 3.1.2Ek</a></h1>
16780
16781 <p>This patch fixes one of my long-term gripes: xterm's selection
16782 doesn't clearly show what's being selected (as per David's
16783 request, it's controlled by a resource, which defaults to the
16784 older behavior).</p>
16785
16786 <h1><a name="xterm_26" id="xterm_26">Patch #26 - 1996/8/20 -
16787 XFree86 3.1.2Ei</a></h1>
16788
16789 <p>Here's a patch to fix a problem with xterm's cut/paste and
16790 another to modify the appearance of the highlighting while
16791 selecting. (The changes are independent, so you can see if the
16792 change to screen.c is desirable).</p>
16793
16794 <h1><a name="xterm_25" id="xterm_25">Patch #25 - 1996/8/18 -
16795 XFree86 3.1.2Ei</a></h1>
16796
16797 <p>Here's a correction for two minor bugs that I picked up in
16798 testing, plus some lint (from Solaris 2.5) where NULL was used
16799 incorrectly:</p>
16800
16801 <ul>
16802 <li>make the second alternate font the same as the first
16803 (that's what vt420 and dtterm do)</li>
16804
16805 <li>corrected DECSCL report when DECSCL hasn't been set (i.e.,
16806 don't return a '60').</li>
16807 </ul>
16808
16809 <h1><a name="xterm_24" id="xterm_24">Patch #24 - 1996/8/11 -
16810 XFree86 3.1.2Ee</a></h1>
16811
16812 <p>This patch does several things. In effect, xterm can (I think)
16813 do a reasonably good job of emulating vt220 and vt320 terminals
16814 (as well as it was doing vt100, at any rate ;-).</p>
16815
16816 <p>It does NOT do:</p>
16817
16818 <ul>
16819 <li>soft fonts</li>
16820
16821 <li>rigel or sixel graphics</li>
16822 </ul>
16823
16824 <p>Anyway, I:</p>
16825
16826 <ul>
16827 <li>added ECH, CPL, CNL, SU, SD, CBT, CHT controls</li>
16828
16829 <li>added popup-menu for switching between DEC and Sun function
16830 keys. (corrected alignment err wrt logging entry at that
16831 point).</li>
16832
16833 <li>make xterm recognize both 8-bit and 7-bit controls
16834 (including popup menu for switching modes).</li>
16835
16836 <li>add user-definable function keys (aka DECUDK)</li>
16837
16838 <li>support concealed text</li>
16839
16840 <li>support protected text (both ISO compatible and DEC
16841 compatible - that's not the same thing, btw), with SPA, EPA,
16842 DECSCA, DECSED, DECSEL controls.</li>
16843
16844 <li>implement DECSCL.</li>
16845 </ul>
16846
16847 <p>I'll be continuing to test this patch for a while, but don't
16848 expect to add any new functionality (it passes all of the current
16849 tests I've built in vttest, but I need to make more tests)..</p>
16850
16851 <h1><a name="xterm_23" id="xterm_23">Patch #23 - 1996/7/31 -
16852 XFree86 3.1.2Ec</a></h1>
16853
16854 <p>This removes the blinking cursor I added last week (for
16855 performance reasons). Time-permitting, I'll revisit this after
16856 3.2 is released (there <em>will</em> be more work after XFree86
16857 3.2, I assume).</p>
16858
16859 <h1><a name="xterm_22" id="xterm_22">Patch #22 - 1996/7/26 -
16860 XFree86 3.1.2Ec</a></h1>
16861
16862 <p>I looked more closely at my "double-negative" and realized
16863 that I had been confused by the default color scheme (black on
16864 white) in combination with reverse video. However, I did see that
16865 the original_fg and original_bg data weren't really used - so I
16866 removed that logic.</p>
16867
16868 <p>Also:</p>
16869
16870 <ul>
16871 <li>during initialization, check if ANSI colors are set with
16872 non fg/bg values, disable color mode if not. This makes xterm
16873 tolerant of applications that allocate the whole color
16874 map.</li>
16875
16876 <li>implemented blinking cursor (default is <em>off</em>)</li>
16877 </ul>
16878
16879 <h1><a name="xterm_21" id="xterm_21">Patch #21 - 1996/7/24 -
16880 XFree86 3.1.2Ec</a></h1>
16881
16882 <p>This patch does the following:</p>
16883
16884 <ul>
16885 <li>fixes some minor typography in the control-sequences
16886 documentation (it didn't occur to me til I'd sent the last
16887 patch that I could use ghostview for previewing the troff
16888 output ;-)</li>
16889
16890 <li>adjusts the shell's background color in ReverseVideo so
16891 that flicker in resizing is reduced</li>
16892
16893 <li>adds an ifdef OPT_ISO_COLORS to allow configuring xterm
16894 without the ISO color support (saves a lot of memory)</li>
16895
16896 <li>used that ifdef to isolate/modify logic so that if the user
16897 doesn't have the colorMode enabled, then ISO color support is
16898 disabled (saving memory).
16899 <p>(If anyone needs numbers, I had savedLines set to 2000,
16900 and found a reduction from ~700k to ~400k of allocated
16901 memory, according to Purify).</p>
16902 </li>
16903 </ul>
16904
16905 <h1><a name="xterm_20" id="xterm_20">Patch #20 - 1996/7/24 -
16906 XFree86 3.1.2Ec</a></h1>
16907
16908 <p>This documents the changes in control sequences for window
16909 operations that I added in my previous patch. I'm testing another
16910 patch that allows the user to use less memory if colors aren't
16911 needed.</p>
16912
16913 <h1><a name="xterm_19" id="xterm_19">Patch #19 - 1996/7/21 -
16914 XFree86 3.1.2Ec</a></h1>
16915
16916 <p>This patch does the following:</p>
16917
16918 <ul>
16919 <li>fixes the core dump that I reported on IRIX 5.2 (in main.c)
16920 <p>(it's worth noting that this bug exists in X11R6.1, so I'd
16921 like to assume that someone's already submitted a fix to X
16922 Consortium...)</p>
16923 </li>
16924
16925 <li>change the interpretation of zero rows or columns in a
16926 resize-window request to use the root window's size (looking
16927 more carefully at dtterm, that seems to be what it does).</li>
16928
16929 <li>change some memmove calls to memcpy for slightly better
16930 performance. also, a couple of memset calls to bzero, since
16931 Quantify says bzero runs 20% faster, I assume because there's
16932 one less argument.</li>
16933
16934 <li>interpret character sets 1 and 2 (so that vttest gives a
16935 reasonable result) Both rxvt and dtterm do something
16936 equivalent.</li>
16937
16938 <li>fix a minor memory leak in the logic that retrieves the
16939 window or icon names (Purify found this for me while I ran
16940 vttest).</li>
16941 </ul>
16942
16943 <h1><a name="xterm_18" id="xterm_18">Patch #18 - 1996/7/18 -
16944 XFree86 3.1.2Ec</a></h1>
16945
16946 <p>This implements the following:</p>
16947
16948 <ul>
16949 <li>escape sequences that act like the CDE dtterm's window
16950 operations (though I have implemented the default width and
16951 height -- I've seen a rather buggy dtterm running that seems to
16952 treat width=0 or height=0 literally -- maybe that's a feature,
16953 not a bug?)</li>
16954
16955 <li>minor tweak to the screen-repainting when resizing (I still
16956 cannot entirely get rid of flicker).</li>
16957
16958 <li>still more fixes to terminfo &amp; termcap (I corrected my
16959 error for the hpa code and added some other stuff by comparing
16960 to ncurses' description and rxvt's).</li>
16961
16962 <li>a tweak to the changes by Michael Rohleder for the color
16963 translation</li>
16964
16965 <li>re-order attribute codes to allow later implementation of
16966 protected fields (dtterm supposedly does this; it's probably
16967 more useful than blinking or invisible text -- that uses up all
16968 of the available bits without changing the attribute scheme
16969 radically).</li>
16970 </ul>
16971
16972 <h1><a name="xterm_17" id="xterm_17">Patch #17 - 1996/7/2 -
16973 XFree86 3.1.2Eb</a></h1>
16974
16975 <p>This patch implements for xterm several minor features from
16976 ISO 6429 which are useful for terminfo applications. The HPA and
16977 VPA control sequences allow cursor movement along a row or
16978 column, cutting down a little on the characters transmitted. The
16979 other codes allow resetting specific graphic rendition attributes
16980 without modifying the other attributes. (now if someone just had
16981 time to implement blinking cursors...)</p>
16982
16983 <h1><a name="xterm_16" id="xterm_16">Patch #16 - 1996/6/25 -
16984 XFree86 3.1.2Ea</a></h1>
16985
16986 <p>Adam Tla/lka &lt;[email protected]&gt; told me a couple of weeks
16987 ago that I'd missed some of the background coloring in xterm. I
16988 investigated, and found that while I'd picked up on the
16989 clear-to-bottom and clear-to-end-of-line operations, I'd
16990 overlooked the insert/delete lines. Just so I wouldn't overlook
16991 any more of these, I updated a copy of vttest to test ISO colors
16992 and bce (background color erase). This patch introduces a new
16993 function, ClearCurBackground, whose calls replace the direct
16994 XClearArea calls that I'd overlooked. (There's also a few
16995 compiler warnings fixed, etc ;-)</p>
16996
16997 <h1><a name="xterm_15" id="xterm_15">Patch #15 - 1996/5/29 -
16998 XFree86 3.1.2E</a></h1>
16999
17000 <p>This fixes the problem reported by David Dawes, by making the
17001 50msec select timeout for the Xaw3d arrow scrollbar a resource.
17002 (I made it a boolean for a variety of reasons -- to make it a
17003 number, you'd need an additional resource, to avoid breaking the
17004 logic).</p>
17005
17006 <h1><a name="xterm_14" id="xterm_14">Patch #14 - 1996/5/12 -
17007 XFree86 3.1.2Dj</a></h1>
17008
17009 <p>This patch brings the termcap and terminfo descriptions for
17010 xterm up to date. I made the following changes:</p>
17011
17012 <ul>
17013 <li>reformatted the terminfo description in a single-column
17014 (this is ok for terminfo, and will simplify future patches --
17015 can't do that for termcap, since it would impact buffer
17016 requirements on some systems).</li>
17017
17018 <li>omitted obsolete features in termcap to save a little space
17019 (bs, pt)</li>
17020
17021 <li>added color capabilities to termcap (ut, Co, NC, op, AB,
17022 AF)</li>
17023
17024 <li>corrected some capabilities (vi, ve)</li>
17025
17026 <li>added 'st' (set tab)</li>
17027
17028 <li>reduced function keys in termcap for 'xterm' to 12 because
17029 color capabilities makes that description larger than 1023
17030 characters.</li>
17031
17032 <li>created new termcap name 'xtermm' (monochrome) to match the
17033 terminfo list, and make that description have 20 function
17034 keys.</li>
17035
17036 <li>added corresponding color capabilities to terminfo (bce,
17037 colors, pairs, op, ncv, setab, setaf)</li>
17038
17039 <li>corrected corresponding capabilities in terminfo (civis,
17040 cnorm, rmcup, smcup)</li>
17041
17042 <li>added capabilities (el1, hts)</li>
17043
17044 <li>in both, corrected home/end keys to match the code
17045 correction made by Thomas Mueller in 3.1.2Bk
17046 <p>=&gt; (I'm still considering modifying the code &amp;
17047 description to match the rxvt program).</p>
17048 </li>
17049 </ul>
17050
17051 <h1><a name="xterm_13" id="xterm_13">Patch #13 - 1996/4/23 -
17052 XFree86 3.1.2Df</a></h1>
17053
17054 <p>This corrects my earlier changes for colors - the inner border
17055 of the xterm was getting painted with the wrong color, since I'd
17056 moved the call to set the background into the logic that tracks
17057 SGR information.</p>
17058
17059 <h1><a name="xterm_12" id="xterm_12">Patch #12 - 1996/3/16 -
17060 XFree86 3.1.2Dc</a></h1>
17061
17062 <p>This corrects a memory leak in xterm that happens whenever one
17063 switches fonts.</p>
17064
17065 <h1><a name="xterm_11" id="xterm_11">Patch #11 - 1996/3/5 -
17066 XFree86 3.1.2Db</a></h1>
17067
17068 <p>This patch corrects the behavior of the ANSI colors in xterm
17069 when reverse video is used, as well as some other lesser
17070 sins:</p>
17071
17072 <ul>
17073 <li>button.c
17074 <ul>
17075 <li>(compiler warnings: shadowing of 'time', redundant
17076 cast)</li>
17077 </ul>
17078 </li>
17079
17080 <li>charproc.c
17081 <ul>
17082 <li>renamed screen.colors[] array to screen.Acolors[] to
17083 more easily distinguish the non-ANSI colors from the ANSI
17084 colors.</li>
17085
17086 <li>moved logic of SGR_Save() into VTInitialize, getting
17087 rid of local private variables original_fg and
17088 original_bg.</li>
17089
17090 <li>moved some logic into getXtermForeground and
17091 getXtermBackground from SGR_Foreground, SGR_Background,
17092 etc.</li>
17093
17094 <li>corrected misleading 'row' to 'col' in case for CUF,
17095 CUB sequences.</li>
17096 </ul>
17097 </li>
17098
17099 <li>ctlseqs.ms</li>
17100
17101 <li>xterm.man
17102 <ul>
17103 <li>(correct a misconception which I'd added that the
17104 color0 through color6 resource values apply to non-ANSI
17105 colors)</li>
17106 </ul>
17107 </li>
17108
17109 <li>ptyx.h
17110 <ul>
17111 <li>added original_fg, original_bg to TScreen
17112 structure.</li>
17113 </ul>
17114 </li>
17115
17116 <li>scrollbar.c
17117 <ul>
17118 <li>(compiler warnings: redundant cast)</li>
17119 </ul>
17120 </li>
17121
17122 <li>util.c
17123 <ul>
17124 <li>new functions getXtermForeground and getXtermBackground
17125 replace the macros GET_FG and GET_BG, with the added
17126 functionality of checking for the reverse-video status of
17127 xterm.</li>
17128
17129 <li>in ReverseVideo, swap the SGR foreground and background
17130 colors also.</li>
17131 </ul>
17132 </li>
17133 </ul>
17134
17135 <h1><a name="xterm_10" id="xterm_10">Patch #10 - 1996/2/14 -
17136 XFree86 3.1.2Cd</a></h1>
17137
17138 <p>I observed an occasional glitch in the xterm's color behavior;
17139 a clear to end of line would get a color that had been used in a
17140 program that supposedly reset colors. I traced this down to the
17141 way xterm was modifying colors of GC's on the fly; it didn't
17142 restore the original color of the GC, even though it would later
17143 be used in functions (such as ClearRight) that assumed (my error)
17144 that the GC would have the current foreground or background
17145 color.</p>
17146
17147 <p>I fixed this by resetting the GC's colors with a new function
17148 'resetXtermGC()', and direct calls on
17149 SGR_Foreground/SGR_Background, as appropriate and using a new
17150 function 'updatedXtermGC()' to encapsulate the logic that
17151 modifies the GC's color. (I also removed some commented-out code
17152 that was trying to do this -- the problem was a little more
17153 obscure).</p>
17154
17155 <h1><a name="xterm_09" id="xterm_09">Patch #9 - 1996/2/10 -
17156 XFree86 3.1.2Cb</a></h1>
17157
17158 <p>This patch fixes the remaining problems that I had making
17159 xterm run with x11r5, as well as a couple of other bugs. It
17160 follows my patch from yesterday, that added ifdef's for some of
17161 the input-method resources.</p>
17162
17163 <ul>
17164 <li>corrected ifdef's that suppress the input-method code
17165 (doesn't exist in my x11r5, and xterm works adequately without
17166 it).</li>
17167
17168 <li>corrected fallback definition for 'Select()' macro (oops:
17169 I'd copied the wrong text...)</li>
17170
17171 <li>moved the declarations for the fd_set variables to
17172 data.[ch]</li>
17173
17174 <li>corrected an ifdef in resize.c (sunos 4.x doesn't have
17175 termcap.h)</li>
17176
17177 <li>corrected (in main.c) some unused/orphaned variables.</li>
17178 </ul>
17179
17180 <h1><a name="xterm_08" id="xterm_08">Patch #8 - 1996/2/9 -
17181 XFree86 3.1.2Cb</a></h1>
17182
17183 <p>This is mostly a documentation patch for xterm. It describes
17184 the color control sequences in more detail, and documents some
17185 other features of xterm that aren't described elsewhere.</p>
17186
17187 <p>I've also added a couple of ifdef's to fix (part of) the
17188 problem that I'm working on (making the program work properly on
17189 x11r5, where I'm doing memory testing -- I have a "good" version
17190 from mid-January, but my resync version doesn't work properly on
17191 x11r5). I'm not done with <em>that</em> yet.</p>
17192
17193 <h1><a name="xterm_07" id="xterm_07">Patch #7 - 1996/1/28 -
17194 XFree86 3.1.2n</a></h1>
17195
17196 <p>I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've
17197 got an S3 card.</p>
17198
17199 <p>This fixes the following in the 3.1.2n xterm:</p>
17200
17201 <ul>
17202 <li>initialize cur_foreground, cur_background in charproc.c
17203 (Purify told me they weren't initialized).</li>
17204
17205 <li>add interpretation of codes 39, 49, to reset background and
17206 foreground to default value (I'm told that ISO 6429 does this;
17207 but I don't have a written reference -- yet -- can anyone help
17208 here?). Anyway, rxvt does it, and it'll solve my remaining
17209 color management problems.</li>
17210
17211 <li>shadowing of 'time' in menu.c</li>
17212
17213 <li>'Cardinal' vs 'int' in scrollbar.c</li>
17214
17215 <li>several changes to permit compile with X11R5 (the system
17216 that I've got Purify on won't be upgraded to X11R6 for a long
17217 time).</li>
17218 </ul>
17219
17220 <p>I built this version (with a minor nit that I'll patch soon)
17221 on SunOS 4.1.3 so that I can test it some more with Purify.</p>
17222
17223 <p><em>btw</em>: the changes made in Xpoll.h won't work on some
17224 older systems, because fd_set isn't a defined type (I've got one
17225 machine at least that this applies to).</p>
17226
17227 <h1><a name="xterm_06" id="xterm_06">Patch #6 - 1996/1/8</a></h1>
17228
17229 <p>This patch does all of the SGR foreground/background fixes
17230 (i.e., clearing the screen after an SGR color is set causes that
17231 color to be used in the foreground and/or background). If the
17232 FG_COLOR and/or BG_COLOR flags aren't set, then the xterm
17233 foreground and background default to the window's values. This
17234 usage is consistent with various types of hardware (especially
17235 the IBM PC), and is also used in rxvt.</p>
17236
17237 <ul>
17238 <li>charproc.c:
17239 <ul>
17240 <li>add/use new macros GET_FG, GET_BG - n/c.</li>
17241
17242 <li>add/use new functions SGR_Foreground() and
17243 SGR_Background() to set corresponding colors in GC's, and
17244 to retain sense of "original" colors.
17245 <p>=&gt; This makes redundant some of the corresponding
17246 logic in HideCursor to set the foreground and background,
17247 but I left it in since it <em>may</em> be fixing an
17248 unrelated requirement.</p>
17249 </li>
17250
17251 <li>set GC's in LoadNewFont() according to whether the SGR
17252 fg/bg colors are active.
17253 <p>=&gt; This fixes some glitches in the accompanying
17254 resize, that leaves parts of the window in the original
17255 background color.</p>
17256 </li>
17257 </ul>
17258 </li>
17259
17260 <li>screen.c:
17261 <ul>
17262 <li>modified ClearBufRows() to use the SGR fg/bg colors if
17263 they're set.</li>
17264
17265 <li>added function ScrnClearLines(), used this to replace
17266 portions of ScrnInsertLine() and ScrnDeleteLine(). The new
17267 function uses the SGR fg/bg colors if they're set.
17268 <p>=&gt; Otherwise, selection after an index or reverse
17269 index will paint the wrong colors.</p>
17270 </li>
17271
17272 <li>modified ScrnDeleteChar() and ScrnInsertChar() to use
17273 SGR fg/bg colors.</li>
17274 </ul>
17275 </li>
17276
17277 <li>util.c:
17278 <ul>
17279 <li>modified ClearRight() so that if either of the SGR
17280 fg/bg colors is set, we don't bzero the attributes and
17281 color arrays, but instead fill them with the appropriate
17282 codes.</li>
17283
17284 <li>modified ClearLeft to use SGR fg/bg colors.</li>
17285 </ul>
17286 </li>
17287 </ul>
17288
17289 <h1><a name="xterm_05" id="xterm_05">Patch #5 - 1996/1/7</a></h1>
17290
17291 <p>This patch modifies the object code, by replacing indexing
17292 expressions with temporary variables with the full indexing
17293 expression. At first glance, this seems inefficient (it did to me
17294 ;-), until remembering comments made in the compilers newsgroups
17295 that trying to "help" the compiler doesn't really work that well.
17296 A good optimizing compiler can do a better job than the
17297 programmer can. (There's a moral in the use of 'register'
17298 variables also, but I won't fix those...).</p>
17299
17300 <p>Anyway, the revised code generates a smaller object...</p>
17301
17302 <ul>
17303 <li>charproc.c:
17304 <ul>
17305 <li>recode index expressions in ShowCursor() and
17306 HideCursor() using SCRN_BUF_xxxxS macros - changes
17307 object.</li>
17308
17309 <li>replace constant '4' by MAX_PTRS - n/c.</li>
17310 </ul>
17311 </li>
17312
17313 <li>ptyx.h:
17314 <ul>
17315 <li>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS
17316 macros, to pick up references to ScrnBuf data directly, and
17317 added MAX_PTRS symbol to pick up those '4' constants strewn
17318 about the code - n/c.</li>
17319 </ul>
17320 </li>
17321
17322 <li>screen.c:
17323 <ul>
17324 <li>recode index expressions in ScreenWrite() using
17325 SCRN_BUF_xxxxS macros - changes object.</li>
17326
17327 <li>replace constant '4' by MAX_PTRS - n/c.</li>
17328
17329 <li>use macros BUF_CHARS, BUF_ATTRS - n/c.</li>
17330
17331 <li>cast calloc to 'Char *' to fix compiler warning on IRIX
17332 - n/c</li>
17333 </ul>
17334 </li>
17335
17336 <li>scrollbar.c:
17337 <ul>
17338 <li>replace constant '4' by MAX_PTRS - n/c.</li>
17339
17340 <li>cast calloc to 'Char *' to fix compiler warning on IRIX
17341 - n/c</li>
17342 </ul>
17343 </li>
17344 </ul>
17345
17346 <h1><a name="xterm_04" id="xterm_04">Patch #4 - 1996/1/7</a></h1>
17347
17348 <p>When setting up for this phase, I saw that you'd corrected the
17349 bug that I found in ClearLeft. I decided to make this series of
17350 patches anyway, since readability never hurt (and there's the
17351 potential for finding another bug while reviewing this set).</p>
17352
17353 <ul>
17354 <li>button.c:
17355 <ul>
17356 <li>use SCRN_BUF_xxxxS macros - n/c</li>
17357 </ul>
17358 </li>
17359
17360 <li>charproc.c:
17361 <ul>
17362 <li>use SCRN_BUF_xxxxS macros - n/c</li>
17363 </ul>
17364 </li>
17365
17366 <li>ptyx.h:
17367 <ul>
17368 <li>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS,
17369 SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four arrays
17370 that are derived from screen-&gt;buf.</li>
17371 </ul>
17372 </li>
17373
17374 <li>screen.c:
17375 <ul>
17376 <li>use SCRN_BUF_xxxxS macros - n/c</li>
17377 </ul>
17378 </li>
17379
17380 <li>util.c:
17381 <ul>
17382 <li>use SCRN_BUF_xxxxS macros - n/c</li>
17383 </ul>
17384 </li>
17385 </ul>
17386
17387 <h1><a name="xterm_03" id="xterm_03">Patch #3 - 1996/1/7</a></h1>
17388
17389 <p>This is my third (and final cleanup) patch for xterm. It gets
17390 rid of the unused stuff, and converts several functions to static
17391 (thereby reducing their scope).</p>
17392
17393 <p>At this point, the only compile warnings I've got (on Linux)
17394 are those about the select arguments (int vs fd_set type), and a
17395 missing declaration for waitpid. Those both are hard to get right
17396 without autoconfigure.</p>
17397
17398 <p>The next patches will address the functional changes...</p>
17399
17400 <ul>
17401 <li>Tekproc.c:
17402 <ul>
17403 <li>changed several functions to 'static' that aren't used
17404 outside this module -- changes object</li>
17405 </ul>
17406 </li>
17407
17408 <li>charproc.c:
17409 <ul>
17410 <li>changed several functions to 'static' that aren't used
17411 outside this module -- changes object</li>
17412
17413 <li>deleted unused function unparsefputs -- changes
17414 object.</li>
17415 </ul>
17416 </li>
17417
17418 <li>main.c:
17419 <ul>
17420 <li>changed several functions to 'static' that aren't used
17421 outside this module -- changes object</li>
17422
17423 <li>ifdef'd out unused function 'consolepr()' -- changes
17424 object</li>
17425
17426 <li>removed unused variable 'dummy_tio' -- changes
17427 object</li>
17428
17429 <li>moved variable 'discipline' to quiet unused-warning --
17430 changes object</li>
17431 </ul>
17432 </li>
17433
17434 <li>main.h:
17435 <ul>
17436 <li>deleted unused definition of DEFBORDERWIDTH - n/c</li>
17437 </ul>
17438 </li>
17439
17440 <li>misc.c:
17441 <ul>
17442 <li>changed several functions to 'static' that aren't used
17443 outside this module -- changes object</li>
17444
17445 <li>provide dummy return statements for xerror and xioerror
17446 to quiet compiler warnings -- changes object</li>
17447 </ul>
17448 </li>
17449
17450 <li>ptyx.h:
17451 <ul>
17452 <li>change sbuf_address and abuf_address to 'Char *' -
17453 n/c</li>
17454 </ul>
17455 </li>
17456
17457 <li>resize.c:
17458 <ul>
17459 <li>changed several functions to 'static' that aren't used
17460 outside this module -- changes object</li>
17461 </ul>
17462 </li>
17463
17464 <li>screen.c:
17465 <ul>
17466 <li>remove unnecessary 'Char **' casts - n/c</li>
17467 </ul>
17468 </li>
17469
17470 <li>util.c:
17471 <ul>
17472 <li>changed several functions to 'static' that aren't used
17473 outside this module -- changes object</li>
17474 </ul>
17475 </li>
17476 </ul>
17477
17478 <h1><a name="xterm_02" id="xterm_02">Patch #2 - 1996/1/7</a></h1>
17479
17480 <p>This is my second patch to xterm. It corrects most of the gcc
17481 warnings (except for some that are due to X header files ;-). I
17482 compared objects to keep track of the changes that don't affect
17483 the object code (n/c) versus those that do.</p>
17484
17485 <p>At this point, I'm compiling (fairly) clean with gcc
17486 options</p>
17487
17488 <pre>
17489 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs
17490 </pre>
17491 <p>(I also compiled with -Wshadow, but while that found some
17492 things that I wanted to find, there's far too many warnings from
17493 the X headers to be usable in this context).</p>
17494
17495 <p>The changes:</p>
17496
17497 <ul>
17498 <li>Tekproc.c:
17499 <ul>
17500 <li>parenthesized expression to avoid gcc warning --
17501 n/c.</li>
17502
17503 <li>corrected nested-extern declaration for Bool
17504 waiting_for_initial_map; ourTopLevelShellArgs, and
17505 number_ourTopLevelShellArgs - n/c</li>
17506 </ul>
17507 </li>
17508
17509 <li>charproc.c:
17510 <ul>
17511 <li>corrected potentially-unintialized variables 'scstype',
17512 'xim', and 'input_style' -- changes object.</li>
17513
17514 <li>adjusted logic of VTparse so that gcc won't warn about
17515 setjmp clobbering parsestate -- changes object.</li>
17516
17517 <li>corrected initialization of 'scstype', which could have
17518 been clobbered by setjmp/longjmp - changes object.</li>
17519
17520 <li>corrected nested-extern declaration of 'term',
17521 'ProgramName' - n/c</li>
17522 </ul>
17523 </li>
17524
17525 <li>cursor.c:
17526 <ul>
17527 <li>corrected nested-extern declaration of 'term' --
17528 n/c</li>
17529
17530 <li>renamed 'term' parameters to avoid gcc -Wshadow warning
17531 - n/c</li>
17532 </ul>
17533 </li>
17534
17535 <li>input.c:
17536 <ul>
17537 <li>change interface of StringInput to assume size_t (i.e.,
17538 unsigned) nbytes -- changes object.</li>
17539
17540 <li>change interface of funcvalue, and sunfuncvalue to use
17541 'KeySym' type instead of 'int' - changes object.</li>
17542 </ul>
17543 </li>
17544
17545 <li>main.c:
17546 <ul>
17547 <li>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h
17548 - n/c</li>
17549
17550 <li>corrected missing params of 'do_hangup()' -- changes
17551 object (note: the missing params were not used).</li>
17552
17553 <li>corrected missing param of 'Error()' -- changes
17554 object</li>
17555
17556 <li>corrected nested-extern 'environ' - n/c</li>
17557
17558 <li>adjusted assignments to 'tty_got_hung' and 'no_dev_tty'
17559 so that gcc can see they won't be clobbered by the longjmp
17560 - changes object.</li>
17561
17562 <li>use Size_t type - n/c.</li>
17563 </ul>
17564 </li>
17565
17566 <li>menu.c:
17567 <ul>
17568 <li>removed redundant prototype for 'do_hangup()' --
17569 n/c.</li>
17570
17571 <li>renamed 'time' parameters to avoid gcc -Wshadow warning
17572 - n/c</li>
17573 </ul>
17574 </li>
17575
17576 <li>menu.h:
17577 <ul>
17578 <li>renamed 'time' parameters to avoid gcc -Wshadow warning
17579 - n/c</li>
17580 </ul>
17581 </li>
17582
17583 <li>misc.c:
17584 <ul>
17585 <li>corrected definition of 'HandleFocusChange()' --
17586 changes object</li>
17587
17588 <li>cast parameters in call to 'TekExpose()' -- n/c</li>
17589
17590 <li>corrected nested-extern declarations of 'term',
17591 'toplevel', ProgramName, and 'environ' -- n/c.</li>
17592
17593 <li>use Size_t type - n/c.</li>
17594 </ul>
17595 </li>
17596
17597 <li>proto.h:
17598 <ul>
17599 <li>moved definition of SIGNAL_T (and SIGNAL_RETURN) here
17600 from main.c, resize.c to allow use of this symbol in
17601 prototypes (mostly in xterm.h).</li>
17602
17603 <li>added definition 'Size_t' to use as corrected type for
17604 strncpy, malloc sizes - n/c.</li>
17605 </ul>
17606 </li>
17607
17608 <li>resize.c:
17609 <ul>
17610 <li>moved SIGNAL_T definition to proto.h -- n/c.</li>
17611
17612 <li>use Size_t type - n/c.</li>
17613 </ul>
17614 </li>
17615
17616 <li>screen.c:
17617 <ul>
17618 <li>use Size_t type - n/c.</li>
17619 </ul>
17620 </li>
17621
17622 <li>tabs.c:
17623 <ul>
17624 <li>corrected nested-extern declaration of 'term' --
17625 n/c</li>
17626 </ul>
17627 </li>
17628
17629 <li>util.c:
17630 <ul>
17631 <li>corrected/supplied parameters to 'TekExpose()' --
17632 changes object (note: 'TekExpose()' doesn't use its
17633 parameters).</li>
17634
17635 <li>corrected nested-extern declaration of
17636 'waiting_for_initial_map' -- n/c.</li>
17637
17638 <li>renamed 'term' parameters to avoid gcc -Wshadow warning
17639 - n/c</li>
17640 </ul>
17641 </li>
17642
17643 <li>xterm.h:
17644 <ul>
17645 <li>prototype 'do_hangup()', 'HandleFocusChange()',
17646 'TekExpose()', 'Error()', 'Exit()' - forces changes in
17647 various places.</li>
17648
17649 <li>adjusted prototypes that pass 'Boolean' arguments to
17650 use 'int' (this is the "correct" ANSI approach to extended
17651 compiles; it's worth mentioning that gcc doesn't meet the
17652 ANSI spec here). I used gcc -Wconversion to find these, but
17653 there's a lot of unrelated warnings that are due to setting
17654 NARROWPROTO in the config - n/c.</li>
17655
17656 <li>renamed 'term' parameters to avoid gcc -Wshadow warning
17657 - n/c</li>
17658 </ul>
17659 </li>
17660 </ul>
17661
17662 <h1><a name="xterm_01" id="xterm_01">Patch #1 - 1996/1/6</a></h1>
17663
17664 <p>This is my first cleanup patch for xterm. It addresses all of
17665 the gcc warnings for -Wall, -Wmissing-prototypes and
17666 -Wstrict-prototypes that I can change without modifying the
17667 object code. (I'm compiling this with gcc 2.7.0 for an aout
17668 target, which makes it simple to compare objects. When I do
17669 ELF-only, I've got a tool that compares that sort of thing as
17670 well).</p>
17671
17672 <p>Briefly, this patch adds (and uses) two header files in the
17673 xterm directory:</p>
17674
17675 <pre>
17676 proto.h
17677 xterm.h
17678 </pre>
17679 <p>I expect this to be the biggest patch by far. However (barring
17680 a misplaced prototype), it shouldn't break anything, since the
17681 intent of the patch is to provide missing declarations.</p>
17682 </body>
17683 </html>