xterm.log.html revision 492d43a5
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<!-- 3 ***************************************************************************** 4 * this file is part of xterm * 5 * * 6 * Copyright 1997-2009,2010 by Thomas E. Dickey * 7 * * 8 * All Rights Reserved * 9 * * 10 * Permission is hereby granted, free of charge, to any person obtaining a * 11 * copy of this software and associated documentation files (the * 12 * "Software"), to deal in the Software without restriction, including * 13 * without limitation the rights to use, copy, modify, merge, publish, * 14 * distribute, sublicense, and/or sell copies of the Software, and to * 15 * permit persons to whom the Software is furnished to do so, subject to * 16 * the following conditions: * 17 * * 18 * The above copyright notice and this permission notice shall be included * 19 * in all copies or substantial portions of the Software. * 20 * * 21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 22 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 23 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 24 * IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY * 25 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, * 26 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * 27 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 28 * * 29 * Except as contained in this notice, the name(s) of the above copyright * 30 * holders shall not be used in advertising or otherwise to promote the * 31 * sale, use or other dealings in this Software without prior written * 32 * authorization. * 33 ***************************************************************************** 34 $XTermId: xterm.log.html,v 1.984 2010/10/25 00:33:56 tom Exp $ 35 --> 36<HTML> 37<HEAD> 38<TITLE>XTERM - Change Log</TITLE> 39<LINK REV=MADE HREF="mailto:dickey@invisible-island.net"> 40<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 41</HEAD> 42<BODY> 43<HR> 44Copyright © 1997-2009,2010 by <A 45HREF="mailto:dickey@invisible-island.net">Thomas E. Dickey</A> 46<HR> 47<H1>Contents</H1> 48This file contains a list of the changes that I have made for xterm, 49from the notes that I add when submitting a patch. 50<P> 51You should note that other changes have been made as well, by other people, 52to fix bugs and correct ifdef's for portability. 53Most of these are summarized in the XFree86 CHANGELOG 54(found in the unbundled tree, xc/programs/Xserver/hw/xfree86). 55<a href="http://invisible-island.net/xterm/xterm.log.html">Here</a> 56is the latest version of this file. 57 58<UL> 59<LI><A HREF="#xterm_266">Patch #266 - 2010/10/24</A> 60<LI><A HREF="#xterm_265">Patch #265 - 2010/10/22</A> 61<LI><A HREF="#xterm_264">Patch #264 - 2010/10/14</A> 62<LI><A HREF="#xterm_263">Patch #263 - 2010/10/13</A> 63<LI><A HREF="#xterm_262">Patch #262 - 2010/8/30</A> 64<LI><A HREF="#xterm_261">Patch #261 - 2010/6/28</A> 65<LI><A HREF="#xterm_260">Patch #260 - 2010/6/20</A> 66<LI><A HREF="#xterm_259">Patch #259 - 2010/6/5</A> 67<LI><A HREF="#xterm_258">Patch #258 - 2010/5/1</A> 68<LI><A HREF="#xterm_257">Patch #257 - 2010/4/22</A> 69<LI><A HREF="#xterm_256">Patch #256 - 2010/3/6</A> 70<LI><A HREF="#xterm_255">Patch #255 - 2010/1/21</A> 71<LI><A HREF="#xterm_254">Patch #254 - 2010/1/6</A> 72<LI><A HREF="#xterm_253">Patch #253 - 2009/12/10</A> 73<LI><A HREF="#xterm_252">Patch #252 - 2009/12/7</A> 74<LI><A HREF="#xterm_251">Patch #251 - 2009/11/11</A> 75<LI><A HREF="#xterm_250">Patch #250 - 2009/10/13</A> 76<LI><A HREF="#xterm_249">Patch #249 - 2009/10/1</A> 77<LI><A HREF="#xterm_248">Patch #248 - 2009/9/11</A> 78<LI><A HREF="#xterm_247">Patch #247 - 2009/8/30</A> 79<LI><A HREF="#xterm_246">Patch #246 - 2009/8/16</A> 80<LI><A HREF="#xterm_245">Patch #245 - 2009/8/12</A> 81<LI><A HREF="#xterm_244">Patch #244 - 2009/8/9</A> 82<LI><A HREF="#xterm_243">Patch #243 - 2009/3/28</A> 83<LI><A HREF="#xterm_242">Patch #242 - 2009/2/15</A> 84<LI><A HREF="#xterm_241">Patch #241 - 2009/1/26</A> 85<LI><A HREF="#xterm_240">Patch #240 - 2009/1/25</A> 86<LI><A HREF="#xterm_239">Patch #239 - 2009/1/8</A> 87<LI><A HREF="#xterm_238">Patch #238 - 2008/12/30</A> 88<LI><A HREF="#xterm_237">Patch #237 - 2008/09/14</A> 89<LI><A HREF="#xterm_236">Patch #236 - 2008/07/27</A> 90<LI><A HREF="#xterm_235">Patch #235 - 2008/04/20</A> 91<LI><A HREF="#xterm_234">Patch #234 - 2008/03/02</A> 92<LI><A HREF="#xterm_233">Patch #233 - 2008/02/24</A> 93<LI><A HREF="#xterm_232">Patch #232 - 2008/01/30</A> 94<LI><A HREF="#xterm_231">Patch #231 - 2008/01/05</A> 95<LI><A HREF="#xterm_230">Patch #230 - 2007/12/31</A> 96<LI><A HREF="#xterm_229">Patch #229 - 2007/8/12</A> 97<LI><A HREF="#xterm_228">Patch #228 - 2007/7/22</A> 98<LI><A HREF="#xterm_227">Patch #227 - 2007/6/27</A> 99<LI><A HREF="#xterm_226">Patch #226 - 2007/6/17</A> 100<LI><A HREF="#xterm_225">Patch #225 - 2007/3/24</A> 101<LI><A HREF="#xterm_224">Patch #224 - 2007/2/11</A> 102<LI><A HREF="#xterm_223">Patch #223 - 2006/11/30</A> 103<LI><A HREF="#xterm_222">Patch #222 - 2006/10/17</A> 104<LI><A HREF="#xterm_221">Patch #221 - 2006/10/1</A> 105<LI><A HREF="#xterm_220">Patch #220 - 2006/9/10</A> 106<LI><A HREF="#xterm_219">Patch #219 - 2006/9/4</A> 107<LI><A HREF="#xterm_218">Patch #218 - 2006/8/27</A> 108<LI><A HREF="#xterm_217">Patch #217 - 2006/8/20</A> 109<LI><A HREF="#xterm_216">Patch #216 - 2006/8/3</A> 110<LI><A HREF="#xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A> 111<LI><A HREF="#xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A> 112<LI><A HREF="#xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A> 113<LI><A HREF="#xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A> 114<LI><A HREF="#xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A> 115<LI><A HREF="#xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A> 116<LI><A HREF="#xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A> 117<LI><A HREF="#xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A> 118<LI><A HREF="#xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A> 119<LI><A HREF="#xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A> 120<LI><A HREF="#xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A> 121<LI><A HREF="#xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A> 122<LI><A HREF="#xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A> 123<LI><A HREF="#xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A> 124<LI><A HREF="#xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A> 125<LI><A HREF="#xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A> 126<LI><A HREF="#xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A> 127<LI><A HREF="#xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A> 128<LI><A HREF="#xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A> 129<LI><A HREF="#xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A> 130<LI><A HREF="#xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A> 131<LI><A HREF="#xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A> 132<LI><A HREF="#xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A> 133<LI><A HREF="#xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A> 134<LI><A HREF="#xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A> 135<LI><A HREF="#xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A> 136<LI><A HREF="#xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A> 137<LI><A HREF="#xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A> 138<LI><A HREF="#xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A> 139<LI><A HREF="#xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A> 140<LI><A HREF="#xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A> 141<LI><A HREF="#xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A> 142<LI><A HREF="#xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A> 143<LI><A HREF="#xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A> 144<LI><A HREF="#xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A> 145<LI><A HREF="#xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A> 146<LI><A HREF="#xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A> 147<LI><A HREF="#xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A> 148<LI><A HREF="#xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A> 149<LI><A HREF="#xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A> 150<LI><A HREF="#xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A> 151<LI><A HREF="#xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A> 152<LI><A HREF="#xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A> 153<LI><A HREF="#xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A> 154<LI><A HREF="#xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A> 155<LI><A HREF="#xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A> 156<LI><A HREF="#xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A> 157<LI><A HREF="#xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A> 158<LI><A HREF="#xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A> 159<LI><A HREF="#xterm_166">Patch #166 - 2002/3/25 - XFree86 4.2.0</A> 160<LI><A HREF="#xterm_165">Patch #165 - 2002/1/5 - XFree86 4.1.0</A> 161<LI><A HREF="#xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A> 162<LI><A HREF="#xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A> 163<LI><A HREF="#xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A> 164<LI><A HREF="#xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A> 165<LI><A HREF="#xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A> 166<LI><A HREF="#xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A> 167<LI><A HREF="#xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A> 168<LI><A HREF="#xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A> 169<LI><A HREF="#xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A> 170<LI><A HREF="#xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A> 171<LI><A HREF="#xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A> 172<LI><A HREF="#xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A> 173<LI><A HREF="#xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A> 174<LI><A HREF="#xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A> 175<LI><A HREF="#xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A> 176<LI><A HREF="#xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A> 177<LI><A HREF="#xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A> 178<LI><A HREF="#xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A> 179<LI><A HREF="#xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A> 180<LI><A HREF="#xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A> 181<LI><A HREF="#xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A> 182<LI><A HREF="#xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A> 183<LI><A HREF="#xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A> 184<LI><A HREF="#xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A> 185<LI><A HREF="#xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A> 186<LI><A HREF="#xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A> 187<LI><A HREF="#xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A> 188<LI><A HREF="#xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A> 189<LI><A HREF="#xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A> 190<LI><A HREF="#xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A> 191<LI><A HREF="#xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A> 192<LI><A HREF="#xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A> 193<LI><A HREF="#xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A> 194<LI><A HREF="#xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A> 195<LI><A HREF="#xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A> 196<LI><A HREF="#xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A> 197<LI><A HREF="#xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A> 198<LI><A HREF="#xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A> 199<LI><A HREF="#xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A> 200<LI><A HREF="#xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A> 201<LI><A HREF="#xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A> 202<LI><A HREF="#xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A> 203<LI><A HREF="#xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A> 204<LI><A HREF="#xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A> 205<LI><A HREF="#xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A> 206<LI><A HREF="#xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A> 207<LI><A HREF="#xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A> 208<LI><A HREF="#xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A> 209<LI><A HREF="#xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A> 210<LI><A HREF="#xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A> 211<LI><A HREF="#xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A> 212<LI><A HREF="#xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A> 213<LI><A HREF="#xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A> 214<LI><A HREF="#xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A> 215<LI><A HREF="#xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A> 216<LI><A HREF="#xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A> 217<LI><A HREF="#xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A> 218<LI><A HREF="#xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A> 219<LI><A HREF="#xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A> 220<LI><A HREF="#xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A> 221<LI><A HREF="#xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A> 222<LI><A HREF="#xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A> 223<LI><A HREF="#xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A> 224<LI><A HREF="#xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A> 225<LI><A HREF="#xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A> 226<LI><A HREF="#xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A> 227<LI><A HREF="#xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A> 228<LI><A HREF="#xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A> 229<LI><A HREF="#xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A> 230<LI><A HREF="#xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A> 231<LI><A HREF="#xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A> 232<LI><A HREF="#xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A> 233<LI><A HREF="#xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A> 234<LI><A HREF="#xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A> 235<LI><A HREF="#xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A> 236<LI><A HREF="#xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A> 237<LI><A HREF="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A> 238<LI><A HREF="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A> 239<LI><A HREF="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A> 240<LI><A HREF="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A> 241<LI><A HREF="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni and 3.3.2e</A> 242<LI><A HREF="#sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A> 243<LI><A HREF="#xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A> 244<LI><A HREF="#xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A> 245<LI><A HREF="#xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A> 246<LI><A HREF="#xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A> 247<LI><A HREF="#xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A> 248<LI><A HREF="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A> 249<LI><A HREF="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A> 250<LI><A HREF="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A> 251<LI><A HREF="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A> 252<LI><A HREF="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A> 253<LI><A HREF="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A> 254<LI><A HREF="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A> 255<LI><A HREF="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A> 256<LI><A HREF="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A> 257<LI><A HREF="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A> 258<LI><A HREF="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A> 259<LI><A HREF="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A> 260<LI><A HREF="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A> 261<LI><A HREF="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A> 262<LI><A HREF="#xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A> 263<LI><A HREF="#xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A> 264<LI><A HREF="#xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A> 265<LI><A HREF="#xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A> 266<LI><A HREF="#xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A> 267<LI><A HREF="#xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A> 268<LI><A HREF="#xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A> 269<LI><A HREF="#xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A> 270<LI><A HREF="#xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A> 271<LI><A HREF="#xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A> 272<LI><A HREF="#xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A> 273<LI><A HREF="#xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A> 274<LI><A HREF="#xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A> 275<LI><A HREF="#xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A> 276<LI><A HREF="#xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A> 277<LI><A HREF="#xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A> 278<LI><A HREF="#xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A> 279<LI><A HREF="#xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A> 280<LI><A HREF="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A> 281<LI><A HREF="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A> 282<LI><A HREF="#xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A> 283<LI><A HREF="#xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A> 284<LI><A HREF="#xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A> 285<LI><A HREF="#xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A> 286<LI><A HREF="#xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A> 287<LI><A HREF="#xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A> 288<LI><A HREF="#xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A> 289<LI><A HREF="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A> 290<LI><A HREF="#xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A> 291<LI><A HREF="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A> 292<LI><A HREF="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A> 293<LI><A HREF="#xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A> 294<LI><A HREF="#xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A> 295<LI><A HREF="#xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A> 296<LI><A HREF="#xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A> 297<LI><A HREF="#xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A> 298<LI><A HREF="#xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A> 299<LI><A HREF="#xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A> 300<LI><A HREF="#xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A> 301<LI><A HREF="#xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A> 302<LI><A HREF="#xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A> 303<LI><A HREF="#xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A> 304<LI><A HREF="#xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A> 305<LI><A HREF="#xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A> 306<LI><A HREF="#xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A> 307<LI><A HREF="#xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A> 308<LI><A HREF="#xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A> 309<LI><A HREF="#xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A> 310<LI><A HREF="#xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A> 311<LI><A HREF="#xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A> 312<LI><A HREF="#xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A> 313<LI><A HREF="#xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A> 314<LI><A HREF="#xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A> 315<LI><A HREF="#xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A> 316<LI><A HREF="#xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A> 317<LI><A HREF="#xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A> 318<LI><A HREF="#xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A> 319<LI><A HREF="#xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A> 320<LI><A HREF="#xterm_06">Patch #6 - 1996/1/8</A> 321<LI><A HREF="#xterm_05">Patch #5 - 1996/1/7</A> 322<LI><A HREF="#xterm_04">Patch #4 - 1996/1/7</A> 323<LI><A HREF="#xterm_03">Patch #3 - 1996/1/7</A> 324<LI><A HREF="#xterm_02">Patch #2 - 1996/1/7</A> 325<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A> 326</UL> 327 328<H1><A NAME="xterm_266">Patch #266 - 2010/10/24</A></H1> 329<ul> 330 <li>add rpm and dpkg scripts, for testing. 331 332 <li>more fixes for Debian #600707 (report by Cyril Brulebois). 333</ul> 334 335<H1><A NAME="xterm_265">Patch #265 - 2010/10/22</A></H1> 336<ul> 337 <li>fix a regression in fontname logic from 338 <a href="#xterm_263">patch #263</a> changes 339 (Debian #600707, reported by Vincent Lefevre). 340 341 <li>revert modification of any-event/any-button protocol from 342 <a href="#xterm_263">patch #263</a> changes. 343 It interferes with selection using a 344 shifted mouse button (reports by Neil Bird, Bram Moolenaar). 345</ul> 346 347<H1><A NAME="xterm_264">Patch #264 - 2010/10/14</A></H1> 348<ul> 349 <li>replace a null-pointer check with check for empty string in 350 <code>xtermOpenFont</code>, 351 to eliminate a warning message from 352 <a href="#xterm_263">patch #263</a> changes. 353 354 <li>build-fix for <a href="#xterm_263">patch #263</a> when toolbar 355 is not configured 356 (patch by Chris Clayton) 357 (reports by Robby Workman, 358 David Wood). 359</ul> 360 361<H1><A NAME="xterm_263">Patch #263 - 2010/10/13</A></H1> 362<ul> 363 <li>corrected initialization of "misc" resource values, to ensure that 364 xterm has allocated a copy of strings which may not have been 365 malloc'd by the X library (Debian #600129). 366 367 <li>modify handling of any-event/any-button mouse protocol; it 368 now is active with any combination of key-modifiers. 369 370 <li>add debugging feature <code>showWrapMarks</code>, which marks 371 lines which xterm knows are wrapped, showing where a double-click 372 will select past the end of a line. 373 374 <li>build-fix to address change in include-guards for 375 <code>Xlib.h</code> 376 in ongoing Xorg edits (patch by Jeremy Huddleston). 377 378 <li>improve <code>pointerMode</code> by continuing to watch for motion 379 events after mouse tracking is disabled if the pointer is hidden 380 (Debian #594856). 381 382 <li>further extend initialization for active-icon font to check if 383 the font was not loaded succesfully, 384 to retry with <code>font1</code>, 385 or as even (if TrueType fonts are used) to use a TrueType font. 386 The retries are to help with cases as in 387 <a href="#xterm_241">patch #241</a> where the bitmap fonts are 388 not available. 389 390 <li>fix special case of active-icon used when TrueType font is 391 specified for the xterm window, 392 from <a href="#xterm_261">patch #261</a> change. 393 In that case, the default font's size was used for layout of the 394 active icon's window (Debian #591265). 395</ul> 396 397<H1><A NAME="xterm_262">Patch #262 - 2010/8/30</A></H1> 398<ul> 399 <li>fix a case where changing the cursor color via escape sequences 400 did not immediately update the screen (report by Andreas Wagner). 401 402 <li>implement ANSI and DEC request-mode control sequences. The 403 latter includes the xterm-specific private modes such as the 404 mouse mode. The feature is ifdef'd with the rectangle operations 405 since its decoding overlaps that feature. 406 407 <li>correct typo in ctlseqs.ms for response of OSC 21 (patch by 408 Kevin Schoedel). 409 410 <li>improve discussion of mouse tracking in ctlseqs.ms 411 412 <li>increase an array limit used in reporting mouse events (report 413 by Ryan Johnson). 414 415 <li>add extended mouse-coordinates mode, allowing up to 2015x2015 416 windows, using UTF-8 encoding (patch by Ryan Johnson). 417 418 <li>modify manpage hyphens to conform with 419 <a href="http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html">Debian</a>. 420</ul> 421 422<H1><A NAME="xterm_261">Patch #261 - 2010/6/28</A></H1> 423<ul> 424 <li>fix regression in <code>renderFont</code> logic, from 425 <a href="#xterm_260">patch #260</a> changes 426 (report by Joseph Quinsey). 427</ul> 428 429<H1><A NAME="xterm_260">Patch #260 - 2010/6/20</A></H1> 430<ul> 431 <li>modify <code>plink.sh</code> to work around problem linking to 432 recent PCRE libraries. 433 434 <li>extend <code>renderFont</code> resource to allow deferred switch 435 to TrueType fonts without affecting existing resource settings 436 (Debian #585620). 437 438 <li>modify configure macro CF_X_TOOLKIT to work around omission of 439 ICE library from ".pc" file (report by Miroslav Lichvar). 440 441 <li>change configure script default for <code>--enable-broken-st</code> 442 i.e., the <code>brokenStringTerm</code> feature) 443 to normally enable it. 444 If the corresponding resource is enabled, 445 this feature eliminates an apparent freeze of xterm 446 when sending mis-encoded data to the screen (Debian #584801). 447 448 <li>document in manpage some actions which were overlooked: 449 <ul> 450 <li>readline-button 451 <li>scroll-lock 452 <li>set-8-bit-control 453 </ul> 454 455 <li>undo a change to limit-check in <code>ScrnRefresh</code> 456 in <a href="#xterm_257">patch #257</a>, 457 which broke <code>fastScroll</code> feature 458 (Debian #584841). 459 460 <li>modify handling of 461 <code>brokenLinuxOSC</code> and 462 <code>brokenStringTerm</code> 463 to also sound the bell. 464 465 <li>add control/D and control/Q to controls which will cause early 466 exit from control string per <code>brokenStringTerm</code> 467 resource. 468 469 <li>improve documentation of <code>brokenStringTerm</code> resource 470 in manpage. 471</ul> 472 473<H1><A NAME="xterm_259">Patch #259 - 2010/6/5</A></H1> 474<ul> 475 <li>modify configure check for 476 <a href="http://invisible-island.net/luit/">luit</a> to include new 477 aliases for the program 478 (<code>xterm-filter</code> and 479 <code>bluit</code>). 480 481 <li>add workaround in <code>xtermClearLEDs()</code> to account for 482 Xkb's override, making vttest's LED demo reset the scroll 483 lock. 484 485 <li>filter out client-message events when deciding whether to hide 486 cursor, e.g., when using SCIM 487 (patch/report by anonymous user). 488 489 <li>improve description of <code>-bd</code> option in manpage 490 (report by Guy Daniel Clotilde). 491 492 <li>modify configure checks for PCRE and other libraries to use 493 <code>pkg-config</code>, if available. 494 495 <li>amend change from <a href="#xterm_252">patch #252</a>, to take 496 <code>veryColorColors</code> resource into account when checking 497 <code>colorBDMode</code> resource for TrueType fonts 498 (report by anonymous user). 499 500 <li>add <code>vttests/query-fonts.pl</code> script for 501 demonstrating the <code>OSC 50</code> font query. 502 503 <li>improve manpage discussion of Scroll Lock feature. 504 505 <li>improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS. 506 507 <li>fix warnings for "clang --analyze". 508 509 <li>change default for <code>allowScrollLock</code> resource to 510 <code>false</code>, noting that the supposedly unused key has 511 been useful for various rebindings (Debian #580946). 512</ul> 513 514<H1><A NAME="xterm_258">Patch #258 - 2010/5/1</A></H1> 515<ul> 516 <li>add pointer-checks in <code>ScrnRefresh</code> to fix a case in 517 rapid scrolling where an empty record is fetched from the 518 scrollback FIFO. 519</ul> 520 521<H1><A NAME="xterm_257">Patch #257 - 2010/4/22</A></H1> 522<ul> 523 <li>correct ctlseqs.ms description of OSC 17 and OSC 19 524 (patch by Emanuele Giaquinta). 525 526 <li>corrected logic for <code>menuLocale</code> resource; 527 the <code>setlocale</code> function returns the original locale 528 only when querying. 529 530 <li>improve filtering of translations resource, narrowing the scope 531 of the <code>alwaysUseMods</code> to address only the translations 532 that would cause a key to be sent to the host (report by Andrew 533 Gaylard). 534 535 <li>change default value of <code>menuLocale</code> resource to "C", 536 to work around 537 longstanding <a href="http://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg bug</a>. 538 539 <li>modify handling of <code>scrollKey</code> feature to ignore 540 XON/XOFF keys. 541 542 <li>implement scroll-lock feature. 543 544 <li>revise memory allocation in UTF8toLatin1() to fix an out-of-bounds 545 index (Mandriva #54531). 546 547 <li>compute value for first wide-character rather than assuming it is 548 256, fixes problem with <code>-cjk_width</code> introduced in 549 patches 550 <a href="#xterm_242">242</a> and 551 <a href="#xterm_249">249</a> 552 (report by Thomas Wolff). 553 554 <li>improve configure script: 555 <ul> 556 <li>corrected check for <code>_XOPEN_SOURCE</code> for OpenSolaris. 557 558 <li>when possible, add rpath option for libraries in unusual places 559 560 <li>add configure option <code>--disable-rpath-hack</code> to 561 control whether the rpath option can be added. 562 </ul> 563 564 <li>modify <code>AllocateTermColor()</code> to separate initialization 565 from control sequences, 566 fixing problem from <a href="#xterm_254">patch #254</a> changes 567 where enabling <code>allowSendEvents</code> 568 resource prevents setting cursor color on command-line 569 (Debian #572928). 570 571 <li>amend logic from <a href="#xterm_185">patch #185</a> to not 572 reallocate cell-array if processing <code>ESC % G</code> 573 to switch from UTF-8 if already in ISO-8859-1 character set 574 (report by Michael Koehne). 575 576 <li>fix to avoid calling <code>XmuInternStrings()</code> with zero 577 count (report by Johan Bockgård). 578 579 <li>fix build when --disable-ansi-color configure option is used. 580 581 <li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is defined 582 (patch by Matthieu Herrb) 583</ul> 584 585<H1><A NAME="xterm_256">Patch #256 - 2010/3/6</A></H1> 586<ul> 587 <li>add TerminalEmulator to desktop category files. 588 589 <li>modify <code>sinstall.sh</code> to ignore the "." appended to 590 permissions by selinux. 591 592 <li>change app-defaults organization, installing UXTerm-color 593 and KOI8XTerm-color for consistent behavior regarding 594 <code>customization: color</code> (prompted by discussion 595 in Ubuntu #421261). 596 597 <li>fix typo in <code>minstall.sh</code> from 598 <a href="#xterm_255">patch #255</a> changes, 599 and add case for 600 <code>/var/run</code> needed for full path of utmp 601 (report by Julien Cristau). 602 603 <li>minor fix to xterm manpage, remove a comment stating that margin 604 bell can be changed via the VT Options menu. That was replaced in 605 <a href="#xterm_225">patch #225</a> 606 607 <li>add a "docs" rule to makefile. 608 609 <li>fix initialization of Atom used for <code>XkbBell</code> feature 610 from <a href="#xterm_243">patch 243</a> changes. 611 Unlike the other calls to <code>XInternAtom()</code>, 612 in this case the flag telling X to create the Atom was unset 613 (patch by Chris Adams). 614</ul> 615 616<H1><A NAME="xterm_255">Patch #255 - 2010/1/21</A></H1> 617<ul> 618 <li>rename <code>install.sh</code> to <code>install-sh</code> in case 619 suffix-rules might interfere. 620 621 <li>extend range for <code>convertToUTF8</code> function to full 622 31-bits, to use with printing, etc. 623 624 <li>improve manpage by checking for actual locations of 625 utmp/wtmp files (Debian #562640). 626 627 <li>modify configure macro CF_XOPEN_SOURCE to remove -D's before 628 adding the same name rather than relying on -U's, to reduce 629 redefinition warnings for some platforms that have conflicting 630 definitions in headers. 631 632 <li>correct logic used to switch to alternate screen using FIFO-lines 633 configuration (Debian #565772). 634 635 <li>update config.guess, config.sub 636</ul> 637 638<H1><A NAME="xterm_254">Patch #254 - 2010/1/6</A></H1> 639<ul> 640 <li>add a configure-check to eliminate <code>install-ti</code> 641 rule from Makefile when the system has no tic (terminfo compiler) 642 program. This lets one use the <code>install-full</code> 643 rule more consistently. 644 645 <li>amend change to WriteText() function in 646 <a href="#xterm_252">patch #252</a> to take into account the 647 <code>colorAttrMode</code> resource 648 (report by Krzysztof Kotlenga). 649 650 <li>document <code>titleModes</code> resource in manpage, added in 651 <a href="#xterm_252">patch #252</a>. 652 653 <li>modify tcap-query table entries for shifted up/down cursor keys 654 to match ncurses convention. 655 656 <li>improve lookup of termcap-query data, allowing for duplicate 657 keycodes versus missing entries. 658 659 <li>add control sequence which can be used to modify the terminal 660 data used for the termcap-keyboard. 661 662 <li>improve portability of tcap-query feature, using terminfo functions 663 in preference to termcap on systems having terminfo. 664 665 <li>improve font-setting/querying control (<code>OSC 50</code>): 666 <ul> 667 <li>when TrueType font is selected, the TrueType 668 <code>faceName</code> will be set, rather than the bitmap font. 669 <li>when TrueType font is selected, querying returns the name of 670 the TrueType font. 671 <li>querying a font recognizes the relative-font convention that 672 setting a font could use. 673 </ul> 674 675 <li>add menu-entry for allowColorOps. 676 677 <li>add new resources for fine-tuning menu entries: 678 <code>allowColorOps</code>, 679 <code>disallowedColorOps</code>, 680 <code>disallowedFontOps</code> and 681 <code>disallowedTcapOps</code>. 682 683 <li>correct logic for disabling the "TrueType Fonts" menu item; it was 684 not ensuring that the <code>faceName</code> resource value was 685 non-empty. 686 687 <li>implement VT520-style controls <code>DECSMBV</code> and 688 <code>DECSWBV</code> for setting the margin- and warning-bell 689 volume. 690 691 <li>fix a minor error from <a href="#xterm_243">patch #243</a> which 692 made the zIconBeep feature use a minor-error tone rather than an 693 informational tone. 694 695 <li>add a null-pointer check for the case where <code>renderFont</code> 696 resource is true, but <code>faceName</code> resource is unset, 697 used in logic to strip "xft:" prefix from 698 <a href="#xterm_251">patch #251</a> changes 699 (patch by Michael Riepe). 700 701 <li>add special case to configure CF_XOPEN_SOURCE macro to use extensions 702 on Darwin (patch by Dennis Preiser). 703 704 <li>improve configure checks for regular expressions header and 705 library 706 707 <li>update config.guess, config.sub 708</ul> 709 710<H1><A NAME="xterm_253">Patch #253 - 2009/12/10</A></H1> 711<ul> 712 <li>add a null-pointer check in <code>getPrinterFlags()</code> 713 per changes in <a href="#xterm_252">patch #252</a>. 714 715 <li>add a null-pointer check, needed in UTF-8 mode for Xft fonts after 716 changes in <a href="#xterm_252">patch #252</a> (patch by Alan 717 Coopersmith). 718 719 <li>correct size when clearing struct for tek4014 (patch by Jochen 720 Voss). 721 722 <li>parenthesize expression in <code>MoreRows</code> macro, fixing 723 a limit check added in <a href="#xterm_251">patch #251</a> 724 (Debian #560039). 725</ul> 726 727<H1><A NAME="xterm_252">Patch #252 - 2009/12/7</A></H1> 728<ul> 729 <li>modify title-querying logic to support retrieval of titles encoded 730 using UTF-8. 731 732 <li>add new "title-modes" control sequence for controlling whether 733 window/icon titles can be set or queried using UTF-8, optionally 734 encoded in a hexadecimal string. 735 736 <li>use <code>mkdir -p</code> rather than <code>mkdirs.sh</code> 737 (prompted by discussion of mawk by Aleksey Cheusov). 738 739 <li>add appropriate copyright/license notices to the bulk of files 740 lacking same, and modify to use identical terms in others which 741 used different wording. The main exceptions are the files 742 contributed by Markus Kuhn, who appears to prefer public domain 743 distribution, noting that I have modified/improved several of these 744 without changing the terms of distribution (request by Jari Aalto). 745 746 <li>add control sequences for resetting the "dynamic" colors to 747 their default values. 748 749 <li>add control sequences for resetting the "special" colors to 750 their default values. 751 752 <li>add control sequences for setting the "special" colors such as 753 <code>colorBD</code> (bold). 754 755 <li>add overlooked case for setting highlight foreground color with 756 the dynamic-colors control. 757 758 <li>add <code>OSC 104</code>, for resetting ANSI/16/88/256 colors to 759 default. 760 761 <li>reset ANSI/16/88/256 colors to default in soft/hard reset functions. 762 763 <li>strip "xft:" prefix from <code>faceName</code> and 764 <code>faceNameDoublesize</code> resource values, 765 766 <li>add <code>DECSCUSR</code> (discussion with Andy Koppe). 767 768 <li>add check/warning on failure to load font, to see if the name looks 769 like an Xft pattern rather than XLFD. This can happen if someone 770 happens to modify their X resource settings for programs that read 771 data from xterm's namespace. 772 773 <li>modify handling of <code>print</code> and 774 <code>print-everything</code> 775 actions to allow the various printer flags to be overridden by 776 supplying parameters. 777 778 <li>add resource <code>printerNewLine</code> (request by Ovidiu 779 Gheorghioiu). 780 781 <li>minor cleanup, finish using <code>TScreenOf()</code> and 782 <code>TekScreenOf()</code> macros introduced in 783 <a href="#xterm_224">patch #224</a>. 784 785 <li>improve checks in ShowCursor/HideCursor to get the background 786 color, particularly when <code>highlightReverse</code> resource 787 is used (reports by Jan Engelhardt, Christian Weisgerber). 788 789 <li>correct <code>checkVeryBoldAttr</code> to omit comparison of 790 foreground color to special color values used for 791 <code>color<XX></code> resources (report by Jan Engelhardt). 792 793 <li>make <code>colorBDMode</code> and <code>colorULMode</code> 794 resources work with TrueType configuration (report by Jan 795 Engelhardt). 796</ul> 797 798<H1><A NAME="xterm_251">Patch #251 - 2009/11/11</A></H1> 799<ul> 800 <li>add window-ops controls to push/pop icon and/or window labels on 801 a stack. 802 803 <li>minor fixes to align termcap file with terminfo. 804 805 <li>add resource <code>disallowedWindowOps</code>, to allow fine-tuning 806 of features to suppress with the <code>allowWindowOps</code> 807 resource (prompted by discussion with Bram Moolenaar). 808 809 <li>add makefile rules for resize-manpage to pdf, etc. 810 811 <li>further improve limit-checks in select/paste (Mandriva #54531). 812</ul> 813 814<H1><A NAME="xterm_250">Patch #250 - 2009/10/13</A></H1> 815<ul> 816 <li>add check and error-message for fonts that have no printable 817 values in the ISO-8859-1 range (Debian #542434). 818 819 <li>some compiler-warning cleanup, in particular workaround for 820 defective implementation of gcc's attribute warn_unused_result 821 (report by Bram Moolenaar). 822 823 <li>improve estimate of single-column width for packed TrueType 824 fonts by ignoring extents for codes 127 and 159. 825 826 <li>improve line-drawing for TrueType fonts which happen to have 827 defined glyphs which are <em>not</em> line-drawing in 0..31 828 by assuming they're not, and just checking the existence of 829 the Unicode codepoints. This makes it more likely that the 830 user can override a misconfigured font using the "Line-Drawing 831 Characters" menu entry. 832 833 <li>limit minimum cell-width for packed font to maximum-advance 834 reported by Xft. Some fonts are wider than that, even in the 835 Latin-1 range (Debian #550497). 836 837 <li>add list of direct-contributors in "THANKS" file. 838 839 <li>stylistic changes to this file to help scripted extraction of 840 list of contributors. 841 842 <li>correct off-by-one in <code>okPosition</code> fix from 843 <a href="#xterm_249">patch #249</a> limit-checks which 844 prevented double-click selection on the bottom line of the 845 screen (reports by Rajeev V. Pillai, Debian #550368). 846 847 <li>add <code>-q</code> option to 848 <code>vttest/256colors2.pl</code> and 849 <code>vttest/88colors2.pl</code> 850 to demonstrate bulk initialization of color palette. 851 852 <li>improve the workaround from patch #188 by enabling resources for 853 the 88-color model. 854 855 <li>document in xterm manpage the limited availability of resources 856 <code>color16</code> to <code>color255</code> as noted in 857 <a href="#xterm_188">patch #188</a> (Ubuntu #438850). 858</ul> 859 860<H1><A NAME="xterm_249">Patch #249 - 2009/10/1</A></H1> 861<ul> 862 <li>change default for <code>allowWindowOps</code> resource to false. 863 <!-- on the other hand, gnome-terminal, pterm and rxvt-unicode 864 leave most of the related functionality enabled ;-) --> 865 866 <li>add limit-checks for result of visual_width() function, 867 needed from <a href="#xterm_242">patch #242</a> and 868 exposed by #244 changes (Debian #548321). 869 870 <li>improve limit-checks in select/paste. 871 872 <li>fix a remaining bug from 873 <a href="#xterm_230">patch #230</a> 874 changes for displaying multi-column 875 characters in a proportional font (report by Chris Jones). 876 877 <li>add new resource forcePackedFont and menu entry "Packed Font" to 878 control whether to use the font's minimum (default) or maximum 879 width when those differ. The workaround which xterm uses to 880 accommodate proportional fonts is not necessary with certain 881 fonts such as unifont which happen to store a mixture of 882 multicolumn glyphs (report by Chris Jones). 883 884 <li>fix an (old) bug which did not restart the timer for blinking text 885 if the only blinking text was temporarily scrolled out of view, 886 e.g., using the scrollbar. 887 888 <li>fix an (old) flaw in the delete-line operation where the text which 889 is scrolled into view while the display is scrolled up was not 890 repainted. 891 892 <li>improve delete-line and insert-line operations, retaining selection 893 when the selection does not intersect the deleted/inserted lines. 894 895 <li>fix an (old) off-by-one error when an application cleared above the 896 cursor position while the display was scrolled up, that would leave 897 an extra line of text uncleared. 898 899 <li>fix a similar problem where the double-size attribute would not be 900 reset when clearing the screen while the display was scrolled up. 901 902 <li>fix an indexing error which would occur if an application cleared 903 a line while the display was scrolled up and was also in UTF-8 mode 904 (Redhat #524503). 905 The error was from <a href="#xterm_228">patch #228</a> 906 but more visible after 907 changes from <a href="#xterm_244">patch #244</a>. 908</ul> 909 910<H1><A NAME="xterm_248">Patch #248 - 2009/9/11</A></H1> 911<ul> 912 <li>fix an overlooked adjustment for selecting double-width characters 913 in the narrow-character configuration. 914 915 <li>eliminate uses of <code>XTERM_CELL</code> and 916 <code>XTERM_CELLC</code> where an appropriate <code>LineData</code> 917 pointer is available. 918 919 <li>correct expression in <code>okScrnRow</code> macro, making 920 selections give the length of lines below the visible screen 921 (report by Stuart Henderson). 922 923 <li>correct logic used to improve performance of missing-glyph check, 924 which did not handle line-drawing characters (Debian #545220). 925</ul> 926 927<H1><A NAME="xterm_247">Patch #247 - 2009/8/30</A></H1> 928<ul> 929 <li>add ifdef's and check for openpty() on DragonFly (patch by 930 Alex Hornung). 931 932 <li>correct calculation for size of line's data block, which was 933 sometimes off-by-one when configured 934 using <code>--enable-16bit-chars</code> 935 (report by H Merijn Brand). 936 937 <li>fix indexing error in print-everything feature from 938 <a href="#xterm_246">patch #246</a> (patch by Ovidiu Gheorghioiu). 939</ul> 940 941<H1><A NAME="xterm_246">Patch #246 - 2009/8/16</A></H1> 942<ul> 943 <li>remove obsolete logic for saving/restoring wrapping flags, which 944 did not work on 64-bit platform. Wrapping flags (stored in the 945 line-index) are now copied with line-data (Debian #541160). 946 947 <li>modify comments in app-defaults files to avoid problem with 948 C preprocessor used by <code>xrdb</code> (Debian #541603). 949 950 <li>restore special case in <code>makeColorPair</code>, 951 needed for <code>colorBDMode</code> resource (Debian #541089). 952 953 <li>correct <code>SetLineFlags()</code> macro, broken in 954 <a href="#xterm_244">patch #244</a> 955 when recoding to avoid gcc-specific bitfields (Debian #541236). 956 957 <li>modify initialization of screen buffers to ensure that pointers 958 align to int-boundaries. 959 This fixes a problem introduced in 960 <a href="#xterm_244">patch #244</a> 961 where the color- and character-arrays 962 (stored after the video-attributes in each row) 963 might be misaligned (report by Rajeev V Pillai). 964 965 <li>add limit-check in <code>ScrnRefresh</code> for handling 966 saved-lines from the circular buffer which are repainted on a 967 screen whose width has increased. To improve performance, circular 968 buffer entries are not resized (report by Rajeev V Pillai). 969 970 <li>correct type for <code>CellColor</code> (a late change in 971 <a href="#xterm_244">patch #244</a> 972 to avoid gcc-specifc enums made that unsigned 973 rather than unsigned short, for the 256-color option). 974 975 <li>fix typo in configure option --enable-16bit-chars (report by 976 Rajeev V. Pillai). 977</ul> 978 979<H1><A NAME="xterm_245">Patch #245 - 2009/8/12</A></H1> 980<ul> 981 <li>correct a special case in saving FIFO-lines from 982 <a href="#xterm_244">patch #244</a>. 983 If the screen was shrunk, xterm used the wrong amount for copying 984 to FIFO-lines, and then used this amount to adjust the current 985 row on the screen. That was both a visible defect (Debian #541109) 986 as well as a potential addressing error (Debian #541132, #541160, 987 and #541236). 988 989 <li>add clarification in xterm manual about the 990 various <code>allow<em>XXX</em>Ops</code> resources, which 991 are disabled when the 992 <code>allowSendEvents</code> resource is active (patch by 993 Julien Cristau, Debian #531597). 994</ul> 995 996<H1><A NAME="xterm_244">Patch #244 - 2009/8/9</A></H1> 997<ul> 998 <li>refactored storage of saved-lines, providing a configure option 999 to manage them as a FIFO (actually a circular buffer), improving 1000 performance. 1001 Added configure option <code>--enable-fifo-lines</code> to 1002 enable/disable the new feature (it is enabled by default). 1003 1004 <li>added <code>fastScroll</code> resource, to amuse 1005 people who measure terminal emulator performance by 1006 <code>cat</code>'ing large files to the screen. 1007 1008 <li>modify check in <code>readPtyData</code> from return values 1009 to provide exit on zero-bytes read from pty for FreeBSD, or 1010 eliminate high-CPU in "xterm-hold" processing 1011 (discussion with Ulrich Spoerlein, FreeBSD ports/136686). 1012 The check was originally modified to combine negative/zero 1013 values in XFree86-3.1.2E, 1996/05/06. 1014 1015 <li>add configure option <code>--enable-16bit-chars</code> to 1016 provide wide-characters with 16-bits (rather than the default 1017 32-bits). 1018 1019 <li>add <code>retryInputMethod</code> resource to allow configuring 1020 out the retries xterm uses to connect to non-responsive XIM 1021 server, to work around defective X configurations as noted in 1022 <a href="http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html">NetBSD mailing list</a>. 1023 1024 <li>make regular-expression selection work for VT100 double-sized 1025 characters. 1026 1027 <li>improve layout when drawing missing characters in a proportional 1028 font, e.g., as boxes, to take into account whether they are 1029 double-width (report by Guilbert Stabilo on comp.unix.shell). 1030 1031 <li>add capability for keypad-center (kb2/KA2) to termcap entry for 1032 xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220 1033 (FreeBSD conf/136336). 1034 1035 <li>change default for <code>keepSelection</code> resource to true 1036 (prompted by discussion with David Muir Sharnoff). 1037 1038 <li>remove a limit-check in ptydata.c, allowing Unicode values past 1039 64k to be displayed using TrueType fonts (Debian #458432). 1040 1041 <li>remove a vt52-specific ifdef to allow mapping F1-F4 to PF1-PF4 1042 when vt52 support is not compiled (report by Olaf 'Rhialto' 1043 Seibert). 1044 1045 <li>save/restore line-wrapping flags when converting from ISO-8859-1 1046 encoding to UTF-8 encoding, as well as when resizing screen. 1047 1048 <li>remove extra adjustment of position in fix for Debian #418324. 1049 1050 <li>modify default check for <code>mkWidth</code> resource to check 1051 for line-drawing characters, which are categorized as double-width 1052 in Solaris 10 (report by Sebastian Kayser). 1053 1054 <li>add "print-everything" action (patch by Ovidiu Gheorghioiu). 1055 1056 <li>start refactoring scrollback data using new getLineData() function. 1057 1058 <li>demote recent change to Debian #252873 fix to experimental, 1059 ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141). 1060 1061 <li>work around groff mapping of ASCII quotes using macros (requested 1062 by Reuben Thomas based on Colin Watson advice, fixes Debian #378700). 1063 1064 <li>correct symbol used for default of <code>allowWindowOps</code> 1065 which was <code>DEF_ALLOW_FONT</code> 1066 rather than <code>DEF_ALLOW_WINDOW</code> 1067 (report by Matthieu Herrb). 1068 1069 <li>amend fix for tek4014 from <a href="#xterm_243">patch #243</a> 1070 to make it only apply to the Tek Options menu. 1071</ul> 1072 1073<H1><A NAME="xterm_243">Patch #243 - 2009/3/28</A></H1> 1074<ul> 1075 <li>revert change to default for <code>allowTcapOps</code> (request by 1076 Bram Moolenaar). 1077 1078 <li>reallocate result returned by <code>xtermEnvLocale()</code> to 1079 avoid reference to freed memory after handling 1080 <code>menuLocale</code> resource. 1081 1082 <li>fix an old (X11R5) bug in tek4014 for switching fontsizes. 1083 1084 <li>add resource <code>defaultString</code> to make configurable the 1085 use of "#" when pastes of UTF-8 text fail due to limitations in 1086 the current locale settings. 1087 1088 <li>make the set of selection target Atom's configurable by two new 1089 resources <code>eightBitSelectTypes</code> and 1090 <code>utf8SelectTypes</code>, e.g., to use the <code>TEXT</code> 1091 Atom in preference to <code>UTF8_STRING</code> (discussion with 1092 Stanislav Sedov regarding koi8rxterm and the FreeBSD port). 1093 1094 <li>modify handling of <code>TARGETS</code> Atom by making it return 1095 exactly the set of targets as those which xterm is currently 1096 providing. 1097 1098 <li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly to 1099 /bin/cat in <code>minstall.sh</code> to work around /etc/man.conf's 1100 with those variables already set 1101 (report by Марьясин 1102 Семён). 1103 <li>improve error-checking of tcap-query parser. 1104 1105 <li>add check for keyboard <code>tcap</code>), which ensures that 1106 terminal descriptions containing the same string for 1107 shifted/unshifted keys will be seen by tcap-query as only the 1108 unshifted key. (This would only happen with an incorrect terminal 1109 description). 1110 1111 <li>fix conversion for input event-state to modifier-parameter which 1112 made tcap-query feature not work with <code>tcapFunctionKeys</code> 1113 (keyboard type <code>tcap</code>). 1114 1115 <li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow 1116 overriding the default compiled-in values for 1117 "allow<em>xxx</em>" resources. 1118 1119 <li>remove check on bell-percentage added in 1120 <a href="#xterm_242">patch #242</a>, 1121 which disallowed zero/negative values (Redhat Bugzilla #487829). 1122</ul> 1123 1124<H1><A NAME="xterm_242">Patch #242 - 2009/2/15</A></H1> 1125<ul> 1126 <li>fix configure check for <code>XkbBell</code> and provide 1127 appropriate parameter for it. 1128 1129 <li>fix a caching problem with double-size fonts versus reverse video 1130 that could cause core dump. 1131 1132 <li>repair double-size fonts from workaround 1133 used in <a href="#xterm_240">patch #240</a>. 1134 1135 <li>add new section to the VT Fonts menu which allows enabling or 1136 disabling the font, termcap (tcap-query), title and window 1137 operations. 1138 1139 <li>add <code>fontWarnings</code> resource, to control whether to show 1140 warnings on failure to load a font. 1141 1142 <li>improve warnings for unloadable fonts introduced in 1143 <a href="#xterm_240">patch #240</a> 1144 by limiting those to the cases where a font would be specified 1145 directly by a resource setting rather than a derived fontname. 1146 1147 <li>further amend fix for Debian #252873 1148 from <a href="#xterm_197">patch #197</a> to 1149 treat a blank cell which does not have both foreground and background 1150 colored as a non-colored cell. 1151 This improves a special case where the cursor is on a blank 1152 cell which had foreground color scrolled in 1153 (report by Miroslav Lichvar). 1154 <p> 1155 Also add the same logic when hiding cursor, so the outline matches 1156 the in-focus cursor. 1157 1158 <li>modify internals to reduce places PAIRED_CHARS() is used, making 1159 WriteText() and ScrnWriteText() accept IChar array, as well as 1160 providing a wrapper for drawXtermText(). 1161 1162 <li>change default XIM font from "*" to "fixed" to improve startup 1163 time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930). 1164 1165 <li>typo in #240 log (Slava Semushin) 1166</ul> 1167 1168<H1><A NAME="xterm_241">Patch #241 - 2009/1/26</A></H1> 1169<ul> 1170 <li>improve checks for missing bitmap fonts, fallback to "fixed" as 1171 needed to work around broken font-packages (report by Jacek 1172 Luczak). 1173 1174 <li>fix breakage from <a href="#xterm_240">patch #240</a> changes for 1175 <code>xtermAddInput()</code> (patches by Jeff Chua, Julien Cristau). 1176</ul> 1177 1178<H1><A NAME="xterm_240">Patch #240 - 2009/1/25</A></H1> 1179<ul> 1180 <li>use <code>plink.sh</code> for linking xterm (suggested by Larry 1181 Doolittle). 1182 1183 <li>add resource descriptions for input method to xterm manpage. 1184 1185 <li>update configure script; consistently append to $CFLAGS rather 1186 than prepend. 1187 1188 <li>add <code>install-scripts</code> rule to makefile, to allow 1189 koi8rxterm and uxterm scripts to be altered independently of 1190 <code>install-bin</code> 1191 1192 <li>add <code>-maximized</code> command-line option and corresponding 1193 resource (prompted by alt.os.linux newsgroup comment). 1194 1195 <li>modify translations of scrollbar widget using 1196 <code>xtermAddInput()</code> 1197 (see <a href="#xterm_181">patch #181</a>) to accept the actions 1198 that the vt100 widget accepts, such as shift-insert to perform 1199 a paste operation (request by Martin Zwickel). 1200 1201 <li>change default for <code>allowTcapsOps</code> resource to false, 1202 since it causes unexpected behavior for vim users with 1203 <code>AltGr</code>. 1204 1205 <li>update config.guess, config.sub 1206</ul> 1207 1208<H1><A NAME="xterm_239">Patch #239 - 2009/1/8</A></H1> 1209<ul> 1210 <li>correct a cast in input.c, which broke translation of numeric 1211 keypad codes to pageup, pagedown, etc., on 64-bit platform 1212 (Debian #511138, report by Larry Doolittle). 1213</ul> 1214 1215<H1><A NAME="xterm_238">Patch #238 - 2008/12/30</A></H1> 1216<ul> 1217 <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint 1218 platforms. 1219 1220 <li>reset the screen wrapping-flag at the end of 1221 <code>ClearRight</code> to fix an occasional case where the last 1222 character of a scrolled and wrapped line would be cleared (patch by 1223 Joe Peterson). 1224 1225 <li>modify to use POSIX coding for comparing resource settings such 1226 as <code>locale</code>, to work with locales such as Turkish 1227 (report by M Vefa Bicakci). 1228 1229 <li>turn on configure <code>paste64</code> feature by default 1230 (request by Jean-Philippe Bernardy). 1231 It is runtime enabled/disabled with <code>allowWindowOps</code>. 1232 1233 <li>turn on configure <code>tcap-query</code> feature by default, 1234 add resource <code>allowTcapOps</code> 1235 to make this runtime enabled/disabled. 1236 1237 <li>make <code>OSC 3</code> (change X property, from 1238 <a href="#xterm_110">patch #110</a>) 1239 subject to <code>allowWindowOps</code> resource. 1240 1241 <li>make VT220 <code>DSR</code> responses inactive in VT100-mode. 1242 1243 <li>make <code>DECUDK</code> feature inactive in VT100-mode. 1244 1245 <li>respond to incorrectly formatted <code>DECRQSS</code> with a 1246 cancel. 1247 1248 <li>add <code>allowFontOps</code> 1249 resource to allow the fontsize-switching and font query/set 1250 control sequences to be enabled/disabled 1251 (prompted by Debian #510030). 1252 1253 <li>some code cleanup based on gcc 4.x <code>-Wconversion</code> 1254 warnings in button.c and charproc.c 1255 1256 <li>modify <code>tcap-query</code> feature to not return data for 1257 shifted cursor-keys when the keyboard type is set to vt220, 1258 since returning the same string for shifted/unshifted keys may 1259 confuse some applications (GenToo #212546). 1260</ul> 1261 1262<H1><A NAME="xterm_237">Patch #237 - 2008/09/14</A></H1> 1263<ul> 1264 <li>improve usability of TrueType fonts by making the font-size 1265 switching for shifted keypad plus/minus use the 1266 <code>faceSize</code> resources to determine the order of fonts 1267 (when TrueType fonts are used) rather than the bitmap fonts, since 1268 their sizes may not be in the same order (report by H Merijn 1269 Brand) 1270 1271 <li>remove an optimization of <code>ConfigureNotify</code> events 1272 from <a href="#xterm_236">patch #236</a> 1273 which seems to interfere with passing <code>SIGWINCH</code> to 1274 applications (GenToo #233836). 1275 1276 <li>modify handling of <code>altSendsEscape</code> to reset the 1277 <code>eightBitInput</code> mode, like <code>metaSendsEscape</code> 1278 (patch by Ted Phelps). 1279 1280 <li>add feature to show the text-cursor as an underline rather than a 1281 box, plus command-line options <code>-uc</code> and 1282 <code>+uc</code> and resource <code>cursorUnderLine</code> to 1283 control the feature (patch by Paul Lampert). 1284 1285 <li>update config.guess, config.sub 1286</ul> 1287<H1><A NAME="xterm_236">Patch #236 - 2008/07/27</A></H1> 1288<ul> 1289 <li>correct memory reallocation when handling a paste of UTF-8 text 1290 from <a href="#xterm_225">patch #225</a> changes 1291 (report/patch by Max Mikhanosha). 1292 1293 <li>correct allocation of temporary buffer in 1294 <code>xtermFindShell</code> in case the user's <code>$PATH</code> 1295 contains no ":" (report/analysis by Victor Stinner, 1296 Freedesktop.Org Bugzilla #16790). 1297 1298 <li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix 1299 new compile problem exposed by fix for fd_mask (patch by 1300 Hasso Tepper). 1301 1302 <li>add configure-check for ncurses <code>use_extended_names</code>, 1303 (report by Martin Mokrejs). 1304 1305 <li>correct computation for toolbar height; layout manager already 1306 takes into account <code>borderWidth</code> resource. 1307 1308 <li>implement VT320-style SCS (select character set) for ISO Latin-1 1309 supplemental. 1310 1311 <li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919). 1312 1313 <li>fix to make <code>luit</code> work with xterm's <code>-ls</code> 1314 option (report/patch by Marius Tolzmann). 1315 1316 <li>update config.guess, config.sub 1317</ul> 1318 1319<H1><A NAME="xterm_235">Patch #235 - 2008/04/20</A></H1> 1320<ul> 1321 <li>add control sequences for some of the recent resource/menu 1322 settings: 1323 <ul> 1324 <li><code>altSendsEscape</code> (private mode 1039) 1325 <li><code>keepSelection</code> (private mode 1040) 1326 <li><code>selectToClipboard</code> (private mode 1041) 1327 <li><code>bellIsUrgent</code> (private mode 1042) 1328 <li><code>popOnBell</code> (private mode 1043) 1329 </ul> 1330 1331 <li>add resource <code>formatOtherKeys</code> to provide an alternate 1332 escape sequence format for the <code>modifyOtherKeys</code> 1333 resource (request by Paul LeoNerd Evans). 1334 1335 <li>adjust saved-cursor position if the window is resized while 1336 displaying the alternate screen (Novell #196880, Debian #383384). 1337 1338 <li>improve pointer-checks to fix a bug exposed by resizing during 1339 initialization under StumpWM window manager 1340 (Fedora Bugzilla #437928). 1341 1342 <li>modify <code>unselectwindow()</code> to ensure that the mouse 1343 pointer is not hidden after xterm loses focus (report by Jeremy 1344 Huddleston). 1345 1346 <li>add special check for fd_mask on Mac OS X (report by Jeremy 1347 Huddleston). 1348 1349 <li>add <code>dylib</code> to autoconf's suffix list used for checking 1350 the result from <code>xmkmf</code>, to work with Mac OS X (report 1351 by Jeremy Huddleston). 1352 1353 <li>correct initialization of bold- and wide-, wide-bold fonts which 1354 may be set via the <code>utf8Fonts</code> subresource (Debian 1355 #347790). 1356</ul> 1357 1358<H1><A NAME="xterm_234">Patch #234 - 2008/03/02</A></H1> 1359<ul> 1360 <li>modify <code>sinstall.sh</code> to use POSIX locale to 1361 bypass GNU ls changes to date-format. 1362 1363 <li>improved/refined changes for closing bitmap font (patch by 1364 Andrea Odetti). 1365 1366 <li>improve resize computation for situations where the negotiation 1367 fails, by invoking the xterm widget's core-class resize method 1368 (Debian #365602, patch by Jim Paris). 1369 1370 <li>restore initialization of terminal's <code>VMIN</code> and 1371 <code>VTIME</code> settings, 1372 from <a href="#xterm_232">patch #232</a> changes 1373 (patch by Matthieu Herrb). 1374</ul> 1375 1376<H1><A NAME="xterm_233">Patch #233 - 2008/02/24</A></H1> 1377<ul> 1378 <li>add configure check for <code>ttydefaults.h</code>, include if 1379 needed, e.g., for systems where defining 1380 <code>_POSIX_C_SOURCE</code>, etc., 1381 prevents it from being included via 1382 <code>termios.h</code> (prompted by comments by Robert Delius Royar 1383 and Jeremy Huddleston). 1384 1385 <li>bug-fixes for bugs.opensolaris.org (patches from Alan Coopersmith) 1386 <dl> 1387 <dt>4029911 1388 <dd>fix a typo in manpage 1389 <dt>4045962 1390 <dd>xterm doesn't properly set ut_syslen 1391 <dt>4192572 1392 <dd>left-left-right misinterpreted as triple click 1393 </dl> 1394 1395 <li>minor optimization to tab-initialization (patch by 1396 N�meth M�rton). 1397 1398 <li>fix a case where an incorrect font was freed during initialization 1399 from <a href="#xterm_232">patch #232</a> changes (patch by 1400 Andrea Odetti). 1401 1402 <li>improve comparison used in <code>SameFont</code> function for 1403 GC-caching (Julien Cristau). 1404 1405 <li>correct macro name used for default <code>CKILL</code> definition 1406 to work with Mac OS X (report by Jeremy Huddleston). 1407</ul> 1408 1409<H1><A NAME="xterm_232">Patch #232 - 2008/01/30</A></H1> 1410<ul> 1411 <li>corrected logic in a font-cache used for reverse-video (Debian 1412 #404079). 1413 1414 <li>add control sequence to alter <code>pointerMode</code> at runtime. 1415 1416 <li>add limit-checks for rectangle operation parameters (report by 1417 Martin Pirker). 1418 1419 <li>modify <code>minstall.sh</code> to suppress <code>$MANPAGER</code> 1420 and <code>$PAGER</code> environment variables, which may interfere 1421 with redirecting output of <code>man</code> to a shell variable 1422 (report/patch by Zdenek Sekera). 1423 1424 <li>do not try to hide mouse pointer in the tek4014 window, fixes 1425 broken "-t" option at startup from 1426 <a href="#xterm_230">patch #230</a> changes 1427 (report by Robert K. Nelson). 1428 1429 <li>correct datatype used when drawing tek4014 data using xterm 1430 compiled for wide-characters, on big-endian machines (reports 1431 by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle 1432 Reinhart). 1433 1434 <li>modify to cache the font-names along with the bitmap font data, 1435 to improve comparison of fonts. 1436 1437 <li>modify to allow building with configure options 1438 <code>--disable-ansi-color</code> and 1439 <code>--disable-leaks</code> (Debian #459817, report/patch by N�meth M�rton). 1440 1441 <li>modify to allow building with configure options 1442 <code>--enable-wide-chars</code> and 1443 <code>--disable-c1-print</code> (Debian #459816, report/patch by N�meth M�rton). 1444 1445 <li>add <code>pointerMode</code> resource to control whether and 1446 when the pointer cursor is hidden as the user types. 1447 1448 <li>simplify initialization of ttyMode- and related characters using 1449 a table. 1450 1451 <li>modify initialization-logic for stty values that correspond to 1452 ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt 1453 flush, werase, lnext). These were reset to constants for both 1454 termios and legacy interfaces immediately after asking the system 1455 for the existing values since X11R6.1, rather than using them to 1456 provide inherited values. While the legacy interface has some 1457 constraints, e.g., on HPUX, the POSIX or termios interface should 1458 not. Your shell may reset these anyway 1459 (prompted by patch by Ed Schouten). 1460 1461 <li>improve logic for hiding/displaying pointer-cursor (report by 1462 Mark Brukhartz). 1463 1464 <li>add limit-checks to tabs.c, increase maximum column for setting 1465 tab-stops from 320 to 1024 (report by N�meth M�rton). 1466 1467 <li>correct length, i.e., number of types of selection targets, 1468 computed by <code>ConvertSelection()</code> when not handling 1469 wide characters for the <code>XA_TARGETS()</code> case. 1470 This leaves an extra Atom on the end of the list which is 1471 not handled by 1472 <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java applications</a>. 1473 The problem was introduced in <a href="#xterm_151">patch #151</a> 1474 (report by David Wood). 1475</ul> 1476 1477<H1><A NAME="xterm_231">Patch #231 - 2008/01/05</A></H1> 1478<ul> 1479 <li>undo change to <code>getXtermCell()</code> from patch #230 1480 using <code>PACK_PAIR</code> macro (Debian #459014, analysis by 1481 Caetano Jimenez Carezzato). 1482 1483 <li>minor documentation fixes (patch by Slava Semushin) 1484 1485 <li>add makefile actions to install KOI8RXTerm app-defaults file 1486 (patch by Julien Cristau). 1487</ul> 1488 1489<H1><A NAME="xterm_230">Patch #230 - 2007/12/31</A></H1> 1490<ul> 1491 <li>add <code>quietGrab</code> resource, which when true, suppresses 1492 cursor repainting when <code>NotifyGrab</code> and 1493 <code>NotifyUngrab</code> event types are received during 1494 change of focus (request by Nicolas George). 1495 1496 <li>do not treat Unicode BIDI control characters as combining 1497 characters (Debian #457634). 1498 1499 <li>add <code>koi8rxterm</code>, from Debian. 1500 1501 <li>add manpage for <code>uxterm</code>, from Debian (Ubuntu #128136, 1502 Debian #438645) 1503 1504 <li>remove ".xpm" suffixes from Icon filenames in desktop files since 1505 it confuses some lookups following the 1506 <a href="http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">Icon Theme Specification</a> 1507 (report by Slava Semushin) 1508 1509 <li>correct width-calculation used for adjusting proportional fonts, 1510 to work with wide-characters (Debian #441354). 1511 1512 <li>fixes/improvements for double-size characters: 1513 <ul> 1514 <li>correct old clipping calculation which used total height of 1515 glyphs where ascent was needed. 1516 1517 <li>if bold font is unavailable, fall back to normal font 1518 1519 <li>adjust to "work" with Xft (which does not support double-width 1520 single-height characters). 1521 1522 <li>restore reset of doublesize for a line when it is cleared, 1523 broken in <a href="#xterm_228">patch #228</a>. 1524 </ul> 1525 1526 <li>modify logic for <code>forceBoxChars</code> resource when using 1527 TrueType fonts to be consistent with bitmap fonts 1528 1529 <li>modify logic for <code>forceBoxChars</code> resource to make the 1530 "Line-Drawing Characters" menu entry use xterm's line-drawing 1531 characters even asked to draw wide line-drawing characters which 1532 are available in the font. 1533 1534 <li>modify rectangle-support functions to preserve colors when 1535 filling/erasing to match WRQ Reflection behavior 1536 (request by Enzo Toscano). 1537 1538 <li>add getopt-parsing to tcapquery.pl, including feature to test the 1539 extended cursor/editing keys. 1540 1541 <li>make missing double-width glyphs display as double-width 1542 (Debian #456236). 1543 1544 <li>change <code>tcap-fkeys</code> and <code>rectangles</code> 1545 configure options to enable them by default. 1546 1547 <li>hide the mouse pointer while user is typing (request by Rodolfo 1548 Borges). 1549 1550 <li>extend configure options 1551 <code>--enable-tcap-query</code> and 1552 <code>--enable-tcap-fkeys</code> to 1553 send cursor- and editing-keypad keys modified according to the 1554 keyboard (or termcap) selection for shift, alt, control, meta. 1555 1556 <li>modify <code>kdch1</code> in termcap, e.g., <code>xterm-r6</code> 1557 to match the terminfo file. 1558 1559 <li>add <code>-hm</code> option to turn <code>highlightColorMode</code> 1560 on or off. 1561 1562 <li>add <code>highlightColorMode</code> resource to separate the 1563 new (since <a href="#xterm_225">patch #225</a>) highlighting with both text- and 1564 background-colors (prompted by report/example by Thomas Wolff). 1565 1566 <li>add <em>Keep Selection</em> menu entry to turn the 1567 <code>keepSelection</code> resource on/off at runtime. 1568 1569 <li>add <code>keepSelection</code> resource, which when enabled, 1570 tells xterm to retain the X selection even after it stops 1571 highlighting it (patch by Sergey Vlasov). 1572 1573 <li>extend the <code>CSI > n</code> sequence to allow 1574 disabling all types of modified-keys that the 1575 <code>CSI > m</code> sequence affects. 1576 1577 <li>move include for <code><xtermcap.h></code> in 1578 <code>resize.c</code> to avoid redefinition of <code>termios</code> 1579 structure on OpenSolaris (report by Rahul Gopinathan Nair). 1580 1581 <li>extend terminfo building blocks for modified editing keys to 1582 include all six keys. 1583 1584 <li>synchronize terminfo with ncurses (report by Stephane Chazelas) 1585 <ul> 1586 <li>equate <code>xterm-xfree86</code> 1587 and <code>xterm-xf86-v44</code>. 1588 <li>add ncurses extensions OTbs, AX, for termcap conversions. 1589 <li>make old/legacy entries such as 1590 <code>xterm-24</code>, <code>xterm-65</code> 1591 and aliases <code>xterms</code>, <code>vs100</code> 1592 inherit from <code>xterm-old</code>. 1593 <li>make <code>xterm-r5</code> and <code>xterm-r6</code> the 1594 same, ignoring historical errors in X Consortium's version. 1595 </ul> 1596 1597 <li>fix an ifdef in logic for selecting regular 1598 expressions while in a narrow-character locale (Debian #449227). 1599</ul> 1600 1601<H1><A NAME="xterm_229">Patch #229 - 2007/8/12</A></H1> 1602<ul> 1603 <li>override locale in minstall.sh; 1604 change in <a href="#xterm_226">patch #226</a> 1605 does not work in UTF-8 locale (report by Zdenek Sekera). 1606 1607 <li>undo an incorrect fix for a memory leak 1608 in <a href="#xterm_209">patch #209</a> (Debian #435858). 1609</ul> 1610 1611<H1><A NAME="xterm_228">Patch #228 - 2007/7/22</A></H1> 1612<ul> 1613 <li>modify configure script to permit combining 1614 <code>--with-utempter</code> 1615 and <code>--enable-setuid</code>, e.g., for using xterm with 1616 the utempter library on FreeBSD (report by Andriy Gapon). 1617 1618 <li>modify "Quit" menu entry to override the <code>-hold</code> 1619 command-line option. 1620 1621 <li>add a check in the startup error-reporting to avoid writing to 1622 pipe when it has not been opened. In that case, report errors 1623 directly to the standard error. 1624 1625 <li>add OPT_READLINE definition to xtermcfg.hin, overlooked in 1626 <a href="#xterm_205">patch #205</a> 1627 (report by Kalle Olavi Niemitalo). 1628 1629 <li>modify <code>88colors2.pl</code> and <code>256colors2.pl</code>, 1630 adding <code>-r</code> 1631 option to reverse the palettes for the extended colors. 1632 1633 <li>check for partial overwrite or deletion of multi-column characters 1634 in several cases, e.g., insert-character, delete-character, 1635 etc., 1636 and fill the remainder of the cells used by the multi-column 1637 characters affected with blanks. 1638 1639 <li>correct character-class codes in wide-character mode for characters 1640 215, 247 (see also <a href="#xterm_165">patch #165</a>). 1641 1642 <li>fix missing assignment for UTF-8 parsing in widget initialization 1643 (Debian #403360). 1644 1645 <li>correct index expression used to set line-wrapping flag, making 1646 selection from scrollback work consistently (Debian #430121, 1647 report by Vincent Lefevre). 1648 1649 <li>amend changes to handshake in 1650 <a href="#xterm_226">patch #226</a> 1651 to accommodate Solaris, which relies on the extra setting of 1652 the terminal size after I/O initialization. 1653 Do this by adding new resource <code>ptySttySize</code>, 1654 which is false for Linux and MacOS X, i.e., true for 1655 for Solaris and other SVR4 platforms, as well as FreeBSD 1656 (reports by David Wood, Renato Botelho). 1657 1658 <li>check for X events after cursor-left, and carriage return, 1659 consistent with indexing operations 1660 (comments by Vegard Nossum and Ingo Molnar on a mailing-list). 1661 1662 <li>initialize the <code>.keyboard</code> structure, 1663 needed for some platforms (such as Solaris) after 1664 <a href="#xterm_227">patch #227</a> fixes for keysyms 1665 (patch by David Wood). 1666 1667 <li>update config.guess, config.sub 1668</ul> 1669 1670<H1><A NAME="xterm_227">Patch #227 - 2007/6/27</A></H1> 1671<ul> 1672 <li>exclude the Intel compiler from the extra gcc warning options 1673 added in 1674 <a href="#xterm_226">patch #226</a>. 1675 1676 <li>modify change for Debian #422521 1677 from <a href="#xterm_226">patch #226</a> 1678 to work with configurations where the X server does not 1679 recognize 1680 the <code>XF86Paste</code> 1681 or <code>SunPaste</code> keysyms (report by Paolo Pumilia). 1682 1683 <li>fix incorrect free in fix for "Selection" menu entry in 1684 <a href="#xterm_226">patch #226</a>. 1685</ul> 1686 1687<H1><A NAME="xterm_226">Patch #226 - 2007/6/17</A></H1> 1688<ul> 1689 <li>add configure check to use <code>-Wno-unknown-pragmas</code> for 1690 Solaris, and a few other new gcc warning options to address 1691 regressions in its warning options. 1692 1693 <li>add sample desktop and icon files, along with configure options for 1694 manipulating them. 1695 1696 <li>fix an infinite loop when showing a 2-column character in a 1697 1-column screen (Debian #426863). 1698 1699 <li>add <code>XF86Paste</code> and <code>SunPaste</code> to the 1700 default translations (Debian #422521, patch by Bernhard R Link). 1701 1702 <li>update wcwidth.c (partly based on/prompted by mailing list 1703 comment). 1704 1705 <li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and Xorg 1706 7.1 keysymdef.h file. 1707 1708 <li>improve <code>gen-pc-fkeys.pl</code>, making it show all of the 1709 building-block terminfo entries used by xterm. 1710 1711 <li>correct strings used for modifiers applied to F1-F4 in xterm+pcf1 1712 terminfo entry. 1713 1714 <li>improve session management by adding the ICE connection number 1715 to the <code>select</code> call rather than waking up once per 1716 second (patch by Miroslav Lichvar). 1717 1718 <li>add environment variable <code>$XTERM_LOCALE</code> to help 1719 with shell initialization, e.g., to set a specific locale for 1720 xterm on systems where a global locale is set in the shell 1721 startup scripts. 1722 1723 <li>add resource settings <code>mkSampleSize</code> and 1724 <code>mkSamplePass</code> 1725 to modify the <code>mkWidth</code> added 1726 in <a href="#xterm_201">patch #201</a>. 1727 In <a href="#xterm_202">patch #202</a>, 1728 xterm would also check if the system's 1729 <code>wcwidth</code> matched its built-in tables 1730 "well enough" to be used when <code>mkWidth</code> was false, 1731 and if not would use the built-in tables anyway. 1732 These resources allow the user to customize the decision 1733 (prompted by comments by Emanuele Giaquinta) 1734 1735 <li>modify logic which resets/updates the screensize on the child 1736 process side of the pseudo-terminal to do this only if a 1737 successful handshake was received, e.g., as determined by 1738 the <code>waitForMap</code> resource (prompted by reports 1739 by Emanuele Giaquinta and Bernhard R Link, but see also 1740 <a href="#xterm_177">patch #177</a> and 1741 <a href="#xterm_159">patch #159</a>. 1742 1743 <li>improve permissions logic when closing pseudo-terminal 1744 (Debian #12261, 1745 patch by Nathanael Nerode, 1746 analysis by Richard Braakman). 1747 1748 <li>add resource <code>highlightReverse</code> which controls whether 1749 xterm will allow selection highlighting to hide reverse-video 1750 or use the older behavior which inverts the foreground and 1751 background colors when selected text with reverse-video attribute 1752 (report by Adam M Costello, comments by Victor Vaile). 1753 1754 <li>restore a special case for cursor-color in 1755 <code>ReverseVideo()</code> 1756 lost in rewrite for <a href="#xterm_224">patch #224</a> 1757 (report by Adam Sulmicki). 1758 1759 <li>correct initialization for menu entry for <code>bellIsUrgent</code> 1760 (patch by Emanuele Giaquinta). 1761 1762 <li>correct length of underlining for double-width Xft fonts 1763 (report by Shidai Liu "Leo"). 1764 1765 <li>correct clipping for double-width Xft fonts 1766 (report by Shidai Liu "Leo"). 1767 1768 <li>modify initialization for <code>italicULMode</code> to avoid 1769 <code>XftPatternBuild</code> reusing bold attributes 1770 (report by Shidai Liu "Leo"). 1771 1772 <li>add a check in case someone tries to call the 1773 <code>popup-menu()</code> action on a menu which is not initialized 1774 (Debian #426364). 1775 1776 <li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by Peter 1777 Bray). 1778 1779 <li>improve guess for X's manpage section in <code>minstall.sh</code>, 1780 (prompted by comment by Miroslav Lichvar). 1781 1782 <li>modify <code>minstall.sh</code> to handle manpage patch with more 1783 than one dot (patch by Miroslav Lichvar). 1784 1785 <li>fix configure message for --disable-setgid option (patch by 1786 Miroslav Lichvar). 1787 1788 <li>add <code>allowTitleOps</code> resource to allow users to prevent 1789 the title- and icon-names from changing (request by John Bashinski). 1790 1791 <li>fix "spawn-new-terminal" action, for the case where no parameter 1792 is passed to the action (patch by Daniel Colascione). 1793 1794 <li>fix error-checking on internal font switching for "Selection" 1795 menu entry (Debian #421523). 1796 1797 <li>amend select/paste change from 1798 <a href="#xterm_225">patch #225</a> 1799 by limiting it to non-UTF-8/non-KOI8-R encoding (Debian #420974). 1800 1801 <li>add workaround for groff ".URL" codes which are not present in 1802 some commonly-used bitmap fonts (Debian #418324). 1803</ul> 1804 1805<H1><A NAME="xterm_225">Patch #225 - 2007/3/24</A></H1> 1806<ul> 1807 <li>add <code>useClipping</code> resource to allow clipping to be 1808 disabled. 1809 1810 <li>use <code>XftDrawSetClipRectangles</code> 1811 to work around Xft pixel-trash (report by Reuben Thomas). 1812 1813 <li>add configure option <code>--enable-tcap-fkeys</code>, and 1814 resource <code>tcapFunctionKeys</code>, which can be used 1815 to tell xterm to use function-key definitions from the termcap 1816 (or terminfo) which it uses to set $TERM on startup. 1817 1818 <li>add resources <code>altIsNotMeta</code> and 1819 <code>altSendsEscape</code> to allow one to use Alt-keys like the 1820 meta-key even if they are bound to different keycodes (prompted by 1821 discussion with Daniel Jacobowitz). 1822 1823 <li>revert a change from <a href="#xterm_216">patch #216</a> 1824 that unnecessarily made the meta modifier override 1825 the <code>eightBitInput</code> resource if the alt- and 1826 meta-modifiers happened to overlap 1827 (report/patch by Daniel Jacobowitz). 1828 1829 <li>correct associated font for active icon for colored text 1830 (broken in <a href="#xterm_224">patch #224</a>). 1831 1832 <li>correct ifdef's for Darwin (patch by Emanuele Giaquinta). 1833 1834 <li>add <code>highlightTextColor</code> resource, and options 1835 <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code> 1836 (adapted from patch by Victor Vaile). 1837 1838 <li>revise <code>find_closest_color()</code> function to address 1839 concern about borrowing from <code>Tcl/Tk</code> 1840 (request by Dan McNichol). 1841 1842 <li>add "spawn-new-terminal" action, which can be assigned to key 1843 translation, allowing one to spawn a new copy of xterm using 1844 the current process' working directory (adapted from patch 1845 by Daniel Colascione). 1846 1847 <li>improve select/paste between UTF-8 and Latin1 xterms by adapting 1848 the translations from <a href="#xterm_185">patch #185</a>. 1849 Extend that to include Unicode fullwidth forms FF00-FF5E. 1850 Also modify select/paste of DEC line-drawing characters in 1851 Latin1 mode to use ASCII characters. 1852 1853 <li>add "Enable Bell Urgency" to VT Options menu, removed "Enable 1854 Margin Bell". 1855 1856 <li>add <code>bellIsUrgent</code> resource to control whether the 1857 Urgency hint is set/reset. 1858 1859 <li>modify to set Urgency window manager hint on bell, reset it on 1860 Focus-In event (patch by Emanuele Giaquinta). 1861 1862 <li>add <code>--disable-setgid</code> configure option (request by 1863 Miroslav Lichvar). 1864 1865 <li>fix a possible infinite loop in last change to 1866 <code>dabbrev-expand()</code> (patch by Emanuele Giaquinta). 1867 1868 <li>modify initialization to set the pty erase value if the 1869 <code>erase</code> is set in the <code>ttyModes</code> resource. 1870 This overrides the <code>ptyInitialErase</code> setting (request by 1871 Lluís Batlle i Rossell). 1872 1873 <li>add <code>initialFont</code> resource to xterm widget, like 1874 tek-widget (Debian #299669). 1875 1876 <li>amend change to <code>boldMode</code> from 1877 <a href="#xterm_223">patch #223</a> for Debian #347790. 1878 As noted in Debian #412599, that made xterm 1879 no longer match the documented behavior. 1880 Add new resource <code>alwaysBoldMode</code> 1881 to allow overriding the comparison 1882 between normal/bold fonts when deciding whether to use overstriking 1883 to simulate bold fonts. 1884 1885 <li>restore background color in ClearCurBackground(), omitted in 1886 changes for <a href="#xterm_223">patch #223</a> (report by 1887 Miroslav Lichvar). 1888 1889 <li>correct logic for repainting double-width TrueType characters 1890 (prompted by test-case for Novell #246573). 1891 1892 <li>add a check to avoid trying to repeat a multibyte character 1893 (report by Sami Farin). 1894 1895 <li>modify parameter to <code>XftNameParse()</code> to select wide 1896 face-name as needed, to make <code>-fd</code> option work (patch by 1897 Mike Fabian, Novell #246573). 1898 1899 <li>correct logic for mouse highlight tracking's abort sequence, 1900 broken in a restructuring modification from 1901 <a href="#xterm_224">patch #224</a> 1902 (report by Thomas Wolff). 1903 1904 <li>revert the simplification of blinking cursor, since that broke 1905 the xor'ing introduced in <a href="#xterm_193">patch #193</a> 1906 (report by Thomas Wolff). 1907</ul> 1908 1909<H1><A NAME="xterm_224">Patch #224 - 2007/2/11</A></H1> 1910<ul> 1911 <li>simplify code for set/reset mode for blinking cursor 1912 (patch by Emanuele Giaquinta). 1913 1914 <li>modify <code>dabbrev-expand()</code> to restart after the last 1915 match (patch by Emanuele Giaquinta). 1916 1917 <li>add control sequences for enabling/disabling focus in/out event 1918 reporting (request by Bram Moolenaar). 1919 1920 <li>improve startup performance of menus by adding resource setting 1921 <code>menuLocale</code> which can be set to override X's 1922 lengthy initialization of fontsets - which are seldom used 1923 for the <code>Xaw</code> popup menus (adapted from patch by 1924 Dave Coffin). 1925 1926 <li>modify do_precomposition() function and make-compose.sh to handle 1927 21-bit codes vs the 16-bit codes those were written for, and 1928 fix a few mis-sorted codes 1929 (patch by Thomas Wolff). 1930 1931 <li>handle special case in <code>-cjk_width</code> 1932 which unexpectedly caused a character's width to change when 1933 a combining character 1934 (patch by Thomas Wolff) 1935 1936 <li>fix build for GNU/KFreeBSD (Debian #40111). 1937 1938 <li>consolidate GC creation/updating into a single module to reduce GC 1939 manipulation (prompted by Debian #389476, though a complete fix 1940 would involve optimizing the scrolling behavior). 1941 1942 <li>fix ifdef of xtermCellWidth(), which broke for a case without 1943 TrueType and without wide-character support (report by Martin 1944 Pirker). 1945 1946 <li>undo a comparison in <code>handle_translated_exposure</code> which 1947 did not work due to X server optimization. That caused the 1948 inner border to be repainted with unexpected colors when handling 1949 a repaint, e.g., after switching to/from another workspace 1950 (Debian #401726, Redhat Bugzilla #223027). 1951 1952 <li>allow <code>-cr</code> option to override cursor color when 1953 <code>-ah</code> option is used (Debian #406502). 1954 1955 <li>add a note in xterm's manpage explaining that the <code>-bw</code> 1956 (or <code>-w</code>) option is only used by the window manager, 1957 if at all (Debian #405043). 1958 1959 <li>make <code>Selection</code> of <code>VT Fonts</code> work with 1960 <code>selectToClipboard</code> resource. 1961 1962 <li>correct length calculation for <code>Selection</code> entry of 1963 <code>VT Fonts</code> menu, broken since it ignored the 1964 actual selection length since X11R4. 1965 1966 <li>fixes for fontsize changes with <code>-fa</code> option (Redhat 1967 Bugzilla #222340). 1968</ul> 1969 1970<H1><A NAME="xterm_223">Patch #223 - 2006/11/30</A></H1> 1971<ul> 1972 <li>add <code>--enable-rectangles</code> configure option (request by 1973 Martin Pirker). 1974 1975 <li>correct default value for <code>--with-symlink</code> configure 1976 option. 1977 1978 <li>fixes configure script macros that use <code>$X_EXTRA_LIBS</code>. 1979 1980 <li>modify configure script to provide support for pre-package config 1981 versions of Xft aka "FreeType". 1982 1983 <li>add the Xaw scrollbar translations resource to the xterm manpage, 1984 add an example showing how to change the mouse button assignments 1985 (Debian #382225). 1986 1987 <li>amend a change from <a href="#xterm_216">patch #216</a>, 1988 which omitted modifiers for control, meta, etc., if they were 1989 mixed with any other modifiers. The intent of the change was 1990 to avoid confusion with 1991 <code>XK_Mode_switch</code> 1992 and <code>XK_ISO_Level3_Shift</code>; 1993 the check is now done explicitly (report by Daniel Jacobowitz). 1994 1995 <li>interpret a negative value for <code>modifyCursorKeys</code> 1996 or <code>modifyFunctionKeys</code> resources to disable the 1997 respective features (prompted by Novell #220728). 1998 1999 <li>amend cell-width computation for FreeType from 2000 <a href="#xterm_217">patch #217</a>, which did not work 2001 for VT100 line-drawing characters (Debian #399638, GenToo #147111). 2002 2003 <li>amend a change from <a href="#xterm_216">patch #216</a>, 2004 which made alt-modifier on a cursor-key send a modifier parameter 2005 (Novell #220728). 2006 2007 <li>correct an off-by-one that made DECCRA not work (report/patch by 2008 Martin Pirker). 2009 2010 <li>revert an optimization in SGR_Foreground() and SGR_Background 2011 from <a href="#xterm_209">patch #209</a> (Debian #347722, 2012 analysis by Pierre Lombard). 2013 2014 <li>fix for <code>boldMode</code> (Debian #347790, patch by Tim Pope). 2015 2016 <li>amend fix for <code>-iconic</code> in 2017 <a href="#xterm_208">patch #208</a>, 2018 which broke the positioning part of <code>-geom</code> with toolbar 2019 configuration. 2020 2021 <li>fix to prevent indexing error in regular expressions (patch 2022 by Dennis Schneider). 2023 2024 <li>fixes to make the internalBorder area not change color due to 2025 reverseVideo and/or related exposure events. The latter was a very 2026 old bug exposed in <a href="#xterm_196">patch #196</a> (report by 2027 Neil Hoggarth, also Debian #397624). 2028</ul> 2029 2030<H1><A NAME="xterm_222">Patch #222 - 2006/10/17</A></H1> 2031<ul> 2032 <li>minor optimization for recoloring cursor via dynamic colors. 2033 2034 <li>fix a bug caused by restructuring of tek4014 widget (report by Paul 2035 Schenkeveld) 2036</ul> 2037 2038<H1><A NAME="xterm_221">Patch #221 - 2006/10/1</A></H1> 2039<ul> 2040 <li>fix for regular expressions: the code which converted the column 2041 offset within a line did not check properly for the end of a line, 2042 and if allowed to match the whole line, would select the beginning 2043 of the following line. If the following line were empty, in turn 2044 it would select from the next, etc. (report by Sean 2045 Reifschneider). 2046 2047 <li>minor optimization of color allocation to avoid repainting the 2048 screen if the corresponding color had not been allocated. 2049 2050 <li>fixes for vttests/256colors.pl (report by Egmont Koblinger). 2051 2052 <li>add terminfo building block entries for modifiers of the 6-key 2053 editing keypad. 2054 2055 <li>fix for initialization of tek4014 which broke on QNX 6.1 2056</ul> 2057 2058<H1><A NAME="xterm_220">Patch #220 - 2006/9/10</A></H1> 2059<ul> 2060 <li>make "xterm -t -iconic" work as expected, i.e., start in tek4014 2061 mode, but iconified. 2062</ul> 2063 2064<H1><A NAME="xterm_219">Patch #219 - 2006/9/4</A></H1> 2065<ul> 2066 <li>some internal restructuring to separate data for vt100 and tek4014 2067 widgets. 2068 2069 <li>fix a few cases where form-events would be seen by the vt100 2070 widget when built with the toolbar configuration. 2071</ul> 2072 2073<H1><A NAME="xterm_218">Patch #218 - 2006/8/27</A></H1> 2074<ul> 2075 <li>change behavior when encountering an illegal character in a title 2076 string. Rather than reject the string, translate illegal 2077 characters into "?" and use the string (requested by Thomas Wolff). 2078 2079 <li>improve checks for nonprinting characters in title strings 2080 (report by Samuel Thibault). 2081 2082 <li>correct typo in menu labels, changing <code>print-redirect</code> 2083 to <code>print-redir</code>, making it follow the manpage and 2084 match the usage for the actions table (report by Samuel Thibault). 2085 2086 <li>correct a typo that prevents building with some older systems such 2087 as Solaris 2.6 (report by Julian Bridle). 2088</ul> 2089 2090<H1><A NAME="xterm_217">Patch #217 - 2006/8/20</A></H1> 2091<ul> 2092 <li>minor improvements to FreeType font layout and drawing. 2093 2094 <li>add a check in the ptyInitialErase logic to ensure that the 2095 termcap was read (Redhat Bugzilla #201246). 2096 2097 <li>limit changes for reverse-video from 2098 <a href="#xterm_216">patch #216</a> to cases where the 2099 reverse-video command-line option is used 2100 (report by Zdenek Sekera). 2101 2102 <li>correct bitmap-derived pointsizes for TrueType fonts; they should 2103 be proportional to the square root of the area of the bitmap 2104 fonts. 2105 2106 <li>add resources to specify pointsize of TrueType fonts (request 2107 by Reuben Thomas). 2108 2109 <li>improve install of terminfo by filtering out harmless messages 2110 related to extended capabilities. At the same time, use ncurses 2111 tic to compile the extended capabilities if possible 2112 (report by Zdenek Sekera). 2113 2114 <li>update "xterm+pcfkeys" terminfo entry to correspond to 2115 <a href="#xterm_216">patch #216</a>. 2116</ul> 2117 2118<H1><A NAME="xterm_216">Patch #216 - 2006/8/3</A></H1> 2119<ul> 2120 <li>improve handling of <code>ConfigureNotify</code> events by checking 2121 if there are further events in the queue which obsolete the current 2122 one (adapted from rxvt 2.7.5). Only the normal normal 2123 (non-toolbar) configuration is addressed in this patch. 2124 2125 <li>several changes to terminfo: 2126 <ul> 2127 <li>incorporate some minor changes from ncurses to help keep these 2128 synchronized: 2129 <dl> 2130 <dt>2005-02-26 2131 <dd>modify sgr/sgr0 in xterm-new to improve tgetent's derived "me". 2132 <dt>2006-02-18 2133 <dd>remove ncv flag from xterm-16color 2134 <dt>2006-06-24 2135 <dd>improve xterm-256color by combining the 16-color 2136 setaf/setab strings with SGR 48, 2137 and cancelling the setf/setb strings. 2138 </dl> 2139 <li>use extended function-key definitions for xterm-sun, xterm-sco 2140 entries. 2141 2142 <li>add terminfo building-blocks corresponding to the 2143 <code>modifyFunctionKeys</code> 2144 and <code>modifyCursorKeys</code> resources. 2145 </ul> 2146 2147 <li>ifdef'd Sun function-key feature to make it optional, like HP and 2148 SCO. 2149 2150 <li>extend table for termcap-query feature through F63, and updated 2151 tcapquery.pl to match. 2152 2153 <li>modify logic for function-key input processing to allow function 2154 key numbers which are constructed by control- and shift-modifiers 2155 to extend beyond X's hardcoded limit of 35. 2156 2157 <li>add control sequence to set or reset the <code>eightBitInput</code> 2158 resource. 2159 2160 <li>change default resource <code>modifyFunctionKeys</code> to 2 2161 to avoid sending SS3 with parameters (report by Kalle Olavi Niemitalo). 2162 2163 <li>add control sequences for setting and resetting the values of the 2164 <code>modifyCursorKeys</code>, 2165 <code>modifyFunctionKeys</code> and 2166 <code>modifyOtherKeys</code> resources. 2167 2168 <li>add <code>modifyFunctionKeys</code> resource like 2169 <code>modifyCursorKeys</code>. 2170 Setting this to zero allows one to use the control- and 2171 shift-modifiers to construct function key strings, 2172 for terminals using many function keys, 2173 e.g., for <code>xterm-sun</code> or <code>xterm-sco</code>. 2174 2175 <li>modify screen responses and function-key logic to reduce the 2176 number of writes made, to make it less likely that an application 2177 would read only part of a function-key in a read operation 2178 (suggested by John E Urbanczyk). 2179 2180 <li>add <code>combiningChars</code> resource, which allows the user to 2181 specify the maximum number of combining characters that xterm will 2182 store for each cell in wide-character mode (prompted by request by 2183 Markus Kuhn to increase the limit from 2). 2184 2185 <li>improve logic in <code>metaSendsEscape</code> in case the Alt- 2186 and Meta-keys are mapped to different modifiers. That allows one 2187 to use the Alt-key for shifting in the <code>eightBitInput</code> 2188 and use a Meta-key modifier to prefix the result with an 2189 <code><ESC></code>. 2190 2191 <li>improve <code>modifyCursorKeys</code> logic to prevent it from 2192 modifying codes where <code>eightBitInput</code> or 2193 <code>metaSendsEscape</code> are set 2194 (request by Dan Nicolaescu). 2195 2196 <li>improve <code>modifyCursorKeys</code> logic to prevent it from 2197 changing the user input when other modifiers such as AltGr are used 2198 (report by Thomas Wolff). 2199 2200 <li>extend <code>modifyCursorKeys</code> to include the numeric keypad 2201 when in application mode. 2202 2203 <li>improve <code>-reverse</code> (<code>-rv</code>) option 2204 (patch by Jason Vas Dias, Redhat #189161). 2205 2206 <li>workaround for color resources on Fedora-5 which made the toolbar 2207 colors inconsistent. 2208 2209 <li>corrected calls used for <code>--disable-setuid</code> option, 2210 add debugging traces to help diagnose this area. 2211 2212 <li>modify configure script to ensure that <code>USE_UTMP_SETGID</code> 2213 is defined only if the check for POSIX saved-ids succeeds, or 2214 corresponds to one of the BSD systems known to have a workable 2215 <code>setegid</code> function. 2216 2217 <li>extend configure check for POSIX saved-ids to include BSD systems 2218 2219 <li>modify CF_SYSV configure macro to work with gcc on HPUX 10.20, 2220 whose broken 2221 <code><term.h></code> relies on including 2222 <code><termios.h></code>. 2223 2224 <li>change order of setuid/setgid ifdef checks in Imakefile to make 2225 it simpler to produce a setgid install, allowing the latter to 2226 override the former (prompted by an XFree86 commit). 2227 2228 <li>adapt a fix for setgid support from subsequent XFree86 changes 2229 (patch by Emanuele Giaquinta). 2230 2231 <li>further improve setgid support (patches by Emanuele Giaquinta). 2232</ul> 2233 2234<H1><A NAME="xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A></H1> 2235<ul> 2236 <li>improve setgid support by exploiting the saved-ids feature on which 2237 it relies (patch by Emanuele Giaquinta). 2238 2239 <li>make the <code>modifyOtherKeys</code> resource disabled by default 2240 since the intermediate setting altered some common bindings 2241 (report by Emanuele Giaquinta). 2242</ul> 2243 2244<H1><A NAME="xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A></H1> 2245<ul> 2246 <li>modify makefile rule for ctlseqs.txt to strip backspace/overstrikes, 2247 and add a copy of ctlseqs.txt to the source tarballs (requests by 2248 Bram Moolenaar, Emanuele Giaquinta). 2249 2250 <li>add <code>modifyOtherKeys</code> resource, analogous to the 2251 <code>modifyCursorKeys</code> resource. This applies to keys that 2252 normally would transmit nothing when a given modifier is applied 2253 (request by Dan Nicolaescu). 2254 2255 <li>add <code>default</code> to the acceptable values for the 2256 <code>keyboardType</code> resource, allowing the <code>-kt</code> 2257 command-line option to override app-defaults resource settings of 2258 <code>sunKeyboard</code>, etc. 2259 2260 <li>correct ifdef's for <code>XkbBell()</code> which used the header 2261 file but not the corresponding function in 2262 <a href="#xterm_175">patch #175</a> 2263 (report by Zach Beane). 2264 2265 <li>add xterm manpage to the <code>--with-symlink</code> logic. 2266 2267 <li>regenerated configure script to omit some debugging artifacts of 2268 the SIGWINCH test. 2269 2270 <li>fix <code>install-man</code> rule in <code>Makefile.in</code> to 2271 avoid including the <code>$(DESTDIR)</code> value in substitutions 2272 made on the manpages (patch by Emanuele Giaquinta). 2273 2274 <li>improved fix for cursor deallocation 2275 (Redhat #186935, patch by Jason Vas Dias). 2276 2277 <li>improve checks for setuid/setgid operation to accommodate limited 2278 resource management in some kernels (GenToo #193238). 2279 2280 <li>update config.guess, config.sub 2281</ul> 2282 2283<H1><A NAME="xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A></H1> 2284<ul> 2285 <li>minor optimization to cell layout; will use that to simplify some 2286 logic and allow for more than two combining characters in another 2287 patch. 2288 2289 <li>add <code>utf8Latin1</code> resource to make optional the 2290 feature from <a href="#xterm_209">patch #209</a> which 2291 allowed ISO-8859-1 fonts to be used in cases 2292 where a wide font was given. This would only 2293 work for the special case where the user normally used Latin-1 2294 and wanted some wide characters (report by Rostislav Krasny). 2295 2296 <li>add <code>utf8Title</code> resource to manpage (Novell #52655). 2297 2298 <li>fix typo in table entry for <code>utf8Title</code> resource which 2299 made it treated as an integer rather than boolean (patch by Mike 2300 Fabian, Novell #52655). 2301</ul> 2302 2303<H1><A NAME="xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A></H1> 2304<ul> 2305 <li>improve description of <code>forceBoxChars</code> in manpage 2306 (discussion with Joe Wells). 2307 2308 <li>set checkmark for "Select To Clipboard" menu entry on startup, 2309 from resource setting. 2310 2311 <li>update manpage to note that <code>*customization:color</code> is 2312 not needed, though it is useful (Redhat #188034). 2313 2314 <li>add underscore to sample pattern for URL in <code>XTerm.ad</code> 2315 (Redhat #188037). 2316 2317 <li>modify install rule for manpage to use the configured app-defaults 2318 directory (Redhat #188031). 2319 2320 <li>add checks in <code>releaseCursorGCs()</code> to ensure GC's are 2321 distinct, needed since memory leak changes for 2322 <a href="#xterm_208">patch #208</a> 2323 (Redhat #186935, patch by Jason Vas Dias). 2324 2325 <li>modify <code>Imakefile</code> definitions to allow 2326 <code>imake</code> to set <code>InstallXtermSetGID</code>. 2327 Add symbol <code>InstGidFlags</code>. 2328 2329 <li>add configure script check to ensure that SIGWINCH if defined even 2330 when headers undefine this as a side-effect of 2331 <code>_POSIX_C_SOURCE</code>, etc. 2332 2333 <li>resync with XFree86 CVS 2334 <ul> 2335 <li>ifdef-out chmod of terminal device for OS/2 (XFree86 #1663, 2336 Frank Giessler). 2337 <li>move new <code>Imakefile</code> chunk which defines 2338 <code>$(CSGIDFLAGS)</code> before DEFINES, 2339 e.g., for IRIX64 (Marc La France). 2340 </ul> 2341</ul> 2342 2343<H1><A NAME="xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A></H1> 2344<ul> 2345 <li>modify prefix/suffix transformation in makefile to make 2346 <code>uxterm</code> install properly on Cygwin. 2347 2348 <li>restore the sizeof-comparison for <code>struct lastlog</code> 2349 added in <a href="#xterm_208">patch #208</a>, 2350 rendered (mostly) obsolete in <a href="#xterm_210">patch #210</a>, 2351 since an imake configuration can still turn that code on 2352 (prompted by comment by David Dawes). 2353 2354 <li>remove feature for <code>FreeBSDArchitecture</code> from 2355 <code>Imakefile</code> which would install xterm using the 2356 <code>utmp</code> group since a standard FreeBSD system has no such 2357 group, though it would support this configuration. FreeBSD 2358 packager uses the <code>configure</code> script, which can make the 2359 appropriate check (prompted by comment by David Dawes). 2360 2361 <li>fixes for gcc redefinition warnings when built using imake 2362 (reports by David Dawes, Marc La France). 2363</ul> 2364 2365<H1><A NAME="xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A></H1> 2366<ul> 2367 <li>add configure check for workaround in 2368 <a href="#xterm_208">patch #208</a> 2369 for Solaris' inconsistent support for struct lastlog to quiet 2370 compiler warnings 2371 (prompted by David Dawes commit message for XFree86). 2372 2373 <li>fixes for BASE64 selection manipulation, 2374 e.g., ensure that the string 2375 terminator is written after cut-buffer data (report by Joe Allen). 2376 2377 <li>add vttests/paste64.pl script to test experimental option for 2378 setting/getting selection data. 2379 2380 <li>add some error-checking in fontutils.c 2381 (prompted by David Dawes commit message for XFree86). 2382 2383 <li>change xterm manpage to show the actual color resource names 2384 <code>XtDefaultForeground</code> and 2385 <code>XtDefaultBackground</code> rather than black and white 2386 (prompted by discussion with Emanuele Giaquinta). 2387 2388 <li>add <code>utf8Title</code> resource and menu entry, allowing the 2389 user to control whether title strings are interpreted as ISO-8859-1 2390 or UTF-8 encoding (Novell #52655, #113206). 2391 2392 <li>change order of ifdef's for utempter versus platforms in 2393 <code>Imakefile</code> to ensure a proper value for 2394 <code>InstallXtermSetGID</code> 2395 (prompted by Marc La France commit message for XFree86). 2396 2397 <li>update the cursor GCs when menu entry for reverse video is toggled. 2398 (Redhat #183993). 2399 2400 <li>a memory-leak fix for <code>set_cursor_gcs()</code> 2401 in <a href="#xterm_208">patch #208</a> broke the 2402 <code>-cm</code> option (Redhat #182382). 2403</ul> 2404 2405<H1><A NAME="xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A></H1> 2406<ul> 2407 <li>remove <code>setf</code> and <code>setb</code> from 2408 <code>xterm-256color</code> terminfo entry to avoid issues with 2409 applications that ignore the ANSI strings (report by Emanuele 2410 Giaquinta). 2411 2412 <li>remove obsolete references to "Xorg" to avoid confusion with 2413 "X.org" (prompted by David Dawes commit message for XFree86). 2414 2415 <li>improve initial layout performance for the toolbar configuration 2416 by precalculating the height of the toolbar. 2417 2418 <li>remove menu entry for "Enable Curses Emulation" (to make room for 2419 "Select To Clipboard"). 2420 2421 <li>add resource <code>selectToClipboard</code>, 2422 action <code>set-select</code> and a menu entry to allow 2423 users to switch between PRIMARY and CLIPBOARD for select/paste. 2424 2425 <li>allow cursor to have the same color as foreground (text), since it 2426 is rendered as reverse (Debian #350664). 2427 2428 <li>amend change for loading <code>utf8Fonts</code> resource from <a 2429 href="#xterm_204">patch #204</a> to allow an ISO-8859-1 "normal" 2430 font to be combined with an ISO-10646 font if the latter is given 2431 via the <code>-fw</code> option or its corresponding resource 2432 value (prompted by comment in Novell #49305). 2433 2434 <li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for 2435 <code>__GNU__</code> to set the controlling terminal (Debian 2436 #348457). 2437 2438 <li>add configure option <code>--disable-leaks</code>. 2439 2440 <li>add a check in <code>Bell</code> to ensure that the VT100 widget 2441 is realized, since it may be called by <code>xtermLoadFont</code> 2442 given an incorrect font resource (Redhat #180450). 2443 2444 <li>improve initialization of wide-bold font by not using the derived 2445 value when it happens to have few glyphs (report by Mboso Sampson). 2446 2447 <li>improve dynamic colors by not repainting the screen if only the 2448 cursor color changes (request by Bram Moolenaar). 2449 2450 <li>fix menu initialization for tek4014 window broken in 2451 <a href="#xterm_206">patch #206</a>. 2452 2453 <li>typo in manpage (Debian #351425). 2454 2455 <li>correct loop logic in <code>dotext</code> to prevent an infinite 2456 loop if a wide character was just at the right margin when wrapping 2457 was disabled (report by Serge van den Boom). 2458 2459 <li>initialize the saved-cursor data so a restore-cursor operation 2460 without a preceding save-cursor operation will not modify the 2461 foreground color. 2462 2463 <li>add a new selection feature: regular expressions, and new resources 2464 which specify what happens on multiple mouse clicks: 2465 <code>on2Clicks</code>, 2466 <code>on3Clicks</code>, 2467 <code>on4Clicks</code> and 2468 <code>on5Clicks</code>. 2469 2470 <li>revert the <code>XTerm.ad</code> change from 2471 <a href="#xterm_208">patch #208</a> (Debian #348384). 2472 2473 <li>fixes for the print-window to make it handle combining 2474 characters in UTF-8 mode. 2475 2476 <li>add check to ensure that double-clicking to extend selection will 2477 not extend it into the scrollback area. This still allows users 2478 to scroll back and select text (Debian #347415). 2479 2480 <li>add configure option <code>--with-tty-group</code> to help work 2481 around deficiencies in packager's build environment (Debian 2482 #349142). 2483 2484 <li>fix typo in configure script option 2485 <code>--disable-narrowproto</code> 2486 (report by David Martínez Moreno). 2487 2488 <li>amend CF_X_FREETYPE changes for <code>pkg-config</code> check to 2489 ensure that <code>Xft</code> is known to that tool (report and 2490 patch by Emanuele Giaquinta). 2491 2492 <li>add an ifdef to allow <code>./configure --disable-active-icon</code> 2493 to work, broken by new code for testing memory leaks in 2494 <a href="#xterm_208">patch #208</a> (report by Brian Lindholm). 2495</ul> 2496 2497<H1><A NAME="xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A></H1> 2498<ul> 2499 <li>add <code>charClass</code> resource to <code>XTerm.ad</code> and 2500 <code>UXTerm.ad</code> which simplifies selecting URLs (prompted 2501 by Kirill Ponomarew). 2502 2503 <li>modify install rule for <code>uxterm</code> to account for the 2504 <code>--program-prefix</code>, etc., options by invoking the 2505 transformed name of xterm rather than simply "xterm". 2506 2507 <li>modify configure <code>--with-app-defaults</code> option to allow 2508 <code>--without-app-defaults</code>. 2509 2510 <li>add configure <code>--with-symlink</code> option to make it simpler 2511 to install successive versions of <code>xterm</code> renamed using 2512 the <code>--program-prefix</code>, etc., options with a symbolic 2513 link pointing to the most recent. 2514 2515 <li>make <code>-iconic</code> option work with toolbar configuration 2516 (GenToo #113604). 2517 2518 <li>suppress <code>lastlog</code> feature for 64-bit Solaris 2519 configuration since that platform provides only a 32-bit interface 2520 (report by Peter Bray). 2521 2522 <li>fix memory reallocation for the "UTF-8" menu entry when xterm is 2523 started using the <code>+u8</code> option (reported by Jan Willem 2524 Stumpel). 2525 2526 <li>add a configure check for the actual path of <code>luit</code>, 2527 to work around broken <code>imake</code> configurations. 2528 2529 <li>add a configure check for <code>pkg-config</code> (Redhat Bugzilla 2530 #173541). 2531 2532 <li>modify install-rule for <code>uxterm</code> to omit executable 2533 suffix, e.g., for Cygwin. 2534 2535 <li>modify <code>sinstall.sh</code> to work around quirks in Cygwin 2536 configuration. 2537</ul> 2538 2539<H1><A NAME="xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A></H1> 2540<ul> 2541 <li>enable <code>lastlogx</code> support for NetBSD (was added, but 2542 not enabled in <a href="#xterm_186">patch #186</a>). 2543 2544 <li>work around broken <code>lastlog.h</code> in glibc 2.3.5, which 2545 includes <code>utmp.h</code>. 2546 2547 <li>revert part of recent XFree86 Imakefile change, restoring the 2548 <code>-I.</code> needed for <code>xmkmf</code> builds of xterm 2549 (XFree86 Bugzilla #1633, 2550 reports by Alexander Pohoyda, 2551 Matthieu Herrb). 2552 2553 <li>change compiled-in default for <code>printerCommand</code> 2554 resource to an empty string. People who want to use the 2555 printer should be able to read the manual (Debian #311490). 2556 2557 <li>modify <code>Imakefile</code> to work around old problems in 2558 <code>imake</code> configuration to allow test-builds using 2559 <code>xmkmf</code> on Linux. (This was not noticed since several 2560 releases had broken definitions relating to Xft which were harder 2561 to work around). 2562 2563 <li>link <code>resize</code> for SCO platforms (Kean Johnston). 2564</ul> 2565 2566<H1><A NAME="xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A></H1> 2567<ul> 2568 <li>add configure <code>--with-app-defaults</code> option to allow 2569 app-defaults directory for install-rules to be customized. 2570 2571 <li>remove default translations for <code>dabbrev-expand()</code> 2572 due to conflicts with existing keyboard arrangements. 2573 2574 <li>remove redundant check for <code>_NET_WM_PID</code> 2575 (report by Emanuele Giaquinta). 2576 2577 <li>set icon border width explicitly to work around fvwm problem 2578 with active icon resizing (report by Steve Morris, analysis 2579 by Dominik Vogt). 2580 2581 <li>modify resource files to make the font-resources a little 2582 more specific, e.g., changing "*VT100*" to "*VT100.", to 2583 make the distinction between VT100.font and VT100.utf8Fonts.font 2584 sharper, in case a packager modifies one of those. 2585 2586 <li>expanded comments in <code>UXTerm.ad</code> regarding the 2587 font resources (Debian #319179). 2588 2589 <li>add <code>--enable-narrowproto</code> configure option to 2590 accommodate X.org "modular" build (report by Stephan Hermann, 2591 GenToo #17220). 2592 2593 <li>fix typo in xterm.man description of <code>+wf</code> (patch 2594 by Tobias Stoeckmann). 2595 2596 <li>add <code>scrollBarBorder</code> resource (request by Floyd L 2597 Davidson). 2598 2599 <li>modify <code>xterm-new</code> terminfo entry to use capabilities 2600 for shifted scroll forward/reverse as shifted cursor up/down. 2601 2602 <li>correct updating of checkmark for toolbar entry in popup menu 2603 (report by Emanuele Giaquinta). 2604 2605 <li>fix ifdef's to allow compiling with toolbar and without tek4014 2606 (patch by Emanuele Giaquinta). 2607 2608 <li>use <code>openpty()</code> for Darwin port (patch by Emanuele 2609 Giaquinta). 2610 2611 <li>fix GenToo #90697 a different way, postponing the logic in 2612 <code>SetupToolbar</code> until the toolbar is actually needed, 2613 i.e., the <code>+tb</code> option is handled as expected. 2614 2615 <li>revert fix made in <a href="#xterm_203">patch #203</a> for GenToo 2616 #90697. That introduced a problem with the control mouse 2617 click-popups, while most of the performance problems can be 2618 resolved by restricting the menu fonts (report by Emanuele 2619 Giaquinta). 2620 2621 <li>fix a file-descriptor leak when calling <code>openpty()</code> 2622 (OpenBSD system/4561). 2623 2624 <li>make a special case of resizing work like vt100: a hard reset 2625 also resets the 132/80 mode. The code to support this was 2626 present since X11R5, but not used because the corresponding 2627 initial state of the <code>-132</code> option was not saved. 2628 2629 <li>restore window manager hints after <code>XtMakeResizeRequest()</code> 2630 calls. One instance from <a href="#xterm_205">patch #205</a> 2631 resulted in the window manager displaying pixels rather than 2632 than characters after selecting a different font size (FreeBSD 2633 ports/87424). 2634 2635 <li>remove special case for Darwin in CF_XOPEN_SOURCE 2636 (Emanuele Giaquinta). 2637 2638 <li>modify parsing of control sequence <code>CSI T</code> 2639 to allow scroll-down 2640 to be sent while mouse tracking is enabled (request by 2641 D Hugh Redelmeier). 2642 2643 <li>correct termcap "me" (mode-end) string so it does not modify the 2644 alternate character set (report by Andrey Chernov). 2645 2646 <li>correct size-comparison in HandleInterpret() broken in changes 2647 from <a href="#xterm_201">patch #201</a> to allocate input 2648 buffer (Debian #334317). 2649 2650 <li>amend adjustments for scrollbar layout from 2651 <a href="#xterm_204">patch #204</a> to make 2652 this apply only to the toolbar configuration. In the non-toolbar 2653 configuration, the resulting scrollbar was shifted by its 2654 borderwidth (report by Matthieu Herrb). 2655 2656 <li>add select-cursor-extend() action. 2657 2658 <li>fix some broken href's in xterm.log.html, and typo in the 2659 INSTALL file (report/patch by David Martínez Moreno). 2660 2661 <li>modify <code>Imakefile</code> to use setgid mode for installing 2662 with Linux, OpenBSD and FreeBSD. 2663 2664 <li>add configure --with-setuid and --with-reference options to 2665 allow packagers more flexibility in customizing install 2666 permissions. 2667 2668 <li>generalize and make optional (configure --with-utmp-setgid) 2669 the change made for XFree86 Bugzilla #878 in 2670 <a href="#xterm_205">patch #205</a> 2671 (FreeBSD bug report #ports/86663). 2672</ul> 2673 2674<H1><A NAME="xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A></H1> 2675<ul> 2676 <li>correct a typo in CF_FUNC_TGETENT introduced in <a 2677 href="#xterm_198">patch #198</a> fix for Gentoo #69926. 2678 2679 <li>implement logic in termcap query to process multiple parameters 2680 as documented in ctlseqs.ms 2681 2682 <li>fix buffer size used for termcap query, which was not long enough 2683 for the terminfo "colors" name (patch by Bradd W. Szonye). 2684 2685 <li>add configure option --enable-readline-mouse, which turns on the 2686 experimental OPT_READLINE code (patch by Ilya Zakharevich). 2687 2688 <li>for FreeBSD, drop setuid privileges after startup 2689 (XFree86 Bugzilla #878, report/patch by Alexander Pohoyda) 2690 2691 <li>add menu entry (alt-esc) and corresponding action (alt-sends-esc) 2692 to toggle the <code>eightBitInput</code> resource setting. 2693 2694 <li>generate configure script with autoconf 2.52 (patched) to use 2695 the feature therein which forces the script's locale to POSIX 2696 (Gentoo Bugzilla #105369). 2697 2698 <li>modify computation of rows/columns on resize to avoid extending 2699 beyond the given limits, e.g., if resizing in response to a 2700 "maximize" in Gnome or KDE which do not use the window manager 2701 hints for this case (Debian #289123, Novell #61153). 2702 2703 <li>modifications to work with z/OS 1.4 (Paul Giordano). 2704 2705 <li>improve error-reporting when chown/chmod of the pseudo-terminal 2706 fails, e.g., if a copy of xterm which was designed to work with 2707 old-style pseudo-terminals is not installed setuid or setgid 2708 (report by Jeremy C. Reed). 2709 2710 <li>patches from Emanuele Giaquinta: 2711 <ul> 2712 <li>ctlseqs.ms says that primary and secondary DA accept a 2713 nonzero parameter, which is incorrect. Also modify code 2714 to agree with this. 2715 2716 <li>correct a comment in 88colres.pl 2717 2718 <li>ctlseqs.ms says that the DEC Set/Reset control sequences for 2719 the backarrow key make it send DEL/BS, respectively, while it's 2720 the opposite. 2721 2722 <li>update the menu entries for the metaSendsEscape, deleteIsDEL 2723 and numLock resources when changing them with the corresponding 2724 DEC Set/Reset control sequences. 2725 </ul> 2726 2727 <li>fixes for configure script: 2728 <ul> 2729 <li>add special case for QNX, defining _QNX_SOURCE. 2730 <li>check for preprocessors which do not perform -U and -D options 2731 in the given order. 2732 <li>improve macro to determine gcc version 2733 <li>improve check for Intel compiler and related warning options 2734 </ul> 2735 2736 <li>update config.guess, config.sub 2737 2738 <li>improve fix from <a href="#xterm_198">patch #198</a> for 2739 <code>Cleanup()</code> by ensuring it is not called from the 2740 SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)). 2741 2742 <li>eliminate a retry for a better-matching bold font, to work around 2743 recent font server changes. 2744 2745 <li>fixes for Novell #113277: 2746 <ul> 2747 <li>specify weight for wide font which may be derived from 2748 normal fontname. 2749 <li>cache the derived wide- and widebolt-fontnames. 2750 </ul> 2751 2752 <li>workaround for GenToo Bugzilla #100728. 2753 2754 <li>add menubar's border width to layout computation. Normally this 2755 is zero, but patterns such as <code>XTerm*borderWidth:1</code> 2756 would give poor layout for the toolbar configuration. 2757</ul> 2758 2759<H1><A NAME="xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A></H1> 2760<ul> 2761 <li>work around quirk in shell which allowed user to "run" uxterm 2762 script when there was no UTF-8 locale installed by entering 2763 "sh -x uxterm". Also popup an xmessage to show the problem 2764 for users who run this via a GUI (Debian #318513). 2765 2766 <li>disallow changes to fonts, toolbar and scrollbar when the vt100 2767 window is iconified, to simplify management of the active icon. 2768 2769 <li>fixes to make <code>-geom</code> option work properly with the 2770 toolbar configuration (Gentoo Bugzilla #90717, #91967). 2771 2772 <li>minor improvements to scrollbar layout: ensure that the scrollbar 2773 border is zero if the vt100 border is zero. 2774 2775 <li>improve initialization due to <code>utf8</code> resource by 2776 loading the <code>utf8Fonts</code> resource in the case where 2777 <code>locale</code> resource is false. Also in this case, do 2778 not disable switching UTF-8 mode on/off. 2779 2780 <li>minor optimization of TrueType font-loading, loads italic font 2781 only when needed. 2782 2783 <li>correct variable used to store temporary result from lookup of bold 2784 font, when initializing the wide-bold-font data and no immediate 2785 match is found by asking for a bold variant of the wide-font. The 2786 result was to use overstriking rather than the actual bold font 2787 (Debian #318162, patch by Eugene Konev). 2788 2789 <li>add checks to ensure vt100 widget is realized when it might be 2790 updated via actions handled from a tek4014-only configuration. 2791</ul> 2792 2793<H1><A NAME="xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A></H1> 2794<ul> 2795 <li>modify initialization of <code>allowSendEvents</code> and 2796 <code>allowWindowOps</code> to prevent modification with the 2797 editres protocol. 2798 2799 <li>fix compiler warning for NetBSD by including util.h in main.c 2800 (XFree86 Bugzilla #1596). 2801 2802 <li>fix to build on Darwin 8.x, which no longer provides 2803 <code>setpgrp()</code> (patch by Min Sik Kim). 2804 2805 <li>adapted fixes for Legend (SCO) from diffs attached to 2806 Freedesktop.Org Bugzilla #3180. 2807 2808 <li>fix typo in xterm manpage description of <code>-ls</code> option 2809 (Freedesktop.Org Bugzilla #3543). 2810 2811 <li>add support for interpreting the underline attribute as an italic 2812 font in Xft mode (patch by Chuck Blake). 2813 2814 <li>improve initialization of toolbar so that individual pulldown 2815 menus are initialized on demand, as they are in the scenario 2816 where they are invoked as popup menus (GenToo Bugzilla #90697). 2817 2818 <li>fix logic in <code>find_utmp</code>, which did not reset result 2819 in <code>getutid()</code>, causing an infinite loop in some 2820 conditions (report by Emil Mikulic). 2821 2822 <li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla #91008). 2823 2824 <li>modify ifdef's in ptyx.h and xterm_io.h to build with DragonFly 2825 (patch by Jeroen Ruigrok). 2826 2827 <li>change default values for <code>minBufSize</code> and 2828 <code>maxBufSize</code> to 4096 and 32768 respectively so that the 2829 initial read request will match the value from before changes to 2830 use <code>sched_yield()</code>. 2831 2832 <li>make paste of UTF-8 faster for Western character sets by checking 2833 range of incoming data (patch by Joe Allen). 2834 2835 <li>add experimental option to allow 2836 applications to get or set the selection data as a BASE64 string 2837 (adapted from patch by Joe Allen). 2838 2839 <li>fix an off-by-one error parsing <code>-S/nn</code> option 2840 (Debian #311438, report/fix by Peter Chubb). 2841 2842 <li>fix an initialization bug from 2843 <a href="#xterm_201">patch #201</a> that broke logging 2844 (report by Rodney Thayer). 2845 2846 <li>amend change to command-line processing in 2847 <a href="#xterm_201">patch #201</a> to avoid 2848 conflict with <code>-e</code> option (report by Servatius Brandt). 2849 2850 <li>suppress configure check for <code>_XOPEN_SOURCE</code> on 2851 darwin. 2852 2853 <li>update config.guess, config.sub 2854</ul> 2855 2856<H1><A NAME="xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A></H1> 2857<ul> 2858 <li>add extended shift- and control-modifier cursor keys to 2859 "xterm+pcfkeys" terminfo entry to correspond to ncurses 20050430 2860 patch. 2861 2862 <li>fix a rare case where text would be written with the wrong colors 2863 because output of scrolled text would reset the colors and the 2864 new text would be written with the same colors (report/testcase 2865 by Thomas Glanzmann). 2866 2867 <li>rename <code>$CMD</code> variable in <code>plink.sh</code> because 2868 it is a reserved symbol in bash 3.00.16 (report by Ted Taylor). 2869 2870 <li>add environment variables <code>$XTERM_SHELL</code> and 2871 <code>$XTERM_VERSION</code> 2872 (request by Zdenek Sekera). 2873 2874 <li>corrected workaround for background color of menubar, which gave 2875 a too-broad expression, coloring the background of the VT100 2876 widget unless overridden by another resource setting. 2877 2878 <li>correct an error in the logic which decides when 2879 <code>sched_yield()</code> is run; it would occasionally hang when 2880 contending with other pseudo-terminal applications such as screen 2881 (report by Kirill Ponomarew). 2882 2883 <li>modify initialization to decide whether to default to built-in 2884 <code>wcwidth()</code> versus system's version based on the 2885 starting locale and whether the system's version is poor quality 2886 (suggested by Bram Moolenaar). 2887 2888 <li>update table for <code>mk_width()</code> from UnicodeData 4.1.0 2889 using Markus Kuhn's <code>uniset</code> script. 2890</ul> 2891 2892<H1><A NAME="xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A></H1> 2893<ul> 2894 <li>improve resource files to show how the menubar and popup menus can 2895 be colored (prompted by report by Joe Wells). 2896 2897 <li>modify parsing of OSC (and SOS, etc), strings so their contents 2898 are not interpreted as UTF-8. This allows non-ASCII title strings 2899 to be set, provided that the window manager complies (report by 2900 Thomas Wolff). 2901 2902 <li>improved some of the built-in line-drawing glyphs. 2903 2904 <li>correct color of "box" character drawn for line-drawing glyph 1 2905 (report by Nicolas George). 2906 2907 <li>improve behavior when switching to UTF-8 mode after startup so 2908 xterm will check if the current fonts are already wide 2909 (ISO10646-1). If they are not, xterm will use the 2910 <code>utf8Fonts</code> subresource to load appropriate fonts 2911 (request by Bram Moolenaar). 2912 2913 <li>modify logic for setting title-string so it applies to the current 2914 widget rather than the vt100 widget. 2915 2916 <li>modify initialization for wide-bold fontname, to search for one 2917 if none is given (report by Michael Schroeder). 2918 2919 <li>add resource <code>mkWidth</code> and command-line option 2920 <code>-mk_width</code> to control whether xterm uses the built-in 2921 version of wcwidth(). 2922 2923 <li>add resource settings for minimum/maximum input buffer size, and 2924 call to <code>sched_yield</code> to improve performance with newer 2925 Linux kernels (adapted from patch by Nicolas George). 2926 2927 <li>correct computation of width for wide characters with the invisible 2928 attribute (report by Thomas Wolff). 2929 2930 <li>modify interaction between <code>+u8</code> and <code>locale</code> 2931 resource to allow the command-line option to override the resource 2932 (requested by Thomas Wolff). 2933 2934 <li>add a limit check for scrolling margins in a one-line screen, 2935 overlooked in fixes for 2936 <a href="#xterm_198">patch #198</a> (Debian #297430). 2937 2938 <li>correct treatment of <code>iconBorderWidth</code> for resizing 2939 an active-icon, and its description in manpage (Debian #296592). 2940 2941 <li>modify configure script <code>--disable-imake</code> to use the 2942 script's definitions anyway if it cannot detect imake (prompted 2943 by FreeBSD bug 77408). 2944 2945 <li>ignore error in the I/O initialization that tries to set the 2946 tty to 7-bit input for the case where <code>eightBitInput</code> 2947 resource is false (Debian #298551). 2948 2949 <li>modify command-processing to accept an optional parameter that 2950 tells xterm which shell program to use (request by Zdenek Sekera). 2951 2952 <li>add simpler resource <code>keyboardType</code> which, when set, 2953 overrides the individual keyboard-type resources and eliminates 2954 the possibility of conflict between them. 2955 2956 <li>add initialization for <code>scoFunctionKeys</code> resource 2957 (report by Rick K). 2958 2959 <li>correct logic of <code>ReallocateBufOffsets()</code> which did not 2960 copy the content of the old screen buffer to the proper location, 2961 making a repaint clear after switching to wide-character mode 2962 (report by Bram Moolenaar): 2963 2964 <li>implement the remaining pieces to make xterm allocate cells for 2965 wide-characters when the "UTF-8" menu entry is selected. Also, 2966 load the UTF-8 font when that menu entry is selected, or the escape 2967 sequence for UTF-8 mode is received (report by Bram Moolenaar): 2968 2969 <li>add command-line options (<code>-tb</code>, <code>+tb</code>) and 2970 resource <code>toolBar</code> to allow menu/toolbar to disabled or 2971 enabled at startup (prompted by reports by Joe Wells). 2972 2973 <li>correct typo in configure script's --enable-dec-locator option 2974 (report by Bram Moolenaar). 2975</ul> 2976 2977<H1><A NAME="xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A></H1> 2978<ul> 2979 <li>increase color pairs value for xterm-256color and xterm-88color to 2980 match ncurses, which has an experimental option to support this. 2981 2982 <li>modify ifdef's to make AIX use termios rather than termio; the 2983 struct sizes for the two were not the same. 2984 2985 <li>improve CF_WITH_IMAKE_CFLAGS configure macro script for 2986 OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX. 2987 2988 <li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by Min 2989 Sik Kim). 2990 2991 <li>modify find_utmp() to initialize the whole utmpx struct (except 2992 ut_id), since that is needed for OSF1 4.0D to prevent an infinite 2993 loop on exit. 2994 2995 <li>add configure check before adding -D_POSIX_SOURCE since some 2996 platforms predefine it, e.g., cygwin. 2997 2998 <li>add simplified sed expressions in CF_IMAKE_CFLAGS configure script 2999 macro to ensure value for PROJECTROOT is quoted on Solaris, i.e., 3000 when nested <code>\(</code> and <code>\)</code> are not interpreted 3001 correctly. 3002 3003 <li>correct DEC rectangle operations to reset state after completing 3004 the operations. 3005 3006 <li>modify CASE_ST handling in charproc.c to ensure that the parse 3007 state is reset even if xterm is not currently processing an OSC or 3008 other string (patch by Johnny Billquist forwarded by Matthias 3009 Scheler, NetBSD xsrc/29003). 3010 3011 <li>fix OS/2 build for innotek_libc (patch by David Yeo). 3012 3013 <li>fix a regression from <a href="#xterm_197">patch #197</a> fix for 3014 Debian #277832 which disowned the selection if it was scrolled, 3015 e.g., by the user pressing return at the bottom of the screen 3016 (Debian #291787). 3017 3018 <li>move the warning/exit for missing $DISPLAY into the error handler 3019 in case <code>-display</code> is given, and the connect fails for 3020 some other reason. 3021</ul> 3022 3023<H1><A NAME="xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A></H1> 3024<ul> 3025 <li>instead of setting <code>$DISPLAY</code>, check for the unset 3026 variable and warn/exit on this condition (comments by H Merijn 3027 Brand and Bernhard R Link). 3028 3029 <li>fix a typo in Imakefile from <a href="#xterm_198">patch #198</a> 3030 (reports/patches by Stefan Dirsch, Mike Castle). 3031</ul> 3032 3033<H1><A NAME="xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A></H1> 3034<ul> 3035 <li>set <code>$DISPLAY</code> to ":0" if it is not set. 3036 3037 <li>add <code>utmpDisplayId</code> resource to allow users to control 3038 whether the display identifier (display number and screen number) 3039 are retained in the connection information recorded in utmp 3040 (discussion with Edoardo Tirtarahardja). 3041 3042 <li>add <code>bellOnReset</code> resource to allow users to disable 3043 bell which sounds on hard reset since <a href="#xterm_183">patch 3044 #183</a> changes to DECSCL (discussion with Danek Duvall). 3045 3046 <li>improve <code>$WINDOWID</code> for configuration with toolbar by 3047 making it refer to the top-level shell rather than the parent of 3048 the current window. For that case, the parent is a form widget, 3049 which does not have a name, which made the <code>$WINDOWID</code> 3050 not very useful as a parameter for <code>xwininfo</code> 3051 (suggested by Dave Bodenstab). 3052 3053 <li>fix a typo in WhichVFont() macro 3054 from <a href="#xterm_197">patch #197</a> changes 3055 which broke the --disable-active-icon configuration 3056 (report by Ralf S. Engelschall). 3057 3058 <li>improve some limit checks (Gentoo Bugzilla #75604). 3059 3060 <li>add --disable-setuid option to configure script (Gentoo Bugzilla 3061 #76543). 3062 3063 <li>add --disable-full-tgetent option to configure script, allowing one 3064 to ignore a termcap library in favor of ncurses/curses (Gentoo 3065 Bugzilla #69926). 3066 3067 <li>modify configure script to choose useful warning options for Intel 3068 version 8.0 compiler. 3069 3070 <li>update config.guess, config.sub 3071 3072 <li>make active-icon work properly when TrueType fonts are used 3073 (Debian #286068). 3074 3075 <li>correct change from <a href="#xterm_157">patch #157</a> which uses 3076 getlogin() to check for an alias; the storage used for the related 3077 getpwuid() call was overwritten by the data used for comparison 3078 (patch by Per Hedeland). 3079 3080 <li>correct case of SCS for character set 0 (line-drawing) to allow it 3081 to be selected into GR. 3082 3083 <li>fix a file-descriptor leak (Redhat Bugzilla #139597). 3084 3085 <li>modify <code>creat_as()</code> to only fork if xterm is actually 3086 running as setuid and/or setgid. This works around a Cygwin bug 3087 which hangs when logging is enabled and makes xterm a little 3088 faster for systems using interfaces such as utempter (report by 3089 Al Goodman). 3090 3091 <li>modify <code>Cleanup()</code> to avoid operations such as X calls 3092 that might use unsafe functions when it is called by a signal 3093 handler (report by Michiel Boland). 3094 3095 <li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM changes 3096 from <a href="#xterm_197">patch #197</a> that 3097 broke DECSET 38: switch to Tek4014 emulation (report by Dave 3098 Bodenstab). 3099 3100 <li>fix for manpage escapes (Marc La France). 3101 3102 <li>improve on IRIX-specific change for Imakefile in XFree86 CVS versus 3103 resize linking against termcap library to reflect definitions for 3104 USE_TERMCAP in resize.c 3105</ul> 3106 3107<H1><A NAME="xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A></H1> 3108<ul> 3109 <li>modify configure script to remove empty "-DPROJECTROOT=" definition 3110 which resulted unusable values for luit's default path. 3111 3112 <li>update precompose.c based on Unicode 4.0.1 3113 3114 <li>several minor fixes based on Intel compiler warnings. 3115 3116 <li>change default translations so a <code>BtnDown</code> which is 3117 not recognized is simply ignored rather than emitting a bell. 3118 That makes it less obtrusive when the user tries to use a mouse 3119 which provides more capabilities than the X mouse driver supports, 3120 e.g., one with a horizontal scroll wheel (Debian #265133). 3121 3122 <li>note in xterm's manpage that <code>translations</code> is not 3123 specific to xterm (Debian #278897). 3124 3125 <li>modify uxterm script to use locale program to verify if the 3126 derived locale is installed (Debian #246398). 3127 3128 <li>correct font handling for active icon when in UTF-8 mode (report 3129 by Paolo Liberatore). 3130 3131 <li>make active-icon and toolbar configurations work together. 3132 3133 <li>modify the criteria for disowning primary selection. Previously, 3134 this happened anytime the cursor was moved before the end of the 3135 selection. That would ensure that any insert/delete of char or 3136 line, as well as scrolling, would disown the selection. The 3137 new criteria change this to checking if the operations would 3138 modify the data which is highlighted (Debian #277832). 3139 3140 <li>reimplement <code>DECALN</code> with functions for vt420 rectangles, 3141 fixes selection for this case. 3142 3143 <li>implement vt420 rectangle operations. 3144 3145 <li>add parsing, for debug/test of vt220 soft-fonts. 3146 3147 <li>add menu entry, actions and escape sequence to allow 3148 enabling/disabling toolbars at runtime. 3149 3150 <li>improve rendering for Xft, allow it to draw non-linedrawing 3151 characters such as "pi", which were drawn from internal tables 3152 with <a href="#xterm_180">patch #180</a> 3153 (Freedesktop.org Bugzilla #1260). 3154 3155 <li>add configure option <code>--enable-mini-luit</code>, ifdef'd the 3156 mini-luit feature with <code>OPT_MINI_LUIT</code>. 3157 3158 <li>add mini-luit feature, which supports Latin9 directly rather than 3159 via luit, provided that Unicode fonts are used (Freedesktop.org 3160 Bugzilla #1571, request by Stefan Dirsch, patch by Michael 3161 Schroeder). 3162 3163 <li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x kernels, 3164 set the corresponding flag for the slave pty, to enable UTF-8 3165 interpretation of backspace in cooked mode (Freedesktop.org 3166 Bugzilla #1578, request by Stefan Dirsch). 3167 3168 <li>modify <code>faceSize</code> resource to use a floating-point 3169 internal value (adapted from patch by Sam Stephenson). 3170 3171 <li>correct handling selection of tabs over cleared space in UTF-8 3172 mode. In this special case, xterm represents the whitespace with 3173 a null rather than a space character (Debian #276447). 3174 3175 <li>amend fix for infinite loop from <a href="#xterm_192">patch 3176 #192</a> to check if there is wrapped text to output in a following 3177 iteration (Debian #273202). 3178 3179 <li>fixes ifdef'd with <code>__INTERIX</code> to allow building with 3180 Interix (Windows Services for UNIX) 3.5 using the xlibs libraries 3181 from freedesktop.org (patch by Min Sik Kim). 3182 3183 <li>amend solution for Debian #252873, #260471 from <a 3184 href="#xterm_194">patch #194</a> by making the cursor not 3185 explicitly colored if only the foreground color is set, and the 3186 cursor is on a blank space (Debian #275473). 3187 3188 <li>correct logic for send/receive mode (SRM) with regard to control 3189 characters. 3190 3191 <li>fix masking of invisible text in wide-character mode, which did 3192 not work for line-drawing characters. 3193 3194 <li>incorporate CF_XOPEN_SOURCE into configure script, replacing 3195 CF_GNU_SOURCE. 3196</ul> 3197 3198<H1><A NAME="xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A></H1> 3199<ul> 3200 <li>add a special case to configure script to ignore NetBSD's 3201 <code>grantpt()</code> which was recently added (but not part of a 3202 release), until someone is able to ensure that xterm can use it 3203 (report by Min Sik Kim). 3204 3205 <li>clear the buffer returned by getutid(). This fixes an infinite 3206 loop on some platforms introduced in <a href="#xterm_193">patch 3207 #193</a> by Debian #256468 fix (report by David Ellement). 3208</ul> 3209 3210<H1><A NAME="xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A></H1> 3211<ul> 3212 <li>correct length used for blinking text, make the last column blink 3213 (patch by Alexander V Lukyanov). 3214 3215 <li>start changes to make doublesize characters work with TrueType 3216 fonts (see <a href="#xterm_44">patch #44</a>). 3217 3218 <li>trim leading/trailing blanks from color resources as done for 3219 other strings in <a href="#xterm_167">patch #167</a>. 3220 3221 <li>fixes for <code>showBlinkAsBold</code> resource (report by 3222 Christoph Berg). 3223</ul> 3224 3225<H1><A NAME="xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A></H1> 3226<ul> 3227 <li>change clearing operations so foreground color attribute is not 3228 set. Usually this is benign, but in some cases when the cursor 3229 color is not set explicitly, the cursor would show this color 3230 (Debian #252873, #260471). 3231 3232 <li>add extra state (cursor-moved) to guard against deciding that the 3233 cursor did not require repainting after an indexing operation 3234 that leaves the cursor in the same location on the screen. 3235 3236 <li>fix a case where a full-screen indexing operation would 3237 not restore the cursor-busy state. 3238 3239 <li>fix a repainting bug introduced in 3240 <a href="#xterm_180">patch #180</a>: when using a font 3241 lacking line-drawing characters, a repaint of the screen could 3242 skip horizontally an extra amount after filling in the missing 3243 character (reports by Nicolas George, Hans de Goede, Redhat 3244 Bugzilla #128341). 3245 3246 <li>rename terminfo fragment "xterm-pc-fkeys" to "xterm+pcfkeys" for 3247 consistency with ncurses. 3248</ul> 3249 3250<H1><A NAME="xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A></H1> 3251<ul> 3252 <li>fix for wide-character selection from OpenBSD CVS 3253 (report/patch by Matthieu Herrb). 3254 3255 <li>modify initialization and cleanup of utmp data to also compare 3256 the <code>ut_line</code> member (Debian #256468). 3257 3258 <li>modify check on focus-change to ignore <code>FocusOut</code> events 3259 generated by <code>XGrabKeyboard</code>. This fixes a case where 3260 the text cursor would act as if focus were lost when selecting the 3261 "Secure Keyboard" menu option. 3262 3263 <li>add <code>gen-pc-fkeys.pl</code> script, use that to generate 3264 terminfo fragment corresponding to the pc-style function keys. 3265 3266 <li>fix a case where the checkmark by the "VT220 Keyboard" menu entry 3267 was not set on startup. 3268 3269 <li>separated two methods for making the cursor blink (menu and 3270 escape sequence) by using the menu as the primary method and 3271 XOR'ing the state of the escape sequence against that. 3272 3273 <li>modify logic for enabling blinking cursor via escape sequence as 3274 well as the related save/restore operations so this is only 3275 available if the <code>cursorBlink</code> resource was set on 3276 startup. 3277</ul> 3278 3279<H1><A NAME="xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A></H1> 3280<ul> 3281 <li>change resource settings for color4 and color12, add some discussion 3282 in <code>XTerm-col.ad</code> (Debian #241717). 3283 3284 <li>add a note in xterm manpage discussing the difference between 3285 alt- and meta-keys, and the way the latter is used in the 3286 <code>eightBitInput</code> resource. 3287 3288 <li>add a note in xterm manpage regarding possible conflict between 3289 resource settings for <code>xterm.vt100.font</code> and 3290 <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650). 3291 3292 <li>add compile-time customization of <code>backarrowKeyIsErase</code> 3293 and <code>ptyInitialErase</code> default resource values 3294 (adapted from OpenBSD CVS). 3295 3296 <li>change parameter of <code>FIONREAD</code> <code>ioctl()</code> call 3297 from long to int 3298 (discussion on tech-x11@netbsd.org regarding LP64 by 3299 John Heasley and Matthias Scheler). 3300 3301 <li>modify configure script options for Athena widgets to work as 3302 expected for "--without-Xaw3d", etc., (GenToo Bugzilla #53455). 3303 3304 <li>add case to uxterm to accommodate locales ending with "@euro", 3305 e.g., fr_FR.UTF-8@euro (Debian #255197, report/analysis by 3306 Matthieu Lagouge). 3307 3308 <li>add special case for VT100 graphic's "box" character (discussion 3309 with Ben Armstrong). 3310 3311 <li>add missing initialization for bitmap-font sizes needed to make 3312 fonts menu work with TrueType fonts (report by Ben Armstrong). 3313 3314 <li>save the fontnames for bold fonts that are derived from normal 3315 fonts, or from the <code>boldFont</code> resource, so the same 3316 value is restored when switching with the VT Fonts menu (Debian 3317 #256086). 3318 3319 <li>fix manpage preprocessing (Marc La France). 3320 3321 <li>fix typo in manpage's description of character classes (Debian 3322 #257073). 3323 3324 <li>modify terminfo to accommodate luit, which relies on G1 being used 3325 via an ISO-2022 escape sequence (Debian #254316, analysis by 3326 Juliusz Chroboczek). 3327 3328 <li>modify Makefile.in rule for ctlseqs.txt to work around groff SGR 3329 misfeature. 3330 3331 <li>modify <code>XTerm.ad</code> to set <code>saveLines</code> default 3332 to 1024 (Redhat Bugzilla #127132). 3333 3334 <li>add a limit-check in <code>dotext()</code> to prevent infinite 3335 loop in a corner case of UTF-8 configuration. 3336 3337 <li>update config.guess, config.sub 3338</ul> 3339 3340<H1><A NAME="xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A></H1> 3341<ul> 3342 <li>correct options parsing for <code>-into</code> option so it 3343 can be combined with <code>-e</code> (Redhat Bugzilla #124518, 3344 report/patch by James Armstrong). 3345 3346 <li>fix ifdef's for <code>OPT_COLOR_RES2</code> 3347 so that the fake resource table introduced in 3348 <a href="#xterm_188">patch #188</a> 3349 is not compiled if it is empty. 3350 This happened to work with gcc (report by Joel Konkle-Parker). 3351 3352 <li>reorganize ptydata.c to use one input buffer shared between 3353 the VTxxx and tek4014 emulators. In the new scheme, UTF-8 3354 decoding is performed on characters as they are needed by the 3355 state machine rather than on buffers as they are read. 3356 3357 <li>work around change in quoting of PROJECTROOT symbol when using 3358 configure script, from changes made in 3359 <a href="#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS 3360 (GenToo Bugzilla #50982). 3361</ul> 3362 3363<H1><A NAME="xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A></H1> 3364<ul> 3365 <li>correct state for values in the range 128-159 after translating 3366 from UTF-8: this should be ignored unless the user overrides it 3367 with the <code>allowC1Printable</code> resource (reported by 3368 Simon Strandgaard). 3369 3370 <li>add configure-script check for nl_langinfo(CODESET), use this to 3371 replace check of environment variables for UTF-8. 3372 3373 <li>change Makefile.in rules for 256colres.h and 88colres.h so they 3374 are only made if they do not exist. The maintainer-clean rule 3375 will remove these files; they require perl to be made. 3376 3377 <li>remove check in configure script --enable-toolbar that suppressed 3378 this option when building with Xaw7. 3379 3380 <li>apply fixes to Tektronix widget used for VT100 widget to make 3381 toolbar work with Xaw7 (XFree86 4.x). 3382</ul> 3383 3384<H1><A NAME="xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A></H1> 3385<ul> 3386 <li>do not call xim_real_init() if <code>openIm</code> resource is 3387 false (Debian #249025). 3388 3389 <li>minor improvements to built-in line-drawing. 3390 3391 <li>fix a few portability issues with dynamic abbreviation support, 3392 i.e., did not compile on Tru64. 3393 3394 <li>modify constraints in form used to layout toolbar, to work with 3395 newer Xaw in XFree86 4.x. 3396</ul> 3397 3398<H1><A NAME="xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A></H1> 3399<ul> 3400 <li>correct table entry for DEL in the ground state, which marked it 3401 as a printable character from <a href="#xterm_171">patch #171</a> 3402 (report by D Hugh Redelmeier). 3403 3404 <li>improve fix in <a href="#xterm_186">patch #186</a> for failure in 3405 xim_real_init() by adding a sleep. 3406 3407 <li>fix a typo in os2main.c 3408 (XFree86 Bugzilla #1358, report/patch by Frank Giessler). 3409 3410 <li>make escape sequence reporting dynamic colors consistent with the 3411 logic that sets it; choosing the opposite color when reverse 3412 video is set (XFree86 Bugzilla #1361, reported by Bradd W Szonye). 3413 3414 <li>modify initialization of 256- and 88-colors so that colors beyond 3415 16 are normally not X resources. This works around a hard-coded 3416 limit in Xt which breaks xterm when 256-colors and luit are both 3417 configured (report by Noah Friedman). 3418 3419 <li>remove <code>ncv</code> from <code>xterm-256color</code> terminfo 3420 entry since it is no longer needed (report by Eli Zaretskii). 3421 3422 <li>add "erase2" and "eol2" keywords to <code>ttyModes</code> resource, 3423 for recent/current FreeBSD. 3424 3425 <li>improve ifdef's for utempter library to omit direct calls to 3426 <code>setutent()</code> or <code>getutent()</code> (adapted from 3427 patch by Christian Biere). 3428 3429 <li>add dynamic abbreviation support like Emacs (patch by Tomasz 3430 Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>, and 3431 enabled via the configure script <code>--enable-dabbrev</code> 3432 option. 3433 3434 <li>fix problem responding to session management events, e.g., which 3435 would make logging out very slow (patch by Eddy De Greef, Debian 3436 #233883). 3437 3438 <li>work around a newer bug in toolbar with XFree86 by forcing menus 3439 to be fully initialized at startup. In older versions of XFree86 3440 and X11R6, it was possible to delay initialization of the menu 3441 contents until it was popped up. (The longstanding bug with 3442 XFree86 4.x layout for toolbar still exists, though). 3443 3444 <li>modify <code>xtermAddInput</code> to work around core dump on 3445 IRIX64 when initializing scrollbar translations if toolbar is 3446 compiled-in. 3447 3448 <li>fix some minor conflicts in the 2-character entry names in the 3449 termcap file. 3450</ul> 3451 3452<H1><A NAME="xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A></H1> 3453<ul> 3454 <li>change xterm version string to use <code>__vendorversion__</code> 3455 where that is available, and "XTerm" otherwise. 3456 3457 <li>improve description of <code>utf8</code> resource in manpage 3458 (Debian #179407). 3459 3460 <li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS to 3461 handle <code>-D</code> options that define string values, e.g., 3462 for <code>XVENDORNAME</code>. 3463 3464 <li>modify configure macro CF_IMAKE_CFLAGS to allow (if 3465 <code>$PATH</code> is set accordingly) to use the 3466 <code>xmkmf</code> script within an X build tree. 3467 3468 <li>add missing <code>#undef OPT_SESSION_MGT</code> to xtermcfg.hin 3469 to make the configure script's --disable-session-mgt option work. 3470 3471 <li>update config.guess, config.sub 3472</ul> 3473 3474<H1><A NAME="xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A></H1> 3475<ul> 3476 <li>change reset on <code>DECSCL</code> to a soft-reset (appears some 3477 DEC manuals have errors). 3478 3479 <li>add a section to ctlseqs.ms elaborating on normal/alternate screens. 3480 3481 <li>modify initialization of Acolors[] so that any XtDefaultForeground 3482 or XtDefaultBackground values are translated as in the Tcolors[], 3483 to use the window's foreground/background colors. This affects 3484 the <code>colorBD</code> and similar resources which normally have 3485 no explicit color assigned. 3486 3487 <li>modify initialization of Tektronix window so that control sequences 3488 setting its color before the window is popped up will apply to 3489 its initial colors. 3490 3491 <li>add control sequence to set Tektronix window's text-cursor. 3492 3493 <li>modify initialization of terminal colors, e.g., mouse pointer and 3494 text cursor, to treat <code>XtDefaultForeground</code> and 3495 <code>XtDefaultBackground</code> values as the actual foreground 3496 and background colors of the terminal rather than white and black 3497 (Debian #241717). 3498 3499 <li>remove an incorrect comparison against <code>PTYCHARLEN</code> in 3500 parsing the <code>-S</code> option (report by Michael B Taylor). 3501 3502 <li>minor restructuring of terminfo/termcap files, having noted some 3503 packager's customizations which caused the structure to be 3504 confused. 3505 3506 <li>eliminate an isolated use of MIN/MAX in charproc.c 3507 3508 <li>replace <code>XtExtdefaultfont</code> and 3509 <code>XtExtdefaultbackground</code> by their more familiar 3510 equivalents 3511 <code>XtDefaultFont</code> and 3512 <code>XtDefaultBackground</code>. 3513 3514 <li>replace ifdef's using <code>SCO</code>, <code>sco</code> and 3515 <code>SCO325</code> with <code>__SCO__</code> 3516 (XFree86 Bugzilla #1301, Kean Johnston). 3517 But ensure that it still builds on platforms where this symbol 3518 is not defined. 3519 3520 <li>add <code>scoFunctionKeys</code> resource, to match manpage. 3521 3522 <li>update manpage discussion of menus and related resources. 3523 3524 <li>enable utmpx support for NetBSD 1.6C and newer (patch by 3525 Matthias Scheler). 3526 3527 <li>add a note in the manpage discussing xterm's treatment of open 3528 file-descriptors (request by Dan Shearer). 3529 3530 <li>modify <code>Help()</code> to make "xterm -h" write to standard 3531 output rather than standard error (patch by Bram Moolenaar). 3532 3533 <li>check for type of failure in xim_real_init() to avoid looping when 3534 the problem is an unsupported input method rather than a failure 3535 to connect to the XIM server. Problem was introduced in 3536 <a href="#xterm_175">patch #175</a> (XFree86 Bugzilla #1306). 3537 3538 <li>modify <code>Imakefile</code> to remove dependency of "install" 3539 target on the <code>xterm</code> executable to make installs from 3540 tree without attempting to rebuild anything (commit by David Dawes, 3541 report/patch from Lee Olsen). 3542 3543 <li>remove call to <code>ShowCursor</code> from 3544 <code>SetCursorBlink()</code> since that is redundant, 3545 and can cause display glitches if the cursor is already 3546 blinking (XFree86 Bugzilla #1158, patch/report by Andreas Schwab). 3547</ul> 3548 3549<H1><A NAME="xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A></H1> 3550<ul> 3551 <li>fix tcap-query logic for the backspace key (XFree86 Bugzilla #1233, 3552 report/patch by Anton Kovalenko). 3553 3554 <li>add test-scripts resize.pl and tcapquery.pl 3555 3556 <li>add translation to ASCII of commonly-used characters that groff 3557 translates to Unicode, when the font in use does not provide the 3558 corresponding glyphs (Debian #219551). 3559 3560 <li>modify RequestMaximize(), which performs maximize/restore via 3561 control sequences, to account for window-frame (patch by 3562 Jess Thrysoee). 3563 3564 <li>improve pattern used in <code>uxterm</code> to check for UTF-8 3565 locale, e.g., for HPUX (patch by H Merijn Brand). 3566 3567 <li>add <code>-fd</code> option and resource 3568 <code>faceNameDoublesize</code> to specify double-wide fonts with 3569 Xft (adapted from patch by Zarick Lau). 3570 3571 <li>change a couple of resource classes from "Boolean" to specific 3572 values: <code>freeBoldBox</code>, <code>forceBoxChars</code>. 3573 3574 <li>add resource <code>showMissingGlyphs</code> to outline places on 3575 the screen where a font lacks the corresponding glyph. 3576 3577 <li>add resource <code>showBlinkAsBold</code> to control whether 3578 blinking text should be shown as bold or actual blinking text. 3579 3580 <li>improve logic in ShowCursor() to avoid repainting the cursor when 3581 it is already visible, e.g., in response to the DECTCEM escape 3582 sequence. This also addresses XFree86 Bugzilla #1158. 3583 3584 <li>implement blinking text, using the timer for blinking cursor. 3585 3586 <li>modify FreeType support to allow resizing the font, in the same 3587 ways the window can be resized if fixed fonts are used. The 3588 relative font sizes are derived from the fixed font sizes. 3589 3590 <li>add menu items and corresponding actions for switching on/off 3591 the UTF-8 mode and Xft (TrueType) support. 3592 3593 <li>add logic to handle switching UTF-8 mode on/off. It worked if 3594 the escape sequences were flushed, but if data was mixed in with 3595 the same write, some were not handled properly (report by 3596 Nicolas George). 3597 3598 <li>modify to allow turning UTF-8 mode on/off via escape sequence even 3599 if <code>-wc</code> option was not given at startup (patch by Peter 3600 Berg Larsen). 3601 3602 <li>amend fix for XFree86 Bugzilla #981, adjusting for savedlines value 3603 (report by Tim Adye). 3604 3605 <li>fix a typo in computing relative font size (Jess Thrysoee). 3606</ul> 3607 3608<H1><A NAME="xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A></H1> 3609<ul> 3610 <li>improve configure-script checks for FreeType and related libraries, 3611 using <code>xft-config</code> or <code>freetype-config</code> 3612 scripts when available. 3613 3614 <li>fix configure-script check for <code>SYSV</code> definition by 3615 ensuring whether <code>sys_errlist[]</code> is declared, and by 3616 modifying the test program to include <code>X11/Intrinsic.h</code> 3617 to check that <code>wchar_t</code> is declared consistently (report 3618 by H Merijn Brand). 3619</ul> 3620 3621<H1><A NAME="xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A></H1> 3622<ul> 3623 <li>correct logic for configurations that may attempt to open both 3624 old/new-style pseudoterminals. In this case, the old-style are 3625 preferred. Logic was broken in <a href="#xterm_145">patch #145</a> 3626 (XFree86 Bugzilla #997, report/patch by Kean Johnston). 3627 3628 <li>modify handling of <code>eightBitInput</code> resource in UTF-8 3629 mode to translate the value into UTF-8. Otherwise an illegal 3630 UTF-8 code is sent to the application (report by Bram Moolenaar). 3631 3632 <li>modify <code>uxterm</code> script to interpret help and version 3633 options so xterm does not always create a window when the user 3634 requests this information (Debian #223926). 3635 3636 <li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla #981). 3637 3638 <li>modify DECSCL to perform a hard reset (RIS) as per DEC manuals. 3639 Extended DECSCL to accept parameters for vt4XX and vt5xx terminals. 3640 3641 <li>correct logic for ANSI conformance level escape sequences, which 3642 were confused with DEC conformance level escape sequences. 3643 3644 <li>correct state for vt52 shift-in/shift-out, which was not reset 3645 properly after <a href="#xterm_171">patch #171</a>. 3646 3647 <li>correct handling of graphics characters for vt52 mode, which did 3648 not display line-drawing characters after G1 fix from 3649 <a href="#xterm_182">patch #182</a>. 3650 3651 <li>fixes for configure script to work with current Cygwin headers 3652 and libraries. 3653 3654 <li>modify <code>Imakefile</code> to put the current directory at the 3655 beginning of the include searchpath (patch by David Dawes). 3656</ul> 3657 3658<H1><A NAME="xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A></H1> 3659<ul> 3660 <li>correct logic for <code>metaSendsEscape</code> resource to allow 3661 for the meta-right key to be tested. Improve check for meta/alt 3662 modifiers by dropping the assumption that a keysym is associated 3663 with only one modifier, and by ignoring NoSymbol entries in the 3664 xmodmap data (XFree86 Bugzilla #924, patch by David Dawes). 3665 3666 <li>correct wrapping logic for line-drawing characters written in 3667 non-UTF-8 mode of xterm build for wide-characters (XFree86 Bugzilla 3668 #918, report/patch by Jürgen Keil). 3669 3670 <li>improve manpage description of resources, in particular the 3671 <code>utf8Fonts</code> class (XFree86 Bugzilla #905). 3672 3673 <li>add definitions to compile with glibc-based GNU/Hurd, GNU/KFreeBSD 3674 and GNU/KNetBSD (XFree86 Bugzilla #893). 3675 3676 <li>compiler-warning fixes (patch by Christian Biere). 3677 3678 <li>add README.i18n (Tomohiro Kubota). 3679 3680 <li>correct initialization of G1 character set mapping, which used 3681 line-drawing set as a result of confusion between "DEC Supplemental 3682 Graphic" and "DEC Special Graphic" character sets 3683 (see <a href="#xterm_34">patch #34</a> regarding DECSTR). 3684 3685 <li>correct ifdef in main.c for variable utret (patch by 3686 Bernhard Rosenkraenzer). 3687 3688 <li>document in xterm's manpage how to use XFree86 ":unscaled" keyword 3689 to suppress scaling of bold fonts. 3690 3691 <li>when deriving bold fontname from normal fontname, use the normal 3692 font's average width to avoid for example selecting 7x13bold 3693 from an 8x13 normal font (Debian #107769). 3694</ul> 3695 3696<H1><A NAME="xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A></H1> 3697<ul> 3698 <li>implement <code>boldMode</code> for wide-character logic in 3699 <code>drawXtermText()</code> (report by Michael Schroeder). 3700 3701 <li>modify <code>UXTerm.ad</code> resource file to include 3702 "XTerm-color" rather than "XTerm", in case the latter file contains 3703 no color resource definitions, e.g., after <a 3704 href="#xterm_180">patch #180</a>. 3705 3706 <li>add action <code>load-vt-fonts()</code> and configure option 3707 <code>--enable-load-vt-fonts</code> which allows users to define 3708 additional sets of VT-fonts which can be loaded at runtime. 3709 3710 <li>add logic to wide-character support which attempts to load fonts 3711 specified by <code>utf8Fonts</code> subresources at startup. The 3712 subresources have the same names as the fonts which they replace, 3713 e.g., <code>font</code>, <code>font1</code>, etc., so that the 3714 ISO-10646-1 fonts can be specified in the <code>XTerm</code> 3715 app-defaults file (adapted from patch by Tomohiro Kubota). 3716 3717 <li>improve Set Font escape string handling by making the relative 3718 settings apply to the size of the font, as in shift keypad 3719 plus/minus rather than the menu index. 3720 3721 <li>simplify parameter passing for the <code>set-vt-font</code> action 3722 and related code. 3723 3724 <li>cleanup some include-ordering, moving some recently-added hardcoded 3725 stuff into xterm.h where it will not interfere with the configure 3726 script. 3727 3728 <li>modify <code>xtermAddInput()</code> (see note on augmentation in <a 3729 href="#xterm_158">patch #158</a>) to use the complete set of 3730 default keyboard translations so that one can use shifted pageup, 3731 wheel mouse, etc., while the mouse pointer is over the scrollbar. 3732 (Debian #178812). 3733 3734 <li>make save/restore mode controls apply to show/blink cursor states. 3735 3736 <li>add escape sequence to start/stop blinking cursor, which allows 3737 implementing <code>cvvis</code> terminfo capability (request by 3738 Nate Bargmann). 3739 3740 <li>add <code>indp</code> and <code>rin</code> to terminfo entry. 3741 3742 <li>fix an out-of-bounds array reference in ScrnRefresh() for wide 3743 characters (report by Dan Harnett, patch by Todd Miller). 3744 This bug dates from <a href="#xterm_141">patch #141</a>. 3745</ul> 3746 3747<H1><A NAME="xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A></H1> 3748<ul> 3749 <li>several fixes for rendering using Xft via option <code>-fa</code>: 3750 <ul> 3751 <li>translate Unicode values, i.e,. from UTF-8 output to xterm, for 3752 line-drawing to xterm's internal code, etc., since TrueType fonts 3753 generally do not have either set of line-drawing glyphs. xterm 3754 can draw these directly (report by Abigail Brady). 3755 <li>pass 16-bit values rather than 8-bit values to 3756 xtermXftDrawString() to allow for wide-characters. 3757 <li>remove spurious check for <code>colorBDMode</code> resource in 3758 logic that does bold fonts. 3759 <li>implement underlining. 3760 </ul> 3761 3762 <li>patches by Ilya Zakharevich: 3763 <ul> 3764 <li>improve drawXtermText() by making the recursive calls 3765 communicate through arguments, and not through saving/restoring 3766 global variables. 3767 3768 <li>make double-width characters work with <code>-u8</code> option. 3769 3770 <li>modify lookup of double-sized fonts by checking for a match 3771 ignoring x/y resolution if the first check fails. 3772 </ul> 3773 3774 <li>make height of TrueType fonts match ascent+descent (patch by 3775 Keith Packard). 3776 3777 <li>correct configure-script check for imake $CFLAGS, which did not 3778 check properly if imake was not available. 3779 3780 <li>correct install rule in Makefile.in for <code>uxterm</code>, which 3781 was attempting to strip the script (newsgroup posting by Fernan 3782 Aguero). 3783 3784 <li>correct AF/AB strings in termcap for xterm-256color and 3785 xterm-88color entries (report by Josh Howard). 3786 3787 <li>update wcwidth.c to incorporate changes from Markus Kuhn's 3788 2003-05-20 (Unicode 4.0) version of that file. 3789 3790 <li>modify <code>scroll-back</code> and <code>scroll-forw</code> 3791 actions to accept an adjustment value, e.g., 3792 <pre> 3793 <code>scroll-back(1, page-2)</code></pre> 3794 to scroll back by 2 lines less than a page (patch by Greg 3795 Klanderman). 3796 3797 <li>use color resource setting from Debian package for xterm VT100 widget, 3798 since the choice of blues provides better contrast. 3799 3800 <li>remove color resources from <code>XTerm.ad</code>, leaving them 3801 only in <code>XTerm-col.ad</code> (prompted by Debian package for 3802 xterm). 3803 3804 <li>correct configure script option --enable-pty-handshake (report by 3805 Paul Gilmartin). 3806 3807 <li>add <code>visualBellDelay</code> resource to modify the length of 3808 time used for visual bell, for very slow displays or very fast 3809 computers (reports by Ingo van Lil and Doug Toppin). 3810 3811 <li>correct logic for initializing dynamic highlight color (patch by 3812 Jess Thrysoee). 3813 3814 <li>add a check for non-zero size in call to <code>XCopyArea()</code> 3815 to accommodate a Solaris bug. 3816 3817 <li>correct typo in example for character classes in xterm manpage 3818 (Debian #198910). 3819 3820 <li>link xterm with bind_on_load option on Darwin to work around a 3821 deadlock in the dynamic loader when a signal is received while 3822 the dynamic loader is looking up symbols (patches by Rob Braun, 3823 Torrey Lyons). 3824 3825 <li>modify configure script to avoid using "head -1". 3826 3827 <li>update config.guess, config.sub 3828 3829 <li>modify ifdef's to work around inclusion of types FcChar32 and 3830 XftCharSpec with FreeType 2.0 (see <a href="#xterm_175">patch #175</a>). 3831 3832 <li>modify the predictable version of the generated logfile name (see 3833 <a href="#xterm_171">patch #171</a>) to append the process-id rather 3834 than a random value. 3835 3836 <li>resync with XFree86 CVS 3837 <ul> 3838 <li>Enable SCO function keys in xterm 3839 <li>Make Delete key send DEL by default on SCO in xterm 3840 </ul> 3841</ul> 3842 3843<H1><A NAME="xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A></H1> 3844<ul> 3845 <li>modify ifdef's for WTMPX_FILE to allow building on cygwin again. 3846 3847 <li>change the default of pty-handshaking configure option (and related 3848 default for imake) to assume this feature is needed. 3849 3850 <li>add ifdef's so configure option for XawPlus library works (patch 3851 by Pavel Roskin). 3852 3853 <li>add <code>$(MAIN_DEFINES)</code> to the variables checked by the 3854 configure script that may contain information set by imake. This 3855 allows xterm to build/run properly using the configure script on 3856 IRIX64. 3857 3858 <li>add configure check for ".exe" suffix on cygwin. 3859</ul> 3860 3861<H1><A NAME="xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A></H1> 3862<ul> 3863 <li>modify default for configure <code>--enable-pty-handshake</code> 3864 option to enable it for Solaris (report by Nelson Beebe). 3865 3866 <li>modify <code>in_put()</code> function to call 3867 <code>PreeditPosition()</code> only when the cursor's position has 3868 changed. This addresses report by Stefan Baums of high CPU usage 3869 while xterm with chinput are running in the background (patch by 3870 Yong Li). 3871 3872 <li>improved explanation of <code>-ls</code> conflict with 3873 <code>-e</code> option in xterm manpage (adapted from comments by 3874 Henning Makholm). 3875 3876 <li>correct comment in terminfo file regarding modifier used for 3877 <code>kDC</code> (Debian #189764, report by Henning Makholm). 3878 3879 <li>correct/extend some of the keypad description in ctlseqs.ms 3880 (report by Henning Makholm). 3881 3882 <li>correct keypad-mapping table in input.c so <code>XK_KP_Equal</code> 3883 works (report by Henning Makholm). 3884 3885 <li>modified to work with CJK double-width (bi-width/monospace) fonts. 3886 They're similar to Roman Czbora and David Starner's gnuunifonts in 3887 that Latin letters and numbers have all the same width which is 3888 exactly the half of the width of East Asian characters. (patch by 3889 Jungshik Shin <jshin@mailaps.org>). 3890 3891 <li>add configure option <code>--enable-broken-osc</code> and resource 3892 <code>brokenLinuxOSC</code> to accommodate scripts which do not 3893 distinguish between running in the Linux console and running in X. 3894 Linux console recognizes malformed control strings which start 3895 with an <code>OSC</code>, but are fixed-length, with no terminator. 3896 3897 <li>add configure option <code>--enable-broken-st</code> and resource 3898 <code>brokenStringTerm</code> to allow 3899 user to revert one part of the parsing table corrections from 3900 <a href="#xterm_171">patch #171</a>. (reports by 3901 Matthias Scheler and 3902 Kirill Ponomarew indicate that someone's 3903 network firmware sends an <code><escape>X</code>). 3904 3905 <li>modify configure <code>--disable-imake</code> to provide values 3906 for <code>OSMAJORVERSION</code>, <code>OSMINORVERSION</code>, 3907 <code>FUNCPROTO</code> and <code>NARROWPROTO</code> (report by 3908 Heiko Schlichting). 3909 3910 <li>correct <code>vttests/16colors.sh</code>, which omitted the 3911 <code>$SUF</code> variable in output strings (patch by Paul 3912 Gilmartin). 3913 3914 <li>modify shell scripts in <code>vttests</code> directory to attempt 3915 to use named signals in the <code>trap</code> statement, making 3916 this portable to OS/390 (report by Paul Gilmartin). Tested on 3917 SunOS 4.1.4, which implements only numbers. 3918</ul> 3919 3920<H1><A NAME="xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A></H1> 3921<ul> 3922 <li>fix definition of <code>USE_HANDSHAKE</code>, must be numeric 3923 (reported by Jens Schleusener). 3924</ul> 3925 3926<H1><A NAME="xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A></H1> 3927<ul> 3928 <li>add configure option <code>--enable-pty-handshake</code> to allow 3929 one to compile-in support for the pty handshaking logic, and 3930 resource <code>ptyHandshake</code> to enable or disable it 3931 (suggested by Ian Collier). 3932 3933 <li>restore <code>USE_HANDSHAKE</code> ifdef removed in 3934 <a href="#xterm_159">patch #159</a> 3935 to address Debian #39964. 3936 3937 <li>move ifdef's for ttysize/winsize into xterm_io.h 3938 3939 <li>simplify loop on <code>tgetent</code>, check if the successive 3940 entries in the lookup table are the same. That makes xterm do 3941 one less lookup if there is no "xterm" entry in the termcap file 3942 (report by Derek Martin). 3943 3944 <li>correct manpage discussion of <code>$TERM</code> and 3945 <code>$TERMCAP</code> variables, which omitted the Tektronix 3946 emulation and a note of the final "dumb" fallback. 3947 3948 <li>broaden ifdef for <code>XRegisterIMInstantiateCallback()</code> 3949 from <a href="#xterm_175">patch #175</a> (XIM fix) to exclude 3950 non-XFree86 (report by Nelson Beebe indicates this breaks for 3951 Solaris, IRIX and OSF/1). 3952 3953 <li>correct resource-size for <code>iconFont</code> (this was added 3954 by X11R6.3). 3955 3956 <li>improve configure check for XKB bell extension, to work around 3957 inconsistent implementation of this feature (reports by Nelson 3958 Beebe, Kriston Rehberg and David Ellement). 3959 3960 <li>modify configure-check for <code>tty</code> group to be less 3961 strict in batch mode (report by Nelson Beebe). 3962 3963 <li>modify to allow building with g++, to use its compiler warnings 3964 (suggested by Nelson Beebe). 3965 3966 <li>modify <code>dec2ucs[]</code> table to reflect newer codes 3967 available for scanlines 1, 3, 7, 9 (report by Michael Schroeder). 3968 3969 <li>add configure option for XawPlus library. 3970</ul> 3971 3972<H1><A NAME="xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A></H1> 3973<ul> 3974 <li>fix a SIGSEGV which could occur if xterm is connecting to XIM 3975 server, and the XIM server is destroyed (patch by Nam SungHyun). 3976 3977 <li>modify to use built-in line-drawing characters for Xft fonts 3978 (patch by Andrew Tipton). 3979 3980 <li>make menu reflect the state of the <code>tekInhibit</code> 3981 resource. 3982 3983 <li>make <code>signalInhibit</code> resource work, i.e., disable the 3984 menu entries that would send signals to, or exit xterm. This was 3985 probably broken in X11R5 when logging was disabled (report by Sven 3986 Mascheck). 3987 3988 <li>changed classes of <code>colorBDMode</code> and similar 3989 resources that override colors when a video attribute is 3990 set to <code>ColorAttrMode</code>, to make them distinct 3991 from <code>ColorMode</code>. This avoids an unexpected 3992 rendering of reverse video, for example (report by Paul Fox). 3993 3994 <li>changed class of <code>veryBoldColors</code> to 3995 <code>VeryBoldColors</code>, since 3996 <code>ColorMode</code> is associated with boolean resources. 3997 3998 <li>add option <code>-k8</code> and resource 3999 <code>allowC1Printable</code> to allow users of non-VTxxx 4000 character sets such as KOI-8 to treat the C1 control area 4001 (character codes 128-159) as printable rather than control 4002 characters. 4003 4004 <li>add a null-pointer check for return-value of <code>ptsname()</code> 4005 in HPUX-specific code (report by David Ellement). 4006 4007 <li>revise the ifdef's used for <code>XKB</code> bell support. The 4008 code was using a nonstandard call <code>XkbStdBell()</code>. 4009 Changed to use <code>XkbBell()</code> (based on patch by 4010 <derek@signalmarketing.com>). 4011 4012 <li>add a null-pointer check in <code>xtermLoadFont()</code> in case 4013 there is no wide-bold font (Nam SungHyun). 4014 4015 <li>change <code>Makefile.in</code> to use autoconf's 4016 <code>bindir</code>, <code>libdir</code> and <code>mandir</code> 4017 variables (report by Nam SungHyun). 4018 4019 <li>add <code>le</code> to termcap <code>xterm-basic</code> entry. 4020 Though missing from older termcaps for xterm, some applications 4021 check for it (report by Matthias Buelow). 4022 4023 <li>modify <code>uxterm</code> script to strip modifiers such as "@euro" 4024 from the locale setting before adding ".UTF-8" (Debian #179929). 4025 4026 <li>modify the remaining places where tek4014 emulation uses 4027 <code>XDefineCursor()</code>, to make it work as originally 4028 implemented, e.g., when switching back to alpha mode. 4029 Added test-screen in vttest to test this feature properly. 4030</ul> 4031 4032<H1><A NAME="xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A></H1> 4033<ul> 4034 <li>work-around for XFree86 bug which made <code>XDefineCursor()</code> 4035 on a shell-window no longer work. The tek4014 emulation used this. 4036 Use the next lower window (report by Karl Rudolf Bauchspiess). 4037 4038 <li>add a resource setting <code>allowWindowOps</code> to control 4039 whether the extended window operations should be allowed, e.g., 4040 resize, iconify, report window attributes. This is to accommodate 4041 people who are not capable of using a pager to view log-files. 4042</ul> 4043 4044<H1><A NAME="xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A></H1> 4045<ul> 4046 <li>reset mouse mode to normal on a full reset. This does not apply 4047 to mouse hilite tracking mode, of course (see ctlseqs.ms). 4048 4049 <li>add a time-delay at the point where mouse hilite tracking mode 4050 choses to not handle X events, to avoid runaway CPU usage 4051 (report by D Hugh Redelmeier). 4052 4053 <li>check for illegal character in DECUDK string, quit if detected. 4054</ul> 4055 4056<H1><A NAME="xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A></H1> 4057<ul> 4058 <li>fixes to make repainting of 256-color example work properly 4059 (reports by Abigail Brady and Scott A Crosby). 4060 <ul> 4061 <li>set flag in <code>AllocateAnsiColor()</code> to ensure the color 4062 is allocated once only. 4063 <li>fix check in <code>ScrnRefresh</code>, which was comparing 4064 background colors only if the ANSI foreground colors also were set. 4065 </ul> 4066 4067 <li>merge <code>Error()</code> calls and some <code>exit()</code> calls 4068 into <code>SysError()</code>, and change that to add the brief 4069 explanation for each error code which is provided in the manpage. 4070 Change a few <code>SysError()</code>, calls to avoid using code 1, to 4071 avoid confusion with exit status from places that do not use 4072 <code>SysError()</code>. 4073 4074 <li>simplify logic used to open a debug logfile as the standard error. 4075 4076 <li>modify the <code>-e</code> option so that if it fails, xterm will 4077 check if only one argument follows, e.g., it was quoted, and then 4078 retry using <code>sh -c</code>. 4079 4080 <li>modify parsing of DECUDK string parameter to allow a comma between 4081 pairs of hexadecimal digits (Ray Neuman <raymond@one.com.au> 4082 reports that "real" terminals accept this; perhaps they simply 4083 ignore unexpected characters). 4084 4085 <li>fix a few problems with the <code>$TERMCAP</code> string generated 4086 by <code>resize</code>: 4087 <ul> 4088 <li>for Bourne shell, add an <code>export</code> command. 4089 This was missing as far back as X11R5. 4090 <li>escape exclamation marks, used in xterm's reset string. 4091 <li>translate literal <code>\177\</code> to "^?". 4092 </ul> 4093 4094 <li>improve configure check for <code>tgetent()</code> to work when 4095 <code>$TERMCAP</code> has been set to a specific entry. 4096 4097 <li>modify <code>minstall.sh</code> to use "%" rather than "@", 4098 to avoid problems with AFS (report by Zdenek Sekera). 4099 4100 <li>list fatal error codes from <code>error.h</code> in the manpage, 4101 remove unused codes in <code>error.h</code>. 4102 4103 <li>use more explicit wording for manpage list of color resources, 4104 since at least one user confused the generic names such as "black" 4105 with the names in rgb.txt (the latter are now used). 4106 4107 <li>minor fix to description of 1003 mouse mode in ctlseqs.ms 4108 (Larry Riedel). 4109</ul> 4110 4111<H1><A NAME="xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A></H1> 4112<ul> 4113 <li>modify parser tables to improve detection of malformed control 4114 sequences, making xterm behave more like a real DEC terminal 4115 (patch by Paul Williams). 4116 4117 <li>update comment in <code>input.c</code> to document 4118 <code>Meta</code> as a modifier for escape sequences (patch by D 4119 Roland Walker). 4120 4121 <li>add ifdef'd code for logging option which adds the hostname and a 4122 timestamp to the generated logfile name. The ifdef's are setup 4123 with the configure script (patch by Nelson Beebe). 4124 4125 <li>remove <code>xevents()</code> call from the end of 4126 <code>BlinkCursor()</code>, to fix an occasional problem 4127 which caused xterm to pause until a key was pressed. 4128 The reason for this was that there was no check to ensure that 4129 there really were events for <code>xevents()</code> to process. 4130 (patch by Semen A Ustimenko <semenu@FreeBSD.org>). 4131 4132 <li>remove unused mode-params from <code>open()</code> calls that do 4133 not create a file. 4134 4135 <li>modify configure script to put new items first on 4136 <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid conflict 4137 with environment's <em>-I</em> and <em>-D</em> options. 4138 4139 <li>update config.guess, config.sub 4140 4141 <li>resync with XFree86 CVS 4142 <ul> 4143 <li>fix va_args glitches for xterm/libfontconfig: 0 == (void*)0 4144 isn't true for all platforms (Egbert Eich). 4145 <li>initialise ProgramName in xterm's main before referencing it 4146 (#5473, Peter Valchev). 4147 <li>some cleanup of Imakefile ifdef's (Marc La France). 4148 </ul> 4149</ul> 4150 4151<H1><A NAME="xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A></H1> 4152<ul> 4153 <li>correct an off-by-one allocating data for sorted help message. 4154 4155 <li>modify configure script to check for Xpm library, on which XFree86 4156 Xaw library depends. 4157 4158 <li>update config.guess, config.sub 4159</ul> 4160 4161<H1><A NAME="xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A></H1> 4162<ul> 4163 <li>modify wording of some options in help message to make them use 4164 <code>-/+</code> consistently with respect to "on/off" or "off/on". 4165 4166 <li>sort options list which is displayed in help- and syntax-messages 4167 at runtime to simplify maintenance. 4168 4169 <li>remove support for Amoeba and Minix (Juliusz Chroboczek noted it 4170 was removed from XFree86 server; there have been no users since 4171 1996). 4172 4173 <li>add configure script option <code>--disable-session-mgt</code> 4174 to control whether the session management code should be compiled-in 4175 (request by H Merijn Brand). 4176 4177 <li>ifdef'd the session-management changes with 4178 <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which predates 4179 the related definitions. 4180 4181 <li>fix <code>decode_keyvalue()</code>, which did not properly parse 4182 multiple settings as needed for the <code>ttyModes</code> resource, 4183 since it did not skip over the parsed data. 4184 4185 <li>fix an option-parsing conflict between <code>-class</code> and 4186 <code>-cjk_width</code> (Nam SungHyun) 4187 4188 <li>add a missing null in <code>XtVaSetValues()</code> call used in 4189 <code>Cleanup()</code> (Nam SungHyun) 4190</ul> 4191 4192<H1><A NAME="xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A></H1> 4193<ul> 4194 <li>improve data reported for control sequence that requests window 4195 position by taking into account the window decorations, e.g., 4196 border and title (patch by Jess Thrysoee <jess@thrysoee.dk>). 4197 4198 <li>add <code>-cjk_width</code> and corresponding resource 4199 <code>cjkWidth</code> (patch by Jungshik Shin 4200 <jshin@mailaps.org>). 4201 4202 <li>add <code>-into</code> option, for embedding xterm in a Tcl/Tk 4203 application (patch by George Peter Staplin <georgeps@xmission.com>). 4204 4205 <li>add simple session management (XSM) client capabilities to xterm. 4206 So a session manager such as, e.g., xsm, should be able to respawn or 4207 kill xterms without the help of an SM proxy (like smproxy), which is 4208 a hack and almost always buggy (patch by David Madore). 4209 4210 <li>fix conflict between ifdef's for <code>OPT_DEC_LOCATOR</code> and 4211 <code>OPT_READLINE</code> in button.c (reported by Ilya Zakharevich). 4212 4213 <li>fix for inconsistent use of <code>struct utmp</code> versus 4214 <code>struct utmpx</code> introduced in <a href="#xterm_167">patch #167</a> 4215 (patches by Paul Gilmartin, Marc La France). 4216 4217 <li>modify logic for <code>metaSendsEscape</code> to allow it to work 4218 in a setup where the Meta-key is not recognized as a modifier by 4219 the key-translations logic (discussion of eightBitInput with H.J.Lu). 4220 Note however that Vincent Lefevre reported this in January). 4221 4222 <li>use null pointer values consistently, rather than literal "0", for 4223 ending variable-length argument lists, e.g., for 4224 <code>execlp()</code> (based on patch by Matthieu Herrb). 4225 4226 <li>correct logic of <code>ChangeAnsiColorRequest()</code>, which would 4227 do a screen repaint after replying to a request for information. 4228 4229 <li>improve scripts in vttests to work with systems whose shells support 4230 <code>echo -n</code> and have, as does Debian, an unrelated 4231 <code>print</code> utility. 4232 4233 <li>add vttests/acolors.sh to demonstrate OSC 4, which queries or 4234 sets ANSI colors. 4235 4236 <li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich). 4237 4238 <li>typos in xterm manpage (Jens Schweikhardt) 4239 4240 <li>remove a redundant GCC_UNUSED from InitPopup() (Nam SungHyun) 4241</ul> 4242 4243<H1><A NAME="xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A></H1> 4244<ul> 4245 <li>correct ifdef's for <code>USE_TERMCAP</code> to match cygwin 4246 configuration. 4247 4248 <li>fix several places in ctlseqs.ms which had no boxes around the 4249 literal text (report by Ilya Zakharevich). 4250 4251 <li>extend mouse support for readline, 4252 ifdef'd with OPT_READLINE 4253 (integrated patch from Ilya Zakharevich). 4254 4255 <li>modify terminfo description to match default for 4256 <code>modifyCursorKeys</code> resource. 4257 4258 <li>add <code>modifyCursorKeys</code> resource to control how the 4259 shift- and similar modifiers are used to make a cursor escape 4260 sequence. The default makes a modified escape sequence always start 4261 with CSI and puts the modifier as the second parameter, to avoid 4262 confusing applications that would interpret the first parameter as a 4263 repeat count. The original behavior can be obtained by setting the 4264 resource to 0 (newsgroup discussion with Stephen J Turnbull, 4265 Jeffrey Altman). 4266 4267 <li>correct missing initializations for <code>appdefaultCursor</code> 4268 and <code>appdefaultKeypad</code> resources. 4269 4270 <li>add configure option <code>--enable-luit</code> and ifdef'd the 4271 luit-related code with OPT_LUIT_PROG. 4272 4273 <li>modify xterm to invoke luit (integrated patch by Tomohiro Kubota) 4274 4275 <li>update wcwidth.c to match Markus Kuhn's 2002-05-18 version. 4276 4277 <li>correct limit-checking in <code>ComputeSelect()</code> to handle 4278 selections that extend off the visible area; rather 4279 than modify the parameters to <code>TrackText()</code>, use 4280 <code>ScrollSelection()</code> to update the highlighting limits. 4281 (reported by Yegappan Lakshmanan and Nelson Beebe, 4282 patch by Alexander V Lukyanov). 4283 4284 <li>correct manpage description of <code>tiXtraScroll</code> resource 4285 (reported by Tony Finch). 4286 4287 <li>changes from OpenBSD: 4288 <ul> 4289 <li>Make xterm setgid utmp to be able to update utmp even 4290 with root privileges revoked. 4291 <li>If not updating utmp, revoke group privileges totally too. 4292 </ul> 4293 4294 <li>changes from NetBSD: 4295 <ul> 4296 <li>Check that the return value from ttyslot() is greater than 0 4297 before writing the utmp file. 4298 Fixes w's "w: Stale utmp entry: <user> <tty> <pty>" errors. 4299 <li>Use openpty() to deal with new pty naming scheme. 4300 </ul> 4301 4302 <li>add <code>print-redir</code> action and menu entry to allow user to 4303 switch terminal in/out of printer controller mode. It appears from 4304 the manual that a real vt220 would not switch back to normal mode, so 4305 another mechanism is used (addresses Debian #37517). 4306 4307 <li>check if <code>printerCommand</code> resource string is empty, use 4308 this to allow user to disable printer function. 4309 4310 <li>trim trailing blanks from resource strings. 4311 4312 <li>check return value from <code>ptsname()</code>, which may return 4313 null for example if someone has changed the permissions of /dev/pts 4314 to zero (Debian #121899). 4315 4316 <li>modify OS/2 version to use <code>__UNIXOS2__</code> definition 4317 rather than <code>__EMX__</code>, related cleanup (patch by Holger 4318 Veit). 4319 4320 <li>used modified indent 2.0 4321 (patch <a href="ftp://invisible-island.net/gnu-patches/">20020428</a>) 4322 to reformat most of the C source files, to simplify maintenance. 4323 4324 <li>fix a couple of places where there were leading tabs on 4325 symbol-definition lines in Imakefile (Marc La France from report by 4326 Tony Finch) 4327 4328 <li>add imake variable (TraceXTerm) to allow building debug version 4329 (Egbert Eich). 4330</ul> 4331 4332<H1><A NAME="xterm_166">Patch #166 - 2002/03/25 - XFree86 4.2.0</A></H1> 4333<ul> 4334 <li>correct a bug in selection: double clicking on a word which 4335 was partly scrolled off the screen may select that text (report 4336 by Vincent Lefevre <vincent@vinc17.org>). 4337 4338 <li>implement <code>veryBoldColors</code> resource to control whether 4339 the corresponding video attribute such as <code>bold</code> is 4340 displayed when using <code>colorBDMode</code>, etc. (request by Josh 4341 Howard <jrh@vicor-nb.com>). 4342 4343 <li>define escape sequences for function keys F21-F35 (patch by Steve Wall). 4344 4345 <li>change the colors for the 256-color model, making them less skewed 4346 toward black (patch by Steve Wall). 4347 4348 <li>add <code>vt100Graphics</code> resource 4349 (see <a href="#xterm_115">patch #115</a>, 4350 based on discussion with Glenn Maynard). 4351 4352 <li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid potential 4353 incompatibilities between these flavors of Athena widgets. 4354 4355 <li>add configure check for XFree86 4.x Xaw library, whose geometry 4356 management is broken, to avoid trying to use it for toolbar 4357 configuration. 4358 4359 <li>updates to configure script from vile and lynx to allow 4360 configure.in to be compiled with autoconf 2.5x 4361 4362 <li>add a check for null pointer return by <code>ptsname()</code> 4363 (newsgroup posting from Mike Silva <mikesilva@lucent.com>). 4364 4365 <li>fill in a few details needed to allow UTF-8 mode to switch on/off 4366 after startup. This requires that <code>wideChars</code> resource be 4367 set. (based on comments in 4 Aug 2001 by Alexey Marinichev 4368 <lyosha@lyosha.2y.net>). 4369 4370 <li>remove duplicate install rules that make directories, e.g., so installing 4371 manpage will not create app-defaults directory. 4372 4373 <li>add comment in in <code>do_osc()</code>, reserving cases 30 and 31 4374 for for Konsole (request by Stephan Binner 4375 <Stephan.Binner@gmx.de>). 4376 4377 <li>fixes for ctlseqs.ms and xterm.man 4378 (patch by Werner Lemberg <wl@gnu.org>). 4379 4380 <li>add check for monochrome display, disabling colorMode in that 4381 case (fixes Debian #134130). 4382 4383 <li>resync with XFree86 CVS 4384 <ul> 4385 <li>Fix some xterm build warnings on *BSD (patch by David Dawes). 4386 <li>Only use SA_RESTART in xterm when it's available (patch by Frank Liu). 4387 <li>Fix incorrect code in signal handlers in most of the clients, 4388 xterm and xdm not done yet (patch by Matthieu Herrb). 4389 </ul> 4390</ul> 4391 4392<H1><A NAME="xterm_165">Patch #165 - 2002/01/05 - XFree86 4.1.0</A></H1> 4393<ul> 4394 <li>modify <code>uxterm</code> script to strip encoding part from 4395 environment variable before adding ".UTF-8" (based on Debian 4396 #125947, but using a more portable solution). 4397 4398 <li>add an assignment statement in VTInitialize() to make 4399 <code>awaitInput</code> resource work. 4400 4401 <li>use new macros init_Bres(), etc., in VTInitialize() to add trace of 4402 the initialization of resources. 4403 4404 <li>modify checks for $LC_ALL, related environment variables to ensure 4405 the resulting strings are nonempty (report by Markus Kuhn). 4406 4407 <li>add an ifdef in charproc.c for num_ptrs variable in case all 4408 configure options are disabled. 4409 4410 <li>modify definition of getXtermBackground() to avoid negative array 4411 index warning on Tru64 (report by Jeremie Petit). 4412 4413 <li>improve fix from patch #165 (still Debian #117184, report by Matt 4414 Zimmerman <mdz@debian.org>) 4415 4416 <li>correct install rule for uxterm in Makefile.in, to handle the 4417 case where building in a different directory than xterm's source 4418 (patch by Paul Gilmartin). 4419 4420 <li>documented ANSI.SYS-style cursor save/restore escape sequences 4421 in ctlseqs.ms, which are in xterm since X11R5. 4422 4423 <li>correct two entries in the default charClass table, which did not 4424 follow the manpage comment about the character number corresponding 4425 to the class (patch by Marc Bevand <bevand_m@epita.fr>). 4426 4427 <li>fix a couple of typos in comments in the app-defaults files 4428 (David Krause <xfree86@davidkrause.com>). 4429 4430 <li>resync with XFree86 CVS 4431 <ul> 4432 <li>update language of copyrights in some files to reflect the fact 4433 that they were reassigned from X Consortium to The Open Group in 4434 1998. Note that this xterm source is derived from the 1996 4435 version from X Consortium, does not incorporate changes made by X 4436 Consortium or The Open Group after that date, hence we do not add 4437 The Open Group's 1998 copyright date to related files. 4438 4439 <li>save/restore <code>errno</code> in signal catcher (patch by Matthieu Herrb). 4440 4441 <li>modify UXTerm.ad's font5 resource so that xterm can display double 4442 width characters using a font distributed with XFree86 (Tomohiro Kubota). 4443 </ul> 4444</ul> 4445 4446<H1><A NAME="xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A></H1> 4447<ul> 4448 <li>correct a case where <code>ptyInitialErase</code> and 4449 <code>backarrowKeyIsErase</code> resources combine to set 4450 <code>DECBKM</code> mode, but a <code>reset</code> command would not 4451 reset xterm to that state, making the erase character revert to ^H 4452 (Debian #117184) 4453</ul> 4454 4455<H1><A NAME="xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A></H1> 4456<ul> 4457 <li>correct ifdef's for <code>__QNX__</code> and 4458 <code>USE_SYSV_PGRP</code> in main.c call to <code>tcsetpgrp</code>, 4459 which broke bash behavior around <a href="#xterm_140">patch #140</a> 4460 (report/patch by Frank Liu <fliu@mail.vipstage.com>). 4461 4462 <li>modify trace.c to fix missing definition of GCC_UNUSED for 4463 compilers other than gcc when configured for trace code (report/patch 4464 by Paul Gilmartin). 4465 4466 <li>change format in TraceOptions() to use long rather than int, since 4467 the latter could lose precision on 64-bit machines (report/patch by 4468 Nelson Beebe). 4469 4470 <li>modify xterm manual page and minstall.sh to allow imake rules 4471 to define location of app-defaults directory (Debian #87611). 4472 4473 <li>review/update list of conflicting preprocesor symbols to remove 4474 from $CPPFLAGS at the end of the configure script. In particular, 4475 this allows one to configure xterm without the utempter library on 4476 Redhat 7.1 (report/patch by Adam Sulmicki). 4477</ul> 4478 4479<H1><A NAME="xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A></H1> 4480<ul> 4481 <li>correct logic that processes <code>-class</code> option, so that 4482 a following <code>-e</code> option is handled (Debian #116297). 4483 4484 <li>improve options-decoding to allow <code>-version</code> and 4485 <code>-help</code> options to be combined (Debian #110226). 4486 4487 <li>add a 10 millisecond delay in event loop when processing 4488 <code>-hold</code> option, to avoid using too much CPU time 4489 (Debian #116213). 4490 4491 <li>prefix final program execution in <code>uxterm</code> with "exec" 4492 to avoid a useless shell hanging around (Christian Weisgerber). 4493</ul> 4494 4495<H1><A NAME="xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A></H1> 4496<ul> 4497 <li>modify logic that resets keypad application mode to avoid doing 4498 this if there is no modifier associated with the Num_Lock keysym 4499 (report by John E Davis <davis@space.mit.edu> and Alan W Irwin 4500 <irwin@beluga.phys.uvic.ca>). 4501 4502 <li>add built-in translation for Control/KP_Separator to KP_Subtract, 4503 to accommodate users who wish to use xmodmap to reassign the top 4504 row of the numeric keypad. 4505 4506 <li>correct Imakefile install-rule for <code>uxname</code> script 4507 (reported by Nam SungHyun <namsh@lge.com>). 4508 4509 <li>resync with XFree86 CVS – correct typo in <code><ncurses/term.h></code> 4510 ifdef. 4511</ul> 4512 4513<H1><A NAME="xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A></H1> 4514<ul> 4515 <li>modify logic in main.c 4516 (see <a href="#xterm_145">patch #145</a>) to avoid generating the 4517 same identifier, for example, for /dev/tty1 and /dev/pts/1, which 4518 is used to denote an entry in the utmp file (Debian bug report 4519 #84676), A similar fix was also sent by Jerome Borsboom 4520 <borsboom@westbrabant.net> in May, but I overlooked it when 4521 reviewing bug reports. 4522 4523 <li>add configure check for <code><ncurses/term.h></code> to get 4524 rid of hardcoded <code>__CYGWIN__</code> ifdef in resize.c 4525 <p> 4526 NOTE: The CYGWIN port should not be linking <code>resize</code> 4527 with ncurses. It appears that the only reason it is, is because 4528 both the ncurses and termcap ports on that platform are badly 4529 misconfigured (essential pieces have been removed, etc). Checking 4530 for <code><ncurses/term.h></code> does not hurt anything, 4531 since there are some correct installations that are set up that 4532 way. 4533 4534 <li>add a sample <code>uxterm</code> script, which uses the 4535 <code>UXTerm</code> application defaults for UTF-8 environments. 4536 4537 <li>undo change to xterm application defaults, since this introduced an 4538 unnecessary incompatibility. The intended functionality was 4539 already addressed by the <a href="#xterm_141">UXTerm</a> 4540 app-defaults file. 4541 4542 <li>resync with XFree86 CVS 4543 <ul> 4544 <li>Modified xterm app default to use LFD fontnames instead of old type 4545 (Michael Schroeder). 4546 <li>Fix xterm when XIM is disabled - caused a segfault 4547 (Tomohiro Kubota). 4548 </ul> 4549</ul> 4550 4551<H1><A NAME="xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A></H1> 4552<ul> 4553 <li>remove an ifdef for <code>USE_HANDSHAKE</code> added in patch 4554 #158 from the second <code>TIOCSSIZE</code> ioctl call in the 4555 initialization code. Paul Gilmartin reports that for Solaris 2.6 4556 (sparc), stty does not show that xterm sets rows and columns unless 4557 the second ioctl is executed. 4558 4559 <li>correct treatment of empty parameter list for some OSC strings 4560 (report by Sami Farin <sfarin@ratol.fi>). 4561</ul> 4562 4563<H1><A NAME="xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A></H1> 4564<ul> 4565 <li>augment key translations for scrollbar widget to ensure that 4566 keystrokes intended for the text area are not lost if the mouse 4567 pointer happens to fall on the scrollbar. This can happen, for 4568 instance, if the user's <code>app-defaults</code> or 4569 <code>.Xdefaults</code> file contains a translations resource, 4570 though it may also happen through unrelated resource settings: 4571 probably a bug in libXt (reported by Paul Fox 4572 <pgf@foxharp.boston.ma.us> and Dmitry Yu. Bolkhovityanov 4573 <D.Yu.Bolkhovityanov@inp.nsk.su>). 4574 4575 <li>widen ifdef's in xterm.h to define <code>__EXTENSIONS__</code> on 4576 Solaris, for compilers other than gcc. This was added along 4577 <code>_POSIX_C_SOURCE</code> with in <a href="#xterm_151">patch 4578 #151</a>, but is not sufficient since Sun's compiler does not define 4579 <code>__STDC__</code> by default (report by Matthias Scheler 4580 <tron@zhadum.de>). 4581 4582 <li>modify xterm to obtain the closest matching color if an exact color 4583 is not available, e.g., on 8-bit displays (patch by Steve Wall) 4584 4585 <li>implement "OverTheSpot" preedit type of XIM input 4586 (patch by Tomohiro Kubota): 4587 <ul> 4588 <li>This preedit type is a reasonable compromise between 4589 simpleness of implementation and usefulness. "Root" preedit 4590 type is easy to implement but not useful; "OnTheSpot" preedit 4591 type is the best in the point of view of user interface but 4592 very complex. And more, "OverTheSpot" is the preedit type 4593 which the most XIM servers support. Thus, to achieve reasonable 4594 usability, support of "OverTheSpot" preedit type is needed. 4595 4596 <li>In "OverTheSpot" preedit type, the preedit (preconversion) 4597 string is displayed at the position of the cursor. On the 4598 other hand, it is XIM server's responsibility to display 4599 the preedit string. Thus, it is needed for XIM client (here 4600 XTerm) to inform the XIM server of the cursor position. 4601 And more, to achieve good visual proportion, preedit string 4602 must be written using proper font. Thus, it is XIM client's 4603 responsibility to inform the XIM server of the proper font. 4604 The font must be supplied by "fontset". Fontset is a set of 4605 fonts with charsets which are specified by the current locale. 4606 Since XTerm uses ISO10646 fonts regardless of the current locale, 4607 the fonts for XIM must be prepared separately. It is difficult 4608 to prepare fonts which are similar to XTerm font. Thus, my 4609 patch uses a simple way - the default font is "*" which matches 4610 every fonts and X library will automatically choose fonts with 4611 proper charsets. I added "-fx" command option and "ximFont" 4612 resource to override this default font setting. 4613 4614 <li>changed the definition of "OverTheSpot" preedit type 4615 from XIMPreeditPosition|XIMStatusArea 4616 to XIMPreeditPosition|XIMStatusNothing. 4617 This matches the behavior of other programs such as 4618 Rxvt, Kterm, Gedit. 4619 4620 <li>A tiny XIM bugfix is also included. By calling XSetLocaleModifiers() 4621 with parameter of "", it can consier XMODIFIERS environmental 4622 variable which is a standard way for users to specify XIM server 4623 to be used. 4624 </ul> 4625 4626 <li>adjust configure script to accommodate repackaging of keysym2ucs.c 4627 as include-file for xutf8.c (patch by Tomohiro Kubota). 4628 4629 <li>add the <code>UXTerm</code> app-defaults file to makefile install 4630 rules (request by Juliusz Chroboczek). 4631 4632 <li>correct logic in <code>get_termcap()</code>, which returned false 4633 if the <code>tgetent()</code> call indicated that xterm was linked 4634 with terminfo. Although the <code>$TERMCAP</code> variable cannot be 4635 adjusted in this case, xterm still needs information from this call 4636 to extract data to initialize the erase-mode when the 4637 <code>ptyInitialErase</code> resource is false. 4638 4639 <li>modify <code>ScrollbarReverseVideo()</code> function to cache the 4640 original border color, so it can restore that when an application 4641 flashes the screen (Bugzilla #38872). 4642 4643 <li>resync with XFree86 CVS 4644 <ul> 4645 <li>remove ifdef's for X_NOT_STDC_ENV (patch by David Dawes). 4646 <li>add Cygwin to special errno handling case in ptydata.c (Alan Hourihane) 4647 <li>set screen size earlier in initialization, to address a race 4648 with window manager resizing its clients (Keith Packard). 4649 </ul> 4650</ul> 4651 4652<H1><A NAME="xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A></H1> 4653<ul> 4654 <li>clean up button.c and input.c (patch by Juliusz Chroboczek). The 4655 basic idea is to use a single set of APIs in the XTerm core, and put 4656 a set of workarounds in a separate file. As you will notice, this 4657 drastically simplifies parts of the code; in particular, the only 4658 remaining ifdefs related to the differences between Xutf8 and legacy 4659 systems are related to the selection provider logic. 4660 4661 This defines two new files, xutf8.h and xutf8.c, provide some 4662 half-hearted but fully portable emulation for the three Xutf8* 4663 functions that XTerm uses. 4664 4665 Putting these in a separate file will allow people to experiment with 4666 more complex versions without making the core of XTerm more difficult 4667 to maintain. 4668 4669 The functionality of the emulation is as follows. 4670 <ul> 4671 <li>Xutf8TextListToTextProperty fully handles XStringstyle and 4672 XUTF8StringStyle. It will only generate STRING for XStdICCTextStyle, 4673 and wil only generate Latin-1 in XCompoundTextStyle (but label it as 4674 COMPOUND_TEXT, as the spec requires). (I have hesitated to make this 4675 function fail for XStdICCTextStyle and XCompoundTextStyle; this might 4676 be a smart thing to do, in the hope that the selection requestor will 4677 try UTF8_STRING afterwards; opinions?) 4678 4679 <li>Xutf8TextPropertyToTextList fully handles STRING and UTF8_STRING. 4680 It systematically fails for COMPOUND_TEXT. 4681 4682 <li>Xutf8LookupString will properly handle single-keystroke input for 4683 the keysyms covered by Markus' keysym2ucs function. It will not 4684 handle either compose key input or external input methods. 4685 </ul> 4686 4687 <li>add an ifdef for <code>SunXK_F36</code>, used in 4688 <code>xtermcapKeycode()</code> (patch by Mark Waggoner 4689 <waggoner@ichips.intel.com>). 4690 4691 <li>modify check for login name to try <code>getlogin()</code> and 4692 $LOGNAME, $USER environment variables to detect if the user has 4693 logged in under an alias, i.e., an account with the same user id 4694 but a different name (Debian bug report #70084). 4695 4696 <li>add resource <code>tiXtraScroll</code>, which can be used to 4697 preserve the screen contents in the scrollback rather than erasing 4698 it when starting a fullscreen application such as <code>vi</code> 4699 (patch by Ken Martin <fletcher@catsreach.org>). 4700 4701 <li>two patches by Denis Zaitsev <zzz@cd-club.ru>: 4702 <ul> 4703 <li>added <code>forceBoxChars</code> resource to control the 4704 "line-drawing characters" option. 4705 4706 <li>added <code>freeBoldBox</code> resource, which, when set true, 4707 suppresses check in <code>same_font_size()</code>, so xterm does 4708 not attempt to ensure that the bold font is the same size as 4709 the normal font. 4710 </ul> 4711 4712 <li>change the color class for ANSI colors and similar ones such as 4713 bold-color, etc., to follow the convention that the classname is the 4714 instance name with a leading capital (e.g., <code>color0</code> and 4715 <code>Color0</code> rather than <code>color0</code> and 4716 <code>Foreground</code>). There was little use for Foreground as a 4717 class other than to create occasional confusion and bug reports, most 4718 recently by Nelson Beebe who reports that it disables colors in xterm 4719 but not on Linux, which is probably due to a difference in resource 4720 evaluation order. A configure script option (--disable-color-class) 4721 is provided for anyone who did use the older behavior. 4722 4723 <li>fix a signal-handling bug. When running xterm with 4724 <code>ksh</code> or similar shell such as bash 2.05, xterm will hang 4725 and not respond to keystrokes after the user types 4726 <code>suspend</code>. Additionally the popup menus do not respond, 4727 so it is not possible to send SIGCONT to the shell. 4728 What is happening is that the shell is sending itself SIGSTOP, and it 4729 is being stopped. Per specification it also means that the operating 4730 system is sending SIGCHLD to parent to the bash (XTERM). 4731 Now the issue is that xterm assumes it cannot happen and it expects 4732 to receive SIGCHLD only upon <em>termination</em> of its children. 4733 This causes a deadlock with xterm waiting for the child to 4734 die, and the child waiting for SIGCONT. 4735 (report/patch by Adam Sulmicki), analysis/testing by Sven Mascheck 4736 <sven.mascheck@student.uni-ulm.de>). 4737 4738 <li>correct some inconsistent checks for <code>XtReleaseGC()</code> 4739 calls in <code>xtermLoadFont()</code> (patch by Nam SungHyun 4740 <namsh@lge.com>). 4741 4742 <li>updated wcwidth.c and keysym2ucs.c to versions dated 2001/1/12 4743 and 2001/4/18, respectively from 4744 http://www.cl.cam.ac.uk/~mgk25/ucs/ 4745 4746 <li>correction to change from <a href="#xterm_90">patch #90</a>, 4747 which was intended to 4748 reset the saved cursor position for normal/alternate screens 4749 on a soft reset, but actually wiped out all of the saved cursor 4750 information. Just reset the saved position for the current screen 4751 (report by Michael Schroeder). 4752 4753 <li>modify ShowCursor() and HideCursor() so that if the cursor points 4754 to the second part of a wide character, make the show/hide operate on 4755 the first position of the wide character (patch by Sven Verdoolaege). 4756 4757 <li>scrolling in the alternate screen just before switching back to the 4758 main screen can cause extra blank lines to be inserted into the 4759 scrollback buffer (patch by Paul Vojta 4760 <vojta@math.berkeley.edu>). 4761 4762 <li>resync with XFree86 4.1.0: 4763 <ul> 4764 <li>Use TermcapLibrary as -lncurses instead of -ltermcap, fixes 4765 problem building xterm/resize on Cygwin/XFree86 (Harold Hunt). 4766 <li>Install xterm.termcap and xterm.terminfo when installing xterm 4767 (Torrey T. Lyons). 4768 <li>Fix some build issues on Cygwin/XFree86 (Suhaib Siddiqi). 4769 <li>Define CBAUD, when it's missing in xterm, on LynxOS 4770 (Stuart Lissaman). 4771 </ul> 4772</ul> 4773 4774<H1><A NAME="xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A></H1> 4775<ul> 4776 <li>change order of selection-target types to make 8-bit xterm prefer 4777 UTF8_STRING to COMPOUND_TEXT (patch by Juliusz Chroboczek). 4778 4779 <li>document <code>-fa</code>, <code>-fs</code> command-line options 4780 and <code>faceName</code>, <code>faceSize</code> 4781 resources which are used by the freetype library support. 4782 4783 <li>if configure script finds freetype libraries, but imake definitions 4784 do not have the XRENDERFONT definition, define it anyway. 4785 4786 <li>modify configure script check for freetype libraries to include 4787 <code><Xlib.h></code>, since an older version of the related 4788 headers relies on this (patch by Adam Sulmicki). 4789</ul> 4790 4791<H1><A NAME="xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A></H1> 4792<ul> 4793 <li>correct return type of in_put() from <a href="#xterm_155">patch #153</a> 4794 changes, which left it not wide enough for UTF-8 (patch by Bruno Haible). 4795</ul> 4796 4797<H1><A NAME="xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A></H1> 4798<ul> 4799 <li>undo check for return value from <code>pututline</code> (used for 4800 debugging) since that function does not return a value on Slackware 4801 3.6. 4802 4803 <li>correct length in ScreenWrite, when rendering invisible text 4804 (patch by Sven Verdoolaege <skimo@kotnet.org>). 4805 4806 <li>fixes/improvements for the <code>i18nSelection</code> resource 4807 from patch #153, by Bruno Haible: 4808 4809 <ul> 4810 <li>add missing initialization for <code>i18nSelection</code> 4811 resource. 4812 4813 <li>split-out the non-ICCM aspect of the 4814 <code>i18nSelection</code> resource as a new resource, 4815 <code>brokenSelections</code>. 4816 </ul> 4817 4818 <li>add configure check for <code><time.h></code> and 4819 <code><sys/time.h></code>, to allow for Unixware 7, 4820 which requires both. If the configure script is not used, only 4821 <code><time.h></code> will be included as before (report 4822 by Thanh Ma). 4823 4824 <li>fix redefinition of <code>dup2</code>, <code>getutent</code>, 4825 <code>getutid</code>, <code>getutline</code> and <code>sleep</code> 4826 functions on Unixware 7 (report by Thanh Ma 4827 <Thanh.Ma@casi-rusco.com>) 4828 4829 <li>add a fall-back definition for <code>__hpux</code>, which is 4830 apparently not defined in some compilers on HPUX 11.0 (reported 4831 by Clint Olsen). 4832 4833 <li>change VAL_INITIAL_ERASE, which is used as a fallback for the 4834 <code>"kb"</code> termcap string to 8, since that matches the 4835 xterm terminal description (request by Alexander V Lukyanov). 4836 4837 <li>correct an off-by-one in <code>ClearInLine</code>, which caused 4838 the erase-characters (ECH) control to display incorrectly 4839 (patch by Alexander V Lukyanov). 4840 4841 <li>correct escape sequences shown in terminfo for shifted editing 4842 keys. The modifier code was for the control key rather than 4843 the shift key. 4844</ul> 4845 4846<H1><A NAME="xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A></H1> 4847<ul> 4848 <li>increase PTYCHARLEN to 8 for os390, add some debugging traces 4849 for UTMP functions (patch by Paul Gilmartin). 4850 4851 <li>correct an misplaced brace in <code>SelectionReceived()</code> 4852 (patch by Bruno Haible). 4853 4854 <li>correct an assignment dropped in <code>SelectionReceived()</code> 4855 which made it not compile for wide-characters combined with debug 4856 traces. 4857 4858 <li>correct typo, clarify description of 88- and 256-color controls 4859 (report by Bram Moolenaar). 4860 4861 <li>correct a typo in ctlseqs.ms which caused DEC Locator control 4862 sequences using single quote "'" display grave "`" instead (reported 4863 by Paul Williams, apparently in patch #114). 4864</ul> 4865 4866<H1><A NAME="xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A></H1> 4867<ul> 4868 <li>correct index in inner loop in <code>VTInitI18N()</code> from 4869 patch #151 changes, which resulted in infinite loop under some 4870 conditions (report/analysis by Paul Gilmartin). 4871 4872 <li>remove spurious "%|" from terminfo sgr capabilities 4873 (report/analysis by Adam M Costello, Debian #89222). 4874 4875 <li>add shell script to adjust list of dynamic libraries linked by 4876 <code>resize</code> when building with the standalone configure 4877 script. Otherwise it uses the same list as for xterm, which is 4878 excessive. 4879 4880 <li>fix a few compiler warnings reported by the 20010305 gcc snapshot. 4881</ul> 4882 4883<H1><A NAME="xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A></H1> 4884<ul> 4885 <li>alter the behaviour of selections in XTerm (patch by Juliusz Chroboczek). 4886 It is believed to follow the ICCCM + UTF8_STRING to the letter, both 4887 in UTF-8 and in eight-bit mode. From his description: 4888 <ul> 4889 <li>When compiled against XFree86 4.0.2, the patched XTerm will make 4890 the selection available as COMPOUND_TEXT, STRING or UTF8_STRING in 4891 both modes. It will request selections in the following order: 4892 <p> 4893 UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, STRING.<br> 4894 eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, STRING. 4895 4896 <li>When compiled against an earlier version of XFree86 (or compiled with 4897 OPT_UTF8_API=0), it will still obey the ICCCM, but will neither 4898 request nor provide UTF8_STRING in eight-bit mode, and neither TEXT 4899 nor COMPOUND_TEXT in UTF-8 mode. 4900 <li>For compatibility with previous versions of XTerm, a resource 4901 <code>i18nSelections</code> is provided, please see the manpage for 4902 details. However, due to an unexpected combination of ICCCM 4903 extensions by various bits and pieces of the libraries, interacting 4904 with previous versions of XTerm will work in many locales even 4905 without this flag. (Please do not set this resource to true by 4906 default, as this would violate the ICCCM.) 4907 </ul> 4908 4909 <li>improved error checking/reporting in VTInitI18N(), ensuring that 4910 lack of input method styles is treated distinctly from a mismatch. 4911 4912 <li>remove an incorrect ifdef from patch #141 which suppressed 4913 overstriking to simulate bold font when xterm was compiled to support 4914 wide characters (report/analysis by Adam M Costello 4915 <amc@cs.berkeley.edu>, Debian #76404, Debian #77575). 4916 4917 <li>modify <code>RequestResize()</code> function to save/restore window 4918 manager hints. Its call to <code>XtMakeResizeRequest()</code> had 4919 the undesirable side-effect of clearing window manager hints, e.g., 4920 when switching to 132-columns via DECCOLM escape sequence. Window 4921 manager hints make it simple to resize xterm in terms of character 4922 cells rather than pixels (reports by Christian Weisgerber, 4923 Debian #79939). 4924 <p> 4925 This applies to the normal configuration. When built with toolbar 4926 support, the hints are applied to a different widget level (more 4927 work will be needed to make hints work with the toolbar). 4928 4929 <li>fix a redefinition warning for resize.c on OpenBSD (patch by 4930 Christian Weisgerber). 4931 4932 <li>change resource corresponding to <code>-T</code> option to match 4933 Xt library's <code>-title</code>, i.e., <code>.title</code> 4934 rather than <code>*title</code> so the command-line options are 4935 interchangeable as documented (Debian bug report #68843). 4936 4937 <li>add script used from autoconf'd makefile for installing manpages, 4938 since recent XFree86 changing the way section numbers are represented 4939 makes the install dependent on extra scripts. 4940 4941 <li>add configure check for freetype libraries and configure option 4942 --disable-freetype to override this feature. 4943 4944 <li>modify some configure script macros to avoid using changequote(), 4945 which has been rendered useless in the latest autoconf alpha 2.49c 4946 4947 <li>update config.guess, config.sub to 2001-2-13 4948 4949 <li>remove redundant/contradictory __CYGWIN__ definitions from resize.c 4950 4951 <li>correct manpage typo introduced by X11R6.5 resync. 4952</ul> 4953 Changes from XFree86 4.0.2: 4954<ul> 4955 <li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris to 4956 make this compile with <code>gcc -ansi -pedantic</code> (report 4957 by <mark@zang.com>. 4958</ul> 4959 4960<H1><A NAME="xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A></H1> 4961<ul> 4962 <li>move the binding for shifted keypad plus/minus, which invokes the 4963 <code>larger-vt-font()</code> and <code>smaller-vt-font()</code> 4964 actions, respectively, into the translations resource (suggested by 4965 Marius Gedminas <mgedmin@puni.osf.lt>). 4966 4967 <li>modify configure script to support the 4968 <code>--program-prefix</code>, <code>--program-suffix</code> and 4969 <code>--program-transform-name</code> options (request by Alison 4970 Winters <alison@mirrabooka.com>). 4971 4972 <li>fixes for wide/combining characters (Robert Brady): 4973 <ul> 4974 <li>fix a scrolling / combining characters display anomaly 4975 4976 <li>fix a problem with double-width characters where if the primary 4977 font had no box-drawing characters, the right hand half of 4978 double-width characters was erased (reported by Yao Zhang 4979 <yzhang@sharemedia.com>). 4980 4981 <li>fix special case of null byte for key handling in UTF-8 locales. 4982 </ul> 4983 4984 <li>modify logic that compares sizes of normal and bold fonts to be 4985 more forgiving of the font server's choice of bold font which must 4986 match the normal font's size. Now <code>same_font_size()</code> 4987 compares the height of the fonts rather than individually ascent and 4988 descent, and allows the bold font to be one pixel smaller than the 4989 normal font (addresses a report by Alan Citterman 4990 <alan@mticket.com>, who says that something in patches #146 to 4991 #148 made xterm more likely to overstrike bold fonts, and indirectly 4992 Debian bug report #76404, which reports the opposite). 4993 4994 <li>make configure script use $CFLAGS and $CPPFLAGS consistently, 4995 including removing a chunk from configure.in which attempted to 4996 save/restore $CPPFLAGS while processing value set by the --x-includes 4997 option, but lost values set in an intervening AC_CHECK_HEADERS. This 4998 change modifies macros CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and 4999 CF_X_TOOLKIT, as well as removing variables IMAKE_CFLAGS and X_CFLAGS 5000 from the generated makefile (the AC_CHECK_HEADERS problem was 5001 reported by Albert Chin-A-Young <china@thewrittenword.com<). 5002 5003 <li>correct a comparison in SELECTWORD case of ComputeSelect(), which 5004 resulted in a word-selection wrapping past the first column without 5005 checking the first column's character class (reported by Christian 5006 Lacunza <celacunza@netscape.net> 5007 5008 <li>correct a logic in UTF-8 mode for selecting double-width characters; 5009 a combining character was omitted (patch by Markus Kuhn). 5010 5011 <li>add feature to pop (raise) window when a bell is received 5012 (patch by Gael Roualland <gael.roualland@dial.oleane.com>). 5013 5014 <li>add __NetBSD__ and __OpenBSD__ to special-case in xterm_io.h 5015 for USE_POSIX_TERMIOS definition (patch by Christian Weisgerber). 5016 5017 <li>move special-case HPUX include for <sys/bsdtty.h> to 5018 xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for HPUX 5019 10.20 (report by Bruno Betro). 5020</ul> 5021 5022<H1><A NAME="xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A></H1> 5023<ul> 5024 <li>restructured includes for <code>termios.h</code>, 5025 <code>termio.h</code> and related definitions for main.c, os2main.c, 5026 screen.c and resize.c so they will share equivalent definitions in a 5027 new header <code>xterm_io.h</code>. This is intended to solve some 5028 problems mainly for HPUX which appear to arise from inconsistent 5029 definitions for SIGWINCH- and HAS_LTCHARS-related symbols (reports 5030 by Bruno Betro, Jeremie Petit and Clint Olsen). 5031 5032 <li>improve usability of double-width fonts by allowing normal fonts 5033 to be given as double-width (from a patch by Fabrice Bellard 5034 <bellard@email.enst.fr>). 5035 5036 <li>correct a few compiler warnings in TRACE() macros for 5037 signed/unsigned variable differences (reported by Clint Olsen). 5038 5039 <li>make configure script use $CFLAGS and $CPPFLAGS more consistently, 5040 i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC macro. 5041 5042 <li>expanded description of environment variables in manual-page. 5043 5044 <li>modify OPT_TCAP_QUERY feature to always return the termcap or 5045 terminfo capability string in the response, and to read/write the 5046 names in hexadecimal form to allow for the special case of termcap's 5047 <code>k;</code> name (patch by Bram Moolenaar). 5048 5049 <li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so the 5050 corresponding configure options work (patch by Bram Moolenaar). 5051 5052 <li>resync with XFree86 4.0.1g: 5053 <ul> 5054 <li>Rewrite Xft library for Render extension/core text and font management 5055 Change xterm to use new interface (Keith Packard). 5056 </ul> 5057</ul> 5058 5059<H1><A NAME="xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A></H1> 5060<ul> 5061 <li>document logfile options in man-page. 5062 5063 <li>correct spelling of <code>-samename</code> option in help message. 5064 5065 <li>add configure script option <code>--enable-tcap-query</code> 5066 (request by Bram Moolenaar). 5067 5068 <li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature 5069 (patch by Bram Moolenaar). 5070 <li>patch by Kiyokazu Suto <suto@ks-and-ks.ne.jp>: 5071 <ul> 5072 <li>add support for bold font for double width characters. 5073 The font name may be specified with the command line option 5074 <code>-fwb</code> or with resource 5075 <code>wideBoldFont</code> (class <code>WideBoldFont</code>). 5076 <li>correct underlining of double width character string, which 5077 was drawn only half width. 5078 <li>correct binary search of precomposed character table, which 5079 may return wrong result when <code>int</code> is just 32 bits. 5080 </ul> 5081 5082 <li>some changes to align terminfo with ncurses 5.2: 5083 <ul> 5084 <li>remove xtermm description, retaining xterm-mono since the former 5085 conflicts with ncurses. 5086 <li>modify initialization and reset strings to avoid putting the 5087 save/restore cursor operations bracketing changes to video 5088 attributes, since the changes could be lost when the cursor is 5089 restored. This affects xterm-r6 and xterm-8bit (the xterm-xfree86 5090 entry uses the soft-reset feature which resets scrolling margins 5091 and origin mode without requiring us to save/restore the cursor 5092 position). 5093 <li>make a few entries explicitly inherit from xterm-xfree86 rather 5094 than xterm: xterm-rep, xterm-xmc, xterm-nrc 5095 </ul> 5096 5097 <li>ensure that sign-extension does not affect <code>ctype</code> 5098 macros by using <code>CharOf()</code> macro to coerce the parameter 5099 to an unsigned char. 5100 5101 <li>resync with XFree86 4.0.1d: 5102 <ul> 5103 <li>Add primitive support in xterm for Xft based fonts (Keith Packard). 5104 The changes are ifdef'd with <code>-DXRENDERFONT</code>. 5105 </ul> 5106</ul> 5107 5108<H1><A NAME="xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A></H1> 5109<ul> 5110 <li>correct implementation of <code>ptyInitialErase</code>: the 5111 value assigned to <code>initial_erase</code> was for the control 5112 terminal, which is correct as far as it goes. But there was no 5113 following test for the pseudo-terminal's erase value, which would 5114 overwrite the default obtained from the control terminal 5115 (reported by Christian Weisgerber <naddy@mips.inka.de>). 5116 5117 <li>modify check for printable-characters in OSC string to use xterm's 5118 ansi_table rather than isprint() macro, to isolate this check from 5119 locale settings. This fixes a problem using 8-bit characters to 5120 set the title (reported by Ricardas Cepas <rch@richard.eu.org>). 5121 5122 <li>modify sample scripts to check for printf before print, since the 5123 latter is not as well standardized (e.g., on Linux). 5124 5125 <li>updated config.sub, config.guess to reflect changes on 5126 subversions.gnu.org 5127</ul> 5128 5129<H1><A NAME="xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A></H1> 5130<ul> 5131 <li>correct two instances overlooked from patch #141 which assumed 5132 UTF-8 mode without checking, causing a core dump in non-UTF-8 mode 5133 (one instance was reported by Tommi Virtanen <tv@debian.org>). 5134 5135 <li>correct a problem selecting from the scrollback buffer in UTF-8 5136 mode by changing remaining getXtermCell() calls to XTERM_CELL() as in 5137 the non-UTF-8 cases (report by Markus Kuhn, patch by Robert Brady). 5138</ul> 5139 5140<H1><A NAME="xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A></H1> 5141<ul> 5142 <li>changes for UTF-8 configuration (Robert Brady): 5143 <ul> 5144 <li>doublewide characters don't lose their accents when the cursor 5145 moves onto or from them (a visual bug) 5146 5147 <li>fix logic in addXtermCombining, which mean that if the low byte 5148 of a cell's first combining char was 0, a following combining char 5149 would go into combining slot 1, not 2. 5150 5151 <li>modify logic for cut-buffers so UTF-8 data is first converted 5152 to Latin1. 5153 5154 <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL. 5155 5156 <li>modify to allow xterm to to show combining characters 5157 attached to doublewidth characters. 5158 5159 <li>correct bug in linewrap with -u8 option (reported by 5160 Andreas Koenig <andreas.koenig@anima.de>). 5161 </ul> 5162 5163 <li>several changes to PTY logic (based on request by Tim Ryan 5164 <timryan@nortelnetworks.com>). 5165 <ul> 5166 <li>modify treatment of <code>-S</code> option to to make it work with 5167 Unix98 PTY's. 5168 5169 <li>restore sense of IsPts flag in <code>get_pty()</code>, which was 5170 lost in Unix98 changes. 5171 5172 <li>use new functions <code>my_pty_id()</code> and 5173 <code>my_pty_name()</code> to simplify/fix strings used for utmp, 5174 wtmp identifiers. 5175 5176 <li>simplify <code>get_pty()</code> function, making it have a single 5177 return point so its inputs/outputs can be identified. 5178 </ul> 5179 5180 <li>update config.guess and config.sub and scripts to my 20000819 patch, 5181 adding cases for OS/2 EMX. 5182 5183 <li>add special case for os390 compiler options to configure script 5184 (patch by Paul Gilmartin) 5185 5186 <li>fix some unused-variable compiler warnings (reported by 5187 Zdenek Sekera). 5188 5189 <li>split-out some string functions into xstrings.c, to use them 5190 more consistently among main.c, os2main.c and resize.c 5191 5192 <li>align termcap/terminfo files, adding entries to make them match. 5193 The termcap entries are necessarily less complete than the terminfo, 5194 to fit within 1023 character per entry. 5195 5196 <li>add terminfo entry for xterm-sco (SCO function keys). 5197 5198 <li>modify <code>same_font_name()</code> to properly handle wildcard 5199 introduced in <code>bold_font_name()</code>, making comparison for 5200 different fonts succeed when only the normal font is specified. This 5201 is needed to decide if 1-pixel offset should be used. (reported 5202 in a newsgroup by Bart Oldeman <enbeo@enbeo.resnet.bris.ac.uk>) 5203 5204 <li>correct preprocessor line for OPT_WIDE_CHARS in drawXtermText() 5205 from patch #141 which resulted in overstriking for bold fonts not 5206 working. 5207 5208 <li>correct Imakefile from 4.0.1c resync so UTF-8 modules are in 5209 UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 support. 5210</ul> 5211 5212<H1><A NAME="xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A></H1> 5213<ul> 5214 <li>remove a spurious assignment in ScreenWrite() from Robert Brady's 5215 patch which set a null at the "end" of the buffer to be written. 5216 That made the autowrap feature write a blank in the first column for 5217 the non-UTF-8 configuration, rather than the actual character 5218 (reported by Alan Citterman <alan@mticket.com>). 5219</ul> 5220 5221<H1><A NAME="xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A></H1> 5222<ul> 5223 <li>add a check to ensure that <code>-class</code> command-line option 5224 is not confused with <code>-c</code> (reported by Paul Townsend 5225 <aab@aab.cc.purdue.edu>). 5226</ul> 5227 5228<H1><A NAME="xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A></H1> 5229<ul> 5230 <li>correction to precompose scripts, so 0061 + 0300 will now be really 5231 be displayed as 00C0 (patch by Robert Brady 5232 <robert@susu.org.uk>). 5233 5234 <li>correct macro ClassSelects() in button.c, used to hide ifdef's for 5235 OPT_WIDE_CHARS in patch #141 (reported by Andreas Paul 5236 <paula@informatik.tu-muenchen.de>). 5237 5238 <li>change wcwidth.h to include stddef.h rather than wchar.h, which is 5239 not present on OpenBSD and FreeBSD (reported by Christian 5240 Weisgerber and Bram Moolenaar). 5241 5242 <li>newer config.sub and config.guess, from lynx 2.8.4dev.7 5243</ul> 5244 5245<H1><A NAME="xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A></H1> 5246<ul> 5247 <li>changes for doublewidth and combining characters, from 5248 http://www.ecs.soton.ac.uk/~rwb197/xterm/ 5249 (integrated patch by Robert Brady). 5250 In this context, 5251 doublewidth refers to 16-bit character sets which may have glyphs 5252 occupying two cells. 5253 5254 <li>add command-line option <code>-class</code>, which allows one 5255 to override xterm's resource class. Also add resource file 5256 <code>UXTerm.ad</code>, which simplifies using xterm for both 5257 8-bit character sets and UTF-8. 5258 5259 <li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram 5260 Moolenaar, Steve Wall). 5261</ul> 5262 5263<H1><A NAME="xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A></H1> 5264<ul> 5265 <li>modify Makefile.in to circumvent GNU make's built-in suffix rule 5266 for ".sh" which confuses install.sh with the "make install" target 5267 (report/patch by Paul Gilmartin). 5268 5269 <li>implement an experimental control sequence which an application may 5270 use to query the terminal to determine what sequence of characters it 5271 would send for a given function key. This is ifdef'd with 5272 OPT_TCAP_QUERY (request by Bram Moolenaar). 5273 5274 <li>add /usr/local to search path in CF_X_ATHENA configure macro 5275 to build with Xaw3d on OpenBSD (patch by Christian Weisgerber). 5276 5277 <li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to 5278 xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate (report 5279 by Alain Filbois <Alain.Filbois@loria.fr>). 5280 5281 <li>correct a few errors in xterm.man: font in filename example for 5282 Tektronix emulation, and description of -nul/+nul command-line 5283 options (report by Eric Fischer <enf@pobox.com>). 5284 5285 <li>update config.guess and config.sub, from tin and lynx. 5286</ul> 5287 5288<H1><A NAME="xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A></H1> 5289<ul> 5290 <li>back out change to <code>-name</code> command-line option, 5291 restoring its original behavior (as noted by David Madore, the 5292 correct interpretation of this option is the application instance 5293 rather than the application class). 5294</ul> 5295 5296<H1><A NAME="xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A></H1> 5297<ul> 5298 <li>workaround for fixed fonts which are generated from Unicode fonts: 5299 they omit glyphs for some xterm's less-used line-drawing characters, 5300 which caused xterm to set a flag telling it to use only its internal 5301 line-drawing characters. Do not set the flag (it can be set from the 5302 popup menu), and xterm will generate only the line-drawing glyphs 5303 which actually are missing. 5304 <br> 5305 Otherwise, when used for large fonts, xterm may generate a 2-pixel 5306 wide line, which can leave dots on the screen. 5307 5308 <li>restore first line of 256colres.pl, omitted in 4.0c diffs. 5309</ul> 5310<H1><A NAME="xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A></H1> 5311<ul> 5312 <li>make command-line <code>-name</code> option work as documented. 5313 Apparently this was lost in X11R5 when coding to use 5314 <code>XtAppInitialize</code>. 5315 5316 <li>limit numeric parameters of control sequences to 65535 to 5317 simplify checks for numeric overflow. 5318 5319 <li>change index into UDK list to unsigned to guard against numeric 5320 overflow making the index negative (Taneli Huuskonen 5321 <huuskone@cc.helsinki.fi>). 5322 5323 <li>change <code>sun function-keys</code> resource name to 5324 <code>sunFunctionKeys</code> to work around redefinition of the 5325 token <code>sun</code> by xrdb on Solaris. Similarly, renamed 5326 resource <code>sun keyboard</code> to <code>sunKeyboard</code> 5327 (Steve Wall). 5328 5329 <li>change similar resource names for HP and SCO to avoid potential 5330 conflict with xrdb symbols on other systems, as well as for 5331 consistency. 5332 5333 <li>reorganized the install targets in the autoconf'd Makefile, adding 5334 install-app, install-bin, install-dirs and install-man. The 5335 app-defaults class can be overridden by setting the make variable 5336 'CLASS', simplifying customization of xterm as a Unicode terminal, 5337 e.g., CLASS=UXTerm. 5338 5339 <li>add limit checks to <code>ClearInLine()</code>, 5340 <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to 5341 correct potential out-of-bounds indexing (prompted by Debian bug 5342 report #64713, which reported a problem with ICH escape sequences). 5343 5344 <li>updates to config.sub and config.guess 5345 Kevin Buettner <kev@primenet.com> for elf64_ia64 5346 Bernd Kuemmerlen <bkuemmer@mevis.de> and MacOS X. 5347 5348 <li>for os390, add check for errno set to 5349 ENODEV on failure to open /dev/tty when there is no controlling 5350 terminal (patch by Paul Gilmartin). 5351 5352 <li>fixes for building on Digital Unix 4.0 and AIX 4.2 5353 (patch from H Merijn Brand <h.m.brand@hccnet.nl>). 5354 5355 <li>modify DECRQSS reply for DECSCL to additionally report if the 5356 terminal is set for 8-bit controls. 5357</ul> 5358 5359<H1><A NAME="xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A></H1> 5360<ul> 5361 <li>add a resource (<code>limitResize</code>) 5362 limiting resizing via the CSI 4 t and CSI 8 t sequences. 5363 5364 <li>ignore out-of-bounds resize requests, i.e., where sign-extension 5365 or truncation of the parameters would occur. 5366</ul> 5367 5368<H1><A NAME="xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A></H1> 5369<ul> 5370 <li>remove code introduced in #134 which made some backgrounds bold. 5371 5372 <li>minor correction to format of updated $TERMCAP when adding 5373 <code>kb</code> capability for <code>ptyInitialErase</code> logic. 5374 5375 <li>improved test for SVR4 definition. 5376</ul> 5377 5378<H1><A NAME="xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A></H1> 5379<ul> 5380 <li>update URL's and mailing addresses, moved to http://dickey.his.com 5381 and dickey@herndon4.his.com 5382 5383 <li>correct missing quotes in CF_TTY_GROUP configure script macro in 5384 case the script is run in batch mode. 5385 5386 <li>modify ownership-check of log file to ignore the group ownership. 5387 Otherwise xterm cannot create logfiles in directories with set-gid 5388 permissions. 5389 5390 <li>simplify the logic that reads termcap data. 5391 5392 <li>add fallback definition for B9600 in case line speed definition 5393 for 38400 is missing (report by Jack J Woehr <jwoehr@ibm.net>, 5394 for OpenBSD 2.6). 5395 5396 <li>fix: Set highlightColor, and select a region containing the text 5397 cursor. If the window loses focus, the cursor becomes hollow, with 5398 the region inside the cursor being background/foreground, unlike the 5399 rest of the selection, which is foreground/highlight 5400 (patch by Ross Paterson <ross@soi.city.ac.uk>). 5401 5402 <li>add configure script tests to define SVR4, SYSV and USE_POSIX_WAIT, 5403 which enables xterm to compile on Solaris 7 and SCO Openserver 5404 without imake, though there are still a few features for the latter 5405 which require <code>sco</code> to be predefined. 5406 5407 <li>patches from Steve Wall: 5408 <ul> 5409 <li>add support for two Sun-specific function keys. These keys are 5410 labeled F11 and F12 on Sun Type 5 keyboards, but return SunXK_F36 and 5411 SunXK_F37. Support will only be compiled in if the header file 5412 <X11/Sunkeysym.h> exists and contains the appropriate symbol 5413 definitions. The keycodes for the DEC keycodes were arbitrary unused 5414 codes, but the ones for the Sun keycodes are what cmdtool and 5415 shelltool actually send. 5416 5417 <li>add <code>colorRV</code> and <code>colorRVMode</code> resources to 5418 allow specifying a color to use for reverse video, similar to the 5419 existing UL, BD, and BL modes. 5420 5421 <li>add <code>alwaysUseMods</code> resource, to override check if 5422 <code>alt</code> or <code>meta</code> modifiers are used in 5423 <code>translations</code> resource. Revamped the code to calculate 5424 the modifier value, and included Meta if alwaysUseMods is TRUE, using 5425 values 9-16. 5426 </ul> 5427 5428 <li>fixes for os390 (Paul Gilmartin): 5429 <ul> 5430 <li>regularize the definition of CONTROL() and remove an 5431 acknowledged "trial and error" table. 5432 5433 <li>translate "^?" into A2E(0177) which is the EBCDIC "DEL" 5434 rather than plain 0177 which is the EBCDIC quotation mark. 5435 5436 <li>modify <code>xtermMissingChar()</code> so that EBCDIC codes 128-159 5437 are not rendered as blanks by X server running on Solaris, which sees 5438 those as control characters. 5439 5440 <li>make debugging traces (configure --enable-trace) 5441 work properly with EBCDIC. 5442 </ul> 5443</ul> 5444 5445<H1><A NAME="xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A></H1> 5446<ul> 5447 <li>add substitutions in autoconf'd Makefile for CPPFLAGS, LDFLAGS and 5448 AWK (reported by Neil Bird). 5449 5450 <li>correct uninitialized <code>childstat</code> variable from patch 5451 #131 in <code>creat_as()</code> function, which caused logging to not 5452 work on Solaris, whose <code>waitpid()</code> function does not 5453 initialize its parameter. Add check for EINTR on return from 5454 <code>waitpid()</code> as well (reported by Neil Bird 5455 <neil.bird@rdel.co.uk>). 5456 5457 <li>remove a redundant check for working <code>setuid()</code> function 5458 introduced in patch #132. Greg Smith reports that this does not work 5459 as intended on os390. 5460 5461 <li>change line speed from 9600bd to 38400bd, to accommodate people who 5462 mistakenly use $TERM set to <em>vt100</em>, to reduce the effect of 5463 padding associated with this terminal type. 5464 5465 <li>add configure script check for IRIX 6.5's redefinition of baud 5466 rates associated with <code>struct termio</code>, to correct a 5467 situation where the baud rate was initialized to zero (reported by 5468 Andrew Isaacson <adi@lcse.umn.edu>). 5469 5470 <li>remove unused configure script check for VDISABLE. 5471</ul> 5472 5473<H1><A NAME="xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A></H1> 5474<ul> 5475 <li>undo an incorrect change from patch #113 caused the right scrollbar 5476 to be positioned incorrectly when re-enabling it (analysis by 5477 D Roland Walker). 5478 5479 <li>add ctrlFKeys resource, replacing constant for adjusting 5480 control-F1 to control-F12 to VT220-style F10-F20. The resource 5481 changes the constant 12 to a default value of 10 (request by 5482 Jim Knoble <jmknoble@pobox.com>). 5483 5484 <li>correct ifdef'ing for conflict between definitions in AIX's 5485 <sys/select.h> and <X11/Xpoll.h> (reported by Clint 5486 Olsen). 5487 5488 <li>add checks for return-values of getutid(), initgroups() and 5489 setuid() in main.c, as well as modifying ifdef's for __osf__ to 5490 include tty-group and WTMP logic (adapted from patch by Paul Szabo 5491 <psz@maths.usyd.edu.au>) 5492 5493 <li>modify resize.c to build and work on os390 (uses EBCDIC) 5494 (adapted from patch by Phil Sidler <Phil.Sidler@airborne.com>) 5495 5496 <li>use Ires(), Bres() and Sres() macros to simplify resource list in 5497 charproc.c 5498 5499 <li>resync with XFree86 4.0a: 5500 <ul> 5501 <li>correct a typo in os2main.c (Holger Veit, from 4.0a). 5502 </ul> 5503</ul> 5504 5505<H1><A NAME="xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A></H1> 5506<ul> 5507 <li>improve logfile security (integrated patch by Branden Robinson) 5508 <ul> 5509 <li>make the <code>creat_as()</code> function more strict by using 5510 O_EXCL rather than O_APPEND. 5511 <li>fixes to make DEBUG ifdef's compile/run, including making the 5512 debug logfile more unique by appending a timestamp to its name. 5513 <li>include <term.h> in resize.c, to fix a missing-prototype 5514 warning. 5515 </ul> 5516 5517 <li>modified <code>creat_as()</code> a little more, retaining the 5518 ability to append to a logfile If the user specifies the name. 5519 Also, check if the opened file (which patch #130 ensures is 5520 owned by the effective user) is not writable by other users. 5521 5522 <li>use <code>creat_as()</code> logic to make tek4014 screen-copy 5523 more secure (noted by Branden Robinson). 5524 5525 <li>ifdef'd some of Branden's changes to build/work on older machines. 5526 5527 <li>correct missing initialization of the <code>.mode</code> flag in 5528 <code>ColorRes</code> struct, from patch #129. This worked on Linux 5529 because <code>malloc()</code> zeroes memory on that platform 5530 (reported by Christian Weisgerber). 5531 5532 <li>modify logic for <code>deleteIsDEL</code> resource so it has 5533 internally 3 states: unspecified, true and false. If unspecified, 5534 the keyboard type determines whether the Delete key transmits 5535 <code><ESC>[3~</code> or <code>\177</code>, and the popup menu 5536 entry reflects the internal state. Otherwise, the popup menu entry 5537 overrides the keyboard type (suggested by Dr Werner Fink, to make it 5538 simpler to set resources that imitate the legacy X11R6 xterm). 5539</ul> 5540 5541<H1><A NAME="xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A></H1> 5542<ul> 5543 <li>modify <code>scroll-forw()</code> and <code>scroll-back()</code> 5544 actions, adding a third parameter which will direct xterm to ignore 5545 the action when mouse reporting is enabled. This is needed for 5546 the wheel mouse to be used to report to the application rather than 5547 scroll the window. 5548 5549 <li>add menu entry and action to allow disabling xterm's assumption 5550 that the current font contains line-drawing characters if the 5551 font cells 1-31 are nonempty. Some fonts may have other characters 5552 (reported by Bruno Betro <bruno@iami.mi.cnr.it>). 5553 5554 <li>add a check in <code>creat_as()</code> to ensure that the user 5555 really owns the logfile that has been opened. 5556 5557 <li>add logic to implement SCO function-keys. (This is really 5558 incomplete, since I intend to revisit this and make xterm able to 5559 emulate scoansi better than just the function-keys). 5560 5561 <li>add configure script option --enable-sco-fkeys, minor related fixes 5562 (patch by Dr Werner Fink). 5563 5564 <li>fix typos in ctlseqs.ms (reported by Bram Moolenaar) 5565 5566 <li>fix typo in sinstall.sh default for $TST_PROG (reported by 5567 Paul Gilmartin <pg@sweng.stortek.com>) 5568</ul> 5569 5570<H1><A NAME="xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A></H1> 5571<ul> 5572 <li>improve initialization of ANSI colors by delaying allocation until 5573 each color is first used. 5574 5575 <li>remove ifdef that prevented colorBD/colorUL/colorBL resources from 5576 working when 256-color configuration was built (reported by 5577 Todd Larason). 5578 5579 <li>fix some minor inconsistencies in terminfo (Debian #58530). 5580</ul> 5581 5582<H1><A NAME="xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A></H1> 5583<ul> 5584 <li>correct logic for <code>oldXtermFKeys</code> resource, fixes a core 5585 dump when attempting to set it from the command-line (reported by Dr 5586 Werner Fink). 5587 <li>correct ifdef for meta-sends-escap so configure --disable-num-lock 5588 builds. 5589</ul> 5590 5591<H1><A NAME="xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A></H1> 5592<ul> 5593 <li>add resource, popup menu entry and control sequence to allow 5594 changing the Delete key to send either DEL or the VT220-style 5595 Remove escape sequence. 5596 5597 <li>remove logic for metaSendsEscape that would allow xterm to send 5598 <code><ESC>[3~</code> before a function key that would begin 5599 with <code><ESC>[3~</code> (request by Christian Weisgerber). 5600 5601 <li>add missing action and documentation for meta-sends-escape. 5602 5603 <li>correct a few typos in ctlseqs.ms (incorrect code for Cyan color) 5604</ul> 5605 5606<H1><A NAME="xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A></H1> 5607<ul> 5608 <li>ensure that xterm will automatically activate the UTF-8 mode whenever 5609 the name of the locale environment variable suggests that a UTF-8 5610 locale is in use (patch by Markus Kuhn). 5611 This will help that by simply setting LC_CTYPE an 5612 entire system can be switched over to UTF-8, without users having to 5613 remember the UTF-8 command line options ("-u8", etc.) of the various 5614 applications. Command line options and X resource entries can still 5615 be used to override this default choice. 5616 5617 <li>add old function-keys control sequences and popup menu entry, for 5618 compatibility with legacy X11R6 xterm. 5619 5620 <li>revert translation of editing keypad "Delete" key to legacy \177. 5621 5622 <li>simplify the color-resource data expressions with macro COLOR_RES, 5623 for later use in restructuring color initialization. 5624 5625 <li>change encoding of wheel mouse (buttons 4 and 5) to avoid conflict 5626 with legacy mouse modifiers (suggested by Bram Moolenaar). 5627</ul> 5628 5629<H1><A NAME="xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A></H1> 5630<ul> 5631 <li>make this work on OpenVMS 5632 (integrated patch by David Mathog). 5633 5634 <li>rename some functions, e.g., <code>Index</code> to 5635 <code>xtermIndex</code> so that ports such as VMS which link 5636 externals ignoring case will not have library conflicts (reported by 5637 David Mathog). 5638 5639 <li>correct logic of <code>do_reversevideo()</code>, which did not 5640 update the corresponding popup menu check mark (reported by David 5641 Mathog, this was a detail overlooked in patch #94). 5642 5643 <li>change TRACE macro so semicolon is not within definition, making 5644 <em>indent</em> and similar programs work better. 5645 5646 <li>add <code>depend</code> rule to Makefile.in 5647 5648 <li>modify logic of boldColors resource to suppress it if an extended 5649 color control has been used, e.g., for 88-color or 256-color mode 5650 (patch by Todd Larason). 5651 5652 <li>revise logic that handles menus and input translation for keyboard 5653 type so only one can be selected at a time. 5654 5655 <li>restore kdch1=\177 for the Sun function-key type, and make the 5656 the Delete key send DEL (\177) if the oldXtermFKeys resource is set. 5657 5658 <li>rephrase logic and ifdef's for POSIX VDISABLE to avoid preprocessor 5659 expression that will not compile on NetBSD/x86 1.4.1 (reported by 5660 Takaaki Nomura <amadeus@yk.rim.or.jp>). 5661 5662</ul> 5663 5664<H1><A NAME="xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A></H1> 5665<ul> 5666 <li>change coding of editing keypad's "Delete" key to 5667 <escape>[3~, in the default (Sun/PC) keyboard mode. 5668 This makes the terminfo kdch1 capability independent of the 5669 coding of the backarrow key, which sends either backspace (8) 5670 or DEL (127). The reason for doing this (compatibility with 5671 the <em>screen</em> program) outweighs the choice of DEL (127) 5672 which was used in X11R5/X11R6 xterms. The <em>screen</em> 5673 program translates whatever matches kdch1 into <escape>[3~, 5674 even if it happens to be the stty erase character. 5675 5676 <li>add encoding for control/?, to work around xmodmap or key 5677 translations which may confuse backspace and delete. A control/? 5678 will send DEL (127), and a control/H will of course send backspace 5679 (8). 5680 5681 <li>add encoding for kcbt to <escape>[Z (fixes Debian #54840). 5682 5683 <li>minor correction to logic that encodes Sun and DEC function keys 5684 to avoid sending an escape sequence if the key symbol is not found 5685 in xterm's lookup table. 5686 5687 <li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern 5688 is more likely to be implemented when <em>imake</em> configures xterm 5689 (fixes Debian #55105). 5690 5691 <li>change manpage to make it clearer what codes are sent by the 5692 backarrow key. 5693</ul> 5694 5695<H1><A NAME="xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A></H1> 5696<ul> 5697 <li>add a note reserving OSC 51 for use in Emacs shell (request by 5698 Rob Mayoff <mayoff@dqd.com>). 5699 5700 <li>correct a missing backslash in xterm-vt220 termcap. 5701 5702 <li>cleanup remaining quoted includes, preferring bracketed form. 5703 5704 <li>minor configure-script macro updates from tin and vile. 5705 5706 <li>add configure-script option for using utempter library, adapted 5707 from Redhat 6.1 patch for XFree86 3.3.5 5708 5709 <li>resync with XFree86 3.9.17a: 5710 <ul> 5711 <li>correction to QNX support (Frank Guangxin Liu) 5712 <li>some cosmetic changes that did not correct any reported problems. 5713 </ul> 5714</ul> 5715 5716<H1><A NAME="xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A></H1> 5717<ul> 5718 <li>move the suggested wheel-mouse button translations into charproc.c 5719 to simplify customization. Correct some minor logic errors in the 5720 support for buttons 4 and 5, used for wheel mice (reported by 5721 Bram Moolenaar). 5722 5723 <li>implement <em>metaSendsEscape</em> resource, with corresponding 5724 control sequence and menu entry. Like <em>eightBitInput</em>, this 5725 causes xterm to send ESC prefixing the given key, but applies to 5726 all keys and is independent of the 8-bit/7-bit terminal setting. 5727 (requests by Alexander V Lukyanov and Marc Feeley). 5728 5729 <li>correct potential indexing with negative subscript in udk_lookup(), 5730 (reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>). 5731 5732 <li>modify configure script that sets TERMINFO_DIR to use ${prefix} 5733 rather than /usr if the --prefix option was specified (request by 5734 Zdenek Sekera <zs@sgi.com>). 5735 5736 <li>modify checks for repeat-character control sequence to test the 5737 character class against xterm's state table, rather than the 5738 isprint() macro (patch by Alexander V Lukyanov). 5739 5740 <li>change several functions to macros to improve speed 5741 5742 <li>two corrections to simulation of bold font via overstriking: 5743 <ul> 5744 <li>use clipping to avoid leaving trash at end of the text, and 5745 <li>add brackets so wide-character logic does not fall-through 5746 into the overstriking logic (reported by 5747 Marc Feeley <feeley@IRO.UMontreal.CA>) 5748 </ul> 5749 5750 <li>add several entries to termcap file to make it have the same set 5751 of aliases as the terminfo file. 5752 5753 <li>scale the color values used for xterm-256color terminfo entry to 5754 0..1000, as expected by ncurses. 5755 5756 <li>change xterm-r6 terminfo definitions for F1-F4 to match program. 5757 5758 <li>Add QNX/Neutrino support (Frank Guangxin Liu 5759 <frank@ctcqnx4.ctc.cummins.com>) 5760</ul> 5761<H1><A NAME="xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A></H1> 5762<ul> 5763 <li>change label on "Sun/PC Keyboard" popup menu entry to "VT220 5764 Keyboard", since the checked state corresponds to VT220 rather than 5765 Sun/PC. 5766 5767 <li>add configure test CF_UTMP_UT_XSTATUS to handle the variants of 5768 utmp exit status (reports by Dave Ellement, Jeremie Petit, Tomas 5769 Vanhala). 5770 5771 <li>amend treatment of ALT key 5772 (see <a href="#xterm_94">patch #94</a>) so that if ALT is used 5773 as a modifier in key translations, then no parameter will be sent 5774 in escape sequences for Sun/PC function keys (request by Dr Werner Fink). 5775 5776 <li>modify default for OPT_I18N_SUPPORT to assume that 5777 <code>XtSetLanguageProc()</code> is available in X11R5. 5778 <p> 5779 Caveat: <code>XtSetLanguageProc()</code> was 5780 added fairly late in the X11R5 patches, and some vendors shipped 5781 buggy versions of this function (request by Tomas Vanhala). 5782 5783 <li>correct configure macro CF_SYSV_UTMP to test-link with functions 5784 consistent with the header, e.g., getutent() for utmp.h and 5785 getutxent() for utmpx.h (reported by Greg Smith). 5786 5787 <li>modify terminfo entry for <code>xterm-xfree86</code> to reflect 5788 modifiers for shift and control which (from a patch by Alexander V 5789 Lukyanov). 5790 5791 <li>modify terminfo entry for <code>xterm-sun</code> to match the 5792 function-key definitions in ncurses. The pageup/pagedown and 5793 related function keys correspond to the Sun keyboard, which does 5794 not necessarily correspond with X's notion of those keys. 5795 5796 <li>modify treatment of XK_Delete keysym so it transmits parameterized 5797 VT220-style <code><ESC>[3~</code> if modifiers (shift, control 5798 alt) are given (request by Alexander V Lukyanov). 5799 5800 <li>corrected misspelled resource name in command-line option for 5801 HP function keys. 5802</ul> 5803 5804<H1><A NAME="xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A></H1> 5805<ul> 5806 <li>refine the change to <code>SGR_Background()</code> in patch #119, 5807 by not flushing the pending scrolling operation if the background 5808 color is not actually changing. This combination occurs when using 5809 color-ls to display a long listing, since each line ends with an SGR0 5810 which affects only the foreground color. The unnecessary flushing 5811 made it noticeably slower (reported by D Roland Walker 5812 <walker@pobox.com>). 5813 5814 <li>remove obsolete documentation about modifiers which can be returned 5815 in mouse tracking mode, and modify logic to ignore modifiers other 5816 than the existing ones, e.g., NumLock (prompted by discussions with 5817 Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>). 5818 5819 <li>use free bit from obsolete shift-modifier coding of mouse tracking 5820 button events to encode buttons 4 and 5, e.g., for a wheel mouse 5821 (requests by Brad Pepers and Bram Moolenaar). 5822 5823 <li>correct a place where the ptyInitialErase logic did not set the 5824 backarrowKey state, and modify it further to use tgetstr() rather 5825 than parse the termcap data returned from tgetent() so the 5826 ptyInitialErase logic will work when xterm is linked with a terminfo 5827 library (based on a patch by Dr Werner Fink <werner@suse.de>). 5828 5829 <li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration 5830 (patch by Michael Rohleder). 5831 5832 <li>improve configure script's utmp tests (based on reports by Greg 5833 Smith for os390, and David Ellement for HPUX). 5834 5835 <li>modify sinstall.sh to use uid=0 rather than 'root' to determine if 5836 the installer is privileged. This is needed on some systems since 5837 more than one account may be privileged (report by Greg Smith). 5838 5839 <li>add an application resource, <code>messages</code> (and a 5840 corresponding -/+mesg option) which controls the initial permission 5841 on the terminal: if messages is set to true (the default), behavior 5842 is as without the patch; if it is set to false (as per -mesg), the 5843 terminal is opened in mode 0600, thus producing the effect of the 5844 <code>mesg n</code> command. This is useful for users who want to 5845 redirect all their messages to one particular xterm: it is more 5846 pleasant to do this with xterm resources than with explicit calls to 5847 the <code>mesg</code> program (patch, description by David Madore 5848 <david.madore@ens.fr>). 5849</ul> 5850 5851<H1><A NAME="xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A></H1> 5852<ul> 5853 <li>add responses (DA and DSR) for DEC locator mode 5854 5855 <li>add coding for ANSI color to DA response 5856 5857 <li>implement UTF-8 translation for Media Copy (print) operations. 5858 5859 <li>implement vt320 control sequences for Print Composed Main Display 5860 and for Print All Pages. The latter directs xterm to print the 5861 current screen as well as the scrollback buffer. 5862 5863 <li>correct error in _GNU_SOURCE configure test, which left it always 5864 defined. 5865 5866 <li>add more information, i.e., with strerror for some system calls in 5867 the main program which may fail due to insufficient permissions 5868 (prompted by a problem report for <code>-C</code> by Jeremie Petit 5869 <Jeremie.Petit@digital.com>). 5870 5871 <li>add workaround for conflict between <X11/Xpoll.h> and 5872 <sys/select.h> on AIX 4.3 (Richard Griswold 5873 <griswold@acm.org>). 5874 5875 <li>add configure script test to resolve conflict between between 5876 <X11/Xpoll.h> and <sys/select.h> 5877 5878 <li>modify translation of UTF-8 sequences to reject "overly long" 5879 variations (patch by Markus Kuhn). 5880 5881 <li>remove <code>utf8controls</code> resource, since Markus' change 5882 removes the corresponding logic. 5883 5884 <li>correct a case where colors were not rendered properly. This 5885 happened when an application inserted several lines, then changed 5886 colors. If this was done all in one write, then there would be no 5887 intervening refresh, and the new color was applied to the pending 5888 scrolling operation which was awaiting the next refresh (reported 5889 by Stephane Chazelas <Stephane_Chazelas@Raytheon.com>). 5890 5891</ul> 5892 5893<H1><A NAME="xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A></H1> 5894<ul> 5895 <li>refine configure test for utmp versus utmpx, to build on HP-UX 10.x 5896 (reported by David Ellement). 5897 5898 <li>move the configure check for <code>const</code> after the check 5899 for ANSI C compiler options, since those may be required to make 5900 it work properly on HP-UX. 5901 5902 <li>add configure test for defining <code>_GNU_SOURCE</code> 5903 5904 <li>correction to <em>-hold</em> option, ensure that if data is already 5905 in the output buffer that it will be displayed before closing the 5906 PTY. 5907 5908 <li>move the configure checks for setuid install of xterm into a script 5909 to avoid installing it setuid'd to a non-root user (reported by 5910 Adam Sulmicki <adam@cfar.umd.edu>). 5911 5912 <li>correct configure script's check for termcap.h to avoid using 5913 ncurses' version of it on systems that have a working 5914 <code>tgetent()</code> function. This is needed to make 5915 <code>resize</code> work properly. 5916 5917 <li>fix some typography in ctlseqs.ms description of DEC locator events 5918 (reported by Steve Wall). 5919</ul> 5920 5921<H1><A NAME="xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A></H1> 5922<ul> 5923 <li>change order of tests in configure script for utmp and utmpx 5924 to test utmpx first, to compile on Solaris (reported by 5925 Leena Heino <liinu@uta.fi> 5926 and Patrik Hagglund <patha@ida.liu.se>). 5927 5928 <li>add a configure test for utmp.ut_xtime, needed for SCO Openserver, 5929 and for lastlog, needed for Redhat 6.0, to refine the utmp/utmpx 5930 auto-configure. 5931 5932 <li>remove a spurious comma in an #undef (reported by 5933 David Green <greendjf@cvhp152.marconicomms.com> and 5934 David Ellement <ellement@sdd.hp.com> both on HP-UX, whose 5935 compiler does care about syntax). 5936 5937 <li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported by Suhaib 5938 M. Siddiqi <Ssiddiqi@InspirePharm.Com>, who is told that the 5939 next Cygnus release will drop that symbol in their next release). 5940 5941 <li>minor cleanup of ifdef's for makeColorPair (patch by Steve Wall). 5942 5943 <li>work around problem observed in XFree86 3.3.5 5944 (patch by Alexander V Lukyanov, Mozilla #5419). 5945 From the problem report: 5946 <blockquote> 5947 xterm consumes cpu when selecting text with mouse (holding 5948 down left mouse button) and when a program working under the 5949 xterm outputs something to stdout. 5950 <p> 5951 Easy way to reproduce:<br> 5952 <code>while :; do echo aaa; sleep 1; done</code><br> 5953 (while this runs, select text and hold down left mouse button) 5954 watch cpu load.<br> 5955 release left mouse button - spinning stops. 5956 </blockquote> 5957</ul> 5958 5959<H1><A NAME="xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A></H1> 5960<ul> 5961 <li>modify warning if change-ownership of PTY fails; some 5962 configurations may not happen to have old-style pty's (reported by 5963 Bob Maynard). 5964 5965 <li>improve check in configure script for group ownership of installed 5966 xterm; some platforms use the -g option of ls to toggle group off 5967 rather than on (reported by Greg Smith). 5968 5969 <li>minor improvement to toolbar geometry, to make it not resizable. 5970 This still is not satisfactory (but is usable) since the toolbar 5971 overlaps the xterm widget if the window is resized to make it 5972 smaller. It appears that some work is needed for the xterm widget's 5973 geometry management to make it function properly. 5974 5975 <li>implement configure script tests for utmp, tty group. 5976 5977 <li>implement <em>-hold</em> option, allowing users to retain the 5978 window after a shell has exited (this is recently an FAQ, but 5979 prompted by a comment by Joachim Plaettner-Hochwarth 5980 <plaettner@aem.umn.edu> in comp.unix.programmer, that the IRIX 5981 winterm provides this option). 5982 5983 <li>add support for DEC Locator control sequences for xterm 5984 (integrated patch by Steve Wall): 5985 <pre> 5986 5987 DECEFR, "Enable Filter Rectangle" 5988 DECELR, "Enable Locator Reports" 5989 DECSLE, "Select Locator Events" 5990 DECRQLP, "Request Locator Position" 5991 </pre> 5992 This allows the xterm mouse to be used with applications that use the 5993 DEC Locator sequences, such as VAX Tpu, or SMG$ based applications. 5994 5995 <li>improve print action (patch by Matthias Baake). From his notes, 5996 <ul> 5997 <li>Bug 1<br> 5998 Underlined text is preceded by ESC [0;2m . This should be ESC [0;4m , 5999 ESC [2m doesn't seem to have any effect. (print.c/send_SGR) 6000 6001 <li>Bug 2<br> 6002 The check for the last non-empty column (while (last > 0) ... in 6003 print.c/printLine) omits the rightmost column of the screen, the loop must 6004 start with last = screen->max_col+1 instead of last = screen->max_col. 6005 6006 <li>Bug 3<br> 6007 Any attributes of the first character (and of all immediately following 6008 characters with the same attributes) are ignored. The variable attr 6009 (print.c/printLine) should be initialized with 0, not with *a & SGR_MASK. 6010 </ul> 6011</ul> 6012 6013<H1><A NAME="xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A></H1> 6014<ul> 6015 <li>integrated changes by Steve Wall to implement an 88-color model 6016 for systems where 256-colors cannot be allocated. 6017 6018 <li>when 256-color configuration is compiled, colored bold and 6019 underlining is not available; ifdef'd to avoid possible odd effects 6020 in this case (reported by Steve Wall). 6021 6022 <li>add resource <em>cacheDoublesize</em>, to limit the caching of font 6023 information for double-sized characters. This addresses a problem 6024 reported by Aryeh Koenigsberg for X terminals with limited font 6025 memory. 6026 6027 <li>modify treatment of line-drawing characters in UTF-8 mode so that 6028 the Unicode values are used rather than the C0 codes for storing the 6029 translated characters (request by Markus Kuhn). 6030</ul> 6031 6032<H1><A NAME="xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A></H1> 6033<ul> 6034 6035 <li>add configure script checks for Athena headers and libraries under 6036 /usr/contrib to work on HPUX (reported by several people: 6037 David Nixon <djn@csc.liv.ac.uk> 6038 Aryeh Koenigsberg <aryeh.koenigsberg@telrad.co.il> 6039 Johannes Mähner <johanm@camline.com> 6040 Andrew Gaylard <andrew.gaylard@bsw.co.za>). 6041 6042 <li>add check to configure script if xterm is installed setgid rather 6043 than setuid, since wtmp and utmp may be installed with group-writable 6044 permissions other than root (based on Debian bug report #7112 by Bo 6045 Branten <bosse@ing.umu.se>). 6046 6047 <li>rewrote logic that removes data from termcap entry, e.g., for 6048 titeInhibit, to make it less likely to remove the wrong data. 6049 6050 <li>correct logic which checks for missing characters used for line 6051 drawing. The 0 character was tested unnecessarily, leading to 6052 some inefficiency when rendering. 6053 6054 <li>change termcap capability which is used as input or output of 6055 ptyInitialErase logic from <em>kD</em> to <em>kb</em>. 6056 Christian Weisgerber <naddy@mips.rhein-neckar.de> pointed out 6057 in effect that <em>kD</em> (in terminfo <em>kdch1</em>) should 6058 correspond to the control sequence for <em>dch1</em>, which deletes 6059 from the current position toward the right. 6060 6061 <li>check for failure to change ownership of the PTY device and warn 6062 when xterm is running setuid'd to root. This was reported to happen 6063 on the FreeBSD/NetBSD/OpenBSD systems as a result of the chflags() 6064 call. 6065 6066 <li>add xterm-noapp terminfo entry to illustate a nominally 6067 bash-compatible terminal description. 6068</ul> 6069 6070<H1><A NAME="xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A></H1> 6071Several fixes. The main one is a first draft of pulldown menus. It's not 6072complete (I have some minor/annoying geometry problems to correct), but is 6073usable. Once it's complete I plan to add a menu to support additional 6074selections that won't fit on the current popup menus. Also, this fits into my 6075longterm plan to allow configuring with Motif libraries. 6076 6077<ul> 6078 <li>correct error in input conversion for NRC mode (reported by 6079 Stefan Traby <stefan@sime.com>). 6080 6081 <li>fix initialization of num_lock data in Misc struct (since those 6082 fields of the reference widget aren't initialized), and add logic to 6083 deal with XVision whose NumLock key does not transmit but does alter 6084 keypad state. 6085 6086 <li>correct a missing return-value in get_pty(), for SCO 6087 6088 <li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br> 6089 #define VAL_INITIAL_ERASE A2E(127) 6090 6091 <li>correct foreground color within cursor outline when the 6092 window is unfocused (reported by Stephane Chazelas). 6093 6094 <li>corrected position of scrollbar set in ResizeScrollBar(), which 6095 left it positioned incorrectly if the right scrollbar were enabled 6096 from the popup menu but was not initially enabled. 6097 6098 <p> 6099 I have noticed some additional problems with right-scrollbar on 6100 X11R5 which I will correct later. 6101 6102 <li>integrate changes by Jean-Claude Michot for QNX from XFree86 3.3.4c 6103 6104 <li>add resources menuBar/MenuBar, menuHeight/MenuHeight for later 6105 use in toolbar geometry. 6106 6107 <li>add configure option --enable-toolbar 6108 6109 <li>add missing definition to make ziconbeep logic not compile-in when 6110 configure script disables it. 6111 6112 <li>add configure-check for input-method support in X libraries 6113</ul> 6114 6115<H1><A NAME="xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A></H1> 6116<ul> 6117 <li>add null-pointer check to FlushLog(), fixes a core dump when both 6118 -l and -lf options are used when xterm is configured with wide-character 6119 support. 6120 6121 <li>remove "ISO" case for SD, which was due to a typographical error in 6122 ECMA-48 (reported by Paul Williams <paul@celigne.co.uk> for 6123 vttest). 6124 6125 <li>add "FILES" section to manpage. 6126 6127 <li>generate header file to initialize default resources for colors 6128 16-255. 6129 6130 <li>fixes for os390 (Greg Smith): 6131 <ul> 6132 <li>add README.os390 6133 6134 <li>use the pty_search() function to find an available pty/tty pair. 6135 6136 <li>move E2A() call out of getXtermCell() to SaveText() function 6137 so it will be available in all configurations. 6138 </ul> 6139 6140 <li>patches by Todd Larason: 6141 <ul> 6142 <li>enable SGR 48 5 in ISO color mode, not just 256 color mode 6143 6144 <li>change configure's --disable-256-color option to 6145 --enable-256-color, to match its effect 6146 6147 <li>fix OSC 4 xx ? (report ansi color) to report a string which can 6148 actually be used to set the color back 6149 6150 <li>fix OSC 4 xx yy (change ansi color) to not allow setting colors > 6151 15 in 16 color mode 6152 6153 <li>simplify the COLOR_ settings a bit in ptyx.h, along with setting 6154 NUM_ANSI_COLORS needed for #1 and #4 above 6155 6156 <li>correct string-terminator code passed for reference to OSC 6157 responses; when in 7-bit mode, only the final byte of ST was seen. 6158 6159 <li>Allow multiple color #;name pairs in OSC 4, 6160 and document changes to match. 6161 </ul> 6162</ul> 6163 6164<H1><A NAME="xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A></H1> 6165<ul> 6166 <li>add control sequences for specifying the RGB value of the ANSI 6167 colors, and for configuring with 256 colors (patch by Todd Larason 6168 <jtl@molehill.org>). I made the default configuration to 6169 16-colors, because xterm uses the default color map (which has only 6170 256 colors). 6171 6172 <li>correct an error in DCS $ q m reporting for colors 8-15 (Todd 6173 Larason). 6174 6175 <li>add test/demo script for double size characters. Used this to 6176 test/correct display of double size characters that should wrap, 6177 underlined double size characters. 6178 6179 <li>increased cache size for double size fonts to 8, to allow for both 6180 normal and bold fonts (discussion with Aryeh Koenigsberg 6181 <aryeh.koenigsberg@telrad.co.il>). 6182 6183 <li>add fixes for port to OS390 aka MVS 6184 (integrated patch from Greg Smith <rys@epaibm.rtpnc.epa.gov>). 6185 OS390 uses EBCDIC rather than ASCII. 6186 6187 <li>correct an off-by-one in binary search limits in keysym2ucs.c (Markus 6188 Kuhn). 6189 6190 <li>implement logging for UTF-8 mode. The output is written in UTF-8 form. 6191</ul> 6192 6193<H1><A NAME="xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A></H1> 6194<ul> 6195 <li>If colorMode is enabled by default, compile-in default resources to 6196 match the colors listed in XTerm-col.ad (this should fix a 6197 longstanding FAQ). 6198 6199 <li>added new OSC 3 ; PROPNAME=VALUE ST escape 6200 sequence to set an arbitrary X property on the top level xterm X11 6201 window. Omit "=VALUE" to delete the X property (patch by Greg Badros 6202 <gjb@cs.washington.edu>). 6203 6204 <li>change internal flag used for <em>utf8controls</em> resource 6205 so we allow 31-bit range of characters (suggested by Thomas Wolff). 6206 6207 <li>add check for 16-bit characters in OSC strings, change them to '?' 6208 (reported by Thomas Wolff). 6209 6210 <li>modify logic of same_font_name() to avoid trying to interpret both 6211 parameters as wildcard patterns. That does not (cannot) work, and in 6212 some instances the font server will return unresolved wildcards for 6213 the normal or bold fontnames, making them match inadvertently, 6214 triggering the fallback overstrike logic (reported by Tim Adye). 6215</ul> 6216 6217<H1><A NAME="xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A></H1> 6218<ul> 6219 <li>correct range-check from patch #108, which resulted in not being 6220 able to select from the scrollback buffer (reported by Tim Adye 6221 <T.J.Adye@rl.ac.uk>) 6222 6223 <li>correct "no available ptys" problem with Cygwin B20.1 (patch by Tim 6224 Adye). 6225 6226 <li>modified install-ti rule in Makefile.in to allow override of the 6227 terminfo directory when doing a "make install", i.e., by assigning 6228 to TERMINFO_DIR (request by Zdenek Sekera <zs@sgi.com>). 6229 6230 <li>added install-full rule to Makefile.in 6231 6232 <li>resync mkdirs.sh and install.sh scripts against current autoconf 6233 6234 <li>implement $(DESTDIR) in Makefile.in, making it simple to install 6235 xterm and associated files into a directory just for packaging a 6236 binary release (suggested by CaT <cat@zip.com.au>). 6237 6238 <li>change IChar type to unsigned, rather than unsigned short, making 6239 room for a flag to keep with 16-bit characters to prevent them from 6240 being interpreted as C0 or C1 controls (reported by Thomas Wolff). 6241 6242 <li>correct a typo from patch #107, incorrect array name, in the 6243 filterUTF8 function (patch by Bruno Haible <haible@ilog.fr>) 6244 6245 <li>add <em>utf8controls</em> resource to specify whether xterm should 6246 interpret 16-bit characters unpacked from UTF-8 form as control 6247 characters if they happen to fall into that range. This behavior 6248 is left unspecified by the Unicode standard (request by Thomas Wolff). 6249 6250 <li>modify handling of OSC to recover if application sends 16-bit 6251 characters with codes above 255. We cannot display them as is, but 6252 translate out-of-range characters to a '?' (reported by Thomas 6253 Wolff). 6254</ul> 6255 6256<H1><A NAME="xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A></H1> 6257<ul> 6258 <li>add a range-check to LastTextCol(), to guard against indexing 6259 before the beginning of the scrollback buffer. This appears to 6260 happen with certain fonts under X11R5 (reported by Stephane Chazelas 6261 <Stephane_Chazelas@Raytheon.com>). 6262 6263 <li>implement resource <em>boldMode</em>, to allow disabling the 6264 simulation of bold fonts when the bold and normal fonts are not 6265 different (requested by Will Day <willday@rom.oit.gatech.edu>). 6266 6267 <li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few bugs in 6268 the UTF-8 selection (patch by Juliusz Chroboczek). 6269 6270 <li>correct logic of binary-search in keysym2ucs.c (patch by Markus 6271 Kuhn). 6272 6273 <li>add special interpretation of keysym codes above 0x1000000 as 6274 the corresponding UCS value plus 0x1000000 (patch by Markus Kuhn). 6275</ul> 6276 6277<H1><A NAME="xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A></H1> 6278<ul> 6279 <li>Two changes from Stephen P Wall. 6280 From his description: 6281 <blockquote> 6282 The first change is simple - I added ESC[3J to erase the stored lines 6283 above the screen. That's what the changes to util.c and ctlseqs.ms 6284 are. 6285 <p> 6286 The second change is to get the blinking cursor working. I took out 6287 the cursorBlinkTime resource, and put in cursorBlink (Boolean), 6288 cursorOnTime (time cursor is on in msecs) and cursorOffTime, and added 6289 a cursorblink item to the vtMenu to enable/disable it. 6290 </blockquote> 6291 6292 <li>improve selection (integrated patch by Juliusz Chroboczek). 6293 From his description: 6294 <blockquote> 6295 With this patch, selection conversion works properly: 6296<pre> 6297 ISO 8859-1 xterm -> ISO 8859-1 xterm (transferred as STRING); 6298 ISO 8859-1 xterm -> UTF-8 xterm (transferred as STRING); 6299 UTF-8 xterm -> ISO 8859-1 xterm (transferred as STRING); 6300 UTF-8 xterm -> UTF-8 xterm (transferred as UTF-8). 6301</pre> 6302 It will not work properly if one xterm is in, say, ISO 8859-2. 6303 Actually, for this case xterm breaks the ICCCM routinely (sending ISO 6304 8859-2 data as STRING), so I wouldn't worry too much about it. I have 6305 not changed the behaviour in eight-bit mode in any way. 6306 </blockquote> 6307</ul> 6308 6309<H1><A NAME="xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A></H1> 6310<ul> 6311 <li>remove duplicate fix for OpenBSD in resize.c 6312 6313 <li>correct logic in ScreenWrite, which did not reset the high bytes 6314 of 16-bit characters when overwriting them with a 8-bit character 6315 string (reported by Thomas Wolff). 6316 6317 <li>provide limited support for 6318 input of UTF-8 16-bit data by a lookup table 6319 (integrated patch by Markus Kuhn). 6320 6321 <li>correct check in non_blank_line to ensure we're in wide-character 6322 mode before looking at the high bytes, for InsertChar. 6323</ul> 6324<H1><A NAME="xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A></H1> 6325<ul> 6326 <li>implement new resource <em>trimSelection</em>, which allows xterm 6327 to trim trailing blanks from selected lines. This does not affect 6328 the highlighting. (reported by several people using <em>mutt</em>, 6329 including 6330 Hans Morten Kind <edphk@uib.no>, 6331 Jeremy <jeremy@exit109.com> 6332 and (Michael Fuller <msf@mds.rmit.edu.au>). 6333 6334 <li>include term.h in resize for OpenBSD (patch by Matthieu Herrb). 6335 6336 <li>correct logic for UTF-8 in functions that hide and show the cursor; 6337 it was displaying a space whenever the low byte of the character at 6338 the cursor position was zero (reported by Thomas Wolff 6339 <Thomas.Wolff@icn.siemens.de>). 6340</ul> 6341 6342<H1><A NAME="xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A></H1> 6343This is a resync patch against XFree86 3.9Pn, reflecting changes which were 6344submitted by Branden Robinson, who worked with 6345Wichert Akkerman <wichert@cs.leidenuniv.nl> 6346to set up ifdef's to handle GNU libc 2.1, 6347and use getpt() which lets xterm avoid having to know the actual PTY name. 6348<p> 6349I have also added a few fixes for signed/unsigned mismatches, and corrected 6350a problem in the configure script (the UTF-8 code was always configured since 6351the Imakefile defines this). 6352 6353<H1><A NAME="xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A></H1> 6354<ul> 6355 <li>correct selection logic: I omitted an offset that accounts for 6356 the distance into the scrollback buffer when rewriting this for 6357 patch #101. Also fixed a similar problem for selecting double 6358 size characters from the scrollback buffer (first was reported 6359 by D Roland Walker <walker@pobox.com>). 6360 6361 <li>improved support for Unix98 PTY's, using patch in Debian bug report 6362 #35650, by J.H.M. Dassen <jdassen@wi.leidenuniv.nl>. From 6363 the patch description: 6364 <blockquote> 6365 <ul> 6366 <li>No longer links xterm against libutil on a glibc2.1 system. 6367 libutil is a compatibility library and should only be used when 6368 necessary. Rather than having get_pty() use openpty() from this 6369 compatibility library, use the real UNIX98 pty support in get_pty() 6370 (open()ing the master pty, through getpt() if available (glibc 6371 extension)). Use openpty() only under glibc2.0. 6372 <li>GNU libc2 is not Linux-specific; already it runs on the Hurd. It 6373 provides the UNIX98 pty functions (plus the getpt() extension), 6374 regardless of the underlying OS. Changed two constructs to look for 6375 GNU libc2 only, not GNU libc2 on Linux. 6376 </ul> 6377 </blockquote> 6378 6379 <li>improve font configuration, by checking if the user's resource 6380 settings for normal and bold fonts give the same font sizes 6381 (fixes problem reported by Peter Waltenberg <peterw@dascom.com>). 6382</ul> 6383 6384<H1><A NAME="xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A></H1> 6385<ul> 6386 <li>revert change to openpty call in patch #101; this causes xterm to 6387 fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn Brand). 6388 6389 <li>modify print.c to move include of stdio.h after the autoconf'd 6390 xtermcfg.h since HP's ANSI C compiler otherwise sees inconsistent 6391 prototype for getopt, probably due to problem with const (reported by 6392 H Merijn Brand). 6393</ul> 6394 6395<H1><A NAME="xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A></H1> 6396<ul> 6397 <li>moved includes and definitions for 'select' from data.h to xterm.h 6398 to fix problem introduced by prototype for getPtyData, part of UTF-8 6399 changes (reported by Jens Schleusener <Jens.Schleusener@dlr.de>) 6400 6401 <li>added "Meta <Btn2Down>:clear-saved-lines()" default 6402 translation (patch by H Merijn Brand) 6403 6404 <li>fixes to configure script and ifdef's in main.c to build on a 6405 HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with egcs 1.1.2 6406 and HP's ANSI C compiler (patch by H Merijn Brand 6407 <PROCURA_BV@CompuServe.com>) 6408 6409 <li>add more parentheses in ifdef's (patch by Bob Maynard). 6410 6411 <li>eliminate conflicting definitions for USE_TERMINFO in resize.c 6412 (reported by Jeremy Buhler). 6413 6414 <li>change openpty call to pass NULL rather than ttydev parameter, 6415 since that was used only to estimate the length of the 6416 corresponding data, and may not really be long enough 6417 (reported by Andreas Jaeger) 6418 6419 <li>update description in xterm manpage for character class table, 6420 which said it handles only 7-bit codes. 6421 6422 <li>correct a typo in ScrnDeleteChar() which made it not clear the 6423 high byte of wide-character data. 6424 6425 <li>add logic to convert selection to UTF-8 form when appropriate. 6426 This makes select/paste "work", but further work is needed to 6427 make UTF-8 recognized as a locale in Xlib. 6428 6429 <li>correct right-limit check when selecting double-width characters. 6430 6431 <li>change default answerback response to an empty string. 6432</ul> 6433 6434<H1><A NAME="xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A></H1> 6435<ul> 6436 <li>Correct a typo in the default resource value for 6437 backarrowKeyIsErase: it was always true (reported by Bram 6438 Moolenaar). 6439 6440 <li>improve configure script's test if the installed xterm is setuid, 6441 in case that is a symbolic link. 6442 6443 <li>correct "install-ti" rule in Makefile.in, by not setting a blank 6444 $TERMINFO value. That is interpreted as "." by ncurses' tic. 6445</ul> 6446 6447<H1><A NAME="xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A></H1> 6448<ul> 6449 <li>correct logic that computes num_ptrs count of the number of indices 6450 into the screen buffer. This is the maximum of the colors and 6451 character-set indices; was incorrect in patch #97. 6452 6453 <li>correct argument type for sigsetjmp, incidental change in patch 6454 #96's Unix88 PTY patch (reported by Bram Moolenaar). 6455 6456 <li>correct description of secondary DA in ctlseqs.ms (reported by Bram 6457 Moolenaar). 6458 6459 <li>decouple the backarrowKey and ptyInitialErase resources by 6460 adding a new resource backarrowKeyIsErase, to accommodate people 6461 using applications which have hardcoded tests for characters 8 and 6462 127 rather than relying on the stty settings. 6463 6464 <li>modify the UTF-8 decoder so that all possible illegal UTF-8 6465 sequences are properly represented by U+FFFD. This should be very 6466 helpful for developers of code that output UTF-8 strings for 6467 debugging. See the file utf-8-test.txt in 6468 http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a 6469 demonstration text that contains numerous illegal UTF-8 values. 6470 (patch by Markus Kuhn). 6471 6472 <li>correct a place in ScrnRefresh where I was filling the high byte of 6473 a wide character with a space rather than a null (reported by Markus 6474 Kuhn). 6475</ul> 6476 6477<H1><A NAME="xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A></H1> 6478<ul> 6479 <li>correct data manipulation in unparseputc(), broken for 6480 little-endian machines by patch #97's UTF-8 changes. This meant that 6481 keyboard input on SunOS did not work, though Linux i386 was fine. 6482 6483 <li>modify initialization for backarrowKey and logic for initial-erase 6484 to prevent the initial-erase from overriding an explicitly set 6485 backarrowKey resource (reported by Vikas Agnihotri). 6486 6487 <li>add a missing null-pointer check in ScrnRefresh, for the 6488 wide-characters configuration. 6489</ul> 6490 6491<H1><A NAME="xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A></H1> 6492<ul> 6493 <li>add configure script test for -lutil, needed for openpty call when 6494 configuring xterm for Glibc-2.1 and Unix98 PTY's (first reported by 6495 Martin Lorentz" <m.lorentz@w12.link-goe.de>). 6496 6497 <li>completely parenthesize ifdef expressions for Glibc (suggested by 6498 Bob Maynard). 6499 6500 <li>add initial-erase options (-ie, +ie) to help message (reported by 6501 Vikas Agnihotri). 6502 6503 <li>remove duplicate definition of USE_USG_PTYS (reported by Jeremy 6504 Buhler). 6505 6506 <li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a DEL 6507 (\177). 6508 I overlooked this when separating the styles of keyboard with 6509 the <em>sunKeyboard</em> resources in patch #94, so that it normally 6510 matches the value of the stty erase character: 6511 <ul> 6512 <li>Reported by Jae Gangemi <jgangemi@ccf.rutgers.edu>, 6513 this caused emacs to not process the DEL properly, combining it 6514 with succeeding characters. 6515 <li>This does not appear to be related to a problem which I have 6516 found with <em>screen</em>, which translates the stty erase into 6517 the termcap <em>kD</em> or terminfo <em>kdch1</em> value 6518 (depending on how it is linked) 6519 if the $TERMCAP variable is set when <em>screen</em> is invoked. 6520 </ul> 6521 6522 <li>add command-line options for enabling UTF-8 mode: -u8 and +u8. 6523 The more obvious -utf8 and +utf8 would conflict with xterm's 6524 -ut and +ut (utmp) options. 6525 6526 The UTF-8 changes were requested by Markus Kuhn 6527 <Markus.Kuhn@cl.cam.ac.uk>. This patch does not complete UTF-8 6528 implementation, but makes it usable, i.e., display and refresh work, 6529 and I am able to display the test cases which Markus provides. 6530 More work is needed to complete this feature: 6531 <ul> 6532 <li>the control sequences for switching in/out of UTF-8 mode are 6533 partly implemented (don't use them). Similarly, the switching 6534 between vt100 and tek4014 emulations when UTF-8 mode is enabled 6535 will not work properly. 6536 <p> 6537 You must use the -u8 command line option 6538 to use this feature, as well as compile with the OPT_WIDE_CHARS 6539 definition. 6540 <li>cut/paste only copies 8-bit characters. 6541 <li>logging is disabled in the wide-character configuration 6542 <li>printing only writes 8-bit characters. 6543 <li>input only does 8-bit characters. This is the area that I know 6544 least about. 6545 </ul> 6546</ul> 6547 6548<H1><A NAME="xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A></H1> 6549<ul> 6550 <li>modify Makefile.in to work with configure script's --srcdir option. 6551 (patch by Jeremy Buhler <jbuhler@cs.washington.edu>) 6552 6553 <li>add checks for 'echo -n' equivalent for 8colors.sh and 16colors.sh 6554 scripts (reported by Vikas Agnihotri). 6555 6556 <li>improve logic that looks for bold fonts to allow for wildcards 6557 in the specification for normal fonts, and to ensure that if 6558 a bold font is specified as normal, that xterm will simulate a 6559 bold version of that using a one-pixel offset overstrike 6560 (reported by Henrik Harmsen <harmsen@erv.ericsson.se>). 6561 6562 <li>correct horizontal spacing of double width line-drawing characters 6563 that xterm simulates. 6564 6565 <li>improve support for Unix98 PTY's, using patch in Debian bug report 6566 #35650, by Topi Miettinen <Topi.Miettinen@medialab.sonera.fi>. 6567 Andreas Jaeger says this also corrects a permissions problem 6568 reported by cat@zip.net.au 6569 6570 <li>modify initial-erase logic to ensure that <code>ttyModes</code> 6571 resource overrides it. 6572</ul> 6573 6574<H1><A NAME="xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A></H1> 6575<ul> 6576 <li>modify primary DA response to allow a '1' parameter. 6577 6578 <li>add printer and national replacement character sets to VT220 6579 primary DA response. 6580 6581 <li>document primary and secondary DA responses in ctlseqs.ms 6582 6583 <li>use the patch number (e.g., 95) in the secondary DA response, 6584 providing user applications a means of determining the version 6585 of xterm for feature comparison (request by Bram Moolenaar). 6586 6587 <li>make xterm respond to secondary DA when the decTerminalID 6588 is set for VT100. 6589 6590 <li>limit user-defined keys (DECUDK) to VT220-style keyboard 6591 when sunKeyBoard resource is true. 6592 6593 <li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with 6594 Glibc-2.1 and no Unix98 PTY support (patch from Andreas Jaeger 6595 <aj@arthur.rhein-neckar.de>) 6596 6597 <li>add optional feature (resource and command-line options) to make 6598 xterm use the PTY's sense of erase character on startup, rather than 6599 requiring it to be \177, or set the PTY's erase character to match 6600 xterm's configuration. Note that while $TERMCAP is modified to 6601 reflect the actual configuration, the terminfo kdch1 string is not 6602 (request by Dirk H Hohndel <hohndel@suse.de>) 6603 6604 <li>improve scripts in vttests to work with newer shells that do not 6605 use 'echo -n'. 6606 6607 <li>add fonts.sh example script 6608 6609 <li>correct inequality in handling of "#1" font specification. 6610 6611 <li>correct call to XGetWMNormalHints() used for computing maximum 6612 screen size; the size hints may not have been set. 6613 6614 <li>begin implementation of support for wide-characters (configure 6615 option --enable-wide-chars defines OPT_WIDE_CHARS, invoke xterm with 6616 -wc option to activate this feature). This patch optionally widens 6617 internal data structures, invokes the 16-bit text output rather than 6618 the 8-bit version and adds some tables. 6619 6620</ul> 6621<H1><A NAME="xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A></H1> 6622<ul> 6623 <li>further fixes for terminfo: ka1, ka3, etc., differ between the 6624 default xterm-xfree86 and xterm-vt220 entries. 6625 6626 <li>change default (with sunKeyboard resource false) behavior of 6627 the editing keypad "Delete" to send a 127, like xterm-r6. 6628 The VT220-style <code><ESC>[3~</code> is sent when 6629 sunKeyboard is true (reported by Tomas Vanhala). 6630 6631 <li>add parameters to function keys to indicate if shift, control 6632 or alt are set. The codes are based on a description of 6633 a DEC VT510 with a PC keyboard, from Jeffrey Altman 6634 <jaltman@watsun.cc.columbia.edu>. 6635 6636 <li>add control sequence 1035, set-num-lock action and num-lock 6637 menu entry to control the use of the NumLock and Alt keys for 6638 the Sun/PC and VT220 keyboard extensions. 6639 6640 <li>implement DECSET/DECRST numeric keypad (DECNKM) mode. 6641 6642 <li>modify terminfo and termcap to use recommended "X Window" or "X11" 6643 names rather than "X Windows" (reported by Tomas Vanhala). 6644 6645 <li>suppress translation of shifted keypad "+" when sunKeyboard 6646 is true. 6647 6648 <li>workaround unexpected behavior (perhaps bug) in XmbLookupString, 6649 which returns trash in the string buffer for numlock and control-key 6650 combined with keypad-keys. 6651 6652 <li>modify ScrollBarReverseVideo() to keep scrollbar border visible 6653 when reverse video is toggled. 6654 6655 <li>correct missing case for parameter 17 (set highlight color) in 6656 dynamic colors control sequences. 6657 6658 <li>extend dynamic colors control sequences to allow users to 6659 determine the colors and font which are currently active. 6660 6661 <li>minor tweak to OSC responses, to use BEL if the application used 6662 that to end the request, rather than ST. This works better with 6663 shell scripts, which may not handle an 6664 <code><ESC>backslash</code> very well. 6665 6666 <li>separate menu settings for reverse video from that done under 6667 program control. 6668 6669 <li>corrected ifdef's for menus, which did not allow tek4014 to 6670 be suppressed properly (reported by Clint Olsen). 6671 6672 <li>changes for Linux-2.2.x with GLibc-2.1 and 6673 /dev/ptmx support (integrated patch from Pavel Roskin): 6674 <ul> 6675 <li>main.c and resize.c were using different rules to determine 6676 whether ATT should be defined (actually USE_USG_PTYS is more 6677 apt). 6678 6679 <li>copy definitions from main.c to resize.c to prevent 6680 sys/stream.h and sys/ptem.h from inclusion when SYSV is not 6681 defined 6682 6683 <li>define CNUL if not already defined like other variables. 6684 6685 <li>/dev/tty does exist in Linux, but it doesn't mean, it 6686 should be used. Therefore EACCES is now an acceptable 6687 result. 6688 6689 <li>ifdef'd several calls such as <code>ioctl (ptyfd, I_PUSH, 6690 "ptem")</code> to build on Linux (I_PUSH is not defined when 6691 sys/stropts.h is not included). 6692 </ul> 6693 6694 <li>initialize second "ltc" variable in main.c (reported by David 6695 Dawes). 6696 6697 <li>provide definition for USE_USG_PTYS in screen.c 6698 6699 <li>add resource-files to install rule in standalone Makefile.in 6700 6701 <li>add sample scripts to illustrate titlebar controls, resizing 6702 and colors. 6703</ul> 6704 6705<H1><A NAME="xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A></H1> 6706Here are several fixes and minor enhancements. The chief ones 6707are the fixes for NumLock mode and reverse video, since we had become 6708used to working around the problems. 6709<ul> 6710 <li>remove kfnd/kll/kslt strings from terminfo, because curses 6711 applications do not necessarily return khome/kend pairs 6712 (reported by Vikas Agnihotri). 6713 6714 <li>implement NumLock resource which overrides the keyboard tables for the 6715 special case of keypad keys. This is a problem introduced in xterm 6716 by X11R6 changes, i.e., an ambiguity which in effect discarded vt100 6717 keypad support. 6718 6719 <li>modify Sun/PC keyboard mode to extend this (emulation of DEC vt100 6720 keypad) to the remainder of the numeric keypad. Now, the default 6721 operating mode of xterm uses the keyboard tables as-is (except if 6722 the NumLock mode overrides), but provides good vt100 keypad compatibility 6723 if the Sun/PC keyboard menu item is checked. 6724 6725 <li>separate command-line settings for reverse video from that done 6726 under program control. This is a problem which was introduced by 6727 X11R6. Though <em>correct</em>, most users are confused by allowing 6728 the reset command to undo the effect of the command-line <kbd>-rv</kbd> 6729 option. 6730 6731 <li>add description of function keys, keypad and cursor keys to ctlseqs.ms 6732 6733 <li>add terminfo entries for xterm-vt52, xterm-sun and xterm-hp 6734 6735 <li>correct typo (missing case value) for DECSET 35, enable/disable 6736 shifted keypad action and a few compiler warnings (reported by Zdenek 6737 Sekera <zs@sgi.com>). 6738 6739 <li>correct reporting of color values 8-15 in DECRQSS (reported by 6740 Vikas Agnihotri). 6741 6742 <li>modify parsing of ttyModes resource to recognize "^-" as "undef" 6743 (requested by Tomas Vanhala). 6744 6745 <li>integrate/extend changes to add iconify/maximize actions 6746 (from Edward S. Arthur <eda@ultranet.com>). 6747 6748 <li>add control sequences for maximizing/restoring window, and 6749 for reporting maximum screen size. 6750 6751 <li>add 'interpret' action, to support local function-key interpretation. 6752 Used properly, this makes most of the specialized actions of xterm 6753 redundant. 6754 6755 <li>add control sequence private modes 1051, 1052 and 1052, for 6756 setting the Sun and HP function key modes, and for setting the 6757 Sun/PC keyboard mode. 6758 6759 <li>add configure option --disable-maximize 6760 6761 <li>add configure option --disable-num-lcok 6762 6763 <li>extend descriptions of configure script options in INSTALL. 6764</ul> 6765 6766<H1><A NAME="xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A></H1> 6767<ul> 6768 <li>increase buffer size for tgetent (i.e., termcap) to 1500. This 6769 fixes a problem where <em>screen</em> is built using ncurses or 6770 GNU termcap and <em>xterm</em> is built using the standard termcap 6771 interface. The former does not limit the termcap size, while the 6772 latter is assumed to be no longer than 1023 characters. The 6773 <em>screen</em> program's termcap entry is about 1200 characters 6774 long. 6775 6776 <li>change update_menu_item() to a function, to simplify debugging. 6777 This also reduces the executable by 4Kb. 6778 6779 <li>add control sequences for DECSET 30, 1010, 1011 like rxvt (enable 6780 or disable some features that were only settable via resources or 6781 command line arguments). 6782 6783 <li>add control sequence for DECSET 35, which enables/disables the 6784 shifted keypad functions. 6785 6786 <li>add support for switching font sizes, by stepping through the 6787 font menu using shifted keypad plus and minus. 6788 6789 <li>correct missing initialization of tekInhibit and tekSmall resources. 6790 6791 <li>correct ifdef's in charproc.c for XtNgeometry and XtCGeometry 6792 (reported by Bram Moolenaar). 6793</ul> 6794 6795<H1><A NAME="xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A></H1> 6796<ul> 6797 <li>Implement logic to translate input characters which are mapped 6798 when in vt220 National Replacement Character mode (requested by 6799 Tomas Vanhala). 6800 6801 <li>Resync configure scripts with my patches to autoconf 2.13 6802 6803 <li>Change order of -lXmu and -lXext to accommodate cygwin32 6804 (reported by Vikas Agnihotri). 6805 6806 <li>Add "-ti" option to set terminal emulation level from command 6807 line rather than via resource. 6808 6809 <li>Simplify some of the preprocessor logic using #elif. 6810</ul> 6811 6812<H1><A NAME="xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A></H1> 6813This implements several small fixes and enhancements. The chief one implements 6814fallback support for line drawing characters with fonts that do not include 6815those characters. But I implemented that last. 6816 6817<ul> 6818 <li>If any of the glyphs in positions 0-31 (used by xterm to implement 6819 the VT100 alternate character set) are zero-sized (i.e., missing), 6820 xterm will reserve a normal space for the glyph when drawing. I 6821 implemented a simple stroke-drawing function to draw the line-drawing 6822 characters and a couple of the other (simpler) characters such as 6823 diamond. (This was suggested by Vikas Agnihotri). 6824 6825 <li>Modify the computation of doublesize characters to work around font 6826 servers which shift the scaled characters up/down or do not give the 6827 correct width. 6828 6829 <li>Add popup menu item and corresponding resource settings to disable 6830 the font-scaling logic for doublesize characters to work around 6831 (older) font servers which simply do not draw the fonts scaled to the 6832 size that they said they would. I see this problem on a SunOS system 6833 running X11R5; the X11R6 servers seem well behaved. 6834 6835 <li>Implement new escape sequence, private mode 1049, which combines 6836 the switch to/from alternate screen mode with screen clearing and 6837 cursor save/restore. Unlike the existing escape sequence, this 6838 clears the alternate screen when switching to it rather than when 6839 switching to the normal screen, thus retaining the alternate screen 6840 contents for select/paste operations. 6841 6842 <p>When I implemented the popup menu entry to toggle between the normal 6843 and alternate screens, I considered only pasting from the normal 6844 screen to the alternate; this improvement allows either direction. 6845 6846 <li>Changed the termcap and terminfo for xterm-xfree86 and xterm-8bit 6847 to use the new 1049 private mode. 6848 6849 <li>Modify the logic which switches between normal and alternate 6850 screens so that the save/restore cursor operations apply only to the 6851 current screen. That means that applications which use the terminfo 6852 smcur/rmcur or termcap ti/te capabilities will restore the cursor to 6853 the original position on the normal screen rather than to the most 6854 recent place where a save-cursor operation was performed. 6855 6856 <p>I note that a real VT100 terminal would not behave in this way, 6857 but it is a moot point since the VT100 does not implement alternate 6858 screen, and therefore the save/restore cursor sequence would not be 6859 used in this context. I reviewed the logic which switches between 6860 normal and alternate screens based on some recent newsgroup postings 6861 as well as a proposed patch in the Debian group which attempts to 6862 do this (the patch has a bug, however, so I did not use it). 6863 6864 <li>Add popup menu entry for toggling the titeInhibit resource. 6865 6866 <li>Add new resource answerbackString, which overrides the default 6867 "xterm" returned by xterm when responding to an ENQ (control/E) 6868 character (request by Rajesh Vaidheeswarran <rv@fore.com>). 6869 6870 <li>Add new resource keyboardDialect for setting the NRC display 6871 character set (request by Tomas Vanhala, who notes that I should 6872 add logic to translate the keyboard as well). 6873 6874 <li>Add new command-line option and corresponding resources for making 6875 xterm generate escape sequences compatible with HP terminals. Like 6876 the existing Sun escape sequences, this is available as a popup menu 6877 item. It is enabled by the configure script with the option 6878 --enable-hp-fkeys (requested by Toni Mueller <sales@oeko.net>). 6879 6880 <li>Add configure script option --disable-boxchars to disable the 6881 fallback support for line drawing characters. 6882 6883 <li>Fix ifdef's for configure script --disable-ansi-color, and reviewed 6884 all configure options to ensure that all can be enabled/disabled 6885 appropriately. 6886 6887 <li>Update config.guess and config.sub, from Lynx. 6888</ul> 6889 6890<H1><A NAME="xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A></H1> 6891This patch completes the implementation of double-sized character support 6892for the VT100 emulation, and fixes a few minor bugs: 6893 6894<ul> 6895<li>corrected the cursor position in HideCursor, which did not multiply 6896the column by two when in doublesize mode. 6897This bug, which did not appear in normal use, 6898dates back to my original <a href="#xterm_44">changes</a> to partly implement 6899double-sized characters. 6900I noticed it when cat'ing a typescript from vttest's double-sized character 6901test. 6902<li>ensure that the current line is repainted when switching between 6903single and double width characters. 6904<li>reduce the number of bits used for double-sized character coding 6905from 3 to 2, to make more room for soft-font codes. 6906<li>copy newer ifdef's from the XFree86 3.3.3 release's main.c, 6907which address details of glibc and powerpc. 6908<li>moved definition of DECL_ERRNO in xterm.h to match XFree86 3.3.3 6909<li>modify <em>resize</em> to remove the ifdef on SVr4 that suppressed 6910printing the script for $LINES and $COLUMNS. 6911Solaris' resize utility does this; suppressing the behavior is unnecessary. 6912</ul> 6913I tested the double-sized characters using vttest and the xfsft patch. 6914These fonts worked reasonably well: 6915<pre> 6916 -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1 6917 9x15 6918</pre> 6919The iso8859 font does not include box characters, of course, but looks good. 6920 6921<H1><A NAME="xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A></H1> 6922This refines my #85 patch by checking for a case where the font server 6923returns a bold font that does not quite correspond to the normal font. 6924When I asked for a bold version of the 6x12 font, the font server 6925returned a near equivalent where the ascent and descent values did not 6926match, causing xterm to leave lines across the display. 6927This patch makes xterm reject that type of mismatch, falling back to the 6928old font behavior. 6929 6930<H1><A NAME="xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A></H1> 6931This corrects a problem reported by Stefan Dalibor. My table entries for the 6932<em>printerExtent</em> and <em>printerFormFeed</em> resources used the wrong 6933types for sizeof, causing the printer to not work properly on some platforms 6934because the <em>printAttributes</em> resource was overwritten (e.g., Digital Unix with DEC Alpha). 6935<p> 6936I reviewed all of the resource table entries and fixed a potential problem with 6937<em>resizeGravity</em>, which was typed as <em>int</em> rather than 6938<em>XtGravity</em>. 6939 6940<H1><A NAME="xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A></H1> 6941A small fix: when switching to/from the continuous mouse reporting mode, 6942the event mask was incorrect if xterm was built under X11R5 because the 6943original data was saved under an ifdef for active-icon. 6944 6945<H1><A NAME="xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A></H1> 6946Some cleanup (I noticed the pixel droppings a few months ago after getting a 6947new 17" monitor): 6948<ul> 6949 <li>split-out the functions that load/reload fonts for xterm as new 6950 file fontutils.c to extend them to support automatic loading of 6951 bold font corresponding to the normal font. Adapted logic from 6952 EMU 1.3 for this purpose. This fixes most occurrences of pixel 6953 droppings from bold characters. 6954 6955 <li>modified by renaming variables and adding casts to permit compile 6956 with g++. 6957 6958 <li>modify headers so they can all be compiled without order 6959 dependencies, and use bracketed rather than quoting includes to allow 6960 compile from separate directory. 6961 6962 <li>renamed xtermm terminfo entry to xterm-mono, to avoid conflict with 6963 Solaris entry now in ncurses. 6964</ul> 6965 6966<H1><A NAME="xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni</A> and 3.3.2e</H1> 6967Several small fixes and enhancements, including a patch from 6968Bjorn Helgaas: 6969<ul> 6970 <li>correct initialization of TERMCAP environment variable, which 6971 was frequently set to garbage on non-Linux systems because 6972 "termcap" and "newtc" contained random data from the stack. 6973 6974 <li>remove the LINEWRAPPED attribute from lines as they are cleared. 6975 Previously, the attribute was set but never cleared. 6976 6977 <li>make word and line selections work even when lines are wrapped 6978 by xterm. Previously, selections were limited to one screen line. 6979</ul> 6980as well as 6981<ul> 6982 <li>modify logic for line-wrapping to reset the associated flag if 6983 the application deletes a character. This fixes a problem reported 6984 by Bjorn Helgaas where word/line selection would still wrap even 6985 after deleting characters from the first line. 6986 <li>add kll/kH capabilities to xterm-xfree86 entries in termcap and 6987 terminfo (request by Michael Schroeder). 6988 <li>shorten descriptions in termcap to make resolved entries all 6989 shorter than 1023 character limit. 6990 <li>use DECSTR control sequence to shorten initialization and reset 6991 strings in xterm-xfree86 termcap and terminfo. 6992 <li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match termcap. 6993 <li>correct typos in initialization and reset strings in xterm-r5 6994 termcap and terminfo. 6995 <li>disable special translations of key symbols (the backarrow key, 6996 the editing keypad and the keypad "+") when a modifier other than 6997 shift, control or numlock is used. This makes xterm handle the meta 6998 key as expected by people using emacs (reported by Pete Harlan 6999 <harlan@pointofchoice.com> in linux.debian.user newsgroup). 7000</ul> 7001 7002<H1><A NAME="sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A></H1> 7003 7004Merge changes through patch #83 with the 3.3.2e version. 7005<p> 7006This follows a change from XFree86 CVS which adds checks for non-null 7007return from malloc (patch by Matthieu Herrb). 7008 7009<H1><A NAME="xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A></H1> 7010Several small fixes and enhancements: 7011<ul> 7012 <li>add configure test to infer if xterm should be installed setuid 7013 based on previously installed xterm (reported by Stephen Marley 7014 and Stefan Dalibor). 7015 7016 <li>implement quasi-continuous mouse reporting 7017 (integrated patch by Jason Bacon). 7018 7019 <li>correct control sequences transmitted by function keys F1 to F4 7020 when sunFunctionKeys resource is true (it was still using the 7021 VT100 control sequences). 7022 7023 <li>modify handling of backarrow key so that the control modifier 7024 toggles the backspace/delete interpretation set by the 7025 backarrowKey resource. 7026 7027 <li>limit the row and column values used to report mouse position. 7028</ul> 7029 7030From resync with XFree86 3.9Nb: 7031<ul> 7032 <li>add support for the VSTATUS control character (patch by 7033 Robert Earl <rearl@teleport.com>). 7034</ul> 7035 7036<H1><A NAME="xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A></H1> 7037Bug fix for patch #81: 7038<ul> 7039 <li>remove an #undef for NBBY, which caused compile problem on FreeBSD 7040 (reported by David Dawes). 7041</ul> 7042 7043<H1><A NAME="xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A></H1> 7044More bug fixes: 7045<ul> 7046 <li>fix conflicting ifdef's for TIOCSLTC when building with Linux on 7047 AXP aka DEC Alpha (reported by Robin Cutshaw). 7048 7049 <li>correction to patch #79, move assignment for *utptr->ut_user = 0; 7050 back into non-SVR4 ifdef in main.c, since this clobbers username on 7051 Solaris 2.5.1 (analysis by Will Day 7052 <willday@rom.oit.gatech.edu>). 7053 7054 <li>corrected khome/kend in xterm-8bit terminfo description. 7055 7056 <li>improve cursor color by making it always the reverse of fg/bg 7057 unless the cursorColor resource is set, i.e., to something other than 7058 the default foreground (reported by Vikas Agnihotri and Bram 7059 Moolenaar). 7060 7061 <li>minor fixes for compiler warnings, including a syntax error in 7062 the AMOEBA ifdef's. 7063</ul> 7064From resync with XFree86 3.9Aj: 7065<ul> 7066 <li>correction to patch #73, supply missing #else for fallback definitions 7067 of size_t, time_t (Robin Cutshaw <robin@intercore.com>). 7068</ul> 7069 7070<H1><A NAME="xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A></H1> 7071This fixes a couple of items leftover or introduced by patch 79: 7072<ul> 7073 <li>take out the logic that suppresses editing-keypad in vt100 mode 7074 (those keys are too valuable to give up for a fine point of 7075 emulation). 7076 7077 <li>corrected a couple of places in terminfo where I missed using the 7078 vt220-style editing-keypad codes for Find/Select (mapped to Home/End). 7079 7080 <li>checked termcap file against terminfo, fix several places where it 7081 was inconsistent. 7082</ul> 7083 7084<H1><A NAME="xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A></H1> 7085 7086This patch fixes several small bugs: 7087<ul> 7088 <li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas Vanhala). 7089 7090 <li>add new resource 'oldXtermFKeys' which provides backward compatibility 7091 for F1-F4 control sequences with TOG's xterm. 7092 7093 <li>determine the server's default foreground/background Pixel values, 7094 needed if the -flipPixels X server option is used (reported by 7095 David Dawes). 7096 7097 <li>correct logic for F1-F4 function keys so that they generate VT100 7098 compatible escape sequences in VT220 mode, since that is what the 7099 numeric keypad is supposed to do (reported by Ron Johnson, Jr. 7100 <ronjohn@communique.net>). 7101 7102 <li>modify logic for editing keypad to work more like VT220: don't 7103 pass those codes in VT100-mode unless oldXtermFKeys mode is set. 7104 7105 <li>correct an interaction with the editing-keypad logic that prevented 7106 backarrow key from sending a 127 for the delete key (the 'remove' 7107 escape sequence was being sent instead). 7108 7109 <li>use return-value from getuid() rather than the parameter, to work on 7110 systems which do not update the latter (patch by Kevin Buhr 7111 <buhr@mozart.stat.wisc.edu>) 7112 7113 <li>correct scrollbar border color when toggling to/from secure keyboard 7114 mode (patch by Jeff Uphoff <juphoff@tarsier.cv.nrao.edu>) 7115 7116 <li>modifications to terminfo file: 7117<ul> 7118 <li>rename description to xterm-xfree86, adding an entry 'xterm' 7119 which is derived from xterm-xfree86 to simplify customization. 7120 7121 <li>change string for kdch1 from \177 to \E[3~, to address complaints 7122 from Debian developers. (This applies to the key labeled "Delete", 7123 and does not affect the backarrow key). 7124 7125 <li>add user-strings u6, u7, u8, u9 to entries to make them work with 7126 Daniel Weaver's "tack" program. 7127 7128 <li>modify xterm-24, xterm-bold, xterm-boldso entries to disentangle them from 7129 explicit dependency upon xterm-xfree86. 7130 7131 <li>add generic 'xterm-color' entry. 7132 7133 <li>minor corrections to xterm-xfree86, xterm-8bit, xterm-r5 and 7134 xterm-r6 entries. 7135</ul> 7136</ul> 7137 7138<H1><A NAME="xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A></H1> 7139 7140Again, most of the bulk of this patch is for ANSI conversion. I used the 7141IRIX compiler's -wlint option to find the remaining functions that use 7142K&R syntax (since gcc does not do this properly). 7143 7144Also, I changed the logic in the print code slightly to close unwanted files 7145before opening a pipe to the printer. This may help in some configurations 7146where the line printer hangs until xterm closes the pipe. 7147 7148<H1><A NAME="xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A></H1> 7149 7150Most of the bulk of this patch is to convert the extended C (K&R functions 7151with prototypes) to ANSI. I verified that on Linux by comparing object 7152files, to ensure that I did not, for example, interchange parameters in 7153the function declarations. 7154<p> 7155The rest of the patch fixes several minor bugs, and adds a few features: 7156<ul> 7157 <li>back-out my use of ncurses "captoinfo -f" option (if/then/else/endif) 7158 formatting, since ncurses did not correctly filter embedded newlines 7159 in terminfo capability strings until _after_ ncurses 4.1, thus 7160 corrupting setf/setb/sgr strings (reported by Darren Hiebert and 7161 others). 7162 7163 <li>document SGR 8, 28 (invisible/visible), add corresponding 7164 capabilities to terminfo description. 7165<p> 7166 I would also add the 'prot protected capability, but the control 7167 sequences for that would not be recognized or properly ignored by the 7168 older xterm programs. 7169 7170 <li>modify ChangeGroup to not suppress a null-resource, but treat it as an 7171 empty string (recommended by Stefan Dalibor). 7172 7173 <li>add printerAutoClose resource to control whether printer is closed 7174 when going offline. More than one person reports problems (on 7175 Solaris 2.6 and Digital Unix 4.0) getting the printer to proceed 7176 unless xterm exits; I think that it is a problem flushing the pipe. 7177 Closing it ought to flush it. 7178 7179 <li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N (but adapt 7180 XtStackAlloc/XtStackFree for clarity, as well as fixing memory leak). 7181 7182 <li>change calls on FillCurBackground to ClearCurBackground, in effect 7183 using XClearArea rather than XFillRectangle when clearing as a 7184 side-effect of scrolling and insertion (patch by Alexander V 7185 Lukyanov) 7186 7187 <li>correct some places where insert/delete did not _move_ the color 7188 attributes, using memmove (patch by Alexander V Lukyanov 7189 <lav@long.yar.ru>) 7190 7191 <li>add ifdef's for __CYGWIN32__, for port to cygnus version B19.1 7192 (patch by Andrew Sumner <andrew_sumner@hotmail.com>). 7193 7194 <li>remove #define for hpux that turned on USE_SYSV_ENVVARS, since this 7195 causes some applications (such as 'less') to get incorrect $LINES and 7196 $COLUMNS values (reported by Clint Olsen). 7197 7198 <li>modify behavior for HP-UX, to set the "reserved" process group 7199 controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does not produce an 7200 error (patch by Ben Yoshino <ben@wiliki.eng.hawaii.edu>). 7201 7202 <li>correct length of underlining, reducing it by one pixel to avoid 7203 leaving a dot when the application does not clear the whole screen 7204 I noticed this only recently myself (and other people as well); it 7205 depends on the font chosen. A 6x10 font shows it, but the other 7206 fonts from XTerm.ad do not. I also see a similar problem with the 7207 emulation of bold fonts. 7208 (patch by Sergei Laskavy <Laskavy@cs.msu.su>). 7209 7210 <li>add include for Xos.h to xterm.h, to ensure proper definitions 7211 (reported by Holger Veit). 7212 7213 <li>update config.guess to recognize Unixware 2.1 and 7 (patch by 7214 Mike Hopkirk <hops@sco.com>). 7215</ul> 7216 7217<H1><A NAME="xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A></H1> 7218 7219A fix for the print-window function, and some minor cleanup: 7220<ul> 7221 <li>modify logic that closes pipe in the print-window function to not use 7222 pclose, which does not work on all systems, since I did not open the 7223 pipe with popen (reported by Stefan Dalibor). 7224 7225 <li>correct name of $(EXTRA_LOAD_FLAGS) imake variable (reported 7226 by Stefan Dalibor). 7227 7228 <li>guard logic in ChangeGroup() function against null pointer 7229 (reported by Stefan Dalibor). 7230 7231 <li>ensure that menu entry for toggling sunKeyboard resource is 7232 initialized (reported by Branden Robinson <branden@purdue.edu>). 7233 7234 <li>gcc unused-variable warnings (reported by Bernd Ernesti 7235 <bernd@arresum.inka.de>) 7236 7237 <li>rename global variable 'buffer' to 'VTbuffer' 7238</ul> 7239 7240<H1><A NAME="xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A></H1> 7241 7242This incorporates fixes from several people, as well as some improvements 7243that I made based on feedback from users: 7244<ul> 7245 <li>add option to standalone configure script, "--with-own-terminfo-dir", 7246 which causes xterm to pass a predefined value of $TERMINFO to the 7247 application. Also use this value in install rule "make install-ti", 7248 for the standalone configure script. 7249 7250 (patch & feedback from Tor Lillqvist <tml@hemuli.tte.vtt.fi>) 7251 7252 <li>change ifdef's for "hpux" to "__hpux" (patch by Tor Lillqvist). The 7253 imake configuration uses the former, but the latter is predefined by 7254 HP's compilers. 7255 7256 <li>define USE_SYSV_ENVVARS for HP-UX, curses does not use $TERMCAP (patch 7257 by Tor Lillqvist). 7258 7259 <li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's. Works 7260 both on HP-UX 9 and 10. (patch by Tor Lillqvist). 7261 7262 <li>modify configure script to obtain the $(EXTRA_LOADFLAGS) value from 7263 imake, needed for compiling under DEC OSF/1 (reported by 7264 Stefan Dalibor) 7265 7266 <li>modify print-window action so that the printer is closed after 7267 printing a window, unless the printer was already opened (i.e., 7268 by an application running in the window). This makes the printing 7269 complete without having to exit xterm, since not all systems treat 7270 fflush through a pipe very well (reported by Stefan Dalibor) 7271 7272 <li>modify printing code so that the ^M's are not printed if the 7273 printAttribute resource is set to zero (request by Stefan Dalibor). 7274 7275 <li>correct typo in xterm.man, for the default value of printAttribute 7276 (reported by Stefan Dalibor). 7277 7278 <li>correct printing code so that the alternate character set is 7279 printed, like other attributes, with escape sequences. 7280 7281 <li>correct termcap description, removing spurious 'm' character from 7282 the 'op' capability (reported by Greg Woods <woods@weird.com>). 7283 7284 <li>correct trace code so that the initial timestamp is set. 7285 7286 <li>correct/modify utmp data for the Linux glibc 2 configuration, 7287 so that the ut_line member is set before using it to update wtmp 7288 (patch by Bill Nottingham <wen1@cec.wustl.edu>). 7289</ul> 7290 7291<H1><A NAME="xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A></H1> 7292 7293This corrects a couple of recent bugs and adds a new resource: 7294<ul> 7295 <li>modify definition of TRACE_CHILD so that it does not conflict with 7296 ifdef's for USE_USG_PTYS in main.c (reported by Vikas Agnihotri 7297 <VikasA@att.com> and Stefan Dalibor). 7298 7299 <li>correct ownership of file (actually pipe) written by the print 7300 controls. When undoing the setuid changes in patch #69, I overlooked 7301 this. Now xterm forks a process which resets setuid and routes the 7302 printer data as the real user. 7303 7304 <li>add a new resource, "printAttributes", which controls whether 7305 color attributes (or any attributes) are sent to the printer. 7306</ul> 7307 7308<H1><A NAME="xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A></H1> 7309 7310This patch does the following: 7311<ul> 7312 <li>implements a print-window facility for xterm. Though useful in 7313 itself, I added it as part of some debugging which I am doing. 7314 (Occasionally during an exposure event xterm fails to restore the 7315 proper colors for highlighted text, and printing the screen will 7316 show the internal states nicely). 7317<p> 7318 The print facility now also displays the color information. 7319 (I will probably make this a resource). 7320 7321 <li>modified the xterm-16color terminfo description to use the setaf and 7322 setab strings, which is a little more efficient (requested by Stephen 7323 Marley). 7324 7325 <li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, unistd.h, 7326 errno) making the configure script test for these. 7327<p> 7328 I removed the symbols Size_t and Time_t, since they no longer serve 7329 a useful purpose. 7330 7331 <li>added some debugging traces to show the initial screen size, 7332 and the success/failure of the ioctl calls pass handle window 7333 resizing events to the application (for Clint Olsen). 7334<p> 7335 I also modified the trace code to produce two files since some 7336 of the information is produced by the child process. So now 7337 they are Trace-parent.out and Trace-child.out 7338 7339 <li>updated configure test for ANSI compiler options to handle a 7340 special case for HP-UX 10.x (reported by Clint Olsen). 7341</ul> 7342 7343<H1><A NAME="xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A></H1> 7344 7345This is a patch from Chris Siebenmann <cks@hawkwind.utcs.toronto.edu>, 7346which I have cleaned up a little, and integrated into the configure script. 7347<p> 7348From his description: 7349<blockquote> 7350 This set of patches is the latest incarnation of patches originally 7351written by Ian! D Allen, then of the University of Waterloo and now of 7352who knows where; I have been carrying them forward from xterm to xterm 7353ever since about X11R4. What they do is add an option so that when an 7354iconified xterm receives output it prepends '*** ' to its icon title 7355and (optionally) beeps the bell; deiconifying the xterm removes the 7356'*** '. Over the years I've found this to be incredibly convenient for 7357monitoring all sorts of low-activity things. 7358</blockquote> 7359 7360<H1><A NAME="xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A></H1> 7361 7362This patch is a slightly modified version of one by Richard Braakman, which 7363prevents buffer overflow in the input-method and preedit-type parsing in xterm. 7364I changed a couple of details to make the code more maintainable, and looked 7365for similar things - copying into a fixed-size buffer (found none, though I did 7366spot an unused variable). 7367 7368<H1><A NAME="xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A></H1> 7369 7370This patch corrects some minor bugs in xterm, and fills in some more details 7371in the VT220 emulation: 7372<UL> 7373 <LI>modify Imakefile to use SpecialCObjectRule for menu and data modules, 7374 making xterm build properly if logging is enabled 7375 (patch by Scott Sewall <scott@iprg.nokia.com>). 7376 7377 <LI>restore "ich" capability to terminfo entries, since 7378 Michael Schroeder points out that "ich1" 7379 is the one which is the problem in Solaris vi. 7380 7381 <LI>correct color of cursor, which would disappear on inverse-video 7382 since the initialization did not compare the cursor color against 7383 both foreground and background (reported by Olivier Calle). 7384 7385 <LI>correct abbreviation-test for -version and -help options, making 7386 command-line option -vb work (reported by Stefan Dalibor). 7387 7388 <LI>correct a dependency between ifdef's for OPT_I18N_SUPPORT and 7389 OPT_INPUT_METHOD (reported by Stefan Dalibor). 7390 7391 <LI>split-out character-set translations as new module charsets.c, to 7392 implement VT220 national replacement character sets (a mode where 7393 some of the characters are displayed as specific European glyphs). 7394 This relies on xterm using an ISO 8859-1 font (approach suggested by 7395 Kenneth R. Robinette <zkrr01@mailbox.neosoft.com>). 7396 7397 <LI>correct a missing increment, which made SS2 and SS3 controls 7398 repeat the shifted character. 7399 7400 <LI>add xterm-nrc to terminfo to illustrate the VT220 national 7401 replacement character sets. 7402 7403 <LI>reformat terminfo using new ncurses tic option "-f", which makes 7404 if/then/else/endif expressions easier to read. 7405</UL> 7406 7407<H1><A NAME="xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A></H1> 7408 7409This corrects the problem in xterm with utmp, reported by Olivier Calle 7410<olivier@tc.fluke.com> 7411as well as some other people after the XFree86 3.3.2 release. 7412<P> 7413The error was introduced by my patch #53 in XFree86 3.9r (October 1997). 7414<P> 7415The correction removes the reset of setuid/setgid before the main event loop, 7416and solves the problem which I had worked around in a different manner: for 7417some reason, the particular waitpid() call in creat_as() hangs, does not 7418return when the child process exits. I changed the ifdef's to force the Linux 7419configuration to use wait() instead. This call appears to work properly on 7420other platforms such as SunOS and Solaris. 7421<P> 7422I also added tests in the standalone configure script to check for the 7423existence of waitpid(). 7424 7425<H1><A NAME="xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A></H1> 7426 7427This corrects another problem with the logic for highlightColor resource. 7428As reported by David Dawes: 7429<blockquote> 7430 I've just noticed a problem with with the "inverse" control sequence 7431 (ESC[7m) with the 3.3.2 xterm. What it does is sets the background 7432 black, and the text the usual foreground colour rather than simply 7433 swapping the foreground/background. 7434 7435</blockquote> 7436This appears to be because when I added logic to check that the highlightColor 7437was distinct from foreground and background colors, I did not add a further 7438check to see that it was not black (I would make an explicit check for the 7439resource not being set, but see nothing definite in the headers that would let 7440me reference an explicitly-undefined Pixel value, though there are some 7441implications in xpm.h). But this should work. 7442 7443<H1><A NAME="xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A></H1> 7444 7445This patch does the following: 7446<UL> 7447 <LI>improve test for highlightColor so that xterm does not attempt to 7448 use that unless it is different from the foreground and background 7449 colors (reported by Stefan Dalibor 7450 <Stefan.Dalibor@informatik.uni-erlangen.de>. 7451<P> 7452 I could not reproduce this until I noticed that the -rev option 7453 exposed it nicely. 7454 7455 <LI>remove ich and ich1 from xterm and xterm-8bit terminfo descriptions. 7456 SVr4 terminfo documents that you must not combine these with 7457 smir/rmir, but ncurses allows it, opening a hole. Solaris 2.6 vi 7458 does not work properly if it is using a terminfo description when 7459 these are combined, since it was written to accommodate old terminals 7460 that required it (reported by Stephen Marley). 7461 7462 <LI>restore 1-pixel overlap of scrollbar border with left edge of window 7463 (reported by Jim Burmeister <jimb@metrolink.com>). 7464 7465 <LI>add a configure option, --enable-logfile-exec, which allows the 7466 user to specify a pipe for logfile. This defines ALLOWLOGFILEEXEC. 7467 7468 <LI>makes the ALLOWLOGFILEEXEC code compile & run, if configured. 7469 7470 <LI>minor documentation nits. 7471</UL> 7472 7473<H1><A NAME="xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A></H1> 7474 7475This fixes the problem reported with failure to build the <EM>resize</EM> 7476program (BSDI, OSF/1) due to not having <termcap.h>, by changing the 7477ifdef to one that would be set only if the file exists (not currently 7478specified, except by the standalone configure script). We do not really need 7479to include <termcap.h> to build, but only for a clean compile, since it 7480may declare the tgetent() prototype. 7481 7482I also updated the man-page for <EM>resize</EM>, since I had recently noticed 7483that it can be used to resize <EM>xterm</EM> using the "Sun" control sequences 7484option. 7485 7486<H1><A NAME="xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A></H1> 7487 7488This is a small patch to xterm's 8-bit terminal description. I noticed 7489while testing ncurses that I had specified the wrong (VT100-style) codes 7490for the F1-F4. Xterm only uses VT220-style function keys in 8-bit mode. 7491 7492<H1><A NAME="xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A></H1> 7493 7494This fixes the following problems with xterm: 7495<UL> 7496 <LI>save/restore the ANSI foreground and background colors with the other 7497 visible attributes in the save-cursor and restore-cursor operations. 7498 This works around a problem with vim, which apparently assumed that 7499 switching between the normal and alternate screens resets the colors 7500 (reported by Jim Battle <jb@chromatic.com>). 7501<P> 7502 It would be nice to implement save/restore cursor as a stack (and 7503 solve this type of problem completely), but that would lead to 7504 incompatibility with applications which assume they are running with a 7505 VT100 or VT220. 7506 7507 <LI>corrects behavior of a restore-cursor operation which does not 7508 follow a save-cursor (it is supposed to set the character sets 7509 to a known initial state). 7510 7511 <LI>extends the sunKeyboard resource (and menu toggle) to modify the 7512 home, end and delete keys on a Sun or PC editing keypad, making them 7513 generate codes compatible with DEC VT220's Find, Select and Remove 7514 keys. 7515 7516 <LI>corrects a length in checking command-line options, which caused the 7517 "-help" message to not work when X was not running. 7518 7519 <LI>add some detail to the man-page (requested by Jason Bacon 7520 <acadix@execpc.com>) 7521 7522 <LI>modify the standalone configure script to ignore the broken nsl and 7523 socket libraries on IRIX 6.2 (the ones on 5.2 also are broken, so 7524 this change just widens the check for the system version number). 7525</UL> 7526 7527<H1><A NAME="xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A></H1> 7528 7529This is another patch from Bjorn Helgaas <helgaas@rsn.hp.com>, which I've 7530reviewed (and learned some). Following are his notes: 7531<P> 7532I poked around some more and finally got xterm-62 to build and run 7533cleanly on HP-UX 10.20. Here are the patches. They look sort of 7534ugly, so here's a little explanation: 7535<UL> 7536 <LI>aclocal.m4: Removed side effects from the AC_CACHE_VAL 7537 commands in CF_FUNC_TGETENT. Previously, LIBS was set inside 7538 AC_CACHE_VAL, which worked fine the first time configure was 7539 run, but failed if there were cached values. 7540 7541 <LI>aclocal.m4: Added temporary setting of LIBS before 7542 AC_TRY_LINK in CF_FUNC_TGETENT. Previously, the last value set 7543 by the AC_TRY_RUN loop was used, so only -lcurses was checked. 7544 7545 <LI>configure.in: Added temporary setting of CPPFLAGS before 7546 AC_CHECK_HEADERS for X11 files. Previously <X11/DECkeysym.h> 7547 and <X11/Xpoll.h> were found only if they were in the compiler's 7548 default include directories, even if `--x-includes=DIR' had been 7549 used or AC_PATH_XTRA had found them elsewhere. 7550</UL> 7551The problem on HP-UX was that we were linking with -lcurses rather than 7552-ltermcap due to the second bullet above, and apparently something in 7553HP-UX curses is broken. This seems very strange, because the only thing 7554used is tgetent, which should affect any tty/pty configuration, but I 7555lost interest in tracking down the exact problem. 7556 7557<H1><A NAME="xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A></H1> 7558 7559This is a patch mostly by Bjorn Helgaas <helgaas@dhc.net> (I added the 7560os2main.c change, and a little of the documentation). From Bjorn's 7561description: 7562<UL> 7563 <LI>If you use the "-hc <color>" option or set the "highlightColor" 7564 resource, text is highlighted by changing only the background color, 7565 rather than using reverse video. I find this easier to read, 7566 especially when selecting multi-colored text, and it is similar to 7567 the way Netscape shows selections. 7568 7569 <LI>Most of the code changes are under "#if OPT_HIGHLIGHT_COLOR". The 7570 principal exception is in screen.c, where I added a couple calls to 7571 resetXtermGC(). This seems like it could be a bug even without 7572 the color highlighting changes (though I don't pretend to understand 7573 all the logic). 7574</UL> 7575 7576<H1><A NAME="xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A></H1> 7577 7578This patch modifies the reset behavior of xterm slightly: 7579<UL> 7580 <LI>change the terminfo entry so that rs1 (one of the strings used by 7581 the 'reset' program) does a hard reset rather than switching 7582 character sets. This is more in accord with other terminal 7583 descriptions. 7584 7585 <LI>modifies the treatment of hard reset by the xterm program to 7586 reset the saved lines. 7587 7588 <LI>corrects hard reset by also resetting user-defined keys, i.e., DECUDK. 7589</UL> 7590 7591<H1><A NAME="xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A></H1> 7592 7593This fixes some minor bugs and adds new functionality: 7594<UL> 7595 <LI>add support for blinking text. 7596<UL> 7597 <LI>This does not actually cause the 7598 text to flash, but text with the blink attribute can be displayed 7599 in color, using new resources colorBL and colorBLMode. 7600 7601 <LI>If colors are not used, the blinking text will be displayed as 7602 before (just like bold). The main purpose of this is to make 7603 applications work properly when they assume the emulator supports 7604 blinking text. 7605 7606 <LI>I did this by moving the per-cell LINEWRAPPED flag to a per-line 7607 flag, to make room for the new BLINK flag. There were no per-line 7608 flags, so this changes a lot of logic. 7609</UL> 7610 7611 <LI>corrected missing save-cursor logic in the handling of SGR 1048 7612 (the new control sequence I added in patch #54, 1997/10/17). 7613 Reported by Darren Hiebert. 7614 7615 <LI>flush the output of the transparent printing after each line 7616 Reported by Tomas Vanhala <vanhala@ling.helsinki.fi>. 7617 7618 <LI>correct the modes that are affected by save/restore cursor by adding 7619 WRAPAROUND and PROTECTED. 7620 7621 <LI>corrected placement of one of the XSync calls that I added in patch 7622 #51, 1997/9/15, which had the side-effect of writing on the window 7623 border when the xterm was resizing from 132 to 80 columns. 7624 7625 <LI>work around an incompatibility of the XKB definition used in xterm 7626 versus that symbol from IRIX 6.2's imake definitions (by adjusting 7627 the standalone configure script). 7628</UL> 7629 7630<H1><A NAME="xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A></H1> 7631 7632My last patch has an off-by-one error in the comparison for argc. Douglas 7633Kosovic <douglask@dstc.edu.au> showed me where (he got a core dump). 7634Also, I think this explains Clint Olsen's problem, but the symptoms were more 7635subtle (EINVAL for a system call if the -display option is omitted). 7636 7637<H1><A NAME="xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A></H1> 7638 7639This patch does the following: 7640<UL> 7641 <LI>implement logic to permit xterm to work with proportional fonts. 7642<UL> 7643 <LI>Thomas Wolff 7644 <Thomas.Wolff@sietec.de> 7645 requested this (but it isn't exactly what he's asking 7646 for - that's a more involved task). 7647 7648 <LI>I chose to do this by rendering the characters on a fixed pitch, 7649 because it would not be useful for existing applications to display 7650 varying numbers of characters on each line. 7651 7652 <LI>Except that this forces the display to be wider, it works reasonably 7653 well. A couple of special cases (reverse + colorBD, for example) 7654 do not display with proper colors, since the inter-character gaps 7655 are painted with the background. 7656</UL> 7657 7658 <LI>added a version number to the program (several people have requested 7659 this). 7660 7661 <LI>make the -version and -help options interpreted before the program 7662 attempts to open the display. 7663 7664 <LI>minor reorganization of the man-page (ordered the options, resources 7665 and translations alphabetically - and eliminated some duplication). 7666 7667 <LI>corrected a misspelled filename in Makefile.in, and added a lint 7668 rule. 7669 7670 <LI>updated the configure script to correct behavior when it cannot 7671 find imake, as well as to fix the IRIX+gcc build (conflict with 7672 /usr/include). 7673 7674 <LI>regenerated the configure script with a newer patch to autoconf 7675 that fixes a problem with environment space vs the configure --help 7676 message. 7677</UL> 7678<H1><A NAME="xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A></H1> 7679 7680This patch is mostly concerned with the standalone configure script; a few 7681minor corrections are added: 7682<UL> 7683 <LI>add configure option --disable-tek4014, to allow xterm to be built 7684 without the tek4014 emulation. 7685 7686 <LI>add configure option --with-terminal-type, to allow xterm to be 7687 compiled with default $TERM value other than "xterm" (e.g., 7688 "xterm-16color") -- requested by Stephen Marley <stephen@memex.com>. 7689 7690 <LI>fix a typo in the configure --help message -- reported by Darren 7691 Hiebert <darren@hmi.com>. 7692 7693 <LI>review diffs between main.c and os2main.c, to make them more alike. 7694 (applies some minor bug-fixes to OS/2's version). 7695 7696 <LI>add missing quotes in memmove/bcopy configure test 7697</UL> 7698 7699 7700<H1><A NAME="xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A></H1> 7701 7702This patch is based on analysis by Arfst Ludwig <arfst@luxor.IN-Berlin.DE>, 7703who reported: 7704<blockquote> 7705 Setting the following resources xterm (all current versions) receives a 7706 segmentation fault on <Btn2Up> after scrolling: 7707<PRE> 7708 7709 *XTerm*VT100*translations: #override \ 7710 ~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0)\n\ 7711 Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1)\n\ 7712 ~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0)\n\ 7713 Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1) 7714</PRE> 7715 (The above resources intention is to be able to paste the latest 7716 selection even if the xterm was cleared.) 7717<P> 7718 And here is how it works (and a fix!): The widget given to the action 7719 handler as first argument is not guaranteed to be a XtermWidget (it can 7720 be the ScrollbarWidget). Instead of accessing the widget's member 7721 directly XtDisplay gives the required pointer in a safe way. 7722</blockquote> 7723I noticed that this was not the only instance (by reading the code, and testing 7724with his example), and extended the solution to check the widget-class to 7725ensure that it is indeed xterm's widget class before attempting to use it in 7726the context of translations. 7727 7728<H1><A NAME="xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A></H1> 7729 7730This fixes the segmentation violation noted by Rogier Wolff about a month 7731ago. He'd set xterm to 400 (rows) by 150 columns, which broke because there 7732were limited buffers (200 rows) used for juggling data when adding or deleting 7733lines and for switching between alternate and normal screens. I replaced this 7734by an allocated buffer. 7735<P> 7736The bug is simple to test if you set titeInhibit false. 7737 7738<H1><A NAME="xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A></H1> 7739 7740This patch does the following: 7741<UL> 7742 <LI>correct a minor placement problem with the right scrollbar. 7743 7744 <LI>implement a new set of control sequences for switching between the 7745 normal and alternate VT100 screens. These work around the older 7746 sequences limitation that required modification of the runtime 7747 $TERMCAP to cooperate with the titeInhibit resource (that can't work 7748 with terminfo). I do this by moving all of the functionality of the 7749 rmcur terminfo capability into the control sequences. 7750 7751 <LI>implement the alternate-screen menu entry 7752</UL> 7753 7754<H1><A NAME="xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A></H1> 7755 7756This patch adds a fix and implements a new feature (as well as some minor 7757typos): 7758<UL> 7759 <LI>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a problem 7760 with the wait call with the logging option. It hung when the logfile 7761 was opened as a command-line option. I fixed this by moving the 7762 StartLogging() call down past the place where I'd reset the setuid 7763 mode. So the logfile is opened as the real user, without having 7764 to fork. 7765 7766 <LI>improve Rohleder's changes by 7767 renaming the command-line options and reducing the number of ifdef's. 7768 7769 <LI>implement right-scrollbars for xterm 7770 (patch by Michael Rohleder <michael.rohleder@stadt-frankfurt.de>). 7771</UL> 7772 7773<H1><A NAME="xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A></H1> 7774 7775This patch addresses bugs and requests reported by 7776<UL> 7777 <LI>Bob Maynard <rmaynard@montana.com>, 7778 <LI>Clint Olsen <olsenc@ichips.intel.com>, 7779 <LI>JCHANDRA@Inf.COM (JCHANDRA), 7780 <LI>Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>, 7781 <LI>Pablo Ariel Kohan <pablo@memco.co.il> 7782</UL> 7783 7784Some of the changes are interrelated (it was an unusually busy week). 7785<UL> 7786 7787 <LI>change the default resource value for colorMode to true, matching 7788 the Xterm.ad file. 7789 7790 <LI>correct behavior of 'ech' control, making the default and 0 7791 parameters erase one character rather than to the end of line 7792 (reported by Michael Schroeder). 7793 7794 <LI>add resource boldColors, command-line options +pc and -pc and 7795 configure-script option to specify behavior of xterm's mapping bold 7796 colors 0 through 7 to colors 8 through 15. 7797 (request by Pablo Ariel Kohan). 7798 7799 <LI>add resource colorAttrMode to specify whether colorULMode and 7800 colorBDMode can override the ANSI colors 7801 (report by Clint Olsen). 7802 7803 <LI>correct a conflict between colorULMode/colorBDMode versus ANSI 7804 colors, where exposure events would occasionally pick up the 7805 former (e.g., colorBD) rather than ANSI colors. Testing the 7806 colorAttrMode made this apparent, though it has been in the 7807 code since 3.2A (patch #35 in Jan 1997). 7808 7809 <LI>correct two problems with the optional logging support. On Linux 7810 at least, the waitpid call in creat_as hangs when the logging is 7811 toggled from the popup menu. Also, the mktemp template has the wrong 7812 number of X's (since X11R5!). Fixed the waitpid problem by 7813 exploiting the fact that the setuid behavior is reset before the 7814 popup menus are available. 7815 (reported by Jayachandran C.). 7816 7817 <LI>add configure script options for building with the Xaw3d and neXtaw 7818 libraries. 7819 7820 <LI>correct CF_IMAKE_CFLAGS standalone configure script macro, so that it 7821 will pick up $(ALLDEFINES) rather than $(STD_DEFINES). This is 7822 needed to make scrollbars work on Linux, since that uses narrow 7823 prototypes. 7824 (reported by Bob Maynard). 7825 7826 <LI>various minor updates to configure-script macros. 7827</UL> 7828 7829<H1><A NAME="xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A></H1> 7830 7831Most of this patch is related to the standalone configure script, though 7832there are fixes/enhancements as well: 7833<UL> 7834 <LI>add a new resource sunKeyboard, with associated command-line 7835 option and menu-toggle that allows using a normal Sun or PC 7836 keyboard to generated the complete DEC-style function keys 7837 and keypad. 7838 7839 <LI>correct a reversed foreground/background test in the control 7840 sequence that replies with the current SGR settings. 7841 7842 <LI>correct, by invoking XSync, a display problem that caused the 7843 program to not properly update newly exposed areas when a font 7844 change or 80/132 resize request was not completely accepted. 7845 7846 <LI>restructured autoconf macros (I made a library of all of the 7847 macros across the complicated configure scripts I'm working on). 7848 7849 <LI>use the autoconf config.guess and config.sub scripts to better 7850 identify the host-os. 7851 7852 <LI>improve the configure script that uses 'imake' as a fallback for 7853 definitions. 7854 7855 <LI>correct several instances of unsigned/signed mixed expressions. 7856</UL> 7857 7858I've tested the configure script on Linux, SunOS 4.1.3, Solaris 2.5.1, 7859IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but the last run properly 7860as well). 7861 7862<H1><A NAME="xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A></H1> 7863 7864This is a collection of small fixes, and a couple of minor enhancements: 7865<UL> 7866 <LI>plug a security hole in the implementation of Media Copy (print) 7867 by invoking setuid just before the main loop. 7868 7869 <LI>add an ifdef'd include for <sys/termio.h> for HP-UX, which allows 7870 the program to process SIGWINCH events (this is a bug in X11R6.3) 7871 7872 <LI>add state-table entries for VT52 emulation to enter/exit keypad 7873 application mode. 7874 7875 <LI>disable the popup-menu entry for 8-bit controls when the terminal-id 7876 is less than 200 (e.g., VT52 or VT100). 7877 7878 <LI>ensure that the popup-menu entry for 8-bit controls is updated when 7879 the application enables/disables this mode, including the response 7880 to a full-reset. 7881 7882 <LI>implement VT300 DECBKM feature: set interpretation of the backarrow 7883 key to either backspace or delete. The initial setting is via 7884 resource; it can also be modified in the main popup menu. 7885 7886 <LI>implement VTxxx KAM (ISO AM), which allows a keyboard to be locked 7887 (i.e., the terminal discards input). 7888 7889 <LI>implement VTxxx SRM, which is used to control local echoing of 7890 input on the terminal. 7891 7892 <LI>add terminfo and termcap entries for xterm-8bit, a variation of 7893 the xterm description that uses 8-bit control characters. 7894 7895 <LI>add fallback definitions for Imakefile to allow it to work on some 7896 X11R5 systems that have no SpecialCObjectRule or ProgramTargetName 7897 macros. 7898 7899 <LI>add .c.o and .c.i rules to standalone Makefile.in 7900 7901 <LI>correct order of -lXmu and -lXext in standalone configure script. 7902 7903 <LI>add configure script options to allow selective disabling of 7904 active-icon, input-method and i18n code (mainly for users with X11R5 7905 or an incomplete X11R6 configuration). 7906 7907 <LI>change menu-indices from #define's to enum values, thereby making 7908 it work better with the ifdef's for logging and active-icon (the 7909 X11R6.3 active-icon code is incorrectly ifdef'd; this corrects an 7910 error introduced by incorporating that code). 7911 7912 <LI>correct minor compile errors in the configuration where active-icon 7913 is not used. 7914 7915 <LI>add configure option to suppress echoing of long compiler commands 7916 7917 <LI>correct spelling of decTerminalID in configure script help message 7918 7919 <LI>use gcc __attribute__((unused)) to quiet warnings about unused 7920 parameters when compiling with -W (to make it simpler to find the 7921 real problems). 7922</UL> 7923 7924<H1><A NAME="xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A></H1> 7925 7926This patch implements the VT100/VT220 Media Copy (i.e., print-screen) control 7927sequences. 7928 7929<H1><A NAME="xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A></H1> 7930 7931This patch does the following (all but the first affect only the standalone 7932configure script): 7933<UL> 7934 <LI>minor correction to positioning of underlines for small (e.g., 5x8) 7935 font size. 7936 <P> 7937 The existing behavior allowed underlines to be drawn outside the 7938 character-cell, so they weren't cleared properly under some 7939 circumstances. 7940 7941 <LI>adds more special-case tokens to the standalone configure script's 7942 imake-option filter (e.g., "&&", since a "make -n main.o" on my IRIX 7943 system uses that shell construct). 7944 7945 <LI>adds a '--enable-logging' option for the standalone configure script. 7946 7947 <LI>adds check and ifdef's for the standalone configure script to allow 7948 for building on platforms with X11R6, which lacks Xpoll.h (introduced 7949 in X11R6.1). 7950</UL> 7951 7952<H1><A NAME="xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A></H1> 7953 7954This patch does the following 7955<UL> 7956 <LI>corrects an indexing error in the doublesize character logic 7957 (button.c) that caused core dump (this was reported by J. Wunsch). 7958 <LI>corrects the logic of ShowCursor when it is painting in a doublesize 7959 cell (charproc.c). 7960 <LI>corrects, according to vttest, the behavior when switching to 7961 doublesize characters and back again (doublechr.c). 7962 <LI>adds cbt (back_tab) to the terminfo description (this was something 7963 that I'd overlooked as applicable to curses optimization last 7964 summer). 7965 <LI>corrects, for the standalone xmc test, the logic for disabling xmc. 7966</UL> 7967 7968<H1><A NAME="xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A></H1> 7969 7970This is a patch to provide test-support for some work I'm doing on ncurses. It 7971does not modify the normal configuration of xterm; the code is compiled if the 7972standalone configure option "--enable-xmc-glitch" is specified. 7973 7974<H1><A NAME="xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A></H1> 7975 7976This fixes the problem reported with xterm's cursor color versus the background 7977(the second chunk in this patch) and also removes some duplicate initialization 7978of the cursor GC's. If the cursor color at startup is the same as the 7979background, then xterm will use the reverse GC, ignoring the setting of the 7980colorMode resource. 7981 7982<H1><A NAME="xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A></H1> 7983 7984This implements the first part of the VT100 doublesize characters for xterm, 7985as well as fixing a handful of bugs: 7986<UL> 7987 <LI>the doublesize character support uses the normal font (using scaled 7988 fonts will be another patch) with blanks to simulate doublesize 7989 characters. This patch does most of the global changes that'll be 7990 required. I've hidden most of the details in macros and ifdef's so 7991 it's easy to configure out (part of the patch is a configure option 7992 for that purpose). 7993 7994 <LI>corrected limits in DeleteChar() function -- it's always ignored the 7995 size of the left border and scrollbar. I noticed this when working 7996 on the doublesize characters since the glitch was doubled in size 7997 (i.e., it wrapped some garbage around the right margin). 7998 7999 <LI>corrected 'memmove()' logic, for standalone builds (it referenced a 8000 malloc wrapper from my development library). 8001 8002 <LI>add a check for HideCursor() to prevent repeated screen updates 8003 (which can cause a spurious cursor glitch to appear, e.g., during 8004 scrolling). I noticed this with the 3.2A version (but only a few 8005 weeks ago, when I started working on this patch). 8006</UL> 8007 8008<H1><A NAME="xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A></H1> 8009 8010Here's a fix for two problems: 8011<UL> 8012 <LI>modify handling of tgetent results in xterm and resize programs to 8013 make them tolerant of missing termcap file, or unknown terminal name. 8014 In this scheme, an explicit "-tn" option will succeed, overriding 8015 the fallback list. 8016 8017 <LI>a nit in the configure script (log extra information to help diagnose 8018 which case of the test-compile of tgetent was used). 8019</UL> 8020 8021<H1><A NAME="xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A></H1> 8022 8023Bram Moolenaar reported that the cursor color changed unexpectedly while 8024scrolling. The cause was that it used the same GC's as the logic that draws 8025the ANSI colors. The bug only appears if the cursorColor resource isn't set, 8026and has been present since the initial implementation early last year. (The 8027same bug also appears in rxvt ;-). Here's a fix. 8028 8029<H1><A NAME="xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A></H1> 8030 8031Some nits found by Darren Hiebert (missing part of install-rule, incorrect 8032assignment for --enable-color-mode option). 8033 8034<H1><A NAME="xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A></H1> 8035 8036Patch for the configure script's logic for obtaining imake predefined 8037symbols. 8038 8039<H1><A NAME="xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A></H1> 8040 8041This patch does the following: 8042<UL> 8043 <LI>integrate the 16-color change for 'xterm' 8044 8045 <LI>minor fixes/clarification of tgetent in terminfo vs termcap to 8046 'resize' 8047</UL> 8048 8049(both changes also modify the configure script) 8050 8051<H1><A NAME="xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A></H1> 8052 8053This implements a simple configuration script with autoconf (to which I'll 8054add more options later). It does the following: 8055<UL> 8056 <LI>configures xterm to build with X11R5 (at least on SunOS 4.1, Solaris 8057 2.4, possibly IRIX - sorry network was down today, but I did test 8058 an earlier version yesterday). 8059 8060 <LI>enables/disables the configuration ifdef's for ANSI color and VT52 8061 emulation. 8062</UL> 8063It does not make tests for the things that imake does (that's another project), 8064instead it uses a hybrid of the autoconf tests for libraries and adds imake's 8065compiler options (which are necessary in some cases to get main.c to compile). 8066 8067<H1><A NAME="xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A></H1> 8068 8069This corrects a minor, but annoying error in the vt220 emulation: the DECUDK 8070is only supposed to be interpreted for _shifted_ function keys. 8071 8072<H1><A NAME="xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A></H1> 8073 8074This corrects something that I overlooked in patch #27 (21-aug-1996), which is 8075that when trimming the region to be repainted for the highlightSelection 8076resource of xterm, I still have to paint the background past the highlighted 8077region. This only happens when I first do a selection in a window that's 8078partly off-screen, then move the window on-screen. 8079 8080<H1><A NAME="xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A></H1> 8081 8082This patch does the following: 8083<UL> 8084 <LI>combines the coding for foreground and background colors into a 8085 single byte, reducing the memory required to store saved-lines in 8086 color. (I'll take back that byte in a following patch to use to 8087 ensure the character-set, so there's no long-term decrease in memory 8088 use). 8089 8090 <LI>modifies the PF1-PF4 coding in termcap/terminfo. Because xterm is 8091 still by default emulating vt100, the function key codes are 8092 vt100-compatible (I overlooked this in patch #31). 8093 8094 I also reformatted the whole terminfo file into a single-column, 8095 for consistency. 8096 8097 <LI>adds an interim xterm-vt220 description to accommodate the old and new 8098 styles of function-keys (though probably it'd be better to drop the 8099 old-style altogether). 8100</UL> 8101 8102<H1><A NAME="xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A></H1> 8103 8104This patch does the following: 8105<UL> 8106 <LI>implement DECSTR (soft terminal reset). The biggest diff is due to 8107 adding another state table (note that there's only one useful state 8108 here, but it's only 256 bytes rather than 1k as it would have been 8109 before I reduced the size of state entries). 8110 8111 <LI>some minor tidying up (e.g., signed/unsigned use bitcpy, MODE_DECCKM, 8112 resetColor, resetCharsets). More is done in patch #35. 8113</UL> 8114 8115I got the description of DECSTR from a vt420 user's manual. I'll do some 8116testing with vttest to ensure that there's nothing else to do than what was 8117documented. 8118 8119<H1><A NAME="xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A></H1> 8120 8121This adds to the reset-fix by Matthieu Herrb <Mathieu.Herrb@mipnet.fr> a 8122small change to make xterm able to output 8-bit characters in VT100 mode. 8123 8124Applications that run on real VT100's don't do that anyway, and this feature 8125should be removed sometime after finishing off the VT220 emulation (VT220's can 8126do 8-bit characters). That would be a good time to change the default 8127terminal-id to 220. 8128 8129<H1><A NAME="xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A></H1> 8130 8131This implements the REP (repeat) control for xterm. That isn't part of the DEC 8132VTxxx series, but is defined in ISO 6429. (Note that the base xterm terminal 8133description is <EM>not</EM> changed -- I added a variant, "xterm-rep"). 8134 8135<H1><A NAME="xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A></H1> 8136 8137This implements vt52 emulation in xterm (ifdef'd so it can be removed). 8138I've been using it for testing for the past month or so. 8139 8140<H1><A NAME="xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A></H1> 8141 8142From bug-report by <auroux@clipper.ens.fr> (Denis Auroux), missing reset to 8143ground state. I checked through the rest of <EM>that</EM> table and found another, 8144in the unimplemented MC (screen print). 8145 8146<H1><A NAME="xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A></H1> 8147 8148This patch does the following: 8149<UL> 8150 <LI>corrects the restoration of color for bold/underline color mode 8151 8152 <LI>adds a resource 'decTerminalID' to control the reporting level of 8153 xterm (e.g., VT100, VT220). 8154 8155 <LI>uses the new resource to implement/correct the DA1, DA2 and 8156 DECRPTUI reports. 8157 8158 <LI>change valid-response code in DECRQSS from 0 to 1 (the manual says 0, 8159 but the VT420 terminal I've been testing on says 1). 8160</UL> 8161 8162All of these changes are based on vttest 2.6 8163<P> 8164(Most of the volume in the patch is to add 2 more state tables for parsing 8165the 2nd/3rd device-attribute controls). 8166 8167<H1><A NAME="xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A></H1> 8168 8169This patch corrects the following reported by Roland Rosenfeld 8170<roland@spinnaker.rhein.de>: 8171<UL> 8172 <LI>handle SGR 22, 24 and 25 in combination with colorUL and colorBD 8173 resources. Also noted & fixed reset of colored underline/bold 8174 with SGR 0. 8175 8176 <LI>a typo in the termcap (missing '['), from 3.1.2Dj (my error) 8177</UL> 8178 8179Roland also complained that he couldn't use box characters with 8180<PRE> 8181 -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1 8182</PRE> 8183but that's a known xterm limitation (the box characters must be part of the 8184font, in the first 32 locations). 8185 8186<H1><A NAME="xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A></H1> 8187 8188This patch fixes one of my long-term gripes: xterm's selection doesn't clearly 8189show what's being selected (as per David's request, it's controlled by a 8190resource, which defaults to the older behavior). 8191 8192<H1><A NAME="xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A></H1> 8193 8194Here's a patch to fix a problem with xterm's cut/paste and another to modify 8195the appearance of the highlighting while selecting. (The changes are 8196independent, so you can see if the change to screen.c is desirable). 8197 8198<H1><A NAME="xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A></H1> 8199 8200Here's a correction for two minor bugs that I picked up in testing, plus 8201some lint (from Solaris 2.5) where NULL was used incorrectly: 8202<UL> 8203 <LI>make the second alternate font the same as the first (that's what 8204 vt420 and dtterm do) 8205 8206 <LI>corrected DECSCL report when DECSCL hasn't been set (i.e., don't 8207 return a '60'). 8208</UL> 8209 8210<H1><A NAME="xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A></H1> 8211 8212This patch does several things. In effect, xterm can (I think) do a reasonably 8213good job of emulating vt220 and vt320 terminals (as well as it was doing 8214vt100, at any rate ;-). 8215<P> 8216It does NOT do: 8217<UL> 8218 <LI>soft fonts 8219 8220 <LI>rigel or sixel graphics 8221</UL> 8222<P> 8223Anyway, I: 8224<UL> 8225 8226 <LI>added ECH, CPL, CNL, SU, SD, CBT, CHT controls 8227 8228 <LI>added popup-menu for switching between DEC and Sun function keys. 8229 (corrected alignment err wrt logging entry at that point). 8230 8231 <LI>make xterm recognize both 8-bit and 7-bit controls (including 8232 popup menu for switching modes). 8233 8234 <LI>add user-definable function keys (aka DECUDK) 8235 8236 <LI>support concealed text 8237 8238 <LI>support protected text (both ISO compatible and DEC compatible - 8239 that's not the same thing, btw), with SPA, EPA, DECSCA, DECSED, 8240 DECSEL controls. 8241 8242 <LI>implement DECSCL. 8243</UL> 8244<P> 8245I'll be continuing to test this patch for a while, but don't expect to add any 8246new functionality (it passes all of the current tests I've built in vttest, but 8247I need to make more tests).. 8248 8249<H1><A NAME="xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A></H1> 8250 8251This removes the blinking cursor I added last week (for performance reasons). 8252Time-permitting, I'll revisit this after 3.2 is released (there <EM>will</EM> be more 8253work after XFree86 3.2, I assume). 8254 8255<H1><A NAME="xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A></H1> 8256 8257I looked more closely at my "double-negative" and realized that I had been 8258confused by the default color scheme (black on white) in combination with 8259reverse video. However, I did see that the original_fg and original_bg data 8260weren't really used - so I removed that logic. 8261<P> 8262Also: 8263<UL> 8264 <LI>during initialization, check if ANSI colors are set with non fg/bg 8265 values, disable color mode if not. This makes xterm tolerant of 8266 applications that allocate the whole color map. 8267 8268 <LI>implemented blinking cursor (default is <EM>off</EM>) 8269</UL> 8270 8271<H1><A NAME="xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A></H1> 8272 8273This patch does the following: 8274<UL> 8275 <LI>fixes some minor typography in the control-sequences documentation 8276 (it didn't occur to me til I'd sent the last patch that I could use 8277 ghostview for previewing the troff output ;-) 8278 8279 <LI>adjusts the shell's background color in ReverseVideo so that flicker 8280 in resizing is reduced 8281 8282 <LI>adds an ifdef OPT_ISO_COLORS to allow configuring xterm without 8283 the ISO color support (saves a lot of memory) 8284 8285 <LI>used that ifdef to isolate/modify logic so that if the user doesn't 8286 have the colorMode enabled, then ISO color support is disabled (saving 8287 memory). 8288 <P> 8289 (If anyone needs numbers, I had savedLines set to 2000, and found 8290 a reduction from ~700k to ~400k of allocated memory, according to 8291 Purify). 8292</UL> 8293 8294<H1><A NAME="xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A></H1> 8295 8296This documents the changes in control sequences for window operations that 8297I added in my previous patch. I'm testing another patch that allows the 8298user to use less memory if colors aren't needed. 8299 8300<H1><A NAME="xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A></H1> 8301 8302This patch does the following: 8303<UL> 8304 <LI>fixes the core dump that I reported on IRIX 5.2 (in main.c) 8305 <P> 8306 (it's worth noting that this bug exists in X11R6.1, so I'd like 8307 to assume that someone's already submitted a fix to X Consortium...) 8308 8309 <LI>change the interpretation of zero rows or columns in a resize-window 8310 request to use the root window's size (looking more carefully at 8311 dtterm, that seems to be what it does). 8312 8313 <LI>change some memmove calls to memcpy for slightly better performance. 8314 also, a couple of memset calls to bzero, since Quantify says bzero runs 8315 20% faster, I assume because there's one less argument. 8316 8317 <LI>interpret character sets 1 and 2 (so that vttest gives a reasonable 8318 result) Both rxvt and dtterm do something equivalent. 8319 8320 <LI>fix a minor memory leak in the logic that retrieves the window or 8321 icon names (Purify found this for me while I ran vttest). 8322</UL> 8323 8324<H1><A NAME="xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A></H1> 8325 8326This implements the following: 8327<UL> 8328 <LI>escape sequences that act like the CDE dtterm's window operations 8329 (though I have implemented the default width and height -- I've seen 8330 a rather buggy dtterm running that seems to treat width=0 or height=0 8331 literally -- maybe that's a feature, not a bug?) 8332 8333 <LI>minor tweak to the screen-repainting when resizing (I still cannot 8334 entirely get rid of flicker). 8335 8336 <LI>still more fixes to terminfo & termcap (I corrected my error for 8337 the hpa code and added some other stuff by comparing to ncurses' 8338 description and rxvt's). 8339 8340 <LI>a tweak to the changes by Michael Rohleder for the color translation 8341 8342 <LI>re-order attribute codes to allow later implementation of protected 8343 fields (dtterm supposedly does this; it's probably more useful than 8344 blinking or invisible text -- that uses up all of the available bits 8345 without changing the attribute scheme radically). 8346</UL> 8347 8348<H1><A NAME="xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A></H1> 8349 8350This patch implements for xterm several minor features from ISO 6429 which are 8351useful for terminfo applications. The HPA and VPA control sequences allow 8352cursor movement along a row or column, cutting down a little on the characters 8353transmitted. The other codes allow resetting specific graphic rendition 8354attributes without modifying the other attributes. 8355 8356(now if someone just had time to implement blinking cursors...) 8357 8358<H1><A NAME="xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A></H1> 8359 8360Adam Tla/lka <atlka@pg.gda.pl> told me a couple of weeks ago that I'd missed 8361some of the background coloring in xterm. I investigated, and found that while 8362I'd picked up on the clear-to-bottom and clear-to-end-of-line operations, I'd 8363overlooked the insert/delete lines. Just so I wouldn't overlook any more of 8364these, I updated a copy of vttest to test ISO colors and bce (background color 8365erase). This patch introduces a new function, ClearCurBackground, whose calls 8366replace the direct XClearArea calls that I'd overlooked. 8367 8368(There's also a few compiler warnings fixed, etc ;-) 8369 8370<H1><A NAME="xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A></H1> 8371 8372This fixes the problem reported by David Dawes, by making the 50msec select 8373timeout for the Xaw3d arrow scrollbar a resource. (I made it a boolean for a 8374variety of reasons -- to make it a number, you'd need an additional resource, 8375to avoid breaking the logic). 8376 8377<H1><A NAME="xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A></H1> 8378 8379This patch brings the termcap and terminfo descriptions for xterm up to date. 8380I made the following changes: 8381<UL> 8382 <LI>reformatted the terminfo description in a single-column (this is ok 8383 for terminfo, and will simplify future patches -- can't do that for 8384 termcap, since it would impact buffer requirements on some systems). 8385 8386 <LI>omitted obsolete features in termcap to save a little space (bs, pt) 8387 8388 <LI>added color capabilities to termcap (ut, Co, NC, op, AB, AF) 8389 8390 <LI>corrected some capabilities (vi, ve) 8391 8392 <LI>added 'st' (set tab) 8393 8394 <LI>reduced function keys in termcap for 'xterm' to 12 because color 8395 capabilities makes that description larger than 1023 characters. 8396 8397 <LI>created new termcap name 'xtermm' (monochrome) to match the terminfo 8398 list, and make that description have 20 function keys. 8399 8400 <LI>added corresponding color capabilities to terminfo (bce, colors, 8401 pairs, op, ncv, setab, setaf) 8402 8403 <LI>corrected corresponding capabilities in terminfo (civis, cnorm, 8404 rmcup, smcup) 8405 8406 <LI>added capabilities (el1, hts) 8407 8408 <LI>in both, corrected home/end keys to match the code correction made 8409 by Thomas Mueller in 3.1.2Bk 8410 8411 <P>=> (I'm still considering modifying the code & description to match 8412 the rxvt program). 8413</UL> 8414 8415<H1><A NAME="xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A></H1> 8416 8417This corrects my earlier changes for colors - the inner border of the xterm was 8418getting painted with the wrong color, since I'd moved the call to set the 8419background into the logic that tracks SGR information. 8420 8421<H1><A NAME="xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A></H1> 8422 8423This corrects a memory leak in xterm that happens whenever one switches fonts. 8424 8425<H1><A NAME="xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A></H1> 8426 8427This patch corrects the behavior of the ANSI colors in xterm when reverse 8428video is used, as well as some other lesser sins: 8429<UL> 8430 <LI>button.c 8431<UL> 8432 <LI>(compiler warnings: shadowing of 'time', redundant cast) 8433</UL> 8434 8435 <LI>charproc.c 8436<UL> 8437 <LI>renamed screen.colors[] array to screen.Acolors[] to more 8438 easily distinguish the non-ANSI colors from the ANSI colors. 8439 8440 <LI>moved logic of SGR_Save() into VTInitialize, getting rid of 8441 local private variables original_fg and original_bg. 8442 8443 <LI>moved some logic into getXtermForeground and getXtermBackground 8444 from SGR_Foreground, SGR_Background, etc. 8445 8446 <LI>corrected misleading 'row' to 'col' in case for CUF, CUB 8447 sequences. 8448</UL> 8449 8450 <LI>ctlseqs.ms 8451 <LI>xterm.man 8452<UL> 8453 <LI>(correct a misconception which I'd added that the color0 8454 through color6 resource values apply to non-ANSI colors) 8455</UL> 8456 8457 <LI>ptyx.h 8458<UL> 8459 <LI>added original_fg, original_bg to TScreen structure. 8460</UL> 8461 8462 <LI>scrollbar.c 8463<UL> 8464 <LI>(compiler warnings: redundant cast) 8465</UL> 8466 8467 <LI>util.c 8468<UL> 8469 <LI>new functions getXtermForeground and getXtermBackground replace 8470 the macros GET_FG and GET_BG, with the added functionality of 8471 checking for the reverse-video status of xterm. 8472 8473 <LI>in ReverseVideo, swap the SGR foreground and background colors 8474 also. 8475</UL> 8476</UL> 8477 8478<H1><A NAME="xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A></H1> 8479 8480I observed an occasional glitch in the xterm's color behavior; a clear to end 8481of line would get a color that had been used in a program that supposedly reset 8482colors. I traced this down to the way xterm was modifying colors of GC's on 8483the fly; it didn't restore the original color of the GC, even though it would 8484later be used in functions (such as ClearRight) that assumed (my error) that 8485the GC would have the current foreground or background color. 8486<P> 8487I fixed this by resetting the GC's colors with a new function 'resetXtermGC()', 8488and direct calls on SGR_Foreground/SGR_Background, as appropriate and using a 8489new function 'updatedXtermGC()' to encapsulate the logic that modifies the GC's 8490color. (I also removed some commented-out code that was trying to do this -- 8491the problem was a little more obscure). 8492 8493<H1><A NAME="xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A></H1> 8494 8495This patch fixes the remaining problems that I had making xterm run with x11r5, 8496as well as a couple of other bugs. It follows my patch from yesterday, that 8497added ifdef's for some of the input-method resources. 8498<UL> 8499 <LI>corrected ifdef's that suppress the input-method code (doesn't 8500 exist in my x11r5, and xterm works adequately without it). 8501 8502 <LI>corrected fallback definition for 'Select()' macro (oops: I'd 8503 copied the wrong text...) 8504 8505 <LI>moved the declarations for the fd_set variables to data.[ch] 8506 8507 <LI>corrected an ifdef in resize.c (sunos 4.x doesn't have termcap.h) 8508 8509 <LI>corrected (in main.c) some unused/orphaned variables. 8510</UL> 8511 8512<H1><A NAME="xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A></H1> 8513 8514This is mostly a documentation patch for xterm. It describes the color control 8515sequences in more detail, and documents some other features of xterm that 8516aren't described elsewhere. 8517<P> 8518I've also added a couple of ifdef's to fix (part of) the problem that I'm 8519working on (making the program work properly on x11r5, where I'm doing memory 8520testing -- I have a "good" version from mid-January, but my resync version 8521doesn't work properly on x11r5). I'm not done with <EM>that</EM> yet. 8522 8523<H1><A NAME="xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A></H1> 8524 8525I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've got an S3 card. 8526<P> 8527This fixes the following in the 3.1.2n xterm: 8528<UL> 8529 <LI>initialize cur_foreground, cur_background in charproc.c (Purify 8530 told me they weren't initialized). 8531 8532 <LI>add interpretation of codes 39, 49, to reset background and 8533 foreground to default value (I'm told that ISO 6429 does this; but I 8534 don't have a written reference -- yet -- can anyone help here?). 8535 Anyway, rxvt does it, and it'll solve my remaining color management 8536 problems. 8537 8538 <LI>shadowing of 'time' in menu.c 8539 8540 <LI>'Cardinal' vs 'int' in scrollbar.c 8541 8542 <LI>several changes to permit compile with X11R5 (the system that I've 8543 got Purify on won't be upgraded to X11R6 for a long time). 8544</UL> 8545<P> 8546I built this version (with a minor nit that I'll patch soon) on SunOS 4.1.3 so 8547that I can test it some more with Purify. 8548<P> 8549<EM>btw</EM>: 8550the changes made in Xpoll.h won't work on some older systems, because 8551 fd_set isn't a defined type (I've got one machine at least that this 8552 applies to). 8553 8554<H1><A NAME="xterm_06">Patch #6 - 1996/1/8</A></H1> 8555 8556This patch does all of the SGR foreground/background fixes (i.e., clearing the 8557screen after an SGR color is set causes that color to be used in the foreground 8558and/or background). If the FG_COLOR and/or BG_COLOR flags aren't set, then the 8559xterm foreground and background default to the window's values. This usage is 8560consistent with various types of hardware (especially the IBM PC), and is also 8561used in rxvt. 8562<UL> 8563 <LI>charproc.c: 8564<UL> 8565 <LI>add/use new macros GET_FG, GET_BG - n/c. 8566 8567 <LI>add/use new functions SGR_Foreground() and SGR_Background() 8568 to set corresponding colors in GC's, and to retain sense of 8569 "original" colors. 8570 8571 <P> 8572 => This makes redundant some of the corresponding logic 8573 in HideCursor to set the foreground and background, 8574 but I left it in since it <EM>may</EM> be fixing an unrelated 8575 requirement. 8576 8577 <LI>set GC's in LoadNewFont() according to whether the SGR fg/bg 8578 colors are active. 8579 8580 <P> 8581 => This fixes some glitches in the accompanying resize, 8582 that leaves parts of the window in the original 8583 background color. 8584</UL> 8585 8586 <LI>screen.c: 8587<UL> 8588 <LI>modified ClearBufRows() to use the SGR fg/bg colors if 8589 they're set. 8590 8591 <LI>added function ScrnClearLines(), used this to replace 8592 portions of ScrnInsertLine() and ScrnDeleteLine(). 8593 The new function uses the SGR fg/bg colors if they're 8594 set. 8595 8596 <P> 8597 => Otherwise, selection after an index or reverse index will 8598 paint the wrong colors. 8599 8600 <LI>modified ScrnDeleteChar() and ScrnInsertChar() 8601 to use SGR fg/bg colors. 8602</UL> 8603 8604 <LI>util.c: 8605<UL> 8606 <LI>modified ClearRight() so that if either of the SGR fg/bg 8607 colors is set, we don't bzero the attributes and color 8608 arrays, but instead fill them with the appropriate codes. 8609 8610 <LI>modified ClearLeft to use SGR fg/bg colors. 8611</UL> 8612</UL> 8613 8614<H1><A NAME="xterm_05">Patch #5 - 1996/1/7</A></H1> 8615 8616This patch modifies the object code, by replacing indexing expressions with 8617temporary variables with the full indexing expression. At first glance, this 8618seems inefficient (it did to me ;-), until remembering comments made in the 8619compilers newsgroups that trying to "help" the compiler doesn't really work 8620that well. A good optimizing compiler can do a better job than the programmer 8621can. (There's a moral in the use of 'register' variables also, but I won't fix 8622those...). 8623<P> 8624Anyway, the revised code generates a smaller object... 8625<UL> 8626<LI>charproc.c: 8627<UL> 8628<LI>recode index expressions in ShowCursor() and HideCursor() 8629 using SCRN_BUF_xxxxS macros - changes object. 8630 8631<LI>replace constant '4' by MAX_PTRS - n/c. 8632</UL> 8633 8634<LI>ptyx.h: 8635<UL> 8636<LI>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS 8637 macros, to pick up references to ScrnBuf data directly, and 8638 added MAX_PTRS symbol to pick up those '4' constants strewn 8639 about the code - n/c. 8640</UL> 8641 8642<LI>screen.c: 8643<UL> 8644<LI>recode index expressions in ScreenWrite() using 8645 SCRN_BUF_xxxxS macros - changes object. 8646 8647<LI>replace constant '4' by MAX_PTRS - n/c. 8648 8649<LI>use macros BUF_CHARS, BUF_ATTRS - n/c. 8650 8651<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c 8652</UL> 8653 8654<LI>scrollbar.c: 8655<UL> 8656<LI>replace constant '4' by MAX_PTRS - n/c. 8657 8658<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c 8659</UL> 8660</UL> 8661 8662<H1><A NAME="xterm_04">Patch #4 - 1996/1/7</A></H1> 8663When setting up for this phase, I saw that you'd corrected the bug that I found 8664in ClearLeft. I decided to make this series of patches anyway, since 8665readability never hurt (and there's the potential for finding another bug while 8666reviewing this set). 8667<UL> 8668<LI>button.c: 8669<UL> 8670<LI>use SCRN_BUF_xxxxS macros - n/c 8671</UL> 8672<LI>charproc.c: 8673<UL> 8674<LI>use SCRN_BUF_xxxxS macros - n/c 8675</UL> 8676<LI>ptyx.h: 8677<UL> 8678<LI>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS, 8679 SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four 8680 arrays that are derived from screen->buf. 8681</UL> 8682<LI>screen.c: 8683<UL> 8684<LI>use SCRN_BUF_xxxxS macros - n/c 8685</UL> 8686<LI>util.c: 8687<UL> 8688<LI>use SCRN_BUF_xxxxS macros - n/c 8689</UL> 8690</UL> 8691<H1><A NAME="xterm_03">Patch #3 - 1996/1/7</A></H1> 8692 8693This is my third (and final cleanup) patch for xterm. It gets rid of the 8694unused stuff, and converts several functions to static (thereby reducing their 8695scope). 8696<P> 8697At this point, the only compile warnings I've got (on Linux) are those about 8698the select arguments (int vs fd_set type), and a missing declaration for 8699waitpid. Those both are hard to get right without autoconfigure. 8700<P> 8701The next patches will address the functional changes... 8702<UL> 8703<LI>Tekproc.c: 8704<UL> 8705<LI>changed several functions to 'static' that aren't used 8706outside this module -- changes object 8707</UL> 8708<LI>charproc.c: 8709<UL> 8710<LI>changed several functions to 'static' that aren't used 8711outside this module -- changes object 8712<LI>deleted unused function unparsefputs -- changes object. 8713</UL> 8714<LI>main.c: 8715<UL> 8716<LI>changed several functions to 'static' that aren't used 8717outside this module -- changes object 8718<LI>ifdef'd out unused function 'consolepr()' -- changes object 8719<LI>removed unused variable 'dummy_tio' -- changes object 8720<LI>moved variable 'discipline' to quiet unused-warning -- changes object 8721</UL> 8722<LI>main.h: 8723<UL> 8724<LI>deleted unused definition of DEFBORDERWIDTH - n/c 8725</UL> 8726<LI>misc.c: 8727<UL> 8728<LI>changed several functions to 'static' that aren't used 8729outside this module -- changes object 8730<LI>provide dummy return statements for xerror and xioerror to 8731quiet compiler warnings -- changes object 8732</UL> 8733<LI>ptyx.h: 8734<UL> 8735<LI>change sbuf_address and abuf_address to 'Char *' - n/c 8736</UL> 8737<LI>resize.c: 8738<UL> 8739<LI>changed several functions to 'static' that aren't used outside this module 8740-- changes object 8741</UL> 8742<LI>screen.c: 8743<UL> 8744<LI>remove unnecessary 'Char **' casts - n/c 8745</UL> 8746<LI>util.c: 8747<UL> 8748<LI>changed several functions to 'static' that aren't used outside this module 8749-- changes object 8750</UL> 8751</UL> 8752<H1><A NAME="xterm_02">Patch #2 - 1996/1/7</A></H1> 8753This is my second patch to xterm. It corrects most of the gcc warnings (except 8754for some that are due to X header files ;-). I compared objects to keep track 8755of the changes that don't affect the object code (n/c) versus those that do. 8756<P> 8757At this point, I'm compiling (fairly) clean with gcc options 8758<PRE> 8759 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs 8760</PRE> 8761(I also compiled with -Wshadow, but while that found some things that I wanted 8762to find, there's far too many warnings from the X headers to be usable in this 8763context). 8764<P> 8765The changes: 8766<UL> 8767<LI>Tekproc.c: 8768<UL> 8769<LI>parenthesized expression to avoid gcc warning -- n/c. 8770 8771<LI>corrected nested-extern declaration for Bool 8772 waiting_for_initial_map; ourTopLevelShellArgs, and 8773 number_ourTopLevelShellArgs - n/c 8774 8775</UL> 8776<LI>charproc.c: 8777<UL> 8778<LI>corrected potentially-unintialized variables 'scstype', 'xim', 8779 and 'input_style' -- changes object. 8780 8781<LI>adjusted logic of VTparse so that gcc won't warn about setjmp 8782 clobbering parsestate -- changes object. 8783 8784<LI>corrected initialization of 'scstype', which could have been 8785 clobbered by setjmp/longjmp - changes object. 8786 8787<LI>corrected nested-extern declaration of 'term', 'ProgramName' 8788 - n/c 8789</UL> 8790 8791<LI>cursor.c: 8792<UL> 8793<LI>corrected nested-extern declaration of 'term' -- n/c 8794 8795<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8796</UL> 8797 8798<LI>input.c: 8799<UL> 8800<LI>change interface of StringInput to assume size_t (i.e., 8801 unsigned) nbytes -- changes object. 8802 8803<LI>change interface of funcvalue, and sunfuncvalue to use 8804 'KeySym' type instead of 'int' - changes object. 8805</UL> 8806 8807<LI>main.c: 8808<UL> 8809<LI>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h - n/c 8810 8811<LI>corrected missing params of 'do_hangup()' -- changes object 8812 (note: the missing params were not used). 8813 8814<LI>corrected missing param of 'Error()' -- changes object 8815 8816<LI>corrected nested-extern 'environ' - n/c 8817 8818<LI>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' so 8819 that gcc can see they won't be clobbered by the longjmp - 8820 changes object. 8821 8822<LI>use Size_t type - n/c. 8823</UL> 8824 8825<LI>menu.c: 8826<UL> 8827<LI>removed redundant prototype for 'do_hangup()' -- n/c. 8828 8829<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c 8830</UL> 8831 8832<LI>menu.h: 8833<UL> 8834<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c 8835</UL> 8836 8837<LI>misc.c: 8838<UL> 8839<LI>corrected definition of 'HandleFocusChange()' -- changes 8840 object 8841 8842<LI>cast parameters in call to 'TekExpose()' -- n/c 8843 8844<LI>corrected nested-extern declarations of 'term', 'toplevel', 8845 ProgramName, and 'environ' -- n/c. 8846 8847<LI>use Size_t type - n/c. 8848</UL> 8849 8850<LI>proto.h: 8851<UL> 8852<LI>moved definition of SIGNAL_T (and SIGNAL_RETURN) here from 8853 main.c, resize.c to allow use of this symbol in prototypes 8854 (mostly in xterm.h). 8855 8856<LI>added definition 'Size_t' to use as corrected type for 8857 strncpy, malloc sizes - n/c. 8858</UL> 8859 8860<LI>resize.c: 8861<UL> 8862<LI>moved SIGNAL_T definition to proto.h -- n/c. 8863 8864<LI>use Size_t type - n/c. 8865</UL> 8866 8867<LI>screen.c: 8868<UL> 8869<LI>use Size_t type - n/c. 8870</UL> 8871 8872<LI>tabs.c: 8873<UL> 8874<LI>corrected nested-extern declaration of 'term' -- n/c 8875</UL> 8876 8877<LI>util.c: 8878<UL> 8879<LI>corrected/supplied parameters to 'TekExpose()' -- changes 8880 object (note: 'TekExpose()' doesn't use its parameters). 8881 8882<LI>corrected nested-extern declaration of 8883 'waiting_for_initial_map' -- n/c. 8884 8885<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8886</UL> 8887 8888<LI>xterm.h: 8889<UL> 8890<LI>prototype 'do_hangup()', 'HandleFocusChange()', 8891 'TekExpose()', 'Error()', 'Exit()' - forces changes in 8892 various places. 8893 8894<LI>adjusted prototypes that pass 'Boolean' arguments to use 8895 'int' (this is the "correct" ANSI approach to extended 8896 compiles; it's worth mentioning that gcc doesn't meet the 8897 ANSI spec here). I used gcc -Wconversion to find these, but 8898 there's a lot of unrelated warnings that are due to setting 8899 NARROWPROTO in the config - n/c. 8900 8901<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8902</UL> 8903</UL> 8904<H1><A NAME="xterm_01">Patch #1 - 1996/1/6</A></H1> 8905This is my first cleanup patch for xterm. It addresses all of the gcc warnings 8906for -Wall, -Wmissing-prototypes and -Wstrict-prototypes that I can change 8907without modifying the object code. (I'm compiling this with gcc 2.7.0 for an 8908aout target, which makes it simple to compare objects. When I do ELF-only, 8909I've got a tool that compares that sort of thing as well). 8910<P> 8911Briefly, this patch adds (and uses) two header files in the xterm directory: 8912<PRE> 8913 proto.h 8914 xterm.h 8915</PRE> 8916I expect this to be the biggest patch by far. However (barring a misplaced 8917prototype), it shouldn't break anything, since the intent of the patch is to 8918provide missing declarations. 8919</BODY> 8920</HTML> 8921