xterm.log.html revision 894e0ac8
1<!-- 2 ***************************************************************************** 3 * this file is part of xterm * 4 * * 5 * Copyright 1997-2013,2014 by Thomas E. Dickey * 6 * * 7 * All Rights Reserved * 8 * * 9 * Permission is hereby granted, free of charge, to any person obtaining a * 10 * copy of this software and associated documentation files (the * 11 * "Software"), to deal in the Software without restriction, including * 12 * without limitation the rights to use, copy, modify, merge, publish, * 13 * distribute, sublicense, and/or sell copies of the Software, and to * 14 * permit persons to whom the Software is furnished to do so, subject to * 15 * the following conditions: * 16 * * 17 * The above copyright notice and this permission notice shall be included * 18 * in all copies or substantial portions of the Software. * 19 * * 20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 21 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 23 * IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY * 24 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, * 25 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * 26 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 27 * * 28 * Except as contained in this notice, the name(s) of the above copyright * 29 * holders shall not be used in advertising or otherwise to promote the * 30 * sale, use or other dealings in this Software without prior written * 31 * authorization. * 32 ***************************************************************************** 33 $XTermId: xterm.log.html,v 1.1493 2014/06/20 00:05:20 tom Exp $ 34 --> 35<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> 36 37<html> 38<head> 39 <meta name="generator" content= 40 "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org"> 41 42 <title>XTERM - Change Log</title> 43 <link rev="MADE" href="mailto:dickey@invisible-island.net"> 44 <meta http-equiv="Content-Type" content= 45 "text/html; charset=us-ascii"> 46 <meta name="keywords" content="xterm, change log"> 47 <meta name="description" content= 48 "This is the xterm change-log, distributed with xterm, with items listed by patch-number and date"> 49 <link rel="SHORTCUT ICON" href="/img/icons/xterm.ico" type= 50 "image/x-icon"> 51</head> 52 53<body> 54 <hr> 55 56 <p>Copyright © 1997-2013,2014 by <a href= 57 "mailto:dickey@invisible-island.net">Thomas E. Dickey</a></p> 58 <hr> 59 60 <h1>Contents</h1> 61 62 <p><a href= 63 "http://invisible-island.net/xterm/xterm.log.html">Here</a> is 64 the latest version of this file.</p> 65 66 <p>It began as a list of the changes that I made for xterm, using 67 the notes that I added when submitting a patch. You should note 68 that other changes were made as well, by other people, to fix 69 bugs and correct ifdef's for portability. Until mid-2006, most of 70 these were summarized in the XFree86 <a href= 71 "http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/CHANGELOG"> 72 CHANGELOG</a>).</p> 73 74 <ul> 75 <li><a href="#xterm_308">Patch #308 - 2014/06/19</a></li> 76 77 <li><a href="#xterm_307">Patch #307 - 2014/06/17</a></li> 78 79 <li><a href="#xterm_306">Patch #306 - 2014/06/03</a></li> 80 81 <li><a href="#xterm_305">Patch #305 - 2014/06/02</a></li> 82 83 <li><a href="#xterm_304">Patch #304 - 2014/05/03</a></li> 84 85 <li><a href="#xterm_303">Patch #303 - 2014/03/06</a></li> 86 87 <li><a href="#xterm_302">Patch #302 - 2014/03/02</a></li> 88 89 <li><a href="#xterm_301">Patch #301 - 2014/01/19</a></li> 90 91 <li><a href="#xterm_300">Patch #300 - 2013/12/03</a></li> 92 93 <li><a href="#xterm_299">Patch #299 - 2013/12/01</a></li> 94 95 <li><a href="#xterm_298">Patch #298 - 2013/11/27</a></li> 96 97 <li><a href="#xterm_297">Patch #297 - 2013/09/10</a></li> 98 99 <li><a href="#xterm_296">Patch #296 - 2013/07/10</a></li> 100 101 <li><a href="#xterm_295">Patch #295 - 2013/07/06</a></li> 102 103 <li><a href="#xterm_294">Patch #294 - 2013/07/05</a></li> 104 105 <li><a href="#xterm_293">Patch #293 - 2013/05/27</a></li> 106 107 <li><a href="#xterm_292">Patch #292 - 2013/04/25</a></li> 108 109 <li><a href="#xterm_291">Patch #291 - 2013/02/26</a></li> 110 111 <li><a href="#xterm_290">Patch #290 - 2013/02/12</a></li> 112 113 <li><a href="#xterm_289">Patch #289 - 2013/02/08</a></li> 114 115 <li><a href="#xterm_288">Patch #288 - 2013/01/09</a></li> 116 117 <li><a href="#xterm_287">Patch #287 - 2012/11/25</a></li> 118 119 <li><a href="#xterm_286">Patch #286 - 2012/10/29</a></li> 120 121 <li><a href="#xterm_285">Patch #285 - 2012/10/23</a></li> 122 123 <li><a href="#xterm_284">Patch #284 - 2012/10/14</a></li> 124 125 <li><a href="#xterm_283">Patch #283 - 2012/10/09</a></li> 126 127 <li><a href="#xterm_282">Patch #282 - 2012/09/28</a></li> 128 129 <li><a href="#xterm_281">Patch #281 - 2012/06/26</a></li> 130 131 <li><a href="#xterm_280">Patch #280 - 2012/06/24</a></li> 132 133 <li><a href="#xterm_279">Patch #279 - 2012/05/10</a></li> 134 135 <li><a href="#xterm_278">Patch #278 - 2012/01/18</a></li> 136 137 <li><a href="#xterm_277">Patch #277 - 2012/01/07</a></li> 138 139 <li><a href="#xterm_276">Patch #276 - 2011/10/10</a></li> 140 141 <li><a href="#xterm_275">Patch #275 - 2011/09/11</a></li> 142 143 <li><a href="#xterm_274">Patch #274 - 2011/09/05</a></li> 144 145 <li><a href="#xterm_273">Patch #273 - 2011/08/25</a></li> 146 147 <li><a href="#xterm_272">Patch #272 - 2011/08/24</a></li> 148 149 <li><a href="#xterm_271">Patch #271 - 2011/07/14</a></li> 150 151 <li><a href="#xterm_270">Patch #270 - 2011/04/26</a></li> 152 153 <li><a href="#xterm_269">Patch #269 - 2011/02/19</a></li> 154 155 <li><a href="#xterm_268">Patch #268 - 2011/02/10</a></li> 156 157 <li><a href="#xterm_267">Patch #267 - 2010/11/20</a></li> 158 159 <li><a href="#xterm_266">Patch #266 - 2010/10/24</a></li> 160 161 <li><a href="#xterm_265">Patch #265 - 2010/10/22</a></li> 162 163 <li><a href="#xterm_264">Patch #264 - 2010/10/14</a></li> 164 165 <li><a href="#xterm_263">Patch #263 - 2010/10/13</a></li> 166 167 <li><a href="#xterm_262">Patch #262 - 2010/8/30</a></li> 168 169 <li><a href="#xterm_261">Patch #261 - 2010/6/28</a></li> 170 171 <li><a href="#xterm_260">Patch #260 - 2010/6/20</a></li> 172 173 <li><a href="#xterm_259">Patch #259 - 2010/6/5</a></li> 174 175 <li><a href="#xterm_258">Patch #258 - 2010/5/1</a></li> 176 177 <li><a href="#xterm_257">Patch #257 - 2010/4/22</a></li> 178 179 <li><a href="#xterm_256">Patch #256 - 2010/3/6</a></li> 180 181 <li><a href="#xterm_255">Patch #255 - 2010/1/21</a></li> 182 183 <li><a href="#xterm_254">Patch #254 - 2010/1/6</a></li> 184 185 <li><a href="#xterm_253">Patch #253 - 2009/12/10</a></li> 186 187 <li><a href="#xterm_252">Patch #252 - 2009/12/7</a></li> 188 189 <li><a href="#xterm_251">Patch #251 - 2009/11/11</a></li> 190 191 <li><a href="#xterm_250">Patch #250 - 2009/10/13</a></li> 192 193 <li><a href="#xterm_249">Patch #249 - 2009/10/1</a></li> 194 195 <li><a href="#xterm_248">Patch #248 - 2009/9/11</a></li> 196 197 <li><a href="#xterm_247">Patch #247 - 2009/8/30</a></li> 198 199 <li><a href="#xterm_246">Patch #246 - 2009/8/16</a></li> 200 201 <li><a href="#xterm_245">Patch #245 - 2009/8/12</a></li> 202 203 <li><a href="#xterm_244">Patch #244 - 2009/8/9</a></li> 204 205 <li><a href="#xterm_243">Patch #243 - 2009/3/28</a></li> 206 207 <li><a href="#xterm_242">Patch #242 - 2009/2/15</a></li> 208 209 <li><a href="#xterm_241">Patch #241 - 2009/1/26</a></li> 210 211 <li><a href="#xterm_240">Patch #240 - 2009/1/25</a></li> 212 213 <li><a href="#xterm_239">Patch #239 - 2009/1/8</a></li> 214 215 <li><a href="#xterm_238">Patch #238 - 2008/12/30</a></li> 216 217 <li><a href="#xterm_237">Patch #237 - 2008/09/14</a></li> 218 219 <li><a href="#xterm_236">Patch #236 - 2008/07/27</a></li> 220 221 <li><a href="#xterm_235">Patch #235 - 2008/04/20</a></li> 222 223 <li><a href="#xterm_234">Patch #234 - 2008/03/02</a></li> 224 225 <li><a href="#xterm_233">Patch #233 - 2008/02/24</a></li> 226 227 <li><a href="#xterm_232">Patch #232 - 2008/01/30</a></li> 228 229 <li><a href="#xterm_231">Patch #231 - 2008/01/05</a></li> 230 231 <li><a href="#xterm_230">Patch #230 - 2007/12/31</a></li> 232 233 <li><a href="#xterm_229">Patch #229 - 2007/8/12</a></li> 234 235 <li><a href="#xterm_228">Patch #228 - 2007/7/22</a></li> 236 237 <li><a href="#xterm_227">Patch #227 - 2007/6/27</a></li> 238 239 <li><a href="#xterm_226">Patch #226 - 2007/6/17</a></li> 240 241 <li><a href="#xterm_225">Patch #225 - 2007/3/24</a></li> 242 243 <li><a href="#xterm_224">Patch #224 - 2007/2/11</a></li> 244 245 <li><a href="#xterm_223">Patch #223 - 2006/11/30</a></li> 246 247 <li><a href="#xterm_222">Patch #222 - 2006/10/17</a></li> 248 249 <li><a href="#xterm_221">Patch #221 - 2006/10/1</a></li> 250 251 <li><a href="#xterm_220">Patch #220 - 2006/9/10</a></li> 252 253 <li><a href="#xterm_219">Patch #219 - 2006/9/4</a></li> 254 255 <li><a href="#xterm_218">Patch #218 - 2006/8/27</a></li> 256 257 <li><a href="#xterm_217">Patch #217 - 2006/8/20</a></li> 258 259 <li><a href="#xterm_216">Patch #216 - 2006/8/3</a></li> 260 261 <li><a href="#xterm_215">Patch #215 - 2006/6/19 - XFree86 262 4.6.99.2</a></li> 263 264 <li><a href="#xterm_214">Patch #214 - 2006/6/18 - XFree86 265 4.6.99.2</a></li> 266 267 <li><a href="#xterm_213">Patch #213 - 2006/4/30 - XFree86 268 4.5.99.905</a></li> 269 270 <li><a href="#xterm_212">Patch #212 - 2006/4/9 - XFree86 271 4.5.99.904</a></li> 272 273 <li><a href="#xterm_211">Patch #211 - 2006/3/19 - XFree86 274 4.5.99.902</a></li> 275 276 <li><a href="#xterm_210">Patch #210 - 2006/3/12 - XFree86 277 4.5.99.902</a></li> 278 279 <li><a href="#xterm_209">Patch #209 - 2006/2/12 - XFree86 280 4.5.99.22</a></li> 281 282 <li><a href="#xterm_208">Patch #208 - 2006/1/3 - XFree86 283 4.5.99.19</a></li> 284 285 <li><a href="#xterm_207">Patch #207 - 2005/11/13 - XFree86 286 4.5.99.16</a></li> 287 288 <li><a href="#xterm_206">Patch #206 - 2005/11/3 - XFree86 289 4.5.99.15</a></li> 290 291 <li><a href="#xterm_205">Patch #205 - 2005/9/18 - XFree86 292 4.5.99.12</a></li> 293 294 <li><a href="#xterm_204">Patch #204 - 2005/8/4 - XFree86 295 4.5.99.9</a></li> 296 297 <li><a href="#xterm_203">Patch #203 - 2005/7/6 - XFree86 298 4.5.99.7</a></li> 299 300 <li><a href="#xterm_202">Patch #202 - 2005/5/2 - XFree86 301 4.5.99.3</a></li> 302 303 <li><a href="#xterm_201">Patch #201 - 2005/4/21 - XFree86 304 4.5.99.2</a></li> 305 306 <li><a href="#xterm_200">Patch #200 - 2005/2/6 - XFree86 307 4.4.99.23</a></li> 308 309 <li><a href="#xterm_199">Patch #199 - 2005/1/17 - XFree86 310 4.4.99.22</a></li> 311 312 <li><a href="#xterm_198">Patch #198 - 2005/1/13 - XFree86 313 4.4.99.21</a></li> 314 315 <li><a href="#xterm_197">Patch #197 - 2004/11/30 - XFree86 316 4.4.99.19</a></li> 317 318 <li><a href="#xterm_196">Patch #196 - 2004/8/15 - XFree86 319 4.4.99.12</a></li> 320 321 <li><a href="#xterm_195">Patch #195 - 2004/8/8 - XFree86 322 4.4.99.11</a></li> 323 324 <li><a href="#xterm_194">Patch #194 - 2004/7/27 - XFree86 325 4.4.99.11</a></li> 326 327 <li><a href="#xterm_193">Patch #193 - 2004/7/19 - XFree86 328 4.4.99.10</a></li> 329 330 <li><a href="#xterm_192">Patch #192 - 2004/7/12 - XFree86 331 4.4.99.9</a></li> 332 333 <li><a href="#xterm_191">Patch #191 - 2004/6/6 - XFree86 334 4.4.99.7</a></li> 335 336 <li><a href="#xterm_190">Patch #190 - 2004/5/25 - XFree86 337 4.4.99.6</a></li> 338 339 <li><a href="#xterm_189">Patch #189 - 2004/5/16 - XFree86 340 4.4.99.6</a></li> 341 342 <li><a href="#xterm_188">Patch #188 - 2004/5/12 - XFree86 343 4.4.99.6</a></li> 344 345 <li><a href="#xterm_187">Patch #187 - 2004/4/27 - XFree86 346 4.4.99.4</a></li> 347 348 <li><a href="#xterm_186">Patch #186 - 2004/4/18 - XFree86 349 4.4.99.4</a></li> 350 351 <li><a href="#xterm_185">Patch #185 - 2004/3/3 - XFree86 352 4.4</a></li> 353 354 <li><a href="#xterm_184">Patch #184 - 2003/12/31 - XFree86 355 4.3.99.903</a></li> 356 357 <li><a href="#xterm_183">Patch #183 - 2003/12/26 - XFree86 358 4.3.99.903</a></li> 359 360 <li><a href="#xterm_182">Patch #182 - 2003/12/2 - XFree86 361 4.3.99.901</a></li> 362 363 <li><a href="#xterm_181">Patch #181 - 2003/10/26 - XFree86 364 4.3.99.15</a></li> 365 366 <li><a href="#xterm_180">Patch #180 - 2003/10/12 - XFree86 367 4.3.99.15</a></li> 368 369 <li><a href="#xterm_179">Patch #179 - 2003/5/21 - XFree86 370 4.3.99.5</a></li> 371 372 <li><a href="#xterm_178">Patch #178 - 2003/5/18 - XFree86 373 4.3.99.5</a></li> 374 375 <li><a href="#xterm_177">Patch #177 - 2003/3/23 - XFree86 376 4.3.0</a></li> 377 378 <li><a href="#xterm_176">Patch #176 - 2003/3/22 - XFree86 379 4.3.0</a></li> 380 381 <li><a href="#xterm_175">Patch #175 - 2003/3/9 - XFree86 382 4.3.0</a></li> 383 384 <li><a href="#xterm_174">Patch #174 - 2003/2/25 - XFree86 385 4.2.99.903</a></li> 386 387 <li><a href="#xterm_173">Patch #173 - 2003/2/6 - XFree86 388 4.2.99.902</a></li> 389 390 <li><a href="#xterm_172">Patch #172 - 2002/12/27 - XFree86 391 4.2.99.3</a></li> 392 393 <li><a href="#xterm_171">Patch #171 - 2002/12/12 - XFree86 394 4.2.99.3</a></li> 395 396 <li><a href="#xterm_170">Patch #170 - 2002/10/13 - XFree86 397 4.2.1</a></li> 398 399 <li><a href="#xterm_169">Patch #169 - 2002/10/5 - XFree86 400 4.2.1</a></li> 401 402 <li><a href="#xterm_168">Patch #168 - 2002/9/29 - XFree86 403 4.2.1</a></li> 404 405 <li><a href="#xterm_167">Patch #167 - 2002/8/24 - XFree86 406 4.2.0</a></li> 407 408 <li><a href="#xterm_166">Patch #166 - 2002/3/25 - XFree86 409 4.2.0</a></li> 410 411 <li><a href="#xterm_165">Patch #165 - 2002/1/5 - XFree86 412 4.1.0</a></li> 413 414 <li><a href="#xterm_164">Patch #164 - 2001/11/13 - XFree86 415 4.1.0</a></li> 416 417 <li><a href="#xterm_163">Patch #163 - 2001/11/04 - XFree86 418 4.1.0</a></li> 419 420 <li><a href="#xterm_162">Patch #162 - 2001/10/23 - XFree86 421 4.1.0</a></li> 422 423 <li><a href="#xterm_161">Patch #161 - 2001/10/10 - XFree86 424 4.1.0</a></li> 425 426 <li><a href="#xterm_160">Patch #160 - 2001/10/7 - XFree86 427 4.1.0</a></li> 428 429 <li><a href="#xterm_159">Patch #159 - 2001/9/19 - XFree86 430 4.1.0</a></li> 431 432 <li><a href="#xterm_158">Patch #158 - 2001/9/8 - XFree86 433 4.1.0</a></li> 434 435 <li><a href="#xterm_157">Patch #157 - 2001/6/18 - XFree86 436 4.1.0</a></li> 437 438 <li><a href="#xterm_156">Patch #156 - 2001/4/28 - XFree86 439 4.0.3</a></li> 440 441 <li><a href="#xterm_155">Patch #155 - 2001/4/20 - XFree86 442 4.0.3</a></li> 443 444 <li><a href="#xterm_154">Patch #154 - 2001/4/11 - XFree86 445 4.0.3</a></li> 446 447 <li><a href="#xterm_153">Patch #153 - 2001/3/29 - XFree86 448 4.0.3</a></li> 449 450 <li><a href="#xterm_152">Patch #152 - 2001/3/13 - XFree86 451 4.0.2</a></li> 452 453 <li><a href="#xterm_151">Patch #151 - 2001/3/10 - XFree86 454 4.0.2</a></li> 455 456 <li><a href="#xterm_150">Patch #150 - 2000/12/29 - XFree86 457 4.0.2</a></li> 458 459 <li><a href="#xterm_149">Patch #149 - 2000/12/6 - XFree86 460 4.0.1h</a></li> 461 462 <li><a href="#xterm_148">Patch #148 - 2000/10/31 - XFree86 463 4.0.1d</a></li> 464 465 <li><a href="#xterm_147">Patch #147 - 2000/10/26 - XFree86 466 4.0.1c</a></li> 467 468 <li><a href="#xterm_146">Patch #146 - 2000/9/12 - XFree86 469 4.0.1c</a></li> 470 471 <li><a href="#xterm_145">Patch #145 - 2000/9/11 - XFree86 472 4.0.1c</a></li> 473 474 <li><a href="#xterm_144">Patch #144 - 2000/8/23 - XFree86 475 4.0.1b</a></li> 476 477 <li><a href="#xterm_143">Patch #143 - 2000/8/19 - XFree86 478 4.0.1b</a></li> 479 480 <li><a href="#xterm_142">Patch #142 - 2000/8/18 - XFree86 481 4.0.1b</a></li> 482 483 <li><a href="#xterm_141">Patch #141 - 2000/8/14 - XFree86 484 4.0.1b</a></li> 485 486 <li><a href="#xterm_140">Patch #140 - 2000/7/23 - XFree86 487 4.0.1</a></li> 488 489 <li><a href="#xterm_139">Patch #139 - 2000/6/17 - XFree86 490 4.0d</a></li> 491 492 <li><a href="#xterm_138">Patch #138 - 2000/6/15 - XFree86 493 4.0c</a></li> 494 495 <li><a href="#xterm_137">Patch #137 - 2000/6/10 - XFree86 496 4.0b</a></li> 497 498 <li><a href="#xterm_136">Patch #136 - 2000/6/3 - XFree86 499 4.0b</a></li> 500 501 <li><a href="#xterm_135">Patch #135 - 2000/5/29 - XFree86 502 4.0b</a></li> 503 504 <li><a href="#xterm_134">Patch #134 - 2000/5/28 - XFree86 505 4.0b</a></li> 506 507 <li><a href="#xterm_133">Patch #133 - 2000/5/2 - XFree86 508 4.0a</a></li> 509 510 <li><a href="#xterm_132">Patch #132 - 2000/4/11 - XFree86 511 4.0a</a></li> 512 513 <li><a href="#xterm_131">Patch #131 - 2000/3/3 - XFree86 514 3.9.18b</a></li> 515 516 <li><a href="#xterm_130">Patch #130 - 2000/3/1 - XFree86 517 3.9.18a</a></li> 518 519 <li><a href="#xterm_129">Patch #129 - 2000/2/26 - XFree86 520 3.9.18a</a></li> 521 522 <li><a href="#xterm_128">Patch #128 - 2000/2/17 - XFree86 523 3.9.18</a></li> 524 525 <li><a href="#xterm_127">Patch #127 - 2000/2/12 - XFree86 526 3.9.17e</a></li> 527 528 <li><a href="#xterm_126">Patch #126 - 2000/2/8 - XFree86 529 3.9.17c</a></li> 530 531 <li><a href="#xterm_125">Patch #125 - 2000/1/31 - XFree86 532 3.9.17c</a></li> 533 534 <li><a href="#xterm_124">Patch #124 - 2000/1/27 - XFree86 535 3.9.17b</a></li> 536 537 <li><a href="#xterm_123">Patch #123 - 2000/1/22 - XFree86 538 3.9.17a</a></li> 539 540 <li><a href="#xterm_122">Patch #122 - 1999/12/28 - XFree86 541 3.9.16f</a></li> 542 543 <li><a href="#xterm_121">Patch #121 - 1999/11/14 - XFree86 544 3.9.16c</a></li> 545 546 <li><a href="#xterm_120">Patch #120 - 1999/10/28 - XFree86 547 3.9.16c</a></li> 548 549 <li><a href="#xterm_119">Patch #119 - 1999/10/16 - XFree86 550 3.9.16c</a></li> 551 552 <li><a href="#xterm_118">Patch #118 - 1999/10/5 - XFree86 553 3.9.16b</a></li> 554 555 <li><a href="#xterm_117">Patch #117 - 1999/9/29 - XFree86 556 3.9.16b</a></li> 557 558 <li><a href="#xterm_116">Patch #116 - 1999/9/25 - XFree86 559 3.9.16a</a></li> 560 561 <li><a href="#xterm_115">Patch #115 - 1999/9/18 - XFree86 562 3.9.16a</a></li> 563 564 <li><a href="#xterm_114">Patch #114 - 1999/9/15 - XFree86 565 3.9.16</a></li> 566 567 <li><a href="#xterm_113">Patch #113 - 1999/8/15 - XFree86 568 3.9.15b</a></li> 569 570 <li><a href="#xterm_112">Patch #112 - 1999/7/17 - XFree86 571 3.9Pw</a></li> 572 573 <li><a href="#xterm_111">Patch #111 - 1999/7/10 - XFree86 574 3.9Pw</a></li> 575 576 <li><a href="#xterm_110">Patch #110 - 1999/6/29 - XFree86 577 3.9Pu</a></li> 578 579 <li><a href="#xterm_109">Patch #109 - 1999/6/23 - XFree86 580 3.9Pt</a></li> 581 582 <li><a href="#xterm_108">Patch #108 - 1999/6/19 - XFree86 583 3.9Ps</a></li> 584 585 <li><a href="#xterm_107">Patch #107 - 1999/6/12 - XFree86 586 3.9Pq</a></li> 587 588 <li><a href="#xterm_106">Patch #106 - 1999/6/9 - XFree86 589 3.9Pq</a></li> 590 591 <li><a href="#xterm_105">Patch #105 - 1999/6/5 - XFree86 592 3.9Pp</a></li> 593 594 <li><a href="#xterm_104">Patch #104 - 1999/5/30 - XFree86 595 3.9Pn</a></li> 596 597 <li><a href="#xterm_103">Patch #103 - 1999/5/14 - XFree86 598 3.9Pm</a></li> 599 600 <li><a href="#xterm_102">Patch #102 - 1999/5/12 - XFree86 601 3.9Pm</a></li> 602 603 <li><a href="#xterm_101">Patch #101 - 1999/5/10 - XFree86 604 3.9Pm</a></li> 605 606 <li><a href="#xterm_100">Patch #100 - 1999/5/3 - XFree86 607 3.9Pl</a></li> 608 609 <li><a href="#xterm_99">Patch #99 - 1999/5/2 - XFree86 610 3.9Pk</a></li> 611 612 <li><a href="#xterm_98">Patch #98 - 1999/4/26 - XFree86 613 3.9Pk</a></li> 614 615 <li><a href="#xterm_97">Patch #97 - 1999/4/25 - XFree86 616 3.9Pk</a></li> 617 618 <li><a href="#xterm_96">Patch #96 - 1999/4/19 - XFree86 619 3.9Pj</a></li> 620 621 <li><a href="#xterm_95">Patch #95 - 1999/4/5 - XFree86 622 3.9Ph</a></li> 623 624 <li><a href="#xterm_94">Patch #94 - 1999/3/27 - XFree86 625 3.9Pf</a></li> 626 627 <li><a href="#xterm_93">Patch #93 - 1999/3/14 - XFree86 628 3.9Pd</a></li> 629 630 <li><a href="#xterm_92">Patch #92 - 1999/2/5 - XFree86 631 3.9Nz</a></li> 632 633 <li><a href="#xterm_91">Patch #91 - 1999/1/21 - XFree86 634 3.9Nw</a></li> 635 636 <li><a href="#xterm_90">Patch #90 - 1998/12/13 - XFree86 637 3.9Nq</a></li> 638 639 <li><a href="#xterm_89">Patch #89 - 1998/11/20 - XFree86 640 3.9Nm</a></li> 641 642 <li><a href="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk 643 and 3.3.2h</a></li> 644 645 <li><a href="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj 646 and 3.3.2f</a></li> 647 648 <li><a href="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj 649 and 3.3.2e</a></li> 650 651 <li><a href="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj 652 and 3.3.2e</a></li> 653 654 <li><a href="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni 655 and 3.3.2e</a></li> 656 657 <li><a href="#sync_83">Resync #83 - 1998/10/7 - XFree86 658 3.3.2e</a></li> 659 660 <li><a href="#xterm_83">Patch #83 - 1998/8/25 - XFree86 661 3.9Nb</a></li> 662 663 <li><a href="#xterm_82">Patch #82 - 1998/7/15 - XFree86 664 3.9Aj</a></li> 665 666 <li><a href="#xterm_81">Patch #81 - 1998/7/14 - XFree86 667 3.9Aj</a></li> 668 669 <li><a href="#xterm_80">Patch #80 - 1998/6/29 - XFree86 670 3.9Ai</a></li> 671 672 <li><a href="#xterm_79">Patch #79 - 1998/6/28 - XFree86 673 3.9Ai</a></li> 674 675 <li><a href="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah 676 and 3.3.2</a></li> 677 678 <li><a href="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah 679 and 3.3.2</a></li> 680 681 <li><a href="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah 682 and 3.3.2</a></li> 683 684 <li><a href="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah 685 and 3.3.2</a></li> 686 687 <li><a href="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag 688 and 3.3.2</a></li> 689 690 <li><a href="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag 691 and 3.3.2</a></li> 692 693 <li><a href="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag 694 and 3.3.2</a></li> 695 696 <li><a href="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag 697 and 3.3.2</a></li> 698 699 <li><a href="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af 700 and 3.3.2</a></li> 701 702 <li><a href="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad 703 and 3.3.2</a></li> 704 705 <li><a href="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad 706 and 3.3.1z</a></li> 707 708 <li><a href="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad 709 and 3.3.1e</a></li> 710 711 <li><a href="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad 712 and 3.3.1d</a></li> 713 714 <li><a href="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad 715 and 3.3.1c</a></li> 716 717 <li><a href="#xterm_64">Patch #64 - 1998/2/8 - XFree86 718 3.9Ad</a></li> 719 720 <li><a href="#xterm_63">Patch #63 - 1998/2/5 - XFree86 721 3.9Ad</a></li> 722 723 <li><a href="#xterm_62">Patch #62 - 1998/1/23 - XFree86 724 3.9Ac</a></li> 725 726 <li><a href="#xterm_61">Patch #61 - 1998/1/17 - XFree86 727 3.9Ac</a></li> 728 729 <li><a href="#xterm_60">Patch #60 - 1998/1/10 - XFree86 730 3.9Ab</a></li> 731 732 <li><a href="#xterm_59">Patch #59 - 1998/1/5 - XFree86 733 3.9Ab</a></li> 734 735 <li><a href="#xterm_58">Patch #58 - 1998/1/3 - XFree86 736 3.9Ab</a></li> 737 738 <li><a href="#xterm_57">Patch #57 - 1997/12/26 - XFree86 739 3.9Aa</a></li> 740 741 <li><a href="#xterm_56">Patch #56 - 1997/11/28 - XFree86 742 3.9x</a></li> 743 744 <li><a href="#xterm_55">Patch #55 - 1997/11/25 - XFree86 745 3.9x</a></li> 746 747 <li><a href="#xterm_54">Patch #54 - 1997/10/17 - XFree86 748 3.9s</a></li> 749 750 <li><a href="#xterm_53">Patch #53 - 1997/10/12 - XFree86 751 3.9r</a></li> 752 753 <li><a href="#xterm_52">Patch #52 - 1997/9/29 - XFree86 754 3.9q</a></li> 755 756 <li><a href="#xterm_51">Patch #51 - 1997/9/15 - XFree86 757 3.9p</a></li> 758 759 <li><a href="#xterm_50">Patch #50 - 1997/8/22 - XFree86 760 3.9m</a></li> 761 762 <li><a href="#xterm_49">Patch #49 - 1997/8/10 - XFree86 763 3.9k</a></li> 764 765 <li><a href="#xterm_48">Patch #48 - 1997/7/26 - XFree86 766 3.9j</a></li> 767 768 <li><a href="#xterm_47">Patch #47 - 1997/7/13 - XFree86 769 3.9i</a></li> 770 771 <li><a href="#xterm_46">Patch #46 - 1997/7/4 - XFree86 772 3.9h</a></li> 773 774 <li><a href="#xterm_45">Patch #45 - 1997/7/2 - XFree86 775 3.9h</a></li> 776 777 <li><a href="#xterm_44">Patch #44 - 1997/6/22 - XFree86 778 3.9g</a></li> 779 780 <li><a href="#xterm_43">Patch #43 - 1997/6/10 - XFree86 781 3.9d</a></li> 782 783 <li><a href="#xterm_42">Patch #42 - 1997/6/8 - XFree86 784 3.2Xl</a></li> 785 786 <li><a href="#xterm_41">Patch #41 - 1997/5/28 - XFree86 787 3.2Xl</a></li> 788 789 <li><a href="#xterm_40">Patch #40 - 1997/5/26 - XFree86 790 3.2Xl</a></li> 791 792 <li><a href="#xterm_39">Patch #39 - 1997/5/24 - XFree86 793 3.2Xl</a></li> 794 795 <li><a href="#xterm_38">Patch #38 - 1997/5/22 - XFree86 796 3.2Xh</a></li> 797 798 <li><a href="#xterm_37">Patch #37 - 1997/5/7 - XFree86 799 3.9a</a></li> 800 801 <li><a href="#xterm_36">Patch #36 - 1997/1/16 - XFree86 802 3.2r</a></li> 803 804 <li><a href="#xterm_35">Patch #35 - 1997/1/7 - XFree86 805 3.2o</a></li> 806 807 <li><a href="#xterm_34">Patch #34 - 1997/1/5 - XFree86 808 3.2o</a></li> 809 810 <li><a href="#xterm_33">Patch #33 - 1996/11/24 - XFree86 811 3.2</a></li> 812 813 <li><a href="#xterm_32">Patch #32 - 1996/11/21 - XFree86 814 3.2</a></li> 815 816 <li><a href="#xterm_31">Patch #31 - 1996/11/16 - XFree86 817 3.2</a></li> 818 819 <li><a href="#xterm_30">Patch #30 - 1996/11/16 - XFree86 820 3.2</a></li> 821 822 <li><a href="#xterm_29">Patch #29 - 1996/9/15 - XFree86 823 3.1.2Gb</a></li> 824 825 <li><a href="#xterm_28">Patch #28 - 1996/8/31 - XFree86 826 3.1.2F</a></li> 827 828 <li><a href="#xterm_27">Patch #27 - 1996/8/21 - XFree86 829 3.1.2Ek</a></li> 830 831 <li><a href="#xterm_26">Patch #26 - 1996/8/20 - XFree86 832 3.1.2Ei</a></li> 833 834 <li><a href="#xterm_25">Patch #25 - 1996/8/18 - XFree86 835 3.1.2Ei</a></li> 836 837 <li><a href="#xterm_24">Patch #24 - 1996/8/11 - XFree86 838 3.1.2Ee</a></li> 839 840 <li><a href="#xterm_23">Patch #23 - 1996/7/31 - XFree86 841 3.1.2Ec</a></li> 842 843 <li><a href="#xterm_22">Patch #22 - 1996/7/26 - XFree86 844 3.1.2Ec</a></li> 845 846 <li><a href="#xterm_21">Patch #21 - 1996/7/24 - XFree86 847 3.1.2Ec</a></li> 848 849 <li><a href="#xterm_20">Patch #20 - 1996/7/24 - XFree86 850 3.1.2Ec</a></li> 851 852 <li><a href="#xterm_19">Patch #19 - 1996/7/21 - XFree86 853 3.1.2Ec</a></li> 854 855 <li><a href="#xterm_18">Patch #18 - 1996/7/18 - XFree86 856 3.1.2Ec</a></li> 857 858 <li><a href="#xterm_17">Patch #17 - 1996/7/2 - XFree86 859 3.1.2Eb</a></li> 860 861 <li><a href="#xterm_16">Patch #16 - 1996/6/25 - XFree86 862 3.1.2Ea</a></li> 863 864 <li><a href="#xterm_15">Patch #15 - 1996/5/29 - XFree86 865 3.1.2E</a></li> 866 867 <li><a href="#xterm_14">Patch #14 - 1996/5/12 - XFree86 868 3.1.2Dj</a></li> 869 870 <li><a href="#xterm_13">Patch #13 - 1996/4/23 - XFree86 871 3.1.2Df</a></li> 872 873 <li><a href="#xterm_12">Patch #12 - 1996/3/16 - XFree86 874 3.1.2Dc</a></li> 875 876 <li><a href="#xterm_11">Patch #11 - 1996/3/5 - XFree86 877 3.1.2Db</a></li> 878 879 <li><a href="#xterm_10">Patch #10 - 1996/2/14 - XFree86 880 3.1.2Cd</a></li> 881 882 <li><a href="#xterm_09">Patch #9 - 1996/2/10 - XFree86 883 3.1.2Cb</a></li> 884 885 <li><a href="#xterm_08">Patch #8 - 1996/2/9 - XFree86 886 3.1.2Cb</a></li> 887 888 <li><a href="#xterm_07">Patch #7 - 1996/1/28 - XFree86 889 3.1.2n</a></li> 890 891 <li><a href="#xterm_06">Patch #6 - 1996/1/8</a></li> 892 893 <li><a href="#xterm_05">Patch #5 - 1996/1/7</a></li> 894 895 <li><a href="#xterm_04">Patch #4 - 1996/1/7</a></li> 896 897 <li><a href="#xterm_03">Patch #3 - 1996/1/7</a></li> 898 899 <li><a href="#xterm_02">Patch #2 - 1996/1/7</a></li> 900 901 <li><a href="#xterm_01">Patch #1 - 1996/1/6</a></li> 902 </ul> 903 904 <h1><a name="xterm_308" id="xterm_308">Patch #308 - 905 2014/06/19</a></h1> 906 907 <ul> 908 <li>corrected font used for clipping double-width bitmap fonts 909 from <a href="#xterm_307">patch #307</a> changes to work around 910 mis-scaled fonts (Debian #752947).</li> 911 912 <li>improve wording of a warning message.</li> 913 </ul> 914 915 <h1><a name="xterm_307" id="xterm_307">Patch #307 - 916 2014/06/17</a></h1> 917 918 <ul> 919 <li>fill background for top/bottom parts of 920 double-width/double-height characters, to cover occasional gaps 921 due to bitmap font-scaling (report by Egmont Koblinger).</li> 922 923 <li>amend resets for keyboard-type, pointer-mode and 924 title-modes from <a href="#xterm_305">xterm #305</a> changes to 925 account for resource settings (Debian #751351).</li> 926 927 <li>modify <em>printAttributes</em> feature to include new SGR 928 codes.</li> 929 930 <li>modify cursor show/hide logic to work with italic 931 fonts.</li> 932 933 <li>do clipping and filling for a case with bitmap-fonts and 934 italics when the font server returns only a "close" match 935 (report/testcase by Egmont Koblinger).</li> 936 937 <li>adjust loop comparison for underlining to display 938 underlines on 5x8 font as in <a href="#xterm_304">patch 939 #304</a> (Debian #750733).</li> 940 941 <li>amend fix for Freedesktop #15979 (Debian #750733).</li> 942 943 <li>amend xterm.appdata.xml, making it validate with current 944 schema.</li> 945 </ul> 946 947 <h1><a name="xterm_306" id="xterm_306">Patch #306 - 948 2014/06/03</a></h1> 949 950 <ul> 951 <li>fixes for display-errors in new SGR codes (report by Egmont 952 Koblinger).</li> 953 </ul> 954 955 <h1><a name="xterm_305" id="xterm_305">Patch #305 - 956 2014/06/02</a></h1> 957 958 <ul> 959 <li>add <code>xterm.appdata.xml</code> (request by Richard 960 Hughes). By the way, none of the <em>released</em> validators 961 yet handle <code><licence></code> tags (or 962 <code><metadata_license></code>, etc).</li> 963 964 <li>fix memory leaks in bitmap font-name caching.</li> 965 966 <li>other changes to hard-reset behavior: 967 968 <ul> 969 <li>reset keyboard-type on hard-reset.</li> 970 971 <li>reset pointer-mode (<code>pointerMode</code>) on 972 hard-reset</li> 973 974 <li>reset title-modes (<code>titleModes</code>) on 975 hard-reset</li> 976 977 <li>reset cursor-shape on hard or soft-reset</li> 978 979 <li>reset LEDs on hard-reset.</li> 980 981 <li>reset DECSACE on hard-reset.</li> 982 </ul> 983 </li> 984 985 <li>reset bracketed-paste mode on hard-reset (suggested by 986 Egmont Koblinger).</li> 987 988 <li>modify UTF-8 decoder to account for 989 <code>allowC1Printable</code> resource.</li> 990 991 <li>revise <code>getXftColor</code> to ensure that its sequence 992 number will not overflow in long-running sessions.</li> 993 994 <li>minor fix to selection to prevent hidden character from 995 being returned in selection data (report by Egmont 996 Koblinger).</li> 997 998 <li>add <code>-sh</code> to help-message.</li> 999 1000 <li>amend check for incomplete fonts to always decide that a 1001 character is missing if the font lacks per-character metrics 1002 (prompted by Freedesktop #15979).</li> 1003 1004 <li>minor reorganization to implement “filler” SGR 1005 features. There are no established applications which rely upon 1006 these; some people find them amusing. 1007 1008 <ul> 1009 <li>separate bits used to manage drawing state from 1010 attribute-bits.</li> 1011 1012 <li>implement SGR codes 2, 3, 9, 21 and their corresponding 1013 resets.</li> 1014 1015 <li>add configure option <code>--disable-wide-attrs</code> 1016 to disable the feature.</li> 1017 </ul> 1018 </li> 1019 1020 <li>additional changes for ReGIS support (patch by Ross Combs): 1021 1022 <ul> 1023 <li>fix some arc drawing bugs and add support for pattern 1024 shading.</li> 1025 </ul> 1026 </li> 1027 </ul> 1028 1029 <h1><a name="xterm_304" id="xterm_304">Patch #304 - 1030 2014/05/03</a></h1> 1031 1032 <ul> 1033 <li>add debugging check for parsing table entries, fixed a few 1034 inconsistencies.</li> 1035 1036 <li>handle utmp/utmpx strings consistently with new function 1037 that null-pads unused locations.</li> 1038 1039 <li>build-fix for imake configuration with FreeBSD 9 and later, 1040 to account for replacing <code>utmp</code> with 1041 <code>utmpx</code>.</li> 1042 1043 <li>improve handling of the <code>fontsel</code> 1044 (font-selection) menu item: 1045 1046 <ul> 1047 <li>initialize the menu entry differently if the toolbar 1048 configuration is used, i.e., enabling it without attempting 1049 to use the current selection as a font name. Because of the 1050 way in which the toolbar is setup, this attempt usually 1051 failed, and would result in a warning.</li> 1052 1053 <li>if the menu action fails, e.g., no font can be loaded 1054 for the given selected name, then recover by resuming with 1055 the current font. Before, the recovery went to the default 1056 font. That was done to work around missing bitmap font in 1057 <a href="#xterm_276">patch #276</a>.</li> 1058 </ul> 1059 </li> 1060 1061 <li>document OSC 119 in the control sequences listing 1062 (report by Egmont Koblinger).</li> 1063 1064 <li>modify special handling of <code>XF86Paste</code> or 1065 <code>SunPaste</code> keysyms (see <a href="#xterm_227">patch 1066 #227</a>) to use the standard shift/lock modifiers in case 1067 those are, for example, used in level 3 in an XKB file (patch 1068 by Matthieu Herrb).</li> 1069 1070 <li>configure macro updates: 1071 1072 <ul> 1073 <li>drop the <code>-no-gcc</code> option from 1074 CF_INTEL_COMPILER</li> 1075 1076 <li>modify CF_XOPEN_SOURCE to suppress the check for 1077 defining _XOPEN_SOURCE on Solaris</li> 1078 </ul> 1079 </li> 1080 1081 <li>reduce bss storage used for ReGIS/Sixel modules, as well as 1082 cleanup storage usage in other modules.</li> 1083 1084 <li>initial changes for ReGIS support (patch by Ross Combs): 1085 1086 <ul> 1087 <li>document control-sequences</li> 1088 1089 <li>separate ifdef's for sixel and color-register 1090 features</li> 1091 1092 <li>add configuration for VT382</li> 1093 </ul> 1094 </li> 1095 </ul> 1096 1097 <h1><a name="xterm_303" id="xterm_303">Patch #303 - 1098 2014/03/06</a></h1> 1099 1100 <ul> 1101 <li>improve check for <code>/etc/shells</code> to allow its 1102 entries to be symbolic links.</li> 1103 1104 <li>fix a regression in <a href="#xterm_302">patch #302</a> 1105 fixes relating to interaction of <code>SHELL</code> and 1106 <code>XTERM_SHELL</code> variables (Debian #740919).</li> 1107 1108 <li>improve manpage discussion of use of 1109 <code>/etc/shells</code> for validating the <code>SHELL</code> 1110 environment variable.</li> 1111 1112 <li>further improve the approximation for color map by ignoring 1113 bits which would not be applied by the rgb masks for the 1114 current visual (report by Joe Peterson).</li> 1115 1116 <li>add <code>-report-colors</code> to usage-message (report by 1117 Joe Peterson).</li> 1118 </ul> 1119 1120 <h1><a name="xterm_302" id="xterm_302">Patch #302 - 1121 2014/03/02</a></h1> 1122 1123 <ul> 1124 <li>amend approximation for color map introduced in <a href= 1125 "#xterm_277">patch #277</a> to make that apply only to 1126 <code>TrueColor</code> (adapted from patch by Joe 1127 Peterson).</li> 1128 1129 <li>add <code>-report-colors</code> option, to show colors as 1130 they are allocated.</li> 1131 1132 <li>fix some gcc <code>-Wcast-qual</code> warnings.</li> 1133 1134 <li>correct app-defaults location for CentOS-4 in 1135 xterm.spec</li> 1136 1137 <li>improve check in <code>minstall.sh</code> for X manpage's 1138 section number; add sample dependencies for the relevant 1139 documentation package to packaging test-scripts (prompted by 1140 Novell #779474).</li> 1141 1142 <li>modify sample build-scripts for dpkg and rpm to ensure that 1143 <code>vttests</code> scripts are uncompressed and 1144 executable.</li> 1145 1146 <li>modify Perl scripts in <code>vttests</code> to use 1147 <code>env</code> to find Perl rather than relying on 1148 <code>/usr/bin/perl</code> This makes the sample scripts usable 1149 with NetBSD and other systems using <em>pkgsrc</em>.</li> 1150 1151 <li>amend check from <a href="#xterm_301">patch #301</a> for 1152 valid shell to permit existing <code>SHELL</code> value to 1153 specify the shell; clarify the behavior in the manpage (report 1154 by Emmanuel Thomé).</li> 1155 1156 <li>amend change to wide-character processing from <a href= 1157 "#xterm_257">patch #257</a> to allow switching to/from UTF-8 1158 encoding if the <code>utf8</code> resource was not set to 1159 “always” (report by Honza Maly).</li> 1160 1161 <li>fix incorrect free from <a href="#xterm_301">patch #301</a> 1162 changes, if explicit program without <code>-e</code> option is 1163 a valid shell (patch by Romain Francoise).</li> 1164 </ul> 1165 1166 <h1><a name="xterm_301" id="xterm_301">Patch #301 - 1167 2014/01/19</a></h1> 1168 1169 <ul> 1170 <li>OSC 104 and 105 did not accept parameter to reset a 1171 specific color (patch by Egmont Koblinger).</li> 1172 1173 <li>add configure check for <code>initgroups</code>, and use 1174 that function to complement its use of <code>setgid</code> 1175 (prompted by patch by Miroslav Lichvar).</li> 1176 1177 <li>improve manpage description of scrollbar translations 1178 versus the vt100 translations (Debian #723573).</li> 1179 1180 <li>add a few paragraphs to manpage explaining the implications 1181 of xterm's reliance on X Toolkit for command-line parsing.</li> 1182 1183 <li>modify cursor-theme logic to check if the environment 1184 variable <code>XCURSOR_THEME</code> is set to a nonempty value 1185 before constructing a dummy them (prompted by similar check 1186 added in OpenBSD CVS).</li> 1187 1188 <li>add check for a case where TrueType bold font is missing a 1189 glyph where the non-bold font has it. Temporarily switch to the 1190 non-bold font to draw the glyph (report by David 1191 Demelier).</li> 1192 1193 <li>minor documentation fixes for ctlseqs.ms</li> 1194 1195 <li>only set <code>SHELL</code> environment variable to 1196 programs found in <code>/etc/shells</code> (prompted by 1197 patch/report by Al Poole).</li> 1198 1199 <li>build-fix, when <code>--disable-wide-chars</code> 1200 <code>--disable-boxchar</code> is used (prompted by patch by 1201 Andrey Panov).</li> 1202 </ul> 1203 1204 <h1><a name="xterm_300" id="xterm_300">Patch #300 - 1205 2013/12/03</a></h1> 1206 1207 <ul> 1208 <li>amend workaround for <code>Xcursor</code> library from 1209 <a href="#xterm_298">patch #298</a>; the suggested solution for 1210 Debian #466704 fell afoul of a bug in <code>Xcursor</code> 1211 which treated an empty value for <code>Inherits=</code> as a 1212 valid theme—and resulted in a stack overflow due to 1213 unbounded recursion. Certain environments such as XFCE4 exposed 1214 the bug. A related report in Debian #531679 was closed without 1215 following the recommendation to limit stack recursion in this 1216 library (reported by Sergey V Dyatko, Debian #731269).</li> 1217 </ul> 1218 1219 <h1><a name="xterm_299" id="xterm_299">Patch #299 - 1220 2013/12/01</a></h1> 1221 1222 <ul> 1223 <li>fix regression in line-drawing from <a href= 1224 "#xterm_297">patch #297</a> changes for NRCS exposed by change 1225 to <code>assumeAllChars</code> resource in <a href= 1226 "#xterm_298">patch #298</a> (report by Markus Waldeck).</li> 1227 </ul> 1228 1229 <h1><a name="xterm_298" id="xterm_298">Patch #298 - 1230 2013/11/27</a></h1> 1231 1232 <ul> 1233 <li>quiet a warning about ambiguity when <code>-h</code> 1234 command-line option is parsed, since <code>-help</code> is used 1235 rather than the options mentioned in the message. This warning 1236 was caused by fixes in <a href="#xterm_272">patch 1237 #272</a>.</li> 1238 1239 <li>remove an extra check for keypad-mode which interfered with 1240 the <a href="#xterm_280">patch #280</a> 1241 <code>modifyKeyboard</code> feature for the numeric keypad 1242 (report by David Conners).</li> 1243 1244 <li>change default for <code>assumeAllChars</code> resource 1245 (Debian #725682). There are unresolved issues with Terminus 1246 fonts, e.g., Debian #722017.</li> 1247 1248 <li>add <code>-report-fonts</code> command-line option and 1249 <code>reportFonts</code> resource to optionally report the 1250 fonts which are loaded, and their metrics such as the number of 1251 missing glyphs.</li> 1252 1253 <li>work around <code>Xcursor</code> library to make 1254 <code>pointerColor</code> resource work as documented (Debian 1255 #466704, analysis by Vincent Lefèvre).</li> 1256 1257 <li>amend change from <a href="#xterm_297">patch #297</a> for 1258 ASCII-equivalents to ensure that missing characters which 1259 happen to be double-width are padded to the expected number of 1260 columns. Also, correct the choice between normal/wide Xft fonts 1261 used when checking for missing characters (reported by WU Yue, 1262 Debian #728949, Gentoo #491334).</li> 1263 1264 <li>modify sixel-graphics drawing to account for scrollbar 1265 width (report by Mario Edelmann).</li> 1266 1267 <li>fix remaining issue with <code>DECNRCM</code>; the British 1268 character set was confused with ISO Latin-1 (report by Hayaki 1269 Saito).</li> 1270 1271 <li>build-fix for <code>--disable-boxchars</code> configure 1272 option.</li> 1273 1274 <li>updated configure macros, from ongoing work on lynx and 1275 ncurses.</li> 1276 1277 <li>update config.guess, config.sub</li> 1278 </ul> 1279 1280 <h1><a name="xterm_297" id="xterm_297">Patch #297 - 1281 2013/09/10</a></h1> 1282 1283 <ul> 1284 <li>modify check for missing cells in bitmap font to work 1285 around terminus 10646 encoding, which is mostly missing, add 1286 <code>assumeAllChars</code> resource to provide the older 1287 behavior.</li> 1288 1289 <li>modify macros used to check for missing cells in bitmap 1290 fonts to pick up a long-overlooked improvement made to xfd in 1291 XFree86.</li> 1292 1293 <li>improve workaround for groff versus ASCII-equivalents; 1294 <a href="#xterm_185">patch #185</a> had overlooked Xft 1295 configuration (reported by anonymous user on Arch Linux 1296 forum).</li> 1297 1298 <li>review/extend <code>DECNRCM</code> support (prompted by 1299 report by Hayaki Saito asking about the two "A" codes). 1300 1301 <ul> 1302 <li>make pasting of DECNRCM data work by translating the 1303 pasted data into the selected encoding.</li> 1304 1305 <li>limit mode changes to VT220 and up.</li> 1306 1307 <li>ignore SCS for National Replacement Characters if 1308 <code>DECNRCM</code> is not set.</li> 1309 1310 <li>add tables and logic to decode SCS controls ending with 1311 "%" and one additional character. This expects the parsing 1312 of SCS to VT320.</li> 1313 1314 <li>also added parsing for SCS of DEC Supplemental and DEC 1315 Technical, which are for VT2xx and VT3xx respectively.</li> 1316 1317 <li>implement VT220 Multinational character set "GR" aka 1318 "DEC Supplemental Graphic".</li> 1319 1320 <li>DEC Technical character set based on <a href= 1321 "http://www.vt100.net/charsets/technical.html">vt100.net 1322 description</a>.</li> 1323 1324 <li>implement Portuguese NRC.</li> 1325 1326 <li>provide for temporarily switching to/from NRC mode from 1327 UTF-8 mode when <code>DECNRCM</code> is set or reset.</li> 1328 </ul> 1329 </li> 1330 1331 <li>minor fix to assert's found while testing examples from 1332 <a href="https://gist.github.com/ttdoda">ttdoda's 1333 slrm-test1.txt</a>.</li> 1334 1335 <li>modify <code>DECLRMM</code> to not update the cursor 1336 position (report by Iwamoto Kouichi forwarded by Hayaki 1337 Saito).</li> 1338 1339 <li>modify cursor-position report to take origin-mode into 1340 account (report by Hayaki Saito, see also <a href= 1341 "https://github.com/gnachman/iTerm2/pull/129">iTerm2 pull 1342 request 129</a>).</li> 1343 1344 <li>correct off-by-one comparison in when handling 1345 carriage-return at left margin (patch by Iwamoto Kouichi, 1346 forwarded by Hayaki Saito).</li> 1347 1348 <li>improve handling of <code>faceName</code> resource when a 1349 "size=" property is embedded in it, by using that size to 1350 replace the default <code>faceSize</code> resource. This lets 1351 xterm honor the other faceSize resources (report by Jens 1352 Schweikhardt).</li> 1353 1354 <li>improve OSC 52 selection-data by setting its timestamp 1355 to correspond to the most-recent event received by xterm, to 1356 ensure that calls to <code>XtOwnSelect</code> succeed even if 1357 the selection is manipulated solely through the keyboard 1358 (prompted by patch by Richard Tollerton).</li> 1359 1360 <li>change configure-script defaults for "luit" and 1361 "wide-chars" options to match the values used in the imake 1362 configuration, to lessen user surprise if they are accustomed 1363 to building xterm using imake(report by Andries E 1364 Brouwer).</li> 1365 1366 <li>improve the imake-related configuration's check if xterm is 1367 started in a locale that uses UTF-8 encoding. Before, this 1368 checked the locale settings only for "UTF-8", now it checks 1369 ignoring case for "UTF-8" and "UTF-8" (report by Andries E 1370 Brouwer).</li> 1371 </ul> 1372 1373 <h1><a name="xterm_296" id="xterm_296">Patch #296 - 1374 2013/07/10</a></h1> 1375 1376 <ul> 1377 <li>improve experimental sixel feature (patch by Ross 1378 Combs).</li> 1379 1380 <li>modify delimiter in configure macro used to add a library 1381 after a given library to avoid confusion with <code>-Wl</code> 1382 pass-through options to linker (NetBSD #48031).</li> 1383 1384 <li>fix quoting in expression used to trim extra libraries from 1385 <a href="#xterm_295">patch #295</a> changes (report by Thomas 1386 Klausner).</li> 1387 </ul> 1388 1389 <h1><a name="xterm_295" id="xterm_295">Patch #295 - 1390 2013/07/06</a></h1> 1391 1392 <ul> 1393 <li>adjust order of libraries to work around incomplete symbol 1394 resolution when using <code>--as-needed</code> option 1395 (ArchLinux #36047).</li> 1396 1397 <li>minor fix for <code>plink.sh</code>, for IRIX64.</li> 1398 </ul> 1399 1400 <h1><a name="xterm_294" id="xterm_294">Patch #294 - 1401 2013/07/05</a></h1> 1402 1403 <ul> 1404 <li>add note in ctlseqs.ms for CPR response pointing out a 1405 potential point of confusion with the string sent by a modified 1406 F1 key (suggested by Bram Moolenaar).</li> 1407 1408 <li>improve <code>plink.sh</code> by checking if the linker 1409 supports the <code>--as-needed</code> option (suggested by 1410 David Philippi).</li> 1411 1412 <li>improve clearing for private mode 1049 when switching to 1413 the alternate screen (Debian #711758).</li> 1414 1415 <li>amend fix from <a href="#xterm_292">patch #292</a> by 1416 removing now-unneeded chunk which introduced problem in 1417 selection (Debian #714527).</li> 1418 1419 <li>add definition to optionally override compiled-in class for 1420 xterm from makefile, needed for test-packages.</li> 1421 1422 <li>add configure option 1423 <code>--enable-sixel-graphics</code></li> 1424 1425 <li>add experimental support for sixel graphics (patch by Ross 1426 Combs).</li> 1427 </ul> 1428 1429 <h1><a name="xterm_293" id="xterm_293">Patch #293 - 1430 2013/05/27</a></h1> 1431 1432 <ul> 1433 <li>modify sample xterm.spec to use newer icon</li> 1434 1435 <li>add configure option <code>--with-icon-symlink</code> to 1436 work around systems which map icon requests for to a single 1437 "xterm" icon, but neglect to install the icon needed for window 1438 decorations (report by H Merijn Brand).</li> 1439 1440 <li>improve parameterizing of sample xterm.spec</li> 1441 1442 <li>amend fix for printer from <a href="#xterm_280">patch 1443 #280</a>, removing a reset of the signal handler for 1444 <code>SIGCHLD</code> (report by Joe Julian).</li> 1445 1446 <li>set environment variable <code>XTERM_FILTER</code> if a 1447 locale-filter is used.</li> 1448 1449 <li>enable <code>DEBUG</code> logic when 1450 <code>--enable-trace</code> configure option is given.</li> 1451 1452 <li>improve description of <code>initialFont</code>, 1453 <code>set-vt-font</code> and <code>set-tex-text</code> in 1454 manpage (Debian #707899).</li> 1455 1456 <li>fix regression from <a href="#xterm_292">patch #292</a>; 1457 selecting a word that ended at the right margin without 1458 wrapping would not select the last cell (report by Christian 1459 Weisgerber).</li> 1460 </ul> 1461 1462 <h1><a name="xterm_292" id="xterm_292">Patch #292 - 1463 2013/04/25</a></h1> 1464 1465 <ul> 1466 <li>add limit-check when double-click selects a word; if the 1467 saved-lines were scrolled back and the word selected wrapped at 1468 the screen's lower right corner, an assertion was triggered 1469 (patch by Taketo Kabe).</li> 1470 1471 <li>correct limit-check in <code>unsaveEditBufLines</code>, 1472 fixing a case where enlarging the terminal size could show a 1473 blank line where there actually is available text (patch by 1474 Bertram Felgenhauer).</li> 1475 1476 <li>add <code>PasteControls</code> feature to 1477 <code>allowWindowOps</code> which by default disallows pasting 1478 control characters other than formatting such as carriage 1479 return (discussion with Hayaki Saito).</li> 1480 1481 <li>fix typo in ctlseqs.ms for DECRQM response (patch by 1482 Emanuele Giaquinta).</li> 1483 1484 <li>update default shown in configure <code>--help</code> 1485 message for <code>--with-terminal-id</code> option (patch by 1486 Andres Perera).</li> 1487 1488 <li>rename script/preprocessor variables used for substituting 1489 the <code>backarrowKey</code> default value for consistency 1490 (patch by Andres Perera).</li> 1491 1492 <li>set umask to 077 before creating debugging-trace 1493 files.</li> 1494 1495 <li>add configure option <code>--disable-openpty</code> to 1496 control whether openpty() may be used in preference to 1497 posix_openpt().</li> 1498 1499 <li>improve workaround from <a href="#xterm_279">patch #279</a> 1500 for BSD systems which do not complete initialization until both 1501 sides of the pseudoterminal are opened, by preferring openpty() 1502 function over posix_openpt() when available (report by 1503 Christian Weisgerber).</li> 1504 </ul> 1505 1506 <h1><a name="xterm_291" id="xterm_291">Patch #291 - 1507 2013/02/26</a></h1> 1508 1509 <ul> 1510 <li>add validity check for xterm widget parameter to 1511 <code>AlternateScroll</code> function, needed to handle wheel 1512 mouse events in the scrollbar area since <a href= 1513 "#xterm_282">patch #282</a> changes which introduced 1514 <code>alternateScroll</code> feature (Redhat #874327).</li> 1515 </ul> 1516 1517 <h1><a name="xterm_290" id="xterm_290">Patch #290 - 1518 2013/02/12</a></h1> 1519 1520 <ul> 1521 <li>revert of <a href="#xterm_282">patch #282</a> change was 1522 incomplete (report by Jim Reisert).</li> 1523 1524 <li>fix typo in manpage (report by Vincent Lefevre).</li> 1525 </ul> 1526 1527 <h1><a name="xterm_289" id="xterm_289">Patch #289 - 1528 2013/02/08</a></h1> 1529 1530 <ul> 1531 <li>revert the <a href="#xterm_282">patch #282</a> change which 1532 restored "lost" text after shrinking/growing the screen size. 1533 If the screen was updated between the two resizing operations, 1534 unexpected text might be shown at the end (report/testcase by 1535 Joe Peterson).</li> 1536 1537 <li>reverse the arrow-keys sent for 1538 <code>alternateScroll</code> to match the usage in browsers 1539 (suggested by Dieter Roelants).</li> 1540 1541 <li>modify mouse reports to consistently indicate motion events 1542 whether or not a button is pressed. Old behavior (since 1543 <a href="#xterm_127">patch #127</a> modified encoding for wheel 1544 mouse) showed only that the button was released if no button 1545 had been pressed (report by Andy Koppe).</li> 1546 1547 <li>correct and improve behavior for SGR 1006 mouse protocol on 1548 button release in any-event mode. Initial implementation in 1549 <a href="#xterm_277">patch #277</a> left internal state showing 1550 the last button pressed when reporting motion events. It now 1551 keeps track of all buttons which have been pressed and 1552 released, showing the lowest remaining button by number in the 1553 response (reports by Hayaki Saito, Andy Koppe).</li> 1554 1555 <li>fix inconsistency between <code>TermColors</code> and 1556 <code>OscTextColors</code> enums which interchanged values for 1557 tektronix cursor color and highlight foreground in control 1558 sequences in <a href="#xterm_225">patch #225</a> (report/patch 1559 by Peder Stray).</li> 1560 1561 <li>fix inconsistent use of noreturn-attribute in 1562 <code>Exit</code> function which interfered with clang 1563 --analyze.</li> 1564 1565 <li>remove incorrect <code>free</code> used in computation of 1566 <code>XTERM_SHELL</code> variable, from Coverity fixes in 1567 <a href="#xterm_288">patch #288</a> (FreeBSD #175782).</li> 1568 1569 <li>add <code>--with-valgrind</code> option to configure script 1570 for consistency with my other programs.</li> 1571 1572 <li>update table of ambiguous width characters in wcwidth.c 1573 based on Unicode 6.2.0</li> 1574 1575 <li>update table of combining characters in wcwidth.c based on 1576 Unicode 6.2.0</li> 1577 1578 <li>update precompose.c based on Unicode 6.2.0</li> 1579 </ul> 1580 1581 <h1><a name="xterm_288" id="xterm_288">Patch #288 - 1582 2013/01/09</a></h1> 1583 1584 <ul> 1585 <li>fix a special case in <code>ShowCursor</code> where the 1586 foreground and background colors of the current position are 1587 the same. In that case, choose the further of the window's 1588 foreground and background colors for the cursor color.</li> 1589 1590 <li>modify <code>alternateScroll</code> feature added in 1591 <a href="#xterm_282">patch #282</a> to use either 1592 <code>CSI</code> or <code>SS3</code> according to the cursor 1593 keys application mode setting, to simplify using it in vi, etc. 1594 (suggested by Dietar Roelants).</li> 1595 1596 <li>revise manpage for <code>resize</code> to clarify the 1597 changes which <code>resize</code> may make to the terminal 1598 settings as well as to the terminal itself.</li> 1599 1600 <li>remove code such as <code>struct ttysize</code>, used for 1601 SunOS 3 and 4.</li> 1602 1603 <li>modify configure script and makefile to check for 1604 <code>groff</code> and suppress groff-specific rules if groff 1605 is not found.</li> 1606 1607 <li>modify ctlseqs.ms and makefile to work around bugs in 1608 <code>grohtml</code> which cause ".png" files to be truncated 1609 when producing html documentation.</li> 1610 1611 <li>modify suffix rules for "make docs" to make the names of 1612 the generated ".png" files predictable, helping to work around 1613 longstanding problems with this feature of groff—none of 1614 its releases work for <em>all</em> of xterm's tables..</li> 1615 1616 <li>correct typo in ctlseqs.ms for DECIC and DECDC; the 1617 character preceding the final "<code>~</code>" is an ASCII 1618 single-quote "<code>'</code>" rather than a space (report by 1619 Paul LeoNerd Evans).</li> 1620 1621 <li>update CF_GCC_VERSION macro, handling both Debian and 1622 Darwin.</li> 1623 1624 <li>improve configure script checks for the 1625 <code>--with-desktop-category</code> option. After <a href= 1626 "#xterm_280">patch #280</a> changes, if no value was given for 1627 this option, and no existing desktop files found for 1628 comparison, the incorrect "auto" value was passed into the 1629 generated desktop file (report by Julien Cristau).</li> 1630 1631 <li>modify sample build-scripts to disable check for 1632 <code>imake</code> due to code-rot in Xorg.</li> 1633 1634 <li>add <code>-v</code> command-line option to 1635 <code>resize</code>, reporting the same version string as 1636 <code>xterm</code> and the two shell-wrappers.</li> 1637 1638 <li>make name-transformation apply to other occurrences of 1639 <code>resize</code>, other manpages.</li> 1640 1641 <li>special-case the name-transformation in xterm's manpage in 1642 the NAME section so that the result works with 1643 <code>makewhatis</code> (report by Julien Cristau).</li> 1644 1645 <li>modify install-rules for manpages to put each program's 1646 respective transformed name into the header rather than 1647 xterm's.</li> 1648 1649 <li>remove deprecated files: proto.h, os2main.c</li> 1650 1651 <li>minor fixes based on Coverity scan, including: 1652 1653 <ul> 1654 <li>correct caching of Atom value for the font menu's 1655 "Selection" entry.</li> 1656 1657 <li>ensure that utmp/utmpx calls do not depend upon 1658 trailing nulls in the <code>ut_id</code> and 1659 <code>ut_line</code> values.</li> 1660 </ul> 1661 </li> 1662 </ul> 1663 1664 <h1><a name="xterm_287" id="xterm_287">Patch #287 - 1665 2012/11/25</a></h1> 1666 1667 <ul> 1668 <li>fix a case where in_put() loop could continue when it has 1669 found an X event rather than the pty, causing the pty-read to 1670 be delayed (patch by Balazs Kezes).</li> 1671 1672 <li>add option to <code>pointerMode</code> resource and 1673 corresponding control sequences to allow text-cursor to remain 1674 hidden if the pointer leaves/enters the window via accelerator 1675 keys. Ordinary motion within the window restores the pointer 1676 (prompted by patch by Balazs Kezes).</li> 1677 1678 <li>remove special case of modifiers for the 1679 <code>Mode_switch</code> and <code>XK_ISO_Level3_Shift</code> 1680 from <a href="#xterm_223">patch #223</a>. Verified that the 1681 conflict which this was intended to resolve does not happen for 1682 normal compose- or modeswitch-handling (prompted by patch by 1683 Balazs Kezes, Debian #638694).</li> 1684 1685 <li>modify the handling of focus-change events to ignore those 1686 whose detail is <code>NotifyPointer</code>, since those are 1687 sent in addition to focus-change events directed to the old/new 1688 windows having focus. In particular, this prevents the 1689 urgency-hint from being reset inadvertantly (prompted by patch 1690 by Balazs Kezes).</li> 1691 1692 <li>modify description of <code>iconName</code> in manpage to 1693 make it clearer that this resource does not specify the 1694 filename of an icon (discussion with Ian Collier).</li> 1695 1696 <li>modify <code>iconHint</code> resource to allow suppressing 1697 the built-in icon by setting this to "none" (discussion with 1698 Ian Collier).</li> 1699 1700 <li>make <code>-iconic</code> option work with the toolbar 1701 configuration.</li> 1702 1703 <li>correct initialization of window manager hints used to set 1704 the icon-pixmap. That detail from <a href="#xterm_282">patch 1705 #282</a> overwrote state used to control the 1706 <code>-iconic</code> command-line option (report by Ian 1707 Collier).</li> 1708 1709 <li>fix paste64 feature for the case where the selection comes 1710 from the current terminal. The selection callback can happen 1711 after the reply is partly built, making it necessary to flush 1712 the reply-buffer to keep things in the proper order (report by 1713 Ailin Nemui).</li> 1714 1715 <li>reject command-line options which are longer than the 1716 options in xterm's table, to avoid mismatches (Redhat 1717 #875305).</li> 1718 1719 <li>correct attribution for <a href="#xterm_282">patch #282</a> 1720 changes.</li> 1721 </ul> 1722 1723 <h1><a name="xterm_286" id="xterm_286">Patch #286 - 1724 2012/10/29</a></h1> 1725 1726 <ul> 1727 <li>fix <code>minstall.in</code> to work with "make docs" rule, 1728 so that patch number appears in the corresponding generated 1729 documentation.</li> 1730 1731 <li>modify <code>minstall.in</code> to keep the name shown in 1732 the heading consistent with any renaming, e.g., for 1733 test-builds.</li> 1734 1735 <li>check for misconfigured <code>printerCommand</code> 1736 resource on the first use, warn and disable it if it does not 1737 specify an executable command (Debian #691642).</li> 1738 1739 <li>improve check for window-manager name needed to establish 1740 usable default for activeIcon resource. This works around a 1741 scenario where <code>gdm</code> does incomplete cleanup, 1742 leaving window properties that refer to windows which no longer 1743 exist (Redhat #869959).</li> 1744 </ul> 1745 1746 <h1><a name="xterm_285" id="xterm_285">Patch #285 - 1747 2012/10/23</a></h1> 1748 1749 <ul> 1750 <li>add/adapt FreeBSD ports files for test-building.</li> 1751 1752 <li>modify <code>minstall.sh</code> to use the patch-number and 1753 date in the manpage footer.</li> 1754 1755 <li>add check for failure to allocate the fg/bg colors at 1756 startup, e.g., misconfiguration. Work around by setting both to 1757 the default colors (suggested by Scott Bertilson).</li> 1758 1759 <li>amend change for <a href="#xterm_280">patch #280</a> which 1760 added <code>modifyKeyboard</code>, to make 1761 <code>modifyOtherKeys</code> work (report by Ailin Nemui).</li> 1762 1763 <li>add <code>query-colors.pl</code> example for 1764 OSC 4.</li> 1765 1766 <li>correct mis-applied fix for minstall.sh (report by Miroslav 1767 Lichvar).</li> 1768 </ul> 1769 1770 <h1><a name="xterm_284" id="xterm_284">Patch #284 - 1771 2012/10/14</a></h1> 1772 1773 <ul> 1774 <li>amend configurability changes for icons from <a href= 1775 "#xterm_283">patch #283</a>, moving the new functionality to 1776 the <code>iconHint</code> resource to avoid conflict with 1777 existing uses of the <code>iconName</code> resource in the 1778 <code>Shell</code> widget (report by Emanuel Haupt).</li> 1779 1780 <li>fix documentation errata reported by Miroslav Lichvar: 1781 1782 <ul> 1783 <li>correct manpage default for <code>allowTcapOps</code> 1784 (see <a href="#xterm_243">patch #243</a></li> 1785 1786 <li>modify documentation for configure 1787 <code>--enable-backarrow-key</code> to match the script 1788 (see <a href="#xterm_280">patch #280</a>).</li> 1789 1790 <li>fix typo in <code>minstall.sh</code> in <a href= 1791 "#xterm_283">patch #283</a>, which made the leading-cap 1792 "Xterm" become "xterm" (patch by Miroslav).</li> 1793 </ul> 1794 </li> 1795 1796 <li>fix two typos in configure.in from <a href= 1797 "#xterm_283">patch #283</a> changes; one broke the 1798 <code>--regex</code> configure option (report by H Merijn 1799 Brand).</li> 1800 </ul> 1801 1802 <h1><a name="xterm_283" id="xterm_283">Patch #283 - 1803 2012/10/09</a></h1> 1804 1805 <ul> 1806 <li>modify makefile and script to generate appropriate renaming 1807 s/xterm/xterm-dev/ for test-package's manpage.</li> 1808 1809 <li>improve makefile rules for installing/uninstalling pixmap 1810 files, to include the newer mini- and filled- variants.</li> 1811 1812 <li>clarify change in manpage regarding <a href= 1813 "#xterm_282">patch #282</a> change to always set a 1814 window-decoration icon, even if <code>iconName</code> is not 1815 set.</li> 1816 1817 <li>add a fourth flavor of window-decoration icons, 1818 "filled-xterm" for a monochrome xterm with filled 1819 interior.</li> 1820 1821 <li>use shape-mask to improve contrast of the window-decoration 1822 icons.</li> 1823 1824 <li>minor changes to icon colors to improve contrast on 1825 bright-mud backgrounds.</li> 1826 1827 <li>drop configure checks for memmove versus bcopy, and 1828 strerror function; all currently tested platforms support 1829 these.</li> 1830 1831 <li>cleanup configure macros, as done in byacc 20121003.</li> 1832 1833 <li>improve configurability of the built-in icon selectable via 1834 the <code>iconName</code> resource.</li> 1835 1836 <li>update config.guess, config.sub</li> 1837 </ul> 1838 1839 <h1><a name="xterm_282" id="xterm_282">Patch #282 - 1840 2012/09/28</a></h1> 1841 1842 <ul> 1843 <li>improve configure check for 1844 <code>XkbKeycodeToKeysym</code>, fixing a regression on some 1845 older systems in the <a href="#xterm_280">patch #280</a> 1846 changes.</li> 1847 1848 <li>add clarification in manpage for 1849 <code>alwaysBoldMode</code> and <code>veryBoldColors</code> 1850 resources (prompted by Derek Martin question about using the 1851 former with TrueType fonts).</li> 1852 1853 <li>add <code>alternateScroll</code> resource and corresponding 1854 control sequences which modify the <code>scroll-forw</code> and 1855 <code>scroll-back</code> actions: when the alternate screen is 1856 displayed, wheel mouse up/down will send cursor keys (Debian 1857 #683942).</li> 1858 1859 <li>improve rendering for the case when a Unicode character is 1860 absent in the bold font but present in the normal font by 1861 temporarily falling back to the normal font (Debian #359006, 1862 Debian #408666).</li> 1863 1864 <li>provide configure option 1865 <code>--enable-double-buffer</code> and ifdef's to allow 1866 comparisons with/without double-buffering. The default uses 1867 normal buffering.</li> 1868 1869 <li>add feature to optionally scroll current page before 1870 clearing, controlled by resource setting 1871 <code>cdXtraScroll</code> (prompted by patch by Balazs 1872 Kezes):</li> 1873 1874 <li>integrated patches from Arch Linux forum posting (patches 1875 by Balazs Kezes): 1876 1877 <ul> 1878 <li>modify reallocation limit of line-data when resizing 1879 screen so that "lost" text will be restored if the screen 1880 is first shrunk and then grown.</li> 1881 1882 <li>modify output to use double-buffering to reduce 1883 flicker.</li> 1884 </ul> 1885 </li> 1886 1887 <li>modify <code>scroll-lock</code> action to handle 1888 on/off/toggle keywords like other actions. Previously the 1889 optional parameter was interpreted as an integer.</li> 1890 1891 <li>extend <code>DECSCUSR</code> to provide a way to set the 1892 cursor to a vertical bar (patch by Paul Bolle).</li> 1893 1894 <li>add <code>-8</code>, <code>-c</code>, <code>-d</code> and 1895 <code>-u</code> options to <code>88colors2.pl</code> and 1896 <code>256colors2.pl</code> scripts. No current terminal 1897 emulator recognizes C1 controls while handling UTF-8 1898 encoding—see notes in <a href="#xterm_119">patch #119</a> 1899 and <a href="#xterm_109">patch #109</a> regarding 1900 <code>utf8controls</code>—but the <code>-u</code> and 1901 <code>-8</code> options are useful for demonstrating this 1902 point.</li> 1903 1904 <li>improve speed when changing color palettes using OSC 1905 controls by deferring repaint while followup controls might be 1906 additional color palette changes.</li> 1907 1908 <li>modify <code>SGR 38</code> and 1909 <code>SGR 48</code> to accept RGB index, matching the 1910 closest entry in xterm's palette.</li> 1911 1912 <li>extend <code>SGR 38</code> and 1913 <code>SGR 48</code> to accept colon as parameter separator 1914 (request by Paul LeoNerd Evans).</li> 1915 1916 <li>modify <code>fullscreen</code> action to allow it to toggle 1917 the full-screen mode rather than only set or unset it (prompted 1918 by Eeri Kask's suggestion to support 1919 <code>_NET_WM_TOGGLE</code>). This implementation does not yet 1920 use <code>_NET_WM_TOGGLE</code>.</li> 1921 1922 <li>add support for <code>_NET_WM_STATE_MAXIMIZED_VERT</code> 1923 and <code>_NET_WM_STATE_MAXIMIZED_HORZ</code> EWMH properties 1924 (suggested by Eeri Kask).</li> 1925 1926 <li>make fullscreen mode work with the tek4014 window. This 1927 change makes only the currently active window to be changed to 1928 fullscreen rather than changing both windows.</li> 1929 1930 <li>modify <code>TekClear</code> function to discard pending 1931 output before clearing the tek4014 display (patch by Kevin 1932 Ryde).</li> 1933 1934 <li>fix <code>deleteIsDEL</code> feature, broken in <a href= 1935 "#xterm_280">patch #280</a> changes (report by Mike Thornburg, 1936 forwarded by Jeremy Huddleston).</li> 1937 1938 <li>fix a special case of wrapping double-width characters 1939 (report/test-case by Ken Winstein).</li> 1940 1941 <li>add <code>E3</code> extended capability to 1942 <code>xterm-basic</code> to match ncurses <a href= 1943 "http://invisible-island.net/ncurses/NEWS.html#t20120728">20120728</a> 1944 patch.</li> 1945 1946 <li>fix incorrect transformation of row-parameter for 1947 <code>ClearCurBackground</code> in <a href="#xterm_279">patch 1948 #279</a> which caused incorrect painting in some scrolling 1949 scenarios (report by Chuck Silvers).</li> 1950 1951 <li>fix typo in manpage description of <code>+maximized</code> 1952 option (Paul Maier).</li> 1953 1954 <li>change default for configure option 1955 <code>--with-xpm</code>, turning it on unless requested 1956 otherwise.</li> 1957 1958 <li>add configure option <code>--with-icon-name</code> which 1959 can be used to override the default icon used in 1960 icon-themes.</li> 1961 1962 <li>extend <code>activeIcon</code> resource to provide 1963 <code>default</code> value which tells xterm to determine the 1964 window manager's name and automatically enable the feature for 1965 fvwm and window maker. The explicit true/false values can be 1966 used to override this behavior.</li> 1967 1968 <li>add "mini" xterm icon, which scales better than the 1969 standard xterm icon, e.g., for the gnome/kde "panel" 1970 feature.</li> 1971 1972 <li>extend <code>iconName</code> resource to search for icon 1973 named according to resource value and use that if found. If not 1974 found, use compiled-in pixmap. Both set the WM_ICON_NAME 1975 property which is used by various window managers, usually for 1976 window decoration.</li> 1977 1978 <li>updated autoconf patch, adding support for --datarootdir, 1979 which changes the default location of manpages.</li> 1980 1981 <li>further improved autoconf macros for configuring icons, 1982 from vile 9.8h</li> 1983 </ul> 1984 1985 <h1><a name="xterm_281" id="xterm_281">Patch #281 - 1986 2012/06/26</a></h1> 1987 1988 <ul> 1989 <li>remove "$(srcdir)/" from install-icon rule to fix builds 1990 when --srcdir configuration option is used.</li> 1991 1992 <li>fix for configure script's search for icon file when it is 1993 not found in the current directory, e.g., when building out of 1994 tree (patch by Thierry Reding).</li> 1995 1996 <li>undo the XK_Home / XK_End change from <a href= 1997 "#xterm_280">patch #280</a> which broke the non-VT220 keyboard 1998 for those keys (report by H Merijn Brand).</li> 1999 </ul> 2000 2001 <h1><a name="xterm_280" id="xterm_280">Patch #280 - 2002 2012/06/24</a></h1> 2003 2004 <ul> 2005 <li>add configure check to work around warning from 2006 desktop-file-install for "Encoding", noting that it emits 2007 deprecation warnings without providing its version 2008 information.</li> 2009 2010 <li>add configure option <code>--with-icon-theme</code> to tell 2011 xterm whether to install into an icon theme, defaulting to 2012 "hicolor" (Redhat #755206, Redhat #799614 and Redhat 2013 #804279).</li> 2014 2015 <li>change <code>--with-icondir</code> to look for "icons" 2016 directory rather than "pixmaps" by default. Add new option 2017 <code>--with-pixmapdir</code> to allow these two uses to be 2018 installed concurrently.</li> 2019 2020 <li>modify configure options <code>--with-app-defaults</code> 2021 and <code>--with-icondir</code> to accept "auto" as value to 2022 look for existing directory from well-known locations.</li> 2023 2024 <li>add missing codes for secondary DA response which tell the 2025 type of terminal as in the primary DA response.</li> 2026 2027 <li>update primary DA response for VT420 to include user 2028 windows and horizontal scrolling.</li> 2029 2030 <li>add <code>modifyKeyboard</code> resource to support 2031 keypad-modifier changes per request by Thomas Wolff.</li> 2032 2033 <li>add XK_Home / XK_End to editing-keypad checks</li> 2034 2035 <li>add back-tab key <code>kB</code> to termcap entries to 2036 match the terminfo.</li> 2037 2038 <li>update terminfo to match corresponding entries in ncurses, 2039 e.g., add <code>XT</code> and adjust <code>sgr</code> string 2040 for xterm-bold entry.</li> 2041 2042 <li>add configure options to predefine the most commonly 2043 customized resources for terminal-settings, use those to 2044 substitute into the manpage the corresponding compiled-in 2045 values: <code>altSendsEscape</code>, <code>backarrowKey</code>, 2046 <code>backarrowKeyIsErase</code>, <code>deleteIsDEL</code>, 2047 <code>metaSendsEscape</code> (Redhat #819588).</li> 2048 2049 <li>change default emulation level to VT420 (discussion with 2050 Ailin Nemui).</li> 2051 2052 <li>improve logic for DECSCL; <a href="#xterm_279">patch 2053 279</a> partly enforced limitation of this to higher-level 2054 emulations. This patch finishes that change.</li> 2055 2056 <li>improve check for base of combining characters, preventing 2057 combination when cursor movement has intervened. Mosh's webpage 2058 gives two different examples of this, with other causes 2059 ascribed to the behavior.</li> 2060 2061 <li>modify IL/DL to set cursor to first column on row for 2062 better VT102/VT220 compatibility (prompted by code review of 2063 mosh).</li> 2064 2065 <li>separate state-table entries for DECSC/DECRC from the 2066 ANSI.SYS save/restore cursor, since the latter conflicts with 2067 DECSLRM when DECLRMM is enabled since <a href= 2068 "#xterm_279">patch #279</a> (report/analysis by Ailin 2069 Nemui).</li> 2070 2071 <li>fixes to avoid using <code>SIGCHLD</code> handler of main 2072 program in printer's subprocess (report by Joe Julian).</li> 2073 2074 <li>correct restore-parameter for mouse-modes from <a href= 2075 "#xterm_279">patch #279</a> changes.</li> 2076 2077 <li>add null-pointer checks to input-method caching added in 2078 <a href="#xterm_277">patch #277</a> to fix a problem in the 2079 exposure code, when deselecting a window (report by Kriston 2080 Rehberg).</li> 2081 2082 <li>unset <code>DESKTOP_STARTUP_ID</code> environment variable 2083 to lessen confusion on the part of GTK applications which use 2084 the variable without checking it (report by John Little).</li> 2085 </ul> 2086 2087 <h1><a name="xterm_279" id="xterm_279">Patch #279 - 2088 2012/05/10</a></h1> 2089 2090 <ul> 2091 <li>fill in missing cases in the save/restore modes feature 2092 (report by Thomas Wolff).</li> 2093 2094 <li>add check to ensure that combining characters are 2095 precomposed in the order given (report/analysis by Andries E 2096 Brouwer).</li> 2097 2098 <li>improve workability check for posix_openpt(), to take into 2099 account BSD systems which do not complete initialization until 2100 both sides of the pseudoterminal are opened (report by 2101 Christian Weisgerber).</li> 2102 2103 <li>amend fix for Debian #650291 in <a href="#xterm_277">patch 2104 #277</a> changes to account for different data returned by 2105 vnc4server (Debian #670638).</li> 2106 2107 <li>add check in DECCRA operation to make copies of blinking 2108 text also blink by updating a line-level flag.</li> 2109 2110 <li>modify rectangle operations to work with DECOM.</li> 2111 2112 <li>modify DECSERA to use the current protected state rather 2113 than preserving it.</li> 2114 2115 <li>add <code>precompose</code> resource to allow storing 2116 character data in Normalized Form D as described in <a href= 2117 "http://unicode.org/reports/tr15/">http://unicode.org/reports/tr15/</a> 2118 (report/discussion with Andries E Brouwer).</li> 2119 2120 <li>modify CBT, other ISO-6429 controls which are used by VT520 2121 to work with DECOM.</li> 2122 2123 <li>add HPR and VPR controls, ISO 6429 cursor movement used in 2124 VT520.</li> 2125 2126 <li>remove "linux" restriction for IUTF8 ifdef in main.c 2127 (prompted by Matthew Dempsky posting on 2128 mailing.openbsd.tech).</li> 2129 2130 <li>implement the remaining VT420-level device status 2131 reports.</li> 2132 2133 <li>change DECXCPR to return page 1, rather than 0.</li> 2134 2135 <li>improve VT-level checks on reporting functions, such as 2136 DECXCPR.</li> 2137 2138 <li>change limit on <code>decTerminalID</code> to 525.</li> 2139 2140 <li>fixes to improve vttest vt52 screen when running as a 2141 VT420: 2142 2143 <ul> 2144 <li>add checks for some VT2xx and up controls for 2145 consistency: DECSCL, S1C8T, S1C7T.</li> 2146 2147 <li>modify DECRQSS return for DECSCL to only return that 2148 when running as VT2xx and up.</li> 2149 2150 <li>when exiting from VT52-mode, resume in VT100 level 2151 rather than the level before starting VT52-mode.</li> 2152 </ul> 2153 </li> 2154 2155 <li>implement DECLRMM, DECSLRMM and DECNCSM (prompted by 2156 discussions with Ailin Nemui and Paul LeoNerd Evans). This 2157 modifies several controls to obey top/bottom and left/right 2158 margins.</li> 2159 2160 <li>correct macro definition used for testing modes used in 2161 ANSI/DEC request-mode controls introduced in <a href= 2162 "#xterm_262">patch #262</a>.</li> 2163 2164 <li>modify <code>x_getlogin</code> to check $LOGNAME and $USER 2165 before fallback to <code>getlogin</code>, so that user's choice 2166 for these variables can be carried forward to the xterm process 2167 (Debian #611487).</li> 2168 2169 <li>document DECSCUSR response for DECRQSS in ctlseqs.ms</li> 2170 2171 <li>add <code>zIconTitleFormat</code> resource to allow 2172 customizing the "*** " prefixed to the icon title when the 2173 <code>zIconBeep</code> feature is activated (request by Thomas 2174 Adam).</li> 2175 2176 <li>modify DECSCUSR to update the same internal variable as 2177 RM/SM 12, and document in manpage the two variables used for 2178 controlling blinking cursor (report by Paul LeoNerd 2179 Evans).</li> 2180 2181 <li>correct response data for DECSCUSR in reply for DECRQSS 2182 response, which had inverted the blink-value (reports by Ailin 2183 Nemui, Paul LeoNerd Evans).</li> 2184 2185 <li>add a null-pointer check in <code>OkPasswd</code> macro to 2186 fix a problem in <code>resize</code> with Fedora 17 and a 2187 serial console (report/patch by Daniel Drake).</li> 2188 2189 <li>add workaround for Mac OS X, which loses the window size of 2190 a pseudo-terminal when the tty device is opened 2191 (report/analysis by Egmont Koblinger).</li> 2192 2193 <li>updated configure check for workable 2194 <code>posix_openpt</code> versus <code>grantpt</code>, from 2195 <code>luit</code> fixes.</li> 2196 2197 <li>modify DECIC/DECDC/DECBI/DECFI implemented in <a href= 2198 "#xterm_277">patch #277</a> to enable them only in VT4xx mode 2199 and up (report by Ailin Nemui).</li> 2200 2201 <li>update config.guess, config.sub</li> 2202 </ul> 2203 2204 <h1><a name="xterm_278" id="xterm_278">Patch #278 - 2205 2012/01/18</a></h1> 2206 2207 <ul> 2208 <li>correct initialization for <code>eightBitMeta</code> 2209 resource (FreeBSD #164101).</li> 2210 2211 <li>make special check for Darwin 9 (and lower) to <em>not</em> 2212 use <code>posix_openpt</code> (report by Christian Ebert).</li> 2213 2214 <li>minor fixes (adding ".ne" directives) to reduce the cases 2215 where groff's utility for generating images for tables dumps 2216 core. Most versions of groff (I've found 1.19.2 to be the most 2217 stable) dump core when attempting to report that there are too 2218 few lines on a page for a table to be shown.</li> 2219 </ul> 2220 2221 <h1><a name="xterm_277" id="xterm_277">Patch #277 - 2222 2012/01/07</a></h1> 2223 2224 <ul> 2225 <li>remove special case for ISC pseudo-terminals which attempts 2226 to open the pty in two different ways.</li> 2227 2228 <li>move call to <code>grantpt</code> before asking utempter to 2229 add a record, to work with kFreeBSD which does not update the 2230 terminal's ownership until this point (Debian #652907).</li> 2231 2232 <li>document limitation of XIM interface in manpage (Debian 2233 #230787).</li> 2234 2235 <li>cleanup error reporting with new xtermWarning 2236 function.</li> 2237 2238 <li>add configure option <code>--disable-selection-ops</code> 2239 to make the new actions optional.</li> 2240 2241 <li>add four new actions for making the selection or data 2242 directly copied from the screen (prompted by discussion in 2243 Debian #637001, as well as report by Arjen van Tol): 2244 2245 <ul> 2246 <li>exec-formatted</li> 2247 2248 <li>exec-selectable</li> 2249 2250 <li>insert-formatted</li> 2251 2252 <li>insert-selectable</li> 2253 </ul> 2254 </li> 2255 2256 <li>add <code>visualBellLine</code> resource to allow 2257 <code>visualBell</code> to flash only the current line 2258 (prompted by patch by Gertjan Halkes).</li> 2259 2260 <li>add <code>eightBitMeta</code> resource to control the 2261 features which modify or interpret the eighth bit of a key when 2262 the meta modifier key is pressed (prompted by Debian 2263 #326200).</li> 2264 2265 <li>improve discussion of <code>eightBitInput</code> in the 2266 manpage (prompted by Debian #326200).</li> 2267 2268 <li>correct logic for <code>alt-sends-escape</code> action, 2269 overlooked when implementing <code>altSendsEscape</code> 2270 resource, which still used <code>eightBitInput</code> resource 2271 value.</li> 2272 2273 <li>add a workaround for <code>XAllocColor()</code>, which does 2274 not actually allocate "a read-only colormap entry corresponding 2275 to the closest RGB value supported by the hardware", but rather 2276 a rough approximation (Debian #650291).</li> 2277 2278 <li>undo parameter checks for <code>RequestResize()</code> 2279 added in <a href="#xterm_251">patch #251</a> and amended in 2280 <a href="#xterm_270">patch #270</a>, because zeros also are 2281 special cases (report by John S Urban).</li> 2282 2283 <li>modify some test-scripts to use <code>/bin/echo</code> 2284 rather than the shell's possibly-builtin <code>echo</code>, to 2285 work around broken configuration on Mac OS X, i.e., neither 2286 honoring the option nor flagging an error.</li> 2287 2288 <li>add SGR 1006, as a better technical solution than SGR 1015: 2289 2290 <ul> 2291 <li>the responses will not be confused with line-deletion 2292 and scrolling controls.</li> 2293 2294 <li>the button encoding is a little simpler, since it does 2295 not add an unnecessary 32 because the integer parameter 2296 does not have to be represented as a printable 2297 character.</li> 2298 2299 <li>the control responses for pressing and releasing a 2300 mouse button differ, allowing an application to tell which 2301 button was released.</li> 2302 </ul> 2303 2304 <p>Besides these improvements, in discussion, it was noted 2305 that urxvt's implementation of 1005 is incorrect, relying 2306 upon a locale that provides UTF-8 encoding. In contrast, 2307 vttest demonstrates a correct decoding, independent of 2308 locale.</p> 2309 </li> 2310 2311 <li>add support for urxvt SGR 1015 to address shortcoming of 2312 SGR 1005 with luit (patch by Egmont Koblinger).</li> 2313 2314 <li>add ISO and DEC controls useful for left/right 2315 scrolling.</li> 2316 2317 <li>add some changes for OpenBSD and MirBSD (adapted from patch 2318 by Thorsten Glaser): 2319 2320 <ul> 2321 <li>disable search for non-Unix96 ptys.</li> 2322 2323 <li>fix a gcc warning in 2324 <code>timestamp_filename</code></li> 2325 2326 <li>modify <code>Imakefile</code> to install xterm setgid 2327 to utmp.</li> 2328 </ul> 2329 </li> 2330 2331 <li>add/use/prefer <code>posix_openpt()</code> for opening 2332 pseudo-terminal.</li> 2333 2334 <li>modify special errno handling case in ptydata.c from 2335 <a href="#xterm_158">patch #158</a> to allow for the 2336 possibility that any platform may have special cases where 2337 "/dev/tty" is absent. For example, this can happen in a FreeBSD 2338 jail (patch by David Wolfskill).</li> 2339 2340 <li>add keyboard logic to map shift-tab into XK_ISO_Left_Tab, 2341 which is usually, not always, done by the X keyboard 2342 configuration.</li> 2343 2344 <li>portability fixes for some configure macros: 2345 <code>CF_XOPEN_SOURCE</code></li> 2346 </ul> 2347 2348 <h1><a name="xterm_276" id="xterm_276">Patch #276 - 2349 2011/10/10</a></h1> 2350 2351 <ul> 2352 <li>modify clipping limits for TrueType fonts to account for 2353 the <code>scaleHeight</code> resource setting, to work around 2354 another problem due to recent FreeType changes. In this case, 2355 the <code>DejaVu Sans Mono</code> set to pixelsize=13.5 is 2356 truncated because the font descent is reduced by FreeType to 2357 match an incorrect height metric (report by Adam Lee).</li> 2358 2359 <li>improve recovery when bitmap fonts are not installed, e.g., 2360 so that switching font-sizes works for TrueType fonts.</li> 2361 2362 <li>modify lookup for <code>XTERM_SHELL</code> feature to allow 2363 relative pathnames.</li> 2364 2365 <li>modify abbreviation disambiguation check for command-line 2366 parameters to account for <code>-geometry</code>, whose 2367 parameter may begin with "+" or "-" (report by Scott 2368 Bertilson).</li> 2369 </ul> 2370 2371 <h1><a name="xterm_275" id="xterm_275">Patch #275 - 2372 2011/09/11</a></h1> 2373 2374 <ul> 2375 <li>add <code>ash</code>, <code>zsh</code> to known shells for 2376 <code>resize</code>.</li> 2377 2378 <li>modify <code>resize</code> to reuse the logic from 2379 <code>xterm</code> which determines the actual logon-user's 2380 shell if <code>$SHELL</code> is not set.</li> 2381 2382 <li>revert the <code>unsetenv("SHELL")</code> added in <a href= 2383 "#xterm_272">patch #272</a>.</li> 2384 2385 <li>an <code>unsetenv("SHELL")</code> added in <a href= 2386 "#xterm_272">patch #272</a> to help ensure that 2387 <code>luit</code> would get the user's shell consistently did 2388 not work as expected for cases where multiple names are in the 2389 password-file for a given uid. That was because changes in 2390 <a href="#xterm_157">patch #157</a> to handle this situation 2391 did not take into account that repeated calls to 2392 <code>getpwnam</code> and <code>getpwuid</code> return a 2393 pointer to the same static buffer. Fixed the older logic to 2394 work as intended, by ensuring that the passwd-data from each 2395 call is stored separately (report by Paul Keusemann).</li> 2396 2397 <li>adjust ifdef's for <code>putenv</code> and 2398 <code>unsetenv</code> in case only one of those is provided on 2399 a given platform.</li> 2400 2401 <li>correct comparison used in <code>ExposeContains</code> 2402 macro from <a href="#xterm_274">patch #274</a> changes, to 2403 handle window-dragging (patch by Todd Eigenschink).</li> 2404 </ul> 2405 2406 <h1><a name="xterm_274" id="xterm_274">Patch #274 - 2407 2011/09/05</a></h1> 2408 2409 <ul> 2410 <li>portability fixes for cygwin: do not define 2411 <code>SVR4</code>, and work around nonstandard header 2412 location.</li> 2413 2414 <li>ifdef'd use of <code>unsetenv</code> from <a href= 2415 "#xterm_273">patch #273</a> changes to work with Solaris 9 2416 (report by Waldemar Rachwal).</li> 2417 2418 <li>modify logic for <code>XtAppPending</code> to merge 2419 adjacent <code>Expose</code> and <code>ConfigureNotify</code> 2420 events which are redundant (report by Edward McGuire).</li> 2421 2422 <li>fix an unneeded warning message when <code>-r</code> option 2423 is given.</li> 2424 2425 <li>remove a few redundant entries from table used for helping 2426 abbreviation-checking of command-line options, makes 2427 <code>-geom</code> work again after <a href="#xterm_272">patch 2428 #272</a> changes as an abbreviation of 2429 <code>-geometry</code>.</li> 2430 2431 <li>add <code>scaleHeight</code> resource and command-line 2432 option <code>-sh</code> as workaround for some 2433 font-configurations broken by changes in FreeType 2.4.6 (report 2434 by Miroslav Hodak).</li> 2435 2436 <li>portability fixes for some configure macros: 2437 <code>CF_FUNC_TGETENT</code>, <code>CF_XOPEN_SOURCE</code>, 2438 <code>CF_X_ATHENA_LIBS</code>.</li> 2439 2440 <li>add configure option <code>--with-freetype-config</code> to 2441 improve selection over the plethora of configuration options 2442 which freetype has so far provided.</li> 2443 2444 <li>build-fix for configure <code>--enable-load-vt-fonts</code> 2445 when <code>--enable-widec</code> is not specified.</li> 2446 2447 <li>build-fixes for suppressing various features, needed after 2448 changes in patches 270, 271 and 272 (report by Brian 2449 Lindholm)</li> 2450 </ul> 2451 2452 <h1><a name="xterm_273" id="xterm_273">Patch #273 - 2453 2011/08/25</a></h1> 2454 2455 <ul> 2456 <li>build-fix for out-of-tree "make docs" rule.</li> 2457 2458 <li>correct a typo in <code>x_strdup</code>, from <a href= 2459 "#xterm_198">patch #198</a> changes.</li> 2460 2461 <li>correct initialization for <code>-e</code> option, broken 2462 in <a href="#xterm_272">patch #272</a> changes (report by 2463 Gabriele Balducci).</li> 2464 2465 <li>build-fix for out-of-tree builds to address 2466 <code>minstall</code> script changes in <a href= 2467 "#xterm_272">patch #272</a> (patch by Thierry Reding).</li> 2468 </ul> 2469 2470 <h1><a name="xterm_272" id="xterm_272">Patch #272 - 2471 2011/08/24</a></h1> 2472 2473 <ul> 2474 <li>document limitation of <code>Gtk</code> in connection with 2475 xterm's <code>-into</code> option, in the manpage (Ubuntu 2476 #806969).</li> 2477 2478 <li>improve <code>-into</code> by checking for and using the 2479 size of the window within which xterm is embedded, overriding 2480 other clues.</li> 2481 2482 <li>modify logic for <code>localeFilter</code> resource to 2483 allow that to include command-line options of luit.</li> 2484 2485 <li>improve <code>-into</code> by checking for invalid 2486 window-id, and allowing hexadecimal/decimal/octal values.</li> 2487 2488 <li>improve <code>keepSelection</code>, adding the case where 2489 the highlighting is cleared, overlooked in <a href= 2490 "#xterm_230">patch #230</a> (patch by Marco Peereboom).</li> 2491 2492 <li>improve command-line parsing to make abbreviate options 2493 work consistently across xterm-specific versus standard X 2494 toolkit options, and report cases where an abbreviated option 2495 happens to be ambiguous. In particular, <code>-d</code> now 2496 works as an abbreviation for <code>-display</code>.</li> 2497 2498 <li>fix regression in command-line parsing introduced in 2499 <a href="#xterm_271">patch #271</a> changes for Debian #629358, 2500 (Debian #637910).</li> 2501 2502 <li>split-out new termcap/terminfo building block 2503 <code>xterm+kbs</code> for configurability.</li> 2504 2505 <li>modify <code>terminfo</code> file to reflect changes in 2506 ncurses for <code>xterm-16color</code> and 2507 <code>xterm-256color</code>.</li> 2508 2509 <li>modify <code>minstall.sh</code>, etc., to reflect the 2510 default default class, <code>$TERM</code> and 2511 <code>decTerminalID</code> values.</li> 2512 2513 <li>reword <code>resize</code> manpage to reflect the fact that 2514 <code>$TERMCAP</code> is not set on all systems (patch by Alan 2515 Coopersmith).</li> 2516 2517 <li>work around combined Xaw6/Xaw7 package in DragonFlyBSD 2518 which omits the usual symbolic link to the preferred library 2519 name.</li> 2520 2521 <li>further improve build-fix for termcap systems by checking 2522 for some which are only partial implementations, e.g., termcap 2523 2.08 in CentOS 5.2</li> 2524 </ul> 2525 2526 <h1><a name="xterm_271" id="xterm_271">Patch #271 - 2527 2011/07/14</a></h1> 2528 2529 <ul> 2530 <li>omit permissions adjustments to pty on exit except for 2531 pre-Unix98 ptys, since modern implementations handle this 2532 (report by Sean C Farley).</li> 2533 2534 <li>modify logic for switching fonts between UTF-8 and 2535 non-UTF-8 encoding to not merge the derivable bold-, wide- and 2536 widebold values from the VT100 fonts. Also suppress warning 2537 when not using UTF-8 fonts if wide- and widebold-fonts cannot 2538 be derived or otherwise loaded (report by Werner 2539 Scheinast).</li> 2540 2541 <li>modify menu-creation to suppress entries which will never 2542 be used in the current configuration, rather than simply 2543 disabling them.</li> 2544 2545 <li>add resource <code>printModeImmediate</code> and menu item 2546 to allow print of screen plus saved lines to a file.</li> 2547 2548 <li>add menu item to allow runtime enable/disable of the 2549 <code>printFileOnXError</code> feature.</li> 2550 2551 <li>append a timestamp to filename used in 2552 <code>printFileOnXError</code> feature, and restrict its 2553 permissions (request by Vincent Lefevre).</li> 2554 2555 <li>add a check when cancelling cursor-blinking, in case the 2556 cursor is blinked off. Fix so that the cursor is repainted 2557 without waiting for other events, e.g., keypress (report by 2558 Ailin Nemui).</li> 2559 2560 <li>add configure <code>--with-app-class</code> option, to 2561 simplify building "xterm-dev" packages with filenames that do 2562 not conflict with conventional "xterm" packages.</li> 2563 2564 <li>corrected logic flow for DECSCL, which prevented the 2565 updated operating level from being reported via DECRQSS (report 2566 by Ailin Nemui).</li> 2567 2568 <li>corrected default for <code>brokenStringTerm</code> 2569 resource to match manpage.</li> 2570 2571 <li>add vttests/dynamic.pl</li> 2572 2573 <li>add runtime check for locale not supported by X libraries, 2574 and fallback to XA_STRING in this case (request by Bryan 2575 Henderson).</li> 2576 2577 <li>fix a special case in configure script after no FreeType 2578 libraries are found. The script was proceeding to check for a 2579 usable configuration.</li> 2580 2581 <li>add <code>xterm+tmux</code> building block to terminfo 2582 (adapted from changes proposed by Ailin Nemui and Nicholas 2583 Marriott).</li> 2584 2585 <li>improve discussion of <code>faceName</code> resource in 2586 manpage (adapted from suggestions by Jens Schweikhardt).</li> 2587 2588 <li>correct mapping of shifted up/down cursor-keys in termcap 2589 function-keys mode, i.e., resource 2590 <code>tcapFunctionKeys</code> (patch by Gertjan Halkes).</li> 2591 2592 <li>update AIX case in <code>CF_XOPEN_SOURCE</code> configure 2593 macro to add release 7.x.</li> 2594 2595 <li>modify ifdef's in <code>xterm_io.h</code> for 2596 <code>__hpux</code> to force that to use the hacked SYSV 2597 support in that file. This fixes a problem with a non-blocking 2598 socket call (patch by Paul Lampert).</li> 2599 2600 <li>improve filtering of desktop category scanning, to exclude 2601 XFCE.</li> 2602 2603 <li>modify configure script to work with systems that have both 2604 ncurses (or other terminfo) as well as a real termcap library, 2605 e.g., Slackware (report by Andrew Watts).</li> 2606 2607 <li>modify configure script to work around special case where 2608 user's environment adds compiler flags to the <code>CC</code> 2609 variable (prompted by report by Paul Lampert).</li> 2610 2611 <li>amend change for Debian #110226 so that "-h" or "-v" 2612 options cause an exit, rather than simply printing to stdout 2613 while the window is displayed (Debian #629358).</li> 2614 2615 <li>add response for <code>DECRQSS</code> which gives the 2616 setting for <code>DECSCUSR</code>.</li> 2617 2618 <li>modify AllocateTermColor() to handle 2619 <code>XtDefaultForeground</code> and 2620 <code>XtDefaultBackground</code>, which are not recognized by 2621 <code>XParseColor</code>. For example, this fixes the use of 2622 OSC 112 when no explicit cursor color was set (report by 2623 Ailin Nemui).</li> 2624 2625 <li>handle special-case of <code>KeyPress</code> translated to 2626 <code>popup-menu</code> action (Ubuntu #756273).</li> 2627 </ul> 2628 2629 <h1><a name="xterm_270" id="xterm_270">Patch #270 - 2630 2011/04/26</a></h1> 2631 2632 <ul> 2633 <li>build-fix, e.g., for using <code>imake</code> on platforms 2634 which use the termcap library.</li> 2635 2636 <li>modify <code>utf8</code> resource to accept a name.</li> 2637 2638 <li>mention default for <code>fontWarnings</code> in manpage 2639 (report by Werner Scheinast).</li> 2640 2641 <li>split "UTF-8" menu entry into "UTF-8 Encoding" and "UTF-8 2642 Fonts" (prompted by discussion with Werner Scheinast).</li> 2643 2644 <li>gray-out font-menu entries when a font fails to load, e.g., 2645 a bitmap font is not installed.</li> 2646 2647 <li>improve behavior when there is no app-defaults file: 2648 2649 <ul> 2650 <li>set the <code>toolBar</code> resource to false</li> 2651 2652 <li>gray-out the font menu entries where no resource is 2653 found.</li> 2654 </ul> 2655 </li> 2656 2657 <li>add configure option <code>--with-desktop-category</code> 2658 to allow customization of the ".desktop" files.</li> 2659 2660 <li>build-fix for the <code>install-desktop</code> 2661 makefile-rule, when the source/build directories differ (patch 2662 by Loïc Minier).</li> 2663 2664 <li>add menu entry and corresponding resource which can be used 2665 to suppress all bold-fonts (discussion with Jan 2666 Engelhardt).</li> 2667 2668 <li>make internal line-size value consistent with allocated 2669 sizes of character and related arrays to ensure that bulk 2670 copying of line data, e.g., in scrolling, accounts for the 2671 padding used for pointer alignment (adapted from patch by 2672 Rajesh Mandalemula, also reported by Ali Bahar).</li> 2673 2674 <li>widen ifdef for screen-resizing logic from <a href= 2675 "#xterm_176">patch #176</a> changes to send 2676 <code>SIGWINCH</code> to process group to include any system 2677 supporting <code>ioctl(*,TIOCGPGRP,*)</code> (prompted by 2678 linux-specific patch in OpenSUSE rpm package).</li> 2679 2680 <li>add <code>printModeOnXError</code> and 2681 <code>printFileOnXError</code> resources, which allow the user 2682 to specify that xterm will write the contents of its screen to 2683 a file if it is exiting due to an X error (Debian 2684 #280457).</li> 2685 2686 <li>restore logic that made reverse-video apply to the 2687 scrollbar's foreground/background, broken in <a href= 2688 "#xterm_158">patch #158</a> (report by Bryan Ischo).</li> 2689 2690 <li>amend some of the window operations parameter-checks added 2691 in <a href="#xterm_251">patch #251</a> for the push/pop title 2692 feature, to allow the parameters used for window resizing to be 2693 -1's, which makes the corresponding values ignored rather than 2694 using the window's maximum width/height (report by Noah 2695 Friedman).</li> 2696 2697 <li>correct order of initialization for 2698 <code>translations</code> vs <code>fullscreen</code> resources 2699 to enable a special case which omits the Alt-Enter translation 2700 when <code>fullscreen</code> is disabled (Debian #612978).</li> 2701 2702 <li>update config.guess, config.sub</li> 2703 </ul> 2704 2705 <h1><a name="xterm_269" id="xterm_269">Patch #269 - 2706 2011/02/19</a></h1> 2707 2708 <ul> 2709 <li>build-fixes for <code>imake</code> (report by Heiko 2710 Berges).</li> 2711 2712 <li>modify autoconf macro CF_PKG_CONFIG to work with 2713 cross-compile environments (patch by Thierry Reding).</li> 2714 2715 <li>modify <code>MapToColorMode()</code> to favor bold over 2716 underline, matching the precedence used before <a href= 2717 "#xterm_252">patch #252</a> (report/analysis by Nicolas 2718 George).</li> 2719 2720 <li>add <code>omitTranslation</code> resource, which can be 2721 used to suppress the default translations for these features: 2722 2723 <ul> 2724 <li>fullscreen</li> 2725 2726 <li>scroll-lock</li> 2727 2728 <li>shift-fonts</li> 2729 2730 <li>wheel-mouse</li> 2731 </ul> 2732 </li> 2733 2734 <li>make the fullscreen feature configurable (Debian #612978) 2735 2736 <ul> 2737 <li>add it to the configurable list 2738 <code>disallowedWindowOps</code>.</li> 2739 2740 <li>add command-line option <code>-fullscreen</code> to 2741 allow the feature to be enabled at startup.</li> 2742 2743 <li>add resource <code>fullscreen</code> to control whether 2744 the feature is active or may be enabled.</li> 2745 </ul> 2746 </li> 2747 2748 <li>modify <code>probe_netwm_fullscreen_capability</code> for 2749 64-bit machines. Contrary to <code>XGetWindowProperty</code> 2750 manpage, that function returns 32-bit data packed as 2751 <code>long</code>'s.</li> 2752 2753 <li>eliminate copy of <code>name</code> resource, which was 2754 otherwise used only to give the terminal-description name for 2755 the tcap-query feature. Use the actual <code>$TERM</code> value 2756 instead, as derived from <code>termName</code> resource, 2757 etc.</li> 2758 2759 <li>eliminate an old inconsistency with error messages, some 2760 used the <code>-name</code> option, while others used 2761 <code>argv[0]</code>. The latter is now used consistently.</li> 2762 2763 <li>improve configure check for rpath-hack, to improve builds 2764 on systems where gcc will not search /usr/local/lib, etc.</li> 2765 2766 <li>build-fix for Xaw3d configuration (report by H Merijn 2767 Brand).</li> 2768 2769 <li>update config.guess, config.sub</li> 2770 </ul> 2771 2772 <h1><a name="xterm_268" id="xterm_268">Patch #268 - 2773 2011/02/10</a></h1> 2774 2775 <ul> 2776 <li>fix an inconsistency of the "Enable Reverse Video" checkbox 2777 in the VT Options menu. This also removes a special case added 2778 in <a href="#xterm_217">patch #217</a> which limited the effect 2779 of the <code>reverseVideo</code> resource (Debian 2780 #603808).</li> 2781 2782 <li>amend decoding of misformed UTF-8 sequences to avoid 2783 absorbing valid characters as documented in Unicode 6.0 section 2784 3.9 (report by Keith Winstein).</li> 2785 2786 <li>do not set urgency hint when window already has focus 2787 (patch by Dimitrios Christidis).</li> 2788 2789 <li>amend extended mouse-coordinate mode from <a href= 2790 "#xterm_262">patch #262</a> changes to include the <em>Cb</em> 2791 button-code, which also may be greater than 127 (report by 2792 Ailin Nemui).</li> 2793 2794 <li>ensure that underline-cursor is visible when an application 2795 happens to set the background color (report by Christian 2796 Weisgerber).</li> 2797 2798 <li>add feature for <a href= 2799 "http://www.davidsimmons.com/soft/xtermhacks/xterm-fullscreen.patch"> 2800 full-screen toggling</a> using either Alt-Enter or a menu 2801 selection (integrated patch by Dave Simmons).</li> 2802 2803 <li>add missing logic to handle reallocation of FIFO index for 2804 the "UTF-8" menu entry (report by David Holland, NetBSD 2805 #44344).</li> 2806 2807 <li>add makefile rules <code>docs-ctlseqs</code>, 2808 <code>docs-xterm</code>, etc.</li> 2809 2810 <li>correct typo in description of DECRPM in control sequences 2811 document (report by Ailin Nemui).</li> 2812 </ul> 2813 2814 <h1><a name="xterm_267" id="xterm_267">Patch #267 - 2815 2010/11/20</a></h1> 2816 2817 <ul> 2818 <li>minor formatting changes to ctlseqs.ms to simplify a script 2819 which extracts the feature information. See the results in 2820 <a href= 2821 "http://invisible-island.net/xterm/xterm.faq.html#compare_versions"> 2822 Comparing versions, by counting controls</a> in the xterm 2823 FAQ.</li> 2824 2825 <li>add <code>docs-clean</code> makefile rule.</li> 2826 2827 <li>add <code>copy-selection</code> action (request by Timo 2828 Juhani Lindfors, Debian #588785).</li> 2829 2830 <li>trim leading/trailing blanks from string used for 2831 "Selection" font-menu data.</li> 2832 2833 <li>trim leading/trailing blanks from color resource 2834 values.</li> 2835 2836 <li>configure script improvements: 2837 2838 <ul> 2839 <li>add workaround for removal of X11 dependency from Xt's 2840 package file (report by Robert Hooker).</li> 2841 2842 <li>add workaround for removal of fontconfig dependency 2843 from Xft's package file (report by Jeremy Huddleston).</li> 2844 2845 <li>add workaround for removal of Xmu dependency from Xaw's 2846 package file (report by Jeremy Huddleston).</li> 2847 2848 <li>improve workaround in <code>CF_X_TOOLKIT</code> macro, 2849 checking for other possible packages where Xt's 2850 dependencies may be given.</li> 2851 2852 <li>prefer <code>${name:=value}</code> to 2853 <code>${name-value}</code>, since recent bash changes break 2854 legacy support for that feature.</li> 2855 </ul> 2856 </li> 2857 </ul> 2858 2859 <h1><a name="xterm_266" id="xterm_266">Patch #266 - 2860 2010/10/24</a></h1> 2861 2862 <ul> 2863 <li>add rpm and dpkg scripts, for testing.</li> 2864 2865 <li>more fixes for Debian #600707 (report by Cyril 2866 Brulebois).</li> 2867 </ul> 2868 2869 <h1><a name="xterm_265" id="xterm_265">Patch #265 - 2870 2010/10/22</a></h1> 2871 2872 <ul> 2873 <li>fix a regression in fontname logic from <a href= 2874 "#xterm_263">patch #263</a> changes (Debian #600707, reported 2875 by Vincent Lefevre).</li> 2876 2877 <li>revert modification of any-event/any-button protocol from 2878 <a href="#xterm_263">patch #263</a> changes. It interferes with 2879 selection using a shifted mouse button (reports by Neil Bird, 2880 Bram Moolenaar).</li> 2881 </ul> 2882 2883 <h1><a name="xterm_264" id="xterm_264">Patch #264 - 2884 2010/10/14</a></h1> 2885 2886 <ul> 2887 <li>replace a null-pointer check with check for empty string in 2888 <code>xtermOpenFont</code>, to eliminate a warning message from 2889 <a href="#xterm_263">patch #263</a> changes.</li> 2890 2891 <li>build-fix for <a href="#xterm_263">patch #263</a> when 2892 toolbar is not configured (patch by Chris Clayton) (reports by 2893 Robby Workman, David Wood).</li> 2894 </ul> 2895 2896 <h1><a name="xterm_263" id="xterm_263">Patch #263 - 2897 2010/10/13</a></h1> 2898 2899 <ul> 2900 <li>corrected initialization of "misc" resource values, to 2901 ensure that xterm has allocated a copy of strings which may not 2902 have been malloc'd by the X library (Debian #600129).</li> 2903 2904 <li>modify handling of any-event/any-button mouse protocol; it 2905 now is active with any combination of key-modifiers.</li> 2906 2907 <li>add debugging feature <code>showWrapMarks</code>, which 2908 marks lines which xterm knows are wrapped, showing where a 2909 double-click will select past the end of a line.</li> 2910 2911 <li>build-fix to address change in include-guards for 2912 <code>Xlib.h</code> in ongoing Xorg edits (patch by Jeremy 2913 Huddleston).</li> 2914 2915 <li>improve <code>pointerMode</code> by continuing to watch for 2916 motion events after mouse tracking is disabled if the pointer 2917 is hidden (Debian #594856).</li> 2918 2919 <li>further extend initialization for active-icon font to check 2920 if the font was not loaded succesfully, to retry with 2921 <code>font1</code>, or as even (if TrueType fonts are used) to 2922 use a TrueType font. The retries are to help with cases as in 2923 <a href="#xterm_241">patch #241</a> where the bitmap fonts are 2924 not available.</li> 2925 2926 <li>fix special case of active-icon used when TrueType font is 2927 specified for the xterm window, from <a href="#xterm_261">patch 2928 #261</a> change. In that case, the default font's size was used 2929 for layout of the active icon's window (Debian #591265).</li> 2930 </ul> 2931 2932 <h1><a name="xterm_262" id="xterm_262">Patch #262 - 2933 2010/8/30</a></h1> 2934 2935 <ul> 2936 <li>fix a case where changing the cursor color via escape 2937 sequences did not immediately update the screen (report by 2938 Andreas Wagner).</li> 2939 2940 <li>implement ANSI and DEC request-mode control sequences. The 2941 latter includes the xterm-specific private modes such as the 2942 mouse mode. The feature is ifdef'd with the rectangle 2943 operations since its decoding overlaps that feature.</li> 2944 2945 <li>correct typo in ctlseqs.ms for response of OSC 21 (patch by 2946 Kevin Schoedel).</li> 2947 2948 <li>improve discussion of mouse tracking in ctlseqs.ms</li> 2949 2950 <li>increase an array limit used in reporting mouse events 2951 (report by Ryan Johnson).</li> 2952 2953 <li>add extended mouse-coordinates mode, allowing up to 2954 2015x2015 windows, using UTF-8 encoding (patch by Ryan 2955 Johnson).</li> 2956 2957 <li>modify manpage hyphens to conform with <a href= 2958 "http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html"> 2959 Debian</a>.</li> 2960 </ul> 2961 2962 <h1><a name="xterm_261" id="xterm_261">Patch #261 - 2963 2010/6/28</a></h1> 2964 2965 <ul> 2966 <li>fix regression in <code>renderFont</code> logic, from 2967 <a href="#xterm_260">patch #260</a> changes (report by Joseph 2968 Quinsey).</li> 2969 </ul> 2970 2971 <h1><a name="xterm_260" id="xterm_260">Patch #260 - 2972 2010/6/20</a></h1> 2973 2974 <ul> 2975 <li>modify <code>plink.sh</code> to work around problem linking 2976 to recent PCRE libraries.</li> 2977 2978 <li>extend <code>renderFont</code> resource to allow deferred 2979 switch to TrueType fonts without affecting existing resource 2980 settings (Debian #585620).</li> 2981 2982 <li>modify configure macro CF_X_TOOLKIT to work around omission 2983 of ICE library from ".pc" file (report by Miroslav 2984 Lichvar).</li> 2985 2986 <li>change configure script default for 2987 <code>--enable-broken-st</code> i.e., the 2988 <code>brokenStringTerm</code> feature) to normally enable it. 2989 If the corresponding resource is enabled, this feature 2990 eliminates an apparent freeze of xterm when sending mis-encoded 2991 data to the screen (Debian #584801).</li> 2992 2993 <li>document in manpage some actions which were overlooked: 2994 2995 <ul> 2996 <li>readline-button</li> 2997 2998 <li>scroll-lock</li> 2999 3000 <li>set-8-bit-control</li> 3001 </ul> 3002 </li> 3003 3004 <li>undo a change to limit-check in <code>ScrnRefresh</code> in 3005 <a href="#xterm_257">patch #257</a>, which broke 3006 <code>fastScroll</code> feature (Debian #584841).</li> 3007 3008 <li>modify handling of <code>brokenLinuxOSC</code> and 3009 <code>brokenStringTerm</code> to also sound the bell.</li> 3010 3011 <li>add control/D and control/Q to controls which will cause 3012 early exit from control string per 3013 <code>brokenStringTerm</code> resource.</li> 3014 3015 <li>improve documentation of <code>brokenStringTerm</code> 3016 resource in manpage.</li> 3017 </ul> 3018 3019 <h1><a name="xterm_259" id="xterm_259">Patch #259 - 3020 2010/6/5</a></h1> 3021 3022 <ul> 3023 <li>modify configure check for <a href= 3024 "http://invisible-island.net/luit/">luit</a> to include new 3025 aliases for the program (<code>xterm-filter</code> and 3026 <code>bluit</code>).</li> 3027 3028 <li>add workaround in <code>xtermClearLEDs()</code> to account 3029 for Xkb's override, making vttest's LED demo reset the scroll 3030 lock.</li> 3031 3032 <li>filter out client-message events when deciding whether to 3033 hide cursor, e.g., when using SCIM (patch/report by anonymous 3034 user).</li> 3035 3036 <li>improve description of <code>-bd</code> option in manpage 3037 (report by Guy Daniel Clotilde).</li> 3038 3039 <li>modify configure checks for PCRE and other libraries to use 3040 <code>pkg-config</code>, if available.</li> 3041 3042 <li>amend change from <a href="#xterm_252">patch #252</a>, to 3043 take <code>veryColorColors</code> resource into account when 3044 checking <code>colorBDMode</code> resource for TrueType fonts 3045 (report by anonymous user).</li> 3046 3047 <li>add <code>vttests/query-fonts.pl</code> script for 3048 demonstrating the <code>OSC 50</code> font query.</li> 3049 3050 <li>improve manpage discussion of Scroll Lock feature.</li> 3051 3052 <li>improve configure macros CF_GCC_VERSION and 3053 CF_GCC_WARNINGS.</li> 3054 3055 <li>fix warnings for "clang --analyze".</li> 3056 3057 <li>change default for <code>allowScrollLock</code> resource to 3058 <code>false</code>, noting that the supposedly unused key has 3059 been useful for various rebindings (Debian #580946).</li> 3060 </ul> 3061 3062 <h1><a name="xterm_258" id="xterm_258">Patch #258 - 3063 2010/5/1</a></h1> 3064 3065 <ul> 3066 <li>add pointer-checks in <code>ScrnRefresh</code> to fix a 3067 case in rapid scrolling where an empty record is fetched from 3068 the scrollback FIFO.</li> 3069 </ul> 3070 3071 <h1><a name="xterm_257" id="xterm_257">Patch #257 - 3072 2010/4/22</a></h1> 3073 3074 <ul> 3075 <li>correct ctlseqs.ms description of OSC 17 and OSC 19 (patch 3076 by Emanuele Giaquinta).</li> 3077 3078 <li>corrected logic for <code>menuLocale</code> resource; the 3079 <code>setlocale</code> function returns the original locale 3080 only when querying.</li> 3081 3082 <li>improve filtering of translations resource, narrowing the 3083 scope of the <code>alwaysUseMods</code> to address only the 3084 translations that would cause a key to be sent to the host 3085 (report by Andrew Gaylard).</li> 3086 3087 <li>change default value of <code>menuLocale</code> resource to 3088 "C", to work around longstanding <a href= 3089 "http://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg 3090 bug</a>.</li> 3091 3092 <li>modify handling of <code>scrollKey</code> feature to ignore 3093 XON/XOFF keys.</li> 3094 3095 <li>implement scroll-lock feature.</li> 3096 3097 <li>revise memory allocation in UTF8toLatin1() to fix an 3098 out-of-bounds index (Mandriva #54531).</li> 3099 3100 <li>compute value for first wide-character rather than assuming 3101 it is 256, fixes problem with <code>-cjk_width</code> 3102 introduced in patches <a href="#xterm_242">242</a> and <a href= 3103 "#xterm_249">249</a> (report by Thomas Wolff).</li> 3104 3105 <li>improve configure script: 3106 3107 <ul> 3108 <li>corrected check for <code>_XOPEN_SOURCE</code> for 3109 OpenSolaris.</li> 3110 3111 <li>when possible, add rpath option for libraries in 3112 unusual places</li> 3113 3114 <li>add configure option <code>--disable-rpath-hack</code> 3115 to control whether the rpath option can be added.</li> 3116 </ul> 3117 </li> 3118 3119 <li>modify <code>AllocateTermColor()</code> to separate 3120 initialization from control sequences, fixing problem from 3121 <a href="#xterm_254">patch #254</a> changes where enabling 3122 <code>allowSendEvents</code> resource prevents setting cursor 3123 color on command-line (Debian #572928).</li> 3124 3125 <li>amend logic from <a href="#xterm_185">patch #185</a> to not 3126 reallocate cell-array if processing 3127 <code>ESC % G</code> to switch from UTF-8 if already 3128 in ISO-8859-1 character set (report by Michael Koehne).</li> 3129 3130 <li>fix to avoid calling <code>XmuInternStrings()</code> with 3131 zero count (report by Johan Bockgård).</li> 3132 3133 <li>fix build when --disable-ansi-color configure option is 3134 used.</li> 3135 3136 <li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is 3137 defined (patch by Matthieu Herrb)</li> 3138 </ul> 3139 3140 <h1><a name="xterm_256" id="xterm_256">Patch #256 - 3141 2010/3/6</a></h1> 3142 3143 <ul> 3144 <li>add TerminalEmulator to desktop category files.</li> 3145 3146 <li>modify <code>sinstall.sh</code> to ignore the "." appended 3147 to permissions by selinux.</li> 3148 3149 <li>change app-defaults organization, installing UXTerm-color 3150 and KOI8XTerm-color for consistent behavior regarding 3151 <code>customization: color</code> (prompted by discussion 3152 in Ubuntu #421261).</li> 3153 3154 <li>fix typo in <code>minstall.sh</code> from <a href= 3155 "#xterm_255">patch #255</a> changes, and add case for 3156 <code>/var/run</code> needed for full path of utmp (report by 3157 Julien Cristau).</li> 3158 3159 <li>minor fix to xterm manpage, remove a comment stating that 3160 margin bell can be changed via the VT Options menu. That was 3161 replaced in <a href="#xterm_225">patch #225</a></li> 3162 3163 <li>add a "docs" rule to makefile.</li> 3164 3165 <li>fix initialization of Atom used for <code>XkbBell</code> 3166 feature from <a href="#xterm_243">patch 243</a> changes. Unlike 3167 the other calls to <code>XInternAtom()</code>, in this case the 3168 flag telling X to create the Atom was unset (patch by Chris 3169 Adams).</li> 3170 </ul> 3171 3172 <h1><a name="xterm_255" id="xterm_255">Patch #255 - 3173 2010/1/21</a></h1> 3174 3175 <ul> 3176 <li>rename <code>install.sh</code> to <code>install-sh</code> 3177 in case suffix-rules might interfere.</li> 3178 3179 <li>extend range for <code>convertToUTF8</code> function to 3180 full 31-bits, to use with printing, etc.</li> 3181 3182 <li>improve manpage by checking for actual locations of 3183 utmp/wtmp files (Debian #562640).</li> 3184 3185 <li>modify configure macro CF_XOPEN_SOURCE to remove -D's 3186 before adding the same name rather than relying on -U's, to 3187 reduce redefinition warnings for some platforms that have 3188 conflicting definitions in headers.</li> 3189 3190 <li>correct logic used to switch to alternate screen using 3191 FIFO-lines configuration (Debian #565772).</li> 3192 3193 <li>update config.guess, config.sub</li> 3194 </ul> 3195 3196 <h1><a name="xterm_254" id="xterm_254">Patch #254 - 3197 2010/1/6</a></h1> 3198 3199 <ul> 3200 <li>add a configure-check to eliminate <code>install-ti</code> 3201 rule from Makefile when the system has no tic (terminfo 3202 compiler) program. This lets one use the 3203 <code>install-full</code> rule more consistently.</li> 3204 3205 <li>amend change to WriteText() function in <a href= 3206 "#xterm_252">patch #252</a> to take into account the 3207 <code>colorAttrMode</code> resource (report by Krzysztof 3208 Kotlenga).</li> 3209 3210 <li>document <code>titleModes</code> resource in manpage, added 3211 in <a href="#xterm_252">patch #252</a>.</li> 3212 3213 <li>modify tcap-query table entries for shifted up/down cursor 3214 keys to match ncurses convention.</li> 3215 3216 <li>improve lookup of termcap-query data, allowing for 3217 duplicate keycodes versus missing entries.</li> 3218 3219 <li>add control sequence which can be used to modify the 3220 terminal data used for the termcap-keyboard.</li> 3221 3222 <li>improve portability of tcap-query feature, using terminfo 3223 functions in preference to termcap on systems having 3224 terminfo.</li> 3225 3226 <li>improve font-setting/querying control 3227 (<code>OSC 50</code>): 3228 3229 <ul> 3230 <li>when TrueType font is selected, the TrueType 3231 <code>faceName</code> will be set, rather than the bitmap 3232 font.</li> 3233 3234 <li>when TrueType font is selected, querying returns the 3235 name of the TrueType font.</li> 3236 3237 <li>querying a font recognizes the relative-font convention 3238 that setting a font could use.</li> 3239 </ul> 3240 </li> 3241 3242 <li>add menu-entry for allowColorOps.</li> 3243 3244 <li>add new resources for fine-tuning menu entries: 3245 <code>allowColorOps</code>, <code>disallowedColorOps</code>, 3246 <code>disallowedFontOps</code> and 3247 <code>disallowedTcapOps</code>.</li> 3248 3249 <li>correct logic for disabling the "TrueType Fonts" menu item; 3250 it was not ensuring that the <code>faceName</code> resource 3251 value was non-empty.</li> 3252 3253 <li>implement VT520-style controls <code>DECSMBV</code> and 3254 <code>DECSWBV</code> for setting the margin- and warning-bell 3255 volume.</li> 3256 3257 <li>fix a minor error from <a href="#xterm_243">patch #243</a> 3258 which made the zIconBeep feature use a minor-error tone rather 3259 than an informational tone.</li> 3260 3261 <li>add a null-pointer check for the case where 3262 <code>renderFont</code> resource is true, but 3263 <code>faceName</code> resource is unset, used in logic to strip 3264 "xft:" prefix from <a href="#xterm_251">patch #251</a> changes 3265 (patch by Michael Riepe).</li> 3266 3267 <li>add special case to configure CF_XOPEN_SOURCE macro to use 3268 extensions on Darwin (patch by Dennis Preiser).</li> 3269 3270 <li>improve configure checks for regular expressions header and 3271 library</li> 3272 3273 <li>update config.guess, config.sub</li> 3274 </ul> 3275 3276 <h1><a name="xterm_253" id="xterm_253">Patch #253 - 3277 2009/12/10</a></h1> 3278 3279 <ul> 3280 <li>add a null-pointer check in <code>getPrinterFlags()</code> 3281 per changes in <a href="#xterm_252">patch #252</a>.</li> 3282 3283 <li>add a null-pointer check, needed in UTF-8 mode for Xft 3284 fonts after changes in <a href="#xterm_252">patch #252</a> 3285 (patch by Alan Coopersmith).</li> 3286 3287 <li>correct size when clearing struct for tek4014 (patch by 3288 Jochen Voss).</li> 3289 3290 <li>parenthesize expression in <code>MoreRows</code> macro, 3291 fixing a limit check added in <a href="#xterm_251">patch 3292 #251</a> (Debian #560039).</li> 3293 </ul> 3294 3295 <h1><a name="xterm_252" id="xterm_252">Patch #252 - 3296 2009/12/7</a></h1> 3297 3298 <ul> 3299 <li>modify title-querying logic to support retrieval of titles 3300 encoded using UTF-8.</li> 3301 3302 <li>add new "title-modes" control sequence for controlling 3303 whether window/icon titles can be set or queried using UTF-8, 3304 optionally encoded in a hexadecimal string.</li> 3305 3306 <li>use <code>mkdir -p</code> rather than 3307 <code>mkdirs.sh</code> (prompted by discussion of mawk by 3308 Aleksey Cheusov).</li> 3309 3310 <li>add appropriate copyright/license notices to the bulk of 3311 files lacking same, and modify to use identical terms in others 3312 which used different wording. The main exceptions are the files 3313 contributed by Markus Kuhn, who appears to prefer public domain 3314 distribution, noting that I have modified/improved several of 3315 these without changing the terms of distribution (request by 3316 Jari Aalto).</li> 3317 3318 <li>add control sequences for resetting the "dynamic" colors to 3319 their default values.</li> 3320 3321 <li>add control sequences for resetting the "special" colors to 3322 their default values.</li> 3323 3324 <li>add control sequences for setting the "special" colors such 3325 as <code>colorBD</code> (bold).</li> 3326 3327 <li>add overlooked case for setting highlight foreground color 3328 with the dynamic-colors control.</li> 3329 3330 <li>add <code>OSC 104</code>, for resetting ANSI/16/88/256 3331 colors to default.</li> 3332 3333 <li>reset ANSI/16/88/256 colors to default in soft/hard reset 3334 functions.</li> 3335 3336 <li>strip "xft:" prefix from <code>faceName</code> and 3337 <code>faceNameDoublesize</code> resource values,</li> 3338 3339 <li>add <code>DECSCUSR</code> (discussion with Andy 3340 Koppe).</li> 3341 3342 <li>add check/warning on failure to load font, to see if the 3343 name looks like an Xft pattern rather than XLFD. This can 3344 happen if someone happens to modify their X resource settings 3345 for programs that read data from xterm's namespace.</li> 3346 3347 <li>modify handling of <code>print</code> and 3348 <code>print-everything</code> actions to allow the various 3349 printer flags to be overridden by supplying parameters.</li> 3350 3351 <li>add resource <code>printerNewLine</code> (request by Ovidiu 3352 Gheorghioiu).</li> 3353 3354 <li>minor cleanup, finish using <code>TScreenOf()</code> and 3355 <code>TekScreenOf()</code> macros introduced in <a href= 3356 "#xterm_224">patch #224</a>.</li> 3357 3358 <li>improve checks in ShowCursor/HideCursor to get the 3359 background color, particularly when 3360 <code>highlightReverse</code> resource is used (reports by Jan 3361 Engelhardt, Christian Weisgerber).</li> 3362 3363 <li>correct <code>checkVeryBoldAttr</code> to omit comparison 3364 of foreground color to special color values used for 3365 <code>color<XX></code> resources (report by Jan 3366 Engelhardt).</li> 3367 3368 <li>make <code>colorBDMode</code> and <code>colorULMode</code> 3369 resources work with TrueType configuration (report by Jan 3370 Engelhardt).</li> 3371 </ul> 3372 3373 <h1><a name="xterm_251" id="xterm_251">Patch #251 - 3374 2009/11/11</a></h1> 3375 3376 <ul> 3377 <li>add window-ops controls to push/pop icon and/or window 3378 labels on a stack.</li> 3379 3380 <li>minor fixes to align termcap file with terminfo.</li> 3381 3382 <li>add resource <code>disallowedWindowOps</code>, to allow 3383 fine-tuning of features to suppress with the 3384 <code>allowWindowOps</code> resource (prompted by discussion 3385 with Bram Moolenaar).</li> 3386 3387 <li>add makefile rules for resize-manpage to pdf, etc.</li> 3388 3389 <li>further improve limit-checks in select/paste (Mandriva 3390 #54531).</li> 3391 </ul> 3392 3393 <h1><a name="xterm_250" id="xterm_250">Patch #250 - 3394 2009/10/13</a></h1> 3395 3396 <ul> 3397 <li>add check and error-message for fonts that have no 3398 printable values in the ISO-8859-1 range (Debian #542434).</li> 3399 3400 <li>some compiler-warning cleanup, in particular workaround for 3401 defective implementation of gcc's attribute warn_unused_result 3402 (report by Bram Moolenaar).</li> 3403 3404 <li>improve estimate of single-column width for packed TrueType 3405 fonts by ignoring extents for codes 127 and 159.</li> 3406 3407 <li>improve line-drawing for TrueType fonts which happen to 3408 have defined glyphs which are <em>not</em> line-drawing in 3409 0..31 by assuming they're not, and just checking the existence 3410 of the Unicode codepoints. This makes it more likely that the 3411 user can override a misconfigured font using the "Line-Drawing 3412 Characters" menu entry.</li> 3413 3414 <li>limit minimum cell-width for packed font to maximum-advance 3415 reported by Xft. Some fonts are wider than that, even in the 3416 Latin-1 range (Debian #550497).</li> 3417 3418 <li>add list of direct-contributors in "THANKS" file.</li> 3419 3420 <li>stylistic changes to this file to help scripted extraction 3421 of list of contributors.</li> 3422 3423 <li>correct off-by-one in <code>okPosition</code> fix from 3424 <a href="#xterm_249">patch #249</a> limit-checks which 3425 prevented double-click selection on the bottom line of the 3426 screen (reports by Rajeev V. Pillai, Debian #550368).</li> 3427 3428 <li>add <code>-q</code> option to 3429 <code>vttest/256colors2.pl</code> and 3430 <code>vttest/88colors2.pl</code> to demonstrate bulk 3431 initialization of color palette.</li> 3432 3433 <li>improve the workaround from patch #188 by enabling 3434 resources for the 88-color model.</li> 3435 3436 <li>document in xterm manpage the limited availability of 3437 resources <code>color16</code> to <code>color255</code> as 3438 noted in <a href="#xterm_188">patch #188</a> (Ubuntu 3439 #438850).</li> 3440 </ul> 3441 3442 <h1><a name="xterm_249" id="xterm_249">Patch #249 - 3443 2009/10/1</a></h1> 3444 3445 <ul> 3446 <li>change default for <code>allowWindowOps</code> resource to 3447 false. 3448 <!-- on the other hand, gnome-terminal, pterm and rxvt-unicode 3449 leave most of the related functionality enabled ;-) --></li> 3450 3451 <li>add limit-checks for result of visual_width() function, 3452 needed from <a href="#xterm_242">patch #242</a> and exposed by 3453 #244 changes (Debian #548321).</li> 3454 3455 <li>improve limit-checks in select/paste.</li> 3456 3457 <li>fix a remaining bug from <a href="#xterm_230">patch 3458 #230</a> changes for displaying multi-column characters in a 3459 proportional font (report by Chris Jones).</li> 3460 3461 <li>add new resource forcePackedFont and menu entry "Packed 3462 Font" to control whether to use the font's minimum (default) or 3463 maximum width when those differ. The workaround which xterm 3464 uses to accommodate proportional fonts is not necessary with 3465 certain fonts such as unifont which happen to store a mixture 3466 of multicolumn glyphs (report by Chris Jones).</li> 3467 3468 <li>fix an (old) bug which did not restart the timer for 3469 blinking text if the only blinking text was temporarily 3470 scrolled out of view, e.g., using the scrollbar.</li> 3471 3472 <li>fix an (old) flaw in the delete-line operation where the 3473 text which is scrolled into view while the display is scrolled 3474 up was not repainted.</li> 3475 3476 <li>improve delete-line and insert-line operations, retaining 3477 selection when the selection does not intersect the 3478 deleted/inserted lines.</li> 3479 3480 <li>fix an (old) off-by-one error when an application cleared 3481 above the cursor position while the display was scrolled up, 3482 that would leave an extra line of text uncleared.</li> 3483 3484 <li>fix a similar problem where the double-size attribute would 3485 not be reset when clearing the screen while the display was 3486 scrolled up.</li> 3487 3488 <li>fix an indexing error which would occur if an application 3489 cleared a line while the display was scrolled up and was also 3490 in UTF-8 mode (Redhat #524503). The error was from <a href= 3491 "#xterm_228">patch #228</a> but more visible after changes from 3492 <a href="#xterm_244">patch #244</a>.</li> 3493 </ul> 3494 3495 <h1><a name="xterm_248" id="xterm_248">Patch #248 - 3496 2009/9/11</a></h1> 3497 3498 <ul> 3499 <li>fix an overlooked adjustment for selecting double-width 3500 characters in the narrow-character configuration.</li> 3501 3502 <li>eliminate uses of <code>XTERM_CELL</code> and 3503 <code>XTERM_CELLC</code> where an appropriate 3504 <code>LineData</code> pointer is available.</li> 3505 3506 <li>correct expression in <code>okScrnRow</code> macro, making 3507 selections give the length of lines below the visible screen 3508 (report by Stuart Henderson).</li> 3509 3510 <li>correct logic used to improve performance of missing-glyph 3511 check, which did not handle line-drawing characters (Debian 3512 #545220).</li> 3513 </ul> 3514 3515 <h1><a name="xterm_247" id="xterm_247">Patch #247 - 3516 2009/8/30</a></h1> 3517 3518 <ul> 3519 <li>add ifdef's and check for openpty() on DragonFly (patch by 3520 Alex Hornung).</li> 3521 3522 <li>correct calculation for size of line's data block, which 3523 was sometimes off-by-one when configured using 3524 <code>--enable-16bit-chars</code> (report by H Merijn 3525 Brand).</li> 3526 3527 <li>fix indexing error in print-everything feature from 3528 <a href="#xterm_246">patch #246</a> (patch by Ovidiu 3529 Gheorghioiu).</li> 3530 </ul> 3531 3532 <h1><a name="xterm_246" id="xterm_246">Patch #246 - 3533 2009/8/16</a></h1> 3534 3535 <ul> 3536 <li>remove obsolete logic for saving/restoring wrapping flags, 3537 which did not work on 64-bit platform. Wrapping flags (stored 3538 in the line-index) are now copied with line-data (Debian 3539 #541160).</li> 3540 3541 <li>modify comments in app-defaults files to avoid problem with 3542 C preprocessor used by <code>xrdb</code> (Debian #541603).</li> 3543 3544 <li>restore special case in <code>makeColorPair</code>, needed 3545 for <code>colorBDMode</code> resource (Debian #541089).</li> 3546 3547 <li>correct <code>SetLineFlags()</code> macro, broken in 3548 <a href="#xterm_244">patch #244</a> when recoding to avoid 3549 gcc-specific bitfields (Debian #541236).</li> 3550 3551 <li>modify initialization of screen buffers to ensure that 3552 pointers align to int-boundaries. This fixes a problem 3553 introduced in <a href="#xterm_244">patch #244</a> where the 3554 color- and character-arrays (stored after the video-attributes 3555 in each row) might be misaligned (report by Rajeev V 3556 Pillai).</li> 3557 3558 <li>add limit-check in <code>ScrnRefresh</code> for handling 3559 saved-lines from the circular buffer which are repainted on a 3560 screen whose width has increased. To improve performance, 3561 circular buffer entries are not resized (report by Rajeev V 3562 Pillai).</li> 3563 3564 <li>correct type for <code>CellColor</code> (a late change in 3565 <a href="#xterm_244">patch #244</a> to avoid gcc-specifc enums 3566 made that unsigned rather than unsigned short, for the 3567 256-color option).</li> 3568 3569 <li>fix typo in configure option --enable-16bit-chars (report 3570 by Rajeev V. Pillai).</li> 3571 </ul> 3572 3573 <h1><a name="xterm_245" id="xterm_245">Patch #245 - 3574 2009/8/12</a></h1> 3575 3576 <ul> 3577 <li>correct a special case in saving FIFO-lines from <a href= 3578 "#xterm_244">patch #244</a>. If the screen was shrunk, xterm 3579 used the wrong amount for copying to FIFO-lines, and then used 3580 this amount to adjust the current row on the screen. That was 3581 both a visible defect (Debian #541109) as well as a potential 3582 addressing error (Debian #541132, Debian #541160, and Debian 3583 #541236).</li> 3584 3585 <li>add clarification in xterm manual about the various 3586 <code>allow<em>XXX</em>Ops</code> resources, which are disabled 3587 when the <code>allowSendEvents</code> resource is active (patch 3588 by Julien Cristau, Debian #531597).</li> 3589 </ul> 3590 3591 <h1><a name="xterm_244" id="xterm_244">Patch #244 - 3592 2009/8/9</a></h1> 3593 3594 <ul> 3595 <li>refactored storage of saved-lines, providing a configure 3596 option to manage them as a FIFO (actually a circular buffer), 3597 improving performance. Added configure option 3598 <code>--enable-fifo-lines</code> to enable/disable the new 3599 feature (it is enabled by default).</li> 3600 3601 <li>added <code>fastScroll</code> resource, to amuse people who 3602 measure terminal emulator performance by <code>cat</code>'ing 3603 large files to the screen.</li> 3604 3605 <li>modify check in <code>readPtyData</code> from return values 3606 to provide exit on zero-bytes read from pty for FreeBSD, or 3607 eliminate high-CPU in "xterm-hold" processing (discussion with 3608 Ulrich Spoerlein, FreeBSD ports/136686). The check was 3609 originally modified to combine negative/zero values in 3610 XFree86-3.1.2E, 1996/05/06.</li> 3611 3612 <li>add configure option <code>--enable-16bit-chars</code> to 3613 provide wide-characters with 16-bits (rather than the default 3614 32-bits).</li> 3615 3616 <li>add <code>retryInputMethod</code> resource to allow 3617 configuring out the retries xterm uses to connect to 3618 non-responsive XIM server, to work around defective X 3619 configurations as noted in <a href= 3620 "http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html"> 3621 NetBSD mailing list</a>.</li> 3622 3623 <li>make regular-expression selection work for VT100 3624 double-sized characters.</li> 3625 3626 <li>improve layout when drawing missing characters in a 3627 proportional font, e.g., as boxes, to take into account whether 3628 they are double-width (report by Guilbert Stabilo on 3629 comp.unix.shell).</li> 3630 3631 <li>add capability for keypad-center (kb2/KA2) to termcap entry 3632 for xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220 3633 (FreeBSD conf/136336).</li> 3634 3635 <li>change default for <code>keepSelection</code> resource to 3636 true (prompted by discussion with David Muir Sharnoff).</li> 3637 3638 <li>remove a limit-check in ptydata.c, allowing Unicode values 3639 past 64k to be displayed using TrueType fonts (Debian 3640 #458432).</li> 3641 3642 <li>remove a vt52-specific ifdef to allow mapping F1-F4 to 3643 PF1-PF4 when vt52 support is not compiled (report by Olaf 3644 'Rhialto' Seibert).</li> 3645 3646 <li>save/restore line-wrapping flags when converting from 3647 ISO-8859-1 encoding to UTF-8 encoding, as well as when resizing 3648 screen.</li> 3649 3650 <li>remove extra adjustment of position in fix for Debian 3651 #418324.</li> 3652 3653 <li>modify default check for <code>mkWidth</code> resource to 3654 check for line-drawing characters, which are categorized as 3655 double-width in Solaris 10 (report by Sebastian Kayser).</li> 3656 3657 <li>add "print-everything" action (patch by Ovidiu 3658 Gheorghioiu).</li> 3659 3660 <li>start refactoring scrollback data using new getLineData() 3661 function.</li> 3662 3663 <li>demote recent change to Debian #252873 fix to experimental, 3664 ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141).</li> 3665 3666 <li>work around groff mapping of ASCII quotes using macros 3667 (requested by Reuben Thomas based on Colin Watson advice, fixes 3668 Debian #378700).</li> 3669 3670 <li>correct symbol used for default of 3671 <code>allowWindowOps</code> which was 3672 <code>DEF_ALLOW_FONT</code> rather than 3673 <code>DEF_ALLOW_WINDOW</code> (report by Matthieu Herrb).</li> 3674 3675 <li>amend fix for tek4014 from <a href="#xterm_243">patch 3676 #243</a> to make it only apply to the Tek Options menu.</li> 3677 </ul> 3678 3679 <h1><a name="xterm_243" id="xterm_243">Patch #243 - 3680 2009/3/28</a></h1> 3681 3682 <ul> 3683 <li>revert change to default for <code>allowTcapOps</code> 3684 (request by Bram Moolenaar).</li> 3685 3686 <li>reallocate result returned by <code>xtermEnvLocale()</code> 3687 to avoid reference to freed memory after handling 3688 <code>menuLocale</code> resource.</li> 3689 3690 <li>fix an old (X11R5) bug in tek4014 for switching 3691 fontsizes.</li> 3692 3693 <li>add resource <code>defaultString</code> to make 3694 configurable the use of "#" when pastes of UTF-8 text fail due 3695 to limitations in the current locale settings.</li> 3696 3697 <li>make the set of selection target Atom's configurable by two 3698 new resources <code>eightBitSelectTypes</code> and 3699 <code>utf8SelectTypes</code>, e.g., to use the 3700 <code>TEXT</code> Atom in preference to 3701 <code>UTF8_STRING</code> (discussion with Stanislav Sedov 3702 regarding koi8rxterm and the FreeBSD port).</li> 3703 3704 <li>modify handling of <code>TARGETS</code> Atom by making it 3705 return exactly the set of targets as those which xterm is 3706 currently providing.</li> 3707 3708 <li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly 3709 to /bin/cat in <code>minstall.sh</code> to work around 3710 /etc/man.conf's with those variables already set (report by 3711 Марьясин 3712 Семён).</li> 3713 3714 <li>improve error-checking of tcap-query parser.</li> 3715 3716 <li>add check for keyboard <code>tcap</code>), which ensures 3717 that terminal descriptions containing the same string for 3718 shifted/unshifted keys will be seen by tcap-query as only the 3719 unshifted key. (This would only happen with an incorrect 3720 terminal description).</li> 3721 3722 <li>fix conversion for input event-state to modifier-parameter 3723 which made tcap-query feature not work with 3724 <code>tcapFunctionKeys</code> (keyboard type 3725 <code>tcap</code>).</li> 3726 3727 <li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow 3728 overriding the default compiled-in values for 3729 "allow<em>xxx</em>" resources.</li> 3730 3731 <li>remove check on bell-percentage added in <a href= 3732 "#xterm_242">patch #242</a>, which disallowed zero/negative 3733 values (Redhat Bugzilla #487829).</li> 3734 </ul> 3735 3736 <h1><a name="xterm_242" id="xterm_242">Patch #242 - 3737 2009/2/15</a></h1> 3738 3739 <ul> 3740 <li>fix configure check for <code>XkbBell</code> and provide 3741 appropriate parameter for it.</li> 3742 3743 <li>fix a caching problem with double-size fonts versus reverse 3744 video that could cause core dump.</li> 3745 3746 <li>repair double-size fonts from workaround used in <a href= 3747 "#xterm_240">patch #240</a>.</li> 3748 3749 <li>add new section to the VT Fonts menu which allows enabling 3750 or disabling the font, termcap (tcap-query), title and window 3751 operations.</li> 3752 3753 <li>add <code>fontWarnings</code> resource, to control whether 3754 to show warnings on failure to load a font.</li> 3755 3756 <li>improve warnings for unloadable fonts introduced in 3757 <a href="#xterm_240">patch #240</a> by limiting those to the 3758 cases where a font would be specified directly by a resource 3759 setting rather than a derived fontname.</li> 3760 3761 <li>further amend fix for Debian #252873 from <a href= 3762 "#xterm_197">patch #197</a> to treat a blank cell which does 3763 not have both foreground and background colored as a 3764 non-colored cell. This improves a special case where the cursor 3765 is on a blank cell which had foreground color scrolled in 3766 (report by Miroslav Lichvar). 3767 3768 <p>Also add the same logic when hiding cursor, so the outline 3769 matches the in-focus cursor.</p> 3770 </li> 3771 3772 <li>modify internals to reduce places PAIRED_CHARS() is used, 3773 making WriteText() and ScrnWriteText() accept IChar array, as 3774 well as providing a wrapper for drawXtermText().</li> 3775 3776 <li>change default XIM font from "*" to "fixed" to improve 3777 startup time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla 3778 #464930).</li> 3779 3780 <li>typo in #240 log (Slava Semushin)</li> 3781 </ul> 3782 3783 <h1><a name="xterm_241" id="xterm_241">Patch #241 - 3784 2009/1/26</a></h1> 3785 3786 <ul> 3787 <li>improve checks for missing bitmap fonts, fallback to 3788 "fixed" as needed to work around broken font-packages (report 3789 by Jacek Luczak).</li> 3790 3791 <li>fix breakage from <a href="#xterm_240">patch #240</a> 3792 changes for <code>xtermAddInput()</code> (patches by Jeff Chua, 3793 Julien Cristau).</li> 3794 </ul> 3795 3796 <h1><a name="xterm_240" id="xterm_240">Patch #240 - 3797 2009/1/25</a></h1> 3798 3799 <ul> 3800 <li>use <code>plink.sh</code> for linking xterm (suggested by 3801 Larry Doolittle).</li> 3802 3803 <li>add resource descriptions for input method to xterm 3804 manpage.</li> 3805 3806 <li>update configure script; consistently append to $CFLAGS 3807 rather than prepend.</li> 3808 3809 <li>add <code>install-scripts</code> rule to makefile, to allow 3810 koi8rxterm and uxterm scripts to be altered independently of 3811 <code>install-bin</code></li> 3812 3813 <li>add <code>-maximized</code> command-line option and 3814 corresponding resource (prompted by alt.os.linux newsgroup 3815 comment).</li> 3816 3817 <li>modify translations of scrollbar widget using 3818 <code>xtermAddInput()</code> (see <a href="#xterm_181">patch 3819 #181</a>) to accept the actions that the vt100 widget accepts, 3820 such as shift-insert to perform a paste operation (request by 3821 Martin Zwickel).</li> 3822 3823 <li>change default for <code>allowTcapsOps</code> resource to 3824 false, since it causes unexpected behavior for vim users with 3825 <code>AltGr</code>.</li> 3826 3827 <li>update config.guess, config.sub</li> 3828 </ul> 3829 3830 <h1><a name="xterm_239" id="xterm_239">Patch #239 - 3831 2009/1/8</a></h1> 3832 3833 <ul> 3834 <li>correct a cast in input.c, which broke translation of 3835 numeric keypad codes to pageup, pagedown, etc., on 64-bit 3836 platform (Debian #511138, report by Larry Doolittle).</li> 3837 </ul> 3838 3839 <h1><a name="xterm_238" id="xterm_238">Patch #238 - 3840 2008/12/30</a></h1> 3841 3842 <ul> 3843 <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint 3844 platforms.</li> 3845 3846 <li>reset the screen wrapping-flag at the end of 3847 <code>ClearRight</code> to fix an occasional case where the 3848 last character of a scrolled and wrapped line would be cleared 3849 (patch by Joe Peterson).</li> 3850 3851 <li>modify to use POSIX coding for comparing resource settings 3852 such as <code>locale</code>, to work with locales such as 3853 Turkish (report by M Vefa Bicakci).</li> 3854 3855 <li>turn on configure <code>paste64</code> feature by default 3856 (request by Jean-Philippe Bernardy). It is runtime 3857 enabled/disabled with <code>allowWindowOps</code>.</li> 3858 3859 <li>turn on configure <code>tcap-query</code> feature by 3860 default, add resource <code>allowTcapOps</code> to make this 3861 runtime enabled/disabled.</li> 3862 3863 <li>make <code>OSC 3</code> (change X property, from <a href= 3864 "#xterm_110">patch #110</a>) subject to 3865 <code>allowWindowOps</code> resource.</li> 3866 3867 <li>make VT220 <code>DSR</code> responses inactive in 3868 VT100-mode.</li> 3869 3870 <li>make <code>DECUDK</code> feature inactive in 3871 VT100-mode.</li> 3872 3873 <li>respond to incorrectly formatted <code>DECRQSS</code> with 3874 a cancel.</li> 3875 3876 <li>add <code>allowFontOps</code> resource to allow the 3877 fontsize-switching and font query/set control sequences to be 3878 enabled/disabled (prompted by Debian #510030).</li> 3879 3880 <li>some code cleanup based on gcc 4.x 3881 <code>-Wconversion</code> warnings in button.c and 3882 charproc.c</li> 3883 3884 <li>modify <code>tcap-query</code> feature to not return data 3885 for shifted cursor-keys when the keyboard type is set to vt220, 3886 since returning the same string for shifted/unshifted keys may 3887 confuse some applications (GenToo #212546).</li> 3888 </ul> 3889 3890 <h1><a name="xterm_237" id="xterm_237">Patch #237 - 3891 2008/09/14</a></h1> 3892 3893 <ul> 3894 <li>improve usability of TrueType fonts by making the font-size 3895 switching for shifted keypad plus/minus use the 3896 <code>faceSize</code> resources to determine the order of fonts 3897 (when TrueType fonts are used) rather than the bitmap fonts, 3898 since their sizes may not be in the same order (report by H 3899 Merijn Brand)</li> 3900 3901 <li>remove an optimization of <code>ConfigureNotify</code> 3902 events from <a href="#xterm_236">patch #236</a> which seems to 3903 interfere with passing <code>SIGWINCH</code> to applications 3904 (GenToo #233836).</li> 3905 3906 <li>modify handling of <code>altSendsEscape</code> to reset the 3907 <code>eightBitInput</code> mode, like 3908 <code>metaSendsEscape</code> (patch by Ted Phelps).</li> 3909 3910 <li>add feature to show the text-cursor as an underline rather 3911 than a box, plus command-line options <code>-uc</code> and 3912 <code>+uc</code> and resource <code>cursorUnderLine</code> to 3913 control the feature (patch by Paul Lampert).</li> 3914 3915 <li>update config.guess, config.sub</li> 3916 </ul> 3917 3918 <h1><a name="xterm_236" id="xterm_236">Patch #236 - 3919 2008/07/27</a></h1> 3920 3921 <ul> 3922 <li>correct memory reallocation when handling a paste of UTF-8 3923 text from <a href="#xterm_225">patch #225</a> changes 3924 (report/patch by Max Mikhanosha).</li> 3925 3926 <li>correct allocation of temporary buffer in 3927 <code>xtermFindShell</code> in case the user's 3928 <code>$PATH</code> contains no ":" (report/analysis by Victor 3929 Stinner, Freedesktop.Org Bugzilla #16790).</li> 3930 3931 <li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to 3932 fix new compile problem exposed by fix for fd_mask (patch by 3933 Hasso Tepper).</li> 3934 3935 <li>add configure-check for ncurses 3936 <code>use_extended_names</code>, (report by Martin 3937 Mokrejs).</li> 3938 3939 <li>correct computation for toolbar height; layout manager 3940 already takes into account <code>borderWidth</code> 3941 resource.</li> 3942 3943 <li>implement VT320-style SCS (select character set) for ISO 3944 Latin-1 supplemental.</li> 3945 3946 <li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu 3947 #230919).</li> 3948 3949 <li>fix to make <code>luit</code> work with xterm's 3950 <code>-ls</code> option (report/patch by Marius Tolzmann).</li> 3951 3952 <li>update config.guess, config.sub</li> 3953 </ul> 3954 3955 <h1><a name="xterm_235" id="xterm_235">Patch #235 - 3956 2008/04/20</a></h1> 3957 3958 <ul> 3959 <li>add control sequences for some of the recent resource/menu 3960 settings: 3961 3962 <ul> 3963 <li><code>altSendsEscape</code> (private mode 1039)</li> 3964 3965 <li><code>keepSelection</code> (private mode 1040)</li> 3966 3967 <li><code>selectToClipboard</code> (private mode 1041)</li> 3968 3969 <li><code>bellIsUrgent</code> (private mode 1042)</li> 3970 3971 <li><code>popOnBell</code> (private mode 1043)</li> 3972 </ul> 3973 </li> 3974 3975 <li>add resource <code>formatOtherKeys</code> to provide an 3976 alternate escape sequence format for the 3977 <code>modifyOtherKeys</code> resource (request by Paul LeoNerd 3978 Evans).</li> 3979 3980 <li>adjust saved-cursor position if the window is resized while 3981 displaying the alternate screen (Novell #196880, Debian 3982 #383384).</li> 3983 3984 <li>improve pointer-checks to fix a bug exposed by resizing 3985 during initialization under StumpWM window manager (Fedora 3986 Bugzilla #437928).</li> 3987 3988 <li>modify <code>unselectwindow()</code> to ensure that the 3989 mouse pointer is not hidden after xterm loses focus (report by 3990 Jeremy Huddleston).</li> 3991 3992 <li>add special check for fd_mask on Mac OS X (report by Jeremy 3993 Huddleston).</li> 3994 3995 <li>add <code>dylib</code> to autoconf's suffix list used for 3996 checking the result from <code>xmkmf</code>, to work with Mac 3997 OS X (report by Jeremy Huddleston).</li> 3998 3999 <li>correct initialization of bold- and wide-, wide-bold fonts 4000 which may be set via the <code>utf8Fonts</code> subresource 4001 (Debian #347790).</li> 4002 </ul> 4003 4004 <h1><a name="xterm_234" id="xterm_234">Patch #234 - 4005 2008/03/02</a></h1> 4006 4007 <ul> 4008 <li>modify <code>sinstall.sh</code> to use POSIX locale to 4009 bypass GNU ls changes to date-format.</li> 4010 4011 <li>improved/refined changes for closing bitmap font (patch by 4012 Andrea Odetti).</li> 4013 4014 <li>improve resize computation for situations where the 4015 negotiation fails, by invoking the xterm widget's core-class 4016 resize method (Debian #365602, patch by Jim Paris).</li> 4017 4018 <li>restore initialization of terminal's <code>VMIN</code> and 4019 <code>VTIME</code> settings, from <a href="#xterm_232">patch 4020 #232</a> changes (patch by Matthieu Herrb).</li> 4021 </ul> 4022 4023 <h1><a name="xterm_233" id="xterm_233">Patch #233 - 4024 2008/02/24</a></h1> 4025 4026 <ul> 4027 <li>add configure check for <code>ttydefaults.h</code>, include 4028 if needed, e.g., for systems where defining 4029 <code>_POSIX_C_SOURCE</code>, etc., prevents it from being 4030 included via <code>termios.h</code> (prompted by comments by 4031 Robert Delius Royar and Jeremy Huddleston).</li> 4032 4033 <li>bug-fixes for bugs.opensolaris.org (patches from Alan 4034 Coopersmith) 4035 4036 <dl> 4037 <dt>4029911</dt> 4038 4039 <dd>fix a typo in manpage</dd> 4040 4041 <dt>4045962</dt> 4042 4043 <dd>xterm doesn't properly set ut_syslen</dd> 4044 4045 <dt>4192572</dt> 4046 4047 <dd>left-left-right misinterpreted as triple click</dd> 4048 </dl> 4049 </li> 4050 4051 <li>minor optimization to tab-initialization (patch by 4052 Németh Márton).</li> 4053 4054 <li>fix a case where an incorrect font was freed during 4055 initialization from <a href="#xterm_232">patch #232</a> changes 4056 (patch by Andrea Odetti).</li> 4057 4058 <li>improve comparison used in <code>SameFont</code> function 4059 for GC-caching (Julien Cristau).</li> 4060 4061 <li>correct macro name used for default <code>CKILL</code> 4062 definition to work with Mac OS X (report by Jeremy 4063 Huddleston).</li> 4064 </ul> 4065 4066 <h1><a name="xterm_232" id="xterm_232">Patch #232 - 4067 2008/01/30</a></h1> 4068 4069 <ul> 4070 <li>corrected logic in a font-cache used for reverse-video 4071 (Debian #404079).</li> 4072 4073 <li>add control sequence to alter <code>pointerMode</code> at 4074 runtime.</li> 4075 4076 <li>add limit-checks for rectangle operation parameters (report 4077 by Martin Pirker).</li> 4078 4079 <li>modify <code>minstall.sh</code> to suppress 4080 <code>$MANPAGER</code> and <code>$PAGER</code> environment 4081 variables, which may interfere with redirecting output of 4082 <code>man</code> to a shell variable (report/patch by Zdenek 4083 Sekera).</li> 4084 4085 <li>do not try to hide mouse pointer in the tek4014 window, 4086 fixes broken "-t" option at startup from <a href= 4087 "#xterm_230">patch #230</a> changes (report by Robert K. 4088 Nelson).</li> 4089 4090 <li>correct datatype used when drawing tek4014 data using xterm 4091 compiled for wide-characters, on big-endian machines (reports 4092 by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, 4093 Merle Reinhart).</li> 4094 4095 <li>modify to cache the font-names along with the bitmap font 4096 data, to improve comparison of fonts.</li> 4097 4098 <li>modify to allow building with configure options 4099 <code>--disable-ansi-color</code> and 4100 <code>--disable-leaks</code> (Debian #459817, report/patch by 4101 Németh Márton).</li> 4102 4103 <li>modify to allow building with configure options 4104 <code>--enable-wide-chars</code> and 4105 <code>--disable-c1-print</code> (Debian #459816, report/patch 4106 by Németh Márton).</li> 4107 4108 <li>add <code>pointerMode</code> resource to control whether 4109 and when the pointer cursor is hidden as the user types.</li> 4110 4111 <li>simplify initialization of ttyMode- and related characters 4112 using a table.</li> 4113 4114 <li>modify initialization-logic for stty values that correspond 4115 to ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, 4116 rprnt flush, werase, lnext). These were reset to constants for 4117 both termios and legacy interfaces immediately after asking the 4118 system for the existing values since X11R6.1, rather than using 4119 them to provide inherited values. While the legacy interface 4120 has some constraints, e.g., on HPUX, the POSIX or termios 4121 interface should not. Your shell may reset these anyway 4122 (prompted by patch by Ed Schouten).</li> 4123 4124 <li>improve logic for hiding/displaying pointer-cursor (report 4125 by Mark Brukhartz).</li> 4126 4127 <li>add limit-checks to tabs.c, increase maximum column for 4128 setting tab-stops from 320 to 1024 (report by Németh 4129 Márton).</li> 4130 4131 <li>correct length, i.e., number of types of selection targets, 4132 computed by <code>ConvertSelection()</code> when not handling 4133 wide characters for the <code>XA_TARGETS()</code> case. This 4134 leaves an extra Atom on the end of the list which is not 4135 handled by <a href= 4136 "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java 4137 applications</a>. The problem was introduced in <a href= 4138 "#xterm_151">patch #151</a> (report by David Wood).</li> 4139 </ul> 4140 4141 <h1><a name="xterm_231" id="xterm_231">Patch #231 - 4142 2008/01/05</a></h1> 4143 4144 <ul> 4145 <li>undo change to <code>getXtermCell()</code> from patch #230 4146 using <code>PACK_PAIR</code> macro (Debian #459014, analysis by 4147 Caetano Jimenez Carezzato).</li> 4148 4149 <li>minor documentation fixes (patch by Slava Semushin)</li> 4150 4151 <li>add makefile actions to install KOI8RXTerm app-defaults 4152 file (patch by Julien Cristau).</li> 4153 </ul> 4154 4155 <h1><a name="xterm_230" id="xterm_230">Patch #230 - 4156 2007/12/31</a></h1> 4157 4158 <ul> 4159 <li>add <code>quietGrab</code> resource, which when true, 4160 suppresses cursor repainting when <code>NotifyGrab</code> and 4161 <code>NotifyUngrab</code> event types are received during 4162 change of focus (request by Nicolas George).</li> 4163 4164 <li>do not treat Unicode BIDI control characters as combining 4165 characters (Debian #457634).</li> 4166 4167 <li>add <code>koi8rxterm</code>, from Debian.</li> 4168 4169 <li>add manpage for <code>uxterm</code>, from Debian (Ubuntu 4170 #128136, Debian #438645)</li> 4171 4172 <li>remove ".xpm" suffixes from Icon filenames in desktop files 4173 since it confuses some lookups following the <a href= 4174 "http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html"> 4175 Icon Theme Specification</a> (report by Slava Semushin)</li> 4176 4177 <li>correct width-calculation used for adjusting proportional 4178 fonts, to work with wide-characters (Debian #441354).</li> 4179 4180 <li>fixes/improvements for double-size characters: 4181 4182 <ul> 4183 <li>correct old clipping calculation which used total 4184 height of glyphs where ascent was needed.</li> 4185 4186 <li>if bold font is unavailable, fall back to normal 4187 font</li> 4188 4189 <li>adjust to "work" with Xft (which does not support 4190 double-width single-height characters).</li> 4191 4192 <li>restore reset of doublesize for a line when it is 4193 cleared, broken in <a href="#xterm_228">patch 4194 #228</a>.</li> 4195 </ul> 4196 </li> 4197 4198 <li>modify logic for <code>forceBoxChars</code> resource when 4199 using TrueType fonts to be consistent with bitmap fonts</li> 4200 4201 <li>modify logic for <code>forceBoxChars</code> resource to 4202 make the "Line-Drawing Characters" menu entry use xterm's 4203 line-drawing characters even asked to draw wide line-drawing 4204 characters which are available in the font.</li> 4205 4206 <li>modify rectangle-support functions to preserve colors when 4207 filling/erasing to match WRQ Reflection behavior (request by 4208 Enzo Toscano).</li> 4209 4210 <li>add getopt-parsing to tcapquery.pl, including feature to 4211 test the extended cursor/editing keys.</li> 4212 4213 <li>make missing double-width glyphs display as double-width 4214 (Debian #456236).</li> 4215 4216 <li>change <code>tcap-fkeys</code> and <code>rectangles</code> 4217 configure options to enable them by default.</li> 4218 4219 <li>hide the mouse pointer while user is typing (request by 4220 Rodolfo Borges).</li> 4221 4222 <li>extend configure options <code>--enable-tcap-query</code> 4223 and <code>--enable-tcap-fkeys</code> to send cursor- and 4224 editing-keypad keys modified according to the keyboard (or 4225 termcap) selection for shift, alt, control, meta.</li> 4226 4227 <li>modify <code>kdch1</code> in termcap, e.g., 4228 <code>xterm-r6</code> to match the terminfo file.</li> 4229 4230 <li>add <code>-hm</code> option to turn 4231 <code>highlightColorMode</code> on or off.</li> 4232 4233 <li>add <code>highlightColorMode</code> resource to separate 4234 the new (since <a href="#xterm_225">patch #225</a>) 4235 highlighting with both text- and background-colors (prompted by 4236 report/example by Thomas Wolff).</li> 4237 4238 <li>add <em>Keep Selection</em> menu entry to turn the 4239 <code>keepSelection</code> resource on/off at runtime.</li> 4240 4241 <li>add <code>keepSelection</code> resource, which when 4242 enabled, tells xterm to retain the X selection even after it 4243 stops highlighting it (patch by Sergey Vlasov).</li> 4244 4245 <li>extend the <code>CSI > n</code> sequence to 4246 allow disabling all types of modified-keys that the 4247 <code>CSI > m</code> sequence affects.</li> 4248 4249 <li>move include for <code><xtermcap.h></code> in 4250 <code>resize.c</code> to avoid redefinition of 4251 <code>termios</code> structure on OpenSolaris (report by Rahul 4252 Gopinathan Nair).</li> 4253 4254 <li>extend terminfo building blocks for modified editing keys 4255 to include all six keys.</li> 4256 4257 <li>synchronize terminfo with ncurses (report by Stephane 4258 Chazelas) 4259 4260 <ul> 4261 <li>equate <code>xterm-xfree86</code> and 4262 <code>xterm-xf86-v44</code>.</li> 4263 4264 <li>add ncurses extensions OTbs, AX, for termcap 4265 conversions.</li> 4266 4267 <li>make old/legacy entries such as <code>xterm-24</code>, 4268 <code>xterm-65</code> and aliases <code>xterms</code>, 4269 <code>vs100</code> inherit from 4270 <code>xterm-old</code>.</li> 4271 4272 <li>make <code>xterm-r5</code> and <code>xterm-r6</code> 4273 the same, ignoring historical errors in X Consortium's 4274 version.</li> 4275 </ul> 4276 </li> 4277 4278 <li>fix an ifdef in logic for selecting regular expressions 4279 while in a narrow-character locale (Debian #449227).</li> 4280 </ul> 4281 4282 <h1><a name="xterm_229" id="xterm_229">Patch #229 - 4283 2007/8/12</a></h1> 4284 4285 <ul> 4286 <li>override locale in minstall.sh; change in <a href= 4287 "#xterm_226">patch #226</a> does not work in UTF-8 locale 4288 (report by Zdenek Sekera).</li> 4289 4290 <li>undo an incorrect fix for a memory leak in <a href= 4291 "#xterm_209">patch #209</a> (Debian #435858).</li> 4292 </ul> 4293 4294 <h1><a name="xterm_228" id="xterm_228">Patch #228 - 4295 2007/7/22</a></h1> 4296 4297 <ul> 4298 <li>modify configure script to permit combining 4299 <code>--with-utempter</code> and <code>--enable-setuid</code>, 4300 e.g., for using xterm with the utempter library on FreeBSD 4301 (report by Andriy Gapon).</li> 4302 4303 <li>modify "Quit" menu entry to override the <code>-hold</code> 4304 command-line option.</li> 4305 4306 <li>add a check in the startup error-reporting to avoid writing 4307 to pipe when it has not been opened. In that case, report 4308 errors directly to the standard error.</li> 4309 4310 <li>add OPT_READLINE definition to xtermcfg.hin, overlooked in 4311 <a href="#xterm_205">patch #205</a> (report by Kalle Olavi 4312 Niemitalo).</li> 4313 4314 <li>modify <code>88colors2.pl</code> and 4315 <code>256colors2.pl</code>, adding <code>-r</code> option to 4316 reverse the palettes for the extended colors.</li> 4317 4318 <li>check for partial overwrite or deletion of multi-column 4319 characters in several cases, e.g., insert-character, 4320 delete-character, etc., and fill the remainder of the cells 4321 used by the multi-column characters affected with blanks.</li> 4322 4323 <li>correct character-class codes in wide-character mode for 4324 characters 215, 247 (see also <a href="#xterm_165">patch 4325 #165</a>).</li> 4326 4327 <li>fix missing assignment for UTF-8 parsing in widget 4328 initialization (Debian #403360).</li> 4329 4330 <li>correct index expression used to set line-wrapping flag, 4331 making selection from scrollback work consistently (Debian 4332 #430121, report by Vincent Lefevre).</li> 4333 4334 <li>amend changes to handshake in <a href="#xterm_226">patch 4335 #226</a> to accommodate Solaris, which relies on the extra 4336 setting of the terminal size after I/O initialization. Do this 4337 by adding new resource <code>ptySttySize</code>, which is false 4338 for Linux and MacOS X, i.e., true for for Solaris and other 4339 SVR4 platforms, as well as FreeBSD (reports by David Wood, 4340 Renato Botelho).</li> 4341 4342 <li>check for X events after cursor-left, and carriage return, 4343 consistent with indexing operations (comments by Vegard Nossum 4344 and Ingo Molnar on a mailing-list).</li> 4345 4346 <li>initialize the <code>.keyboard</code> structure, needed for 4347 some platforms (such as Solaris) after <a href= 4348 "#xterm_227">patch #227</a> fixes for keysyms (patch by David 4349 Wood).</li> 4350 4351 <li>update config.guess, config.sub</li> 4352 </ul> 4353 4354 <h1><a name="xterm_227" id="xterm_227">Patch #227 - 4355 2007/6/27</a></h1> 4356 4357 <ul> 4358 <li>exclude the Intel compiler from the extra gcc warning 4359 options added in <a href="#xterm_226">patch #226</a>.</li> 4360 4361 <li>modify change for Debian #422521 from <a href= 4362 "#xterm_226">patch #226</a> to work with configurations where 4363 the X server does not recognize the <code>XF86Paste</code> or 4364 <code>SunPaste</code> keysyms (report by Paolo Pumilia).</li> 4365 4366 <li>fix incorrect free in fix for "Selection" menu entry in 4367 <a href="#xterm_226">patch #226</a>.</li> 4368 </ul> 4369 4370 <h1><a name="xterm_226" id="xterm_226">Patch #226 - 4371 2007/6/17</a></h1> 4372 4373 <ul> 4374 <li>add configure check to use 4375 <code>-Wno-unknown-pragmas</code> for Solaris, and a few other 4376 new gcc warning options to address regressions in its warning 4377 options.</li> 4378 4379 <li>add sample desktop and icon files, along with configure 4380 options for manipulating them.</li> 4381 4382 <li>fix an infinite loop when showing a 2-column character in a 4383 1-column screen (Debian #426863).</li> 4384 4385 <li>add <code>XF86Paste</code> and <code>SunPaste</code> to the 4386 default translations (Debian #422521, patch by Bernhard R 4387 Link).</li> 4388 4389 <li>update wcwidth.c (partly based on/prompted by mailing list 4390 comment).</li> 4391 4392 <li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and 4393 Xorg 7.1 keysymdef.h file.</li> 4394 4395 <li>improve <code>gen-pc-fkeys.pl</code>, making it show all of 4396 the building-block terminfo entries used by xterm.</li> 4397 4398 <li>correct strings used for modifiers applied to F1-F4 in 4399 xterm+pcf1 terminfo entry.</li> 4400 4401 <li>improve session management by adding the ICE connection 4402 number to the <code>select</code> call rather than waking up 4403 once per second (patch by Miroslav Lichvar).</li> 4404 4405 <li>add environment variable <code>$XTERM_LOCALE</code> to help 4406 with shell initialization, e.g., to set a specific locale for 4407 xterm on systems where a global locale is set in the shell 4408 startup scripts.</li> 4409 4410 <li>add resource settings <code>mkSampleSize</code> and 4411 <code>mkSamplePass</code> to modify the <code>mkWidth</code> 4412 added in <a href="#xterm_201">patch #201</a>. In <a href= 4413 "#xterm_202">patch #202</a>, xterm would also check if the 4414 system's <code>wcwidth</code> matched its built-in tables "well 4415 enough" to be used when <code>mkWidth</code> was false, and if 4416 not would use the built-in tables anyway. These resources allow 4417 the user to customize the decision (prompted by comments by 4418 Emanuele Giaquinta)</li> 4419 4420 <li>modify logic which resets/updates the screensize on the 4421 child process side of the pseudo-terminal to do this only if a 4422 successful handshake was received, e.g., as determined by the 4423 <code>waitForMap</code> resource (prompted by reports by 4424 Emanuele Giaquinta and Bernhard R Link, but see also <a href= 4425 "#xterm_177">patch #177</a> and <a href="#xterm_159">patch 4426 #159</a>.</li> 4427 4428 <li>improve permissions logic when closing pseudo-terminal 4429 (Debian #12261, patch by Nathanael Nerode, analysis by Richard 4430 Braakman).</li> 4431 4432 <li>add resource <code>highlightReverse</code> which controls 4433 whether xterm will allow selection highlighting to hide 4434 reverse-video or use the older behavior which inverts the 4435 foreground and background colors when selected text with 4436 reverse-video attribute (report by Adam M Costello, comments by 4437 Victor Vaile).</li> 4438 4439 <li>restore a special case for cursor-color in 4440 <code>ReverseVideo()</code> lost in rewrite for <a href= 4441 "#xterm_224">patch #224</a> (report by Adam Sulmicki).</li> 4442 4443 <li>correct initialization for menu entry for 4444 <code>bellIsUrgent</code> (patch by Emanuele Giaquinta).</li> 4445 4446 <li>correct length of underlining for double-width Xft fonts 4447 (report by Shidai Liu "Leo").</li> 4448 4449 <li>correct clipping for double-width Xft fonts (report by 4450 Shidai Liu "Leo").</li> 4451 4452 <li>modify initialization for <code>italicULMode</code> to 4453 avoid <code>XftPatternBuild</code> reusing bold attributes 4454 (report by Shidai Liu "Leo").</li> 4455 4456 <li>add a check in case someone tries to call the 4457 <code>popup-menu()</code> action on a menu which is not 4458 initialized (Debian #426364).</li> 4459 4460 <li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by 4461 Peter Bray).</li> 4462 4463 <li>improve guess for X's manpage section in 4464 <code>minstall.sh</code>, (prompted by comment by Miroslav 4465 Lichvar).</li> 4466 4467 <li>modify <code>minstall.sh</code> to handle manpage patch 4468 with more than one dot (patch by Miroslav Lichvar).</li> 4469 4470 <li>fix configure message for --disable-setgid option (patch by 4471 Miroslav Lichvar).</li> 4472 4473 <li>add <code>allowTitleOps</code> resource to allow users to 4474 prevent the title- and icon-names from changing (request by 4475 John Bashinski).</li> 4476 4477 <li>fix "spawn-new-terminal" action, for the case where no 4478 parameter is passed to the action (patch by Daniel 4479 Colascione).</li> 4480 4481 <li>fix error-checking on internal font switching for 4482 "Selection" menu entry (Debian #421523).</li> 4483 4484 <li>amend select/paste change from <a href="#xterm_225">patch 4485 #225</a> by limiting it to non-UTF-8/non-KOI8-R encoding 4486 (Debian #420974).</li> 4487 4488 <li>add workaround for groff ".URL" codes which are not present 4489 in some commonly-used bitmap fonts (Debian #418324).</li> 4490 </ul> 4491 4492 <h1><a name="xterm_225" id="xterm_225">Patch #225 - 4493 2007/3/24</a></h1> 4494 4495 <ul> 4496 <li>add <code>useClipping</code> resource to allow clipping to 4497 be disabled.</li> 4498 4499 <li>use <code>XftDrawSetClipRectangles</code> to work around 4500 Xft pixel-trash (report by Reuben Thomas).</li> 4501 4502 <li>add configure option <code>--enable-tcap-fkeys</code>, and 4503 resource <code>tcapFunctionKeys</code>, which can be used to 4504 tell xterm to use function-key definitions from the termcap (or 4505 terminfo) which it uses to set $TERM on startup.</li> 4506 4507 <li>add resources <code>altIsNotMeta</code> and 4508 <code>altSendsEscape</code> to allow one to use Alt-keys like 4509 the meta-key even if they are bound to different keycodes 4510 (prompted by discussion with Daniel Jacobowitz).</li> 4511 4512 <li>revert a change from <a href="#xterm_216">patch #216</a> 4513 that unnecessarily made the meta modifier override the 4514 <code>eightBitInput</code> resource if the alt- and 4515 meta-modifiers happened to overlap (report/patch by Daniel 4516 Jacobowitz).</li> 4517 4518 <li>correct associated font for active icon for colored text 4519 (broken in <a href="#xterm_224">patch #224</a>).</li> 4520 4521 <li>correct ifdef's for Darwin (patch by Emanuele 4522 Giaquinta).</li> 4523 4524 <li>add <code>highlightTextColor</code> resource, and options 4525 <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code> 4526 (adapted from patch by Victor Vaile).</li> 4527 4528 <li>revise <code>find_closest_color()</code> function to 4529 address concern about borrowing from <code>Tcl/Tk</code> 4530 (request by Dan McNichol).</li> 4531 4532 <li>add "spawn-new-terminal" action, which can be assigned to 4533 key translation, allowing one to spawn a new copy of xterm 4534 using the current process' working directory (adapted from 4535 patch by Daniel Colascione).</li> 4536 4537 <li>improve select/paste between UTF-8 and Latin1 xterms by 4538 adapting the translations from <a href="#xterm_185">patch 4539 #185</a>. Extend that to include Unicode fullwidth forms 4540 FF00-FF5E. Also modify select/paste of DEC line-drawing 4541 characters in Latin1 mode to use ASCII characters.</li> 4542 4543 <li>add "Enable Bell Urgency" to VT Options menu, removed 4544 "Enable Margin Bell".</li> 4545 4546 <li>add <code>bellIsUrgent</code> resource to control whether 4547 the Urgency hint is set/reset.</li> 4548 4549 <li>modify to set Urgency window manager hint on bell, reset it 4550 on Focus-In event (patch by Emanuele Giaquinta).</li> 4551 4552 <li>add <code>--disable-setgid</code> configure option (request 4553 by Miroslav Lichvar).</li> 4554 4555 <li>fix a possible infinite loop in last change to 4556 <code>dabbrev-expand()</code> (patch by Emanuele 4557 Giaquinta).</li> 4558 4559 <li>modify initialization to set the pty erase value if the 4560 <code>erase</code> is set in the <code>ttyModes</code> 4561 resource. This overrides the <code>ptyInitialErase</code> 4562 setting (request by Lluís Batlle i Rossell).</li> 4563 4564 <li>add <code>initialFont</code> resource to xterm widget, like 4565 tek-widget (Debian #299669).</li> 4566 4567 <li>amend change to <code>boldMode</code> from <a href= 4568 "#xterm_223">patch #223</a> for Debian #347790. As noted in 4569 Debian #412599, that made xterm no longer match the documented 4570 behavior. Add new resource <code>alwaysBoldMode</code> to allow 4571 overriding the comparison between normal/bold fonts when 4572 deciding whether to use overstriking to simulate bold 4573 fonts.</li> 4574 4575 <li>restore background color in ClearCurBackground(), omitted 4576 in changes for <a href="#xterm_223">patch #223</a> (report by 4577 Miroslav Lichvar).</li> 4578 4579 <li>correct logic for repainting double-width TrueType 4580 characters (prompted by test-case for Novell #246573).</li> 4581 4582 <li>add a check to avoid trying to repeat a multibyte character 4583 (report by Sami Farin).</li> 4584 4585 <li>modify parameter to <code>XftNameParse()</code> to select 4586 wide face-name as needed, to make <code>-fd</code> option work 4587 (patch by Mike Fabian, Novell #246573).</li> 4588 4589 <li>correct logic for mouse highlight tracking's abort 4590 sequence, broken in a restructuring modification from <a href= 4591 "#xterm_224">patch #224</a> (report by Thomas Wolff).</li> 4592 4593 <li>revert the simplification of blinking cursor, since that 4594 broke the xor'ing introduced in <a href="#xterm_193">patch 4595 #193</a> (report by Thomas Wolff).</li> 4596 </ul> 4597 4598 <h1><a name="xterm_224" id="xterm_224">Patch #224 - 4599 2007/2/11</a></h1> 4600 4601 <ul> 4602 <li>simplify code for set/reset mode for blinking cursor (patch 4603 by Emanuele Giaquinta).</li> 4604 4605 <li>modify <code>dabbrev-expand()</code> to restart after the 4606 last match (patch by Emanuele Giaquinta).</li> 4607 4608 <li>add control sequences for enabling/disabling focus in/out 4609 event reporting (request by Bram Moolenaar).</li> 4610 4611 <li>improve startup performance of menus by adding resource 4612 setting <code>menuLocale</code> which can be set to override 4613 X's lengthy initialization of fontsets - which are seldom used 4614 for the <code>Xaw</code> popup menus (adapted from patch by 4615 Dave Coffin).</li> 4616 4617 <li>modify do_precomposition() function and make-compose.sh to 4618 handle 21-bit codes vs the 16-bit codes those were written for, 4619 and fix a few mis-sorted codes (patch by Thomas Wolff).</li> 4620 4621 <li>handle special case in <code>-cjk_width</code> which 4622 unexpectedly caused a character's width to change when a 4623 combining character (patch by Thomas Wolff)</li> 4624 4625 <li>fix build for GNU/KFreeBSD (Debian #40111).</li> 4626 4627 <li>consolidate GC creation/updating into a single module to 4628 reduce GC manipulation (prompted by Debian #389476, though a 4629 complete fix would involve optimizing the scrolling 4630 behavior).</li> 4631 4632 <li>fix ifdef of xtermCellWidth(), which broke for a case 4633 without TrueType and without wide-character support (report by 4634 Martin Pirker).</li> 4635 4636 <li>undo a comparison in 4637 <code>handle_translated_exposure</code> which did not work due 4638 to X server optimization. That caused the inner border to be 4639 repainted with unexpected colors when handling a repaint, e.g., 4640 after switching to/from another workspace (Debian #401726, 4641 Redhat Bugzilla #223027).</li> 4642 4643 <li>allow <code>-cr</code> option to override cursor color when 4644 <code>-ah</code> option is used (Debian #406502).</li> 4645 4646 <li>add a note in xterm's manpage explaining that the 4647 <code>-bw</code> (or <code>-w</code>) option is only used by 4648 the window manager, if at all (Debian #405043).</li> 4649 4650 <li>make <code>Selection</code> of <code>VT Fonts</code> 4651 work with <code>selectToClipboard</code> resource.</li> 4652 4653 <li>correct length calculation for <code>Selection</code> entry 4654 of <code>VT Fonts</code> menu, broken since it ignored the 4655 actual selection length since X11R4.</li> 4656 4657 <li>fixes for fontsize changes with <code>-fa</code> option 4658 (Redhat Bugzilla #222340).</li> 4659 </ul> 4660 4661 <h1><a name="xterm_223" id="xterm_223">Patch #223 - 4662 2006/11/30</a></h1> 4663 4664 <ul> 4665 <li>add <code>--enable-rectangles</code> configure option 4666 (request by Martin Pirker).</li> 4667 4668 <li>correct default value for <code>--with-symlink</code> 4669 configure option.</li> 4670 4671 <li>fixes configure script macros that use 4672 <code>$X_EXTRA_LIBS</code>.</li> 4673 4674 <li>modify configure script to provide support for pre-package 4675 config versions of Xft aka "FreeType".</li> 4676 4677 <li>add the Xaw scrollbar translations resource to the xterm 4678 manpage, add an example showing how to change the mouse button 4679 assignments (Debian #382225).</li> 4680 4681 <li>amend a change from <a href="#xterm_216">patch #216</a>, 4682 which omitted modifiers for control, meta, etc., if they were 4683 mixed with any other modifiers. The intent of the change was to 4684 avoid confusion with <code>XK_Mode_switch</code> and 4685 <code>XK_ISO_Level3_Shift</code>; the check is now done 4686 explicitly (report by Daniel Jacobowitz).</li> 4687 4688 <li>interpret a negative value for 4689 <code>modifyCursorKeys</code> or 4690 <code>modifyFunctionKeys</code> resources to disable the 4691 respective features (prompted by Novell #220728).</li> 4692 4693 <li>amend cell-width computation for FreeType from <a href= 4694 "#xterm_217">patch #217</a>, which did not work for VT100 4695 line-drawing characters (Debian #399638, GenToo #147111).</li> 4696 4697 <li>amend a change from <a href="#xterm_216">patch #216</a>, 4698 which made alt-modifier on a cursor-key send a modifier 4699 parameter (Novell #220728).</li> 4700 4701 <li>correct an off-by-one that made DECCRA not work 4702 (report/patch by Martin Pirker).</li> 4703 4704 <li>revert an optimization in SGR_Foreground() and 4705 SGR_Background from <a href="#xterm_209">patch #209</a> (Debian 4706 #347722, analysis by Pierre Lombard).</li> 4707 4708 <li>fix for <code>boldMode</code> (Debian #347790, patch by Tim 4709 Pope).</li> 4710 4711 <li>amend fix for <code>-iconic</code> in <a href= 4712 "#xterm_208">patch #208</a>, which broke the positioning part 4713 of <code>-geom</code> with toolbar configuration.</li> 4714 4715 <li>fix to prevent indexing error in regular expressions (patch 4716 by Dennis Schneider).</li> 4717 4718 <li>fixes to make the internalBorder area not change color due 4719 to reverseVideo and/or related exposure events. The latter was 4720 a very old bug exposed in <a href="#xterm_196">patch #196</a> 4721 (report by Neil Hoggarth, also Debian #397624).</li> 4722 </ul> 4723 4724 <h1><a name="xterm_222" id="xterm_222">Patch #222 - 4725 2006/10/17</a></h1> 4726 4727 <ul> 4728 <li>minor optimization for recoloring cursor via dynamic 4729 colors.</li> 4730 4731 <li>fix a bug caused by restructuring of tek4014 widget (report 4732 by Paul Schenkeveld)</li> 4733 </ul> 4734 4735 <h1><a name="xterm_221" id="xterm_221">Patch #221 - 4736 2006/10/1</a></h1> 4737 4738 <ul> 4739 <li>fix for regular expressions: the code which converted the 4740 column offset within a line did not check properly for the end 4741 of a line, and if allowed to match the whole line, would select 4742 the beginning of the following line. If the following line were 4743 empty, in turn it would select from the next, etc. (report by 4744 Sean Reifschneider).</li> 4745 4746 <li>minor optimization of color allocation to avoid repainting 4747 the screen if the corresponding color had not been 4748 allocated.</li> 4749 4750 <li>fixes for vttests/256colors.pl (report by Egmont 4751 Koblinger).</li> 4752 4753 <li>add terminfo building block entries for modifiers of the 4754 6-key editing keypad.</li> 4755 4756 <li>fix for initialization of tek4014 which broke on QNX 4757 6.1</li> 4758 </ul> 4759 4760 <h1><a name="xterm_220" id="xterm_220">Patch #220 - 4761 2006/9/10</a></h1> 4762 4763 <ul> 4764 <li>make "xterm -t -iconic" work as expected, i.e., start in 4765 tek4014 mode, but iconified.</li> 4766 </ul> 4767 4768 <h1><a name="xterm_219" id="xterm_219">Patch #219 - 4769 2006/9/4</a></h1> 4770 4771 <ul> 4772 <li>some internal restructuring to separate data for vt100 and 4773 tek4014 widgets.</li> 4774 4775 <li>fix a few cases where form-events would be seen by the 4776 vt100 widget when built with the toolbar configuration.</li> 4777 </ul> 4778 4779 <h1><a name="xterm_218" id="xterm_218">Patch #218 - 4780 2006/8/27</a></h1> 4781 4782 <ul> 4783 <li>change behavior when encountering an illegal character in a 4784 title string. Rather than reject the string, translate illegal 4785 characters into "?" and use the string (requested by Thomas 4786 Wolff).</li> 4787 4788 <li>improve checks for nonprinting characters in title strings 4789 (report by Samuel Thibault).</li> 4790 4791 <li>correct typo in menu labels, changing 4792 <code>print-redirect</code> to <code>print-redir</code>, making 4793 it follow the manpage and match the usage for the actions table 4794 (report by Samuel Thibault).</li> 4795 4796 <li>correct a typo that prevents building with some older 4797 systems such as Solaris 2.6 (report by Julian Bridle).</li> 4798 </ul> 4799 4800 <h1><a name="xterm_217" id="xterm_217">Patch #217 - 4801 2006/8/20</a></h1> 4802 4803 <ul> 4804 <li>minor improvements to FreeType font layout and 4805 drawing.</li> 4806 4807 <li>add a check in the ptyInitialErase logic to ensure that the 4808 termcap was read (Redhat Bugzilla #201246).</li> 4809 4810 <li>limit changes for reverse-video from <a href= 4811 "#xterm_216">patch #216</a> to cases where the reverse-video 4812 command-line option is used (report by Zdenek Sekera).</li> 4813 4814 <li>correct bitmap-derived pointsizes for TrueType fonts; they 4815 should be proportional to the square root of the area of the 4816 bitmap fonts.</li> 4817 4818 <li>add resources to specify pointsize of TrueType fonts 4819 (request by Reuben Thomas).</li> 4820 4821 <li>improve install of terminfo by filtering out harmless 4822 messages related to extended capabilities. At the same time, 4823 use ncurses tic to compile the extended capabilities if 4824 possible (report by Zdenek Sekera).</li> 4825 4826 <li>update "xterm+pcfkeys" terminfo entry to correspond to 4827 <a href="#xterm_216">patch #216</a>.</li> 4828 </ul> 4829 4830 <h1><a name="xterm_216" id="xterm_216">Patch #216 - 4831 2006/8/3</a></h1> 4832 4833 <ul> 4834 <li>improve handling of <code>ConfigureNotify</code> events by 4835 checking if there are further events in the queue which 4836 obsolete the current one (adapted from rxvt 2.7.5). Only the 4837 normal normal (non-toolbar) configuration is addressed in this 4838 patch.</li> 4839 4840 <li>several changes to terminfo: 4841 4842 <ul> 4843 <li>incorporate some minor changes from ncurses to help 4844 keep these synchronized: 4845 4846 <dl> 4847 <dt>2005-02-26</dt> 4848 4849 <dd>modify sgr/sgr0 in xterm-new to improve tgetent's 4850 derived "me".</dd> 4851 4852 <dt>2006-02-18</dt> 4853 4854 <dd>remove ncv flag from xterm-16color</dd> 4855 4856 <dt>2006-06-24</dt> 4857 4858 <dd>improve xterm-256color by combining the 16-color 4859 setaf/setab strings with SGR 48, and cancelling the 4860 setf/setb strings.</dd> 4861 </dl> 4862 </li> 4863 4864 <li>use extended function-key definitions for xterm-sun, 4865 xterm-sco entries.</li> 4866 4867 <li>add terminfo building-blocks corresponding to the 4868 <code>modifyFunctionKeys</code> and 4869 <code>modifyCursorKeys</code> resources.</li> 4870 </ul> 4871 </li> 4872 4873 <li>ifdef'd Sun function-key feature to make it optional, like 4874 HP and SCO.</li> 4875 4876 <li>extend table for termcap-query feature through F63, and 4877 updated tcapquery.pl to match.</li> 4878 4879 <li>modify logic for function-key input processing to allow 4880 function key numbers which are constructed by control- and 4881 shift-modifiers to extend beyond X's hardcoded limit of 4882 35.</li> 4883 4884 <li>add control sequence to set or reset the 4885 <code>eightBitInput</code> resource.</li> 4886 4887 <li>change default resource <code>modifyFunctionKeys</code> to 4888 2 to avoid sending SS3 with parameters (report by Kalle Olavi 4889 Niemitalo).</li> 4890 4891 <li>add control sequences for setting and resetting the values 4892 of the <code>modifyCursorKeys</code>, 4893 <code>modifyFunctionKeys</code> and 4894 <code>modifyOtherKeys</code> resources.</li> 4895 4896 <li>add <code>modifyFunctionKeys</code> resource like 4897 <code>modifyCursorKeys</code>. Setting this to zero allows one 4898 to use the control- and shift-modifiers to construct function 4899 key strings, for terminals using many function keys, e.g., for 4900 <code>xterm-sun</code> or <code>xterm-sco</code>.</li> 4901 4902 <li>modify screen responses and function-key logic to reduce 4903 the number of writes made, to make it less likely that an 4904 application would read only part of a function-key in a read 4905 operation (suggested by John E Urbanczyk).</li> 4906 4907 <li>add <code>combiningChars</code> resource, which allows the 4908 user to specify the maximum number of combining characters that 4909 xterm will store for each cell in wide-character mode (prompted 4910 by request by Markus Kuhn to increase the limit from 2).</li> 4911 4912 <li>improve logic in <code>metaSendsEscape</code> in case the 4913 Alt- and Meta-keys are mapped to different modifiers. That 4914 allows one to use the Alt-key for shifting in the 4915 <code>eightBitInput</code> and use a Meta-key modifier to 4916 prefix the result with an <code><ESC></code>.</li> 4917 4918 <li>improve <code>modifyCursorKeys</code> logic to prevent it 4919 from modifying codes where <code>eightBitInput</code> or 4920 <code>metaSendsEscape</code> are set (request by Dan 4921 Nicolaescu).</li> 4922 4923 <li>improve <code>modifyCursorKeys</code> logic to prevent it 4924 from changing the user input when other modifiers such as AltGr 4925 are used (report by Thomas Wolff).</li> 4926 4927 <li>extend <code>modifyCursorKeys</code> to include the numeric 4928 keypad when in application mode.</li> 4929 4930 <li>improve <code>-reverse</code> (<code>-rv</code>) option 4931 (patch by Jason Vas Dias, Redhat #189161).</li> 4932 4933 <li>workaround for color resources on Fedora-5 which made the 4934 toolbar colors inconsistent.</li> 4935 4936 <li>corrected calls used for <code>--disable-setuid</code> 4937 option, add debugging traces to help diagnose this area.</li> 4938 4939 <li>modify configure script to ensure that 4940 <code>USE_UTMP_SETGID</code> is defined only if the check for 4941 POSIX saved-ids succeeds, or corresponds to one of the BSD 4942 systems known to have a workable <code>setegid</code> 4943 function.</li> 4944 4945 <li>extend configure check for POSIX saved-ids to include BSD 4946 systems</li> 4947 4948 <li>modify CF_SYSV configure macro to work with gcc on HPUX 4949 10.20, whose broken <code><term.h></code> relies on 4950 including <code><termios.h></code>.</li> 4951 4952 <li>change order of setuid/setgid ifdef checks in Imakefile to 4953 make it simpler to produce a setgid install, allowing the 4954 latter to override the former (prompted by an XFree86 4955 commit).</li> 4956 4957 <li>adapt a fix for setgid support from subsequent XFree86 4958 changes (patch by Emanuele Giaquinta).</li> 4959 4960 <li>further improve setgid support (patches by Emanuele 4961 Giaquinta).</li> 4962 </ul> 4963 4964 <h1><a name="xterm_215" id="xterm_215">Patch #215 - 2006/6/19 - 4965 XFree86 4.6.99.2</a></h1> 4966 4967 <ul> 4968 <li>improve setgid support by exploiting the saved-ids feature 4969 on which it relies (patch by Emanuele Giaquinta).</li> 4970 4971 <li>make the <code>modifyOtherKeys</code> resource disabled by 4972 default since the intermediate setting altered some common 4973 bindings (report by Emanuele Giaquinta).</li> 4974 </ul> 4975 4976 <h1><a name="xterm_214" id="xterm_214">Patch #214 - 2006/6/18 - 4977 XFree86 4.6.99.2</a></h1> 4978 4979 <ul> 4980 <li>modify makefile rule for ctlseqs.txt to strip 4981 backspace/overstrikes, and add a copy of ctlseqs.txt to the 4982 source tarballs (requests by Bram Moolenaar, Emanuele 4983 Giaquinta).</li> 4984 4985 <li>add <code>modifyOtherKeys</code> resource, analogous to the 4986 <code>modifyCursorKeys</code> resource. This applies to keys 4987 that normally would transmit nothing when a given modifier is 4988 applied (request by Dan Nicolaescu).</li> 4989 4990 <li>add <code>default</code> to the acceptable values for the 4991 <code>keyboardType</code> resource, allowing the 4992 <code>-kt</code> command-line option to override app-defaults 4993 resource settings of <code>sunKeyboard</code>, etc.</li> 4994 4995 <li>correct ifdef's for <code>XkbBell()</code> which used the 4996 header file but not the corresponding function in <a href= 4997 "#xterm_175">patch #175</a> (report by Zach Beane).</li> 4998 4999 <li>add xterm manpage to the <code>--with-symlink</code> 5000 logic.</li> 5001 5002 <li>regenerated configure script to omit some debugging 5003 artifacts of the SIGWINCH test.</li> 5004 5005 <li>fix <code>install-man</code> rule in 5006 <code>Makefile.in</code> to avoid including the 5007 <code>$(DESTDIR)</code> value in substitutions made on the 5008 manpages (patch by Emanuele Giaquinta).</li> 5009 5010 <li>improved fix for cursor deallocation (Redhat #186935, patch 5011 by Jason Vas Dias).</li> 5012 5013 <li>improve checks for setuid/setgid operation to accommodate 5014 limited resource management in some kernels (GenToo 5015 #193238).</li> 5016 5017 <li>update config.guess, config.sub</li> 5018 </ul> 5019 5020 <h1><a name="xterm_213" id="xterm_213">Patch #213 - 2006/4/30 - 5021 XFree86 4.5.99.905</a></h1> 5022 5023 <ul> 5024 <li>minor optimization to cell layout; will use that to 5025 simplify some logic and allow for more than two combining 5026 characters in another patch.</li> 5027 5028 <li>add <code>utf8Latin1</code> resource to make optional the 5029 feature from <a href="#xterm_209">patch #209</a> which allowed 5030 ISO-8859-1 fonts to be used in cases where a wide font was 5031 given. This would only work for the special case where the user 5032 normally used Latin-1 and wanted some wide characters (report 5033 by Rostislav Krasny).</li> 5034 5035 <li>add <code>utf8Title</code> resource to manpage (Novell 5036 #52655).</li> 5037 5038 <li>fix typo in table entry for <code>utf8Title</code> resource 5039 which made it treated as an integer rather than boolean (patch 5040 by Mike Fabian, Novell #52655).</li> 5041 </ul> 5042 5043 <h1><a name="xterm_212" id="xterm_212">Patch #212 - 2006/4/9 - 5044 XFree86 4.5.99.904</a></h1> 5045 5046 <ul> 5047 <li>improve description of <code>forceBoxChars</code> in 5048 manpage (discussion with Joe Wells).</li> 5049 5050 <li>set checkmark for "Select To Clipboard" menu entry on 5051 startup, from resource setting.</li> 5052 5053 <li>update manpage to note that 5054 <code>*customization:color</code> is not needed, though it is 5055 useful (Redhat #188034).</li> 5056 5057 <li>add underscore to sample pattern for URL in 5058 <code>XTerm.ad</code> (Redhat #188037).</li> 5059 5060 <li>modify install rule for manpage to use the configured 5061 app-defaults directory (Redhat #188031).</li> 5062 5063 <li>add checks in <code>releaseCursorGCs()</code> to ensure 5064 GC's are distinct, needed since memory leak changes for 5065 <a href="#xterm_208">patch #208</a> (Redhat #186935, patch by 5066 Jason Vas Dias).</li> 5067 5068 <li>modify <code>Imakefile</code> definitions to allow 5069 <code>imake</code> to set <code>InstallXtermSetGID</code>. Add 5070 symbol <code>InstGidFlags</code>.</li> 5071 5072 <li>add configure script check to ensure that SIGWINCH if 5073 defined even when headers undefine this as a side-effect of 5074 <code>_POSIX_C_SOURCE</code>, etc.</li> 5075 5076 <li>resync with XFree86 CVS 5077 5078 <ul> 5079 <li>ifdef-out chmod of terminal device for OS/2 (XFree86 5080 #1663, Frank Giessler).</li> 5081 5082 <li>move new <code>Imakefile</code> chunk which defines 5083 <code>$(CSGIDFLAGS)</code> before DEFINES, e.g., for IRIX64 5084 (Marc La France).</li> 5085 </ul> 5086 </li> 5087 </ul> 5088 5089 <h1><a name="xterm_211" id="xterm_211">Patch #211 - 2006/3/19 - 5090 XFree86 4.5.99.902</a></h1> 5091 5092 <ul> 5093 <li>modify prefix/suffix transformation in makefile to make 5094 <code>uxterm</code> install properly on Cygwin.</li> 5095 5096 <li>restore the sizeof-comparison for <code>struct 5097 lastlog</code> added in <a href="#xterm_208">patch #208</a>, 5098 rendered (mostly) obsolete in <a href="#xterm_210">patch 5099 #210</a>, since an imake configuration can still turn that code 5100 on (prompted by comment by David Dawes).</li> 5101 5102 <li>remove feature for <code>FreeBSDArchitecture</code> from 5103 <code>Imakefile</code> which would install xterm using the 5104 <code>utmp</code> group since a standard FreeBSD system has no 5105 such group, though it would support this configuration. FreeBSD 5106 packager uses the <code>configure</code> script, which can make 5107 the appropriate check (prompted by comment by David 5108 Dawes).</li> 5109 5110 <li>fixes for gcc redefinition warnings when built using imake 5111 (reports by David Dawes, Marc La France).</li> 5112 </ul> 5113 5114 <h1><a name="xterm_210" id="xterm_210">Patch #210 - 2006/3/12 - 5115 XFree86 4.5.99.902</a></h1> 5116 5117 <ul> 5118 <li>add configure check for workaround in <a href= 5119 "#xterm_208">patch #208</a> for Solaris' inconsistent support 5120 for struct lastlog to quiet compiler warnings (prompted by 5121 David Dawes commit message for XFree86).</li> 5122 5123 <li>fixes for BASE64 selection manipulation, e.g., ensure that 5124 the string terminator is written after cut-buffer data (report 5125 by Joe Allen).</li> 5126 5127 <li>add vttests/paste64.pl script to test experimental option 5128 for setting/getting selection data.</li> 5129 5130 <li>add some error-checking in fontutils.c (prompted by David 5131 Dawes commit message for XFree86).</li> 5132 5133 <li>change xterm manpage to show the actual color resource 5134 names <code>XtDefaultForeground</code> and 5135 <code>XtDefaultBackground</code> rather than black and white 5136 (prompted by discussion with Emanuele Giaquinta).</li> 5137 5138 <li>add <code>utf8Title</code> resource and menu entry, 5139 allowing the user to control whether title strings are 5140 interpreted as ISO-8859-1 or UTF-8 encoding (Novell #52655, 5141 Novell #113206).</li> 5142 5143 <li>change order of ifdef's for utempter versus platforms in 5144 <code>Imakefile</code> to ensure a proper value for 5145 <code>InstallXtermSetGID</code> (prompted by Marc La France 5146 commit message for XFree86).</li> 5147 5148 <li>update the cursor GCs when menu entry for reverse video is 5149 toggled. (Redhat #183993).</li> 5150 5151 <li>a memory-leak fix for <code>set_cursor_gcs()</code> in 5152 <a href="#xterm_208">patch #208</a> broke the <code>-cm</code> 5153 option (Redhat #182382).</li> 5154 </ul> 5155 5156 <h1><a name="xterm_209" id="xterm_209">Patch #209 - 2006/2/12 - 5157 XFree86 4.5.99.22</a></h1> 5158 5159 <ul> 5160 <li>remove <code>setf</code> and <code>setb</code> from 5161 <code>xterm-256color</code> terminfo entry to avoid issues with 5162 applications that ignore the ANSI strings (report by Emanuele 5163 Giaquinta).</li> 5164 5165 <li>remove obsolete references to "Xorg" to avoid confusion 5166 with "X.org" (prompted by David Dawes commit message for 5167 XFree86).</li> 5168 5169 <li>improve initial layout performance for the toolbar 5170 configuration by precalculating the height of the toolbar.</li> 5171 5172 <li>remove menu entry for "Enable Curses Emulation" (to make 5173 room for "Select To Clipboard").</li> 5174 5175 <li>add resource <code>selectToClipboard</code>, action 5176 <code>set-select</code> and a menu entry to allow users to 5177 switch between PRIMARY and CLIPBOARD for select/paste.</li> 5178 5179 <li>allow cursor to have the same color as foreground (text), 5180 since it is rendered as reverse (Debian #350664).</li> 5181 5182 <li>amend change for loading <code>utf8Fonts</code> resource 5183 from <a href="#xterm_204">patch #204</a> to allow an ISO-8859-1 5184 "normal" font to be combined with an ISO-10646 font if the 5185 latter is given via the <code>-fw</code> option or its 5186 corresponding resource value (prompted by comment in Novell 5187 #49305).</li> 5188 5189 <li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for 5190 <code>__GNU__</code> to set the controlling terminal (Debian 5191 #348457).</li> 5192 5193 <li>add configure option <code>--disable-leaks</code>.</li> 5194 5195 <li>add a check in <code>Bell</code> to ensure that the VT100 5196 widget is realized, since it may be called by 5197 <code>xtermLoadFont</code> given an incorrect font resource 5198 (Redhat #180450).</li> 5199 5200 <li>improve initialization of wide-bold font by not using the 5201 derived value when it happens to have few glyphs (report by 5202 Mboso Sampson).</li> 5203 5204 <li>improve dynamic colors by not repainting the screen if only 5205 the cursor color changes (request by Bram Moolenaar).</li> 5206 5207 <li>fix menu initialization for tek4014 window broken in 5208 <a href="#xterm_206">patch #206</a>.</li> 5209 5210 <li>typo in manpage (Debian #351425).</li> 5211 5212 <li>correct loop logic in <code>dotext</code> to prevent an 5213 infinite loop if a wide character was just at the right margin 5214 when wrapping was disabled (report by Serge van den Boom).</li> 5215 5216 <li>initialize the saved-cursor data so a restore-cursor 5217 operation without a preceding save-cursor operation will not 5218 modify the foreground color.</li> 5219 5220 <li>add a new selection feature: regular expressions, and new 5221 resources which specify what happens on multiple mouse clicks: 5222 <code>on2Clicks</code>, <code>on3Clicks</code>, 5223 <code>on4Clicks</code> and <code>on5Clicks</code>.</li> 5224 5225 <li>revert the <code>XTerm.ad</code> change from <a href= 5226 "#xterm_208">patch #208</a> (Debian #348384).</li> 5227 5228 <li>fixes for the print-window to make it handle combining 5229 characters in UTF-8 mode.</li> 5230 5231 <li>add check to ensure that double-clicking to extend 5232 selection will not extend it into the scrollback area. This 5233 still allows users to scroll back and select text (Debian 5234 #347415).</li> 5235 5236 <li>add configure option <code>--with-tty-group</code> to help 5237 work around deficiencies in packager's build environment 5238 (Debian #349142).</li> 5239 5240 <li>fix typo in configure script option 5241 <code>--disable-narrowproto</code> (report by David 5242 Martínez Moreno).</li> 5243 5244 <li>amend CF_X_FREETYPE changes for <code>pkg-config</code> 5245 check to ensure that <code>Xft</code> is known to that tool 5246 (report and patch by Emanuele Giaquinta).</li> 5247 5248 <li>add an ifdef to allow <code>./configure 5249 --disable-active-icon</code> to work, broken by new code for 5250 testing memory leaks in <a href="#xterm_208">patch #208</a> 5251 (report by Brian Lindholm).</li> 5252 </ul> 5253 5254 <h1><a name="xterm_208" id="xterm_208">Patch #208 - 2006/1/3 - 5255 XFree86 4.5.99.19</a></h1> 5256 5257 <ul> 5258 <li>add <code>charClass</code> resource to 5259 <code>XTerm.ad</code> and <code>UXTerm.ad</code> which 5260 simplifies selecting URLs (prompted by Kirill Ponomarew).</li> 5261 5262 <li>modify install rule for <code>uxterm</code> to account for 5263 the <code>--program-prefix</code>, etc., options by invoking 5264 the transformed name of xterm rather than simply "xterm".</li> 5265 5266 <li>modify configure <code>--with-app-defaults</code> option to 5267 allow <code>--without-app-defaults</code>.</li> 5268 5269 <li>add configure <code>--with-symlink</code> option to make it 5270 simpler to install successive versions of <code>xterm</code> 5271 renamed using the <code>--program-prefix</code>, etc., options 5272 with a symbolic link pointing to the most recent.</li> 5273 5274 <li>make <code>-iconic</code> option work with toolbar 5275 configuration (GenToo #113604).</li> 5276 5277 <li>suppress <code>lastlog</code> feature for 64-bit Solaris 5278 configuration since that platform provides only a 32-bit 5279 interface (report by Peter Bray).</li> 5280 5281 <li>fix memory reallocation for the "UTF-8" menu entry when 5282 xterm is started using the <code>+u8</code> option (reported by 5283 Jan Willem Stumpel).</li> 5284 5285 <li>add a configure check for the actual path of 5286 <code>luit</code>, to work around broken <code>imake</code> 5287 configurations.</li> 5288 5289 <li>add a configure check for <code>pkg-config</code> (Redhat 5290 Bugzilla #173541).</li> 5291 5292 <li>modify install-rule for <code>uxterm</code> to omit 5293 executable suffix, e.g., for Cygwin.</li> 5294 5295 <li>modify <code>sinstall.sh</code> to work around quirks in 5296 Cygwin configuration.</li> 5297 </ul> 5298 5299 <h1><a name="xterm_207" id="xterm_207">Patch #207 - 2005/11/13 - 5300 XFree86 4.5.99.16</a></h1> 5301 5302 <ul> 5303 <li>enable <code>lastlogx</code> support for NetBSD (was added, 5304 but not enabled in <a href="#xterm_186">patch #186</a>).</li> 5305 5306 <li>work around broken <code>lastlog.h</code> in glibc 2.3.5, 5307 which includes <code>utmp.h</code>.</li> 5308 5309 <li>revert part of recent XFree86 Imakefile change, restoring 5310 the <code>-I.</code> needed for <code>xmkmf</code> builds of 5311 xterm (XFree86 Bugzilla #1633, reports by Alexander Pohoyda, 5312 Matthieu Herrb).</li> 5313 5314 <li>change compiled-in default for <code>printerCommand</code> 5315 resource to an empty string. People who want to use the printer 5316 should be able to read the manual (Debian #311490).</li> 5317 5318 <li>modify <code>Imakefile</code> to work around old problems 5319 in <code>imake</code> configuration to allow test-builds using 5320 <code>xmkmf</code> on Linux. (This was not noticed since 5321 several releases had broken definitions relating to Xft which 5322 were harder to work around).</li> 5323 5324 <li>link <code>resize</code> for SCO platforms (Kean 5325 Johnston).</li> 5326 </ul> 5327 5328 <h1><a name="xterm_206" id="xterm_206">Patch #206 - 2005/11/3 - 5329 XFree86 4.5.99.15</a></h1> 5330 5331 <ul> 5332 <li>add configure <code>--with-app-defaults</code> option to 5333 allow app-defaults directory for install-rules to be 5334 customized.</li> 5335 5336 <li>remove default translations for 5337 <code>dabbrev-expand()</code> due to conflicts with existing 5338 keyboard arrangements.</li> 5339 5340 <li>remove redundant check for <code>_NET_WM_PID</code> (report 5341 by Emanuele Giaquinta).</li> 5342 5343 <li>set icon border width explicitly to work around fvwm 5344 problem with active icon resizing (report by Steve Morris, 5345 analysis by Dominik Vogt).</li> 5346 5347 <li>modify resource files to make the font-resources a little 5348 more specific, e.g., changing "*VT100*" to "*VT100.", to make 5349 the distinction between VT100.font and VT100.utf8Fonts.font 5350 sharper, in case a packager modifies one of those.</li> 5351 5352 <li>expanded comments in <code>UXTerm.ad</code> regarding the 5353 font resources (Debian #319179).</li> 5354 5355 <li>add <code>--enable-narrowproto</code> configure option to 5356 accommodate X.org "modular" build (report by Stephan Hermann, 5357 GenToo #17220).</li> 5358 5359 <li>fix typo in xterm.man description of <code>+wf</code> 5360 (patch by Tobias Stoeckmann).</li> 5361 5362 <li>add <code>scrollBarBorder</code> resource (request by Floyd 5363 L Davidson).</li> 5364 5365 <li>modify <code>xterm-new</code> terminfo entry to use 5366 capabilities for shifted scroll forward/reverse as shifted 5367 cursor up/down.</li> 5368 5369 <li>correct updating of checkmark for toolbar entry in popup 5370 menu (report by Emanuele Giaquinta).</li> 5371 5372 <li>fix ifdef's to allow compiling with toolbar and without 5373 tek4014 (patch by Emanuele Giaquinta).</li> 5374 5375 <li>use <code>openpty()</code> for Darwin port (patch by 5376 Emanuele Giaquinta).</li> 5377 5378 <li>fix GenToo #90697 a different way, postponing the logic in 5379 <code>SetupToolbar</code> until the toolbar is actually needed, 5380 i.e., the <code>+tb</code> option is handled as expected.</li> 5381 5382 <li>revert fix made in <a href="#xterm_203">patch #203</a> for 5383 GenToo #90697. That introduced a problem with the control mouse 5384 click-popups, while most of the performance problems can be 5385 resolved by restricting the menu fonts (report by Emanuele 5386 Giaquinta).</li> 5387 5388 <li>fix a file-descriptor leak when calling 5389 <code>openpty()</code> (OpenBSD system/4561).</li> 5390 5391 <li>make a special case of resizing work like vt100: a hard 5392 reset also resets the 132/80 mode. The code to support this was 5393 present since X11R5, but not used because the corresponding 5394 initial state of the <code>-132</code> option was not 5395 saved.</li> 5396 5397 <li>restore window manager hints after 5398 <code>XtMakeResizeRequest()</code> calls. One instance from 5399 <a href="#xterm_205">patch #205</a> resulted in the window 5400 manager displaying pixels rather than than characters after 5401 selecting a different font size (FreeBSD ports/87424).</li> 5402 5403 <li>remove special case for Darwin in CF_XOPEN_SOURCE (Emanuele 5404 Giaquinta).</li> 5405 5406 <li>modify parsing of control sequence <code>CSI T</code> 5407 to allow scroll-down to be sent while mouse tracking is enabled 5408 (request by D Hugh Redelmeier).</li> 5409 5410 <li>correct termcap "me" (mode-end) string so it does not 5411 modify the alternate character set (report by Andrey 5412 Chernov).</li> 5413 5414 <li>correct size-comparison in HandleInterpret() broken in 5415 changes from <a href="#xterm_201">patch #201</a> to allocate 5416 input buffer (Debian #334317).</li> 5417 5418 <li>amend adjustments for scrollbar layout from <a href= 5419 "#xterm_204">patch #204</a> to make this apply only to the 5420 toolbar configuration. In the non-toolbar configuration, the 5421 resulting scrollbar was shifted by its borderwidth (report by 5422 Matthieu Herrb).</li> 5423 5424 <li>add select-cursor-extend() action.</li> 5425 5426 <li>fix some broken href's in xterm.log.html, and typo in the 5427 INSTALL file (report/patch by David Martínez 5428 Moreno).</li> 5429 5430 <li>modify <code>Imakefile</code> to use setgid mode for 5431 installing with Linux, OpenBSD and FreeBSD.</li> 5432 5433 <li>add configure --with-setuid and --with-reference options to 5434 allow packagers more flexibility in customizing install 5435 permissions.</li> 5436 5437 <li>generalize and make optional (configure --with-utmp-setgid) 5438 the change made for XFree86 Bugzilla #878 in <a href= 5439 "#xterm_205">patch #205</a> (FreeBSD bug report 5440 #ports/86663).</li> 5441 </ul> 5442 5443 <h1><a name="xterm_205" id="xterm_205">Patch #205 - 2005/9/18 - 5444 XFree86 4.5.99.12</a></h1> 5445 5446 <ul> 5447 <li>correct a typo in CF_FUNC_TGETENT introduced in <a href= 5448 "#xterm_198">patch #198</a> fix for Gentoo #69926.</li> 5449 5450 <li>implement logic in termcap query to process multiple 5451 parameters as documented in ctlseqs.ms</li> 5452 5453 <li>fix buffer size used for termcap query, which was not long 5454 enough for the terminfo "colors" name (patch by Bradd W. 5455 Szonye).</li> 5456 5457 <li>add configure option --enable-readline-mouse, which turns 5458 on the experimental OPT_READLINE code (patch by Ilya 5459 Zakharevich).</li> 5460 5461 <li>for FreeBSD, drop setuid privileges after startup (XFree86 5462 Bugzilla #878, report/patch by Alexander Pohoyda)</li> 5463 5464 <li>add menu entry (alt-esc) and corresponding action 5465 (alt-sends-esc) to toggle the <code>eightBitInput</code> 5466 resource setting.</li> 5467 5468 <li>generate configure script with autoconf 2.52 (patched) to 5469 use the feature therein which forces the script's locale to 5470 POSIX (Gentoo Bugzilla #105369).</li> 5471 5472 <li>modify computation of rows/columns on resize to avoid 5473 extending beyond the given limits, e.g., if resizing in 5474 response to a "maximize" in Gnome or KDE which do not use the 5475 window manager hints for this case (Debian #289123, Novell 5476 #61153).</li> 5477 5478 <li>modifications to work with z/OS 1.4 (Paul Giordano).</li> 5479 5480 <li>improve error-reporting when chown/chmod of the 5481 pseudo-terminal fails, e.g., if a copy of xterm which was 5482 designed to work with old-style pseudo-terminals is not 5483 installed setuid or setgid (report by Jeremy C. Reed).</li> 5484 5485 <li>patches from Emanuele Giaquinta: 5486 5487 <ul> 5488 <li>ctlseqs.ms says that primary and secondary DA accept a 5489 nonzero parameter, which is incorrect. Also modify code to 5490 agree with this.</li> 5491 5492 <li>correct a comment in 88colres.pl</li> 5493 5494 <li>ctlseqs.ms says that the DEC Set/Reset control 5495 sequences for the backarrow key make it send DEL/BS, 5496 respectively, while it's the opposite.</li> 5497 5498 <li>update the menu entries for the metaSendsEscape, 5499 deleteIsDEL and numLock resources when changing them with 5500 the corresponding DEC Set/Reset control sequences.</li> 5501 </ul> 5502 </li> 5503 5504 <li>fixes for configure script: 5505 5506 <ul> 5507 <li>add special case for QNX, defining _QNX_SOURCE.</li> 5508 5509 <li>check for preprocessors which do not perform -U and -D 5510 options in the given order.</li> 5511 5512 <li>improve macro to determine gcc version</li> 5513 5514 <li>improve check for Intel compiler and related warning 5515 options</li> 5516 </ul> 5517 </li> 5518 5519 <li>update config.guess, config.sub</li> 5520 5521 <li>improve fix from <a href="#xterm_198">patch #198</a> for 5522 <code>Cleanup()</code> by ensuring it is not called from the 5523 SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)).</li> 5524 5525 <li>eliminate a retry for a better-matching bold font, to work 5526 around recent font server changes.</li> 5527 5528 <li>fixes for Novell #113277: 5529 5530 <ul> 5531 <li>specify weight for wide font which may be derived from 5532 normal fontname.</li> 5533 5534 <li>cache the derived wide- and widebolt-fontnames.</li> 5535 </ul> 5536 </li> 5537 5538 <li>workaround for GenToo Bugzilla #100728.</li> 5539 5540 <li>add menubar's border width to layout computation. Normally 5541 this is zero, but patterns such as 5542 <code>XTerm*borderWidth:1</code> would give poor layout for the 5543 toolbar configuration.</li> 5544 </ul> 5545 5546 <h1><a name="xterm_204" id="xterm_204">Patch #204 - 2005/8/4 - 5547 XFree86 4.5.99.9</a></h1> 5548 5549 <ul> 5550 <li>work around quirk in shell which allowed user to "run" 5551 uxterm script when there was no UTF-8 locale installed by 5552 entering "sh -x uxterm". Also popup an xmessage to show the 5553 problem for users who run this via a GUI (Debian #318513).</li> 5554 5555 <li>disallow changes to fonts, toolbar and scrollbar when the 5556 vt100 window is iconified, to simplify management of the active 5557 icon.</li> 5558 5559 <li>fixes to make <code>-geom</code> option work properly with 5560 the toolbar configuration (Gentoo #90717, Gentoo #91967).</li> 5561 5562 <li>minor improvements to scrollbar layout: ensure that the 5563 scrollbar border is zero if the vt100 border is zero.</li> 5564 5565 <li>improve initialization due to <code>utf8</code> resource by 5566 loading the <code>utf8Fonts</code> resource in the case where 5567 <code>locale</code> resource is false. Also in this case, do 5568 not disable switching UTF-8 mode on/off.</li> 5569 5570 <li>minor optimization of TrueType font-loading, loads italic 5571 font only when needed.</li> 5572 5573 <li>correct variable used to store temporary result from lookup 5574 of bold font, when initializing the wide-bold-font data and no 5575 immediate match is found by asking for a bold variant of the 5576 wide-font. The result was to use overstriking rather than the 5577 actual bold font (Debian #318162, patch by Eugene Konev).</li> 5578 5579 <li>add checks to ensure vt100 widget is realized when it might 5580 be updated via actions handled from a tek4014-only 5581 configuration.</li> 5582 </ul> 5583 5584 <h1><a name="xterm_203" id="xterm_203">Patch #203 - 2005/7/6 - 5585 XFree86 4.5.99.7</a></h1> 5586 5587 <ul> 5588 <li>modify initialization of <code>allowSendEvents</code> and 5589 <code>allowWindowOps</code> to prevent modification with the 5590 editres protocol.</li> 5591 5592 <li>fix compiler warning for NetBSD by including util.h in 5593 main.c (XFree86 Bugzilla #1596).</li> 5594 5595 <li>fix to build on Darwin 8.x, which no longer provides 5596 <code>setpgrp()</code> (patch by Min Sik Kim).</li> 5597 5598 <li>adapted fixes for Legend (SCO) from diffs attached to 5599 Freedesktop.Org Bugzilla #3180.</li> 5600 5601 <li>fix typo in xterm manpage description of <code>-ls</code> 5602 option (Freedesktop.Org Bugzilla #3543).</li> 5603 5604 <li>add support for interpreting the underline attribute as an 5605 italic font in Xft mode (patch by Chuck Blake).</li> 5606 5607 <li>improve initialization of toolbar so that individual 5608 pulldown menus are initialized on demand, as they are in the 5609 scenario where they are invoked as popup menus (GenToo Bugzilla 5610 #90697).</li> 5611 5612 <li>fix logic in <code>find_utmp</code>, which did not reset 5613 result in <code>getutid()</code>, causing an infinite loop in 5614 some conditions (report by Emil Mikulic).</li> 5615 5616 <li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla 5617 #91008).</li> 5618 5619 <li>modify ifdef's in ptyx.h and xterm_io.h to build with 5620 DragonFly (patch by Jeroen Ruigrok).</li> 5621 5622 <li>change default values for <code>minBufSize</code> and 5623 <code>maxBufSize</code> to 4096 and 32768 respectively so that 5624 the initial read request will match the value from before 5625 changes to use <code>sched_yield()</code>.</li> 5626 5627 <li>make paste of UTF-8 faster for Western character sets by 5628 checking range of incoming data (patch by Joe Allen).</li> 5629 5630 <li>add experimental option to allow applications to get or set 5631 the selection data as a BASE64 string (adapted from patch by 5632 Joe Allen).</li> 5633 5634 <li>fix an off-by-one error parsing <code>-S/nn</code> option 5635 (Debian #311438, report/fix by Peter Chubb).</li> 5636 5637 <li>fix an initialization bug from <a href="#xterm_201">patch 5638 #201</a> that broke logging (report by Rodney Thayer).</li> 5639 5640 <li>amend change to command-line processing in <a href= 5641 "#xterm_201">patch #201</a> to avoid conflict with 5642 <code>-e</code> option (report by Servatius Brandt).</li> 5643 5644 <li>suppress configure check for <code>_XOPEN_SOURCE</code> on 5645 darwin.</li> 5646 5647 <li>update config.guess, config.sub</li> 5648 </ul> 5649 5650 <h1><a name="xterm_202" id="xterm_202">Patch #202 - 2005/5/2 - 5651 XFree86 4.5.99.3</a></h1> 5652 5653 <ul> 5654 <li>add extended shift- and control-modifier cursor keys to 5655 "xterm+pcfkeys" terminfo entry to correspond to ncurses 5656 20050430 patch.</li> 5657 5658 <li>fix a rare case where text would be written with the wrong 5659 colors because output of scrolled text would reset the colors 5660 and the new text would be written with the same colors 5661 (report/testcase by Thomas Glanzmann).</li> 5662 5663 <li>rename <code>$CMD</code> variable in <code>plink.sh</code> 5664 because it is a reserved symbol in bash 3.00.16 (report by Ted 5665 Taylor).</li> 5666 5667 <li>add environment variables <code>$XTERM_SHELL</code> and 5668 <code>$XTERM_VERSION</code> (request by Zdenek Sekera).</li> 5669 5670 <li>corrected workaround for background color of menubar, which 5671 gave a too-broad expression, coloring the background of the 5672 VT100 widget unless overridden by another resource 5673 setting.</li> 5674 5675 <li>correct an error in the logic which decides when 5676 <code>sched_yield()</code> is run; it would occasionally hang 5677 when contending with other pseudo-terminal applications such as 5678 screen (report by Kirill Ponomarew).</li> 5679 5680 <li>modify initialization to decide whether to default to 5681 built-in <code>wcwidth()</code> versus system's version based 5682 on the starting locale and whether the system's version is poor 5683 quality (suggested by Bram Moolenaar).</li> 5684 5685 <li>update table for <code>mk_width()</code> from UnicodeData 5686 4.1.0 using Markus Kuhn's <code>uniset</code> script.</li> 5687 </ul> 5688 5689 <h1><a name="xterm_201" id="xterm_201">Patch #201 - 2005/4/21 - 5690 XFree86 4.5.99.2</a></h1> 5691 5692 <ul> 5693 <li>improve resource files to show how the menubar and popup 5694 menus can be colored (prompted by report by Joe Wells).</li> 5695 5696 <li>modify parsing of OSC (and SOS, etc), strings so their 5697 contents are not interpreted as UTF-8. This allows non-ASCII 5698 title strings to be set, provided that the window manager 5699 complies (report by Thomas Wolff).</li> 5700 5701 <li>improved some of the built-in line-drawing glyphs.</li> 5702 5703 <li>correct color of "box" character drawn for line-drawing 5704 glyph 1 (report by Nicolas George).</li> 5705 5706 <li>improve behavior when switching to UTF-8 mode after startup 5707 so xterm will check if the current fonts are already wide 5708 (ISO10646-1). If they are not, xterm will use the 5709 <code>utf8Fonts</code> subresource to load appropriate fonts 5710 (request by Bram Moolenaar).</li> 5711 5712 <li>modify logic for setting title-string so it applies to the 5713 current widget rather than the vt100 widget.</li> 5714 5715 <li>modify initialization for wide-bold fontname, to search for 5716 one if none is given (report by Michael Schroeder).</li> 5717 5718 <li>add resource <code>mkWidth</code> and command-line option 5719 <code>-mk_width</code> to control whether xterm uses the 5720 built-in version of wcwidth().</li> 5721 5722 <li>add resource settings for minimum/maximum input buffer 5723 size, and call to <code>sched_yield</code> to improve 5724 performance with newer Linux kernels (adapted from patch by 5725 Nicolas George).</li> 5726 5727 <li>correct computation of width for wide characters with the 5728 invisible attribute (report by Thomas Wolff).</li> 5729 5730 <li>modify interaction between <code>+u8</code> and 5731 <code>locale</code> resource to allow the command-line option 5732 to override the resource (requested by Thomas Wolff).</li> 5733 5734 <li>add a limit check for scrolling margins in a one-line 5735 screen, overlooked in fixes for <a href="#xterm_198">patch 5736 #198</a> (Debian #297430).</li> 5737 5738 <li>correct treatment of <code>iconBorderWidth</code> for 5739 resizing an active-icon, and its description in manpage (Debian 5740 #296592).</li> 5741 5742 <li>modify configure script <code>--disable-imake</code> to use 5743 the script's definitions anyway if it cannot detect imake 5744 (prompted by FreeBSD bug 77408).</li> 5745 5746 <li>ignore error in the I/O initialization that tries to set 5747 the tty to 7-bit input for the case where 5748 <code>eightBitInput</code> resource is false (Debian 5749 #298551).</li> 5750 5751 <li>modify command-processing to accept an optional parameter 5752 that tells xterm which shell program to use (request by Zdenek 5753 Sekera).</li> 5754 5755 <li>add simpler resource <code>keyboardType</code> which, when 5756 set, overrides the individual keyboard-type resources and 5757 eliminates the possibility of conflict between them.</li> 5758 5759 <li>add initialization for <code>scoFunctionKeys</code> 5760 resource (report by Rick K).</li> 5761 5762 <li>correct logic of <code>ReallocateBufOffsets()</code> which 5763 did not copy the content of the old screen buffer to the proper 5764 location, making a repaint clear after switching to 5765 wide-character mode (report by Bram Moolenaar):</li> 5766 5767 <li>implement the remaining pieces to make xterm allocate cells 5768 for wide-characters when the "UTF-8" menu entry is selected. 5769 Also, load the UTF-8 font when that menu entry is selected, or 5770 the escape sequence for UTF-8 mode is received (report by Bram 5771 Moolenaar):</li> 5772 5773 <li>add command-line options (<code>-tb</code>, 5774 <code>+tb</code>) and resource <code>toolBar</code> to allow 5775 menu/toolbar to disabled or enabled at startup (prompted by 5776 reports by Joe Wells).</li> 5777 5778 <li>correct typo in configure script's --enable-dec-locator 5779 option (report by Bram Moolenaar).</li> 5780 </ul> 5781 5782 <h1><a name="xterm_200" id="xterm_200">Patch #200 - 2005/2/6 - 5783 XFree86 4.4.99.23</a></h1> 5784 5785 <ul> 5786 <li>increase color pairs value for xterm-256color and 5787 xterm-88color to match ncurses, which has an experimental 5788 option to support this.</li> 5789 5790 <li>modify ifdef's to make AIX use termios rather than termio; 5791 the struct sizes for the two were not the same.</li> 5792 5793 <li>improve CF_WITH_IMAKE_CFLAGS configure macro script for 5794 OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and 5795 AIX.</li> 5796 5797 <li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch 5798 by Min Sik Kim).</li> 5799 5800 <li>modify find_utmp() to initialize the whole utmpx struct 5801 (except ut_id), since that is needed for OSF1 4.0D to prevent 5802 an infinite loop on exit.</li> 5803 5804 <li>add configure check before adding -D_POSIX_SOURCE since 5805 some platforms predefine it, e.g., cygwin.</li> 5806 5807 <li>add simplified sed expressions in CF_IMAKE_CFLAGS configure 5808 script macro to ensure value for PROJECTROOT is quoted on 5809 Solaris, i.e., when nested <code>\(</code> and <code>\)</code> 5810 are not interpreted correctly.</li> 5811 5812 <li>correct DEC rectangle operations to reset state after 5813 completing the operations.</li> 5814 5815 <li>modify CASE_ST handling in charproc.c to ensure that the 5816 parse state is reset even if xterm is not currently processing 5817 an OSC or other string (patch by Johnny Billquist forwarded by 5818 Matthias Scheler, NetBSD xsrc/29003).</li> 5819 5820 <li>fix OS/2 build for innotek_libc (patch by David Yeo).</li> 5821 5822 <li>fix a regression from <a href="#xterm_197">patch #197</a> 5823 fix for Debian #277832 which disowned the selection if it was 5824 scrolled, e.g., by the user pressing return at the bottom of 5825 the screen (Debian #291787).</li> 5826 5827 <li>move the warning/exit for missing $DISPLAY into the error 5828 handler in case <code>-display</code> is given, and the connect 5829 fails for some other reason.</li> 5830 </ul> 5831 5832 <h1><a name="xterm_199" id="xterm_199">Patch #199 - 2005/1/17 - 5833 XFree86 4.4.99.22</a></h1> 5834 5835 <ul> 5836 <li>instead of setting <code>$DISPLAY</code>, check for the 5837 unset variable and warn/exit on this condition (comments by H 5838 Merijn Brand and Bernhard R Link).</li> 5839 5840 <li>fix a typo in Imakefile from <a href="#xterm_198">patch 5841 #198</a> (reports/patches by Stefan Dirsch, Mike Castle).</li> 5842 </ul> 5843 5844 <h1><a name="xterm_198" id="xterm_198">Patch #198 - 2005/1/13 - 5845 XFree86 4.4.99.21</a></h1> 5846 5847 <ul> 5848 <li>set <code>$DISPLAY</code> to ":0" if it is not set.</li> 5849 5850 <li>add <code>utmpDisplayId</code> resource to allow users to 5851 control whether the display identifier (display number and 5852 screen number) are retained in the connection information 5853 recorded in utmp (discussion with Edoardo Tirtarahardja).</li> 5854 5855 <li>add <code>bellOnReset</code> resource to allow users to 5856 disable bell which sounds on hard reset since <a href= 5857 "#xterm_183">patch #183</a> changes to DECSCL (discussion with 5858 Danek Duvall).</li> 5859 5860 <li>improve <code>$WINDOWID</code> for configuration with 5861 toolbar by making it refer to the top-level shell rather than 5862 the parent of the current window. For that case, the parent is 5863 a form widget, which does not have a name, which made the 5864 <code>$WINDOWID</code> not very useful as a parameter for 5865 <code>xwininfo</code> (suggested by Dave Bodenstab).</li> 5866 5867 <li>fix a typo in WhichVFont() macro from <a href= 5868 "#xterm_197">patch #197</a> changes which broke the 5869 --disable-active-icon configuration (report by Ralf S. 5870 Engelschall).</li> 5871 5872 <li>improve some limit checks (Gentoo Bugzilla #75604).</li> 5873 5874 <li>add --disable-setuid option to configure script (Gentoo 5875 Bugzilla #76543).</li> 5876 5877 <li>add --disable-full-tgetent option to configure script, 5878 allowing one to ignore a termcap library in favor of 5879 ncurses/curses (Gentoo Bugzilla #69926).</li> 5880 5881 <li>modify configure script to choose useful warning options 5882 for Intel version 8.0 compiler.</li> 5883 5884 <li>update config.guess, config.sub</li> 5885 5886 <li>make active-icon work properly when TrueType fonts are used 5887 (Debian #286068).</li> 5888 5889 <li>correct change from <a href="#xterm_157">patch #157</a> 5890 which uses getlogin() to check for an alias; the storage used 5891 for the related getpwuid() call was overwritten by the data 5892 used for comparison (patch by Per Hedeland).</li> 5893 5894 <li>correct case of SCS for character set 0 (line-drawing) to 5895 allow it to be selected into GR.</li> 5896 5897 <li>fix a file-descriptor leak (Redhat Bugzilla #139597).</li> 5898 5899 <li>modify <code>creat_as()</code> to only fork if xterm is 5900 actually running as setuid and/or setgid. This works around a 5901 Cygwin bug which hangs when logging is enabled and makes xterm 5902 a little faster for systems using interfaces such as utempter 5903 (report by Al Goodman).</li> 5904 5905 <li>modify <code>Cleanup()</code> to avoid operations such as X 5906 calls that might use unsafe functions when it is called by a 5907 signal handler (report by Michiel Boland).</li> 5908 5909 <li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM 5910 changes from <a href="#xterm_197">patch #197</a> that broke 5911 DECSET 38: switch to Tek4014 emulation (report by Dave 5912 Bodenstab).</li> 5913 5914 <li>fix for manpage escapes (Marc La France).</li> 5915 5916 <li>improve on IRIX-specific change for Imakefile in XFree86 5917 CVS versus resize linking against termcap library to reflect 5918 definitions for USE_TERMCAP in resize.c</li> 5919 </ul> 5920 5921 <h1><a name="xterm_197" id="xterm_197">Patch #197 - 2004/11/30 - 5922 XFree86 4.4.99.19</a></h1> 5923 5924 <ul> 5925 <li>modify configure script to remove empty "-DPROJECTROOT=" 5926 definition which resulted unusable values for luit's default 5927 path.</li> 5928 5929 <li>update precompose.c based on Unicode 4.0.1</li> 5930 5931 <li>several minor fixes based on Intel compiler warnings.</li> 5932 5933 <li>change default translations so a <code>BtnDown</code> which 5934 is not recognized is simply ignored rather than emitting a 5935 bell. That makes it less obtrusive when the user tries to use a 5936 mouse which provides more capabilities than the X mouse driver 5937 supports, e.g., one with a horizontal scroll wheel (Debian 5938 #265133).</li> 5939 5940 <li>note in xterm's manpage that <code>translations</code> is 5941 not specific to xterm (Debian #278897).</li> 5942 5943 <li>modify uxterm script to use locale program to verify if the 5944 derived locale is installed (Debian #246398).</li> 5945 5946 <li>correct font handling for active icon when in UTF-8 mode 5947 (report by Paolo Liberatore).</li> 5948 5949 <li>make active-icon and toolbar configurations work 5950 together.</li> 5951 5952 <li>modify the criteria for disowning primary selection. 5953 Previously, this happened anytime the cursor was moved before 5954 the end of the selection. That would ensure that any 5955 insert/delete of char or line, as well as scrolling, would 5956 disown the selection. The new criteria change this to checking 5957 if the operations would modify the data which is highlighted 5958 (Debian #277832).</li> 5959 5960 <li>reimplement <code>DECALN</code> with functions for vt420 5961 rectangles, fixes selection for this case.</li> 5962 5963 <li>implement vt420 rectangle operations.</li> 5964 5965 <li>add parsing, for debug/test of vt220 soft-fonts.</li> 5966 5967 <li>add menu entry, actions and escape sequence to allow 5968 enabling/disabling toolbars at runtime.</li> 5969 5970 <li>improve rendering for Xft, allow it to draw non-linedrawing 5971 characters such as "pi", which were drawn from internal tables 5972 with <a href="#xterm_180">patch #180</a> (Freedesktop.org 5973 Bugzilla #1260).</li> 5974 5975 <li>add configure option <code>--enable-mini-luit</code>, 5976 ifdef'd the mini-luit feature with 5977 <code>OPT_MINI_LUIT</code>.</li> 5978 5979 <li>add mini-luit feature, which supports Latin9 directly 5980 rather than via luit, provided that Unicode fonts are used 5981 (Freedesktop.org Bugzilla #1571, request by Stefan Dirsch, 5982 patch by Michael Schroeder).</li> 5983 5984 <li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x 5985 kernels, set the corresponding flag for the slave pty, to 5986 enable UTF-8 interpretation of backspace in cooked mode 5987 (Freedesktop.org Bugzilla #1578, request by Stefan 5988 Dirsch).</li> 5989 5990 <li>modify <code>faceSize</code> resource to use a 5991 floating-point internal value (adapted from patch by Sam 5992 Stephenson).</li> 5993 5994 <li>correct handling selection of tabs over cleared space in 5995 UTF-8 mode. In this special case, xterm represents the 5996 whitespace with a null rather than a space character (Debian 5997 #276447).</li> 5998 5999 <li>amend fix for infinite loop from <a href="#xterm_192">patch 6000 #192</a> to check if there is wrapped text to output in a 6001 following iteration (Debian #273202).</li> 6002 6003 <li>fixes ifdef'd with <code>__INTERIX</code> to allow building 6004 with Interix (Windows Services for UNIX) 3.5 using the xlibs 6005 libraries from freedesktop.org (patch by Min Sik Kim).</li> 6006 6007 <li>amend solution for Debian #252873, Debian #260471 from 6008 <a href="#xterm_194">patch #194</a> by making the cursor not 6009 explicitly colored if only the foreground color is set, and the 6010 cursor is on a blank space (Debian #275473).</li> 6011 6012 <li>correct logic for send/receive mode (SRM) with regard to 6013 control characters.</li> 6014 6015 <li>fix masking of invisible text in wide-character mode, which 6016 did not work for line-drawing characters.</li> 6017 6018 <li>incorporate CF_XOPEN_SOURCE into configure script, 6019 replacing CF_GNU_SOURCE.</li> 6020 </ul> 6021 6022 <h1><a name="xterm_196" id="xterm_196">Patch #196 - 2004/8/15 - 6023 XFree86 4.4.99.12</a></h1> 6024 6025 <ul> 6026 <li>add a special case to configure script to ignore NetBSD's 6027 <code>grantpt()</code> which was recently added (but not part 6028 of a release), until someone is able to ensure that xterm can 6029 use it (report by Min Sik Kim).</li> 6030 6031 <li>clear the buffer returned by getutid(). This fixes an 6032 infinite loop on some platforms introduced in <a href= 6033 "#xterm_193">patch #193</a> by Debian #256468 fix (report by 6034 David Ellement).</li> 6035 </ul> 6036 6037 <h1><a name="xterm_195" id="xterm_195">Patch #195 - 2004/8/8 - 6038 XFree86 4.4.99.11</a></h1> 6039 6040 <ul> 6041 <li>correct length used for blinking text, make the last column 6042 blink (patch by Alexander V Lukyanov).</li> 6043 6044 <li>start changes to make doublesize characters work with 6045 TrueType fonts (see <a href="#xterm_44">patch #44</a>).</li> 6046 6047 <li>trim leading/trailing blanks from color resources as done 6048 for other strings in <a href="#xterm_167">patch #167</a>.</li> 6049 6050 <li>fixes for <code>showBlinkAsBold</code> resource (report by 6051 Christoph Berg).</li> 6052 </ul> 6053 6054 <h1><a name="xterm_194" id="xterm_194">Patch #194 - 2004/7/27 - 6055 XFree86 4.4.99.11</a></h1> 6056 6057 <ul> 6058 <li>change clearing operations so foreground color attribute is 6059 not set. Usually this is benign, but in some cases when the 6060 cursor color is not set explicitly, the cursor would show this 6061 color (Debian #252873, Debian #260471).</li> 6062 6063 <li>add extra state (cursor-moved) to guard against deciding 6064 that the cursor did not require repainting after an indexing 6065 operation that leaves the cursor in the same location on the 6066 screen.</li> 6067 6068 <li>fix a case where a full-screen indexing operation would not 6069 restore the cursor-busy state.</li> 6070 6071 <li>fix a repainting bug introduced in <a href= 6072 "#xterm_180">patch #180</a>: when using a font lacking 6073 line-drawing characters, a repaint of the screen could skip 6074 horizontally an extra amount after filling in the missing 6075 character (reports by Nicolas George, Hans de Goede, Redhat 6076 Bugzilla #128341).</li> 6077 6078 <li>rename terminfo fragment "xterm-pc-fkeys" to 6079 "xterm+pcfkeys" for consistency with ncurses.</li> 6080 </ul> 6081 6082 <h1><a name="xterm_193" id="xterm_193">Patch #193 - 2004/7/19 - 6083 XFree86 4.4.99.10</a></h1> 6084 6085 <ul> 6086 <li>fix for wide-character selection from OpenBSD CVS 6087 (report/patch by Matthieu Herrb).</li> 6088 6089 <li>modify initialization and cleanup of utmp data to also 6090 compare the <code>ut_line</code> member (Debian #256468).</li> 6091 6092 <li>modify check on focus-change to ignore 6093 <code>FocusOut</code> events generated by 6094 <code>XGrabKeyboard</code>. This fixes a case where the text 6095 cursor would act as if focus were lost when selecting the 6096 "Secure Keyboard" menu option.</li> 6097 6098 <li>add <code>gen-pc-fkeys.pl</code> script, use that to 6099 generate terminfo fragment corresponding to the pc-style 6100 function keys.</li> 6101 6102 <li>fix a case where the checkmark by the "VT220 Keyboard" menu 6103 entry was not set on startup.</li> 6104 6105 <li>separated two methods for making the cursor blink (menu and 6106 escape sequence) by using the menu as the primary method and 6107 XOR'ing the state of the escape sequence against that.</li> 6108 6109 <li>modify logic for enabling blinking cursor via escape 6110 sequence as well as the related save/restore operations so this 6111 is only available if the <code>cursorBlink</code> resource was 6112 set on startup.</li> 6113 </ul> 6114 6115 <h1><a name="xterm_192" id="xterm_192">Patch #192 - 2004/7/12 - 6116 XFree86 4.4.99.9</a></h1> 6117 6118 <ul> 6119 <li>change resource settings for color4 and color12, add some 6120 discussion in <code>XTerm-col.ad</code> (Debian #241717).</li> 6121 6122 <li>add a note in xterm manpage discussing the difference 6123 between alt- and meta-keys, and the way the latter is used in 6124 the <code>eightBitInput</code> resource.</li> 6125 6126 <li>add a note in xterm manpage regarding possible conflict 6127 between resource settings for <code>xterm.vt100.font</code> and 6128 <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650).</li> 6129 6130 <li>add compile-time customization of 6131 <code>backarrowKeyIsErase</code> and 6132 <code>ptyInitialErase</code> default resource values (adapted 6133 from OpenBSD CVS).</li> 6134 6135 <li>change parameter of <code>FIONREAD</code> 6136 <code>ioctl()</code> call from long to int (discussion on 6137 tech-x11@netbsd.org regarding LP64 by John Heasley and Matthias 6138 Scheler).</li> 6139 6140 <li>modify configure script options for Athena widgets to work 6141 as expected for "--without-Xaw3d", etc., (GenToo Bugzilla 6142 #53455).</li> 6143 6144 <li>add case to uxterm to accommodate locales ending with 6145 "@euro", e.g., fr_FR.UTF-8@euro (Debian #255197, 6146 report/analysis by Matthieu Lagouge).</li> 6147 6148 <li>add special case for VT100 graphic's "box" character 6149 (discussion with Ben Armstrong).</li> 6150 6151 <li>add missing initialization for bitmap-font sizes needed to 6152 make fonts menu work with TrueType fonts (report by Ben 6153 Armstrong).</li> 6154 6155 <li>save the fontnames for bold fonts that are derived from 6156 normal fonts, or from the <code>boldFont</code> resource, so 6157 the same value is restored when switching with the VT Fonts 6158 menu (Debian #256086).</li> 6159 6160 <li>fix manpage preprocessing (Marc La France).</li> 6161 6162 <li>fix typo in manpage's description of character classes 6163 (Debian #257073).</li> 6164 6165 <li>modify terminfo to accommodate luit, which relies on G1 6166 being used via an ISO-2022 escape sequence (Debian #254316, 6167 analysis by Juliusz Chroboczek).</li> 6168 6169 <li>modify Makefile.in rule for ctlseqs.txt to work around 6170 groff SGR misfeature.</li> 6171 6172 <li>modify <code>XTerm.ad</code> to set <code>saveLines</code> 6173 default to 1024 (Redhat Bugzilla #127132).</li> 6174 6175 <li>add a limit-check in <code>dotext()</code> to prevent 6176 infinite loop in a corner case of UTF-8 configuration.</li> 6177 6178 <li>update config.guess, config.sub</li> 6179 </ul> 6180 6181 <h1><a name="xterm_191" id="xterm_191">Patch #191 - 2004/6/6 - 6182 XFree86 4.4.99.7</a></h1> 6183 6184 <ul> 6185 <li>correct options parsing for <code>-into</code> option so it 6186 can be combined with <code>-e</code> (Redhat Bugzilla #124518, 6187 report/patch by James Armstrong).</li> 6188 6189 <li>fix ifdef's for <code>OPT_COLOR_RES2</code> so that the 6190 fake resource table introduced in <a href="#xterm_188">patch 6191 #188</a> is not compiled if it is empty. This happened to work 6192 with gcc (report by Joel Konkle-Parker).</li> 6193 6194 <li>reorganize ptydata.c to use one input buffer shared between 6195 the VTxxx and tek4014 emulators. In the new scheme, UTF-8 6196 decoding is performed on characters as they are needed by the 6197 state machine rather than on buffers as they are read.</li> 6198 6199 <li>work around change in quoting of PROJECTROOT symbol when 6200 using configure script, from changes made in <a href= 6201 "#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS (GenToo 6202 Bugzilla #50982).</li> 6203 </ul> 6204 6205 <h1><a name="xterm_190" id="xterm_190">Patch #190 - 2004/5/25 - 6206 XFree86 4.4.99.6</a></h1> 6207 6208 <ul> 6209 <li>correct state for values in the range 128-159 after 6210 translating from UTF-8: this should be ignored unless the user 6211 overrides it with the <code>allowC1Printable</code> resource 6212 (reported by Simon Strandgaard).</li> 6213 6214 <li>add configure-script check for nl_langinfo(CODESET), use 6215 this to replace check of environment variables for UTF-8.</li> 6216 6217 <li>change Makefile.in rules for 256colres.h and 88colres.h so 6218 they are only made if they do not exist. The maintainer-clean 6219 rule will remove these files; they require perl to be 6220 made.</li> 6221 6222 <li>remove check in configure script --enable-toolbar that 6223 suppressed this option when building with Xaw7.</li> 6224 6225 <li>apply fixes to Tektronix widget used for VT100 widget to 6226 make toolbar work with Xaw7 (XFree86 4.x).</li> 6227 </ul> 6228 6229 <h1><a name="xterm_189" id="xterm_189">Patch #189 - 2004/5/16 - 6230 XFree86 4.4.99.6</a></h1> 6231 6232 <ul> 6233 <li>do not call xim_real_init() if <code>openIm</code> resource 6234 is false (Debian #249025).</li> 6235 6236 <li>minor improvements to built-in line-drawing.</li> 6237 6238 <li>fix a few portability issues with dynamic abbreviation 6239 support, i.e., did not compile on Tru64.</li> 6240 6241 <li>modify constraints in form used to layout toolbar, to work 6242 with newer Xaw in XFree86 4.x.</li> 6243 </ul> 6244 6245 <h1><a name="xterm_188" id="xterm_188">Patch #188 - 2004/5/12 - 6246 XFree86 4.4.99.6</a></h1> 6247 6248 <ul> 6249 <li>correct table entry for DEL in the ground state, which 6250 marked it as a printable character from <a href= 6251 "#xterm_171">patch #171</a> (report by D Hugh Redelmeier).</li> 6252 6253 <li>improve fix in <a href="#xterm_186">patch #186</a> for 6254 failure in xim_real_init() by adding a sleep.</li> 6255 6256 <li>fix a typo in os2main.c (XFree86 Bugzilla #1358, 6257 report/patch by Frank Giessler).</li> 6258 6259 <li>make escape sequence reporting dynamic colors consistent 6260 with the logic that sets it; choosing the opposite color when 6261 reverse video is set (XFree86 Bugzilla #1361, reported by Bradd 6262 W Szonye).</li> 6263 6264 <li>modify initialization of 256- and 88-colors so that colors 6265 beyond 16 are normally not X resources. This works around a 6266 hard-coded limit in Xt which breaks xterm when 256-colors and 6267 luit are both configured (report by Noah Friedman).</li> 6268 6269 <li>remove <code>ncv</code> from <code>xterm-256color</code> 6270 terminfo entry since it is no longer needed (report by Eli 6271 Zaretskii).</li> 6272 6273 <li>add "erase2" and "eol2" keywords to <code>ttyModes</code> 6274 resource, for recent/current FreeBSD.</li> 6275 6276 <li>improve ifdef's for utempter library to omit direct calls 6277 to <code>setutent()</code> or <code>getutent()</code> (adapted 6278 from patch by Christian Biere).</li> 6279 6280 <li>add dynamic abbreviation support like Emacs (patch by 6281 Tomasz Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>, 6282 and enabled via the configure script 6283 <code>--enable-dabbrev</code> option.</li> 6284 6285 <li>fix problem responding to session management events, e.g., 6286 which would make logging out very slow (patch by Eddy De Greef, 6287 Debian #233883).</li> 6288 6289 <li>work around a newer bug in toolbar with XFree86 by forcing 6290 menus to be fully initialized at startup. In older versions of 6291 XFree86 and X11R6, it was possible to delay initialization of 6292 the menu contents until it was popped up. (The longstanding bug 6293 with XFree86 4.x layout for toolbar still exists, though).</li> 6294 6295 <li>modify <code>xtermAddInput</code> to work around core dump 6296 on IRIX64 when initializing scrollbar translations if toolbar 6297 is compiled-in.</li> 6298 6299 <li>fix some minor conflicts in the 2-character entry names in 6300 the termcap file.</li> 6301 </ul> 6302 6303 <h1><a name="xterm_187" id="xterm_187">Patch #187 - 2004/4/27 - 6304 XFree86 4.4.99.4</a></h1> 6305 6306 <ul> 6307 <li>change xterm version string to use 6308 <code>__vendorversion__</code> where that is available, and 6309 "XTerm" otherwise.</li> 6310 6311 <li>improve description of <code>utf8</code> resource in 6312 manpage (Debian #179407).</li> 6313 6314 <li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS 6315 to handle <code>-D</code> options that define string values, 6316 e.g., for <code>XVENDORNAME</code>.</li> 6317 6318 <li>modify configure macro CF_IMAKE_CFLAGS to allow (if 6319 <code>$PATH</code> is set accordingly) to use the 6320 <code>xmkmf</code> script within an X build tree.</li> 6321 6322 <li>add missing <code>#undef OPT_SESSION_MGT</code> to 6323 xtermcfg.hin to make the configure script's 6324 --disable-session-mgt option work.</li> 6325 6326 <li>update config.guess, config.sub</li> 6327 </ul> 6328 6329 <h1><a name="xterm_186" id="xterm_186">Patch #186 - 2004/4/18 - 6330 XFree86 4.4.99.4</a></h1> 6331 6332 <ul> 6333 <li>change reset on <code>DECSCL</code> to a soft-reset 6334 (appears some DEC manuals have errors).</li> 6335 6336 <li>add a section to ctlseqs.ms elaborating on normal/alternate 6337 screens.</li> 6338 6339 <li>modify initialization of Acolors[] so that any 6340 XtDefaultForeground or XtDefaultBackground values are 6341 translated as in the Tcolors[], to use the window's 6342 foreground/background colors. This affects the 6343 <code>colorBD</code> and similar resources which normally have 6344 no explicit color assigned.</li> 6345 6346 <li>modify initialization of Tektronix window so that control 6347 sequences setting its color before the window is popped up will 6348 apply to its initial colors.</li> 6349 6350 <li>add control sequence to set Tektronix window's 6351 text-cursor.</li> 6352 6353 <li>modify initialization of terminal colors, e.g., mouse 6354 pointer and text cursor, to treat 6355 <code>XtDefaultForeground</code> and 6356 <code>XtDefaultBackground</code> values as the actual 6357 foreground and background colors of the terminal rather than 6358 white and black (Debian #241717).</li> 6359 6360 <li>remove an incorrect comparison against 6361 <code>PTYCHARLEN</code> in parsing the <code>-S</code> option 6362 (report by Michael B Taylor).</li> 6363 6364 <li>minor restructuring of terminfo/termcap files, having noted 6365 some packager's customizations which caused the structure to be 6366 confused.</li> 6367 6368 <li>eliminate an isolated use of MIN/MAX in charproc.c</li> 6369 6370 <li>replace <code>XtExtdefaultfont</code> and 6371 <code>XtExtdefaultbackground</code> by their more familiar 6372 equivalents <code>XtDefaultFont</code> and 6373 <code>XtDefaultBackground</code>.</li> 6374 6375 <li>replace ifdef's using <code>SCO</code>, <code>sco</code> 6376 and <code>SCO325</code> with <code>__SCO__</code> (XFree86 6377 Bugzilla #1301, Kean Johnston). But ensure that it still builds 6378 on platforms where this symbol is not defined.</li> 6379 6380 <li>add <code>scoFunctionKeys</code> resource, to match 6381 manpage.</li> 6382 6383 <li>update manpage discussion of menus and related 6384 resources.</li> 6385 6386 <li>enable utmpx support for NetBSD 1.6C and newer (patch by 6387 Matthias Scheler).</li> 6388 6389 <li>add a note in the manpage discussing xterm's treatment of 6390 open file-descriptors (request by Dan Shearer).</li> 6391 6392 <li>modify <code>Help()</code> to make "xterm -h" write to 6393 standard output rather than standard error (patch by Bram 6394 Moolenaar).</li> 6395 6396 <li>check for type of failure in xim_real_init() to avoid 6397 looping when the problem is an unsupported input method rather 6398 than a failure to connect to the XIM server. Problem was 6399 introduced in <a href="#xterm_175">patch #175</a> (XFree86 6400 Bugzilla #1306).</li> 6401 6402 <li>modify <code>Imakefile</code> to remove dependency of 6403 "install" target on the <code>xterm</code> executable to make 6404 installs from tree without attempting to rebuild anything 6405 (commit by David Dawes, report/patch from Lee Olsen).</li> 6406 6407 <li>remove call to <code>ShowCursor</code> from 6408 <code>SetCursorBlink()</code> since that is redundant, and can 6409 cause display glitches if the cursor is already blinking 6410 (XFree86 Bugzilla #1158, patch/report by Andreas Schwab).</li> 6411 </ul> 6412 6413 <h1><a name="xterm_185" id="xterm_185">Patch #185 - 2004/3/3 - 6414 XFree86 4.4</a></h1> 6415 6416 <ul> 6417 <li>fix tcap-query logic for the backspace key (XFree86 6418 Bugzilla #1233, report/patch by Anton Kovalenko).</li> 6419 6420 <li>add test-scripts resize.pl and tcapquery.pl</li> 6421 6422 <li>add translation to ASCII of commonly-used characters that 6423 groff translates to Unicode, when the font in use does not 6424 provide the corresponding glyphs (Debian #219551).</li> 6425 6426 <li>modify RequestMaximize(), which performs maximize/restore 6427 via control sequences, to account for window-frame (patch by 6428 Jess Thrysoee).</li> 6429 6430 <li>improve pattern used in <code>uxterm</code> to check for 6431 UTF-8 locale, e.g., for HPUX (patch by H Merijn Brand).</li> 6432 6433 <li>add <code>-fd</code> option and resource 6434 <code>faceNameDoublesize</code> to specify double-wide fonts 6435 with Xft (adapted from patch by Zarick Lau).</li> 6436 6437 <li>change a couple of resource classes from "Boolean" to 6438 specific values: <code>freeBoldBox</code>, 6439 <code>forceBoxChars</code>.</li> 6440 6441 <li>add resource <code>showMissingGlyphs</code> to outline 6442 places on the screen where a font lacks the corresponding 6443 glyph.</li> 6444 6445 <li>add resource <code>showBlinkAsBold</code> to control 6446 whether blinking text should be shown as bold or actual 6447 blinking text.</li> 6448 6449 <li>improve logic in ShowCursor() to avoid repainting the 6450 cursor when it is already visible, e.g., in response to the 6451 DECTCEM escape sequence. This also addresses XFree86 Bugzilla 6452 #1158.</li> 6453 6454 <li>implement blinking text, using the timer for blinking 6455 cursor.</li> 6456 6457 <li>modify FreeType support to allow resizing the font, in the 6458 same ways the window can be resized if fixed fonts are used. 6459 The relative font sizes are derived from the fixed font 6460 sizes.</li> 6461 6462 <li>add menu items and corresponding actions for switching 6463 on/off the UTF-8 mode and Xft (TrueType) support.</li> 6464 6465 <li>add logic to handle switching UTF-8 mode on/off. It worked 6466 if the escape sequences were flushed, but if data was mixed in 6467 with the same write, some were not handled properly (report by 6468 Nicolas George).</li> 6469 6470 <li>modify to allow turning UTF-8 mode on/off via escape 6471 sequence even if <code>-wc</code> option was not given at 6472 startup (patch by Peter Berg Larsen).</li> 6473 6474 <li>amend fix for XFree86 Bugzilla #981, adjusting for 6475 savedlines value (report by Tim Adye).</li> 6476 6477 <li>fix a typo in computing relative font size (Jess 6478 Thrysoee).</li> 6479 </ul> 6480 6481 <h1><a name="xterm_184" id="xterm_184">Patch #184 - 2003/12/31 - 6482 XFree86 4.3.99.903</a></h1> 6483 6484 <ul> 6485 <li>improve configure-script checks for FreeType and related 6486 libraries, using <code>xft-config</code> or 6487 <code>freetype-config</code> scripts when available.</li> 6488 6489 <li>fix configure-script check for <code>SYSV</code> definition 6490 by ensuring whether <code>sys_errlist[]</code> is declared, and 6491 by modifying the test program to include 6492 <code>X11/Intrinsic.h</code> to check that <code>wchar_t</code> 6493 is declared consistently (report by H Merijn Brand).</li> 6494 </ul> 6495 6496 <h1><a name="xterm_183" id="xterm_183">Patch #183 - 2003/12/26 - 6497 XFree86 4.3.99.903</a></h1> 6498 6499 <ul> 6500 <li>correct logic for configurations that may attempt to open 6501 both old/new-style pseudoterminals. In this case, the old-style 6502 are preferred. Logic was broken in <a href="#xterm_145">patch 6503 #145</a> (XFree86 Bugzilla #997, report/patch by Kean 6504 Johnston).</li> 6505 6506 <li>modify handling of <code>eightBitInput</code> resource in 6507 UTF-8 mode to translate the value into UTF-8. Otherwise an 6508 illegal UTF-8 code is sent to the application (report by Bram 6509 Moolenaar).</li> 6510 6511 <li>modify <code>uxterm</code> script to interpret help and 6512 version options so xterm does not always create a window when 6513 the user requests this information (Debian #223926).</li> 6514 6515 <li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla 6516 #981).</li> 6517 6518 <li>modify DECSCL to perform a hard reset (RIS) as per DEC 6519 manuals. Extended DECSCL to accept parameters for vt4XX and 6520 vt5xx terminals.</li> 6521 6522 <li>correct logic for ANSI conformance level escape sequences, 6523 which were confused with DEC conformance level escape 6524 sequences.</li> 6525 6526 <li>correct state for vt52 shift-in/shift-out, which was not 6527 reset properly after <a href="#xterm_171">patch #171</a>.</li> 6528 6529 <li>correct handling of graphics characters for vt52 mode, 6530 which did not display line-drawing characters after G1 fix from 6531 <a href="#xterm_182">patch #182</a>.</li> 6532 6533 <li>fixes for configure script to work with current Cygwin 6534 headers and libraries.</li> 6535 6536 <li>modify <code>Imakefile</code> to put the current directory 6537 at the beginning of the include searchpath (patch by David 6538 Dawes).</li> 6539 </ul> 6540 6541 <h1><a name="xterm_182" id="xterm_182">Patch #182 - 2003/12/2 - 6542 XFree86 4.3.99.901</a></h1> 6543 6544 <ul> 6545 <li>correct logic for <code>metaSendsEscape</code> resource to 6546 allow for the meta-right key to be tested. Improve check for 6547 meta/alt modifiers by dropping the assumption that a keysym is 6548 associated with only one modifier, and by ignoring NoSymbol 6549 entries in the xmodmap data (XFree86 Bugzilla #924, patch by 6550 David Dawes).</li> 6551 6552 <li>correct wrapping logic for line-drawing characters written 6553 in non-UTF-8 mode of xterm build for wide-characters (XFree86 6554 Bugzilla #918, report/patch by Jürgen Keil).</li> 6555 6556 <li>improve manpage description of resources, in particular the 6557 <code>utf8Fonts</code> class (XFree86 Bugzilla #905).</li> 6558 6559 <li>add definitions to compile with glibc-based GNU/Hurd, 6560 GNU/KFreeBSD and GNU/KNetBSD (XFree86 Bugzilla #893).</li> 6561 6562 <li>compiler-warning fixes (patch by Christian Biere).</li> 6563 6564 <li>add README.i18n (Tomohiro Kubota).</li> 6565 6566 <li>correct initialization of G1 character set mapping, which 6567 used line-drawing set as a result of confusion between "DEC 6568 Supplemental Graphic" and "DEC Special Graphic" character sets 6569 (see <a href="#xterm_34">patch #34</a> regarding DECSTR).</li> 6570 6571 <li>correct ifdef in main.c for variable utret (patch by 6572 Bernhard Rosenkraenzer).</li> 6573 6574 <li>document in xterm's manpage how to use XFree86 ":unscaled" 6575 keyword to suppress scaling of bold fonts.</li> 6576 6577 <li>when deriving bold fontname from normal fontname, use the 6578 normal font's average width to avoid for example selecting 6579 7x13bold from an 8x13 normal font (Debian #107769).</li> 6580 </ul> 6581 6582 <h1><a name="xterm_181" id="xterm_181">Patch #181 - 2003/10/26 - 6583 XFree86 4.3.99.15</a></h1> 6584 6585 <ul> 6586 <li>implement <code>boldMode</code> for wide-character logic in 6587 <code>drawXtermText()</code> (report by Michael 6588 Schroeder).</li> 6589 6590 <li>modify <code>UXTerm.ad</code> resource file to include 6591 "XTerm-color" rather than "XTerm", in case the latter file 6592 contains no color resource definitions, e.g., after <a href= 6593 "#xterm_180">patch #180</a>.</li> 6594 6595 <li>add action <code>load-vt-fonts()</code> and configure 6596 option <code>--enable-load-vt-fonts</code> which allows users 6597 to define additional sets of VT-fonts which can be loaded at 6598 runtime.</li> 6599 6600 <li>add logic to wide-character support which attempts to load 6601 fonts specified by <code>utf8Fonts</code> subresources at 6602 startup. The subresources have the same names as the fonts 6603 which they replace, e.g., <code>font</code>, 6604 <code>font1</code>, etc., so that the ISO-10646-1 fonts can be 6605 specified in the <code>XTerm</code> app-defaults file (adapted 6606 from patch by Tomohiro Kubota).</li> 6607 6608 <li>improve Set Font escape string handling by making the 6609 relative settings apply to the size of the font, as in shift 6610 keypad plus/minus rather than the menu index.</li> 6611 6612 <li>simplify parameter passing for the <code>set-vt-font</code> 6613 action and related code.</li> 6614 6615 <li>cleanup some include-ordering, moving some recently-added 6616 hardcoded stuff into xterm.h where it will not interfere with 6617 the configure script.</li> 6618 6619 <li>modify <code>xtermAddInput()</code> (see note on 6620 augmentation in <a href="#xterm_158">patch #158</a>) to use the 6621 complete set of default keyboard translations so that one can 6622 use shifted pageup, wheel mouse, etc., while the mouse pointer 6623 is over the scrollbar. (Debian #178812).</li> 6624 6625 <li>make save/restore mode controls apply to show/blink cursor 6626 states.</li> 6627 6628 <li>add escape sequence to start/stop blinking cursor, which 6629 allows implementing <code>cvvis</code> terminfo capability 6630 (request by Nate Bargmann).</li> 6631 6632 <li>add <code>indp</code> and <code>rin</code> to terminfo 6633 entry.</li> 6634 6635 <li>fix an out-of-bounds array reference in ScrnRefresh() for 6636 wide characters (report by Dan Harnett, patch by Todd Miller). 6637 This bug dates from <a href="#xterm_141">patch #141</a>.</li> 6638 </ul> 6639 6640 <h1><a name="xterm_180" id="xterm_180">Patch #180 - 2003/10/12 - 6641 XFree86 4.3.99.15</a></h1> 6642 6643 <ul> 6644 <li>several fixes for rendering using Xft via option 6645 <code>-fa</code>: 6646 6647 <ul> 6648 <li>translate Unicode values, i.e,. from UTF-8 output to 6649 xterm, for line-drawing to xterm's internal code, etc., 6650 since TrueType fonts generally do not have either set of 6651 line-drawing glyphs. xterm can draw these directly (report 6652 by Abigail Brady).</li> 6653 6654 <li>pass 16-bit values rather than 8-bit values to 6655 xtermXftDrawString() to allow for wide-characters.</li> 6656 6657 <li>remove spurious check for <code>colorBDMode</code> 6658 resource in logic that does bold fonts.</li> 6659 6660 <li>implement underlining.</li> 6661 </ul> 6662 </li> 6663 6664 <li>patches by Ilya Zakharevich: 6665 6666 <ul> 6667 <li>improve drawXtermText() by making the recursive calls 6668 communicate through arguments, and not through 6669 saving/restoring global variables.</li> 6670 6671 <li>make double-width characters work with <code>-u8</code> 6672 option.</li> 6673 6674 <li>modify lookup of double-sized fonts by checking for a 6675 match ignoring x/y resolution if the first check 6676 fails.</li> 6677 </ul> 6678 </li> 6679 6680 <li>make height of TrueType fonts match ascent+descent (patch 6681 by Keith Packard).</li> 6682 6683 <li>correct configure-script check for imake $CFLAGS, which did 6684 not check properly if imake was not available.</li> 6685 6686 <li>correct install rule in Makefile.in for 6687 <code>uxterm</code>, which was attempting to strip the script 6688 (newsgroup posting by Fernan Aguero).</li> 6689 6690 <li>correct AF/AB strings in termcap for xterm-256color and 6691 xterm-88color entries (report by Josh Howard).</li> 6692 6693 <li>update wcwidth.c to incorporate changes from Markus Kuhn's 6694 2003-05-20 (Unicode 4.0) version of that file.</li> 6695 6696 <li>modify <code>scroll-back</code> and 6697 <code>scroll-forw</code> actions to accept an adjustment value, 6698 e.g., 6699 <pre> 6700 <code>scroll-back(1, page-2)</code> 6701</pre>to scroll back by 2 lines less than a page (patch by Greg 6702Klanderman). 6703 </li> 6704 6705 <li>use color resource setting from Debian package for xterm 6706 VT100 widget, since the choice of blues provides better 6707 contrast.</li> 6708 6709 <li>remove color resources from <code>XTerm.ad</code>, leaving 6710 them only in <code>XTerm-col.ad</code> (prompted by Debian 6711 package for xterm).</li> 6712 6713 <li>correct configure script option --enable-pty-handshake 6714 (report by Paul Gilmartin).</li> 6715 6716 <li>add <code>visualBellDelay</code> resource to modify the 6717 length of time used for visual bell, for very slow displays or 6718 very fast computers (reports by Ingo van Lil and Doug 6719 Toppin).</li> 6720 6721 <li>correct logic for initializing dynamic highlight color 6722 (patch by Jess Thrysoee).</li> 6723 6724 <li>add a check for non-zero size in call to 6725 <code>XCopyArea()</code> to accommodate a Solaris bug.</li> 6726 6727 <li>correct typo in example for character classes in xterm 6728 manpage (Debian #198910).</li> 6729 6730 <li>link xterm with bind_on_load option on Darwin to work 6731 around a deadlock in the dynamic loader when a signal is 6732 received while the dynamic loader is looking up symbols 6733 (patches by Rob Braun, Torrey Lyons).</li> 6734 6735 <li>modify configure script to avoid using "head -1".</li> 6736 6737 <li>update config.guess, config.sub</li> 6738 6739 <li>modify ifdef's to work around inclusion of types FcChar32 6740 and XftCharSpec with FreeType 2.0 (see <a href= 6741 "#xterm_175">patch #175</a>).</li> 6742 6743 <li>modify the predictable version of the generated logfile 6744 name (see <a href="#xterm_171">patch #171</a>) to append the 6745 process-id rather than a random value.</li> 6746 6747 <li>resync with XFree86 CVS 6748 6749 <ul> 6750 <li>Enable SCO function keys in xterm</li> 6751 6752 <li>Make Delete key send DEL by default on SCO in 6753 xterm</li> 6754 </ul> 6755 </li> 6756 </ul> 6757 6758 <h1><a name="xterm_179" id="xterm_179">Patch #179 - 2003/5/21 - 6759 XFree86 4.3.99.5</a></h1> 6760 6761 <ul> 6762 <li>modify ifdef's for WTMPX_FILE to allow building on cygwin 6763 again.</li> 6764 6765 <li>change the default of pty-handshaking configure option (and 6766 related default for imake) to assume this feature is 6767 needed.</li> 6768 6769 <li>add ifdef's so configure option for XawPlus library works 6770 (patch by Pavel Roskin).</li> 6771 6772 <li>add <code>$(MAIN_DEFINES)</code> to the variables checked 6773 by the configure script that may contain information set by 6774 imake. This allows xterm to build/run properly using the 6775 configure script on IRIX64.</li> 6776 6777 <li>add configure check for ".exe" suffix on cygwin.</li> 6778 </ul> 6779 6780 <h1><a name="xterm_178" id="xterm_178">Patch #178 - 2003/5/18 - 6781 XFree86 4.3.99.5</a></h1> 6782 6783 <ul> 6784 <li>modify default for configure 6785 <code>--enable-pty-handshake</code> option to enable it for 6786 Solaris (report by Nelson Beebe).</li> 6787 6788 <li>modify <code>in_put()</code> function to call 6789 <code>PreeditPosition()</code> only when the cursor's position 6790 has changed. This addresses report by Stefan Baums of high CPU 6791 usage while xterm with chinput are running in the background 6792 (patch by Yong Li).</li> 6793 6794 <li>improved explanation of <code>-ls</code> conflict with 6795 <code>-e</code> option in xterm manpage (adapted from comments 6796 by Henning Makholm).</li> 6797 6798 <li>correct comment in terminfo file regarding modifier used 6799 for <code>kDC</code> (Debian #189764, report by Henning 6800 Makholm).</li> 6801 6802 <li>correct/extend some of the keypad description in ctlseqs.ms 6803 (report by Henning Makholm).</li> 6804 6805 <li>correct keypad-mapping table in input.c so 6806 <code>XK_KP_Equal</code> works (report by Henning 6807 Makholm).</li> 6808 6809 <li>modified to work with CJK double-width (bi-width/monospace) 6810 fonts. They're similar to Roman Czbora and David Starner's 6811 gnuunifonts in that Latin letters and numbers have all the same 6812 width which is exactly the half of the width of East Asian 6813 characters. (patch by Jungshik Shin 6814 <jshin@mailaps.org>).</li> 6815 6816 <li>add configure option <code>--enable-broken-osc</code> and 6817 resource <code>brokenLinuxOSC</code> to accommodate scripts 6818 which do not distinguish between running in the Linux console 6819 and running in X. Linux console recognizes malformed control 6820 strings which start with an <code>OSC</code>, but are 6821 fixed-length, with no terminator.</li> 6822 6823 <li>add configure option <code>--enable-broken-st</code> and 6824 resource <code>brokenStringTerm</code> to allow user to revert 6825 one part of the parsing table corrections from <a href= 6826 "#xterm_171">patch #171</a>. (reports by Matthias Scheler and 6827 Kirill Ponomarew indicate that someone's network firmware sends 6828 an <code><escape>X</code>).</li> 6829 6830 <li>modify configure <code>--disable-imake</code> to provide 6831 values for <code>OSMAJORVERSION</code>, 6832 <code>OSMINORVERSION</code>, <code>FUNCPROTO</code> and 6833 <code>NARROWPROTO</code> (report by Heiko Schlichting).</li> 6834 6835 <li>correct <code>vttests/16colors.sh</code>, which omitted the 6836 <code>$SUF</code> variable in output strings (patch by Paul 6837 Gilmartin).</li> 6838 6839 <li>modify shell scripts in <code>vttests</code> directory to 6840 attempt to use named signals in the <code>trap</code> 6841 statement, making this portable to OS/390 (report by Paul 6842 Gilmartin). Tested on SunOS 4.1.4, which implements only 6843 numbers.</li> 6844 </ul> 6845 6846 <h1><a name="xterm_177" id="xterm_177">Patch #177 - 2003/3/23 - 6847 XFree86 4.3.0</a></h1> 6848 6849 <ul> 6850 <li>fix definition of <code>USE_HANDSHAKE</code>, must be 6851 numeric (reported by Jens Schleusener).</li> 6852 </ul> 6853 6854 <h1><a name="xterm_176" id="xterm_176">Patch #176 - 2003/3/22 - 6855 XFree86 4.3.0</a></h1> 6856 6857 <ul> 6858 <li>add configure option <code>--enable-pty-handshake</code> to 6859 allow one to compile-in support for the pty handshaking logic, 6860 and resource <code>ptyHandshake</code> to enable or disable it 6861 (suggested by Ian Collier).</li> 6862 6863 <li>restore <code>USE_HANDSHAKE</code> ifdef removed in 6864 <a href="#xterm_159">patch #159</a> to address Debian 6865 #39964.</li> 6866 6867 <li>move ifdef's for ttysize/winsize into xterm_io.h</li> 6868 6869 <li>simplify loop on <code>tgetent</code>, check if the 6870 successive entries in the lookup table are the same. That makes 6871 xterm do one less lookup if there is no "xterm" entry in the 6872 termcap file (report by Derek Martin).</li> 6873 6874 <li>correct manpage discussion of <code>$TERM</code> and 6875 <code>$TERMCAP</code> variables, which omitted the Tektronix 6876 emulation and a note of the final "dumb" fallback.</li> 6877 6878 <li>broaden ifdef for 6879 <code>XRegisterIMInstantiateCallback()</code> from <a href= 6880 "#xterm_175">patch #175</a> (XIM fix) to exclude non-XFree86 6881 (report by Nelson Beebe indicates this breaks for Solaris, IRIX 6882 and OSF/1).</li> 6883 6884 <li>correct resource-size for <code>iconFont</code> (this was 6885 added by X11R6.3).</li> 6886 6887 <li>improve configure check for XKB bell extension, to work 6888 around inconsistent implementation of this feature (reports by 6889 Nelson Beebe, Kriston Rehberg and David Ellement).</li> 6890 6891 <li>modify configure-check for <code>tty</code> group to be 6892 less strict in batch mode (report by Nelson Beebe).</li> 6893 6894 <li>modify to allow building with g++, to use its compiler 6895 warnings (suggested by Nelson Beebe).</li> 6896 6897 <li>modify <code>dec2ucs[]</code> table to reflect newer codes 6898 available for scanlines 1, 3, 7, 9 (report by Michael 6899 Schroeder).</li> 6900 6901 <li>add configure option for XawPlus library.</li> 6902 </ul> 6903 6904 <h1><a name="xterm_175" id="xterm_175">Patch #175 - 2003/3/9 - 6905 XFree86 4.3.0</a></h1> 6906 6907 <ul> 6908 <li>fix a SIGSEGV which could occur if xterm is connecting to 6909 XIM server, and the XIM server is destroyed (patch by Nam 6910 SungHyun).</li> 6911 6912 <li>modify to use built-in line-drawing characters for Xft 6913 fonts (patch by Andrew Tipton).</li> 6914 6915 <li>make menu reflect the state of the <code>tekInhibit</code> 6916 resource.</li> 6917 6918 <li>make <code>signalInhibit</code> resource work, i.e., 6919 disable the menu entries that would send signals to, or exit 6920 xterm. This was probably broken in X11R5 when logging was 6921 disabled (report by Sven Mascheck).</li> 6922 6923 <li>changed classes of <code>colorBDMode</code> and similar 6924 resources that override colors when a video attribute is set to 6925 <code>ColorAttrMode</code>, to make them distinct from 6926 <code>ColorMode</code>. This avoids an unexpected rendering of 6927 reverse video, for example (report by Paul Fox).</li> 6928 6929 <li>changed class of <code>veryBoldColors</code> to 6930 <code>VeryBoldColors</code>, since <code>ColorMode</code> is 6931 associated with boolean resources.</li> 6932 6933 <li>add option <code>-k8</code> and resource 6934 <code>allowC1Printable</code> to allow users of non-VTxxx 6935 character sets such as KOI-8 to treat the C1 control area 6936 (character codes 128-159) as printable rather than control 6937 characters.</li> 6938 6939 <li>add a null-pointer check for return-value of 6940 <code>ptsname()</code> in HPUX-specific code (report by David 6941 Ellement).</li> 6942 6943 <li>revise the ifdef's used for <code>XKB</code> bell support. 6944 The code was using a nonstandard call 6945 <code>XkbStdBell()</code>. Changed to use 6946 <code>XkbBell()</code> (based on patch by 6947 <derek@signalmarketing.com>).</li> 6948 6949 <li>add a null-pointer check in <code>xtermLoadFont()</code> in 6950 case there is no wide-bold font (Nam SungHyun).</li> 6951 6952 <li>change <code>Makefile.in</code> to use autoconf's 6953 <code>bindir</code>, <code>libdir</code> and 6954 <code>mandir</code> variables (report by Nam SungHyun).</li> 6955 6956 <li>add <code>le</code> to termcap <code>xterm-basic</code> 6957 entry. Though missing from older termcaps for xterm, some 6958 applications check for it (report by Matthias Buelow).</li> 6959 6960 <li>modify <code>uxterm</code> script to strip modifiers such 6961 as "@euro" from the locale setting before adding ".UTF-8" 6962 (Debian #179929).</li> 6963 6964 <li>modify the remaining places where tek4014 emulation uses 6965 <code>XDefineCursor()</code>, to make it work as originally 6966 implemented, e.g., when switching back to alpha mode. Added 6967 test-screen in vttest to test this feature properly.</li> 6968 </ul> 6969 6970 <h1><a name="xterm_174" id="xterm_174">Patch #174 - 2003/2/25 - 6971 XFree86 4.2.99.903</a></h1> 6972 6973 <ul> 6974 <li>work-around for XFree86 bug which made 6975 <code>XDefineCursor()</code> on a shell-window no longer work. 6976 The tek4014 emulation used this. Use the next lower window 6977 (report by Karl Rudolf Bauchspiess).</li> 6978 6979 <li>add a resource setting <code>allowWindowOps</code> to 6980 control whether the extended window operations should be 6981 allowed, e.g., resize, iconify, report window attributes. This 6982 is to accommodate people who are not capable of using a pager 6983 to view log-files.</li> 6984 </ul> 6985 6986 <h1><a name="xterm_173" id="xterm_173">Patch #173 - 2003/2/6 - 6987 XFree86 4.2.99.902</a></h1> 6988 6989 <ul> 6990 <li>reset mouse mode to normal on a full reset. This does not 6991 apply to mouse hilite tracking mode, of course (see 6992 ctlseqs.ms).</li> 6993 6994 <li>add a time-delay at the point where mouse hilite tracking 6995 mode choses to not handle X events, to avoid runaway CPU usage 6996 (report by D Hugh Redelmeier).</li> 6997 6998 <li>check for illegal character in DECUDK string, quit if 6999 detected.</li> 7000 </ul> 7001 7002 <h1><a name="xterm_172" id="xterm_172">Patch #172 - 2002/12/27 - 7003 XFree86 4.2.99.3</a></h1> 7004 7005 <ul> 7006 <li>fixes to make repainting of 256-color example work properly 7007 (reports by Abigail Brady and Scott A Crosby). 7008 7009 <ul> 7010 <li>set flag in <code>AllocateAnsiColor()</code> to ensure 7011 the color is allocated once only.</li> 7012 7013 <li>fix check in <code>ScrnRefresh</code>, which was 7014 comparing background colors only if the ANSI foreground 7015 colors also were set.</li> 7016 </ul> 7017 </li> 7018 7019 <li>merge <code>Error()</code> calls and some 7020 <code>exit()</code> calls into <code>SysError()</code>, and 7021 change that to add the brief explanation for each error code 7022 which is provided in the manpage. Change a few 7023 <code>SysError()</code>, calls to avoid using code 1, to avoid 7024 confusion with exit status from places that do not use 7025 <code>SysError()</code>.</li> 7026 7027 <li>simplify logic used to open a debug logfile as the standard 7028 error.</li> 7029 7030 <li>modify the <code>-e</code> option so that if it fails, 7031 xterm will check if only one argument follows, e.g., it was 7032 quoted, and then retry using <code>sh -c</code>.</li> 7033 7034 <li>modify parsing of DECUDK string parameter to allow a comma 7035 between pairs of hexadecimal digits (Ray Neuman 7036 <raymond@one.com.au> reports that "real" terminals accept 7037 this; perhaps they simply ignore unexpected characters).</li> 7038 7039 <li>fix a few problems with the <code>$TERMCAP</code> string 7040 generated by <code>resize</code>: 7041 7042 <ul> 7043 <li>for Bourne shell, add an <code>export</code> command. 7044 This was missing as far back as X11R5.</li> 7045 7046 <li>escape exclamation marks, used in xterm's reset 7047 string.</li> 7048 7049 <li>translate literal <code>\177\</code> to "^?".</li> 7050 </ul> 7051 </li> 7052 7053 <li>improve configure check for <code>tgetent()</code> to work 7054 when <code>$TERMCAP</code> has been set to a specific 7055 entry.</li> 7056 7057 <li>modify <code>minstall.sh</code> to use "%" rather than "@", 7058 to avoid problems with AFS (report by Zdenek Sekera).</li> 7059 7060 <li>list fatal error codes from <code>error.h</code> in the 7061 manpage, remove unused codes in <code>error.h</code>.</li> 7062 7063 <li>use more explicit wording for manpage list of color 7064 resources, since at least one user confused the generic names 7065 such as "black" with the names in rgb.txt (the latter are now 7066 used).</li> 7067 7068 <li>minor fix to description of 1003 mouse mode in ctlseqs.ms 7069 (Larry Riedel).</li> 7070 </ul> 7071 7072 <h1><a name="xterm_171" id="xterm_171">Patch #171 - 2002/12/12 - 7073 XFree86 4.2.99.3</a></h1> 7074 7075 <ul> 7076 <li>modify parser tables to improve detection of malformed 7077 control sequences, making xterm behave more like a real DEC 7078 terminal (patch by Paul Williams).</li> 7079 7080 <li>update comment in <code>input.c</code> to document 7081 <code>Meta</code> as a modifier for escape sequences (patch by 7082 D Roland Walker).</li> 7083 7084 <li>add ifdef'd code for logging option which adds the hostname 7085 and a timestamp to the generated logfile name. The ifdef's are 7086 setup with the configure script (patch by Nelson Beebe).</li> 7087 7088 <li>remove <code>xevents()</code> call from the end of 7089 <code>BlinkCursor()</code>, to fix an occasional problem which 7090 caused xterm to pause until a key was pressed. The reason for 7091 this was that there was no check to ensure that there really 7092 were events for <code>xevents()</code> to process. (patch by 7093 Semen A Ustimenko <semenu@FreeBSD.org>).</li> 7094 7095 <li>remove unused mode-params from <code>open()</code> calls 7096 that do not create a file.</li> 7097 7098 <li>modify configure script to put new items first on 7099 <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid 7100 conflict with environment's <em>-I</em> and <em>-D</em> 7101 options.</li> 7102 7103 <li>update config.guess, config.sub</li> 7104 7105 <li>resync with XFree86 CVS 7106 7107 <ul> 7108 <li>fix va_args glitches for xterm/libfontconfig: 0 == 7109 (void*)0 isn't true for all platforms (Egbert Eich).</li> 7110 7111 <li>initialise ProgramName in xterm's main before 7112 referencing it (XFree86 #5473, Peter Valchev).</li> 7113 7114 <li>some cleanup of Imakefile ifdef's (Marc La 7115 France).</li> 7116 </ul> 7117 </li> 7118 </ul> 7119 7120 <h1><a name="xterm_170" id="xterm_170">Patch #170 - 2002/10/13 - 7121 XFree86 4.2.1</a></h1> 7122 7123 <ul> 7124 <li>correct an off-by-one allocating data for sorted help 7125 message.</li> 7126 7127 <li>modify configure script to check for Xpm library, on which 7128 XFree86 Xaw library depends.</li> 7129 7130 <li>update config.guess, config.sub</li> 7131 </ul> 7132 7133 <h1><a name="xterm_169" id="xterm_169">Patch #169 - 2002/10/5 - 7134 XFree86 4.2.1</a></h1> 7135 7136 <ul> 7137 <li>modify wording of some options in help message to make them 7138 use <code>-/+</code> consistently with respect to "on/off" or 7139 "off/on".</li> 7140 7141 <li>sort options list which is displayed in help- and 7142 syntax-messages at runtime to simplify maintenance.</li> 7143 7144 <li>remove support for Amoeba and Minix (Juliusz Chroboczek 7145 noted it was removed from XFree86 server; there have been no 7146 users since 1996).</li> 7147 7148 <li>add configure script option 7149 <code>--disable-session-mgt</code> to control whether the 7150 session management code should be compiled-in (request by H 7151 Merijn Brand).</li> 7152 7153 <li>ifdef'd the session-management changes with 7154 <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which 7155 predates the related definitions.</li> 7156 7157 <li>fix <code>decode_keyvalue()</code>, which did not properly 7158 parse multiple settings as needed for the <code>ttyModes</code> 7159 resource, since it did not skip over the parsed data.</li> 7160 7161 <li>fix an option-parsing conflict between <code>-class</code> 7162 and <code>-cjk_width</code> (Nam SungHyun)</li> 7163 7164 <li>add a missing null in <code>XtVaSetValues()</code> call 7165 used in <code>Cleanup()</code> (Nam SungHyun)</li> 7166 </ul> 7167 7168 <h1><a name="xterm_168" id="xterm_168">Patch #168 - 2002/9/29 - 7169 XFree86 4.2.1</a></h1> 7170 7171 <ul> 7172 <li>improve data reported for control sequence that requests 7173 window position by taking into account the window decorations, 7174 e.g., border and title (patch by Jess Thrysoee 7175 <jess@thrysoee.dk>).</li> 7176 7177 <li>add <code>-cjk_width</code> and corresponding resource 7178 <code>cjkWidth</code> (patch by Jungshik Shin 7179 <jshin@mailaps.org>).</li> 7180 7181 <li>add <code>-into</code> option, for embedding xterm in a 7182 Tcl/Tk application (patch by George Peter Staplin 7183 <georgeps@xmission.com>).</li> 7184 7185 <li>add simple session management (XSM) client capabilities to 7186 xterm. So a session manager such as, e.g., xsm, should be able 7187 to respawn or kill xterms without the help of an SM proxy (like 7188 smproxy), which is a hack and almost always buggy (patch by 7189 David Madore).</li> 7190 7191 <li>fix conflict between ifdef's for 7192 <code>OPT_DEC_LOCATOR</code> and <code>OPT_READLINE</code> in 7193 button.c (reported by Ilya Zakharevich).</li> 7194 7195 <li>fix for inconsistent use of <code>struct utmp</code> versus 7196 <code>struct utmpx</code> introduced in <a href= 7197 "#xterm_167">patch #167</a> (patches by Paul Gilmartin, Marc La 7198 France).</li> 7199 7200 <li>modify logic for <code>metaSendsEscape</code> to allow it 7201 to work in a setup where the Meta-key is not recognized as a 7202 modifier by the key-translations logic (discussion of 7203 eightBitInput with H.J.Lu). Note however that Vincent Lefevre 7204 reported this in January).</li> 7205 7206 <li>use null pointer values consistently, rather than literal 7207 "0", for ending variable-length argument lists, e.g., for 7208 <code>execlp()</code> (based on patch by Matthieu Herrb).</li> 7209 7210 <li>correct logic of <code>ChangeAnsiColorRequest()</code>, 7211 which would do a screen repaint after replying to a request for 7212 information.</li> 7213 7214 <li>improve scripts in vttests to work with systems whose 7215 shells support <code>echo -n</code> and have, as does Debian, 7216 an unrelated <code>print</code> utility.</li> 7217 7218 <li>add vttests/acolors.sh to demonstrate OSC 4, which queries 7219 or sets ANSI colors.</li> 7220 7221 <li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).</li> 7222 7223 <li>typos in xterm manpage (Jens Schweikhardt)</li> 7224 7225 <li>remove a redundant GCC_UNUSED from InitPopup() (Nam 7226 SungHyun)</li> 7227 </ul> 7228 7229 <h1><a name="xterm_167" id="xterm_167">Patch #167 - 2002/8/24 - 7230 XFree86 4.2.0</a></h1> 7231 7232 <ul> 7233 <li>correct ifdef's for <code>USE_TERMCAP</code> to match 7234 cygwin configuration.</li> 7235 7236 <li>fix several places in ctlseqs.ms which had no boxes around 7237 the literal text (report by Ilya Zakharevich).</li> 7238 7239 <li>extend mouse support for readline, ifdef'd with 7240 OPT_READLINE (integrated patch from Ilya Zakharevich).</li> 7241 7242 <li>modify terminfo description to match default for 7243 <code>modifyCursorKeys</code> resource.</li> 7244 7245 <li>add <code>modifyCursorKeys</code> resource to control how 7246 the shift- and similar modifiers are used to make a cursor 7247 escape sequence. The default makes a modified escape sequence 7248 always start with CSI and puts the modifier as the second 7249 parameter, to avoid confusing applications that would interpret 7250 the first parameter as a repeat count. The original behavior 7251 can be obtained by setting the resource to 0 (newsgroup 7252 discussion with Stephen J Turnbull, Jeffrey Altman).</li> 7253 7254 <li>correct missing initializations for 7255 <code>appdefaultCursor</code> and <code>appdefaultKeypad</code> 7256 resources.</li> 7257 7258 <li>add configure option <code>--enable-luit</code> and ifdef'd 7259 the luit-related code with OPT_LUIT_PROG.</li> 7260 7261 <li>modify xterm to invoke luit (integrated patch by Tomohiro 7262 Kubota)</li> 7263 7264 <li>update wcwidth.c to match Markus Kuhn's 2002-05-18 7265 version.</li> 7266 7267 <li>correct limit-checking in <code>ComputeSelect()</code> to 7268 handle selections that extend off the visible area; rather than 7269 modify the parameters to <code>TrackText()</code>, use 7270 <code>ScrollSelection()</code> to update the highlighting 7271 limits. (reported by Yegappan Lakshmanan and Nelson Beebe, 7272 patch by Alexander V Lukyanov).</li> 7273 7274 <li>correct manpage description of <code>tiXtraScroll</code> 7275 resource (reported by Tony Finch).</li> 7276 7277 <li>changes from OpenBSD: 7278 7279 <ul> 7280 <li>Make xterm setgid utmp to be able to update utmp even 7281 with root privileges revoked.</li> 7282 7283 <li>If not updating utmp, revoke group privileges totally 7284 too.</li> 7285 </ul> 7286 </li> 7287 7288 <li>changes from NetBSD: 7289 7290 <ul> 7291 <li>Check that the return value from ttyslot() is greater 7292 than 0 before writing the utmp file. Fixes w's "w: Stale 7293 utmp entry: <user> <tty> <pty>" 7294 errors.</li> 7295 7296 <li>Use openpty() to deal with new pty naming scheme.</li> 7297 </ul> 7298 </li> 7299 7300 <li>add <code>print-redir</code> action and menu entry to allow 7301 user to switch terminal in/out of printer controller mode. It 7302 appears from the manual that a real vt220 would not switch back 7303 to normal mode, so another mechanism is used (addresses Debian 7304 #37517).</li> 7305 7306 <li>check if <code>printerCommand</code> resource string is 7307 empty, use this to allow user to disable printer function.</li> 7308 7309 <li>trim trailing blanks from resource strings.</li> 7310 7311 <li>check return value from <code>ptsname()</code>, which may 7312 return null for example if someone has changed the permissions 7313 of /dev/pts to zero (Debian #121899).</li> 7314 7315 <li>modify OS/2 version to use <code>__UNIXOS2__</code> 7316 definition rather than <code>__EMX__</code>, related cleanup 7317 (patch by Holger Veit).</li> 7318 7319 <li>used modified indent 2.0 (patch <a href= 7320 "ftp://invisible-island.net/gnu-patches/">20020428</a>) to 7321 reformat most of the C source files, to simplify 7322 maintenance.</li> 7323 7324 <li>fix a couple of places where there were leading tabs on 7325 symbol-definition lines in Imakefile (Marc La France from 7326 report by Tony Finch)</li> 7327 7328 <li>add imake variable (TraceXTerm) to allow building debug 7329 version (Egbert Eich).</li> 7330 </ul> 7331 7332 <h1><a name="xterm_166" id="xterm_166">Patch #166 - 2002/3/25 - 7333 XFree86 4.2.0</a></h1> 7334 7335 <ul> 7336 <li>correct a bug in selection: double clicking on a word which 7337 was partly scrolled off the screen may select that text (report 7338 by Vincent Lefevre <vincent@vinc17.org>).</li> 7339 7340 <li>implement <code>veryBoldColors</code> resource to control 7341 whether the corresponding video attribute such as 7342 <code>bold</code> is displayed when using 7343 <code>colorBDMode</code>, etc. (request by Josh Howard 7344 <jrh@vicor-nb.com>).</li> 7345 7346 <li>define escape sequences for function keys F21-F35 (patch by 7347 Steve Wall).</li> 7348 7349 <li>change the colors for the 256-color model, making them less 7350 skewed toward black (patch by Steve Wall).</li> 7351 7352 <li>add <code>vt100Graphics</code> resource (see <a href= 7353 "#xterm_115">patch #115</a>, based on discussion with Glenn 7354 Maynard).</li> 7355 7356 <li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid 7357 potential incompatibilities between these flavors of Athena 7358 widgets.</li> 7359 7360 <li>add configure check for XFree86 4.x Xaw library, whose 7361 geometry management is broken, to avoid trying to use it for 7362 toolbar configuration.</li> 7363 7364 <li>updates to configure script from vile and lynx to allow 7365 configure.in to be compiled with autoconf 2.5x</li> 7366 7367 <li>add a check for null pointer return by 7368 <code>ptsname()</code> (newsgroup posting from Mike Silva 7369 <mikesilva@lucent.com>).</li> 7370 7371 <li>fill in a few details needed to allow UTF-8 mode to switch 7372 on/off after startup. This requires that <code>wideChars</code> 7373 resource be set. (based on comments in 4 Aug 2001 by Alexey 7374 Marinichev <lyosha@lyosha.2y.net>).</li> 7375 7376 <li>remove duplicate install rules that make directories, e.g., 7377 so installing manpage will not create app-defaults 7378 directory.</li> 7379 7380 <li>add comment in in <code>do_osc()</code>, reserving cases 30 7381 and 31 for for Konsole (request by Stephan Binner 7382 <Stephan.Binner@gmx.de>).</li> 7383 7384 <li>fixes for ctlseqs.ms and xterm.man (patch by Werner Lemberg 7385 <wl@gnu.org>).</li> 7386 7387 <li>add check for monochrome display, disabling colorMode in 7388 that case (fixes Debian #134130).</li> 7389 7390 <li>resync with XFree86 CVS 7391 7392 <ul> 7393 <li>Fix some xterm build warnings on *BSD (patch by David 7394 Dawes).</li> 7395 7396 <li>Only use SA_RESTART in xterm when it's available (patch 7397 by Frank Liu).</li> 7398 7399 <li>Fix incorrect code in signal handlers in most of the 7400 clients, xterm and xdm not done yet (patch by Matthieu 7401 Herrb).</li> 7402 </ul> 7403 </li> 7404 </ul> 7405 7406 <h1><a name="xterm_165" id="xterm_165">Patch #165 - 2002/1/5 - 7407 XFree86 4.1.0</a></h1> 7408 7409 <ul> 7410 <li>modify <code>uxterm</code> script to strip encoding part 7411 from environment variable before adding ".UTF-8" (based on 7412 Debian #125947, but using a more portable solution).</li> 7413 7414 <li>add an assignment statement in VTInitialize() to make 7415 <code>awaitInput</code> resource work.</li> 7416 7417 <li>use new macros init_Bres(), etc., in VTInitialize() to add 7418 trace of the initialization of resources.</li> 7419 7420 <li>modify checks for $LC_ALL, related environment variables to 7421 ensure the resulting strings are nonempty (report by Markus 7422 Kuhn).</li> 7423 7424 <li>add an ifdef in charproc.c for num_ptrs variable in case 7425 all configure options are disabled.</li> 7426 7427 <li>modify definition of getXtermBackground() to avoid negative 7428 array index warning on Tru64 (report by Jeremie Petit).</li> 7429 7430 <li>improve fix from patch #165 (still Debian #117184, report 7431 by Matt Zimmerman <mdz@debian.org>)</li> 7432 7433 <li>correct install rule for uxterm in Makefile.in, to handle 7434 the case where building in a different directory than xterm's 7435 source (patch by Paul Gilmartin).</li> 7436 7437 <li>documented ANSI.SYS-style cursor save/restore escape 7438 sequences in ctlseqs.ms, which are in xterm since X11R5.</li> 7439 7440 <li>correct two entries in the default charClass table, which 7441 did not follow the manpage comment about the character number 7442 corresponding to the class (patch by Marc Bevand 7443 <bevand_m@epita.fr>).</li> 7444 7445 <li>fix a couple of typos in comments in the app-defaults files 7446 (David Krause <xfree86@davidkrause.com>).</li> 7447 7448 <li>resync with XFree86 CVS 7449 7450 <ul> 7451 <li>update language of copyrights in some files to reflect 7452 the fact that they were reassigned from X Consortium to The 7453 Open Group in 1998. Note that this xterm source is derived 7454 from the 1996 version from X Consortium, does not 7455 incorporate changes made by X Consortium or The Open Group 7456 after that date, hence we do not add The Open Group's 1998 7457 copyright date to related files.</li> 7458 7459 <li>save/restore <code>errno</code> in signal catcher 7460 (patch by Matthieu Herrb).</li> 7461 7462 <li>modify UXTerm.ad's font5 resource so that xterm can 7463 display double width characters using a font distributed 7464 with XFree86 (Tomohiro Kubota).</li> 7465 </ul> 7466 </li> 7467 </ul> 7468 7469 <h1><a name="xterm_164" id="xterm_164">Patch #164 - 2001/11/13 - 7470 XFree86 4.1.0</a></h1> 7471 7472 <ul> 7473 <li>correct a case where <code>ptyInitialErase</code> and 7474 <code>backarrowKeyIsErase</code> resources combine to set 7475 <code>DECBKM</code> mode, but a <code>reset</code> command 7476 would not reset xterm to that state, making the erase character 7477 revert to ^H (Debian #117184)</li> 7478 </ul> 7479 7480 <h1><a name="xterm_163" id="xterm_163">Patch #163 - 2001/11/04 - 7481 XFree86 4.1.0</a></h1> 7482 7483 <ul> 7484 <li>correct ifdef's for <code>__QNX__</code> and 7485 <code>USE_SYSV_PGRP</code> in main.c call to 7486 <code>tcsetpgrp</code>, which broke bash behavior around 7487 <a href="#xterm_140">patch #140</a> (report/patch by Frank Liu 7488 <fliu@mail.vipstage.com>).</li> 7489 7490 <li>modify trace.c to fix missing definition of GCC_UNUSED for 7491 compilers other than gcc when configured for trace code 7492 (report/patch by Paul Gilmartin).</li> 7493 7494 <li>change format in TraceOptions() to use long rather than 7495 int, since the latter could lose precision on 64-bit machines 7496 (report/patch by Nelson Beebe).</li> 7497 7498 <li>modify xterm manual page and minstall.sh to allow imake 7499 rules to define location of app-defaults directory (Debian 7500 #87611).</li> 7501 7502 <li>review/update list of conflicting preprocesor symbols to 7503 remove from $CPPFLAGS at the end of the configure script. In 7504 particular, this allows one to configure xterm without the 7505 utempter library on Redhat 7.1 (report/patch by Adam 7506 Sulmicki).</li> 7507 </ul> 7508 7509 <h1><a name="xterm_162" id="xterm_162">Patch #162 - 2001/10/23 - 7510 XFree86 4.1.0</a></h1> 7511 7512 <ul> 7513 <li>correct logic that processes <code>-class</code> option, so 7514 that a following <code>-e</code> option is handled (Debian 7515 #116297).</li> 7516 7517 <li>improve options-decoding to allow <code>-version</code> and 7518 <code>-help</code> options to be combined (Debian 7519 #110226).</li> 7520 7521 <li>add a 10 millisecond delay in event loop when processing 7522 <code>-hold</code> option, to avoid using too much CPU time 7523 (Debian #116213).</li> 7524 7525 <li>prefix final program execution in <code>uxterm</code> with 7526 "exec" to avoid a useless shell hanging around (Christian 7527 Weisgerber).</li> 7528 </ul> 7529 7530 <h1><a name="xterm_161" id="xterm_161">Patch #161 - 2001/10/10 - 7531 XFree86 4.1.0</a></h1> 7532 7533 <ul> 7534 <li>modify logic that resets keypad application mode to avoid 7535 doing this if there is no modifier associated with the Num_Lock 7536 keysym (report by John E Davis <davis@space.mit.edu> and 7537 Alan W Irwin <irwin@beluga.phys.uvic.ca>).</li> 7538 7539 <li>add built-in translation for Control/KP_Separator to 7540 KP_Subtract, to accommodate users who wish to use xmodmap to 7541 reassign the top row of the numeric keypad.</li> 7542 7543 <li>correct Imakefile install-rule for <code>uxname</code> 7544 script (reported by Nam SungHyun <namsh@lge.com>).</li> 7545 7546 <li>resync with XFree86 CVS – correct typo in 7547 <code><ncurses/term.h></code> ifdef.</li> 7548 </ul> 7549 7550 <h1><a name="xterm_160" id="xterm_160">Patch #160 - 2001/10/7 - 7551 XFree86 4.1.0</a></h1> 7552 7553 <ul> 7554 <li>modify logic in main.c (see <a href="#xterm_145">patch 7555 #145</a>) to avoid generating the same identifier, for example, 7556 for /dev/tty1 and /dev/pts/1, which is used to denote an entry 7557 in the utmp file (Debian bug report #84676), A similar fix was 7558 also sent by Jerome Borsboom <borsboom@westbrabant.net> 7559 in May, but I overlooked it when reviewing bug reports.</li> 7560 7561 <li>add configure check for <code><ncurses/term.h></code> 7562 to get rid of hardcoded <code>__CYGWIN__</code> ifdef in 7563 resize.c 7564 7565 <p>NOTE: The CYGWIN port should not be linking 7566 <code>resize</code> with ncurses. It appears that the only 7567 reason it is, is because both the ncurses and termcap ports 7568 on that platform are badly misconfigured (essential pieces 7569 have been removed, etc). Checking for 7570 <code><ncurses/term.h></code> does not hurt anything, 7571 since there are some correct installations that are set up 7572 that way.</p> 7573 </li> 7574 7575 <li>add a sample <code>uxterm</code> script, which uses the 7576 <code>UXTerm</code> application defaults for UTF-8 7577 environments.</li> 7578 7579 <li>undo change to xterm application defaults, since this 7580 introduced an unnecessary incompatibility. The intended 7581 functionality was already addressed by the <a href= 7582 "#xterm_141">UXTerm</a> app-defaults file.</li> 7583 7584 <li>resync with XFree86 CVS 7585 7586 <ul> 7587 <li>Modified xterm app default to use LFD fontnames instead 7588 of old type (Michael Schroeder).</li> 7589 7590 <li>Fix xterm when XIM is disabled - caused a segfault 7591 (Tomohiro Kubota).</li> 7592 </ul> 7593 </li> 7594 </ul> 7595 7596 <h1><a name="xterm_159" id="xterm_159">Patch #159 - 2001/9/19 - 7597 XFree86 4.1.0</a></h1> 7598 7599 <ul> 7600 <li>remove an ifdef for <code>USE_HANDSHAKE</code> added in 7601 patch #158 from the second <code>TIOCSSIZE</code> ioctl call in 7602 the initialization code. Paul Gilmartin reports that for 7603 Solaris 2.6 (sparc), stty does not show that xterm sets rows 7604 and columns unless the second ioctl is executed.</li> 7605 7606 <li>correct treatment of empty parameter list for some OSC 7607 strings (report by Sami Farin <sfarin@ratol.fi>).</li> 7608 </ul> 7609 7610 <h1><a name="xterm_158" id="xterm_158">Patch #158 - 2001/9/8 - 7611 XFree86 4.1.0</a></h1> 7612 7613 <ul> 7614 <li>augment key translations for scrollbar widget to ensure 7615 that keystrokes intended for the text area are not lost if the 7616 mouse pointer happens to fall on the scrollbar. This can 7617 happen, for instance, if the user's <code>app-defaults</code> 7618 or <code>.Xdefaults</code> file contains a translations 7619 resource, though it may also happen through unrelated resource 7620 settings: probably a bug in libXt (reported by Paul Fox 7621 <pgf@foxharp.boston.ma.us> and Dmitry Yu. Bolkhovityanov 7622 <D.Yu.Bolkhovityanov@inp.nsk.su>).</li> 7623 7624 <li>widen ifdef's in xterm.h to define 7625 <code>__EXTENSIONS__</code> on Solaris, for compilers other 7626 than gcc. This was added along <code>_POSIX_C_SOURCE</code> 7627 with in <a href="#xterm_151">patch #151</a>, but is not 7628 sufficient since Sun's compiler does not define 7629 <code>__STDC__</code> by default (report by Matthias Scheler 7630 <tron@zhadum.de>).</li> 7631 7632 <li>modify xterm to obtain the closest matching color if an 7633 exact color is not available, e.g., on 8-bit displays (patch by 7634 Steve Wall)</li> 7635 7636 <li>implement "OverTheSpot" preedit type of XIM input (patch by 7637 Tomohiro Kubota): 7638 7639 <ul> 7640 <li>This preedit type is a reasonable compromise between 7641 simpleness of implementation and usefulness. "Root" preedit 7642 type is easy to implement but not useful; "OnTheSpot" 7643 preedit type is the best in the point of view of user 7644 interface but very complex. And more, "OverTheSpot" is the 7645 preedit type which the most XIM servers support. Thus, to 7646 achieve reasonable usability, support of "OverTheSpot" 7647 preedit type is needed.</li> 7648 7649 <li>In "OverTheSpot" preedit type, the preedit 7650 (preconversion) string is displayed at the position of the 7651 cursor. On the other hand, it is XIM server's 7652 responsibility to display the preedit string. Thus, it is 7653 needed for XIM client (here XTerm) to inform the XIM server 7654 of the cursor position. And more, to achieve good visual 7655 proportion, preedit string must be written using proper 7656 font. Thus, it is XIM client's responsibility to inform the 7657 XIM server of the proper font. The font must be supplied by 7658 "fontset". Fontset is a set of fonts with charsets which 7659 are specified by the current locale. Since XTerm uses 7660 ISO10646 fonts regardless of the current locale, the fonts 7661 for XIM must be prepared separately. It is difficult to 7662 prepare fonts which are similar to XTerm font. Thus, my 7663 patch uses a simple way - the default font is "*" which 7664 matches every fonts and X library will automatically choose 7665 fonts with proper charsets. I added "-fx" command option 7666 and "ximFont" resource to override this default font 7667 setting.</li> 7668 7669 <li>changed the definition of "OverTheSpot" preedit type 7670 from XIMPreeditPosition|XIMStatusArea to 7671 XIMPreeditPosition|XIMStatusNothing. This matches the 7672 behavior of other programs such as Rxvt, Kterm, Gedit.</li> 7673 7674 <li>A tiny XIM bugfix is also included. By calling 7675 XSetLocaleModifiers() with parameter of "", it can consier 7676 XMODIFIERS environmental variable which is a standard way 7677 for users to specify XIM server to be used.</li> 7678 </ul> 7679 </li> 7680 7681 <li>adjust configure script to accommodate repackaging of 7682 keysym2ucs.c as include-file for xutf8.c (patch by Tomohiro 7683 Kubota).</li> 7684 7685 <li>add the <code>UXTerm</code> app-defaults file to makefile 7686 install rules (request by Juliusz Chroboczek).</li> 7687 7688 <li>correct logic in <code>get_termcap()</code>, which returned 7689 false if the <code>tgetent()</code> call indicated that xterm 7690 was linked with terminfo. Although the <code>$TERMCAP</code> 7691 variable cannot be adjusted in this case, xterm still needs 7692 information from this call to extract data to initialize the 7693 erase-mode when the <code>ptyInitialErase</code> resource is 7694 false.</li> 7695 7696 <li>modify <code>ScrollbarReverseVideo()</code> function to 7697 cache the original border color, so it can restore that when an 7698 application flashes the screen (Bugzilla #38872).</li> 7699 7700 <li>resync with XFree86 CVS 7701 7702 <ul> 7703 <li>remove ifdef's for X_NOT_STDC_ENV (patch by David 7704 Dawes).</li> 7705 7706 <li>add Cygwin to special errno handling case in ptydata.c 7707 (Alan Hourihane)</li> 7708 7709 <li>set screen size earlier in initialization, to address a 7710 race with window manager resizing its clients (Keith 7711 Packard).</li> 7712 </ul> 7713 </li> 7714 </ul> 7715 7716 <h1><a name="xterm_157" id="xterm_157">Patch #157 - 2001/6/18 - 7717 XFree86 4.1.0</a></h1> 7718 7719 <ul> 7720 <li>clean up button.c and input.c (patch by Juliusz 7721 Chroboczek). The basic idea is to use a single set of APIs in 7722 the XTerm core, and put a set of workarounds in a separate 7723 file. As you will notice, this drastically simplifies parts of 7724 the code; in particular, the only remaining ifdefs related to 7725 the differences between Xutf8 and legacy systems are related to 7726 the selection provider logic. This defines two new files, 7727 xutf8.h and xutf8.c, provide some half-hearted but fully 7728 portable emulation for the three Xutf8* functions that XTerm 7729 uses. Putting these in a separate file will allow people to 7730 experiment with more complex versions without making the core 7731 of XTerm more difficult to maintain. The functionality of the 7732 emulation is as follows. 7733 7734 <ul> 7735 <li>Xutf8TextListToTextProperty fully handles XStringstyle 7736 and XUTF8StringStyle. It will only generate STRING for 7737 XStdICCTextStyle, and wil only generate Latin-1 in 7738 XCompoundTextStyle (but label it as COMPOUND_TEXT, as the 7739 spec requires). (I have hesitated to make this function 7740 fail for XStdICCTextStyle and XCompoundTextStyle; this 7741 might be a smart thing to do, in the hope that the 7742 selection requestor will try UTF8_STRING afterwards; 7743 opinions?)</li> 7744 7745 <li>Xutf8TextPropertyToTextList fully handles STRING and 7746 UTF8_STRING. It systematically fails for 7747 COMPOUND_TEXT.</li> 7748 7749 <li>Xutf8LookupString will properly handle single-keystroke 7750 input for the keysyms covered by Markus' keysym2ucs 7751 function. It will not handle either compose key input or 7752 external input methods.</li> 7753 </ul> 7754 </li> 7755 7756 <li>add an ifdef for <code>SunXK_F36</code>, used in 7757 <code>xtermcapKeycode()</code> (patch by Mark Waggoner 7758 <waggoner@ichips.intel.com>).</li> 7759 7760 <li>modify check for login name to try <code>getlogin()</code> 7761 and $LOGNAME, $USER environment variables to detect if the user 7762 has logged in under an alias, i.e., an account with the same 7763 user id but a different name (Debian bug report #70084).</li> 7764 7765 <li>add resource <code>tiXtraScroll</code>, which can be used 7766 to preserve the screen contents in the scrollback rather than 7767 erasing it when starting a fullscreen application such as 7768 <code>vi</code> (patch by Ken Martin 7769 <fletcher@catsreach.org>).</li> 7770 7771 <li>two patches by Denis Zaitsev <zzz@cd-club.ru>: 7772 7773 <ul> 7774 <li>added <code>forceBoxChars</code> resource to control 7775 the "line-drawing characters" option.</li> 7776 7777 <li>added <code>freeBoldBox</code> resource, which, when 7778 set true, suppresses check in 7779 <code>same_font_size()</code>, so xterm does not attempt to 7780 ensure that the bold font is the same size as the normal 7781 font.</li> 7782 </ul> 7783 </li> 7784 7785 <li>change the color class for ANSI colors and similar ones 7786 such as bold-color, etc., to follow the convention that the 7787 classname is the instance name with a leading capital (e.g., 7788 <code>color0</code> and <code>Color0</code> rather than 7789 <code>color0</code> and <code>Foreground</code>). There was 7790 little use for Foreground as a class other than to create 7791 occasional confusion and bug reports, most recently by Nelson 7792 Beebe who reports that it disables colors in xterm but not on 7793 Linux, which is probably due to a difference in resource 7794 evaluation order. A configure script option 7795 (--disable-color-class) is provided for anyone who did use the 7796 older behavior.</li> 7797 7798 <li>fix a signal-handling bug. When running xterm with 7799 <code>ksh</code> or similar shell such as bash 2.05, xterm will 7800 hang and not respond to keystrokes after the user types 7801 <code>suspend</code>. Additionally the popup menus do not 7802 respond, so it is not possible to send SIGCONT to the shell. 7803 What is happening is that the shell is sending itself SIGSTOP, 7804 and it is being stopped. Per specification it also means that 7805 the operating system is sending SIGCHLD to parent to the bash 7806 (XTERM). Now the issue is that xterm assumes it cannot happen 7807 and it expects to receive SIGCHLD only upon 7808 <em>termination</em> of its children. This causes a deadlock 7809 with xterm waiting for the child to die, and the child waiting 7810 for SIGCONT. (report/patch by Adam Sulmicki), analysis/testing 7811 by Sven Mascheck 7812 <sven.mascheck@student.uni-ulm.de>).</li> 7813 7814 <li>correct some inconsistent checks for 7815 <code>XtReleaseGC()</code> calls in 7816 <code>xtermLoadFont()</code> (patch by Nam SungHyun 7817 <namsh@lge.com>).</li> 7818 7819 <li>updated wcwidth.c and keysym2ucs.c to versions dated 7820 2001/1/12 and 2001/4/18, respectively from 7821 http://www.cl.cam.ac.uk/~mgk25/ucs/</li> 7822 7823 <li>correction to change from <a href="#xterm_90">patch 7824 #90</a>, which was intended to reset the saved cursor position 7825 for normal/alternate screens on a soft reset, but actually 7826 wiped out all of the saved cursor information. Just reset the 7827 saved position for the current screen (report by Michael 7828 Schroeder).</li> 7829 7830 <li>modify ShowCursor() and HideCursor() so that if the cursor 7831 points to the second part of a wide character, make the 7832 show/hide operate on the first position of the wide character 7833 (patch by Sven Verdoolaege).</li> 7834 7835 <li>scrolling in the alternate screen just before switching 7836 back to the main screen can cause extra blank lines to be 7837 inserted into the scrollback buffer (patch by Paul Vojta 7838 <vojta@math.berkeley.edu>).</li> 7839 7840 <li>resync with XFree86 4.1.0: 7841 7842 <ul> 7843 <li>Use TermcapLibrary as -lncurses instead of -ltermcap, 7844 fixes problem building xterm/resize on Cygwin/XFree86 7845 (Harold Hunt).</li> 7846 7847 <li>Install xterm.termcap and xterm.terminfo when 7848 installing xterm (Torrey T. Lyons).</li> 7849 7850 <li>Fix some build issues on Cygwin/XFree86 (Suhaib 7851 Siddiqi).</li> 7852 7853 <li>Define CBAUD, when it's missing in xterm, on LynxOS 7854 (Stuart Lissaman).</li> 7855 </ul> 7856 </li> 7857 </ul> 7858 7859 <h1><a name="xterm_156" id="xterm_156">Patch #156 - 2001/4/28 - 7860 XFree86 4.0.3</a></h1> 7861 7862 <ul> 7863 <li>change order of selection-target types to make 8-bit xterm 7864 prefer UTF8_STRING to COMPOUND_TEXT (patch by Juliusz 7865 Chroboczek).</li> 7866 7867 <li>document <code>-fa</code>, <code>-fs</code> command-line 7868 options and <code>faceName</code>, <code>faceSize</code> 7869 resources which are used by the freetype library support.</li> 7870 7871 <li>if configure script finds freetype libraries, but imake 7872 definitions do not have the XRENDERFONT definition, define it 7873 anyway.</li> 7874 7875 <li>modify configure script check for freetype libraries to 7876 include <code><Xlib.h></code>, since an older version of 7877 the related headers relies on this (patch by Adam 7878 Sulmicki).</li> 7879 </ul> 7880 7881 <h1><a name="xterm_155" id="xterm_155">Patch #155 - 2001/4/20 - 7882 XFree86 4.0.3</a></h1> 7883 7884 <ul> 7885 <li>correct return type of in_put() from <a href= 7886 "#xterm_155">patch #153</a> changes, which left it not wide 7887 enough for UTF-8 (patch by Bruno Haible).</li> 7888 </ul> 7889 7890 <h1><a name="xterm_154" id="xterm_154">Patch #154 - 2001/4/11 - 7891 XFree86 4.0.3</a></h1> 7892 7893 <ul> 7894 <li>undo check for return value from <code>pututline</code> 7895 (used for debugging) since that function does not return a 7896 value on Slackware 3.6.</li> 7897 7898 <li>correct length in ScreenWrite, when rendering invisible 7899 text (patch by Sven Verdoolaege <skimo@kotnet.org>).</li> 7900 7901 <li>fixes/improvements for the <code>i18nSelection</code> 7902 resource from patch #153, by Bruno Haible: 7903 7904 <ul> 7905 <li>add missing initialization for 7906 <code>i18nSelection</code> resource.</li> 7907 7908 <li>split-out the non-ICCM aspect of the 7909 <code>i18nSelection</code> resource as a new resource, 7910 <code>brokenSelections</code>.</li> 7911 </ul> 7912 </li> 7913 7914 <li>add configure check for <code><time.h></code> and 7915 <code><sys/time.h></code>, to allow for Unixware 7, 7916 which requires both. If the configure script is not used, only 7917 <code><time.h></code> will be included as before (report 7918 by Thanh Ma).</li> 7919 7920 <li>fix redefinition of <code>dup2</code>, 7921 <code>getutent</code>, <code>getutid</code>, 7922 <code>getutline</code> and <code>sleep</code> functions on 7923 Unixware 7 (report by Thanh Ma 7924 <Thanh.Ma@casi-rusco.com>)</li> 7925 7926 <li>add a fall-back definition for <code>__hpux</code>, which 7927 is apparently not defined in some compilers on HPUX 11.0 7928 (reported by Clint Olsen).</li> 7929 7930 <li>change VAL_INITIAL_ERASE, which is used as a fallback for 7931 the <code>"kb"</code> termcap string to 8, since that matches 7932 the xterm terminal description (request by Alexander V 7933 Lukyanov).</li> 7934 7935 <li>correct an off-by-one in <code>ClearInLine</code>, which 7936 caused the erase-characters (ECH) control to display 7937 incorrectly (patch by Alexander V Lukyanov).</li> 7938 7939 <li>correct escape sequences shown in terminfo for shifted 7940 editing keys. The modifier code was for the control key rather 7941 than the shift key.</li> 7942 </ul> 7943 7944 <h1><a name="xterm_153" id="xterm_153">Patch #153 - 2001/3/29 - 7945 XFree86 4.0.3</a></h1> 7946 7947 <ul> 7948 <li>increase PTYCHARLEN to 8 for os390, add some debugging 7949 traces for UTMP functions (patch by Paul Gilmartin).</li> 7950 7951 <li>correct an misplaced brace in 7952 <code>SelectionReceived()</code> (patch by Bruno Haible).</li> 7953 7954 <li>correct an assignment dropped in 7955 <code>SelectionReceived()</code> which made it not compile for 7956 wide-characters combined with debug traces.</li> 7957 7958 <li>correct typo, clarify description of 88- and 256-color 7959 controls (report by Bram Moolenaar).</li> 7960 7961 <li>correct a typo in ctlseqs.ms which caused DEC Locator 7962 control sequences using single quote "'" display grave "`" 7963 instead (reported by Paul Williams, apparently in patch 7964 #114).</li> 7965 </ul> 7966 7967 <h1><a name="xterm_152" id="xterm_152">Patch #152 - 2001/3/13 - 7968 XFree86 4.0.2</a></h1> 7969 7970 <ul> 7971 <li>correct index in inner loop in <code>VTInitI18N()</code> 7972 from patch #151 changes, which resulted in infinite loop under 7973 some conditions (report/analysis by Paul Gilmartin).</li> 7974 7975 <li>remove spurious "%|" from terminfo sgr capabilities 7976 (report/analysis by Adam M Costello, Debian #89222).</li> 7977 7978 <li>add shell script to adjust list of dynamic libraries linked 7979 by <code>resize</code> when building with the standalone 7980 configure script. Otherwise it uses the same list as for xterm, 7981 which is excessive.</li> 7982 7983 <li>fix a few compiler warnings reported by the 20010305 gcc 7984 snapshot.</li> 7985 </ul> 7986 7987 <h1><a name="xterm_151" id="xterm_151">Patch #151 - 2001/3/10 - 7988 XFree86 4.0.2</a></h1> 7989 7990 <ul> 7991 <li>alter the behaviour of selections in XTerm (patch by 7992 Juliusz Chroboczek). It is believed to follow the ICCCM + 7993 UTF8_STRING to the letter, both in UTF-8 and in eight-bit mode. 7994 From his description: 7995 7996 <ul> 7997 <li>When compiled against XFree86 4.0.2, the patched XTerm 7998 will make the selection available as COMPOUND_TEXT, STRING 7999 or UTF8_STRING in both modes. It will request selections in 8000 the following order: 8001 8002 <p>UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, 8003 STRING.<br> 8004 eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, 8005 STRING.</p> 8006 </li> 8007 8008 <li>When compiled against an earlier version of XFree86 (or 8009 compiled with OPT_UTF8_API=0), it will still obey the 8010 ICCCM, but will neither request nor provide UTF8_STRING in 8011 eight-bit mode, and neither TEXT nor COMPOUND_TEXT in UTF-8 8012 mode.</li> 8013 8014 <li>For compatibility with previous versions of XTerm, a 8015 resource <code>i18nSelections</code> is provided, please 8016 see the manpage for details. However, due to an unexpected 8017 combination of ICCCM extensions by various bits and pieces 8018 of the libraries, interacting with previous versions of 8019 XTerm will work in many locales even without this flag. 8020 (Please do not set this resource to true by default, as 8021 this would violate the ICCCM.)</li> 8022 </ul> 8023 </li> 8024 8025 <li>improved error checking/reporting in VTInitI18N(), ensuring 8026 that lack of input method styles is treated distinctly from a 8027 mismatch.</li> 8028 8029 <li>remove an incorrect ifdef from patch #141 which suppressed 8030 overstriking to simulate bold font when xterm was compiled to 8031 support wide characters (report/analysis by Adam M Costello 8032 <amc@cs.berkeley.edu>, Debian #76404, Debian 8033 #77575).</li> 8034 8035 <li>modify <code>RequestResize()</code> function to 8036 save/restore window manager hints. Its call to 8037 <code>XtMakeResizeRequest()</code> had the undesirable 8038 side-effect of clearing window manager hints, e.g., when 8039 switching to 132-columns via DECCOLM escape sequence. Window 8040 manager hints make it simple to resize xterm in terms of 8041 character cells rather than pixels (reports by Christian 8042 Weisgerber, Debian #79939). 8043 8044 <p>This applies to the normal configuration. When built with 8045 toolbar support, the hints are applied to a different widget 8046 level (more work will be needed to make hints work with the 8047 toolbar).</p> 8048 </li> 8049 8050 <li>fix a redefinition warning for resize.c on OpenBSD (patch 8051 by Christian Weisgerber).</li> 8052 8053 <li>change resource corresponding to <code>-T</code> option to 8054 match Xt library's <code>-title</code>, i.e., 8055 <code>.title</code> rather than <code>*title</code> so the 8056 command-line options are interchangeable as documented (Debian 8057 bug report #68843).</li> 8058 8059 <li>add script used from autoconf'd makefile for installing 8060 manpages, since recent XFree86 changing the way section numbers 8061 are represented makes the install dependent on extra 8062 scripts.</li> 8063 8064 <li>add configure check for freetype libraries and configure 8065 option --disable-freetype to override this feature.</li> 8066 8067 <li>modify some configure script macros to avoid using 8068 changequote(), which has been rendered useless in the latest 8069 autoconf alpha 2.49c</li> 8070 8071 <li>update config.guess, config.sub to 2001-2-13</li> 8072 8073 <li>remove redundant/contradictory __CYGWIN__ definitions from 8074 resize.c</li> 8075 8076 <li>correct manpage typo introduced by X11R6.5 resync.</li> 8077 </ul> 8078 8079 <p>Changes from XFree86 4.0.2:</p> 8080 8081 <ul> 8082 <li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris 8083 to make this compile with <code>gcc -ansi -pedantic</code> 8084 (report by <mark@zang.com>.</li> 8085 </ul> 8086 8087 <h1><a name="xterm_150" id="xterm_150">Patch #150 - 2000/12/29 - 8088 XFree86 4.0.2</a></h1> 8089 8090 <ul> 8091 <li>move the binding for shifted keypad plus/minus, which 8092 invokes the <code>larger-vt-font()</code> and 8093 <code>smaller-vt-font()</code> actions, respectively, into the 8094 translations resource (suggested by Marius Gedminas 8095 <mgedmin@puni.osf.lt>).</li> 8096 8097 <li>modify configure script to support the 8098 <code>--program-prefix</code>, <code>--program-suffix</code> 8099 and <code>--program-transform-name</code> options (request by 8100 Alison Winters <alison@mirrabooka.com>).</li> 8101 8102 <li>fixes for wide/combining characters (Robert Brady): 8103 8104 <ul> 8105 <li>fix a scrolling / combining characters display 8106 anomaly</li> 8107 8108 <li>fix a problem with double-width characters where if the 8109 primary font had no box-drawing characters, the right hand 8110 half of double-width characters was erased (reported by Yao 8111 Zhang <yzhang@sharemedia.com>).</li> 8112 8113 <li>fix special case of null byte for key handling in UTF-8 8114 locales.</li> 8115 </ul> 8116 </li> 8117 8118 <li>modify logic that compares sizes of normal and bold fonts 8119 to be more forgiving of the font server's choice of bold font 8120 which must match the normal font's size. Now 8121 <code>same_font_size()</code> compares the height of the fonts 8122 rather than individually ascent and descent, and allows the 8123 bold font to be one pixel smaller than the normal font 8124 (addresses a report by Alan Citterman <alan@mticket.com>, 8125 who says that something in patches #146 to #148 made xterm more 8126 likely to overstrike bold fonts, and indirectly Debian bug 8127 report #76404, which reports the opposite).</li> 8128 8129 <li>make configure script use $CFLAGS and $CPPFLAGS 8130 consistently, including removing a chunk from configure.in 8131 which attempted to save/restore $CPPFLAGS while processing 8132 value set by the --x-includes option, but lost values set in an 8133 intervening AC_CHECK_HEADERS. This change modifies macros 8134 CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and CF_X_TOOLKIT, as well as 8135 removing variables IMAKE_CFLAGS and X_CFLAGS from the generated 8136 makefile (the AC_CHECK_HEADERS problem was reported by Albert 8137 Chin-A-Young <china@thewrittenword.com<).</li> 8138 8139 <li>correct a comparison in SELECTWORD case of ComputeSelect(), 8140 which resulted in a word-selection wrapping past the first 8141 column without checking the first column's character class 8142 (reported by Christian Lacunza 8143 <celacunza@netscape.net></li> 8144 8145 <li>correct a logic in UTF-8 mode for selecting double-width 8146 characters; a combining character was omitted (patch by Markus 8147 Kuhn).</li> 8148 8149 <li>add feature to pop (raise) window when a bell is received 8150 (patch by Gael Roualland 8151 <gael.roualland@dial.oleane.com>).</li> 8152 8153 <li>add __NetBSD__ and __OpenBSD__ to special-case in 8154 xterm_io.h for USE_POSIX_TERMIOS definition (patch by Christian 8155 Weisgerber).</li> 8156 8157 <li>move special-case HPUX include for <sys/bsdtty.h> to 8158 xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for 8159 HPUX 10.20 (report by Bruno Betro).</li> 8160 </ul> 8161 8162 <h1><a name="xterm_149" id="xterm_149">Patch #149 - 2000/12/6 - 8163 XFree86 4.0.1h</a></h1> 8164 8165 <ul> 8166 <li>restructured includes for <code>termios.h</code>, 8167 <code>termio.h</code> and related definitions for main.c, 8168 os2main.c, screen.c and resize.c so they will share equivalent 8169 definitions in a new header <code>xterm_io.h</code>. This is 8170 intended to solve some problems mainly for HPUX which appear to 8171 arise from inconsistent definitions for SIGWINCH- and 8172 HAS_LTCHARS-related symbols (reports by Bruno Betro, Jeremie 8173 Petit and Clint Olsen).</li> 8174 8175 <li>improve usability of double-width fonts by allowing normal 8176 fonts to be given as double-width (from a patch by Fabrice 8177 Bellard <bellard@email.enst.fr>).</li> 8178 8179 <li>correct a few compiler warnings in TRACE() macros for 8180 signed/unsigned variable differences (reported by Clint 8181 Olsen).</li> 8182 8183 <li>make configure script use $CFLAGS and $CPPFLAGS more 8184 consistently, i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC 8185 macro.</li> 8186 8187 <li>expanded description of environment variables in 8188 manual-page.</li> 8189 8190 <li>modify OPT_TCAP_QUERY feature to always return the termcap 8191 or terminfo capability string in the response, and to 8192 read/write the names in hexadecimal form to allow for the 8193 special case of termcap's <code>k;</code> name (patch by Bram 8194 Moolenaar).</li> 8195 8196 <li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so 8197 the corresponding configure options work (patch by Bram 8198 Moolenaar).</li> 8199 8200 <li>resync with XFree86 4.0.1g: 8201 8202 <ul> 8203 <li>Rewrite Xft library for Render extension/core text and 8204 font management Change xterm to use new interface (Keith 8205 Packard).</li> 8206 </ul> 8207 </li> 8208 </ul> 8209 8210 <h1><a name="xterm_148" id="xterm_148">Patch #148 - 2000/10/31 - 8211 XFree86 4.0.1d</a></h1> 8212 8213 <ul> 8214 <li>document logfile options in man-page.</li> 8215 8216 <li>correct spelling of <code>-samename</code> option in help 8217 message.</li> 8218 8219 <li>add configure script option 8220 <code>--enable-tcap-query</code> (request by Bram 8221 Moolenaar).</li> 8222 8223 <li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature 8224 (patch by Bram Moolenaar).</li> 8225 8226 <li>patch by Kiyokazu Suto <suto@ks-and-ks.ne.jp>: 8227 8228 <ul> 8229 <li>add support for bold font for double width characters. 8230 The font name may be specified with the command line option 8231 <code>-fwb</code> or with resource 8232 <code>wideBoldFont</code> (class 8233 <code>WideBoldFont</code>).</li> 8234 8235 <li>correct underlining of double width character string, 8236 which was drawn only half width.</li> 8237 8238 <li>correct binary search of precomposed character table, 8239 which may return wrong result when <code>int</code> is just 8240 32 bits.</li> 8241 </ul> 8242 </li> 8243 8244 <li>some changes to align terminfo with ncurses 5.2: 8245 8246 <ul> 8247 <li>remove xtermm description, retaining xterm-mono since 8248 the former conflicts with ncurses.</li> 8249 8250 <li>modify initialization and reset strings to avoid 8251 putting the save/restore cursor operations bracketing 8252 changes to video attributes, since the changes could be 8253 lost when the cursor is restored. This affects xterm-r6 and 8254 xterm-8bit (the xterm-xfree86 entry uses the soft-reset 8255 feature which resets scrolling margins and origin mode 8256 without requiring us to save/restore the cursor 8257 position).</li> 8258 8259 <li>make a few entries explicitly inherit from 8260 xterm-xfree86 rather than xterm: xterm-rep, xterm-xmc, 8261 xterm-nrc</li> 8262 </ul> 8263 </li> 8264 8265 <li>ensure that sign-extension does not affect 8266 <code>ctype</code> macros by using <code>CharOf()</code> macro 8267 to coerce the parameter to an unsigned char.</li> 8268 8269 <li>resync with XFree86 4.0.1d: 8270 8271 <ul> 8272 <li>Add primitive support in xterm for Xft based fonts 8273 (Keith Packard). The changes are ifdef'd with 8274 <code>-DXRENDERFONT</code>.</li> 8275 </ul> 8276 </li> 8277 </ul> 8278 8279 <h1><a name="xterm_147" id="xterm_147">Patch #147 - 2000/10/26 - 8280 XFree86 4.0.1c</a></h1> 8281 8282 <ul> 8283 <li>correct implementation of <code>ptyInitialErase</code>: the 8284 value assigned to <code>initial_erase</code> was for the 8285 control terminal, which is correct as far as it goes. But there 8286 was no following test for the pseudo-terminal's erase value, 8287 which would overwrite the default obtained from the control 8288 terminal (reported by Christian Weisgerber 8289 <naddy@mips.inka.de>).</li> 8290 8291 <li>modify check for printable-characters in OSC string to use 8292 xterm's ansi_table rather than isprint() macro, to isolate this 8293 check from locale settings. This fixes a problem using 8-bit 8294 characters to set the title (reported by Ricardas Cepas 8295 <rch@richard.eu.org>).</li> 8296 8297 <li>modify sample scripts to check for printf before print, 8298 since the latter is not as well standardized (e.g., on 8299 Linux).</li> 8300 8301 <li>updated config.sub, config.guess to reflect changes on 8302 subversions.gnu.org</li> 8303 </ul> 8304 8305 <h1><a name="xterm_146" id="xterm_146">Patch #146 - 2000/9/12 - 8306 XFree86 4.0.1c</a></h1> 8307 8308 <ul> 8309 <li>correct two instances overlooked from patch #141 which 8310 assumed UTF-8 mode without checking, causing a core dump in 8311 non-UTF-8 mode (one instance was reported by Tommi Virtanen 8312 <tv@debian.org>).</li> 8313 8314 <li>correct a problem selecting from the scrollback buffer in 8315 UTF-8 mode by changing remaining getXtermCell() calls to 8316 XTERM_CELL() as in the non-UTF-8 cases (report by Markus Kuhn, 8317 patch by Robert Brady).</li> 8318 </ul> 8319 8320 <h1><a name="xterm_145" id="xterm_145">Patch #145 - 2000/9/11 - 8321 XFree86 4.0.1c</a></h1> 8322 8323 <ul> 8324 <li>changes for UTF-8 configuration (Robert Brady): 8325 8326 <ul> 8327 <li>doublewide characters don't lose their accents when the 8328 cursor moves onto or from them (a visual bug)</li> 8329 8330 <li>fix logic in addXtermCombining, which mean that if the 8331 low byte of a cell's first combining char was 0, a 8332 following combining char would go into combining slot 1, 8333 not 2.</li> 8334 8335 <li>modify logic for cut-buffers so UTF-8 data is first 8336 converted to Latin1.</li> 8337 8338 <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL.</li> 8339 8340 <li>modify to allow xterm to to show combining characters 8341 attached to doublewidth characters.</li> 8342 8343 <li>correct bug in linewrap with -u8 option (reported by 8344 Andreas Koenig <andreas.koenig@anima.de>).</li> 8345 </ul> 8346 </li> 8347 8348 <li>several changes to PTY logic (based on request by Tim Ryan 8349 <timryan@nortelnetworks.com>). 8350 8351 <ul> 8352 <li>modify treatment of <code>-S</code> option to to make 8353 it work with Unix98 PTY's.</li> 8354 8355 <li>restore sense of IsPts flag in <code>get_pty()</code>, 8356 which was lost in Unix98 changes.</li> 8357 8358 <li>use new functions <code>my_pty_id()</code> and 8359 <code>my_pty_name()</code> to simplify/fix strings used for 8360 utmp, wtmp identifiers.</li> 8361 8362 <li>simplify <code>get_pty()</code> function, making it 8363 have a single return point so its inputs/outputs can be 8364 identified.</li> 8365 </ul> 8366 </li> 8367 8368 <li>update config.guess and config.sub and scripts to my 8369 20000819 patch, adding cases for OS/2 EMX.</li> 8370 8371 <li>add special case for os390 compiler options to configure 8372 script (patch by Paul Gilmartin)</li> 8373 8374 <li>fix some unused-variable compiler warnings (reported by 8375 Zdenek Sekera).</li> 8376 8377 <li>split-out some string functions into xstrings.c, to use 8378 them more consistently among main.c, os2main.c and 8379 resize.c</li> 8380 8381 <li>align termcap/terminfo files, adding entries to make them 8382 match. The termcap entries are necessarily less complete than 8383 the terminfo, to fit within 1023 character per entry.</li> 8384 8385 <li>add terminfo entry for xterm-sco (SCO function keys).</li> 8386 8387 <li>modify <code>same_font_name()</code> to properly handle 8388 wildcard introduced in <code>bold_font_name()</code>, making 8389 comparison for different fonts succeed when only the normal 8390 font is specified. This is needed to decide if 1-pixel offset 8391 should be used. (reported in a newsgroup by Bart Oldeman 8392 <enbeo@enbeo.resnet.bris.ac.uk>)</li> 8393 8394 <li>correct preprocessor line for OPT_WIDE_CHARS in 8395 drawXtermText() from patch #141 which resulted in overstriking 8396 for bold fonts not working.</li> 8397 8398 <li>correct Imakefile from 4.0.1c resync so UTF-8 modules are 8399 in UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 8400 support.</li> 8401 </ul> 8402 8403 <h1><a name="xterm_144" id="xterm_144">Patch #144 - 2000/8/23 - 8404 XFree86 4.0.1b</a></h1> 8405 8406 <ul> 8407 <li>remove a spurious assignment in ScreenWrite() from Robert 8408 Brady's patch which set a null at the "end" of the buffer to be 8409 written. That made the autowrap feature write a blank in the 8410 first column for the non-UTF-8 configuration, rather than the 8411 actual character (reported by Alan Citterman 8412 <alan@mticket.com>).</li> 8413 </ul> 8414 8415 <h1><a name="xterm_143" id="xterm_143">Patch #143 - 2000/8/19 - 8416 XFree86 4.0.1b</a></h1> 8417 8418 <ul> 8419 <li>add a check to ensure that <code>-class</code> command-line 8420 option is not confused with <code>-c</code> (reported by Paul 8421 Townsend <aab@aab.cc.purdue.edu>).</li> 8422 </ul> 8423 8424 <h1><a name="xterm_142" id="xterm_142">Patch #142 - 2000/8/18 - 8425 XFree86 4.0.1b</a></h1> 8426 8427 <ul> 8428 <li>correction to precompose scripts, so 0061 + 0300 will now 8429 be really be displayed as 00C0 (patch by Robert Brady 8430 <robert@susu.org.uk>).</li> 8431 8432 <li>correct macro ClassSelects() in button.c, used to hide 8433 ifdef's for OPT_WIDE_CHARS in patch #141 (reported by Andreas 8434 Paul <paula@informatik.tu-muenchen.de>).</li> 8435 8436 <li>change wcwidth.h to include stddef.h rather than wchar.h, 8437 which is not present on OpenBSD and FreeBSD (reported by 8438 Christian Weisgerber and Bram Moolenaar).</li> 8439 8440 <li>newer config.sub and config.guess, from lynx 8441 2.8.4dev.7</li> 8442 </ul> 8443 8444 <h1><a name="xterm_141" id="xterm_141">Patch #141 - 2000/8/14 - 8445 XFree86 4.0.1b</a></h1> 8446 8447 <ul> 8448 <li>changes for doublewidth and combining characters, from 8449 http://www.ecs.soton.ac.uk/~rwb197/xterm/ (integrated patch by 8450 Robert Brady). In this context, doublewidth refers to 16-bit 8451 character sets which may have glyphs occupying two cells.</li> 8452 8453 <li>add command-line option <code>-class</code>, which allows 8454 one to override xterm's resource class. Also add resource file 8455 <code>UXTerm.ad</code>, which simplifies using xterm for both 8456 8-bit character sets and UTF-8.</li> 8457 8458 <li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram 8459 Moolenaar, Steve Wall).</li> 8460 </ul> 8461 8462 <h1><a name="xterm_140" id="xterm_140">Patch #140 - 2000/7/23 - 8463 XFree86 4.0.1</a></h1> 8464 8465 <ul> 8466 <li>modify Makefile.in to circumvent GNU make's built-in suffix 8467 rule for ".sh" which confuses install.sh with the "make 8468 install" target (report/patch by Paul Gilmartin).</li> 8469 8470 <li>implement an experimental control sequence which an 8471 application may use to query the terminal to determine what 8472 sequence of characters it would send for a given function key. 8473 This is ifdef'd with OPT_TCAP_QUERY (request by Bram 8474 Moolenaar).</li> 8475 8476 <li>add /usr/local to search path in CF_X_ATHENA configure 8477 macro to build with Xaw3d on OpenBSD (patch by Christian 8478 Weisgerber).</li> 8479 8480 <li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to 8481 xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate 8482 (report by Alain Filbois <Alain.Filbois@loria.fr>).</li> 8483 8484 <li>correct a few errors in xterm.man: font in filename example 8485 for Tektronix emulation, and description of -nul/+nul 8486 command-line options (report by Eric Fischer 8487 <enf@pobox.com>).</li> 8488 8489 <li>update config.guess and config.sub, from tin and lynx.</li> 8490 </ul> 8491 8492 <h1><a name="xterm_139" id="xterm_139">Patch #139 - 2000/6/17 - 8493 XFree86 4.0d</a></h1> 8494 8495 <ul> 8496 <li>back out change to <code>-name</code> command-line option, 8497 restoring its original behavior (as noted by David Madore, the 8498 correct interpretation of this option is the application 8499 instance rather than the application class).</li> 8500 </ul> 8501 8502 <h1><a name="xterm_138" id="xterm_138">Patch #138 - 2000/6/15 - 8503 XFree86 4.0c</a></h1> 8504 8505 <ul> 8506 <li>workaround for fixed fonts which are generated from Unicode 8507 fonts: they omit glyphs for some xterm's less-used line-drawing 8508 characters, which caused xterm to set a flag telling it to use 8509 only its internal line-drawing characters. Do not set the flag 8510 (it can be set from the popup menu), and xterm will generate 8511 only the line-drawing glyphs which actually are missing.<br> 8512 Otherwise, when used for large fonts, xterm may generate a 8513 2-pixel wide line, which can leave dots on the screen.</li> 8514 8515 <li>restore first line of 256colres.pl, omitted in 4.0c 8516 diffs.</li> 8517 </ul> 8518 8519 <h1><a name="xterm_137" id="xterm_137">Patch #137 - 2000/6/10 - 8520 XFree86 4.0b</a></h1> 8521 8522 <ul> 8523 <li>make command-line <code>-name</code> option work as 8524 documented. Apparently this was lost in X11R5 when coding to 8525 use <code>XtAppInitialize</code>.</li> 8526 8527 <li>limit numeric parameters of control sequences to 65535 to 8528 simplify checks for numeric overflow.</li> 8529 8530 <li>change index into UDK list to unsigned to guard against 8531 numeric overflow making the index negative (Taneli Huuskonen 8532 <huuskone@cc.helsinki.fi>).</li> 8533 8534 <li>change <code>sun function-keys</code> resource name to 8535 <code>sunFunctionKeys</code> to work around redefinition of the 8536 token <code>sun</code> by xrdb on Solaris. Similarly, renamed 8537 resource <code>sun keyboard</code> to 8538 <code>sunKeyboard</code> (Steve Wall).</li> 8539 8540 <li>change similar resource names for HP and SCO to avoid 8541 potential conflict with xrdb symbols on other systems, as well 8542 as for consistency.</li> 8543 8544 <li>reorganized the install targets in the autoconf'd Makefile, 8545 adding install-app, install-bin, install-dirs and install-man. 8546 The app-defaults class can be overridden by setting the make 8547 variable 'CLASS', simplifying customization of xterm as a 8548 Unicode terminal, e.g., CLASS=UXTerm.</li> 8549 8550 <li>add limit checks to <code>ClearInLine()</code>, 8551 <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to 8552 correct potential out-of-bounds indexing (prompted by Debian 8553 bug report #64713, which reported a problem with ICH escape 8554 sequences).</li> 8555 8556 <li>updates to config.sub and config.guess Kevin Buettner 8557 <kev@primenet.com> for elf64_ia64 Bernd Kuemmerlen 8558 <bkuemmer@mevis.de> and MacOS X.</li> 8559 8560 <li>for os390, add check for errno set to ENODEV on failure to 8561 open /dev/tty when there is no controlling terminal (patch by 8562 Paul Gilmartin).</li> 8563 8564 <li>fixes for building on Digital Unix 4.0 and AIX 4.2 (patch 8565 from H Merijn Brand <h.m.brand@hccnet.nl>).</li> 8566 8567 <li>modify DECRQSS reply for DECSCL to additionally report if 8568 the terminal is set for 8-bit controls.</li> 8569 </ul> 8570 8571 <h1><a name="xterm_136" id="xterm_136">Patch #136 - 2000/6/3 - 8572 XFree86 4.0b</a></h1> 8573 8574 <ul> 8575 <li>add a resource (<code>limitResize</code>) limiting resizing 8576 via the CSI 4 t and CSI 8 t sequences.</li> 8577 8578 <li>ignore out-of-bounds resize requests, i.e., where 8579 sign-extension or truncation of the parameters would 8580 occur.</li> 8581 </ul> 8582 8583 <h1><a name="xterm_135" id="xterm_135">Patch #135 - 2000/5/29 - 8584 XFree86 4.0b</a></h1> 8585 8586 <ul> 8587 <li>remove code introduced in #134 which made some backgrounds 8588 bold.</li> 8589 8590 <li>minor correction to format of updated $TERMCAP when adding 8591 <code>kb</code> capability for <code>ptyInitialErase</code> 8592 logic.</li> 8593 8594 <li>improved test for SVR4 definition.</li> 8595 </ul> 8596 8597 <h1><a name="xterm_134" id="xterm_134">Patch #134 - 2000/5/28 - 8598 XFree86 4.0b</a></h1> 8599 8600 <ul> 8601 <li>update URL's and mailing addresses, moved to 8602 http://dickey.his.com and dickey@herndon4.his.com</li> 8603 8604 <li>correct missing quotes in CF_TTY_GROUP configure script 8605 macro in case the script is run in batch mode.</li> 8606 8607 <li>modify ownership-check of log file to ignore the group 8608 ownership. Otherwise xterm cannot create logfiles in 8609 directories with set-gid permissions.</li> 8610 8611 <li>simplify the logic that reads termcap data.</li> 8612 8613 <li>add fallback definition for B9600 in case line speed 8614 definition for 38400 is missing (report by Jack J Woehr 8615 <jwoehr@ibm.net>, for OpenBSD 2.6).</li> 8616 8617 <li>fix: Set highlightColor, and select a region containing the 8618 text cursor. If the window loses focus, the cursor becomes 8619 hollow, with the region inside the cursor being 8620 background/foreground, unlike the rest of the selection, which 8621 is foreground/highlight (patch by Ross Paterson 8622 <ross@soi.city.ac.uk>).</li> 8623 8624 <li>add configure script tests to define SVR4, SYSV and 8625 USE_POSIX_WAIT, which enables xterm to compile on Solaris 7 and 8626 SCO Openserver without imake, though there are still a few 8627 features for the latter which require <code>sco</code> to be 8628 predefined.</li> 8629 8630 <li>patches from Steve Wall: 8631 8632 <ul> 8633 <li>add support for two Sun-specific function keys. These 8634 keys are labeled F11 and F12 on Sun Type 5 keyboards, but 8635 return SunXK_F36 and SunXK_F37. Support will only be 8636 compiled in if the header file <X11/Sunkeysym.h> 8637 exists and contains the appropriate symbol definitions. The 8638 keycodes for the DEC keycodes were arbitrary unused codes, 8639 but the ones for the Sun keycodes are what cmdtool and 8640 shelltool actually send.</li> 8641 8642 <li>add <code>colorRV</code> and <code>colorRVMode</code> 8643 resources to allow specifying a color to use for reverse 8644 video, similar to the existing UL, BD, and BL modes.</li> 8645 8646 <li>add <code>alwaysUseMods</code> resource, to override 8647 check if <code>alt</code> or <code>meta</code> modifiers 8648 are used in <code>translations</code> resource. Revamped 8649 the code to calculate the modifier value, and included Meta 8650 if alwaysUseMods is TRUE, using values 9-16.</li> 8651 </ul> 8652 </li> 8653 8654 <li>fixes for os390 (Paul Gilmartin): 8655 8656 <ul> 8657 <li>regularize the definition of CONTROL() and remove an 8658 acknowledged "trial and error" table.</li> 8659 8660 <li>translate "^?" into A2E(0177) which is the EBCDIC "DEL" 8661 rather than plain 0177 which is the EBCDIC quotation 8662 mark.</li> 8663 8664 <li>modify <code>xtermMissingChar()</code> so that EBCDIC 8665 codes 128-159 are not rendered as blanks by X server 8666 running on Solaris, which sees those as control 8667 characters.</li> 8668 8669 <li>make debugging traces (configure --enable-trace) work 8670 properly with EBCDIC.</li> 8671 </ul> 8672 </li> 8673 </ul> 8674 8675 <h1><a name="xterm_133" id="xterm_133">Patch #133 - 2000/5/2 - 8676 XFree86 4.0a</a></h1> 8677 8678 <ul> 8679 <li>add substitutions in autoconf'd Makefile for CPPFLAGS, 8680 LDFLAGS and AWK (reported by Neil Bird).</li> 8681 8682 <li>correct uninitialized <code>childstat</code> variable from 8683 patch #131 in <code>creat_as()</code> function, which caused 8684 logging to not work on Solaris, whose <code>waitpid()</code> 8685 function does not initialize its parameter. Add check for EINTR 8686 on return from <code>waitpid()</code> as well (reported by Neil 8687 Bird <neil.bird@rdel.co.uk>).</li> 8688 8689 <li>remove a redundant check for working <code>setuid()</code> 8690 function introduced in patch #132. Greg Smith reports that this 8691 does not work as intended on os390.</li> 8692 8693 <li>change line speed from 9600bd to 38400bd, to accommodate 8694 people who mistakenly use $TERM set to <em>vt100</em>, to 8695 reduce the effect of padding associated with this terminal 8696 type.</li> 8697 8698 <li>add configure script check for IRIX 6.5's redefinition of 8699 baud rates associated with <code>struct termio</code>, to 8700 correct a situation where the baud rate was initialized to zero 8701 (reported by Andrew Isaacson <adi@lcse.umn.edu>).</li> 8702 8703 <li>remove unused configure script check for VDISABLE.</li> 8704 </ul> 8705 8706 <h1><a name="xterm_132" id="xterm_132">Patch #132 - 2000/4/11 - 8707 XFree86 4.0a</a></h1> 8708 8709 <ul> 8710 <li>undo an incorrect change from patch #113 caused the right 8711 scrollbar to be positioned incorrectly when re-enabling it 8712 (analysis by D Roland Walker).</li> 8713 8714 <li>add ctrlFKeys resource, replacing constant for adjusting 8715 control-F1 to control-F12 to VT220-style F10-F20. The resource 8716 changes the constant 12 to a default value of 10 (request by 8717 Jim Knoble <jmknoble@pobox.com>).</li> 8718 8719 <li>correct ifdef'ing for conflict between definitions in AIX's 8720 <sys/select.h> and <X11/Xpoll.h> (reported by Clint 8721 Olsen).</li> 8722 8723 <li>add checks for return-values of getutid(), initgroups() and 8724 setuid() in main.c, as well as modifying ifdef's for __osf__ to 8725 include tty-group and WTMP logic (adapted from patch by Paul 8726 Szabo <psz@maths.usyd.edu.au>)</li> 8727 8728 <li>modify resize.c to build and work on os390 (uses EBCDIC) 8729 (adapted from patch by Phil Sidler 8730 <Phil.Sidler@airborne.com>)</li> 8731 8732 <li>use Ires(), Bres() and Sres() macros to simplify resource 8733 list in charproc.c</li> 8734 8735 <li>resync with XFree86 4.0a: 8736 8737 <ul> 8738 <li>correct a typo in os2main.c (Holger Veit, from 8739 4.0a).</li> 8740 </ul> 8741 </li> 8742 </ul> 8743 8744 <h1><a name="xterm_131" id="xterm_131">Patch #131 - 2000/3/3 - 8745 XFree86 3.9.18b</a></h1> 8746 8747 <ul> 8748 <li>improve logfile security (integrated patch by Branden 8749 Robinson) 8750 8751 <ul> 8752 <li>make the <code>creat_as()</code> function more strict 8753 by using O_EXCL rather than O_APPEND.</li> 8754 8755 <li>fixes to make DEBUG ifdef's compile/run, including 8756 making the debug logfile more unique by appending a 8757 timestamp to its name.</li> 8758 8759 <li>include <term.h> in resize.c, to fix a 8760 missing-prototype warning.</li> 8761 </ul> 8762 </li> 8763 8764 <li>modified <code>creat_as()</code> a little more, retaining 8765 the ability to append to a logfile If the user specifies the 8766 name. Also, check if the opened file (which patch #130 ensures 8767 is owned by the effective user) is not writable by other 8768 users.</li> 8769 8770 <li>use <code>creat_as()</code> logic to make tek4014 8771 screen-copy more secure (noted by Branden Robinson).</li> 8772 8773 <li>ifdef'd some of Branden's changes to build/work on older 8774 machines.</li> 8775 8776 <li>correct missing initialization of the <code>.mode</code> 8777 flag in <code>ColorRes</code> struct, from patch #129. This 8778 worked on Linux because <code>malloc()</code> zeroes memory on 8779 that platform (reported by Christian Weisgerber).</li> 8780 8781 <li>modify logic for <code>deleteIsDEL</code> resource so it 8782 has internally 3 states: unspecified, true and false. If 8783 unspecified, the keyboard type determines whether the Delete 8784 key transmits <code><ESC>[3~</code> or <code>\177</code>, 8785 and the popup menu entry reflects the internal state. 8786 Otherwise, the popup menu entry overrides the keyboard type 8787 (suggested by Dr Werner Fink, to make it simpler to set 8788 resources that imitate the legacy X11R6 xterm).</li> 8789 </ul> 8790 8791 <h1><a name="xterm_130" id="xterm_130">Patch #130 - 2000/3/1 - 8792 XFree86 3.9.18a</a></h1> 8793 8794 <ul> 8795 <li>modify <code>scroll-forw()</code> and 8796 <code>scroll-back()</code> actions, adding a third parameter 8797 which will direct xterm to ignore the action when mouse 8798 reporting is enabled. This is needed for the wheel mouse to be 8799 used to report to the application rather than scroll the 8800 window.</li> 8801 8802 <li>add menu entry and action to allow disabling xterm's 8803 assumption that the current font contains line-drawing 8804 characters if the font cells 1-31 are nonempty. Some fonts may 8805 have other characters (reported by Bruno Betro 8806 <bruno@iami.mi.cnr.it>).</li> 8807 8808 <li>add a check in <code>creat_as()</code> to ensure that the 8809 user really owns the logfile that has been opened.</li> 8810 8811 <li>add logic to implement SCO function-keys. (This is really 8812 incomplete, since I intend to revisit this and make xterm able 8813 to emulate scoansi better than just the function-keys).</li> 8814 8815 <li>add configure script option --enable-sco-fkeys, minor 8816 related fixes (patch by Dr Werner Fink).</li> 8817 8818 <li>fix typos in ctlseqs.ms (reported by Bram Moolenaar)</li> 8819 8820 <li>fix typo in sinstall.sh default for $TST_PROG (reported by 8821 Paul Gilmartin <pg@sweng.stortek.com>)</li> 8822 </ul> 8823 8824 <h1><a name="xterm_129" id="xterm_129">Patch #129 - 2000/2/26 - 8825 XFree86 3.9.18a</a></h1> 8826 8827 <ul> 8828 <li>improve initialization of ANSI colors by delaying 8829 allocation until each color is first used.</li> 8830 8831 <li>remove ifdef that prevented colorBD/colorUL/colorBL 8832 resources from working when 256-color configuration was built 8833 (reported by Todd Larason).</li> 8834 8835 <li>fix some minor inconsistencies in terminfo (Debian 8836 #58530).</li> 8837 </ul> 8838 8839 <h1><a name="xterm_128" id="xterm_128">Patch #128 - 2000/2/17 - 8840 XFree86 3.9.18</a></h1> 8841 8842 <ul> 8843 <li>correct logic for <code>oldXtermFKeys</code> resource, 8844 fixes a core dump when attempting to set it from the 8845 command-line (reported by Dr Werner Fink).</li> 8846 8847 <li>correct ifdef for meta-sends-escap so configure 8848 --disable-num-lock builds.</li> 8849 </ul> 8850 8851 <h1><a name="xterm_127" id="xterm_127">Patch #127 - 2000/2/12 - 8852 XFree86 3.9.17e</a></h1> 8853 8854 <ul> 8855 <li>add resource, popup menu entry and control sequence to 8856 allow changing the Delete key to send either DEL or the 8857 VT220-style Remove escape sequence.</li> 8858 8859 <li>remove logic for metaSendsEscape that would allow xterm to 8860 send <code><ESC>[3~</code> before a function key that 8861 would begin with <code><ESC>[3~</code> (request by 8862 Christian Weisgerber).</li> 8863 8864 <li>add missing action and documentation for 8865 meta-sends-escape.</li> 8866 8867 <li>correct a few typos in ctlseqs.ms (incorrect code for Cyan 8868 color)</li> 8869 </ul> 8870 8871 <h1><a name="xterm_126" id="xterm_126">Patch #126 - 2000/2/8 - 8872 XFree86 3.9.17c</a></h1> 8873 8874 <ul> 8875 <li>ensure that xterm will automatically activate the UTF-8 8876 mode whenever the name of the locale environment variable 8877 suggests that a UTF-8 locale is in use (patch by Markus Kuhn). 8878 This will help that by simply setting LC_CTYPE an entire system 8879 can be switched over to UTF-8, without users having to remember 8880 the UTF-8 command line options ("-u8", etc.) of the various 8881 applications. Command line options and X resource entries can 8882 still be used to override this default choice.</li> 8883 8884 <li>add old function-keys control sequences and popup menu 8885 entry, for compatibility with legacy X11R6 xterm.</li> 8886 8887 <li>revert translation of editing keypad "Delete" key to legacy 8888 \177.</li> 8889 8890 <li>simplify the color-resource data expressions with macro 8891 COLOR_RES, for later use in restructuring color 8892 initialization.</li> 8893 8894 <li>change encoding of wheel mouse (buttons 4 and 5) to avoid 8895 conflict with legacy mouse modifiers (suggested by Bram 8896 Moolenaar).</li> 8897 </ul> 8898 8899 <h1><a name="xterm_125" id="xterm_125">Patch #125 - 2000/1/31 - 8900 XFree86 3.9.17c</a></h1> 8901 8902 <ul> 8903 <li>make this work on OpenVMS (integrated patch by David 8904 Mathog).</li> 8905 8906 <li>rename some functions, e.g., <code>Index</code> to 8907 <code>xtermIndex</code> so that ports such as VMS which link 8908 externals ignoring case will not have library conflicts 8909 (reported by David Mathog).</li> 8910 8911 <li>correct logic of <code>do_reversevideo()</code>, which did 8912 not update the corresponding popup menu check mark (reported by 8913 David Mathog, this was a detail overlooked in patch #94).</li> 8914 8915 <li>change TRACE macro so semicolon is not within definition, 8916 making <em>indent</em> and similar programs work better.</li> 8917 8918 <li>add <code>depend</code> rule to Makefile.in</li> 8919 8920 <li>modify logic of boldColors resource to suppress it if an 8921 extended color control has been used, e.g., for 88-color or 8922 256-color mode (patch by Todd Larason).</li> 8923 8924 <li>revise logic that handles menus and input translation for 8925 keyboard type so only one can be selected at a time.</li> 8926 8927 <li>restore kdch1=\177 for the Sun function-key type, and make 8928 the the Delete key send DEL (\177) if the oldXtermFKeys 8929 resource is set.</li> 8930 8931 <li>rephrase logic and ifdef's for POSIX VDISABLE to avoid 8932 preprocessor expression that will not compile on NetBSD/x86 8933 1.4.1 (reported by Takaaki Nomura 8934 <amadeus@yk.rim.or.jp>).</li> 8935 </ul> 8936 8937 <h1><a name="xterm_124" id="xterm_124">Patch #124 - 2000/1/27 - 8938 XFree86 3.9.17b</a></h1> 8939 8940 <ul> 8941 <li>change coding of editing keypad's "Delete" key to 8942 <escape>[3~, in the default (Sun/PC) keyboard mode. This 8943 makes the terminfo kdch1 capability independent of the coding 8944 of the backarrow key, which sends either backspace (8) or DEL 8945 (127). The reason for doing this (compatibility with the 8946 <em>screen</em> program) outweighs the choice of DEL (127) 8947 which was used in X11R5/X11R6 xterms. The <em>screen</em> 8948 program translates whatever matches kdch1 into 8949 <escape>[3~, even if it happens to be the stty erase 8950 character.</li> 8951 8952 <li>add encoding for control/?, to work around xmodmap or key 8953 translations which may confuse backspace and delete. A 8954 control/? will send DEL (127), and a control/H will of course 8955 send backspace (8).</li> 8956 8957 <li>add encoding for kcbt to <escape>[Z (fixes Debian 8958 #54840).</li> 8959 8960 <li>minor correction to logic that encodes Sun and DEC function 8961 keys to avoid sending an escape sequence if the key symbol is 8962 not found in xterm's lookup table.</li> 8963 8964 <li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" 8965 pattern is more likely to be implemented when <em>imake</em> 8966 configures xterm (fixes Debian #55105).</li> 8967 8968 <li>change manpage to make it clearer what codes are sent by 8969 the backarrow key.</li> 8970 </ul> 8971 8972 <h1><a name="xterm_123" id="xterm_123">Patch #123 - 2000/1/22 - 8973 XFree86 3.9.17a</a></h1> 8974 8975 <ul> 8976 <li>add a note reserving OSC 51 for use in Emacs shell (request 8977 by Rob Mayoff <mayoff@dqd.com>).</li> 8978 8979 <li>correct a missing backslash in xterm-vt220 termcap.</li> 8980 8981 <li>cleanup remaining quoted includes, preferring bracketed 8982 form.</li> 8983 8984 <li>minor configure-script macro updates from tin and 8985 vile.</li> 8986 8987 <li>add configure-script option for using utempter library, 8988 adapted from Redhat 6.1 patch for XFree86 3.3.5</li> 8989 8990 <li>resync with XFree86 3.9.17a: 8991 8992 <ul> 8993 <li>correction to QNX support (Frank Guangxin Liu)</li> 8994 8995 <li>some cosmetic changes that did not correct any reported 8996 problems.</li> 8997 </ul> 8998 </li> 8999 </ul> 9000 9001 <h1><a name="xterm_122" id="xterm_122">Patch #122 - 1999/12/28 - 9002 XFree86 3.9.16f</a></h1> 9003 9004 <ul> 9005 <li>move the suggested wheel-mouse button translations into 9006 charproc.c to simplify customization. Correct some minor logic 9007 errors in the support for buttons 4 and 5, used for wheel mice 9008 (reported by Bram Moolenaar).</li> 9009 9010 <li>implement <em>metaSendsEscape</em> resource, with 9011 corresponding control sequence and menu entry. Like 9012 <em>eightBitInput</em>, this causes xterm to send ESC prefixing 9013 the given key, but applies to all keys and is independent of 9014 the 8-bit/7-bit terminal setting. (requests by Alexander V 9015 Lukyanov and Marc Feeley).</li> 9016 9017 <li>correct potential indexing with negative subscript in 9018 udk_lookup(), (reported by Ian Collier 9019 <Ian.Collier@comlab.ox.ac.uk>).</li> 9020 9021 <li>modify configure script that sets TERMINFO_DIR to use 9022 ${prefix} rather than /usr if the --prefix option was specified 9023 (request by Zdenek Sekera <zs@sgi.com>).</li> 9024 9025 <li>modify checks for repeat-character control sequence to test 9026 the character class against xterm's state table, rather than 9027 the isprint() macro (patch by Alexander V Lukyanov).</li> 9028 9029 <li>change several functions to macros to improve speed</li> 9030 9031 <li>two corrections to simulation of bold font via 9032 overstriking: 9033 9034 <ul> 9035 <li>use clipping to avoid leaving trash at end of the text, 9036 and</li> 9037 9038 <li>add brackets so wide-character logic does not 9039 fall-through into the overstriking logic (reported by Marc 9040 Feeley <feeley@IRO.UMontreal.CA>)</li> 9041 </ul> 9042 </li> 9043 9044 <li>add several entries to termcap file to make it have the 9045 same set of aliases as the terminfo file.</li> 9046 9047 <li>scale the color values used for xterm-256color terminfo 9048 entry to 0..1000, as expected by ncurses.</li> 9049 9050 <li>change xterm-r6 terminfo definitions for F1-F4 to match 9051 program.</li> 9052 9053 <li>Add QNX/Neutrino support (Frank Guangxin Liu 9054 <frank@ctcqnx4.ctc.cummins.com>)</li> 9055 </ul> 9056 9057 <h1><a name="xterm_121" id="xterm_121">Patch #121 - 1999/11/14 - 9058 XFree86 3.9.16c</a></h1> 9059 9060 <ul> 9061 <li>change label on "Sun/PC Keyboard" popup menu entry to 9062 "VT220 Keyboard", since the checked state corresponds to VT220 9063 rather than Sun/PC.</li> 9064 9065 <li>add configure test CF_UTMP_UT_XSTATUS to handle the 9066 variants of utmp exit status (reports by Dave Ellement, Jeremie 9067 Petit, Tomas Vanhala).</li> 9068 9069 <li>amend treatment of ALT key (see <a href="#xterm_94">patch 9070 #94</a>) so that if ALT is used as a modifier in key 9071 translations, then no parameter will be sent in escape 9072 sequences for Sun/PC function keys (request by Dr Werner 9073 Fink).</li> 9074 9075 <li>modify default for OPT_I18N_SUPPORT to assume that 9076 <code>XtSetLanguageProc()</code> is available in X11R5. 9077 9078 <p>Caveat: <code>XtSetLanguageProc()</code> was added fairly 9079 late in the X11R5 patches, and some vendors shipped buggy 9080 versions of this function (request by Tomas Vanhala).</p> 9081 </li> 9082 9083 <li>correct configure macro CF_SYSV_UTMP to test-link with 9084 functions consistent with the header, e.g., getutent() for 9085 utmp.h and getutxent() for utmpx.h (reported by Greg 9086 Smith).</li> 9087 9088 <li>modify terminfo entry for <code>xterm-xfree86</code> to 9089 reflect modifiers for shift and control (from a patch by 9090 Alexander V Lukyanov).</li> 9091 9092 <li>modify terminfo entry for <code>xterm-sun</code> to match 9093 the function-key definitions in ncurses. The pageup/pagedown 9094 and related function keys correspond to the Sun keyboard, which 9095 does not necessarily correspond with X's notion of those 9096 keys.</li> 9097 9098 <li>modify treatment of XK_Delete keysym so it transmits 9099 parameterized VT220-style <code><ESC>[3~</code> if 9100 modifiers (shift, control alt) are given (request by Alexander 9101 V Lukyanov).</li> 9102 9103 <li>corrected misspelled resource name in command-line option 9104 for HP function keys.</li> 9105 </ul> 9106 9107 <h1><a name="xterm_120" id="xterm_120">Patch #120 - 1999/10/28 - 9108 XFree86 3.9.16c</a></h1> 9109 9110 <ul> 9111 <li>refine the change to <code>SGR_Background()</code> in patch 9112 #119, by not flushing the pending scrolling operation if the 9113 background color is not actually changing. This combination 9114 occurs when using color-ls to display a long listing, since 9115 each line ends with an SGR0 which affects only the foreground 9116 color. The unnecessary flushing made it noticeably slower 9117 (reported by D Roland Walker <walker@pobox.com>).</li> 9118 9119 <li>remove obsolete documentation about modifiers which can be 9120 returned in mouse tracking mode, and modify logic to ignore 9121 modifiers other than the existing ones, e.g., NumLock (prompted 9122 by discussions with Christian Weisgerber and Brad Pepers 9123 <brad@linuxcanada.com>).</li> 9124 9125 <li>use free bit from obsolete shift-modifier coding of mouse 9126 tracking button events to encode buttons 4 and 5, e.g., for a 9127 wheel mouse (requests by Brad Pepers and Bram Moolenaar).</li> 9128 9129 <li>correct a place where the ptyInitialErase logic did not set 9130 the backarrowKey state, and modify it further to use tgetstr() 9131 rather than parse the termcap data returned from tgetent() so 9132 the ptyInitialErase logic will work when xterm is linked with a 9133 terminfo library (based on a patch by Dr Werner Fink 9134 <werner@suse.de>).</li> 9135 9136 <li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration 9137 (patch by Michael Rohleder).</li> 9138 9139 <li>improve configure script's utmp tests (based on reports by 9140 Greg Smith for os390, and David Ellement for HPUX).</li> 9141 9142 <li>modify sinstall.sh to use uid=0 rather than 'root' to 9143 determine if the installer is privileged. This is needed on 9144 some systems since more than one account may be privileged 9145 (report by Greg Smith).</li> 9146 9147 <li>add an application resource, <code>messages</code> (and a 9148 corresponding -/+mesg option) which controls the initial 9149 permission on the terminal: if messages is set to true (the 9150 default), behavior is as without the patch; if it is set to 9151 false (as per -mesg), the terminal is opened in mode 0600, thus 9152 producing the effect of the <code>mesg n</code> command. This 9153 is useful for users who want to redirect all their messages to 9154 one particular xterm: it is more pleasant to do this with xterm 9155 resources than with explicit calls to the <code>mesg</code> 9156 program (patch, description by David Madore 9157 <david.madore@ens.fr>).</li> 9158 </ul> 9159 9160 <h1><a name="xterm_119" id="xterm_119">Patch #119 - 1999/10/16 - 9161 XFree86 3.9.16c</a></h1> 9162 9163 <ul> 9164 <li>add responses (DA and DSR) for DEC locator mode</li> 9165 9166 <li>add coding for ANSI color to DA response</li> 9167 9168 <li>implement UTF-8 translation for Media Copy (print) 9169 operations.</li> 9170 9171 <li>implement vt320 control sequences for Print Composed Main 9172 Display and for Print All Pages. The latter directs xterm to 9173 print the current screen as well as the scrollback buffer.</li> 9174 9175 <li>correct error in _GNU_SOURCE configure test, which left it 9176 always defined.</li> 9177 9178 <li>add more information, i.e., with strerror for some system 9179 calls in the main program which may fail due to insufficient 9180 permissions (prompted by a problem report for <code>-C</code> 9181 by Jeremie Petit <Jeremie.Petit@digital.com>).</li> 9182 9183 <li>add workaround for conflict between <X11/Xpoll.h> and 9184 <sys/select.h> on AIX 4.3 (Richard Griswold 9185 <griswold@acm.org>).</li> 9186 9187 <li>add configure script test to resolve conflict between 9188 between <X11/Xpoll.h> and <sys/select.h></li> 9189 9190 <li>modify translation of UTF-8 sequences to reject "overly 9191 long" variations (patch by Markus Kuhn).</li> 9192 9193 <li>remove <code>utf8controls</code> resource, since Markus' 9194 change removes the corresponding logic.</li> 9195 9196 <li>correct a case where colors were not rendered properly. 9197 This happened when an application inserted several lines, then 9198 changed colors. If this was done all in one write, then there 9199 would be no intervening refresh, and the new color was applied 9200 to the pending scrolling operation which was awaiting the next 9201 refresh (reported by Stephane Chazelas 9202 <Stephane_Chazelas@Raytheon.com>).</li> 9203 </ul> 9204 9205 <h1><a name="xterm_118" id="xterm_118">Patch #118 - 1999/10/5 - 9206 XFree86 3.9.16b</a></h1> 9207 9208 <ul> 9209 <li>refine configure test for utmp versus utmpx, to build on 9210 HP-UX 10.x (reported by David Ellement).</li> 9211 9212 <li>move the configure check for <code>const</code> after the 9213 check for ANSI C compiler options, since those may be required 9214 to make it work properly on HP-UX.</li> 9215 9216 <li>add configure test for defining 9217 <code>_GNU_SOURCE</code></li> 9218 9219 <li>correction to <em>-hold</em> option, ensure that if data is 9220 already in the output buffer that it will be displayed before 9221 closing the PTY.</li> 9222 9223 <li>move the configure checks for setuid install of xterm into 9224 a script to avoid installing it setuid'd to a non-root user 9225 (reported by Adam Sulmicki <adam@cfar.umd.edu>).</li> 9226 9227 <li>correct configure script's check for termcap.h to avoid 9228 using ncurses' version of it on systems that have a working 9229 <code>tgetent()</code> function. This is needed to make 9230 <code>resize</code> work properly.</li> 9231 9232 <li>fix some typography in ctlseqs.ms description of DEC 9233 locator events (reported by Steve Wall).</li> 9234 </ul> 9235 9236 <h1><a name="xterm_117" id="xterm_117">Patch #117 - 1999/9/29 - 9237 XFree86 3.9.16b</a></h1> 9238 9239 <ul> 9240 <li>change order of tests in configure script for utmp and 9241 utmpx to test utmpx first, to compile on Solaris (reported by 9242 Leena Heino <liinu@uta.fi> and Patrik Hagglund 9243 <patha@ida.liu.se>).</li> 9244 9245 <li>add a configure test for utmp.ut_xtime, needed for SCO 9246 Openserver, and for lastlog, needed for Redhat 6.0, to refine 9247 the utmp/utmpx auto-configure.</li> 9248 9249 <li>remove a spurious comma in an #undef (reported by David 9250 Green <greendjf@cvhp152.marconicomms.com> and David 9251 Ellement <ellement@sdd.hp.com> both on HP-UX, whose 9252 compiler does care about syntax).</li> 9253 9254 <li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported 9255 by Suhaib M. Siddiqi <Ssiddiqi@InspirePharm.Com>, who is 9256 told that the next Cygnus release will drop that symbol in 9257 their next release).</li> 9258 9259 <li>minor cleanup of ifdef's for makeColorPair (patch by Steve 9260 Wall).</li> 9261 9262 <li>work around problem observed in XFree86 3.3.5 (patch by 9263 Alexander V Lukyanov, Redhat #5419). From the problem report: 9264 9265 <blockquote> 9266 <p>xterm consumes cpu when selecting text with mouse 9267 (holding down left mouse button) and when a program working 9268 under the xterm outputs something to stdout.</p> 9269 9270 <p>Easy way to reproduce:<br> 9271 <code>while :; do echo aaa; sleep 1; done</code><br> 9272 (while this runs, select text and hold down left mouse 9273 button) watch cpu load.<br> 9274 release left mouse button - spinning stops.</p> 9275 </blockquote> 9276 </li> 9277 </ul> 9278 9279 <h1><a name="xterm_116" id="xterm_116">Patch #116 - 1999/9/25 - 9280 XFree86 3.9.16a</a></h1> 9281 9282 <ul> 9283 <li>modify warning if change-ownership of PTY fails; some 9284 configurations may not happen to have old-style pty's (reported 9285 by Bob Maynard).</li> 9286 9287 <li>improve check in configure script for group ownership of 9288 installed xterm; some platforms use the -g option of ls to 9289 toggle group off rather than on (reported by Greg Smith).</li> 9290 9291 <li>minor improvement to toolbar geometry, to make it not 9292 resizable. This still is not satisfactory (but is usable) since 9293 the toolbar overlaps the xterm widget if the window is resized 9294 to make it smaller. It appears that some work is needed for the 9295 xterm widget's geometry management to make it function 9296 properly.</li> 9297 9298 <li>implement configure script tests for utmp, tty group.</li> 9299 9300 <li>implement <em>-hold</em> option, allowing users to retain 9301 the window after a shell has exited (this is recently an FAQ, 9302 but prompted by a comment by Joachim Plaettner-Hochwarth 9303 <plaettner@aem.umn.edu> in comp.unix.programmer, that the 9304 IRIX winterm provides this option).</li> 9305 9306 <li>add support for DEC Locator control sequences for xterm 9307 (integrated patch by Steve Wall): 9308 <pre> 9309 DECEFR, "Enable Filter Rectangle" 9310 DECELR, "Enable Locator Reports" 9311 DECSLE, "Select Locator Events" 9312 DECRQLP, "Request Locator Position" 9313</pre> 9314 9315 <p>This allows the xterm mouse to be used with applications 9316 that use the DEC Locator sequences, such as VAX Tpu, or SMG$ 9317 based applications.</p> 9318 </li> 9319 9320 <li>improve print action (patch by Matthias Baake). From his 9321 notes, 9322 9323 <ul> 9324 <li>Bug 1<br> 9325 Underlined text is preceded by ESC [0;2m . This should 9326 be ESC [0;4m , ESC [2m doesn't seem to have 9327 any effect. (print.c/send_SGR)</li> 9328 9329 <li>Bug 2<br> 9330 The check for the last non-empty column (while (last > 9331 0) ... in print.c/printLine) omits the rightmost column of 9332 the screen, the loop must start with last = 9333 screen->max_col+1 instead of last = 9334 screen->max_col.</li> 9335 9336 <li>Bug 3<br> 9337 Any attributes of the first character (and of all 9338 immediately following characters with the same attributes) 9339 are ignored. The variable attr (print.c/printLine) should 9340 be initialized with 0, not with *a & SGR_MASK.</li> 9341 </ul> 9342 </li> 9343 </ul> 9344 9345 <h1><a name="xterm_115" id="xterm_115">Patch #115 - 1999/9/18 - 9346 XFree86 3.9.16a</a></h1> 9347 9348 <ul> 9349 <li>integrated changes by Steve Wall to implement an 88-color 9350 model for systems where 256-colors cannot be allocated.</li> 9351 9352 <li>when 256-color configuration is compiled, colored bold and 9353 underlining is not available; ifdef'd to avoid possible odd 9354 effects in this case (reported by Steve Wall).</li> 9355 9356 <li>add resource <em>cacheDoublesize</em>, to limit the caching 9357 of font information for double-sized characters. This addresses 9358 a problem reported by Aryeh Koenigsberg for X terminals with 9359 limited font memory.</li> 9360 9361 <li>modify treatment of line-drawing characters in UTF-8 mode 9362 so that the Unicode values are used rather than the C0 codes 9363 for storing the translated characters (request by Markus 9364 Kuhn).</li> 9365 </ul> 9366 9367 <h1><a name="xterm_114" id="xterm_114">Patch #114 - 1999/9/15 - 9368 XFree86 3.9.16</a></h1> 9369 9370 <ul> 9371 <li>add configure script checks for Athena headers and 9372 libraries under /usr/contrib to work on HPUX (reported by 9373 several people: David Nixon <djn@csc.liv.ac.uk> Aryeh 9374 Koenigsberg <aryeh.koenigsberg@telrad.co.il> Johannes 9375 Mähner <johanm@camline.com> Andrew Gaylard 9376 <andrew.gaylard@bsw.co.za>).</li> 9377 9378 <li>add check to configure script if xterm is installed setgid 9379 rather than setuid, since wtmp and utmp may be installed with 9380 group-writable permissions other than root (based on Debian bug 9381 report #7112 by Bo Branten <bosse@ing.umu.se>).</li> 9382 9383 <li>rewrote logic that removes data from termcap entry, e.g., 9384 for titeInhibit, to make it less likely to remove the wrong 9385 data.</li> 9386 9387 <li>correct logic which checks for missing characters used for 9388 line drawing. The 0 character was tested unnecessarily, leading 9389 to some inefficiency when rendering.</li> 9390 9391 <li>change termcap capability which is used as input or output 9392 of ptyInitialErase logic from <em>kD</em> to <em>kb</em>. 9393 Christian Weisgerber <naddy@mips.rhein-neckar.de> pointed 9394 out in effect that <em>kD</em> (in terminfo <em>kdch1</em>) 9395 should correspond to the control sequence for <em>dch1</em>, 9396 which deletes from the current position toward the right.</li> 9397 9398 <li>check for failure to change ownership of the PTY device and 9399 warn when xterm is running setuid'd to root. This was reported 9400 to happen on the FreeBSD/NetBSD/OpenBSD systems as a result of 9401 the chflags() call.</li> 9402 9403 <li>add xterm-noapp terminfo entry to illustate a nominally 9404 bash-compatible terminal description.</li> 9405 </ul> 9406 9407 <h1><a name="xterm_113" id="xterm_113">Patch #113 - 1999/8/15 - 9408 XFree86 3.9.15b</a></h1> 9409 9410 <p>Several fixes. The main one is a first draft of pulldown 9411 menus. It's not complete (I have some minor/annoying geometry 9412 problems to correct), but is usable. Once it's complete I plan to 9413 add a menu to support additional selections that won't fit on the 9414 current popup menus. Also, this fits into my longterm plan to 9415 allow configuring with Motif libraries.</p> 9416 9417 <ul> 9418 <li>correct error in input conversion for NRC mode (reported by 9419 Stefan Traby <stefan@sime.com>).</li> 9420 9421 <li>fix initialization of num_lock data in Misc struct (since 9422 those fields of the reference widget aren't initialized), and 9423 add logic to deal with XVision whose NumLock key does not 9424 transmit but does alter keypad state.</li> 9425 9426 <li>correct a missing return-value in get_pty(), for SCO</li> 9427 9428 <li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br> 9429 #define VAL_INITIAL_ERASE A2E(127)</li> 9430 9431 <li>correct foreground color within cursor outline when the 9432 window is unfocused (reported by Stephane Chazelas).</li> 9433 9434 <li>corrected position of scrollbar set in ResizeScrollBar(), 9435 which left it positioned incorrectly if the right scrollbar 9436 were enabled from the popup menu but was not initially enabled. 9437 9438 <p>I have noticed some additional problems with 9439 right-scrollbar on X11R5 which I will correct later.</p> 9440 </li> 9441 9442 <li>integrate changes by Jean-Claude Michot for QNX from 9443 XFree86 3.3.4c</li> 9444 9445 <li>add resources menuBar/MenuBar, menuHeight/MenuHeight for 9446 later use in toolbar geometry.</li> 9447 9448 <li>add configure option --enable-toolbar</li> 9449 9450 <li>add missing definition to make ziconbeep logic not 9451 compile-in when configure script disables it.</li> 9452 9453 <li>add configure-check for input-method support in X 9454 libraries</li> 9455 </ul> 9456 9457 <h1><a name="xterm_112" id="xterm_112">Patch #112 - 1999/7/17 - 9458 XFree86 3.9Pw</a></h1> 9459 9460 <ul> 9461 <li>add null-pointer check to FlushLog(), fixes a core dump 9462 when both -l and -lf options are used when xterm is configured 9463 with wide-character support.</li> 9464 9465 <li>remove "ISO" case for SD, which was due to a typographical 9466 error in ECMA-48 (reported by Paul Williams 9467 <paul@celigne.co.uk> for vttest).</li> 9468 9469 <li>add "FILES" section to manpage.</li> 9470 9471 <li>generate header file to initialize default resources for 9472 colors 16-255.</li> 9473 9474 <li>fixes for os390 (Greg Smith): 9475 9476 <ul> 9477 <li>add README.os390</li> 9478 9479 <li>use the pty_search() function to find an available 9480 pty/tty pair.</li> 9481 9482 <li>move E2A() call out of getXtermCell() to SaveText() 9483 function so it will be available in all 9484 configurations.</li> 9485 </ul> 9486 </li> 9487 9488 <li>patches by Todd Larason: 9489 9490 <ul> 9491 <li>enable SGR 48 5 in ISO color mode, not just 256 color 9492 mode</li> 9493 9494 <li>change configure's --disable-256-color option to 9495 --enable-256-color, to match its effect</li> 9496 9497 <li>fix OSC 4 xx ? (report ansi color) to report a string 9498 which can actually be used to set the color back</li> 9499 9500 <li>fix OSC 4 xx yy (change ansi color) to not allow 9501 setting colors > 15 in 16 color mode</li> 9502 9503 <li>simplify the COLOR_ settings a bit in ptyx.h, along 9504 with setting NUM_ANSI_COLORS needed for #1 and #4 9505 above</li> 9506 9507 <li>correct string-terminator code passed for reference to 9508 OSC responses; when in 7-bit mode, only the final byte of 9509 ST was seen.</li> 9510 9511 <li>Allow multiple color #;name pairs in OSC 4, and 9512 document changes to match.</li> 9513 </ul> 9514 </li> 9515 </ul> 9516 9517 <h1><a name="xterm_111" id="xterm_111">Patch #111 - 1999/7/10 - 9518 XFree86 3.9Pw</a></h1> 9519 9520 <ul> 9521 <li>add control sequences for specifying the RGB value of the 9522 ANSI colors, and for configuring with 256 colors (patch by Todd 9523 Larason <jtl@molehill.org>). I made the default 9524 configuration to 16-colors, because xterm uses the default 9525 color map (which has only 256 colors).</li> 9526 9527 <li>correct an error in DCS $ q m reporting for colors 8-15 9528 (Todd Larason).</li> 9529 9530 <li>add test/demo script for double size characters. Used this 9531 to test/correct display of double size characters that should 9532 wrap, underlined double size characters.</li> 9533 9534 <li>increased cache size for double size fonts to 8, to allow 9535 for both normal and bold fonts (discussion with Aryeh 9536 Koenigsberg <aryeh.koenigsberg@telrad.co.il>).</li> 9537 9538 <li>add fixes for port to OS390 aka MVS (integrated patch from 9539 Greg Smith <rys@epaibm.rtpnc.epa.gov>). OS390 uses EBCDIC 9540 rather than ASCII.</li> 9541 9542 <li>correct an off-by-one in binary search limits in 9543 keysym2ucs.c (Markus Kuhn).</li> 9544 9545 <li>implement logging for UTF-8 mode. The output is written in 9546 UTF-8 form.</li> 9547 </ul> 9548 9549 <h1><a name="xterm_110" id="xterm_110">Patch #110 - 1999/6/29 - 9550 XFree86 3.9Pu</a></h1> 9551 9552 <ul> 9553 <li>If colorMode is enabled by default, compile-in default 9554 resources to match the colors listed in XTerm-col.ad (this 9555 should fix a longstanding FAQ).</li> 9556 9557 <li>added new OSC 3 ; PROPNAME=VALUE ST 9558 escape sequence to set an arbitrary X property on the top level 9559 xterm X11 window. Omit "=VALUE" to delete the X property (patch 9560 by Greg Badros <gjb@cs.washington.edu>).</li> 9561 9562 <li>change internal flag used for <em>utf8controls</em> 9563 resource so we allow 31-bit range of characters (suggested by 9564 Thomas Wolff).</li> 9565 9566 <li>add check for 16-bit characters in OSC strings, change them 9567 to '?' (reported by Thomas Wolff).</li> 9568 9569 <li>modify logic of same_font_name() to avoid trying to 9570 interpret both parameters as wildcard patterns. That does not 9571 (cannot) work, and in some instances the font server will 9572 return unresolved wildcards for the normal or bold fontnames, 9573 making them match inadvertently, triggering the fallback 9574 overstrike logic (reported by Tim Adye).</li> 9575 </ul> 9576 9577 <h1><a name="xterm_109" id="xterm_109">Patch #109 - 1999/6/23 - 9578 XFree86 3.9Pt</a></h1> 9579 9580 <ul> 9581 <li>correct range-check from patch #108, which resulted in not 9582 being able to select from the scrollback buffer (reported by 9583 Tim Adye <T.J.Adye@rl.ac.uk>)</li> 9584 9585 <li>correct "no available ptys" problem with Cygwin B20.1 9586 (patch by Tim Adye).</li> 9587 9588 <li>modified install-ti rule in Makefile.in to allow override 9589 of the terminfo directory when doing a "make install", i.e., by 9590 assigning to TERMINFO_DIR (request by Zdenek Sekera 9591 <zs@sgi.com>).</li> 9592 9593 <li>added install-full rule to Makefile.in</li> 9594 9595 <li>resync mkdirs.sh and install.sh scripts against current 9596 autoconf</li> 9597 9598 <li>implement $(DESTDIR) in Makefile.in, making it simple to 9599 install xterm and associated files into a directory just for 9600 packaging a binary release (suggested by CaT 9601 <cat@zip.com.au>).</li> 9602 9603 <li>change IChar type to unsigned, rather than unsigned short, 9604 making room for a flag to keep with 16-bit characters to 9605 prevent them from being interpreted as C0 or C1 controls 9606 (reported by Thomas Wolff).</li> 9607 9608 <li>correct a typo from patch #107, incorrect array name, in 9609 the filterUTF8 function (patch by Bruno Haible 9610 <haible@ilog.fr>)</li> 9611 9612 <li>add <em>utf8controls</em> resource to specify whether xterm 9613 should interpret 16-bit characters unpacked from UTF-8 form as 9614 control characters if they happen to fall into that range. This 9615 behavior is left unspecified by the Unicode standard (request 9616 by Thomas Wolff).</li> 9617 9618 <li>modify handling of OSC to recover if application sends 9619 16-bit characters with codes above 255. We cannot display them 9620 as is, but translate out-of-range characters to a '?' (reported 9621 by Thomas Wolff).</li> 9622 </ul> 9623 9624 <h1><a name="xterm_108" id="xterm_108">Patch #108 - 1999/6/19 - 9625 XFree86 3.9Ps</a></h1> 9626 9627 <ul> 9628 <li>add a range-check to LastTextCol(), to guard against 9629 indexing before the beginning of the scrollback buffer. This 9630 appears to happen with certain fonts under X11R5 (reported by 9631 Stephane Chazelas <Stephane_Chazelas@Raytheon.com>).</li> 9632 9633 <li>implement resource <em>boldMode</em>, to allow disabling 9634 the simulation of bold fonts when the bold and normal fonts are 9635 not different (requested by Will Day 9636 <willday@rom.oit.gatech.edu>).</li> 9637 9638 <li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few 9639 bugs in the UTF-8 selection (patch by Juliusz Chroboczek).</li> 9640 9641 <li>correct logic of binary-search in keysym2ucs.c (patch by 9642 Markus Kuhn).</li> 9643 9644 <li>add special interpretation of keysym codes above 0x1000000 9645 as the corresponding UCS value plus 0x1000000 (patch by Markus 9646 Kuhn).</li> 9647 </ul> 9648 9649 <h1><a name="xterm_107" id="xterm_107">Patch #107 - 1999/6/12 - 9650 XFree86 3.9Pq</a></h1> 9651 9652 <ul> 9653 <li>Two changes from Stephen P Wall. From his description: 9654 9655 <blockquote> 9656 <p>The first change is simple - I added ESC[3J to erase the 9657 stored lines above the screen. That's what the changes to 9658 util.c and ctlseqs.ms are.</p> 9659 9660 <p>The second change is to get the blinking cursor working. 9661 I took out the cursorBlinkTime resource, and put in 9662 cursorBlink (Boolean), cursorOnTime (time cursor is on in 9663 msecs) and cursorOffTime, and added a cursorblink item to 9664 the vtMenu to enable/disable it.</p> 9665 </blockquote> 9666 </li> 9667 9668 <li>improve selection (integrated patch by Juliusz Chroboczek). 9669 From his description: 9670 9671 <blockquote> 9672 <p>With this patch, selection conversion works 9673 properly:</p> 9674 <pre> 9675 ISO 8859-1 xterm -> ISO 8859-1 xterm (transferred as STRING); 9676 ISO 8859-1 xterm -> UTF-8 xterm (transferred as STRING); 9677 UTF-8 xterm -> ISO 8859-1 xterm (transferred as STRING); 9678 UTF-8 xterm -> UTF-8 xterm (transferred as UTF-8). 9679</pre> 9680 9681 <p>It will not work properly if one xterm is in, say, ISO 9682 8859-2. Actually, for this case xterm breaks the ICCCM 9683 routinely (sending ISO 8859-2 data as STRING), so I 9684 wouldn't worry too much about it. I have not changed the 9685 behaviour in eight-bit mode in any way.</p> 9686 </blockquote> 9687 </li> 9688 </ul> 9689 9690 <h1><a name="xterm_106" id="xterm_106">Patch #106 - 1999/6/9 - 9691 XFree86 3.9Pq</a></h1> 9692 9693 <ul> 9694 <li>remove duplicate fix for OpenBSD in resize.c</li> 9695 9696 <li>correct logic in ScreenWrite, which did not reset the high 9697 bytes of 16-bit characters when overwriting them with a 8-bit 9698 character string (reported by Thomas Wolff).</li> 9699 9700 <li>provide limited support for input of UTF-8 16-bit data by a 9701 lookup table (integrated patch by Markus Kuhn).</li> 9702 9703 <li>correct check in non_blank_line to ensure we're in 9704 wide-character mode before looking at the high bytes, for 9705 InsertChar.</li> 9706 </ul> 9707 9708 <h1><a name="xterm_105" id="xterm_105">Patch #105 - 1999/6/5 - 9709 XFree86 3.9Pp</a></h1> 9710 9711 <ul> 9712 <li>implement new resource <em>trimSelection</em>, which allows 9713 xterm to trim trailing blanks from selected lines. This does 9714 not affect the highlighting. (reported by several people using 9715 <em>mutt</em>, including Hans Morten Kind <edphk@uib.no>, 9716 Jeremy <jeremy@exit109.com> and (Michael Fuller 9717 <msf@mds.rmit.edu.au>).</li> 9718 9719 <li>include term.h in resize for OpenBSD (patch by Matthieu 9720 Herrb).</li> 9721 9722 <li>correct logic for UTF-8 in functions that hide and show the 9723 cursor; it was displaying a space whenever the low byte of the 9724 character at the cursor position was zero (reported by Thomas 9725 Wolff <Thomas.Wolff@icn.siemens.de>).</li> 9726 </ul> 9727 9728 <h1><a name="xterm_104" id="xterm_104">Patch #104 - 1999/5/30 - 9729 XFree86 3.9Pn</a></h1> 9730 9731 <p>This is a resync patch against XFree86 3.9Pn, reflecting 9732 changes which were submitted by Branden Robinson, who worked with 9733 Wichert Akkerman <wichert@cs.leidenuniv.nl> to set up 9734 ifdef's to handle GNU libc 2.1, and use getpt() which lets xterm 9735 avoid having to know the actual PTY name.</p> 9736 9737 <p>I have also added a few fixes for signed/unsigned mismatches, 9738 and corrected a problem in the configure script (the UTF-8 code 9739 was always configured since the Imakefile defines this).</p> 9740 9741 <h1><a name="xterm_103" id="xterm_103">Patch #103 - 1999/5/14 - 9742 XFree86 3.9Pm</a></h1> 9743 9744 <ul> 9745 <li>correct selection logic: I omitted an offset that accounts 9746 for the distance into the scrollback buffer when rewriting this 9747 for patch #101. Also fixed a similar problem for selecting 9748 double size characters from the scrollback buffer (first was 9749 reported by D Roland Walker <walker@pobox.com>).</li> 9750 9751 <li>improved support for Unix98 PTY's, using patch in Debian 9752 bug report #35650, by J.H.M. Dassen 9753 <jdassen@wi.leidenuniv.nl>. From the patch description: 9754 9755 <blockquote> 9756 <ul> 9757 <li>No longer links xterm against libutil on a glibc2.1 9758 system. libutil is a compatibility library and should 9759 only be used when necessary. Rather than having get_pty() 9760 use openpty() from this compatibility library, use the 9761 real UNIX98 pty support in get_pty() (open()ing the 9762 master pty, through getpt() if available (glibc 9763 extension)). Use openpty() only under glibc2.0.</li> 9764 9765 <li>GNU libc2 is not Linux-specific; already it runs on 9766 the Hurd. It provides the UNIX98 pty functions (plus the 9767 getpt() extension), regardless of the underlying OS. 9768 Changed two constructs to look for GNU libc2 only, not 9769 GNU libc2 on Linux.</li> 9770 </ul> 9771 </blockquote> 9772 </li> 9773 9774 <li>improve font configuration, by checking if the user's 9775 resource settings for normal and bold fonts give the same font 9776 sizes (fixes problem reported by Peter Waltenberg 9777 <peterw@dascom.com>).</li> 9778 </ul> 9779 9780 <h1><a name="xterm_102" id="xterm_102">Patch #102 - 1999/5/12 - 9781 XFree86 3.9Pm</a></h1> 9782 9783 <ul> 9784 <li>revert change to openpty call in patch #101; this causes 9785 xterm to fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn 9786 Brand).</li> 9787 9788 <li>modify print.c to move include of stdio.h after the 9789 autoconf'd xtermcfg.h since HP's ANSI C compiler otherwise sees 9790 inconsistent prototype for getopt, probably due to problem with 9791 const (reported by H Merijn Brand).</li> 9792 </ul> 9793 9794 <h1><a name="xterm_101" id="xterm_101">Patch #101 - 1999/5/10 - 9795 XFree86 3.9Pm</a></h1> 9796 9797 <ul> 9798 <li>moved includes and definitions for 'select' from data.h to 9799 xterm.h to fix problem introduced by prototype for getPtyData, 9800 part of UTF-8 changes (reported by Jens Schleusener 9801 <Jens.Schleusener@dlr.de>)</li> 9802 9803 <li>added "Meta <Btn2Down>:clear-saved-lines()" default 9804 translation (patch by H Merijn Brand)</li> 9805 9806 <li>fixes to configure script and ifdef's in main.c to build on 9807 a HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with 9808 egcs 1.1.2 and HP's ANSI C compiler (patch by H Merijn Brand 9809 <PROCURA_BV@CompuServe.com>)</li> 9810 9811 <li>add more parentheses in ifdef's (patch by Bob 9812 Maynard).</li> 9813 9814 <li>eliminate conflicting definitions for USE_TERMINFO in 9815 resize.c (reported by Jeremy Buhler).</li> 9816 9817 <li>change openpty call to pass NULL rather than ttydev 9818 parameter, since that was used only to estimate the length of 9819 the corresponding data, and may not really be long enough 9820 (reported by Andreas Jaeger)</li> 9821 9822 <li>update description in xterm manpage for character class 9823 table, which said it handles only 7-bit codes.</li> 9824 9825 <li>correct a typo in ScrnDeleteChar() which made it not clear 9826 the high byte of wide-character data.</li> 9827 9828 <li>add logic to convert selection to UTF-8 form when 9829 appropriate. This makes select/paste "work", but further work 9830 is needed to make UTF-8 recognized as a locale in Xlib.</li> 9831 9832 <li>correct right-limit check when selecting double-width 9833 characters.</li> 9834 9835 <li>change default answerback response to an empty string.</li> 9836 </ul> 9837 9838 <h1><a name="xterm_100" id="xterm_100">Patch #100 - 1999/5/3 - 9839 XFree86 3.9Pl</a></h1> 9840 9841 <ul> 9842 <li>Correct a typo in the default resource value for 9843 backarrowKeyIsErase: it was always true (reported by Bram 9844 Moolenaar).</li> 9845 9846 <li>improve configure script's test if the installed xterm is 9847 setuid, in case that is a symbolic link.</li> 9848 9849 <li>correct "install-ti" rule in Makefile.in, by not setting a 9850 blank $TERMINFO value. That is interpreted as "." by ncurses' 9851 tic.</li> 9852 </ul> 9853 9854 <h1><a name="xterm_99" id="xterm_99">Patch #99 - 1999/5/2 - 9855 XFree86 3.9Pk</a></h1> 9856 9857 <ul> 9858 <li>correct logic that computes num_ptrs count of the number of 9859 indices into the screen buffer. This is the maximum of the 9860 colors and character-set indices; was incorrect in patch 9861 #97.</li> 9862 9863 <li>correct argument type for sigsetjmp, incidental change in 9864 patch #96's Unix88 PTY patch (reported by Bram Moolenaar).</li> 9865 9866 <li>correct description of secondary DA in ctlseqs.ms (reported 9867 by Bram Moolenaar).</li> 9868 9869 <li>decouple the backarrowKey and ptyInitialErase resources by 9870 adding a new resource backarrowKeyIsErase, to accommodate 9871 people using applications which have hardcoded tests for 9872 characters 8 and 127 rather than relying on the stty 9873 settings.</li> 9874 9875 <li>modify the UTF-8 decoder so that all possible illegal UTF-8 9876 sequences are properly represented by U+FFFD. This should be 9877 very helpful for developers of code that output UTF-8 strings 9878 for debugging. See the file utf-8-test.txt in 9879 http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a 9880 demonstration text that contains numerous illegal UTF-8 values. 9881 (patch by Markus Kuhn).</li> 9882 9883 <li>correct a place in ScrnRefresh where I was filling the high 9884 byte of a wide character with a space rather than a null 9885 (reported by Markus Kuhn).</li> 9886 </ul> 9887 9888 <h1><a name="xterm_98" id="xterm_98">Patch #98 - 1999/4/26 - 9889 XFree86 3.9Pk</a></h1> 9890 9891 <ul> 9892 <li>correct data manipulation in unparseputc(), broken for 9893 little-endian machines by patch #97's UTF-8 changes. This meant 9894 that keyboard input on SunOS did not work, though Linux i386 9895 was fine.</li> 9896 9897 <li>modify initialization for backarrowKey and logic for 9898 initial-erase to prevent the initial-erase from overriding an 9899 explicitly set backarrowKey resource (reported by Vikas 9900 Agnihotri).</li> 9901 9902 <li>add a missing null-pointer check in ScrnRefresh, for the 9903 wide-characters configuration.</li> 9904 </ul> 9905 9906 <h1><a name="xterm_97" id="xterm_97">Patch #97 - 1999/4/25 - 9907 XFree86 3.9Pk</a></h1> 9908 9909 <ul> 9910 <li>add configure script test for -lutil, needed for openpty 9911 call when configuring xterm for Glibc-2.1 and Unix98 PTY's 9912 (first reported by Martin Lorentz" 9913 <m.lorentz@w12.link-goe.de>).</li> 9914 9915 <li>completely parenthesize ifdef expressions for Glibc 9916 (suggested by Bob Maynard).</li> 9917 9918 <li>add initial-erase options (-ie, +ie) to help message 9919 (reported by Vikas Agnihotri).</li> 9920 9921 <li>remove duplicate definition of USE_USG_PTYS (reported by 9922 Jeremy Buhler).</li> 9923 9924 <li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a 9925 DEL (\177). I overlooked this when separating the styles of 9926 keyboard with the <em>sunKeyboard</em> resources in patch #94, 9927 so that it normally matches the value of the stty erase 9928 character: 9929 9930 <ul> 9931 <li>Reported by Jae Gangemi 9932 <jgangemi@ccf.rutgers.edu>, this caused emacs to not 9933 process the DEL properly, combining it with succeeding 9934 characters.</li> 9935 9936 <li>This does not appear to be related to a problem which I 9937 have found with <em>screen</em>, which translates the stty 9938 erase into the termcap <em>kD</em> or terminfo 9939 <em>kdch1</em> value (depending on how it is linked) if the 9940 $TERMCAP variable is set when <em>screen</em> is 9941 invoked.</li> 9942 </ul> 9943 </li> 9944 9945 <li>add command-line options for enabling UTF-8 mode: -u8 and 9946 +u8. The more obvious -utf8 and +utf8 would conflict with 9947 xterm's -ut and +ut (utmp) options. The UTF-8 changes were 9948 requested by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>. This 9949 patch does not complete UTF-8 implementation, but makes it 9950 usable, i.e., display and refresh work, and I am able to 9951 display the test cases which Markus provides. More work is 9952 needed to complete this feature: 9953 9954 <ul> 9955 <li>the control sequences for switching in/out of UTF-8 9956 mode are partly implemented (don't use them). Similarly, 9957 the switching between vt100 and tek4014 emulations when 9958 UTF-8 mode is enabled will not work properly. 9959 9960 <p>You must use the -u8 command line option to use this 9961 feature, as well as compile with the OPT_WIDE_CHARS 9962 definition.</p> 9963 </li> 9964 9965 <li>cut/paste only copies 8-bit characters.</li> 9966 9967 <li>logging is disabled in the wide-character 9968 configuration</li> 9969 9970 <li>printing only writes 8-bit characters.</li> 9971 9972 <li>input only does 8-bit characters. This is the area that 9973 I know least about.</li> 9974 </ul> 9975 </li> 9976 </ul> 9977 9978 <h1><a name="xterm_96" id="xterm_96">Patch #96 - 1999/4/19 - 9979 XFree86 3.9Pj</a></h1> 9980 9981 <ul> 9982 <li>modify Makefile.in to work with configure script's --srcdir 9983 option. (patch by Jeremy Buhler 9984 <jbuhler@cs.washington.edu>)</li> 9985 9986 <li>add checks for 'echo -n' equivalent for 8colors.sh and 9987 16colors.sh scripts (reported by Vikas Agnihotri).</li> 9988 9989 <li>improve logic that looks for bold fonts to allow for 9990 wildcards in the specification for normal fonts, and to ensure 9991 that if a bold font is specified as normal, that xterm will 9992 simulate a bold version of that using a one-pixel offset 9993 overstrike (reported by Henrik Harmsen 9994 <harmsen@erv.ericsson.se>).</li> 9995 9996 <li>correct horizontal spacing of double width line-drawing 9997 characters that xterm simulates.</li> 9998 9999 <li>improve support for Unix98 PTY's, using patch in Debian bug 10000 report #35650, by Topi Miettinen 10001 <Topi.Miettinen@medialab.sonera.fi>. Andreas Jaeger says 10002 this also corrects a permissions problem reported by 10003 cat@zip.net.au</li> 10004 10005 <li>modify initial-erase logic to ensure that 10006 <code>ttyModes</code> resource overrides it.</li> 10007 </ul> 10008 10009 <h1><a name="xterm_95" id="xterm_95">Patch #95 - 1999/4/5 - 10010 XFree86 3.9Ph</a></h1> 10011 10012 <ul> 10013 <li>modify primary DA response to allow a '1' parameter.</li> 10014 10015 <li>add printer and national replacement character sets to 10016 VT220 primary DA response.</li> 10017 10018 <li>document primary and secondary DA responses in 10019 ctlseqs.ms</li> 10020 10021 <li>use the patch number (e.g., 95) in the secondary DA 10022 response, providing user applications a means of determining 10023 the version of xterm for feature comparison (request by Bram 10024 Moolenaar).</li> 10025 10026 <li>make xterm respond to secondary DA when the decTerminalID 10027 is set for VT100.</li> 10028 10029 <li>limit user-defined keys (DECUDK) to VT220-style keyboard 10030 when sunKeyBoard resource is true.</li> 10031 10032 <li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with 10033 Glibc-2.1 and no Unix98 PTY support (patch from Andreas Jaeger 10034 <aj@arthur.rhein-neckar.de>)</li> 10035 10036 <li>add optional feature (resource and command-line options) to 10037 make xterm use the PTY's sense of erase character on startup, 10038 rather than requiring it to be \177, or set the PTY's erase 10039 character to match xterm's configuration. Note that while 10040 $TERMCAP is modified to reflect the actual configuration, the 10041 terminfo kdch1 string is not (request by Dirk H Hohndel 10042 <hohndel@suse.de>)</li> 10043 10044 <li>improve scripts in vttests to work with newer shells that 10045 do not use 'echo -n'.</li> 10046 10047 <li>add fonts.sh example script</li> 10048 10049 <li>correct inequality in handling of "#1" font 10050 specification.</li> 10051 10052 <li>correct call to XGetWMNormalHints() used for computing 10053 maximum screen size; the size hints may not have been set.</li> 10054 10055 <li>begin implementation of support for wide-characters 10056 (configure option --enable-wide-chars defines OPT_WIDE_CHARS, 10057 invoke xterm with -wc option to activate this feature). This 10058 patch optionally widens internal data structures, invokes the 10059 16-bit text output rather than the 8-bit version and adds some 10060 tables.</li> 10061 </ul> 10062 10063 <h1><a name="xterm_94" id="xterm_94">Patch #94 - 1999/3/27 - 10064 XFree86 3.9Pf</a></h1> 10065 10066 <ul> 10067 <li>further fixes for terminfo: ka1, ka3, etc., differ between 10068 the default xterm-xfree86 and xterm-vt220 entries.</li> 10069 10070 <li>change default (with sunKeyboard resource false) behavior 10071 of the editing keypad "Delete" to send a 127, like xterm-r6. 10072 The VT220-style <code><ESC>[3~</code> is sent when 10073 sunKeyboard is true (reported by Tomas Vanhala).</li> 10074 10075 <li>add parameters to function keys to indicate if shift, 10076 control or alt are set. The codes are based on a description of 10077 a DEC VT510 with a PC keyboard, from Jeffrey Altman 10078 <jaltman@watsun.cc.columbia.edu>.</li> 10079 10080 <li>add control sequence 1035, set-num-lock action and num-lock 10081 menu entry to control the use of the NumLock and Alt keys for 10082 the Sun/PC and VT220 keyboard extensions.</li> 10083 10084 <li>implement DECSET/DECRST numeric keypad (DECNKM) mode.</li> 10085 10086 <li>modify terminfo and termcap to use recommended "X Window" 10087 or "X11" names rather than "X Windows" (reported by Tomas 10088 Vanhala).</li> 10089 10090 <li>suppress translation of shifted keypad "+" when sunKeyboard 10091 is true.</li> 10092 10093 <li>workaround unexpected behavior (perhaps bug) in 10094 XmbLookupString, which returns trash in the string buffer for 10095 numlock and control-key combined with keypad-keys.</li> 10096 10097 <li>modify ScrollBarReverseVideo() to keep scrollbar border 10098 visible when reverse video is toggled.</li> 10099 10100 <li>correct missing case for parameter 17 (set highlight color) 10101 in dynamic colors control sequences.</li> 10102 10103 <li>extend dynamic colors control sequences to allow users to 10104 determine the colors and font which are currently active.</li> 10105 10106 <li>minor tweak to OSC responses, to use BEL if the application 10107 used that to end the request, rather than ST. This works better 10108 with shell scripts, which may not handle an 10109 <code><ESC>backslash</code> very well.</li> 10110 10111 <li>separate menu settings for reverse video from that done 10112 under program control.</li> 10113 10114 <li>corrected ifdef's for menus, which did not allow tek4014 to 10115 be suppressed properly (reported by Clint Olsen).</li> 10116 10117 <li>changes for Linux-2.2.x with GLibc-2.1 and /dev/ptmx 10118 support (integrated patch from Pavel Roskin): 10119 10120 <ul> 10121 <li>main.c and resize.c were using different rules to 10122 determine whether ATT should be defined (actually 10123 USE_USG_PTYS is more apt).</li> 10124 10125 <li>copy definitions from main.c to resize.c to prevent 10126 sys/stream.h and sys/ptem.h from inclusion when SYSV is not 10127 defined</li> 10128 10129 <li>define CNUL if not already defined like other 10130 variables.</li> 10131 10132 <li>/dev/tty does exist in Linux, but it doesn't mean, it 10133 should be used. Therefore EACCES is now an acceptable 10134 result.</li> 10135 10136 <li>ifdef'd several calls such as <code>ioctl (ptyfd, 10137 I_PUSH, "ptem")</code> to build on Linux (I_PUSH is not 10138 defined when sys/stropts.h is not included).</li> 10139 </ul> 10140 </li> 10141 10142 <li>initialize second "ltc" variable in main.c (reported by 10143 David Dawes).</li> 10144 10145 <li>provide definition for USE_USG_PTYS in screen.c</li> 10146 10147 <li>add resource-files to install rule in standalone 10148 Makefile.in</li> 10149 10150 <li>add sample scripts to illustrate titlebar controls, 10151 resizing and colors.</li> 10152 </ul> 10153 10154 <h1><a name="xterm_93" id="xterm_93">Patch #93 - 1999/3/14 - 10155 XFree86 3.9Pd</a></h1> 10156 10157 <p>Here are several fixes and minor enhancements. The chief ones 10158 are the fixes for NumLock mode and reverse video, since we had 10159 become used to working around the problems.</p> 10160 10161 <ul> 10162 <li>remove kfnd/kll/kslt strings from terminfo, because curses 10163 applications do not necessarily return khome/kend pairs 10164 (reported by Vikas Agnihotri).</li> 10165 10166 <li>implement NumLock resource which overrides the keyboard 10167 tables for the special case of keypad keys. This is a problem 10168 introduced in xterm by X11R6 changes, i.e., an ambiguity which 10169 in effect discarded vt100 keypad support.</li> 10170 10171 <li>modify Sun/PC keyboard mode to extend this (emulation of 10172 DEC vt100 keypad) to the remainder of the numeric keypad. Now, 10173 the default operating mode of xterm uses the keyboard tables 10174 as-is (except if the NumLock mode overrides), but provides good 10175 vt100 keypad compatibility if the Sun/PC keyboard menu item is 10176 checked.</li> 10177 10178 <li>separate command-line settings for reverse video from that 10179 done under program control. This is a problem which was 10180 introduced by X11R6. Though <em>correct</em>, most users are 10181 confused by allowing the reset command to undo the effect of 10182 the command-line <kbd>-rv</kbd> option.</li> 10183 10184 <li>add description of function keys, keypad and cursor keys to 10185 ctlseqs.ms</li> 10186 10187 <li>add terminfo entries for xterm-vt52, xterm-sun and 10188 xterm-hp</li> 10189 10190 <li>correct typo (missing case value) for DECSET 35, 10191 enable/disable shifted keypad action and a few compiler 10192 warnings (reported by Zdenek Sekera <zs@sgi.com>).</li> 10193 10194 <li>correct reporting of color values 8-15 in DECRQSS (reported 10195 by Vikas Agnihotri).</li> 10196 10197 <li>modify parsing of ttyModes resource to recognize "^-" as 10198 "undef" (requested by Tomas Vanhala).</li> 10199 10200 <li>integrate/extend changes to add iconify/maximize actions 10201 (from Edward S. Arthur <eda@ultranet.com>).</li> 10202 10203 <li>add control sequences for maximizing/restoring window, and 10204 for reporting maximum screen size.</li> 10205 10206 <li>add 'interpret' action, to support local function-key 10207 interpretation. Used properly, this makes most of the 10208 specialized actions of xterm redundant.</li> 10209 10210 <li>add control sequence private modes 1051, 1052 and 1052, for 10211 setting the Sun and HP function key modes, and for setting the 10212 Sun/PC keyboard mode.</li> 10213 10214 <li>add configure option --disable-maximize</li> 10215 10216 <li>add configure option --disable-num-lcok</li> 10217 10218 <li>extend descriptions of configure script options in 10219 INSTALL.</li> 10220 </ul> 10221 10222 <h1><a name="xterm_92" id="xterm_92">Patch #92 - 1999/2/5 - 10223 XFree86 3.9Nz</a></h1> 10224 10225 <ul> 10226 <li>increase buffer size for tgetent (i.e., termcap) to 1500. 10227 This fixes a problem where <em>screen</em> is built using 10228 ncurses or GNU termcap and <em>xterm</em> is built using the 10229 standard termcap interface. The former does not limit the 10230 termcap size, while the latter is assumed to be no longer than 10231 1023 characters. The <em>screen</em> program's termcap entry is 10232 about 1200 characters long.</li> 10233 10234 <li>change update_menu_item() to a function, to simplify 10235 debugging. This also reduces the executable by 4Kb.</li> 10236 10237 <li>add control sequences for DECSET 30, 1010, 1011 like rxvt 10238 (enable or disable some features that were only settable via 10239 resources or command line arguments).</li> 10240 10241 <li>add control sequence for DECSET 35, which enables/disables 10242 the shifted keypad functions.</li> 10243 10244 <li>add support for switching font sizes, by stepping through 10245 the font menu using shifted keypad plus and minus.</li> 10246 10247 <li>correct missing initialization of tekInhibit and tekSmall 10248 resources.</li> 10249 10250 <li>correct ifdef's in charproc.c for XtNgeometry and 10251 XtCGeometry (reported by Bram Moolenaar).</li> 10252 </ul> 10253 10254 <h1><a name="xterm_91" id="xterm_91">Patch #91 - 1999/1/21 - 10255 XFree86 3.9Nw</a></h1> 10256 10257 <ul> 10258 <li>Implement logic to translate input characters which are 10259 mapped when in vt220 National Replacement Character mode 10260 (requested by Tomas Vanhala).</li> 10261 10262 <li>Resync configure scripts with my patches to autoconf 10263 2.13</li> 10264 10265 <li>Change order of -lXmu and -lXext to accommodate cygwin32 10266 (reported by Vikas Agnihotri).</li> 10267 10268 <li>Add "-ti" option to set terminal emulation level from 10269 command line rather than via resource.</li> 10270 10271 <li>Simplify some of the preprocessor logic using #elif.</li> 10272 </ul> 10273 10274 <h1><a name="xterm_90" id="xterm_90">Patch #90 - 1998/12/13 - 10275 XFree86 3.9Nq</a></h1> 10276 10277 <p>This implements several small fixes and enhancements. The 10278 chief one implements fallback support for line drawing characters 10279 with fonts that do not include those characters. But I 10280 implemented that last.</p> 10281 10282 <ul> 10283 <li>If any of the glyphs in positions 0-31 (used by xterm to 10284 implement the VT100 alternate character set) are zero-sized 10285 (i.e., missing), xterm will reserve a normal space for the 10286 glyph when drawing. I implemented a simple stroke-drawing 10287 function to draw the line-drawing characters and a couple of 10288 the other (simpler) characters such as diamond. (This was 10289 suggested by Vikas Agnihotri).</li> 10290 10291 <li>Modify the computation of doublesize characters to work 10292 around font servers which shift the scaled characters up/down 10293 or do not give the correct width.</li> 10294 10295 <li>Add popup menu item and corresponding resource settings to 10296 disable the font-scaling logic for doublesize characters to 10297 work around (older) font servers which simply do not draw the 10298 fonts scaled to the size that they said they would. I see this 10299 problem on a SunOS system running X11R5; the X11R6 servers seem 10300 well behaved.</li> 10301 10302 <li>Implement new escape sequence, private mode 1049, which 10303 combines the switch to/from alternate screen mode with screen 10304 clearing and cursor save/restore. Unlike the existing escape 10305 sequence, this clears the alternate screen when switching to it 10306 rather than when switching to the normal screen, thus retaining 10307 the alternate screen contents for select/paste operations. 10308 10309 <p>When I implemented the popup menu entry to toggle between 10310 the normal and alternate screens, I considered only pasting 10311 from the normal screen to the alternate; this improvement 10312 allows either direction.</p> 10313 </li> 10314 10315 <li>Changed the termcap and terminfo for xterm-xfree86 and 10316 xterm-8bit to use the new 1049 private mode.</li> 10317 10318 <li>Modify the logic which switches between normal and 10319 alternate screens so that the save/restore cursor operations 10320 apply only to the current screen. That means that applications 10321 which use the terminfo smcur/rmcur or termcap ti/te 10322 capabilities will restore the cursor to the original position 10323 on the normal screen rather than to the most recent place where 10324 a save-cursor operation was performed. 10325 10326 <p>I note that a real VT100 terminal would not behave in this 10327 way, but it is a moot point since the VT100 does not 10328 implement alternate screen, and therefore the save/restore 10329 cursor sequence would not be used in this context. I reviewed 10330 the logic which switches between normal and alternate screens 10331 based on some recent newsgroup postings as well as a proposed 10332 patch in the Debian group which attempts to do this (the 10333 patch has a bug, however, so I did not use it).</p> 10334 </li> 10335 10336 <li>Add popup menu entry for toggling the titeInhibit 10337 resource.</li> 10338 10339 <li>Add new resource answerbackString, which overrides the 10340 default "xterm" returned by xterm when responding to an ENQ 10341 (control/E) character (request by Rajesh Vaidheeswarran 10342 <rv@fore.com>).</li> 10343 10344 <li>Add new resource keyboardDialect for setting the NRC 10345 display character set (request by Tomas Vanhala, who notes that 10346 I should add logic to translate the keyboard as well).</li> 10347 10348 <li>Add new command-line option and corresponding resources for 10349 making xterm generate escape sequences compatible with HP 10350 terminals. Like the existing Sun escape sequences, this is 10351 available as a popup menu item. It is enabled by the configure 10352 script with the option --enable-hp-fkeys (requested by Toni 10353 Mueller <sales@oeko.net>).</li> 10354 10355 <li>Add configure script option --disable-boxchars to disable 10356 the fallback support for line drawing characters.</li> 10357 10358 <li>Fix ifdef's for configure script --disable-ansi-color, and 10359 reviewed all configure options to ensure that all can be 10360 enabled/disabled appropriately.</li> 10361 10362 <li>Update config.guess and config.sub, from Lynx.</li> 10363 </ul> 10364 10365 <h1><a name="xterm_89" id="xterm_89">Patch #89 - 1998/11/20 - 10366 XFree86 3.9Nm</a></h1> 10367 10368 <p>This patch completes the implementation of double-sized 10369 character support for the VT100 emulation, and fixes a few minor 10370 bugs:</p> 10371 10372 <ul> 10373 <li>corrected the cursor position in HideCursor, which did not 10374 multiply the column by two when in doublesize mode. This bug, 10375 which did not appear in normal use, dates back to my original 10376 <a href="#xterm_44">changes</a> to partly implement 10377 double-sized characters. I noticed it when cat'ing a typescript 10378 from vttest's double-sized character test.</li> 10379 10380 <li>ensure that the current line is repainted when switching 10381 between single and double width characters.</li> 10382 10383 <li>reduce the number of bits used for double-sized character 10384 coding from 3 to 2, to make more room for soft-font codes.</li> 10385 10386 <li>copy newer ifdef's from the XFree86 3.3.3 release's main.c, 10387 which address details of glibc and powerpc.</li> 10388 10389 <li>moved definition of DECL_ERRNO in xterm.h to match XFree86 10390 3.3.3</li> 10391 10392 <li>modify <em>resize</em> to remove the ifdef on SVr4 that 10393 suppressed printing the script for $LINES and $COLUMNS. 10394 Solaris' resize utility does this; suppressing the behavior is 10395 unnecessary.</li> 10396 </ul> 10397 10398 <p>I tested the double-sized characters using vttest and the 10399 xfsft patch. These fonts worked reasonably well:</p> 10400 <pre> 10401 -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1 10402 9x15 10403</pre> 10404 10405 <p>The iso8859 font does not include box characters, of course, 10406 but looks good.</p> 10407 10408 <h1><a name="xterm_88" id="xterm_88">Patch #88 - 1998/10/31 - 10409 XFree86 3.9Nk and 3.3.2h</a></h1> 10410 10411 <p>This refines my #85 patch by checking for a case where the 10412 font server returns a bold font that does not quite correspond to 10413 the normal font. When I asked for a bold version of the 6x12 10414 font, the font server returned a near equivalent where the ascent 10415 and descent values did not match, causing xterm to leave lines 10416 across the display. This patch makes xterm reject that type of 10417 mismatch, falling back to the old font behavior.</p> 10418 10419 <h1><a name="xterm_87" id="xterm_87">Patch #87 - 1998/10/21 - 10420 XFree86 3.9Nj and 3.3.2f</a></h1> 10421 10422 <p>This corrects a problem reported by Stefan Dalibor. My table 10423 entries for the <em>printerExtent</em> and 10424 <em>printerFormFeed</em> resources used the wrong types for 10425 sizeof, causing the printer to not work properly on some 10426 platforms because the <em>printAttributes</em> resource was 10427 overwritten (e.g., Digital Unix with DEC Alpha).</p> 10428 10429 <p>I reviewed all of the resource table entries and fixed a 10430 potential problem with <em>resizeGravity</em>, which was typed as 10431 <em>int</em> rather than <em>XtGravity</em>.</p> 10432 10433 <h1><a name="xterm_86" id="xterm_86">Patch #86 - 1998/10/14 - 10434 XFree86 3.9Nj and 3.3.2e</a></h1> 10435 10436 <p>A small fix: when switching to/from the continuous mouse 10437 reporting mode, the event mask was incorrect if xterm was built 10438 under X11R5 because the original data was saved under an ifdef 10439 for active-icon.</p> 10440 10441 <h1><a name="xterm_85" id="xterm_85">Patch #85 - 1998/10/12 - 10442 XFree86 3.9Nj and 3.3.2e</a></h1> 10443 10444 <p>Some cleanup (I noticed the pixel droppings a few months ago 10445 after getting a new 17" monitor):</p> 10446 10447 <ul> 10448 <li>split-out the functions that load/reload fonts for xterm as 10449 new file fontutils.c to extend them to support automatic 10450 loading of bold font corresponding to the normal font. Adapted 10451 logic from EMU 1.3 for this purpose. This fixes most 10452 occurrences of pixel droppings from bold characters.</li> 10453 10454 <li>modified by renaming variables and adding casts to permit 10455 compile with g++.</li> 10456 10457 <li>modify headers so they can all be compiled without order 10458 dependencies, and use bracketed rather than quoting includes to 10459 allow compile from separate directory.</li> 10460 10461 <li>renamed xtermm terminfo entry to xterm-mono, to avoid 10462 conflict with Solaris entry now in ncurses.</li> 10463 </ul> 10464 10465 <h1><a name="xterm_84" id="xterm_84">Patch #84 - 1998/10/9 - 10466 XFree86 3.9Ni and 3.3.2e</a></h1> 10467 10468 <p>Several small fixes and enhancements, including a patch from 10469 Bjorn Helgaas:</p> 10470 10471 <ul> 10472 <li>correct initialization of TERMCAP environment variable, 10473 which was frequently set to garbage on non-Linux systems 10474 because "termcap" and "newtc" contained random data from the 10475 stack.</li> 10476 10477 <li>remove the LINEWRAPPED attribute from lines as they are 10478 cleared. Previously, the attribute was set but never 10479 cleared.</li> 10480 10481 <li>make word and line selections work even when lines are 10482 wrapped by xterm. Previously, selections were limited to one 10483 screen line.</li> 10484 </ul> 10485 10486 <p>as well as</p> 10487 10488 <ul> 10489 <li>modify logic for line-wrapping to reset the associated flag 10490 if the application deletes a character. This fixes a problem 10491 reported by Bjorn Helgaas where word/line selection would still 10492 wrap even after deleting characters from the first line.</li> 10493 10494 <li>add kll/kH capabilities to xterm-xfree86 entries in termcap 10495 and terminfo (request by Michael Schroeder).</li> 10496 10497 <li>shorten descriptions in termcap to make resolved entries 10498 all shorter than 1023 character limit.</li> 10499 10500 <li>use DECSTR control sequence to shorten initialization and 10501 reset strings in xterm-xfree86 termcap and terminfo.</li> 10502 10503 <li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match 10504 termcap.</li> 10505 10506 <li>correct typos in initialization and reset strings in 10507 xterm-r5 termcap and terminfo.</li> 10508 10509 <li>disable special translations of key symbols (the backarrow 10510 key, the editing keypad and the keypad "+") when a modifier 10511 other than shift, control or numlock is used. This makes xterm 10512 handle the meta key as expected by people using emacs (reported 10513 by Pete Harlan <harlan@pointofchoice.com> in 10514 linux.debian.user newsgroup).</li> 10515 </ul> 10516 10517 <h1><a name="sync_83" id="sync_83">Resync #83 - 1998/10/7 - 10518 XFree86 3.3.2e</a></h1> 10519 10520 <p>Merge changes through patch #83 with the 3.3.2e version.</p> 10521 10522 <p>This follows a change from XFree86 CVS which adds checks for 10523 non-null return from malloc (patch by Matthieu Herrb).</p> 10524 10525 <h1><a name="xterm_83" id="xterm_83">Patch #83 - 1998/8/25 - 10526 XFree86 3.9Nb</a></h1> 10527 10528 <p>Several small fixes and enhancements:</p> 10529 10530 <ul> 10531 <li>add configure test to infer if xterm should be installed 10532 setuid based on previously installed xterm (reported by Stephen 10533 Marley and Stefan Dalibor).</li> 10534 10535 <li>implement quasi-continuous mouse reporting (integrated 10536 patch by Jason Bacon).</li> 10537 10538 <li>correct control sequences transmitted by function keys F1 10539 to F4 when sunFunctionKeys resource is true (it was still using 10540 the VT100 control sequences).</li> 10541 10542 <li>modify handling of backarrow key so that the control 10543 modifier toggles the backspace/delete interpretation set by the 10544 backarrowKey resource.</li> 10545 10546 <li>limit the row and column values used to report mouse 10547 position.</li> 10548 </ul> 10549 10550 <p>From resync with XFree86 3.9Nb:</p> 10551 10552 <ul> 10553 <li>add support for the VSTATUS control character (patch by 10554 Robert Earl <rearl@teleport.com>).</li> 10555 </ul> 10556 10557 <h1><a name="xterm_82" id="xterm_82">Patch #82 - 1998/7/15 - 10558 XFree86 3.9Aj</a></h1> 10559 10560 <p>Bug fix for patch #81:</p> 10561 10562 <ul> 10563 <li>remove an #undef for NBBY, which caused compile problem on 10564 FreeBSD (reported by David Dawes).</li> 10565 </ul> 10566 10567 <h1><a name="xterm_81" id="xterm_81">Patch #81 - 1998/7/14 - 10568 XFree86 3.9Aj</a></h1> 10569 10570 <p>More bug fixes:</p> 10571 10572 <ul> 10573 <li>fix conflicting ifdef's for TIOCSLTC when building with 10574 Linux on AXP aka DEC Alpha (reported by Robin Cutshaw).</li> 10575 10576 <li>correction to patch #79, move assignment for 10577 *utptr->ut_user = 0; back into non-SVR4 ifdef in main.c, 10578 since this clobbers username on Solaris 2.5.1 (analysis by Will 10579 Day <willday@rom.oit.gatech.edu>).</li> 10580 10581 <li>corrected khome/kend in xterm-8bit terminfo 10582 description.</li> 10583 10584 <li>improve cursor color by making it always the reverse of 10585 fg/bg unless the cursorColor resource is set, i.e., to 10586 something other than the default foreground (reported by Vikas 10587 Agnihotri and Bram Moolenaar).</li> 10588 10589 <li>minor fixes for compiler warnings, including a syntax error 10590 in the AMOEBA ifdef's.</li> 10591 </ul> 10592 10593 <p>From resync with XFree86 3.9Aj:</p> 10594 10595 <ul> 10596 <li>correction to patch #73, supply missing #else for fallback 10597 definitions of size_t, time_t (Robin Cutshaw 10598 <robin@intercore.com>).</li> 10599 </ul> 10600 10601 <h1><a name="xterm_80" id="xterm_80">Patch #80 - 1998/6/29 - 10602 XFree86 3.9Ai</a></h1> 10603 10604 <p>This fixes a couple of items leftover or introduced by patch 10605 79:</p> 10606 10607 <ul> 10608 <li>take out the logic that suppresses editing-keypad in vt100 10609 mode (those keys are too valuable to give up for a fine point 10610 of emulation).</li> 10611 10612 <li>corrected a couple of places in terminfo where I missed 10613 using the vt220-style editing-keypad codes for Find/Select 10614 (mapped to Home/End).</li> 10615 10616 <li>checked termcap file against terminfo, fix several places 10617 where it was inconsistent.</li> 10618 </ul> 10619 10620 <h1><a name="xterm_79" id="xterm_79">Patch #79 - 1998/6/28 - 10621 XFree86 3.9Ai</a></h1> 10622 10623 <p>This patch fixes several small bugs:</p> 10624 10625 <ul> 10626 <li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas 10627 Vanhala).</li> 10628 10629 <li>add new resource 'oldXtermFKeys' which provides backward 10630 compatibility for F1-F4 control sequences with TOG's 10631 xterm.</li> 10632 10633 <li>determine the server's default foreground/background Pixel 10634 values, needed if the -flipPixels X server option is used 10635 (reported by David Dawes).</li> 10636 10637 <li>correct logic for F1-F4 function keys so that they generate 10638 VT100 compatible escape sequences in VT220 mode, since that is 10639 what the numeric keypad is supposed to do (reported by Ron 10640 Johnson, Jr. <ronjohn@communique.net>).</li> 10641 10642 <li>modify logic for editing keypad to work more like VT220: 10643 don't pass those codes in VT100-mode unless oldXtermFKeys mode 10644 is set.</li> 10645 10646 <li>correct an interaction with the editing-keypad logic that 10647 prevented backarrow key from sending a 127 for the delete key 10648 (the 'remove' escape sequence was being sent instead).</li> 10649 10650 <li>use return-value from getuid() rather than the parameter, 10651 to work on systems which do not update the latter (patch by 10652 Kevin Buhr <buhr@mozart.stat.wisc.edu>)</li> 10653 10654 <li>correct scrollbar border color when toggling to/from secure 10655 keyboard mode (patch by Jeff Uphoff 10656 <juphoff@tarsier.cv.nrao.edu>)</li> 10657 10658 <li>modifications to terminfo file: 10659 10660 <ul> 10661 <li>rename description to xterm-xfree86, adding an entry 10662 'xterm' which is derived from xterm-xfree86 to simplify 10663 customization.</li> 10664 10665 <li>change string for kdch1 from \177 to \E[3~, to address 10666 complaints from Debian developers. (This applies to the key 10667 labeled "Delete", and does not affect the backarrow 10668 key).</li> 10669 10670 <li>add user-strings u6, u7, u8, u9 to entries to make them 10671 work with Daniel Weaver's "tack" program.</li> 10672 10673 <li>modify xterm-24, xterm-bold, xterm-boldso entries to 10674 disentangle them from explicit dependency upon 10675 xterm-xfree86.</li> 10676 10677 <li>add generic 'xterm-color' entry.</li> 10678 10679 <li>minor corrections to xterm-xfree86, xterm-8bit, 10680 xterm-r5 and xterm-r6 entries.</li> 10681 </ul> 10682 </li> 10683 </ul> 10684 10685 <h1><a name="xterm_78" id="xterm_78">Patch #78 - 1998/6/3 - 10686 XFree86 3.9Ah and 3.3.2</a></h1> 10687 10688 <p>Again, most of the bulk of this patch is for ANSI conversion. 10689 I used the IRIX compiler's -wlint option to find the remaining 10690 functions that use K&R syntax (since gcc does not do this 10691 properly). Also, I changed the logic in the print code slightly 10692 to close unwanted files before opening a pipe to the printer. 10693 This may help in some configurations where the line printer hangs 10694 until xterm closes the pipe.</p> 10695 10696 <h1><a name="xterm_77" id="xterm_77">Patch #77 - 1998/5/26 - 10697 XFree86 3.9Ah and 3.3.2</a></h1> 10698 10699 <p>Most of the bulk of this patch is to convert the extended C 10700 (K&R functions with prototypes) to ANSI. I verified that on 10701 Linux by comparing object files, to ensure that I did not, for 10702 example, interchange parameters in the function declarations.</p> 10703 10704 <p>The rest of the patch fixes several minor bugs, and adds a few 10705 features:</p> 10706 10707 <ul> 10708 <li>back-out my use of ncurses "captoinfo -f" option 10709 (if/then/else/endif) formatting, since ncurses did not 10710 correctly filter embedded newlines in terminfo capability 10711 strings until _after_ ncurses 4.1, thus corrupting 10712 setf/setb/sgr strings (reported by Darren Hiebert and 10713 others).</li> 10714 10715 <li>document SGR 8, 28 (invisible/visible), add corresponding 10716 capabilities to terminfo description. 10717 10718 <p>I would also add the 'prot protected capability, but the 10719 control sequences for that would not be recognized or 10720 properly ignored by the older xterm programs.</p> 10721 </li> 10722 10723 <li>modify ChangeGroup to not suppress a null-resource, but 10724 treat it as an empty string (recommended by Stefan 10725 Dalibor).</li> 10726 10727 <li>add printerAutoClose resource to control whether printer is 10728 closed when going offline. More than one person reports 10729 problems (on Solaris 2.6 and Digital Unix 4.0) getting the 10730 printer to proceed unless xterm exits; I think that it is a 10731 problem flushing the pipe. Closing it ought to flush it.</li> 10732 10733 <li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N 10734 (but adapt XtStackAlloc/XtStackFree for clarity, as well as 10735 fixing memory leak).</li> 10736 10737 <li>change calls on FillCurBackground to ClearCurBackground, in 10738 effect using XClearArea rather than XFillRectangle when 10739 clearing as a side-effect of scrolling and insertion (patch by 10740 Alexander V Lukyanov)</li> 10741 10742 <li>correct some places where insert/delete did not _move_ the 10743 color attributes, using memmove (patch by Alexander V Lukyanov 10744 <lav@long.yar.ru>)</li> 10745 10746 <li>add ifdef's for __CYGWIN32__, for port to cygnus version 10747 B19.1 (patch by Andrew Sumner 10748 <andrew_sumner@hotmail.com>).</li> 10749 10750 <li>remove #define for hpux that turned on USE_SYSV_ENVVARS, 10751 since this causes some applications (such as 'less') to get 10752 incorrect $LINES and $COLUMNS values (reported by Clint 10753 Olsen).</li> 10754 10755 <li>modify behavior for HP-UX, to set the "reserved" process 10756 group controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does 10757 not produce an error (patch by Ben Yoshino 10758 <ben@wiliki.eng.hawaii.edu>).</li> 10759 10760 <li>correct length of underlining, reducing it by one pixel to 10761 avoid leaving a dot when the application does not clear the 10762 whole screen I noticed this only recently myself (and other 10763 people as well); it depends on the font chosen. A 6x10 font 10764 shows it, but the other fonts from XTerm.ad do not. I also see 10765 a similar problem with the emulation of bold fonts. (patch by 10766 Sergei Laskavy <Laskavy@cs.msu.su>).</li> 10767 10768 <li>add include for Xos.h to xterm.h, to ensure proper 10769 definitions (reported by Holger Veit).</li> 10770 10771 <li>update config.guess to recognize Unixware 2.1 and 7 (patch 10772 by Mike Hopkirk <hops@sco.com>).</li> 10773 </ul> 10774 10775 <h1><a name="xterm_76" id="xterm_76">Patch #76 - 1998/5/8 - 10776 XFree86 3.9Ah and 3.3.2</a></h1> 10777 10778 <p>A fix for the print-window function, and some minor 10779 cleanup:</p> 10780 10781 <ul> 10782 <li>modify logic that closes pipe in the print-window function 10783 to not use pclose, which does not work on all systems, since I 10784 did not open the pipe with popen (reported by Stefan 10785 Dalibor).</li> 10786 10787 <li>correct name of $(EXTRA_LOAD_FLAGS) imake variable 10788 (reported by Stefan Dalibor).</li> 10789 10790 <li>guard logic in ChangeGroup() function against null pointer 10791 (reported by Stefan Dalibor).</li> 10792 10793 <li>ensure that menu entry for toggling sunKeyboard resource is 10794 initialized (reported by Branden Robinson 10795 <branden@purdue.edu>).</li> 10796 10797 <li>gcc unused-variable warnings (reported by Bernd Ernesti 10798 <bernd@arresum.inka.de>)</li> 10799 10800 <li>rename global variable 'buffer' to 'VTbuffer'</li> 10801 </ul> 10802 10803 <h1><a name="xterm_75" id="xterm_75">Patch #75 - 1998/5/7 - 10804 XFree86 3.9Ah and 3.3.2</a></h1> 10805 10806 <p>This incorporates fixes from several people, as well as some 10807 improvements that I made based on feedback from users:</p> 10808 10809 <ul> 10810 <li>add option to standalone configure script, 10811 "--with-own-terminfo-dir", which causes xterm to pass a 10812 predefined value of $TERMINFO to the application. Also use this 10813 value in install rule "make install-ti", for the standalone 10814 configure script. (patch & feedback from Tor Lillqvist 10815 <tml@hemuli.tte.vtt.fi>)</li> 10816 10817 <li>change ifdef's for "hpux" to "__hpux" (patch by Tor 10818 Lillqvist). The imake configuration uses the former, but the 10819 latter is predefined by HP's compilers.</li> 10820 10821 <li>define USE_SYSV_ENVVARS for HP-UX, curses does not use 10822 $TERMCAP (patch by Tor Lillqvist).</li> 10823 10824 <li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's. 10825 Works both on HP-UX 9 and 10. (patch by Tor Lillqvist).</li> 10826 10827 <li>modify configure script to obtain the $(EXTRA_LOADFLAGS) 10828 value from imake, needed for compiling under DEC OSF/1 10829 (reported by Stefan Dalibor)</li> 10830 10831 <li>modify print-window action so that the printer is closed 10832 after printing a window, unless the printer was already opened 10833 (i.e., by an application running in the window). This makes the 10834 printing complete without having to exit xterm, since not all 10835 systems treat fflush through a pipe very well (reported by 10836 Stefan Dalibor)</li> 10837 10838 <li>modify printing code so that the ^M's are not printed if 10839 the printAttribute resource is set to zero (request by Stefan 10840 Dalibor).</li> 10841 10842 <li>correct typo in xterm.man, for the default value of 10843 printAttribute (reported by Stefan Dalibor).</li> 10844 10845 <li>correct printing code so that the alternate character set 10846 is printed, like other attributes, with escape sequences.</li> 10847 10848 <li>correct termcap description, removing spurious 'm' 10849 character from the 'op' capability (reported by Greg Woods 10850 <woods@weird.com>).</li> 10851 10852 <li>correct trace code so that the initial timestamp is 10853 set.</li> 10854 10855 <li>correct/modify utmp data for the Linux glibc 2 10856 configuration, so that the ut_line member is set before using 10857 it to update wtmp (patch by Bill Nottingham 10858 <wen1@cec.wustl.edu>).</li> 10859 </ul> 10860 10861 <h1><a name="xterm_74" id="xterm_74">Patch #74 - 1998/4/27 - 10862 XFree86 3.9Ag and 3.3.2</a></h1> 10863 10864 <p>This corrects a couple of recent bugs and adds a new 10865 resource:</p> 10866 10867 <ul> 10868 <li>modify definition of TRACE_CHILD so that it does not 10869 conflict with ifdef's for USE_USG_PTYS in main.c (reported by 10870 Vikas Agnihotri <VikasA@att.com> and Stefan 10871 Dalibor).</li> 10872 10873 <li>correct ownership of file (actually pipe) written by the 10874 print controls. When undoing the setuid changes in patch #69, I 10875 overlooked this. Now xterm forks a process which resets setuid 10876 and routes the printer data as the real user.</li> 10877 10878 <li>add a new resource, "printAttributes", which controls 10879 whether color attributes (or any attributes) are sent to the 10880 printer.</li> 10881 </ul> 10882 10883 <h1><a name="xterm_73" id="xterm_73">Patch #73 - 1998/4/25 - 10884 XFree86 3.9Ag and 3.3.2</a></h1> 10885 10886 <p>This patch does the following:</p> 10887 10888 <ul> 10889 <li>implements a print-window facility for xterm. Though useful 10890 in itself, I added it as part of some debugging which I am 10891 doing. (Occasionally during an exposure event xterm fails to 10892 restore the proper colors for highlighted text, and printing 10893 the screen will show the internal states nicely). 10894 10895 <p>The print facility now also displays the color 10896 information. (I will probably make this a resource).</p> 10897 </li> 10898 10899 <li>modified the xterm-16color terminfo description to use the 10900 setaf and setab strings, which is a little more efficient 10901 (requested by Stephen Marley).</li> 10902 10903 <li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, 10904 unistd.h, errno) making the configure script test for these. 10905 10906 <p>I removed the symbols Size_t and Time_t, since they no 10907 longer serve a useful purpose.</p> 10908 </li> 10909 10910 <li>added some debugging traces to show the initial screen 10911 size, and the success/failure of the ioctl calls pass handle 10912 window resizing events to the application (for Clint Olsen). 10913 10914 <p>I also modified the trace code to produce two files since 10915 some of the information is produced by the child process. So 10916 now they are Trace-parent.out and Trace-child.out</p> 10917 </li> 10918 10919 <li>updated configure test for ANSI compiler options to handle 10920 a special case for HP-UX 10.x (reported by Clint Olsen).</li> 10921 </ul> 10922 10923 <h1><a name="xterm_72" id="xterm_72">Patch #72 - 1998/4/17 - 10924 XFree86 3.9Ag and 3.3.2</a></h1> 10925 10926 <p>This is a patch from Chris Siebenmann 10927 <cks@hawkwind.utcs.toronto.edu>, which I have cleaned up a 10928 little, and integrated into the configure script.</p> 10929 10930 <p>From his description:</p> 10931 10932 <blockquote> 10933 <p>This set of patches is the latest incarnation of patches 10934 originally written by Ian! D Allen, then of the University of 10935 Waterloo and now of who knows where; I have been carrying them 10936 forward from xterm to xterm ever since about X11R4. What they 10937 do is add an option so that when an iconified xterm receives 10938 output it prepends '*** ' to its icon title and (optionally) 10939 beeps the bell; deiconifying the xterm removes the '*** '. Over 10940 the years I've found this to be incredibly convenient for 10941 monitoring all sorts of low-activity things.</p> 10942 </blockquote> 10943 10944 <h1><a name="xterm_71" id="xterm_71">Patch #71 - 1998/4/12 - 10945 XFree86 3.9Ag and 3.3.2</a></h1> 10946 10947 <p>This patch is a slightly modified version of one by Richard 10948 Braakman, which prevents buffer overflow in the input-method and 10949 preedit-type parsing in xterm. I changed a couple of details to 10950 make the code more maintainable, and looked for similar things - 10951 copying into a fixed-size buffer (found none, though I did spot 10952 an unused variable).</p> 10953 10954 <h1><a name="xterm_70" id="xterm_70">Patch #70 - 1998/3/29 - 10955 XFree86 3.9Af and 3.3.2</a></h1> 10956 10957 <p>This patch corrects some minor bugs in xterm, and fills in 10958 some more details in the VT220 emulation:</p> 10959 10960 <ul> 10961 <li>modify Imakefile to use SpecialCObjectRule for menu and 10962 data modules, making xterm build properly if logging is enabled 10963 (patch by Scott Sewall <scott@iprg.nokia.com>).</li> 10964 10965 <li>restore "ich" capability to terminfo entries, since Michael 10966 Schroeder points out that "ich1" is the one which is the 10967 problem in Solaris vi.</li> 10968 10969 <li>correct color of cursor, which would disappear on 10970 inverse-video since the initialization did not compare the 10971 cursor color against both foreground and background (reported 10972 by Olivier Calle).</li> 10973 10974 <li>correct abbreviation-test for -version and -help options, 10975 making command-line option -vb work (reported by Stefan 10976 Dalibor).</li> 10977 10978 <li>correct a dependency between ifdef's for OPT_I18N_SUPPORT 10979 and OPT_INPUT_METHOD (reported by Stefan Dalibor).</li> 10980 10981 <li>split-out character-set translations as new module 10982 charsets.c, to implement VT220 national replacement character 10983 sets (a mode where some of the characters are displayed as 10984 specific European glyphs). This relies on xterm using an ISO 10985 8859-1 font (approach suggested by Kenneth R. Robinette 10986 <zkrr01@mailbox.neosoft.com>).</li> 10987 10988 <li>correct a missing increment, which made SS2 and SS3 10989 controls repeat the shifted character.</li> 10990 10991 <li>add xterm-nrc to terminfo to illustrate the VT220 national 10992 replacement character sets.</li> 10993 10994 <li>reformat terminfo using new ncurses tic option "-f", which 10995 makes if/then/else/endif expressions easier to read.</li> 10996 </ul> 10997 10998 <h1><a name="xterm_69" id="xterm_69">Patch #69 - 1998/3/16 - 10999 XFree86 3.9Ad and 3.3.2</a></h1> 11000 11001 <p>This corrects the problem in xterm with utmp, reported by 11002 Olivier Calle <olivier@tc.fluke.com> as well as some other 11003 people after the XFree86 3.3.2 release.</p> 11004 11005 <p>The error was introduced by my patch #53 in XFree86 3.9r 11006 (October 1997).</p> 11007 11008 <p>The correction removes the reset of setuid/setgid before the 11009 main event loop, and solves the problem which I had worked around 11010 in a different manner: for some reason, the particular waitpid() 11011 call in creat_as() hangs, does not return when the child process 11012 exits. I changed the ifdef's to force the Linux configuration to 11013 use wait() instead. This call appears to work properly on other 11014 platforms such as SunOS and Solaris.</p> 11015 11016 <p>I also added tests in the standalone configure script to check 11017 for the existence of waitpid().</p> 11018 11019 <h1><a name="xterm_68" id="xterm_68">Patch #68 - 1998/3/4 - 11020 XFree86 3.9Ad and 3.3.1z</a></h1> 11021 11022 <p>This corrects another problem with the logic for 11023 highlightColor resource. As reported by David Dawes:</p> 11024 11025 <blockquote> 11026 <p>I've just noticed a problem with with the "inverse" control 11027 sequence (ESC[7m) with the 3.3.2 xterm. What it does is sets 11028 the background black, and the text the usual foreground colour 11029 rather than simply swapping the foreground/background.</p> 11030 </blockquote> 11031 11032 <p>This appears to be because when I added logic to check that 11033 the highlightColor was distinct from foreground and background 11034 colors, I did not add a further check to see that it was not 11035 black (I would make an explicit check for the resource not being 11036 set, but see nothing definite in the headers that would let me 11037 reference an explicitly-undefined Pixel value, though there are 11038 some implications in xpm.h). But this should work.</p> 11039 11040 <h1><a name="xterm_67" id="xterm_67">Patch #67 - 1998/2/23 - 11041 XFree86 3.9Ad and 3.3.1e</a></h1> 11042 11043 <p>This patch does the following:</p> 11044 11045 <ul> 11046 <li>improve test for highlightColor so that xterm does not 11047 attempt to use that unless it is different from the foreground 11048 and background colors (reported by Stefan Dalibor 11049 <Stefan.Dalibor@informatik.uni-erlangen.de>. 11050 11051 <p>I could not reproduce this until I noticed that the -rev 11052 option exposed it nicely.</p> 11053 </li> 11054 11055 <li>remove ich and ich1 from xterm and xterm-8bit terminfo 11056 descriptions. SVr4 terminfo documents that you must not combine 11057 these with smir/rmir, but ncurses allows it, opening a hole. 11058 Solaris 2.6 vi does not work properly if it is using a terminfo 11059 description when these are combined, since it was written to 11060 accommodate old terminals that required it (reported by Stephen 11061 Marley).</li> 11062 11063 <li>restore 1-pixel overlap of scrollbar border with left edge 11064 of window (reported by Jim Burmeister 11065 <jimb@metrolink.com>).</li> 11066 11067 <li>add a configure option, --enable-logfile-exec, which allows 11068 the user to specify a pipe for logfile. This defines 11069 ALLOWLOGFILEEXEC.</li> 11070 11071 <li>makes the ALLOWLOGFILEEXEC code compile & run, if 11072 configured.</li> 11073 11074 <li>minor documentation nits.</li> 11075 </ul> 11076 11077 <h1><a name="xterm_66" id="xterm_66">Patch #66 - 1998/2/16 - 11078 XFree86 3.9Ad and 3.3.1d</a></h1> 11079 11080 <p>This fixes the problem reported with failure to build the 11081 <em>resize</em> program (BSDI, OSF/1) due to not having 11082 <termcap.h>, by changing the ifdef to one that would be set 11083 only if the file exists (not currently specified, except by the 11084 standalone configure script). We do not really need to include 11085 <termcap.h> to build, but only for a clean compile, since 11086 it may declare the tgetent() prototype. I also updated the 11087 man-page for <em>resize</em>, since I had recently noticed that 11088 it can be used to resize <em>xterm</em> using the "Sun" control 11089 sequences option.</p> 11090 11091 <h1><a name="xterm_65" id="xterm_65">Patch #65 - 1998/2/14 - 11092 XFree86 3.9Ad and 3.3.1c</a></h1> 11093 11094 <p>This is a small patch to xterm's 8-bit terminal description. I 11095 noticed while testing ncurses that I had specified the wrong 11096 (VT100-style) codes for the F1-F4. Xterm only uses VT220-style 11097 function keys in 8-bit mode.</p> 11098 11099 <h1><a name="xterm_64" id="xterm_64">Patch #64 - 1998/2/8 - 11100 XFree86 3.9Ad</a></h1> 11101 11102 <p>This fixes the following problems with xterm:</p> 11103 11104 <ul> 11105 <li>save/restore the ANSI foreground and background colors with 11106 the other visible attributes in the save-cursor and 11107 restore-cursor operations. This works around a problem with 11108 vim, which apparently assumed that switching between the normal 11109 and alternate screens resets the colors (reported by Jim Battle 11110 <jb@chromatic.com>). 11111 11112 <p>It would be nice to implement save/restore cursor as a 11113 stack (and solve this type of problem completely), but that 11114 would lead to incompatibility with applications which assume 11115 they are running with a VT100 or VT220.</p> 11116 </li> 11117 11118 <li>corrects behavior of a restore-cursor operation which does 11119 not follow a save-cursor (it is supposed to set the character 11120 sets to a known initial state).</li> 11121 11122 <li>extends the sunKeyboard resource (and menu toggle) to 11123 modify the home, end and delete keys on a Sun or PC editing 11124 keypad, making them generate codes compatible with DEC VT220's 11125 Find, Select and Remove keys.</li> 11126 11127 <li>corrects a length in checking command-line options, which 11128 caused the "-help" message to not work when X was not 11129 running.</li> 11130 11131 <li>add some detail to the man-page (requested by Jason Bacon 11132 <acadix@execpc.com>)</li> 11133 11134 <li>modify the standalone configure script to ignore the broken 11135 nsl and socket libraries on IRIX 6.2 (the ones on 5.2 also are 11136 broken, so this change just widens the check for the system 11137 version number).</li> 11138 </ul> 11139 11140 <h1><a name="xterm_63" id="xterm_63">Patch #63 - 1998/2/5 - 11141 XFree86 3.9Ad</a></h1> 11142 11143 <p>This is another patch from Bjorn Helgaas 11144 <helgaas@rsn.hp.com>, which I've reviewed (and learned 11145 some). Following are his notes:</p> 11146 11147 <p>I poked around some more and finally got xterm-62 to build and 11148 run cleanly on HP-UX 10.20. Here are the patches. They look sort 11149 of ugly, so here's a little explanation:</p> 11150 11151 <ul> 11152 <li>aclocal.m4: Removed side effects from the AC_CACHE_VAL 11153 commands in CF_FUNC_TGETENT. Previously, LIBS was set inside 11154 AC_CACHE_VAL, which worked fine the first time configure was 11155 run, but failed if there were cached values.</li> 11156 11157 <li>aclocal.m4: Added temporary setting of LIBS before 11158 AC_TRY_LINK in CF_FUNC_TGETENT. Previously, the last value set 11159 by the AC_TRY_RUN loop was used, so only -lcurses was 11160 checked.</li> 11161 11162 <li>configure.in: Added temporary setting of CPPFLAGS before 11163 AC_CHECK_HEADERS for X11 files. Previously 11164 <X11/DECkeysym.h> and <X11/Xpoll.h> were found only 11165 if they were in the compiler's default include directories, 11166 even if `--x-includes=DIR' had been used or AC_PATH_XTRA had 11167 found them elsewhere.</li> 11168 </ul> 11169 11170 <p>The problem on HP-UX was that we were linking with -lcurses 11171 rather than -ltermcap due to the second bullet above, and 11172 apparently something in HP-UX curses is broken. This seems very 11173 strange, because the only thing used is tgetent, which should 11174 affect any tty/pty configuration, but I lost interest in tracking 11175 down the exact problem.</p> 11176 11177 <h1><a name="xterm_62" id="xterm_62">Patch #62 - 1998/1/23 - 11178 XFree86 3.9Ac</a></h1> 11179 11180 <p>This is a patch mostly by Bjorn Helgaas 11181 <helgaas@dhc.net> (I added the os2main.c change, and a 11182 little of the documentation). From Bjorn's description:</p> 11183 11184 <ul> 11185 <li>If you use the "-hc <color>" option or set the 11186 "highlightColor" resource, text is highlighted by changing only 11187 the background color, rather than using reverse video. I find 11188 this easier to read, especially when selecting multi-colored 11189 text, and it is similar to the way Netscape shows 11190 selections.</li> 11191 11192 <li>Most of the code changes are under "#if 11193 OPT_HIGHLIGHT_COLOR". The principal exception is in screen.c, 11194 where I added a couple calls to resetXtermGC(). This seems like 11195 it could be a bug even without the color highlighting changes 11196 (though I don't pretend to understand all the logic).</li> 11197 </ul> 11198 11199 <h1><a name="xterm_61" id="xterm_61">Patch #61 - 1998/1/17 - 11200 XFree86 3.9Ac</a></h1> 11201 11202 <p>This patch modifies the reset behavior of xterm slightly:</p> 11203 11204 <ul> 11205 <li>change the terminfo entry so that rs1 (one of the strings 11206 used by the 'reset' program) does a hard reset rather than 11207 switching character sets. This is more in accord with other 11208 terminal descriptions.</li> 11209 11210 <li>modifies the treatment of hard reset by the xterm program 11211 to reset the saved lines.</li> 11212 11213 <li>corrects hard reset by also resetting user-defined keys, 11214 i.e., DECUDK.</li> 11215 </ul> 11216 11217 <h1><a name="xterm_60" id="xterm_60">Patch #60 - 1998/1/10 - 11218 XFree86 3.9Ab</a></h1> 11219 11220 <p>This fixes some minor bugs and adds new functionality:</p> 11221 11222 <ul> 11223 <li>add support for blinking text. 11224 11225 <ul> 11226 <li>This does not actually cause the text to flash, but 11227 text with the blink attribute can be displayed in color, 11228 using new resources colorBL and colorBLMode.</li> 11229 11230 <li>If colors are not used, the blinking text will be 11231 displayed as before (just like bold). The main purpose of 11232 this is to make applications work properly when they assume 11233 the emulator supports blinking text.</li> 11234 11235 <li>I did this by moving the per-cell LINEWRAPPED flag to a 11236 per-line flag, to make room for the new BLINK flag. There 11237 were no per-line flags, so this changes a lot of 11238 logic.</li> 11239 </ul> 11240 </li> 11241 11242 <li>corrected missing save-cursor logic in the handling of SGR 11243 1048 (the new control sequence I added in patch #54, 11244 1997/10/17). Reported by Darren Hiebert.</li> 11245 11246 <li>flush the output of the transparent printing after each 11247 line Reported by Tomas Vanhala 11248 <vanhala@ling.helsinki.fi>.</li> 11249 11250 <li>correct the modes that are affected by save/restore cursor 11251 by adding WRAPAROUND and PROTECTED.</li> 11252 11253 <li>corrected placement of one of the XSync calls that I added 11254 in patch #51, 1997/9/15, which had the side-effect of writing 11255 on the window border when the xterm was resizing from 132 to 80 11256 columns.</li> 11257 11258 <li>work around an incompatibility of the XKB definition used 11259 in xterm versus that symbol from IRIX 6.2's imake definitions 11260 (by adjusting the standalone configure script).</li> 11261 </ul> 11262 11263 <h1><a name="xterm_59" id="xterm_59">Patch #59 - 1998/1/5 - 11264 XFree86 3.9Ab</a></h1> 11265 11266 <p>My last patch has an off-by-one error in the comparison for 11267 argc. Douglas Kosovic <douglask@dstc.edu.au> showed me 11268 where (he got a core dump). Also, I think this explains Clint 11269 Olsen's problem, but the symptoms were more subtle (EINVAL for a 11270 system call if the -display option is omitted).</p> 11271 11272 <h1><a name="xterm_58" id="xterm_58">Patch #58 - 1998/1/3 - 11273 XFree86 3.9Ab</a></h1> 11274 11275 <p>This patch does the following:</p> 11276 11277 <ul> 11278 <li>implement logic to permit xterm to work with proportional 11279 fonts. 11280 11281 <ul> 11282 <li>Thomas Wolff <Thomas.Wolff@sietec.de> requested 11283 this (but it isn't exactly what he's asking for - that's a 11284 more involved task).</li> 11285 11286 <li>I chose to do this by rendering the characters on a 11287 fixed pitch, because it would not be useful for existing 11288 applications to display varying numbers of characters on 11289 each line.</li> 11290 11291 <li>Except that this forces the display to be wider, it 11292 works reasonably well. A couple of special cases (reverse + 11293 colorBD, for example) do not display with proper colors, 11294 since the inter-character gaps are painted with the 11295 background.</li> 11296 </ul> 11297 </li> 11298 11299 <li>added a version number to the program (several people have 11300 requested this).</li> 11301 11302 <li>make the -version and -help options interpreted before the 11303 program attempts to open the display.</li> 11304 11305 <li>minor reorganization of the man-page (ordered the options, 11306 resources and translations alphabetically - and eliminated some 11307 duplication).</li> 11308 11309 <li>corrected a misspelled filename in Makefile.in, and added a 11310 lint rule.</li> 11311 11312 <li>updated the configure script to correct behavior when it 11313 cannot find imake, as well as to fix the IRIX+gcc build 11314 (conflict with /usr/include).</li> 11315 11316 <li>regenerated the configure script with a newer patch to 11317 autoconf that fixes a problem with environment space vs the 11318 configure --help message.</li> 11319 </ul> 11320 11321 <h1><a name="xterm_57" id="xterm_57">Patch #57 - 1997/12/26 - 11322 XFree86 3.9Aa</a></h1> 11323 11324 <p>This patch is mostly concerned with the standalone configure 11325 script; a few minor corrections are added:</p> 11326 11327 <ul> 11328 <li>add configure option --disable-tek4014, to allow xterm to 11329 be built without the tek4014 emulation.</li> 11330 11331 <li>add configure option --with-terminal-type, to allow xterm 11332 to be compiled with default $TERM value other than "xterm" 11333 (e.g., "xterm-16color") -- requested by Stephen Marley 11334 <stephen@memex.com>.</li> 11335 11336 <li>fix a typo in the configure --help message -- reported by 11337 Darren Hiebert <darren@hmi.com>.</li> 11338 11339 <li>review diffs between main.c and os2main.c, to make them 11340 more alike. (applies some minor bug-fixes to OS/2's 11341 version).</li> 11342 11343 <li>add missing quotes in memmove/bcopy configure test</li> 11344 </ul> 11345 11346 <h1><a name="xterm_56" id="xterm_56">Patch #56 - 1997/11/28 - 11347 XFree86 3.9x</a></h1> 11348 11349 <p>This patch is based on analysis by Arfst Ludwig 11350 <arfst@luxor.IN-Berlin.DE>, who reported:</p> 11351 11352 <blockquote> 11353 <p>Setting the following resources xterm (all current versions) 11354 receives a segmentation fault on <Btn2Up> after 11355 scrolling:</p> 11356 <pre> 11357 *XTerm*VT100*translations: #override \ 11358 ~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0)\n\ 11359 Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1)\n\ 11360 ~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0)\n\ 11361 Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1) 11362</pre> 11363 11364 <p>(The above resources intention is to be able to paste the 11365 latest selection even if the xterm was cleared.)</p> 11366 11367 <p>And here is how it works (and a fix!): The widget given to 11368 the action handler as first argument is not guaranteed to be a 11369 XtermWidget (it can be the ScrollbarWidget). Instead of 11370 accessing the widget's member directly XtDisplay gives the 11371 required pointer in a safe way.</p> 11372 </blockquote> 11373 11374 <p>I noticed that this was not the only instance (by reading the 11375 code, and testing with his example), and extended the solution to 11376 check the widget-class to ensure that it is indeed xterm's widget 11377 class before attempting to use it in the context of 11378 translations.</p> 11379 11380 <h1><a name="xterm_55" id="xterm_55">Patch #55 - 1997/11/25 - 11381 XFree86 3.9x</a></h1> 11382 11383 <p>This fixes the segmentation violation noted by Rogier Wolff 11384 about a month ago. He'd set xterm to 400 (rows) by 150 columns, 11385 which broke because there were limited buffers (200 rows) used 11386 for juggling data when adding or deleting lines and for switching 11387 between alternate and normal screens. I replaced this by an 11388 allocated buffer.</p> 11389 11390 <p>The bug is simple to test if you set titeInhibit false.</p> 11391 11392 <h1><a name="xterm_54" id="xterm_54">Patch #54 - 1997/10/17 - 11393 XFree86 3.9s</a></h1> 11394 11395 <p>This patch does the following:</p> 11396 11397 <ul> 11398 <li>correct a minor placement problem with the right 11399 scrollbar.</li> 11400 11401 <li>implement a new set of control sequences for switching 11402 between the normal and alternate VT100 screens. These work 11403 around the older sequences limitation that required 11404 modification of the runtime $TERMCAP to cooperate with the 11405 titeInhibit resource (that can't work with terminfo). I do this 11406 by moving all of the functionality of the rmcur terminfo 11407 capability into the control sequences.</li> 11408 11409 <li>implement the alternate-screen menu entry</li> 11410 </ul> 11411 11412 <h1><a name="xterm_53" id="xterm_53">Patch #53 - 1997/10/12 - 11413 XFree86 3.9r</a></h1> 11414 11415 <p>This patch adds a fix and implements a new feature (as well as 11416 some minor typos):</p> 11417 11418 <ul> 11419 <li>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a 11420 problem with the wait call with the logging option. It hung 11421 when the logfile was opened as a command-line option. I fixed 11422 this by moving the StartLogging() call down past the place 11423 where I'd reset the setuid mode. So the logfile is opened as 11424 the real user, without having to fork.</li> 11425 11426 <li>improve Rohleder's changes by renaming the command-line 11427 options and reducing the number of ifdef's.</li> 11428 11429 <li>implement right-scrollbars for xterm (patch by Michael 11430 Rohleder <michael.rohleder@stadt-frankfurt.de>).</li> 11431 </ul> 11432 11433 <h1><a name="xterm_52" id="xterm_52">Patch #52 - 1997/9/29 - 11434 XFree86 3.9q</a></h1> 11435 11436 <p>This patch addresses bugs and requests reported by</p> 11437 11438 <ul> 11439 <li>Bob Maynard <rmaynard@montana.com>,</li> 11440 11441 <li>Clint Olsen <olsenc@ichips.intel.com>,</li> 11442 11443 <li>JCHANDRA@Inf.COM (JCHANDRA),</li> 11444 11445 <li>Michael Schroeder 11446 <Michael.Schroeder@informatik.uni-erlangen.de>,</li> 11447 11448 <li>Pablo Ariel Kohan <pablo@memco.co.il></li> 11449 </ul> 11450 11451 <p>Some of the changes are interrelated (it was an unusually busy 11452 week).</p> 11453 11454 <ul> 11455 <li>change the default resource value for colorMode to true, 11456 matching the Xterm.ad file.</li> 11457 11458 <li>correct behavior of 'ech' control, making the default and 0 11459 parameters erase one character rather than to the end of line 11460 (reported by Michael Schroeder).</li> 11461 11462 <li>add resource boldColors, command-line options +pc and -pc 11463 and configure-script option to specify behavior of xterm's 11464 mapping bold colors 0 through 7 to colors 8 through 15. 11465 (request by Pablo Ariel Kohan).</li> 11466 11467 <li>add resource colorAttrMode to specify whether colorULMode 11468 and colorBDMode can override the ANSI colors (report by Clint 11469 Olsen).</li> 11470 11471 <li>correct a conflict between colorULMode/colorBDMode versus 11472 ANSI colors, where exposure events would occasionally pick up 11473 the former (e.g., colorBD) rather than ANSI colors. Testing the 11474 colorAttrMode made this apparent, though it has been in the 11475 code since 3.2A (patch #35 in Jan 1997).</li> 11476 11477 <li>correct two problems with the optional logging support. On 11478 Linux at least, the waitpid call in creat_as hangs when the 11479 logging is toggled from the popup menu. Also, the mktemp 11480 template has the wrong number of X's (since X11R5!). Fixed the 11481 waitpid problem by exploiting the fact that the setuid behavior 11482 is reset before the popup menus are available. (reported by 11483 Jayachandran C.).</li> 11484 11485 <li>add configure script options for building with the Xaw3d 11486 and neXtaw libraries.</li> 11487 11488 <li>correct CF_IMAKE_CFLAGS standalone configure script macro, 11489 so that it will pick up $(ALLDEFINES) rather than 11490 $(STD_DEFINES). This is needed to make scrollbars work on 11491 Linux, since that uses narrow prototypes. (reported by Bob 11492 Maynard).</li> 11493 11494 <li>various minor updates to configure-script macros.</li> 11495 </ul> 11496 11497 <h1><a name="xterm_51" id="xterm_51">Patch #51 - 1997/9/15 - 11498 XFree86 3.9p</a></h1> 11499 11500 <p>Most of this patch is related to the standalone configure 11501 script, though there are fixes/enhancements as well:</p> 11502 11503 <ul> 11504 <li>add a new resource sunKeyboard, with associated 11505 command-line option and menu-toggle that allows using a normal 11506 Sun or PC keyboard to generated the complete DEC-style function 11507 keys and keypad.</li> 11508 11509 <li>correct a reversed foreground/background test in the 11510 control sequence that replies with the current SGR 11511 settings.</li> 11512 11513 <li>correct, by invoking XSync, a display problem that caused 11514 the program to not properly update newly exposed areas when a 11515 font change or 80/132 resize request was not completely 11516 accepted.</li> 11517 11518 <li>restructured autoconf macros (I made a library of all of 11519 the macros across the complicated configure scripts I'm working 11520 on).</li> 11521 11522 <li>use the autoconf config.guess and config.sub scripts to 11523 better identify the host-os.</li> 11524 11525 <li>improve the configure script that uses 'imake' as a 11526 fallback for definitions.</li> 11527 11528 <li>correct several instances of unsigned/signed mixed 11529 expressions.</li> 11530 </ul> 11531 11532 <p>I've tested the configure script on Linux, SunOS 4.1.3, 11533 Solaris 2.5.1, IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but 11534 the last run properly as well).</p> 11535 11536 <h1><a name="xterm_50" id="xterm_50">Patch #50 - 1997/8/22 - 11537 XFree86 3.9m</a></h1> 11538 11539 <p>This is a collection of small fixes, and a couple of minor 11540 enhancements:</p> 11541 11542 <ul> 11543 <li>plug a security hole in the implementation of Media Copy 11544 (print) by invoking setuid just before the main loop.</li> 11545 11546 <li>add an ifdef'd include for <sys/termio.h> for HP-UX, 11547 which allows the program to process SIGWINCH events (this is a 11548 bug in X11R6.3)</li> 11549 11550 <li>add state-table entries for VT52 emulation to enter/exit 11551 keypad application mode.</li> 11552 11553 <li>disable the popup-menu entry for 8-bit controls when the 11554 terminal-id is less than 200 (e.g., VT52 or VT100).</li> 11555 11556 <li>ensure that the popup-menu entry for 8-bit controls is 11557 updated when the application enables/disables this mode, 11558 including the response to a full-reset.</li> 11559 11560 <li>implement VT300 DECBKM feature: set interpretation of the 11561 backarrow key to either backspace or delete. The initial 11562 setting is via resource; it can also be modified in the main 11563 popup menu.</li> 11564 11565 <li>implement VTxxx KAM (ISO AM), which allows a keyboard to be 11566 locked (i.e., the terminal discards input).</li> 11567 11568 <li>implement VTxxx SRM, which is used to control local echoing 11569 of input on the terminal.</li> 11570 11571 <li>add terminfo and termcap entries for xterm-8bit, a 11572 variation of the xterm description that uses 8-bit control 11573 characters.</li> 11574 11575 <li>add fallback definitions for Imakefile to allow it to work 11576 on some X11R5 systems that have no SpecialCObjectRule or 11577 ProgramTargetName macros.</li> 11578 11579 <li>add .c.o and .c.i rules to standalone Makefile.in</li> 11580 11581 <li>correct order of -lXmu and -lXext in standalone configure 11582 script.</li> 11583 11584 <li>add configure script options to allow selective disabling 11585 of active-icon, input-method and i18n code (mainly for users 11586 with X11R5 or an incomplete X11R6 configuration).</li> 11587 11588 <li>change menu-indices from #define's to enum values, thereby 11589 making it work better with the ifdef's for logging and 11590 active-icon (the X11R6.3 active-icon code is incorrectly 11591 ifdef'd; this corrects an error introduced by incorporating 11592 that code).</li> 11593 11594 <li>correct minor compile errors in the configuration where 11595 active-icon is not used.</li> 11596 11597 <li>add configure option to suppress echoing of long compiler 11598 commands</li> 11599 11600 <li>correct spelling of decTerminalID in configure script help 11601 message</li> 11602 11603 <li>use gcc __attribute__((unused)) to quiet warnings about 11604 unused parameters when compiling with -W (to make it simpler to 11605 find the real problems).</li> 11606 </ul> 11607 11608 <h1><a name="xterm_49" id="xterm_49">Patch #49 - 1997/8/10 - 11609 XFree86 3.9k</a></h1> 11610 11611 <p>This patch implements the VT100/VT220 Media Copy (i.e., 11612 print-screen) control sequences.</p> 11613 11614 <h1><a name="xterm_48" id="xterm_48">Patch #48 - 1997/7/26 - 11615 XFree86 3.9j</a></h1> 11616 11617 <p>This patch does the following (all but the first affect only 11618 the standalone configure script):</p> 11619 11620 <ul> 11621 <li>minor correction to positioning of underlines for small 11622 (e.g., 5x8) font size. 11623 11624 <p>The existing behavior allowed underlines to be drawn 11625 outside the character-cell, so they weren't cleared properly 11626 under some circumstances.</p> 11627 </li> 11628 11629 <li>adds more special-case tokens to the standalone configure 11630 script's imake-option filter (e.g., "&&", since a "make 11631 -n main.o" on my IRIX system uses that shell construct).</li> 11632 11633 <li>adds a '--enable-logging' option for the standalone 11634 configure script.</li> 11635 11636 <li>adds check and ifdef's for the standalone configure script 11637 to allow for building on platforms with X11R6, which lacks 11638 Xpoll.h (introduced in X11R6.1).</li> 11639 </ul> 11640 11641 <h1><a name="xterm_47" id="xterm_47">Patch #47 - 1997/7/13 - 11642 XFree86 3.9i</a></h1> 11643 11644 <p>This patch does the following</p> 11645 11646 <ul> 11647 <li>corrects an indexing error in the doublesize character 11648 logic (button.c) that caused core dump (this was reported by J. 11649 Wunsch).</li> 11650 11651 <li>corrects the logic of ShowCursor when it is painting in a 11652 doublesize cell (charproc.c).</li> 11653 11654 <li>corrects, according to vttest, the behavior when switching 11655 to doublesize characters and back again (doublechr.c).</li> 11656 11657 <li>adds cbt (back_tab) to the terminfo description (this was 11658 something that I'd overlooked as applicable to curses 11659 optimization last summer).</li> 11660 11661 <li>corrects, for the standalone xmc test, the logic for 11662 disabling xmc.</li> 11663 </ul> 11664 11665 <h1><a name="xterm_46" id="xterm_46">Patch #46 - 1997/7/4 - 11666 XFree86 3.9h</a></h1> 11667 11668 <p>This is a patch to provide test-support for some work I'm 11669 doing on ncurses. It does not modify the normal configuration of 11670 xterm; the code is compiled if the standalone configure option 11671 "--enable-xmc-glitch" is specified.</p> 11672 11673 <h1><a name="xterm_45" id="xterm_45">Patch #45 - 1997/7/2 - 11674 XFree86 3.9h</a></h1> 11675 11676 <p>This fixes the problem reported with xterm's cursor color 11677 versus the background (the second chunk in this patch) and also 11678 removes some duplicate initialization of the cursor GC's. If the 11679 cursor color at startup is the same as the background, then xterm 11680 will use the reverse GC, ignoring the setting of the colorMode 11681 resource.</p> 11682 11683 <h1><a name="xterm_44" id="xterm_44">Patch #44 - 1997/6/22 - 11684 XFree86 3.9g</a></h1> 11685 11686 <p>This implements the first part of the VT100 doublesize 11687 characters for xterm, as well as fixing a handful of bugs:</p> 11688 11689 <ul> 11690 <li>the doublesize character support uses the normal font 11691 (using scaled fonts will be another patch) with blanks to 11692 simulate doublesize characters. This patch does most of the 11693 global changes that'll be required. I've hidden most of the 11694 details in macros and ifdef's so it's easy to configure out 11695 (part of the patch is a configure option for that 11696 purpose).</li> 11697 11698 <li>corrected limits in DeleteChar() function -- it's always 11699 ignored the size of the left border and scrollbar. I noticed 11700 this when working on the doublesize characters since the glitch 11701 was doubled in size (i.e., it wrapped some garbage around the 11702 right margin).</li> 11703 11704 <li>corrected 'memmove()' logic, for standalone builds (it 11705 referenced a malloc wrapper from my development library).</li> 11706 11707 <li>add a check for HideCursor() to prevent repeated screen 11708 updates (which can cause a spurious cursor glitch to appear, 11709 e.g., during scrolling). I noticed this with the 3.2A version 11710 (but only a few weeks ago, when I started working on this 11711 patch).</li> 11712 </ul> 11713 11714 <h1><a name="xterm_43" id="xterm_43">Patch #43 - 1997/6/10 - 11715 XFree86 3.9d</a></h1> 11716 11717 <p>Here's a fix for two problems:</p> 11718 11719 <ul> 11720 <li>modify handling of tgetent results in xterm and resize 11721 programs to make them tolerant of missing termcap file, or 11722 unknown terminal name. In this scheme, an explicit "-tn" option 11723 will succeed, overriding the fallback list.</li> 11724 11725 <li>a nit in the configure script (log extra information to 11726 help diagnose which case of the test-compile of tgetent was 11727 used).</li> 11728 </ul> 11729 11730 <h1><a name="xterm_42" id="xterm_42">Patch #42 - 1997/6/8 - 11731 XFree86 3.2Xl</a></h1> 11732 11733 <p>Bram Moolenaar reported that the cursor color changed 11734 unexpectedly while scrolling. The cause was that it used the same 11735 GC's as the logic that draws the ANSI colors. The bug only 11736 appears if the cursorColor resource isn't set, and has been 11737 present since the initial implementation early last year. (The 11738 same bug also appears in rxvt ;-). Here's a fix.</p> 11739 11740 <h1><a name="xterm_41" id="xterm_41">Patch #41 - 1997/5/28 - 11741 XFree86 3.2Xl</a></h1> 11742 11743 <p>Some nits found by Darren Hiebert (missing part of 11744 install-rule, incorrect assignment for --enable-color-mode 11745 option).</p> 11746 11747 <h1><a name="xterm_40" id="xterm_40">Patch #40 - 1997/5/26 - 11748 XFree86 3.2Xl</a></h1> 11749 11750 <p>Patch for the configure script's logic for obtaining imake 11751 predefined symbols.</p> 11752 11753 <h1><a name="xterm_39" id="xterm_39">Patch #39 - 1997/5/24 - 11754 XFree86 3.2Xl</a></h1> 11755 11756 <p>This patch does the following:</p> 11757 11758 <ul> 11759 <li>integrate the 16-color change for 'xterm'</li> 11760 11761 <li>minor fixes/clarification of tgetent in terminfo vs termcap 11762 to 'resize'</li> 11763 </ul> 11764 11765 <p>(both changes also modify the configure script)</p> 11766 11767 <h1><a name="xterm_38" id="xterm_38">Patch #38 - 1997/5/22 - 11768 XFree86 3.2Xh</a></h1> 11769 11770 <p>This implements a simple configuration script with autoconf 11771 (to which I'll add more options later). It does the 11772 following:</p> 11773 11774 <ul> 11775 <li>configures xterm to build with X11R5 (at least on SunOS 11776 4.1, Solaris 2.4, possibly IRIX - sorry network was down today, 11777 but I did test an earlier version yesterday).</li> 11778 11779 <li>enables/disables the configuration ifdef's for ANSI color 11780 and VT52 emulation.</li> 11781 </ul> 11782 11783 <p>It does not make tests for the things that imake does (that's 11784 another project), instead it uses a hybrid of the autoconf tests 11785 for libraries and adds imake's compiler options (which are 11786 necessary in some cases to get main.c to compile).</p> 11787 11788 <h1><a name="xterm_37" id="xterm_37">Patch #37 - 1997/5/7 - 11789 XFree86 3.9a</a></h1> 11790 11791 <p>This corrects a minor, but annoying error in the vt220 11792 emulation: the DECUDK is only supposed to be interpreted for 11793 _shifted_ function keys.</p> 11794 11795 <h1><a name="xterm_36" id="xterm_36">Patch #36 - 1997/1/16 - 11796 XFree86 3.2r</a></h1> 11797 11798 <p>This corrects something that I overlooked in patch #27 11799 (21-aug-1996), which is that when trimming the region to be 11800 repainted for the highlightSelection resource of xterm, I still 11801 have to paint the background past the highlighted region. This 11802 only happens when I first do a selection in a window that's 11803 partly off-screen, then move the window on-screen.</p> 11804 11805 <h1><a name="xterm_35" id="xterm_35">Patch #35 - 1997/1/7 - 11806 XFree86 3.2o</a></h1> 11807 11808 <p>This patch does the following:</p> 11809 11810 <ul> 11811 <li>combines the coding for foreground and background colors 11812 into a single byte, reducing the memory required to store 11813 saved-lines in color. (I'll take back that byte in a following 11814 patch to use to ensure the character-set, so there's no 11815 long-term decrease in memory use).</li> 11816 11817 <li>modifies the PF1-PF4 coding in termcap/terminfo. Because 11818 xterm is still by default emulating vt100, the function key 11819 codes are vt100-compatible (I overlooked this in patch #31). I 11820 also reformatted the whole terminfo file into a single-column, 11821 for consistency.</li> 11822 11823 <li>adds an interim xterm-vt220 description to accommodate the 11824 old and new styles of function-keys (though probably it'd be 11825 better to drop the old-style altogether).</li> 11826 </ul> 11827 11828 <h1><a name="xterm_34" id="xterm_34">Patch #34 - 1997/1/5 - 11829 XFree86 3.2o</a></h1> 11830 11831 <p>This patch does the following:</p> 11832 11833 <ul> 11834 <li>implement DECSTR (soft terminal reset). The biggest diff is 11835 due to adding another state table (note that there's only one 11836 useful state here, but it's only 256 bytes rather than 1k as it 11837 would have been before I reduced the size of state 11838 entries).</li> 11839 11840 <li>some minor tidying up (e.g., signed/unsigned use bitcpy, 11841 MODE_DECCKM, resetColor, resetCharsets). More is done in patch 11842 #35.</li> 11843 </ul> 11844 11845 <p>I got the description of DECSTR from a vt420 user's manual. 11846 I'll do some testing with vttest to ensure that there's nothing 11847 else to do than what was documented.</p> 11848 11849 <h1><a name="xterm_33" id="xterm_33">Patch #33 - 1996/11/24 - 11850 XFree86 3.2</a></h1> 11851 11852 <p>This adds to the reset-fix by Matthieu Herrb 11853 <Mathieu.Herrb@mipnet.fr> a small change to make xterm able 11854 to output 8-bit characters in VT100 mode. Applications that run 11855 on real VT100's don't do that anyway, and this feature should be 11856 removed sometime after finishing off the VT220 emulation (VT220's 11857 can do 8-bit characters). That would be a good time to change the 11858 default terminal-id to 220.</p> 11859 11860 <h1><a name="xterm_32" id="xterm_32">Patch #32 - 1996/11/21 - 11861 XFree86 3.2</a></h1> 11862 11863 <p>This implements the REP (repeat) control for xterm. That isn't 11864 part of the DEC VTxxx series, but is defined in ISO 6429. (Note 11865 that the base xterm terminal description is <em>not</em> changed 11866 -- I added a variant, "xterm-rep").</p> 11867 11868 <h1><a name="xterm_31" id="xterm_31">Patch #31 - 1996/11/16 - 11869 XFree86 3.2</a></h1> 11870 11871 <p>This implements vt52 emulation in xterm (ifdef'd so it can be 11872 removed). I've been using it for testing for the past month or 11873 so.</p> 11874 11875 <h1><a name="xterm_30" id="xterm_30">Patch #30 - 1996/11/16 - 11876 XFree86 3.2</a></h1> 11877 11878 <p>From bug-report by <auroux@clipper.ens.fr> (Denis 11879 Auroux), missing reset to ground state. I checked through the 11880 rest of <em>that</em> table and found another, in the 11881 unimplemented MC (screen print).</p> 11882 11883 <h1><a name="xterm_29" id="xterm_29">Patch #29 - 1996/9/15 - 11884 XFree86 3.1.2Gb</a></h1> 11885 11886 <p>This patch does the following:</p> 11887 11888 <ul> 11889 <li>corrects the restoration of color for bold/underline color 11890 mode</li> 11891 11892 <li>adds a resource 'decTerminalID' to control the reporting 11893 level of xterm (e.g., VT100, VT220).</li> 11894 11895 <li>uses the new resource to implement/correct the DA1, DA2 and 11896 DECRPTUI reports.</li> 11897 11898 <li>change valid-response code in DECRQSS from 0 to 1 (the 11899 manual says 0, but the VT420 terminal I've been testing on says 11900 1).</li> 11901 </ul> 11902 11903 <p>All of these changes are based on vttest 2.6</p> 11904 11905 <p>(Most of the volume in the patch is to add 2 more state tables 11906 for parsing the 2nd/3rd device-attribute controls).</p> 11907 11908 <h1><a name="xterm_28" id="xterm_28">Patch #28 - 1996/8/31 - 11909 XFree86 3.1.2F</a></h1> 11910 11911 <p>This patch corrects the following reported by Roland Rosenfeld 11912 <roland@spinnaker.rhein.de>:</p> 11913 11914 <ul> 11915 <li>handle SGR 22, 24 and 25 in combination with colorUL and 11916 colorBD resources. Also noted & fixed reset of colored 11917 underline/bold with SGR 0.</li> 11918 11919 <li>a typo in the termcap (missing '['), from 3.1.2Dj (my 11920 error)</li> 11921 </ul> 11922 11923 <p>Roland also complained that he couldn't use box characters 11924 with</p> 11925 <pre> 11926 -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1 11927</pre> 11928 11929 <p>but that's a known xterm limitation (the box characters must 11930 be part of the font, in the first 32 locations).</p> 11931 11932 <h1><a name="xterm_27" id="xterm_27">Patch #27 - 1996/8/21 - 11933 XFree86 3.1.2Ek</a></h1> 11934 11935 <p>This patch fixes one of my long-term gripes: xterm's selection 11936 doesn't clearly show what's being selected (as per David's 11937 request, it's controlled by a resource, which defaults to the 11938 older behavior).</p> 11939 11940 <h1><a name="xterm_26" id="xterm_26">Patch #26 - 1996/8/20 - 11941 XFree86 3.1.2Ei</a></h1> 11942 11943 <p>Here's a patch to fix a problem with xterm's cut/paste and 11944 another to modify the appearance of the highlighting while 11945 selecting. (The changes are independent, so you can see if the 11946 change to screen.c is desirable).</p> 11947 11948 <h1><a name="xterm_25" id="xterm_25">Patch #25 - 1996/8/18 - 11949 XFree86 3.1.2Ei</a></h1> 11950 11951 <p>Here's a correction for two minor bugs that I picked up in 11952 testing, plus some lint (from Solaris 2.5) where NULL was used 11953 incorrectly:</p> 11954 11955 <ul> 11956 <li>make the second alternate font the same as the first 11957 (that's what vt420 and dtterm do)</li> 11958 11959 <li>corrected DECSCL report when DECSCL hasn't been set (i.e., 11960 don't return a '60').</li> 11961 </ul> 11962 11963 <h1><a name="xterm_24" id="xterm_24">Patch #24 - 1996/8/11 - 11964 XFree86 3.1.2Ee</a></h1> 11965 11966 <p>This patch does several things. In effect, xterm can (I think) 11967 do a reasonably good job of emulating vt220 and vt320 terminals 11968 (as well as it was doing vt100, at any rate ;-).</p> 11969 11970 <p>It does NOT do:</p> 11971 11972 <ul> 11973 <li>soft fonts</li> 11974 11975 <li>rigel or sixel graphics</li> 11976 </ul> 11977 11978 <p>Anyway, I:</p> 11979 11980 <ul> 11981 <li>added ECH, CPL, CNL, SU, SD, CBT, CHT controls</li> 11982 11983 <li>added popup-menu for switching between DEC and Sun function 11984 keys. (corrected alignment err wrt logging entry at that 11985 point).</li> 11986 11987 <li>make xterm recognize both 8-bit and 7-bit controls 11988 (including popup menu for switching modes).</li> 11989 11990 <li>add user-definable function keys (aka DECUDK)</li> 11991 11992 <li>support concealed text</li> 11993 11994 <li>support protected text (both ISO compatible and DEC 11995 compatible - that's not the same thing, btw), with SPA, EPA, 11996 DECSCA, DECSED, DECSEL controls.</li> 11997 11998 <li>implement DECSCL.</li> 11999 </ul> 12000 12001 <p>I'll be continuing to test this patch for a while, but don't 12002 expect to add any new functionality (it passes all of the current 12003 tests I've built in vttest, but I need to make more tests)..</p> 12004 12005 <h1><a name="xterm_23" id="xterm_23">Patch #23 - 1996/7/31 - 12006 XFree86 3.1.2Ec</a></h1> 12007 12008 <p>This removes the blinking cursor I added last week (for 12009 performance reasons). Time-permitting, I'll revisit this after 12010 3.2 is released (there <em>will</em> be more work after XFree86 12011 3.2, I assume).</p> 12012 12013 <h1><a name="xterm_22" id="xterm_22">Patch #22 - 1996/7/26 - 12014 XFree86 3.1.2Ec</a></h1> 12015 12016 <p>I looked more closely at my "double-negative" and realized 12017 that I had been confused by the default color scheme (black on 12018 white) in combination with reverse video. However, I did see that 12019 the original_fg and original_bg data weren't really used - so I 12020 removed that logic.</p> 12021 12022 <p>Also:</p> 12023 12024 <ul> 12025 <li>during initialization, check if ANSI colors are set with 12026 non fg/bg values, disable color mode if not. This makes xterm 12027 tolerant of applications that allocate the whole color 12028 map.</li> 12029 12030 <li>implemented blinking cursor (default is <em>off</em>)</li> 12031 </ul> 12032 12033 <h1><a name="xterm_21" id="xterm_21">Patch #21 - 1996/7/24 - 12034 XFree86 3.1.2Ec</a></h1> 12035 12036 <p>This patch does the following:</p> 12037 12038 <ul> 12039 <li>fixes some minor typography in the control-sequences 12040 documentation (it didn't occur to me til I'd sent the last 12041 patch that I could use ghostview for previewing the troff 12042 output ;-)</li> 12043 12044 <li>adjusts the shell's background color in ReverseVideo so 12045 that flicker in resizing is reduced</li> 12046 12047 <li>adds an ifdef OPT_ISO_COLORS to allow configuring xterm 12048 without the ISO color support (saves a lot of memory)</li> 12049 12050 <li>used that ifdef to isolate/modify logic so that if the user 12051 doesn't have the colorMode enabled, then ISO color support is 12052 disabled (saving memory). 12053 12054 <p>(If anyone needs numbers, I had savedLines set to 2000, 12055 and found a reduction from ~700k to ~400k of allocated 12056 memory, according to Purify).</p> 12057 </li> 12058 </ul> 12059 12060 <h1><a name="xterm_20" id="xterm_20">Patch #20 - 1996/7/24 - 12061 XFree86 3.1.2Ec</a></h1> 12062 12063 <p>This documents the changes in control sequences for window 12064 operations that I added in my previous patch. I'm testing another 12065 patch that allows the user to use less memory if colors aren't 12066 needed.</p> 12067 12068 <h1><a name="xterm_19" id="xterm_19">Patch #19 - 1996/7/21 - 12069 XFree86 3.1.2Ec</a></h1> 12070 12071 <p>This patch does the following:</p> 12072 12073 <ul> 12074 <li>fixes the core dump that I reported on IRIX 5.2 (in main.c) 12075 12076 <p>(it's worth noting that this bug exists in X11R6.1, so I'd 12077 like to assume that someone's already submitted a fix to X 12078 Consortium...)</p> 12079 </li> 12080 12081 <li>change the interpretation of zero rows or columns in a 12082 resize-window request to use the root window's size (looking 12083 more carefully at dtterm, that seems to be what it does).</li> 12084 12085 <li>change some memmove calls to memcpy for slightly better 12086 performance. also, a couple of memset calls to bzero, since 12087 Quantify says bzero runs 20% faster, I assume because there's 12088 one less argument.</li> 12089 12090 <li>interpret character sets 1 and 2 (so that vttest gives a 12091 reasonable result) Both rxvt and dtterm do something 12092 equivalent.</li> 12093 12094 <li>fix a minor memory leak in the logic that retrieves the 12095 window or icon names (Purify found this for me while I ran 12096 vttest).</li> 12097 </ul> 12098 12099 <h1><a name="xterm_18" id="xterm_18">Patch #18 - 1996/7/18 - 12100 XFree86 3.1.2Ec</a></h1> 12101 12102 <p>This implements the following:</p> 12103 12104 <ul> 12105 <li>escape sequences that act like the CDE dtterm's window 12106 operations (though I have implemented the default width and 12107 height -- I've seen a rather buggy dtterm running that seems to 12108 treat width=0 or height=0 literally -- maybe that's a feature, 12109 not a bug?)</li> 12110 12111 <li>minor tweak to the screen-repainting when resizing (I still 12112 cannot entirely get rid of flicker).</li> 12113 12114 <li>still more fixes to terminfo & termcap (I corrected my 12115 error for the hpa code and added some other stuff by comparing 12116 to ncurses' description and rxvt's).</li> 12117 12118 <li>a tweak to the changes by Michael Rohleder for the color 12119 translation</li> 12120 12121 <li>re-order attribute codes to allow later implementation of 12122 protected fields (dtterm supposedly does this; it's probably 12123 more useful than blinking or invisible text -- that uses up all 12124 of the available bits without changing the attribute scheme 12125 radically).</li> 12126 </ul> 12127 12128 <h1><a name="xterm_17" id="xterm_17">Patch #17 - 1996/7/2 - 12129 XFree86 3.1.2Eb</a></h1> 12130 12131 <p>This patch implements for xterm several minor features from 12132 ISO 6429 which are useful for terminfo applications. The HPA and 12133 VPA control sequences allow cursor movement along a row or 12134 column, cutting down a little on the characters transmitted. The 12135 other codes allow resetting specific graphic rendition attributes 12136 without modifying the other attributes. (now if someone just had 12137 time to implement blinking cursors...)</p> 12138 12139 <h1><a name="xterm_16" id="xterm_16">Patch #16 - 1996/6/25 - 12140 XFree86 3.1.2Ea</a></h1> 12141 12142 <p>Adam Tla/lka <atlka@pg.gda.pl> told me a couple of weeks 12143 ago that I'd missed some of the background coloring in xterm. I 12144 investigated, and found that while I'd picked up on the 12145 clear-to-bottom and clear-to-end-of-line operations, I'd 12146 overlooked the insert/delete lines. Just so I wouldn't overlook 12147 any more of these, I updated a copy of vttest to test ISO colors 12148 and bce (background color erase). This patch introduces a new 12149 function, ClearCurBackground, whose calls replace the direct 12150 XClearArea calls that I'd overlooked. (There's also a few 12151 compiler warnings fixed, etc ;-)</p> 12152 12153 <h1><a name="xterm_15" id="xterm_15">Patch #15 - 1996/5/29 - 12154 XFree86 3.1.2E</a></h1> 12155 12156 <p>This fixes the problem reported by David Dawes, by making the 12157 50msec select timeout for the Xaw3d arrow scrollbar a resource. 12158 (I made it a boolean for a variety of reasons -- to make it a 12159 number, you'd need an additional resource, to avoid breaking the 12160 logic).</p> 12161 12162 <h1><a name="xterm_14" id="xterm_14">Patch #14 - 1996/5/12 - 12163 XFree86 3.1.2Dj</a></h1> 12164 12165 <p>This patch brings the termcap and terminfo descriptions for 12166 xterm up to date. I made the following changes:</p> 12167 12168 <ul> 12169 <li>reformatted the terminfo description in a single-column 12170 (this is ok for terminfo, and will simplify future patches -- 12171 can't do that for termcap, since it would impact buffer 12172 requirements on some systems).</li> 12173 12174 <li>omitted obsolete features in termcap to save a little space 12175 (bs, pt)</li> 12176 12177 <li>added color capabilities to termcap (ut, Co, NC, op, AB, 12178 AF)</li> 12179 12180 <li>corrected some capabilities (vi, ve)</li> 12181 12182 <li>added 'st' (set tab)</li> 12183 12184 <li>reduced function keys in termcap for 'xterm' to 12 because 12185 color capabilities makes that description larger than 1023 12186 characters.</li> 12187 12188 <li>created new termcap name 'xtermm' (monochrome) to match the 12189 terminfo list, and make that description have 20 function 12190 keys.</li> 12191 12192 <li>added corresponding color capabilities to terminfo (bce, 12193 colors, pairs, op, ncv, setab, setaf)</li> 12194 12195 <li>corrected corresponding capabilities in terminfo (civis, 12196 cnorm, rmcup, smcup)</li> 12197 12198 <li>added capabilities (el1, hts)</li> 12199 12200 <li>in both, corrected home/end keys to match the code 12201 correction made by Thomas Mueller in 3.1.2Bk 12202 12203 <p>=> (I'm still considering modifying the code & 12204 description to match the rxvt program).</p> 12205 </li> 12206 </ul> 12207 12208 <h1><a name="xterm_13" id="xterm_13">Patch #13 - 1996/4/23 - 12209 XFree86 3.1.2Df</a></h1> 12210 12211 <p>This corrects my earlier changes for colors - the inner border 12212 of the xterm was getting painted with the wrong color, since I'd 12213 moved the call to set the background into the logic that tracks 12214 SGR information.</p> 12215 12216 <h1><a name="xterm_12" id="xterm_12">Patch #12 - 1996/3/16 - 12217 XFree86 3.1.2Dc</a></h1> 12218 12219 <p>This corrects a memory leak in xterm that happens whenever one 12220 switches fonts.</p> 12221 12222 <h1><a name="xterm_11" id="xterm_11">Patch #11 - 1996/3/5 - 12223 XFree86 3.1.2Db</a></h1> 12224 12225 <p>This patch corrects the behavior of the ANSI colors in xterm 12226 when reverse video is used, as well as some other lesser 12227 sins:</p> 12228 12229 <ul> 12230 <li>button.c 12231 12232 <ul> 12233 <li>(compiler warnings: shadowing of 'time', redundant 12234 cast)</li> 12235 </ul> 12236 </li> 12237 12238 <li>charproc.c 12239 12240 <ul> 12241 <li>renamed screen.colors[] array to screen.Acolors[] to 12242 more easily distinguish the non-ANSI colors from the ANSI 12243 colors.</li> 12244 12245 <li>moved logic of SGR_Save() into VTInitialize, getting 12246 rid of local private variables original_fg and 12247 original_bg.</li> 12248 12249 <li>moved some logic into getXtermForeground and 12250 getXtermBackground from SGR_Foreground, SGR_Background, 12251 etc.</li> 12252 12253 <li>corrected misleading 'row' to 'col' in case for CUF, 12254 CUB sequences.</li> 12255 </ul> 12256 </li> 12257 12258 <li>ctlseqs.ms</li> 12259 12260 <li>xterm.man 12261 12262 <ul> 12263 <li>(correct a misconception which I'd added that the 12264 color0 through color6 resource values apply to non-ANSI 12265 colors)</li> 12266 </ul> 12267 </li> 12268 12269 <li>ptyx.h 12270 12271 <ul> 12272 <li>added original_fg, original_bg to TScreen 12273 structure.</li> 12274 </ul> 12275 </li> 12276 12277 <li>scrollbar.c 12278 12279 <ul> 12280 <li>(compiler warnings: redundant cast)</li> 12281 </ul> 12282 </li> 12283 12284 <li>util.c 12285 12286 <ul> 12287 <li>new functions getXtermForeground and getXtermBackground 12288 replace the macros GET_FG and GET_BG, with the added 12289 functionality of checking for the reverse-video status of 12290 xterm.</li> 12291 12292 <li>in ReverseVideo, swap the SGR foreground and background 12293 colors also.</li> 12294 </ul> 12295 </li> 12296 </ul> 12297 12298 <h1><a name="xterm_10" id="xterm_10">Patch #10 - 1996/2/14 - 12299 XFree86 3.1.2Cd</a></h1> 12300 12301 <p>I observed an occasional glitch in the xterm's color behavior; 12302 a clear to end of line would get a color that had been used in a 12303 program that supposedly reset colors. I traced this down to the 12304 way xterm was modifying colors of GC's on the fly; it didn't 12305 restore the original color of the GC, even though it would later 12306 be used in functions (such as ClearRight) that assumed (my error) 12307 that the GC would have the current foreground or background 12308 color.</p> 12309 12310 <p>I fixed this by resetting the GC's colors with a new function 12311 'resetXtermGC()', and direct calls on 12312 SGR_Foreground/SGR_Background, as appropriate and using a new 12313 function 'updatedXtermGC()' to encapsulate the logic that 12314 modifies the GC's color. (I also removed some commented-out code 12315 that was trying to do this -- the problem was a little more 12316 obscure).</p> 12317 12318 <h1><a name="xterm_09" id="xterm_09">Patch #9 - 1996/2/10 - 12319 XFree86 3.1.2Cb</a></h1> 12320 12321 <p>This patch fixes the remaining problems that I had making 12322 xterm run with x11r5, as well as a couple of other bugs. It 12323 follows my patch from yesterday, that added ifdef's for some of 12324 the input-method resources.</p> 12325 12326 <ul> 12327 <li>corrected ifdef's that suppress the input-method code 12328 (doesn't exist in my x11r5, and xterm works adequately without 12329 it).</li> 12330 12331 <li>corrected fallback definition for 'Select()' macro (oops: 12332 I'd copied the wrong text...)</li> 12333 12334 <li>moved the declarations for the fd_set variables to 12335 data.[ch]</li> 12336 12337 <li>corrected an ifdef in resize.c (sunos 4.x doesn't have 12338 termcap.h)</li> 12339 12340 <li>corrected (in main.c) some unused/orphaned variables.</li> 12341 </ul> 12342 12343 <h1><a name="xterm_08" id="xterm_08">Patch #8 - 1996/2/9 - 12344 XFree86 3.1.2Cb</a></h1> 12345 12346 <p>This is mostly a documentation patch for xterm. It describes 12347 the color control sequences in more detail, and documents some 12348 other features of xterm that aren't described elsewhere.</p> 12349 12350 <p>I've also added a couple of ifdef's to fix (part of) the 12351 problem that I'm working on (making the program work properly on 12352 x11r5, where I'm doing memory testing -- I have a "good" version 12353 from mid-January, but my resync version doesn't work properly on 12354 x11r5). I'm not done with <em>that</em> yet.</p> 12355 12356 <h1><a name="xterm_07" id="xterm_07">Patch #7 - 1996/1/28 - 12357 XFree86 3.1.2n</a></h1> 12358 12359 <p>I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've 12360 got an S3 card.</p> 12361 12362 <p>This fixes the following in the 3.1.2n xterm:</p> 12363 12364 <ul> 12365 <li>initialize cur_foreground, cur_background in charproc.c 12366 (Purify told me they weren't initialized).</li> 12367 12368 <li>add interpretation of codes 39, 49, to reset background and 12369 foreground to default value (I'm told that ISO 6429 does this; 12370 but I don't have a written reference -- yet -- can anyone help 12371 here?). Anyway, rxvt does it, and it'll solve my remaining 12372 color management problems.</li> 12373 12374 <li>shadowing of 'time' in menu.c</li> 12375 12376 <li>'Cardinal' vs 'int' in scrollbar.c</li> 12377 12378 <li>several changes to permit compile with X11R5 (the system 12379 that I've got Purify on won't be upgraded to X11R6 for a long 12380 time).</li> 12381 </ul> 12382 12383 <p>I built this version (with a minor nit that I'll patch soon) 12384 on SunOS 4.1.3 so that I can test it some more with Purify.</p> 12385 12386 <p><em>btw</em>: the changes made in Xpoll.h won't work on some 12387 older systems, because fd_set isn't a defined type (I've got one 12388 machine at least that this applies to).</p> 12389 12390 <h1><a name="xterm_06" id="xterm_06">Patch #6 - 1996/1/8</a></h1> 12391 12392 <p>This patch does all of the SGR foreground/background fixes 12393 (i.e., clearing the screen after an SGR color is set causes that 12394 color to be used in the foreground and/or background). If the 12395 FG_COLOR and/or BG_COLOR flags aren't set, then the xterm 12396 foreground and background default to the window's values. This 12397 usage is consistent with various types of hardware (especially 12398 the IBM PC), and is also used in rxvt.</p> 12399 12400 <ul> 12401 <li>charproc.c: 12402 12403 <ul> 12404 <li>add/use new macros GET_FG, GET_BG - n/c.</li> 12405 12406 <li>add/use new functions SGR_Foreground() and 12407 SGR_Background() to set corresponding colors in GC's, and 12408 to retain sense of "original" colors. 12409 12410 <p>=> This makes redundant some of the corresponding 12411 logic in HideCursor to set the foreground and background, 12412 but I left it in since it <em>may</em> be fixing an 12413 unrelated requirement.</p> 12414 </li> 12415 12416 <li>set GC's in LoadNewFont() according to whether the SGR 12417 fg/bg colors are active. 12418 12419 <p>=> This fixes some glitches in the accompanying 12420 resize, that leaves parts of the window in the original 12421 background color.</p> 12422 </li> 12423 </ul> 12424 </li> 12425 12426 <li>screen.c: 12427 12428 <ul> 12429 <li>modified ClearBufRows() to use the SGR fg/bg colors if 12430 they're set.</li> 12431 12432 <li>added function ScrnClearLines(), used this to replace 12433 portions of ScrnInsertLine() and ScrnDeleteLine(). The new 12434 function uses the SGR fg/bg colors if they're set. 12435 12436 <p>=> Otherwise, selection after an index or reverse 12437 index will paint the wrong colors.</p> 12438 </li> 12439 12440 <li>modified ScrnDeleteChar() and ScrnInsertChar() to use 12441 SGR fg/bg colors.</li> 12442 </ul> 12443 </li> 12444 12445 <li>util.c: 12446 12447 <ul> 12448 <li>modified ClearRight() so that if either of the SGR 12449 fg/bg colors is set, we don't bzero the attributes and 12450 color arrays, but instead fill them with the appropriate 12451 codes.</li> 12452 12453 <li>modified ClearLeft to use SGR fg/bg colors.</li> 12454 </ul> 12455 </li> 12456 </ul> 12457 12458 <h1><a name="xterm_05" id="xterm_05">Patch #5 - 1996/1/7</a></h1> 12459 12460 <p>This patch modifies the object code, by replacing indexing 12461 expressions with temporary variables with the full indexing 12462 expression. At first glance, this seems inefficient (it did to me 12463 ;-), until remembering comments made in the compilers newsgroups 12464 that trying to "help" the compiler doesn't really work that well. 12465 A good optimizing compiler can do a better job than the 12466 programmer can. (There's a moral in the use of 'register' 12467 variables also, but I won't fix those...).</p> 12468 12469 <p>Anyway, the revised code generates a smaller object...</p> 12470 12471 <ul> 12472 <li>charproc.c: 12473 12474 <ul> 12475 <li>recode index expressions in ShowCursor() and 12476 HideCursor() using SCRN_BUF_xxxxS macros - changes 12477 object.</li> 12478 12479 <li>replace constant '4' by MAX_PTRS - n/c.</li> 12480 </ul> 12481 </li> 12482 12483 <li>ptyx.h: 12484 12485 <ul> 12486 <li>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS 12487 macros, to pick up references to ScrnBuf data directly, and 12488 added MAX_PTRS symbol to pick up those '4' constants strewn 12489 about the code - n/c.</li> 12490 </ul> 12491 </li> 12492 12493 <li>screen.c: 12494 12495 <ul> 12496 <li>recode index expressions in ScreenWrite() using 12497 SCRN_BUF_xxxxS macros - changes object.</li> 12498 12499 <li>replace constant '4' by MAX_PTRS - n/c.</li> 12500 12501 <li>use macros BUF_CHARS, BUF_ATTRS - n/c.</li> 12502 12503 <li>cast calloc to 'Char *' to fix compiler warning on IRIX 12504 - n/c</li> 12505 </ul> 12506 </li> 12507 12508 <li>scrollbar.c: 12509 12510 <ul> 12511 <li>replace constant '4' by MAX_PTRS - n/c.</li> 12512 12513 <li>cast calloc to 'Char *' to fix compiler warning on IRIX 12514 - n/c</li> 12515 </ul> 12516 </li> 12517 </ul> 12518 12519 <h1><a name="xterm_04" id="xterm_04">Patch #4 - 1996/1/7</a></h1> 12520 12521 <p>When setting up for this phase, I saw that you'd corrected the 12522 bug that I found in ClearLeft. I decided to make this series of 12523 patches anyway, since readability never hurt (and there's the 12524 potential for finding another bug while reviewing this set).</p> 12525 12526 <ul> 12527 <li>button.c: 12528 12529 <ul> 12530 <li>use SCRN_BUF_xxxxS macros - n/c</li> 12531 </ul> 12532 </li> 12533 12534 <li>charproc.c: 12535 12536 <ul> 12537 <li>use SCRN_BUF_xxxxS macros - n/c</li> 12538 </ul> 12539 </li> 12540 12541 <li>ptyx.h: 12542 12543 <ul> 12544 <li>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS, 12545 SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four arrays 12546 that are derived from screen->buf.</li> 12547 </ul> 12548 </li> 12549 12550 <li>screen.c: 12551 12552 <ul> 12553 <li>use SCRN_BUF_xxxxS macros - n/c</li> 12554 </ul> 12555 </li> 12556 12557 <li>util.c: 12558 12559 <ul> 12560 <li>use SCRN_BUF_xxxxS macros - n/c</li> 12561 </ul> 12562 </li> 12563 </ul> 12564 12565 <h1><a name="xterm_03" id="xterm_03">Patch #3 - 1996/1/7</a></h1> 12566 12567 <p>This is my third (and final cleanup) patch for xterm. It gets 12568 rid of the unused stuff, and converts several functions to static 12569 (thereby reducing their scope).</p> 12570 12571 <p>At this point, the only compile warnings I've got (on Linux) 12572 are those about the select arguments (int vs fd_set type), and a 12573 missing declaration for waitpid. Those both are hard to get right 12574 without autoconfigure.</p> 12575 12576 <p>The next patches will address the functional changes...</p> 12577 12578 <ul> 12579 <li>Tekproc.c: 12580 12581 <ul> 12582 <li>changed several functions to 'static' that aren't used 12583 outside this module -- changes object</li> 12584 </ul> 12585 </li> 12586 12587 <li>charproc.c: 12588 12589 <ul> 12590 <li>changed several functions to 'static' that aren't used 12591 outside this module -- changes object</li> 12592 12593 <li>deleted unused function unparsefputs -- changes 12594 object.</li> 12595 </ul> 12596 </li> 12597 12598 <li>main.c: 12599 12600 <ul> 12601 <li>changed several functions to 'static' that aren't used 12602 outside this module -- changes object</li> 12603 12604 <li>ifdef'd out unused function 'consolepr()' -- changes 12605 object</li> 12606 12607 <li>removed unused variable 'dummy_tio' -- changes 12608 object</li> 12609 12610 <li>moved variable 'discipline' to quiet unused-warning -- 12611 changes object</li> 12612 </ul> 12613 </li> 12614 12615 <li>main.h: 12616 12617 <ul> 12618 <li>deleted unused definition of DEFBORDERWIDTH - n/c</li> 12619 </ul> 12620 </li> 12621 12622 <li>misc.c: 12623 12624 <ul> 12625 <li>changed several functions to 'static' that aren't used 12626 outside this module -- changes object</li> 12627 12628 <li>provide dummy return statements for xerror and xioerror 12629 to quiet compiler warnings -- changes object</li> 12630 </ul> 12631 </li> 12632 12633 <li>ptyx.h: 12634 12635 <ul> 12636 <li>change sbuf_address and abuf_address to 'Char *' - 12637 n/c</li> 12638 </ul> 12639 </li> 12640 12641 <li>resize.c: 12642 12643 <ul> 12644 <li>changed several functions to 'static' that aren't used 12645 outside this module -- changes object</li> 12646 </ul> 12647 </li> 12648 12649 <li>screen.c: 12650 12651 <ul> 12652 <li>remove unnecessary 'Char **' casts - n/c</li> 12653 </ul> 12654 </li> 12655 12656 <li>util.c: 12657 12658 <ul> 12659 <li>changed several functions to 'static' that aren't used 12660 outside this module -- changes object</li> 12661 </ul> 12662 </li> 12663 </ul> 12664 12665 <h1><a name="xterm_02" id="xterm_02">Patch #2 - 1996/1/7</a></h1> 12666 12667 <p>This is my second patch to xterm. It corrects most of the gcc 12668 warnings (except for some that are due to X header files ;-). I 12669 compared objects to keep track of the changes that don't affect 12670 the object code (n/c) versus those that do.</p> 12671 12672 <p>At this point, I'm compiling (fairly) clean with gcc 12673 options</p> 12674 <pre> 12675 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs 12676</pre> 12677 12678 <p>(I also compiled with -Wshadow, but while that found some 12679 things that I wanted to find, there's far too many warnings from 12680 the X headers to be usable in this context).</p> 12681 12682 <p>The changes:</p> 12683 12684 <ul> 12685 <li>Tekproc.c: 12686 12687 <ul> 12688 <li>parenthesized expression to avoid gcc warning -- 12689 n/c.</li> 12690 12691 <li>corrected nested-extern declaration for Bool 12692 waiting_for_initial_map; ourTopLevelShellArgs, and 12693 number_ourTopLevelShellArgs - n/c</li> 12694 </ul> 12695 </li> 12696 12697 <li>charproc.c: 12698 12699 <ul> 12700 <li>corrected potentially-unintialized variables 'scstype', 12701 'xim', and 'input_style' -- changes object.</li> 12702 12703 <li>adjusted logic of VTparse so that gcc won't warn about 12704 setjmp clobbering parsestate -- changes object.</li> 12705 12706 <li>corrected initialization of 'scstype', which could have 12707 been clobbered by setjmp/longjmp - changes object.</li> 12708 12709 <li>corrected nested-extern declaration of 'term', 12710 'ProgramName' - n/c</li> 12711 </ul> 12712 </li> 12713 12714 <li>cursor.c: 12715 12716 <ul> 12717 <li>corrected nested-extern declaration of 'term' -- 12718 n/c</li> 12719 12720 <li>renamed 'term' parameters to avoid gcc -Wshadow warning 12721 - n/c</li> 12722 </ul> 12723 </li> 12724 12725 <li>input.c: 12726 12727 <ul> 12728 <li>change interface of StringInput to assume size_t (i.e., 12729 unsigned) nbytes -- changes object.</li> 12730 12731 <li>change interface of funcvalue, and sunfuncvalue to use 12732 'KeySym' type instead of 'int' - changes object.</li> 12733 </ul> 12734 </li> 12735 12736 <li>main.c: 12737 12738 <ul> 12739 <li>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h 12740 - n/c</li> 12741 12742 <li>corrected missing params of 'do_hangup()' -- changes 12743 object (note: the missing params were not used).</li> 12744 12745 <li>corrected missing param of 'Error()' -- changes 12746 object</li> 12747 12748 <li>corrected nested-extern 'environ' - n/c</li> 12749 12750 <li>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' 12751 so that gcc can see they won't be clobbered by the longjmp 12752 - changes object.</li> 12753 12754 <li>use Size_t type - n/c.</li> 12755 </ul> 12756 </li> 12757 12758 <li>menu.c: 12759 12760 <ul> 12761 <li>removed redundant prototype for 'do_hangup()' -- 12762 n/c.</li> 12763 12764 <li>renamed 'time' parameters to avoid gcc -Wshadow warning 12765 - n/c</li> 12766 </ul> 12767 </li> 12768 12769 <li>menu.h: 12770 12771 <ul> 12772 <li>renamed 'time' parameters to avoid gcc -Wshadow warning 12773 - n/c</li> 12774 </ul> 12775 </li> 12776 12777 <li>misc.c: 12778 12779 <ul> 12780 <li>corrected definition of 'HandleFocusChange()' -- 12781 changes object</li> 12782 12783 <li>cast parameters in call to 'TekExpose()' -- n/c</li> 12784 12785 <li>corrected nested-extern declarations of 'term', 12786 'toplevel', ProgramName, and 'environ' -- n/c.</li> 12787 12788 <li>use Size_t type - n/c.</li> 12789 </ul> 12790 </li> 12791 12792 <li>proto.h: 12793 12794 <ul> 12795 <li>moved definition of SIGNAL_T (and SIGNAL_RETURN) here 12796 from main.c, resize.c to allow use of this symbol in 12797 prototypes (mostly in xterm.h).</li> 12798 12799 <li>added definition 'Size_t' to use as corrected type for 12800 strncpy, malloc sizes - n/c.</li> 12801 </ul> 12802 </li> 12803 12804 <li>resize.c: 12805 12806 <ul> 12807 <li>moved SIGNAL_T definition to proto.h -- n/c.</li> 12808 12809 <li>use Size_t type - n/c.</li> 12810 </ul> 12811 </li> 12812 12813 <li>screen.c: 12814 12815 <ul> 12816 <li>use Size_t type - n/c.</li> 12817 </ul> 12818 </li> 12819 12820 <li>tabs.c: 12821 12822 <ul> 12823 <li>corrected nested-extern declaration of 'term' -- 12824 n/c</li> 12825 </ul> 12826 </li> 12827 12828 <li>util.c: 12829 12830 <ul> 12831 <li>corrected/supplied parameters to 'TekExpose()' -- 12832 changes object (note: 'TekExpose()' doesn't use its 12833 parameters).</li> 12834 12835 <li>corrected nested-extern declaration of 12836 'waiting_for_initial_map' -- n/c.</li> 12837 12838 <li>renamed 'term' parameters to avoid gcc -Wshadow warning 12839 - n/c</li> 12840 </ul> 12841 </li> 12842 12843 <li>xterm.h: 12844 12845 <ul> 12846 <li>prototype 'do_hangup()', 'HandleFocusChange()', 12847 'TekExpose()', 'Error()', 'Exit()' - forces changes in 12848 various places.</li> 12849 12850 <li>adjusted prototypes that pass 'Boolean' arguments to 12851 use 'int' (this is the "correct" ANSI approach to extended 12852 compiles; it's worth mentioning that gcc doesn't meet the 12853 ANSI spec here). I used gcc -Wconversion to find these, but 12854 there's a lot of unrelated warnings that are due to setting 12855 NARROWPROTO in the config - n/c.</li> 12856 12857 <li>renamed 'term' parameters to avoid gcc -Wshadow warning 12858 - n/c</li> 12859 </ul> 12860 </li> 12861 </ul> 12862 12863 <h1><a name="xterm_01" id="xterm_01">Patch #1 - 1996/1/6</a></h1> 12864 12865 <p>This is my first cleanup patch for xterm. It addresses all of 12866 the gcc warnings for -Wall, -Wmissing-prototypes and 12867 -Wstrict-prototypes that I can change without modifying the 12868 object code. (I'm compiling this with gcc 2.7.0 for an aout 12869 target, which makes it simple to compare objects. When I do 12870 ELF-only, I've got a tool that compares that sort of thing as 12871 well).</p> 12872 12873 <p>Briefly, this patch adds (and uses) two header files in the 12874 xterm directory:</p> 12875 <pre> 12876 proto.h 12877 xterm.h 12878</pre> 12879 12880 <p>I expect this to be the biggest patch by far. However (barring 12881 a misplaced prototype), it shouldn't break anything, since the 12882 intent of the patch is to provide missing declarations.</p> 12883</body> 12884</html> 12885