xterm.log.html revision 20d2c4d2
1d522f475Smrg<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2d522f475Smrg<!-- 3d522f475Smrg ***************************************************************************** 420d2c4d2Smrg * this file is part of xterm * 5d522f475Smrg * * 620d2c4d2Smrg * Copyright 1997-2009,2010 by Thomas E. Dickey * 7d522f475Smrg * * 820d2c4d2Smrg * All Rights Reserved * 920d2c4d2Smrg * * 1020d2c4d2Smrg * Permission is hereby granted, free of charge, to any person obtaining a * 1120d2c4d2Smrg * copy of this software and associated documentation files (the * 1220d2c4d2Smrg * "Software"), to deal in the Software without restriction, including * 1320d2c4d2Smrg * without limitation the rights to use, copy, modify, merge, publish, * 1420d2c4d2Smrg * distribute, sublicense, and/or sell copies of the Software, and to * 1520d2c4d2Smrg * permit persons to whom the Software is furnished to do so, subject to * 1620d2c4d2Smrg * the following conditions: * 1720d2c4d2Smrg * * 1820d2c4d2Smrg * The above copyright notice and this permission notice shall be included * 1920d2c4d2Smrg * in all copies or substantial portions of the Software. * 2020d2c4d2Smrg * * 2120d2c4d2Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 2220d2c4d2Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 2320d2c4d2Smrg * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 2420d2c4d2Smrg * IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY * 2520d2c4d2Smrg * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, * 2620d2c4d2Smrg * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * 2720d2c4d2Smrg * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 2820d2c4d2Smrg * * 2920d2c4d2Smrg * Except as contained in this notice, the name(s) of the above copyright * 3020d2c4d2Smrg * holders shall not be used in advertising or otherwise to promote the * 3120d2c4d2Smrg * sale, use or other dealings in this Software without prior written * 3220d2c4d2Smrg * authorization. * 33d522f475Smrg ***************************************************************************** 3420d2c4d2Smrg $XTermId: xterm.log.html,v 1.957 2010/06/28 09:25:58 tom Exp $ 35d522f475Smrg --> 36d522f475Smrg<HTML> 37d522f475Smrg<HEAD> 38d522f475Smrg<TITLE>XTERM - Change Log</TITLE> 39d522f475Smrg<LINK REV=MADE HREF="mailto:dickey@invisible-island.net"> 40d522f475Smrg<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 41d522f475Smrg</HEAD> 42d522f475Smrg<BODY> 43d522f475Smrg<HR> 4420d2c4d2SmrgCopyright © 1997-2009,2010 by <A 45d522f475SmrgHREF="mailto:dickey@invisible-island.net">Thomas E. Dickey</A> 46d522f475Smrg<HR> 47d522f475Smrg<H1>Contents</H1> 48d522f475SmrgThis file contains a list of the changes that I have made for xterm, 49d522f475Smrgfrom the notes that I add when submitting a patch. 50d522f475Smrg<P> 51d522f475SmrgYou should note that other changes have been made as well, by other people, 52d522f475Smrgto fix bugs and correct ifdef's for portability. 53d522f475SmrgMost of these are summarized in the XFree86 CHANGELOG 54d522f475Smrg(found in the unbundled tree, xc/programs/Xserver/hw/xfree86). 55d522f475Smrg<a href="http://invisible-island.net/xterm/xterm.log.html">Here</a> 56d522f475Smrgis the latest version of this file. 57d522f475Smrg 58d522f475Smrg<UL> 5920d2c4d2Smrg<LI><A HREF="#xterm_261">Patch #261 - 2010/6/28</A> 6020d2c4d2Smrg<LI><A HREF="#xterm_260">Patch #260 - 2010/6/20</A> 6120d2c4d2Smrg<LI><A HREF="#xterm_259">Patch #259 - 2010/6/5</A> 6220d2c4d2Smrg<LI><A HREF="#xterm_258">Patch #258 - 2010/5/1</A> 6320d2c4d2Smrg<LI><A HREF="#xterm_257">Patch #257 - 2010/4/22</A> 6420d2c4d2Smrg<LI><A HREF="#xterm_256">Patch #256 - 2010/3/6</A> 6520d2c4d2Smrg<LI><A HREF="#xterm_255">Patch #255 - 2010/1/21</A> 6620d2c4d2Smrg<LI><A HREF="#xterm_254">Patch #254 - 2010/1/6</A> 6720d2c4d2Smrg<LI><A HREF="#xterm_253">Patch #253 - 2009/12/10</A> 6820d2c4d2Smrg<LI><A HREF="#xterm_252">Patch #252 - 2009/12/7</A> 6920d2c4d2Smrg<LI><A HREF="#xterm_251">Patch #251 - 2009/11/11</A> 7020d2c4d2Smrg<LI><A HREF="#xterm_250">Patch #250 - 2009/10/13</A> 7120d2c4d2Smrg<LI><A HREF="#xterm_249">Patch #249 - 2009/10/1</A> 72956cc18dSsnj<LI><A HREF="#xterm_248">Patch #248 - 2009/9/11</A> 73956cc18dSsnj<LI><A HREF="#xterm_247">Patch #247 - 2009/8/30</A> 74956cc18dSsnj<LI><A HREF="#xterm_246">Patch #246 - 2009/8/16</A> 75956cc18dSsnj<LI><A HREF="#xterm_245">Patch #245 - 2009/8/12</A> 76956cc18dSsnj<LI><A HREF="#xterm_244">Patch #244 - 2009/8/9</A> 77956cc18dSsnj<LI><A HREF="#xterm_243">Patch #243 - 2009/3/28</A> 78956cc18dSsnj<LI><A HREF="#xterm_242">Patch #242 - 2009/2/15</A> 79956cc18dSsnj<LI><A HREF="#xterm_241">Patch #241 - 2009/1/26</A> 80956cc18dSsnj<LI><A HREF="#xterm_240">Patch #240 - 2009/1/25</A> 81956cc18dSsnj<LI><A HREF="#xterm_239">Patch #239 - 2009/1/8</A> 822eaa94a1Schristos<LI><A HREF="#xterm_238">Patch #238 - 2008/12/30</A> 832eaa94a1Schristos<LI><A HREF="#xterm_237">Patch #237 - 2008/09/14</A> 842eaa94a1Schristos<LI><A HREF="#xterm_236">Patch #236 - 2008/07/27</A> 85d522f475Smrg<LI><A HREF="#xterm_235">Patch #235 - 2008/04/20</A> 86d522f475Smrg<LI><A HREF="#xterm_234">Patch #234 - 2008/03/02</A> 87d522f475Smrg<LI><A HREF="#xterm_233">Patch #233 - 2008/02/24</A> 88d522f475Smrg<LI><A HREF="#xterm_232">Patch #232 - 2008/01/30</A> 89d522f475Smrg<LI><A HREF="#xterm_231">Patch #231 - 2008/01/05</A> 90d522f475Smrg<LI><A HREF="#xterm_230">Patch #230 - 2007/12/31</A> 91d522f475Smrg<LI><A HREF="#xterm_229">Patch #229 - 2007/8/12</A> 92d522f475Smrg<LI><A HREF="#xterm_228">Patch #228 - 2007/7/22</A> 93d522f475Smrg<LI><A HREF="#xterm_227">Patch #227 - 2007/6/27</A> 94d522f475Smrg<LI><A HREF="#xterm_226">Patch #226 - 2007/6/17</A> 95d522f475Smrg<LI><A HREF="#xterm_225">Patch #225 - 2007/3/24</A> 96d522f475Smrg<LI><A HREF="#xterm_224">Patch #224 - 2007/2/11</A> 97d522f475Smrg<LI><A HREF="#xterm_223">Patch #223 - 2006/11/30</A> 98d522f475Smrg<LI><A HREF="#xterm_222">Patch #222 - 2006/10/17</A> 99d522f475Smrg<LI><A HREF="#xterm_221">Patch #221 - 2006/10/1</A> 100d522f475Smrg<LI><A HREF="#xterm_220">Patch #220 - 2006/9/10</A> 101d522f475Smrg<LI><A HREF="#xterm_219">Patch #219 - 2006/9/4</A> 102d522f475Smrg<LI><A HREF="#xterm_218">Patch #218 - 2006/8/27</A> 103d522f475Smrg<LI><A HREF="#xterm_217">Patch #217 - 2006/8/20</A> 104d522f475Smrg<LI><A HREF="#xterm_216">Patch #216 - 2006/8/3</A> 105d522f475Smrg<LI><A HREF="#xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A> 106d522f475Smrg<LI><A HREF="#xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A> 107d522f475Smrg<LI><A HREF="#xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A> 108d522f475Smrg<LI><A HREF="#xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A> 109d522f475Smrg<LI><A HREF="#xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A> 110d522f475Smrg<LI><A HREF="#xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A> 111d522f475Smrg<LI><A HREF="#xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A> 112d522f475Smrg<LI><A HREF="#xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A> 113d522f475Smrg<LI><A HREF="#xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A> 114d522f475Smrg<LI><A HREF="#xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A> 115d522f475Smrg<LI><A HREF="#xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A> 116d522f475Smrg<LI><A HREF="#xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A> 117d522f475Smrg<LI><A HREF="#xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A> 118d522f475Smrg<LI><A HREF="#xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A> 119d522f475Smrg<LI><A HREF="#xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A> 120d522f475Smrg<LI><A HREF="#xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A> 121d522f475Smrg<LI><A HREF="#xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A> 122d522f475Smrg<LI><A HREF="#xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A> 123d522f475Smrg<LI><A HREF="#xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A> 124d522f475Smrg<LI><A HREF="#xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A> 125d522f475Smrg<LI><A HREF="#xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A> 126d522f475Smrg<LI><A HREF="#xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A> 127d522f475Smrg<LI><A HREF="#xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A> 128d522f475Smrg<LI><A HREF="#xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A> 129d522f475Smrg<LI><A HREF="#xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A> 130d522f475Smrg<LI><A HREF="#xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A> 131d522f475Smrg<LI><A HREF="#xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A> 132d522f475Smrg<LI><A HREF="#xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A> 133d522f475Smrg<LI><A HREF="#xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A> 134d522f475Smrg<LI><A HREF="#xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A> 135d522f475Smrg<LI><A HREF="#xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A> 136d522f475Smrg<LI><A HREF="#xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A> 137d522f475Smrg<LI><A HREF="#xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A> 138d522f475Smrg<LI><A HREF="#xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A> 139d522f475Smrg<LI><A HREF="#xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A> 140d522f475Smrg<LI><A HREF="#xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A> 141d522f475Smrg<LI><A HREF="#xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A> 142d522f475Smrg<LI><A HREF="#xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A> 143d522f475Smrg<LI><A HREF="#xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A> 144d522f475Smrg<LI><A HREF="#xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A> 145d522f475Smrg<LI><A HREF="#xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A> 146d522f475Smrg<LI><A HREF="#xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A> 147d522f475Smrg<LI><A HREF="#xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A> 148d522f475Smrg<LI><A HREF="#xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A> 149d522f475Smrg<LI><A HREF="#xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A> 150d522f475Smrg<LI><A HREF="#xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A> 151d522f475Smrg<LI><A HREF="#xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A> 152d522f475Smrg<LI><A HREF="#xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A> 153d522f475Smrg<LI><A HREF="#xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A> 154d522f475Smrg<LI><A HREF="#xterm_166">Patch #166 - 2002/3/25 - XFree86 4.2.0</A> 155d522f475Smrg<LI><A HREF="#xterm_165">Patch #165 - 2002/1/5 - XFree86 4.1.0</A> 156d522f475Smrg<LI><A HREF="#xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A> 157d522f475Smrg<LI><A HREF="#xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A> 158d522f475Smrg<LI><A HREF="#xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A> 159d522f475Smrg<LI><A HREF="#xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A> 160d522f475Smrg<LI><A HREF="#xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A> 161d522f475Smrg<LI><A HREF="#xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A> 162d522f475Smrg<LI><A HREF="#xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A> 163d522f475Smrg<LI><A HREF="#xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A> 164d522f475Smrg<LI><A HREF="#xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A> 165d522f475Smrg<LI><A HREF="#xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A> 166d522f475Smrg<LI><A HREF="#xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A> 167d522f475Smrg<LI><A HREF="#xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A> 168d522f475Smrg<LI><A HREF="#xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A> 169d522f475Smrg<LI><A HREF="#xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A> 170d522f475Smrg<LI><A HREF="#xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A> 171d522f475Smrg<LI><A HREF="#xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A> 172d522f475Smrg<LI><A HREF="#xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A> 173d522f475Smrg<LI><A HREF="#xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A> 174d522f475Smrg<LI><A HREF="#xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A> 175d522f475Smrg<LI><A HREF="#xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A> 176d522f475Smrg<LI><A HREF="#xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A> 177d522f475Smrg<LI><A HREF="#xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A> 178d522f475Smrg<LI><A HREF="#xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A> 179d522f475Smrg<LI><A HREF="#xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A> 180d522f475Smrg<LI><A HREF="#xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A> 181d522f475Smrg<LI><A HREF="#xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A> 182d522f475Smrg<LI><A HREF="#xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A> 183d522f475Smrg<LI><A HREF="#xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A> 184d522f475Smrg<LI><A HREF="#xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A> 185d522f475Smrg<LI><A HREF="#xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A> 186d522f475Smrg<LI><A HREF="#xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A> 187d522f475Smrg<LI><A HREF="#xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A> 188d522f475Smrg<LI><A HREF="#xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A> 189d522f475Smrg<LI><A HREF="#xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A> 190d522f475Smrg<LI><A HREF="#xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A> 191d522f475Smrg<LI><A HREF="#xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A> 192d522f475Smrg<LI><A HREF="#xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A> 193d522f475Smrg<LI><A HREF="#xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A> 194d522f475Smrg<LI><A HREF="#xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A> 195d522f475Smrg<LI><A HREF="#xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A> 196d522f475Smrg<LI><A HREF="#xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A> 197d522f475Smrg<LI><A HREF="#xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A> 198d522f475Smrg<LI><A HREF="#xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A> 199d522f475Smrg<LI><A HREF="#xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A> 200d522f475Smrg<LI><A HREF="#xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A> 201d522f475Smrg<LI><A HREF="#xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A> 202d522f475Smrg<LI><A HREF="#xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A> 203d522f475Smrg<LI><A HREF="#xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A> 204d522f475Smrg<LI><A HREF="#xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A> 205d522f475Smrg<LI><A HREF="#xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A> 206d522f475Smrg<LI><A HREF="#xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A> 207d522f475Smrg<LI><A HREF="#xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A> 208d522f475Smrg<LI><A HREF="#xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A> 209d522f475Smrg<LI><A HREF="#xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A> 210d522f475Smrg<LI><A HREF="#xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A> 211d522f475Smrg<LI><A HREF="#xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A> 212d522f475Smrg<LI><A HREF="#xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A> 213d522f475Smrg<LI><A HREF="#xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A> 214d522f475Smrg<LI><A HREF="#xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A> 215d522f475Smrg<LI><A HREF="#xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A> 216d522f475Smrg<LI><A HREF="#xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A> 217d522f475Smrg<LI><A HREF="#xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A> 218d522f475Smrg<LI><A HREF="#xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A> 219d522f475Smrg<LI><A HREF="#xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A> 220d522f475Smrg<LI><A HREF="#xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A> 221d522f475Smrg<LI><A HREF="#xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A> 222d522f475Smrg<LI><A HREF="#xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A> 223d522f475Smrg<LI><A HREF="#xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A> 224d522f475Smrg<LI><A HREF="#xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A> 225d522f475Smrg<LI><A HREF="#xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A> 226d522f475Smrg<LI><A HREF="#xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A> 227d522f475Smrg<LI><A HREF="#xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A> 228d522f475Smrg<LI><A HREF="#xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A> 229d522f475Smrg<LI><A HREF="#xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A> 230d522f475Smrg<LI><A HREF="#xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A> 231d522f475Smrg<LI><A HREF="#xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A> 232d522f475Smrg<LI><A HREF="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A> 233d522f475Smrg<LI><A HREF="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A> 234d522f475Smrg<LI><A HREF="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A> 235d522f475Smrg<LI><A HREF="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A> 236d522f475Smrg<LI><A HREF="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni and 3.3.2e</A> 237d522f475Smrg<LI><A HREF="#sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A> 238d522f475Smrg<LI><A HREF="#xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A> 239d522f475Smrg<LI><A HREF="#xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A> 240d522f475Smrg<LI><A HREF="#xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A> 241d522f475Smrg<LI><A HREF="#xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A> 242d522f475Smrg<LI><A HREF="#xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A> 243d522f475Smrg<LI><A HREF="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A> 244d522f475Smrg<LI><A HREF="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A> 245d522f475Smrg<LI><A HREF="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A> 246d522f475Smrg<LI><A HREF="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A> 247d522f475Smrg<LI><A HREF="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A> 248d522f475Smrg<LI><A HREF="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A> 249d522f475Smrg<LI><A HREF="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A> 250d522f475Smrg<LI><A HREF="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A> 251d522f475Smrg<LI><A HREF="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A> 252d522f475Smrg<LI><A HREF="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A> 253d522f475Smrg<LI><A HREF="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A> 254d522f475Smrg<LI><A HREF="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A> 255d522f475Smrg<LI><A HREF="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A> 256d522f475Smrg<LI><A HREF="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A> 257d522f475Smrg<LI><A HREF="#xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A> 258d522f475Smrg<LI><A HREF="#xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A> 259d522f475Smrg<LI><A HREF="#xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A> 260d522f475Smrg<LI><A HREF="#xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A> 261d522f475Smrg<LI><A HREF="#xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A> 262d522f475Smrg<LI><A HREF="#xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A> 263d522f475Smrg<LI><A HREF="#xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A> 264d522f475Smrg<LI><A HREF="#xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A> 265d522f475Smrg<LI><A HREF="#xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A> 266d522f475Smrg<LI><A HREF="#xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A> 267d522f475Smrg<LI><A HREF="#xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A> 268d522f475Smrg<LI><A HREF="#xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A> 269d522f475Smrg<LI><A HREF="#xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A> 270d522f475Smrg<LI><A HREF="#xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A> 271d522f475Smrg<LI><A HREF="#xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A> 272d522f475Smrg<LI><A HREF="#xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A> 273d522f475Smrg<LI><A HREF="#xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A> 274d522f475Smrg<LI><A HREF="#xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A> 275d522f475Smrg<LI><A HREF="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A> 276d522f475Smrg<LI><A HREF="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A> 277d522f475Smrg<LI><A HREF="#xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A> 278d522f475Smrg<LI><A HREF="#xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A> 279d522f475Smrg<LI><A HREF="#xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A> 280d522f475Smrg<LI><A HREF="#xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A> 281d522f475Smrg<LI><A HREF="#xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A> 282d522f475Smrg<LI><A HREF="#xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A> 283d522f475Smrg<LI><A HREF="#xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A> 284d522f475Smrg<LI><A HREF="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A> 285d522f475Smrg<LI><A HREF="#xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A> 286d522f475Smrg<LI><A HREF="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A> 287d522f475Smrg<LI><A HREF="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A> 288d522f475Smrg<LI><A HREF="#xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A> 289d522f475Smrg<LI><A HREF="#xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A> 290d522f475Smrg<LI><A HREF="#xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A> 291d522f475Smrg<LI><A HREF="#xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A> 292d522f475Smrg<LI><A HREF="#xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A> 293d522f475Smrg<LI><A HREF="#xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A> 294d522f475Smrg<LI><A HREF="#xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A> 295d522f475Smrg<LI><A HREF="#xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A> 296d522f475Smrg<LI><A HREF="#xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A> 297d522f475Smrg<LI><A HREF="#xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A> 298d522f475Smrg<LI><A HREF="#xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A> 299d522f475Smrg<LI><A HREF="#xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A> 300d522f475Smrg<LI><A HREF="#xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A> 301d522f475Smrg<LI><A HREF="#xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A> 302d522f475Smrg<LI><A HREF="#xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A> 303d522f475Smrg<LI><A HREF="#xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A> 304d522f475Smrg<LI><A HREF="#xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A> 305d522f475Smrg<LI><A HREF="#xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A> 306d522f475Smrg<LI><A HREF="#xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A> 307d522f475Smrg<LI><A HREF="#xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A> 308d522f475Smrg<LI><A HREF="#xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A> 309d522f475Smrg<LI><A HREF="#xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A> 310d522f475Smrg<LI><A HREF="#xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A> 311d522f475Smrg<LI><A HREF="#xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A> 312d522f475Smrg<LI><A HREF="#xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A> 313d522f475Smrg<LI><A HREF="#xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A> 314d522f475Smrg<LI><A HREF="#xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A> 315d522f475Smrg<LI><A HREF="#xterm_06">Patch #6 - 1996/1/8</A> 316d522f475Smrg<LI><A HREF="#xterm_05">Patch #5 - 1996/1/7</A> 317d522f475Smrg<LI><A HREF="#xterm_04">Patch #4 - 1996/1/7</A> 318d522f475Smrg<LI><A HREF="#xterm_03">Patch #3 - 1996/1/7</A> 319d522f475Smrg<LI><A HREF="#xterm_02">Patch #2 - 1996/1/7</A> 320d522f475Smrg<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A> 321d522f475Smrg</UL> 322d522f475Smrg 32320d2c4d2Smrg<H1><A NAME="xterm_261">Patch #261 - 2010/6/28</A></H1> 32420d2c4d2Smrg<ul> 32520d2c4d2Smrg <li>fix regression in <code>renderFont</code> logic, from 32620d2c4d2Smrg <a href="#xterm_260">patch #260</a> changes 32720d2c4d2Smrg (report by Joseph Quinsey). 32820d2c4d2Smrg</ul> 32920d2c4d2Smrg 33020d2c4d2Smrg<H1><A NAME="xterm_260">Patch #260 - 2010/6/20</A></H1> 33120d2c4d2Smrg<ul> 33220d2c4d2Smrg <li>modify <code>plink.sh</code> to work around problem linking to 33320d2c4d2Smrg recent PCRE libraries. 33420d2c4d2Smrg 33520d2c4d2Smrg <li>extend <code>renderFont</code> resource to allow deferred switch 33620d2c4d2Smrg to TrueType fonts without affecting existing resource settings 33720d2c4d2Smrg (Debian #585620). 33820d2c4d2Smrg 33920d2c4d2Smrg <li>modify configure macro CF_X_TOOLKIT to work around omission of 34020d2c4d2Smrg ICE library from ".pc" file (report by Miroslav Lichvar). 34120d2c4d2Smrg 34220d2c4d2Smrg <li>change configure script default for <code>--enable-broken-st</code> 34320d2c4d2Smrg i.e., the <code>brokenStringTerm</code> feature) 34420d2c4d2Smrg to normally enable it. 34520d2c4d2Smrg If the corresponding resource is enabled, 34620d2c4d2Smrg this feature eliminates an apparent freeze of xterm 34720d2c4d2Smrg when sending mis-encoded data to the screen (Debian #584801). 34820d2c4d2Smrg 34920d2c4d2Smrg <li>document in manpage some actions which were overlooked: 35020d2c4d2Smrg <ul> 35120d2c4d2Smrg <li>readline-button 35220d2c4d2Smrg <li>scroll-lock 35320d2c4d2Smrg <li>set-8-bit-control 35420d2c4d2Smrg </ul> 35520d2c4d2Smrg 35620d2c4d2Smrg <li>undo a change to limit-check in <code>ScrnRefresh</code> 35720d2c4d2Smrg in <a href="#xterm_257">patch #257</a>, 35820d2c4d2Smrg which broke <code>fastScroll</code> feature 35920d2c4d2Smrg (Debian #584841). 36020d2c4d2Smrg 36120d2c4d2Smrg <li>modify handling of 36220d2c4d2Smrg <code>brokenLinuxOSC</code> and 36320d2c4d2Smrg <code>brokenStringTerm</code> 36420d2c4d2Smrg to also sound the bell. 36520d2c4d2Smrg 36620d2c4d2Smrg <li>add control/D and control/Q to controls which will cause early 36720d2c4d2Smrg exit from control string per <code>brokenStringTerm</code> 36820d2c4d2Smrg resource. 36920d2c4d2Smrg 37020d2c4d2Smrg <li>improve documentation of <code>brokenStringTerm</code> resource 37120d2c4d2Smrg in manpage. 37220d2c4d2Smrg</ul> 37320d2c4d2Smrg 37420d2c4d2Smrg<H1><A NAME="xterm_259">Patch #259 - 2010/6/5</A></H1> 37520d2c4d2Smrg<ul> 37620d2c4d2Smrg <li>modify configure check for 37720d2c4d2Smrg <a href="http://invisible-island.net/luit/">luit</a> to include new 37820d2c4d2Smrg aliases for the program 37920d2c4d2Smrg (<code>xterm-filter</code> and 38020d2c4d2Smrg <code>bluit</code>). 38120d2c4d2Smrg 38220d2c4d2Smrg <li>add workaround in <code>xtermClearLEDs()</code> to account for 38320d2c4d2Smrg Xkb's override, making vttest's LED demo reset the scroll 38420d2c4d2Smrg lock. 38520d2c4d2Smrg 38620d2c4d2Smrg <li>filter out client-message events when deciding whether to hide 38720d2c4d2Smrg cursor, e.g., when using SCIM 38820d2c4d2Smrg (patch/report by anonymous user). 38920d2c4d2Smrg 39020d2c4d2Smrg <li>improve description of <code>-bd</code> option in manpage 39120d2c4d2Smrg (report by Guy Daniel Clotilde). 39220d2c4d2Smrg 39320d2c4d2Smrg <li>modify configure checks for PCRE and other libraries to use 39420d2c4d2Smrg <code>pkg-config</code>, if available. 39520d2c4d2Smrg 39620d2c4d2Smrg <li>amend change from <a href="#xterm_252">patch #252</a>, to take 39720d2c4d2Smrg <code>veryColorColors</code> resource into account when checking 39820d2c4d2Smrg <code>colorBDMode</code> resource for TrueType fonts 39920d2c4d2Smrg (report by anonymous user). 40020d2c4d2Smrg 40120d2c4d2Smrg <li>add <code>vttests/query-fonts.pl</code> script for 40220d2c4d2Smrg demonstrating the <code>OSC 50</code> font query. 40320d2c4d2Smrg 40420d2c4d2Smrg <li>improve manpage discussion of Scroll Lock feature. 40520d2c4d2Smrg 40620d2c4d2Smrg <li>improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS. 40720d2c4d2Smrg 40820d2c4d2Smrg <li>fix warnings for "clang --analyze". 40920d2c4d2Smrg 41020d2c4d2Smrg <li>change default for <code>allowScrollLock</code> resource to 41120d2c4d2Smrg <code>false</code>, noting that the supposedly unused key has 41220d2c4d2Smrg been useful for various rebindings (Debian #580946). 41320d2c4d2Smrg</ul> 41420d2c4d2Smrg 41520d2c4d2Smrg<H1><A NAME="xterm_258">Patch #258 - 2010/5/1</A></H1> 41620d2c4d2Smrg<ul> 41720d2c4d2Smrg <li>add pointer-checks in <code>ScrnRefresh</code> to fix a case in 41820d2c4d2Smrg rapid scrolling where an empty record is fetched from the 41920d2c4d2Smrg scrollback FIFO. 42020d2c4d2Smrg</ul> 42120d2c4d2Smrg 42220d2c4d2Smrg<H1><A NAME="xterm_257">Patch #257 - 2010/4/22</A></H1> 42320d2c4d2Smrg<ul> 42420d2c4d2Smrg <li>correct ctlseqs.ms description of OSC 17 and OSC 19 42520d2c4d2Smrg (patch by Emanuele Giaquinta). 42620d2c4d2Smrg 42720d2c4d2Smrg <li>corrected logic for <code>menuLocale</code> resource; 42820d2c4d2Smrg the <code>setlocale</code> function returns the original locale 42920d2c4d2Smrg only when querying. 43020d2c4d2Smrg 43120d2c4d2Smrg <li>improve filtering of translations resource, narrowing the scope 43220d2c4d2Smrg of the <code>alwaysUseMods</code> to address only the translations 43320d2c4d2Smrg that would cause a key to be sent to the host (report by Andrew 43420d2c4d2Smrg Gaylard). 43520d2c4d2Smrg 43620d2c4d2Smrg <li>change default value of <code>menuLocale</code> resource to "C", 43720d2c4d2Smrg to work around 43820d2c4d2Smrg longstanding <a href="http://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg bug</a>. 43920d2c4d2Smrg 44020d2c4d2Smrg <li>modify handling of <code>scrollKey</code> feature to ignore 44120d2c4d2Smrg XON/XOFF keys. 44220d2c4d2Smrg 44320d2c4d2Smrg <li>implement scroll-lock feature. 44420d2c4d2Smrg 44520d2c4d2Smrg <li>revise memory allocation in UTF8toLatin1() to fix an out-of-bounds 44620d2c4d2Smrg index (Mandriva #54531). 44720d2c4d2Smrg 44820d2c4d2Smrg <li>compute value for first wide-character rather than assuming it is 44920d2c4d2Smrg 256, fixes problem with <code>-cjk_width</code> introduced in 45020d2c4d2Smrg patches 45120d2c4d2Smrg <a href="#xterm_242">242</a> and 45220d2c4d2Smrg <a href="#xterm_249">249</a> 45320d2c4d2Smrg (report by Thomas Wolff). 45420d2c4d2Smrg 45520d2c4d2Smrg <li>improve configure script: 45620d2c4d2Smrg <ul> 45720d2c4d2Smrg <li>corrected check for <code>_XOPEN_SOURCE</code> for OpenSolaris. 45820d2c4d2Smrg 45920d2c4d2Smrg <li>when possible, add rpath option for libraries in unusual places 46020d2c4d2Smrg 46120d2c4d2Smrg <li>add configure option <code>--disable-rpath-hack</code> to 46220d2c4d2Smrg control whether the rpath option can be added. 46320d2c4d2Smrg </ul> 46420d2c4d2Smrg 46520d2c4d2Smrg <li>modify <code>AllocateTermColor()</code> to separate initialization 46620d2c4d2Smrg from control sequences, 46720d2c4d2Smrg fixing problem from <a href="#xterm_254">patch #254</a> changes 46820d2c4d2Smrg where enabling <code>allowSendEvents</code> 46920d2c4d2Smrg resource prevents setting cursor color on command-line 47020d2c4d2Smrg (Debian #572928). 47120d2c4d2Smrg 47220d2c4d2Smrg <li>amend logic from <a href="#xterm_185">patch #185</a> to not 47320d2c4d2Smrg reallocate cell-array if processing <code>ESC % G</code> 47420d2c4d2Smrg to switch from UTF-8 if already in ISO-8859-1 character set 47520d2c4d2Smrg (report by Michael Koehne). 47620d2c4d2Smrg 47720d2c4d2Smrg <li>fix to avoid calling <code>XmuInternStrings()</code> with zero 47820d2c4d2Smrg count (report by Johan Bockgård). 47920d2c4d2Smrg 48020d2c4d2Smrg <li>fix build when --disable-ansi-color configure option is used. 48120d2c4d2Smrg 48220d2c4d2Smrg <li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is defined 48320d2c4d2Smrg (patch by Matthieu Herrb) 48420d2c4d2Smrg</ul> 48520d2c4d2Smrg 48620d2c4d2Smrg<H1><A NAME="xterm_256">Patch #256 - 2010/3/6</A></H1> 48720d2c4d2Smrg<ul> 48820d2c4d2Smrg <li>add TerminalEmulator to desktop category files. 48920d2c4d2Smrg 49020d2c4d2Smrg <li>modify <code>sinstall.sh</code> to ignore the "." appended to 49120d2c4d2Smrg permissions by selinux. 49220d2c4d2Smrg 49320d2c4d2Smrg <li>change app-defaults organization, installing UXTerm-color 49420d2c4d2Smrg and KOI8XTerm-color for consistent behavior regarding 49520d2c4d2Smrg <code>customization: color</code> (prompted by discussion 49620d2c4d2Smrg in Ubuntu #421261). 49720d2c4d2Smrg 49820d2c4d2Smrg <li>fix typo in <code>minstall.sh</code> from 49920d2c4d2Smrg <a href="#xterm_255">patch #255</a> changes, 50020d2c4d2Smrg and add case for 50120d2c4d2Smrg <code>/var/run</code> needed for full path of utmp 50220d2c4d2Smrg (report by Julien Cristau). 50320d2c4d2Smrg 50420d2c4d2Smrg <li>minor fix to xterm manpage, remove a comment stating that margin 50520d2c4d2Smrg bell can be changed via the VT Options menu. That was replaced in 50620d2c4d2Smrg <a href="#xterm_225">patch #225</a> 50720d2c4d2Smrg 50820d2c4d2Smrg <li>add a "docs" rule to makefile. 50920d2c4d2Smrg 51020d2c4d2Smrg <li>fix initialization of Atom used for <code>XkbBell</code> feature 51120d2c4d2Smrg from <a href="#xterm_243">patch 243</a> changes. 51220d2c4d2Smrg Unlike the other calls to <code>XInternAtom()</code>, 51320d2c4d2Smrg in this case the flag telling X to create the Atom was unset 51420d2c4d2Smrg (patch by Chris Adams). 51520d2c4d2Smrg</ul> 51620d2c4d2Smrg 51720d2c4d2Smrg<H1><A NAME="xterm_255">Patch #255 - 2010/1/21</A></H1> 51820d2c4d2Smrg<ul> 51920d2c4d2Smrg <li>rename <code>install.sh</code> to <code>install-sh</code> in case 52020d2c4d2Smrg suffix-rules might interfere. 52120d2c4d2Smrg 52220d2c4d2Smrg <li>extend range for <code>convertToUTF8</code> function to full 52320d2c4d2Smrg 31-bits, to use with printing, etc. 52420d2c4d2Smrg 52520d2c4d2Smrg <li>improve manpage by checking for actual locations of 52620d2c4d2Smrg utmp/wtmp files (Debian #562640). 52720d2c4d2Smrg 52820d2c4d2Smrg <li>modify configure macro CF_XOPEN_SOURCE to remove -D's before 52920d2c4d2Smrg adding the same name rather than relying on -U's, to reduce 53020d2c4d2Smrg redefinition warnings for some platforms that have conflicting 53120d2c4d2Smrg definitions in headers. 53220d2c4d2Smrg 53320d2c4d2Smrg <li>correct logic used to switch to alternate screen using FIFO-lines 53420d2c4d2Smrg configuration (Debian #565772). 53520d2c4d2Smrg 53620d2c4d2Smrg <li>update config.guess, config.sub 53720d2c4d2Smrg</ul> 53820d2c4d2Smrg 53920d2c4d2Smrg<H1><A NAME="xterm_254">Patch #254 - 2010/1/6</A></H1> 54020d2c4d2Smrg<ul> 54120d2c4d2Smrg <li>add a configure-check to eliminate <code>install-ti</code> 54220d2c4d2Smrg rule from Makefile when the system has no tic (terminfo compiler) 54320d2c4d2Smrg program. This lets one use the <code>install-full</code> 54420d2c4d2Smrg rule more consistently. 54520d2c4d2Smrg 54620d2c4d2Smrg <li>amend change to WriteText() function in 54720d2c4d2Smrg <a href="#xterm_252">patch #252</a> to take into account the 54820d2c4d2Smrg <code>colorAttrMode</code> resource 54920d2c4d2Smrg (report by Krzysztof Kotlenga). 55020d2c4d2Smrg 55120d2c4d2Smrg <li>document <code>titleModes</code> resource in manpage, added in 55220d2c4d2Smrg <a href="#xterm_252">patch #252</a>. 55320d2c4d2Smrg 55420d2c4d2Smrg <li>modify tcap-query table entries for shifted up/down cursor keys 55520d2c4d2Smrg to match ncurses convention. 55620d2c4d2Smrg 55720d2c4d2Smrg <li>improve lookup of termcap-query data, allowing for duplicate 55820d2c4d2Smrg keycodes versus missing entries. 55920d2c4d2Smrg 56020d2c4d2Smrg <li>add control sequence which can be used to modify the terminal 56120d2c4d2Smrg data used for the termcap-keyboard. 56220d2c4d2Smrg 56320d2c4d2Smrg <li>improve portability of tcap-query feature, using terminfo functions 56420d2c4d2Smrg in preference to termcap on systems having terminfo. 56520d2c4d2Smrg 56620d2c4d2Smrg <li>improve font-setting/querying control (<code>OSC 50</code>): 56720d2c4d2Smrg <ul> 56820d2c4d2Smrg <li>when TrueType font is selected, the TrueType 56920d2c4d2Smrg <code>faceName</code> will be set, rather than the bitmap font. 57020d2c4d2Smrg <li>when TrueType font is selected, querying returns the name of 57120d2c4d2Smrg the TrueType font. 57220d2c4d2Smrg <li>querying a font recognizes the relative-font convention that 57320d2c4d2Smrg setting a font could use. 57420d2c4d2Smrg </ul> 57520d2c4d2Smrg 57620d2c4d2Smrg <li>add menu-entry for allowColorOps. 57720d2c4d2Smrg 57820d2c4d2Smrg <li>add new resources for fine-tuning menu entries: 57920d2c4d2Smrg <code>allowColorOps</code>, 58020d2c4d2Smrg <code>disallowedColorOps</code>, 58120d2c4d2Smrg <code>disallowedFontOps</code> and 58220d2c4d2Smrg <code>disallowedTcapOps</code>. 58320d2c4d2Smrg 58420d2c4d2Smrg <li>correct logic for disabling the "TrueType Fonts" menu item; it was 58520d2c4d2Smrg not ensuring that the <code>faceName</code> resource value was 58620d2c4d2Smrg non-empty. 58720d2c4d2Smrg 58820d2c4d2Smrg <li>implement VT520-style controls <code>DECSMBV</code> and 58920d2c4d2Smrg <code>DECSWBV</code> for setting the margin- and warning-bell 59020d2c4d2Smrg volume. 59120d2c4d2Smrg 59220d2c4d2Smrg <li>fix a minor error from <a href="#xterm_243">patch #243</a> which 59320d2c4d2Smrg made the zIconBeep feature use a minor-error tone rather than an 59420d2c4d2Smrg informational tone. 59520d2c4d2Smrg 59620d2c4d2Smrg <li>add a null-pointer check for the case where <code>renderFont</code> 59720d2c4d2Smrg resource is true, but <code>faceName</code> resource is unset, 59820d2c4d2Smrg used in logic to strip "xft:" prefix from 59920d2c4d2Smrg <a href="#xterm_251">patch #251</a> changes 60020d2c4d2Smrg (patch by Michael Riepe). 60120d2c4d2Smrg 60220d2c4d2Smrg <li>add special case to configure CF_XOPEN_SOURCE macro to use extensions 60320d2c4d2Smrg on Darwin (patch by Dennis Preiser). 60420d2c4d2Smrg 60520d2c4d2Smrg <li>improve configure checks for regular expressions header and 60620d2c4d2Smrg library 60720d2c4d2Smrg 60820d2c4d2Smrg <li>update config.guess, config.sub 60920d2c4d2Smrg</ul> 61020d2c4d2Smrg 61120d2c4d2Smrg<H1><A NAME="xterm_253">Patch #253 - 2009/12/10</A></H1> 61220d2c4d2Smrg<ul> 61320d2c4d2Smrg <li>add a null-pointer check in <code>getPrinterFlags()</code> 61420d2c4d2Smrg per changes in <a href="#xterm_252">patch #252</a>. 61520d2c4d2Smrg 61620d2c4d2Smrg <li>add a null-pointer check, needed in UTF-8 mode for Xft fonts after 61720d2c4d2Smrg changes in <a href="#xterm_252">patch #252</a> (patch by Alan 61820d2c4d2Smrg Coopersmith). 61920d2c4d2Smrg 62020d2c4d2Smrg <li>correct size when clearing struct for tek4014 (patch by Jochen 62120d2c4d2Smrg Voss). 62220d2c4d2Smrg 62320d2c4d2Smrg <li>parenthesize expression in <code>MoreRows</code> macro, fixing 62420d2c4d2Smrg a limit check added in <a href="#xterm_251">patch #251</a> 62520d2c4d2Smrg (Debian #560039). 62620d2c4d2Smrg</ul> 62720d2c4d2Smrg 62820d2c4d2Smrg<H1><A NAME="xterm_252">Patch #252 - 2009/12/7</A></H1> 62920d2c4d2Smrg<ul> 63020d2c4d2Smrg <li>modify title-querying logic to support retrieval of titles encoded 63120d2c4d2Smrg using UTF-8. 63220d2c4d2Smrg 63320d2c4d2Smrg <li>add new "title-modes" control sequence for controlling whether 63420d2c4d2Smrg window/icon titles can be set or queried using UTF-8, optionally 63520d2c4d2Smrg encoded in a hexadecimal string. 63620d2c4d2Smrg 63720d2c4d2Smrg <li>use <code>mkdir -p</code> rather than <code>mkdirs.sh</code> 63820d2c4d2Smrg (prompted by discussion of mawk by Aleksey Cheusov). 63920d2c4d2Smrg 64020d2c4d2Smrg <li>add appropriate copyright/license notices to the bulk of files 64120d2c4d2Smrg lacking same, and modify to use identical terms in others which 64220d2c4d2Smrg used different wording. The main exceptions are the files 64320d2c4d2Smrg contributed by Markus Kuhn, who appears to prefer public domain 64420d2c4d2Smrg distribution, noting that I have modified/improved several of these 64520d2c4d2Smrg without changing the terms of distribution (request by Jari Aalto). 64620d2c4d2Smrg 64720d2c4d2Smrg <li>add control sequences for resetting the "dynamic" colors to 64820d2c4d2Smrg their default values. 64920d2c4d2Smrg 65020d2c4d2Smrg <li>add control sequences for resetting the "special" colors to 65120d2c4d2Smrg their default values. 65220d2c4d2Smrg 65320d2c4d2Smrg <li>add control sequences for setting the "special" colors such as 65420d2c4d2Smrg <code>colorBD</code> (bold). 65520d2c4d2Smrg 65620d2c4d2Smrg <li>add overlooked case for setting highlight foreground color with 65720d2c4d2Smrg the dynamic-colors control. 65820d2c4d2Smrg 65920d2c4d2Smrg <li>add <code>OSC 104</code>, for resetting ANSI/16/88/256 colors to 66020d2c4d2Smrg default. 66120d2c4d2Smrg 66220d2c4d2Smrg <li>reset ANSI/16/88/256 colors to default in soft/hard reset functions. 66320d2c4d2Smrg 66420d2c4d2Smrg <li>strip "xft:" prefix from <code>faceName</code> and 66520d2c4d2Smrg <code>faceNameDoublesize</code> resource values, 66620d2c4d2Smrg 66720d2c4d2Smrg <li>add <code>DECSCUSR</code> (discussion with Andy Koppe). 66820d2c4d2Smrg 66920d2c4d2Smrg <li>add check/warning on failure to load font, to see if the name looks 67020d2c4d2Smrg like an Xft pattern rather than XLFD. This can happen if someone 67120d2c4d2Smrg happens to modify their X resource settings for programs that read 67220d2c4d2Smrg data from xterm's namespace. 67320d2c4d2Smrg 67420d2c4d2Smrg <li>modify handling of <code>print</code> and 67520d2c4d2Smrg <code>print-everything</code> 67620d2c4d2Smrg actions to allow the various printer flags to be overridden by 67720d2c4d2Smrg supplying parameters. 67820d2c4d2Smrg 67920d2c4d2Smrg <li>add resource <code>printerNewLine</code> (request by Ovidiu 68020d2c4d2Smrg Gheorghioiu). 68120d2c4d2Smrg 68220d2c4d2Smrg <li>minor cleanup, finish using <code>TScreenOf()</code> and 68320d2c4d2Smrg <code>TekScreenOf()</code> macros introduced in 68420d2c4d2Smrg <a href="#xterm_224">patch #224</a>. 68520d2c4d2Smrg 68620d2c4d2Smrg <li>improve checks in ShowCursor/HideCursor to get the background 68720d2c4d2Smrg color, particularly when <code>highlightReverse</code> resource 68820d2c4d2Smrg is used (reports by Jan Engelhardt, Christian Weisgerber). 68920d2c4d2Smrg 69020d2c4d2Smrg <li>correct <code>checkVeryBoldAttr</code> to omit comparison of 69120d2c4d2Smrg foreground color to special color values used for 69220d2c4d2Smrg <code>color<XX></code> resources (report by Jan Engelhardt). 69320d2c4d2Smrg 69420d2c4d2Smrg <li>make <code>colorBDMode</code> and <code>colorULMode</code> 69520d2c4d2Smrg resources work with TrueType configuration (report by Jan 69620d2c4d2Smrg Engelhardt). 69720d2c4d2Smrg</ul> 69820d2c4d2Smrg 69920d2c4d2Smrg<H1><A NAME="xterm_251">Patch #251 - 2009/11/11</A></H1> 70020d2c4d2Smrg<ul> 70120d2c4d2Smrg <li>add window-ops controls to push/pop icon and/or window labels on 70220d2c4d2Smrg a stack. 70320d2c4d2Smrg 70420d2c4d2Smrg <li>minor fixes to align termcap file with terminfo. 70520d2c4d2Smrg 70620d2c4d2Smrg <li>add resource <code>disallowedWindowOps</code>, to allow fine-tuning 70720d2c4d2Smrg of features to suppress with the <code>allowWindowOps</code> 70820d2c4d2Smrg resource (prompted by discussion with Bram Moolenaar). 70920d2c4d2Smrg 71020d2c4d2Smrg <li>add makefile rules for resize-manpage to pdf, etc. 71120d2c4d2Smrg 71220d2c4d2Smrg <li>further improve limit-checks in select/paste (Mandriva #54531). 71320d2c4d2Smrg</ul> 71420d2c4d2Smrg 71520d2c4d2Smrg<H1><A NAME="xterm_250">Patch #250 - 2009/10/13</A></H1> 71620d2c4d2Smrg<ul> 71720d2c4d2Smrg <li>add check and error-message for fonts that have no printable 71820d2c4d2Smrg values in the ISO-8859-1 range (Debian #542434). 71920d2c4d2Smrg 72020d2c4d2Smrg <li>some compiler-warning cleanup, in particular workaround for 72120d2c4d2Smrg defective implementation of gcc's attribute warn_unused_result 72220d2c4d2Smrg (report by Bram Moolenaar). 72320d2c4d2Smrg 72420d2c4d2Smrg <li>improve estimate of single-column width for packed TrueType 72520d2c4d2Smrg fonts by ignoring extents for codes 127 and 159. 72620d2c4d2Smrg 72720d2c4d2Smrg <li>improve line-drawing for TrueType fonts which happen to have 72820d2c4d2Smrg defined glyphs which are <em>not</em> line-drawing in 0..31 72920d2c4d2Smrg by assuming they're not, and just checking the existence of 73020d2c4d2Smrg the Unicode codepoints. This makes it more likely that the 73120d2c4d2Smrg user can override a misconfigured font using the "Line-Drawing 73220d2c4d2Smrg Characters" menu entry. 73320d2c4d2Smrg 73420d2c4d2Smrg <li>limit minimum cell-width for packed font to maximum-advance 73520d2c4d2Smrg reported by Xft. Some fonts are wider than that, even in the 73620d2c4d2Smrg Latin-1 range (Debian #550497). 73720d2c4d2Smrg 73820d2c4d2Smrg <li>add list of direct-contributors in "THANKS" file. 73920d2c4d2Smrg 74020d2c4d2Smrg <li>stylistic changes to this file to help scripted extraction of 74120d2c4d2Smrg list of contributors. 74220d2c4d2Smrg 74320d2c4d2Smrg <li>correct off-by-one in <code>okPosition</code> fix from 74420d2c4d2Smrg <a href="#xterm_249">patch #249</a> limit-checks which 74520d2c4d2Smrg prevented double-click selection on the bottom line of the 74620d2c4d2Smrg screen (reports by Rajeev V. Pillai, Debian #550368). 74720d2c4d2Smrg 74820d2c4d2Smrg <li>add <code>-q</code> option to 74920d2c4d2Smrg <code>vttest/256colors2.pl</code> and 75020d2c4d2Smrg <code>vttest/88colors2.pl</code> 75120d2c4d2Smrg to demonstrate bulk initialization of color palette. 75220d2c4d2Smrg 75320d2c4d2Smrg <li>improve the workaround from patch #188 by enabling resources for 75420d2c4d2Smrg the 88-color model. 75520d2c4d2Smrg 75620d2c4d2Smrg <li>document in xterm manpage the limited availability of resources 75720d2c4d2Smrg <code>color16</code> to <code>color255</code> as noted in 75820d2c4d2Smrg <a href="#xterm_188">patch #188</a> (Ubuntu #438850). 75920d2c4d2Smrg</ul> 76020d2c4d2Smrg 76120d2c4d2Smrg<H1><A NAME="xterm_249">Patch #249 - 2009/10/1</A></H1> 76220d2c4d2Smrg<ul> 76320d2c4d2Smrg <li>change default for <code>allowWindowOps</code> resource to false. 76420d2c4d2Smrg <!-- on the other hand, gnome-terminal, pterm and rxvt-unicode 76520d2c4d2Smrg leave most of the related functionality enabled ;-) --> 76620d2c4d2Smrg 76720d2c4d2Smrg <li>add limit-checks for result of visual_width() function, 76820d2c4d2Smrg needed from <a href="#xterm_242">patch #242</a> and 76920d2c4d2Smrg exposed by #244 changes (Debian #548321). 77020d2c4d2Smrg 77120d2c4d2Smrg <li>improve limit-checks in select/paste. 77220d2c4d2Smrg 77320d2c4d2Smrg <li>fix a remaining bug from 77420d2c4d2Smrg <a href="#xterm_230">patch #230</a> 77520d2c4d2Smrg changes for displaying multi-column 77620d2c4d2Smrg characters in a proportional font (report by Chris Jones). 77720d2c4d2Smrg 77820d2c4d2Smrg <li>add new resource forcePackedFont and menu entry "Packed Font" to 77920d2c4d2Smrg control whether to use the font's minimum (default) or maximum 78020d2c4d2Smrg width when those differ. The workaround which xterm uses to 78120d2c4d2Smrg accommodate proportional fonts is not necessary with certain 78220d2c4d2Smrg fonts such as unifont which happen to store a mixture of 78320d2c4d2Smrg multicolumn glyphs (report by Chris Jones). 78420d2c4d2Smrg 78520d2c4d2Smrg <li>fix an (old) bug which did not restart the timer for blinking text 78620d2c4d2Smrg if the only blinking text was temporarily scrolled out of view, 78720d2c4d2Smrg e.g., using the scrollbar. 78820d2c4d2Smrg 78920d2c4d2Smrg <li>fix an (old) flaw in the delete-line operation where the text which 79020d2c4d2Smrg is scrolled into view while the display is scrolled up was not 79120d2c4d2Smrg repainted. 79220d2c4d2Smrg 79320d2c4d2Smrg <li>improve delete-line and insert-line operations, retaining selection 79420d2c4d2Smrg when the selection does not intersect the deleted/inserted lines. 79520d2c4d2Smrg 79620d2c4d2Smrg <li>fix an (old) off-by-one error when an application cleared above the 79720d2c4d2Smrg cursor position while the display was scrolled up, that would leave 79820d2c4d2Smrg an extra line of text uncleared. 79920d2c4d2Smrg 80020d2c4d2Smrg <li>fix a similar problem where the double-size attribute would not be 80120d2c4d2Smrg reset when clearing the screen while the display was scrolled up. 80220d2c4d2Smrg 80320d2c4d2Smrg <li>fix an indexing error which would occur if an application cleared 80420d2c4d2Smrg a line while the display was scrolled up and was also in UTF-8 mode 80520d2c4d2Smrg (Redhat #524503). 80620d2c4d2Smrg The error was from <a href="#xterm_228">patch #228</a> 80720d2c4d2Smrg but more visible after 80820d2c4d2Smrg changes from <a href="#xterm_244">patch #244</a>. 80920d2c4d2Smrg</ul> 81020d2c4d2Smrg 811956cc18dSsnj<H1><A NAME="xterm_248">Patch #248 - 2009/9/11</A></H1> 812956cc18dSsnj<ul> 813956cc18dSsnj <li>fix an overlooked adjustment for selecting double-width characters 814956cc18dSsnj in the narrow-character configuration. 815956cc18dSsnj 816956cc18dSsnj <li>eliminate uses of <code>XTERM_CELL</code> and 817956cc18dSsnj <code>XTERM_CELLC</code> where an appropriate <code>LineData</code> 818956cc18dSsnj pointer is available. 819956cc18dSsnj 820956cc18dSsnj <li>correct expression in <code>okScrnRow</code> macro, making 821956cc18dSsnj selections give the length of lines below the visible screen 822956cc18dSsnj (report by Stuart Henderson). 823956cc18dSsnj 824956cc18dSsnj <li>correct logic used to improve performance of missing-glyph check, 825956cc18dSsnj which did not handle line-drawing characters (Debian #545220). 826956cc18dSsnj</ul> 827956cc18dSsnj 828956cc18dSsnj<H1><A NAME="xterm_247">Patch #247 - 2009/8/30</A></H1> 829956cc18dSsnj<ul> 830956cc18dSsnj <li>add ifdef's and check for openpty() on DragonFly (patch by 831956cc18dSsnj Alex Hornung). 832956cc18dSsnj 833956cc18dSsnj <li>correct calculation for size of line's data block, which was 834956cc18dSsnj sometimes off-by-one when configured 835956cc18dSsnj using <code>--enable-16bit-chars</code> 836956cc18dSsnj (report by H Merijn Brand). 837956cc18dSsnj 838956cc18dSsnj <li>fix indexing error in print-everything feature from 839956cc18dSsnj <a href="#xterm_246">patch #246</a> (patch by Ovidiu Gheorghioiu). 840956cc18dSsnj</ul> 841956cc18dSsnj 842956cc18dSsnj<H1><A NAME="xterm_246">Patch #246 - 2009/8/16</A></H1> 843956cc18dSsnj<ul> 844956cc18dSsnj <li>remove obsolete logic for saving/restoring wrapping flags, which 845956cc18dSsnj did not work on 64-bit platform. Wrapping flags (stored in the 846956cc18dSsnj line-index) are now copied with line-data (Debian #541160). 847956cc18dSsnj 848956cc18dSsnj <li>modify comments in app-defaults files to avoid problem with 849956cc18dSsnj C preprocessor used by <code>xrdb</code> (Debian #541603). 850956cc18dSsnj 851956cc18dSsnj <li>restore special case in <code>makeColorPair</code>, 852956cc18dSsnj needed for <code>colorBDMode</code> resource (Debian #541089). 853956cc18dSsnj 854956cc18dSsnj <li>correct <code>SetLineFlags()</code> macro, broken in 855956cc18dSsnj <a href="#xterm_244">patch #244</a> 856956cc18dSsnj when recoding to avoid gcc-specific bitfields (Debian #541236). 857956cc18dSsnj 858956cc18dSsnj <li>modify initialization of screen buffers to ensure that pointers 859956cc18dSsnj align to int-boundaries. 860956cc18dSsnj This fixes a problem introduced in 861956cc18dSsnj <a href="#xterm_244">patch #244</a> 862956cc18dSsnj where the color- and character-arrays 863956cc18dSsnj (stored after the video-attributes in each row) 864956cc18dSsnj might be misaligned (report by Rajeev V Pillai). 865956cc18dSsnj 866956cc18dSsnj <li>add limit-check in <code>ScrnRefresh</code> for handling 867956cc18dSsnj saved-lines from the circular buffer which are repainted on a 868956cc18dSsnj screen whose width has increased. To improve performance, circular 869956cc18dSsnj buffer entries are not resized (report by Rajeev V Pillai). 870956cc18dSsnj 871956cc18dSsnj <li>correct type for <code>CellColor</code> (a late change in 872956cc18dSsnj <a href="#xterm_244">patch #244</a> 873956cc18dSsnj to avoid gcc-specifc enums made that unsigned 874956cc18dSsnj rather than unsigned short, for the 256-color option). 875956cc18dSsnj 876956cc18dSsnj <li>fix typo in configure option --enable-16bit-chars (report by 877956cc18dSsnj Rajeev V. Pillai). 878956cc18dSsnj</ul> 879956cc18dSsnj 880956cc18dSsnj<H1><A NAME="xterm_245">Patch #245 - 2009/8/12</A></H1> 881956cc18dSsnj<ul> 882956cc18dSsnj <li>correct a special case in saving FIFO-lines from 883956cc18dSsnj <a href="#xterm_244">patch #244</a>. 884956cc18dSsnj If the screen was shrunk, xterm used the wrong amount for copying 885956cc18dSsnj to FIFO-lines, and then used this amount to adjust the current 886956cc18dSsnj row on the screen. That was both a visible defect (Debian #541109) 887956cc18dSsnj as well as a potential addressing error (Debian #541132, #541160, 888956cc18dSsnj and #541236). 889956cc18dSsnj 890956cc18dSsnj <li>add clarification in xterm manual about the 891956cc18dSsnj various <code>allow<em>XXX</em>Ops</code> resources, which 892956cc18dSsnj are disabled when the 893956cc18dSsnj <code>allowSendEvents</code> resource is active (patch by 894956cc18dSsnj Julien Cristau, Debian #531597). 895956cc18dSsnj</ul> 896956cc18dSsnj 897956cc18dSsnj<H1><A NAME="xterm_244">Patch #244 - 2009/8/9</A></H1> 898956cc18dSsnj<ul> 899956cc18dSsnj <li>refactored storage of saved-lines, providing a configure option 900956cc18dSsnj to manage them as a FIFO (actually a circular buffer), improving 901956cc18dSsnj performance. 902956cc18dSsnj Added configure option <code>--enable-fifo-lines</code> to 903956cc18dSsnj enable/disable the new feature (it is enabled by default). 904956cc18dSsnj 905956cc18dSsnj <li>added <code>fastScroll</code> resource, to amuse 906956cc18dSsnj people who measure terminal emulator performance by 907956cc18dSsnj <code>cat</code>'ing large files to the screen. 908956cc18dSsnj 909956cc18dSsnj <li>modify check in <code>readPtyData</code> from return values 910956cc18dSsnj to provide exit on zero-bytes read from pty for FreeBSD, or 911956cc18dSsnj eliminate high-CPU in "xterm-hold" processing 912956cc18dSsnj (discussion with Ulrich Spoerlein, FreeBSD ports/136686). 913956cc18dSsnj The check was originally modified to combine negative/zero 914956cc18dSsnj values in XFree86-3.1.2E, 1996/05/06. 915956cc18dSsnj 916956cc18dSsnj <li>add configure option <code>--enable-16bit-chars</code> to 917956cc18dSsnj provide wide-characters with 16-bits (rather than the default 918956cc18dSsnj 32-bits). 919956cc18dSsnj 920956cc18dSsnj <li>add <code>retryInputMethod</code> resource to allow configuring 921956cc18dSsnj out the retries xterm uses to connect to non-responsive XIM 922956cc18dSsnj server, to work around defective X configurations as noted in 923956cc18dSsnj <a href="http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html">NetBSD mailing list</a>. 924956cc18dSsnj 925956cc18dSsnj <li>make regular-expression selection work for VT100 double-sized 926956cc18dSsnj characters. 927956cc18dSsnj 928956cc18dSsnj <li>improve layout when drawing missing characters in a proportional 929956cc18dSsnj font, e.g., as boxes, to take into account whether they are 930956cc18dSsnj double-width (report by Guilbert Stabilo on comp.unix.shell). 931956cc18dSsnj 932956cc18dSsnj <li>add capability for keypad-center (kb2/KA2) to termcap entry for 933956cc18dSsnj xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220 934956cc18dSsnj (FreeBSD conf/136336). 935956cc18dSsnj 936956cc18dSsnj <li>change default for <code>keepSelection</code> resource to true 937956cc18dSsnj (prompted by discussion with David Muir Sharnoff). 938956cc18dSsnj 939956cc18dSsnj <li>remove a limit-check in ptydata.c, allowing Unicode values past 940956cc18dSsnj 64k to be displayed using TrueType fonts (Debian #458432). 941956cc18dSsnj 942956cc18dSsnj <li>remove a vt52-specific ifdef to allow mapping F1-F4 to PF1-PF4 943956cc18dSsnj when vt52 support is not compiled (report by Olaf 'Rhialto' 944956cc18dSsnj Seibert). 945956cc18dSsnj 946956cc18dSsnj <li>save/restore line-wrapping flags when converting from ISO-8859-1 947956cc18dSsnj encoding to UTF-8 encoding, as well as when resizing screen. 948956cc18dSsnj 949956cc18dSsnj <li>remove extra adjustment of position in fix for Debian #418324. 950956cc18dSsnj 951956cc18dSsnj <li>modify default check for <code>mkWidth</code> resource to check 952956cc18dSsnj for line-drawing characters, which are categorized as double-width 953956cc18dSsnj in Solaris 10 (report by Sebastian Kayser). 954956cc18dSsnj 955956cc18dSsnj <li>add "print-everything" action (patch by Ovidiu Gheorghioiu). 956956cc18dSsnj 957956cc18dSsnj <li>start refactoring scrollback data using new getLineData() function. 958956cc18dSsnj 959956cc18dSsnj <li>demote recent change to Debian #252873 fix to experimental, 960956cc18dSsnj ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141). 961956cc18dSsnj 962956cc18dSsnj <li>work around groff mapping of ASCII quotes using macros (requested 963956cc18dSsnj by Reuben Thomas based on Colin Watson advice, fixes Debian #378700). 964956cc18dSsnj 965956cc18dSsnj <li>correct symbol used for default of <code>allowWindowOps</code> 966956cc18dSsnj which was <code>DEF_ALLOW_FONT</code> 967956cc18dSsnj rather than <code>DEF_ALLOW_WINDOW</code> 968956cc18dSsnj (report by Matthieu Herrb). 969956cc18dSsnj 970956cc18dSsnj <li>amend fix for tek4014 from <a href="#xterm_243">patch #243</a> 971956cc18dSsnj to make it only apply to the Tek Options menu. 972956cc18dSsnj</ul> 973956cc18dSsnj 974956cc18dSsnj<H1><A NAME="xterm_243">Patch #243 - 2009/3/28</A></H1> 975956cc18dSsnj<ul> 976956cc18dSsnj <li>revert change to default for <code>allowTcapOps</code> (request by 977956cc18dSsnj Bram Moolenaar). 978956cc18dSsnj 979956cc18dSsnj <li>reallocate result returned by <code>xtermEnvLocale()</code> to 980956cc18dSsnj avoid reference to freed memory after handling 981956cc18dSsnj <code>menuLocale</code> resource. 982956cc18dSsnj 983956cc18dSsnj <li>fix an old (X11R5) bug in tek4014 for switching fontsizes. 984956cc18dSsnj 985956cc18dSsnj <li>add resource <code>defaultString</code> to make configurable the 986956cc18dSsnj use of "#" when pastes of UTF-8 text fail due to limitations in 987956cc18dSsnj the current locale settings. 988956cc18dSsnj 989956cc18dSsnj <li>make the set of selection target Atom's configurable by two new 990956cc18dSsnj resources <code>eightBitSelectTypes</code> and 991956cc18dSsnj <code>utf8SelectTypes</code>, e.g., to use the <code>TEXT</code> 992956cc18dSsnj Atom in preference to <code>UTF8_STRING</code> (discussion with 993956cc18dSsnj Stanislav Sedov regarding koi8rxterm and the FreeBSD port). 994956cc18dSsnj 995956cc18dSsnj <li>modify handling of <code>TARGETS</code> Atom by making it return 996956cc18dSsnj exactly the set of targets as those which xterm is currently 997956cc18dSsnj providing. 998956cc18dSsnj 999956cc18dSsnj <li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly to 1000956cc18dSsnj /bin/cat in <code>minstall.sh</code> to work around /etc/man.conf's 1001956cc18dSsnj with those variables already set 1002956cc18dSsnj (report by Марьясин 1003956cc18dSsnj Семён). 1004956cc18dSsnj <li>improve error-checking of tcap-query parser. 1005956cc18dSsnj 1006956cc18dSsnj <li>add check for keyboard <code>tcap</code>), which ensures that 1007956cc18dSsnj terminal descriptions containing the same string for 1008956cc18dSsnj shifted/unshifted keys will be seen by tcap-query as only the 1009956cc18dSsnj unshifted key. (This would only happen with an incorrect terminal 1010956cc18dSsnj description). 1011956cc18dSsnj 1012956cc18dSsnj <li>fix conversion for input event-state to modifier-parameter which 1013956cc18dSsnj made tcap-query feature not work with <code>tcapFunctionKeys</code> 1014956cc18dSsnj (keyboard type <code>tcap</code>). 1015956cc18dSsnj 1016956cc18dSsnj <li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow 1017956cc18dSsnj overriding the default compiled-in values for 1018956cc18dSsnj "allow<em>xxx</em>" resources. 1019956cc18dSsnj 1020956cc18dSsnj <li>remove check on bell-percentage added in 1021956cc18dSsnj <a href="#xterm_242">patch #242</a>, 1022956cc18dSsnj which disallowed zero/negative values (Redhat Bugzilla #487829). 1023956cc18dSsnj</ul> 1024956cc18dSsnj 1025956cc18dSsnj<H1><A NAME="xterm_242">Patch #242 - 2009/2/15</A></H1> 1026956cc18dSsnj<ul> 1027956cc18dSsnj <li>fix configure check for <code>XkbBell</code> and provide 1028956cc18dSsnj appropriate parameter for it. 1029956cc18dSsnj 1030956cc18dSsnj <li>fix a caching problem with double-size fonts versus reverse video 1031956cc18dSsnj that could cause core dump. 1032956cc18dSsnj 1033956cc18dSsnj <li>repair double-size fonts from workaround 1034956cc18dSsnj used in <a href="#xterm_240">patch #240</a>. 1035956cc18dSsnj 1036956cc18dSsnj <li>add new section to the VT Fonts menu which allows enabling or 1037956cc18dSsnj disabling the font, termcap (tcap-query), title and window 1038956cc18dSsnj operations. 1039956cc18dSsnj 1040956cc18dSsnj <li>add <code>fontWarnings</code> resource, to control whether to show 1041956cc18dSsnj warnings on failure to load a font. 1042956cc18dSsnj 1043956cc18dSsnj <li>improve warnings for unloadable fonts introduced in 1044956cc18dSsnj <a href="#xterm_240">patch #240</a> 1045956cc18dSsnj by limiting those to the cases where a font would be specified 1046956cc18dSsnj directly by a resource setting rather than a derived fontname. 1047956cc18dSsnj 1048956cc18dSsnj <li>further amend fix for Debian #252873 1049956cc18dSsnj from <a href="#xterm_197">patch #197</a> to 1050956cc18dSsnj treat a blank cell which does not have both foreground and background 1051956cc18dSsnj colored as a non-colored cell. 1052956cc18dSsnj This improves a special case where the cursor is on a blank 1053956cc18dSsnj cell which had foreground color scrolled in 1054956cc18dSsnj (report by Miroslav Lichvar). 1055956cc18dSsnj <p> 1056956cc18dSsnj Also add the same logic when hiding cursor, so the outline matches 1057956cc18dSsnj the in-focus cursor. 1058956cc18dSsnj 1059956cc18dSsnj <li>modify internals to reduce places PAIRED_CHARS() is used, making 1060956cc18dSsnj WriteText() and ScrnWriteText() accept IChar array, as well as 1061956cc18dSsnj providing a wrapper for drawXtermText(). 1062956cc18dSsnj 1063956cc18dSsnj <li>change default XIM font from "*" to "fixed" to improve startup 1064956cc18dSsnj time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930). 1065956cc18dSsnj 1066956cc18dSsnj <li>typo in #240 log (Slava Semushin) 1067956cc18dSsnj</ul> 1068956cc18dSsnj 1069956cc18dSsnj<H1><A NAME="xterm_241">Patch #241 - 2009/1/26</A></H1> 1070956cc18dSsnj<ul> 1071956cc18dSsnj <li>improve checks for missing bitmap fonts, fallback to "fixed" as 1072956cc18dSsnj needed to work around broken font-packages (report by Jacek 1073956cc18dSsnj Luczak). 1074956cc18dSsnj 1075956cc18dSsnj <li>fix breakage from <a href="#xterm_240">patch #240</a> changes for 1076956cc18dSsnj <code>xtermAddInput()</code> (patches by Jeff Chua, Julien Cristau). 1077956cc18dSsnj</ul> 1078956cc18dSsnj 1079956cc18dSsnj<H1><A NAME="xterm_240">Patch #240 - 2009/1/25</A></H1> 1080956cc18dSsnj<ul> 1081956cc18dSsnj <li>use <code>plink.sh</code> for linking xterm (suggested by Larry 1082956cc18dSsnj Doolittle). 1083956cc18dSsnj 1084956cc18dSsnj <li>add resource descriptions for input method to xterm manpage. 1085956cc18dSsnj 1086956cc18dSsnj <li>update configure script; consistently append to $CFLAGS rather 1087956cc18dSsnj than prepend. 1088956cc18dSsnj 1089956cc18dSsnj <li>add <code>install-scripts</code> rule to makefile, to allow 1090956cc18dSsnj koi8rxterm and uxterm scripts to be altered independently of 1091956cc18dSsnj <code>install-bin</code> 1092956cc18dSsnj 1093956cc18dSsnj <li>add <code>-maximized</code> command-line option and corresponding 1094956cc18dSsnj resource (prompted by alt.os.linux newsgroup comment). 1095956cc18dSsnj 1096956cc18dSsnj <li>modify translations of scrollbar widget using 1097956cc18dSsnj <code>xtermAddInput()</code> 1098956cc18dSsnj (see <a href="#xterm_181">patch #181</a>) to accept the actions 1099956cc18dSsnj that the vt100 widget accepts, such as shift-insert to perform 1100956cc18dSsnj a paste operation (request by Martin Zwickel). 1101956cc18dSsnj 1102956cc18dSsnj <li>change default for <code>allowTcapsOps</code> resource to false, 1103956cc18dSsnj since it causes unexpected behavior for vim users with 1104956cc18dSsnj <code>AltGr</code>. 1105956cc18dSsnj 1106956cc18dSsnj <li>update config.guess, config.sub 1107956cc18dSsnj</ul> 1108956cc18dSsnj 11094e40088cSchristos<H1><A NAME="xterm_239">Patch #239 - 2009/1/8</A></H1> 11104e40088cSchristos<ul> 11114e40088cSchristos <li>correct a cast in input.c, which broke translation of numeric 11124e40088cSchristos keypad codes to pageup, pagedown, etc., on 64-bit platform 11134e40088cSchristos (Debian #511138, report by Larry Doolittle). 11144e40088cSchristos</ul> 11154e40088cSchristos 11162eaa94a1Schristos<H1><A NAME="xterm_238">Patch #238 - 2008/12/30</A></H1> 11172eaa94a1Schristos<ul> 11182eaa94a1Schristos <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint 11192eaa94a1Schristos platforms. 11202eaa94a1Schristos 11212eaa94a1Schristos <li>reset the screen wrapping-flag at the end of 11222eaa94a1Schristos <code>ClearRight</code> to fix an occasional case where the last 11232eaa94a1Schristos character of a scrolled and wrapped line would be cleared (patch by 11242eaa94a1Schristos Joe Peterson). 11252eaa94a1Schristos 11262eaa94a1Schristos <li>modify to use POSIX coding for comparing resource settings such 11272eaa94a1Schristos as <code>locale</code>, to work with locales such as Turkish 11282eaa94a1Schristos (report by M Vefa Bicakci). 11292eaa94a1Schristos 11302eaa94a1Schristos <li>turn on configure <code>paste64</code> feature by default 11312eaa94a1Schristos (request by Jean-Philippe Bernardy). 11322eaa94a1Schristos It is runtime enabled/disabled with <code>allowWindowOps</code>. 11332eaa94a1Schristos 11342eaa94a1Schristos <li>turn on configure <code>tcap-query</code> feature by default, 11352eaa94a1Schristos add resource <code>allowTcapOps</code> 11362eaa94a1Schristos to make this runtime enabled/disabled. 11372eaa94a1Schristos 11382eaa94a1Schristos <li>make <code>OSC 3</code> (change X property, from 11392eaa94a1Schristos <a href="#xterm_110">patch #110</a>) 11402eaa94a1Schristos subject to <code>allowWindowOps</code> resource. 11412eaa94a1Schristos 11422eaa94a1Schristos <li>make VT220 <code>DSR</code> responses inactive in VT100-mode. 11432eaa94a1Schristos 11442eaa94a1Schristos <li>make <code>DECUDK</code> feature inactive in VT100-mode. 11452eaa94a1Schristos 11462eaa94a1Schristos <li>respond to incorrectly formatted <code>DECRQSS</code> with a 11472eaa94a1Schristos cancel. 11482eaa94a1Schristos 11492eaa94a1Schristos <li>add <code>allowFontOps</code> 11502eaa94a1Schristos resource to allow the fontsize-switching and font query/set 11512eaa94a1Schristos control sequences to be enabled/disabled 11522eaa94a1Schristos (prompted by Debian #510030). 11532eaa94a1Schristos 11542eaa94a1Schristos <li>some code cleanup based on gcc 4.x <code>-Wconversion</code> 11552eaa94a1Schristos warnings in button.c and charproc.c 11562eaa94a1Schristos 11572eaa94a1Schristos <li>modify <code>tcap-query</code> feature to not return data for 11582eaa94a1Schristos shifted cursor-keys when the keyboard type is set to vt220, 11592eaa94a1Schristos since returning the same string for shifted/unshifted keys may 11602eaa94a1Schristos confuse some applications (GenToo #212546). 11612eaa94a1Schristos</ul> 11622eaa94a1Schristos 11632eaa94a1Schristos<H1><A NAME="xterm_237">Patch #237 - 2008/09/14</A></H1> 11642eaa94a1Schristos<ul> 11652eaa94a1Schristos <li>improve usability of TrueType fonts by making the font-size 11662eaa94a1Schristos switching for shifted keypad plus/minus use the 11672eaa94a1Schristos <code>faceSize</code> resources to determine the order of fonts 11682eaa94a1Schristos (when TrueType fonts are used) rather than the bitmap fonts, since 11692eaa94a1Schristos their sizes may not be in the same order (report by H Merijn 11702eaa94a1Schristos Brand) 11712eaa94a1Schristos 11722eaa94a1Schristos <li>remove an optimization of <code>ConfigureNotify</code> events 11732eaa94a1Schristos from <a href="#xterm_236">patch #236</a> 11742eaa94a1Schristos which seems to interfere with passing <code>SIGWINCH</code> to 11752eaa94a1Schristos applications (GenToo #233836). 11762eaa94a1Schristos 11772eaa94a1Schristos <li>modify handling of <code>altSendsEscape</code> to reset the 11782eaa94a1Schristos <code>eightBitInput</code> mode, like <code>metaSendsEscape</code> 11792eaa94a1Schristos (patch by Ted Phelps). 11802eaa94a1Schristos 11812eaa94a1Schristos <li>add feature to show the text-cursor as an underline rather than a 11822eaa94a1Schristos box, plus command-line options <code>-uc</code> and 11832eaa94a1Schristos <code>+uc</code> and resource <code>cursorUnderLine</code> to 11842eaa94a1Schristos control the feature (patch by Paul Lampert). 11852eaa94a1Schristos 11862eaa94a1Schristos <li>update config.guess, config.sub 11872eaa94a1Schristos</ul> 11882eaa94a1Schristos<H1><A NAME="xterm_236">Patch #236 - 2008/07/27</A></H1> 11892eaa94a1Schristos<ul> 11902eaa94a1Schristos <li>correct memory reallocation when handling a paste of UTF-8 text 11912eaa94a1Schristos from <a href="#xterm_225">patch #225</a> changes 11922eaa94a1Schristos (report/patch by Max Mikhanosha). 11932eaa94a1Schristos 11942eaa94a1Schristos <li>correct allocation of temporary buffer in 11952eaa94a1Schristos <code>xtermFindShell</code> in case the user's <code>$PATH</code> 11962eaa94a1Schristos contains no ":" (report/analysis by Victor Stinner, 11972eaa94a1Schristos Freedesktop.Org Bugzilla #16790). 11982eaa94a1Schristos 11992eaa94a1Schristos <li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix 12002eaa94a1Schristos new compile problem exposed by fix for fd_mask (patch by 12012eaa94a1Schristos Hasso Tepper). 12022eaa94a1Schristos 12032eaa94a1Schristos <li>add configure-check for ncurses <code>use_extended_names</code>, 12042eaa94a1Schristos (report by Martin Mokrejs). 12052eaa94a1Schristos 12062eaa94a1Schristos <li>correct computation for toolbar height; layout manager already 12072eaa94a1Schristos takes into account <code>borderWidth</code> resource. 12082eaa94a1Schristos 12092eaa94a1Schristos <li>implement VT320-style SCS (select character set) for ISO Latin-1 12102eaa94a1Schristos supplemental. 12112eaa94a1Schristos 12122eaa94a1Schristos <li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919). 12132eaa94a1Schristos 12142eaa94a1Schristos <li>fix to make <code>luit</code> work with xterm's <code>-ls</code> 12152eaa94a1Schristos option (report/patch by Marius Tolzmann). 12162eaa94a1Schristos 12172eaa94a1Schristos <li>update config.guess, config.sub 12182eaa94a1Schristos</ul> 12192eaa94a1Schristos 1220d522f475Smrg<H1><A NAME="xterm_235">Patch #235 - 2008/04/20</A></H1> 1221d522f475Smrg<ul> 1222d522f475Smrg <li>add control sequences for some of the recent resource/menu 1223d522f475Smrg settings: 1224d522f475Smrg <ul> 1225d522f475Smrg <li><code>altSendsEscape</code> (private mode 1039) 1226d522f475Smrg <li><code>keepSelection</code> (private mode 1040) 1227d522f475Smrg <li><code>selectToClipboard</code> (private mode 1041) 1228d522f475Smrg <li><code>bellIsUrgent</code> (private mode 1042) 1229d522f475Smrg <li><code>popOnBell</code> (private mode 1043) 1230d522f475Smrg </ul> 1231d522f475Smrg 1232d522f475Smrg <li>add resource <code>formatOtherKeys</code> to provide an alternate 1233d522f475Smrg escape sequence format for the <code>modifyOtherKeys</code> 1234d522f475Smrg resource (request by Paul LeoNerd Evans). 1235d522f475Smrg 1236d522f475Smrg <li>adjust saved-cursor position if the window is resized while 1237d522f475Smrg displaying the alternate screen (Novell #196880, Debian #383384). 1238d522f475Smrg 1239d522f475Smrg <li>improve pointer-checks to fix a bug exposed by resizing during 1240d522f475Smrg initialization under StumpWM window manager 1241d522f475Smrg (Fedora Bugzilla #437928). 1242d522f475Smrg 1243d522f475Smrg <li>modify <code>unselectwindow()</code> to ensure that the mouse 1244d522f475Smrg pointer is not hidden after xterm loses focus (report by Jeremy 1245d522f475Smrg Huddleston). 1246d522f475Smrg 1247d522f475Smrg <li>add special check for fd_mask on Mac OS X (report by Jeremy 1248d522f475Smrg Huddleston). 1249d522f475Smrg 1250d522f475Smrg <li>add <code>dylib</code> to autoconf's suffix list used for checking 1251d522f475Smrg the result from <code>xmkmf</code>, to work with Mac OS X (report 1252d522f475Smrg by Jeremy Huddleston). 1253d522f475Smrg 1254d522f475Smrg <li>correct initialization of bold- and wide-, wide-bold fonts which 1255d522f475Smrg may be set via the <code>utf8Fonts</code> subresource (Debian 1256d522f475Smrg #347790). 1257d522f475Smrg</ul> 1258d522f475Smrg 1259d522f475Smrg<H1><A NAME="xterm_234">Patch #234 - 2008/03/02</A></H1> 1260d522f475Smrg<ul> 1261d522f475Smrg <li>modify <code>sinstall.sh</code> to use POSIX locale to 1262d522f475Smrg bypass GNU ls changes to date-format. 1263d522f475Smrg 1264d522f475Smrg <li>improved/refined changes for closing bitmap font (patch by 1265d522f475Smrg Andrea Odetti). 1266d522f475Smrg 1267d522f475Smrg <li>improve resize computation for situations where the negotiation 1268d522f475Smrg fails, by invoking the xterm widget's core-class resize method 1269d522f475Smrg (Debian #365602, patch by Jim Paris). 1270d522f475Smrg 1271d522f475Smrg <li>restore initialization of terminal's <code>VMIN</code> and 1272d522f475Smrg <code>VTIME</code> settings, 1273d522f475Smrg from <a href="#xterm_232">patch #232</a> changes 1274d522f475Smrg (patch by Matthieu Herrb). 1275d522f475Smrg</ul> 1276d522f475Smrg 1277d522f475Smrg<H1><A NAME="xterm_233">Patch #233 - 2008/02/24</A></H1> 1278d522f475Smrg<ul> 1279d522f475Smrg <li>add configure check for <code>ttydefaults.h</code>, include if 1280d522f475Smrg needed, e.g., for systems where defining 1281d522f475Smrg <code>_POSIX_C_SOURCE</code>, etc., 1282d522f475Smrg prevents it from being included via 1283d522f475Smrg <code>termios.h</code> (prompted by comments by Robert Delius Royar 1284d522f475Smrg and Jeremy Huddleston). 1285d522f475Smrg 128620d2c4d2Smrg <li>bug-fixes for bugs.opensolaris.org (patches from Alan Coopersmith) 1287d522f475Smrg <dl> 1288d522f475Smrg <dt>4029911 1289d522f475Smrg <dd>fix a typo in manpage 1290d522f475Smrg <dt>4045962 1291d522f475Smrg <dd>xterm doesn't properly set ut_syslen 1292d522f475Smrg <dt>4192572 1293d522f475Smrg <dd>left-left-right misinterpreted as triple click 1294d522f475Smrg </dl> 1295d522f475Smrg 1296d522f475Smrg <li>minor optimization to tab-initialization (patch by 1297d522f475Smrg N�meth M�rton). 1298d522f475Smrg 1299d522f475Smrg <li>fix a case where an incorrect font was freed during initialization 1300d522f475Smrg from <a href="#xterm_232">patch #232</a> changes (patch by 1301d522f475Smrg Andrea Odetti). 1302d522f475Smrg 1303d522f475Smrg <li>improve comparison used in <code>SameFont</code> function for 1304d522f475Smrg GC-caching (Julien Cristau). 1305d522f475Smrg 1306d522f475Smrg <li>correct macro name used for default <code>CKILL</code> definition 1307d522f475Smrg to work with Mac OS X (report by Jeremy Huddleston). 1308d522f475Smrg</ul> 1309d522f475Smrg 1310d522f475Smrg<H1><A NAME="xterm_232">Patch #232 - 2008/01/30</A></H1> 1311d522f475Smrg<ul> 1312d522f475Smrg <li>corrected logic in a font-cache used for reverse-video (Debian 1313d522f475Smrg #404079). 1314d522f475Smrg 1315d522f475Smrg <li>add control sequence to alter <code>pointerMode</code> at runtime. 1316d522f475Smrg 1317d522f475Smrg <li>add limit-checks for rectangle operation parameters (report by 1318d522f475Smrg Martin Pirker). 1319d522f475Smrg 1320d522f475Smrg <li>modify <code>minstall.sh</code> to suppress <code>$MANPAGER</code> 1321d522f475Smrg and <code>$PAGER</code> environment variables, which may interfere 1322d522f475Smrg with redirecting output of <code>man</code> to a shell variable 1323d522f475Smrg (report/patch by Zdenek Sekera). 1324d522f475Smrg 1325d522f475Smrg <li>do not try to hide mouse pointer in the tek4014 window, fixes 1326d522f475Smrg broken "-t" option at startup from 1327d522f475Smrg <a href="#xterm_230">patch #230</a> changes 1328d522f475Smrg (report by Robert K. Nelson). 1329d522f475Smrg 1330d522f475Smrg <li>correct datatype used when drawing tek4014 data using xterm 1331d522f475Smrg compiled for wide-characters, on big-endian machines (reports 1332d522f475Smrg by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle 1333d522f475Smrg Reinhart). 1334d522f475Smrg 1335d522f475Smrg <li>modify to cache the font-names along with the bitmap font data, 1336d522f475Smrg to improve comparison of fonts. 1337d522f475Smrg 1338d522f475Smrg <li>modify to allow building with configure options 1339d522f475Smrg <code>--disable-ansi-color</code> and 1340d522f475Smrg <code>--disable-leaks</code> (Debian #459817, report/patch by N�meth M�rton). 1341d522f475Smrg 1342d522f475Smrg <li>modify to allow building with configure options 1343d522f475Smrg <code>--enable-wide-chars</code> and 1344d522f475Smrg <code>--disable-c1-print</code> (Debian #459816, report/patch by N�meth M�rton). 1345d522f475Smrg 1346d522f475Smrg <li>add <code>pointerMode</code> resource to control whether and 1347d522f475Smrg when the pointer cursor is hidden as the user types. 1348d522f475Smrg 1349d522f475Smrg <li>simplify initialization of ttyMode- and related characters using 1350d522f475Smrg a table. 1351d522f475Smrg 1352d522f475Smrg <li>modify initialization-logic for stty values that correspond to 1353d522f475Smrg ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt 1354d522f475Smrg flush, werase, lnext). These were reset to constants for both 1355d522f475Smrg termios and legacy interfaces immediately after asking the system 1356d522f475Smrg for the existing values since X11R6.1, rather than using them to 1357d522f475Smrg provide inherited values. While the legacy interface has some 1358d522f475Smrg constraints, e.g., on HPUX, the POSIX or termios interface should 1359d522f475Smrg not. Your shell may reset these anyway 1360d522f475Smrg (prompted by patch by Ed Schouten). 1361d522f475Smrg 1362d522f475Smrg <li>improve logic for hiding/displaying pointer-cursor (report by 1363d522f475Smrg Mark Brukhartz). 1364d522f475Smrg 1365d522f475Smrg <li>add limit-checks to tabs.c, increase maximum column for setting 1366d522f475Smrg tab-stops from 320 to 1024 (report by N�meth M�rton). 1367d522f475Smrg 1368d522f475Smrg <li>correct length, i.e., number of types of selection targets, 1369d522f475Smrg computed by <code>ConvertSelection()</code> when not handling 1370d522f475Smrg wide characters for the <code>XA_TARGETS()</code> case. 1371d522f475Smrg This leaves an extra Atom on the end of the list which is 1372d522f475Smrg not handled by 1373d522f475Smrg <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java applications</a>. 1374d522f475Smrg The problem was introduced in <a href="#xterm_151">patch #151</a> 1375d522f475Smrg (report by David Wood). 1376d522f475Smrg</ul> 1377d522f475Smrg 1378d522f475Smrg<H1><A NAME="xterm_231">Patch #231 - 2008/01/05</A></H1> 1379d522f475Smrg<ul> 1380d522f475Smrg <li>undo change to <code>getXtermCell()</code> from patch #230 1381d522f475Smrg using <code>PACK_PAIR</code> macro (Debian #459014, analysis by 1382d522f475Smrg Caetano Jimenez Carezzato). 1383d522f475Smrg 1384d522f475Smrg <li>minor documentation fixes (patch by Slava Semushin) 1385d522f475Smrg 1386d522f475Smrg <li>add makefile actions to install KOI8RXTerm app-defaults file 1387d522f475Smrg (patch by Julien Cristau). 1388d522f475Smrg</ul> 1389d522f475Smrg 1390d522f475Smrg<H1><A NAME="xterm_230">Patch #230 - 2007/12/31</A></H1> 1391d522f475Smrg<ul> 1392d522f475Smrg <li>add <code>quietGrab</code> resource, which when true, suppresses 1393d522f475Smrg cursor repainting when <code>NotifyGrab</code> and 1394d522f475Smrg <code>NotifyUngrab</code> event types are received during 1395d522f475Smrg change of focus (request by Nicolas George). 1396d522f475Smrg 1397d522f475Smrg <li>do not treat Unicode BIDI control characters as combining 1398d522f475Smrg characters (Debian #457634). 1399d522f475Smrg 1400d522f475Smrg <li>add <code>koi8rxterm</code>, from Debian. 1401d522f475Smrg 1402d522f475Smrg <li>add manpage for <code>uxterm</code>, from Debian (Ubuntu #128136, 1403d522f475Smrg Debian #438645) 1404d522f475Smrg 1405d522f475Smrg <li>remove ".xpm" suffixes from Icon filenames in desktop files since 1406d522f475Smrg it confuses some lookups following the 1407d522f475Smrg <a href="http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">Icon Theme Specification</a> 1408d522f475Smrg (report by Slava Semushin) 1409d522f475Smrg 1410d522f475Smrg <li>correct width-calculation used for adjusting proportional fonts, 1411d522f475Smrg to work with wide-characters (Debian #441354). 1412d522f475Smrg 1413d522f475Smrg <li>fixes/improvements for double-size characters: 1414d522f475Smrg <ul> 1415d522f475Smrg <li>correct old clipping calculation which used total height of 1416d522f475Smrg glyphs where ascent was needed. 1417d522f475Smrg 1418d522f475Smrg <li>if bold font is unavailable, fall back to normal font 1419d522f475Smrg 1420d522f475Smrg <li>adjust to "work" with Xft (which does not support double-width 1421d522f475Smrg single-height characters). 1422d522f475Smrg 1423d522f475Smrg <li>restore reset of doublesize for a line when it is cleared, 142420d2c4d2Smrg broken in <a href="#xterm_228">patch #228</a>. 1425d522f475Smrg </ul> 1426d522f475Smrg 1427d522f475Smrg <li>modify logic for <code>forceBoxChars</code> resource when using 1428d522f475Smrg TrueType fonts to be consistent with bitmap fonts 1429d522f475Smrg 1430d522f475Smrg <li>modify logic for <code>forceBoxChars</code> resource to make the 1431d522f475Smrg "Line-Drawing Characters" menu entry use xterm's line-drawing 1432d522f475Smrg characters even asked to draw wide line-drawing characters which 1433d522f475Smrg are available in the font. 1434d522f475Smrg 1435d522f475Smrg <li>modify rectangle-support functions to preserve colors when 143620d2c4d2Smrg filling/erasing to match WRQ Reflection behavior 143720d2c4d2Smrg (request by Enzo Toscano). 1438d522f475Smrg 1439d522f475Smrg <li>add getopt-parsing to tcapquery.pl, including feature to test the 1440d522f475Smrg extended cursor/editing keys. 1441d522f475Smrg 1442d522f475Smrg <li>make missing double-width glyphs display as double-width 1443d522f475Smrg (Debian #456236). 1444d522f475Smrg 1445d522f475Smrg <li>change <code>tcap-fkeys</code> and <code>rectangles</code> 1446d522f475Smrg configure options to enable them by default. 1447d522f475Smrg 1448d522f475Smrg <li>hide the mouse pointer while user is typing (request by Rodolfo 1449d522f475Smrg Borges). 1450d522f475Smrg 1451d522f475Smrg <li>extend configure options 1452d522f475Smrg <code>--enable-tcap-query</code> and 1453d522f475Smrg <code>--enable-tcap-fkeys</code> to 1454d522f475Smrg send cursor- and editing-keypad keys modified according to the 1455d522f475Smrg keyboard (or termcap) selection for shift, alt, control, meta. 1456d522f475Smrg 1457d522f475Smrg <li>modify <code>kdch1</code> in termcap, e.g., <code>xterm-r6</code> 1458d522f475Smrg to match the terminfo file. 1459d522f475Smrg 1460d522f475Smrg <li>add <code>-hm</code> option to turn <code>highlightColorMode</code> 1461d522f475Smrg on or off. 1462d522f475Smrg 1463d522f475Smrg <li>add <code>highlightColorMode</code> resource to separate the 1464d522f475Smrg new (since <a href="#xterm_225">patch #225</a>) highlighting with both text- and 1465d522f475Smrg background-colors (prompted by report/example by Thomas Wolff). 1466d522f475Smrg 1467d522f475Smrg <li>add <em>Keep Selection</em> menu entry to turn the 1468d522f475Smrg <code>keepSelection</code> resource on/off at runtime. 1469d522f475Smrg 1470d522f475Smrg <li>add <code>keepSelection</code> resource, which when enabled, 1471d522f475Smrg tells xterm to retain the X selection even after it stops 1472d522f475Smrg highlighting it (patch by Sergey Vlasov). 1473d522f475Smrg 1474d522f475Smrg <li>extend the <code>CSI > n</code> sequence to allow 1475d522f475Smrg disabling all types of modified-keys that the 1476d522f475Smrg <code>CSI > m</code> sequence affects. 1477d522f475Smrg 1478d522f475Smrg <li>move include for <code><xtermcap.h></code> in 1479d522f475Smrg <code>resize.c</code> to avoid redefinition of <code>termios</code> 1480d522f475Smrg structure on OpenSolaris (report by Rahul Gopinathan Nair). 1481d522f475Smrg 1482d522f475Smrg <li>extend terminfo building blocks for modified editing keys to 1483d522f475Smrg include all six keys. 1484d522f475Smrg 148520d2c4d2Smrg <li>synchronize terminfo with ncurses (report by Stephane Chazelas) 1486d522f475Smrg <ul> 1487d522f475Smrg <li>equate <code>xterm-xfree86</code> 1488d522f475Smrg and <code>xterm-xf86-v44</code>. 1489d522f475Smrg <li>add ncurses extensions OTbs, AX, for termcap conversions. 1490d522f475Smrg <li>make old/legacy entries such as 1491d522f475Smrg <code>xterm-24</code>, <code>xterm-65</code> 1492d522f475Smrg and aliases <code>xterms</code>, <code>vs100</code> 1493d522f475Smrg inherit from <code>xterm-old</code>. 1494d522f475Smrg <li>make <code>xterm-r5</code> and <code>xterm-r6</code> the 1495d522f475Smrg same, ignoring historical errors in X Consortium's version. 1496d522f475Smrg </ul> 1497d522f475Smrg 1498d522f475Smrg <li>fix an ifdef in logic for selecting regular 1499d522f475Smrg expressions while in a narrow-character locale (Debian #449227). 1500d522f475Smrg</ul> 1501d522f475Smrg 1502d522f475Smrg<H1><A NAME="xterm_229">Patch #229 - 2007/8/12</A></H1> 1503d522f475Smrg<ul> 1504d522f475Smrg <li>override locale in minstall.sh; 1505d522f475Smrg change in <a href="#xterm_226">patch #226</a> 1506d522f475Smrg does not work in UTF-8 locale (report by Zdenek Sekera). 1507d522f475Smrg 1508d522f475Smrg <li>undo an incorrect fix for a memory leak 1509d522f475Smrg in <a href="#xterm_209">patch #209</a> (Debian #435858). 1510d522f475Smrg</ul> 1511d522f475Smrg 1512d522f475Smrg<H1><A NAME="xterm_228">Patch #228 - 2007/7/22</A></H1> 1513d522f475Smrg<ul> 1514d522f475Smrg <li>modify configure script to permit combining 1515d522f475Smrg <code>--with-utempter</code> 1516d522f475Smrg and <code>--enable-setuid</code>, e.g., for using xterm with 1517d522f475Smrg the utempter library on FreeBSD (report by Andriy Gapon). 1518d522f475Smrg 1519d522f475Smrg <li>modify "Quit" menu entry to override the <code>-hold</code> 1520d522f475Smrg command-line option. 1521d522f475Smrg 1522d522f475Smrg <li>add a check in the startup error-reporting to avoid writing to 1523d522f475Smrg pipe when it has not been opened. In that case, report errors 1524d522f475Smrg directly to the standard error. 1525d522f475Smrg 1526d522f475Smrg <li>add OPT_READLINE definition to xtermcfg.hin, overlooked in 1527d522f475Smrg <a href="#xterm_205">patch #205</a> 1528d522f475Smrg (report by Kalle Olavi Niemitalo). 1529d522f475Smrg 1530d522f475Smrg <li>modify <code>88colors2.pl</code> and <code>256colors2.pl</code>, 1531d522f475Smrg adding <code>-r</code> 1532d522f475Smrg option to reverse the palettes for the extended colors. 1533d522f475Smrg 1534d522f475Smrg <li>check for partial overwrite or deletion of multi-column characters 1535d522f475Smrg in several cases, e.g., insert-character, delete-character, 1536d522f475Smrg etc., 1537d522f475Smrg and fill the remainder of the cells used by the multi-column 1538d522f475Smrg characters affected with blanks. 1539d522f475Smrg 1540d522f475Smrg <li>correct character-class codes in wide-character mode for characters 1541d522f475Smrg 215, 247 (see also <a href="#xterm_165">patch #165</a>). 1542d522f475Smrg 1543d522f475Smrg <li>fix missing assignment for UTF-8 parsing in widget initialization 1544d522f475Smrg (Debian #403360). 1545d522f475Smrg 1546d522f475Smrg <li>correct index expression used to set line-wrapping flag, making 1547d522f475Smrg selection from scrollback work consistently (Debian #430121, 1548d522f475Smrg report by Vincent Lefevre). 1549d522f475Smrg 1550d522f475Smrg <li>amend changes to handshake in 1551d522f475Smrg <a href="#xterm_226">patch #226</a> 1552d522f475Smrg to accommodate Solaris, which relies on the extra setting of 1553d522f475Smrg the terminal size after I/O initialization. 1554d522f475Smrg Do this by adding new resource <code>ptySttySize</code>, 1555d522f475Smrg which is false for Linux and MacOS X, i.e., true for 1556d522f475Smrg for Solaris and other SVR4 platforms, as well as FreeBSD 1557d522f475Smrg (reports by David Wood, Renato Botelho). 1558d522f475Smrg 1559d522f475Smrg <li>check for X events after cursor-left, and carriage return, 1560d522f475Smrg consistent with indexing operations 1561d522f475Smrg (comments by Vegard Nossum and Ingo Molnar on a mailing-list). 1562d522f475Smrg 1563d522f475Smrg <li>initialize the <code>.keyboard</code> structure, 1564d522f475Smrg needed for some platforms (such as Solaris) after 1565d522f475Smrg <a href="#xterm_227">patch #227</a> fixes for keysyms 1566d522f475Smrg (patch by David Wood). 1567d522f475Smrg 1568d522f475Smrg <li>update config.guess, config.sub 1569d522f475Smrg</ul> 1570d522f475Smrg 1571d522f475Smrg<H1><A NAME="xterm_227">Patch #227 - 2007/6/27</A></H1> 1572d522f475Smrg<ul> 1573d522f475Smrg <li>exclude the Intel compiler from the extra gcc warning options 1574d522f475Smrg added in 1575d522f475Smrg <a href="#xterm_226">patch #226</a>. 1576d522f475Smrg 1577d522f475Smrg <li>modify change for Debian #422521 1578d522f475Smrg from <a href="#xterm_226">patch #226</a> 1579d522f475Smrg to work with configurations where the X server does not 1580d522f475Smrg recognize 1581d522f475Smrg the <code>XF86Paste</code> 1582d522f475Smrg or <code>SunPaste</code> keysyms (report by Paolo Pumilia). 1583d522f475Smrg 1584d522f475Smrg <li>fix incorrect free in fix for "Selection" menu entry in 1585d522f475Smrg <a href="#xterm_226">patch #226</a>. 1586d522f475Smrg</ul> 1587d522f475Smrg 1588d522f475Smrg<H1><A NAME="xterm_226">Patch #226 - 2007/6/17</A></H1> 1589d522f475Smrg<ul> 1590d522f475Smrg <li>add configure check to use <code>-Wno-unknown-pragmas</code> for 1591d522f475Smrg Solaris, and a few other new gcc warning options to address 1592d522f475Smrg regressions in its warning options. 1593d522f475Smrg 1594d522f475Smrg <li>add sample desktop and icon files, along with configure options for 1595d522f475Smrg manipulating them. 1596d522f475Smrg 1597d522f475Smrg <li>fix an infinite loop when showing a 2-column character in a 1598d522f475Smrg 1-column screen (Debian #426863). 1599d522f475Smrg 1600d522f475Smrg <li>add <code>XF86Paste</code> and <code>SunPaste</code> to the 1601d522f475Smrg default translations (Debian #422521, patch by Bernhard R Link). 1602d522f475Smrg 1603d522f475Smrg <li>update wcwidth.c (partly based on/prompted by mailing list 1604d522f475Smrg comment). 1605d522f475Smrg 1606d522f475Smrg <li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and Xorg 1607d522f475Smrg 7.1 keysymdef.h file. 1608d522f475Smrg 1609d522f475Smrg <li>improve <code>gen-pc-fkeys.pl</code>, making it show all of the 1610d522f475Smrg building-block terminfo entries used by xterm. 1611d522f475Smrg 1612d522f475Smrg <li>correct strings used for modifiers applied to F1-F4 in xterm+pcf1 1613d522f475Smrg terminfo entry. 1614d522f475Smrg 1615d522f475Smrg <li>improve session management by adding the ICE connection number 1616d522f475Smrg to the <code>select</code> call rather than waking up once per 1617d522f475Smrg second (patch by Miroslav Lichvar). 1618d522f475Smrg 1619d522f475Smrg <li>add environment variable <code>$XTERM_LOCALE</code> to help 1620d522f475Smrg with shell initialization, e.g., to set a specific locale for 1621d522f475Smrg xterm on systems where a global locale is set in the shell 1622d522f475Smrg startup scripts. 1623d522f475Smrg 1624d522f475Smrg <li>add resource settings <code>mkSampleSize</code> and 1625d522f475Smrg <code>mkSamplePass</code> 1626d522f475Smrg to modify the <code>mkWidth</code> added 1627d522f475Smrg in <a href="#xterm_201">patch #201</a>. 1628d522f475Smrg In <a href="#xterm_202">patch #202</a>, 1629d522f475Smrg xterm would also check if the system's 1630d522f475Smrg <code>wcwidth</code> matched its built-in tables 1631d522f475Smrg "well enough" to be used when <code>mkWidth</code> was false, 1632d522f475Smrg and if not would use the built-in tables anyway. 1633d522f475Smrg These resources allow the user to customize the decision 1634d522f475Smrg (prompted by comments by Emanuele Giaquinta) 1635d522f475Smrg 1636d522f475Smrg <li>modify logic which resets/updates the screensize on the child 1637d522f475Smrg process side of the pseudo-terminal to do this only if a 1638d522f475Smrg successful handshake was received, e.g., as determined by 1639d522f475Smrg the <code>waitForMap</code> resource (prompted by reports 1640d522f475Smrg by Emanuele Giaquinta and Bernhard R Link, but see also 1641d522f475Smrg <a href="#xterm_177">patch #177</a> and 1642d522f475Smrg <a href="#xterm_159">patch #159</a>. 1643d522f475Smrg 1644d522f475Smrg <li>improve permissions logic when closing pseudo-terminal 1645d522f475Smrg (Debian #12261, 1646d522f475Smrg patch by Nathanael Nerode, 1647d522f475Smrg analysis by Richard Braakman). 1648d522f475Smrg 1649d522f475Smrg <li>add resource <code>highlightReverse</code> which controls whether 1650d522f475Smrg xterm will allow selection highlighting to hide reverse-video 1651d522f475Smrg or use the older behavior which inverts the foreground and 1652d522f475Smrg background colors when selected text with reverse-video attribute 1653d522f475Smrg (report by Adam M Costello, comments by Victor Vaile). 1654d522f475Smrg 1655d522f475Smrg <li>restore a special case for cursor-color in 1656d522f475Smrg <code>ReverseVideo()</code> 1657d522f475Smrg lost in rewrite for <a href="#xterm_224">patch #224</a> 1658d522f475Smrg (report by Adam Sulmicki). 1659d522f475Smrg 1660d522f475Smrg <li>correct initialization for menu entry for <code>bellIsUrgent</code> 1661d522f475Smrg (patch by Emanuele Giaquinta). 1662d522f475Smrg 1663d522f475Smrg <li>correct length of underlining for double-width Xft fonts 1664d522f475Smrg (report by Shidai Liu "Leo"). 1665d522f475Smrg 1666d522f475Smrg <li>correct clipping for double-width Xft fonts 1667d522f475Smrg (report by Shidai Liu "Leo"). 1668d522f475Smrg 1669d522f475Smrg <li>modify initialization for <code>italicULMode</code> to avoid 1670d522f475Smrg <code>XftPatternBuild</code> reusing bold attributes 1671d522f475Smrg (report by Shidai Liu "Leo"). 1672d522f475Smrg 1673d522f475Smrg <li>add a check in case someone tries to call the 1674d522f475Smrg <code>popup-menu()</code> action on a menu which is not initialized 1675d522f475Smrg (Debian #426364). 1676d522f475Smrg 1677d522f475Smrg <li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by Peter 1678d522f475Smrg Bray). 1679d522f475Smrg 1680d522f475Smrg <li>improve guess for X's manpage section in <code>minstall.sh</code>, 1681d522f475Smrg (prompted by comment by Miroslav Lichvar). 1682d522f475Smrg 1683d522f475Smrg <li>modify <code>minstall.sh</code> to handle manpage patch with more 1684d522f475Smrg than one dot (patch by Miroslav Lichvar). 1685d522f475Smrg 1686d522f475Smrg <li>fix configure message for --disable-setgid option (patch by 1687d522f475Smrg Miroslav Lichvar). 1688d522f475Smrg 1689d522f475Smrg <li>add <code>allowTitleOps</code> resource to allow users to prevent 1690d522f475Smrg the title- and icon-names from changing (request by John Bashinski). 1691d522f475Smrg 1692d522f475Smrg <li>fix "spawn-new-terminal" action, for the case where no parameter 1693d522f475Smrg is passed to the action (patch by Daniel Colascione). 1694d522f475Smrg 1695d522f475Smrg <li>fix error-checking on internal font switching for "Selection" 1696d522f475Smrg menu entry (Debian #421523). 1697d522f475Smrg 1698d522f475Smrg <li>amend select/paste change from 1699d522f475Smrg <a href="#xterm_225">patch #225</a> 1700d522f475Smrg by limiting it to non-UTF-8/non-KOI8-R encoding (Debian #420974). 1701d522f475Smrg 1702d522f475Smrg <li>add workaround for groff ".URL" codes which are not present in 1703d522f475Smrg some commonly-used bitmap fonts (Debian #418324). 1704d522f475Smrg</ul> 1705d522f475Smrg 1706d522f475Smrg<H1><A NAME="xterm_225">Patch #225 - 2007/3/24</A></H1> 1707d522f475Smrg<ul> 1708d522f475Smrg <li>add <code>useClipping</code> resource to allow clipping to be 1709d522f475Smrg disabled. 1710d522f475Smrg 1711d522f475Smrg <li>use <code>XftDrawSetClipRectangles</code> 1712d522f475Smrg to work around Xft pixel-trash (report by Reuben Thomas). 1713d522f475Smrg 1714d522f475Smrg <li>add configure option <code>--enable-tcap-fkeys</code>, and 1715d522f475Smrg resource <code>tcapFunctionKeys</code>, which can be used 1716d522f475Smrg to tell xterm to use function-key definitions from the termcap 1717d522f475Smrg (or terminfo) which it uses to set $TERM on startup. 1718d522f475Smrg 1719d522f475Smrg <li>add resources <code>altIsNotMeta</code> and 1720d522f475Smrg <code>altSendsEscape</code> to allow one to use Alt-keys like the 1721d522f475Smrg meta-key even if they are bound to different keycodes (prompted by 1722d522f475Smrg discussion with Daniel Jacobowitz). 1723d522f475Smrg 1724d522f475Smrg <li>revert a change from <a href="#xterm_216">patch #216</a> 1725d522f475Smrg that unnecessarily made the meta modifier override 1726d522f475Smrg the <code>eightBitInput</code> resource if the alt- and 1727d522f475Smrg meta-modifiers happened to overlap 1728d522f475Smrg (report/patch by Daniel Jacobowitz). 1729d522f475Smrg 1730d522f475Smrg <li>correct associated font for active icon for colored text 1731d522f475Smrg (broken in <a href="#xterm_224">patch #224</a>). 1732d522f475Smrg 1733d522f475Smrg <li>correct ifdef's for Darwin (patch by Emanuele Giaquinta). 1734d522f475Smrg 1735d522f475Smrg <li>add <code>highlightTextColor</code> resource, and options 1736d522f475Smrg <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code> 1737d522f475Smrg (adapted from patch by Victor Vaile). 1738d522f475Smrg 1739d522f475Smrg <li>revise <code>find_closest_color()</code> function to address 1740d522f475Smrg concern about borrowing from <code>Tcl/Tk</code> 1741d522f475Smrg (request by Dan McNichol). 1742d522f475Smrg 1743d522f475Smrg <li>add "spawn-new-terminal" action, which can be assigned to key 1744d522f475Smrg translation, allowing one to spawn a new copy of xterm using 1745d522f475Smrg the current process' working directory (adapted from patch 1746d522f475Smrg by Daniel Colascione). 1747d522f475Smrg 1748d522f475Smrg <li>improve select/paste between UTF-8 and Latin1 xterms by adapting 1749d522f475Smrg the translations from <a href="#xterm_185">patch #185</a>. 1750d522f475Smrg Extend that to include Unicode fullwidth forms FF00-FF5E. 1751d522f475Smrg Also modify select/paste of DEC line-drawing characters in 1752d522f475Smrg Latin1 mode to use ASCII characters. 1753d522f475Smrg 1754d522f475Smrg <li>add "Enable Bell Urgency" to VT Options menu, removed "Enable 1755d522f475Smrg Margin Bell". 1756d522f475Smrg 1757d522f475Smrg <li>add <code>bellIsUrgent</code> resource to control whether the 1758d522f475Smrg Urgency hint is set/reset. 1759d522f475Smrg 1760d522f475Smrg <li>modify to set Urgency window manager hint on bell, reset it on 1761d522f475Smrg Focus-In event (patch by Emanuele Giaquinta). 1762d522f475Smrg 1763d522f475Smrg <li>add <code>--disable-setgid</code> configure option (request by 1764d522f475Smrg Miroslav Lichvar). 1765d522f475Smrg 1766d522f475Smrg <li>fix a possible infinite loop in last change to 1767d522f475Smrg <code>dabbrev-expand()</code> (patch by Emanuele Giaquinta). 1768d522f475Smrg 1769d522f475Smrg <li>modify initialization to set the pty erase value if the 1770d522f475Smrg <code>erase</code> is set in the <code>ttyModes</code> resource. 1771d522f475Smrg This overrides the <code>ptyInitialErase</code> setting (request by 1772d522f475Smrg Lluís Batlle i Rossell). 1773d522f475Smrg 1774d522f475Smrg <li>add <code>initialFont</code> resource to xterm widget, like 1775d522f475Smrg tek-widget (Debian #299669). 1776d522f475Smrg 1777d522f475Smrg <li>amend change to <code>boldMode</code> from 1778d522f475Smrg <a href="#xterm_223">patch #223</a> for Debian #347790. 1779d522f475Smrg As noted in Debian #412599, that made xterm 1780d522f475Smrg no longer match the documented behavior. 1781d522f475Smrg Add new resource <code>alwaysBoldMode</code> 1782d522f475Smrg to allow overriding the comparison 1783d522f475Smrg between normal/bold fonts when deciding whether to use overstriking 1784d522f475Smrg to simulate bold fonts. 1785d522f475Smrg 1786d522f475Smrg <li>restore background color in ClearCurBackground(), omitted in 1787d522f475Smrg changes for <a href="#xterm_223">patch #223</a> (report by 1788d522f475Smrg Miroslav Lichvar). 1789d522f475Smrg 1790d522f475Smrg <li>correct logic for repainting double-width TrueType characters 1791d522f475Smrg (prompted by test-case for Novell #246573). 1792d522f475Smrg 1793d522f475Smrg <li>add a check to avoid trying to repeat a multibyte character 1794d522f475Smrg (report by Sami Farin). 1795d522f475Smrg 1796d522f475Smrg <li>modify parameter to <code>XftNameParse()</code> to select wide 1797d522f475Smrg face-name as needed, to make <code>-fd</code> option work (patch by 1798d522f475Smrg Mike Fabian, Novell #246573). 1799d522f475Smrg 1800d522f475Smrg <li>correct logic for mouse highlight tracking's abort sequence, 1801d522f475Smrg broken in a restructuring modification from 1802d522f475Smrg <a href="#xterm_224">patch #224</a> 1803d522f475Smrg (report by Thomas Wolff). 1804d522f475Smrg 1805d522f475Smrg <li>revert the simplification of blinking cursor, since that broke 1806d522f475Smrg the xor'ing introduced in <a href="#xterm_193">patch #193</a> 1807d522f475Smrg (report by Thomas Wolff). 1808d522f475Smrg</ul> 1809d522f475Smrg 1810d522f475Smrg<H1><A NAME="xterm_224">Patch #224 - 2007/2/11</A></H1> 1811d522f475Smrg<ul> 1812d522f475Smrg <li>simplify code for set/reset mode for blinking cursor 1813d522f475Smrg (patch by Emanuele Giaquinta). 1814d522f475Smrg 1815d522f475Smrg <li>modify <code>dabbrev-expand()</code> to restart after the last 1816d522f475Smrg match (patch by Emanuele Giaquinta). 1817d522f475Smrg 1818d522f475Smrg <li>add control sequences for enabling/disabling focus in/out event 1819d522f475Smrg reporting (request by Bram Moolenaar). 1820d522f475Smrg 1821d522f475Smrg <li>improve startup performance of menus by adding resource setting 1822d522f475Smrg <code>menuLocale</code> which can be set to override X's 1823d522f475Smrg lengthy initialization of fontsets - which are seldom used 1824d522f475Smrg for the <code>Xaw</code> popup menus (adapted from patch by 1825d522f475Smrg Dave Coffin). 1826d522f475Smrg 1827d522f475Smrg <li>modify do_precomposition() function and make-compose.sh to handle 1828d522f475Smrg 21-bit codes vs the 16-bit codes those were written for, and 1829d522f475Smrg fix a few mis-sorted codes 1830d522f475Smrg (patch by Thomas Wolff). 1831d522f475Smrg 1832d522f475Smrg <li>handle special case in <code>-cjk_width</code> 1833d522f475Smrg which unexpectedly caused a character's width to change when 1834d522f475Smrg a combining character 1835d522f475Smrg (patch by Thomas Wolff) 1836d522f475Smrg 1837d522f475Smrg <li>fix build for GNU/KFreeBSD (Debian #40111). 1838d522f475Smrg 1839d522f475Smrg <li>consolidate GC creation/updating into a single module to reduce GC 1840d522f475Smrg manipulation (prompted by Debian #389476, though a complete fix 1841d522f475Smrg would involve optimizing the scrolling behavior). 1842d522f475Smrg 1843d522f475Smrg <li>fix ifdef of xtermCellWidth(), which broke for a case without 1844d522f475Smrg TrueType and without wide-character support (report by Martin 1845d522f475Smrg Pirker). 1846d522f475Smrg 1847d522f475Smrg <li>undo a comparison in <code>handle_translated_exposure</code> which 1848d522f475Smrg did not work due to X server optimization. That caused the 1849d522f475Smrg inner border to be repainted with unexpected colors when handling 1850d522f475Smrg a repaint, e.g., after switching to/from another workspace 1851d522f475Smrg (Debian #401726, Redhat Bugzilla #223027). 1852d522f475Smrg 1853d522f475Smrg <li>allow <code>-cr</code> option to override cursor color when 1854d522f475Smrg <code>-ah</code> option is used (Debian #406502). 1855d522f475Smrg 1856d522f475Smrg <li>add a note in xterm's manpage explaining that the <code>-bw</code> 1857d522f475Smrg (or <code>-w</code>) option is only used by the window manager, 1858d522f475Smrg if at all (Debian #405043). 1859d522f475Smrg 1860d522f475Smrg <li>make <code>Selection</code> of <code>VT Fonts</code> work with 1861d522f475Smrg <code>selectToClipboard</code> resource. 1862d522f475Smrg 1863d522f475Smrg <li>correct length calculation for <code>Selection</code> entry of 1864d522f475Smrg <code>VT Fonts</code> menu, broken since it ignored the 1865d522f475Smrg actual selection length since X11R4. 1866d522f475Smrg 1867d522f475Smrg <li>fixes for fontsize changes with <code>-fa</code> option (Redhat 1868d522f475Smrg Bugzilla #222340). 1869d522f475Smrg</ul> 1870d522f475Smrg 1871d522f475Smrg<H1><A NAME="xterm_223">Patch #223 - 2006/11/30</A></H1> 1872d522f475Smrg<ul> 1873d522f475Smrg <li>add <code>--enable-rectangles</code> configure option (request by 1874d522f475Smrg Martin Pirker). 1875d522f475Smrg 1876d522f475Smrg <li>correct default value for <code>--with-symlink</code> configure 1877d522f475Smrg option. 1878d522f475Smrg 1879d522f475Smrg <li>fixes configure script macros that use <code>$X_EXTRA_LIBS</code>. 1880d522f475Smrg 1881d522f475Smrg <li>modify configure script to provide support for pre-package config 188220d2c4d2Smrg versions of Xft aka "FreeType". 1883d522f475Smrg 1884d522f475Smrg <li>add the Xaw scrollbar translations resource to the xterm manpage, 1885d522f475Smrg add an example showing how to change the mouse button assignments 1886d522f475Smrg (Debian #382225). 1887d522f475Smrg 1888d522f475Smrg <li>amend a change from <a href="#xterm_216">patch #216</a>, 1889d522f475Smrg which omitted modifiers for control, meta, etc., if they were 1890d522f475Smrg mixed with any other modifiers. The intent of the change was 1891d522f475Smrg to avoid confusion with 1892d522f475Smrg <code>XK_Mode_switch</code> 1893d522f475Smrg and <code>XK_ISO_Level3_Shift</code>; 1894d522f475Smrg the check is now done explicitly (report by Daniel Jacobowitz). 1895d522f475Smrg 1896d522f475Smrg <li>interpret a negative value for <code>modifyCursorKeys</code> 1897d522f475Smrg or <code>modifyFunctionKeys</code> resources to disable the 1898d522f475Smrg respective features (prompted by Novell #220728). 1899d522f475Smrg 1900d522f475Smrg <li>amend cell-width computation for FreeType from 1901d522f475Smrg <a href="#xterm_217">patch #217</a>, which did not work 1902d522f475Smrg for VT100 line-drawing characters (Debian #399638, GenToo #147111). 1903d522f475Smrg 1904d522f475Smrg <li>amend a change from <a href="#xterm_216">patch #216</a>, 1905d522f475Smrg which made alt-modifier on a cursor-key send a modifier parameter 1906d522f475Smrg (Novell #220728). 1907d522f475Smrg 1908d522f475Smrg <li>correct an off-by-one that made DECCRA not work (report/patch by 1909d522f475Smrg Martin Pirker). 1910d522f475Smrg 1911d522f475Smrg <li>revert an optimization in SGR_Foreground() and SGR_Background 1912d522f475Smrg from <a href="#xterm_209">patch #209</a> (Debian #347722, 1913d522f475Smrg analysis by Pierre Lombard). 1914d522f475Smrg 1915d522f475Smrg <li>fix for <code>boldMode</code> (Debian #347790, patch by Tim Pope). 1916d522f475Smrg 1917d522f475Smrg <li>amend fix for <code>-iconic</code> in 1918d522f475Smrg <a href="#xterm_208">patch #208</a>, 1919d522f475Smrg which broke the positioning part of <code>-geom</code> with toolbar 1920d522f475Smrg configuration. 1921d522f475Smrg 1922d522f475Smrg <li>fix to prevent indexing error in regular expressions (patch 1923d522f475Smrg by Dennis Schneider). 1924d522f475Smrg 1925d522f475Smrg <li>fixes to make the internalBorder area not change color due to 1926d522f475Smrg reverseVideo and/or related exposure events. The latter was a very 1927d522f475Smrg old bug exposed in <a href="#xterm_196">patch #196</a> (report by 1928d522f475Smrg Neil Hoggarth, also Debian #397624). 1929d522f475Smrg</ul> 1930d522f475Smrg 1931d522f475Smrg<H1><A NAME="xterm_222">Patch #222 - 2006/10/17</A></H1> 1932d522f475Smrg<ul> 1933d522f475Smrg <li>minor optimization for recoloring cursor via dynamic colors. 1934d522f475Smrg 1935d522f475Smrg <li>fix a bug caused by restructuring of tek4014 widget (report by Paul 1936d522f475Smrg Schenkeveld) 1937d522f475Smrg</ul> 1938d522f475Smrg 1939d522f475Smrg<H1><A NAME="xterm_221">Patch #221 - 2006/10/1</A></H1> 1940d522f475Smrg<ul> 1941d522f475Smrg <li>fix for regular expressions: the code which converted the column 1942d522f475Smrg offset within a line did not check properly for the end of a line, 1943d522f475Smrg and if allowed to match the whole line, would select the beginning 1944d522f475Smrg of the following line. If the following line were empty, in turn 1945d522f475Smrg it would select from the next, etc. (report by Sean 1946d522f475Smrg Reifschneider). 1947d522f475Smrg 1948d522f475Smrg <li>minor optimization of color allocation to avoid repainting the 1949d522f475Smrg screen if the corresponding color had not been allocated. 1950d522f475Smrg 1951d522f475Smrg <li>fixes for vttests/256colors.pl (report by Egmont Koblinger). 1952d522f475Smrg 1953d522f475Smrg <li>add terminfo building block entries for modifiers of the 6-key 1954d522f475Smrg editing keypad. 1955d522f475Smrg 1956d522f475Smrg <li>fix for initialization of tek4014 which broke on QNX 6.1 1957d522f475Smrg</ul> 1958d522f475Smrg 1959d522f475Smrg<H1><A NAME="xterm_220">Patch #220 - 2006/9/10</A></H1> 1960d522f475Smrg<ul> 1961d522f475Smrg <li>make "xterm -t -iconic" work as expected, i.e., start in tek4014 1962d522f475Smrg mode, but iconified. 1963d522f475Smrg</ul> 1964d522f475Smrg 1965d522f475Smrg<H1><A NAME="xterm_219">Patch #219 - 2006/9/4</A></H1> 1966d522f475Smrg<ul> 1967d522f475Smrg <li>some internal restructuring to separate data for vt100 and tek4014 1968d522f475Smrg widgets. 1969d522f475Smrg 1970d522f475Smrg <li>fix a few cases where form-events would be seen by the vt100 1971d522f475Smrg widget when built with the toolbar configuration. 1972d522f475Smrg</ul> 1973d522f475Smrg 1974d522f475Smrg<H1><A NAME="xterm_218">Patch #218 - 2006/8/27</A></H1> 1975d522f475Smrg<ul> 1976d522f475Smrg <li>change behavior when encountering an illegal character in a title 1977d522f475Smrg string. Rather than reject the string, translate illegal 1978d522f475Smrg characters into "?" and use the string (requested by Thomas Wolff). 1979d522f475Smrg 1980d522f475Smrg <li>improve checks for nonprinting characters in title strings 1981d522f475Smrg (report by Samuel Thibault). 1982d522f475Smrg 1983d522f475Smrg <li>correct typo in menu labels, changing <code>print-redirect</code> 1984d522f475Smrg to <code>print-redir</code>, making it follow the manpage and 1985d522f475Smrg match the usage for the actions table (report by Samuel Thibault). 1986d522f475Smrg 1987d522f475Smrg <li>correct a typo that prevents building with some older systems such 1988d522f475Smrg as Solaris 2.6 (report by Julian Bridle). 1989d522f475Smrg</ul> 1990d522f475Smrg 1991d522f475Smrg<H1><A NAME="xterm_217">Patch #217 - 2006/8/20</A></H1> 1992d522f475Smrg<ul> 1993d522f475Smrg <li>minor improvements to FreeType font layout and drawing. 1994d522f475Smrg 1995d522f475Smrg <li>add a check in the ptyInitialErase logic to ensure that the 1996d522f475Smrg termcap was read (Redhat Bugzilla #201246). 1997d522f475Smrg 1998d522f475Smrg <li>limit changes for reverse-video from 1999d522f475Smrg <a href="#xterm_216">patch #216</a> to cases where the 2000d522f475Smrg reverse-video command-line option is used 2001d522f475Smrg (report by Zdenek Sekera). 2002d522f475Smrg 2003d522f475Smrg <li>correct bitmap-derived pointsizes for TrueType fonts; they should 2004d522f475Smrg be proportional to the square root of the area of the bitmap 2005d522f475Smrg fonts. 2006d522f475Smrg 2007d522f475Smrg <li>add resources to specify pointsize of TrueType fonts (request 2008d522f475Smrg by Reuben Thomas). 2009d522f475Smrg 2010d522f475Smrg <li>improve install of terminfo by filtering out harmless messages 2011d522f475Smrg related to extended capabilities. At the same time, use ncurses 2012d522f475Smrg tic to compile the extended capabilities if possible 2013d522f475Smrg (report by Zdenek Sekera). 2014d522f475Smrg 2015d522f475Smrg <li>update "xterm+pcfkeys" terminfo entry to correspond to 2016d522f475Smrg <a href="#xterm_216">patch #216</a>. 2017d522f475Smrg</ul> 2018d522f475Smrg 2019d522f475Smrg<H1><A NAME="xterm_216">Patch #216 - 2006/8/3</A></H1> 2020d522f475Smrg<ul> 2021d522f475Smrg <li>improve handling of <code>ConfigureNotify</code> events by checking 2022d522f475Smrg if there are further events in the queue which obsolete the current 2023d522f475Smrg one (adapted from rxvt 2.7.5). Only the normal normal 2024d522f475Smrg (non-toolbar) configuration is addressed in this patch. 2025d522f475Smrg 2026d522f475Smrg <li>several changes to terminfo: 2027d522f475Smrg <ul> 2028d522f475Smrg <li>incorporate some minor changes from ncurses to help keep these 2029d522f475Smrg synchronized: 2030d522f475Smrg <dl> 2031d522f475Smrg <dt>2005-02-26 2032d522f475Smrg <dd>modify sgr/sgr0 in xterm-new to improve tgetent's derived "me". 2033d522f475Smrg <dt>2006-02-18 2034d522f475Smrg <dd>remove ncv flag from xterm-16color 2035d522f475Smrg <dt>2006-06-24 2036d522f475Smrg <dd>improve xterm-256color by combining the 16-color 2037d522f475Smrg setaf/setab strings with SGR 48, 2038d522f475Smrg and cancelling the setf/setb strings. 2039d522f475Smrg </dl> 2040d522f475Smrg <li>use extended function-key definitions for xterm-sun, xterm-sco 2041d522f475Smrg entries. 2042d522f475Smrg 2043d522f475Smrg <li>add terminfo building-blocks corresponding to the 2044d522f475Smrg <code>modifyFunctionKeys</code> 2045d522f475Smrg and <code>modifyCursorKeys</code> resources. 2046d522f475Smrg </ul> 2047d522f475Smrg 2048d522f475Smrg <li>ifdef'd Sun function-key feature to make it optional, like HP and 2049d522f475Smrg SCO. 2050d522f475Smrg 2051d522f475Smrg <li>extend table for termcap-query feature through F63, and updated 2052d522f475Smrg tcapquery.pl to match. 2053d522f475Smrg 2054d522f475Smrg <li>modify logic for function-key input processing to allow function 2055d522f475Smrg key numbers which are constructed by control- and shift-modifiers 2056d522f475Smrg to extend beyond X's hardcoded limit of 35. 2057d522f475Smrg 2058d522f475Smrg <li>add control sequence to set or reset the <code>eightBitInput</code> 2059d522f475Smrg resource. 2060d522f475Smrg 2061d522f475Smrg <li>change default resource <code>modifyFunctionKeys</code> to 2 2062d522f475Smrg to avoid sending SS3 with parameters (report by Kalle Olavi Niemitalo). 2063d522f475Smrg 2064d522f475Smrg <li>add control sequences for setting and resetting the values of the 2065d522f475Smrg <code>modifyCursorKeys</code>, 2066d522f475Smrg <code>modifyFunctionKeys</code> and 2067d522f475Smrg <code>modifyOtherKeys</code> resources. 2068d522f475Smrg 2069d522f475Smrg <li>add <code>modifyFunctionKeys</code> resource like 2070d522f475Smrg <code>modifyCursorKeys</code>. 2071d522f475Smrg Setting this to zero allows one to use the control- and 2072d522f475Smrg shift-modifiers to construct function key strings, 2073d522f475Smrg for terminals using many function keys, 2074d522f475Smrg e.g., for <code>xterm-sun</code> or <code>xterm-sco</code>. 2075d522f475Smrg 2076d522f475Smrg <li>modify screen responses and function-key logic to reduce the 2077d522f475Smrg number of writes made, to make it less likely that an application 2078d522f475Smrg would read only part of a function-key in a read operation 2079d522f475Smrg (suggested by John E Urbanczyk). 2080d522f475Smrg 2081d522f475Smrg <li>add <code>combiningChars</code> resource, which allows the user to 2082d522f475Smrg specify the maximum number of combining characters that xterm will 2083d522f475Smrg store for each cell in wide-character mode (prompted by request by 2084d522f475Smrg Markus Kuhn to increase the limit from 2). 2085d522f475Smrg 2086d522f475Smrg <li>improve logic in <code>metaSendsEscape</code> in case the Alt- 2087d522f475Smrg and Meta-keys are mapped to different modifiers. That allows one 2088d522f475Smrg to use the Alt-key for shifting in the <code>eightBitInput</code> 2089d522f475Smrg and use a Meta-key modifier to prefix the result with an 2090d522f475Smrg <code><ESC></code>. 2091d522f475Smrg 2092d522f475Smrg <li>improve <code>modifyCursorKeys</code> logic to prevent it from 2093d522f475Smrg modifying codes where <code>eightBitInput</code> or 2094d522f475Smrg <code>metaSendsEscape</code> are set 2095d522f475Smrg (request by Dan Nicolaescu). 2096d522f475Smrg 2097d522f475Smrg <li>improve <code>modifyCursorKeys</code> logic to prevent it from 2098d522f475Smrg changing the user input when other modifiers such as AltGr are used 2099d522f475Smrg (report by Thomas Wolff). 2100d522f475Smrg 2101d522f475Smrg <li>extend <code>modifyCursorKeys</code> to include the numeric keypad 2102d522f475Smrg when in application mode. 2103d522f475Smrg 2104d522f475Smrg <li>improve <code>-reverse</code> (<code>-rv</code>) option 2105d522f475Smrg (patch by Jason Vas Dias, Redhat #189161). 2106d522f475Smrg 2107d522f475Smrg <li>workaround for color resources on Fedora-5 which made the toolbar 2108d522f475Smrg colors inconsistent. 2109d522f475Smrg 2110d522f475Smrg <li>corrected calls used for <code>--disable-setuid</code> option, 2111d522f475Smrg add debugging traces to help diagnose this area. 2112d522f475Smrg 2113d522f475Smrg <li>modify configure script to ensure that <code>USE_UTMP_SETGID</code> 2114d522f475Smrg is defined only if the check for POSIX saved-ids succeeds, or 2115d522f475Smrg corresponds to one of the BSD systems known to have a workable 2116d522f475Smrg <code>setegid</code> function. 2117d522f475Smrg 2118d522f475Smrg <li>extend configure check for POSIX saved-ids to include BSD systems 2119d522f475Smrg 2120d522f475Smrg <li>modify CF_SYSV configure macro to work with gcc on HPUX 10.20, 2121d522f475Smrg whose broken 2122d522f475Smrg <code><term.h></code> relies on including 2123d522f475Smrg <code><termios.h></code>. 2124d522f475Smrg 2125d522f475Smrg <li>change order of setuid/setgid ifdef checks in Imakefile to make 2126d522f475Smrg it simpler to produce a setgid install, allowing the latter to 2127d522f475Smrg override the former (prompted by an XFree86 commit). 2128d522f475Smrg 2129d522f475Smrg <li>adapt a fix for setgid support from subsequent XFree86 changes 2130d522f475Smrg (patch by Emanuele Giaquinta). 2131d522f475Smrg 2132d522f475Smrg <li>further improve setgid support (patches by Emanuele Giaquinta). 2133d522f475Smrg</ul> 2134d522f475Smrg 2135d522f475Smrg<H1><A NAME="xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A></H1> 2136d522f475Smrg<ul> 2137d522f475Smrg <li>improve setgid support by exploiting the saved-ids feature on which 2138d522f475Smrg it relies (patch by Emanuele Giaquinta). 2139d522f475Smrg 2140d522f475Smrg <li>make the <code>modifyOtherKeys</code> resource disabled by default 2141d522f475Smrg since the intermediate setting altered some common bindings 2142d522f475Smrg (report by Emanuele Giaquinta). 2143d522f475Smrg</ul> 2144d522f475Smrg 2145d522f475Smrg<H1><A NAME="xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A></H1> 2146d522f475Smrg<ul> 2147d522f475Smrg <li>modify makefile rule for ctlseqs.txt to strip backspace/overstrikes, 2148d522f475Smrg and add a copy of ctlseqs.txt to the source tarballs (requests by 2149d522f475Smrg Bram Moolenaar, Emanuele Giaquinta). 2150d522f475Smrg 2151d522f475Smrg <li>add <code>modifyOtherKeys</code> resource, analogous to the 2152d522f475Smrg <code>modifyCursorKeys</code> resource. This applies to keys that 2153d522f475Smrg normally would transmit nothing when a given modifier is applied 2154d522f475Smrg (request by Dan Nicolaescu). 2155d522f475Smrg 2156d522f475Smrg <li>add <code>default</code> to the acceptable values for the 2157d522f475Smrg <code>keyboardType</code> resource, allowing the <code>-kt</code> 2158d522f475Smrg command-line option to override app-defaults resource settings of 2159d522f475Smrg <code>sunKeyboard</code>, etc. 2160d522f475Smrg 2161d522f475Smrg <li>correct ifdef's for <code>XkbBell()</code> which used the header 2162d522f475Smrg file but not the corresponding function in 2163d522f475Smrg <a href="#xterm_175">patch #175</a> 2164d522f475Smrg (report by Zach Beane). 2165d522f475Smrg 2166d522f475Smrg <li>add xterm manpage to the <code>--with-symlink</code> logic. 2167d522f475Smrg 2168d522f475Smrg <li>regenerated configure script to omit some debugging artifacts of 2169d522f475Smrg the SIGWINCH test. 2170d522f475Smrg 2171d522f475Smrg <li>fix <code>install-man</code> rule in <code>Makefile.in</code> to 2172d522f475Smrg avoid including the <code>$(DESTDIR)</code> value in substitutions 2173d522f475Smrg made on the manpages (patch by Emanuele Giaquinta). 2174d522f475Smrg 2175d522f475Smrg <li>improved fix for cursor deallocation 2176d522f475Smrg (Redhat #186935, patch by Jason Vas Dias). 2177d522f475Smrg 2178d522f475Smrg <li>improve checks for setuid/setgid operation to accommodate limited 2179d522f475Smrg resource management in some kernels (GenToo #193238). 2180d522f475Smrg 2181d522f475Smrg <li>update config.guess, config.sub 2182d522f475Smrg</ul> 2183d522f475Smrg 2184d522f475Smrg<H1><A NAME="xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A></H1> 2185d522f475Smrg<ul> 2186d522f475Smrg <li>minor optimization to cell layout; will use that to simplify some 2187d522f475Smrg logic and allow for more than two combining characters in another 2188d522f475Smrg patch. 2189d522f475Smrg 2190d522f475Smrg <li>add <code>utf8Latin1</code> resource to make optional the 2191d522f475Smrg feature from <a href="#xterm_209">patch #209</a> which 2192d522f475Smrg allowed ISO-8859-1 fonts to be used in cases 2193d522f475Smrg where a wide font was given. This would only 2194d522f475Smrg work for the special case where the user normally used Latin-1 2195d522f475Smrg and wanted some wide characters (report by Rostislav Krasny). 2196d522f475Smrg 2197d522f475Smrg <li>add <code>utf8Title</code> resource to manpage (Novell #52655). 2198d522f475Smrg 2199d522f475Smrg <li>fix typo in table entry for <code>utf8Title</code> resource which 2200d522f475Smrg made it treated as an integer rather than boolean (patch by Mike 2201d522f475Smrg Fabian, Novell #52655). 2202d522f475Smrg</ul> 2203d522f475Smrg 2204d522f475Smrg<H1><A NAME="xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A></H1> 2205d522f475Smrg<ul> 2206d522f475Smrg <li>improve description of <code>forceBoxChars</code> in manpage 2207d522f475Smrg (discussion with Joe Wells). 2208d522f475Smrg 2209d522f475Smrg <li>set checkmark for "Select To Clipboard" menu entry on startup, 2210d522f475Smrg from resource setting. 2211d522f475Smrg 2212d522f475Smrg <li>update manpage to note that <code>*customization:color</code> is 2213d522f475Smrg not needed, though it is useful (Redhat #188034). 2214d522f475Smrg 2215d522f475Smrg <li>add underscore to sample pattern for URL in <code>XTerm.ad</code> 2216d522f475Smrg (Redhat #188037). 2217d522f475Smrg 2218d522f475Smrg <li>modify install rule for manpage to use the configured app-defaults 2219d522f475Smrg directory (Redhat #188031). 2220d522f475Smrg 2221d522f475Smrg <li>add checks in <code>releaseCursorGCs()</code> to ensure GC's are 2222d522f475Smrg distinct, needed since memory leak changes for 2223d522f475Smrg <a href="#xterm_208">patch #208</a> 2224d522f475Smrg (Redhat #186935, patch by Jason Vas Dias). 2225d522f475Smrg 2226d522f475Smrg <li>modify <code>Imakefile</code> definitions to allow 2227d522f475Smrg <code>imake</code> to set <code>InstallXtermSetGID</code>. 2228d522f475Smrg Add symbol <code>InstGidFlags</code>. 2229d522f475Smrg 2230d522f475Smrg <li>add configure script check to ensure that SIGWINCH if defined even 2231d522f475Smrg when headers undefine this as a side-effect of 2232d522f475Smrg <code>_POSIX_C_SOURCE</code>, etc. 2233d522f475Smrg 223420d2c4d2Smrg <li>resync with XFree86 CVS 2235d522f475Smrg <ul> 2236d522f475Smrg <li>ifdef-out chmod of terminal device for OS/2 (XFree86 #1663, 2237d522f475Smrg Frank Giessler). 2238d522f475Smrg <li>move new <code>Imakefile</code> chunk which defines 2239d522f475Smrg <code>$(CSGIDFLAGS)</code> before DEFINES, 2240d522f475Smrg e.g., for IRIX64 (Marc La France). 2241d522f475Smrg </ul> 2242d522f475Smrg</ul> 2243d522f475Smrg 2244d522f475Smrg<H1><A NAME="xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A></H1> 2245d522f475Smrg<ul> 2246d522f475Smrg <li>modify prefix/suffix transformation in makefile to make 2247d522f475Smrg <code>uxterm</code> install properly on Cygwin. 2248d522f475Smrg 2249d522f475Smrg <li>restore the sizeof-comparison for <code>struct lastlog</code> 2250d522f475Smrg added in <a href="#xterm_208">patch #208</a>, 2251d522f475Smrg rendered (mostly) obsolete in <a href="#xterm_210">patch #210</a>, 2252d522f475Smrg since an imake configuration can still turn that code on 2253d522f475Smrg (prompted by comment by David Dawes). 2254d522f475Smrg 2255d522f475Smrg <li>remove feature for <code>FreeBSDArchitecture</code> from 2256d522f475Smrg <code>Imakefile</code> which would install xterm using the 2257d522f475Smrg <code>utmp</code> group since a standard FreeBSD system has no such 2258d522f475Smrg group, though it would support this configuration. FreeBSD 2259d522f475Smrg packager uses the <code>configure</code> script, which can make the 2260d522f475Smrg appropriate check (prompted by comment by David Dawes). 2261d522f475Smrg 2262d522f475Smrg <li>fixes for gcc redefinition warnings when built using imake 2263d522f475Smrg (reports by David Dawes, Marc La France). 2264d522f475Smrg</ul> 2265d522f475Smrg 2266d522f475Smrg<H1><A NAME="xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A></H1> 2267d522f475Smrg<ul> 2268d522f475Smrg <li>add configure check for workaround in 2269d522f475Smrg <a href="#xterm_208">patch #208</a> 2270d522f475Smrg for Solaris' inconsistent support for struct lastlog to quiet 2271d522f475Smrg compiler warnings 2272d522f475Smrg (prompted by David Dawes commit message for XFree86). 2273d522f475Smrg 2274d522f475Smrg <li>fixes for BASE64 selection manipulation, 2275d522f475Smrg e.g., ensure that the string 2276d522f475Smrg terminator is written after cut-buffer data (report by Joe Allen). 2277d522f475Smrg 2278d522f475Smrg <li>add vttests/paste64.pl script to test experimental option for 2279d522f475Smrg setting/getting selection data. 2280d522f475Smrg 2281d522f475Smrg <li>add some error-checking in fontutils.c 2282d522f475Smrg (prompted by David Dawes commit message for XFree86). 2283d522f475Smrg 2284d522f475Smrg <li>change xterm manpage to show the actual color resource names 2285d522f475Smrg <code>XtDefaultForeground</code> and 2286d522f475Smrg <code>XtDefaultBackground</code> rather than black and white 2287d522f475Smrg (prompted by discussion with Emanuele Giaquinta). 2288d522f475Smrg 2289d522f475Smrg <li>add <code>utf8Title</code> resource and menu entry, allowing the 2290d522f475Smrg user to control whether title strings are interpreted as ISO-8859-1 2291d522f475Smrg or UTF-8 encoding (Novell #52655, #113206). 2292d522f475Smrg 2293d522f475Smrg <li>change order of ifdef's for utempter versus platforms in 2294d522f475Smrg <code>Imakefile</code> to ensure a proper value for 2295d522f475Smrg <code>InstallXtermSetGID</code> 2296d522f475Smrg (prompted by Marc La France commit message for XFree86). 2297d522f475Smrg 2298d522f475Smrg <li>update the cursor GCs when menu entry for reverse video is toggled. 2299d522f475Smrg (Redhat #183993). 2300d522f475Smrg 2301d522f475Smrg <li>a memory-leak fix for <code>set_cursor_gcs()</code> 2302d522f475Smrg in <a href="#xterm_208">patch #208</a> broke the 2303d522f475Smrg <code>-cm</code> option (Redhat #182382). 2304d522f475Smrg</ul> 2305d522f475Smrg 2306d522f475Smrg<H1><A NAME="xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A></H1> 2307d522f475Smrg<ul> 2308d522f475Smrg <li>remove <code>setf</code> and <code>setb</code> from 2309d522f475Smrg <code>xterm-256color</code> terminfo entry to avoid issues with 2310d522f475Smrg applications that ignore the ANSI strings (report by Emanuele 2311d522f475Smrg Giaquinta). 2312d522f475Smrg 2313d522f475Smrg <li>remove obsolete references to "Xorg" to avoid confusion with 2314d522f475Smrg "X.org" (prompted by David Dawes commit message for XFree86). 2315d522f475Smrg 2316d522f475Smrg <li>improve initial layout performance for the toolbar configuration 2317d522f475Smrg by precalculating the height of the toolbar. 2318d522f475Smrg 2319d522f475Smrg <li>remove menu entry for "Enable Curses Emulation" (to make room for 2320d522f475Smrg "Select To Clipboard"). 2321d522f475Smrg 2322d522f475Smrg <li>add resource <code>selectToClipboard</code>, 2323d522f475Smrg action <code>set-select</code> and a menu entry to allow 2324d522f475Smrg users to switch between PRIMARY and CLIPBOARD for select/paste. 2325d522f475Smrg 2326d522f475Smrg <li>allow cursor to have the same color as foreground (text), since it 2327d522f475Smrg is rendered as reverse (Debian #350664). 2328d522f475Smrg 2329d522f475Smrg <li>amend change for loading <code>utf8Fonts</code> resource from <a 2330d522f475Smrg href="#xterm_204">patch #204</a> to allow an ISO-8859-1 "normal" 2331d522f475Smrg font to be combined with an ISO-10646 font if the latter is given 2332d522f475Smrg via the <code>-fw</code> option or its corresponding resource 2333d522f475Smrg value (prompted by comment in Novell #49305). 2334d522f475Smrg 2335d522f475Smrg <li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for 2336d522f475Smrg <code>__GNU__</code> to set the controlling terminal (Debian 2337d522f475Smrg #348457). 2338d522f475Smrg 2339d522f475Smrg <li>add configure option <code>--disable-leaks</code>. 2340d522f475Smrg 2341d522f475Smrg <li>add a check in <code>Bell</code> to ensure that the VT100 widget 2342d522f475Smrg is realized, since it may be called by <code>xtermLoadFont</code> 2343d522f475Smrg given an incorrect font resource (Redhat #180450). 2344d522f475Smrg 2345d522f475Smrg <li>improve initialization of wide-bold font by not using the derived 2346d522f475Smrg value when it happens to have few glyphs (report by Mboso Sampson). 2347d522f475Smrg 2348d522f475Smrg <li>improve dynamic colors by not repainting the screen if only the 2349d522f475Smrg cursor color changes (request by Bram Moolenaar). 2350d522f475Smrg 2351d522f475Smrg <li>fix menu initialization for tek4014 window broken in 2352d522f475Smrg <a href="#xterm_206">patch #206</a>. 2353d522f475Smrg 2354d522f475Smrg <li>typo in manpage (Debian #351425). 2355d522f475Smrg 2356d522f475Smrg <li>correct loop logic in <code>dotext</code> to prevent an infinite 2357d522f475Smrg loop if a wide character was just at the right margin when wrapping 2358d522f475Smrg was disabled (report by Serge van den Boom). 2359d522f475Smrg 2360d522f475Smrg <li>initialize the saved-cursor data so a restore-cursor operation 2361d522f475Smrg without a preceding save-cursor operation will not modify the 2362d522f475Smrg foreground color. 2363d522f475Smrg 2364d522f475Smrg <li>add a new selection feature: regular expressions, and new resources 2365d522f475Smrg which specify what happens on multiple mouse clicks: 2366d522f475Smrg <code>on2Clicks</code>, 2367d522f475Smrg <code>on3Clicks</code>, 2368d522f475Smrg <code>on4Clicks</code> and 2369d522f475Smrg <code>on5Clicks</code>. 2370d522f475Smrg 2371d522f475Smrg <li>revert the <code>XTerm.ad</code> change from 2372d522f475Smrg <a href="#xterm_208">patch #208</a> (Debian #348384). 2373d522f475Smrg 2374d522f475Smrg <li>fixes for the print-window to make it handle combining 2375d522f475Smrg characters in UTF-8 mode. 2376d522f475Smrg 2377d522f475Smrg <li>add check to ensure that double-clicking to extend selection will 2378d522f475Smrg not extend it into the scrollback area. This still allows users 2379d522f475Smrg to scroll back and select text (Debian #347415). 2380d522f475Smrg 2381d522f475Smrg <li>add configure option <code>--with-tty-group</code> to help work 2382d522f475Smrg around deficiencies in packager's build environment (Debian 2383d522f475Smrg #349142). 2384d522f475Smrg 2385d522f475Smrg <li>fix typo in configure script option 2386d522f475Smrg <code>--disable-narrowproto</code> 2387d522f475Smrg (report by David Martínez Moreno). 2388d522f475Smrg 2389d522f475Smrg <li>amend CF_X_FREETYPE changes for <code>pkg-config</code> check to 2390d522f475Smrg ensure that <code>Xft</code> is known to that tool (report and 2391d522f475Smrg patch by Emanuele Giaquinta). 2392d522f475Smrg 2393d522f475Smrg <li>add an ifdef to allow <code>./configure --disable-active-icon</code> 2394d522f475Smrg to work, broken by new code for testing memory leaks in 2395d522f475Smrg <a href="#xterm_208">patch #208</a> (report by Brian Lindholm). 2396d522f475Smrg</ul> 2397d522f475Smrg 2398d522f475Smrg<H1><A NAME="xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A></H1> 2399d522f475Smrg<ul> 2400d522f475Smrg <li>add <code>charClass</code> resource to <code>XTerm.ad</code> and 2401d522f475Smrg <code>UXTerm.ad</code> which simplifies selecting URLs (prompted 2402d522f475Smrg by Kirill Ponomarew). 2403d522f475Smrg 2404d522f475Smrg <li>modify install rule for <code>uxterm</code> to account for the 2405d522f475Smrg <code>--program-prefix</code>, etc., options by invoking the 2406d522f475Smrg transformed name of xterm rather than simply "xterm". 2407d522f475Smrg 2408d522f475Smrg <li>modify configure <code>--with-app-defaults</code> option to allow 2409d522f475Smrg <code>--without-app-defaults</code>. 2410d522f475Smrg 2411d522f475Smrg <li>add configure <code>--with-symlink</code> option to make it simpler 2412d522f475Smrg to install successive versions of <code>xterm</code> renamed using 2413d522f475Smrg the <code>--program-prefix</code>, etc., options with a symbolic 2414d522f475Smrg link pointing to the most recent. 2415d522f475Smrg 2416d522f475Smrg <li>make <code>-iconic</code> option work with toolbar configuration 2417d522f475Smrg (GenToo #113604). 2418d522f475Smrg 2419d522f475Smrg <li>suppress <code>lastlog</code> feature for 64-bit Solaris 2420d522f475Smrg configuration since that platform provides only a 32-bit interface 2421d522f475Smrg (report by Peter Bray). 2422d522f475Smrg 2423d522f475Smrg <li>fix memory reallocation for the "UTF-8" menu entry when xterm is 2424d522f475Smrg started using the <code>+u8</code> option (reported by Jan Willem 2425d522f475Smrg Stumpel). 2426d522f475Smrg 2427d522f475Smrg <li>add a configure check for the actual path of <code>luit</code>, 2428d522f475Smrg to work around broken <code>imake</code> configurations. 2429d522f475Smrg 2430d522f475Smrg <li>add a configure check for <code>pkg-config</code> (Redhat Bugzilla 2431d522f475Smrg #173541). 2432d522f475Smrg 2433d522f475Smrg <li>modify install-rule for <code>uxterm</code> to omit executable 2434d522f475Smrg suffix, e.g., for Cygwin. 2435d522f475Smrg 2436d522f475Smrg <li>modify <code>sinstall.sh</code> to work around quirks in Cygwin 2437d522f475Smrg configuration. 2438d522f475Smrg</ul> 2439d522f475Smrg 2440d522f475Smrg<H1><A NAME="xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A></H1> 2441d522f475Smrg<ul> 2442d522f475Smrg <li>enable <code>lastlogx</code> support for NetBSD (was added, but 2443d522f475Smrg not enabled in <a href="#xterm_186">patch #186</a>). 2444d522f475Smrg 2445d522f475Smrg <li>work around broken <code>lastlog.h</code> in glibc 2.3.5, which 2446d522f475Smrg includes <code>utmp.h</code>. 2447d522f475Smrg 2448d522f475Smrg <li>revert part of recent XFree86 Imakefile change, restoring the 2449d522f475Smrg <code>-I.</code> needed for <code>xmkmf</code> builds of xterm 245020d2c4d2Smrg (XFree86 Bugzilla #1633, 245120d2c4d2Smrg reports by Alexander Pohoyda, 245220d2c4d2Smrg Matthieu Herrb). 2453d522f475Smrg 2454d522f475Smrg <li>change compiled-in default for <code>printerCommand</code> 2455d522f475Smrg resource to an empty string. People who want to use the 2456d522f475Smrg printer should be able to read the manual (Debian #311490). 2457d522f475Smrg 2458d522f475Smrg <li>modify <code>Imakefile</code> to work around old problems in 2459d522f475Smrg <code>imake</code> configuration to allow test-builds using 2460d522f475Smrg <code>xmkmf</code> on Linux. (This was not noticed since several 2461d522f475Smrg releases had broken definitions relating to Xft which were harder 2462d522f475Smrg to work around). 2463d522f475Smrg 2464d522f475Smrg <li>link <code>resize</code> for SCO platforms (Kean Johnston). 2465d522f475Smrg</ul> 2466d522f475Smrg 2467d522f475Smrg<H1><A NAME="xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A></H1> 2468d522f475Smrg<ul> 2469d522f475Smrg <li>add configure <code>--with-app-defaults</code> option to allow 2470d522f475Smrg app-defaults directory for install-rules to be customized. 2471d522f475Smrg 2472d522f475Smrg <li>remove default translations for <code>dabbrev-expand()</code> 2473d522f475Smrg due to conflicts with existing keyboard arrangements. 2474d522f475Smrg 2475d522f475Smrg <li>remove redundant check for <code>_NET_WM_PID</code> 2476d522f475Smrg (report by Emanuele Giaquinta). 2477d522f475Smrg 2478d522f475Smrg <li>set icon border width explicitly to work around fvwm problem 2479d522f475Smrg with active icon resizing (report by Steve Morris, analysis 2480d522f475Smrg by Dominik Vogt). 2481d522f475Smrg 2482d522f475Smrg <li>modify resource files to make the font-resources a little 2483d522f475Smrg more specific, e.g., changing "*VT100*" to "*VT100.", to 2484d522f475Smrg make the distinction between VT100.font and VT100.utf8Fonts.font 2485d522f475Smrg sharper, in case a packager modifies one of those. 2486d522f475Smrg 2487d522f475Smrg <li>expanded comments in <code>UXTerm.ad</code> regarding the 2488d522f475Smrg font resources (Debian #319179). 2489d522f475Smrg 2490d522f475Smrg <li>add <code>--enable-narrowproto</code> configure option to 2491d522f475Smrg accommodate X.org "modular" build (report by Stephan Hermann, 2492d522f475Smrg GenToo #17220). 2493d522f475Smrg 2494d522f475Smrg <li>fix typo in xterm.man description of <code>+wf</code> (patch 2495d522f475Smrg by Tobias Stoeckmann). 2496d522f475Smrg 2497d522f475Smrg <li>add <code>scrollBarBorder</code> resource (request by Floyd L 2498d522f475Smrg Davidson). 2499d522f475Smrg 2500d522f475Smrg <li>modify <code>xterm-new</code> terminfo entry to use capabilities 2501d522f475Smrg for shifted scroll forward/reverse as shifted cursor up/down. 2502d522f475Smrg 2503d522f475Smrg <li>correct updating of checkmark for toolbar entry in popup menu 2504d522f475Smrg (report by Emanuele Giaquinta). 2505d522f475Smrg 2506d522f475Smrg <li>fix ifdef's to allow compiling with toolbar and without tek4014 2507d522f475Smrg (patch by Emanuele Giaquinta). 2508d522f475Smrg 2509d522f475Smrg <li>use <code>openpty()</code> for Darwin port (patch by Emanuele 2510d522f475Smrg Giaquinta). 2511d522f475Smrg 2512d522f475Smrg <li>fix GenToo #90697 a different way, postponing the logic in 2513d522f475Smrg <code>SetupToolbar</code> until the toolbar is actually needed, 2514d522f475Smrg i.e., the <code>+tb</code> option is handled as expected. 2515d522f475Smrg 2516d522f475Smrg <li>revert fix made in <a href="#xterm_203">patch #203</a> for GenToo 2517d522f475Smrg #90697. That introduced a problem with the control mouse 2518d522f475Smrg click-popups, while most of the performance problems can be 2519d522f475Smrg resolved by restricting the menu fonts (report by Emanuele 2520d522f475Smrg Giaquinta). 2521d522f475Smrg 2522d522f475Smrg <li>fix a file-descriptor leak when calling <code>openpty()</code> 2523d522f475Smrg (OpenBSD system/4561). 2524d522f475Smrg 2525d522f475Smrg <li>make a special case of resizing work like vt100: a hard reset 2526d522f475Smrg also resets the 132/80 mode. The code to support this was 2527d522f475Smrg present since X11R5, but not used because the corresponding 2528d522f475Smrg initial state of the <code>-132</code> option was not saved. 2529d522f475Smrg 2530d522f475Smrg <li>restore window manager hints after <code>XtMakeResizeRequest()</code> 2531d522f475Smrg calls. One instance from <a href="#xterm_205">patch #205</a> 2532d522f475Smrg resulted in the window manager displaying pixels rather than 2533d522f475Smrg than characters after selecting a different font size (FreeBSD 2534d522f475Smrg ports/87424). 2535d522f475Smrg 2536d522f475Smrg <li>remove special case for Darwin in CF_XOPEN_SOURCE 2537d522f475Smrg (Emanuele Giaquinta). 2538d522f475Smrg 2539d522f475Smrg <li>modify parsing of control sequence <code>CSI T</code> 2540d522f475Smrg to allow scroll-down 2541d522f475Smrg to be sent while mouse tracking is enabled (request by 2542d522f475Smrg D Hugh Redelmeier). 2543d522f475Smrg 2544d522f475Smrg <li>correct termcap "me" (mode-end) string so it does not modify the 2545d522f475Smrg alternate character set (report by Andrey Chernov). 2546d522f475Smrg 2547d522f475Smrg <li>correct size-comparison in HandleInterpret() broken in changes 2548d522f475Smrg from <a href="#xterm_201">patch #201</a> to allocate input 2549d522f475Smrg buffer (Debian #334317). 2550d522f475Smrg 2551d522f475Smrg <li>amend adjustments for scrollbar layout from 2552d522f475Smrg <a href="#xterm_204">patch #204</a> to make 2553d522f475Smrg this apply only to the toolbar configuration. In the non-toolbar 2554d522f475Smrg configuration, the resulting scrollbar was shifted by its 2555d522f475Smrg borderwidth (report by Matthieu Herrb). 2556d522f475Smrg 2557d522f475Smrg <li>add select-cursor-extend() action. 2558d522f475Smrg 2559d522f475Smrg <li>fix some broken href's in xterm.log.html, and typo in the 2560d522f475Smrg INSTALL file (report/patch by David Martínez Moreno). 2561d522f475Smrg 2562d522f475Smrg <li>modify <code>Imakefile</code> to use setgid mode for installing 2563d522f475Smrg with Linux, OpenBSD and FreeBSD. 2564d522f475Smrg 2565d522f475Smrg <li>add configure --with-setuid and --with-reference options to 2566d522f475Smrg allow packagers more flexibility in customizing install 2567d522f475Smrg permissions. 2568d522f475Smrg 2569d522f475Smrg <li>generalize and make optional (configure --with-utmp-setgid) 2570d522f475Smrg the change made for XFree86 Bugzilla #878 in 2571d522f475Smrg <a href="#xterm_205">patch #205</a> 2572d522f475Smrg (FreeBSD bug report #ports/86663). 2573d522f475Smrg</ul> 2574d522f475Smrg 2575d522f475Smrg<H1><A NAME="xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A></H1> 2576d522f475Smrg<ul> 2577d522f475Smrg <li>correct a typo in CF_FUNC_TGETENT introduced in <a 2578d522f475Smrg href="#xterm_198">patch #198</a> fix for Gentoo #69926. 2579d522f475Smrg 2580d522f475Smrg <li>implement logic in termcap query to process multiple parameters 2581d522f475Smrg as documented in ctlseqs.ms 2582d522f475Smrg 2583d522f475Smrg <li>fix buffer size used for termcap query, which was not long enough 2584d522f475Smrg for the terminfo "colors" name (patch by Bradd W. Szonye). 2585d522f475Smrg 2586d522f475Smrg <li>add configure option --enable-readline-mouse, which turns on the 2587d522f475Smrg experimental OPT_READLINE code (patch by Ilya Zakharevich). 2588d522f475Smrg 2589d522f475Smrg <li>for FreeBSD, drop setuid privileges after startup 2590d522f475Smrg (XFree86 Bugzilla #878, report/patch by Alexander Pohoyda) 2591d522f475Smrg 2592d522f475Smrg <li>add menu entry (alt-esc) and corresponding action (alt-sends-esc) 2593d522f475Smrg to toggle the <code>eightBitInput</code> resource setting. 2594d522f475Smrg 2595d522f475Smrg <li>generate configure script with autoconf 2.52 (patched) to use 2596d522f475Smrg the feature therein which forces the script's locale to POSIX 2597d522f475Smrg (Gentoo Bugzilla #105369). 2598d522f475Smrg 2599d522f475Smrg <li>modify computation of rows/columns on resize to avoid extending 2600d522f475Smrg beyond the given limits, e.g., if resizing in response to a 2601d522f475Smrg "maximize" in Gnome or KDE which do not use the window manager 2602d522f475Smrg hints for this case (Debian #289123, Novell #61153). 2603d522f475Smrg 2604d522f475Smrg <li>modifications to work with z/OS 1.4 (Paul Giordano). 2605d522f475Smrg 2606d522f475Smrg <li>improve error-reporting when chown/chmod of the pseudo-terminal 2607d522f475Smrg fails, e.g., if a copy of xterm which was designed to work with 2608d522f475Smrg old-style pseudo-terminals is not installed setuid or setgid 2609d522f475Smrg (report by Jeremy C. Reed). 2610d522f475Smrg 2611d522f475Smrg <li>patches from Emanuele Giaquinta: 2612d522f475Smrg <ul> 2613d522f475Smrg <li>ctlseqs.ms says that primary and secondary DA accept a 2614d522f475Smrg nonzero parameter, which is incorrect. Also modify code 2615d522f475Smrg to agree with this. 2616d522f475Smrg 2617d522f475Smrg <li>correct a comment in 88colres.pl 2618d522f475Smrg 2619d522f475Smrg <li>ctlseqs.ms says that the DEC Set/Reset control sequences for 2620d522f475Smrg the backarrow key make it send DEL/BS, respectively, while it's 2621d522f475Smrg the opposite. 2622d522f475Smrg 2623d522f475Smrg <li>update the menu entries for the metaSendsEscape, deleteIsDEL 2624d522f475Smrg and numLock resources when changing them with the corresponding 2625d522f475Smrg DEC Set/Reset control sequences. 2626d522f475Smrg </ul> 2627d522f475Smrg 2628d522f475Smrg <li>fixes for configure script: 2629d522f475Smrg <ul> 2630d522f475Smrg <li>add special case for QNX, defining _QNX_SOURCE. 2631d522f475Smrg <li>check for preprocessors which do not perform -U and -D options 2632d522f475Smrg in the given order. 2633d522f475Smrg <li>improve macro to determine gcc version 2634d522f475Smrg <li>improve check for Intel compiler and related warning options 2635d522f475Smrg </ul> 2636d522f475Smrg 2637d522f475Smrg <li>update config.guess, config.sub 2638d522f475Smrg 2639d522f475Smrg <li>improve fix from <a href="#xterm_198">patch #198</a> for 2640d522f475Smrg <code>Cleanup()</code> by ensuring it is not called from the 264120d2c4d2Smrg SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)). 2642d522f475Smrg 2643d522f475Smrg <li>eliminate a retry for a better-matching bold font, to work around 2644d522f475Smrg recent font server changes. 2645d522f475Smrg 2646d522f475Smrg <li>fixes for Novell #113277: 2647d522f475Smrg <ul> 2648d522f475Smrg <li>specify weight for wide font which may be derived from 2649d522f475Smrg normal fontname. 2650d522f475Smrg <li>cache the derived wide- and widebolt-fontnames. 2651d522f475Smrg </ul> 2652d522f475Smrg 2653d522f475Smrg <li>workaround for GenToo Bugzilla #100728. 2654d522f475Smrg 2655d522f475Smrg <li>add menubar's border width to layout computation. Normally this 2656d522f475Smrg is zero, but patterns such as <code>XTerm*borderWidth:1</code> 2657d522f475Smrg would give poor layout for the toolbar configuration. 2658d522f475Smrg</ul> 2659d522f475Smrg 2660d522f475Smrg<H1><A NAME="xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A></H1> 2661d522f475Smrg<ul> 2662d522f475Smrg <li>work around quirk in shell which allowed user to "run" uxterm 2663d522f475Smrg script when there was no UTF-8 locale installed by entering 2664d522f475Smrg "sh -x uxterm". Also popup an xmessage to show the problem 2665d522f475Smrg for users who run this via a GUI (Debian #318513). 2666d522f475Smrg 2667d522f475Smrg <li>disallow changes to fonts, toolbar and scrollbar when the vt100 2668d522f475Smrg window is iconified, to simplify management of the active icon. 2669d522f475Smrg 2670d522f475Smrg <li>fixes to make <code>-geom</code> option work properly with the 2671d522f475Smrg toolbar configuration (Gentoo Bugzilla #90717, #91967). 2672d522f475Smrg 2673d522f475Smrg <li>minor improvements to scrollbar layout: ensure that the scrollbar 2674d522f475Smrg border is zero if the vt100 border is zero. 2675d522f475Smrg 2676d522f475Smrg <li>improve initialization due to <code>utf8</code> resource by 2677d522f475Smrg loading the <code>utf8Fonts</code> resource in the case where 2678d522f475Smrg <code>locale</code> resource is false. Also in this case, do 2679d522f475Smrg not disable switching UTF-8 mode on/off. 2680d522f475Smrg 2681d522f475Smrg <li>minor optimization of TrueType font-loading, loads italic font 2682d522f475Smrg only when needed. 2683d522f475Smrg 2684d522f475Smrg <li>correct variable used to store temporary result from lookup of bold 2685d522f475Smrg font, when initializing the wide-bold-font data and no immediate 2686d522f475Smrg match is found by asking for a bold variant of the wide-font. The 2687d522f475Smrg result was to use overstriking rather than the actual bold font 2688d522f475Smrg (Debian #318162, patch by Eugene Konev). 2689d522f475Smrg 2690d522f475Smrg <li>add checks to ensure vt100 widget is realized when it might be 2691d522f475Smrg updated via actions handled from a tek4014-only configuration. 2692d522f475Smrg</ul> 2693d522f475Smrg 2694d522f475Smrg<H1><A NAME="xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A></H1> 2695d522f475Smrg<ul> 2696d522f475Smrg <li>modify initialization of <code>allowSendEvents</code> and 2697d522f475Smrg <code>allowWindowOps</code> to prevent modification with the 2698d522f475Smrg editres protocol. 2699d522f475Smrg 2700d522f475Smrg <li>fix compiler warning for NetBSD by including util.h in main.c 2701d522f475Smrg (XFree86 Bugzilla #1596). 2702d522f475Smrg 2703d522f475Smrg <li>fix to build on Darwin 8.x, which no longer provides 2704d522f475Smrg <code>setpgrp()</code> (patch by Min Sik Kim). 2705d522f475Smrg 2706d522f475Smrg <li>adapted fixes for Legend (SCO) from diffs attached to 2707d522f475Smrg Freedesktop.Org Bugzilla #3180. 2708d522f475Smrg 2709d522f475Smrg <li>fix typo in xterm manpage description of <code>-ls</code> option 2710d522f475Smrg (Freedesktop.Org Bugzilla #3543). 2711d522f475Smrg 2712d522f475Smrg <li>add support for interpreting the underline attribute as an italic 2713d522f475Smrg font in Xft mode (patch by Chuck Blake). 2714d522f475Smrg 2715d522f475Smrg <li>improve initialization of toolbar so that individual pulldown 2716d522f475Smrg menus are initialized on demand, as they are in the scenario 2717d522f475Smrg where they are invoked as popup menus (GenToo Bugzilla #90697). 2718d522f475Smrg 2719d522f475Smrg <li>fix logic in <code>find_utmp</code>, which did not reset result 2720d522f475Smrg in <code>getutid()</code>, causing an infinite loop in some 2721d522f475Smrg conditions (report by Emil Mikulic). 2722d522f475Smrg 2723d522f475Smrg <li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla #91008). 2724d522f475Smrg 2725d522f475Smrg <li>modify ifdef's in ptyx.h and xterm_io.h to build with DragonFly 2726d522f475Smrg (patch by Jeroen Ruigrok). 2727d522f475Smrg 2728d522f475Smrg <li>change default values for <code>minBufSize</code> and 2729d522f475Smrg <code>maxBufSize</code> to 4096 and 32768 respectively so that the 2730d522f475Smrg initial read request will match the value from before changes to 2731d522f475Smrg use <code>sched_yield()</code>. 2732d522f475Smrg 2733d522f475Smrg <li>make paste of UTF-8 faster for Western character sets by checking 2734d522f475Smrg range of incoming data (patch by Joe Allen). 2735d522f475Smrg 273620d2c4d2Smrg <li>add experimental option to allow 273720d2c4d2Smrg applications to get or set the selection data as a BASE64 string 273820d2c4d2Smrg (adapted from patch by Joe Allen). 2739d522f475Smrg 2740d522f475Smrg <li>fix an off-by-one error parsing <code>-S/nn</code> option 2741d522f475Smrg (Debian #311438, report/fix by Peter Chubb). 2742d522f475Smrg 2743d522f475Smrg <li>fix an initialization bug from 2744d522f475Smrg <a href="#xterm_201">patch #201</a> that broke logging 2745d522f475Smrg (report by Rodney Thayer). 2746d522f475Smrg 2747d522f475Smrg <li>amend change to command-line processing in 2748d522f475Smrg <a href="#xterm_201">patch #201</a> to avoid 2749d522f475Smrg conflict with <code>-e</code> option (report by Servatius Brandt). 2750d522f475Smrg 2751d522f475Smrg <li>suppress configure check for <code>_XOPEN_SOURCE</code> on 2752d522f475Smrg darwin. 2753d522f475Smrg 2754d522f475Smrg <li>update config.guess, config.sub 2755d522f475Smrg</ul> 2756d522f475Smrg 2757d522f475Smrg<H1><A NAME="xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A></H1> 2758d522f475Smrg<ul> 2759d522f475Smrg <li>add extended shift- and control-modifier cursor keys to 2760d522f475Smrg "xterm+pcfkeys" terminfo entry to correspond to ncurses 20050430 2761d522f475Smrg patch. 2762d522f475Smrg 2763d522f475Smrg <li>fix a rare case where text would be written with the wrong colors 2764d522f475Smrg because output of scrolled text would reset the colors and the 2765d522f475Smrg new text would be written with the same colors (report/testcase 2766d522f475Smrg by Thomas Glanzmann). 2767d522f475Smrg 2768d522f475Smrg <li>rename <code>$CMD</code> variable in <code>plink.sh</code> because 2769d522f475Smrg it is a reserved symbol in bash 3.00.16 (report by Ted Taylor). 2770d522f475Smrg 2771d522f475Smrg <li>add environment variables <code>$XTERM_SHELL</code> and 2772d522f475Smrg <code>$XTERM_VERSION</code> 2773d522f475Smrg (request by Zdenek Sekera). 2774d522f475Smrg 2775d522f475Smrg <li>corrected workaround for background color of menubar, which gave 2776d522f475Smrg a too-broad expression, coloring the background of the VT100 2777d522f475Smrg widget unless overridden by another resource setting. 2778d522f475Smrg 2779d522f475Smrg <li>correct an error in the logic which decides when 2780d522f475Smrg <code>sched_yield()</code> is run; it would occasionally hang when 2781d522f475Smrg contending with other pseudo-terminal applications such as screen 2782d522f475Smrg (report by Kirill Ponomarew). 2783d522f475Smrg 2784d522f475Smrg <li>modify initialization to decide whether to default to built-in 2785d522f475Smrg <code>wcwidth()</code> versus system's version based on the 2786d522f475Smrg starting locale and whether the system's version is poor quality 2787d522f475Smrg (suggested by Bram Moolenaar). 2788d522f475Smrg 2789d522f475Smrg <li>update table for <code>mk_width()</code> from UnicodeData 4.1.0 2790d522f475Smrg using Markus Kuhn's <code>uniset</code> script. 2791d522f475Smrg</ul> 2792d522f475Smrg 2793d522f475Smrg<H1><A NAME="xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A></H1> 2794d522f475Smrg<ul> 2795d522f475Smrg <li>improve resource files to show how the menubar and popup menus can 2796d522f475Smrg be colored (prompted by report by Joe Wells). 2797d522f475Smrg 2798d522f475Smrg <li>modify parsing of OSC (and SOS, etc), strings so their contents 2799d522f475Smrg are not interpreted as UTF-8. This allows non-ASCII title strings 2800d522f475Smrg to be set, provided that the window manager complies (report by 2801d522f475Smrg Thomas Wolff). 2802d522f475Smrg 2803d522f475Smrg <li>improved some of the built-in line-drawing glyphs. 2804d522f475Smrg 2805d522f475Smrg <li>correct color of "box" character drawn for line-drawing glyph 1 2806d522f475Smrg (report by Nicolas George). 2807d522f475Smrg 2808d522f475Smrg <li>improve behavior when switching to UTF-8 mode after startup so 2809d522f475Smrg xterm will check if the current fonts are already wide 2810d522f475Smrg (ISO10646-1). If they are not, xterm will use the 2811d522f475Smrg <code>utf8Fonts</code> subresource to load appropriate fonts 2812d522f475Smrg (request by Bram Moolenaar). 2813d522f475Smrg 2814d522f475Smrg <li>modify logic for setting title-string so it applies to the current 2815d522f475Smrg widget rather than the vt100 widget. 2816d522f475Smrg 2817d522f475Smrg <li>modify initialization for wide-bold fontname, to search for one 2818d522f475Smrg if none is given (report by Michael Schroeder). 2819d522f475Smrg 2820d522f475Smrg <li>add resource <code>mkWidth</code> and command-line option 2821d522f475Smrg <code>-mk_width</code> to control whether xterm uses the built-in 2822d522f475Smrg version of wcwidth(). 2823d522f475Smrg 2824d522f475Smrg <li>add resource settings for minimum/maximum input buffer size, and 2825d522f475Smrg call to <code>sched_yield</code> to improve performance with newer 2826d522f475Smrg Linux kernels (adapted from patch by Nicolas George). 2827d522f475Smrg 2828d522f475Smrg <li>correct computation of width for wide characters with the invisible 2829d522f475Smrg attribute (report by Thomas Wolff). 2830d522f475Smrg 2831d522f475Smrg <li>modify interaction between <code>+u8</code> and <code>locale</code> 2832d522f475Smrg resource to allow the command-line option to override the resource 2833d522f475Smrg (requested by Thomas Wolff). 2834d522f475Smrg 2835d522f475Smrg <li>add a limit check for scrolling margins in a one-line screen, 2836d522f475Smrg overlooked in fixes for 2837d522f475Smrg <a href="#xterm_198">patch #198</a> (Debian #297430). 2838d522f475Smrg 2839d522f475Smrg <li>correct treatment of <code>iconBorderWidth</code> for resizing 2840d522f475Smrg an active-icon, and its description in manpage (Debian #296592). 2841d522f475Smrg 2842d522f475Smrg <li>modify configure script <code>--disable-imake</code> to use the 2843d522f475Smrg script's definitions anyway if it cannot detect imake (prompted 2844d522f475Smrg by FreeBSD bug 77408). 2845d522f475Smrg 2846d522f475Smrg <li>ignore error in the I/O initialization that tries to set the 2847d522f475Smrg tty to 7-bit input for the case where <code>eightBitInput</code> 2848d522f475Smrg resource is false (Debian #298551). 2849d522f475Smrg 2850d522f475Smrg <li>modify command-processing to accept an optional parameter that 2851d522f475Smrg tells xterm which shell program to use (request by Zdenek Sekera). 2852d522f475Smrg 2853d522f475Smrg <li>add simpler resource <code>keyboardType</code> which, when set, 2854d522f475Smrg overrides the individual keyboard-type resources and eliminates 2855d522f475Smrg the possibility of conflict between them. 2856d522f475Smrg 2857d522f475Smrg <li>add initialization for <code>scoFunctionKeys</code> resource 2858d522f475Smrg (report by Rick K). 2859d522f475Smrg 2860d522f475Smrg <li>correct logic of <code>ReallocateBufOffsets()</code> which did not 2861d522f475Smrg copy the content of the old screen buffer to the proper location, 2862d522f475Smrg making a repaint clear after switching to wide-character mode 2863d522f475Smrg (report by Bram Moolenaar): 2864d522f475Smrg 2865d522f475Smrg <li>implement the remaining pieces to make xterm allocate cells for 2866d522f475Smrg wide-characters when the "UTF-8" menu entry is selected. Also, 2867d522f475Smrg load the UTF-8 font when that menu entry is selected, or the escape 2868d522f475Smrg sequence for UTF-8 mode is received (report by Bram Moolenaar): 2869d522f475Smrg 2870d522f475Smrg <li>add command-line options (<code>-tb</code>, <code>+tb</code>) and 2871d522f475Smrg resource <code>toolBar</code> to allow menu/toolbar to disabled or 2872d522f475Smrg enabled at startup (prompted by reports by Joe Wells). 2873d522f475Smrg 2874d522f475Smrg <li>correct typo in configure script's --enable-dec-locator option 2875d522f475Smrg (report by Bram Moolenaar). 2876d522f475Smrg</ul> 2877d522f475Smrg 2878d522f475Smrg<H1><A NAME="xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A></H1> 2879d522f475Smrg<ul> 2880d522f475Smrg <li>increase color pairs value for xterm-256color and xterm-88color to 2881d522f475Smrg match ncurses, which has an experimental option to support this. 2882d522f475Smrg 2883d522f475Smrg <li>modify ifdef's to make AIX use termios rather than termio; the 2884d522f475Smrg struct sizes for the two were not the same. 2885d522f475Smrg 2886d522f475Smrg <li>improve CF_WITH_IMAKE_CFLAGS configure macro script for 2887d522f475Smrg OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX. 2888d522f475Smrg 2889d522f475Smrg <li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by Min 2890d522f475Smrg Sik Kim). 2891d522f475Smrg 2892d522f475Smrg <li>modify find_utmp() to initialize the whole utmpx struct (except 2893d522f475Smrg ut_id), since that is needed for OSF1 4.0D to prevent an infinite 2894d522f475Smrg loop on exit. 2895d522f475Smrg 2896d522f475Smrg <li>add configure check before adding -D_POSIX_SOURCE since some 2897d522f475Smrg platforms predefine it, e.g., cygwin. 2898d522f475Smrg 2899d522f475Smrg <li>add simplified sed expressions in CF_IMAKE_CFLAGS configure script 2900d522f475Smrg macro to ensure value for PROJECTROOT is quoted on Solaris, i.e., 2901d522f475Smrg when nested <code>\(</code> and <code>\)</code> are not interpreted 2902d522f475Smrg correctly. 2903d522f475Smrg 2904d522f475Smrg <li>correct DEC rectangle operations to reset state after completing 2905d522f475Smrg the operations. 2906d522f475Smrg 2907d522f475Smrg <li>modify CASE_ST handling in charproc.c to ensure that the parse 2908d522f475Smrg state is reset even if xterm is not currently processing an OSC or 2909d522f475Smrg other string (patch by Johnny Billquist forwarded by Matthias 2910d522f475Smrg Scheler, NetBSD xsrc/29003). 2911d522f475Smrg 2912d522f475Smrg <li>fix OS/2 build for innotek_libc (patch by David Yeo). 2913d522f475Smrg 2914d522f475Smrg <li>fix a regression from <a href="#xterm_197">patch #197</a> fix for 2915d522f475Smrg Debian #277832 which disowned the selection if it was scrolled, 2916d522f475Smrg e.g., by the user pressing return at the bottom of the screen 2917d522f475Smrg (Debian #291787). 2918d522f475Smrg 2919d522f475Smrg <li>move the warning/exit for missing $DISPLAY into the error handler 2920d522f475Smrg in case <code>-display</code> is given, and the connect fails for 2921d522f475Smrg some other reason. 2922d522f475Smrg</ul> 2923d522f475Smrg 2924d522f475Smrg<H1><A NAME="xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A></H1> 2925d522f475Smrg<ul> 2926d522f475Smrg <li>instead of setting <code>$DISPLAY</code>, check for the unset 2927d522f475Smrg variable and warn/exit on this condition (comments by H Merijn 2928d522f475Smrg Brand and Bernhard R Link). 2929d522f475Smrg 2930d522f475Smrg <li>fix a typo in Imakefile from <a href="#xterm_198">patch #198</a> 293120d2c4d2Smrg (reports/patches by Stefan Dirsch, Mike Castle). 2932d522f475Smrg</ul> 2933d522f475Smrg 2934d522f475Smrg<H1><A NAME="xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A></H1> 2935d522f475Smrg<ul> 2936d522f475Smrg <li>set <code>$DISPLAY</code> to ":0" if it is not set. 2937d522f475Smrg 2938d522f475Smrg <li>add <code>utmpDisplayId</code> resource to allow users to control 2939d522f475Smrg whether the display identifier (display number and screen number) 2940d522f475Smrg are retained in the connection information recorded in utmp 2941d522f475Smrg (discussion with Edoardo Tirtarahardja). 2942d522f475Smrg 2943d522f475Smrg <li>add <code>bellOnReset</code> resource to allow users to disable 2944d522f475Smrg bell which sounds on hard reset since <a href="#xterm_183">patch 2945d522f475Smrg #183</a> changes to DECSCL (discussion with Danek Duvall). 2946d522f475Smrg 2947d522f475Smrg <li>improve <code>$WINDOWID</code> for configuration with toolbar by 2948d522f475Smrg making it refer to the top-level shell rather than the parent of 2949d522f475Smrg the current window. For that case, the parent is a form widget, 2950d522f475Smrg which does not have a name, which made the <code>$WINDOWID</code> 2951d522f475Smrg not very useful as a parameter for <code>xwininfo</code> 2952d522f475Smrg (suggested by Dave Bodenstab). 2953d522f475Smrg 2954d522f475Smrg <li>fix a typo in WhichVFont() macro 2955d522f475Smrg from <a href="#xterm_197">patch #197</a> changes 2956d522f475Smrg which broke the --disable-active-icon configuration 2957d522f475Smrg (report by Ralf S. Engelschall). 2958d522f475Smrg 2959d522f475Smrg <li>improve some limit checks (Gentoo Bugzilla #75604). 2960d522f475Smrg 2961d522f475Smrg <li>add --disable-setuid option to configure script (Gentoo Bugzilla 2962d522f475Smrg #76543). 2963d522f475Smrg 2964d522f475Smrg <li>add --disable-full-tgetent option to configure script, allowing one 2965d522f475Smrg to ignore a termcap library in favor of ncurses/curses (Gentoo 2966d522f475Smrg Bugzilla #69926). 2967d522f475Smrg 2968d522f475Smrg <li>modify configure script to choose useful warning options for Intel 2969d522f475Smrg version 8.0 compiler. 2970d522f475Smrg 2971d522f475Smrg <li>update config.guess, config.sub 2972d522f475Smrg 2973d522f475Smrg <li>make active-icon work properly when TrueType fonts are used 2974d522f475Smrg (Debian #286068). 2975d522f475Smrg 2976d522f475Smrg <li>correct change from <a href="#xterm_157">patch #157</a> which uses 2977d522f475Smrg getlogin() to check for an alias; the storage used for the related 2978d522f475Smrg getpwuid() call was overwritten by the data used for comparison 2979d522f475Smrg (patch by Per Hedeland). 2980d522f475Smrg 2981d522f475Smrg <li>correct case of SCS for character set 0 (line-drawing) to allow it 2982d522f475Smrg to be selected into GR. 2983d522f475Smrg 2984d522f475Smrg <li>fix a file-descriptor leak (Redhat Bugzilla #139597). 2985d522f475Smrg 2986d522f475Smrg <li>modify <code>creat_as()</code> to only fork if xterm is actually 2987d522f475Smrg running as setuid and/or setgid. This works around a Cygwin bug 2988d522f475Smrg which hangs when logging is enabled and makes xterm a little 2989d522f475Smrg faster for systems using interfaces such as utempter (report by 2990d522f475Smrg Al Goodman). 2991d522f475Smrg 2992d522f475Smrg <li>modify <code>Cleanup()</code> to avoid operations such as X calls 2993d522f475Smrg that might use unsafe functions when it is called by a signal 2994d522f475Smrg handler (report by Michiel Boland). 2995d522f475Smrg 2996d522f475Smrg <li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM changes 2997d522f475Smrg from <a href="#xterm_197">patch #197</a> that 2998d522f475Smrg broke DECSET 38: switch to Tek4014 emulation (report by Dave 2999d522f475Smrg Bodenstab). 3000d522f475Smrg 3001d522f475Smrg <li>fix for manpage escapes (Marc La France). 3002d522f475Smrg 3003d522f475Smrg <li>improve on IRIX-specific change for Imakefile in XFree86 CVS versus 3004d522f475Smrg resize linking against termcap library to reflect definitions for 3005d522f475Smrg USE_TERMCAP in resize.c 3006d522f475Smrg</ul> 3007d522f475Smrg 3008d522f475Smrg<H1><A NAME="xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A></H1> 3009d522f475Smrg<ul> 3010d522f475Smrg <li>modify configure script to remove empty "-DPROJECTROOT=" definition 3011d522f475Smrg which resulted unusable values for luit's default path. 3012d522f475Smrg 3013d522f475Smrg <li>update precompose.c based on Unicode 4.0.1 3014d522f475Smrg 3015d522f475Smrg <li>several minor fixes based on Intel compiler warnings. 3016d522f475Smrg 3017d522f475Smrg <li>change default translations so a <code>BtnDown</code> which is 3018d522f475Smrg not recognized is simply ignored rather than emitting a bell. 3019d522f475Smrg That makes it less obtrusive when the user tries to use a mouse 3020d522f475Smrg which provides more capabilities than the X mouse driver supports, 3021d522f475Smrg e.g., one with a horizontal scroll wheel (Debian #265133). 3022d522f475Smrg 3023d522f475Smrg <li>note in xterm's manpage that <code>translations</code> is not 3024d522f475Smrg specific to xterm (Debian #278897). 3025d522f475Smrg 3026d522f475Smrg <li>modify uxterm script to use locale program to verify if the 3027d522f475Smrg derived locale is installed (Debian #246398). 3028d522f475Smrg 3029d522f475Smrg <li>correct font handling for active icon when in UTF-8 mode (report 3030d522f475Smrg by Paolo Liberatore). 3031d522f475Smrg 3032d522f475Smrg <li>make active-icon and toolbar configurations work together. 3033d522f475Smrg 3034d522f475Smrg <li>modify the criteria for disowning primary selection. Previously, 3035d522f475Smrg this happened anytime the cursor was moved before the end of the 3036d522f475Smrg selection. That would ensure that any insert/delete of char or 3037d522f475Smrg line, as well as scrolling, would disown the selection. The 3038d522f475Smrg new criteria change this to checking if the operations would 3039d522f475Smrg modify the data which is highlighted (Debian #277832). 3040d522f475Smrg 3041d522f475Smrg <li>reimplement <code>DECALN</code> with functions for vt420 rectangles, 3042d522f475Smrg fixes selection for this case. 3043d522f475Smrg 3044d522f475Smrg <li>implement vt420 rectangle operations. 3045d522f475Smrg 3046d522f475Smrg <li>add parsing, for debug/test of vt220 soft-fonts. 3047d522f475Smrg 3048d522f475Smrg <li>add menu entry, actions and escape sequence to allow 3049d522f475Smrg enabling/disabling toolbars at runtime. 3050d522f475Smrg 3051d522f475Smrg <li>improve rendering for Xft, allow it to draw non-linedrawing 3052d522f475Smrg characters such as "pi", which were drawn from internal tables 3053d522f475Smrg with <a href="#xterm_180">patch #180</a> 3054d522f475Smrg (Freedesktop.org Bugzilla #1260). 3055d522f475Smrg 3056d522f475Smrg <li>add configure option <code>--enable-mini-luit</code>, ifdef'd the 3057d522f475Smrg mini-luit feature with <code>OPT_MINI_LUIT</code>. 3058d522f475Smrg 3059d522f475Smrg <li>add mini-luit feature, which supports Latin9 directly rather than 3060d522f475Smrg via luit, provided that Unicode fonts are used (Freedesktop.org 3061d522f475Smrg Bugzilla #1571, request by Stefan Dirsch, patch by Michael 3062d522f475Smrg Schroeder). 3063d522f475Smrg 3064d522f475Smrg <li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x kernels, 3065d522f475Smrg set the corresponding flag for the slave pty, to enable UTF-8 3066d522f475Smrg interpretation of backspace in cooked mode (Freedesktop.org 3067d522f475Smrg Bugzilla #1578, request by Stefan Dirsch). 3068d522f475Smrg 3069d522f475Smrg <li>modify <code>faceSize</code> resource to use a floating-point 3070d522f475Smrg internal value (adapted from patch by Sam Stephenson). 3071d522f475Smrg 3072d522f475Smrg <li>correct handling selection of tabs over cleared space in UTF-8 3073d522f475Smrg mode. In this special case, xterm represents the whitespace with 3074d522f475Smrg a null rather than a space character (Debian #276447). 3075d522f475Smrg 3076d522f475Smrg <li>amend fix for infinite loop from <a href="#xterm_192">patch 3077d522f475Smrg #192</a> to check if there is wrapped text to output in a following 3078d522f475Smrg iteration (Debian #273202). 3079d522f475Smrg 3080d522f475Smrg <li>fixes ifdef'd with <code>__INTERIX</code> to allow building with 3081d522f475Smrg Interix (Windows Services for UNIX) 3.5 using the xlibs libraries 3082d522f475Smrg from freedesktop.org (patch by Min Sik Kim). 3083d522f475Smrg 3084d522f475Smrg <li>amend solution for Debian #252873, #260471 from <a 3085d522f475Smrg href="#xterm_194">patch #194</a> by making the cursor not 3086d522f475Smrg explicitly colored if only the foreground color is set, and the 3087d522f475Smrg cursor is on a blank space (Debian #275473). 3088d522f475Smrg 3089d522f475Smrg <li>correct logic for send/receive mode (SRM) with regard to control 3090d522f475Smrg characters. 3091d522f475Smrg 3092d522f475Smrg <li>fix masking of invisible text in wide-character mode, which did 3093d522f475Smrg not work for line-drawing characters. 3094d522f475Smrg 3095d522f475Smrg <li>incorporate CF_XOPEN_SOURCE into configure script, replacing 3096d522f475Smrg CF_GNU_SOURCE. 3097d522f475Smrg</ul> 3098d522f475Smrg 3099d522f475Smrg<H1><A NAME="xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A></H1> 3100d522f475Smrg<ul> 3101d522f475Smrg <li>add a special case to configure script to ignore NetBSD's 3102d522f475Smrg <code>grantpt()</code> which was recently added (but not part of a 3103d522f475Smrg release), until someone is able to ensure that xterm can use it 3104d522f475Smrg (report by Min Sik Kim). 3105d522f475Smrg 3106d522f475Smrg <li>clear the buffer returned by getutid(). This fixes an infinite 3107d522f475Smrg loop on some platforms introduced in <a href="#xterm_193">patch 3108d522f475Smrg #193</a> by Debian #256468 fix (report by David Ellement). 3109d522f475Smrg</ul> 3110d522f475Smrg 3111d522f475Smrg<H1><A NAME="xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A></H1> 3112d522f475Smrg<ul> 3113d522f475Smrg <li>correct length used for blinking text, make the last column blink 3114d522f475Smrg (patch by Alexander V Lukyanov). 3115d522f475Smrg 3116d522f475Smrg <li>start changes to make doublesize characters work with TrueType 3117d522f475Smrg fonts (see <a href="#xterm_44">patch #44</a>). 3118d522f475Smrg 3119d522f475Smrg <li>trim leading/trailing blanks from color resources as done for 3120d522f475Smrg other strings in <a href="#xterm_167">patch #167</a>. 3121d522f475Smrg 3122d522f475Smrg <li>fixes for <code>showBlinkAsBold</code> resource (report by 3123d522f475Smrg Christoph Berg). 3124d522f475Smrg</ul> 3125d522f475Smrg 3126d522f475Smrg<H1><A NAME="xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A></H1> 3127d522f475Smrg<ul> 3128d522f475Smrg <li>change clearing operations so foreground color attribute is not 3129d522f475Smrg set. Usually this is benign, but in some cases when the cursor 3130d522f475Smrg color is not set explicitly, the cursor would show this color 3131d522f475Smrg (Debian #252873, #260471). 3132d522f475Smrg 3133d522f475Smrg <li>add extra state (cursor-moved) to guard against deciding that the 3134d522f475Smrg cursor did not require repainting after an indexing operation 3135d522f475Smrg that leaves the cursor in the same location on the screen. 3136d522f475Smrg 3137d522f475Smrg <li>fix a case where a full-screen indexing operation would 3138d522f475Smrg not restore the cursor-busy state. 3139d522f475Smrg 3140d522f475Smrg <li>fix a repainting bug introduced in 3141d522f475Smrg <a href="#xterm_180">patch #180</a>: when using a font 3142d522f475Smrg lacking line-drawing characters, a repaint of the screen could 3143d522f475Smrg skip horizontally an extra amount after filling in the missing 3144d522f475Smrg character (reports by Nicolas George, Hans de Goede, Redhat 3145d522f475Smrg Bugzilla #128341). 3146d522f475Smrg 3147d522f475Smrg <li>rename terminfo fragment "xterm-pc-fkeys" to "xterm+pcfkeys" for 3148d522f475Smrg consistency with ncurses. 3149d522f475Smrg</ul> 3150d522f475Smrg 3151d522f475Smrg<H1><A NAME="xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A></H1> 3152d522f475Smrg<ul> 3153d522f475Smrg <li>fix for wide-character selection from OpenBSD CVS 3154d522f475Smrg (report/patch by Matthieu Herrb). 3155d522f475Smrg 3156d522f475Smrg <li>modify initialization and cleanup of utmp data to also compare 3157d522f475Smrg the <code>ut_line</code> member (Debian #256468). 3158d522f475Smrg 3159d522f475Smrg <li>modify check on focus-change to ignore <code>FocusOut</code> events 3160d522f475Smrg generated by <code>XGrabKeyboard</code>. This fixes a case where 3161d522f475Smrg the text cursor would act as if focus were lost when selecting the 3162d522f475Smrg "Secure Keyboard" menu option. 3163d522f475Smrg 3164d522f475Smrg <li>add <code>gen-pc-fkeys.pl</code> script, use that to generate 3165d522f475Smrg terminfo fragment corresponding to the pc-style function keys. 3166d522f475Smrg 3167d522f475Smrg <li>fix a case where the checkmark by the "VT220 Keyboard" menu entry 3168d522f475Smrg was not set on startup. 3169d522f475Smrg 3170d522f475Smrg <li>separated two methods for making the cursor blink (menu and 3171d522f475Smrg escape sequence) by using the menu as the primary method and 3172d522f475Smrg XOR'ing the state of the escape sequence against that. 3173d522f475Smrg 3174d522f475Smrg <li>modify logic for enabling blinking cursor via escape sequence as 3175d522f475Smrg well as the related save/restore operations so this is only 3176d522f475Smrg available if the <code>cursorBlink</code> resource was set on 3177d522f475Smrg startup. 3178d522f475Smrg</ul> 3179d522f475Smrg 3180d522f475Smrg<H1><A NAME="xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A></H1> 3181d522f475Smrg<ul> 3182d522f475Smrg <li>change resource settings for color4 and color12, add some discussion 3183d522f475Smrg in <code>XTerm-col.ad</code> (Debian #241717). 3184d522f475Smrg 3185d522f475Smrg <li>add a note in xterm manpage discussing the difference between 3186d522f475Smrg alt- and meta-keys, and the way the latter is used in the 3187d522f475Smrg <code>eightBitInput</code> resource. 3188d522f475Smrg 3189d522f475Smrg <li>add a note in xterm manpage regarding possible conflict between 3190d522f475Smrg resource settings for <code>xterm.vt100.font</code> and 3191d522f475Smrg <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650). 3192d522f475Smrg 3193d522f475Smrg <li>add compile-time customization of <code>backarrowKeyIsErase</code> 3194d522f475Smrg and <code>ptyInitialErase</code> default resource values 3195d522f475Smrg (adapted from OpenBSD CVS). 3196d522f475Smrg 3197d522f475Smrg <li>change parameter of <code>FIONREAD</code> <code>ioctl()</code> call 3198d522f475Smrg from long to int 3199d522f475Smrg (discussion on tech-x11@netbsd.org regarding LP64 by 3200d522f475Smrg John Heasley and Matthias Scheler). 3201d522f475Smrg 3202d522f475Smrg <li>modify configure script options for Athena widgets to work as 3203d522f475Smrg expected for "--without-Xaw3d", etc., (GenToo Bugzilla #53455). 3204d522f475Smrg 3205d522f475Smrg <li>add case to uxterm to accommodate locales ending with "@euro", 3206d522f475Smrg e.g., fr_FR.UTF-8@euro (Debian #255197, report/analysis by 3207d522f475Smrg Matthieu Lagouge). 3208d522f475Smrg 3209d522f475Smrg <li>add special case for VT100 graphic's "box" character (discussion 3210d522f475Smrg with Ben Armstrong). 3211d522f475Smrg 3212d522f475Smrg <li>add missing initialization for bitmap-font sizes needed to make 3213d522f475Smrg fonts menu work with TrueType fonts (report by Ben Armstrong). 3214d522f475Smrg 3215d522f475Smrg <li>save the fontnames for bold fonts that are derived from normal 3216d522f475Smrg fonts, or from the <code>boldFont</code> resource, so the same 3217d522f475Smrg value is restored when switching with the VT Fonts menu (Debian 3218d522f475Smrg #256086). 3219d522f475Smrg 3220d522f475Smrg <li>fix manpage preprocessing (Marc La France). 3221d522f475Smrg 3222d522f475Smrg <li>fix typo in manpage's description of character classes (Debian 3223d522f475Smrg #257073). 3224d522f475Smrg 3225d522f475Smrg <li>modify terminfo to accommodate luit, which relies on G1 being used 3226d522f475Smrg via an ISO-2022 escape sequence (Debian #254316, analysis by 3227d522f475Smrg Juliusz Chroboczek). 3228d522f475Smrg 3229d522f475Smrg <li>modify Makefile.in rule for ctlseqs.txt to work around groff SGR 3230d522f475Smrg misfeature. 3231d522f475Smrg 3232d522f475Smrg <li>modify <code>XTerm.ad</code> to set <code>saveLines</code> default 3233d522f475Smrg to 1024 (Redhat Bugzilla #127132). 3234d522f475Smrg 3235d522f475Smrg <li>add a limit-check in <code>dotext()</code> to prevent infinite 3236d522f475Smrg loop in a corner case of UTF-8 configuration. 3237d522f475Smrg 3238d522f475Smrg <li>update config.guess, config.sub 3239d522f475Smrg</ul> 3240d522f475Smrg 3241d522f475Smrg<H1><A NAME="xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A></H1> 3242d522f475Smrg<ul> 3243d522f475Smrg <li>correct options parsing for <code>-into</code> option so it 3244d522f475Smrg can be combined with <code>-e</code> (Redhat Bugzilla #124518, 3245d522f475Smrg report/patch by James Armstrong). 3246d522f475Smrg 3247d522f475Smrg <li>fix ifdef's for <code>OPT_COLOR_RES2</code> 3248d522f475Smrg so that the fake resource table introduced in 3249d522f475Smrg <a href="#xterm_188">patch #188</a> 3250d522f475Smrg is not compiled if it is empty. 3251d522f475Smrg This happened to work with gcc (report by Joel Konkle-Parker). 3252d522f475Smrg 3253d522f475Smrg <li>reorganize ptydata.c to use one input buffer shared between 3254d522f475Smrg the VTxxx and tek4014 emulators. In the new scheme, UTF-8 3255d522f475Smrg decoding is performed on characters as they are needed by the 3256d522f475Smrg state machine rather than on buffers as they are read. 3257d522f475Smrg 3258d522f475Smrg <li>work around change in quoting of PROJECTROOT symbol when using 3259d522f475Smrg configure script, from changes made in 3260d522f475Smrg <a href="#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS 3261d522f475Smrg (GenToo Bugzilla #50982). 3262d522f475Smrg</ul> 3263d522f475Smrg 3264d522f475Smrg<H1><A NAME="xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A></H1> 3265d522f475Smrg<ul> 3266d522f475Smrg <li>correct state for values in the range 128-159 after translating 3267d522f475Smrg from UTF-8: this should be ignored unless the user overrides it 3268d522f475Smrg with the <code>allowC1Printable</code> resource (reported by 3269d522f475Smrg Simon Strandgaard). 3270d522f475Smrg 3271d522f475Smrg <li>add configure-script check for nl_langinfo(CODESET), use this to 3272d522f475Smrg replace check of environment variables for UTF-8. 3273d522f475Smrg 3274d522f475Smrg <li>change Makefile.in rules for 256colres.h and 88colres.h so they 3275d522f475Smrg are only made if they do not exist. The maintainer-clean rule 3276d522f475Smrg will remove these files; they require perl to be made. 3277d522f475Smrg 3278d522f475Smrg <li>remove check in configure script --enable-toolbar that suppressed 3279d522f475Smrg this option when building with Xaw7. 3280d522f475Smrg 3281d522f475Smrg <li>apply fixes to Tektronix widget used for VT100 widget to make 3282d522f475Smrg toolbar work with Xaw7 (XFree86 4.x). 3283d522f475Smrg</ul> 3284d522f475Smrg 3285d522f475Smrg<H1><A NAME="xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A></H1> 3286d522f475Smrg<ul> 3287d522f475Smrg <li>do not call xim_real_init() if <code>openIm</code> resource is 3288d522f475Smrg false (Debian #249025). 3289d522f475Smrg 3290d522f475Smrg <li>minor improvements to built-in line-drawing. 3291d522f475Smrg 3292d522f475Smrg <li>fix a few portability issues with dynamic abbreviation support, 3293d522f475Smrg i.e., did not compile on Tru64. 3294d522f475Smrg 3295d522f475Smrg <li>modify constraints in form used to layout toolbar, to work with 3296d522f475Smrg newer Xaw in XFree86 4.x. 3297d522f475Smrg</ul> 3298d522f475Smrg 3299d522f475Smrg<H1><A NAME="xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A></H1> 3300d522f475Smrg<ul> 3301d522f475Smrg <li>correct table entry for DEL in the ground state, which marked it 3302d522f475Smrg as a printable character from <a href="#xterm_171">patch #171</a> 3303d522f475Smrg (report by D Hugh Redelmeier). 3304d522f475Smrg 3305d522f475Smrg <li>improve fix in <a href="#xterm_186">patch #186</a> for failure in 3306d522f475Smrg xim_real_init() by adding a sleep. 3307d522f475Smrg 3308d522f475Smrg <li>fix a typo in os2main.c 3309d522f475Smrg (XFree86 Bugzilla #1358, report/patch by Frank Giessler). 3310d522f475Smrg 3311d522f475Smrg <li>make escape sequence reporting dynamic colors consistent with the 3312d522f475Smrg logic that sets it; choosing the opposite color when reverse 3313d522f475Smrg video is set (XFree86 Bugzilla #1361, reported by Bradd W Szonye). 3314d522f475Smrg 3315d522f475Smrg <li>modify initialization of 256- and 88-colors so that colors beyond 3316d522f475Smrg 16 are normally not X resources. This works around a hard-coded 3317d522f475Smrg limit in Xt which breaks xterm when 256-colors and luit are both 3318d522f475Smrg configured (report by Noah Friedman). 3319d522f475Smrg 3320d522f475Smrg <li>remove <code>ncv</code> from <code>xterm-256color</code> terminfo 3321d522f475Smrg entry since it is no longer needed (report by Eli Zaretskii). 3322d522f475Smrg 3323d522f475Smrg <li>add "erase2" and "eol2" keywords to <code>ttyModes</code> resource, 3324d522f475Smrg for recent/current FreeBSD. 3325d522f475Smrg 3326d522f475Smrg <li>improve ifdef's for utempter library to omit direct calls to 3327d522f475Smrg <code>setutent()</code> or <code>getutent()</code> (adapted from 3328d522f475Smrg patch by Christian Biere). 3329d522f475Smrg 3330d522f475Smrg <li>add dynamic abbreviation support like Emacs (patch by Tomasz 3331d522f475Smrg Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>, and 3332d522f475Smrg enabled via the configure script <code>--enable-dabbrev</code> 3333d522f475Smrg option. 3334d522f475Smrg 3335d522f475Smrg <li>fix problem responding to session management events, e.g., which 3336d522f475Smrg would make logging out very slow (patch by Eddy De Greef, Debian 3337d522f475Smrg #233883). 3338d522f475Smrg 3339d522f475Smrg <li>work around a newer bug in toolbar with XFree86 by forcing menus 3340d522f475Smrg to be fully initialized at startup. In older versions of XFree86 3341d522f475Smrg and X11R6, it was possible to delay initialization of the menu 3342d522f475Smrg contents until it was popped up. (The longstanding bug with 3343d522f475Smrg XFree86 4.x layout for toolbar still exists, though). 3344d522f475Smrg 3345d522f475Smrg <li>modify <code>xtermAddInput</code> to work around core dump on 3346d522f475Smrg IRIX64 when initializing scrollbar translations if toolbar is 3347d522f475Smrg compiled-in. 3348d522f475Smrg 3349d522f475Smrg <li>fix some minor conflicts in the 2-character entry names in the 3350d522f475Smrg termcap file. 3351d522f475Smrg</ul> 3352d522f475Smrg 3353d522f475Smrg<H1><A NAME="xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A></H1> 3354d522f475Smrg<ul> 3355d522f475Smrg <li>change xterm version string to use <code>__vendorversion__</code> 3356d522f475Smrg where that is available, and "XTerm" otherwise. 3357d522f475Smrg 3358d522f475Smrg <li>improve description of <code>utf8</code> resource in manpage 3359d522f475Smrg (Debian #179407). 3360d522f475Smrg 3361d522f475Smrg <li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS to 3362d522f475Smrg handle <code>-D</code> options that define string values, e.g., 3363d522f475Smrg for <code>XVENDORNAME</code>. 3364d522f475Smrg 3365d522f475Smrg <li>modify configure macro CF_IMAKE_CFLAGS to allow (if 3366d522f475Smrg <code>$PATH</code> is set accordingly) to use the 3367d522f475Smrg <code>xmkmf</code> script within an X build tree. 3368d522f475Smrg 3369d522f475Smrg <li>add missing <code>#undef OPT_SESSION_MGT</code> to xtermcfg.hin 3370d522f475Smrg to make the configure script's --disable-session-mgt option work. 3371d522f475Smrg 3372d522f475Smrg <li>update config.guess, config.sub 3373d522f475Smrg</ul> 3374d522f475Smrg 3375d522f475Smrg<H1><A NAME="xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A></H1> 3376d522f475Smrg<ul> 3377d522f475Smrg <li>change reset on <code>DECSCL</code> to a soft-reset (appears some 3378d522f475Smrg DEC manuals have errors). 3379d522f475Smrg 3380d522f475Smrg <li>add a section to ctlseqs.ms elaborating on normal/alternate screens. 3381d522f475Smrg 3382d522f475Smrg <li>modify initialization of Acolors[] so that any XtDefaultForeground 3383d522f475Smrg or XtDefaultBackground values are translated as in the Tcolors[], 3384d522f475Smrg to use the window's foreground/background colors. This affects 3385d522f475Smrg the <code>colorBD</code> and similar resources which normally have 3386d522f475Smrg no explicit color assigned. 3387d522f475Smrg 3388d522f475Smrg <li>modify initialization of Tektronix window so that control sequences 3389d522f475Smrg setting its color before the window is popped up will apply to 3390d522f475Smrg its initial colors. 3391d522f475Smrg 3392d522f475Smrg <li>add control sequence to set Tektronix window's text-cursor. 3393d522f475Smrg 3394d522f475Smrg <li>modify initialization of terminal colors, e.g., mouse pointer and 3395d522f475Smrg text cursor, to treat <code>XtDefaultForeground</code> and 3396d522f475Smrg <code>XtDefaultBackground</code> values as the actual foreground 3397d522f475Smrg and background colors of the terminal rather than white and black 3398d522f475Smrg (Debian #241717). 3399d522f475Smrg 3400d522f475Smrg <li>remove an incorrect comparison against <code>PTYCHARLEN</code> in 3401d522f475Smrg parsing the <code>-S</code> option (report by Michael B Taylor). 3402d522f475Smrg 3403d522f475Smrg <li>minor restructuring of terminfo/termcap files, having noted some 3404d522f475Smrg packager's customizations which caused the structure to be 3405d522f475Smrg confused. 3406d522f475Smrg 3407d522f475Smrg <li>eliminate an isolated use of MIN/MAX in charproc.c 3408d522f475Smrg 3409d522f475Smrg <li>replace <code>XtExtdefaultfont</code> and 3410d522f475Smrg <code>XtExtdefaultbackground</code> by their more familiar 3411d522f475Smrg equivalents 3412d522f475Smrg <code>XtDefaultFont</code> and 3413d522f475Smrg <code>XtDefaultBackground</code>. 3414d522f475Smrg 3415d522f475Smrg <li>replace ifdef's using <code>SCO</code>, <code>sco</code> and 3416d522f475Smrg <code>SCO325</code> with <code>__SCO__</code> 3417d522f475Smrg (XFree86 Bugzilla #1301, Kean Johnston). 3418d522f475Smrg But ensure that it still builds on platforms where this symbol 3419d522f475Smrg is not defined. 3420d522f475Smrg 3421d522f475Smrg <li>add <code>scoFunctionKeys</code> resource, to match manpage. 3422d522f475Smrg 3423d522f475Smrg <li>update manpage discussion of menus and related resources. 3424d522f475Smrg 3425d522f475Smrg <li>enable utmpx support for NetBSD 1.6C and newer (patch by 3426d522f475Smrg Matthias Scheler). 3427d522f475Smrg 3428d522f475Smrg <li>add a note in the manpage discussing xterm's treatment of open 3429d522f475Smrg file-descriptors (request by Dan Shearer). 3430d522f475Smrg 3431d522f475Smrg <li>modify <code>Help()</code> to make "xterm -h" write to standard 3432d522f475Smrg output rather than standard error (patch by Bram Moolenaar). 3433d522f475Smrg 3434d522f475Smrg <li>check for type of failure in xim_real_init() to avoid looping when 3435d522f475Smrg the problem is an unsupported input method rather than a failure 3436d522f475Smrg to connect to the XIM server. Problem was introduced in 3437d522f475Smrg <a href="#xterm_175">patch #175</a> (XFree86 Bugzilla #1306). 3438d522f475Smrg 3439d522f475Smrg <li>modify <code>Imakefile</code> to remove dependency of "install" 3440d522f475Smrg target on the <code>xterm</code> executable to make installs from 344120d2c4d2Smrg tree without attempting to rebuild anything (commit by David Dawes, 344220d2c4d2Smrg report/patch from Lee Olsen). 3443d522f475Smrg 3444d522f475Smrg <li>remove call to <code>ShowCursor</code> from 3445d522f475Smrg <code>SetCursorBlink()</code> since that is redundant, 3446d522f475Smrg and can cause display glitches if the cursor is already 3447d522f475Smrg blinking (XFree86 Bugzilla #1158, patch/report by Andreas Schwab). 3448d522f475Smrg</ul> 3449d522f475Smrg 3450d522f475Smrg<H1><A NAME="xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A></H1> 3451d522f475Smrg<ul> 3452d522f475Smrg <li>fix tcap-query logic for the backspace key (XFree86 Bugzilla #1233, 3453d522f475Smrg report/patch by Anton Kovalenko). 3454d522f475Smrg 3455d522f475Smrg <li>add test-scripts resize.pl and tcapquery.pl 3456d522f475Smrg 3457d522f475Smrg <li>add translation to ASCII of commonly-used characters that groff 3458d522f475Smrg translates to Unicode, when the font in use does not provide the 3459d522f475Smrg corresponding glyphs (Debian #219551). 3460d522f475Smrg 3461d522f475Smrg <li>modify RequestMaximize(), which performs maximize/restore via 3462d522f475Smrg control sequences, to account for window-frame (patch by 3463d522f475Smrg Jess Thrysoee). 3464d522f475Smrg 3465d522f475Smrg <li>improve pattern used in <code>uxterm</code> to check for UTF-8 3466d522f475Smrg locale, e.g., for HPUX (patch by H Merijn Brand). 3467d522f475Smrg 3468d522f475Smrg <li>add <code>-fd</code> option and resource 3469d522f475Smrg <code>faceNameDoublesize</code> to specify double-wide fonts with 3470d522f475Smrg Xft (adapted from patch by Zarick Lau). 3471d522f475Smrg 3472d522f475Smrg <li>change a couple of resource classes from "Boolean" to specific 3473d522f475Smrg values: <code>freeBoldBox</code>, <code>forceBoxChars</code>. 3474d522f475Smrg 3475d522f475Smrg <li>add resource <code>showMissingGlyphs</code> to outline places on 3476d522f475Smrg the screen where a font lacks the corresponding glyph. 3477d522f475Smrg 3478d522f475Smrg <li>add resource <code>showBlinkAsBold</code> to control whether 3479d522f475Smrg blinking text should be shown as bold or actual blinking text. 3480d522f475Smrg 3481d522f475Smrg <li>improve logic in ShowCursor() to avoid repainting the cursor when 3482d522f475Smrg it is already visible, e.g., in response to the DECTCEM escape 3483d522f475Smrg sequence. This also addresses XFree86 Bugzilla #1158. 3484d522f475Smrg 3485d522f475Smrg <li>implement blinking text, using the timer for blinking cursor. 3486d522f475Smrg 3487d522f475Smrg <li>modify FreeType support to allow resizing the font, in the same 3488d522f475Smrg ways the window can be resized if fixed fonts are used. The 3489d522f475Smrg relative font sizes are derived from the fixed font sizes. 3490d522f475Smrg 3491d522f475Smrg <li>add menu items and corresponding actions for switching on/off 3492d522f475Smrg the UTF-8 mode and Xft (TrueType) support. 3493d522f475Smrg 3494d522f475Smrg <li>add logic to handle switching UTF-8 mode on/off. It worked if 3495d522f475Smrg the escape sequences were flushed, but if data was mixed in with 3496d522f475Smrg the same write, some were not handled properly (report by 3497d522f475Smrg Nicolas George). 3498d522f475Smrg 3499d522f475Smrg <li>modify to allow turning UTF-8 mode on/off via escape sequence even 3500d522f475Smrg if <code>-wc</code> option was not given at startup (patch by Peter 3501d522f475Smrg Berg Larsen). 3502d522f475Smrg 3503d522f475Smrg <li>amend fix for XFree86 Bugzilla #981, adjusting for savedlines value 3504d522f475Smrg (report by Tim Adye). 3505d522f475Smrg 3506d522f475Smrg <li>fix a typo in computing relative font size (Jess Thrysoee). 3507d522f475Smrg</ul> 3508d522f475Smrg 3509d522f475Smrg<H1><A NAME="xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A></H1> 3510d522f475Smrg<ul> 3511d522f475Smrg <li>improve configure-script checks for FreeType and related libraries, 3512d522f475Smrg using <code>xft-config</code> or <code>freetype-config</code> 3513d522f475Smrg scripts when available. 3514d522f475Smrg 3515d522f475Smrg <li>fix configure-script check for <code>SYSV</code> definition by 3516d522f475Smrg ensuring whether <code>sys_errlist[]</code> is declared, and by 3517d522f475Smrg modifying the test program to include <code>X11/Intrinsic.h</code> 3518d522f475Smrg to check that <code>wchar_t</code> is declared consistently (report 3519d522f475Smrg by H Merijn Brand). 3520d522f475Smrg</ul> 3521d522f475Smrg 3522d522f475Smrg<H1><A NAME="xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A></H1> 3523d522f475Smrg<ul> 3524d522f475Smrg <li>correct logic for configurations that may attempt to open both 3525d522f475Smrg old/new-style pseudoterminals. In this case, the old-style are 3526d522f475Smrg preferred. Logic was broken in <a href="#xterm_145">patch #145</a> 3527d522f475Smrg (XFree86 Bugzilla #997, report/patch by Kean Johnston). 3528d522f475Smrg 3529d522f475Smrg <li>modify handling of <code>eightBitInput</code> resource in UTF-8 3530d522f475Smrg mode to translate the value into UTF-8. Otherwise an illegal 3531d522f475Smrg UTF-8 code is sent to the application (report by Bram Moolenaar). 3532d522f475Smrg 3533d522f475Smrg <li>modify <code>uxterm</code> script to interpret help and version 3534d522f475Smrg options so xterm does not always create a window when the user 3535d522f475Smrg requests this information (Debian #223926). 3536d522f475Smrg 3537d522f475Smrg <li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla #981). 3538d522f475Smrg 3539d522f475Smrg <li>modify DECSCL to perform a hard reset (RIS) as per DEC manuals. 3540d522f475Smrg Extended DECSCL to accept parameters for vt4XX and vt5xx terminals. 3541d522f475Smrg 3542d522f475Smrg <li>correct logic for ANSI conformance level escape sequences, which 3543d522f475Smrg were confused with DEC conformance level escape sequences. 3544d522f475Smrg 3545d522f475Smrg <li>correct state for vt52 shift-in/shift-out, which was not reset 3546d522f475Smrg properly after <a href="#xterm_171">patch #171</a>. 3547d522f475Smrg 3548d522f475Smrg <li>correct handling of graphics characters for vt52 mode, which did 3549d522f475Smrg not display line-drawing characters after G1 fix from 3550d522f475Smrg <a href="#xterm_182">patch #182</a>. 3551d522f475Smrg 3552d522f475Smrg <li>fixes for configure script to work with current Cygwin headers 3553d522f475Smrg and libraries. 3554d522f475Smrg 3555d522f475Smrg <li>modify <code>Imakefile</code> to put the current directory at the 355620d2c4d2Smrg beginning of the include searchpath (patch by David Dawes). 3557d522f475Smrg</ul> 3558d522f475Smrg 3559d522f475Smrg<H1><A NAME="xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A></H1> 3560d522f475Smrg<ul> 3561d522f475Smrg <li>correct logic for <code>metaSendsEscape</code> resource to allow 3562d522f475Smrg for the meta-right key to be tested. Improve check for meta/alt 3563d522f475Smrg modifiers by dropping the assumption that a keysym is associated 3564d522f475Smrg with only one modifier, and by ignoring NoSymbol entries in the 3565d522f475Smrg xmodmap data (XFree86 Bugzilla #924, patch by David Dawes). 3566d522f475Smrg 3567d522f475Smrg <li>correct wrapping logic for line-drawing characters written in 3568d522f475Smrg non-UTF-8 mode of xterm build for wide-characters (XFree86 Bugzilla 3569d522f475Smrg #918, report/patch by Jürgen Keil). 3570d522f475Smrg 3571d522f475Smrg <li>improve manpage description of resources, in particular the 3572d522f475Smrg <code>utf8Fonts</code> class (XFree86 Bugzilla #905). 3573d522f475Smrg 3574d522f475Smrg <li>add definitions to compile with glibc-based GNU/Hurd, GNU/KFreeBSD 3575d522f475Smrg and GNU/KNetBSD (XFree86 Bugzilla #893). 3576d522f475Smrg 3577d522f475Smrg <li>compiler-warning fixes (patch by Christian Biere). 3578d522f475Smrg 357920d2c4d2Smrg <li>add README.i18n (Tomohiro Kubota). 3580d522f475Smrg 3581d522f475Smrg <li>correct initialization of G1 character set mapping, which used 3582d522f475Smrg line-drawing set as a result of confusion between "DEC Supplemental 3583d522f475Smrg Graphic" and "DEC Special Graphic" character sets 3584d522f475Smrg (see <a href="#xterm_34">patch #34</a> regarding DECSTR). 3585d522f475Smrg 3586d522f475Smrg <li>correct ifdef in main.c for variable utret (patch by 3587d522f475Smrg Bernhard Rosenkraenzer). 3588d522f475Smrg 3589d522f475Smrg <li>document in xterm's manpage how to use XFree86 ":unscaled" keyword 3590d522f475Smrg to suppress scaling of bold fonts. 3591d522f475Smrg 3592d522f475Smrg <li>when deriving bold fontname from normal fontname, use the normal 3593d522f475Smrg font's average width to avoid for example selecting 7x13bold 3594d522f475Smrg from an 8x13 normal font (Debian #107769). 3595d522f475Smrg</ul> 3596d522f475Smrg 3597d522f475Smrg<H1><A NAME="xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A></H1> 3598d522f475Smrg<ul> 3599d522f475Smrg <li>implement <code>boldMode</code> for wide-character logic in 3600d522f475Smrg <code>drawXtermText()</code> (report by Michael Schroeder). 3601d522f475Smrg 3602d522f475Smrg <li>modify <code>UXTerm.ad</code> resource file to include 3603d522f475Smrg "XTerm-color" rather than "XTerm", in case the latter file contains 3604d522f475Smrg no color resource definitions, e.g., after <a 3605d522f475Smrg href="#xterm_180">patch #180</a>. 3606d522f475Smrg 3607d522f475Smrg <li>add action <code>load-vt-fonts()</code> and configure option 3608d522f475Smrg <code>--enable-load-vt-fonts</code> which allows users to define 3609d522f475Smrg additional sets of VT-fonts which can be loaded at runtime. 3610d522f475Smrg 3611d522f475Smrg <li>add logic to wide-character support which attempts to load fonts 3612d522f475Smrg specified by <code>utf8Fonts</code> subresources at startup. The 3613d522f475Smrg subresources have the same names as the fonts which they replace, 3614d522f475Smrg e.g., <code>font</code>, <code>font1</code>, etc., so that the 3615d522f475Smrg ISO-10646-1 fonts can be specified in the <code>XTerm</code> 361620d2c4d2Smrg app-defaults file (adapted from patch by Tomohiro Kubota). 3617d522f475Smrg 3618d522f475Smrg <li>improve Set Font escape string handling by making the relative 3619d522f475Smrg settings apply to the size of the font, as in shift keypad 3620d522f475Smrg plus/minus rather than the menu index. 3621d522f475Smrg 3622d522f475Smrg <li>simplify parameter passing for the <code>set-vt-font</code> action 3623d522f475Smrg and related code. 3624d522f475Smrg 3625d522f475Smrg <li>cleanup some include-ordering, moving some recently-added hardcoded 3626d522f475Smrg stuff into xterm.h where it will not interfere with the configure 3627d522f475Smrg script. 3628d522f475Smrg 3629d522f475Smrg <li>modify <code>xtermAddInput()</code> (see note on augmentation in <a 3630d522f475Smrg href="#xterm_158">patch #158</a>) to use the complete set of 3631d522f475Smrg default keyboard translations so that one can use shifted pageup, 3632d522f475Smrg wheel mouse, etc., while the mouse pointer is over the scrollbar. 3633d522f475Smrg (Debian #178812). 3634d522f475Smrg 3635d522f475Smrg <li>make save/restore mode controls apply to show/blink cursor states. 3636d522f475Smrg 3637d522f475Smrg <li>add escape sequence to start/stop blinking cursor, which allows 3638d522f475Smrg implementing <code>cvvis</code> terminfo capability (request by 3639d522f475Smrg Nate Bargmann). 3640d522f475Smrg 3641d522f475Smrg <li>add <code>indp</code> and <code>rin</code> to terminfo entry. 3642d522f475Smrg 3643d522f475Smrg <li>fix an out-of-bounds array reference in ScrnRefresh() for wide 364420d2c4d2Smrg characters (report by Dan Harnett, patch by Todd Miller). 364520d2c4d2Smrg This bug dates from <a href="#xterm_141">patch #141</a>. 3646d522f475Smrg</ul> 3647d522f475Smrg 3648d522f475Smrg<H1><A NAME="xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A></H1> 3649d522f475Smrg<ul> 365020d2c4d2Smrg <li>several fixes for rendering using Xft via option <code>-fa</code>: 3651d522f475Smrg <ul> 365220d2c4d2Smrg <li>translate Unicode values, i.e,. from UTF-8 output to xterm, for 3653d522f475Smrg line-drawing to xterm's internal code, etc., since TrueType fonts 3654d522f475Smrg generally do not have either set of line-drawing glyphs. xterm 3655d522f475Smrg can draw these directly (report by Abigail Brady). 3656d522f475Smrg <li>pass 16-bit values rather than 8-bit values to 3657d522f475Smrg xtermXftDrawString() to allow for wide-characters. 3658d522f475Smrg <li>remove spurious check for <code>colorBDMode</code> resource in 3659d522f475Smrg logic that does bold fonts. 3660d522f475Smrg <li>implement underlining. 3661d522f475Smrg </ul> 3662d522f475Smrg 3663d522f475Smrg <li>patches by Ilya Zakharevich: 3664d522f475Smrg <ul> 3665d522f475Smrg <li>improve drawXtermText() by making the recursive calls 3666d522f475Smrg communicate through arguments, and not through saving/restoring 3667d522f475Smrg global variables. 3668d522f475Smrg 3669d522f475Smrg <li>make double-width characters work with <code>-u8</code> option. 3670d522f475Smrg 3671d522f475Smrg <li>modify lookup of double-sized fonts by checking for a match 3672d522f475Smrg ignoring x/y resolution if the first check fails. 3673d522f475Smrg </ul> 3674d522f475Smrg 3675d522f475Smrg <li>make height of TrueType fonts match ascent+descent (patch by 3676d522f475Smrg Keith Packard). 3677d522f475Smrg 3678d522f475Smrg <li>correct configure-script check for imake $CFLAGS, which did not 3679d522f475Smrg check properly if imake was not available. 3680d522f475Smrg 3681d522f475Smrg <li>correct install rule in Makefile.in for <code>uxterm</code>, which 3682d522f475Smrg was attempting to strip the script (newsgroup posting by Fernan 3683d522f475Smrg Aguero). 3684d522f475Smrg 3685d522f475Smrg <li>correct AF/AB strings in termcap for xterm-256color and 3686d522f475Smrg xterm-88color entries (report by Josh Howard). 3687d522f475Smrg 3688d522f475Smrg <li>update wcwidth.c to incorporate changes from Markus Kuhn's 3689d522f475Smrg 2003-05-20 (Unicode 4.0) version of that file. 3690d522f475Smrg 3691d522f475Smrg <li>modify <code>scroll-back</code> and <code>scroll-forw</code> 3692d522f475Smrg actions to accept an adjustment value, e.g., 3693d522f475Smrg <pre> 3694d522f475Smrg <code>scroll-back(1, page-2)</code></pre> 3695d522f475Smrg to scroll back by 2 lines less than a page (patch by Greg 3696d522f475Smrg Klanderman). 3697d522f475Smrg 3698d522f475Smrg <li>use color resource setting from Debian package for xterm VT100 widget, 3699d522f475Smrg since the choice of blues provides better contrast. 3700d522f475Smrg 3701d522f475Smrg <li>remove color resources from <code>XTerm.ad</code>, leaving them 3702d522f475Smrg only in <code>XTerm-col.ad</code> (prompted by Debian package for 3703d522f475Smrg xterm). 3704d522f475Smrg 3705d522f475Smrg <li>correct configure script option --enable-pty-handshake (report by 3706d522f475Smrg Paul Gilmartin). 3707d522f475Smrg 3708d522f475Smrg <li>add <code>visualBellDelay</code> resource to modify the length of 3709d522f475Smrg time used for visual bell, for very slow displays or very fast 3710d522f475Smrg computers (reports by Ingo van Lil and Doug Toppin). 3711d522f475Smrg 3712d522f475Smrg <li>correct logic for initializing dynamic highlight color (patch by 3713d522f475Smrg Jess Thrysoee). 3714d522f475Smrg 3715d522f475Smrg <li>add a check for non-zero size in call to <code>XCopyArea()</code> 3716d522f475Smrg to accommodate a Solaris bug. 3717d522f475Smrg 3718d522f475Smrg <li>correct typo in example for character classes in xterm manpage 3719d522f475Smrg (Debian #198910). 3720d522f475Smrg 3721d522f475Smrg <li>link xterm with bind_on_load option on Darwin to work around a 3722d522f475Smrg deadlock in the dynamic loader when a signal is received while 3723d522f475Smrg the dynamic loader is looking up symbols (patches by Rob Braun, 3724d522f475Smrg Torrey Lyons). 3725d522f475Smrg 3726d522f475Smrg <li>modify configure script to avoid using "head -1". 3727d522f475Smrg 3728d522f475Smrg <li>update config.guess, config.sub 3729d522f475Smrg 3730d522f475Smrg <li>modify ifdef's to work around inclusion of types FcChar32 and 3731d522f475Smrg XftCharSpec with FreeType 2.0 (see <a href="#xterm_175">patch #175</a>). 3732d522f475Smrg 3733d522f475Smrg <li>modify the predictable version of the generated logfile name (see 3734d522f475Smrg <a href="#xterm_171">patch #171</a>) to append the process-id rather 3735d522f475Smrg than a random value. 3736d522f475Smrg 373720d2c4d2Smrg <li>resync with XFree86 CVS 3738d522f475Smrg <ul> 3739d522f475Smrg <li>Enable SCO function keys in xterm 3740d522f475Smrg <li>Make Delete key send DEL by default on SCO in xterm 3741d522f475Smrg </ul> 3742d522f475Smrg</ul> 3743d522f475Smrg 3744d522f475Smrg<H1><A NAME="xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A></H1> 3745d522f475Smrg<ul> 3746d522f475Smrg <li>modify ifdef's for WTMPX_FILE to allow building on cygwin again. 3747d522f475Smrg 3748d522f475Smrg <li>change the default of pty-handshaking configure option (and related 3749d522f475Smrg default for imake) to assume this feature is needed. 3750d522f475Smrg 3751d522f475Smrg <li>add ifdef's so configure option for XawPlus library works (patch 3752d522f475Smrg by Pavel Roskin). 3753d522f475Smrg 3754d522f475Smrg <li>add <code>$(MAIN_DEFINES)</code> to the variables checked by the 3755d522f475Smrg configure script that may contain information set by imake. This 3756d522f475Smrg allows xterm to build/run properly using the configure script on 3757d522f475Smrg IRIX64. 3758d522f475Smrg 3759d522f475Smrg <li>add configure check for ".exe" suffix on cygwin. 3760d522f475Smrg</ul> 3761d522f475Smrg 3762d522f475Smrg<H1><A NAME="xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A></H1> 3763d522f475Smrg<ul> 3764d522f475Smrg <li>modify default for configure <code>--enable-pty-handshake</code> 3765d522f475Smrg option to enable it for Solaris (report by Nelson Beebe). 3766d522f475Smrg 3767d522f475Smrg <li>modify <code>in_put()</code> function to call 3768d522f475Smrg <code>PreeditPosition()</code> only when the cursor's position has 3769d522f475Smrg changed. This addresses report by Stefan Baums of high CPU usage 3770d522f475Smrg while xterm with chinput are running in the background (patch by 3771d522f475Smrg Yong Li). 3772d522f475Smrg 3773d522f475Smrg <li>improved explanation of <code>-ls</code> conflict with 3774d522f475Smrg <code>-e</code> option in xterm manpage (adapted from comments by 3775d522f475Smrg Henning Makholm). 3776d522f475Smrg 3777d522f475Smrg <li>correct comment in terminfo file regarding modifier used for 3778d522f475Smrg <code>kDC</code> (Debian #189764, report by Henning Makholm). 3779d522f475Smrg 3780d522f475Smrg <li>correct/extend some of the keypad description in ctlseqs.ms 3781d522f475Smrg (report by Henning Makholm). 3782d522f475Smrg 3783d522f475Smrg <li>correct keypad-mapping table in input.c so <code>XK_KP_Equal</code> 3784d522f475Smrg works (report by Henning Makholm). 3785d522f475Smrg 3786d522f475Smrg <li>modified to work with CJK double-width (bi-width/monospace) fonts. 3787d522f475Smrg They're similar to Roman Czbora and David Starner's gnuunifonts in 3788d522f475Smrg that Latin letters and numbers have all the same width which is 3789d522f475Smrg exactly the half of the width of East Asian characters. (patch by 3790d522f475Smrg Jungshik Shin <jshin@mailaps.org>). 3791d522f475Smrg 3792d522f475Smrg <li>add configure option <code>--enable-broken-osc</code> and resource 3793d522f475Smrg <code>brokenLinuxOSC</code> to accommodate scripts which do not 3794d522f475Smrg distinguish between running in the Linux console and running in X. 3795d522f475Smrg Linux console recognizes malformed control strings which start 3796d522f475Smrg with an <code>OSC</code>, but are fixed-length, with no terminator. 3797d522f475Smrg 3798d522f475Smrg <li>add configure option <code>--enable-broken-st</code> and resource 3799d522f475Smrg <code>brokenStringTerm</code> to allow 3800d522f475Smrg user to revert one part of the parsing table corrections from 3801d522f475Smrg <a href="#xterm_171">patch #171</a>. (reports by 3802d522f475Smrg Matthias Scheler and 3803d522f475Smrg Kirill Ponomarew indicate that someone's 3804d522f475Smrg network firmware sends an <code><escape>X</code>). 3805d522f475Smrg 3806d522f475Smrg <li>modify configure <code>--disable-imake</code> to provide values 3807d522f475Smrg for <code>OSMAJORVERSION</code>, <code>OSMINORVERSION</code>, 3808d522f475Smrg <code>FUNCPROTO</code> and <code>NARROWPROTO</code> (report by 3809d522f475Smrg Heiko Schlichting). 3810d522f475Smrg 3811d522f475Smrg <li>correct <code>vttests/16colors.sh</code>, which omitted the 3812d522f475Smrg <code>$SUF</code> variable in output strings (patch by Paul 3813d522f475Smrg Gilmartin). 3814d522f475Smrg 3815d522f475Smrg <li>modify shell scripts in <code>vttests</code> directory to attempt 3816d522f475Smrg to use named signals in the <code>trap</code> statement, making 3817d522f475Smrg this portable to OS/390 (report by Paul Gilmartin). Tested on 3818d522f475Smrg SunOS 4.1.4, which implements only numbers. 3819d522f475Smrg</ul> 3820d522f475Smrg 3821d522f475Smrg<H1><A NAME="xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A></H1> 3822d522f475Smrg<ul> 3823d522f475Smrg <li>fix definition of <code>USE_HANDSHAKE</code>, must be numeric 3824d522f475Smrg (reported by Jens Schleusener). 3825d522f475Smrg</ul> 3826d522f475Smrg 3827d522f475Smrg<H1><A NAME="xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A></H1> 3828d522f475Smrg<ul> 3829d522f475Smrg <li>add configure option <code>--enable-pty-handshake</code> to allow 3830d522f475Smrg one to compile-in support for the pty handshaking logic, and 3831d522f475Smrg resource <code>ptyHandshake</code> to enable or disable it 3832d522f475Smrg (suggested by Ian Collier). 3833d522f475Smrg 3834d522f475Smrg <li>restore <code>USE_HANDSHAKE</code> ifdef removed in 3835d522f475Smrg <a href="#xterm_159">patch #159</a> 3836d522f475Smrg to address Debian #39964. 3837d522f475Smrg 3838d522f475Smrg <li>move ifdef's for ttysize/winsize into xterm_io.h 3839d522f475Smrg 3840d522f475Smrg <li>simplify loop on <code>tgetent</code>, check if the successive 3841d522f475Smrg entries in the lookup table are the same. That makes xterm do 3842d522f475Smrg one less lookup if there is no "xterm" entry in the termcap file 3843d522f475Smrg (report by Derek Martin). 3844d522f475Smrg 3845d522f475Smrg <li>correct manpage discussion of <code>$TERM</code> and 3846d522f475Smrg <code>$TERMCAP</code> variables, which omitted the Tektronix 3847d522f475Smrg emulation and a note of the final "dumb" fallback. 3848d522f475Smrg 3849d522f475Smrg <li>broaden ifdef for <code>XRegisterIMInstantiateCallback()</code> 3850d522f475Smrg from <a href="#xterm_175">patch #175</a> (XIM fix) to exclude 3851d522f475Smrg non-XFree86 (report by Nelson Beebe indicates this breaks for 3852d522f475Smrg Solaris, IRIX and OSF/1). 3853d522f475Smrg 3854d522f475Smrg <li>correct resource-size for <code>iconFont</code> (this was added 3855d522f475Smrg by X11R6.3). 3856d522f475Smrg 3857d522f475Smrg <li>improve configure check for XKB bell extension, to work around 3858d522f475Smrg inconsistent implementation of this feature (reports by Nelson 3859d522f475Smrg Beebe, Kriston Rehberg and David Ellement). 3860d522f475Smrg 3861d522f475Smrg <li>modify configure-check for <code>tty</code> group to be less 3862d522f475Smrg strict in batch mode (report by Nelson Beebe). 3863d522f475Smrg 3864d522f475Smrg <li>modify to allow building with g++, to use its compiler warnings 3865d522f475Smrg (suggested by Nelson Beebe). 3866d522f475Smrg 3867d522f475Smrg <li>modify <code>dec2ucs[]</code> table to reflect newer codes 3868d522f475Smrg available for scanlines 1, 3, 7, 9 (report by Michael Schroeder). 3869d522f475Smrg 3870d522f475Smrg <li>add configure option for XawPlus library. 3871d522f475Smrg</ul> 3872d522f475Smrg 3873d522f475Smrg<H1><A NAME="xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A></H1> 3874d522f475Smrg<ul> 3875d522f475Smrg <li>fix a SIGSEGV which could occur if xterm is connecting to XIM 3876d522f475Smrg server, and the XIM server is destroyed (patch by Nam SungHyun). 3877d522f475Smrg 3878d522f475Smrg <li>modify to use built-in line-drawing characters for Xft fonts 3879d522f475Smrg (patch by Andrew Tipton). 3880d522f475Smrg 3881d522f475Smrg <li>make menu reflect the state of the <code>tekInhibit</code> 3882d522f475Smrg resource. 3883d522f475Smrg 3884d522f475Smrg <li>make <code>signalInhibit</code> resource work, i.e., disable the 3885d522f475Smrg menu entries that would send signals to, or exit xterm. This was 3886d522f475Smrg probably broken in X11R5 when logging was disabled (report by Sven 3887d522f475Smrg Mascheck). 3888d522f475Smrg 3889d522f475Smrg <li>changed classes of <code>colorBDMode</code> and similar 3890d522f475Smrg resources that override colors when a video attribute is 3891d522f475Smrg set to <code>ColorAttrMode</code>, to make them distinct 3892d522f475Smrg from <code>ColorMode</code>. This avoids an unexpected 3893d522f475Smrg rendering of reverse video, for example (report by Paul Fox). 3894d522f475Smrg 3895d522f475Smrg <li>changed class of <code>veryBoldColors</code> to 3896d522f475Smrg <code>VeryBoldColors</code>, since 3897d522f475Smrg <code>ColorMode</code> is associated with boolean resources. 3898d522f475Smrg 3899d522f475Smrg <li>add option <code>-k8</code> and resource 3900d522f475Smrg <code>allowC1Printable</code> to allow users of non-VTxxx 3901d522f475Smrg character sets such as KOI-8 to treat the C1 control area 3902d522f475Smrg (character codes 128-159) as printable rather than control 3903d522f475Smrg characters. 3904d522f475Smrg 3905d522f475Smrg <li>add a null-pointer check for return-value of <code>ptsname()</code> 3906d522f475Smrg in HPUX-specific code (report by David Ellement). 3907d522f475Smrg 3908d522f475Smrg <li>revise the ifdef's used for <code>XKB</code> bell support. The 3909d522f475Smrg code was using a nonstandard call <code>XkbStdBell()</code>. 3910d522f475Smrg Changed to use <code>XkbBell()</code> (based on patch by 3911d522f475Smrg <derek@signalmarketing.com>). 3912d522f475Smrg 3913d522f475Smrg <li>add a null-pointer check in <code>xtermLoadFont()</code> in case 3914d522f475Smrg there is no wide-bold font (Nam SungHyun). 3915d522f475Smrg 3916d522f475Smrg <li>change <code>Makefile.in</code> to use autoconf's 3917d522f475Smrg <code>bindir</code>, <code>libdir</code> and <code>mandir</code> 3918d522f475Smrg variables (report by Nam SungHyun). 3919d522f475Smrg 3920d522f475Smrg <li>add <code>le</code> to termcap <code>xterm-basic</code> entry. 3921d522f475Smrg Though missing from older termcaps for xterm, some applications 3922d522f475Smrg check for it (report by Matthias Buelow). 3923d522f475Smrg 3924d522f475Smrg <li>modify <code>uxterm</code> script to strip modifiers such as "@euro" 3925d522f475Smrg from the locale setting before adding ".UTF-8" (Debian #179929). 3926d522f475Smrg 3927d522f475Smrg <li>modify the remaining places where tek4014 emulation uses 3928d522f475Smrg <code>XDefineCursor()</code>, to make it work as originally 3929d522f475Smrg implemented, e.g., when switching back to alpha mode. 3930d522f475Smrg Added test-screen in vttest to test this feature properly. 3931d522f475Smrg</ul> 3932d522f475Smrg 3933d522f475Smrg<H1><A NAME="xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A></H1> 3934d522f475Smrg<ul> 3935d522f475Smrg <li>work-around for XFree86 bug which made <code>XDefineCursor()</code> 3936d522f475Smrg on a shell-window no longer work. The tek4014 emulation used this. 3937d522f475Smrg Use the next lower window (report by Karl Rudolf Bauchspiess). 3938d522f475Smrg 3939d522f475Smrg <li>add a resource setting <code>allowWindowOps</code> to control 3940d522f475Smrg whether the extended window operations should be allowed, e.g., 3941d522f475Smrg resize, iconify, report window attributes. This is to accommodate 3942d522f475Smrg people who are not capable of using a pager to view log-files. 3943d522f475Smrg</ul> 3944d522f475Smrg 3945d522f475Smrg<H1><A NAME="xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A></H1> 3946d522f475Smrg<ul> 3947d522f475Smrg <li>reset mouse mode to normal on a full reset. This does not apply 3948d522f475Smrg to mouse hilite tracking mode, of course (see ctlseqs.ms). 3949d522f475Smrg 3950d522f475Smrg <li>add a time-delay at the point where mouse hilite tracking mode 3951d522f475Smrg choses to not handle X events, to avoid runaway CPU usage 3952d522f475Smrg (report by D Hugh Redelmeier). 3953d522f475Smrg 3954d522f475Smrg <li>check for illegal character in DECUDK string, quit if detected. 3955d522f475Smrg</ul> 3956d522f475Smrg 3957d522f475Smrg<H1><A NAME="xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A></H1> 3958d522f475Smrg<ul> 3959d522f475Smrg <li>fixes to make repainting of 256-color example work properly 3960d522f475Smrg (reports by Abigail Brady and Scott A Crosby). 3961d522f475Smrg <ul> 3962d522f475Smrg <li>set flag in <code>AllocateAnsiColor()</code> to ensure the color 3963d522f475Smrg is allocated once only. 3964d522f475Smrg <li>fix check in <code>ScrnRefresh</code>, which was comparing 3965d522f475Smrg background colors only if the ANSI foreground colors also were set. 3966d522f475Smrg </ul> 3967d522f475Smrg 3968d522f475Smrg <li>merge <code>Error()</code> calls and some <code>exit()</code> calls 3969d522f475Smrg into <code>SysError()</code>, and change that to add the brief 3970d522f475Smrg explanation for each error code which is provided in the manpage. 3971d522f475Smrg Change a few <code>SysError()</code>, calls to avoid using code 1, to 3972d522f475Smrg avoid confusion with exit status from places that do not use 3973d522f475Smrg <code>SysError()</code>. 3974d522f475Smrg 3975d522f475Smrg <li>simplify logic used to open a debug logfile as the standard error. 3976d522f475Smrg 3977d522f475Smrg <li>modify the <code>-e</code> option so that if it fails, xterm will 3978d522f475Smrg check if only one argument follows, e.g., it was quoted, and then 3979d522f475Smrg retry using <code>sh -c</code>. 3980d522f475Smrg 3981d522f475Smrg <li>modify parsing of DECUDK string parameter to allow a comma between 3982d522f475Smrg pairs of hexadecimal digits (Ray Neuman <raymond@one.com.au> 3983d522f475Smrg reports that "real" terminals accept this; perhaps they simply 3984d522f475Smrg ignore unexpected characters). 3985d522f475Smrg 3986d522f475Smrg <li>fix a few problems with the <code>$TERMCAP</code> string generated 3987d522f475Smrg by <code>resize</code>: 3988d522f475Smrg <ul> 3989d522f475Smrg <li>for Bourne shell, add an <code>export</code> command. 3990d522f475Smrg This was missing as far back as X11R5. 3991d522f475Smrg <li>escape exclamation marks, used in xterm's reset string. 3992d522f475Smrg <li>translate literal <code>\177\</code> to "^?". 3993d522f475Smrg </ul> 3994d522f475Smrg 3995d522f475Smrg <li>improve configure check for <code>tgetent()</code> to work when 3996d522f475Smrg <code>$TERMCAP</code> has been set to a specific entry. 3997d522f475Smrg 3998d522f475Smrg <li>modify <code>minstall.sh</code> to use "%" rather than "@", 3999d522f475Smrg to avoid problems with AFS (report by Zdenek Sekera). 4000d522f475Smrg 4001d522f475Smrg <li>list fatal error codes from <code>error.h</code> in the manpage, 4002d522f475Smrg remove unused codes in <code>error.h</code>. 4003d522f475Smrg 4004d522f475Smrg <li>use more explicit wording for manpage list of color resources, 4005d522f475Smrg since at least one user confused the generic names such as "black" 4006d522f475Smrg with the names in rgb.txt (the latter are now used). 4007d522f475Smrg 4008d522f475Smrg <li>minor fix to description of 1003 mouse mode in ctlseqs.ms 4009d522f475Smrg (Larry Riedel). 4010d522f475Smrg</ul> 4011d522f475Smrg 4012d522f475Smrg<H1><A NAME="xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A></H1> 4013d522f475Smrg<ul> 4014d522f475Smrg <li>modify parser tables to improve detection of malformed control 4015d522f475Smrg sequences, making xterm behave more like a real DEC terminal 4016d522f475Smrg (patch by Paul Williams). 4017d522f475Smrg 4018d522f475Smrg <li>update comment in <code>input.c</code> to document 4019d522f475Smrg <code>Meta</code> as a modifier for escape sequences (patch by D 4020d522f475Smrg Roland Walker). 4021d522f475Smrg 4022d522f475Smrg <li>add ifdef'd code for logging option which adds the hostname and a 4023d522f475Smrg timestamp to the generated logfile name. The ifdef's are setup 4024d522f475Smrg with the configure script (patch by Nelson Beebe). 4025d522f475Smrg 4026d522f475Smrg <li>remove <code>xevents()</code> call from the end of 4027d522f475Smrg <code>BlinkCursor()</code>, to fix an occasional problem 4028d522f475Smrg which caused xterm to pause until a key was pressed. 4029d522f475Smrg The reason for this was that there was no check to ensure that 4030d522f475Smrg there really were events for <code>xevents()</code> to process. 4031d522f475Smrg (patch by Semen A Ustimenko <semenu@FreeBSD.org>). 4032d522f475Smrg 4033d522f475Smrg <li>remove unused mode-params from <code>open()</code> calls that do 4034d522f475Smrg not create a file. 4035d522f475Smrg 4036d522f475Smrg <li>modify configure script to put new items first on 4037d522f475Smrg <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid conflict 4038d522f475Smrg with environment's <em>-I</em> and <em>-D</em> options. 4039d522f475Smrg 4040d522f475Smrg <li>update config.guess, config.sub 4041d522f475Smrg 404220d2c4d2Smrg <li>resync with XFree86 CVS 4043d522f475Smrg <ul> 4044d522f475Smrg <li>fix va_args glitches for xterm/libfontconfig: 0 == (void*)0 4045d522f475Smrg isn't true for all platforms (Egbert Eich). 4046d522f475Smrg <li>initialise ProgramName in xterm's main before referencing it 4047d522f475Smrg (#5473, Peter Valchev). 4048d522f475Smrg <li>some cleanup of Imakefile ifdef's (Marc La France). 4049d522f475Smrg </ul> 4050d522f475Smrg</ul> 4051d522f475Smrg 4052d522f475Smrg<H1><A NAME="xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A></H1> 4053d522f475Smrg<ul> 4054d522f475Smrg <li>correct an off-by-one allocating data for sorted help message. 4055d522f475Smrg 4056d522f475Smrg <li>modify configure script to check for Xpm library, on which XFree86 4057d522f475Smrg Xaw library depends. 4058d522f475Smrg 4059d522f475Smrg <li>update config.guess, config.sub 4060d522f475Smrg</ul> 4061d522f475Smrg 4062d522f475Smrg<H1><A NAME="xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A></H1> 4063d522f475Smrg<ul> 4064d522f475Smrg <li>modify wording of some options in help message to make them use 4065d522f475Smrg <code>-/+</code> consistently with respect to "on/off" or "off/on". 4066d522f475Smrg 4067d522f475Smrg <li>sort options list which is displayed in help- and syntax-messages 4068d522f475Smrg at runtime to simplify maintenance. 4069d522f475Smrg 4070d522f475Smrg <li>remove support for Amoeba and Minix (Juliusz Chroboczek noted it 4071d522f475Smrg was removed from XFree86 server; there have been no users since 4072d522f475Smrg 1996). 4073d522f475Smrg 4074d522f475Smrg <li>add configure script option <code>--disable-session-mgt</code> 4075d522f475Smrg to control whether the session management code should be compiled-in 4076d522f475Smrg (request by H Merijn Brand). 4077d522f475Smrg 4078d522f475Smrg <li>ifdef'd the session-management changes with 4079d522f475Smrg <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which predates 4080d522f475Smrg the related definitions. 4081d522f475Smrg 4082d522f475Smrg <li>fix <code>decode_keyvalue()</code>, which did not properly parse 4083d522f475Smrg multiple settings as needed for the <code>ttyModes</code> resource, 4084d522f475Smrg since it did not skip over the parsed data. 4085d522f475Smrg 4086d522f475Smrg <li>fix an option-parsing conflict between <code>-class</code> and 4087d522f475Smrg <code>-cjk_width</code> (Nam SungHyun) 4088d522f475Smrg 4089d522f475Smrg <li>add a missing null in <code>XtVaSetValues()</code> call used in 4090d522f475Smrg <code>Cleanup()</code> (Nam SungHyun) 4091d522f475Smrg</ul> 4092d522f475Smrg 4093d522f475Smrg<H1><A NAME="xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A></H1> 4094d522f475Smrg<ul> 4095d522f475Smrg <li>improve data reported for control sequence that requests window 4096d522f475Smrg position by taking into account the window decorations, e.g., 4097d522f475Smrg border and title (patch by Jess Thrysoee <jess@thrysoee.dk>). 4098d522f475Smrg 4099d522f475Smrg <li>add <code>-cjk_width</code> and corresponding resource 4100d522f475Smrg <code>cjkWidth</code> (patch by Jungshik Shin 4101d522f475Smrg <jshin@mailaps.org>). 4102d522f475Smrg 4103d522f475Smrg <li>add <code>-into</code> option, for embedding xterm in a Tcl/Tk 4104d522f475Smrg application (patch by George Peter Staplin <georgeps@xmission.com>). 4105d522f475Smrg 4106d522f475Smrg <li>add simple session management (XSM) client capabilities to xterm. 4107d522f475Smrg So a session manager such as, e.g., xsm, should be able to respawn or 4108d522f475Smrg kill xterms without the help of an SM proxy (like smproxy), which is 4109d522f475Smrg a hack and almost always buggy (patch by David Madore). 4110d522f475Smrg 4111d522f475Smrg <li>fix conflict between ifdef's for <code>OPT_DEC_LOCATOR</code> and 4112d522f475Smrg <code>OPT_READLINE</code> in button.c (reported by Ilya Zakharevich). 4113d522f475Smrg 4114d522f475Smrg <li>fix for inconsistent use of <code>struct utmp</code> versus 4115d522f475Smrg <code>struct utmpx</code> introduced in <a href="#xterm_167">patch #167</a> 4116d522f475Smrg (patches by Paul Gilmartin, Marc La France). 4117d522f475Smrg 4118d522f475Smrg <li>modify logic for <code>metaSendsEscape</code> to allow it to work 4119d522f475Smrg in a setup where the Meta-key is not recognized as a modifier by 412020d2c4d2Smrg the key-translations logic (discussion of eightBitInput with H.J.Lu). 412120d2c4d2Smrg Note however that Vincent Lefevre reported this in January). 4122d522f475Smrg 4123d522f475Smrg <li>use null pointer values consistently, rather than literal "0", for 4124d522f475Smrg ending variable-length argument lists, e.g., for 4125d522f475Smrg <code>execlp()</code> (based on patch by Matthieu Herrb). 4126d522f475Smrg 4127d522f475Smrg <li>correct logic of <code>ChangeAnsiColorRequest()</code>, which would 4128d522f475Smrg do a screen repaint after replying to a request for information. 4129d522f475Smrg 4130d522f475Smrg <li>improve scripts in vttests to work with systems whose shells support 4131d522f475Smrg <code>echo -n</code> and have, as does Debian, an unrelated 4132d522f475Smrg <code>print</code> utility. 4133d522f475Smrg 4134d522f475Smrg <li>add vttests/acolors.sh to demonstrate OSC 4, which queries or 4135d522f475Smrg sets ANSI colors. 4136d522f475Smrg 4137d522f475Smrg <li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich). 4138d522f475Smrg 4139d522f475Smrg <li>typos in xterm manpage (Jens Schweikhardt) 4140d522f475Smrg 4141d522f475Smrg <li>remove a redundant GCC_UNUSED from InitPopup() (Nam SungHyun) 4142d522f475Smrg</ul> 4143d522f475Smrg 4144d522f475Smrg<H1><A NAME="xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A></H1> 4145d522f475Smrg<ul> 4146d522f475Smrg <li>correct ifdef's for <code>USE_TERMCAP</code> to match cygwin 4147d522f475Smrg configuration. 4148d522f475Smrg 4149d522f475Smrg <li>fix several places in ctlseqs.ms which had no boxes around the 4150d522f475Smrg literal text (report by Ilya Zakharevich). 4151d522f475Smrg 415220d2c4d2Smrg <li>extend mouse support for readline, 415320d2c4d2Smrg ifdef'd with OPT_READLINE 415420d2c4d2Smrg (integrated patch from Ilya Zakharevich). 4155d522f475Smrg 4156d522f475Smrg <li>modify terminfo description to match default for 4157d522f475Smrg <code>modifyCursorKeys</code> resource. 4158d522f475Smrg 4159d522f475Smrg <li>add <code>modifyCursorKeys</code> resource to control how the 4160d522f475Smrg shift- and similar modifiers are used to make a cursor escape 4161d522f475Smrg sequence. The default makes a modified escape sequence always start 4162d522f475Smrg with CSI and puts the modifier as the second parameter, to avoid 4163d522f475Smrg confusing applications that would interpret the first parameter as a 4164d522f475Smrg repeat count. The original behavior can be obtained by setting the 416520d2c4d2Smrg resource to 0 (newsgroup discussion with Stephen J Turnbull, 416620d2c4d2Smrg Jeffrey Altman). 4167d522f475Smrg 4168d522f475Smrg <li>correct missing initializations for <code>appdefaultCursor</code> 4169d522f475Smrg and <code>appdefaultKeypad</code> resources. 4170d522f475Smrg 4171d522f475Smrg <li>add configure option <code>--enable-luit</code> and ifdef'd the 4172d522f475Smrg luit-related code with OPT_LUIT_PROG. 4173d522f475Smrg 417420d2c4d2Smrg <li>modify xterm to invoke luit (integrated patch by Tomohiro Kubota) 4175d522f475Smrg 4176d522f475Smrg <li>update wcwidth.c to match Markus Kuhn's 2002-05-18 version. 4177d522f475Smrg 4178d522f475Smrg <li>correct limit-checking in <code>ComputeSelect()</code> to handle 4179d522f475Smrg selections that extend off the visible area; rather 4180d522f475Smrg than modify the parameters to <code>TrackText()</code>, use 4181d522f475Smrg <code>ScrollSelection()</code> to update the highlighting limits. 4182d522f475Smrg (reported by Yegappan Lakshmanan and Nelson Beebe, 4183d522f475Smrg patch by Alexander V Lukyanov). 4184d522f475Smrg 4185d522f475Smrg <li>correct manpage description of <code>tiXtraScroll</code> resource 4186d522f475Smrg (reported by Tony Finch). 4187d522f475Smrg 4188d522f475Smrg <li>changes from OpenBSD: 4189d522f475Smrg <ul> 4190d522f475Smrg <li>Make xterm setgid utmp to be able to update utmp even 4191d522f475Smrg with root privileges revoked. 4192d522f475Smrg <li>If not updating utmp, revoke group privileges totally too. 4193d522f475Smrg </ul> 4194d522f475Smrg 4195d522f475Smrg <li>changes from NetBSD: 4196d522f475Smrg <ul> 4197d522f475Smrg <li>Check that the return value from ttyslot() is greater than 0 4198d522f475Smrg before writing the utmp file. 4199d522f475Smrg Fixes w's "w: Stale utmp entry: <user> <tty> <pty>" errors. 4200d522f475Smrg <li>Use openpty() to deal with new pty naming scheme. 4201d522f475Smrg </ul> 4202d522f475Smrg 4203d522f475Smrg <li>add <code>print-redir</code> action and menu entry to allow user to 4204d522f475Smrg switch terminal in/out of printer controller mode. It appears from 4205d522f475Smrg the manual that a real vt220 would not switch back to normal mode, so 4206d522f475Smrg another mechanism is used (addresses Debian #37517). 4207d522f475Smrg 4208d522f475Smrg <li>check if <code>printerCommand</code> resource string is empty, use 4209d522f475Smrg this to allow user to disable printer function. 4210d522f475Smrg 4211d522f475Smrg <li>trim trailing blanks from resource strings. 4212d522f475Smrg 4213d522f475Smrg <li>check return value from <code>ptsname()</code>, which may return 4214d522f475Smrg null for example if someone has changed the permissions of /dev/pts 4215d522f475Smrg to zero (Debian #121899). 4216d522f475Smrg 4217d522f475Smrg <li>modify OS/2 version to use <code>__UNIXOS2__</code> definition 4218d522f475Smrg rather than <code>__EMX__</code>, related cleanup (patch by Holger 4219d522f475Smrg Veit). 4220d522f475Smrg 4221d522f475Smrg <li>used modified indent 2.0 4222d522f475Smrg (patch <a href="ftp://invisible-island.net/gnu-patches/">20020428</a>) 4223d522f475Smrg to reformat most of the C source files, to simplify maintenance. 4224d522f475Smrg 4225d522f475Smrg <li>fix a couple of places where there were leading tabs on 4226d522f475Smrg symbol-definition lines in Imakefile (Marc La France from report by 4227d522f475Smrg Tony Finch) 4228d522f475Smrg 4229d522f475Smrg <li>add imake variable (TraceXTerm) to allow building debug version 4230d522f475Smrg (Egbert Eich). 4231d522f475Smrg</ul> 4232d522f475Smrg 4233d522f475Smrg<H1><A NAME="xterm_166">Patch #166 - 2002/03/25 - XFree86 4.2.0</A></H1> 4234d522f475Smrg<ul> 4235d522f475Smrg <li>correct a bug in selection: double clicking on a word which 4236d522f475Smrg was partly scrolled off the screen may select that text (report 4237d522f475Smrg by Vincent Lefevre <vincent@vinc17.org>). 4238d522f475Smrg 4239d522f475Smrg <li>implement <code>veryBoldColors</code> resource to control whether 4240d522f475Smrg the corresponding video attribute such as <code>bold</code> is 4241d522f475Smrg displayed when using <code>colorBDMode</code>, etc. (request by Josh 4242d522f475Smrg Howard <jrh@vicor-nb.com>). 4243d522f475Smrg 4244d522f475Smrg <li>define escape sequences for function keys F21-F35 (patch by Steve Wall). 4245d522f475Smrg 4246d522f475Smrg <li>change the colors for the 256-color model, making them less skewed 4247d522f475Smrg toward black (patch by Steve Wall). 4248d522f475Smrg 4249d522f475Smrg <li>add <code>vt100Graphics</code> resource 4250d522f475Smrg (see <a href="#xterm_115">patch #115</a>, 4251d522f475Smrg based on discussion with Glenn Maynard). 4252d522f475Smrg 4253d522f475Smrg <li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid potential 4254d522f475Smrg incompatibilities between these flavors of Athena widgets. 4255d522f475Smrg 4256d522f475Smrg <li>add configure check for XFree86 4.x Xaw library, whose geometry 4257d522f475Smrg management is broken, to avoid trying to use it for toolbar 4258d522f475Smrg configuration. 4259d522f475Smrg 4260d522f475Smrg <li>updates to configure script from vile and lynx to allow 4261d522f475Smrg configure.in to be compiled with autoconf 2.5x 4262d522f475Smrg 4263d522f475Smrg <li>add a check for null pointer return by <code>ptsname()</code> 4264d522f475Smrg (newsgroup posting from Mike Silva <mikesilva@lucent.com>). 4265d522f475Smrg 4266d522f475Smrg <li>fill in a few details needed to allow UTF-8 mode to switch on/off 4267d522f475Smrg after startup. This requires that <code>wideChars</code> resource be 4268d522f475Smrg set. (based on comments in 4 Aug 2001 by Alexey Marinichev 4269d522f475Smrg <lyosha@lyosha.2y.net>). 4270d522f475Smrg 4271d522f475Smrg <li>remove duplicate install rules that make directories, e.g., so installing 4272d522f475Smrg manpage will not create app-defaults directory. 4273d522f475Smrg 4274d522f475Smrg <li>add comment in in <code>do_osc()</code>, reserving cases 30 and 31 4275d522f475Smrg for for Konsole (request by Stephan Binner 4276d522f475Smrg <Stephan.Binner@gmx.de>). 4277d522f475Smrg 4278d522f475Smrg <li>fixes for ctlseqs.ms and xterm.man 427920d2c4d2Smrg (patch by Werner Lemberg <wl@gnu.org>). 4280d522f475Smrg 4281d522f475Smrg <li>add check for monochrome display, disabling colorMode in that 4282d522f475Smrg case (fixes Debian #134130). 4283d522f475Smrg 428420d2c4d2Smrg <li>resync with XFree86 CVS 4285d522f475Smrg <ul> 428620d2c4d2Smrg <li>Fix some xterm build warnings on *BSD (patch by David Dawes). 428720d2c4d2Smrg <li>Only use SA_RESTART in xterm when it's available (patch by Frank Liu). 4288d522f475Smrg <li>Fix incorrect code in signal handlers in most of the clients, 428920d2c4d2Smrg xterm and xdm not done yet (patch by Matthieu Herrb). 4290d522f475Smrg </ul> 4291d522f475Smrg</ul> 4292d522f475Smrg 4293d522f475Smrg<H1><A NAME="xterm_165">Patch #165 - 2002/01/05 - XFree86 4.1.0</A></H1> 4294d522f475Smrg<ul> 4295d522f475Smrg <li>modify <code>uxterm</code> script to strip encoding part from 4296d522f475Smrg environment variable before adding ".UTF-8" (based on Debian 4297d522f475Smrg #125947, but using a more portable solution). 4298d522f475Smrg 4299d522f475Smrg <li>add an assignment statement in VTInitialize() to make 4300d522f475Smrg <code>awaitInput</code> resource work. 4301d522f475Smrg 4302d522f475Smrg <li>use new macros init_Bres(), etc., in VTInitialize() to add trace of 4303d522f475Smrg the initialization of resources. 4304d522f475Smrg 4305d522f475Smrg <li>modify checks for $LC_ALL, related environment variables to ensure 4306d522f475Smrg the resulting strings are nonempty (report by Markus Kuhn). 4307d522f475Smrg 4308d522f475Smrg <li>add an ifdef in charproc.c for num_ptrs variable in case all 4309d522f475Smrg configure options are disabled. 4310d522f475Smrg 4311d522f475Smrg <li>modify definition of getXtermBackground() to avoid negative array 4312d522f475Smrg index warning on Tru64 (report by Jeremie Petit). 4313d522f475Smrg 4314d522f475Smrg <li>improve fix from patch #165 (still Debian #117184, report by Matt 4315d522f475Smrg Zimmerman <mdz@debian.org>) 4316d522f475Smrg 4317d522f475Smrg <li>correct install rule for uxterm in Makefile.in, to handle the 4318d522f475Smrg case where building in a different directory than xterm's source 4319d522f475Smrg (patch by Paul Gilmartin). 4320d522f475Smrg 4321d522f475Smrg <li>documented ANSI.SYS-style cursor save/restore escape sequences 4322d522f475Smrg in ctlseqs.ms, which are in xterm since X11R5. 4323d522f475Smrg 4324d522f475Smrg <li>correct two entries in the default charClass table, which did not 4325d522f475Smrg follow the manpage comment about the character number corresponding 4326d522f475Smrg to the class (patch by Marc Bevand <bevand_m@epita.fr>). 4327d522f475Smrg 4328d522f475Smrg <li>fix a couple of typos in comments in the app-defaults files 4329d522f475Smrg (David Krause <xfree86@davidkrause.com>). 4330d522f475Smrg 433120d2c4d2Smrg <li>resync with XFree86 CVS 4332d522f475Smrg <ul> 4333d522f475Smrg <li>update language of copyrights in some files to reflect the fact 4334d522f475Smrg that they were reassigned from X Consortium to The Open Group in 4335d522f475Smrg 1998. Note that this xterm source is derived from the 1996 4336d522f475Smrg version from X Consortium, does not incorporate changes made by X 4337d522f475Smrg Consortium or The Open Group after that date, hence we do not add 4338d522f475Smrg The Open Group's 1998 copyright date to related files. 4339d522f475Smrg 434020d2c4d2Smrg <li>save/restore <code>errno</code> in signal catcher (patch by Matthieu Herrb). 4341d522f475Smrg 4342d522f475Smrg <li>modify UXTerm.ad's font5 resource so that xterm can display double 434320d2c4d2Smrg width characters using a font distributed with XFree86 (Tomohiro Kubota). 4344d522f475Smrg </ul> 4345d522f475Smrg</ul> 4346d522f475Smrg 4347d522f475Smrg<H1><A NAME="xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A></H1> 4348d522f475Smrg<ul> 4349d522f475Smrg <li>correct a case where <code>ptyInitialErase</code> and 4350d522f475Smrg <code>backarrowKeyIsErase</code> resources combine to set 4351d522f475Smrg <code>DECBKM</code> mode, but a <code>reset</code> command would not 4352d522f475Smrg reset xterm to that state, making the erase character revert to ^H 4353d522f475Smrg (Debian #117184) 4354d522f475Smrg</ul> 4355d522f475Smrg 4356d522f475Smrg<H1><A NAME="xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A></H1> 4357d522f475Smrg<ul> 4358d522f475Smrg <li>correct ifdef's for <code>__QNX__</code> and 4359d522f475Smrg <code>USE_SYSV_PGRP</code> in main.c call to <code>tcsetpgrp</code>, 4360d522f475Smrg which broke bash behavior around <a href="#xterm_140">patch #140</a> 4361d522f475Smrg (report/patch by Frank Liu <fliu@mail.vipstage.com>). 4362d522f475Smrg 4363d522f475Smrg <li>modify trace.c to fix missing definition of GCC_UNUSED for 4364d522f475Smrg compilers other than gcc when configured for trace code (report/patch 4365d522f475Smrg by Paul Gilmartin). 4366d522f475Smrg 4367d522f475Smrg <li>change format in TraceOptions() to use long rather than int, since 4368d522f475Smrg the latter could lose precision on 64-bit machines (report/patch by 4369d522f475Smrg Nelson Beebe). 4370d522f475Smrg 4371d522f475Smrg <li>modify xterm manual page and minstall.sh to allow imake rules 4372d522f475Smrg to define location of app-defaults directory (Debian #87611). 4373d522f475Smrg 4374d522f475Smrg <li>review/update list of conflicting preprocesor symbols to remove 4375d522f475Smrg from $CPPFLAGS at the end of the configure script. In particular, 4376d522f475Smrg this allows one to configure xterm without the utempter library on 4377d522f475Smrg Redhat 7.1 (report/patch by Adam Sulmicki). 4378d522f475Smrg</ul> 4379d522f475Smrg 4380d522f475Smrg<H1><A NAME="xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A></H1> 4381d522f475Smrg<ul> 4382d522f475Smrg <li>correct logic that processes <code>-class</code> option, so that 4383d522f475Smrg a following <code>-e</code> option is handled (Debian #116297). 4384d522f475Smrg 4385d522f475Smrg <li>improve options-decoding to allow <code>-version</code> and 4386d522f475Smrg <code>-help</code> options to be combined (Debian #110226). 4387d522f475Smrg 4388d522f475Smrg <li>add a 10 millisecond delay in event loop when processing 4389d522f475Smrg <code>-hold</code> option, to avoid using too much CPU time 4390d522f475Smrg (Debian #116213). 4391d522f475Smrg 4392d522f475Smrg <li>prefix final program execution in <code>uxterm</code> with "exec" 4393d522f475Smrg to avoid a useless shell hanging around (Christian Weisgerber). 4394d522f475Smrg</ul> 4395d522f475Smrg 4396d522f475Smrg<H1><A NAME="xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A></H1> 4397d522f475Smrg<ul> 4398d522f475Smrg <li>modify logic that resets keypad application mode to avoid doing 4399d522f475Smrg this if there is no modifier associated with the Num_Lock keysym 4400d522f475Smrg (report by John E Davis <davis@space.mit.edu> and Alan W Irwin 4401d522f475Smrg <irwin@beluga.phys.uvic.ca>). 4402d522f475Smrg 4403d522f475Smrg <li>add built-in translation for Control/KP_Separator to KP_Subtract, 4404d522f475Smrg to accommodate users who wish to use xmodmap to reassign the top 4405d522f475Smrg row of the numeric keypad. 4406d522f475Smrg 4407d522f475Smrg <li>correct Imakefile install-rule for <code>uxname</code> script 4408d522f475Smrg (reported by Nam SungHyun <namsh@lge.com>). 4409d522f475Smrg 441020d2c4d2Smrg <li>resync with XFree86 CVS – correct typo in <code><ncurses/term.h></code> 4411d522f475Smrg ifdef. 4412d522f475Smrg</ul> 4413d522f475Smrg 4414d522f475Smrg<H1><A NAME="xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A></H1> 4415d522f475Smrg<ul> 4416d522f475Smrg <li>modify logic in main.c 4417d522f475Smrg (see <a href="#xterm_145">patch #145</a>) to avoid generating the 4418d522f475Smrg same identifier, for example, for /dev/tty1 and /dev/pts/1, which 4419d522f475Smrg is used to denote an entry in the utmp file (Debian bug report 4420d522f475Smrg #84676), A similar fix was also sent by Jerome Borsboom 4421d522f475Smrg <borsboom@westbrabant.net> in May, but I overlooked it when 4422d522f475Smrg reviewing bug reports. 4423d522f475Smrg 4424d522f475Smrg <li>add configure check for <code><ncurses/term.h></code> to get 4425d522f475Smrg rid of hardcoded <code>__CYGWIN__</code> ifdef in resize.c 4426d522f475Smrg <p> 4427d522f475Smrg NOTE: The CYGWIN port should not be linking <code>resize</code> 4428d522f475Smrg with ncurses. It appears that the only reason it is, is because 4429d522f475Smrg both the ncurses and termcap ports on that platform are badly 4430d522f475Smrg misconfigured (essential pieces have been removed, etc). Checking 4431d522f475Smrg for <code><ncurses/term.h></code> does not hurt anything, 4432d522f475Smrg since there are some correct installations that are set up that 4433d522f475Smrg way. 4434d522f475Smrg 4435d522f475Smrg <li>add a sample <code>uxterm</code> script, which uses the 4436d522f475Smrg <code>UXTerm</code> application defaults for UTF-8 environments. 4437d522f475Smrg 4438d522f475Smrg <li>undo change to xterm application defaults, since this introduced an 4439d522f475Smrg unnecessary incompatibility. The intended functionality was 4440d522f475Smrg already addressed by the <a href="#xterm_141">UXTerm</a> 4441d522f475Smrg app-defaults file. 4442d522f475Smrg 444320d2c4d2Smrg <li>resync with XFree86 CVS 4444d522f475Smrg <ul> 4445d522f475Smrg <li>Modified xterm app default to use LFD fontnames instead of old type 4446d522f475Smrg (Michael Schroeder). 4447d522f475Smrg <li>Fix xterm when XIM is disabled - caused a segfault 4448d522f475Smrg (Tomohiro Kubota). 4449d522f475Smrg </ul> 4450d522f475Smrg</ul> 4451d522f475Smrg 4452d522f475Smrg<H1><A NAME="xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A></H1> 4453d522f475Smrg<ul> 4454d522f475Smrg <li>remove an ifdef for <code>USE_HANDSHAKE</code> added in patch 4455d522f475Smrg #158 from the second <code>TIOCSSIZE</code> ioctl call in the 4456d522f475Smrg initialization code. Paul Gilmartin reports that for Solaris 2.6 4457d522f475Smrg (sparc), stty does not show that xterm sets rows and columns unless 4458d522f475Smrg the second ioctl is executed. 4459d522f475Smrg 4460d522f475Smrg <li>correct treatment of empty parameter list for some OSC strings 4461d522f475Smrg (report by Sami Farin <sfarin@ratol.fi>). 4462d522f475Smrg</ul> 4463d522f475Smrg 4464d522f475Smrg<H1><A NAME="xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A></H1> 4465d522f475Smrg<ul> 4466d522f475Smrg <li>augment key translations for scrollbar widget to ensure that 4467d522f475Smrg keystrokes intended for the text area are not lost if the mouse 4468d522f475Smrg pointer happens to fall on the scrollbar. This can happen, for 4469d522f475Smrg instance, if the user's <code>app-defaults</code> or 4470d522f475Smrg <code>.Xdefaults</code> file contains a translations resource, 4471d522f475Smrg though it may also happen through unrelated resource settings: 4472d522f475Smrg probably a bug in libXt (reported by Paul Fox 4473d522f475Smrg <pgf@foxharp.boston.ma.us> and Dmitry Yu. Bolkhovityanov 4474d522f475Smrg <D.Yu.Bolkhovityanov@inp.nsk.su>). 4475d522f475Smrg 4476d522f475Smrg <li>widen ifdef's in xterm.h to define <code>__EXTENSIONS__</code> on 4477d522f475Smrg Solaris, for compilers other than gcc. This was added along 4478d522f475Smrg <code>_POSIX_C_SOURCE</code> with in <a href="#xterm_151">patch 4479d522f475Smrg #151</a>, but is not sufficient since Sun's compiler does not define 4480d522f475Smrg <code>__STDC__</code> by default (report by Matthias Scheler 4481d522f475Smrg <tron@zhadum.de>). 4482d522f475Smrg 4483d522f475Smrg <li>modify xterm to obtain the closest matching color if an exact color 4484d522f475Smrg is not available, e.g., on 8-bit displays (patch by Steve Wall) 4485d522f475Smrg 448620d2c4d2Smrg <li>implement "OverTheSpot" preedit type of XIM input 448720d2c4d2Smrg (patch by Tomohiro Kubota): 4488d522f475Smrg <ul> 4489d522f475Smrg <li>This preedit type is a reasonable compromise between 4490d522f475Smrg simpleness of implementation and usefulness. "Root" preedit 4491d522f475Smrg type is easy to implement but not useful; "OnTheSpot" preedit 4492d522f475Smrg type is the best in the point of view of user interface but 4493d522f475Smrg very complex. And more, "OverTheSpot" is the preedit type 4494d522f475Smrg which the most XIM servers support. Thus, to achieve reasonable 4495d522f475Smrg usability, support of "OverTheSpot" preedit type is needed. 4496d522f475Smrg 4497d522f475Smrg <li>In "OverTheSpot" preedit type, the preedit (preconversion) 4498d522f475Smrg string is displayed at the position of the cursor. On the 4499d522f475Smrg other hand, it is XIM server's responsibility to display 4500d522f475Smrg the preedit string. Thus, it is needed for XIM client (here 4501d522f475Smrg XTerm) to inform the XIM server of the cursor position. 4502d522f475Smrg And more, to achieve good visual proportion, preedit string 4503d522f475Smrg must be written using proper font. Thus, it is XIM client's 4504d522f475Smrg responsibility to inform the XIM server of the proper font. 4505d522f475Smrg The font must be supplied by "fontset". Fontset is a set of 4506d522f475Smrg fonts with charsets which are specified by the current locale. 4507d522f475Smrg Since XTerm uses ISO10646 fonts regardless of the current locale, 4508d522f475Smrg the fonts for XIM must be prepared separately. It is difficult 4509d522f475Smrg to prepare fonts which are similar to XTerm font. Thus, my 4510d522f475Smrg patch uses a simple way - the default font is "*" which matches 4511d522f475Smrg every fonts and X library will automatically choose fonts with 4512d522f475Smrg proper charsets. I added "-fx" command option and "ximFont" 4513d522f475Smrg resource to override this default font setting. 4514d522f475Smrg 4515d522f475Smrg <li>changed the definition of "OverTheSpot" preedit type 4516d522f475Smrg from XIMPreeditPosition|XIMStatusArea 4517d522f475Smrg to XIMPreeditPosition|XIMStatusNothing. 4518d522f475Smrg This matches the behavior of other programs such as 4519d522f475Smrg Rxvt, Kterm, Gedit. 4520d522f475Smrg 4521d522f475Smrg <li>A tiny XIM bugfix is also included. By calling XSetLocaleModifiers() 4522d522f475Smrg with parameter of "", it can consier XMODIFIERS environmental 4523d522f475Smrg variable which is a standard way for users to specify XIM server 4524d522f475Smrg to be used. 4525d522f475Smrg </ul> 4526d522f475Smrg 4527d522f475Smrg <li>adjust configure script to accommodate repackaging of keysym2ucs.c 452820d2c4d2Smrg as include-file for xutf8.c (patch by Tomohiro Kubota). 4529d522f475Smrg 4530d522f475Smrg <li>add the <code>UXTerm</code> app-defaults file to makefile install 4531d522f475Smrg rules (request by Juliusz Chroboczek). 4532d522f475Smrg 4533d522f475Smrg <li>correct logic in <code>get_termcap()</code>, which returned false 4534d522f475Smrg if the <code>tgetent()</code> call indicated that xterm was linked 4535d522f475Smrg with terminfo. Although the <code>$TERMCAP</code> variable cannot be 4536d522f475Smrg adjusted in this case, xterm still needs information from this call 4537d522f475Smrg to extract data to initialize the erase-mode when the 4538d522f475Smrg <code>ptyInitialErase</code> resource is false. 4539d522f475Smrg 4540d522f475Smrg <li>modify <code>ScrollbarReverseVideo()</code> function to cache the 4541d522f475Smrg original border color, so it can restore that when an application 4542d522f475Smrg flashes the screen (Bugzilla #38872). 4543d522f475Smrg 454420d2c4d2Smrg <li>resync with XFree86 CVS 4545d522f475Smrg <ul> 454620d2c4d2Smrg <li>remove ifdef's for X_NOT_STDC_ENV (patch by David Dawes). 4547d522f475Smrg <li>add Cygwin to special errno handling case in ptydata.c (Alan Hourihane) 4548d522f475Smrg <li>set screen size earlier in initialization, to address a race 4549d522f475Smrg with window manager resizing its clients (Keith Packard). 4550d522f475Smrg </ul> 4551d522f475Smrg</ul> 4552d522f475Smrg 4553d522f475Smrg<H1><A NAME="xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A></H1> 4554d522f475Smrg<ul> 455520d2c4d2Smrg <li>clean up button.c and input.c (patch by Juliusz Chroboczek). The 4556d522f475Smrg basic idea is to use a single set of APIs in the XTerm core, and put 4557d522f475Smrg a set of workarounds in a separate file. As you will notice, this 4558d522f475Smrg drastically simplifies parts of the code; in particular, the only 4559d522f475Smrg remaining ifdefs related to the differences between Xutf8 and legacy 4560d522f475Smrg systems are related to the selection provider logic. 4561d522f475Smrg 4562d522f475Smrg This defines two new files, xutf8.h and xutf8.c, provide some 4563d522f475Smrg half-hearted but fully portable emulation for the three Xutf8* 4564d522f475Smrg functions that XTerm uses. 4565d522f475Smrg 4566d522f475Smrg Putting these in a separate file will allow people to experiment with 4567d522f475Smrg more complex versions without making the core of XTerm more difficult 4568d522f475Smrg to maintain. 4569d522f475Smrg 4570d522f475Smrg The functionality of the emulation is as follows. 4571d522f475Smrg <ul> 4572d522f475Smrg <li>Xutf8TextListToTextProperty fully handles XStringstyle and 4573d522f475Smrg XUTF8StringStyle. It will only generate STRING for XStdICCTextStyle, 4574d522f475Smrg and wil only generate Latin-1 in XCompoundTextStyle (but label it as 4575d522f475Smrg COMPOUND_TEXT, as the spec requires). (I have hesitated to make this 4576d522f475Smrg function fail for XStdICCTextStyle and XCompoundTextStyle; this might 4577d522f475Smrg be a smart thing to do, in the hope that the selection requestor will 4578d522f475Smrg try UTF8_STRING afterwards; opinions?) 4579d522f475Smrg 4580d522f475Smrg <li>Xutf8TextPropertyToTextList fully handles STRING and UTF8_STRING. 4581d522f475Smrg It systematically fails for COMPOUND_TEXT. 4582d522f475Smrg 4583d522f475Smrg <li>Xutf8LookupString will properly handle single-keystroke input for 4584d522f475Smrg the keysyms covered by Markus' keysym2ucs function. It will not 4585d522f475Smrg handle either compose key input or external input methods. 4586d522f475Smrg </ul> 4587d522f475Smrg 4588d522f475Smrg <li>add an ifdef for <code>SunXK_F36</code>, used in 4589d522f475Smrg <code>xtermcapKeycode()</code> (patch by Mark Waggoner 4590d522f475Smrg <waggoner@ichips.intel.com>). 4591d522f475Smrg 4592d522f475Smrg <li>modify check for login name to try <code>getlogin()</code> and 4593d522f475Smrg $LOGNAME, $USER environment variables to detect if the user has 4594d522f475Smrg logged in under an alias, i.e., an account with the same user id 4595d522f475Smrg but a different name (Debian bug report #70084). 4596d522f475Smrg 4597d522f475Smrg <li>add resource <code>tiXtraScroll</code>, which can be used to 4598d522f475Smrg preserve the screen contents in the scrollback rather than erasing 4599d522f475Smrg it when starting a fullscreen application such as <code>vi</code> 4600d522f475Smrg (patch by Ken Martin <fletcher@catsreach.org>). 4601d522f475Smrg 4602d522f475Smrg <li>two patches by Denis Zaitsev <zzz@cd-club.ru>: 4603d522f475Smrg <ul> 4604d522f475Smrg <li>added <code>forceBoxChars</code> resource to control the 4605d522f475Smrg "line-drawing characters" option. 4606d522f475Smrg 4607d522f475Smrg <li>added <code>freeBoldBox</code> resource, which, when set true, 4608d522f475Smrg suppresses check in <code>same_font_size()</code>, so xterm does 4609d522f475Smrg not attempt to ensure that the bold font is the same size as 4610d522f475Smrg the normal font. 4611d522f475Smrg </ul> 4612d522f475Smrg 4613d522f475Smrg <li>change the color class for ANSI colors and similar ones such as 4614d522f475Smrg bold-color, etc., to follow the convention that the classname is the 4615d522f475Smrg instance name with a leading capital (e.g., <code>color0</code> and 4616d522f475Smrg <code>Color0</code> rather than <code>color0</code> and 4617d522f475Smrg <code>Foreground</code>). There was little use for Foreground as a 4618d522f475Smrg class other than to create occasional confusion and bug reports, most 4619d522f475Smrg recently by Nelson Beebe who reports that it disables colors in xterm 4620d522f475Smrg but not on Linux, which is probably due to a difference in resource 4621d522f475Smrg evaluation order. A configure script option (--disable-color-class) 4622d522f475Smrg is provided for anyone who did use the older behavior. 4623d522f475Smrg 4624d522f475Smrg <li>fix a signal-handling bug. When running xterm with 4625d522f475Smrg <code>ksh</code> or similar shell such as bash 2.05, xterm will hang 4626d522f475Smrg and not respond to keystrokes after the user types 4627d522f475Smrg <code>suspend</code>. Additionally the popup menus do not respond, 4628d522f475Smrg so it is not possible to send SIGCONT to the shell. 4629d522f475Smrg What is happening is that the shell is sending itself SIGSTOP, and it 4630d522f475Smrg is being stopped. Per specification it also means that the operating 4631d522f475Smrg system is sending SIGCHLD to parent to the bash (XTERM). 4632d522f475Smrg Now the issue is that xterm assumes it cannot happen and it expects 4633d522f475Smrg to receive SIGCHLD only upon <em>termination</em> of its children. 4634d522f475Smrg This causes a deadlock with xterm waiting for the child to 4635d522f475Smrg die, and the child waiting for SIGCONT. 4636d522f475Smrg (report/patch by Adam Sulmicki), analysis/testing by Sven Mascheck 4637d522f475Smrg <sven.mascheck@student.uni-ulm.de>). 4638d522f475Smrg 4639d522f475Smrg <li>correct some inconsistent checks for <code>XtReleaseGC()</code> 4640d522f475Smrg calls in <code>xtermLoadFont()</code> (patch by Nam SungHyun 4641d522f475Smrg <namsh@lge.com>). 4642d522f475Smrg 4643d522f475Smrg <li>updated wcwidth.c and keysym2ucs.c to versions dated 2001/1/12 4644d522f475Smrg and 2001/4/18, respectively from 4645d522f475Smrg http://www.cl.cam.ac.uk/~mgk25/ucs/ 4646d522f475Smrg 4647d522f475Smrg <li>correction to change from <a href="#xterm_90">patch #90</a>, 4648d522f475Smrg which was intended to 4649d522f475Smrg reset the saved cursor position for normal/alternate screens 4650d522f475Smrg on a soft reset, but actually wiped out all of the saved cursor 4651d522f475Smrg information. Just reset the saved position for the current screen 4652d522f475Smrg (report by Michael Schroeder). 4653d522f475Smrg 4654d522f475Smrg <li>modify ShowCursor() and HideCursor() so that if the cursor points 4655d522f475Smrg to the second part of a wide character, make the show/hide operate on 4656d522f475Smrg the first position of the wide character (patch by Sven Verdoolaege). 4657d522f475Smrg 4658d522f475Smrg <li>scrolling in the alternate screen just before switching back to the 4659d522f475Smrg main screen can cause extra blank lines to be inserted into the 4660d522f475Smrg scrollback buffer (patch by Paul Vojta 4661d522f475Smrg <vojta@math.berkeley.edu>). 4662d522f475Smrg 4663d522f475Smrg <li>resync with XFree86 4.1.0: 4664d522f475Smrg <ul> 4665d522f475Smrg <li>Use TermcapLibrary as -lncurses instead of -ltermcap, fixes 4666d522f475Smrg problem building xterm/resize on Cygwin/XFree86 (Harold Hunt). 4667d522f475Smrg <li>Install xterm.termcap and xterm.terminfo when installing xterm 4668d522f475Smrg (Torrey T. Lyons). 4669d522f475Smrg <li>Fix some build issues on Cygwin/XFree86 (Suhaib Siddiqi). 4670d522f475Smrg <li>Define CBAUD, when it's missing in xterm, on LynxOS 4671d522f475Smrg (Stuart Lissaman). 4672d522f475Smrg </ul> 4673d522f475Smrg</ul> 4674d522f475Smrg 4675d522f475Smrg<H1><A NAME="xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A></H1> 4676d522f475Smrg<ul> 4677d522f475Smrg <li>change order of selection-target types to make 8-bit xterm prefer 4678d522f475Smrg UTF8_STRING to COMPOUND_TEXT (patch by Juliusz Chroboczek). 4679d522f475Smrg 4680d522f475Smrg <li>document <code>-fa</code>, <code>-fs</code> command-line options 4681d522f475Smrg and <code>faceName</code>, <code>faceSize</code> 4682d522f475Smrg resources which are used by the freetype library support. 4683d522f475Smrg 4684d522f475Smrg <li>if configure script finds freetype libraries, but imake definitions 4685d522f475Smrg do not have the XRENDERFONT definition, define it anyway. 4686d522f475Smrg 4687d522f475Smrg <li>modify configure script check for freetype libraries to include 4688d522f475Smrg <code><Xlib.h></code>, since an older version of the related 4689d522f475Smrg headers relies on this (patch by Adam Sulmicki). 4690d522f475Smrg</ul> 4691d522f475Smrg 4692d522f475Smrg<H1><A NAME="xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A></H1> 4693d522f475Smrg<ul> 4694d522f475Smrg <li>correct return type of in_put() from <a href="#xterm_155">patch #153</a> 4695d522f475Smrg changes, which left it not wide enough for UTF-8 (patch by Bruno Haible). 4696d522f475Smrg</ul> 4697d522f475Smrg 4698d522f475Smrg<H1><A NAME="xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A></H1> 4699d522f475Smrg<ul> 4700d522f475Smrg <li>undo check for return value from <code>pututline</code> (used for 4701d522f475Smrg debugging) since that function does not return a value on Slackware 4702d522f475Smrg 3.6. 4703d522f475Smrg 4704d522f475Smrg <li>correct length in ScreenWrite, when rendering invisible text 4705d522f475Smrg (patch by Sven Verdoolaege <skimo@kotnet.org>). 4706d522f475Smrg 4707d522f475Smrg <li>fixes/improvements for the <code>i18nSelection</code> resource 4708d522f475Smrg from patch #153, by Bruno Haible: 4709d522f475Smrg 4710d522f475Smrg <ul> 4711d522f475Smrg <li>add missing initialization for <code>i18nSelection</code> 4712d522f475Smrg resource. 4713d522f475Smrg 4714d522f475Smrg <li>split-out the non-ICCM aspect of the 4715d522f475Smrg <code>i18nSelection</code> resource as a new resource, 4716d522f475Smrg <code>brokenSelections</code>. 4717d522f475Smrg </ul> 4718d522f475Smrg 4719d522f475Smrg <li>add configure check for <code><time.h></code> and 4720d522f475Smrg <code><sys/time.h></code>, to allow for Unixware 7, 4721d522f475Smrg which requires both. If the configure script is not used, only 4722d522f475Smrg <code><time.h></code> will be included as before (report 4723d522f475Smrg by Thanh Ma). 4724d522f475Smrg 4725d522f475Smrg <li>fix redefinition of <code>dup2</code>, <code>getutent</code>, 4726d522f475Smrg <code>getutid</code>, <code>getutline</code> and <code>sleep</code> 4727d522f475Smrg functions on Unixware 7 (report by Thanh Ma 4728d522f475Smrg <Thanh.Ma@casi-rusco.com>) 4729d522f475Smrg 4730d522f475Smrg <li>add a fall-back definition for <code>__hpux</code>, which is 4731d522f475Smrg apparently not defined in some compilers on HPUX 11.0 (reported 4732d522f475Smrg by Clint Olsen). 4733d522f475Smrg 4734d522f475Smrg <li>change VAL_INITIAL_ERASE, which is used as a fallback for the 4735d522f475Smrg <code>"kb"</code> termcap string to 8, since that matches the 4736d522f475Smrg xterm terminal description (request by Alexander V Lukyanov). 4737d522f475Smrg 4738d522f475Smrg <li>correct an off-by-one in <code>ClearInLine</code>, which caused 4739d522f475Smrg the erase-characters (ECH) control to display incorrectly 4740d522f475Smrg (patch by Alexander V Lukyanov). 4741d522f475Smrg 4742d522f475Smrg <li>correct escape sequences shown in terminfo for shifted editing 4743d522f475Smrg keys. The modifier code was for the control key rather than 4744d522f475Smrg the shift key. 4745d522f475Smrg</ul> 4746d522f475Smrg 4747d522f475Smrg<H1><A NAME="xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A></H1> 4748d522f475Smrg<ul> 4749d522f475Smrg <li>increase PTYCHARLEN to 8 for os390, add some debugging traces 4750d522f475Smrg for UTMP functions (patch by Paul Gilmartin). 4751d522f475Smrg 4752d522f475Smrg <li>correct an misplaced brace in <code>SelectionReceived()</code> 4753d522f475Smrg (patch by Bruno Haible). 4754d522f475Smrg 4755d522f475Smrg <li>correct an assignment dropped in <code>SelectionReceived()</code> 4756d522f475Smrg which made it not compile for wide-characters combined with debug 4757d522f475Smrg traces. 4758d522f475Smrg 4759d522f475Smrg <li>correct typo, clarify description of 88- and 256-color controls 4760d522f475Smrg (report by Bram Moolenaar). 4761d522f475Smrg 4762d522f475Smrg <li>correct a typo in ctlseqs.ms which caused DEC Locator control 4763d522f475Smrg sequences using single quote "'" display grave "`" instead (reported 4764d522f475Smrg by Paul Williams, apparently in patch #114). 4765d522f475Smrg</ul> 4766d522f475Smrg 4767d522f475Smrg<H1><A NAME="xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A></H1> 4768d522f475Smrg<ul> 4769d522f475Smrg <li>correct index in inner loop in <code>VTInitI18N()</code> from 4770d522f475Smrg patch #151 changes, which resulted in infinite loop under some 4771d522f475Smrg conditions (report/analysis by Paul Gilmartin). 4772d522f475Smrg 4773d522f475Smrg <li>remove spurious "%|" from terminfo sgr capabilities 477420d2c4d2Smrg (report/analysis by Adam M Costello, Debian #89222). 4775d522f475Smrg 4776d522f475Smrg <li>add shell script to adjust list of dynamic libraries linked by 4777d522f475Smrg <code>resize</code> when building with the standalone configure 4778d522f475Smrg script. Otherwise it uses the same list as for xterm, which is 4779d522f475Smrg excessive. 4780d522f475Smrg 4781d522f475Smrg <li>fix a few compiler warnings reported by the 20010305 gcc snapshot. 4782d522f475Smrg</ul> 4783d522f475Smrg 4784d522f475Smrg<H1><A NAME="xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A></H1> 4785d522f475Smrg<ul> 478620d2c4d2Smrg <li>alter the behaviour of selections in XTerm (patch by Juliusz Chroboczek). 4787d522f475Smrg It is believed to follow the ICCCM + UTF8_STRING to the letter, both 4788d522f475Smrg in UTF-8 and in eight-bit mode. From his description: 4789d522f475Smrg <ul> 4790d522f475Smrg <li>When compiled against XFree86 4.0.2, the patched XTerm will make 4791d522f475Smrg the selection available as COMPOUND_TEXT, STRING or UTF8_STRING in 4792d522f475Smrg both modes. It will request selections in the following order: 4793d522f475Smrg <p> 4794d522f475Smrg UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, STRING.<br> 4795d522f475Smrg eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, STRING. 4796d522f475Smrg 4797d522f475Smrg <li>When compiled against an earlier version of XFree86 (or compiled with 4798d522f475Smrg OPT_UTF8_API=0), it will still obey the ICCCM, but will neither 4799d522f475Smrg request nor provide UTF8_STRING in eight-bit mode, and neither TEXT 4800d522f475Smrg nor COMPOUND_TEXT in UTF-8 mode. 4801d522f475Smrg <li>For compatibility with previous versions of XTerm, a resource 4802d522f475Smrg <code>i18nSelections</code> is provided, please see the manpage for 4803d522f475Smrg details. However, due to an unexpected combination of ICCCM 4804d522f475Smrg extensions by various bits and pieces of the libraries, interacting 4805d522f475Smrg with previous versions of XTerm will work in many locales even 4806d522f475Smrg without this flag. (Please do not set this resource to true by 4807d522f475Smrg default, as this would violate the ICCCM.) 4808d522f475Smrg </ul> 4809d522f475Smrg 4810d522f475Smrg <li>improved error checking/reporting in VTInitI18N(), ensuring that 4811d522f475Smrg lack of input method styles is treated distinctly from a mismatch. 4812d522f475Smrg 4813d522f475Smrg <li>remove an incorrect ifdef from patch #141 which suppressed 4814d522f475Smrg overstriking to simulate bold font when xterm was compiled to support 4815d522f475Smrg wide characters (report/analysis by Adam M Costello 481620d2c4d2Smrg <amc@cs.berkeley.edu>, Debian #76404, Debian #77575). 4817d522f475Smrg 4818d522f475Smrg <li>modify <code>RequestResize()</code> function to save/restore window 4819d522f475Smrg manager hints. Its call to <code>XtMakeResizeRequest()</code> had 4820d522f475Smrg the undesirable side-effect of clearing window manager hints, e.g., 4821d522f475Smrg when switching to 132-columns via DECCOLM escape sequence. Window 4822d522f475Smrg manager hints make it simple to resize xterm in terms of character 482320d2c4d2Smrg cells rather than pixels (reports by Christian Weisgerber, 482420d2c4d2Smrg Debian #79939). 4825d522f475Smrg <p> 4826d522f475Smrg This applies to the normal configuration. When built with toolbar 4827d522f475Smrg support, the hints are applied to a different widget level (more 4828d522f475Smrg work will be needed to make hints work with the toolbar). 4829d522f475Smrg 4830d522f475Smrg <li>fix a redefinition warning for resize.c on OpenBSD (patch by 4831d522f475Smrg Christian Weisgerber). 4832d522f475Smrg 4833d522f475Smrg <li>change resource corresponding to <code>-T</code> option to match 4834d522f475Smrg Xt library's <code>-title</code>, i.e., <code>.title</code> 4835d522f475Smrg rather than <code>*title</code> so the command-line options are 4836d522f475Smrg interchangeable as documented (Debian bug report #68843). 4837d522f475Smrg 4838d522f475Smrg <li>add script used from autoconf'd makefile for installing manpages, 4839d522f475Smrg since recent XFree86 changing the way section numbers are represented 4840d522f475Smrg makes the install dependent on extra scripts. 4841d522f475Smrg 4842d522f475Smrg <li>add configure check for freetype libraries and configure option 4843d522f475Smrg --disable-freetype to override this feature. 4844d522f475Smrg 4845d522f475Smrg <li>modify some configure script macros to avoid using changequote(), 4846d522f475Smrg which has been rendered useless in the latest autoconf alpha 2.49c 4847d522f475Smrg 4848d522f475Smrg <li>update config.guess, config.sub to 2001-2-13 4849d522f475Smrg 4850d522f475Smrg <li>remove redundant/contradictory __CYGWIN__ definitions from resize.c 4851d522f475Smrg 4852d522f475Smrg <li>correct manpage typo introduced by X11R6.5 resync. 4853d522f475Smrg</ul> 4854d522f475Smrg Changes from XFree86 4.0.2: 4855d522f475Smrg<ul> 4856d522f475Smrg <li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris to 4857d522f475Smrg make this compile with <code>gcc -ansi -pedantic</code> (report 4858d522f475Smrg by <mark@zang.com>. 4859d522f475Smrg</ul> 4860d522f475Smrg 4861d522f475Smrg<H1><A NAME="xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A></H1> 4862d522f475Smrg<ul> 4863d522f475Smrg <li>move the binding for shifted keypad plus/minus, which invokes the 4864d522f475Smrg <code>larger-vt-font()</code> and <code>smaller-vt-font()</code> 4865d522f475Smrg actions, respectively, into the translations resource (suggested by 4866d522f475Smrg Marius Gedminas <mgedmin@puni.osf.lt>). 4867d522f475Smrg 4868d522f475Smrg <li>modify configure script to support the 4869d522f475Smrg <code>--program-prefix</code>, <code>--program-suffix</code> and 4870d522f475Smrg <code>--program-transform-name</code> options (request by Alison 4871d522f475Smrg Winters <alison@mirrabooka.com>). 4872d522f475Smrg 487320d2c4d2Smrg <li>fixes for wide/combining characters (Robert Brady): 4874d522f475Smrg <ul> 4875d522f475Smrg <li>fix a scrolling / combining characters display anomaly 4876d522f475Smrg 4877d522f475Smrg <li>fix a problem with double-width characters where if the primary 4878d522f475Smrg font had no box-drawing characters, the right hand half of 4879d522f475Smrg double-width characters was erased (reported by Yao Zhang 4880d522f475Smrg <yzhang@sharemedia.com>). 4881d522f475Smrg 4882d522f475Smrg <li>fix special case of null byte for key handling in UTF-8 locales. 4883d522f475Smrg </ul> 4884d522f475Smrg 4885d522f475Smrg <li>modify logic that compares sizes of normal and bold fonts to be 4886d522f475Smrg more forgiving of the font server's choice of bold font which must 4887d522f475Smrg match the normal font's size. Now <code>same_font_size()</code> 4888d522f475Smrg compares the height of the fonts rather than individually ascent and 4889d522f475Smrg descent, and allows the bold font to be one pixel smaller than the 4890d522f475Smrg normal font (addresses a report by Alan Citterman 4891d522f475Smrg <alan@mticket.com>, who says that something in patches #146 to 4892d522f475Smrg #148 made xterm more likely to overstrike bold fonts, and indirectly 4893d522f475Smrg Debian bug report #76404, which reports the opposite). 4894d522f475Smrg 4895d522f475Smrg <li>make configure script use $CFLAGS and $CPPFLAGS consistently, 4896d522f475Smrg including removing a chunk from configure.in which attempted to 4897d522f475Smrg save/restore $CPPFLAGS while processing value set by the --x-includes 4898d522f475Smrg option, but lost values set in an intervening AC_CHECK_HEADERS. This 4899d522f475Smrg change modifies macros CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and 4900d522f475Smrg CF_X_TOOLKIT, as well as removing variables IMAKE_CFLAGS and X_CFLAGS 4901d522f475Smrg from the generated makefile (the AC_CHECK_HEADERS problem was 4902d522f475Smrg reported by Albert Chin-A-Young <china@thewrittenword.com<). 4903d522f475Smrg 4904d522f475Smrg <li>correct a comparison in SELECTWORD case of ComputeSelect(), which 4905d522f475Smrg resulted in a word-selection wrapping past the first column without 4906d522f475Smrg checking the first column's character class (reported by Christian 4907d522f475Smrg Lacunza <celacunza@netscape.net> 4908d522f475Smrg 4909d522f475Smrg <li>correct a logic in UTF-8 mode for selecting double-width characters; 4910d522f475Smrg a combining character was omitted (patch by Markus Kuhn). 4911d522f475Smrg 4912d522f475Smrg <li>add feature to pop (raise) window when a bell is received 4913d522f475Smrg (patch by Gael Roualland <gael.roualland@dial.oleane.com>). 4914d522f475Smrg 4915d522f475Smrg <li>add __NetBSD__ and __OpenBSD__ to special-case in xterm_io.h 4916d522f475Smrg for USE_POSIX_TERMIOS definition (patch by Christian Weisgerber). 4917d522f475Smrg 4918d522f475Smrg <li>move special-case HPUX include for <sys/bsdtty.h> to 4919d522f475Smrg xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for HPUX 4920d522f475Smrg 10.20 (report by Bruno Betro). 4921d522f475Smrg</ul> 4922d522f475Smrg 4923d522f475Smrg<H1><A NAME="xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A></H1> 4924d522f475Smrg<ul> 4925d522f475Smrg <li>restructured includes for <code>termios.h</code>, 4926d522f475Smrg <code>termio.h</code> and related definitions for main.c, os2main.c, 4927d522f475Smrg screen.c and resize.c so they will share equivalent definitions in a 4928d522f475Smrg new header <code>xterm_io.h</code>. This is intended to solve some 4929d522f475Smrg problems mainly for HPUX which appear to arise from inconsistent 4930d522f475Smrg definitions for SIGWINCH- and HAS_LTCHARS-related symbols (reports 4931d522f475Smrg by Bruno Betro, Jeremie Petit and Clint Olsen). 4932d522f475Smrg 4933d522f475Smrg <li>improve usability of double-width fonts by allowing normal fonts 4934d522f475Smrg to be given as double-width (from a patch by Fabrice Bellard 4935d522f475Smrg <bellard@email.enst.fr>). 4936d522f475Smrg 4937d522f475Smrg <li>correct a few compiler warnings in TRACE() macros for 4938d522f475Smrg signed/unsigned variable differences (reported by Clint Olsen). 4939d522f475Smrg 4940d522f475Smrg <li>make configure script use $CFLAGS and $CPPFLAGS more consistently, 4941d522f475Smrg i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC macro. 4942d522f475Smrg 4943d522f475Smrg <li>expanded description of environment variables in manual-page. 4944d522f475Smrg 4945d522f475Smrg <li>modify OPT_TCAP_QUERY feature to always return the termcap or 4946d522f475Smrg terminfo capability string in the response, and to read/write the 4947d522f475Smrg names in hexadecimal form to allow for the special case of termcap's 4948d522f475Smrg <code>k;</code> name (patch by Bram Moolenaar). 4949d522f475Smrg 4950d522f475Smrg <li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so the 4951d522f475Smrg corresponding configure options work (patch by Bram Moolenaar). 4952d522f475Smrg 4953d522f475Smrg <li>resync with XFree86 4.0.1g: 4954d522f475Smrg <ul> 4955d522f475Smrg <li>Rewrite Xft library for Render extension/core text and font management 4956d522f475Smrg Change xterm to use new interface (Keith Packard). 4957d522f475Smrg </ul> 4958d522f475Smrg</ul> 4959d522f475Smrg 4960d522f475Smrg<H1><A NAME="xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A></H1> 4961d522f475Smrg<ul> 4962d522f475Smrg <li>document logfile options in man-page. 4963d522f475Smrg 4964d522f475Smrg <li>correct spelling of <code>-samename</code> option in help message. 4965d522f475Smrg 4966d522f475Smrg <li>add configure script option <code>--enable-tcap-query</code> 4967d522f475Smrg (request by Bram Moolenaar). 4968d522f475Smrg 496920d2c4d2Smrg <li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature 497020d2c4d2Smrg (patch by Bram Moolenaar). 497120d2c4d2Smrg <li>patch by Kiyokazu Suto <suto@ks-and-ks.ne.jp>: 4972d522f475Smrg <ul> 4973d522f475Smrg <li>add support for bold font for double width characters. 4974d522f475Smrg The font name may be specified with the command line option 4975d522f475Smrg <code>-fwb</code> or with resource 4976d522f475Smrg <code>wideBoldFont</code> (class <code>WideBoldFont</code>). 4977d522f475Smrg <li>correct underlining of double width character string, which 4978d522f475Smrg was drawn only half width. 4979d522f475Smrg <li>correct binary search of precomposed character table, which 4980d522f475Smrg may return wrong result when <code>int</code> is just 32 bits. 4981d522f475Smrg </ul> 4982d522f475Smrg 4983d522f475Smrg <li>some changes to align terminfo with ncurses 5.2: 4984d522f475Smrg <ul> 4985d522f475Smrg <li>remove xtermm description, retaining xterm-mono since the former 4986d522f475Smrg conflicts with ncurses. 4987d522f475Smrg <li>modify initialization and reset strings to avoid putting the 4988d522f475Smrg save/restore cursor operations bracketing changes to video 4989d522f475Smrg attributes, since the changes could be lost when the cursor is 4990d522f475Smrg restored. This affects xterm-r6 and xterm-8bit (the xterm-xfree86 4991d522f475Smrg entry uses the soft-reset feature which resets scrolling margins 4992d522f475Smrg and origin mode without requiring us to save/restore the cursor 4993d522f475Smrg position). 4994d522f475Smrg <li>make a few entries explicitly inherit from xterm-xfree86 rather 4995d522f475Smrg than xterm: xterm-rep, xterm-xmc, xterm-nrc 4996d522f475Smrg </ul> 4997d522f475Smrg 4998d522f475Smrg <li>ensure that sign-extension does not affect <code>ctype</code> 4999d522f475Smrg macros by using <code>CharOf()</code> macro to coerce the parameter 5000d522f475Smrg to an unsigned char. 5001d522f475Smrg 5002d522f475Smrg <li>resync with XFree86 4.0.1d: 5003d522f475Smrg <ul> 5004d522f475Smrg <li>Add primitive support in xterm for Xft based fonts (Keith Packard). 5005d522f475Smrg The changes are ifdef'd with <code>-DXRENDERFONT</code>. 5006d522f475Smrg </ul> 5007d522f475Smrg</ul> 5008d522f475Smrg 5009d522f475Smrg<H1><A NAME="xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A></H1> 5010d522f475Smrg<ul> 5011d522f475Smrg <li>correct implementation of <code>ptyInitialErase</code>: the 5012d522f475Smrg value assigned to <code>initial_erase</code> was for the control 5013d522f475Smrg terminal, which is correct as far as it goes. But there was no 5014d522f475Smrg following test for the pseudo-terminal's erase value, which would 5015d522f475Smrg overwrite the default obtained from the control terminal 5016d522f475Smrg (reported by Christian Weisgerber <naddy@mips.inka.de>). 5017d522f475Smrg 5018d522f475Smrg <li>modify check for printable-characters in OSC string to use xterm's 5019d522f475Smrg ansi_table rather than isprint() macro, to isolate this check from 5020d522f475Smrg locale settings. This fixes a problem using 8-bit characters to 5021d522f475Smrg set the title (reported by Ricardas Cepas <rch@richard.eu.org>). 5022d522f475Smrg 5023d522f475Smrg <li>modify sample scripts to check for printf before print, since the 5024d522f475Smrg latter is not as well standardized (e.g., on Linux). 5025d522f475Smrg 5026d522f475Smrg <li>updated config.sub, config.guess to reflect changes on 5027d522f475Smrg subversions.gnu.org 5028d522f475Smrg</ul> 5029d522f475Smrg 5030d522f475Smrg<H1><A NAME="xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A></H1> 5031d522f475Smrg<ul> 5032d522f475Smrg <li>correct two instances overlooked from patch #141 which assumed 5033d522f475Smrg UTF-8 mode without checking, causing a core dump in non-UTF-8 mode 5034d522f475Smrg (one instance was reported by Tommi Virtanen <tv@debian.org>). 5035d522f475Smrg 5036d522f475Smrg <li>correct a problem selecting from the scrollback buffer in UTF-8 5037d522f475Smrg mode by changing remaining getXtermCell() calls to XTERM_CELL() as in 5038d522f475Smrg the non-UTF-8 cases (report by Markus Kuhn, patch by Robert Brady). 5039d522f475Smrg</ul> 5040d522f475Smrg 5041d522f475Smrg<H1><A NAME="xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A></H1> 5042d522f475Smrg<ul> 504320d2c4d2Smrg <li>changes for UTF-8 configuration (Robert Brady): 5044d522f475Smrg <ul> 5045d522f475Smrg <li>doublewide characters don't lose their accents when the cursor 5046d522f475Smrg moves onto or from them (a visual bug) 5047d522f475Smrg 5048d522f475Smrg <li>fix logic in addXtermCombining, which mean that if the low byte 5049d522f475Smrg of a cell's first combining char was 0, a following combining char 5050d522f475Smrg would go into combining slot 1, not 2. 5051d522f475Smrg 5052d522f475Smrg <li>modify logic for cut-buffers so UTF-8 data is first converted 5053d522f475Smrg to Latin1. 5054d522f475Smrg 5055d522f475Smrg <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL. 5056d522f475Smrg 5057d522f475Smrg <li>modify to allow xterm to to show combining characters 5058d522f475Smrg attached to doublewidth characters. 5059d522f475Smrg 5060d522f475Smrg <li>correct bug in linewrap with -u8 option (reported by 5061d522f475Smrg Andreas Koenig <andreas.koenig@anima.de>). 5062d522f475Smrg </ul> 5063d522f475Smrg 5064d522f475Smrg <li>several changes to PTY logic (based on request by Tim Ryan 5065d522f475Smrg <timryan@nortelnetworks.com>). 5066d522f475Smrg <ul> 5067d522f475Smrg <li>modify treatment of <code>-S</code> option to to make it work with 5068d522f475Smrg Unix98 PTY's. 5069d522f475Smrg 5070d522f475Smrg <li>restore sense of IsPts flag in <code>get_pty()</code>, which was 5071d522f475Smrg lost in Unix98 changes. 5072d522f475Smrg 5073d522f475Smrg <li>use new functions <code>my_pty_id()</code> and 5074d522f475Smrg <code>my_pty_name()</code> to simplify/fix strings used for utmp, 5075d522f475Smrg wtmp identifiers. 5076d522f475Smrg 5077d522f475Smrg <li>simplify <code>get_pty()</code> function, making it have a single 5078d522f475Smrg return point so its inputs/outputs can be identified. 5079d522f475Smrg </ul> 5080d522f475Smrg 5081d522f475Smrg <li>update config.guess and config.sub and scripts to my 20000819 patch, 5082d522f475Smrg adding cases for OS/2 EMX. 5083d522f475Smrg 5084d522f475Smrg <li>add special case for os390 compiler options to configure script 5085d522f475Smrg (patch by Paul Gilmartin) 5086d522f475Smrg 5087d522f475Smrg <li>fix some unused-variable compiler warnings (reported by 5088d522f475Smrg Zdenek Sekera). 5089d522f475Smrg 5090d522f475Smrg <li>split-out some string functions into xstrings.c, to use them 5091d522f475Smrg more consistently among main.c, os2main.c and resize.c 5092d522f475Smrg 5093d522f475Smrg <li>align termcap/terminfo files, adding entries to make them match. 5094d522f475Smrg The termcap entries are necessarily less complete than the terminfo, 5095d522f475Smrg to fit within 1023 character per entry. 5096d522f475Smrg 5097d522f475Smrg <li>add terminfo entry for xterm-sco (SCO function keys). 5098d522f475Smrg 5099d522f475Smrg <li>modify <code>same_font_name()</code> to properly handle wildcard 5100d522f475Smrg introduced in <code>bold_font_name()</code>, making comparison for 5101d522f475Smrg different fonts succeed when only the normal font is specified. This 5102d522f475Smrg is needed to decide if 1-pixel offset should be used. (reported 5103d522f475Smrg in a newsgroup by Bart Oldeman <enbeo@enbeo.resnet.bris.ac.uk>) 5104d522f475Smrg 5105d522f475Smrg <li>correct preprocessor line for OPT_WIDE_CHARS in drawXtermText() 5106d522f475Smrg from patch #141 which resulted in overstriking for bold fonts not 5107d522f475Smrg working. 5108d522f475Smrg 5109d522f475Smrg <li>correct Imakefile from 4.0.1c resync so UTF-8 modules are in 5110d522f475Smrg UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 support. 5111d522f475Smrg</ul> 5112d522f475Smrg 5113d522f475Smrg<H1><A NAME="xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A></H1> 5114d522f475Smrg<ul> 5115d522f475Smrg <li>remove a spurious assignment in ScreenWrite() from Robert Brady's 5116d522f475Smrg patch which set a null at the "end" of the buffer to be written. 5117d522f475Smrg That made the autowrap feature write a blank in the first column for 5118d522f475Smrg the non-UTF-8 configuration, rather than the actual character 5119d522f475Smrg (reported by Alan Citterman <alan@mticket.com>). 5120d522f475Smrg</ul> 5121d522f475Smrg 5122d522f475Smrg<H1><A NAME="xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A></H1> 5123d522f475Smrg<ul> 5124d522f475Smrg <li>add a check to ensure that <code>-class</code> command-line option 5125d522f475Smrg is not confused with <code>-c</code> (reported by Paul Townsend 5126d522f475Smrg <aab@aab.cc.purdue.edu>). 5127d522f475Smrg</ul> 5128d522f475Smrg 5129d522f475Smrg<H1><A NAME="xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A></H1> 5130d522f475Smrg<ul> 5131d522f475Smrg <li>correction to precompose scripts, so 0061 + 0300 will now be really 5132d522f475Smrg be displayed as 00C0 (patch by Robert Brady 5133d522f475Smrg <robert@susu.org.uk>). 5134d522f475Smrg 5135d522f475Smrg <li>correct macro ClassSelects() in button.c, used to hide ifdef's for 5136d522f475Smrg OPT_WIDE_CHARS in patch #141 (reported by Andreas Paul 5137d522f475Smrg <paula@informatik.tu-muenchen.de>). 5138d522f475Smrg 5139d522f475Smrg <li>change wcwidth.h to include stddef.h rather than wchar.h, which is 5140d522f475Smrg not present on OpenBSD and FreeBSD (reported by Christian 5141d522f475Smrg Weisgerber and Bram Moolenaar). 5142d522f475Smrg 5143d522f475Smrg <li>newer config.sub and config.guess, from lynx 2.8.4dev.7 5144d522f475Smrg</ul> 5145d522f475Smrg 5146d522f475Smrg<H1><A NAME="xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A></H1> 5147d522f475Smrg<ul> 514820d2c4d2Smrg <li>changes for doublewidth and combining characters, from 514920d2c4d2Smrg http://www.ecs.soton.ac.uk/~rwb197/xterm/ 515020d2c4d2Smrg (integrated patch by Robert Brady). 515120d2c4d2Smrg In this context, 5152d522f475Smrg doublewidth refers to 16-bit character sets which may have glyphs 5153d522f475Smrg occupying two cells. 5154d522f475Smrg 5155d522f475Smrg <li>add command-line option <code>-class</code>, which allows one 5156d522f475Smrg to override xterm's resource class. Also add resource file 5157d522f475Smrg <code>UXTerm.ad</code>, which simplifies using xterm for both 5158d522f475Smrg 8-bit character sets and UTF-8. 5159d522f475Smrg 5160d522f475Smrg <li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram 5161d522f475Smrg Moolenaar, Steve Wall). 5162d522f475Smrg</ul> 5163d522f475Smrg 5164d522f475Smrg<H1><A NAME="xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A></H1> 5165d522f475Smrg<ul> 5166d522f475Smrg <li>modify Makefile.in to circumvent GNU make's built-in suffix rule 5167d522f475Smrg for ".sh" which confuses install.sh with the "make install" target 5168d522f475Smrg (report/patch by Paul Gilmartin). 5169d522f475Smrg 5170d522f475Smrg <li>implement an experimental control sequence which an application may 5171d522f475Smrg use to query the terminal to determine what sequence of characters it 5172d522f475Smrg would send for a given function key. This is ifdef'd with 5173d522f475Smrg OPT_TCAP_QUERY (request by Bram Moolenaar). 5174d522f475Smrg 5175d522f475Smrg <li>add /usr/local to search path in CF_X_ATHENA configure macro 5176d522f475Smrg to build with Xaw3d on OpenBSD (patch by Christian Weisgerber). 5177d522f475Smrg 5178d522f475Smrg <li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to 5179d522f475Smrg xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate (report 5180d522f475Smrg by Alain Filbois <Alain.Filbois@loria.fr>). 5181d522f475Smrg 5182d522f475Smrg <li>correct a few errors in xterm.man: font in filename example for 5183d522f475Smrg Tektronix emulation, and description of -nul/+nul command-line 5184d522f475Smrg options (report by Eric Fischer <enf@pobox.com>). 5185d522f475Smrg 518620d2c4d2Smrg <li>update config.guess and config.sub, from tin and lynx. 5187d522f475Smrg</ul> 5188d522f475Smrg 5189d522f475Smrg<H1><A NAME="xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A></H1> 5190d522f475Smrg<ul> 5191d522f475Smrg <li>back out change to <code>-name</code> command-line option, 5192d522f475Smrg restoring its original behavior (as noted by David Madore, the 5193d522f475Smrg correct interpretation of this option is the application instance 5194d522f475Smrg rather than the application class). 5195d522f475Smrg</ul> 5196d522f475Smrg 5197d522f475Smrg<H1><A NAME="xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A></H1> 5198d522f475Smrg<ul> 5199d522f475Smrg <li>workaround for fixed fonts which are generated from Unicode fonts: 5200d522f475Smrg they omit glyphs for some xterm's less-used line-drawing characters, 5201d522f475Smrg which caused xterm to set a flag telling it to use only its internal 5202d522f475Smrg line-drawing characters. Do not set the flag (it can be set from the 5203d522f475Smrg popup menu), and xterm will generate only the line-drawing glyphs 5204d522f475Smrg which actually are missing. 5205d522f475Smrg <br> 5206d522f475Smrg Otherwise, when used for large fonts, xterm may generate a 2-pixel 5207d522f475Smrg wide line, which can leave dots on the screen. 5208d522f475Smrg 5209d522f475Smrg <li>restore first line of 256colres.pl, omitted in 4.0c diffs. 5210d522f475Smrg</ul> 5211d522f475Smrg<H1><A NAME="xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A></H1> 5212d522f475Smrg<ul> 5213d522f475Smrg <li>make command-line <code>-name</code> option work as documented. 5214d522f475Smrg Apparently this was lost in X11R5 when coding to use 5215d522f475Smrg <code>XtAppInitialize</code>. 5216d522f475Smrg 5217d522f475Smrg <li>limit numeric parameters of control sequences to 65535 to 5218d522f475Smrg simplify checks for numeric overflow. 5219d522f475Smrg 5220d522f475Smrg <li>change index into UDK list to unsigned to guard against numeric 5221d522f475Smrg overflow making the index negative (Taneli Huuskonen 5222d522f475Smrg <huuskone@cc.helsinki.fi>). 5223d522f475Smrg 5224d522f475Smrg <li>change <code>sun function-keys</code> resource name to 5225d522f475Smrg <code>sunFunctionKeys</code> to work around redefinition of the 5226d522f475Smrg token <code>sun</code> by xrdb on Solaris. Similarly, renamed 5227d522f475Smrg resource <code>sun keyboard</code> to <code>sunKeyboard</code> 5228d522f475Smrg (Steve Wall). 5229d522f475Smrg 5230d522f475Smrg <li>change similar resource names for HP and SCO to avoid potential 5231d522f475Smrg conflict with xrdb symbols on other systems, as well as for 5232d522f475Smrg consistency. 5233d522f475Smrg 5234d522f475Smrg <li>reorganized the install targets in the autoconf'd Makefile, adding 5235d522f475Smrg install-app, install-bin, install-dirs and install-man. The 5236d522f475Smrg app-defaults class can be overridden by setting the make variable 5237d522f475Smrg 'CLASS', simplifying customization of xterm as a Unicode terminal, 5238d522f475Smrg e.g., CLASS=UXTerm. 5239d522f475Smrg 5240d522f475Smrg <li>add limit checks to <code>ClearInLine()</code>, 5241d522f475Smrg <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to 5242d522f475Smrg correct potential out-of-bounds indexing (prompted by Debian bug 5243d522f475Smrg report #64713, which reported a problem with ICH escape sequences). 5244d522f475Smrg 5245d522f475Smrg <li>updates to config.sub and config.guess 5246d522f475Smrg Kevin Buettner <kev@primenet.com> for elf64_ia64 5247d522f475Smrg Bernd Kuemmerlen <bkuemmer@mevis.de> and MacOS X. 5248d522f475Smrg 524920d2c4d2Smrg <li>for os390, add check for errno set to 5250d522f475Smrg ENODEV on failure to open /dev/tty when there is no controlling 525120d2c4d2Smrg terminal (patch by Paul Gilmartin). 5252d522f475Smrg 525320d2c4d2Smrg <li>fixes for building on Digital Unix 4.0 and AIX 4.2 525420d2c4d2Smrg (patch from H Merijn Brand <h.m.brand@hccnet.nl>). 5255d522f475Smrg 5256d522f475Smrg <li>modify DECRQSS reply for DECSCL to additionally report if the 5257d522f475Smrg terminal is set for 8-bit controls. 5258d522f475Smrg</ul> 5259d522f475Smrg 5260d522f475Smrg<H1><A NAME="xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A></H1> 5261d522f475Smrg<ul> 5262d522f475Smrg <li>add a resource (<code>limitResize</code>) 5263d522f475Smrg limiting resizing via the CSI 4 t and CSI 8 t sequences. 5264d522f475Smrg 5265d522f475Smrg <li>ignore out-of-bounds resize requests, i.e., where sign-extension 5266d522f475Smrg or truncation of the parameters would occur. 5267d522f475Smrg</ul> 5268d522f475Smrg 5269d522f475Smrg<H1><A NAME="xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A></H1> 5270d522f475Smrg<ul> 5271d522f475Smrg <li>remove code introduced in #134 which made some backgrounds bold. 5272d522f475Smrg 5273d522f475Smrg <li>minor correction to format of updated $TERMCAP when adding 5274d522f475Smrg <code>kb</code> capability for <code>ptyInitialErase</code> logic. 5275d522f475Smrg 5276d522f475Smrg <li>improved test for SVR4 definition. 5277d522f475Smrg</ul> 5278d522f475Smrg 5279d522f475Smrg<H1><A NAME="xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A></H1> 5280d522f475Smrg<ul> 5281d522f475Smrg <li>update URL's and mailing addresses, moved to http://dickey.his.com 5282d522f475Smrg and dickey@herndon4.his.com 5283d522f475Smrg 5284d522f475Smrg <li>correct missing quotes in CF_TTY_GROUP configure script macro in 5285d522f475Smrg case the script is run in batch mode. 5286d522f475Smrg 5287d522f475Smrg <li>modify ownership-check of log file to ignore the group ownership. 5288d522f475Smrg Otherwise xterm cannot create logfiles in directories with set-gid 5289d522f475Smrg permissions. 5290d522f475Smrg 5291d522f475Smrg <li>simplify the logic that reads termcap data. 5292d522f475Smrg 5293d522f475Smrg <li>add fallback definition for B9600 in case line speed definition 5294d522f475Smrg for 38400 is missing (report by Jack J Woehr <jwoehr@ibm.net>, 5295d522f475Smrg for OpenBSD 2.6). 5296d522f475Smrg 5297d522f475Smrg <li>fix: Set highlightColor, and select a region containing the text 5298d522f475Smrg cursor. If the window loses focus, the cursor becomes hollow, with 5299d522f475Smrg the region inside the cursor being background/foreground, unlike the 5300d522f475Smrg rest of the selection, which is foreground/highlight 5301d522f475Smrg (patch by Ross Paterson <ross@soi.city.ac.uk>). 5302d522f475Smrg 5303d522f475Smrg <li>add configure script tests to define SVR4, SYSV and USE_POSIX_WAIT, 5304d522f475Smrg which enables xterm to compile on Solaris 7 and SCO Openserver 5305d522f475Smrg without imake, though there are still a few features for the latter 5306d522f475Smrg which require <code>sco</code> to be predefined. 5307d522f475Smrg 5308d522f475Smrg <li>patches from Steve Wall: 5309d522f475Smrg <ul> 5310d522f475Smrg <li>add support for two Sun-specific function keys. These keys are 5311d522f475Smrg labeled F11 and F12 on Sun Type 5 keyboards, but return SunXK_F36 and 5312d522f475Smrg SunXK_F37. Support will only be compiled in if the header file 5313d522f475Smrg <X11/Sunkeysym.h> exists and contains the appropriate symbol 5314d522f475Smrg definitions. The keycodes for the DEC keycodes were arbitrary unused 5315d522f475Smrg codes, but the ones for the Sun keycodes are what cmdtool and 5316d522f475Smrg shelltool actually send. 5317d522f475Smrg 5318d522f475Smrg <li>add <code>colorRV</code> and <code>colorRVMode</code> resources to 5319d522f475Smrg allow specifying a color to use for reverse video, similar to the 5320d522f475Smrg existing UL, BD, and BL modes. 5321d522f475Smrg 5322d522f475Smrg <li>add <code>alwaysUseMods</code> resource, to override check if 5323d522f475Smrg <code>alt</code> or <code>meta</code> modifiers are used in 5324d522f475Smrg <code>translations</code> resource. Revamped the code to calculate 5325d522f475Smrg the modifier value, and included Meta if alwaysUseMods is TRUE, using 5326d522f475Smrg values 9-16. 5327d522f475Smrg </ul> 5328d522f475Smrg 532920d2c4d2Smrg <li>fixes for os390 (Paul Gilmartin): 5330d522f475Smrg <ul> 5331d522f475Smrg <li>regularize the definition of CONTROL() and remove an 5332d522f475Smrg acknowledged "trial and error" table. 5333d522f475Smrg 5334d522f475Smrg <li>translate "^?" into A2E(0177) which is the EBCDIC "DEL" 5335d522f475Smrg rather than plain 0177 which is the EBCDIC quotation mark. 5336d522f475Smrg 5337d522f475Smrg <li>modify <code>xtermMissingChar()</code> so that EBCDIC codes 128-159 5338d522f475Smrg are not rendered as blanks by X server running on Solaris, which sees 5339d522f475Smrg those as control characters. 5340d522f475Smrg 5341d522f475Smrg <li>make debugging traces (configure --enable-trace) 5342d522f475Smrg work properly with EBCDIC. 5343d522f475Smrg </ul> 5344d522f475Smrg</ul> 5345d522f475Smrg 5346d522f475Smrg<H1><A NAME="xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A></H1> 5347d522f475Smrg<ul> 5348d522f475Smrg <li>add substitutions in autoconf'd Makefile for CPPFLAGS, LDFLAGS and 5349d522f475Smrg AWK (reported by Neil Bird). 5350d522f475Smrg 5351d522f475Smrg <li>correct uninitialized <code>childstat</code> variable from patch 5352d522f475Smrg #131 in <code>creat_as()</code> function, which caused logging to not 5353d522f475Smrg work on Solaris, whose <code>waitpid()</code> function does not 5354d522f475Smrg initialize its parameter. Add check for EINTR on return from 5355d522f475Smrg <code>waitpid()</code> as well (reported by Neil Bird 5356d522f475Smrg <neil.bird@rdel.co.uk>). 5357d522f475Smrg 5358d522f475Smrg <li>remove a redundant check for working <code>setuid()</code> function 535920d2c4d2Smrg introduced in patch #132. Greg Smith reports that this does not work 536020d2c4d2Smrg as intended on os390. 5361d522f475Smrg 5362d522f475Smrg <li>change line speed from 9600bd to 38400bd, to accommodate people who 5363d522f475Smrg mistakenly use $TERM set to <em>vt100</em>, to reduce the effect of 5364d522f475Smrg padding associated with this terminal type. 5365d522f475Smrg 5366d522f475Smrg <li>add configure script check for IRIX 6.5's redefinition of baud 5367d522f475Smrg rates associated with <code>struct termio</code>, to correct a 5368d522f475Smrg situation where the baud rate was initialized to zero (reported by 5369d522f475Smrg Andrew Isaacson <adi@lcse.umn.edu>). 5370d522f475Smrg 5371d522f475Smrg <li>remove unused configure script check for VDISABLE. 5372d522f475Smrg</ul> 5373d522f475Smrg 5374d522f475Smrg<H1><A NAME="xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A></H1> 5375d522f475Smrg<ul> 5376d522f475Smrg <li>undo an incorrect change from patch #113 caused the right scrollbar 5377d522f475Smrg to be positioned incorrectly when re-enabling it (analysis by 5378d522f475Smrg D Roland Walker). 5379d522f475Smrg 5380d522f475Smrg <li>add ctrlFKeys resource, replacing constant for adjusting 5381d522f475Smrg control-F1 to control-F12 to VT220-style F10-F20. The resource 5382d522f475Smrg changes the constant 12 to a default value of 10 (request by 5383d522f475Smrg Jim Knoble <jmknoble@pobox.com>). 5384d522f475Smrg 5385d522f475Smrg <li>correct ifdef'ing for conflict between definitions in AIX's 5386d522f475Smrg <sys/select.h> and <X11/Xpoll.h> (reported by Clint 5387d522f475Smrg Olsen). 5388d522f475Smrg 5389d522f475Smrg <li>add checks for return-values of getutid(), initgroups() and 5390d522f475Smrg setuid() in main.c, as well as modifying ifdef's for __osf__ to 5391d522f475Smrg include tty-group and WTMP logic (adapted from patch by Paul Szabo 5392d522f475Smrg <psz@maths.usyd.edu.au>) 5393d522f475Smrg 5394d522f475Smrg <li>modify resize.c to build and work on os390 (uses EBCDIC) 5395d522f475Smrg (adapted from patch by Phil Sidler <Phil.Sidler@airborne.com>) 5396d522f475Smrg 5397d522f475Smrg <li>use Ires(), Bres() and Sres() macros to simplify resource list in 5398d522f475Smrg charproc.c 5399d522f475Smrg 5400d522f475Smrg <li>resync with XFree86 4.0a: 5401d522f475Smrg <ul> 5402d522f475Smrg <li>correct a typo in os2main.c (Holger Veit, from 4.0a). 5403d522f475Smrg </ul> 5404d522f475Smrg</ul> 5405d522f475Smrg 5406d522f475Smrg<H1><A NAME="xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A></H1> 5407d522f475Smrg<ul> 540820d2c4d2Smrg <li>improve logfile security (integrated patch by Branden Robinson) 5409d522f475Smrg <ul> 5410d522f475Smrg <li>make the <code>creat_as()</code> function more strict by using 5411d522f475Smrg O_EXCL rather than O_APPEND. 5412d522f475Smrg <li>fixes to make DEBUG ifdef's compile/run, including making the 5413d522f475Smrg debug logfile more unique by appending a timestamp to its name. 5414d522f475Smrg <li>include <term.h> in resize.c, to fix a missing-prototype 5415d522f475Smrg warning. 5416d522f475Smrg </ul> 5417d522f475Smrg 5418d522f475Smrg <li>modified <code>creat_as()</code> a little more, retaining the 5419d522f475Smrg ability to append to a logfile If the user specifies the name. 5420d522f475Smrg Also, check if the opened file (which patch #130 ensures is 5421d522f475Smrg owned by the effective user) is not writable by other users. 5422d522f475Smrg 5423d522f475Smrg <li>use <code>creat_as()</code> logic to make tek4014 screen-copy 5424d522f475Smrg more secure (noted by Branden Robinson). 5425d522f475Smrg 5426d522f475Smrg <li>ifdef'd some of Branden's changes to build/work on older machines. 5427d522f475Smrg 5428d522f475Smrg <li>correct missing initialization of the <code>.mode</code> flag in 5429d522f475Smrg <code>ColorRes</code> struct, from patch #129. This worked on Linux 5430d522f475Smrg because <code>malloc()</code> zeroes memory on that platform 5431d522f475Smrg (reported by Christian Weisgerber). 5432d522f475Smrg 5433d522f475Smrg <li>modify logic for <code>deleteIsDEL</code> resource so it has 5434d522f475Smrg internally 3 states: unspecified, true and false. If unspecified, 5435d522f475Smrg the keyboard type determines whether the Delete key transmits 5436d522f475Smrg <code><ESC>[3~</code> or <code>\177</code>, and the popup menu 5437d522f475Smrg entry reflects the internal state. Otherwise, the popup menu entry 5438d522f475Smrg overrides the keyboard type (suggested by Dr Werner Fink, to make it 5439d522f475Smrg simpler to set resources that imitate the legacy X11R6 xterm). 5440d522f475Smrg</ul> 5441d522f475Smrg 5442d522f475Smrg<H1><A NAME="xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A></H1> 5443d522f475Smrg<ul> 5444d522f475Smrg <li>modify <code>scroll-forw()</code> and <code>scroll-back()</code> 5445d522f475Smrg actions, adding a third parameter which will direct xterm to ignore 5446d522f475Smrg the action when mouse reporting is enabled. This is needed for 5447d522f475Smrg the wheel mouse to be used to report to the application rather than 5448d522f475Smrg scroll the window. 5449d522f475Smrg 5450d522f475Smrg <li>add menu entry and action to allow disabling xterm's assumption 5451d522f475Smrg that the current font contains line-drawing characters if the 5452d522f475Smrg font cells 1-31 are nonempty. Some fonts may have other characters 5453d522f475Smrg (reported by Bruno Betro <bruno@iami.mi.cnr.it>). 5454d522f475Smrg 5455d522f475Smrg <li>add a check in <code>creat_as()</code> to ensure that the user 5456d522f475Smrg really owns the logfile that has been opened. 5457d522f475Smrg 5458d522f475Smrg <li>add logic to implement SCO function-keys. (This is really 5459d522f475Smrg incomplete, since I intend to revisit this and make xterm able to 5460d522f475Smrg emulate scoansi better than just the function-keys). 5461d522f475Smrg 5462d522f475Smrg <li>add configure script option --enable-sco-fkeys, minor related fixes 5463d522f475Smrg (patch by Dr Werner Fink). 5464d522f475Smrg 5465d522f475Smrg <li>fix typos in ctlseqs.ms (reported by Bram Moolenaar) 5466d522f475Smrg 5467d522f475Smrg <li>fix typo in sinstall.sh default for $TST_PROG (reported by 5468d522f475Smrg Paul Gilmartin <pg@sweng.stortek.com>) 5469d522f475Smrg</ul> 5470d522f475Smrg 5471d522f475Smrg<H1><A NAME="xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A></H1> 5472d522f475Smrg<ul> 5473d522f475Smrg <li>improve initialization of ANSI colors by delaying allocation until 5474d522f475Smrg each color is first used. 5475d522f475Smrg 5476d522f475Smrg <li>remove ifdef that prevented colorBD/colorUL/colorBL resources from 5477d522f475Smrg working when 256-color configuration was built (reported by 5478d522f475Smrg Todd Larason). 5479d522f475Smrg 5480d522f475Smrg <li>fix some minor inconsistencies in terminfo (Debian #58530). 5481d522f475Smrg</ul> 5482d522f475Smrg 5483d522f475Smrg<H1><A NAME="xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A></H1> 5484d522f475Smrg<ul> 5485d522f475Smrg <li>correct logic for <code>oldXtermFKeys</code> resource, fixes a core 5486d522f475Smrg dump when attempting to set it from the command-line (reported by Dr 5487d522f475Smrg Werner Fink). 5488d522f475Smrg <li>correct ifdef for meta-sends-escap so configure --disable-num-lock 5489d522f475Smrg builds. 5490d522f475Smrg</ul> 5491d522f475Smrg 5492d522f475Smrg<H1><A NAME="xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A></H1> 5493d522f475Smrg<ul> 5494d522f475Smrg <li>add resource, popup menu entry and control sequence to allow 5495d522f475Smrg changing the Delete key to send either DEL or the VT220-style 5496d522f475Smrg Remove escape sequence. 5497d522f475Smrg 5498d522f475Smrg <li>remove logic for metaSendsEscape that would allow xterm to send 5499d522f475Smrg <code><ESC>[3~</code> before a function key that would begin 5500d522f475Smrg with <code><ESC>[3~</code> (request by Christian Weisgerber). 5501d522f475Smrg 5502d522f475Smrg <li>add missing action and documentation for meta-sends-escape. 5503d522f475Smrg 5504d522f475Smrg <li>correct a few typos in ctlseqs.ms (incorrect code for Cyan color) 5505d522f475Smrg</ul> 5506d522f475Smrg 5507d522f475Smrg<H1><A NAME="xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A></H1> 5508d522f475Smrg<ul> 550920d2c4d2Smrg <li>ensure that xterm will automatically activate the UTF-8 mode whenever 5510d522f475Smrg the name of the locale environment variable suggests that a UTF-8 551120d2c4d2Smrg locale is in use (patch by Markus Kuhn). 551220d2c4d2Smrg This will help that by simply setting LC_CTYPE an 5513d522f475Smrg entire system can be switched over to UTF-8, without users having to 5514d522f475Smrg remember the UTF-8 command line options ("-u8", etc.) of the various 5515d522f475Smrg applications. Command line options and X resource entries can still 5516d522f475Smrg be used to override this default choice. 5517d522f475Smrg 5518d522f475Smrg <li>add old function-keys control sequences and popup menu entry, for 5519d522f475Smrg compatibility with legacy X11R6 xterm. 5520d522f475Smrg 5521d522f475Smrg <li>revert translation of editing keypad "Delete" key to legacy \177. 5522d522f475Smrg 5523d522f475Smrg <li>simplify the color-resource data expressions with macro COLOR_RES, 5524d522f475Smrg for later use in restructuring color initialization. 5525d522f475Smrg 5526d522f475Smrg <li>change encoding of wheel mouse (buttons 4 and 5) to avoid conflict 5527d522f475Smrg with legacy mouse modifiers (suggested by Bram Moolenaar). 5528d522f475Smrg</ul> 5529d522f475Smrg 5530d522f475Smrg<H1><A NAME="xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A></H1> 5531d522f475Smrg<ul> 553220d2c4d2Smrg <li>make this work on OpenVMS 553320d2c4d2Smrg (integrated patch by David Mathog). 5534d522f475Smrg 5535d522f475Smrg <li>rename some functions, e.g., <code>Index</code> to 5536d522f475Smrg <code>xtermIndex</code> so that ports such as VMS which link 5537d522f475Smrg externals ignoring case will not have library conflicts (reported by 5538d522f475Smrg David Mathog). 5539d522f475Smrg 5540d522f475Smrg <li>correct logic of <code>do_reversevideo()</code>, which did not 5541d522f475Smrg update the corresponding popup menu check mark (reported by David 5542d522f475Smrg Mathog, this was a detail overlooked in patch #94). 5543d522f475Smrg 5544d522f475Smrg <li>change TRACE macro so semicolon is not within definition, making 5545d522f475Smrg <em>indent</em> and similar programs work better. 5546d522f475Smrg 5547d522f475Smrg <li>add <code>depend</code> rule to Makefile.in 5548d522f475Smrg 5549d522f475Smrg <li>modify logic of boldColors resource to suppress it if an extended 5550d522f475Smrg color control has been used, e.g., for 88-color or 256-color mode 5551d522f475Smrg (patch by Todd Larason). 5552d522f475Smrg 5553d522f475Smrg <li>revise logic that handles menus and input translation for keyboard 5554d522f475Smrg type so only one can be selected at a time. 5555d522f475Smrg 5556d522f475Smrg <li>restore kdch1=\177 for the Sun function-key type, and make the 5557d522f475Smrg the Delete key send DEL (\177) if the oldXtermFKeys resource is set. 5558d522f475Smrg 5559d522f475Smrg <li>rephrase logic and ifdef's for POSIX VDISABLE to avoid preprocessor 5560d522f475Smrg expression that will not compile on NetBSD/x86 1.4.1 (reported by 5561d522f475Smrg Takaaki Nomura <amadeus@yk.rim.or.jp>). 5562d522f475Smrg 5563d522f475Smrg</ul> 5564d522f475Smrg 5565d522f475Smrg<H1><A NAME="xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A></H1> 5566d522f475Smrg<ul> 5567d522f475Smrg <li>change coding of editing keypad's "Delete" key to 5568d522f475Smrg <escape>[3~, in the default (Sun/PC) keyboard mode. 5569d522f475Smrg This makes the terminfo kdch1 capability independent of the 5570d522f475Smrg coding of the backarrow key, which sends either backspace (8) 5571d522f475Smrg or DEL (127). The reason for doing this (compatibility with 5572d522f475Smrg the <em>screen</em> program) outweighs the choice of DEL (127) 5573d522f475Smrg which was used in X11R5/X11R6 xterms. The <em>screen</em> 5574d522f475Smrg program translates whatever matches kdch1 into <escape>[3~, 5575d522f475Smrg even if it happens to be the stty erase character. 5576d522f475Smrg 5577d522f475Smrg <li>add encoding for control/?, to work around xmodmap or key 5578d522f475Smrg translations which may confuse backspace and delete. A control/? 5579d522f475Smrg will send DEL (127), and a control/H will of course send backspace 5580d522f475Smrg (8). 5581d522f475Smrg 5582d522f475Smrg <li>add encoding for kcbt to <escape>[Z (fixes Debian #54840). 5583d522f475Smrg 5584d522f475Smrg <li>minor correction to logic that encodes Sun and DEC function keys 5585d522f475Smrg to avoid sending an escape sequence if the key symbol is not found 5586d522f475Smrg in xterm's lookup table. 5587d522f475Smrg 5588d522f475Smrg <li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern 5589d522f475Smrg is more likely to be implemented when <em>imake</em> configures xterm 5590d522f475Smrg (fixes Debian #55105). 5591d522f475Smrg 5592d522f475Smrg <li>change manpage to make it clearer what codes are sent by the 5593d522f475Smrg backarrow key. 5594d522f475Smrg</ul> 5595d522f475Smrg 5596d522f475Smrg<H1><A NAME="xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A></H1> 5597d522f475Smrg<ul> 5598d522f475Smrg <li>add a note reserving OSC 51 for use in Emacs shell (request by 5599d522f475Smrg Rob Mayoff <mayoff@dqd.com>). 5600d522f475Smrg 5601d522f475Smrg <li>correct a missing backslash in xterm-vt220 termcap. 5602d522f475Smrg 5603d522f475Smrg <li>cleanup remaining quoted includes, preferring bracketed form. 5604d522f475Smrg 5605d522f475Smrg <li>minor configure-script macro updates from tin and vile. 5606d522f475Smrg 5607d522f475Smrg <li>add configure-script option for using utempter library, adapted 5608d522f475Smrg from Redhat 6.1 patch for XFree86 3.3.5 5609d522f475Smrg 5610d522f475Smrg <li>resync with XFree86 3.9.17a: 5611d522f475Smrg <ul> 5612d522f475Smrg <li>correction to QNX support (Frank Guangxin Liu) 5613d522f475Smrg <li>some cosmetic changes that did not correct any reported problems. 5614d522f475Smrg </ul> 5615d522f475Smrg</ul> 5616d522f475Smrg 5617d522f475Smrg<H1><A NAME="xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A></H1> 5618d522f475Smrg<ul> 5619d522f475Smrg <li>move the suggested wheel-mouse button translations into charproc.c 5620d522f475Smrg to simplify customization. Correct some minor logic errors in the 5621d522f475Smrg support for buttons 4 and 5, used for wheel mice (reported by 5622d522f475Smrg Bram Moolenaar). 5623d522f475Smrg 5624d522f475Smrg <li>implement <em>metaSendsEscape</em> resource, with corresponding 5625d522f475Smrg control sequence and menu entry. Like <em>eightBitInput</em>, this 5626d522f475Smrg causes xterm to send ESC prefixing the given key, but applies to 5627d522f475Smrg all keys and is independent of the 8-bit/7-bit terminal setting. 5628d522f475Smrg (requests by Alexander V Lukyanov and Marc Feeley). 5629d522f475Smrg 5630d522f475Smrg <li>correct potential indexing with negative subscript in udk_lookup(), 5631d522f475Smrg (reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>). 5632d522f475Smrg 5633d522f475Smrg <li>modify configure script that sets TERMINFO_DIR to use ${prefix} 5634d522f475Smrg rather than /usr if the --prefix option was specified (request by 5635d522f475Smrg Zdenek Sekera <zs@sgi.com>). 5636d522f475Smrg 5637d522f475Smrg <li>modify checks for repeat-character control sequence to test the 5638d522f475Smrg character class against xterm's state table, rather than the 5639d522f475Smrg isprint() macro (patch by Alexander V Lukyanov). 5640d522f475Smrg 5641d522f475Smrg <li>change several functions to macros to improve speed 5642d522f475Smrg 5643d522f475Smrg <li>two corrections to simulation of bold font via overstriking: 5644d522f475Smrg <ul> 5645d522f475Smrg <li>use clipping to avoid leaving trash at end of the text, and 5646d522f475Smrg <li>add brackets so wide-character logic does not fall-through 5647d522f475Smrg into the overstriking logic (reported by 5648d522f475Smrg Marc Feeley <feeley@IRO.UMontreal.CA>) 5649d522f475Smrg </ul> 5650d522f475Smrg 5651d522f475Smrg <li>add several entries to termcap file to make it have the same set 5652d522f475Smrg of aliases as the terminfo file. 5653d522f475Smrg 5654d522f475Smrg <li>scale the color values used for xterm-256color terminfo entry to 5655d522f475Smrg 0..1000, as expected by ncurses. 5656d522f475Smrg 5657d522f475Smrg <li>change xterm-r6 terminfo definitions for F1-F4 to match program. 5658d522f475Smrg 5659d522f475Smrg <li>Add QNX/Neutrino support (Frank Guangxin Liu 5660d522f475Smrg <frank@ctcqnx4.ctc.cummins.com>) 5661d522f475Smrg</ul> 5662d522f475Smrg<H1><A NAME="xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A></H1> 5663d522f475Smrg<ul> 5664d522f475Smrg <li>change label on "Sun/PC Keyboard" popup menu entry to "VT220 5665d522f475Smrg Keyboard", since the checked state corresponds to VT220 rather than 5666d522f475Smrg Sun/PC. 5667d522f475Smrg 5668d522f475Smrg <li>add configure test CF_UTMP_UT_XSTATUS to handle the variants of 5669d522f475Smrg utmp exit status (reports by Dave Ellement, Jeremie Petit, Tomas 5670d522f475Smrg Vanhala). 5671d522f475Smrg 5672d522f475Smrg <li>amend treatment of ALT key 5673d522f475Smrg (see <a href="#xterm_94">patch #94</a>) so that if ALT is used 5674d522f475Smrg as a modifier in key translations, then no parameter will be sent 5675d522f475Smrg in escape sequences for Sun/PC function keys (request by Dr Werner Fink). 5676d522f475Smrg 5677d522f475Smrg <li>modify default for OPT_I18N_SUPPORT to assume that 5678d522f475Smrg <code>XtSetLanguageProc()</code> is available in X11R5. 5679d522f475Smrg <p> 5680d522f475Smrg Caveat: <code>XtSetLanguageProc()</code> was 5681d522f475Smrg added fairly late in the X11R5 patches, and some vendors shipped 5682d522f475Smrg buggy versions of this function (request by Tomas Vanhala). 5683d522f475Smrg 5684d522f475Smrg <li>correct configure macro CF_SYSV_UTMP to test-link with functions 5685d522f475Smrg consistent with the header, e.g., getutent() for utmp.h and 5686d522f475Smrg getutxent() for utmpx.h (reported by Greg Smith). 5687d522f475Smrg 5688d522f475Smrg <li>modify terminfo entry for <code>xterm-xfree86</code> to reflect 5689d522f475Smrg modifiers for shift and control which (from a patch by Alexander V 5690d522f475Smrg Lukyanov). 5691d522f475Smrg 5692d522f475Smrg <li>modify terminfo entry for <code>xterm-sun</code> to match the 5693d522f475Smrg function-key definitions in ncurses. The pageup/pagedown and 5694d522f475Smrg related function keys correspond to the Sun keyboard, which does 5695d522f475Smrg not necessarily correspond with X's notion of those keys. 5696d522f475Smrg 5697d522f475Smrg <li>modify treatment of XK_Delete keysym so it transmits parameterized 5698d522f475Smrg VT220-style <code><ESC>[3~</code> if modifiers (shift, control 5699d522f475Smrg alt) are given (request by Alexander V Lukyanov). 5700d522f475Smrg 5701d522f475Smrg <li>corrected misspelled resource name in command-line option for 5702d522f475Smrg HP function keys. 5703d522f475Smrg</ul> 5704d522f475Smrg 5705d522f475Smrg<H1><A NAME="xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A></H1> 5706d522f475Smrg<ul> 5707d522f475Smrg <li>refine the change to <code>SGR_Background()</code> in patch #119, 5708d522f475Smrg by not flushing the pending scrolling operation if the background 5709d522f475Smrg color is not actually changing. This combination occurs when using 5710d522f475Smrg color-ls to display a long listing, since each line ends with an SGR0 5711d522f475Smrg which affects only the foreground color. The unnecessary flushing 5712d522f475Smrg made it noticeably slower (reported by D Roland Walker 5713d522f475Smrg <walker@pobox.com>). 5714d522f475Smrg 5715d522f475Smrg <li>remove obsolete documentation about modifiers which can be returned 5716d522f475Smrg in mouse tracking mode, and modify logic to ignore modifiers other 5717d522f475Smrg than the existing ones, e.g., NumLock (prompted by discussions with 5718d522f475Smrg Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>). 5719d522f475Smrg 5720d522f475Smrg <li>use free bit from obsolete shift-modifier coding of mouse tracking 5721d522f475Smrg button events to encode buttons 4 and 5, e.g., for a wheel mouse 5722d522f475Smrg (requests by Brad Pepers and Bram Moolenaar). 5723d522f475Smrg 5724d522f475Smrg <li>correct a place where the ptyInitialErase logic did not set the 5725d522f475Smrg backarrowKey state, and modify it further to use tgetstr() rather 5726d522f475Smrg than parse the termcap data returned from tgetent() so the 5727d522f475Smrg ptyInitialErase logic will work when xterm is linked with a terminfo 5728d522f475Smrg library (based on a patch by Dr Werner Fink <werner@suse.de>). 5729d522f475Smrg 573020d2c4d2Smrg <li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration 573120d2c4d2Smrg (patch by Michael Rohleder). 5732d522f475Smrg 5733d522f475Smrg <li>improve configure script's utmp tests (based on reports by Greg 5734d522f475Smrg Smith for os390, and David Ellement for HPUX). 5735d522f475Smrg 5736d522f475Smrg <li>modify sinstall.sh to use uid=0 rather than 'root' to determine if 5737d522f475Smrg the installer is privileged. This is needed on some systems since 5738d522f475Smrg more than one account may be privileged (report by Greg Smith). 5739d522f475Smrg 5740d522f475Smrg <li>add an application resource, <code>messages</code> (and a 5741d522f475Smrg corresponding -/+mesg option) which controls the initial permission 5742d522f475Smrg on the terminal: if messages is set to true (the default), behavior 5743d522f475Smrg is as without the patch; if it is set to false (as per -mesg), the 5744d522f475Smrg terminal is opened in mode 0600, thus producing the effect of the 5745d522f475Smrg <code>mesg n</code> command. This is useful for users who want to 5746d522f475Smrg redirect all their messages to one particular xterm: it is more 5747d522f475Smrg pleasant to do this with xterm resources than with explicit calls to 5748d522f475Smrg the <code>mesg</code> program (patch, description by David Madore 5749d522f475Smrg <david.madore@ens.fr>). 5750d522f475Smrg</ul> 5751d522f475Smrg 5752d522f475Smrg<H1><A NAME="xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A></H1> 5753d522f475Smrg<ul> 5754d522f475Smrg <li>add responses (DA and DSR) for DEC locator mode 5755d522f475Smrg 5756d522f475Smrg <li>add coding for ANSI color to DA response 5757d522f475Smrg 5758d522f475Smrg <li>implement UTF-8 translation for Media Copy (print) operations. 5759d522f475Smrg 5760d522f475Smrg <li>implement vt320 control sequences for Print Composed Main Display 5761d522f475Smrg and for Print All Pages. The latter directs xterm to print the 5762d522f475Smrg current screen as well as the scrollback buffer. 5763d522f475Smrg 5764d522f475Smrg <li>correct error in _GNU_SOURCE configure test, which left it always 5765d522f475Smrg defined. 5766d522f475Smrg 5767d522f475Smrg <li>add more information, i.e., with strerror for some system calls in 5768d522f475Smrg the main program which may fail due to insufficient permissions 5769d522f475Smrg (prompted by a problem report for <code>-C</code> by Jeremie Petit 5770d522f475Smrg <Jeremie.Petit@digital.com>). 5771d522f475Smrg 5772d522f475Smrg <li>add workaround for conflict between <X11/Xpoll.h> and 5773d522f475Smrg <sys/select.h> on AIX 4.3 (Richard Griswold 5774d522f475Smrg <griswold@acm.org>). 5775d522f475Smrg 5776d522f475Smrg <li>add configure script test to resolve conflict between between 5777d522f475Smrg <X11/Xpoll.h> and <sys/select.h> 5778d522f475Smrg 5779d522f475Smrg <li>modify translation of UTF-8 sequences to reject "overly long" 5780d522f475Smrg variations (patch by Markus Kuhn). 5781d522f475Smrg 5782d522f475Smrg <li>remove <code>utf8controls</code> resource, since Markus' change 5783d522f475Smrg removes the corresponding logic. 5784d522f475Smrg 5785d522f475Smrg <li>correct a case where colors were not rendered properly. This 5786d522f475Smrg happened when an application inserted several lines, then changed 5787d522f475Smrg colors. If this was done all in one write, then there would be no 5788d522f475Smrg intervening refresh, and the new color was applied to the pending 5789d522f475Smrg scrolling operation which was awaiting the next refresh (reported 5790d522f475Smrg by Stephane Chazelas <Stephane_Chazelas@Raytheon.com>). 5791d522f475Smrg 5792d522f475Smrg</ul> 5793d522f475Smrg 5794d522f475Smrg<H1><A NAME="xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A></H1> 5795d522f475Smrg<ul> 5796d522f475Smrg <li>refine configure test for utmp versus utmpx, to build on HP-UX 10.x 5797d522f475Smrg (reported by David Ellement). 5798d522f475Smrg 5799d522f475Smrg <li>move the configure check for <code>const</code> after the check 5800d522f475Smrg for ANSI C compiler options, since those may be required to make 5801d522f475Smrg it work properly on HP-UX. 5802d522f475Smrg 5803d522f475Smrg <li>add configure test for defining <code>_GNU_SOURCE</code> 5804d522f475Smrg 5805d522f475Smrg <li>correction to <em>-hold</em> option, ensure that if data is already 5806d522f475Smrg in the output buffer that it will be displayed before closing the 5807d522f475Smrg PTY. 5808d522f475Smrg 5809d522f475Smrg <li>move the configure checks for setuid install of xterm into a script 5810d522f475Smrg to avoid installing it setuid'd to a non-root user (reported by 5811d522f475Smrg Adam Sulmicki <adam@cfar.umd.edu>). 5812d522f475Smrg 5813d522f475Smrg <li>correct configure script's check for termcap.h to avoid using 5814d522f475Smrg ncurses' version of it on systems that have a working 5815d522f475Smrg <code>tgetent()</code> function. This is needed to make 5816d522f475Smrg <code>resize</code> work properly. 5817d522f475Smrg 5818d522f475Smrg <li>fix some typography in ctlseqs.ms description of DEC locator events 5819d522f475Smrg (reported by Steve Wall). 5820d522f475Smrg</ul> 5821d522f475Smrg 5822d522f475Smrg<H1><A NAME="xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A></H1> 5823d522f475Smrg<ul> 5824d522f475Smrg <li>change order of tests in configure script for utmp and utmpx 5825d522f475Smrg to test utmpx first, to compile on Solaris (reported by 5826d522f475Smrg Leena Heino <liinu@uta.fi> 5827d522f475Smrg and Patrik Hagglund <patha@ida.liu.se>). 5828d522f475Smrg 5829d522f475Smrg <li>add a configure test for utmp.ut_xtime, needed for SCO Openserver, 5830d522f475Smrg and for lastlog, needed for Redhat 6.0, to refine the utmp/utmpx 5831d522f475Smrg auto-configure. 5832d522f475Smrg 5833d522f475Smrg <li>remove a spurious comma in an #undef (reported by 5834d522f475Smrg David Green <greendjf@cvhp152.marconicomms.com> and 5835d522f475Smrg David Ellement <ellement@sdd.hp.com> both on HP-UX, whose 5836d522f475Smrg compiler does care about syntax). 5837d522f475Smrg 5838d522f475Smrg <li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported by Suhaib 5839d522f475Smrg M. Siddiqi <Ssiddiqi@InspirePharm.Com>, who is told that the 5840d522f475Smrg next Cygnus release will drop that symbol in their next release). 5841d522f475Smrg 5842d522f475Smrg <li>minor cleanup of ifdef's for makeColorPair (patch by Steve Wall). 5843d522f475Smrg 584420d2c4d2Smrg <li>work around problem observed in XFree86 3.3.5 584520d2c4d2Smrg (patch by Alexander V Lukyanov, Mozilla #5419). 584620d2c4d2Smrg From the problem report: 5847d522f475Smrg <blockquote> 5848d522f475Smrg xterm consumes cpu when selecting text with mouse (holding 5849d522f475Smrg down left mouse button) and when a program working under the 5850d522f475Smrg xterm outputs something to stdout. 5851d522f475Smrg <p> 5852d522f475Smrg Easy way to reproduce:<br> 5853d522f475Smrg <code>while :; do echo aaa; sleep 1; done</code><br> 5854d522f475Smrg (while this runs, select text and hold down left mouse button) 5855d522f475Smrg watch cpu load.<br> 5856d522f475Smrg release left mouse button - spinning stops. 5857d522f475Smrg </blockquote> 5858d522f475Smrg</ul> 5859d522f475Smrg 5860d522f475Smrg<H1><A NAME="xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A></H1> 5861d522f475Smrg<ul> 5862d522f475Smrg <li>modify warning if change-ownership of PTY fails; some 5863d522f475Smrg configurations may not happen to have old-style pty's (reported by 5864d522f475Smrg Bob Maynard). 5865d522f475Smrg 5866d522f475Smrg <li>improve check in configure script for group ownership of installed 5867d522f475Smrg xterm; some platforms use the -g option of ls to toggle group off 5868d522f475Smrg rather than on (reported by Greg Smith). 5869d522f475Smrg 5870d522f475Smrg <li>minor improvement to toolbar geometry, to make it not resizable. 5871d522f475Smrg This still is not satisfactory (but is usable) since the toolbar 5872d522f475Smrg overlaps the xterm widget if the window is resized to make it 5873d522f475Smrg smaller. It appears that some work is needed for the xterm widget's 5874d522f475Smrg geometry management to make it function properly. 5875d522f475Smrg 5876d522f475Smrg <li>implement configure script tests for utmp, tty group. 5877d522f475Smrg 5878d522f475Smrg <li>implement <em>-hold</em> option, allowing users to retain the 5879d522f475Smrg window after a shell has exited (this is recently an FAQ, but 5880d522f475Smrg prompted by a comment by Joachim Plaettner-Hochwarth 5881d522f475Smrg <plaettner@aem.umn.edu> in comp.unix.programmer, that the IRIX 5882d522f475Smrg winterm provides this option). 5883d522f475Smrg 588420d2c4d2Smrg <li>add support for DEC Locator control sequences for xterm 588520d2c4d2Smrg (integrated patch by Steve Wall): 5886d522f475Smrg <pre> 5887d522f475Smrg 588820d2c4d2Smrg DECEFR, "Enable Filter Rectangle" 588920d2c4d2Smrg DECELR, "Enable Locator Reports" 589020d2c4d2Smrg DECSLE, "Select Locator Events" 589120d2c4d2Smrg DECRQLP, "Request Locator Position" 5892d522f475Smrg </pre> 5893d522f475Smrg This allows the xterm mouse to be used with applications that use the 5894d522f475Smrg DEC Locator sequences, such as VAX Tpu, or SMG$ based applications. 5895d522f475Smrg 589620d2c4d2Smrg <li>improve print action (patch by Matthias Baake). From his notes, 5897d522f475Smrg <ul> 589820d2c4d2Smrg <li>Bug 1<br> 589920d2c4d2Smrg Underlined text is preceded by ESC [0;2m . This should be ESC [0;4m , 590020d2c4d2Smrg ESC [2m doesn't seem to have any effect. (print.c/send_SGR) 5901d522f475Smrg 590220d2c4d2Smrg <li>Bug 2<br> 5903d522f475Smrg The check for the last non-empty column (while (last > 0) ... in 5904d522f475Smrg print.c/printLine) omits the rightmost column of the screen, the loop must 5905d522f475Smrg start with last = screen->max_col+1 instead of last = screen->max_col. 5906d522f475Smrg 590720d2c4d2Smrg <li>Bug 3<br> 5908d522f475Smrg Any attributes of the first character (and of all immediately following 5909d522f475Smrg characters with the same attributes) are ignored. The variable attr 5910d522f475Smrg (print.c/printLine) should be initialized with 0, not with *a & SGR_MASK. 5911d522f475Smrg </ul> 5912d522f475Smrg</ul> 5913d522f475Smrg 5914d522f475Smrg<H1><A NAME="xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A></H1> 5915d522f475Smrg<ul> 5916d522f475Smrg <li>integrated changes by Steve Wall to implement an 88-color model 5917d522f475Smrg for systems where 256-colors cannot be allocated. 5918d522f475Smrg 5919d522f475Smrg <li>when 256-color configuration is compiled, colored bold and 5920d522f475Smrg underlining is not available; ifdef'd to avoid possible odd effects 5921d522f475Smrg in this case (reported by Steve Wall). 5922d522f475Smrg 5923d522f475Smrg <li>add resource <em>cacheDoublesize</em>, to limit the caching of font 5924d522f475Smrg information for double-sized characters. This addresses a problem 5925d522f475Smrg reported by Aryeh Koenigsberg for X terminals with limited font 5926d522f475Smrg memory. 5927d522f475Smrg 5928d522f475Smrg <li>modify treatment of line-drawing characters in UTF-8 mode so that 5929d522f475Smrg the Unicode values are used rather than the C0 codes for storing the 5930d522f475Smrg translated characters (request by Markus Kuhn). 5931d522f475Smrg</ul> 5932d522f475Smrg 5933d522f475Smrg<H1><A NAME="xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A></H1> 5934d522f475Smrg<ul> 5935d522f475Smrg 5936d522f475Smrg <li>add configure script checks for Athena headers and libraries under 5937d522f475Smrg /usr/contrib to work on HPUX (reported by several people: 5938d522f475Smrg David Nixon <djn@csc.liv.ac.uk> 5939d522f475Smrg Aryeh Koenigsberg <aryeh.koenigsberg@telrad.co.il> 5940d522f475Smrg Johannes Mähner <johanm@camline.com> 5941d522f475Smrg Andrew Gaylard <andrew.gaylard@bsw.co.za>). 5942d522f475Smrg 5943d522f475Smrg <li>add check to configure script if xterm is installed setgid rather 5944d522f475Smrg than setuid, since wtmp and utmp may be installed with group-writable 5945d522f475Smrg permissions other than root (based on Debian bug report #7112 by Bo 5946d522f475Smrg Branten <bosse@ing.umu.se>). 5947d522f475Smrg 5948d522f475Smrg <li>rewrote logic that removes data from termcap entry, e.g., for 5949d522f475Smrg titeInhibit, to make it less likely to remove the wrong data. 5950d522f475Smrg 5951d522f475Smrg <li>correct logic which checks for missing characters used for line 5952d522f475Smrg drawing. The 0 character was tested unnecessarily, leading to 5953d522f475Smrg some inefficiency when rendering. 5954d522f475Smrg 5955d522f475Smrg <li>change termcap capability which is used as input or output of 5956d522f475Smrg ptyInitialErase logic from <em>kD</em> to <em>kb</em>. 5957d522f475Smrg Christian Weisgerber <naddy@mips.rhein-neckar.de> pointed out 5958d522f475Smrg in effect that <em>kD</em> (in terminfo <em>kdch1</em>) should 5959d522f475Smrg correspond to the control sequence for <em>dch1</em>, which deletes 5960d522f475Smrg from the current position toward the right. 5961d522f475Smrg 5962d522f475Smrg <li>check for failure to change ownership of the PTY device and warn 5963d522f475Smrg when xterm is running setuid'd to root. This was reported to happen 5964d522f475Smrg on the FreeBSD/NetBSD/OpenBSD systems as a result of the chflags() 5965d522f475Smrg call. 5966d522f475Smrg 5967d522f475Smrg <li>add xterm-noapp terminfo entry to illustate a nominally 5968d522f475Smrg bash-compatible terminal description. 5969d522f475Smrg</ul> 5970d522f475Smrg 5971d522f475Smrg<H1><A NAME="xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A></H1> 5972d522f475SmrgSeveral fixes. The main one is a first draft of pulldown menus. It's not 5973d522f475Smrgcomplete (I have some minor/annoying geometry problems to correct), but is 5974d522f475Smrgusable. Once it's complete I plan to add a menu to support additional 5975d522f475Smrgselections that won't fit on the current popup menus. Also, this fits into my 5976d522f475Smrglongterm plan to allow configuring with Motif libraries. 5977d522f475Smrg 5978d522f475Smrg<ul> 5979d522f475Smrg <li>correct error in input conversion for NRC mode (reported by 5980d522f475Smrg Stefan Traby <stefan@sime.com>). 5981d522f475Smrg 5982d522f475Smrg <li>fix initialization of num_lock data in Misc struct (since those 5983d522f475Smrg fields of the reference widget aren't initialized), and add logic to 5984d522f475Smrg deal with XVision whose NumLock key does not transmit but does alter 5985d522f475Smrg keypad state. 5986d522f475Smrg 5987d522f475Smrg <li>correct a missing return-value in get_pty(), for SCO 5988d522f475Smrg 598920d2c4d2Smrg <li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br> 5990d522f475Smrg #define VAL_INITIAL_ERASE A2E(127) 5991d522f475Smrg 5992d522f475Smrg <li>correct foreground color within cursor outline when the 5993d522f475Smrg window is unfocused (reported by Stephane Chazelas). 5994d522f475Smrg 5995d522f475Smrg <li>corrected position of scrollbar set in ResizeScrollBar(), which 5996d522f475Smrg left it positioned incorrectly if the right scrollbar were enabled 5997d522f475Smrg from the popup menu but was not initially enabled. 5998d522f475Smrg 5999d522f475Smrg <p> 6000d522f475Smrg I have noticed some additional problems with right-scrollbar on 6001d522f475Smrg X11R5 which I will correct later. 6002d522f475Smrg 6003d522f475Smrg <li>integrate changes by Jean-Claude Michot for QNX from XFree86 3.3.4c 6004d522f475Smrg 6005d522f475Smrg <li>add resources menuBar/MenuBar, menuHeight/MenuHeight for later 6006d522f475Smrg use in toolbar geometry. 6007d522f475Smrg 6008d522f475Smrg <li>add configure option --enable-toolbar 6009d522f475Smrg 6010d522f475Smrg <li>add missing definition to make ziconbeep logic not compile-in when 6011d522f475Smrg configure script disables it. 6012d522f475Smrg 6013d522f475Smrg <li>add configure-check for input-method support in X libraries 6014d522f475Smrg</ul> 6015d522f475Smrg 6016d522f475Smrg<H1><A NAME="xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A></H1> 6017d522f475Smrg<ul> 6018d522f475Smrg <li>add null-pointer check to FlushLog(), fixes a core dump when both 6019d522f475Smrg -l and -lf options are used when xterm is configured with wide-character 6020d522f475Smrg support. 6021d522f475Smrg 6022d522f475Smrg <li>remove "ISO" case for SD, which was due to a typographical error in 6023d522f475Smrg ECMA-48 (reported by Paul Williams <paul@celigne.co.uk> for 6024d522f475Smrg vttest). 6025d522f475Smrg 6026d522f475Smrg <li>add "FILES" section to manpage. 6027d522f475Smrg 6028d522f475Smrg <li>generate header file to initialize default resources for colors 6029d522f475Smrg 16-255. 6030d522f475Smrg 603120d2c4d2Smrg <li>fixes for os390 (Greg Smith): 6032d522f475Smrg <ul> 6033d522f475Smrg <li>add README.os390 6034d522f475Smrg 6035d522f475Smrg <li>use the pty_search() function to find an available pty/tty pair. 6036d522f475Smrg 6037d522f475Smrg <li>move E2A() call out of getXtermCell() to SaveText() function 6038d522f475Smrg so it will be available in all configurations. 6039d522f475Smrg </ul> 6040d522f475Smrg 6041d522f475Smrg <li>patches by Todd Larason: 6042d522f475Smrg <ul> 6043d522f475Smrg <li>enable SGR 48 5 in ISO color mode, not just 256 color mode 6044d522f475Smrg 6045d522f475Smrg <li>change configure's --disable-256-color option to 6046d522f475Smrg --enable-256-color, to match its effect 6047d522f475Smrg 6048d522f475Smrg <li>fix OSC 4 xx ? (report ansi color) to report a string which can 6049d522f475Smrg actually be used to set the color back 6050d522f475Smrg 6051d522f475Smrg <li>fix OSC 4 xx yy (change ansi color) to not allow setting colors > 6052d522f475Smrg 15 in 16 color mode 6053d522f475Smrg 6054d522f475Smrg <li>simplify the COLOR_ settings a bit in ptyx.h, along with setting 6055d522f475Smrg NUM_ANSI_COLORS needed for #1 and #4 above 6056d522f475Smrg 6057d522f475Smrg <li>correct string-terminator code passed for reference to OSC 6058d522f475Smrg responses; when in 7-bit mode, only the final byte of ST was seen. 6059d522f475Smrg 6060d522f475Smrg <li>Allow multiple color #;name pairs in OSC 4, 6061d522f475Smrg and document changes to match. 6062d522f475Smrg </ul> 6063d522f475Smrg</ul> 6064d522f475Smrg 6065d522f475Smrg<H1><A NAME="xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A></H1> 6066d522f475Smrg<ul> 6067d522f475Smrg <li>add control sequences for specifying the RGB value of the ANSI 6068d522f475Smrg colors, and for configuring with 256 colors (patch by Todd Larason 6069d522f475Smrg <jtl@molehill.org>). I made the default configuration to 6070d522f475Smrg 16-colors, because xterm uses the default color map (which has only 6071d522f475Smrg 256 colors). 6072d522f475Smrg 6073d522f475Smrg <li>correct an error in DCS $ q m reporting for colors 8-15 (Todd 6074d522f475Smrg Larason). 6075d522f475Smrg 6076d522f475Smrg <li>add test/demo script for double size characters. Used this to 6077d522f475Smrg test/correct display of double size characters that should wrap, 6078d522f475Smrg underlined double size characters. 6079d522f475Smrg 6080d522f475Smrg <li>increased cache size for double size fonts to 8, to allow for both 608120d2c4d2Smrg normal and bold fonts (discussion with Aryeh Koenigsberg 6082d522f475Smrg <aryeh.koenigsberg@telrad.co.il>). 6083d522f475Smrg 608420d2c4d2Smrg <li>add fixes for port to OS390 aka MVS 608520d2c4d2Smrg (integrated patch from Greg Smith <rys@epaibm.rtpnc.epa.gov>). 608620d2c4d2Smrg OS390 uses EBCDIC rather than ASCII. 6087d522f475Smrg 6088d522f475Smrg <li>correct an off-by-one in binary search limits in keysym2ucs.c (Markus 6089d522f475Smrg Kuhn). 6090d522f475Smrg 6091d522f475Smrg <li>implement logging for UTF-8 mode. The output is written in UTF-8 form. 6092d522f475Smrg</ul> 6093d522f475Smrg 6094d522f475Smrg<H1><A NAME="xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A></H1> 6095d522f475Smrg<ul> 6096d522f475Smrg <li>If colorMode is enabled by default, compile-in default resources to 6097d522f475Smrg match the colors listed in XTerm-col.ad (this should fix a 6098d522f475Smrg longstanding FAQ). 6099d522f475Smrg 6100d522f475Smrg <li>added new OSC 3 ; PROPNAME=VALUE ST escape 6101d522f475Smrg sequence to set an arbitrary X property on the top level xterm X11 6102d522f475Smrg window. Omit "=VALUE" to delete the X property (patch by Greg Badros 6103d522f475Smrg <gjb@cs.washington.edu>). 6104d522f475Smrg 6105d522f475Smrg <li>change internal flag used for <em>utf8controls</em> resource 6106d522f475Smrg so we allow 31-bit range of characters (suggested by Thomas Wolff). 6107d522f475Smrg 6108d522f475Smrg <li>add check for 16-bit characters in OSC strings, change them to '?' 6109d522f475Smrg (reported by Thomas Wolff). 6110d522f475Smrg 6111d522f475Smrg <li>modify logic of same_font_name() to avoid trying to interpret both 6112d522f475Smrg parameters as wildcard patterns. That does not (cannot) work, and in 6113d522f475Smrg some instances the font server will return unresolved wildcards for 6114d522f475Smrg the normal or bold fontnames, making them match inadvertently, 6115d522f475Smrg triggering the fallback overstrike logic (reported by Tim Adye). 6116d522f475Smrg</ul> 6117d522f475Smrg 6118d522f475Smrg<H1><A NAME="xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A></H1> 6119d522f475Smrg<ul> 6120d522f475Smrg <li>correct range-check from patch #108, which resulted in not being 6121d522f475Smrg able to select from the scrollback buffer (reported by Tim Adye 6122d522f475Smrg <T.J.Adye@rl.ac.uk>) 6123d522f475Smrg 6124d522f475Smrg <li>correct "no available ptys" problem with Cygwin B20.1 (patch by Tim 6125d522f475Smrg Adye). 6126d522f475Smrg 6127d522f475Smrg <li>modified install-ti rule in Makefile.in to allow override of the 6128d522f475Smrg terminfo directory when doing a "make install", i.e., by assigning 6129d522f475Smrg to TERMINFO_DIR (request by Zdenek Sekera <zs@sgi.com>). 6130d522f475Smrg 6131d522f475Smrg <li>added install-full rule to Makefile.in 6132d522f475Smrg 6133d522f475Smrg <li>resync mkdirs.sh and install.sh scripts against current autoconf 6134d522f475Smrg 6135d522f475Smrg <li>implement $(DESTDIR) in Makefile.in, making it simple to install 6136d522f475Smrg xterm and associated files into a directory just for packaging a 6137d522f475Smrg binary release (suggested by CaT <cat@zip.com.au>). 6138d522f475Smrg 6139d522f475Smrg <li>change IChar type to unsigned, rather than unsigned short, making 6140d522f475Smrg room for a flag to keep with 16-bit characters to prevent them from 6141d522f475Smrg being interpreted as C0 or C1 controls (reported by Thomas Wolff). 6142d522f475Smrg 6143d522f475Smrg <li>correct a typo from patch #107, incorrect array name, in the 6144d522f475Smrg filterUTF8 function (patch by Bruno Haible <haible@ilog.fr>) 6145d522f475Smrg 6146d522f475Smrg <li>add <em>utf8controls</em> resource to specify whether xterm should 6147d522f475Smrg interpret 16-bit characters unpacked from UTF-8 form as control 6148d522f475Smrg characters if they happen to fall into that range. This behavior 6149d522f475Smrg is left unspecified by the Unicode standard (request by Thomas Wolff). 6150d522f475Smrg 6151d522f475Smrg <li>modify handling of OSC to recover if application sends 16-bit 6152d522f475Smrg characters with codes above 255. We cannot display them as is, but 6153d522f475Smrg translate out-of-range characters to a '?' (reported by Thomas 6154d522f475Smrg Wolff). 6155d522f475Smrg</ul> 6156d522f475Smrg 6157d522f475Smrg<H1><A NAME="xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A></H1> 6158d522f475Smrg<ul> 6159d522f475Smrg <li>add a range-check to LastTextCol(), to guard against indexing 6160d522f475Smrg before the beginning of the scrollback buffer. This appears to 6161d522f475Smrg happen with certain fonts under X11R5 (reported by Stephane Chazelas 6162d522f475Smrg <Stephane_Chazelas@Raytheon.com>). 6163d522f475Smrg 6164d522f475Smrg <li>implement resource <em>boldMode</em>, to allow disabling the 6165d522f475Smrg simulation of bold fonts when the bold and normal fonts are not 6166d522f475Smrg different (requested by Will Day <willday@rom.oit.gatech.edu>). 6167d522f475Smrg 6168d522f475Smrg <li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few bugs in 6169d522f475Smrg the UTF-8 selection (patch by Juliusz Chroboczek). 6170d522f475Smrg 6171d522f475Smrg <li>correct logic of binary-search in keysym2ucs.c (patch by Markus 6172d522f475Smrg Kuhn). 6173d522f475Smrg 6174d522f475Smrg <li>add special interpretation of keysym codes above 0x1000000 as 6175d522f475Smrg the corresponding UCS value plus 0x1000000 (patch by Markus Kuhn). 6176d522f475Smrg</ul> 6177d522f475Smrg 6178d522f475Smrg<H1><A NAME="xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A></H1> 6179d522f475Smrg<ul> 6180d522f475Smrg <li>Two changes from Stephen P Wall. 6181d522f475Smrg From his description: 6182d522f475Smrg <blockquote> 6183d522f475Smrg The first change is simple - I added ESC[3J to erase the stored lines 6184d522f475Smrg above the screen. That's what the changes to util.c and ctlseqs.ms 6185d522f475Smrg are. 6186d522f475Smrg <p> 6187d522f475Smrg The second change is to get the blinking cursor working. I took out 6188d522f475Smrg the cursorBlinkTime resource, and put in cursorBlink (Boolean), 6189d522f475Smrg cursorOnTime (time cursor is on in msecs) and cursorOffTime, and added 6190d522f475Smrg a cursorblink item to the vtMenu to enable/disable it. 6191d522f475Smrg </blockquote> 6192d522f475Smrg 619320d2c4d2Smrg <li>improve selection (integrated patch by Juliusz Chroboczek). 6194d522f475Smrg From his description: 6195d522f475Smrg <blockquote> 6196d522f475Smrg With this patch, selection conversion works properly: 6197d522f475Smrg<pre> 6198d522f475Smrg ISO 8859-1 xterm -> ISO 8859-1 xterm (transferred as STRING); 6199d522f475Smrg ISO 8859-1 xterm -> UTF-8 xterm (transferred as STRING); 6200d522f475Smrg UTF-8 xterm -> ISO 8859-1 xterm (transferred as STRING); 6201d522f475Smrg UTF-8 xterm -> UTF-8 xterm (transferred as UTF-8). 6202d522f475Smrg</pre> 6203d522f475Smrg It will not work properly if one xterm is in, say, ISO 8859-2. 6204d522f475Smrg Actually, for this case xterm breaks the ICCCM routinely (sending ISO 6205d522f475Smrg 8859-2 data as STRING), so I wouldn't worry too much about it. I have 6206d522f475Smrg not changed the behaviour in eight-bit mode in any way. 6207d522f475Smrg </blockquote> 6208d522f475Smrg</ul> 6209d522f475Smrg 6210d522f475Smrg<H1><A NAME="xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A></H1> 6211d522f475Smrg<ul> 6212d522f475Smrg <li>remove duplicate fix for OpenBSD in resize.c 6213d522f475Smrg 6214d522f475Smrg <li>correct logic in ScreenWrite, which did not reset the high bytes 6215d522f475Smrg of 16-bit characters when overwriting them with a 8-bit character 6216d522f475Smrg string (reported by Thomas Wolff). 6217d522f475Smrg 621820d2c4d2Smrg <li>provide limited support for 621920d2c4d2Smrg input of UTF-8 16-bit data by a lookup table 622020d2c4d2Smrg (integrated patch by Markus Kuhn). 6221d522f475Smrg 6222d522f475Smrg <li>correct check in non_blank_line to ensure we're in wide-character 6223d522f475Smrg mode before looking at the high bytes, for InsertChar. 6224d522f475Smrg</ul> 6225d522f475Smrg<H1><A NAME="xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A></H1> 6226d522f475Smrg<ul> 6227d522f475Smrg <li>implement new resource <em>trimSelection</em>, which allows xterm 6228d522f475Smrg to trim trailing blanks from selected lines. This does not affect 6229d522f475Smrg the highlighting. (reported by several people using <em>mutt</em>, 6230d522f475Smrg including 6231d522f475Smrg Hans Morten Kind <edphk@uib.no>, 6232d522f475Smrg Jeremy <jeremy@exit109.com> 6233d522f475Smrg and (Michael Fuller <msf@mds.rmit.edu.au>). 6234d522f475Smrg 623520d2c4d2Smrg <li>include term.h in resize for OpenBSD (patch by Matthieu Herrb). 6236d522f475Smrg 6237d522f475Smrg <li>correct logic for UTF-8 in functions that hide and show the cursor; 6238d522f475Smrg it was displaying a space whenever the low byte of the character at 6239d522f475Smrg the cursor position was zero (reported by Thomas Wolff 6240d522f475Smrg <Thomas.Wolff@icn.siemens.de>). 6241d522f475Smrg</ul> 6242d522f475Smrg 6243d522f475Smrg<H1><A NAME="xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A></H1> 6244d522f475SmrgThis is a resync patch against XFree86 3.9Pn, reflecting changes which were 6245d522f475Smrgsubmitted by Branden Robinson, who worked with 6246d522f475SmrgWichert Akkerman <wichert@cs.leidenuniv.nl> 6247d522f475Smrgto set up ifdef's to handle GNU libc 2.1, 6248d522f475Smrgand use getpt() which lets xterm avoid having to know the actual PTY name. 6249d522f475Smrg<p> 6250d522f475SmrgI have also added a few fixes for signed/unsigned mismatches, and corrected 6251d522f475Smrga problem in the configure script (the UTF-8 code was always configured since 6252d522f475Smrgthe Imakefile defines this). 6253d522f475Smrg 6254d522f475Smrg<H1><A NAME="xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A></H1> 6255d522f475Smrg<ul> 6256d522f475Smrg <li>correct selection logic: I omitted an offset that accounts for 6257d522f475Smrg the distance into the scrollback buffer when rewriting this for 6258d522f475Smrg patch #101. Also fixed a similar problem for selecting double 6259d522f475Smrg size characters from the scrollback buffer (first was reported 6260d522f475Smrg by D Roland Walker <walker@pobox.com>). 6261d522f475Smrg 6262d522f475Smrg <li>improved support for Unix98 PTY's, using patch in Debian bug report 6263d522f475Smrg #35650, by J.H.M. Dassen <jdassen@wi.leidenuniv.nl>. From 6264d522f475Smrg the patch description: 6265d522f475Smrg <blockquote> 6266d522f475Smrg <ul> 6267d522f475Smrg <li>No longer links xterm against libutil on a glibc2.1 system. 6268d522f475Smrg libutil is a compatibility library and should only be used when 6269d522f475Smrg necessary. Rather than having get_pty() use openpty() from this 6270d522f475Smrg compatibility library, use the real UNIX98 pty support in get_pty() 6271d522f475Smrg (open()ing the master pty, through getpt() if available (glibc 6272d522f475Smrg extension)). Use openpty() only under glibc2.0. 6273d522f475Smrg <li>GNU libc2 is not Linux-specific; already it runs on the Hurd. It 6274d522f475Smrg provides the UNIX98 pty functions (plus the getpt() extension), 6275d522f475Smrg regardless of the underlying OS. Changed two constructs to look for 6276d522f475Smrg GNU libc2 only, not GNU libc2 on Linux. 6277d522f475Smrg </ul> 6278d522f475Smrg </blockquote> 6279d522f475Smrg 6280d522f475Smrg <li>improve font configuration, by checking if the user's resource 6281d522f475Smrg settings for normal and bold fonts give the same font sizes 6282d522f475Smrg (fixes problem reported by Peter Waltenberg <peterw@dascom.com>). 6283d522f475Smrg</ul> 6284d522f475Smrg 6285d522f475Smrg<H1><A NAME="xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A></H1> 6286d522f475Smrg<ul> 6287d522f475Smrg <li>revert change to openpty call in patch #101; this causes xterm to 6288d522f475Smrg fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn Brand). 6289d522f475Smrg 6290d522f475Smrg <li>modify print.c to move include of stdio.h after the autoconf'd 6291d522f475Smrg xtermcfg.h since HP's ANSI C compiler otherwise sees inconsistent 6292d522f475Smrg prototype for getopt, probably due to problem with const (reported by 6293d522f475Smrg H Merijn Brand). 6294d522f475Smrg</ul> 6295d522f475Smrg 6296d522f475Smrg<H1><A NAME="xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A></H1> 6297d522f475Smrg<ul> 6298d522f475Smrg <li>moved includes and definitions for 'select' from data.h to xterm.h 6299d522f475Smrg to fix problem introduced by prototype for getPtyData, part of UTF-8 6300d522f475Smrg changes (reported by Jens Schleusener <Jens.Schleusener@dlr.de>) 6301d522f475Smrg 6302d522f475Smrg <li>added "Meta <Btn2Down>:clear-saved-lines()" default 6303d522f475Smrg translation (patch by H Merijn Brand) 6304d522f475Smrg 6305d522f475Smrg <li>fixes to configure script and ifdef's in main.c to build on a 6306d522f475Smrg HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with egcs 1.1.2 6307d522f475Smrg and HP's ANSI C compiler (patch by H Merijn Brand 6308d522f475Smrg <PROCURA_BV@CompuServe.com>) 6309d522f475Smrg 6310d522f475Smrg <li>add more parentheses in ifdef's (patch by Bob Maynard). 6311d522f475Smrg 6312d522f475Smrg <li>eliminate conflicting definitions for USE_TERMINFO in resize.c 6313d522f475Smrg (reported by Jeremy Buhler). 6314d522f475Smrg 6315d522f475Smrg <li>change openpty call to pass NULL rather than ttydev parameter, 6316d522f475Smrg since that was used only to estimate the length of the 6317d522f475Smrg corresponding data, and may not really be long enough 6318d522f475Smrg (reported by Andreas Jaeger) 6319d522f475Smrg 6320d522f475Smrg <li>update description in xterm manpage for character class table, 6321d522f475Smrg which said it handles only 7-bit codes. 6322d522f475Smrg 6323d522f475Smrg <li>correct a typo in ScrnDeleteChar() which made it not clear the 6324d522f475Smrg high byte of wide-character data. 6325d522f475Smrg 6326d522f475Smrg <li>add logic to convert selection to UTF-8 form when appropriate. 6327d522f475Smrg This makes select/paste "work", but further work is needed to 6328d522f475Smrg make UTF-8 recognized as a locale in Xlib. 6329d522f475Smrg 6330d522f475Smrg <li>correct right-limit check when selecting double-width characters. 6331d522f475Smrg 6332d522f475Smrg <li>change default answerback response to an empty string. 6333d522f475Smrg</ul> 6334d522f475Smrg 6335d522f475Smrg<H1><A NAME="xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A></H1> 6336d522f475Smrg<ul> 6337d522f475Smrg <li>Correct a typo in the default resource value for 6338d522f475Smrg backarrowKeyIsErase: it was always true (reported by Bram 6339d522f475Smrg Moolenaar). 6340d522f475Smrg 6341d522f475Smrg <li>improve configure script's test if the installed xterm is setuid, 6342d522f475Smrg in case that is a symbolic link. 6343d522f475Smrg 6344d522f475Smrg <li>correct "install-ti" rule in Makefile.in, by not setting a blank 6345d522f475Smrg $TERMINFO value. That is interpreted as "." by ncurses' tic. 6346d522f475Smrg</ul> 6347d522f475Smrg 6348d522f475Smrg<H1><A NAME="xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A></H1> 6349d522f475Smrg<ul> 6350d522f475Smrg <li>correct logic that computes num_ptrs count of the number of indices 6351d522f475Smrg into the screen buffer. This is the maximum of the colors and 6352d522f475Smrg character-set indices; was incorrect in patch #97. 6353d522f475Smrg 6354d522f475Smrg <li>correct argument type for sigsetjmp, incidental change in patch 6355d522f475Smrg #96's Unix88 PTY patch (reported by Bram Moolenaar). 6356d522f475Smrg 6357d522f475Smrg <li>correct description of secondary DA in ctlseqs.ms (reported by Bram 6358d522f475Smrg Moolenaar). 6359d522f475Smrg 6360d522f475Smrg <li>decouple the backarrowKey and ptyInitialErase resources by 6361d522f475Smrg adding a new resource backarrowKeyIsErase, to accommodate people 6362d522f475Smrg using applications which have hardcoded tests for characters 8 and 6363d522f475Smrg 127 rather than relying on the stty settings. 6364d522f475Smrg 6365d522f475Smrg <li>modify the UTF-8 decoder so that all possible illegal UTF-8 6366d522f475Smrg sequences are properly represented by U+FFFD. This should be very 6367d522f475Smrg helpful for developers of code that output UTF-8 strings for 6368d522f475Smrg debugging. See the file utf-8-test.txt in 6369d522f475Smrg http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a 6370d522f475Smrg demonstration text that contains numerous illegal UTF-8 values. 6371d522f475Smrg (patch by Markus Kuhn). 6372d522f475Smrg 6373d522f475Smrg <li>correct a place in ScrnRefresh where I was filling the high byte of 6374d522f475Smrg a wide character with a space rather than a null (reported by Markus 6375d522f475Smrg Kuhn). 6376d522f475Smrg</ul> 6377d522f475Smrg 6378d522f475Smrg<H1><A NAME="xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A></H1> 6379d522f475Smrg<ul> 6380d522f475Smrg <li>correct data manipulation in unparseputc(), broken for 6381d522f475Smrg little-endian machines by patch #97's UTF-8 changes. This meant that 6382d522f475Smrg keyboard input on SunOS did not work, though Linux i386 was fine. 6383d522f475Smrg 6384d522f475Smrg <li>modify initialization for backarrowKey and logic for initial-erase 6385d522f475Smrg to prevent the initial-erase from overriding an explicitly set 6386d522f475Smrg backarrowKey resource (reported by Vikas Agnihotri). 6387d522f475Smrg 6388d522f475Smrg <li>add a missing null-pointer check in ScrnRefresh, for the 6389d522f475Smrg wide-characters configuration. 6390d522f475Smrg</ul> 6391d522f475Smrg 6392d522f475Smrg<H1><A NAME="xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A></H1> 6393d522f475Smrg<ul> 6394d522f475Smrg <li>add configure script test for -lutil, needed for openpty call when 6395d522f475Smrg configuring xterm for Glibc-2.1 and Unix98 PTY's (first reported by 6396d522f475Smrg Martin Lorentz" <m.lorentz@w12.link-goe.de>). 6397d522f475Smrg 6398d522f475Smrg <li>completely parenthesize ifdef expressions for Glibc (suggested by 6399d522f475Smrg Bob Maynard). 6400d522f475Smrg 6401d522f475Smrg <li>add initial-erase options (-ie, +ie) to help message (reported by 6402d522f475Smrg Vikas Agnihotri). 6403d522f475Smrg 6404d522f475Smrg <li>remove duplicate definition of USE_USG_PTYS (reported by Jeremy 6405d522f475Smrg Buhler). 6406d522f475Smrg 6407d522f475Smrg <li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a DEL 6408d522f475Smrg (\177). 6409d522f475Smrg I overlooked this when separating the styles of keyboard with 6410d522f475Smrg the <em>sunKeyboard</em> resources in patch #94, so that it normally 6411d522f475Smrg matches the value of the stty erase character: 6412d522f475Smrg <ul> 6413d522f475Smrg <li>Reported by Jae Gangemi <jgangemi@ccf.rutgers.edu>, 6414d522f475Smrg this caused emacs to not process the DEL properly, combining it 6415d522f475Smrg with succeeding characters. 6416d522f475Smrg <li>This does not appear to be related to a problem which I have 6417d522f475Smrg found with <em>screen</em>, which translates the stty erase into 6418d522f475Smrg the termcap <em>kD</em> or terminfo <em>kdch1</em> value 6419d522f475Smrg (depending on how it is linked) 6420d522f475Smrg if the $TERMCAP variable is set when <em>screen</em> is invoked. 6421d522f475Smrg </ul> 6422d522f475Smrg 6423d522f475Smrg <li>add command-line options for enabling UTF-8 mode: -u8 and +u8. 6424d522f475Smrg The more obvious -utf8 and +utf8 would conflict with xterm's 6425d522f475Smrg -ut and +ut (utmp) options. 6426d522f475Smrg 6427d522f475Smrg The UTF-8 changes were requested by Markus Kuhn 6428d522f475Smrg <Markus.Kuhn@cl.cam.ac.uk>. This patch does not complete UTF-8 6429d522f475Smrg implementation, but makes it usable, i.e., display and refresh work, 6430d522f475Smrg and I am able to display the test cases which Markus provides. 6431d522f475Smrg More work is needed to complete this feature: 6432d522f475Smrg <ul> 6433d522f475Smrg <li>the control sequences for switching in/out of UTF-8 mode are 6434d522f475Smrg partly implemented (don't use them). Similarly, the switching 6435d522f475Smrg between vt100 and tek4014 emulations when UTF-8 mode is enabled 6436d522f475Smrg will not work properly. 6437d522f475Smrg <p> 6438d522f475Smrg You must use the -u8 command line option 6439d522f475Smrg to use this feature, as well as compile with the OPT_WIDE_CHARS 6440d522f475Smrg definition. 6441d522f475Smrg <li>cut/paste only copies 8-bit characters. 6442d522f475Smrg <li>logging is disabled in the wide-character configuration 6443d522f475Smrg <li>printing only writes 8-bit characters. 6444d522f475Smrg <li>input only does 8-bit characters. This is the area that I know 6445d522f475Smrg least about. 6446d522f475Smrg </ul> 6447d522f475Smrg</ul> 6448d522f475Smrg 6449d522f475Smrg<H1><A NAME="xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A></H1> 6450d522f475Smrg<ul> 6451d522f475Smrg <li>modify Makefile.in to work with configure script's --srcdir option. 6452d522f475Smrg (patch by Jeremy Buhler <jbuhler@cs.washington.edu>) 6453d522f475Smrg 6454d522f475Smrg <li>add checks for 'echo -n' equivalent for 8colors.sh and 16colors.sh 6455d522f475Smrg scripts (reported by Vikas Agnihotri). 6456d522f475Smrg 6457d522f475Smrg <li>improve logic that looks for bold fonts to allow for wildcards 6458d522f475Smrg in the specification for normal fonts, and to ensure that if 6459d522f475Smrg a bold font is specified as normal, that xterm will simulate a 6460d522f475Smrg bold version of that using a one-pixel offset overstrike 6461d522f475Smrg (reported by Henrik Harmsen <harmsen@erv.ericsson.se>). 6462d522f475Smrg 6463d522f475Smrg <li>correct horizontal spacing of double width line-drawing characters 6464d522f475Smrg that xterm simulates. 6465d522f475Smrg 6466d522f475Smrg <li>improve support for Unix98 PTY's, using patch in Debian bug report 6467d522f475Smrg #35650, by Topi Miettinen <Topi.Miettinen@medialab.sonera.fi>. 6468d522f475Smrg Andreas Jaeger says this also corrects a permissions problem 6469d522f475Smrg reported by cat@zip.net.au 6470d522f475Smrg 6471d522f475Smrg <li>modify initial-erase logic to ensure that <code>ttyModes</code> 6472d522f475Smrg resource overrides it. 6473d522f475Smrg</ul> 6474d522f475Smrg 6475d522f475Smrg<H1><A NAME="xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A></H1> 6476d522f475Smrg<ul> 6477d522f475Smrg <li>modify primary DA response to allow a '1' parameter. 6478d522f475Smrg 6479d522f475Smrg <li>add printer and national replacement character sets to VT220 6480d522f475Smrg primary DA response. 6481d522f475Smrg 6482d522f475Smrg <li>document primary and secondary DA responses in ctlseqs.ms 6483d522f475Smrg 6484d522f475Smrg <li>use the patch number (e.g., 95) in the secondary DA response, 6485d522f475Smrg providing user applications a means of determining the version 6486d522f475Smrg of xterm for feature comparison (request by Bram Moolenaar). 6487d522f475Smrg 6488d522f475Smrg <li>make xterm respond to secondary DA when the decTerminalID 6489d522f475Smrg is set for VT100. 6490d522f475Smrg 6491d522f475Smrg <li>limit user-defined keys (DECUDK) to VT220-style keyboard 6492d522f475Smrg when sunKeyBoard resource is true. 6493d522f475Smrg 6494d522f475Smrg <li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with 649520d2c4d2Smrg Glibc-2.1 and no Unix98 PTY support (patch from Andreas Jaeger 6496d522f475Smrg <aj@arthur.rhein-neckar.de>) 6497d522f475Smrg 6498d522f475Smrg <li>add optional feature (resource and command-line options) to make 6499d522f475Smrg xterm use the PTY's sense of erase character on startup, rather than 6500d522f475Smrg requiring it to be \177, or set the PTY's erase character to match 6501d522f475Smrg xterm's configuration. Note that while $TERMCAP is modified to 6502d522f475Smrg reflect the actual configuration, the terminfo kdch1 string is not 6503d522f475Smrg (request by Dirk H Hohndel <hohndel@suse.de>) 6504d522f475Smrg 6505d522f475Smrg <li>improve scripts in vttests to work with newer shells that do not 6506d522f475Smrg use 'echo -n'. 6507d522f475Smrg 6508d522f475Smrg <li>add fonts.sh example script 6509d522f475Smrg 6510d522f475Smrg <li>correct inequality in handling of "#1" font specification. 6511d522f475Smrg 6512d522f475Smrg <li>correct call to XGetWMNormalHints() used for computing maximum 6513d522f475Smrg screen size; the size hints may not have been set. 6514d522f475Smrg 6515d522f475Smrg <li>begin implementation of support for wide-characters (configure 6516d522f475Smrg option --enable-wide-chars defines OPT_WIDE_CHARS, invoke xterm with 6517d522f475Smrg -wc option to activate this feature). This patch optionally widens 6518d522f475Smrg internal data structures, invokes the 16-bit text output rather than 6519d522f475Smrg the 8-bit version and adds some tables. 6520d522f475Smrg 6521d522f475Smrg</ul> 6522d522f475Smrg<H1><A NAME="xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A></H1> 6523d522f475Smrg<ul> 6524d522f475Smrg <li>further fixes for terminfo: ka1, ka3, etc., differ between the 6525d522f475Smrg default xterm-xfree86 and xterm-vt220 entries. 6526d522f475Smrg 6527d522f475Smrg <li>change default (with sunKeyboard resource false) behavior of 6528d522f475Smrg the editing keypad "Delete" to send a 127, like xterm-r6. 6529d522f475Smrg The VT220-style <code><ESC>[3~</code> is sent when 6530d522f475Smrg sunKeyboard is true (reported by Tomas Vanhala). 6531d522f475Smrg 6532d522f475Smrg <li>add parameters to function keys to indicate if shift, control 6533d522f475Smrg or alt are set. The codes are based on a description of 6534d522f475Smrg a DEC VT510 with a PC keyboard, from Jeffrey Altman 6535d522f475Smrg <jaltman@watsun.cc.columbia.edu>. 6536d522f475Smrg 6537d522f475Smrg <li>add control sequence 1035, set-num-lock action and num-lock 6538d522f475Smrg menu entry to control the use of the NumLock and Alt keys for 6539d522f475Smrg the Sun/PC and VT220 keyboard extensions. 6540d522f475Smrg 6541d522f475Smrg <li>implement DECSET/DECRST numeric keypad (DECNKM) mode. 6542d522f475Smrg 6543d522f475Smrg <li>modify terminfo and termcap to use recommended "X Window" or "X11" 6544d522f475Smrg names rather than "X Windows" (reported by Tomas Vanhala). 6545d522f475Smrg 6546d522f475Smrg <li>suppress translation of shifted keypad "+" when sunKeyboard 6547d522f475Smrg is true. 6548d522f475Smrg 6549d522f475Smrg <li>workaround unexpected behavior (perhaps bug) in XmbLookupString, 6550d522f475Smrg which returns trash in the string buffer for numlock and control-key 6551d522f475Smrg combined with keypad-keys. 6552d522f475Smrg 6553d522f475Smrg <li>modify ScrollBarReverseVideo() to keep scrollbar border visible 6554d522f475Smrg when reverse video is toggled. 6555d522f475Smrg 6556d522f475Smrg <li>correct missing case for parameter 17 (set highlight color) in 6557d522f475Smrg dynamic colors control sequences. 6558d522f475Smrg 6559d522f475Smrg <li>extend dynamic colors control sequences to allow users to 6560d522f475Smrg determine the colors and font which are currently active. 6561d522f475Smrg 6562d522f475Smrg <li>minor tweak to OSC responses, to use BEL if the application used 6563d522f475Smrg that to end the request, rather than ST. This works better with 6564d522f475Smrg shell scripts, which may not handle an 6565d522f475Smrg <code><ESC>backslash</code> very well. 6566d522f475Smrg 6567d522f475Smrg <li>separate menu settings for reverse video from that done under 6568d522f475Smrg program control. 6569d522f475Smrg 6570d522f475Smrg <li>corrected ifdef's for menus, which did not allow tek4014 to 6571d522f475Smrg be suppressed properly (reported by Clint Olsen). 6572d522f475Smrg 657320d2c4d2Smrg <li>changes for Linux-2.2.x with GLibc-2.1 and 657420d2c4d2Smrg /dev/ptmx support (integrated patch from Pavel Roskin): 6575d522f475Smrg <ul> 6576d522f475Smrg <li>main.c and resize.c were using different rules to determine 6577d522f475Smrg whether ATT should be defined (actually USE_USG_PTYS is more 6578d522f475Smrg apt). 6579d522f475Smrg 6580d522f475Smrg <li>copy definitions from main.c to resize.c to prevent 6581d522f475Smrg sys/stream.h and sys/ptem.h from inclusion when SYSV is not 6582d522f475Smrg defined 6583d522f475Smrg 6584d522f475Smrg <li>define CNUL if not already defined like other variables. 6585d522f475Smrg 6586d522f475Smrg <li>/dev/tty does exist in Linux, but it doesn't mean, it 6587d522f475Smrg should be used. Therefore EACCES is now an acceptable 6588d522f475Smrg result. 6589d522f475Smrg 6590d522f475Smrg <li>ifdef'd several calls such as <code>ioctl (ptyfd, I_PUSH, 6591d522f475Smrg "ptem")</code> to build on Linux (I_PUSH is not defined when 6592d522f475Smrg sys/stropts.h is not included). 6593d522f475Smrg </ul> 6594d522f475Smrg 6595d522f475Smrg <li>initialize second "ltc" variable in main.c (reported by David 6596d522f475Smrg Dawes). 6597d522f475Smrg 6598d522f475Smrg <li>provide definition for USE_USG_PTYS in screen.c 6599d522f475Smrg 6600d522f475Smrg <li>add resource-files to install rule in standalone Makefile.in 6601d522f475Smrg 6602d522f475Smrg <li>add sample scripts to illustrate titlebar controls, resizing 6603d522f475Smrg and colors. 6604d522f475Smrg</ul> 6605d522f475Smrg 6606d522f475Smrg<H1><A NAME="xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A></H1> 6607d522f475SmrgHere are several fixes and minor enhancements. The chief ones 6608d522f475Smrgare the fixes for NumLock mode and reverse video, since we had become 6609d522f475Smrgused to working around the problems. 6610d522f475Smrg<ul> 6611d522f475Smrg <li>remove kfnd/kll/kslt strings from terminfo, because curses 6612d522f475Smrg applications do not necessarily return khome/kend pairs 6613d522f475Smrg (reported by Vikas Agnihotri). 6614d522f475Smrg 6615d522f475Smrg <li>implement NumLock resource which overrides the keyboard tables for the 6616d522f475Smrg special case of keypad keys. This is a problem introduced in xterm 6617d522f475Smrg by X11R6 changes, i.e., an ambiguity which in effect discarded vt100 6618d522f475Smrg keypad support. 6619d522f475Smrg 6620d522f475Smrg <li>modify Sun/PC keyboard mode to extend this (emulation of DEC vt100 6621d522f475Smrg keypad) to the remainder of the numeric keypad. Now, the default 6622d522f475Smrg operating mode of xterm uses the keyboard tables as-is (except if 6623d522f475Smrg the NumLock mode overrides), but provides good vt100 keypad compatibility 6624d522f475Smrg if the Sun/PC keyboard menu item is checked. 6625d522f475Smrg 6626d522f475Smrg <li>separate command-line settings for reverse video from that done 6627d522f475Smrg under program control. This is a problem which was introduced by 6628d522f475Smrg X11R6. Though <em>correct</em>, most users are confused by allowing 6629d522f475Smrg the reset command to undo the effect of the command-line <kbd>-rv</kbd> 6630d522f475Smrg option. 6631d522f475Smrg 6632d522f475Smrg <li>add description of function keys, keypad and cursor keys to ctlseqs.ms 6633d522f475Smrg 6634d522f475Smrg <li>add terminfo entries for xterm-vt52, xterm-sun and xterm-hp 6635d522f475Smrg 6636d522f475Smrg <li>correct typo (missing case value) for DECSET 35, enable/disable 6637d522f475Smrg shifted keypad action and a few compiler warnings (reported by Zdenek 6638d522f475Smrg Sekera <zs@sgi.com>). 6639d522f475Smrg 6640d522f475Smrg <li>correct reporting of color values 8-15 in DECRQSS (reported by 6641d522f475Smrg Vikas Agnihotri). 6642d522f475Smrg 6643d522f475Smrg <li>modify parsing of ttyModes resource to recognize "^-" as "undef" 6644d522f475Smrg (requested by Tomas Vanhala). 6645d522f475Smrg 6646d522f475Smrg <li>integrate/extend changes to add iconify/maximize actions 6647d522f475Smrg (from Edward S. Arthur <eda@ultranet.com>). 6648d522f475Smrg 6649d522f475Smrg <li>add control sequences for maximizing/restoring window, and 6650d522f475Smrg for reporting maximum screen size. 6651d522f475Smrg 6652d522f475Smrg <li>add 'interpret' action, to support local function-key interpretation. 6653d522f475Smrg Used properly, this makes most of the specialized actions of xterm 6654d522f475Smrg redundant. 6655d522f475Smrg 6656d522f475Smrg <li>add control sequence private modes 1051, 1052 and 1052, for 6657d522f475Smrg setting the Sun and HP function key modes, and for setting the 6658d522f475Smrg Sun/PC keyboard mode. 6659d522f475Smrg 6660d522f475Smrg <li>add configure option --disable-maximize 6661d522f475Smrg 6662d522f475Smrg <li>add configure option --disable-num-lcok 6663d522f475Smrg 6664d522f475Smrg <li>extend descriptions of configure script options in INSTALL. 6665d522f475Smrg</ul> 6666d522f475Smrg 6667d522f475Smrg<H1><A NAME="xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A></H1> 6668d522f475Smrg<ul> 6669d522f475Smrg <li>increase buffer size for tgetent (i.e., termcap) to 1500. This 6670d522f475Smrg fixes a problem where <em>screen</em> is built using ncurses or 6671d522f475Smrg GNU termcap and <em>xterm</em> is built using the standard termcap 6672d522f475Smrg interface. The former does not limit the termcap size, while the 6673d522f475Smrg latter is assumed to be no longer than 1023 characters. The 6674d522f475Smrg <em>screen</em> program's termcap entry is about 1200 characters 6675d522f475Smrg long. 6676d522f475Smrg 6677d522f475Smrg <li>change update_menu_item() to a function, to simplify debugging. 6678d522f475Smrg This also reduces the executable by 4Kb. 6679d522f475Smrg 6680d522f475Smrg <li>add control sequences for DECSET 30, 1010, 1011 like rxvt (enable 6681d522f475Smrg or disable some features that were only settable via resources or 6682d522f475Smrg command line arguments). 6683d522f475Smrg 6684d522f475Smrg <li>add control sequence for DECSET 35, which enables/disables the 6685d522f475Smrg shifted keypad functions. 6686d522f475Smrg 6687d522f475Smrg <li>add support for switching font sizes, by stepping through the 6688d522f475Smrg font menu using shifted keypad plus and minus. 6689d522f475Smrg 6690d522f475Smrg <li>correct missing initialization of tekInhibit and tekSmall resources. 6691d522f475Smrg 6692d522f475Smrg <li>correct ifdef's in charproc.c for XtNgeometry and XtCGeometry 6693d522f475Smrg (reported by Bram Moolenaar). 6694d522f475Smrg</ul> 6695d522f475Smrg 6696d522f475Smrg<H1><A NAME="xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A></H1> 6697d522f475Smrg<ul> 6698d522f475Smrg <li>Implement logic to translate input characters which are mapped 6699d522f475Smrg when in vt220 National Replacement Character mode (requested by 6700d522f475Smrg Tomas Vanhala). 6701d522f475Smrg 6702d522f475Smrg <li>Resync configure scripts with my patches to autoconf 2.13 6703d522f475Smrg 6704d522f475Smrg <li>Change order of -lXmu and -lXext to accommodate cygwin32 6705d522f475Smrg (reported by Vikas Agnihotri). 6706d522f475Smrg 6707d522f475Smrg <li>Add "-ti" option to set terminal emulation level from command 6708d522f475Smrg line rather than via resource. 6709d522f475Smrg 6710d522f475Smrg <li>Simplify some of the preprocessor logic using #elif. 6711d522f475Smrg</ul> 6712d522f475Smrg 6713d522f475Smrg<H1><A NAME="xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A></H1> 6714d522f475SmrgThis implements several small fixes and enhancements. The chief one implements 6715d522f475Smrgfallback support for line drawing characters with fonts that do not include 6716d522f475Smrgthose characters. But I implemented that last. 6717d522f475Smrg 6718d522f475Smrg<ul> 6719d522f475Smrg <li>If any of the glyphs in positions 0-31 (used by xterm to implement 6720d522f475Smrg the VT100 alternate character set) are zero-sized (i.e., missing), 6721d522f475Smrg xterm will reserve a normal space for the glyph when drawing. I 6722d522f475Smrg implemented a simple stroke-drawing function to draw the line-drawing 6723d522f475Smrg characters and a couple of the other (simpler) characters such as 6724d522f475Smrg diamond. (This was suggested by Vikas Agnihotri). 6725d522f475Smrg 6726d522f475Smrg <li>Modify the computation of doublesize characters to work around font 6727d522f475Smrg servers which shift the scaled characters up/down or do not give the 6728d522f475Smrg correct width. 6729d522f475Smrg 6730d522f475Smrg <li>Add popup menu item and corresponding resource settings to disable 6731d522f475Smrg the font-scaling logic for doublesize characters to work around 6732d522f475Smrg (older) font servers which simply do not draw the fonts scaled to the 6733d522f475Smrg size that they said they would. I see this problem on a SunOS system 6734d522f475Smrg running X11R5; the X11R6 servers seem well behaved. 6735d522f475Smrg 6736d522f475Smrg <li>Implement new escape sequence, private mode 1049, which combines 6737d522f475Smrg the switch to/from alternate screen mode with screen clearing and 6738d522f475Smrg cursor save/restore. Unlike the existing escape sequence, this 6739d522f475Smrg clears the alternate screen when switching to it rather than when 6740d522f475Smrg switching to the normal screen, thus retaining the alternate screen 6741d522f475Smrg contents for select/paste operations. 6742d522f475Smrg 6743d522f475Smrg <p>When I implemented the popup menu entry to toggle between the normal 6744d522f475Smrg and alternate screens, I considered only pasting from the normal 6745d522f475Smrg screen to the alternate; this improvement allows either direction. 6746d522f475Smrg 6747d522f475Smrg <li>Changed the termcap and terminfo for xterm-xfree86 and xterm-8bit 6748d522f475Smrg to use the new 1049 private mode. 6749d522f475Smrg 6750d522f475Smrg <li>Modify the logic which switches between normal and alternate 6751d522f475Smrg screens so that the save/restore cursor operations apply only to the 6752d522f475Smrg current screen. That means that applications which use the terminfo 6753d522f475Smrg smcur/rmcur or termcap ti/te capabilities will restore the cursor to 6754d522f475Smrg the original position on the normal screen rather than to the most 6755d522f475Smrg recent place where a save-cursor operation was performed. 6756d522f475Smrg 6757d522f475Smrg <p>I note that a real VT100 terminal would not behave in this way, 6758d522f475Smrg but it is a moot point since the VT100 does not implement alternate 6759d522f475Smrg screen, and therefore the save/restore cursor sequence would not be 6760d522f475Smrg used in this context. I reviewed the logic which switches between 6761d522f475Smrg normal and alternate screens based on some recent newsgroup postings 6762d522f475Smrg as well as a proposed patch in the Debian group which attempts to 6763d522f475Smrg do this (the patch has a bug, however, so I did not use it). 6764d522f475Smrg 6765d522f475Smrg <li>Add popup menu entry for toggling the titeInhibit resource. 6766d522f475Smrg 6767d522f475Smrg <li>Add new resource answerbackString, which overrides the default 6768d522f475Smrg "xterm" returned by xterm when responding to an ENQ (control/E) 6769d522f475Smrg character (request by Rajesh Vaidheeswarran <rv@fore.com>). 6770d522f475Smrg 6771d522f475Smrg <li>Add new resource keyboardDialect for setting the NRC display 6772d522f475Smrg character set (request by Tomas Vanhala, who notes that I should 6773d522f475Smrg add logic to translate the keyboard as well). 6774d522f475Smrg 6775d522f475Smrg <li>Add new command-line option and corresponding resources for making 6776d522f475Smrg xterm generate escape sequences compatible with HP terminals. Like 6777d522f475Smrg the existing Sun escape sequences, this is available as a popup menu 6778d522f475Smrg item. It is enabled by the configure script with the option 6779d522f475Smrg --enable-hp-fkeys (requested by Toni Mueller <sales@oeko.net>). 6780d522f475Smrg 6781d522f475Smrg <li>Add configure script option --disable-boxchars to disable the 6782d522f475Smrg fallback support for line drawing characters. 6783d522f475Smrg 6784d522f475Smrg <li>Fix ifdef's for configure script --disable-ansi-color, and reviewed 6785d522f475Smrg all configure options to ensure that all can be enabled/disabled 6786d522f475Smrg appropriately. 6787d522f475Smrg 6788d522f475Smrg <li>Update config.guess and config.sub, from Lynx. 6789d522f475Smrg</ul> 6790d522f475Smrg 6791d522f475Smrg<H1><A NAME="xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A></H1> 6792d522f475SmrgThis patch completes the implementation of double-sized character support 6793d522f475Smrgfor the VT100 emulation, and fixes a few minor bugs: 6794d522f475Smrg 6795d522f475Smrg<ul> 6796d522f475Smrg<li>corrected the cursor position in HideCursor, which did not multiply 6797d522f475Smrgthe column by two when in doublesize mode. 6798d522f475SmrgThis bug, which did not appear in normal use, 6799d522f475Smrgdates back to my original <a href="#xterm_44">changes</a> to partly implement 6800d522f475Smrgdouble-sized characters. 6801d522f475SmrgI noticed it when cat'ing a typescript from vttest's double-sized character 6802d522f475Smrgtest. 6803d522f475Smrg<li>ensure that the current line is repainted when switching between 6804d522f475Smrgsingle and double width characters. 6805d522f475Smrg<li>reduce the number of bits used for double-sized character coding 6806d522f475Smrgfrom 3 to 2, to make more room for soft-font codes. 6807d522f475Smrg<li>copy newer ifdef's from the XFree86 3.3.3 release's main.c, 6808d522f475Smrgwhich address details of glibc and powerpc. 6809d522f475Smrg<li>moved definition of DECL_ERRNO in xterm.h to match XFree86 3.3.3 6810d522f475Smrg<li>modify <em>resize</em> to remove the ifdef on SVr4 that suppressed 6811d522f475Smrgprinting the script for $LINES and $COLUMNS. 6812d522f475SmrgSolaris' resize utility does this; suppressing the behavior is unnecessary. 6813d522f475Smrg</ul> 6814d522f475SmrgI tested the double-sized characters using vttest and the xfsft patch. 6815d522f475SmrgThese fonts worked reasonably well: 6816d522f475Smrg<pre> 6817d522f475Smrg -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1 6818d522f475Smrg 9x15 6819d522f475Smrg</pre> 6820d522f475SmrgThe iso8859 font does not include box characters, of course, but looks good. 6821d522f475Smrg 6822d522f475Smrg<H1><A NAME="xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A></H1> 6823d522f475SmrgThis refines my #85 patch by checking for a case where the font server 6824d522f475Smrgreturns a bold font that does not quite correspond to the normal font. 6825d522f475SmrgWhen I asked for a bold version of the 6x12 font, the font server 6826d522f475Smrgreturned a near equivalent where the ascent and descent values did not 6827d522f475Smrgmatch, causing xterm to leave lines across the display. 6828d522f475SmrgThis patch makes xterm reject that type of mismatch, falling back to the 6829d522f475Smrgold font behavior. 6830d522f475Smrg 6831d522f475Smrg<H1><A NAME="xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A></H1> 6832d522f475SmrgThis corrects a problem reported by Stefan Dalibor. My table entries for the 6833d522f475Smrg<em>printerExtent</em> and <em>printerFormFeed</em> resources used the wrong 6834d522f475Smrgtypes for sizeof, causing the printer to not work properly on some platforms 6835d522f475Smrgbecause the <em>printAttributes</em> resource was overwritten (e.g., Digital Unix with DEC Alpha). 6836d522f475Smrg<p> 6837d522f475SmrgI reviewed all of the resource table entries and fixed a potential problem with 6838d522f475Smrg<em>resizeGravity</em>, which was typed as <em>int</em> rather than 6839d522f475Smrg<em>XtGravity</em>. 6840d522f475Smrg 6841d522f475Smrg<H1><A NAME="xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A></H1> 6842d522f475SmrgA small fix: when switching to/from the continuous mouse reporting mode, 6843d522f475Smrgthe event mask was incorrect if xterm was built under X11R5 because the 6844d522f475Smrgoriginal data was saved under an ifdef for active-icon. 6845d522f475Smrg 6846d522f475Smrg<H1><A NAME="xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A></H1> 6847d522f475SmrgSome cleanup (I noticed the pixel droppings a few months ago after getting a 6848d522f475Smrgnew 17" monitor): 6849d522f475Smrg<ul> 6850d522f475Smrg <li>split-out the functions that load/reload fonts for xterm as new 6851d522f475Smrg file fontutils.c to extend them to support automatic loading of 6852d522f475Smrg bold font corresponding to the normal font. Adapted logic from 6853d522f475Smrg EMU 1.3 for this purpose. This fixes most occurrences of pixel 6854d522f475Smrg droppings from bold characters. 6855d522f475Smrg 6856d522f475Smrg <li>modified by renaming variables and adding casts to permit compile 6857d522f475Smrg with g++. 6858d522f475Smrg 6859d522f475Smrg <li>modify headers so they can all be compiled without order 6860d522f475Smrg dependencies, and use bracketed rather than quoting includes to allow 6861d522f475Smrg compile from separate directory. 6862d522f475Smrg 6863d522f475Smrg <li>renamed xtermm terminfo entry to xterm-mono, to avoid conflict with 6864d522f475Smrg Solaris entry now in ncurses. 6865d522f475Smrg</ul> 6866d522f475Smrg 6867d522f475Smrg<H1><A NAME="xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni</A> and 3.3.2e</H1> 6868d522f475SmrgSeveral small fixes and enhancements, including a patch from 6869d522f475SmrgBjorn Helgaas: 6870d522f475Smrg<ul> 6871d522f475Smrg <li>correct initialization of TERMCAP environment variable, which 6872d522f475Smrg was frequently set to garbage on non-Linux systems because 6873d522f475Smrg "termcap" and "newtc" contained random data from the stack. 6874d522f475Smrg 6875d522f475Smrg <li>remove the LINEWRAPPED attribute from lines as they are cleared. 6876d522f475Smrg Previously, the attribute was set but never cleared. 6877d522f475Smrg 6878d522f475Smrg <li>make word and line selections work even when lines are wrapped 6879d522f475Smrg by xterm. Previously, selections were limited to one screen line. 6880d522f475Smrg</ul> 6881d522f475Smrgas well as 6882d522f475Smrg<ul> 6883d522f475Smrg <li>modify logic for line-wrapping to reset the associated flag if 6884d522f475Smrg the application deletes a character. This fixes a problem reported 6885d522f475Smrg by Bjorn Helgaas where word/line selection would still wrap even 6886d522f475Smrg after deleting characters from the first line. 6887d522f475Smrg <li>add kll/kH capabilities to xterm-xfree86 entries in termcap and 6888d522f475Smrg terminfo (request by Michael Schroeder). 6889d522f475Smrg <li>shorten descriptions in termcap to make resolved entries all 6890d522f475Smrg shorter than 1023 character limit. 6891d522f475Smrg <li>use DECSTR control sequence to shorten initialization and reset 6892d522f475Smrg strings in xterm-xfree86 termcap and terminfo. 6893d522f475Smrg <li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match termcap. 6894d522f475Smrg <li>correct typos in initialization and reset strings in xterm-r5 6895d522f475Smrg termcap and terminfo. 6896d522f475Smrg <li>disable special translations of key symbols (the backarrow key, 6897d522f475Smrg the editing keypad and the keypad "+") when a modifier other than 6898d522f475Smrg shift, control or numlock is used. This makes xterm handle the meta 6899d522f475Smrg key as expected by people using emacs (reported by Pete Harlan 6900d522f475Smrg <harlan@pointofchoice.com> in linux.debian.user newsgroup). 6901d522f475Smrg</ul> 6902d522f475Smrg 6903d522f475Smrg<H1><A NAME="sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A></H1> 6904d522f475Smrg 690520d2c4d2SmrgMerge changes through patch #83 with the 3.3.2e version. 690620d2c4d2Smrg<p> 690720d2c4d2SmrgThis follows a change from XFree86 CVS which adds checks for non-null 690820d2c4d2Smrgreturn from malloc (patch by Matthieu Herrb). 6909d522f475Smrg 6910d522f475Smrg<H1><A NAME="xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A></H1> 6911d522f475SmrgSeveral small fixes and enhancements: 6912d522f475Smrg<ul> 6913d522f475Smrg <li>add configure test to infer if xterm should be installed setuid 6914d522f475Smrg based on previously installed xterm (reported by Stephen Marley 6915d522f475Smrg and Stefan Dalibor). 6916d522f475Smrg 691720d2c4d2Smrg <li>implement quasi-continuous mouse reporting 691820d2c4d2Smrg (integrated patch by Jason Bacon). 6919d522f475Smrg 6920d522f475Smrg <li>correct control sequences transmitted by function keys F1 to F4 6921d522f475Smrg when sunFunctionKeys resource is true (it was still using the 6922d522f475Smrg VT100 control sequences). 6923d522f475Smrg 6924d522f475Smrg <li>modify handling of backarrow key so that the control modifier 6925d522f475Smrg toggles the backspace/delete interpretation set by the 6926d522f475Smrg backarrowKey resource. 6927d522f475Smrg 6928d522f475Smrg <li>limit the row and column values used to report mouse position. 6929d522f475Smrg</ul> 6930d522f475Smrg 6931d522f475SmrgFrom resync with XFree86 3.9Nb: 6932d522f475Smrg<ul> 6933d522f475Smrg <li>add support for the VSTATUS control character (patch by 6934d522f475Smrg Robert Earl <rearl@teleport.com>). 6935d522f475Smrg</ul> 6936d522f475Smrg 6937d522f475Smrg<H1><A NAME="xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A></H1> 6938d522f475SmrgBug fix for patch #81: 6939d522f475Smrg<ul> 6940d522f475Smrg <li>remove an #undef for NBBY, which caused compile problem on FreeBSD 6941d522f475Smrg (reported by David Dawes). 6942d522f475Smrg</ul> 6943d522f475Smrg 6944d522f475Smrg<H1><A NAME="xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A></H1> 6945d522f475SmrgMore bug fixes: 6946d522f475Smrg<ul> 6947d522f475Smrg <li>fix conflicting ifdef's for TIOCSLTC when building with Linux on 6948d522f475Smrg AXP aka DEC Alpha (reported by Robin Cutshaw). 6949d522f475Smrg 6950d522f475Smrg <li>correction to patch #79, move assignment for *utptr->ut_user = 0; 6951d522f475Smrg back into non-SVR4 ifdef in main.c, since this clobbers username on 6952d522f475Smrg Solaris 2.5.1 (analysis by Will Day 6953d522f475Smrg <willday@rom.oit.gatech.edu>). 6954d522f475Smrg 6955d522f475Smrg <li>corrected khome/kend in xterm-8bit terminfo description. 6956d522f475Smrg 6957d522f475Smrg <li>improve cursor color by making it always the reverse of fg/bg 6958d522f475Smrg unless the cursorColor resource is set, i.e., to something other than 6959d522f475Smrg the default foreground (reported by Vikas Agnihotri and Bram 6960d522f475Smrg Moolenaar). 6961d522f475Smrg 6962d522f475Smrg <li>minor fixes for compiler warnings, including a syntax error in 6963d522f475Smrg the AMOEBA ifdef's. 6964d522f475Smrg</ul> 6965d522f475SmrgFrom resync with XFree86 3.9Aj: 6966d522f475Smrg<ul> 6967d522f475Smrg <li>correction to patch #73, supply missing #else for fallback definitions 6968d522f475Smrg of size_t, time_t (Robin Cutshaw <robin@intercore.com>). 6969d522f475Smrg</ul> 6970d522f475Smrg 6971d522f475Smrg<H1><A NAME="xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A></H1> 6972d522f475SmrgThis fixes a couple of items leftover or introduced by patch 79: 6973d522f475Smrg<ul> 6974d522f475Smrg <li>take out the logic that suppresses editing-keypad in vt100 mode 6975d522f475Smrg (those keys are too valuable to give up for a fine point of 6976d522f475Smrg emulation). 6977d522f475Smrg 6978d522f475Smrg <li>corrected a couple of places in terminfo where I missed using the 6979d522f475Smrg vt220-style editing-keypad codes for Find/Select (mapped to Home/End). 6980d522f475Smrg 6981d522f475Smrg <li>checked termcap file against terminfo, fix several places where it 6982d522f475Smrg was inconsistent. 6983d522f475Smrg</ul> 6984d522f475Smrg 6985d522f475Smrg<H1><A NAME="xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A></H1> 6986d522f475Smrg 6987d522f475SmrgThis patch fixes several small bugs: 6988d522f475Smrg<ul> 6989d522f475Smrg <li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas Vanhala). 6990d522f475Smrg 6991d522f475Smrg <li>add new resource 'oldXtermFKeys' which provides backward compatibility 6992d522f475Smrg for F1-F4 control sequences with TOG's xterm. 6993d522f475Smrg 6994d522f475Smrg <li>determine the server's default foreground/background Pixel values, 6995d522f475Smrg needed if the -flipPixels X server option is used (reported by 6996d522f475Smrg David Dawes). 6997d522f475Smrg 6998d522f475Smrg <li>correct logic for F1-F4 function keys so that they generate VT100 6999d522f475Smrg compatible escape sequences in VT220 mode, since that is what the 7000d522f475Smrg numeric keypad is supposed to do (reported by Ron Johnson, Jr. 7001d522f475Smrg <ronjohn@communique.net>). 7002d522f475Smrg 7003d522f475Smrg <li>modify logic for editing keypad to work more like VT220: don't 7004d522f475Smrg pass those codes in VT100-mode unless oldXtermFKeys mode is set. 7005d522f475Smrg 7006d522f475Smrg <li>correct an interaction with the editing-keypad logic that prevented 7007d522f475Smrg backarrow key from sending a 127 for the delete key (the 'remove' 7008d522f475Smrg escape sequence was being sent instead). 7009d522f475Smrg 7010d522f475Smrg <li>use return-value from getuid() rather than the parameter, to work on 7011d522f475Smrg systems which do not update the latter (patch by Kevin Buhr 7012d522f475Smrg <buhr@mozart.stat.wisc.edu>) 7013d522f475Smrg 7014d522f475Smrg <li>correct scrollbar border color when toggling to/from secure keyboard 7015d522f475Smrg mode (patch by Jeff Uphoff <juphoff@tarsier.cv.nrao.edu>) 7016d522f475Smrg 7017d522f475Smrg <li>modifications to terminfo file: 7018d522f475Smrg<ul> 7019d522f475Smrg <li>rename description to xterm-xfree86, adding an entry 'xterm' 7020d522f475Smrg which is derived from xterm-xfree86 to simplify customization. 7021d522f475Smrg 7022d522f475Smrg <li>change string for kdch1 from \177 to \E[3~, to address complaints 7023d522f475Smrg from Debian developers. (This applies to the key labeled "Delete", 7024d522f475Smrg and does not affect the backarrow key). 7025d522f475Smrg 7026d522f475Smrg <li>add user-strings u6, u7, u8, u9 to entries to make them work with 7027d522f475Smrg Daniel Weaver's "tack" program. 7028d522f475Smrg 7029d522f475Smrg <li>modify xterm-24, xterm-bold, xterm-boldso entries to disentangle them from 7030d522f475Smrg explicit dependency upon xterm-xfree86. 7031d522f475Smrg 7032d522f475Smrg <li>add generic 'xterm-color' entry. 7033d522f475Smrg 7034d522f475Smrg <li>minor corrections to xterm-xfree86, xterm-8bit, xterm-r5 and 7035d522f475Smrg xterm-r6 entries. 7036d522f475Smrg</ul> 7037d522f475Smrg</ul> 7038d522f475Smrg 7039d522f475Smrg<H1><A NAME="xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A></H1> 7040d522f475Smrg 7041d522f475SmrgAgain, most of the bulk of this patch is for ANSI conversion. I used the 7042d522f475SmrgIRIX compiler's -wlint option to find the remaining functions that use 7043d522f475SmrgK&R syntax (since gcc does not do this properly). 7044d522f475Smrg 7045d522f475SmrgAlso, I changed the logic in the print code slightly to close unwanted files 7046d522f475Smrgbefore opening a pipe to the printer. This may help in some configurations 7047d522f475Smrgwhere the line printer hangs until xterm closes the pipe. 7048d522f475Smrg 7049d522f475Smrg<H1><A NAME="xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A></H1> 7050d522f475Smrg 7051d522f475SmrgMost of the bulk of this patch is to convert the extended C (K&R functions 7052d522f475Smrgwith prototypes) to ANSI. I verified that on Linux by comparing object 7053d522f475Smrgfiles, to ensure that I did not, for example, interchange parameters in 7054d522f475Smrgthe function declarations. 7055d522f475Smrg<p> 7056d522f475SmrgThe rest of the patch fixes several minor bugs, and adds a few features: 7057d522f475Smrg<ul> 7058d522f475Smrg <li>back-out my use of ncurses "captoinfo -f" option (if/then/else/endif) 7059d522f475Smrg formatting, since ncurses did not correctly filter embedded newlines 7060d522f475Smrg in terminfo capability strings until _after_ ncurses 4.1, thus 7061d522f475Smrg corrupting setf/setb/sgr strings (reported by Darren Hiebert and 7062d522f475Smrg others). 7063d522f475Smrg 7064d522f475Smrg <li>document SGR 8, 28 (invisible/visible), add corresponding 7065d522f475Smrg capabilities to terminfo description. 7066d522f475Smrg<p> 7067d522f475Smrg I would also add the 'prot protected capability, but the control 7068d522f475Smrg sequences for that would not be recognized or properly ignored by the 7069d522f475Smrg older xterm programs. 7070d522f475Smrg 7071d522f475Smrg <li>modify ChangeGroup to not suppress a null-resource, but treat it as an 7072d522f475Smrg empty string (recommended by Stefan Dalibor). 7073d522f475Smrg 7074d522f475Smrg <li>add printerAutoClose resource to control whether printer is closed 7075d522f475Smrg when going offline. More than one person reports problems (on 7076d522f475Smrg Solaris 2.6 and Digital Unix 4.0) getting the printer to proceed 7077d522f475Smrg unless xterm exits; I think that it is a problem flushing the pipe. 7078d522f475Smrg Closing it ought to flush it. 7079d522f475Smrg 7080d522f475Smrg <li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N (but adapt 7081d522f475Smrg XtStackAlloc/XtStackFree for clarity, as well as fixing memory leak). 7082d522f475Smrg 7083d522f475Smrg <li>change calls on FillCurBackground to ClearCurBackground, in effect 7084d522f475Smrg using XClearArea rather than XFillRectangle when clearing as a 7085d522f475Smrg side-effect of scrolling and insertion (patch by Alexander V 7086d522f475Smrg Lukyanov) 7087d522f475Smrg 7088d522f475Smrg <li>correct some places where insert/delete did not _move_ the color 7089d522f475Smrg attributes, using memmove (patch by Alexander V Lukyanov 7090d522f475Smrg <lav@long.yar.ru>) 7091d522f475Smrg 7092d522f475Smrg <li>add ifdef's for __CYGWIN32__, for port to cygnus version B19.1 7093d522f475Smrg (patch by Andrew Sumner <andrew_sumner@hotmail.com>). 7094d522f475Smrg 7095d522f475Smrg <li>remove #define for hpux that turned on USE_SYSV_ENVVARS, since this 7096d522f475Smrg causes some applications (such as 'less') to get incorrect $LINES and 7097d522f475Smrg $COLUMNS values (reported by Clint Olsen). 7098d522f475Smrg 7099d522f475Smrg <li>modify behavior for HP-UX, to set the "reserved" process group 7100d522f475Smrg controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does not produce an 7101d522f475Smrg error (patch by Ben Yoshino <ben@wiliki.eng.hawaii.edu>). 7102d522f475Smrg 7103d522f475Smrg <li>correct length of underlining, reducing it by one pixel to avoid 7104d522f475Smrg leaving a dot when the application does not clear the whole screen 7105d522f475Smrg I noticed this only recently myself (and other people as well); it 7106d522f475Smrg depends on the font chosen. A 6x10 font shows it, but the other 710720d2c4d2Smrg fonts from XTerm.ad do not. I also see a similar problem with the 7108d522f475Smrg emulation of bold fonts. 710920d2c4d2Smrg (patch by Sergei Laskavy <Laskavy@cs.msu.su>). 7110d522f475Smrg 7111d522f475Smrg <li>add include for Xos.h to xterm.h, to ensure proper definitions 7112d522f475Smrg (reported by Holger Veit). 7113d522f475Smrg 7114d522f475Smrg <li>update config.guess to recognize Unixware 2.1 and 7 (patch by 7115d522f475Smrg Mike Hopkirk <hops@sco.com>). 7116d522f475Smrg</ul> 7117d522f475Smrg 7118d522f475Smrg<H1><A NAME="xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A></H1> 7119d522f475Smrg 7120d522f475SmrgA fix for the print-window function, and some minor cleanup: 7121d522f475Smrg<ul> 7122d522f475Smrg <li>modify logic that closes pipe in the print-window function to not use 7123d522f475Smrg pclose, which does not work on all systems, since I did not open the 7124d522f475Smrg pipe with popen (reported by Stefan Dalibor). 7125d522f475Smrg 7126d522f475Smrg <li>correct name of $(EXTRA_LOAD_FLAGS) imake variable (reported 7127d522f475Smrg by Stefan Dalibor). 7128d522f475Smrg 7129d522f475Smrg <li>guard logic in ChangeGroup() function against null pointer 7130d522f475Smrg (reported by Stefan Dalibor). 7131d522f475Smrg 7132d522f475Smrg <li>ensure that menu entry for toggling sunKeyboard resource is 7133d522f475Smrg initialized (reported by Branden Robinson <branden@purdue.edu>). 7134d522f475Smrg 7135d522f475Smrg <li>gcc unused-variable warnings (reported by Bernd Ernesti 7136d522f475Smrg <bernd@arresum.inka.de>) 7137d522f475Smrg 7138d522f475Smrg <li>rename global variable 'buffer' to 'VTbuffer' 7139d522f475Smrg</ul> 7140d522f475Smrg 7141d522f475Smrg<H1><A NAME="xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A></H1> 7142d522f475Smrg 7143d522f475SmrgThis incorporates fixes from several people, as well as some improvements 7144d522f475Smrgthat I made based on feedback from users: 7145d522f475Smrg<ul> 7146d522f475Smrg <li>add option to standalone configure script, "--with-own-terminfo-dir", 7147d522f475Smrg which causes xterm to pass a predefined value of $TERMINFO to the 7148d522f475Smrg application. Also use this value in install rule "make install-ti", 7149d522f475Smrg for the standalone configure script. 7150d522f475Smrg 7151d522f475Smrg (patch & feedback from Tor Lillqvist <tml@hemuli.tte.vtt.fi>) 7152d522f475Smrg 7153d522f475Smrg <li>change ifdef's for "hpux" to "__hpux" (patch by Tor Lillqvist). The 7154d522f475Smrg imake configuration uses the former, but the latter is predefined by 7155d522f475Smrg HP's compilers. 7156d522f475Smrg 7157d522f475Smrg <li>define USE_SYSV_ENVVARS for HP-UX, curses does not use $TERMCAP (patch 7158d522f475Smrg by Tor Lillqvist). 7159d522f475Smrg 7160d522f475Smrg <li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's. Works 7161d522f475Smrg both on HP-UX 9 and 10. (patch by Tor Lillqvist). 7162d522f475Smrg 7163d522f475Smrg <li>modify configure script to obtain the $(EXTRA_LOADFLAGS) value from 7164d522f475Smrg imake, needed for compiling under DEC OSF/1 (reported by 7165d522f475Smrg Stefan Dalibor) 7166d522f475Smrg 7167d522f475Smrg <li>modify print-window action so that the printer is closed after 7168d522f475Smrg printing a window, unless the printer was already opened (i.e., 7169d522f475Smrg by an application running in the window). This makes the printing 7170d522f475Smrg complete without having to exit xterm, since not all systems treat 7171d522f475Smrg fflush through a pipe very well (reported by Stefan Dalibor) 7172d522f475Smrg 7173d522f475Smrg <li>modify printing code so that the ^M's are not printed if the 7174d522f475Smrg printAttribute resource is set to zero (request by Stefan Dalibor). 7175d522f475Smrg 7176d522f475Smrg <li>correct typo in xterm.man, for the default value of printAttribute 7177d522f475Smrg (reported by Stefan Dalibor). 7178d522f475Smrg 7179d522f475Smrg <li>correct printing code so that the alternate character set is 7180d522f475Smrg printed, like other attributes, with escape sequences. 7181d522f475Smrg 7182d522f475Smrg <li>correct termcap description, removing spurious 'm' character from 7183d522f475Smrg the 'op' capability (reported by Greg Woods <woods@weird.com>). 7184d522f475Smrg 7185d522f475Smrg <li>correct trace code so that the initial timestamp is set. 7186d522f475Smrg 7187d522f475Smrg <li>correct/modify utmp data for the Linux glibc 2 configuration, 7188d522f475Smrg so that the ut_line member is set before using it to update wtmp 7189d522f475Smrg (patch by Bill Nottingham <wen1@cec.wustl.edu>). 7190d522f475Smrg</ul> 7191d522f475Smrg 7192d522f475Smrg<H1><A NAME="xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A></H1> 7193d522f475Smrg 7194d522f475SmrgThis corrects a couple of recent bugs and adds a new resource: 7195d522f475Smrg<ul> 7196d522f475Smrg <li>modify definition of TRACE_CHILD so that it does not conflict with 7197d522f475Smrg ifdef's for USE_USG_PTYS in main.c (reported by Vikas Agnihotri 7198d522f475Smrg <VikasA@att.com> and Stefan Dalibor). 7199d522f475Smrg 7200d522f475Smrg <li>correct ownership of file (actually pipe) written by the print 7201d522f475Smrg controls. When undoing the setuid changes in patch #69, I overlooked 7202d522f475Smrg this. Now xterm forks a process which resets setuid and routes the 7203d522f475Smrg printer data as the real user. 7204d522f475Smrg 7205d522f475Smrg <li>add a new resource, "printAttributes", which controls whether 7206d522f475Smrg color attributes (or any attributes) are sent to the printer. 7207d522f475Smrg</ul> 7208d522f475Smrg 7209d522f475Smrg<H1><A NAME="xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A></H1> 7210d522f475Smrg 7211d522f475SmrgThis patch does the following: 7212d522f475Smrg<ul> 7213d522f475Smrg <li>implements a print-window facility for xterm. Though useful in 7214d522f475Smrg itself, I added it as part of some debugging which I am doing. 7215d522f475Smrg (Occasionally during an exposure event xterm fails to restore the 7216d522f475Smrg proper colors for highlighted text, and printing the screen will 7217d522f475Smrg show the internal states nicely). 7218d522f475Smrg<p> 7219d522f475Smrg The print facility now also displays the color information. 7220d522f475Smrg (I will probably make this a resource). 7221d522f475Smrg 7222d522f475Smrg <li>modified the xterm-16color terminfo description to use the setaf and 7223d522f475Smrg setab strings, which is a little more efficient (requested by Stephen 7224d522f475Smrg Marley). 7225d522f475Smrg 7226d522f475Smrg <li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, unistd.h, 7227d522f475Smrg errno) making the configure script test for these. 7228d522f475Smrg<p> 7229d522f475Smrg I removed the symbols Size_t and Time_t, since they no longer serve 7230d522f475Smrg a useful purpose. 7231d522f475Smrg 7232d522f475Smrg <li>added some debugging traces to show the initial screen size, 7233d522f475Smrg and the success/failure of the ioctl calls pass handle window 7234d522f475Smrg resizing events to the application (for Clint Olsen). 7235d522f475Smrg<p> 7236d522f475Smrg I also modified the trace code to produce two files since some 7237d522f475Smrg of the information is produced by the child process. So now 7238d522f475Smrg they are Trace-parent.out and Trace-child.out 7239d522f475Smrg 7240d522f475Smrg <li>updated configure test for ANSI compiler options to handle a 7241d522f475Smrg special case for HP-UX 10.x (reported by Clint Olsen). 7242d522f475Smrg</ul> 7243d522f475Smrg 7244d522f475Smrg<H1><A NAME="xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A></H1> 7245d522f475Smrg 7246d522f475SmrgThis is a patch from Chris Siebenmann <cks@hawkwind.utcs.toronto.edu>, 7247d522f475Smrgwhich I have cleaned up a little, and integrated into the configure script. 7248d522f475Smrg<p> 7249d522f475SmrgFrom his description: 7250d522f475Smrg<blockquote> 7251d522f475Smrg This set of patches is the latest incarnation of patches originally 7252d522f475Smrgwritten by Ian! D Allen, then of the University of Waterloo and now of 7253d522f475Smrgwho knows where; I have been carrying them forward from xterm to xterm 7254d522f475Smrgever since about X11R4. What they do is add an option so that when an 7255d522f475Smrgiconified xterm receives output it prepends '*** ' to its icon title 7256d522f475Smrgand (optionally) beeps the bell; deiconifying the xterm removes the 7257d522f475Smrg'*** '. Over the years I've found this to be incredibly convenient for 7258d522f475Smrgmonitoring all sorts of low-activity things. 7259d522f475Smrg</blockquote> 7260d522f475Smrg 7261d522f475Smrg<H1><A NAME="xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A></H1> 7262d522f475Smrg 7263d522f475SmrgThis patch is a slightly modified version of one by Richard Braakman, which 7264d522f475Smrgprevents buffer overflow in the input-method and preedit-type parsing in xterm. 7265d522f475SmrgI changed a couple of details to make the code more maintainable, and looked 7266d522f475Smrgfor similar things - copying into a fixed-size buffer (found none, though I did 7267d522f475Smrgspot an unused variable). 7268d522f475Smrg 7269d522f475Smrg<H1><A NAME="xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A></H1> 7270d522f475Smrg 7271d522f475SmrgThis patch corrects some minor bugs in xterm, and fills in some more details 7272d522f475Smrgin the VT220 emulation: 7273d522f475Smrg<UL> 7274d522f475Smrg <LI>modify Imakefile to use SpecialCObjectRule for menu and data modules, 7275d522f475Smrg making xterm build properly if logging is enabled 7276d522f475Smrg (patch by Scott Sewall <scott@iprg.nokia.com>). 7277d522f475Smrg 7278d522f475Smrg <LI>restore "ich" capability to terminfo entries, since 7279d522f475Smrg Michael Schroeder points out that "ich1" 7280d522f475Smrg is the one which is the problem in Solaris vi. 7281d522f475Smrg 7282d522f475Smrg <LI>correct color of cursor, which would disappear on inverse-video 7283d522f475Smrg since the initialization did not compare the cursor color against 7284d522f475Smrg both foreground and background (reported by Olivier Calle). 7285d522f475Smrg 7286d522f475Smrg <LI>correct abbreviation-test for -version and -help options, making 7287d522f475Smrg command-line option -vb work (reported by Stefan Dalibor). 7288d522f475Smrg 7289d522f475Smrg <LI>correct a dependency between ifdef's for OPT_I18N_SUPPORT and 7290d522f475Smrg OPT_INPUT_METHOD (reported by Stefan Dalibor). 7291d522f475Smrg 7292d522f475Smrg <LI>split-out character-set translations as new module charsets.c, to 7293d522f475Smrg implement VT220 national replacement character sets (a mode where 7294d522f475Smrg some of the characters are displayed as specific European glyphs). 7295d522f475Smrg This relies on xterm using an ISO 8859-1 font (approach suggested by 7296d522f475Smrg Kenneth R. Robinette <zkrr01@mailbox.neosoft.com>). 7297d522f475Smrg 7298d522f475Smrg <LI>correct a missing increment, which made SS2 and SS3 controls 7299d522f475Smrg repeat the shifted character. 7300d522f475Smrg 7301d522f475Smrg <LI>add xterm-nrc to terminfo to illustrate the VT220 national 7302d522f475Smrg replacement character sets. 7303d522f475Smrg 7304d522f475Smrg <LI>reformat terminfo using new ncurses tic option "-f", which makes 7305d522f475Smrg if/then/else/endif expressions easier to read. 7306d522f475Smrg</UL> 7307d522f475Smrg 7308d522f475Smrg<H1><A NAME="xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A></H1> 7309d522f475Smrg 7310d522f475SmrgThis corrects the problem in xterm with utmp, reported by Olivier Calle 7311d522f475Smrg<olivier@tc.fluke.com> 7312d522f475Smrgas well as some other people after the XFree86 3.3.2 release. 7313d522f475Smrg<P> 7314d522f475SmrgThe error was introduced by my patch #53 in XFree86 3.9r (October 1997). 7315d522f475Smrg<P> 7316d522f475SmrgThe correction removes the reset of setuid/setgid before the main event loop, 7317d522f475Smrgand solves the problem which I had worked around in a different manner: for 7318d522f475Smrgsome reason, the particular waitpid() call in creat_as() hangs, does not 7319d522f475Smrgreturn when the child process exits. I changed the ifdef's to force the Linux 7320d522f475Smrgconfiguration to use wait() instead. This call appears to work properly on 7321d522f475Smrgother platforms such as SunOS and Solaris. 7322d522f475Smrg<P> 7323d522f475SmrgI also added tests in the standalone configure script to check for the 7324d522f475Smrgexistence of waitpid(). 7325d522f475Smrg 7326d522f475Smrg<H1><A NAME="xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A></H1> 7327d522f475Smrg 7328d522f475SmrgThis corrects another problem with the logic for highlightColor resource. 7329d522f475SmrgAs reported by David Dawes: 7330d522f475Smrg<blockquote> 7331d522f475Smrg I've just noticed a problem with with the "inverse" control sequence 7332d522f475Smrg (ESC[7m) with the 3.3.2 xterm. What it does is sets the background 7333d522f475Smrg black, and the text the usual foreground colour rather than simply 7334d522f475Smrg swapping the foreground/background. 7335d522f475Smrg 7336d522f475Smrg</blockquote> 7337d522f475SmrgThis appears to be because when I added logic to check that the highlightColor 7338d522f475Smrgwas distinct from foreground and background colors, I did not add a further 7339d522f475Smrgcheck to see that it was not black (I would make an explicit check for the 7340d522f475Smrgresource not being set, but see nothing definite in the headers that would let 7341d522f475Smrgme reference an explicitly-undefined Pixel value, though there are some 7342d522f475Smrgimplications in xpm.h). But this should work. 7343d522f475Smrg 7344d522f475Smrg<H1><A NAME="xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A></H1> 7345d522f475Smrg 7346d522f475SmrgThis patch does the following: 7347d522f475Smrg<UL> 7348d522f475Smrg <LI>improve test for highlightColor so that xterm does not attempt to 7349d522f475Smrg use that unless it is different from the foreground and background 7350d522f475Smrg colors (reported by Stefan Dalibor 7351d522f475Smrg <Stefan.Dalibor@informatik.uni-erlangen.de>. 7352d522f475Smrg<P> 7353d522f475Smrg I could not reproduce this until I noticed that the -rev option 7354d522f475Smrg exposed it nicely. 7355d522f475Smrg 7356d522f475Smrg <LI>remove ich and ich1 from xterm and xterm-8bit terminfo descriptions. 7357d522f475Smrg SVr4 terminfo documents that you must not combine these with 7358d522f475Smrg smir/rmir, but ncurses allows it, opening a hole. Solaris 2.6 vi 7359d522f475Smrg does not work properly if it is using a terminfo description when 7360d522f475Smrg these are combined, since it was written to accommodate old terminals 7361d522f475Smrg that required it (reported by Stephen Marley). 7362d522f475Smrg 7363d522f475Smrg <LI>restore 1-pixel overlap of scrollbar border with left edge of window 7364d522f475Smrg (reported by Jim Burmeister <jimb@metrolink.com>). 7365d522f475Smrg 7366d522f475Smrg <LI>add a configure option, --enable-logfile-exec, which allows the 7367d522f475Smrg user to specify a pipe for logfile. This defines ALLOWLOGFILEEXEC. 7368d522f475Smrg 7369d522f475Smrg <LI>makes the ALLOWLOGFILEEXEC code compile & run, if configured. 7370d522f475Smrg 7371d522f475Smrg <LI>minor documentation nits. 7372d522f475Smrg</UL> 7373d522f475Smrg 7374d522f475Smrg<H1><A NAME="xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A></H1> 7375d522f475Smrg 7376d522f475SmrgThis fixes the problem reported with failure to build the <EM>resize</EM> 7377d522f475Smrgprogram (BSDI, OSF/1) due to not having <termcap.h>, by changing the 7378d522f475Smrgifdef to one that would be set only if the file exists (not currently 7379d522f475Smrgspecified, except by the standalone configure script). We do not really need 7380d522f475Smrgto include <termcap.h> to build, but only for a clean compile, since it 7381d522f475Smrgmay declare the tgetent() prototype. 7382d522f475Smrg 7383d522f475SmrgI also updated the man-page for <EM>resize</EM>, since I had recently noticed 7384d522f475Smrgthat it can be used to resize <EM>xterm</EM> using the "Sun" control sequences 7385d522f475Smrgoption. 7386d522f475Smrg 7387d522f475Smrg<H1><A NAME="xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A></H1> 7388d522f475Smrg 7389d522f475SmrgThis is a small patch to xterm's 8-bit terminal description. I noticed 7390d522f475Smrgwhile testing ncurses that I had specified the wrong (VT100-style) codes 7391d522f475Smrgfor the F1-F4. Xterm only uses VT220-style function keys in 8-bit mode. 7392d522f475Smrg 7393d522f475Smrg<H1><A NAME="xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A></H1> 7394d522f475Smrg 7395d522f475SmrgThis fixes the following problems with xterm: 7396d522f475Smrg<UL> 7397d522f475Smrg <LI>save/restore the ANSI foreground and background colors with the other 7398d522f475Smrg visible attributes in the save-cursor and restore-cursor operations. 7399d522f475Smrg This works around a problem with vim, which apparently assumed that 7400d522f475Smrg switching between the normal and alternate screens resets the colors 7401d522f475Smrg (reported by Jim Battle <jb@chromatic.com>). 7402d522f475Smrg<P> 7403d522f475Smrg It would be nice to implement save/restore cursor as a stack (and 7404d522f475Smrg solve this type of problem completely), but that would lead to 7405d522f475Smrg incompatibility with applications which assume they are running with a 7406d522f475Smrg VT100 or VT220. 7407d522f475Smrg 7408d522f475Smrg <LI>corrects behavior of a restore-cursor operation which does not 7409d522f475Smrg follow a save-cursor (it is supposed to set the character sets 7410d522f475Smrg to a known initial state). 7411d522f475Smrg 7412d522f475Smrg <LI>extends the sunKeyboard resource (and menu toggle) to modify the 7413d522f475Smrg home, end and delete keys on a Sun or PC editing keypad, making them 7414d522f475Smrg generate codes compatible with DEC VT220's Find, Select and Remove 7415d522f475Smrg keys. 7416d522f475Smrg 7417d522f475Smrg <LI>corrects a length in checking command-line options, which caused the 7418d522f475Smrg "-help" message to not work when X was not running. 7419d522f475Smrg 742020d2c4d2Smrg <LI>add some detail to the man-page (requested by Jason Bacon 7421d522f475Smrg <acadix@execpc.com>) 7422d522f475Smrg 7423d522f475Smrg <LI>modify the standalone configure script to ignore the broken nsl and 7424d522f475Smrg socket libraries on IRIX 6.2 (the ones on 5.2 also are broken, so 7425d522f475Smrg this change just widens the check for the system version number). 7426d522f475Smrg</UL> 7427d522f475Smrg 7428d522f475Smrg<H1><A NAME="xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A></H1> 7429d522f475Smrg 7430d522f475SmrgThis is another patch from Bjorn Helgaas <helgaas@rsn.hp.com>, which I've 7431d522f475Smrgreviewed (and learned some). Following are his notes: 7432d522f475Smrg<P> 7433d522f475SmrgI poked around some more and finally got xterm-62 to build and run 7434d522f475Smrgcleanly on HP-UX 10.20. Here are the patches. They look sort of 7435d522f475Smrgugly, so here's a little explanation: 7436d522f475Smrg<UL> 7437d522f475Smrg <LI>aclocal.m4: Removed side effects from the AC_CACHE_VAL 7438d522f475Smrg commands in CF_FUNC_TGETENT. Previously, LIBS was set inside 7439d522f475Smrg AC_CACHE_VAL, which worked fine the first time configure was 7440d522f475Smrg run, but failed if there were cached values. 7441d522f475Smrg 7442d522f475Smrg <LI>aclocal.m4: Added temporary setting of LIBS before 7443d522f475Smrg AC_TRY_LINK in CF_FUNC_TGETENT. Previously, the last value set 7444d522f475Smrg by the AC_TRY_RUN loop was used, so only -lcurses was checked. 7445d522f475Smrg 7446d522f475Smrg <LI>configure.in: Added temporary setting of CPPFLAGS before 7447d522f475Smrg AC_CHECK_HEADERS for X11 files. Previously <X11/DECkeysym.h> 7448d522f475Smrg and <X11/Xpoll.h> were found only if they were in the compiler's 7449d522f475Smrg default include directories, even if `--x-includes=DIR' had been 7450d522f475Smrg used or AC_PATH_XTRA had found them elsewhere. 7451d522f475Smrg</UL> 7452d522f475SmrgThe problem on HP-UX was that we were linking with -lcurses rather than 7453d522f475Smrg-ltermcap due to the second bullet above, and apparently something in 7454d522f475SmrgHP-UX curses is broken. This seems very strange, because the only thing 7455d522f475Smrgused is tgetent, which should affect any tty/pty configuration, but I 7456d522f475Smrglost interest in tracking down the exact problem. 7457d522f475Smrg 7458d522f475Smrg<H1><A NAME="xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A></H1> 7459d522f475Smrg 7460d522f475SmrgThis is a patch mostly by Bjorn Helgaas <helgaas@dhc.net> (I added the 7461d522f475Smrgos2main.c change, and a little of the documentation). From Bjorn's 7462d522f475Smrgdescription: 7463d522f475Smrg<UL> 7464d522f475Smrg <LI>If you use the "-hc <color>" option or set the "highlightColor" 7465d522f475Smrg resource, text is highlighted by changing only the background color, 7466d522f475Smrg rather than using reverse video. I find this easier to read, 7467d522f475Smrg especially when selecting multi-colored text, and it is similar to 7468d522f475Smrg the way Netscape shows selections. 7469d522f475Smrg 7470d522f475Smrg <LI>Most of the code changes are under "#if OPT_HIGHLIGHT_COLOR". The 7471d522f475Smrg principal exception is in screen.c, where I added a couple calls to 7472d522f475Smrg resetXtermGC(). This seems like it could be a bug even without 7473d522f475Smrg the color highlighting changes (though I don't pretend to understand 7474d522f475Smrg all the logic). 7475d522f475Smrg</UL> 7476d522f475Smrg 7477d522f475Smrg<H1><A NAME="xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A></H1> 7478d522f475Smrg 7479d522f475SmrgThis patch modifies the reset behavior of xterm slightly: 7480d522f475Smrg<UL> 7481d522f475Smrg <LI>change the terminfo entry so that rs1 (one of the strings used by 7482d522f475Smrg the 'reset' program) does a hard reset rather than switching 7483d522f475Smrg character sets. This is more in accord with other terminal 7484d522f475Smrg descriptions. 7485d522f475Smrg 7486d522f475Smrg <LI>modifies the treatment of hard reset by the xterm program to 7487d522f475Smrg reset the saved lines. 7488d522f475Smrg 748920d2c4d2Smrg <LI>corrects hard reset by also resetting user-defined keys, i.e., DECUDK. 7490d522f475Smrg</UL> 7491d522f475Smrg 7492d522f475Smrg<H1><A NAME="xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A></H1> 7493d522f475Smrg 7494d522f475SmrgThis fixes some minor bugs and adds new functionality: 7495d522f475Smrg<UL> 7496d522f475Smrg <LI>add support for blinking text. 7497d522f475Smrg<UL> 7498d522f475Smrg <LI>This does not actually cause the 7499d522f475Smrg text to flash, but text with the blink attribute can be displayed 7500d522f475Smrg in color, using new resources colorBL and colorBLMode. 7501d522f475Smrg 7502d522f475Smrg <LI>If colors are not used, the blinking text will be displayed as 7503d522f475Smrg before (just like bold). The main purpose of this is to make 7504d522f475Smrg applications work properly when they assume the emulator supports 7505d522f475Smrg blinking text. 7506d522f475Smrg 7507d522f475Smrg <LI>I did this by moving the per-cell LINEWRAPPED flag to a per-line 7508d522f475Smrg flag, to make room for the new BLINK flag. There were no per-line 7509d522f475Smrg flags, so this changes a lot of logic. 7510d522f475Smrg</UL> 7511d522f475Smrg 7512d522f475Smrg <LI>corrected missing save-cursor logic in the handling of SGR 1048 7513d522f475Smrg (the new control sequence I added in patch #54, 1997/10/17). 7514d522f475Smrg Reported by Darren Hiebert. 7515d522f475Smrg 7516d522f475Smrg <LI>flush the output of the transparent printing after each line 7517d522f475Smrg Reported by Tomas Vanhala <vanhala@ling.helsinki.fi>. 7518d522f475Smrg 7519d522f475Smrg <LI>correct the modes that are affected by save/restore cursor by adding 7520d522f475Smrg WRAPAROUND and PROTECTED. 7521d522f475Smrg 7522d522f475Smrg <LI>corrected placement of one of the XSync calls that I added in patch 7523d522f475Smrg #51, 1997/9/15, which had the side-effect of writing on the window 7524d522f475Smrg border when the xterm was resizing from 132 to 80 columns. 7525d522f475Smrg 7526d522f475Smrg <LI>work around an incompatibility of the XKB definition used in xterm 7527d522f475Smrg versus that symbol from IRIX 6.2's imake definitions (by adjusting 7528d522f475Smrg the standalone configure script). 7529d522f475Smrg</UL> 7530d522f475Smrg 7531d522f475Smrg<H1><A NAME="xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A></H1> 7532d522f475Smrg 7533d522f475SmrgMy last patch has an off-by-one error in the comparison for argc. Douglas 7534d522f475SmrgKosovic <douglask@dstc.edu.au> showed me where (he got a core dump). 7535d522f475SmrgAlso, I think this explains Clint Olsen's problem, but the symptoms were more 7536d522f475Smrgsubtle (EINVAL for a system call if the -display option is omitted). 7537d522f475Smrg 7538d522f475Smrg<H1><A NAME="xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A></H1> 7539d522f475Smrg 7540d522f475SmrgThis patch does the following: 7541d522f475Smrg<UL> 7542d522f475Smrg <LI>implement logic to permit xterm to work with proportional fonts. 7543d522f475Smrg<UL> 7544d522f475Smrg <LI>Thomas Wolff 7545d522f475Smrg <Thomas.Wolff@sietec.de> 7546d522f475Smrg requested this (but it isn't exactly what he's asking 7547d522f475Smrg for - that's a more involved task). 7548d522f475Smrg 7549d522f475Smrg <LI>I chose to do this by rendering the characters on a fixed pitch, 7550d522f475Smrg because it would not be useful for existing applications to display 7551d522f475Smrg varying numbers of characters on each line. 7552d522f475Smrg 7553d522f475Smrg <LI>Except that this forces the display to be wider, it works reasonably 7554d522f475Smrg well. A couple of special cases (reverse + colorBD, for example) 7555d522f475Smrg do not display with proper colors, since the inter-character gaps 7556d522f475Smrg are painted with the background. 7557d522f475Smrg</UL> 7558d522f475Smrg 7559d522f475Smrg <LI>added a version number to the program (several people have requested 7560d522f475Smrg this). 7561d522f475Smrg 7562d522f475Smrg <LI>make the -version and -help options interpreted before the program 7563d522f475Smrg attempts to open the display. 7564d522f475Smrg 7565d522f475Smrg <LI>minor reorganization of the man-page (ordered the options, resources 7566d522f475Smrg and translations alphabetically - and eliminated some duplication). 7567d522f475Smrg 7568d522f475Smrg <LI>corrected a misspelled filename in Makefile.in, and added a lint 7569d522f475Smrg rule. 7570d522f475Smrg 7571d522f475Smrg <LI>updated the configure script to correct behavior when it cannot 7572d522f475Smrg find imake, as well as to fix the IRIX+gcc build (conflict with 7573d522f475Smrg /usr/include). 7574d522f475Smrg 7575d522f475Smrg <LI>regenerated the configure script with a newer patch to autoconf 7576d522f475Smrg that fixes a problem with environment space vs the configure --help 7577d522f475Smrg message. 7578d522f475Smrg</UL> 7579d522f475Smrg<H1><A NAME="xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A></H1> 7580d522f475Smrg 7581d522f475SmrgThis patch is mostly concerned with the standalone configure script; a few 7582d522f475Smrgminor corrections are added: 7583d522f475Smrg<UL> 7584d522f475Smrg <LI>add configure option --disable-tek4014, to allow xterm to be built 7585d522f475Smrg without the tek4014 emulation. 7586d522f475Smrg 7587d522f475Smrg <LI>add configure option --with-terminal-type, to allow xterm to be 7588d522f475Smrg compiled with default $TERM value other than "xterm" (e.g., 7589d522f475Smrg "xterm-16color") -- requested by Stephen Marley <stephen@memex.com>. 7590d522f475Smrg 7591d522f475Smrg <LI>fix a typo in the configure --help message -- reported by Darren 7592d522f475Smrg Hiebert <darren@hmi.com>. 7593d522f475Smrg 7594d522f475Smrg <LI>review diffs between main.c and os2main.c, to make them more alike. 7595d522f475Smrg (applies some minor bug-fixes to OS/2's version). 7596d522f475Smrg 7597d522f475Smrg <LI>add missing quotes in memmove/bcopy configure test 7598d522f475Smrg</UL> 7599d522f475Smrg 7600d522f475Smrg 7601d522f475Smrg<H1><A NAME="xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A></H1> 7602d522f475Smrg 7603d522f475SmrgThis patch is based on analysis by Arfst Ludwig <arfst@luxor.IN-Berlin.DE>, 7604d522f475Smrgwho reported: 7605d522f475Smrg<blockquote> 7606d522f475Smrg Setting the following resources xterm (all current versions) receives a 7607d522f475Smrg segmentation fault on <Btn2Up> after scrolling: 7608d522f475Smrg<PRE> 7609d522f475Smrg 7610d522f475Smrg *XTerm*VT100*translations: #override \ 7611d522f475Smrg ~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0)\n\ 7612d522f475Smrg Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1)\n\ 7613d522f475Smrg ~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0)\n\ 7614d522f475Smrg Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1) 7615d522f475Smrg</PRE> 7616d522f475Smrg (The above resources intention is to be able to paste the latest 7617d522f475Smrg selection even if the xterm was cleared.) 7618d522f475Smrg<P> 7619d522f475Smrg And here is how it works (and a fix!): The widget given to the action 7620d522f475Smrg handler as first argument is not guaranteed to be a XtermWidget (it can 7621d522f475Smrg be the ScrollbarWidget). Instead of accessing the widget's member 7622d522f475Smrg directly XtDisplay gives the required pointer in a safe way. 7623d522f475Smrg</blockquote> 7624d522f475SmrgI noticed that this was not the only instance (by reading the code, and testing 7625d522f475Smrgwith his example), and extended the solution to check the widget-class to 7626d522f475Smrgensure that it is indeed xterm's widget class before attempting to use it in 7627d522f475Smrgthe context of translations. 7628d522f475Smrg 7629d522f475Smrg<H1><A NAME="xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A></H1> 7630d522f475Smrg 7631d522f475SmrgThis fixes the segmentation violation noted by Rogier Wolff about a month 7632d522f475Smrgago. He'd set xterm to 400 (rows) by 150 columns, which broke because there 7633d522f475Smrgwere limited buffers (200 rows) used for juggling data when adding or deleting 7634d522f475Smrglines and for switching between alternate and normal screens. I replaced this 7635d522f475Smrgby an allocated buffer. 7636d522f475Smrg<P> 7637d522f475SmrgThe bug is simple to test if you set titeInhibit false. 7638d522f475Smrg 7639d522f475Smrg<H1><A NAME="xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A></H1> 7640d522f475Smrg 7641d522f475SmrgThis patch does the following: 7642d522f475Smrg<UL> 7643d522f475Smrg <LI>correct a minor placement problem with the right scrollbar. 7644d522f475Smrg 7645d522f475Smrg <LI>implement a new set of control sequences for switching between the 7646d522f475Smrg normal and alternate VT100 screens. These work around the older 7647d522f475Smrg sequences limitation that required modification of the runtime 7648d522f475Smrg $TERMCAP to cooperate with the titeInhibit resource (that can't work 7649d522f475Smrg with terminfo). I do this by moving all of the functionality of the 7650d522f475Smrg rmcur terminfo capability into the control sequences. 7651d522f475Smrg 7652d522f475Smrg <LI>implement the alternate-screen menu entry 7653d522f475Smrg</UL> 7654d522f475Smrg 7655d522f475Smrg<H1><A NAME="xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A></H1> 7656d522f475Smrg 7657d522f475SmrgThis patch adds a fix and implements a new feature (as well as some minor 7658d522f475Smrgtypos): 7659d522f475Smrg<UL> 7660d522f475Smrg <LI>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a problem 7661d522f475Smrg with the wait call with the logging option. It hung when the logfile 7662d522f475Smrg was opened as a command-line option. I fixed this by moving the 7663d522f475Smrg StartLogging() call down past the place where I'd reset the setuid 7664d522f475Smrg mode. So the logfile is opened as the real user, without having 7665d522f475Smrg to fork. 7666d522f475Smrg 766720d2c4d2Smrg <LI>improve Rohleder's changes by 766820d2c4d2Smrg renaming the command-line options and reducing the number of ifdef's. 766920d2c4d2Smrg 767020d2c4d2Smrg <LI>implement right-scrollbars for xterm 767120d2c4d2Smrg (patch by Michael Rohleder <michael.rohleder@stadt-frankfurt.de>). 7672d522f475Smrg</UL> 7673d522f475Smrg 7674d522f475Smrg<H1><A NAME="xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A></H1> 7675d522f475Smrg 7676d522f475SmrgThis patch addresses bugs and requests reported by 7677d522f475Smrg<UL> 7678d522f475Smrg <LI>Bob Maynard <rmaynard@montana.com>, 7679d522f475Smrg <LI>Clint Olsen <olsenc@ichips.intel.com>, 7680d522f475Smrg <LI>JCHANDRA@Inf.COM (JCHANDRA), 7681d522f475Smrg <LI>Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>, 7682d522f475Smrg <LI>Pablo Ariel Kohan <pablo@memco.co.il> 7683d522f475Smrg</UL> 7684d522f475Smrg 7685d522f475SmrgSome of the changes are interrelated (it was an unusually busy week). 7686d522f475Smrg<UL> 7687d522f475Smrg 7688d522f475Smrg <LI>change the default resource value for colorMode to true, matching 7689d522f475Smrg the Xterm.ad file. 7690d522f475Smrg 7691d522f475Smrg <LI>correct behavior of 'ech' control, making the default and 0 7692d522f475Smrg parameters erase one character rather than to the end of line 7693d522f475Smrg (reported by Michael Schroeder). 7694d522f475Smrg 7695d522f475Smrg <LI>add resource boldColors, command-line options +pc and -pc and 7696d522f475Smrg configure-script option to specify behavior of xterm's mapping bold 7697d522f475Smrg colors 0 through 7 to colors 8 through 15. 7698d522f475Smrg (request by Pablo Ariel Kohan). 7699d522f475Smrg 7700d522f475Smrg <LI>add resource colorAttrMode to specify whether colorULMode and 7701d522f475Smrg colorBDMode can override the ANSI colors 770220d2c4d2Smrg (report by Clint Olsen). 7703d522f475Smrg 7704d522f475Smrg <LI>correct a conflict between colorULMode/colorBDMode versus ANSI 7705d522f475Smrg colors, where exposure events would occasionally pick up the 7706d522f475Smrg former (e.g., colorBD) rather than ANSI colors. Testing the 7707d522f475Smrg colorAttrMode made this apparent, though it has been in the 7708d522f475Smrg code since 3.2A (patch #35 in Jan 1997). 7709d522f475Smrg 7710d522f475Smrg <LI>correct two problems with the optional logging support. On Linux 7711d522f475Smrg at least, the waitpid call in creat_as hangs when the logging is 7712d522f475Smrg toggled from the popup menu. Also, the mktemp template has the wrong 7713d522f475Smrg number of X's (since X11R5!). Fixed the waitpid problem by 7714d522f475Smrg exploiting the fact that the setuid behavior is reset before the 7715d522f475Smrg popup menus are available. 7716d522f475Smrg (reported by Jayachandran C.). 7717d522f475Smrg 7718d522f475Smrg <LI>add configure script options for building with the Xaw3d and neXtaw 7719d522f475Smrg libraries. 7720d522f475Smrg 7721d522f475Smrg <LI>correct CF_IMAKE_CFLAGS standalone configure script macro, so that it 7722d522f475Smrg will pick up $(ALLDEFINES) rather than $(STD_DEFINES). This is 7723d522f475Smrg needed to make scrollbars work on Linux, since that uses narrow 7724d522f475Smrg prototypes. 7725d522f475Smrg (reported by Bob Maynard). 7726d522f475Smrg 7727d522f475Smrg <LI>various minor updates to configure-script macros. 7728d522f475Smrg</UL> 7729d522f475Smrg 7730d522f475Smrg<H1><A NAME="xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A></H1> 7731d522f475Smrg 7732d522f475SmrgMost of this patch is related to the standalone configure script, though 7733d522f475Smrgthere are fixes/enhancements as well: 7734d522f475Smrg<UL> 7735d522f475Smrg <LI>add a new resource sunKeyboard, with associated command-line 7736d522f475Smrg option and menu-toggle that allows using a normal Sun or PC 7737d522f475Smrg keyboard to generated the complete DEC-style function keys 7738d522f475Smrg and keypad. 7739d522f475Smrg 7740d522f475Smrg <LI>correct a reversed foreground/background test in the control 7741d522f475Smrg sequence that replies with the current SGR settings. 7742d522f475Smrg 7743d522f475Smrg <LI>correct, by invoking XSync, a display problem that caused the 7744d522f475Smrg program to not properly update newly exposed areas when a font 7745d522f475Smrg change or 80/132 resize request was not completely accepted. 7746d522f475Smrg 7747d522f475Smrg <LI>restructured autoconf macros (I made a library of all of the 7748d522f475Smrg macros across the complicated configure scripts I'm working on). 7749d522f475Smrg 7750d522f475Smrg <LI>use the autoconf config.guess and config.sub scripts to better 7751d522f475Smrg identify the host-os. 7752d522f475Smrg 7753d522f475Smrg <LI>improve the configure script that uses 'imake' as a fallback for 7754d522f475Smrg definitions. 7755d522f475Smrg 7756d522f475Smrg <LI>correct several instances of unsigned/signed mixed expressions. 7757d522f475Smrg</UL> 7758d522f475Smrg 7759d522f475SmrgI've tested the configure script on Linux, SunOS 4.1.3, Solaris 2.5.1, 7760d522f475SmrgIRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but the last run properly 7761d522f475Smrgas well). 7762d522f475Smrg 7763d522f475Smrg<H1><A NAME="xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A></H1> 7764d522f475Smrg 7765d522f475SmrgThis is a collection of small fixes, and a couple of minor enhancements: 7766d522f475Smrg<UL> 7767d522f475Smrg <LI>plug a security hole in the implementation of Media Copy (print) 7768d522f475Smrg by invoking setuid just before the main loop. 7769d522f475Smrg 7770d522f475Smrg <LI>add an ifdef'd include for <sys/termio.h> for HP-UX, which allows 7771d522f475Smrg the program to process SIGWINCH events (this is a bug in X11R6.3) 7772d522f475Smrg 7773d522f475Smrg <LI>add state-table entries for VT52 emulation to enter/exit keypad 7774d522f475Smrg application mode. 7775d522f475Smrg 7776d522f475Smrg <LI>disable the popup-menu entry for 8-bit controls when the terminal-id 7777d522f475Smrg is less than 200 (e.g., VT52 or VT100). 7778d522f475Smrg 7779d522f475Smrg <LI>ensure that the popup-menu entry for 8-bit controls is updated when 7780d522f475Smrg the application enables/disables this mode, including the response 7781d522f475Smrg to a full-reset. 7782d522f475Smrg 7783d522f475Smrg <LI>implement VT300 DECBKM feature: set interpretation of the backarrow 7784d522f475Smrg key to either backspace or delete. The initial setting is via 7785d522f475Smrg resource; it can also be modified in the main popup menu. 7786d522f475Smrg 7787d522f475Smrg <LI>implement VTxxx KAM (ISO AM), which allows a keyboard to be locked 7788d522f475Smrg (i.e., the terminal discards input). 7789d522f475Smrg 7790d522f475Smrg <LI>implement VTxxx SRM, which is used to control local echoing of 7791d522f475Smrg input on the terminal. 7792d522f475Smrg 7793d522f475Smrg <LI>add terminfo and termcap entries for xterm-8bit, a variation of 7794d522f475Smrg the xterm description that uses 8-bit control characters. 7795d522f475Smrg 7796d522f475Smrg <LI>add fallback definitions for Imakefile to allow it to work on some 7797d522f475Smrg X11R5 systems that have no SpecialCObjectRule or ProgramTargetName 7798d522f475Smrg macros. 7799d522f475Smrg 7800d522f475Smrg <LI>add .c.o and .c.i rules to standalone Makefile.in 7801d522f475Smrg 7802d522f475Smrg <LI>correct order of -lXmu and -lXext in standalone configure script. 7803d522f475Smrg 7804d522f475Smrg <LI>add configure script options to allow selective disabling of 7805d522f475Smrg active-icon, input-method and i18n code (mainly for users with X11R5 7806d522f475Smrg or an incomplete X11R6 configuration). 7807d522f475Smrg 7808d522f475Smrg <LI>change menu-indices from #define's to enum values, thereby making 7809d522f475Smrg it work better with the ifdef's for logging and active-icon (the 7810d522f475Smrg X11R6.3 active-icon code is incorrectly ifdef'd; this corrects an 7811d522f475Smrg error introduced by incorporating that code). 7812d522f475Smrg 7813d522f475Smrg <LI>correct minor compile errors in the configuration where active-icon 7814d522f475Smrg is not used. 7815d522f475Smrg 7816d522f475Smrg <LI>add configure option to suppress echoing of long compiler commands 7817d522f475Smrg 7818d522f475Smrg <LI>correct spelling of decTerminalID in configure script help message 7819d522f475Smrg 7820d522f475Smrg <LI>use gcc __attribute__((unused)) to quiet warnings about unused 7821d522f475Smrg parameters when compiling with -W (to make it simpler to find the 7822d522f475Smrg real problems). 7823d522f475Smrg</UL> 7824d522f475Smrg 7825d522f475Smrg<H1><A NAME="xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A></H1> 7826d522f475Smrg 7827d522f475SmrgThis patch implements the VT100/VT220 Media Copy (i.e., print-screen) control 7828d522f475Smrgsequences. 7829d522f475Smrg 7830d522f475Smrg<H1><A NAME="xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A></H1> 7831d522f475Smrg 7832d522f475SmrgThis patch does the following (all but the first affect only the standalone 7833d522f475Smrgconfigure script): 7834d522f475Smrg<UL> 7835d522f475Smrg <LI>minor correction to positioning of underlines for small (e.g., 5x8) 7836d522f475Smrg font size. 7837d522f475Smrg <P> 7838d522f475Smrg The existing behavior allowed underlines to be drawn outside the 7839d522f475Smrg character-cell, so they weren't cleared properly under some 7840d522f475Smrg circumstances. 7841d522f475Smrg 7842d522f475Smrg <LI>adds more special-case tokens to the standalone configure script's 7843d522f475Smrg imake-option filter (e.g., "&&", since a "make -n main.o" on my IRIX 7844d522f475Smrg system uses that shell construct). 7845d522f475Smrg 7846d522f475Smrg <LI>adds a '--enable-logging' option for the standalone configure script. 7847d522f475Smrg 7848d522f475Smrg <LI>adds check and ifdef's for the standalone configure script to allow 7849d522f475Smrg for building on platforms with X11R6, which lacks Xpoll.h (introduced 7850d522f475Smrg in X11R6.1). 7851d522f475Smrg</UL> 7852d522f475Smrg 7853d522f475Smrg<H1><A NAME="xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A></H1> 7854d522f475Smrg 7855d522f475SmrgThis patch does the following 7856d522f475Smrg<UL> 7857d522f475Smrg <LI>corrects an indexing error in the doublesize character logic 7858d522f475Smrg (button.c) that caused core dump (this was reported by J. Wunsch). 7859d522f475Smrg <LI>corrects the logic of ShowCursor when it is painting in a doublesize 7860d522f475Smrg cell (charproc.c). 7861d522f475Smrg <LI>corrects, according to vttest, the behavior when switching to 7862d522f475Smrg doublesize characters and back again (doublechr.c). 7863d522f475Smrg <LI>adds cbt (back_tab) to the terminfo description (this was something 7864d522f475Smrg that I'd overlooked as applicable to curses optimization last 7865d522f475Smrg summer). 7866d522f475Smrg <LI>corrects, for the standalone xmc test, the logic for disabling xmc. 7867d522f475Smrg</UL> 7868d522f475Smrg 7869d522f475Smrg<H1><A NAME="xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A></H1> 7870d522f475Smrg 7871d522f475SmrgThis is a patch to provide test-support for some work I'm doing on ncurses. It 7872d522f475Smrgdoes not modify the normal configuration of xterm; the code is compiled if the 7873d522f475Smrgstandalone configure option "--enable-xmc-glitch" is specified. 7874d522f475Smrg 7875d522f475Smrg<H1><A NAME="xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A></H1> 7876d522f475Smrg 7877d522f475SmrgThis fixes the problem reported with xterm's cursor color versus the background 7878d522f475Smrg(the second chunk in this patch) and also removes some duplicate initialization 7879d522f475Smrgof the cursor GC's. If the cursor color at startup is the same as the 7880d522f475Smrgbackground, then xterm will use the reverse GC, ignoring the setting of the 7881d522f475SmrgcolorMode resource. 7882d522f475Smrg 7883d522f475Smrg<H1><A NAME="xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A></H1> 7884d522f475Smrg 7885d522f475SmrgThis implements the first part of the VT100 doublesize characters for xterm, 7886d522f475Smrgas well as fixing a handful of bugs: 7887d522f475Smrg<UL> 7888d522f475Smrg <LI>the doublesize character support uses the normal font (using scaled 7889d522f475Smrg fonts will be another patch) with blanks to simulate doublesize 7890d522f475Smrg characters. This patch does most of the global changes that'll be 7891d522f475Smrg required. I've hidden most of the details in macros and ifdef's so 7892d522f475Smrg it's easy to configure out (part of the patch is a configure option 7893d522f475Smrg for that purpose). 7894d522f475Smrg 7895d522f475Smrg <LI>corrected limits in DeleteChar() function -- it's always ignored the 7896d522f475Smrg size of the left border and scrollbar. I noticed this when working 7897d522f475Smrg on the doublesize characters since the glitch was doubled in size 7898d522f475Smrg (i.e., it wrapped some garbage around the right margin). 7899d522f475Smrg 7900d522f475Smrg <LI>corrected 'memmove()' logic, for standalone builds (it referenced a 7901d522f475Smrg malloc wrapper from my development library). 7902d522f475Smrg 7903d522f475Smrg <LI>add a check for HideCursor() to prevent repeated screen updates 7904d522f475Smrg (which can cause a spurious cursor glitch to appear, e.g., during 7905d522f475Smrg scrolling). I noticed this with the 3.2A version (but only a few 7906d522f475Smrg weeks ago, when I started working on this patch). 7907d522f475Smrg</UL> 7908d522f475Smrg 7909d522f475Smrg<H1><A NAME="xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A></H1> 7910d522f475Smrg 7911d522f475SmrgHere's a fix for two problems: 7912d522f475Smrg<UL> 7913d522f475Smrg <LI>modify handling of tgetent results in xterm and resize programs to 7914d522f475Smrg make them tolerant of missing termcap file, or unknown terminal name. 7915d522f475Smrg In this scheme, an explicit "-tn" option will succeed, overriding 7916d522f475Smrg the fallback list. 7917d522f475Smrg 7918d522f475Smrg <LI>a nit in the configure script (log extra information to help diagnose 7919d522f475Smrg which case of the test-compile of tgetent was used). 7920d522f475Smrg</UL> 7921d522f475Smrg 7922d522f475Smrg<H1><A NAME="xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A></H1> 7923d522f475Smrg 7924d522f475SmrgBram Moolenaar reported that the cursor color changed unexpectedly while 7925d522f475Smrgscrolling. The cause was that it used the same GC's as the logic that draws 7926d522f475Smrgthe ANSI colors. The bug only appears if the cursorColor resource isn't set, 7927d522f475Smrgand has been present since the initial implementation early last year. (The 7928d522f475Smrgsame bug also appears in rxvt ;-). Here's a fix. 7929d522f475Smrg 7930d522f475Smrg<H1><A NAME="xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A></H1> 7931d522f475Smrg 7932d522f475SmrgSome nits found by Darren Hiebert (missing part of install-rule, incorrect 7933d522f475Smrgassignment for --enable-color-mode option). 7934d522f475Smrg 7935d522f475Smrg<H1><A NAME="xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A></H1> 7936d522f475Smrg 7937d522f475SmrgPatch for the configure script's logic for obtaining imake predefined 7938d522f475Smrgsymbols. 7939d522f475Smrg 7940d522f475Smrg<H1><A NAME="xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A></H1> 7941d522f475Smrg 7942d522f475SmrgThis patch does the following: 7943d522f475Smrg<UL> 7944d522f475Smrg <LI>integrate the 16-color change for 'xterm' 7945d522f475Smrg 7946d522f475Smrg <LI>minor fixes/clarification of tgetent in terminfo vs termcap to 7947d522f475Smrg 'resize' 7948d522f475Smrg</UL> 7949d522f475Smrg 7950d522f475Smrg(both changes also modify the configure script) 7951d522f475Smrg 7952d522f475Smrg<H1><A NAME="xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A></H1> 7953d522f475Smrg 7954d522f475SmrgThis implements a simple configuration script with autoconf (to which I'll 7955d522f475Smrgadd more options later). It does the following: 7956d522f475Smrg<UL> 7957d522f475Smrg <LI>configures xterm to build with X11R5 (at least on SunOS 4.1, Solaris 7958d522f475Smrg 2.4, possibly IRIX - sorry network was down today, but I did test 7959d522f475Smrg an earlier version yesterday). 7960d522f475Smrg 7961d522f475Smrg <LI>enables/disables the configuration ifdef's for ANSI color and VT52 7962d522f475Smrg emulation. 7963d522f475Smrg</UL> 7964d522f475SmrgIt does not make tests for the things that imake does (that's another project), 7965d522f475Smrginstead it uses a hybrid of the autoconf tests for libraries and adds imake's 7966d522f475Smrgcompiler options (which are necessary in some cases to get main.c to compile). 7967d522f475Smrg 7968d522f475Smrg<H1><A NAME="xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A></H1> 7969d522f475Smrg 7970d522f475SmrgThis corrects a minor, but annoying error in the vt220 emulation: the DECUDK 7971d522f475Smrgis only supposed to be interpreted for _shifted_ function keys. 7972d522f475Smrg 7973d522f475Smrg<H1><A NAME="xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A></H1> 7974d522f475Smrg 7975d522f475SmrgThis corrects something that I overlooked in patch #27 (21-aug-1996), which is 7976d522f475Smrgthat when trimming the region to be repainted for the highlightSelection 7977d522f475Smrgresource of xterm, I still have to paint the background past the highlighted 7978d522f475Smrgregion. This only happens when I first do a selection in a window that's 7979d522f475Smrgpartly off-screen, then move the window on-screen. 7980d522f475Smrg 7981d522f475Smrg<H1><A NAME="xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A></H1> 7982d522f475Smrg 7983d522f475SmrgThis patch does the following: 7984d522f475Smrg<UL> 7985d522f475Smrg <LI>combines the coding for foreground and background colors into a 7986d522f475Smrg single byte, reducing the memory required to store saved-lines in 7987d522f475Smrg color. (I'll take back that byte in a following patch to use to 7988d522f475Smrg ensure the character-set, so there's no long-term decrease in memory 7989d522f475Smrg use). 7990d522f475Smrg 7991d522f475Smrg <LI>modifies the PF1-PF4 coding in termcap/terminfo. Because xterm is 7992d522f475Smrg still by default emulating vt100, the function key codes are 7993d522f475Smrg vt100-compatible (I overlooked this in patch #31). 7994d522f475Smrg 7995d522f475Smrg I also reformatted the whole terminfo file into a single-column, 7996d522f475Smrg for consistency. 7997d522f475Smrg 7998d522f475Smrg <LI>adds an interim xterm-vt220 description to accommodate the old and new 7999d522f475Smrg styles of function-keys (though probably it'd be better to drop the 8000d522f475Smrg old-style altogether). 8001d522f475Smrg</UL> 8002d522f475Smrg 8003d522f475Smrg<H1><A NAME="xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A></H1> 8004d522f475Smrg 8005d522f475SmrgThis patch does the following: 8006d522f475Smrg<UL> 8007d522f475Smrg <LI>implement DECSTR (soft terminal reset). The biggest diff is due to 8008d522f475Smrg adding another state table (note that there's only one useful state 8009d522f475Smrg here, but it's only 256 bytes rather than 1k as it would have been 8010d522f475Smrg before I reduced the size of state entries). 8011d522f475Smrg 8012d522f475Smrg <LI>some minor tidying up (e.g., signed/unsigned use bitcpy, MODE_DECCKM, 8013d522f475Smrg resetColor, resetCharsets). More is done in patch #35. 8014d522f475Smrg</UL> 8015d522f475Smrg 8016d522f475SmrgI got the description of DECSTR from a vt420 user's manual. I'll do some 8017d522f475Smrgtesting with vttest to ensure that there's nothing else to do than what was 8018d522f475Smrgdocumented. 8019d522f475Smrg 8020d522f475Smrg<H1><A NAME="xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A></H1> 8021d522f475Smrg 8022d522f475SmrgThis adds to the reset-fix by Matthieu Herrb <Mathieu.Herrb@mipnet.fr> a 8023d522f475Smrgsmall change to make xterm able to output 8-bit characters in VT100 mode. 8024d522f475Smrg 8025d522f475SmrgApplications that run on real VT100's don't do that anyway, and this feature 8026d522f475Smrgshould be removed sometime after finishing off the VT220 emulation (VT220's can 8027d522f475Smrgdo 8-bit characters). That would be a good time to change the default 8028d522f475Smrgterminal-id to 220. 8029d522f475Smrg 8030d522f475Smrg<H1><A NAME="xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A></H1> 8031d522f475Smrg 8032d522f475SmrgThis implements the REP (repeat) control for xterm. That isn't part of the DEC 8033d522f475SmrgVTxxx series, but is defined in ISO 6429. (Note that the base xterm terminal 8034d522f475Smrgdescription is <EM>not</EM> changed -- I added a variant, "xterm-rep"). 8035d522f475Smrg 8036d522f475Smrg<H1><A NAME="xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A></H1> 8037d522f475Smrg 8038d522f475SmrgThis implements vt52 emulation in xterm (ifdef'd so it can be removed). 8039d522f475SmrgI've been using it for testing for the past month or so. 8040d522f475Smrg 8041d522f475Smrg<H1><A NAME="xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A></H1> 8042d522f475Smrg 8043d522f475SmrgFrom bug-report by <auroux@clipper.ens.fr> (Denis Auroux), missing reset to 8044d522f475Smrgground state. I checked through the rest of <EM>that</EM> table and found another, 8045d522f475Smrgin the unimplemented MC (screen print). 8046d522f475Smrg 8047d522f475Smrg<H1><A NAME="xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A></H1> 8048d522f475Smrg 8049d522f475SmrgThis patch does the following: 8050d522f475Smrg<UL> 8051d522f475Smrg <LI>corrects the restoration of color for bold/underline color mode 8052d522f475Smrg 8053d522f475Smrg <LI>adds a resource 'decTerminalID' to control the reporting level of 8054d522f475Smrg xterm (e.g., VT100, VT220). 8055d522f475Smrg 8056d522f475Smrg <LI>uses the new resource to implement/correct the DA1, DA2 and 8057d522f475Smrg DECRPTUI reports. 8058d522f475Smrg 8059d522f475Smrg <LI>change valid-response code in DECRQSS from 0 to 1 (the manual says 0, 8060d522f475Smrg but the VT420 terminal I've been testing on says 1). 8061d522f475Smrg</UL> 8062d522f475Smrg 8063d522f475SmrgAll of these changes are based on vttest 2.6 8064d522f475Smrg<P> 8065d522f475Smrg(Most of the volume in the patch is to add 2 more state tables for parsing 8066d522f475Smrgthe 2nd/3rd device-attribute controls). 8067d522f475Smrg 8068d522f475Smrg<H1><A NAME="xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A></H1> 8069d522f475Smrg 8070d522f475SmrgThis patch corrects the following reported by Roland Rosenfeld 8071d522f475Smrg<roland@spinnaker.rhein.de>: 8072d522f475Smrg<UL> 8073d522f475Smrg <LI>handle SGR 22, 24 and 25 in combination with colorUL and colorBD 8074d522f475Smrg resources. Also noted & fixed reset of colored underline/bold 8075d522f475Smrg with SGR 0. 8076d522f475Smrg 8077d522f475Smrg <LI>a typo in the termcap (missing '['), from 3.1.2Dj (my error) 8078d522f475Smrg</UL> 8079d522f475Smrg 8080d522f475SmrgRoland also complained that he couldn't use box characters with 8081d522f475Smrg<PRE> 8082d522f475Smrg -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1 8083d522f475Smrg</PRE> 8084d522f475Smrgbut that's a known xterm limitation (the box characters must be part of the 8085d522f475Smrgfont, in the first 32 locations). 8086d522f475Smrg 8087d522f475Smrg<H1><A NAME="xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A></H1> 8088d522f475Smrg 8089d522f475SmrgThis patch fixes one of my long-term gripes: xterm's selection doesn't clearly 8090d522f475Smrgshow what's being selected (as per David's request, it's controlled by a 8091d522f475Smrgresource, which defaults to the older behavior). 8092d522f475Smrg 8093d522f475Smrg<H1><A NAME="xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A></H1> 8094d522f475Smrg 8095d522f475SmrgHere's a patch to fix a problem with xterm's cut/paste and another to modify 8096d522f475Smrgthe appearance of the highlighting while selecting. (The changes are 8097d522f475Smrgindependent, so you can see if the change to screen.c is desirable). 8098d522f475Smrg 8099d522f475Smrg<H1><A NAME="xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A></H1> 8100d522f475Smrg 8101d522f475SmrgHere's a correction for two minor bugs that I picked up in testing, plus 8102d522f475Smrgsome lint (from Solaris 2.5) where NULL was used incorrectly: 8103d522f475Smrg<UL> 8104d522f475Smrg <LI>make the second alternate font the same as the first (that's what 8105d522f475Smrg vt420 and dtterm do) 8106d522f475Smrg 8107d522f475Smrg <LI>corrected DECSCL report when DECSCL hasn't been set (i.e., don't 8108d522f475Smrg return a '60'). 8109d522f475Smrg</UL> 8110d522f475Smrg 8111d522f475Smrg<H1><A NAME="xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A></H1> 8112d522f475Smrg 8113d522f475SmrgThis patch does several things. In effect, xterm can (I think) do a reasonably 8114d522f475Smrggood job of emulating vt220 and vt320 terminals (as well as it was doing 8115d522f475Smrgvt100, at any rate ;-). 8116d522f475Smrg<P> 8117d522f475SmrgIt does NOT do: 8118d522f475Smrg<UL> 8119d522f475Smrg <LI>soft fonts 8120d522f475Smrg 8121d522f475Smrg <LI>rigel or sixel graphics 8122d522f475Smrg</UL> 8123d522f475Smrg<P> 8124d522f475SmrgAnyway, I: 8125d522f475Smrg<UL> 8126d522f475Smrg 8127d522f475Smrg <LI>added ECH, CPL, CNL, SU, SD, CBT, CHT controls 8128d522f475Smrg 8129d522f475Smrg <LI>added popup-menu for switching between DEC and Sun function keys. 8130d522f475Smrg (corrected alignment err wrt logging entry at that point). 8131d522f475Smrg 8132d522f475Smrg <LI>make xterm recognize both 8-bit and 7-bit controls (including 8133d522f475Smrg popup menu for switching modes). 8134d522f475Smrg 8135d522f475Smrg <LI>add user-definable function keys (aka DECUDK) 8136d522f475Smrg 8137d522f475Smrg <LI>support concealed text 8138d522f475Smrg 8139d522f475Smrg <LI>support protected text (both ISO compatible and DEC compatible - 8140d522f475Smrg that's not the same thing, btw), with SPA, EPA, DECSCA, DECSED, 8141d522f475Smrg DECSEL controls. 8142d522f475Smrg 8143d522f475Smrg <LI>implement DECSCL. 8144d522f475Smrg</UL> 8145d522f475Smrg<P> 8146d522f475SmrgI'll be continuing to test this patch for a while, but don't expect to add any 8147d522f475Smrgnew functionality (it passes all of the current tests I've built in vttest, but 8148d522f475SmrgI need to make more tests).. 8149d522f475Smrg 8150d522f475Smrg<H1><A NAME="xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A></H1> 8151d522f475Smrg 8152d522f475SmrgThis removes the blinking cursor I added last week (for performance reasons). 8153d522f475SmrgTime-permitting, I'll revisit this after 3.2 is released (there <EM>will</EM> be more 8154d522f475Smrgwork after XFree86 3.2, I assume). 8155d522f475Smrg 8156d522f475Smrg<H1><A NAME="xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A></H1> 8157d522f475Smrg 8158d522f475SmrgI looked more closely at my "double-negative" and realized that I had been 8159d522f475Smrgconfused by the default color scheme (black on white) in combination with 8160d522f475Smrgreverse video. However, I did see that the original_fg and original_bg data 8161d522f475Smrgweren't really used - so I removed that logic. 8162d522f475Smrg<P> 8163d522f475SmrgAlso: 8164d522f475Smrg<UL> 8165d522f475Smrg <LI>during initialization, check if ANSI colors are set with non fg/bg 8166d522f475Smrg values, disable color mode if not. This makes xterm tolerant of 8167d522f475Smrg applications that allocate the whole color map. 8168d522f475Smrg 8169d522f475Smrg <LI>implemented blinking cursor (default is <EM>off</EM>) 8170d522f475Smrg</UL> 8171d522f475Smrg 8172d522f475Smrg<H1><A NAME="xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A></H1> 8173d522f475Smrg 8174d522f475SmrgThis patch does the following: 8175d522f475Smrg<UL> 8176d522f475Smrg <LI>fixes some minor typography in the control-sequences documentation 8177d522f475Smrg (it didn't occur to me til I'd sent the last patch that I could use 8178d522f475Smrg ghostview for previewing the troff output ;-) 8179d522f475Smrg 8180d522f475Smrg <LI>adjusts the shell's background color in ReverseVideo so that flicker 8181d522f475Smrg in resizing is reduced 8182d522f475Smrg 8183d522f475Smrg <LI>adds an ifdef OPT_ISO_COLORS to allow configuring xterm without 8184d522f475Smrg the ISO color support (saves a lot of memory) 8185d522f475Smrg 8186d522f475Smrg <LI>used that ifdef to isolate/modify logic so that if the user doesn't 8187d522f475Smrg have the colorMode enabled, then ISO color support is disabled (saving 8188d522f475Smrg memory). 8189d522f475Smrg <P> 8190d522f475Smrg (If anyone needs numbers, I had savedLines set to 2000, and found 8191d522f475Smrg a reduction from ~700k to ~400k of allocated memory, according to 8192d522f475Smrg Purify). 8193d522f475Smrg</UL> 8194d522f475Smrg 8195d522f475Smrg<H1><A NAME="xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A></H1> 8196d522f475Smrg 8197d522f475SmrgThis documents the changes in control sequences for window operations that 8198d522f475SmrgI added in my previous patch. I'm testing another patch that allows the 8199d522f475Smrguser to use less memory if colors aren't needed. 8200d522f475Smrg 8201d522f475Smrg<H1><A NAME="xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A></H1> 8202d522f475Smrg 8203d522f475SmrgThis patch does the following: 8204d522f475Smrg<UL> 8205d522f475Smrg <LI>fixes the core dump that I reported on IRIX 5.2 (in main.c) 8206d522f475Smrg <P> 8207d522f475Smrg (it's worth noting that this bug exists in X11R6.1, so I'd like 8208d522f475Smrg to assume that someone's already submitted a fix to X Consortium...) 8209d522f475Smrg 8210d522f475Smrg <LI>change the interpretation of zero rows or columns in a resize-window 8211d522f475Smrg request to use the root window's size (looking more carefully at 8212d522f475Smrg dtterm, that seems to be what it does). 8213d522f475Smrg 8214d522f475Smrg <LI>change some memmove calls to memcpy for slightly better performance. 821520d2c4d2Smrg also, a couple of memset calls to bzero, since Quantify says bzero runs 821620d2c4d2Smrg 20% faster, I assume because there's one less argument. 8217d522f475Smrg 8218d522f475Smrg <LI>interpret character sets 1 and 2 (so that vttest gives a reasonable 8219d522f475Smrg result) Both rxvt and dtterm do something equivalent. 8220d522f475Smrg 8221d522f475Smrg <LI>fix a minor memory leak in the logic that retrieves the window or 8222d522f475Smrg icon names (Purify found this for me while I ran vttest). 8223d522f475Smrg</UL> 8224d522f475Smrg 8225d522f475Smrg<H1><A NAME="xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A></H1> 8226d522f475Smrg 8227d522f475SmrgThis implements the following: 8228d522f475Smrg<UL> 8229d522f475Smrg <LI>escape sequences that act like the CDE dtterm's window operations 8230d522f475Smrg (though I have implemented the default width and height -- I've seen 8231d522f475Smrg a rather buggy dtterm running that seems to treat width=0 or height=0 8232d522f475Smrg literally -- maybe that's a feature, not a bug?) 8233d522f475Smrg 8234d522f475Smrg <LI>minor tweak to the screen-repainting when resizing (I still cannot 8235d522f475Smrg entirely get rid of flicker). 8236d522f475Smrg 8237d522f475Smrg <LI>still more fixes to terminfo & termcap (I corrected my error for 8238d522f475Smrg the hpa code and added some other stuff by comparing to ncurses' 8239d522f475Smrg description and rxvt's). 8240d522f475Smrg 824120d2c4d2Smrg <LI>a tweak to the changes by Michael Rohleder for the color translation 8242d522f475Smrg 8243d522f475Smrg <LI>re-order attribute codes to allow later implementation of protected 8244d522f475Smrg fields (dtterm supposedly does this; it's probably more useful than 8245d522f475Smrg blinking or invisible text -- that uses up all of the available bits 8246d522f475Smrg without changing the attribute scheme radically). 8247d522f475Smrg</UL> 8248d522f475Smrg 8249d522f475Smrg<H1><A NAME="xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A></H1> 8250d522f475Smrg 8251d522f475SmrgThis patch implements for xterm several minor features from ISO 6429 which are 8252d522f475Smrguseful for terminfo applications. The HPA and VPA control sequences allow 8253d522f475Smrgcursor movement along a row or column, cutting down a little on the characters 8254d522f475Smrgtransmitted. The other codes allow resetting specific graphic rendition 8255d522f475Smrgattributes without modifying the other attributes. 8256d522f475Smrg 8257d522f475Smrg(now if someone just had time to implement blinking cursors...) 8258d522f475Smrg 8259d522f475Smrg<H1><A NAME="xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A></H1> 8260d522f475Smrg 8261d522f475SmrgAdam Tla/lka <atlka@pg.gda.pl> told me a couple of weeks ago that I'd missed 8262d522f475Smrgsome of the background coloring in xterm. I investigated, and found that while 8263d522f475SmrgI'd picked up on the clear-to-bottom and clear-to-end-of-line operations, I'd 8264d522f475Smrgoverlooked the insert/delete lines. Just so I wouldn't overlook any more of 8265d522f475Smrgthese, I updated a copy of vttest to test ISO colors and bce (background color 8266d522f475Smrgerase). This patch introduces a new function, ClearCurBackground, whose calls 8267d522f475Smrgreplace the direct XClearArea calls that I'd overlooked. 8268d522f475Smrg 8269d522f475Smrg(There's also a few compiler warnings fixed, etc ;-) 8270d522f475Smrg 8271d522f475Smrg<H1><A NAME="xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A></H1> 8272d522f475Smrg 8273d522f475SmrgThis fixes the problem reported by David Dawes, by making the 50msec select 8274d522f475Smrgtimeout for the Xaw3d arrow scrollbar a resource. (I made it a boolean for a 8275d522f475Smrgvariety of reasons -- to make it a number, you'd need an additional resource, 8276d522f475Smrgto avoid breaking the logic). 8277d522f475Smrg 8278d522f475Smrg<H1><A NAME="xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A></H1> 8279d522f475Smrg 8280d522f475SmrgThis patch brings the termcap and terminfo descriptions for xterm up to date. 8281d522f475SmrgI made the following changes: 8282d522f475Smrg<UL> 8283d522f475Smrg <LI>reformatted the terminfo description in a single-column (this is ok 8284d522f475Smrg for terminfo, and will simplify future patches -- can't do that for 8285d522f475Smrg termcap, since it would impact buffer requirements on some systems). 8286d522f475Smrg 8287d522f475Smrg <LI>omitted obsolete features in termcap to save a little space (bs, pt) 8288d522f475Smrg 8289d522f475Smrg <LI>added color capabilities to termcap (ut, Co, NC, op, AB, AF) 8290d522f475Smrg 8291d522f475Smrg <LI>corrected some capabilities (vi, ve) 8292d522f475Smrg 8293d522f475Smrg <LI>added 'st' (set tab) 8294d522f475Smrg 8295d522f475Smrg <LI>reduced function keys in termcap for 'xterm' to 12 because color 8296d522f475Smrg capabilities makes that description larger than 1023 characters. 8297d522f475Smrg 8298d522f475Smrg <LI>created new termcap name 'xtermm' (monochrome) to match the terminfo 8299d522f475Smrg list, and make that description have 20 function keys. 8300d522f475Smrg 8301d522f475Smrg <LI>added corresponding color capabilities to terminfo (bce, colors, 8302d522f475Smrg pairs, op, ncv, setab, setaf) 8303d522f475Smrg 8304d522f475Smrg <LI>corrected corresponding capabilities in terminfo (civis, cnorm, 8305d522f475Smrg rmcup, smcup) 8306d522f475Smrg 8307d522f475Smrg <LI>added capabilities (el1, hts) 8308d522f475Smrg 8309d522f475Smrg <LI>in both, corrected home/end keys to match the code correction made 8310d522f475Smrg by Thomas Mueller in 3.1.2Bk 8311d522f475Smrg 8312d522f475Smrg <P>=> (I'm still considering modifying the code & description to match 8313d522f475Smrg the rxvt program). 8314d522f475Smrg</UL> 8315d522f475Smrg 8316d522f475Smrg<H1><A NAME="xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A></H1> 8317d522f475Smrg 8318d522f475SmrgThis corrects my earlier changes for colors - the inner border of the xterm was 8319d522f475Smrggetting painted with the wrong color, since I'd moved the call to set the 8320d522f475Smrgbackground into the logic that tracks SGR information. 8321d522f475Smrg 8322d522f475Smrg<H1><A NAME="xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A></H1> 8323d522f475Smrg 8324d522f475SmrgThis corrects a memory leak in xterm that happens whenever one switches fonts. 8325d522f475Smrg 8326d522f475Smrg<H1><A NAME="xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A></H1> 8327d522f475Smrg 8328d522f475SmrgThis patch corrects the behavior of the ANSI colors in xterm when reverse 8329d522f475Smrgvideo is used, as well as some other lesser sins: 8330d522f475Smrg<UL> 8331d522f475Smrg <LI>button.c 8332d522f475Smrg<UL> 8333d522f475Smrg <LI>(compiler warnings: shadowing of 'time', redundant cast) 8334d522f475Smrg</UL> 8335d522f475Smrg 8336d522f475Smrg <LI>charproc.c 8337d522f475Smrg<UL> 8338d522f475Smrg <LI>renamed screen.colors[] array to screen.Acolors[] to more 8339d522f475Smrg easily distinguish the non-ANSI colors from the ANSI colors. 8340d522f475Smrg 8341d522f475Smrg <LI>moved logic of SGR_Save() into VTInitialize, getting rid of 8342d522f475Smrg local private variables original_fg and original_bg. 8343d522f475Smrg 8344d522f475Smrg <LI>moved some logic into getXtermForeground and getXtermBackground 8345d522f475Smrg from SGR_Foreground, SGR_Background, etc. 8346d522f475Smrg 8347d522f475Smrg <LI>corrected misleading 'row' to 'col' in case for CUF, CUB 8348d522f475Smrg sequences. 8349d522f475Smrg</UL> 8350d522f475Smrg 8351d522f475Smrg <LI>ctlseqs.ms 8352d522f475Smrg <LI>xterm.man 8353d522f475Smrg<UL> 8354d522f475Smrg <LI>(correct a misconception which I'd added that the color0 8355d522f475Smrg through color6 resource values apply to non-ANSI colors) 8356d522f475Smrg</UL> 8357d522f475Smrg 8358d522f475Smrg <LI>ptyx.h 8359d522f475Smrg<UL> 8360d522f475Smrg <LI>added original_fg, original_bg to TScreen structure. 8361d522f475Smrg</UL> 8362d522f475Smrg 8363d522f475Smrg <LI>scrollbar.c 8364d522f475Smrg<UL> 8365d522f475Smrg <LI>(compiler warnings: redundant cast) 8366d522f475Smrg</UL> 8367d522f475Smrg 8368d522f475Smrg <LI>util.c 8369d522f475Smrg<UL> 8370d522f475Smrg <LI>new functions getXtermForeground and getXtermBackground replace 8371d522f475Smrg the macros GET_FG and GET_BG, with the added functionality of 8372d522f475Smrg checking for the reverse-video status of xterm. 8373d522f475Smrg 8374d522f475Smrg <LI>in ReverseVideo, swap the SGR foreground and background colors 8375d522f475Smrg also. 8376d522f475Smrg</UL> 8377d522f475Smrg</UL> 8378d522f475Smrg 8379d522f475Smrg<H1><A NAME="xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A></H1> 8380d522f475Smrg 8381d522f475SmrgI observed an occasional glitch in the xterm's color behavior; a clear to end 8382d522f475Smrgof line would get a color that had been used in a program that supposedly reset 8383d522f475Smrgcolors. I traced this down to the way xterm was modifying colors of GC's on 8384d522f475Smrgthe fly; it didn't restore the original color of the GC, even though it would 8385d522f475Smrglater be used in functions (such as ClearRight) that assumed (my error) that 8386d522f475Smrgthe GC would have the current foreground or background color. 8387d522f475Smrg<P> 8388d522f475SmrgI fixed this by resetting the GC's colors with a new function 'resetXtermGC()', 8389d522f475Smrgand direct calls on SGR_Foreground/SGR_Background, as appropriate and using a 8390d522f475Smrgnew function 'updatedXtermGC()' to encapsulate the logic that modifies the GC's 8391d522f475Smrgcolor. (I also removed some commented-out code that was trying to do this -- 8392d522f475Smrgthe problem was a little more obscure). 8393d522f475Smrg 8394d522f475Smrg<H1><A NAME="xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A></H1> 8395d522f475Smrg 8396d522f475SmrgThis patch fixes the remaining problems that I had making xterm run with x11r5, 8397d522f475Smrgas well as a couple of other bugs. It follows my patch from yesterday, that 8398d522f475Smrgadded ifdef's for some of the input-method resources. 8399d522f475Smrg<UL> 8400d522f475Smrg <LI>corrected ifdef's that suppress the input-method code (doesn't 8401d522f475Smrg exist in my x11r5, and xterm works adequately without it). 8402d522f475Smrg 8403d522f475Smrg <LI>corrected fallback definition for 'Select()' macro (oops: I'd 8404d522f475Smrg copied the wrong text...) 8405d522f475Smrg 8406d522f475Smrg <LI>moved the declarations for the fd_set variables to data.[ch] 8407d522f475Smrg 8408d522f475Smrg <LI>corrected an ifdef in resize.c (sunos 4.x doesn't have termcap.h) 8409d522f475Smrg 8410d522f475Smrg <LI>corrected (in main.c) some unused/orphaned variables. 8411d522f475Smrg</UL> 8412d522f475Smrg 8413d522f475Smrg<H1><A NAME="xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A></H1> 8414d522f475Smrg 8415d522f475SmrgThis is mostly a documentation patch for xterm. It describes the color control 8416d522f475Smrgsequences in more detail, and documents some other features of xterm that 8417d522f475Smrgaren't described elsewhere. 8418d522f475Smrg<P> 8419d522f475SmrgI've also added a couple of ifdef's to fix (part of) the problem that I'm 8420d522f475Smrgworking on (making the program work properly on x11r5, where I'm doing memory 8421d522f475Smrgtesting -- I have a "good" version from mid-January, but my resync version 8422d522f475Smrgdoesn't work properly on x11r5). I'm not done with <EM>that</EM> yet. 8423d522f475Smrg 8424d522f475Smrg<H1><A NAME="xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A></H1> 8425d522f475Smrg 8426d522f475SmrgI did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've got an S3 card. 8427d522f475Smrg<P> 8428d522f475SmrgThis fixes the following in the 3.1.2n xterm: 8429d522f475Smrg<UL> 8430d522f475Smrg <LI>initialize cur_foreground, cur_background in charproc.c (Purify 8431d522f475Smrg told me they weren't initialized). 8432d522f475Smrg 8433d522f475Smrg <LI>add interpretation of codes 39, 49, to reset background and 8434d522f475Smrg foreground to default value (I'm told that ISO 6429 does this; but I 8435d522f475Smrg don't have a written reference -- yet -- can anyone help here?). 8436d522f475Smrg Anyway, rxvt does it, and it'll solve my remaining color management 8437d522f475Smrg problems. 8438d522f475Smrg 8439d522f475Smrg <LI>shadowing of 'time' in menu.c 8440d522f475Smrg 8441d522f475Smrg <LI>'Cardinal' vs 'int' in scrollbar.c 8442d522f475Smrg 8443d522f475Smrg <LI>several changes to permit compile with X11R5 (the system that I've 8444d522f475Smrg got Purify on won't be upgraded to X11R6 for a long time). 8445d522f475Smrg</UL> 8446d522f475Smrg<P> 8447d522f475SmrgI built this version (with a minor nit that I'll patch soon) on SunOS 4.1.3 so 8448d522f475Smrgthat I can test it some more with Purify. 8449d522f475Smrg<P> 8450d522f475Smrg<EM>btw</EM>: 8451d522f475Smrgthe changes made in Xpoll.h won't work on some older systems, because 8452d522f475Smrg fd_set isn't a defined type (I've got one machine at least that this 8453d522f475Smrg applies to). 8454d522f475Smrg 8455d522f475Smrg<H1><A NAME="xterm_06">Patch #6 - 1996/1/8</A></H1> 8456d522f475Smrg 8457d522f475SmrgThis patch does all of the SGR foreground/background fixes (i.e., clearing the 8458d522f475Smrgscreen after an SGR color is set causes that color to be used in the foreground 8459d522f475Smrgand/or background). If the FG_COLOR and/or BG_COLOR flags aren't set, then the 8460d522f475Smrgxterm foreground and background default to the window's values. This usage is 8461d522f475Smrgconsistent with various types of hardware (especially the IBM PC), and is also 8462d522f475Smrgused in rxvt. 8463d522f475Smrg<UL> 8464d522f475Smrg <LI>charproc.c: 8465d522f475Smrg<UL> 8466d522f475Smrg <LI>add/use new macros GET_FG, GET_BG - n/c. 8467d522f475Smrg 8468d522f475Smrg <LI>add/use new functions SGR_Foreground() and SGR_Background() 8469d522f475Smrg to set corresponding colors in GC's, and to retain sense of 8470d522f475Smrg "original" colors. 8471d522f475Smrg 8472d522f475Smrg <P> 8473d522f475Smrg => This makes redundant some of the corresponding logic 8474d522f475Smrg in HideCursor to set the foreground and background, 8475d522f475Smrg but I left it in since it <EM>may</EM> be fixing an unrelated 8476d522f475Smrg requirement. 8477d522f475Smrg 8478d522f475Smrg <LI>set GC's in LoadNewFont() according to whether the SGR fg/bg 8479d522f475Smrg colors are active. 8480d522f475Smrg 8481d522f475Smrg <P> 8482d522f475Smrg => This fixes some glitches in the accompanying resize, 8483d522f475Smrg that leaves parts of the window in the original 8484d522f475Smrg background color. 8485d522f475Smrg</UL> 8486d522f475Smrg 8487d522f475Smrg <LI>screen.c: 8488d522f475Smrg<UL> 8489d522f475Smrg <LI>modified ClearBufRows() to use the SGR fg/bg colors if 8490d522f475Smrg they're set. 8491d522f475Smrg 8492d522f475Smrg <LI>added function ScrnClearLines(), used this to replace 8493d522f475Smrg portions of ScrnInsertLine() and ScrnDeleteLine(). 8494d522f475Smrg The new function uses the SGR fg/bg colors if they're 8495d522f475Smrg set. 8496d522f475Smrg 8497d522f475Smrg <P> 8498d522f475Smrg => Otherwise, selection after an index or reverse index will 8499d522f475Smrg paint the wrong colors. 8500d522f475Smrg 8501d522f475Smrg <LI>modified ScrnDeleteChar() and ScrnInsertChar() 8502d522f475Smrg to use SGR fg/bg colors. 8503d522f475Smrg</UL> 8504d522f475Smrg 8505d522f475Smrg <LI>util.c: 8506d522f475Smrg<UL> 8507d522f475Smrg <LI>modified ClearRight() so that if either of the SGR fg/bg 8508d522f475Smrg colors is set, we don't bzero the attributes and color 8509d522f475Smrg arrays, but instead fill them with the appropriate codes. 8510d522f475Smrg 8511d522f475Smrg <LI>modified ClearLeft to use SGR fg/bg colors. 8512d522f475Smrg</UL> 8513d522f475Smrg</UL> 8514d522f475Smrg 8515d522f475Smrg<H1><A NAME="xterm_05">Patch #5 - 1996/1/7</A></H1> 8516d522f475Smrg 8517d522f475SmrgThis patch modifies the object code, by replacing indexing expressions with 8518d522f475Smrgtemporary variables with the full indexing expression. At first glance, this 8519d522f475Smrgseems inefficient (it did to me ;-), until remembering comments made in the 8520d522f475Smrgcompilers newsgroups that trying to "help" the compiler doesn't really work 8521d522f475Smrgthat well. A good optimizing compiler can do a better job than the programmer 8522d522f475Smrgcan. (There's a moral in the use of 'register' variables also, but I won't fix 8523d522f475Smrgthose...). 8524d522f475Smrg<P> 8525d522f475SmrgAnyway, the revised code generates a smaller object... 8526d522f475Smrg<UL> 8527d522f475Smrg<LI>charproc.c: 8528d522f475Smrg<UL> 8529d522f475Smrg<LI>recode index expressions in ShowCursor() and HideCursor() 8530d522f475Smrg using SCRN_BUF_xxxxS macros - changes object. 8531d522f475Smrg 8532d522f475Smrg<LI>replace constant '4' by MAX_PTRS - n/c. 8533d522f475Smrg</UL> 8534d522f475Smrg 8535d522f475Smrg<LI>ptyx.h: 8536d522f475Smrg<UL> 8537d522f475Smrg<LI>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS 8538d522f475Smrg macros, to pick up references to ScrnBuf data directly, and 8539d522f475Smrg added MAX_PTRS symbol to pick up those '4' constants strewn 8540d522f475Smrg about the code - n/c. 8541d522f475Smrg</UL> 8542d522f475Smrg 8543d522f475Smrg<LI>screen.c: 8544d522f475Smrg<UL> 8545d522f475Smrg<LI>recode index expressions in ScreenWrite() using 8546d522f475Smrg SCRN_BUF_xxxxS macros - changes object. 8547d522f475Smrg 8548d522f475Smrg<LI>replace constant '4' by MAX_PTRS - n/c. 8549d522f475Smrg 8550d522f475Smrg<LI>use macros BUF_CHARS, BUF_ATTRS - n/c. 8551d522f475Smrg 8552d522f475Smrg<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c 8553d522f475Smrg</UL> 8554d522f475Smrg 8555d522f475Smrg<LI>scrollbar.c: 8556d522f475Smrg<UL> 8557d522f475Smrg<LI>replace constant '4' by MAX_PTRS - n/c. 8558d522f475Smrg 8559d522f475Smrg<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c 8560d522f475Smrg</UL> 8561d522f475Smrg</UL> 8562d522f475Smrg 8563d522f475Smrg<H1><A NAME="xterm_04">Patch #4 - 1996/1/7</A></H1> 8564d522f475SmrgWhen setting up for this phase, I saw that you'd corrected the bug that I found 8565d522f475Smrgin ClearLeft. I decided to make this series of patches anyway, since 8566d522f475Smrgreadability never hurt (and there's the potential for finding another bug while 8567d522f475Smrgreviewing this set). 8568d522f475Smrg<UL> 8569d522f475Smrg<LI>button.c: 8570d522f475Smrg<UL> 8571d522f475Smrg<LI>use SCRN_BUF_xxxxS macros - n/c 8572d522f475Smrg</UL> 8573d522f475Smrg<LI>charproc.c: 8574d522f475Smrg<UL> 8575d522f475Smrg<LI>use SCRN_BUF_xxxxS macros - n/c 8576d522f475Smrg</UL> 8577d522f475Smrg<LI>ptyx.h: 8578d522f475Smrg<UL> 8579d522f475Smrg<LI>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS, 8580d522f475Smrg SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four 8581d522f475Smrg arrays that are derived from screen->buf. 8582d522f475Smrg</UL> 8583d522f475Smrg<LI>screen.c: 8584d522f475Smrg<UL> 8585d522f475Smrg<LI>use SCRN_BUF_xxxxS macros - n/c 8586d522f475Smrg</UL> 8587d522f475Smrg<LI>util.c: 8588d522f475Smrg<UL> 8589d522f475Smrg<LI>use SCRN_BUF_xxxxS macros - n/c 8590d522f475Smrg</UL> 8591d522f475Smrg</UL> 8592d522f475Smrg<H1><A NAME="xterm_03">Patch #3 - 1996/1/7</A></H1> 8593d522f475Smrg 8594d522f475SmrgThis is my third (and final cleanup) patch for xterm. It gets rid of the 8595d522f475Smrgunused stuff, and converts several functions to static (thereby reducing their 8596d522f475Smrgscope). 8597d522f475Smrg<P> 8598d522f475SmrgAt this point, the only compile warnings I've got (on Linux) are those about 8599d522f475Smrgthe select arguments (int vs fd_set type), and a missing declaration for 8600d522f475Smrgwaitpid. Those both are hard to get right without autoconfigure. 8601d522f475Smrg<P> 8602d522f475SmrgThe next patches will address the functional changes... 8603d522f475Smrg<UL> 8604d522f475Smrg<LI>Tekproc.c: 8605d522f475Smrg<UL> 8606d522f475Smrg<LI>changed several functions to 'static' that aren't used 8607d522f475Smrgoutside this module -- changes object 8608d522f475Smrg</UL> 8609d522f475Smrg<LI>charproc.c: 8610d522f475Smrg<UL> 8611d522f475Smrg<LI>changed several functions to 'static' that aren't used 8612d522f475Smrgoutside this module -- changes object 8613d522f475Smrg<LI>deleted unused function unparsefputs -- changes object. 8614d522f475Smrg</UL> 8615d522f475Smrg<LI>main.c: 8616d522f475Smrg<UL> 8617d522f475Smrg<LI>changed several functions to 'static' that aren't used 8618d522f475Smrgoutside this module -- changes object 8619d522f475Smrg<LI>ifdef'd out unused function 'consolepr()' -- changes object 8620d522f475Smrg<LI>removed unused variable 'dummy_tio' -- changes object 8621d522f475Smrg<LI>moved variable 'discipline' to quiet unused-warning -- changes object 8622d522f475Smrg</UL> 8623d522f475Smrg<LI>main.h: 8624d522f475Smrg<UL> 8625d522f475Smrg<LI>deleted unused definition of DEFBORDERWIDTH - n/c 8626d522f475Smrg</UL> 8627d522f475Smrg<LI>misc.c: 8628d522f475Smrg<UL> 8629d522f475Smrg<LI>changed several functions to 'static' that aren't used 8630d522f475Smrgoutside this module -- changes object 8631d522f475Smrg<LI>provide dummy return statements for xerror and xioerror to 8632d522f475Smrgquiet compiler warnings -- changes object 8633d522f475Smrg</UL> 8634d522f475Smrg<LI>ptyx.h: 8635d522f475Smrg<UL> 8636d522f475Smrg<LI>change sbuf_address and abuf_address to 'Char *' - n/c 8637d522f475Smrg</UL> 8638d522f475Smrg<LI>resize.c: 8639d522f475Smrg<UL> 8640d522f475Smrg<LI>changed several functions to 'static' that aren't used outside this module 8641d522f475Smrg-- changes object 8642d522f475Smrg</UL> 8643d522f475Smrg<LI>screen.c: 8644d522f475Smrg<UL> 8645d522f475Smrg<LI>remove unnecessary 'Char **' casts - n/c 8646d522f475Smrg</UL> 8647d522f475Smrg<LI>util.c: 8648d522f475Smrg<UL> 8649d522f475Smrg<LI>changed several functions to 'static' that aren't used outside this module 8650d522f475Smrg-- changes object 8651d522f475Smrg</UL> 8652d522f475Smrg</UL> 8653d522f475Smrg<H1><A NAME="xterm_02">Patch #2 - 1996/1/7</A></H1> 8654d522f475SmrgThis is my second patch to xterm. It corrects most of the gcc warnings (except 8655d522f475Smrgfor some that are due to X header files ;-). I compared objects to keep track 8656d522f475Smrgof the changes that don't affect the object code (n/c) versus those that do. 8657d522f475Smrg<P> 8658d522f475SmrgAt this point, I'm compiling (fairly) clean with gcc options 8659d522f475Smrg<PRE> 8660d522f475Smrg -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs 8661d522f475Smrg</PRE> 8662d522f475Smrg(I also compiled with -Wshadow, but while that found some things that I wanted 8663d522f475Smrgto find, there's far too many warnings from the X headers to be usable in this 8664d522f475Smrgcontext). 8665d522f475Smrg<P> 8666d522f475SmrgThe changes: 8667d522f475Smrg<UL> 8668d522f475Smrg<LI>Tekproc.c: 8669d522f475Smrg<UL> 8670d522f475Smrg<LI>parenthesized expression to avoid gcc warning -- n/c. 8671d522f475Smrg 8672d522f475Smrg<LI>corrected nested-extern declaration for Bool 8673d522f475Smrg waiting_for_initial_map; ourTopLevelShellArgs, and 8674d522f475Smrg number_ourTopLevelShellArgs - n/c 8675d522f475Smrg 8676d522f475Smrg</UL> 8677d522f475Smrg<LI>charproc.c: 8678d522f475Smrg<UL> 8679d522f475Smrg<LI>corrected potentially-unintialized variables 'scstype', 'xim', 8680d522f475Smrg and 'input_style' -- changes object. 8681d522f475Smrg 8682d522f475Smrg<LI>adjusted logic of VTparse so that gcc won't warn about setjmp 8683d522f475Smrg clobbering parsestate -- changes object. 8684d522f475Smrg 8685d522f475Smrg<LI>corrected initialization of 'scstype', which could have been 8686d522f475Smrg clobbered by setjmp/longjmp - changes object. 8687d522f475Smrg 8688d522f475Smrg<LI>corrected nested-extern declaration of 'term', 'ProgramName' 8689d522f475Smrg - n/c 8690d522f475Smrg</UL> 8691d522f475Smrg 8692d522f475Smrg<LI>cursor.c: 8693d522f475Smrg<UL> 8694d522f475Smrg<LI>corrected nested-extern declaration of 'term' -- n/c 8695d522f475Smrg 8696d522f475Smrg<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8697d522f475Smrg</UL> 8698d522f475Smrg 8699d522f475Smrg<LI>input.c: 8700d522f475Smrg<UL> 8701d522f475Smrg<LI>change interface of StringInput to assume size_t (i.e., 8702d522f475Smrg unsigned) nbytes -- changes object. 8703d522f475Smrg 8704d522f475Smrg<LI>change interface of funcvalue, and sunfuncvalue to use 8705d522f475Smrg 'KeySym' type instead of 'int' - changes object. 8706d522f475Smrg</UL> 8707d522f475Smrg 8708d522f475Smrg<LI>main.c: 8709d522f475Smrg<UL> 8710d522f475Smrg<LI>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h - n/c 8711d522f475Smrg 8712d522f475Smrg<LI>corrected missing params of 'do_hangup()' -- changes object 8713d522f475Smrg (note: the missing params were not used). 8714d522f475Smrg 8715d522f475Smrg<LI>corrected missing param of 'Error()' -- changes object 8716d522f475Smrg 8717d522f475Smrg<LI>corrected nested-extern 'environ' - n/c 8718d522f475Smrg 8719d522f475Smrg<LI>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' so 8720d522f475Smrg that gcc can see they won't be clobbered by the longjmp - 8721d522f475Smrg changes object. 8722d522f475Smrg 8723d522f475Smrg<LI>use Size_t type - n/c. 8724d522f475Smrg</UL> 8725d522f475Smrg 8726d522f475Smrg<LI>menu.c: 8727d522f475Smrg<UL> 8728d522f475Smrg<LI>removed redundant prototype for 'do_hangup()' -- n/c. 8729d522f475Smrg 8730d522f475Smrg<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c 8731d522f475Smrg</UL> 8732d522f475Smrg 8733d522f475Smrg<LI>menu.h: 8734d522f475Smrg<UL> 8735d522f475Smrg<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c 8736d522f475Smrg</UL> 8737d522f475Smrg 8738d522f475Smrg<LI>misc.c: 8739d522f475Smrg<UL> 8740d522f475Smrg<LI>corrected definition of 'HandleFocusChange()' -- changes 8741d522f475Smrg object 8742d522f475Smrg 8743d522f475Smrg<LI>cast parameters in call to 'TekExpose()' -- n/c 8744d522f475Smrg 8745d522f475Smrg<LI>corrected nested-extern declarations of 'term', 'toplevel', 8746d522f475Smrg ProgramName, and 'environ' -- n/c. 8747d522f475Smrg 8748d522f475Smrg<LI>use Size_t type - n/c. 8749d522f475Smrg</UL> 8750d522f475Smrg 8751d522f475Smrg<LI>proto.h: 8752d522f475Smrg<UL> 8753d522f475Smrg<LI>moved definition of SIGNAL_T (and SIGNAL_RETURN) here from 8754d522f475Smrg main.c, resize.c to allow use of this symbol in prototypes 8755d522f475Smrg (mostly in xterm.h). 8756d522f475Smrg 8757d522f475Smrg<LI>added definition 'Size_t' to use as corrected type for 8758d522f475Smrg strncpy, malloc sizes - n/c. 8759d522f475Smrg</UL> 8760d522f475Smrg 8761d522f475Smrg<LI>resize.c: 8762d522f475Smrg<UL> 8763d522f475Smrg<LI>moved SIGNAL_T definition to proto.h -- n/c. 8764d522f475Smrg 8765d522f475Smrg<LI>use Size_t type - n/c. 8766d522f475Smrg</UL> 8767d522f475Smrg 8768d522f475Smrg<LI>screen.c: 8769d522f475Smrg<UL> 8770d522f475Smrg<LI>use Size_t type - n/c. 8771d522f475Smrg</UL> 8772d522f475Smrg 8773d522f475Smrg<LI>tabs.c: 8774d522f475Smrg<UL> 8775d522f475Smrg<LI>corrected nested-extern declaration of 'term' -- n/c 8776d522f475Smrg</UL> 8777d522f475Smrg 8778d522f475Smrg<LI>util.c: 8779d522f475Smrg<UL> 8780d522f475Smrg<LI>corrected/supplied parameters to 'TekExpose()' -- changes 8781d522f475Smrg object (note: 'TekExpose()' doesn't use its parameters). 8782d522f475Smrg 8783d522f475Smrg<LI>corrected nested-extern declaration of 8784d522f475Smrg 'waiting_for_initial_map' -- n/c. 8785d522f475Smrg 8786d522f475Smrg<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8787d522f475Smrg</UL> 8788d522f475Smrg 8789d522f475Smrg<LI>xterm.h: 8790d522f475Smrg<UL> 8791d522f475Smrg<LI>prototype 'do_hangup()', 'HandleFocusChange()', 8792d522f475Smrg 'TekExpose()', 'Error()', 'Exit()' - forces changes in 8793d522f475Smrg various places. 8794d522f475Smrg 8795d522f475Smrg<LI>adjusted prototypes that pass 'Boolean' arguments to use 8796d522f475Smrg 'int' (this is the "correct" ANSI approach to extended 8797d522f475Smrg compiles; it's worth mentioning that gcc doesn't meet the 8798d522f475Smrg ANSI spec here). I used gcc -Wconversion to find these, but 8799d522f475Smrg there's a lot of unrelated warnings that are due to setting 8800d522f475Smrg NARROWPROTO in the config - n/c. 8801d522f475Smrg 8802d522f475Smrg<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8803d522f475Smrg</UL> 8804d522f475Smrg</UL> 8805d522f475Smrg<H1><A NAME="xterm_01">Patch #1 - 1996/1/6</A></H1> 8806d522f475SmrgThis is my first cleanup patch for xterm. It addresses all of the gcc warnings 8807d522f475Smrgfor -Wall, -Wmissing-prototypes and -Wstrict-prototypes that I can change 8808d522f475Smrgwithout modifying the object code. (I'm compiling this with gcc 2.7.0 for an 8809d522f475Smrgaout target, which makes it simple to compare objects. When I do ELF-only, 8810d522f475SmrgI've got a tool that compares that sort of thing as well). 8811d522f475Smrg<P> 8812d522f475SmrgBriefly, this patch adds (and uses) two header files in the xterm directory: 8813d522f475Smrg<PRE> 8814d522f475Smrg proto.h 8815d522f475Smrg xterm.h 8816d522f475Smrg</PRE> 8817d522f475SmrgI expect this to be the biggest patch by far. However (barring a misplaced 8818d522f475Smrgprototype), it shouldn't break anything, since the intent of the patch is to 8819d522f475Smrgprovide missing declarations. 8820d522f475Smrg</BODY> 8821d522f475Smrg</HTML> 8822