xterm.log.html revision 956cc18d
1d522f475Smrg<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2d522f475Smrg<!-- 3d522f475Smrg ***************************************************************************** 44e40088cSchristos * Copyright 1996-2008,2009 by Thomas E. Dickey * 5d522f475Smrg * All Rights Reserved. * 6d522f475Smrg * * 7d522f475Smrg * Permission to use, copy, modify, and distribute this software and its * 8d522f475Smrg * documentation for any purpose and without fee is hereby granted, provided * 9d522f475Smrg * that the above copyright notice appear in all copies and that both that * 10d522f475Smrg * copyright notice and this permission notice appear in supporting * 11d522f475Smrg * documentation, and that the name of the above listed copyright holder(s) * 12d522f475Smrg * not be used in advertising or publicity pertaining to distribution of the * 13d522f475Smrg * software without specific, written prior permission. * 14d522f475Smrg * * 15d522f475Smrg * THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD * 16d522f475Smrg * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND * 17d522f475Smrg * FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE * 18d522f475Smrg * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * 19d522f475Smrg * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * 20d522f475Smrg * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * 21d522f475Smrg * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * 22d522f475Smrg ***************************************************************************** 23956cc18dSsnj $XTermId: xterm.log.html,v 1.790 2009/09/11 23:10:00 tom Exp $ 24d522f475Smrg --> 25d522f475Smrg<HTML> 26d522f475Smrg<HEAD> 27d522f475Smrg<TITLE>XTERM - Change Log</TITLE> 28d522f475Smrg<LINK REV=MADE HREF="mailto:dickey@invisible-island.net"> 29d522f475Smrg<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 30d522f475Smrg</HEAD> 31d522f475Smrg<BODY> 32d522f475Smrg<HR> 334e40088cSchristosCopyright © 1997-2008,2009 by <A 34d522f475SmrgHREF="mailto:dickey@invisible-island.net">Thomas E. Dickey</A> 35d522f475Smrg<HR> 36d522f475Smrg<H1>Contents</H1> 37d522f475SmrgThis file contains a list of the changes that I have made for xterm, 38d522f475Smrgfrom the notes that I add when submitting a patch. 39d522f475Smrg<P> 40d522f475SmrgYou should note that other changes have been made as well, by other people, 41d522f475Smrgto fix bugs and correct ifdef's for portability. 42d522f475SmrgMost of these are summarized in the XFree86 CHANGELOG 43d522f475Smrg(found in the unbundled tree, xc/programs/Xserver/hw/xfree86). 44d522f475Smrg<a href="http://invisible-island.net/xterm/xterm.log.html">Here</a> 45d522f475Smrgis the latest version of this file. 46d522f475Smrg 47d522f475Smrg<UL> 48956cc18dSsnj<LI><A HREF="#xterm_248">Patch #248 - 2009/9/11</A> 49956cc18dSsnj<LI><A HREF="#xterm_247">Patch #247 - 2009/8/30</A> 50956cc18dSsnj<LI><A HREF="#xterm_246">Patch #246 - 2009/8/16</A> 51956cc18dSsnj<LI><A HREF="#xterm_245">Patch #245 - 2009/8/12</A> 52956cc18dSsnj<LI><A HREF="#xterm_244">Patch #244 - 2009/8/9</A> 53956cc18dSsnj<LI><A HREF="#xterm_243">Patch #243 - 2009/3/28</A> 54956cc18dSsnj<LI><A HREF="#xterm_242">Patch #242 - 2009/2/15</A> 55956cc18dSsnj<LI><A HREF="#xterm_241">Patch #241 - 2009/1/26</A> 56956cc18dSsnj<LI><A HREF="#xterm_240">Patch #240 - 2009/1/25</A> 57956cc18dSsnj<LI><A HREF="#xterm_239">Patch #239 - 2009/1/8</A> 582eaa94a1Schristos<LI><A HREF="#xterm_238">Patch #238 - 2008/12/30</A> 592eaa94a1Schristos<LI><A HREF="#xterm_237">Patch #237 - 2008/09/14</A> 602eaa94a1Schristos<LI><A HREF="#xterm_236">Patch #236 - 2008/07/27</A> 61d522f475Smrg<LI><A HREF="#xterm_235">Patch #235 - 2008/04/20</A> 62d522f475Smrg<LI><A HREF="#xterm_234">Patch #234 - 2008/03/02</A> 63d522f475Smrg<LI><A HREF="#xterm_233">Patch #233 - 2008/02/24</A> 64d522f475Smrg<LI><A HREF="#xterm_232">Patch #232 - 2008/01/30</A> 65d522f475Smrg<LI><A HREF="#xterm_231">Patch #231 - 2008/01/05</A> 66d522f475Smrg<LI><A HREF="#xterm_230">Patch #230 - 2007/12/31</A> 67d522f475Smrg<LI><A HREF="#xterm_229">Patch #229 - 2007/8/12</A> 68d522f475Smrg<LI><A HREF="#xterm_228">Patch #228 - 2007/7/22</A> 69d522f475Smrg<LI><A HREF="#xterm_227">Patch #227 - 2007/6/27</A> 70d522f475Smrg<LI><A HREF="#xterm_226">Patch #226 - 2007/6/17</A> 71d522f475Smrg<LI><A HREF="#xterm_225">Patch #225 - 2007/3/24</A> 72d522f475Smrg<LI><A HREF="#xterm_224">Patch #224 - 2007/2/11</A> 73d522f475Smrg<LI><A HREF="#xterm_223">Patch #223 - 2006/11/30</A> 74d522f475Smrg<LI><A HREF="#xterm_222">Patch #222 - 2006/10/17</A> 75d522f475Smrg<LI><A HREF="#xterm_221">Patch #221 - 2006/10/1</A> 76d522f475Smrg<LI><A HREF="#xterm_220">Patch #220 - 2006/9/10</A> 77d522f475Smrg<LI><A HREF="#xterm_219">Patch #219 - 2006/9/4</A> 78d522f475Smrg<LI><A HREF="#xterm_218">Patch #218 - 2006/8/27</A> 79d522f475Smrg<LI><A HREF="#xterm_217">Patch #217 - 2006/8/20</A> 80d522f475Smrg<LI><A HREF="#xterm_216">Patch #216 - 2006/8/3</A> 81d522f475Smrg<LI><A HREF="#xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A> 82d522f475Smrg<LI><A HREF="#xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A> 83d522f475Smrg<LI><A HREF="#xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A> 84d522f475Smrg<LI><A HREF="#xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A> 85d522f475Smrg<LI><A HREF="#xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A> 86d522f475Smrg<LI><A HREF="#xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A> 87d522f475Smrg<LI><A HREF="#xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A> 88d522f475Smrg<LI><A HREF="#xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A> 89d522f475Smrg<LI><A HREF="#xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A> 90d522f475Smrg<LI><A HREF="#xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A> 91d522f475Smrg<LI><A HREF="#xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A> 92d522f475Smrg<LI><A HREF="#xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A> 93d522f475Smrg<LI><A HREF="#xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A> 94d522f475Smrg<LI><A HREF="#xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A> 95d522f475Smrg<LI><A HREF="#xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A> 96d522f475Smrg<LI><A HREF="#xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A> 97d522f475Smrg<LI><A HREF="#xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A> 98d522f475Smrg<LI><A HREF="#xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A> 99d522f475Smrg<LI><A HREF="#xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A> 100d522f475Smrg<LI><A HREF="#xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A> 101d522f475Smrg<LI><A HREF="#xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A> 102d522f475Smrg<LI><A HREF="#xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A> 103d522f475Smrg<LI><A HREF="#xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A> 104d522f475Smrg<LI><A HREF="#xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A> 105d522f475Smrg<LI><A HREF="#xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A> 106d522f475Smrg<LI><A HREF="#xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A> 107d522f475Smrg<LI><A HREF="#xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A> 108d522f475Smrg<LI><A HREF="#xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A> 109d522f475Smrg<LI><A HREF="#xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A> 110d522f475Smrg<LI><A HREF="#xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A> 111d522f475Smrg<LI><A HREF="#xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A> 112d522f475Smrg<LI><A HREF="#xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A> 113d522f475Smrg<LI><A HREF="#xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A> 114d522f475Smrg<LI><A HREF="#xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A> 115d522f475Smrg<LI><A HREF="#xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A> 116d522f475Smrg<LI><A HREF="#xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A> 117d522f475Smrg<LI><A HREF="#xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A> 118d522f475Smrg<LI><A HREF="#xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A> 119d522f475Smrg<LI><A HREF="#xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A> 120d522f475Smrg<LI><A HREF="#xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A> 121d522f475Smrg<LI><A HREF="#xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A> 122d522f475Smrg<LI><A HREF="#xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A> 123d522f475Smrg<LI><A HREF="#xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A> 124d522f475Smrg<LI><A HREF="#xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A> 125d522f475Smrg<LI><A HREF="#xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A> 126d522f475Smrg<LI><A HREF="#xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A> 127d522f475Smrg<LI><A HREF="#xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A> 128d522f475Smrg<LI><A HREF="#xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A> 129d522f475Smrg<LI><A HREF="#xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A> 130d522f475Smrg<LI><A HREF="#xterm_166">Patch #166 - 2002/3/25 - XFree86 4.2.0</A> 131d522f475Smrg<LI><A HREF="#xterm_165">Patch #165 - 2002/1/5 - XFree86 4.1.0</A> 132d522f475Smrg<LI><A HREF="#xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A> 133d522f475Smrg<LI><A HREF="#xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A> 134d522f475Smrg<LI><A HREF="#xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A> 135d522f475Smrg<LI><A HREF="#xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A> 136d522f475Smrg<LI><A HREF="#xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A> 137d522f475Smrg<LI><A HREF="#xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A> 138d522f475Smrg<LI><A HREF="#xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A> 139d522f475Smrg<LI><A HREF="#xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A> 140d522f475Smrg<LI><A HREF="#xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A> 141d522f475Smrg<LI><A HREF="#xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A> 142d522f475Smrg<LI><A HREF="#xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A> 143d522f475Smrg<LI><A HREF="#xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A> 144d522f475Smrg<LI><A HREF="#xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A> 145d522f475Smrg<LI><A HREF="#xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A> 146d522f475Smrg<LI><A HREF="#xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A> 147d522f475Smrg<LI><A HREF="#xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A> 148d522f475Smrg<LI><A HREF="#xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A> 149d522f475Smrg<LI><A HREF="#xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A> 150d522f475Smrg<LI><A HREF="#xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A> 151d522f475Smrg<LI><A HREF="#xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A> 152d522f475Smrg<LI><A HREF="#xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A> 153d522f475Smrg<LI><A HREF="#xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A> 154d522f475Smrg<LI><A HREF="#xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A> 155d522f475Smrg<LI><A HREF="#xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A> 156d522f475Smrg<LI><A HREF="#xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A> 157d522f475Smrg<LI><A HREF="#xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A> 158d522f475Smrg<LI><A HREF="#xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A> 159d522f475Smrg<LI><A HREF="#xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A> 160d522f475Smrg<LI><A HREF="#xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A> 161d522f475Smrg<LI><A HREF="#xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A> 162d522f475Smrg<LI><A HREF="#xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A> 163d522f475Smrg<LI><A HREF="#xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A> 164d522f475Smrg<LI><A HREF="#xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A> 165d522f475Smrg<LI><A HREF="#xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A> 166d522f475Smrg<LI><A HREF="#xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A> 167d522f475Smrg<LI><A HREF="#xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A> 168d522f475Smrg<LI><A HREF="#xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A> 169d522f475Smrg<LI><A HREF="#xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A> 170d522f475Smrg<LI><A HREF="#xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A> 171d522f475Smrg<LI><A HREF="#xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A> 172d522f475Smrg<LI><A HREF="#xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A> 173d522f475Smrg<LI><A HREF="#xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A> 174d522f475Smrg<LI><A HREF="#xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A> 175d522f475Smrg<LI><A HREF="#xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A> 176d522f475Smrg<LI><A HREF="#xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A> 177d522f475Smrg<LI><A HREF="#xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A> 178d522f475Smrg<LI><A HREF="#xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A> 179d522f475Smrg<LI><A HREF="#xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A> 180d522f475Smrg<LI><A HREF="#xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A> 181d522f475Smrg<LI><A HREF="#xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A> 182d522f475Smrg<LI><A HREF="#xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A> 183d522f475Smrg<LI><A HREF="#xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A> 184d522f475Smrg<LI><A HREF="#xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A> 185d522f475Smrg<LI><A HREF="#xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A> 186d522f475Smrg<LI><A HREF="#xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A> 187d522f475Smrg<LI><A HREF="#xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A> 188d522f475Smrg<LI><A HREF="#xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A> 189d522f475Smrg<LI><A HREF="#xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A> 190d522f475Smrg<LI><A HREF="#xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A> 191d522f475Smrg<LI><A HREF="#xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A> 192d522f475Smrg<LI><A HREF="#xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A> 193d522f475Smrg<LI><A HREF="#xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A> 194d522f475Smrg<LI><A HREF="#xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A> 195d522f475Smrg<LI><A HREF="#xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A> 196d522f475Smrg<LI><A HREF="#xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A> 197d522f475Smrg<LI><A HREF="#xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A> 198d522f475Smrg<LI><A HREF="#xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A> 199d522f475Smrg<LI><A HREF="#xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A> 200d522f475Smrg<LI><A HREF="#xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A> 201d522f475Smrg<LI><A HREF="#xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A> 202d522f475Smrg<LI><A HREF="#xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A> 203d522f475Smrg<LI><A HREF="#xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A> 204d522f475Smrg<LI><A HREF="#xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A> 205d522f475Smrg<LI><A HREF="#xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A> 206d522f475Smrg<LI><A HREF="#xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A> 207d522f475Smrg<LI><A HREF="#xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A> 208d522f475Smrg<LI><A HREF="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A> 209d522f475Smrg<LI><A HREF="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A> 210d522f475Smrg<LI><A HREF="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A> 211d522f475Smrg<LI><A HREF="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A> 212d522f475Smrg<LI><A HREF="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni and 3.3.2e</A> 213d522f475Smrg<LI><A HREF="#sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A> 214d522f475Smrg<LI><A HREF="#xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A> 215d522f475Smrg<LI><A HREF="#xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A> 216d522f475Smrg<LI><A HREF="#xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A> 217d522f475Smrg<LI><A HREF="#xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A> 218d522f475Smrg<LI><A HREF="#xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A> 219d522f475Smrg<LI><A HREF="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A> 220d522f475Smrg<LI><A HREF="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A> 221d522f475Smrg<LI><A HREF="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A> 222d522f475Smrg<LI><A HREF="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A> 223d522f475Smrg<LI><A HREF="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A> 224d522f475Smrg<LI><A HREF="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A> 225d522f475Smrg<LI><A HREF="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A> 226d522f475Smrg<LI><A HREF="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A> 227d522f475Smrg<LI><A HREF="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A> 228d522f475Smrg<LI><A HREF="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A> 229d522f475Smrg<LI><A HREF="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A> 230d522f475Smrg<LI><A HREF="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A> 231d522f475Smrg<LI><A HREF="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A> 232d522f475Smrg<LI><A HREF="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A> 233d522f475Smrg<LI><A HREF="#xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A> 234d522f475Smrg<LI><A HREF="#xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A> 235d522f475Smrg<LI><A HREF="#xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A> 236d522f475Smrg<LI><A HREF="#xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A> 237d522f475Smrg<LI><A HREF="#xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A> 238d522f475Smrg<LI><A HREF="#xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A> 239d522f475Smrg<LI><A HREF="#xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A> 240d522f475Smrg<LI><A HREF="#xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A> 241d522f475Smrg<LI><A HREF="#xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A> 242d522f475Smrg<LI><A HREF="#xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A> 243d522f475Smrg<LI><A HREF="#xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A> 244d522f475Smrg<LI><A HREF="#xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A> 245d522f475Smrg<LI><A HREF="#xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A> 246d522f475Smrg<LI><A HREF="#xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A> 247d522f475Smrg<LI><A HREF="#xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A> 248d522f475Smrg<LI><A HREF="#xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A> 249d522f475Smrg<LI><A HREF="#xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A> 250d522f475Smrg<LI><A HREF="#xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A> 251d522f475Smrg<LI><A HREF="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A> 252d522f475Smrg<LI><A HREF="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A> 253d522f475Smrg<LI><A HREF="#xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A> 254d522f475Smrg<LI><A HREF="#xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A> 255d522f475Smrg<LI><A HREF="#xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A> 256d522f475Smrg<LI><A HREF="#xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A> 257d522f475Smrg<LI><A HREF="#xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A> 258d522f475Smrg<LI><A HREF="#xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A> 259d522f475Smrg<LI><A HREF="#xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A> 260d522f475Smrg<LI><A HREF="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A> 261d522f475Smrg<LI><A HREF="#xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A> 262d522f475Smrg<LI><A HREF="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A> 263d522f475Smrg<LI><A HREF="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A> 264d522f475Smrg<LI><A HREF="#xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A> 265d522f475Smrg<LI><A HREF="#xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A> 266d522f475Smrg<LI><A HREF="#xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A> 267d522f475Smrg<LI><A HREF="#xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A> 268d522f475Smrg<LI><A HREF="#xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A> 269d522f475Smrg<LI><A HREF="#xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A> 270d522f475Smrg<LI><A HREF="#xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A> 271d522f475Smrg<LI><A HREF="#xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A> 272d522f475Smrg<LI><A HREF="#xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A> 273d522f475Smrg<LI><A HREF="#xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A> 274d522f475Smrg<LI><A HREF="#xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A> 275d522f475Smrg<LI><A HREF="#xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A> 276d522f475Smrg<LI><A HREF="#xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A> 277d522f475Smrg<LI><A HREF="#xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A> 278d522f475Smrg<LI><A HREF="#xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A> 279d522f475Smrg<LI><A HREF="#xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A> 280d522f475Smrg<LI><A HREF="#xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A> 281d522f475Smrg<LI><A HREF="#xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A> 282d522f475Smrg<LI><A HREF="#xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A> 283d522f475Smrg<LI><A HREF="#xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A> 284d522f475Smrg<LI><A HREF="#xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A> 285d522f475Smrg<LI><A HREF="#xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A> 286d522f475Smrg<LI><A HREF="#xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A> 287d522f475Smrg<LI><A HREF="#xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A> 288d522f475Smrg<LI><A HREF="#xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A> 289d522f475Smrg<LI><A HREF="#xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A> 290d522f475Smrg<LI><A HREF="#xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A> 291d522f475Smrg<LI><A HREF="#xterm_06">Patch #6 - 1996/1/8</A> 292d522f475Smrg<LI><A HREF="#xterm_05">Patch #5 - 1996/1/7</A> 293d522f475Smrg<LI><A HREF="#xterm_04">Patch #4 - 1996/1/7</A> 294d522f475Smrg<LI><A HREF="#xterm_03">Patch #3 - 1996/1/7</A> 295d522f475Smrg<LI><A HREF="#xterm_02">Patch #2 - 1996/1/7</A> 296d522f475Smrg<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A> 297d522f475Smrg</UL> 298d522f475Smrg 299956cc18dSsnj<H1><A NAME="xterm_248">Patch #248 - 2009/9/11</A></H1> 300956cc18dSsnj<ul> 301956cc18dSsnj <li>fix an overlooked adjustment for selecting double-width characters 302956cc18dSsnj in the narrow-character configuration. 303956cc18dSsnj 304956cc18dSsnj <li>eliminate uses of <code>XTERM_CELL</code> and 305956cc18dSsnj <code>XTERM_CELLC</code> where an appropriate <code>LineData</code> 306956cc18dSsnj pointer is available. 307956cc18dSsnj 308956cc18dSsnj <li>correct expression in <code>okScrnRow</code> macro, making 309956cc18dSsnj selections give the length of lines below the visible screen 310956cc18dSsnj (report by Stuart Henderson). 311956cc18dSsnj 312956cc18dSsnj <li>correct logic used to improve performance of missing-glyph check, 313956cc18dSsnj which did not handle line-drawing characters (Debian #545220). 314956cc18dSsnj</ul> 315956cc18dSsnj 316956cc18dSsnj<H1><A NAME="xterm_247">Patch #247 - 2009/8/30</A></H1> 317956cc18dSsnj<ul> 318956cc18dSsnj <li>add ifdef's and check for openpty() on DragonFly (patch by 319956cc18dSsnj Alex Hornung). 320956cc18dSsnj 321956cc18dSsnj <li>correct calculation for size of line's data block, which was 322956cc18dSsnj sometimes off-by-one when configured 323956cc18dSsnj using <code>--enable-16bit-chars</code> 324956cc18dSsnj (report by H Merijn Brand). 325956cc18dSsnj 326956cc18dSsnj <li>fix indexing error in print-everything feature from 327956cc18dSsnj <a href="#xterm_246">patch #246</a> (patch by Ovidiu Gheorghioiu). 328956cc18dSsnj</ul> 329956cc18dSsnj 330956cc18dSsnj<H1><A NAME="xterm_246">Patch #246 - 2009/8/16</A></H1> 331956cc18dSsnj<ul> 332956cc18dSsnj <li>remove obsolete logic for saving/restoring wrapping flags, which 333956cc18dSsnj did not work on 64-bit platform. Wrapping flags (stored in the 334956cc18dSsnj line-index) are now copied with line-data (Debian #541160). 335956cc18dSsnj 336956cc18dSsnj <li>modify comments in app-defaults files to avoid problem with 337956cc18dSsnj C preprocessor used by <code>xrdb</code> (Debian #541603). 338956cc18dSsnj 339956cc18dSsnj <li>restore special case in <code>makeColorPair</code>, 340956cc18dSsnj needed for <code>colorBDMode</code> resource (Debian #541089). 341956cc18dSsnj 342956cc18dSsnj <li>correct <code>SetLineFlags()</code> macro, broken in 343956cc18dSsnj <a href="#xterm_244">patch #244</a> 344956cc18dSsnj when recoding to avoid gcc-specific bitfields (Debian #541236). 345956cc18dSsnj 346956cc18dSsnj <li>modify initialization of screen buffers to ensure that pointers 347956cc18dSsnj align to int-boundaries. 348956cc18dSsnj This fixes a problem introduced in 349956cc18dSsnj <a href="#xterm_244">patch #244</a> 350956cc18dSsnj where the color- and character-arrays 351956cc18dSsnj (stored after the video-attributes in each row) 352956cc18dSsnj might be misaligned (report by Rajeev V Pillai). 353956cc18dSsnj 354956cc18dSsnj <li>add limit-check in <code>ScrnRefresh</code> for handling 355956cc18dSsnj saved-lines from the circular buffer which are repainted on a 356956cc18dSsnj screen whose width has increased. To improve performance, circular 357956cc18dSsnj buffer entries are not resized (report by Rajeev V Pillai). 358956cc18dSsnj 359956cc18dSsnj <li>correct type for <code>CellColor</code> (a late change in 360956cc18dSsnj <a href="#xterm_244">patch #244</a> 361956cc18dSsnj to avoid gcc-specifc enums made that unsigned 362956cc18dSsnj rather than unsigned short, for the 256-color option). 363956cc18dSsnj 364956cc18dSsnj <li>fix typo in configure option --enable-16bit-chars (report by 365956cc18dSsnj Rajeev V. Pillai). 366956cc18dSsnj</ul> 367956cc18dSsnj 368956cc18dSsnj<H1><A NAME="xterm_245">Patch #245 - 2009/8/12</A></H1> 369956cc18dSsnj<ul> 370956cc18dSsnj <li>correct a special case in saving FIFO-lines from 371956cc18dSsnj <a href="#xterm_244">patch #244</a>. 372956cc18dSsnj If the screen was shrunk, xterm used the wrong amount for copying 373956cc18dSsnj to FIFO-lines, and then used this amount to adjust the current 374956cc18dSsnj row on the screen. That was both a visible defect (Debian #541109) 375956cc18dSsnj as well as a potential addressing error (Debian #541132, #541160, 376956cc18dSsnj and #541236). 377956cc18dSsnj 378956cc18dSsnj <li>add clarification in xterm manual about the 379956cc18dSsnj various <code>allow<em>XXX</em>Ops</code> resources, which 380956cc18dSsnj are disabled when the 381956cc18dSsnj <code>allowSendEvents</code> resource is active (patch by 382956cc18dSsnj Julien Cristau, Debian #531597). 383956cc18dSsnj</ul> 384956cc18dSsnj 385956cc18dSsnj<H1><A NAME="xterm_244">Patch #244 - 2009/8/9</A></H1> 386956cc18dSsnj<ul> 387956cc18dSsnj <li>refactored storage of saved-lines, providing a configure option 388956cc18dSsnj to manage them as a FIFO (actually a circular buffer), improving 389956cc18dSsnj performance. 390956cc18dSsnj Added configure option <code>--enable-fifo-lines</code> to 391956cc18dSsnj enable/disable the new feature (it is enabled by default). 392956cc18dSsnj 393956cc18dSsnj <li>added <code>fastScroll</code> resource, to amuse 394956cc18dSsnj people who measure terminal emulator performance by 395956cc18dSsnj <code>cat</code>'ing large files to the screen. 396956cc18dSsnj 397956cc18dSsnj <li>modify check in <code>readPtyData</code> from return values 398956cc18dSsnj to provide exit on zero-bytes read from pty for FreeBSD, or 399956cc18dSsnj eliminate high-CPU in "xterm-hold" processing 400956cc18dSsnj (discussion with Ulrich Spoerlein, FreeBSD ports/136686). 401956cc18dSsnj The check was originally modified to combine negative/zero 402956cc18dSsnj values in XFree86-3.1.2E, 1996/05/06. 403956cc18dSsnj 404956cc18dSsnj <li>add configure option <code>--enable-16bit-chars</code> to 405956cc18dSsnj provide wide-characters with 16-bits (rather than the default 406956cc18dSsnj 32-bits). 407956cc18dSsnj 408956cc18dSsnj <li>add <code>retryInputMethod</code> resource to allow configuring 409956cc18dSsnj out the retries xterm uses to connect to non-responsive XIM 410956cc18dSsnj server, to work around defective X configurations as noted in 411956cc18dSsnj <a href="http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html">NetBSD mailing list</a>. 412956cc18dSsnj 413956cc18dSsnj <li>make regular-expression selection work for VT100 double-sized 414956cc18dSsnj characters. 415956cc18dSsnj 416956cc18dSsnj <li>improve layout when drawing missing characters in a proportional 417956cc18dSsnj font, e.g., as boxes, to take into account whether they are 418956cc18dSsnj double-width (report by Guilbert Stabilo on comp.unix.shell). 419956cc18dSsnj 420956cc18dSsnj <li>add capability for keypad-center (kb2/KA2) to termcap entry for 421956cc18dSsnj xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220 422956cc18dSsnj (FreeBSD conf/136336). 423956cc18dSsnj 424956cc18dSsnj <li>change default for <code>keepSelection</code> resource to true 425956cc18dSsnj (prompted by discussion with David Muir Sharnoff). 426956cc18dSsnj 427956cc18dSsnj <li>remove a limit-check in ptydata.c, allowing Unicode values past 428956cc18dSsnj 64k to be displayed using TrueType fonts (Debian #458432). 429956cc18dSsnj 430956cc18dSsnj <li>remove a vt52-specific ifdef to allow mapping F1-F4 to PF1-PF4 431956cc18dSsnj when vt52 support is not compiled (report by Olaf 'Rhialto' 432956cc18dSsnj Seibert). 433956cc18dSsnj 434956cc18dSsnj <li>save/restore line-wrapping flags when converting from ISO-8859-1 435956cc18dSsnj encoding to UTF-8 encoding, as well as when resizing screen. 436956cc18dSsnj 437956cc18dSsnj <li>remove extra adjustment of position in fix for Debian #418324. 438956cc18dSsnj 439956cc18dSsnj <li>modify default check for <code>mkWidth</code> resource to check 440956cc18dSsnj for line-drawing characters, which are categorized as double-width 441956cc18dSsnj in Solaris 10 (report by Sebastian Kayser). 442956cc18dSsnj 443956cc18dSsnj <li>add "print-everything" action (patch by Ovidiu Gheorghioiu). 444956cc18dSsnj 445956cc18dSsnj <li>start refactoring scrollback data using new getLineData() function. 446956cc18dSsnj 447956cc18dSsnj <li>demote recent change to Debian #252873 fix to experimental, 448956cc18dSsnj ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141). 449956cc18dSsnj 450956cc18dSsnj <li>work around groff mapping of ASCII quotes using macros (requested 451956cc18dSsnj by Reuben Thomas based on Colin Watson advice, fixes Debian #378700). 452956cc18dSsnj 453956cc18dSsnj <li>correct symbol used for default of <code>allowWindowOps</code> 454956cc18dSsnj which was <code>DEF_ALLOW_FONT</code> 455956cc18dSsnj rather than <code>DEF_ALLOW_WINDOW</code> 456956cc18dSsnj (report by Matthieu Herrb). 457956cc18dSsnj 458956cc18dSsnj <li>amend fix for tek4014 from <a href="#xterm_243">patch #243</a> 459956cc18dSsnj to make it only apply to the Tek Options menu. 460956cc18dSsnj</ul> 461956cc18dSsnj 462956cc18dSsnj<H1><A NAME="xterm_243">Patch #243 - 2009/3/28</A></H1> 463956cc18dSsnj<ul> 464956cc18dSsnj <li>revert change to default for <code>allowTcapOps</code> (request by 465956cc18dSsnj Bram Moolenaar). 466956cc18dSsnj 467956cc18dSsnj <li>reallocate result returned by <code>xtermEnvLocale()</code> to 468956cc18dSsnj avoid reference to freed memory after handling 469956cc18dSsnj <code>menuLocale</code> resource. 470956cc18dSsnj 471956cc18dSsnj <li>fix an old (X11R5) bug in tek4014 for switching fontsizes. 472956cc18dSsnj 473956cc18dSsnj <li>add resource <code>defaultString</code> to make configurable the 474956cc18dSsnj use of "#" when pastes of UTF-8 text fail due to limitations in 475956cc18dSsnj the current locale settings. 476956cc18dSsnj 477956cc18dSsnj <li>make the set of selection target Atom's configurable by two new 478956cc18dSsnj resources <code>eightBitSelectTypes</code> and 479956cc18dSsnj <code>utf8SelectTypes</code>, e.g., to use the <code>TEXT</code> 480956cc18dSsnj Atom in preference to <code>UTF8_STRING</code> (discussion with 481956cc18dSsnj Stanislav Sedov regarding koi8rxterm and the FreeBSD port). 482956cc18dSsnj 483956cc18dSsnj <li>modify handling of <code>TARGETS</code> Atom by making it return 484956cc18dSsnj exactly the set of targets as those which xterm is currently 485956cc18dSsnj providing. 486956cc18dSsnj 487956cc18dSsnj <li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly to 488956cc18dSsnj /bin/cat in <code>minstall.sh</code> to work around /etc/man.conf's 489956cc18dSsnj with those variables already set 490956cc18dSsnj (report by Марьясин 491956cc18dSsnj Семён). 492956cc18dSsnj <li>improve error-checking of tcap-query parser. 493956cc18dSsnj 494956cc18dSsnj <li>add check for keyboard <code>tcap</code>), which ensures that 495956cc18dSsnj terminal descriptions containing the same string for 496956cc18dSsnj shifted/unshifted keys will be seen by tcap-query as only the 497956cc18dSsnj unshifted key. (This would only happen with an incorrect terminal 498956cc18dSsnj description). 499956cc18dSsnj 500956cc18dSsnj <li>fix conversion for input event-state to modifier-parameter which 501956cc18dSsnj made tcap-query feature not work with <code>tcapFunctionKeys</code> 502956cc18dSsnj (keyboard type <code>tcap</code>). 503956cc18dSsnj 504956cc18dSsnj <li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow 505956cc18dSsnj overriding the default compiled-in values for 506956cc18dSsnj "allow<em>xxx</em>" resources. 507956cc18dSsnj 508956cc18dSsnj <li>remove check on bell-percentage added in 509956cc18dSsnj <a href="#xterm_242">patch #242</a>, 510956cc18dSsnj which disallowed zero/negative values (Redhat Bugzilla #487829). 511956cc18dSsnj</ul> 512956cc18dSsnj 513956cc18dSsnj<H1><A NAME="xterm_242">Patch #242 - 2009/2/15</A></H1> 514956cc18dSsnj<ul> 515956cc18dSsnj <li>fix configure check for <code>XkbBell</code> and provide 516956cc18dSsnj appropriate parameter for it. 517956cc18dSsnj 518956cc18dSsnj <li>fix a caching problem with double-size fonts versus reverse video 519956cc18dSsnj that could cause core dump. 520956cc18dSsnj 521956cc18dSsnj <li>repair double-size fonts from workaround 522956cc18dSsnj used in <a href="#xterm_240">patch #240</a>. 523956cc18dSsnj 524956cc18dSsnj <li>add new section to the VT Fonts menu which allows enabling or 525956cc18dSsnj disabling the font, termcap (tcap-query), title and window 526956cc18dSsnj operations. 527956cc18dSsnj 528956cc18dSsnj <li>add <code>fontWarnings</code> resource, to control whether to show 529956cc18dSsnj warnings on failure to load a font. 530956cc18dSsnj 531956cc18dSsnj <li>improve warnings for unloadable fonts introduced in 532956cc18dSsnj <a href="#xterm_240">patch #240</a> 533956cc18dSsnj by limiting those to the cases where a font would be specified 534956cc18dSsnj directly by a resource setting rather than a derived fontname. 535956cc18dSsnj 536956cc18dSsnj <li>further amend fix for Debian #252873 537956cc18dSsnj from <a href="#xterm_197">patch #197</a> to 538956cc18dSsnj treat a blank cell which does not have both foreground and background 539956cc18dSsnj colored as a non-colored cell. 540956cc18dSsnj This improves a special case where the cursor is on a blank 541956cc18dSsnj cell which had foreground color scrolled in 542956cc18dSsnj (report by Miroslav Lichvar). 543956cc18dSsnj <p> 544956cc18dSsnj Also add the same logic when hiding cursor, so the outline matches 545956cc18dSsnj the in-focus cursor. 546956cc18dSsnj 547956cc18dSsnj <li>modify internals to reduce places PAIRED_CHARS() is used, making 548956cc18dSsnj WriteText() and ScrnWriteText() accept IChar array, as well as 549956cc18dSsnj providing a wrapper for drawXtermText(). 550956cc18dSsnj 551956cc18dSsnj <li>change default XIM font from "*" to "fixed" to improve startup 552956cc18dSsnj time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930). 553956cc18dSsnj 554956cc18dSsnj <li>typo in #240 log (Slava Semushin) 555956cc18dSsnj</ul> 556956cc18dSsnj 557956cc18dSsnj<H1><A NAME="xterm_241">Patch #241 - 2009/1/26</A></H1> 558956cc18dSsnj<ul> 559956cc18dSsnj <li>improve checks for missing bitmap fonts, fallback to "fixed" as 560956cc18dSsnj needed to work around broken font-packages (report by Jacek 561956cc18dSsnj Luczak). 562956cc18dSsnj 563956cc18dSsnj <li>fix breakage from <a href="#xterm_240">patch #240</a> changes for 564956cc18dSsnj <code>xtermAddInput()</code> (patches by Jeff Chua, Julien Cristau). 565956cc18dSsnj</ul> 566956cc18dSsnj 567956cc18dSsnj<H1><A NAME="xterm_240">Patch #240 - 2009/1/25</A></H1> 568956cc18dSsnj<ul> 569956cc18dSsnj <li>use <code>plink.sh</code> for linking xterm (suggested by Larry 570956cc18dSsnj Doolittle). 571956cc18dSsnj 572956cc18dSsnj <li>add resource descriptions for input method to xterm manpage. 573956cc18dSsnj 574956cc18dSsnj <li>update configure script; consistently append to $CFLAGS rather 575956cc18dSsnj than prepend. 576956cc18dSsnj 577956cc18dSsnj <li>add <code>install-scripts</code> rule to makefile, to allow 578956cc18dSsnj koi8rxterm and uxterm scripts to be altered independently of 579956cc18dSsnj <code>install-bin</code> 580956cc18dSsnj 581956cc18dSsnj <li>add <code>-maximized</code> command-line option and corresponding 582956cc18dSsnj resource (prompted by alt.os.linux newsgroup comment). 583956cc18dSsnj 584956cc18dSsnj <li>modify translations of scrollbar widget using 585956cc18dSsnj <code>xtermAddInput()</code> 586956cc18dSsnj (see <a href="#xterm_181">patch #181</a>) to accept the actions 587956cc18dSsnj that the vt100 widget accepts, such as shift-insert to perform 588956cc18dSsnj a paste operation (request by Martin Zwickel). 589956cc18dSsnj 590956cc18dSsnj <li>change default for <code>allowTcapsOps</code> resource to false, 591956cc18dSsnj since it causes unexpected behavior for vim users with 592956cc18dSsnj <code>AltGr</code>. 593956cc18dSsnj 594956cc18dSsnj <li>update config.guess, config.sub 595956cc18dSsnj</ul> 596956cc18dSsnj 5974e40088cSchristos<H1><A NAME="xterm_239">Patch #239 - 2009/1/8</A></H1> 5984e40088cSchristos<ul> 5994e40088cSchristos <li>correct a cast in input.c, which broke translation of numeric 6004e40088cSchristos keypad codes to pageup, pagedown, etc., on 64-bit platform 6014e40088cSchristos (Debian #511138, report by Larry Doolittle). 6024e40088cSchristos</ul> 6034e40088cSchristos 6042eaa94a1Schristos<H1><A NAME="xterm_238">Patch #238 - 2008/12/30</A></H1> 6052eaa94a1Schristos<ul> 6062eaa94a1Schristos <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint 6072eaa94a1Schristos platforms. 6082eaa94a1Schristos 6092eaa94a1Schristos <li>reset the screen wrapping-flag at the end of 6102eaa94a1Schristos <code>ClearRight</code> to fix an occasional case where the last 6112eaa94a1Schristos character of a scrolled and wrapped line would be cleared (patch by 6122eaa94a1Schristos Joe Peterson). 6132eaa94a1Schristos 6142eaa94a1Schristos <li>modify to use POSIX coding for comparing resource settings such 6152eaa94a1Schristos as <code>locale</code>, to work with locales such as Turkish 6162eaa94a1Schristos (report by M Vefa Bicakci). 6172eaa94a1Schristos 6182eaa94a1Schristos <li>turn on configure <code>paste64</code> feature by default 6192eaa94a1Schristos (request by Jean-Philippe Bernardy). 6202eaa94a1Schristos It is runtime enabled/disabled with <code>allowWindowOps</code>. 6212eaa94a1Schristos 6222eaa94a1Schristos <li>turn on configure <code>tcap-query</code> feature by default, 6232eaa94a1Schristos add resource <code>allowTcapOps</code> 6242eaa94a1Schristos to make this runtime enabled/disabled. 6252eaa94a1Schristos 6262eaa94a1Schristos <li>make <code>OSC 3</code> (change X property, from 6272eaa94a1Schristos <a href="#xterm_110">patch #110</a>) 6282eaa94a1Schristos subject to <code>allowWindowOps</code> resource. 6292eaa94a1Schristos 6302eaa94a1Schristos <li>make VT220 <code>DSR</code> responses inactive in VT100-mode. 6312eaa94a1Schristos 6322eaa94a1Schristos <li>make <code>DECUDK</code> feature inactive in VT100-mode. 6332eaa94a1Schristos 6342eaa94a1Schristos <li>respond to incorrectly formatted <code>DECRQSS</code> with a 6352eaa94a1Schristos cancel. 6362eaa94a1Schristos 6372eaa94a1Schristos <li>add <code>allowFontOps</code> 6382eaa94a1Schristos resource to allow the fontsize-switching and font query/set 6392eaa94a1Schristos control sequences to be enabled/disabled 6402eaa94a1Schristos (prompted by Debian #510030). 6412eaa94a1Schristos 6422eaa94a1Schristos <li>some code cleanup based on gcc 4.x <code>-Wconversion</code> 6432eaa94a1Schristos warnings in button.c and charproc.c 6442eaa94a1Schristos 6452eaa94a1Schristos <li>modify <code>tcap-query</code> feature to not return data for 6462eaa94a1Schristos shifted cursor-keys when the keyboard type is set to vt220, 6472eaa94a1Schristos since returning the same string for shifted/unshifted keys may 6482eaa94a1Schristos confuse some applications (GenToo #212546). 6492eaa94a1Schristos</ul> 6502eaa94a1Schristos 6512eaa94a1Schristos<H1><A NAME="xterm_237">Patch #237 - 2008/09/14</A></H1> 6522eaa94a1Schristos<ul> 6532eaa94a1Schristos <li>improve usability of TrueType fonts by making the font-size 6542eaa94a1Schristos switching for shifted keypad plus/minus use the 6552eaa94a1Schristos <code>faceSize</code> resources to determine the order of fonts 6562eaa94a1Schristos (when TrueType fonts are used) rather than the bitmap fonts, since 6572eaa94a1Schristos their sizes may not be in the same order (report by H Merijn 6582eaa94a1Schristos Brand) 6592eaa94a1Schristos 6602eaa94a1Schristos <li>remove an optimization of <code>ConfigureNotify</code> events 6612eaa94a1Schristos from <a href="#xterm_236">patch #236</a> 6622eaa94a1Schristos which seems to interfere with passing <code>SIGWINCH</code> to 6632eaa94a1Schristos applications (GenToo #233836). 6642eaa94a1Schristos 6652eaa94a1Schristos <li>modify handling of <code>altSendsEscape</code> to reset the 6662eaa94a1Schristos <code>eightBitInput</code> mode, like <code>metaSendsEscape</code> 6672eaa94a1Schristos (patch by Ted Phelps). 6682eaa94a1Schristos 6692eaa94a1Schristos <li>add feature to show the text-cursor as an underline rather than a 6702eaa94a1Schristos box, plus command-line options <code>-uc</code> and 6712eaa94a1Schristos <code>+uc</code> and resource <code>cursorUnderLine</code> to 6722eaa94a1Schristos control the feature (patch by Paul Lampert). 6732eaa94a1Schristos 6742eaa94a1Schristos <li>update config.guess, config.sub 6752eaa94a1Schristos</ul> 6762eaa94a1Schristos<H1><A NAME="xterm_236">Patch #236 - 2008/07/27</A></H1> 6772eaa94a1Schristos<ul> 6782eaa94a1Schristos <li>correct memory reallocation when handling a paste of UTF-8 text 6792eaa94a1Schristos from <a href="#xterm_225">patch #225</a> changes 6802eaa94a1Schristos (report/patch by Max Mikhanosha). 6812eaa94a1Schristos 6822eaa94a1Schristos <li>correct allocation of temporary buffer in 6832eaa94a1Schristos <code>xtermFindShell</code> in case the user's <code>$PATH</code> 6842eaa94a1Schristos contains no ":" (report/analysis by Victor Stinner, 6852eaa94a1Schristos Freedesktop.Org Bugzilla #16790). 6862eaa94a1Schristos 6872eaa94a1Schristos <li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix 6882eaa94a1Schristos new compile problem exposed by fix for fd_mask (patch by 6892eaa94a1Schristos Hasso Tepper). 6902eaa94a1Schristos 6912eaa94a1Schristos <li>add configure-check for ncurses <code>use_extended_names</code>, 6922eaa94a1Schristos (report by Martin Mokrejs). 6932eaa94a1Schristos 6942eaa94a1Schristos <li>correct computation for toolbar height; layout manager already 6952eaa94a1Schristos takes into account <code>borderWidth</code> resource. 6962eaa94a1Schristos 6972eaa94a1Schristos <li>implement VT320-style SCS (select character set) for ISO Latin-1 6982eaa94a1Schristos supplemental. 6992eaa94a1Schristos 7002eaa94a1Schristos <li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919). 7012eaa94a1Schristos 7022eaa94a1Schristos <li>fix to make <code>luit</code> work with xterm's <code>-ls</code> 7032eaa94a1Schristos option (report/patch by Marius Tolzmann). 7042eaa94a1Schristos 7052eaa94a1Schristos <li>update config.guess, config.sub 7062eaa94a1Schristos</ul> 7072eaa94a1Schristos 708d522f475Smrg<H1><A NAME="xterm_235">Patch #235 - 2008/04/20</A></H1> 709d522f475Smrg<ul> 710d522f475Smrg <li>add control sequences for some of the recent resource/menu 711d522f475Smrg settings: 712d522f475Smrg <ul> 713d522f475Smrg <li><code>altSendsEscape</code> (private mode 1039) 714d522f475Smrg <li><code>keepSelection</code> (private mode 1040) 715d522f475Smrg <li><code>selectToClipboard</code> (private mode 1041) 716d522f475Smrg <li><code>bellIsUrgent</code> (private mode 1042) 717d522f475Smrg <li><code>popOnBell</code> (private mode 1043) 718d522f475Smrg </ul> 719d522f475Smrg 720d522f475Smrg <li>add resource <code>formatOtherKeys</code> to provide an alternate 721d522f475Smrg escape sequence format for the <code>modifyOtherKeys</code> 722d522f475Smrg resource (request by Paul LeoNerd Evans). 723d522f475Smrg 724d522f475Smrg <li>adjust saved-cursor position if the window is resized while 725d522f475Smrg displaying the alternate screen (Novell #196880, Debian #383384). 726d522f475Smrg 727d522f475Smrg <li>improve pointer-checks to fix a bug exposed by resizing during 728d522f475Smrg initialization under StumpWM window manager 729d522f475Smrg (Fedora Bugzilla #437928). 730d522f475Smrg 731d522f475Smrg <li>modify <code>unselectwindow()</code> to ensure that the mouse 732d522f475Smrg pointer is not hidden after xterm loses focus (report by Jeremy 733d522f475Smrg Huddleston). 734d522f475Smrg 735d522f475Smrg <li>add special check for fd_mask on Mac OS X (report by Jeremy 736d522f475Smrg Huddleston). 737d522f475Smrg 738d522f475Smrg <li>add <code>dylib</code> to autoconf's suffix list used for checking 739d522f475Smrg the result from <code>xmkmf</code>, to work with Mac OS X (report 740d522f475Smrg by Jeremy Huddleston). 741d522f475Smrg 742d522f475Smrg <li>correct initialization of bold- and wide-, wide-bold fonts which 743d522f475Smrg may be set via the <code>utf8Fonts</code> subresource (Debian 744d522f475Smrg #347790). 745d522f475Smrg</ul> 746d522f475Smrg 747d522f475Smrg<H1><A NAME="xterm_234">Patch #234 - 2008/03/02</A></H1> 748d522f475Smrg<ul> 749d522f475Smrg <li>modify <code>sinstall.sh</code> to use POSIX locale to 750d522f475Smrg bypass GNU ls changes to date-format. 751d522f475Smrg 752d522f475Smrg <li>improved/refined changes for closing bitmap font (patch by 753d522f475Smrg Andrea Odetti). 754d522f475Smrg 755d522f475Smrg <li>improve resize computation for situations where the negotiation 756d522f475Smrg fails, by invoking the xterm widget's core-class resize method 757d522f475Smrg (Debian #365602, patch by Jim Paris). 758d522f475Smrg 759d522f475Smrg <li>restore initialization of terminal's <code>VMIN</code> and 760d522f475Smrg <code>VTIME</code> settings, 761d522f475Smrg from <a href="#xterm_232">patch #232</a> changes 762d522f475Smrg (patch by Matthieu Herrb). 763d522f475Smrg</ul> 764d522f475Smrg 765d522f475Smrg<H1><A NAME="xterm_233">Patch #233 - 2008/02/24</A></H1> 766d522f475Smrg<ul> 767d522f475Smrg <li>add configure check for <code>ttydefaults.h</code>, include if 768d522f475Smrg needed, e.g., for systems where defining 769d522f475Smrg <code>_POSIX_C_SOURCE</code>, etc., 770d522f475Smrg prevents it from being included via 771d522f475Smrg <code>termios.h</code> (prompted by comments by Robert Delius Royar 772d522f475Smrg and Jeremy Huddleston). 773d522f475Smrg 774d522f475Smrg <li>patches from Alan Coopersmith. These correspond 775d522f475Smrg to bug-ids on bugs.opensolaris.org 776d522f475Smrg <dl> 777d522f475Smrg <dt>4029911 778d522f475Smrg <dd>fix a typo in manpage 779d522f475Smrg <dt>4045962 780d522f475Smrg <dd>xterm doesn't properly set ut_syslen 781d522f475Smrg <dt>4192572 782d522f475Smrg <dd>left-left-right misinterpreted as triple click 783d522f475Smrg </dl> 784d522f475Smrg 785d522f475Smrg <li>minor optimization to tab-initialization (patch by 786d522f475Smrg N�meth M�rton). 787d522f475Smrg 788d522f475Smrg <li>fix a case where an incorrect font was freed during initialization 789d522f475Smrg from <a href="#xterm_232">patch #232</a> changes (patch by 790d522f475Smrg Andrea Odetti). 791d522f475Smrg 792d522f475Smrg <li>improve comparison used in <code>SameFont</code> function for 793d522f475Smrg GC-caching (Julien Cristau). 794d522f475Smrg 795d522f475Smrg <li>correct macro name used for default <code>CKILL</code> definition 796d522f475Smrg to work with Mac OS X (report by Jeremy Huddleston). 797d522f475Smrg</ul> 798d522f475Smrg 799d522f475Smrg<H1><A NAME="xterm_232">Patch #232 - 2008/01/30</A></H1> 800d522f475Smrg<ul> 801d522f475Smrg <li>corrected logic in a font-cache used for reverse-video (Debian 802d522f475Smrg #404079). 803d522f475Smrg 804d522f475Smrg <li>add control sequence to alter <code>pointerMode</code> at runtime. 805d522f475Smrg 806d522f475Smrg <li>add limit-checks for rectangle operation parameters (report by 807d522f475Smrg Martin Pirker). 808d522f475Smrg 809d522f475Smrg <li>modify <code>minstall.sh</code> to suppress <code>$MANPAGER</code> 810d522f475Smrg and <code>$PAGER</code> environment variables, which may interfere 811d522f475Smrg with redirecting output of <code>man</code> to a shell variable 812d522f475Smrg (report/patch by Zdenek Sekera). 813d522f475Smrg 814d522f475Smrg <li>do not try to hide mouse pointer in the tek4014 window, fixes 815d522f475Smrg broken "-t" option at startup from 816d522f475Smrg <a href="#xterm_230">patch #230</a> changes 817d522f475Smrg (report by Robert K. Nelson). 818d522f475Smrg 819d522f475Smrg <li>correct datatype used when drawing tek4014 data using xterm 820d522f475Smrg compiled for wide-characters, on big-endian machines (reports 821d522f475Smrg by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle 822d522f475Smrg Reinhart). 823d522f475Smrg 824d522f475Smrg <li>modify to cache the font-names along with the bitmap font data, 825d522f475Smrg to improve comparison of fonts. 826d522f475Smrg 827d522f475Smrg <li>modify to allow building with configure options 828d522f475Smrg <code>--disable-ansi-color</code> and 829d522f475Smrg <code>--disable-leaks</code> (Debian #459817, report/patch by N�meth M�rton). 830d522f475Smrg 831d522f475Smrg <li>modify to allow building with configure options 832d522f475Smrg <code>--enable-wide-chars</code> and 833d522f475Smrg <code>--disable-c1-print</code> (Debian #459816, report/patch by N�meth M�rton). 834d522f475Smrg 835d522f475Smrg <li>add <code>pointerMode</code> resource to control whether and 836d522f475Smrg when the pointer cursor is hidden as the user types. 837d522f475Smrg 838d522f475Smrg <li>simplify initialization of ttyMode- and related characters using 839d522f475Smrg a table. 840d522f475Smrg 841d522f475Smrg <li>modify initialization-logic for stty values that correspond to 842d522f475Smrg ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt 843d522f475Smrg flush, werase, lnext). These were reset to constants for both 844d522f475Smrg termios and legacy interfaces immediately after asking the system 845d522f475Smrg for the existing values since X11R6.1, rather than using them to 846d522f475Smrg provide inherited values. While the legacy interface has some 847d522f475Smrg constraints, e.g., on HPUX, the POSIX or termios interface should 848d522f475Smrg not. Your shell may reset these anyway 849d522f475Smrg (prompted by patch by Ed Schouten). 850d522f475Smrg 851d522f475Smrg <li>improve logic for hiding/displaying pointer-cursor (report by 852d522f475Smrg Mark Brukhartz). 853d522f475Smrg 854d522f475Smrg <li>add limit-checks to tabs.c, increase maximum column for setting 855d522f475Smrg tab-stops from 320 to 1024 (report by N�meth M�rton). 856d522f475Smrg 857d522f475Smrg <li>correct length, i.e., number of types of selection targets, 858d522f475Smrg computed by <code>ConvertSelection()</code> when not handling 859d522f475Smrg wide characters for the <code>XA_TARGETS()</code> case. 860d522f475Smrg This leaves an extra Atom on the end of the list which is 861d522f475Smrg not handled by 862d522f475Smrg <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java applications</a>. 863d522f475Smrg The problem was introduced in <a href="#xterm_151">patch #151</a> 864d522f475Smrg (report by David Wood). 865d522f475Smrg</ul> 866d522f475Smrg 867d522f475Smrg<H1><A NAME="xterm_231">Patch #231 - 2008/01/05</A></H1> 868d522f475Smrg<ul> 869d522f475Smrg <li>undo change to <code>getXtermCell()</code> from patch #230 870d522f475Smrg using <code>PACK_PAIR</code> macro (Debian #459014, analysis by 871d522f475Smrg Caetano Jimenez Carezzato). 872d522f475Smrg 873d522f475Smrg <li>minor documentation fixes (patch by Slava Semushin) 874d522f475Smrg 875d522f475Smrg <li>add makefile actions to install KOI8RXTerm app-defaults file 876d522f475Smrg (patch by Julien Cristau). 877d522f475Smrg</ul> 878d522f475Smrg 879d522f475Smrg<H1><A NAME="xterm_230">Patch #230 - 2007/12/31</A></H1> 880d522f475Smrg<ul> 881d522f475Smrg <li>add <code>quietGrab</code> resource, which when true, suppresses 882d522f475Smrg cursor repainting when <code>NotifyGrab</code> and 883d522f475Smrg <code>NotifyUngrab</code> event types are received during 884d522f475Smrg change of focus (request by Nicolas George). 885d522f475Smrg 886d522f475Smrg <li>do not treat Unicode BIDI control characters as combining 887d522f475Smrg characters (Debian #457634). 888d522f475Smrg 889d522f475Smrg <li>add <code>koi8rxterm</code>, from Debian. 890d522f475Smrg 891d522f475Smrg <li>add manpage for <code>uxterm</code>, from Debian (Ubuntu #128136, 892d522f475Smrg Debian #438645) 893d522f475Smrg 894d522f475Smrg <li>remove ".xpm" suffixes from Icon filenames in desktop files since 895d522f475Smrg it confuses some lookups following the 896d522f475Smrg <a href="http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">Icon Theme Specification</a> 897d522f475Smrg (report by Slava Semushin) 898d522f475Smrg 899d522f475Smrg <li>correct width-calculation used for adjusting proportional fonts, 900d522f475Smrg to work with wide-characters (Debian #441354). 901d522f475Smrg 902d522f475Smrg <li>fixes/improvements for double-size characters: 903d522f475Smrg <ul> 904d522f475Smrg <li>correct old clipping calculation which used total height of 905d522f475Smrg glyphs where ascent was needed. 906d522f475Smrg 907d522f475Smrg <li>if bold font is unavailable, fall back to normal font 908d522f475Smrg 909d522f475Smrg <li>adjust to "work" with Xft (which does not support double-width 910d522f475Smrg single-height characters). 911d522f475Smrg 912d522f475Smrg <li>restore reset of doublesize for a line when it is cleared, 913d522f475Smrg broken in <a href="#xterm-228">patch #228</a>. 914d522f475Smrg </ul> 915d522f475Smrg 916d522f475Smrg <li>modify logic for <code>forceBoxChars</code> resource when using 917d522f475Smrg TrueType fonts to be consistent with bitmap fonts 918d522f475Smrg 919d522f475Smrg <li>modify logic for <code>forceBoxChars</code> resource to make the 920d522f475Smrg "Line-Drawing Characters" menu entry use xterm's line-drawing 921d522f475Smrg characters even asked to draw wide line-drawing characters which 922d522f475Smrg are available in the font. 923d522f475Smrg 924d522f475Smrg <li>modify rectangle-support functions to preserve colors when 925d522f475Smrg filling/erasing (request by Enzo Toscano, to match WRQ Reflection 926d522f475Smrg behavior). 927d522f475Smrg 928d522f475Smrg <li>add getopt-parsing to tcapquery.pl, including feature to test the 929d522f475Smrg extended cursor/editing keys. 930d522f475Smrg 931d522f475Smrg <li>make missing double-width glyphs display as double-width 932d522f475Smrg (Debian #456236). 933d522f475Smrg 934d522f475Smrg <li>change <code>tcap-fkeys</code> and <code>rectangles</code> 935d522f475Smrg configure options to enable them by default. 936d522f475Smrg 937d522f475Smrg <li>hide the mouse pointer while user is typing (request by Rodolfo 938d522f475Smrg Borges). 939d522f475Smrg 940d522f475Smrg <li>extend configure options 941d522f475Smrg <code>--enable-tcap-query</code> and 942d522f475Smrg <code>--enable-tcap-fkeys</code> to 943d522f475Smrg send cursor- and editing-keypad keys modified according to the 944d522f475Smrg keyboard (or termcap) selection for shift, alt, control, meta. 945d522f475Smrg 946d522f475Smrg <li>modify <code>kdch1</code> in termcap, e.g., <code>xterm-r6</code> 947d522f475Smrg to match the terminfo file. 948d522f475Smrg 949d522f475Smrg <li>add <code>-hm</code> option to turn <code>highlightColorMode</code> 950d522f475Smrg on or off. 951d522f475Smrg 952d522f475Smrg <li>add <code>highlightColorMode</code> resource to separate the 953d522f475Smrg new (since <a href="#xterm_225">patch #225</a>) highlighting with both text- and 954d522f475Smrg background-colors (prompted by report/example by Thomas Wolff). 955d522f475Smrg 956d522f475Smrg <li>add <em>Keep Selection</em> menu entry to turn the 957d522f475Smrg <code>keepSelection</code> resource on/off at runtime. 958d522f475Smrg 959d522f475Smrg <li>add <code>keepSelection</code> resource, which when enabled, 960d522f475Smrg tells xterm to retain the X selection even after it stops 961d522f475Smrg highlighting it (patch by Sergey Vlasov). 962d522f475Smrg 963d522f475Smrg <li>extend the <code>CSI > n</code> sequence to allow 964d522f475Smrg disabling all types of modified-keys that the 965d522f475Smrg <code>CSI > m</code> sequence affects. 966d522f475Smrg 967d522f475Smrg <li>move include for <code><xtermcap.h></code> in 968d522f475Smrg <code>resize.c</code> to avoid redefinition of <code>termios</code> 969d522f475Smrg structure on OpenSolaris (report by Rahul Gopinathan Nair). 970d522f475Smrg 971d522f475Smrg <li>extend terminfo building blocks for modified editing keys to 972d522f475Smrg include all six keys. 973d522f475Smrg 974d522f475Smrg <li>synchronize terminfo with ncurses (report by Stephane Chazelas): 975d522f475Smrg <ul> 976d522f475Smrg <li>equate <code>xterm-xfree86</code> 977d522f475Smrg and <code>xterm-xf86-v44</code>. 978d522f475Smrg <li>add ncurses extensions OTbs, AX, for termcap conversions. 979d522f475Smrg <li>make old/legacy entries such as 980d522f475Smrg <code>xterm-24</code>, <code>xterm-65</code> 981d522f475Smrg and aliases <code>xterms</code>, <code>vs100</code> 982d522f475Smrg inherit from <code>xterm-old</code>. 983d522f475Smrg <li>make <code>xterm-r5</code> and <code>xterm-r6</code> the 984d522f475Smrg same, ignoring historical errors in X Consortium's version. 985d522f475Smrg </ul> 986d522f475Smrg 987d522f475Smrg <li>fix an ifdef in logic for selecting regular 988d522f475Smrg expressions while in a narrow-character locale (Debian #449227). 989d522f475Smrg</ul> 990d522f475Smrg 991d522f475Smrg<H1><A NAME="xterm_229">Patch #229 - 2007/8/12</A></H1> 992d522f475Smrg<ul> 993d522f475Smrg <li>override locale in minstall.sh; 994d522f475Smrg change in <a href="#xterm_226">patch #226</a> 995d522f475Smrg does not work in UTF-8 locale (report by Zdenek Sekera). 996d522f475Smrg 997d522f475Smrg <li>undo an incorrect fix for a memory leak 998d522f475Smrg in <a href="#xterm_209">patch #209</a> (Debian #435858). 999d522f475Smrg</ul> 1000d522f475Smrg 1001d522f475Smrg<H1><A NAME="xterm_228">Patch #228 - 2007/7/22</A></H1> 1002d522f475Smrg<ul> 1003d522f475Smrg <li>modify configure script to permit combining 1004d522f475Smrg <code>--with-utempter</code> 1005d522f475Smrg and <code>--enable-setuid</code>, e.g., for using xterm with 1006d522f475Smrg the utempter library on FreeBSD (report by Andriy Gapon). 1007d522f475Smrg 1008d522f475Smrg <li>modify "Quit" menu entry to override the <code>-hold</code> 1009d522f475Smrg command-line option. 1010d522f475Smrg 1011d522f475Smrg <li>add a check in the startup error-reporting to avoid writing to 1012d522f475Smrg pipe when it has not been opened. In that case, report errors 1013d522f475Smrg directly to the standard error. 1014d522f475Smrg 1015d522f475Smrg <li>add OPT_READLINE definition to xtermcfg.hin, overlooked in 1016d522f475Smrg <a href="#xterm_205">patch #205</a> 1017d522f475Smrg (report by Kalle Olavi Niemitalo). 1018d522f475Smrg 1019d522f475Smrg <li>modify <code>88colors2.pl</code> and <code>256colors2.pl</code>, 1020d522f475Smrg adding <code>-r</code> 1021d522f475Smrg option to reverse the palettes for the extended colors. 1022d522f475Smrg 1023d522f475Smrg <li>check for partial overwrite or deletion of multi-column characters 1024d522f475Smrg in several cases, e.g., insert-character, delete-character, 1025d522f475Smrg etc., 1026d522f475Smrg and fill the remainder of the cells used by the multi-column 1027d522f475Smrg characters affected with blanks. 1028d522f475Smrg 1029d522f475Smrg <li>correct character-class codes in wide-character mode for characters 1030d522f475Smrg 215, 247 (see also <a href="#xterm_165">patch #165</a>). 1031d522f475Smrg 1032d522f475Smrg <li>fix missing assignment for UTF-8 parsing in widget initialization 1033d522f475Smrg (Debian #403360). 1034d522f475Smrg 1035d522f475Smrg <li>correct index expression used to set line-wrapping flag, making 1036d522f475Smrg selection from scrollback work consistently (Debian #430121, 1037d522f475Smrg report by Vincent Lefevre). 1038d522f475Smrg 1039d522f475Smrg <li>amend changes to handshake in 1040d522f475Smrg <a href="#xterm_226">patch #226</a> 1041d522f475Smrg to accommodate Solaris, which relies on the extra setting of 1042d522f475Smrg the terminal size after I/O initialization. 1043d522f475Smrg Do this by adding new resource <code>ptySttySize</code>, 1044d522f475Smrg which is false for Linux and MacOS X, i.e., true for 1045d522f475Smrg for Solaris and other SVR4 platforms, as well as FreeBSD 1046d522f475Smrg (reports by David Wood, Renato Botelho). 1047d522f475Smrg 1048d522f475Smrg <li>check for X events after cursor-left, and carriage return, 1049d522f475Smrg consistent with indexing operations 1050d522f475Smrg (comments by Vegard Nossum and Ingo Molnar on a mailing-list). 1051d522f475Smrg 1052d522f475Smrg <li>initialize the <code>.keyboard</code> structure, 1053d522f475Smrg needed for some platforms (such as Solaris) after 1054d522f475Smrg <a href="#xterm_227">patch #227</a> fixes for keysyms 1055d522f475Smrg (patch by David Wood). 1056d522f475Smrg 1057d522f475Smrg <li>update config.guess, config.sub 1058d522f475Smrg</ul> 1059d522f475Smrg 1060d522f475Smrg<H1><A NAME="xterm_227">Patch #227 - 2007/6/27</A></H1> 1061d522f475Smrg<ul> 1062d522f475Smrg <li>exclude the Intel compiler from the extra gcc warning options 1063d522f475Smrg added in 1064d522f475Smrg <a href="#xterm_226">patch #226</a>. 1065d522f475Smrg 1066d522f475Smrg <li>modify change for Debian #422521 1067d522f475Smrg from <a href="#xterm_226">patch #226</a> 1068d522f475Smrg to work with configurations where the X server does not 1069d522f475Smrg recognize 1070d522f475Smrg the <code>XF86Paste</code> 1071d522f475Smrg or <code>SunPaste</code> keysyms (report by Paolo Pumilia). 1072d522f475Smrg 1073d522f475Smrg <li>fix incorrect free in fix for "Selection" menu entry in 1074d522f475Smrg <a href="#xterm_226">patch #226</a>. 1075d522f475Smrg</ul> 1076d522f475Smrg 1077d522f475Smrg<H1><A NAME="xterm_226">Patch #226 - 2007/6/17</A></H1> 1078d522f475Smrg<ul> 1079d522f475Smrg <li>add configure check to use <code>-Wno-unknown-pragmas</code> for 1080d522f475Smrg Solaris, and a few other new gcc warning options to address 1081d522f475Smrg regressions in its warning options. 1082d522f475Smrg 1083d522f475Smrg <li>add sample desktop and icon files, along with configure options for 1084d522f475Smrg manipulating them. 1085d522f475Smrg 1086d522f475Smrg <li>fix an infinite loop when showing a 2-column character in a 1087d522f475Smrg 1-column screen (Debian #426863). 1088d522f475Smrg 1089d522f475Smrg <li>add <code>XF86Paste</code> and <code>SunPaste</code> to the 1090d522f475Smrg default translations (Debian #422521, patch by Bernhard R Link). 1091d522f475Smrg 1092d522f475Smrg <li>update wcwidth.c (partly based on/prompted by mailing list 1093d522f475Smrg comment). 1094d522f475Smrg 1095d522f475Smrg <li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and Xorg 1096d522f475Smrg 7.1 keysymdef.h file. 1097d522f475Smrg 1098d522f475Smrg <li>improve <code>gen-pc-fkeys.pl</code>, making it show all of the 1099d522f475Smrg building-block terminfo entries used by xterm. 1100d522f475Smrg 1101d522f475Smrg <li>correct strings used for modifiers applied to F1-F4 in xterm+pcf1 1102d522f475Smrg terminfo entry. 1103d522f475Smrg 1104d522f475Smrg <li>improve session management by adding the ICE connection number 1105d522f475Smrg to the <code>select</code> call rather than waking up once per 1106d522f475Smrg second (patch by Miroslav Lichvar). 1107d522f475Smrg 1108d522f475Smrg <li>add environment variable <code>$XTERM_LOCALE</code> to help 1109d522f475Smrg with shell initialization, e.g., to set a specific locale for 1110d522f475Smrg xterm on systems where a global locale is set in the shell 1111d522f475Smrg startup scripts. 1112d522f475Smrg 1113d522f475Smrg <li>add resource settings <code>mkSampleSize</code> and 1114d522f475Smrg <code>mkSamplePass</code> 1115d522f475Smrg to modify the <code>mkWidth</code> added 1116d522f475Smrg in <a href="#xterm_201">patch #201</a>. 1117d522f475Smrg In <a href="#xterm_202">patch #202</a>, 1118d522f475Smrg xterm would also check if the system's 1119d522f475Smrg <code>wcwidth</code> matched its built-in tables 1120d522f475Smrg "well enough" to be used when <code>mkWidth</code> was false, 1121d522f475Smrg and if not would use the built-in tables anyway. 1122d522f475Smrg These resources allow the user to customize the decision 1123d522f475Smrg (prompted by comments by Emanuele Giaquinta) 1124d522f475Smrg 1125d522f475Smrg <li>modify logic which resets/updates the screensize on the child 1126d522f475Smrg process side of the pseudo-terminal to do this only if a 1127d522f475Smrg successful handshake was received, e.g., as determined by 1128d522f475Smrg the <code>waitForMap</code> resource (prompted by reports 1129d522f475Smrg by Emanuele Giaquinta and Bernhard R Link, but see also 1130d522f475Smrg <a href="#xterm_177">patch #177</a> and 1131d522f475Smrg <a href="#xterm_159">patch #159</a>. 1132d522f475Smrg 1133d522f475Smrg <li>improve permissions logic when closing pseudo-terminal 1134d522f475Smrg (Debian #12261, 1135d522f475Smrg patch by Nathanael Nerode, 1136d522f475Smrg analysis by Richard Braakman). 1137d522f475Smrg 1138d522f475Smrg <li>add resource <code>highlightReverse</code> which controls whether 1139d522f475Smrg xterm will allow selection highlighting to hide reverse-video 1140d522f475Smrg or use the older behavior which inverts the foreground and 1141d522f475Smrg background colors when selected text with reverse-video attribute 1142d522f475Smrg (report by Adam M Costello, comments by Victor Vaile). 1143d522f475Smrg 1144d522f475Smrg <li>restore a special case for cursor-color in 1145d522f475Smrg <code>ReverseVideo()</code> 1146d522f475Smrg lost in rewrite for <a href="#xterm_224">patch #224</a> 1147d522f475Smrg (report by Adam Sulmicki). 1148d522f475Smrg 1149d522f475Smrg <li>correct initialization for menu entry for <code>bellIsUrgent</code> 1150d522f475Smrg (patch by Emanuele Giaquinta). 1151d522f475Smrg 1152d522f475Smrg <li>correct length of underlining for double-width Xft fonts 1153d522f475Smrg (report by Shidai Liu "Leo"). 1154d522f475Smrg 1155d522f475Smrg <li>correct clipping for double-width Xft fonts 1156d522f475Smrg (report by Shidai Liu "Leo"). 1157d522f475Smrg 1158d522f475Smrg <li>modify initialization for <code>italicULMode</code> to avoid 1159d522f475Smrg <code>XftPatternBuild</code> reusing bold attributes 1160d522f475Smrg (report by Shidai Liu "Leo"). 1161d522f475Smrg 1162d522f475Smrg <li>add a check in case someone tries to call the 1163d522f475Smrg <code>popup-menu()</code> action on a menu which is not initialized 1164d522f475Smrg (Debian #426364). 1165d522f475Smrg 1166d522f475Smrg <li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by Peter 1167d522f475Smrg Bray). 1168d522f475Smrg 1169d522f475Smrg <li>improve guess for X's manpage section in <code>minstall.sh</code>, 1170d522f475Smrg (prompted by comment by Miroslav Lichvar). 1171d522f475Smrg 1172d522f475Smrg <li>modify <code>minstall.sh</code> to handle manpage patch with more 1173d522f475Smrg than one dot (patch by Miroslav Lichvar). 1174d522f475Smrg 1175d522f475Smrg <li>fix configure message for --disable-setgid option (patch by 1176d522f475Smrg Miroslav Lichvar). 1177d522f475Smrg 1178d522f475Smrg <li>add <code>allowTitleOps</code> resource to allow users to prevent 1179d522f475Smrg the title- and icon-names from changing (request by John Bashinski). 1180d522f475Smrg 1181d522f475Smrg <li>fix "spawn-new-terminal" action, for the case where no parameter 1182d522f475Smrg is passed to the action (patch by Daniel Colascione). 1183d522f475Smrg 1184d522f475Smrg <li>fix error-checking on internal font switching for "Selection" 1185d522f475Smrg menu entry (Debian #421523). 1186d522f475Smrg 1187d522f475Smrg <li>amend select/paste change from 1188d522f475Smrg <a href="#xterm_225">patch #225</a> 1189d522f475Smrg by limiting it to non-UTF-8/non-KOI8-R encoding (Debian #420974). 1190d522f475Smrg 1191d522f475Smrg <li>add workaround for groff ".URL" codes which are not present in 1192d522f475Smrg some commonly-used bitmap fonts (Debian #418324). 1193d522f475Smrg</ul> 1194d522f475Smrg 1195d522f475Smrg<H1><A NAME="xterm_225">Patch #225 - 2007/3/24</A></H1> 1196d522f475Smrg<ul> 1197d522f475Smrg <li>add <code>useClipping</code> resource to allow clipping to be 1198d522f475Smrg disabled. 1199d522f475Smrg 1200d522f475Smrg <li>use <code>XftDrawSetClipRectangles</code> 1201d522f475Smrg to work around Xft pixel-trash (report by Reuben Thomas). 1202d522f475Smrg 1203d522f475Smrg <li>add configure option <code>--enable-tcap-fkeys</code>, and 1204d522f475Smrg resource <code>tcapFunctionKeys</code>, which can be used 1205d522f475Smrg to tell xterm to use function-key definitions from the termcap 1206d522f475Smrg (or terminfo) which it uses to set $TERM on startup. 1207d522f475Smrg 1208d522f475Smrg <li>add resources <code>altIsNotMeta</code> and 1209d522f475Smrg <code>altSendsEscape</code> to allow one to use Alt-keys like the 1210d522f475Smrg meta-key even if they are bound to different keycodes (prompted by 1211d522f475Smrg discussion with Daniel Jacobowitz). 1212d522f475Smrg 1213d522f475Smrg <li>revert a change from <a href="#xterm_216">patch #216</a> 1214d522f475Smrg that unnecessarily made the meta modifier override 1215d522f475Smrg the <code>eightBitInput</code> resource if the alt- and 1216d522f475Smrg meta-modifiers happened to overlap 1217d522f475Smrg (report/patch by Daniel Jacobowitz). 1218d522f475Smrg 1219d522f475Smrg <li>correct associated font for active icon for colored text 1220d522f475Smrg (broken in <a href="#xterm_224">patch #224</a>). 1221d522f475Smrg 1222d522f475Smrg <li>correct ifdef's for Darwin (patch by Emanuele Giaquinta). 1223d522f475Smrg 1224d522f475Smrg <li>add <code>highlightTextColor</code> resource, and options 1225d522f475Smrg <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code> 1226d522f475Smrg (adapted from patch by Victor Vaile). 1227d522f475Smrg 1228d522f475Smrg <li>revise <code>find_closest_color()</code> function to address 1229d522f475Smrg concern about borrowing from <code>Tcl/Tk</code> 1230d522f475Smrg (request by Dan McNichol). 1231d522f475Smrg 1232d522f475Smrg <li>add "spawn-new-terminal" action, which can be assigned to key 1233d522f475Smrg translation, allowing one to spawn a new copy of xterm using 1234d522f475Smrg the current process' working directory (adapted from patch 1235d522f475Smrg by Daniel Colascione). 1236d522f475Smrg 1237d522f475Smrg <li>improve select/paste between UTF-8 and Latin1 xterms by adapting 1238d522f475Smrg the translations from <a href="#xterm_185">patch #185</a>. 1239d522f475Smrg Extend that to include Unicode fullwidth forms FF00-FF5E. 1240d522f475Smrg Also modify select/paste of DEC line-drawing characters in 1241d522f475Smrg Latin1 mode to use ASCII characters. 1242d522f475Smrg 1243d522f475Smrg <li>add "Enable Bell Urgency" to VT Options menu, removed "Enable 1244d522f475Smrg Margin Bell". 1245d522f475Smrg 1246d522f475Smrg <li>add <code>bellIsUrgent</code> resource to control whether the 1247d522f475Smrg Urgency hint is set/reset. 1248d522f475Smrg 1249d522f475Smrg <li>modify to set Urgency window manager hint on bell, reset it on 1250d522f475Smrg Focus-In event (patch by Emanuele Giaquinta). 1251d522f475Smrg 1252d522f475Smrg <li>add <code>--disable-setgid</code> configure option (request by 1253d522f475Smrg Miroslav Lichvar). 1254d522f475Smrg 1255d522f475Smrg <li>fix a possible infinite loop in last change to 1256d522f475Smrg <code>dabbrev-expand()</code> (patch by Emanuele Giaquinta). 1257d522f475Smrg 1258d522f475Smrg <li>modify initialization to set the pty erase value if the 1259d522f475Smrg <code>erase</code> is set in the <code>ttyModes</code> resource. 1260d522f475Smrg This overrides the <code>ptyInitialErase</code> setting (request by 1261d522f475Smrg Lluís Batlle i Rossell). 1262d522f475Smrg 1263d522f475Smrg <li>add <code>initialFont</code> resource to xterm widget, like 1264d522f475Smrg tek-widget (Debian #299669). 1265d522f475Smrg 1266d522f475Smrg <li>amend change to <code>boldMode</code> from 1267d522f475Smrg <a href="#xterm_223">patch #223</a> for Debian #347790. 1268d522f475Smrg As noted in Debian #412599, that made xterm 1269d522f475Smrg no longer match the documented behavior. 1270d522f475Smrg Add new resource <code>alwaysBoldMode</code> 1271d522f475Smrg to allow overriding the comparison 1272d522f475Smrg between normal/bold fonts when deciding whether to use overstriking 1273d522f475Smrg to simulate bold fonts. 1274d522f475Smrg 1275d522f475Smrg <li>restore background color in ClearCurBackground(), omitted in 1276d522f475Smrg changes for <a href="#xterm_223">patch #223</a> (report by 1277d522f475Smrg Miroslav Lichvar). 1278d522f475Smrg 1279d522f475Smrg <li>correct logic for repainting double-width TrueType characters 1280d522f475Smrg (prompted by test-case for Novell #246573). 1281d522f475Smrg 1282d522f475Smrg <li>add a check to avoid trying to repeat a multibyte character 1283d522f475Smrg (report by Sami Farin). 1284d522f475Smrg 1285d522f475Smrg <li>modify parameter to <code>XftNameParse()</code> to select wide 1286d522f475Smrg face-name as needed, to make <code>-fd</code> option work (patch by 1287d522f475Smrg Mike Fabian, Novell #246573). 1288d522f475Smrg 1289d522f475Smrg <li>correct logic for mouse highlight tracking's abort sequence, 1290d522f475Smrg broken in a restructuring modification from 1291d522f475Smrg <a href="#xterm_224">patch #224</a> 1292d522f475Smrg (report by Thomas Wolff). 1293d522f475Smrg 1294d522f475Smrg <li>revert the simplification of blinking cursor, since that broke 1295d522f475Smrg the xor'ing introduced in <a href="#xterm_193">patch #193</a> 1296d522f475Smrg (report by Thomas Wolff). 1297d522f475Smrg</ul> 1298d522f475Smrg 1299d522f475Smrg<H1><A NAME="xterm_224">Patch #224 - 2007/2/11</A></H1> 1300d522f475Smrg<ul> 1301d522f475Smrg <li>simplify code for set/reset mode for blinking cursor 1302d522f475Smrg (patch by Emanuele Giaquinta). 1303d522f475Smrg 1304d522f475Smrg <li>modify <code>dabbrev-expand()</code> to restart after the last 1305d522f475Smrg match (patch by Emanuele Giaquinta). 1306d522f475Smrg 1307d522f475Smrg <li>add control sequences for enabling/disabling focus in/out event 1308d522f475Smrg reporting (request by Bram Moolenaar). 1309d522f475Smrg 1310d522f475Smrg <li>improve startup performance of menus by adding resource setting 1311d522f475Smrg <code>menuLocale</code> which can be set to override X's 1312d522f475Smrg lengthy initialization of fontsets - which are seldom used 1313d522f475Smrg for the <code>Xaw</code> popup menus (adapted from patch by 1314d522f475Smrg Dave Coffin). 1315d522f475Smrg 1316d522f475Smrg <li>modify do_precomposition() function and make-compose.sh to handle 1317d522f475Smrg 21-bit codes vs the 16-bit codes those were written for, and 1318d522f475Smrg fix a few mis-sorted codes 1319d522f475Smrg (patch by Thomas Wolff). 1320d522f475Smrg 1321d522f475Smrg <li>handle special case in <code>-cjk_width</code> 1322d522f475Smrg which unexpectedly caused a character's width to change when 1323d522f475Smrg a combining character 1324d522f475Smrg (patch by Thomas Wolff) 1325d522f475Smrg 1326d522f475Smrg <li>fix build for GNU/KFreeBSD (Debian #40111). 1327d522f475Smrg 1328d522f475Smrg <li>consolidate GC creation/updating into a single module to reduce GC 1329d522f475Smrg manipulation (prompted by Debian #389476, though a complete fix 1330d522f475Smrg would involve optimizing the scrolling behavior). 1331d522f475Smrg 1332d522f475Smrg <li>fix ifdef of xtermCellWidth(), which broke for a case without 1333d522f475Smrg TrueType and without wide-character support (report by Martin 1334d522f475Smrg Pirker). 1335d522f475Smrg 1336d522f475Smrg <li>undo a comparison in <code>handle_translated_exposure</code> which 1337d522f475Smrg did not work due to X server optimization. That caused the 1338d522f475Smrg inner border to be repainted with unexpected colors when handling 1339d522f475Smrg a repaint, e.g., after switching to/from another workspace 1340d522f475Smrg (Debian #401726, Redhat Bugzilla #223027). 1341d522f475Smrg 1342d522f475Smrg <li>allow <code>-cr</code> option to override cursor color when 1343d522f475Smrg <code>-ah</code> option is used (Debian #406502). 1344d522f475Smrg 1345d522f475Smrg <li>add a note in xterm's manpage explaining that the <code>-bw</code> 1346d522f475Smrg (or <code>-w</code>) option is only used by the window manager, 1347d522f475Smrg if at all (Debian #405043). 1348d522f475Smrg 1349d522f475Smrg <li>make <code>Selection</code> of <code>VT Fonts</code> work with 1350d522f475Smrg <code>selectToClipboard</code> resource. 1351d522f475Smrg 1352d522f475Smrg <li>correct length calculation for <code>Selection</code> entry of 1353d522f475Smrg <code>VT Fonts</code> menu, broken since it ignored the 1354d522f475Smrg actual selection length since X11R4. 1355d522f475Smrg 1356d522f475Smrg <li>fixes for fontsize changes with <code>-fa</code> option (Redhat 1357d522f475Smrg Bugzilla #222340). 1358d522f475Smrg</ul> 1359d522f475Smrg 1360d522f475Smrg<H1><A NAME="xterm_223">Patch #223 - 2006/11/30</A></H1> 1361d522f475Smrg<ul> 1362d522f475Smrg <li>add <code>--enable-rectangles</code> configure option (request by 1363d522f475Smrg Martin Pirker). 1364d522f475Smrg 1365d522f475Smrg <li>correct default value for <code>--with-symlink</code> configure 1366d522f475Smrg option. 1367d522f475Smrg 1368d522f475Smrg <li>fixes configure script macros that use <code>$X_EXTRA_LIBS</code>. 1369d522f475Smrg 1370d522f475Smrg <li>modify configure script to provide support for pre-package config 1371d522f475Smrg versions of Xft (FreeType). 1372d522f475Smrg 1373d522f475Smrg <li>add the Xaw scrollbar translations resource to the xterm manpage, 1374d522f475Smrg add an example showing how to change the mouse button assignments 1375d522f475Smrg (Debian #382225). 1376d522f475Smrg 1377d522f475Smrg <li>amend a change from <a href="#xterm_216">patch #216</a>, 1378d522f475Smrg which omitted modifiers for control, meta, etc., if they were 1379d522f475Smrg mixed with any other modifiers. The intent of the change was 1380d522f475Smrg to avoid confusion with 1381d522f475Smrg <code>XK_Mode_switch</code> 1382d522f475Smrg and <code>XK_ISO_Level3_Shift</code>; 1383d522f475Smrg the check is now done explicitly (report by Daniel Jacobowitz). 1384d522f475Smrg 1385d522f475Smrg <li>interpret a negative value for <code>modifyCursorKeys</code> 1386d522f475Smrg or <code>modifyFunctionKeys</code> resources to disable the 1387d522f475Smrg respective features (prompted by Novell #220728). 1388d522f475Smrg 1389d522f475Smrg <li>amend cell-width computation for FreeType from 1390d522f475Smrg <a href="#xterm_217">patch #217</a>, which did not work 1391d522f475Smrg for VT100 line-drawing characters (Debian #399638, GenToo #147111). 1392d522f475Smrg 1393d522f475Smrg <li>amend a change from <a href="#xterm_216">patch #216</a>, 1394d522f475Smrg which made alt-modifier on a cursor-key send a modifier parameter 1395d522f475Smrg (Novell #220728). 1396d522f475Smrg 1397d522f475Smrg <li>correct an off-by-one that made DECCRA not work (report/patch by 1398d522f475Smrg Martin Pirker). 1399d522f475Smrg 1400d522f475Smrg <li>revert an optimization in SGR_Foreground() and SGR_Background 1401d522f475Smrg from <a href="#xterm_209">patch #209</a> (Debian #347722, 1402d522f475Smrg analysis by Pierre Lombard). 1403d522f475Smrg 1404d522f475Smrg <li>fix for <code>boldMode</code> (Debian #347790, patch by Tim Pope). 1405d522f475Smrg 1406d522f475Smrg <li>amend fix for <code>-iconic</code> in 1407d522f475Smrg <a href="#xterm_208">patch #208</a>, 1408d522f475Smrg which broke the positioning part of <code>-geom</code> with toolbar 1409d522f475Smrg configuration. 1410d522f475Smrg 1411d522f475Smrg <li>fix to prevent indexing error in regular expressions (patch 1412d522f475Smrg by Dennis Schneider). 1413d522f475Smrg 1414d522f475Smrg <li>fixes to make the internalBorder area not change color due to 1415d522f475Smrg reverseVideo and/or related exposure events. The latter was a very 1416d522f475Smrg old bug exposed in <a href="#xterm_196">patch #196</a> (report by 1417d522f475Smrg Neil Hoggarth, also Debian #397624). 1418d522f475Smrg</ul> 1419d522f475Smrg 1420d522f475Smrg<H1><A NAME="xterm_222">Patch #222 - 2006/10/17</A></H1> 1421d522f475Smrg<ul> 1422d522f475Smrg <li>minor optimization for recoloring cursor via dynamic colors. 1423d522f475Smrg 1424d522f475Smrg <li>fix a bug caused by restructuring of tek4014 widget (report by Paul 1425d522f475Smrg Schenkeveld) 1426d522f475Smrg</ul> 1427d522f475Smrg 1428d522f475Smrg<H1><A NAME="xterm_221">Patch #221 - 2006/10/1</A></H1> 1429d522f475Smrg<ul> 1430d522f475Smrg <li>fix for regular expressions: the code which converted the column 1431d522f475Smrg offset within a line did not check properly for the end of a line, 1432d522f475Smrg and if allowed to match the whole line, would select the beginning 1433d522f475Smrg of the following line. If the following line were empty, in turn 1434d522f475Smrg it would select from the next, etc. (report by Sean 1435d522f475Smrg Reifschneider). 1436d522f475Smrg 1437d522f475Smrg <li>minor optimization of color allocation to avoid repainting the 1438d522f475Smrg screen if the corresponding color had not been allocated. 1439d522f475Smrg 1440d522f475Smrg <li>fixes for vttests/256colors.pl (report by Egmont Koblinger). 1441d522f475Smrg 1442d522f475Smrg <li>add terminfo building block entries for modifiers of the 6-key 1443d522f475Smrg editing keypad. 1444d522f475Smrg 1445d522f475Smrg <li>fix for initialization of tek4014 which broke on QNX 6.1 1446d522f475Smrg</ul> 1447d522f475Smrg 1448d522f475Smrg<H1><A NAME="xterm_220">Patch #220 - 2006/9/10</A></H1> 1449d522f475Smrg<ul> 1450d522f475Smrg <li>make "xterm -t -iconic" work as expected, i.e., start in tek4014 1451d522f475Smrg mode, but iconified. 1452d522f475Smrg</ul> 1453d522f475Smrg 1454d522f475Smrg<H1><A NAME="xterm_219">Patch #219 - 2006/9/4</A></H1> 1455d522f475Smrg<ul> 1456d522f475Smrg <li>some internal restructuring to separate data for vt100 and tek4014 1457d522f475Smrg widgets. 1458d522f475Smrg 1459d522f475Smrg <li>fix a few cases where form-events would be seen by the vt100 1460d522f475Smrg widget when built with the toolbar configuration. 1461d522f475Smrg</ul> 1462d522f475Smrg 1463d522f475Smrg<H1><A NAME="xterm_218">Patch #218 - 2006/8/27</A></H1> 1464d522f475Smrg<ul> 1465d522f475Smrg <li>change behavior when encountering an illegal character in a title 1466d522f475Smrg string. Rather than reject the string, translate illegal 1467d522f475Smrg characters into "?" and use the string (requested by Thomas Wolff). 1468d522f475Smrg 1469d522f475Smrg <li>improve checks for nonprinting characters in title strings 1470d522f475Smrg (report by Samuel Thibault). 1471d522f475Smrg 1472d522f475Smrg <li>correct typo in menu labels, changing <code>print-redirect</code> 1473d522f475Smrg to <code>print-redir</code>, making it follow the manpage and 1474d522f475Smrg match the usage for the actions table (report by Samuel Thibault). 1475d522f475Smrg 1476d522f475Smrg <li>correct a typo that prevents building with some older systems such 1477d522f475Smrg as Solaris 2.6 (report by Julian Bridle). 1478d522f475Smrg</ul> 1479d522f475Smrg 1480d522f475Smrg<H1><A NAME="xterm_217">Patch #217 - 2006/8/20</A></H1> 1481d522f475Smrg<ul> 1482d522f475Smrg <li>minor improvements to FreeType font layout and drawing. 1483d522f475Smrg 1484d522f475Smrg <li>add a check in the ptyInitialErase logic to ensure that the 1485d522f475Smrg termcap was read (Redhat Bugzilla #201246). 1486d522f475Smrg 1487d522f475Smrg <li>limit changes for reverse-video from 1488d522f475Smrg <a href="#xterm_216">patch #216</a> to cases where the 1489d522f475Smrg reverse-video command-line option is used 1490d522f475Smrg (report by Zdenek Sekera). 1491d522f475Smrg 1492d522f475Smrg <li>correct bitmap-derived pointsizes for TrueType fonts; they should 1493d522f475Smrg be proportional to the square root of the area of the bitmap 1494d522f475Smrg fonts. 1495d522f475Smrg 1496d522f475Smrg <li>add resources to specify pointsize of TrueType fonts (request 1497d522f475Smrg by Reuben Thomas). 1498d522f475Smrg 1499d522f475Smrg <li>improve install of terminfo by filtering out harmless messages 1500d522f475Smrg related to extended capabilities. At the same time, use ncurses 1501d522f475Smrg tic to compile the extended capabilities if possible 1502d522f475Smrg (report by Zdenek Sekera). 1503d522f475Smrg 1504d522f475Smrg <li>update "xterm+pcfkeys" terminfo entry to correspond to 1505d522f475Smrg <a href="#xterm_216">patch #216</a>. 1506d522f475Smrg</ul> 1507d522f475Smrg 1508d522f475Smrg<H1><A NAME="xterm_216">Patch #216 - 2006/8/3</A></H1> 1509d522f475Smrg<ul> 1510d522f475Smrg <li>improve handling of <code>ConfigureNotify</code> events by checking 1511d522f475Smrg if there are further events in the queue which obsolete the current 1512d522f475Smrg one (adapted from rxvt 2.7.5). Only the normal normal 1513d522f475Smrg (non-toolbar) configuration is addressed in this patch. 1514d522f475Smrg 1515d522f475Smrg <li>several changes to terminfo: 1516d522f475Smrg <ul> 1517d522f475Smrg <li>incorporate some minor changes from ncurses to help keep these 1518d522f475Smrg synchronized: 1519d522f475Smrg <dl> 1520d522f475Smrg <dt>2005-02-26 1521d522f475Smrg <dd>modify sgr/sgr0 in xterm-new to improve tgetent's derived "me". 1522d522f475Smrg <dt>2006-02-18 1523d522f475Smrg <dd>remove ncv flag from xterm-16color 1524d522f475Smrg <dt>2006-06-24 1525d522f475Smrg <dd>improve xterm-256color by combining the 16-color 1526d522f475Smrg setaf/setab strings with SGR 48, 1527d522f475Smrg and cancelling the setf/setb strings. 1528d522f475Smrg </dl> 1529d522f475Smrg <li>use extended function-key definitions for xterm-sun, xterm-sco 1530d522f475Smrg entries. 1531d522f475Smrg 1532d522f475Smrg <li>add terminfo building-blocks corresponding to the 1533d522f475Smrg <code>modifyFunctionKeys</code> 1534d522f475Smrg and <code>modifyCursorKeys</code> resources. 1535d522f475Smrg </ul> 1536d522f475Smrg 1537d522f475Smrg <li>ifdef'd Sun function-key feature to make it optional, like HP and 1538d522f475Smrg SCO. 1539d522f475Smrg 1540d522f475Smrg <li>extend table for termcap-query feature through F63, and updated 1541d522f475Smrg tcapquery.pl to match. 1542d522f475Smrg 1543d522f475Smrg <li>modify logic for function-key input processing to allow function 1544d522f475Smrg key numbers which are constructed by control- and shift-modifiers 1545d522f475Smrg to extend beyond X's hardcoded limit of 35. 1546d522f475Smrg 1547d522f475Smrg <li>add control sequence to set or reset the <code>eightBitInput</code> 1548d522f475Smrg resource. 1549d522f475Smrg 1550d522f475Smrg <li>change default resource <code>modifyFunctionKeys</code> to 2 1551d522f475Smrg to avoid sending SS3 with parameters (report by Kalle Olavi Niemitalo). 1552d522f475Smrg 1553d522f475Smrg <li>add control sequences for setting and resetting the values of the 1554d522f475Smrg <code>modifyCursorKeys</code>, 1555d522f475Smrg <code>modifyFunctionKeys</code> and 1556d522f475Smrg <code>modifyOtherKeys</code> resources. 1557d522f475Smrg 1558d522f475Smrg <li>add <code>modifyFunctionKeys</code> resource like 1559d522f475Smrg <code>modifyCursorKeys</code>. 1560d522f475Smrg Setting this to zero allows one to use the control- and 1561d522f475Smrg shift-modifiers to construct function key strings, 1562d522f475Smrg for terminals using many function keys, 1563d522f475Smrg e.g., for <code>xterm-sun</code> or <code>xterm-sco</code>. 1564d522f475Smrg 1565d522f475Smrg <li>modify screen responses and function-key logic to reduce the 1566d522f475Smrg number of writes made, to make it less likely that an application 1567d522f475Smrg would read only part of a function-key in a read operation 1568d522f475Smrg (suggested by John E Urbanczyk). 1569d522f475Smrg 1570d522f475Smrg <li>add <code>combiningChars</code> resource, which allows the user to 1571d522f475Smrg specify the maximum number of combining characters that xterm will 1572d522f475Smrg store for each cell in wide-character mode (prompted by request by 1573d522f475Smrg Markus Kuhn to increase the limit from 2). 1574d522f475Smrg 1575d522f475Smrg <li>improve logic in <code>metaSendsEscape</code> in case the Alt- 1576d522f475Smrg and Meta-keys are mapped to different modifiers. That allows one 1577d522f475Smrg to use the Alt-key for shifting in the <code>eightBitInput</code> 1578d522f475Smrg and use a Meta-key modifier to prefix the result with an 1579d522f475Smrg <code><ESC></code>. 1580d522f475Smrg 1581d522f475Smrg <li>improve <code>modifyCursorKeys</code> logic to prevent it from 1582d522f475Smrg modifying codes where <code>eightBitInput</code> or 1583d522f475Smrg <code>metaSendsEscape</code> are set 1584d522f475Smrg (request by Dan Nicolaescu). 1585d522f475Smrg 1586d522f475Smrg <li>improve <code>modifyCursorKeys</code> logic to prevent it from 1587d522f475Smrg changing the user input when other modifiers such as AltGr are used 1588d522f475Smrg (report by Thomas Wolff). 1589d522f475Smrg 1590d522f475Smrg <li>extend <code>modifyCursorKeys</code> to include the numeric keypad 1591d522f475Smrg when in application mode. 1592d522f475Smrg 1593d522f475Smrg <li>improve <code>-reverse</code> (<code>-rv</code>) option 1594d522f475Smrg (patch by Jason Vas Dias, Redhat #189161). 1595d522f475Smrg 1596d522f475Smrg <li>workaround for color resources on Fedora-5 which made the toolbar 1597d522f475Smrg colors inconsistent. 1598d522f475Smrg 1599d522f475Smrg <li>corrected calls used for <code>--disable-setuid</code> option, 1600d522f475Smrg add debugging traces to help diagnose this area. 1601d522f475Smrg 1602d522f475Smrg <li>modify configure script to ensure that <code>USE_UTMP_SETGID</code> 1603d522f475Smrg is defined only if the check for POSIX saved-ids succeeds, or 1604d522f475Smrg corresponds to one of the BSD systems known to have a workable 1605d522f475Smrg <code>setegid</code> function. 1606d522f475Smrg 1607d522f475Smrg <li>extend configure check for POSIX saved-ids to include BSD systems 1608d522f475Smrg 1609d522f475Smrg <li>modify CF_SYSV configure macro to work with gcc on HPUX 10.20, 1610d522f475Smrg whose broken 1611d522f475Smrg <code><term.h></code> relies on including 1612d522f475Smrg <code><termios.h></code>. 1613d522f475Smrg 1614d522f475Smrg <li>change order of setuid/setgid ifdef checks in Imakefile to make 1615d522f475Smrg it simpler to produce a setgid install, allowing the latter to 1616d522f475Smrg override the former (prompted by an XFree86 commit). 1617d522f475Smrg 1618d522f475Smrg <li>adapt a fix for setgid support from subsequent XFree86 changes 1619d522f475Smrg (patch by Emanuele Giaquinta). 1620d522f475Smrg 1621d522f475Smrg <li>further improve setgid support (patches by Emanuele Giaquinta). 1622d522f475Smrg</ul> 1623d522f475Smrg 1624d522f475Smrg<H1><A NAME="xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A></H1> 1625d522f475Smrg<ul> 1626d522f475Smrg <li>improve setgid support by exploiting the saved-ids feature on which 1627d522f475Smrg it relies (patch by Emanuele Giaquinta). 1628d522f475Smrg 1629d522f475Smrg <li>make the <code>modifyOtherKeys</code> resource disabled by default 1630d522f475Smrg since the intermediate setting altered some common bindings 1631d522f475Smrg (report by Emanuele Giaquinta). 1632d522f475Smrg</ul> 1633d522f475Smrg 1634d522f475Smrg<H1><A NAME="xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A></H1> 1635d522f475Smrg<ul> 1636d522f475Smrg <li>modify makefile rule for ctlseqs.txt to strip backspace/overstrikes, 1637d522f475Smrg and add a copy of ctlseqs.txt to the source tarballs (requests by 1638d522f475Smrg Bram Moolenaar, Emanuele Giaquinta). 1639d522f475Smrg 1640d522f475Smrg <li>add <code>modifyOtherKeys</code> resource, analogous to the 1641d522f475Smrg <code>modifyCursorKeys</code> resource. This applies to keys that 1642d522f475Smrg normally would transmit nothing when a given modifier is applied 1643d522f475Smrg (request by Dan Nicolaescu). 1644d522f475Smrg 1645d522f475Smrg <li>add <code>default</code> to the acceptable values for the 1646d522f475Smrg <code>keyboardType</code> resource, allowing the <code>-kt</code> 1647d522f475Smrg command-line option to override app-defaults resource settings of 1648d522f475Smrg <code>sunKeyboard</code>, etc. 1649d522f475Smrg 1650d522f475Smrg <li>correct ifdef's for <code>XkbBell()</code> which used the header 1651d522f475Smrg file but not the corresponding function in 1652d522f475Smrg <a href="#xterm_175">patch #175</a> 1653d522f475Smrg (report by Zach Beane). 1654d522f475Smrg 1655d522f475Smrg <li>add xterm manpage to the <code>--with-symlink</code> logic. 1656d522f475Smrg 1657d522f475Smrg <li>regenerated configure script to omit some debugging artifacts of 1658d522f475Smrg the SIGWINCH test. 1659d522f475Smrg 1660d522f475Smrg <li>fix <code>install-man</code> rule in <code>Makefile.in</code> to 1661d522f475Smrg avoid including the <code>$(DESTDIR)</code> value in substitutions 1662d522f475Smrg made on the manpages (patch by Emanuele Giaquinta). 1663d522f475Smrg 1664d522f475Smrg <li>improved fix for cursor deallocation 1665d522f475Smrg (Redhat #186935, patch by Jason Vas Dias). 1666d522f475Smrg 1667d522f475Smrg <li>improve checks for setuid/setgid operation to accommodate limited 1668d522f475Smrg resource management in some kernels (GenToo #193238). 1669d522f475Smrg 1670d522f475Smrg <li>update config.guess, config.sub 1671d522f475Smrg</ul> 1672d522f475Smrg 1673d522f475Smrg<H1><A NAME="xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A></H1> 1674d522f475Smrg<ul> 1675d522f475Smrg <li>minor optimization to cell layout; will use that to simplify some 1676d522f475Smrg logic and allow for more than two combining characters in another 1677d522f475Smrg patch. 1678d522f475Smrg 1679d522f475Smrg <li>add <code>utf8Latin1</code> resource to make optional the 1680d522f475Smrg feature from <a href="#xterm_209">patch #209</a> which 1681d522f475Smrg allowed ISO-8859-1 fonts to be used in cases 1682d522f475Smrg where a wide font was given. This would only 1683d522f475Smrg work for the special case where the user normally used Latin-1 1684d522f475Smrg and wanted some wide characters (report by Rostislav Krasny). 1685d522f475Smrg 1686d522f475Smrg <li>add <code>utf8Title</code> resource to manpage (Novell #52655). 1687d522f475Smrg 1688d522f475Smrg <li>fix typo in table entry for <code>utf8Title</code> resource which 1689d522f475Smrg made it treated as an integer rather than boolean (patch by Mike 1690d522f475Smrg Fabian, Novell #52655). 1691d522f475Smrg</ul> 1692d522f475Smrg 1693d522f475Smrg<H1><A NAME="xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A></H1> 1694d522f475Smrg<ul> 1695d522f475Smrg <li>improve description of <code>forceBoxChars</code> in manpage 1696d522f475Smrg (discussion with Joe Wells). 1697d522f475Smrg 1698d522f475Smrg <li>set checkmark for "Select To Clipboard" menu entry on startup, 1699d522f475Smrg from resource setting. 1700d522f475Smrg 1701d522f475Smrg <li>update manpage to note that <code>*customization:color</code> is 1702d522f475Smrg not needed, though it is useful (Redhat #188034). 1703d522f475Smrg 1704d522f475Smrg <li>add underscore to sample pattern for URL in <code>XTerm.ad</code> 1705d522f475Smrg (Redhat #188037). 1706d522f475Smrg 1707d522f475Smrg <li>modify install rule for manpage to use the configured app-defaults 1708d522f475Smrg directory (Redhat #188031). 1709d522f475Smrg 1710d522f475Smrg <li>add checks in <code>releaseCursorGCs()</code> to ensure GC's are 1711d522f475Smrg distinct, needed since memory leak changes for 1712d522f475Smrg <a href="#xterm_208">patch #208</a> 1713d522f475Smrg (Redhat #186935, patch by Jason Vas Dias). 1714d522f475Smrg 1715d522f475Smrg <li>modify <code>Imakefile</code> definitions to allow 1716d522f475Smrg <code>imake</code> to set <code>InstallXtermSetGID</code>. 1717d522f475Smrg Add symbol <code>InstGidFlags</code>. 1718d522f475Smrg 1719d522f475Smrg <li>add configure script check to ensure that SIGWINCH if defined even 1720d522f475Smrg when headers undefine this as a side-effect of 1721d522f475Smrg <code>_POSIX_C_SOURCE</code>, etc. 1722d522f475Smrg 1723d522f475Smrg <li>resync with XFree86 CVS: 1724d522f475Smrg <ul> 1725d522f475Smrg <li>ifdef-out chmod of terminal device for OS/2 (XFree86 #1663, 1726d522f475Smrg Frank Giessler). 1727d522f475Smrg <li>move new <code>Imakefile</code> chunk which defines 1728d522f475Smrg <code>$(CSGIDFLAGS)</code> before DEFINES, 1729d522f475Smrg e.g., for IRIX64 (Marc La France). 1730d522f475Smrg </ul> 1731d522f475Smrg</ul> 1732d522f475Smrg 1733d522f475Smrg<H1><A NAME="xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A></H1> 1734d522f475Smrg<ul> 1735d522f475Smrg <li>modify prefix/suffix transformation in makefile to make 1736d522f475Smrg <code>uxterm</code> install properly on Cygwin. 1737d522f475Smrg 1738d522f475Smrg <li>restore the sizeof-comparison for <code>struct lastlog</code> 1739d522f475Smrg added in <a href="#xterm_208">patch #208</a>, 1740d522f475Smrg rendered (mostly) obsolete in <a href="#xterm_210">patch #210</a>, 1741d522f475Smrg since an imake configuration can still turn that code on 1742d522f475Smrg (prompted by comment by David Dawes). 1743d522f475Smrg 1744d522f475Smrg <li>remove feature for <code>FreeBSDArchitecture</code> from 1745d522f475Smrg <code>Imakefile</code> which would install xterm using the 1746d522f475Smrg <code>utmp</code> group since a standard FreeBSD system has no such 1747d522f475Smrg group, though it would support this configuration. FreeBSD 1748d522f475Smrg packager uses the <code>configure</code> script, which can make the 1749d522f475Smrg appropriate check (prompted by comment by David Dawes). 1750d522f475Smrg 1751d522f475Smrg <li>fixes for gcc redefinition warnings when built using imake 1752d522f475Smrg (reports by David Dawes, Marc La France). 1753d522f475Smrg</ul> 1754d522f475Smrg 1755d522f475Smrg<H1><A NAME="xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A></H1> 1756d522f475Smrg<ul> 1757d522f475Smrg <li>add configure check for workaround in 1758d522f475Smrg <a href="#xterm_208">patch #208</a> 1759d522f475Smrg for Solaris' inconsistent support for struct lastlog to quiet 1760d522f475Smrg compiler warnings 1761d522f475Smrg (prompted by David Dawes commit message for XFree86). 1762d522f475Smrg 1763d522f475Smrg <li>fixes for BASE64 selection manipulation, 1764d522f475Smrg e.g., ensure that the string 1765d522f475Smrg terminator is written after cut-buffer data (report by Joe Allen). 1766d522f475Smrg 1767d522f475Smrg <li>add vttests/paste64.pl script to test experimental option for 1768d522f475Smrg setting/getting selection data. 1769d522f475Smrg 1770d522f475Smrg <li>add some error-checking in fontutils.c 1771d522f475Smrg (prompted by David Dawes commit message for XFree86). 1772d522f475Smrg 1773d522f475Smrg <li>change xterm manpage to show the actual color resource names 1774d522f475Smrg <code>XtDefaultForeground</code> and 1775d522f475Smrg <code>XtDefaultBackground</code> rather than black and white 1776d522f475Smrg (prompted by discussion with Emanuele Giaquinta). 1777d522f475Smrg 1778d522f475Smrg <li>add <code>utf8Title</code> resource and menu entry, allowing the 1779d522f475Smrg user to control whether title strings are interpreted as ISO-8859-1 1780d522f475Smrg or UTF-8 encoding (Novell #52655, #113206). 1781d522f475Smrg 1782d522f475Smrg <li>change order of ifdef's for utempter versus platforms in 1783d522f475Smrg <code>Imakefile</code> to ensure a proper value for 1784d522f475Smrg <code>InstallXtermSetGID</code> 1785d522f475Smrg (prompted by Marc La France commit message for XFree86). 1786d522f475Smrg 1787d522f475Smrg <li>update the cursor GCs when menu entry for reverse video is toggled. 1788d522f475Smrg (Redhat #183993). 1789d522f475Smrg 1790d522f475Smrg <li>a memory-leak fix for <code>set_cursor_gcs()</code> 1791d522f475Smrg in <a href="#xterm_208">patch #208</a> broke the 1792d522f475Smrg <code>-cm</code> option (Redhat #182382). 1793d522f475Smrg</ul> 1794d522f475Smrg 1795d522f475Smrg<H1><A NAME="xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A></H1> 1796d522f475Smrg<ul> 1797d522f475Smrg <li>remove <code>setf</code> and <code>setb</code> from 1798d522f475Smrg <code>xterm-256color</code> terminfo entry to avoid issues with 1799d522f475Smrg applications that ignore the ANSI strings (report by Emanuele 1800d522f475Smrg Giaquinta). 1801d522f475Smrg 1802d522f475Smrg <li>remove obsolete references to "Xorg" to avoid confusion with 1803d522f475Smrg "X.org" (prompted by David Dawes commit message for XFree86). 1804d522f475Smrg 1805d522f475Smrg <li>improve initial layout performance for the toolbar configuration 1806d522f475Smrg by precalculating the height of the toolbar. 1807d522f475Smrg 1808d522f475Smrg <li>remove menu entry for "Enable Curses Emulation" (to make room for 1809d522f475Smrg "Select To Clipboard"). 1810d522f475Smrg 1811d522f475Smrg <li>add resource <code>selectToClipboard</code>, 1812d522f475Smrg action <code>set-select</code> and a menu entry to allow 1813d522f475Smrg users to switch between PRIMARY and CLIPBOARD for select/paste. 1814d522f475Smrg 1815d522f475Smrg <li>allow cursor to have the same color as foreground (text), since it 1816d522f475Smrg is rendered as reverse (Debian #350664). 1817d522f475Smrg 1818d522f475Smrg <li>amend change for loading <code>utf8Fonts</code> resource from <a 1819d522f475Smrg href="#xterm_204">patch #204</a> to allow an ISO-8859-1 "normal" 1820d522f475Smrg font to be combined with an ISO-10646 font if the latter is given 1821d522f475Smrg via the <code>-fw</code> option or its corresponding resource 1822d522f475Smrg value (prompted by comment in Novell #49305). 1823d522f475Smrg 1824d522f475Smrg <li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for 1825d522f475Smrg <code>__GNU__</code> to set the controlling terminal (Debian 1826d522f475Smrg #348457). 1827d522f475Smrg 1828d522f475Smrg <li>add configure option <code>--disable-leaks</code>. 1829d522f475Smrg 1830d522f475Smrg <li>add a check in <code>Bell</code> to ensure that the VT100 widget 1831d522f475Smrg is realized, since it may be called by <code>xtermLoadFont</code> 1832d522f475Smrg given an incorrect font resource (Redhat #180450). 1833d522f475Smrg 1834d522f475Smrg <li>improve initialization of wide-bold font by not using the derived 1835d522f475Smrg value when it happens to have few glyphs (report by Mboso Sampson). 1836d522f475Smrg 1837d522f475Smrg <li>improve dynamic colors by not repainting the screen if only the 1838d522f475Smrg cursor color changes (request by Bram Moolenaar). 1839d522f475Smrg 1840d522f475Smrg <li>fix menu initialization for tek4014 window broken in 1841d522f475Smrg <a href="#xterm_206">patch #206</a>. 1842d522f475Smrg 1843d522f475Smrg <li>typo in manpage (Debian #351425). 1844d522f475Smrg 1845d522f475Smrg <li>correct loop logic in <code>dotext</code> to prevent an infinite 1846d522f475Smrg loop if a wide character was just at the right margin when wrapping 1847d522f475Smrg was disabled (report by Serge van den Boom). 1848d522f475Smrg 1849d522f475Smrg <li>initialize the saved-cursor data so a restore-cursor operation 1850d522f475Smrg without a preceding save-cursor operation will not modify the 1851d522f475Smrg foreground color. 1852d522f475Smrg 1853d522f475Smrg <li>add a new selection feature: regular expressions, and new resources 1854d522f475Smrg which specify what happens on multiple mouse clicks: 1855d522f475Smrg <code>on2Clicks</code>, 1856d522f475Smrg <code>on3Clicks</code>, 1857d522f475Smrg <code>on4Clicks</code> and 1858d522f475Smrg <code>on5Clicks</code>. 1859d522f475Smrg 1860d522f475Smrg <li>revert the <code>XTerm.ad</code> change from 1861d522f475Smrg <a href="#xterm_208">patch #208</a> (Debian #348384). 1862d522f475Smrg 1863d522f475Smrg <li>fixes for the print-window to make it handle combining 1864d522f475Smrg characters in UTF-8 mode. 1865d522f475Smrg 1866d522f475Smrg <li>add check to ensure that double-clicking to extend selection will 1867d522f475Smrg not extend it into the scrollback area. This still allows users 1868d522f475Smrg to scroll back and select text (Debian #347415). 1869d522f475Smrg 1870d522f475Smrg <li>add configure option <code>--with-tty-group</code> to help work 1871d522f475Smrg around deficiencies in packager's build environment (Debian 1872d522f475Smrg #349142). 1873d522f475Smrg 1874d522f475Smrg <li>fix typo in configure script option 1875d522f475Smrg <code>--disable-narrowproto</code> 1876d522f475Smrg (report by David Martínez Moreno). 1877d522f475Smrg 1878d522f475Smrg <li>amend CF_X_FREETYPE changes for <code>pkg-config</code> check to 1879d522f475Smrg ensure that <code>Xft</code> is known to that tool (report and 1880d522f475Smrg patch by Emanuele Giaquinta). 1881d522f475Smrg 1882d522f475Smrg <li>add an ifdef to allow <code>./configure --disable-active-icon</code> 1883d522f475Smrg to work, broken by new code for testing memory leaks in 1884d522f475Smrg <a href="#xterm_208">patch #208</a> (report by Brian Lindholm). 1885d522f475Smrg</ul> 1886d522f475Smrg 1887d522f475Smrg<H1><A NAME="xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A></H1> 1888d522f475Smrg<ul> 1889d522f475Smrg <li>add <code>charClass</code> resource to <code>XTerm.ad</code> and 1890d522f475Smrg <code>UXTerm.ad</code> which simplifies selecting URLs (prompted 1891d522f475Smrg by Kirill Ponomarew). 1892d522f475Smrg 1893d522f475Smrg <li>modify install rule for <code>uxterm</code> to account for the 1894d522f475Smrg <code>--program-prefix</code>, etc., options by invoking the 1895d522f475Smrg transformed name of xterm rather than simply "xterm". 1896d522f475Smrg 1897d522f475Smrg <li>modify configure <code>--with-app-defaults</code> option to allow 1898d522f475Smrg <code>--without-app-defaults</code>. 1899d522f475Smrg 1900d522f475Smrg <li>add configure <code>--with-symlink</code> option to make it simpler 1901d522f475Smrg to install successive versions of <code>xterm</code> renamed using 1902d522f475Smrg the <code>--program-prefix</code>, etc., options with a symbolic 1903d522f475Smrg link pointing to the most recent. 1904d522f475Smrg 1905d522f475Smrg <li>make <code>-iconic</code> option work with toolbar configuration 1906d522f475Smrg (GenToo #113604). 1907d522f475Smrg 1908d522f475Smrg <li>suppress <code>lastlog</code> feature for 64-bit Solaris 1909d522f475Smrg configuration since that platform provides only a 32-bit interface 1910d522f475Smrg (report by Peter Bray). 1911d522f475Smrg 1912d522f475Smrg <li>fix memory reallocation for the "UTF-8" menu entry when xterm is 1913d522f475Smrg started using the <code>+u8</code> option (reported by Jan Willem 1914d522f475Smrg Stumpel). 1915d522f475Smrg 1916d522f475Smrg <li>add a configure check for the actual path of <code>luit</code>, 1917d522f475Smrg to work around broken <code>imake</code> configurations. 1918d522f475Smrg 1919d522f475Smrg <li>add a configure check for <code>pkg-config</code> (Redhat Bugzilla 1920d522f475Smrg #173541). 1921d522f475Smrg 1922d522f475Smrg <li>modify install-rule for <code>uxterm</code> to omit executable 1923d522f475Smrg suffix, e.g., for Cygwin. 1924d522f475Smrg 1925d522f475Smrg <li>modify <code>sinstall.sh</code> to work around quirks in Cygwin 1926d522f475Smrg configuration. 1927d522f475Smrg</ul> 1928d522f475Smrg 1929d522f475Smrg<H1><A NAME="xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A></H1> 1930d522f475Smrg<ul> 1931d522f475Smrg <li>enable <code>lastlogx</code> support for NetBSD (was added, but 1932d522f475Smrg not enabled in <a href="#xterm_186">patch #186</a>). 1933d522f475Smrg 1934d522f475Smrg <li>work around broken <code>lastlog.h</code> in glibc 2.3.5, which 1935d522f475Smrg includes <code>utmp.h</code>. 1936d522f475Smrg 1937d522f475Smrg <li>revert part of recent XFree86 Imakefile change, restoring the 1938d522f475Smrg <code>-I.</code> needed for <code>xmkmf</code> builds of xterm 1939d522f475Smrg (XFree86 Bugzilla #1633, reports by Alexander Pohoyda and Matthieu 1940d522f475Smrg Herrb). 1941d522f475Smrg 1942d522f475Smrg <li>change compiled-in default for <code>printerCommand</code> 1943d522f475Smrg resource to an empty string. People who want to use the 1944d522f475Smrg printer should be able to read the manual (Debian #311490). 1945d522f475Smrg 1946d522f475Smrg <li>modify <code>Imakefile</code> to work around old problems in 1947d522f475Smrg <code>imake</code> configuration to allow test-builds using 1948d522f475Smrg <code>xmkmf</code> on Linux. (This was not noticed since several 1949d522f475Smrg releases had broken definitions relating to Xft which were harder 1950d522f475Smrg to work around). 1951d522f475Smrg 1952d522f475Smrg <li>link <code>resize</code> for SCO platforms (Kean Johnston). 1953d522f475Smrg</ul> 1954d522f475Smrg 1955d522f475Smrg<H1><A NAME="xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A></H1> 1956d522f475Smrg<ul> 1957d522f475Smrg <li>add configure <code>--with-app-defaults</code> option to allow 1958d522f475Smrg app-defaults directory for install-rules to be customized. 1959d522f475Smrg 1960d522f475Smrg <li>remove default translations for <code>dabbrev-expand()</code> 1961d522f475Smrg due to conflicts with existing keyboard arrangements. 1962d522f475Smrg 1963d522f475Smrg <li>remove redundant check for <code>_NET_WM_PID</code> 1964d522f475Smrg (report by Emanuele Giaquinta). 1965d522f475Smrg 1966d522f475Smrg <li>set icon border width explicitly to work around fvwm problem 1967d522f475Smrg with active icon resizing (report by Steve Morris, analysis 1968d522f475Smrg by Dominik Vogt). 1969d522f475Smrg 1970d522f475Smrg <li>modify resource files to make the font-resources a little 1971d522f475Smrg more specific, e.g., changing "*VT100*" to "*VT100.", to 1972d522f475Smrg make the distinction between VT100.font and VT100.utf8Fonts.font 1973d522f475Smrg sharper, in case a packager modifies one of those. 1974d522f475Smrg 1975d522f475Smrg <li>expanded comments in <code>UXTerm.ad</code> regarding the 1976d522f475Smrg font resources (Debian #319179). 1977d522f475Smrg 1978d522f475Smrg <li>add <code>--enable-narrowproto</code> configure option to 1979d522f475Smrg accommodate X.org "modular" build (report by Stephan Hermann, 1980d522f475Smrg GenToo #17220). 1981d522f475Smrg 1982d522f475Smrg <li>fix typo in xterm.man description of <code>+wf</code> (patch 1983d522f475Smrg by Tobias Stoeckmann). 1984d522f475Smrg 1985d522f475Smrg <li>add <code>scrollBarBorder</code> resource (request by Floyd L 1986d522f475Smrg Davidson). 1987d522f475Smrg 1988d522f475Smrg <li>modify <code>xterm-new</code> terminfo entry to use capabilities 1989d522f475Smrg for shifted scroll forward/reverse as shifted cursor up/down. 1990d522f475Smrg 1991d522f475Smrg <li>correct updating of checkmark for toolbar entry in popup menu 1992d522f475Smrg (report by Emanuele Giaquinta). 1993d522f475Smrg 1994d522f475Smrg <li>fix ifdef's to allow compiling with toolbar and without tek4014 1995d522f475Smrg (patch by Emanuele Giaquinta). 1996d522f475Smrg 1997d522f475Smrg <li>use <code>openpty()</code> for Darwin port (patch by Emanuele 1998d522f475Smrg Giaquinta). 1999d522f475Smrg 2000d522f475Smrg <li>fix GenToo #90697 a different way, postponing the logic in 2001d522f475Smrg <code>SetupToolbar</code> until the toolbar is actually needed, 2002d522f475Smrg i.e., the <code>+tb</code> option is handled as expected. 2003d522f475Smrg 2004d522f475Smrg <li>revert fix made in <a href="#xterm_203">patch #203</a> for GenToo 2005d522f475Smrg #90697. That introduced a problem with the control mouse 2006d522f475Smrg click-popups, while most of the performance problems can be 2007d522f475Smrg resolved by restricting the menu fonts (report by Emanuele 2008d522f475Smrg Giaquinta). 2009d522f475Smrg 2010d522f475Smrg <li>fix a file-descriptor leak when calling <code>openpty()</code> 2011d522f475Smrg (OpenBSD system/4561). 2012d522f475Smrg 2013d522f475Smrg <li>make a special case of resizing work like vt100: a hard reset 2014d522f475Smrg also resets the 132/80 mode. The code to support this was 2015d522f475Smrg present since X11R5, but not used because the corresponding 2016d522f475Smrg initial state of the <code>-132</code> option was not saved. 2017d522f475Smrg 2018d522f475Smrg <li>restore window manager hints after <code>XtMakeResizeRequest()</code> 2019d522f475Smrg calls. One instance from <a href="#xterm_205">patch #205</a> 2020d522f475Smrg resulted in the window manager displaying pixels rather than 2021d522f475Smrg than characters after selecting a different font size (FreeBSD 2022d522f475Smrg ports/87424). 2023d522f475Smrg 2024d522f475Smrg <li>remove special case for Darwin in CF_XOPEN_SOURCE 2025d522f475Smrg (Emanuele Giaquinta). 2026d522f475Smrg 2027d522f475Smrg <li>modify parsing of control sequence <code>CSI T</code> 2028d522f475Smrg to allow scroll-down 2029d522f475Smrg to be sent while mouse tracking is enabled (request by 2030d522f475Smrg D Hugh Redelmeier). 2031d522f475Smrg 2032d522f475Smrg <li>correct termcap "me" (mode-end) string so it does not modify the 2033d522f475Smrg alternate character set (report by Andrey Chernov). 2034d522f475Smrg 2035d522f475Smrg <li>correct size-comparison in HandleInterpret() broken in changes 2036d522f475Smrg from <a href="#xterm_201">patch #201</a> to allocate input 2037d522f475Smrg buffer (Debian #334317). 2038d522f475Smrg 2039d522f475Smrg <li>amend adjustments for scrollbar layout from 2040d522f475Smrg <a href="#xterm_204">patch #204</a> to make 2041d522f475Smrg this apply only to the toolbar configuration. In the non-toolbar 2042d522f475Smrg configuration, the resulting scrollbar was shifted by its 2043d522f475Smrg borderwidth (report by Matthieu Herrb). 2044d522f475Smrg 2045d522f475Smrg <li>add select-cursor-extend() action. 2046d522f475Smrg 2047d522f475Smrg <li>fix some broken href's in xterm.log.html, and typo in the 2048d522f475Smrg INSTALL file (report/patch by David Martínez Moreno). 2049d522f475Smrg 2050d522f475Smrg <li>modify <code>Imakefile</code> to use setgid mode for installing 2051d522f475Smrg with Linux, OpenBSD and FreeBSD. 2052d522f475Smrg 2053d522f475Smrg <li>add configure --with-setuid and --with-reference options to 2054d522f475Smrg allow packagers more flexibility in customizing install 2055d522f475Smrg permissions. 2056d522f475Smrg 2057d522f475Smrg <li>generalize and make optional (configure --with-utmp-setgid) 2058d522f475Smrg the change made for XFree86 Bugzilla #878 in 2059d522f475Smrg <a href="#xterm_205">patch #205</a> 2060d522f475Smrg (FreeBSD bug report #ports/86663). 2061d522f475Smrg</ul> 2062d522f475Smrg 2063d522f475Smrg<H1><A NAME="xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A></H1> 2064d522f475Smrg<ul> 2065d522f475Smrg <li>correct a typo in CF_FUNC_TGETENT introduced in <a 2066d522f475Smrg href="#xterm_198">patch #198</a> fix for Gentoo #69926. 2067d522f475Smrg 2068d522f475Smrg <li>implement logic in termcap query to process multiple parameters 2069d522f475Smrg as documented in ctlseqs.ms 2070d522f475Smrg 2071d522f475Smrg <li>fix buffer size used for termcap query, which was not long enough 2072d522f475Smrg for the terminfo "colors" name (patch by Bradd W. Szonye). 2073d522f475Smrg 2074d522f475Smrg <li>add configure option --enable-readline-mouse, which turns on the 2075d522f475Smrg experimental OPT_READLINE code (patch by Ilya Zakharevich). 2076d522f475Smrg 2077d522f475Smrg <li>for FreeBSD, drop setuid privileges after startup 2078d522f475Smrg (XFree86 Bugzilla #878, report/patch by Alexander Pohoyda) 2079d522f475Smrg 2080d522f475Smrg <li>add menu entry (alt-esc) and corresponding action (alt-sends-esc) 2081d522f475Smrg to toggle the <code>eightBitInput</code> resource setting. 2082d522f475Smrg 2083d522f475Smrg <li>generate configure script with autoconf 2.52 (patched) to use 2084d522f475Smrg the feature therein which forces the script's locale to POSIX 2085d522f475Smrg (Gentoo Bugzilla #105369). 2086d522f475Smrg 2087d522f475Smrg <li>modify computation of rows/columns on resize to avoid extending 2088d522f475Smrg beyond the given limits, e.g., if resizing in response to a 2089d522f475Smrg "maximize" in Gnome or KDE which do not use the window manager 2090d522f475Smrg hints for this case (Debian #289123, Novell #61153). 2091d522f475Smrg 2092d522f475Smrg <li>modifications to work with z/OS 1.4 (Paul Giordano). 2093d522f475Smrg 2094d522f475Smrg <li>improve error-reporting when chown/chmod of the pseudo-terminal 2095d522f475Smrg fails, e.g., if a copy of xterm which was designed to work with 2096d522f475Smrg old-style pseudo-terminals is not installed setuid or setgid 2097d522f475Smrg (report by Jeremy C. Reed). 2098d522f475Smrg 2099d522f475Smrg <li>patches from Emanuele Giaquinta: 2100d522f475Smrg <ul> 2101d522f475Smrg <li>ctlseqs.ms says that primary and secondary DA accept a 2102d522f475Smrg nonzero parameter, which is incorrect. Also modify code 2103d522f475Smrg to agree with this. 2104d522f475Smrg 2105d522f475Smrg <li>correct a comment in 88colres.pl 2106d522f475Smrg 2107d522f475Smrg <li>ctlseqs.ms says that the DEC Set/Reset control sequences for 2108d522f475Smrg the backarrow key make it send DEL/BS, respectively, while it's 2109d522f475Smrg the opposite. 2110d522f475Smrg 2111d522f475Smrg <li>update the menu entries for the metaSendsEscape, deleteIsDEL 2112d522f475Smrg and numLock resources when changing them with the corresponding 2113d522f475Smrg DEC Set/Reset control sequences. 2114d522f475Smrg </ul> 2115d522f475Smrg 2116d522f475Smrg <li>fixes for configure script: 2117d522f475Smrg <ul> 2118d522f475Smrg <li>add special case for QNX, defining _QNX_SOURCE. 2119d522f475Smrg <li>check for preprocessors which do not perform -U and -D options 2120d522f475Smrg in the given order. 2121d522f475Smrg <li>improve macro to determine gcc version 2122d522f475Smrg <li>improve check for Intel compiler and related warning options 2123d522f475Smrg </ul> 2124d522f475Smrg 2125d522f475Smrg <li>update config.guess, config.sub 2126d522f475Smrg 2127d522f475Smrg <li>improve fix from <a href="#xterm_198">patch #198</a> for 2128d522f475Smrg <code>Cleanup()</code> by ensuring it is not called from the 2129d522f475Smrg SIGCHLD handler (patch from OpenBSD by Todd Miller). 2130d522f475Smrg 2131d522f475Smrg <li>eliminate a retry for a better-matching bold font, to work around 2132d522f475Smrg recent font server changes. 2133d522f475Smrg 2134d522f475Smrg <li>fixes for Novell #113277: 2135d522f475Smrg <ul> 2136d522f475Smrg <li>specify weight for wide font which may be derived from 2137d522f475Smrg normal fontname. 2138d522f475Smrg <li>cache the derived wide- and widebolt-fontnames. 2139d522f475Smrg </ul> 2140d522f475Smrg 2141d522f475Smrg <li>workaround for GenToo Bugzilla #100728. 2142d522f475Smrg 2143d522f475Smrg <li>add menubar's border width to layout computation. Normally this 2144d522f475Smrg is zero, but patterns such as <code>XTerm*borderWidth:1</code> 2145d522f475Smrg would give poor layout for the toolbar configuration. 2146d522f475Smrg</ul> 2147d522f475Smrg 2148d522f475Smrg<H1><A NAME="xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A></H1> 2149d522f475Smrg<ul> 2150d522f475Smrg <li>work around quirk in shell which allowed user to "run" uxterm 2151d522f475Smrg script when there was no UTF-8 locale installed by entering 2152d522f475Smrg "sh -x uxterm". Also popup an xmessage to show the problem 2153d522f475Smrg for users who run this via a GUI (Debian #318513). 2154d522f475Smrg 2155d522f475Smrg <li>disallow changes to fonts, toolbar and scrollbar when the vt100 2156d522f475Smrg window is iconified, to simplify management of the active icon. 2157d522f475Smrg 2158d522f475Smrg <li>fixes to make <code>-geom</code> option work properly with the 2159d522f475Smrg toolbar configuration (Gentoo Bugzilla #90717, #91967). 2160d522f475Smrg 2161d522f475Smrg <li>minor improvements to scrollbar layout: ensure that the scrollbar 2162d522f475Smrg border is zero if the vt100 border is zero. 2163d522f475Smrg 2164d522f475Smrg <li>improve initialization due to <code>utf8</code> resource by 2165d522f475Smrg loading the <code>utf8Fonts</code> resource in the case where 2166d522f475Smrg <code>locale</code> resource is false. Also in this case, do 2167d522f475Smrg not disable switching UTF-8 mode on/off. 2168d522f475Smrg 2169d522f475Smrg <li>minor optimization of TrueType font-loading, loads italic font 2170d522f475Smrg only when needed. 2171d522f475Smrg 2172d522f475Smrg <li>correct variable used to store temporary result from lookup of bold 2173d522f475Smrg font, when initializing the wide-bold-font data and no immediate 2174d522f475Smrg match is found by asking for a bold variant of the wide-font. The 2175d522f475Smrg result was to use overstriking rather than the actual bold font 2176d522f475Smrg (Debian #318162, patch by Eugene Konev). 2177d522f475Smrg 2178d522f475Smrg <li>add checks to ensure vt100 widget is realized when it might be 2179d522f475Smrg updated via actions handled from a tek4014-only configuration. 2180d522f475Smrg</ul> 2181d522f475Smrg 2182d522f475Smrg<H1><A NAME="xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A></H1> 2183d522f475Smrg<ul> 2184d522f475Smrg <li>modify initialization of <code>allowSendEvents</code> and 2185d522f475Smrg <code>allowWindowOps</code> to prevent modification with the 2186d522f475Smrg editres protocol. 2187d522f475Smrg 2188d522f475Smrg <li>fix compiler warning for NetBSD by including util.h in main.c 2189d522f475Smrg (XFree86 Bugzilla #1596). 2190d522f475Smrg 2191d522f475Smrg <li>fix to build on Darwin 8.x, which no longer provides 2192d522f475Smrg <code>setpgrp()</code> (patch by Min Sik Kim). 2193d522f475Smrg 2194d522f475Smrg <li>adapted fixes for Legend (SCO) from diffs attached to 2195d522f475Smrg Freedesktop.Org Bugzilla #3180. 2196d522f475Smrg 2197d522f475Smrg <li>fix typo in xterm manpage description of <code>-ls</code> option 2198d522f475Smrg (Freedesktop.Org Bugzilla #3543). 2199d522f475Smrg 2200d522f475Smrg <li>add support for interpreting the underline attribute as an italic 2201d522f475Smrg font in Xft mode (patch by Chuck Blake). 2202d522f475Smrg 2203d522f475Smrg <li>improve initialization of toolbar so that individual pulldown 2204d522f475Smrg menus are initialized on demand, as they are in the scenario 2205d522f475Smrg where they are invoked as popup menus (GenToo Bugzilla #90697). 2206d522f475Smrg 2207d522f475Smrg <li>fix logic in <code>find_utmp</code>, which did not reset result 2208d522f475Smrg in <code>getutid()</code>, causing an infinite loop in some 2209d522f475Smrg conditions (report by Emil Mikulic). 2210d522f475Smrg 2211d522f475Smrg <li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla #91008). 2212d522f475Smrg 2213d522f475Smrg <li>modify ifdef's in ptyx.h and xterm_io.h to build with DragonFly 2214d522f475Smrg (patch by Jeroen Ruigrok). 2215d522f475Smrg 2216d522f475Smrg <li>change default values for <code>minBufSize</code> and 2217d522f475Smrg <code>maxBufSize</code> to 4096 and 32768 respectively so that the 2218d522f475Smrg initial read request will match the value from before changes to 2219d522f475Smrg use <code>sched_yield()</code>. 2220d522f475Smrg 2221d522f475Smrg <li>make paste of UTF-8 faster for Western character sets by checking 2222d522f475Smrg range of incoming data (patch by Joe Allen). 2223d522f475Smrg 2224d522f475Smrg <li>adapted patch by Joe Allen to add experimental option to allow 2225d522f475Smrg applications to get or set the selection data as a BASE64 string. 2226d522f475Smrg 2227d522f475Smrg <li>fix an off-by-one error parsing <code>-S/nn</code> option 2228d522f475Smrg (Debian #311438, report/fix by Peter Chubb). 2229d522f475Smrg 2230d522f475Smrg <li>fix an initialization bug from 2231d522f475Smrg <a href="#xterm_201">patch #201</a> that broke logging 2232d522f475Smrg (report by Rodney Thayer). 2233d522f475Smrg 2234d522f475Smrg <li>amend change to command-line processing in 2235d522f475Smrg <a href="#xterm_201">patch #201</a> to avoid 2236d522f475Smrg conflict with <code>-e</code> option (report by Servatius Brandt). 2237d522f475Smrg 2238d522f475Smrg <li>suppress configure check for <code>_XOPEN_SOURCE</code> on 2239d522f475Smrg darwin. 2240d522f475Smrg 2241d522f475Smrg <li>update config.guess, config.sub 2242d522f475Smrg</ul> 2243d522f475Smrg 2244d522f475Smrg<H1><A NAME="xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A></H1> 2245d522f475Smrg<ul> 2246d522f475Smrg <li>add extended shift- and control-modifier cursor keys to 2247d522f475Smrg "xterm+pcfkeys" terminfo entry to correspond to ncurses 20050430 2248d522f475Smrg patch. 2249d522f475Smrg 2250d522f475Smrg <li>fix a rare case where text would be written with the wrong colors 2251d522f475Smrg because output of scrolled text would reset the colors and the 2252d522f475Smrg new text would be written with the same colors (report/testcase 2253d522f475Smrg by Thomas Glanzmann). 2254d522f475Smrg 2255d522f475Smrg <li>rename <code>$CMD</code> variable in <code>plink.sh</code> because 2256d522f475Smrg it is a reserved symbol in bash 3.00.16 (report by Ted Taylor). 2257d522f475Smrg 2258d522f475Smrg <li>add environment variables <code>$XTERM_SHELL</code> and 2259d522f475Smrg <code>$XTERM_VERSION</code> 2260d522f475Smrg (request by Zdenek Sekera). 2261d522f475Smrg 2262d522f475Smrg <li>corrected workaround for background color of menubar, which gave 2263d522f475Smrg a too-broad expression, coloring the background of the VT100 2264d522f475Smrg widget unless overridden by another resource setting. 2265d522f475Smrg 2266d522f475Smrg <li>correct an error in the logic which decides when 2267d522f475Smrg <code>sched_yield()</code> is run; it would occasionally hang when 2268d522f475Smrg contending with other pseudo-terminal applications such as screen 2269d522f475Smrg (report by Kirill Ponomarew). 2270d522f475Smrg 2271d522f475Smrg <li>modify initialization to decide whether to default to built-in 2272d522f475Smrg <code>wcwidth()</code> versus system's version based on the 2273d522f475Smrg starting locale and whether the system's version is poor quality 2274d522f475Smrg (suggested by Bram Moolenaar). 2275d522f475Smrg 2276d522f475Smrg <li>update table for <code>mk_width()</code> from UnicodeData 4.1.0 2277d522f475Smrg using Markus Kuhn's <code>uniset</code> script. 2278d522f475Smrg</ul> 2279d522f475Smrg 2280d522f475Smrg<H1><A NAME="xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A></H1> 2281d522f475Smrg<ul> 2282d522f475Smrg <li>improve resource files to show how the menubar and popup menus can 2283d522f475Smrg be colored (prompted by report by Joe Wells). 2284d522f475Smrg 2285d522f475Smrg <li>modify parsing of OSC (and SOS, etc), strings so their contents 2286d522f475Smrg are not interpreted as UTF-8. This allows non-ASCII title strings 2287d522f475Smrg to be set, provided that the window manager complies (report by 2288d522f475Smrg Thomas Wolff). 2289d522f475Smrg 2290d522f475Smrg <li>improved some of the built-in line-drawing glyphs. 2291d522f475Smrg 2292d522f475Smrg <li>correct color of "box" character drawn for line-drawing glyph 1 2293d522f475Smrg (report by Nicolas George). 2294d522f475Smrg 2295d522f475Smrg <li>improve behavior when switching to UTF-8 mode after startup so 2296d522f475Smrg xterm will check if the current fonts are already wide 2297d522f475Smrg (ISO10646-1). If they are not, xterm will use the 2298d522f475Smrg <code>utf8Fonts</code> subresource to load appropriate fonts 2299d522f475Smrg (request by Bram Moolenaar). 2300d522f475Smrg 2301d522f475Smrg <li>modify logic for setting title-string so it applies to the current 2302d522f475Smrg widget rather than the vt100 widget. 2303d522f475Smrg 2304d522f475Smrg <li>modify initialization for wide-bold fontname, to search for one 2305d522f475Smrg if none is given (report by Michael Schroeder). 2306d522f475Smrg 2307d522f475Smrg <li>add resource <code>mkWidth</code> and command-line option 2308d522f475Smrg <code>-mk_width</code> to control whether xterm uses the built-in 2309d522f475Smrg version of wcwidth(). 2310d522f475Smrg 2311d522f475Smrg <li>add resource settings for minimum/maximum input buffer size, and 2312d522f475Smrg call to <code>sched_yield</code> to improve performance with newer 2313d522f475Smrg Linux kernels (adapted from patch by Nicolas George). 2314d522f475Smrg 2315d522f475Smrg <li>correct computation of width for wide characters with the invisible 2316d522f475Smrg attribute (report by Thomas Wolff). 2317d522f475Smrg 2318d522f475Smrg <li>modify interaction between <code>+u8</code> and <code>locale</code> 2319d522f475Smrg resource to allow the command-line option to override the resource 2320d522f475Smrg (requested by Thomas Wolff). 2321d522f475Smrg 2322d522f475Smrg <li>add a limit check for scrolling margins in a one-line screen, 2323d522f475Smrg overlooked in fixes for 2324d522f475Smrg <a href="#xterm_198">patch #198</a> (Debian #297430). 2325d522f475Smrg 2326d522f475Smrg <li>correct treatment of <code>iconBorderWidth</code> for resizing 2327d522f475Smrg an active-icon, and its description in manpage (Debian #296592). 2328d522f475Smrg 2329d522f475Smrg <li>modify configure script <code>--disable-imake</code> to use the 2330d522f475Smrg script's definitions anyway if it cannot detect imake (prompted 2331d522f475Smrg by FreeBSD bug 77408). 2332d522f475Smrg 2333d522f475Smrg <li>ignore error in the I/O initialization that tries to set the 2334d522f475Smrg tty to 7-bit input for the case where <code>eightBitInput</code> 2335d522f475Smrg resource is false (Debian #298551). 2336d522f475Smrg 2337d522f475Smrg <li>modify command-processing to accept an optional parameter that 2338d522f475Smrg tells xterm which shell program to use (request by Zdenek Sekera). 2339d522f475Smrg 2340d522f475Smrg <li>add simpler resource <code>keyboardType</code> which, when set, 2341d522f475Smrg overrides the individual keyboard-type resources and eliminates 2342d522f475Smrg the possibility of conflict between them. 2343d522f475Smrg 2344d522f475Smrg <li>add initialization for <code>scoFunctionKeys</code> resource 2345d522f475Smrg (report by Rick K). 2346d522f475Smrg 2347d522f475Smrg <li>correct logic of <code>ReallocateBufOffsets()</code> which did not 2348d522f475Smrg copy the content of the old screen buffer to the proper location, 2349d522f475Smrg making a repaint clear after switching to wide-character mode 2350d522f475Smrg (report by Bram Moolenaar): 2351d522f475Smrg 2352d522f475Smrg <li>implement the remaining pieces to make xterm allocate cells for 2353d522f475Smrg wide-characters when the "UTF-8" menu entry is selected. Also, 2354d522f475Smrg load the UTF-8 font when that menu entry is selected, or the escape 2355d522f475Smrg sequence for UTF-8 mode is received (report by Bram Moolenaar): 2356d522f475Smrg 2357d522f475Smrg <li>add command-line options (<code>-tb</code>, <code>+tb</code>) and 2358d522f475Smrg resource <code>toolBar</code> to allow menu/toolbar to disabled or 2359d522f475Smrg enabled at startup (prompted by reports by Joe Wells). 2360d522f475Smrg 2361d522f475Smrg <li>correct typo in configure script's --enable-dec-locator option 2362d522f475Smrg (report by Bram Moolenaar). 2363d522f475Smrg</ul> 2364d522f475Smrg 2365d522f475Smrg<H1><A NAME="xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A></H1> 2366d522f475Smrg<ul> 2367d522f475Smrg <li>increase color pairs value for xterm-256color and xterm-88color to 2368d522f475Smrg match ncurses, which has an experimental option to support this. 2369d522f475Smrg 2370d522f475Smrg <li>modify ifdef's to make AIX use termios rather than termio; the 2371d522f475Smrg struct sizes for the two were not the same. 2372d522f475Smrg 2373d522f475Smrg <li>improve CF_WITH_IMAKE_CFLAGS configure macro script for 2374d522f475Smrg OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX. 2375d522f475Smrg 2376d522f475Smrg <li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by Min 2377d522f475Smrg Sik Kim). 2378d522f475Smrg 2379d522f475Smrg <li>modify find_utmp() to initialize the whole utmpx struct (except 2380d522f475Smrg ut_id), since that is needed for OSF1 4.0D to prevent an infinite 2381d522f475Smrg loop on exit. 2382d522f475Smrg 2383d522f475Smrg <li>add configure check before adding -D_POSIX_SOURCE since some 2384d522f475Smrg platforms predefine it, e.g., cygwin. 2385d522f475Smrg 2386d522f475Smrg <li>add simplified sed expressions in CF_IMAKE_CFLAGS configure script 2387d522f475Smrg macro to ensure value for PROJECTROOT is quoted on Solaris, i.e., 2388d522f475Smrg when nested <code>\(</code> and <code>\)</code> are not interpreted 2389d522f475Smrg correctly. 2390d522f475Smrg 2391d522f475Smrg <li>correct DEC rectangle operations to reset state after completing 2392d522f475Smrg the operations. 2393d522f475Smrg 2394d522f475Smrg <li>modify CASE_ST handling in charproc.c to ensure that the parse 2395d522f475Smrg state is reset even if xterm is not currently processing an OSC or 2396d522f475Smrg other string (patch by Johnny Billquist forwarded by Matthias 2397d522f475Smrg Scheler, NetBSD xsrc/29003). 2398d522f475Smrg 2399d522f475Smrg <li>fix OS/2 build for innotek_libc (patch by David Yeo). 2400d522f475Smrg 2401d522f475Smrg <li>fix a regression from <a href="#xterm_197">patch #197</a> fix for 2402d522f475Smrg Debian #277832 which disowned the selection if it was scrolled, 2403d522f475Smrg e.g., by the user pressing return at the bottom of the screen 2404d522f475Smrg (Debian #291787). 2405d522f475Smrg 2406d522f475Smrg <li>move the warning/exit for missing $DISPLAY into the error handler 2407d522f475Smrg in case <code>-display</code> is given, and the connect fails for 2408d522f475Smrg some other reason. 2409d522f475Smrg</ul> 2410d522f475Smrg 2411d522f475Smrg<H1><A NAME="xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A></H1> 2412d522f475Smrg<ul> 2413d522f475Smrg <li>instead of setting <code>$DISPLAY</code>, check for the unset 2414d522f475Smrg variable and warn/exit on this condition (comments by H Merijn 2415d522f475Smrg Brand and Bernhard R Link). 2416d522f475Smrg 2417d522f475Smrg <li>fix a typo in Imakefile from <a href="#xterm_198">patch #198</a> 2418d522f475Smrg (reports/patches by Stefan Dirsch, and Mike Castle). 2419d522f475Smrg</ul> 2420d522f475Smrg 2421d522f475Smrg<H1><A NAME="xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A></H1> 2422d522f475Smrg<ul> 2423d522f475Smrg <li>set <code>$DISPLAY</code> to ":0" if it is not set. 2424d522f475Smrg 2425d522f475Smrg <li>add <code>utmpDisplayId</code> resource to allow users to control 2426d522f475Smrg whether the display identifier (display number and screen number) 2427d522f475Smrg are retained in the connection information recorded in utmp 2428d522f475Smrg (discussion with Edoardo Tirtarahardja). 2429d522f475Smrg 2430d522f475Smrg <li>add <code>bellOnReset</code> resource to allow users to disable 2431d522f475Smrg bell which sounds on hard reset since <a href="#xterm_183">patch 2432d522f475Smrg #183</a> changes to DECSCL (discussion with Danek Duvall). 2433d522f475Smrg 2434d522f475Smrg <li>improve <code>$WINDOWID</code> for configuration with toolbar by 2435d522f475Smrg making it refer to the top-level shell rather than the parent of 2436d522f475Smrg the current window. For that case, the parent is a form widget, 2437d522f475Smrg which does not have a name, which made the <code>$WINDOWID</code> 2438d522f475Smrg not very useful as a parameter for <code>xwininfo</code> 2439d522f475Smrg (suggested by Dave Bodenstab). 2440d522f475Smrg 2441d522f475Smrg <li>fix a typo in WhichVFont() macro 2442d522f475Smrg from <a href="#xterm_197">patch #197</a> changes 2443d522f475Smrg which broke the --disable-active-icon configuration 2444d522f475Smrg (report by Ralf S. Engelschall). 2445d522f475Smrg 2446d522f475Smrg <li>improve some limit checks (Gentoo Bugzilla #75604). 2447d522f475Smrg 2448d522f475Smrg <li>add --disable-setuid option to configure script (Gentoo Bugzilla 2449d522f475Smrg #76543). 2450d522f475Smrg 2451d522f475Smrg <li>add --disable-full-tgetent option to configure script, allowing one 2452d522f475Smrg to ignore a termcap library in favor of ncurses/curses (Gentoo 2453d522f475Smrg Bugzilla #69926). 2454d522f475Smrg 2455d522f475Smrg <li>modify configure script to choose useful warning options for Intel 2456d522f475Smrg version 8.0 compiler. 2457d522f475Smrg 2458d522f475Smrg <li>update config.guess, config.sub 2459d522f475Smrg 2460d522f475Smrg <li>make active-icon work properly when TrueType fonts are used 2461d522f475Smrg (Debian #286068). 2462d522f475Smrg 2463d522f475Smrg <li>correct change from <a href="#xterm_157">patch #157</a> which uses 2464d522f475Smrg getlogin() to check for an alias; the storage used for the related 2465d522f475Smrg getpwuid() call was overwritten by the data used for comparison 2466d522f475Smrg (patch by Per Hedeland). 2467d522f475Smrg 2468d522f475Smrg <li>correct case of SCS for character set 0 (line-drawing) to allow it 2469d522f475Smrg to be selected into GR. 2470d522f475Smrg 2471d522f475Smrg <li>fix a file-descriptor leak (Redhat Bugzilla #139597). 2472d522f475Smrg 2473d522f475Smrg <li>modify <code>creat_as()</code> to only fork if xterm is actually 2474d522f475Smrg running as setuid and/or setgid. This works around a Cygwin bug 2475d522f475Smrg which hangs when logging is enabled and makes xterm a little 2476d522f475Smrg faster for systems using interfaces such as utempter (report by 2477d522f475Smrg Al Goodman). 2478d522f475Smrg 2479d522f475Smrg <li>modify <code>Cleanup()</code> to avoid operations such as X calls 2480d522f475Smrg that might use unsafe functions when it is called by a signal 2481d522f475Smrg handler (report by Michiel Boland). 2482d522f475Smrg 2483d522f475Smrg <li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM changes 2484d522f475Smrg from <a href="#xterm_197">patch #197</a> that 2485d522f475Smrg broke DECSET 38: switch to Tek4014 emulation (report by Dave 2486d522f475Smrg Bodenstab). 2487d522f475Smrg 2488d522f475Smrg <li>fix for manpage escapes (Marc La France). 2489d522f475Smrg 2490d522f475Smrg <li>improve on IRIX-specific change for Imakefile in XFree86 CVS versus 2491d522f475Smrg resize linking against termcap library to reflect definitions for 2492d522f475Smrg USE_TERMCAP in resize.c 2493d522f475Smrg</ul> 2494d522f475Smrg 2495d522f475Smrg<H1><A NAME="xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A></H1> 2496d522f475Smrg<ul> 2497d522f475Smrg <li>modify configure script to remove empty "-DPROJECTROOT=" definition 2498d522f475Smrg which resulted unusable values for luit's default path. 2499d522f475Smrg 2500d522f475Smrg <li>update precompose.c based on Unicode 4.0.1 2501d522f475Smrg 2502d522f475Smrg <li>several minor fixes based on Intel compiler warnings. 2503d522f475Smrg 2504d522f475Smrg <li>change default translations so a <code>BtnDown</code> which is 2505d522f475Smrg not recognized is simply ignored rather than emitting a bell. 2506d522f475Smrg That makes it less obtrusive when the user tries to use a mouse 2507d522f475Smrg which provides more capabilities than the X mouse driver supports, 2508d522f475Smrg e.g., one with a horizontal scroll wheel (Debian #265133). 2509d522f475Smrg 2510d522f475Smrg <li>note in xterm's manpage that <code>translations</code> is not 2511d522f475Smrg specific to xterm (Debian #278897). 2512d522f475Smrg 2513d522f475Smrg <li>modify uxterm script to use locale program to verify if the 2514d522f475Smrg derived locale is installed (Debian #246398). 2515d522f475Smrg 2516d522f475Smrg <li>correct font handling for active icon when in UTF-8 mode (report 2517d522f475Smrg by Paolo Liberatore). 2518d522f475Smrg 2519d522f475Smrg <li>make active-icon and toolbar configurations work together. 2520d522f475Smrg 2521d522f475Smrg <li>modify the criteria for disowning primary selection. Previously, 2522d522f475Smrg this happened anytime the cursor was moved before the end of the 2523d522f475Smrg selection. That would ensure that any insert/delete of char or 2524d522f475Smrg line, as well as scrolling, would disown the selection. The 2525d522f475Smrg new criteria change this to checking if the operations would 2526d522f475Smrg modify the data which is highlighted (Debian #277832). 2527d522f475Smrg 2528d522f475Smrg <li>reimplement <code>DECALN</code> with functions for vt420 rectangles, 2529d522f475Smrg fixes selection for this case. 2530d522f475Smrg 2531d522f475Smrg <li>implement vt420 rectangle operations. 2532d522f475Smrg 2533d522f475Smrg <li>add parsing, for debug/test of vt220 soft-fonts. 2534d522f475Smrg 2535d522f475Smrg <li>add menu entry, actions and escape sequence to allow 2536d522f475Smrg enabling/disabling toolbars at runtime. 2537d522f475Smrg 2538d522f475Smrg <li>improve rendering for Xft, allow it to draw non-linedrawing 2539d522f475Smrg characters such as "pi", which were drawn from internal tables 2540d522f475Smrg with <a href="#xterm_180">patch #180</a> 2541d522f475Smrg (Freedesktop.org Bugzilla #1260). 2542d522f475Smrg 2543d522f475Smrg <li>add configure option <code>--enable-mini-luit</code>, ifdef'd the 2544d522f475Smrg mini-luit feature with <code>OPT_MINI_LUIT</code>. 2545d522f475Smrg 2546d522f475Smrg <li>add mini-luit feature, which supports Latin9 directly rather than 2547d522f475Smrg via luit, provided that Unicode fonts are used (Freedesktop.org 2548d522f475Smrg Bugzilla #1571, request by Stefan Dirsch, patch by Michael 2549d522f475Smrg Schroeder). 2550d522f475Smrg 2551d522f475Smrg <li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x kernels, 2552d522f475Smrg set the corresponding flag for the slave pty, to enable UTF-8 2553d522f475Smrg interpretation of backspace in cooked mode (Freedesktop.org 2554d522f475Smrg Bugzilla #1578, request by Stefan Dirsch). 2555d522f475Smrg 2556d522f475Smrg <li>modify <code>faceSize</code> resource to use a floating-point 2557d522f475Smrg internal value (adapted from patch by Sam Stephenson). 2558d522f475Smrg 2559d522f475Smrg <li>correct handling selection of tabs over cleared space in UTF-8 2560d522f475Smrg mode. In this special case, xterm represents the whitespace with 2561d522f475Smrg a null rather than a space character (Debian #276447). 2562d522f475Smrg 2563d522f475Smrg <li>amend fix for infinite loop from <a href="#xterm_192">patch 2564d522f475Smrg #192</a> to check if there is wrapped text to output in a following 2565d522f475Smrg iteration (Debian #273202). 2566d522f475Smrg 2567d522f475Smrg <li>fixes ifdef'd with <code>__INTERIX</code> to allow building with 2568d522f475Smrg Interix (Windows Services for UNIX) 3.5 using the xlibs libraries 2569d522f475Smrg from freedesktop.org (patch by Min Sik Kim). 2570d522f475Smrg 2571d522f475Smrg <li>amend solution for Debian #252873, #260471 from <a 2572d522f475Smrg href="#xterm_194">patch #194</a> by making the cursor not 2573d522f475Smrg explicitly colored if only the foreground color is set, and the 2574d522f475Smrg cursor is on a blank space (Debian #275473). 2575d522f475Smrg 2576d522f475Smrg <li>correct logic for send/receive mode (SRM) with regard to control 2577d522f475Smrg characters. 2578d522f475Smrg 2579d522f475Smrg <li>fix masking of invisible text in wide-character mode, which did 2580d522f475Smrg not work for line-drawing characters. 2581d522f475Smrg 2582d522f475Smrg <li>incorporate CF_XOPEN_SOURCE into configure script, replacing 2583d522f475Smrg CF_GNU_SOURCE. 2584d522f475Smrg</ul> 2585d522f475Smrg 2586d522f475Smrg<H1><A NAME="xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A></H1> 2587d522f475Smrg<ul> 2588d522f475Smrg <li>add a special case to configure script to ignore NetBSD's 2589d522f475Smrg <code>grantpt()</code> which was recently added (but not part of a 2590d522f475Smrg release), until someone is able to ensure that xterm can use it 2591d522f475Smrg (report by Min Sik Kim). 2592d522f475Smrg 2593d522f475Smrg <li>clear the buffer returned by getutid(). This fixes an infinite 2594d522f475Smrg loop on some platforms introduced in <a href="#xterm_193">patch 2595d522f475Smrg #193</a> by Debian #256468 fix (report by David Ellement). 2596d522f475Smrg</ul> 2597d522f475Smrg 2598d522f475Smrg<H1><A NAME="xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A></H1> 2599d522f475Smrg<ul> 2600d522f475Smrg <li>correct length used for blinking text, make the last column blink 2601d522f475Smrg (patch by Alexander V Lukyanov). 2602d522f475Smrg 2603d522f475Smrg <li>start changes to make doublesize characters work with TrueType 2604d522f475Smrg fonts (see <a href="#xterm_44">patch #44</a>). 2605d522f475Smrg 2606d522f475Smrg <li>trim leading/trailing blanks from color resources as done for 2607d522f475Smrg other strings in <a href="#xterm_167">patch #167</a>. 2608d522f475Smrg 2609d522f475Smrg <li>fixes for <code>showBlinkAsBold</code> resource (report by 2610d522f475Smrg Christoph Berg). 2611d522f475Smrg</ul> 2612d522f475Smrg 2613d522f475Smrg<H1><A NAME="xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A></H1> 2614d522f475Smrg<ul> 2615d522f475Smrg <li>change clearing operations so foreground color attribute is not 2616d522f475Smrg set. Usually this is benign, but in some cases when the cursor 2617d522f475Smrg color is not set explicitly, the cursor would show this color 2618d522f475Smrg (Debian #252873, #260471). 2619d522f475Smrg 2620d522f475Smrg <li>add extra state (cursor-moved) to guard against deciding that the 2621d522f475Smrg cursor did not require repainting after an indexing operation 2622d522f475Smrg that leaves the cursor in the same location on the screen. 2623d522f475Smrg 2624d522f475Smrg <li>fix a case where a full-screen indexing operation would 2625d522f475Smrg not restore the cursor-busy state. 2626d522f475Smrg 2627d522f475Smrg <li>fix a repainting bug introduced in 2628d522f475Smrg <a href="#xterm_180">patch #180</a>: when using a font 2629d522f475Smrg lacking line-drawing characters, a repaint of the screen could 2630d522f475Smrg skip horizontally an extra amount after filling in the missing 2631d522f475Smrg character (reports by Nicolas George, Hans de Goede, Redhat 2632d522f475Smrg Bugzilla #128341). 2633d522f475Smrg 2634d522f475Smrg <li>rename terminfo fragment "xterm-pc-fkeys" to "xterm+pcfkeys" for 2635d522f475Smrg consistency with ncurses. 2636d522f475Smrg</ul> 2637d522f475Smrg 2638d522f475Smrg<H1><A NAME="xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A></H1> 2639d522f475Smrg<ul> 2640d522f475Smrg <li>fix for wide-character selection from OpenBSD CVS 2641d522f475Smrg (report/patch by Matthieu Herrb). 2642d522f475Smrg 2643d522f475Smrg <li>modify initialization and cleanup of utmp data to also compare 2644d522f475Smrg the <code>ut_line</code> member (Debian #256468). 2645d522f475Smrg 2646d522f475Smrg <li>modify check on focus-change to ignore <code>FocusOut</code> events 2647d522f475Smrg generated by <code>XGrabKeyboard</code>. This fixes a case where 2648d522f475Smrg the text cursor would act as if focus were lost when selecting the 2649d522f475Smrg "Secure Keyboard" menu option. 2650d522f475Smrg 2651d522f475Smrg <li>add <code>gen-pc-fkeys.pl</code> script, use that to generate 2652d522f475Smrg terminfo fragment corresponding to the pc-style function keys. 2653d522f475Smrg 2654d522f475Smrg <li>fix a case where the checkmark by the "VT220 Keyboard" menu entry 2655d522f475Smrg was not set on startup. 2656d522f475Smrg 2657d522f475Smrg <li>separated two methods for making the cursor blink (menu and 2658d522f475Smrg escape sequence) by using the menu as the primary method and 2659d522f475Smrg XOR'ing the state of the escape sequence against that. 2660d522f475Smrg 2661d522f475Smrg <li>modify logic for enabling blinking cursor via escape sequence as 2662d522f475Smrg well as the related save/restore operations so this is only 2663d522f475Smrg available if the <code>cursorBlink</code> resource was set on 2664d522f475Smrg startup. 2665d522f475Smrg</ul> 2666d522f475Smrg 2667d522f475Smrg<H1><A NAME="xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A></H1> 2668d522f475Smrg<ul> 2669d522f475Smrg <li>change resource settings for color4 and color12, add some discussion 2670d522f475Smrg in <code>XTerm-col.ad</code> (Debian #241717). 2671d522f475Smrg 2672d522f475Smrg <li>add a note in xterm manpage discussing the difference between 2673d522f475Smrg alt- and meta-keys, and the way the latter is used in the 2674d522f475Smrg <code>eightBitInput</code> resource. 2675d522f475Smrg 2676d522f475Smrg <li>add a note in xterm manpage regarding possible conflict between 2677d522f475Smrg resource settings for <code>xterm.vt100.font</code> and 2678d522f475Smrg <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650). 2679d522f475Smrg 2680d522f475Smrg <li>add compile-time customization of <code>backarrowKeyIsErase</code> 2681d522f475Smrg and <code>ptyInitialErase</code> default resource values 2682d522f475Smrg (adapted from OpenBSD CVS). 2683d522f475Smrg 2684d522f475Smrg <li>change parameter of <code>FIONREAD</code> <code>ioctl()</code> call 2685d522f475Smrg from long to int 2686d522f475Smrg (discussion on tech-x11@netbsd.org regarding LP64 by 2687d522f475Smrg John Heasley and Matthias Scheler). 2688d522f475Smrg 2689d522f475Smrg <li>modify configure script options for Athena widgets to work as 2690d522f475Smrg expected for "--without-Xaw3d", etc., (GenToo Bugzilla #53455). 2691d522f475Smrg 2692d522f475Smrg <li>add case to uxterm to accommodate locales ending with "@euro", 2693d522f475Smrg e.g., fr_FR.UTF-8@euro (Debian #255197, report/analysis by 2694d522f475Smrg Matthieu Lagouge). 2695d522f475Smrg 2696d522f475Smrg <li>add special case for VT100 graphic's "box" character (discussion 2697d522f475Smrg with Ben Armstrong). 2698d522f475Smrg 2699d522f475Smrg <li>add missing initialization for bitmap-font sizes needed to make 2700d522f475Smrg fonts menu work with TrueType fonts (report by Ben Armstrong). 2701d522f475Smrg 2702d522f475Smrg <li>save the fontnames for bold fonts that are derived from normal 2703d522f475Smrg fonts, or from the <code>boldFont</code> resource, so the same 2704d522f475Smrg value is restored when switching with the VT Fonts menu (Debian 2705d522f475Smrg #256086). 2706d522f475Smrg 2707d522f475Smrg <li>fix manpage preprocessing (Marc La France). 2708d522f475Smrg 2709d522f475Smrg <li>fix typo in manpage's description of character classes (Debian 2710d522f475Smrg #257073). 2711d522f475Smrg 2712d522f475Smrg <li>modify terminfo to accommodate luit, which relies on G1 being used 2713d522f475Smrg via an ISO-2022 escape sequence (Debian #254316, analysis by 2714d522f475Smrg Juliusz Chroboczek). 2715d522f475Smrg 2716d522f475Smrg <li>modify Makefile.in rule for ctlseqs.txt to work around groff SGR 2717d522f475Smrg misfeature. 2718d522f475Smrg 2719d522f475Smrg <li>modify <code>XTerm.ad</code> to set <code>saveLines</code> default 2720d522f475Smrg to 1024 (Redhat Bugzilla #127132). 2721d522f475Smrg 2722d522f475Smrg <li>add a limit-check in <code>dotext()</code> to prevent infinite 2723d522f475Smrg loop in a corner case of UTF-8 configuration. 2724d522f475Smrg 2725d522f475Smrg <li>update config.guess, config.sub 2726d522f475Smrg</ul> 2727d522f475Smrg 2728d522f475Smrg<H1><A NAME="xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A></H1> 2729d522f475Smrg<ul> 2730d522f475Smrg <li>correct options parsing for <code>-into</code> option so it 2731d522f475Smrg can be combined with <code>-e</code> (Redhat Bugzilla #124518, 2732d522f475Smrg report/patch by James Armstrong). 2733d522f475Smrg 2734d522f475Smrg <li>fix ifdef's for <code>OPT_COLOR_RES2</code> 2735d522f475Smrg so that the fake resource table introduced in 2736d522f475Smrg <a href="#xterm_188">patch #188</a> 2737d522f475Smrg is not compiled if it is empty. 2738d522f475Smrg This happened to work with gcc (report by Joel Konkle-Parker). 2739d522f475Smrg 2740d522f475Smrg <li>reorganize ptydata.c to use one input buffer shared between 2741d522f475Smrg the VTxxx and tek4014 emulators. In the new scheme, UTF-8 2742d522f475Smrg decoding is performed on characters as they are needed by the 2743d522f475Smrg state machine rather than on buffers as they are read. 2744d522f475Smrg 2745d522f475Smrg <li>work around change in quoting of PROJECTROOT symbol when using 2746d522f475Smrg configure script, from changes made in 2747d522f475Smrg <a href="#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS 2748d522f475Smrg (GenToo Bugzilla #50982). 2749d522f475Smrg</ul> 2750d522f475Smrg 2751d522f475Smrg<H1><A NAME="xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A></H1> 2752d522f475Smrg<ul> 2753d522f475Smrg <li>correct state for values in the range 128-159 after translating 2754d522f475Smrg from UTF-8: this should be ignored unless the user overrides it 2755d522f475Smrg with the <code>allowC1Printable</code> resource (reported by 2756d522f475Smrg Simon Strandgaard). 2757d522f475Smrg 2758d522f475Smrg <li>add configure-script check for nl_langinfo(CODESET), use this to 2759d522f475Smrg replace check of environment variables for UTF-8. 2760d522f475Smrg 2761d522f475Smrg <li>change Makefile.in rules for 256colres.h and 88colres.h so they 2762d522f475Smrg are only made if they do not exist. The maintainer-clean rule 2763d522f475Smrg will remove these files; they require perl to be made. 2764d522f475Smrg 2765d522f475Smrg <li>remove check in configure script --enable-toolbar that suppressed 2766d522f475Smrg this option when building with Xaw7. 2767d522f475Smrg 2768d522f475Smrg <li>apply fixes to Tektronix widget used for VT100 widget to make 2769d522f475Smrg toolbar work with Xaw7 (XFree86 4.x). 2770d522f475Smrg</ul> 2771d522f475Smrg 2772d522f475Smrg<H1><A NAME="xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A></H1> 2773d522f475Smrg<ul> 2774d522f475Smrg <li>do not call xim_real_init() if <code>openIm</code> resource is 2775d522f475Smrg false (Debian #249025). 2776d522f475Smrg 2777d522f475Smrg <li>minor improvements to built-in line-drawing. 2778d522f475Smrg 2779d522f475Smrg <li>fix a few portability issues with dynamic abbreviation support, 2780d522f475Smrg i.e., did not compile on Tru64. 2781d522f475Smrg 2782d522f475Smrg <li>modify constraints in form used to layout toolbar, to work with 2783d522f475Smrg newer Xaw in XFree86 4.x. 2784d522f475Smrg</ul> 2785d522f475Smrg 2786d522f475Smrg<H1><A NAME="xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A></H1> 2787d522f475Smrg<ul> 2788d522f475Smrg <li>correct table entry for DEL in the ground state, which marked it 2789d522f475Smrg as a printable character from <a href="#xterm_171">patch #171</a> 2790d522f475Smrg (report by D Hugh Redelmeier). 2791d522f475Smrg 2792d522f475Smrg <li>improve fix in <a href="#xterm_186">patch #186</a> for failure in 2793d522f475Smrg xim_real_init() by adding a sleep. 2794d522f475Smrg 2795d522f475Smrg <li>fix a typo in os2main.c 2796d522f475Smrg (XFree86 Bugzilla #1358, report/patch by Frank Giessler). 2797d522f475Smrg 2798d522f475Smrg <li>make escape sequence reporting dynamic colors consistent with the 2799d522f475Smrg logic that sets it; choosing the opposite color when reverse 2800d522f475Smrg video is set (XFree86 Bugzilla #1361, reported by Bradd W Szonye). 2801d522f475Smrg 2802d522f475Smrg <li>modify initialization of 256- and 88-colors so that colors beyond 2803d522f475Smrg 16 are normally not X resources. This works around a hard-coded 2804d522f475Smrg limit in Xt which breaks xterm when 256-colors and luit are both 2805d522f475Smrg configured (report by Noah Friedman). 2806d522f475Smrg 2807d522f475Smrg <li>remove <code>ncv</code> from <code>xterm-256color</code> terminfo 2808d522f475Smrg entry since it is no longer needed (report by Eli Zaretskii). 2809d522f475Smrg 2810d522f475Smrg <li>add "erase2" and "eol2" keywords to <code>ttyModes</code> resource, 2811d522f475Smrg for recent/current FreeBSD. 2812d522f475Smrg 2813d522f475Smrg <li>improve ifdef's for utempter library to omit direct calls to 2814d522f475Smrg <code>setutent()</code> or <code>getutent()</code> (adapted from 2815d522f475Smrg patch by Christian Biere). 2816d522f475Smrg 2817d522f475Smrg <li>add dynamic abbreviation support like Emacs (patch by Tomasz 2818d522f475Smrg Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>, and 2819d522f475Smrg enabled via the configure script <code>--enable-dabbrev</code> 2820d522f475Smrg option. 2821d522f475Smrg 2822d522f475Smrg <li>fix problem responding to session management events, e.g., which 2823d522f475Smrg would make logging out very slow (patch by Eddy De Greef, Debian 2824d522f475Smrg #233883). 2825d522f475Smrg 2826d522f475Smrg <li>work around a newer bug in toolbar with XFree86 by forcing menus 2827d522f475Smrg to be fully initialized at startup. In older versions of XFree86 2828d522f475Smrg and X11R6, it was possible to delay initialization of the menu 2829d522f475Smrg contents until it was popped up. (The longstanding bug with 2830d522f475Smrg XFree86 4.x layout for toolbar still exists, though). 2831d522f475Smrg 2832d522f475Smrg <li>modify <code>xtermAddInput</code> to work around core dump on 2833d522f475Smrg IRIX64 when initializing scrollbar translations if toolbar is 2834d522f475Smrg compiled-in. 2835d522f475Smrg 2836d522f475Smrg <li>fix some minor conflicts in the 2-character entry names in the 2837d522f475Smrg termcap file. 2838d522f475Smrg</ul> 2839d522f475Smrg 2840d522f475Smrg<H1><A NAME="xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A></H1> 2841d522f475Smrg<ul> 2842d522f475Smrg <li>change xterm version string to use <code>__vendorversion__</code> 2843d522f475Smrg where that is available, and "XTerm" otherwise. 2844d522f475Smrg 2845d522f475Smrg <li>improve description of <code>utf8</code> resource in manpage 2846d522f475Smrg (Debian #179407). 2847d522f475Smrg 2848d522f475Smrg <li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS to 2849d522f475Smrg handle <code>-D</code> options that define string values, e.g., 2850d522f475Smrg for <code>XVENDORNAME</code>. 2851d522f475Smrg 2852d522f475Smrg <li>modify configure macro CF_IMAKE_CFLAGS to allow (if 2853d522f475Smrg <code>$PATH</code> is set accordingly) to use the 2854d522f475Smrg <code>xmkmf</code> script within an X build tree. 2855d522f475Smrg 2856d522f475Smrg <li>add missing <code>#undef OPT_SESSION_MGT</code> to xtermcfg.hin 2857d522f475Smrg to make the configure script's --disable-session-mgt option work. 2858d522f475Smrg 2859d522f475Smrg <li>update config.guess, config.sub 2860d522f475Smrg</ul> 2861d522f475Smrg 2862d522f475Smrg<H1><A NAME="xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A></H1> 2863d522f475Smrg<ul> 2864d522f475Smrg <li>change reset on <code>DECSCL</code> to a soft-reset (appears some 2865d522f475Smrg DEC manuals have errors). 2866d522f475Smrg 2867d522f475Smrg <li>add a section to ctlseqs.ms elaborating on normal/alternate screens. 2868d522f475Smrg 2869d522f475Smrg <li>modify initialization of Acolors[] so that any XtDefaultForeground 2870d522f475Smrg or XtDefaultBackground values are translated as in the Tcolors[], 2871d522f475Smrg to use the window's foreground/background colors. This affects 2872d522f475Smrg the <code>colorBD</code> and similar resources which normally have 2873d522f475Smrg no explicit color assigned. 2874d522f475Smrg 2875d522f475Smrg <li>modify initialization of Tektronix window so that control sequences 2876d522f475Smrg setting its color before the window is popped up will apply to 2877d522f475Smrg its initial colors. 2878d522f475Smrg 2879d522f475Smrg <li>add control sequence to set Tektronix window's text-cursor. 2880d522f475Smrg 2881d522f475Smrg <li>modify initialization of terminal colors, e.g., mouse pointer and 2882d522f475Smrg text cursor, to treat <code>XtDefaultForeground</code> and 2883d522f475Smrg <code>XtDefaultBackground</code> values as the actual foreground 2884d522f475Smrg and background colors of the terminal rather than white and black 2885d522f475Smrg (Debian #241717). 2886d522f475Smrg 2887d522f475Smrg <li>remove an incorrect comparison against <code>PTYCHARLEN</code> in 2888d522f475Smrg parsing the <code>-S</code> option (report by Michael B Taylor). 2889d522f475Smrg 2890d522f475Smrg <li>minor restructuring of terminfo/termcap files, having noted some 2891d522f475Smrg packager's customizations which caused the structure to be 2892d522f475Smrg confused. 2893d522f475Smrg 2894d522f475Smrg <li>eliminate an isolated use of MIN/MAX in charproc.c 2895d522f475Smrg 2896d522f475Smrg <li>replace <code>XtExtdefaultfont</code> and 2897d522f475Smrg <code>XtExtdefaultbackground</code> by their more familiar 2898d522f475Smrg equivalents 2899d522f475Smrg <code>XtDefaultFont</code> and 2900d522f475Smrg <code>XtDefaultBackground</code>. 2901d522f475Smrg 2902d522f475Smrg <li>replace ifdef's using <code>SCO</code>, <code>sco</code> and 2903d522f475Smrg <code>SCO325</code> with <code>__SCO__</code> 2904d522f475Smrg (XFree86 Bugzilla #1301, Kean Johnston). 2905d522f475Smrg But ensure that it still builds on platforms where this symbol 2906d522f475Smrg is not defined. 2907d522f475Smrg 2908d522f475Smrg <li>add <code>scoFunctionKeys</code> resource, to match manpage. 2909d522f475Smrg 2910d522f475Smrg <li>update manpage discussion of menus and related resources. 2911d522f475Smrg 2912d522f475Smrg <li>enable utmpx support for NetBSD 1.6C and newer (patch by 2913d522f475Smrg Matthias Scheler). 2914d522f475Smrg 2915d522f475Smrg <li>add a note in the manpage discussing xterm's treatment of open 2916d522f475Smrg file-descriptors (request by Dan Shearer). 2917d522f475Smrg 2918d522f475Smrg <li>modify <code>Help()</code> to make "xterm -h" write to standard 2919d522f475Smrg output rather than standard error (patch by Bram Moolenaar). 2920d522f475Smrg 2921d522f475Smrg <li>check for type of failure in xim_real_init() to avoid looping when 2922d522f475Smrg the problem is an unsupported input method rather than a failure 2923d522f475Smrg to connect to the XIM server. Problem was introduced in 2924d522f475Smrg <a href="#xterm_175">patch #175</a> (XFree86 Bugzilla #1306). 2925d522f475Smrg 2926d522f475Smrg <li>modify <code>Imakefile</code> to remove dependency of "install" 2927d522f475Smrg target on the <code>xterm</code> executable to make installs from 2928d522f475Smrg tree without attempting to rebuild anything (David Dawes, based on 2929d522f475Smrg a patch and report from Lee Olsen). 2930d522f475Smrg 2931d522f475Smrg <li>remove call to <code>ShowCursor</code> from 2932d522f475Smrg <code>SetCursorBlink()</code> since that is redundant, 2933d522f475Smrg and can cause display glitches if the cursor is already 2934d522f475Smrg blinking (XFree86 Bugzilla #1158, patch/report by Andreas Schwab). 2935d522f475Smrg</ul> 2936d522f475Smrg 2937d522f475Smrg<H1><A NAME="xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A></H1> 2938d522f475Smrg<ul> 2939d522f475Smrg <li>fix tcap-query logic for the backspace key (XFree86 Bugzilla #1233, 2940d522f475Smrg report/patch by Anton Kovalenko). 2941d522f475Smrg 2942d522f475Smrg <li>add test-scripts resize.pl and tcapquery.pl 2943d522f475Smrg 2944d522f475Smrg <li>add translation to ASCII of commonly-used characters that groff 2945d522f475Smrg translates to Unicode, when the font in use does not provide the 2946d522f475Smrg corresponding glyphs (Debian #219551). 2947d522f475Smrg 2948d522f475Smrg <li>modify RequestMaximize(), which performs maximize/restore via 2949d522f475Smrg control sequences, to account for window-frame (patch by 2950d522f475Smrg Jess Thrysoee). 2951d522f475Smrg 2952d522f475Smrg <li>improve pattern used in <code>uxterm</code> to check for UTF-8 2953d522f475Smrg locale, e.g., for HPUX (patch by H Merijn Brand). 2954d522f475Smrg 2955d522f475Smrg <li>add <code>-fd</code> option and resource 2956d522f475Smrg <code>faceNameDoublesize</code> to specify double-wide fonts with 2957d522f475Smrg Xft (adapted from patch by Zarick Lau). 2958d522f475Smrg 2959d522f475Smrg <li>change a couple of resource classes from "Boolean" to specific 2960d522f475Smrg values: <code>freeBoldBox</code>, <code>forceBoxChars</code>. 2961d522f475Smrg 2962d522f475Smrg <li>add resource <code>showMissingGlyphs</code> to outline places on 2963d522f475Smrg the screen where a font lacks the corresponding glyph. 2964d522f475Smrg 2965d522f475Smrg <li>add resource <code>showBlinkAsBold</code> to control whether 2966d522f475Smrg blinking text should be shown as bold or actual blinking text. 2967d522f475Smrg 2968d522f475Smrg <li>improve logic in ShowCursor() to avoid repainting the cursor when 2969d522f475Smrg it is already visible, e.g., in response to the DECTCEM escape 2970d522f475Smrg sequence. This also addresses XFree86 Bugzilla #1158. 2971d522f475Smrg 2972d522f475Smrg <li>implement blinking text, using the timer for blinking cursor. 2973d522f475Smrg 2974d522f475Smrg <li>modify FreeType support to allow resizing the font, in the same 2975d522f475Smrg ways the window can be resized if fixed fonts are used. The 2976d522f475Smrg relative font sizes are derived from the fixed font sizes. 2977d522f475Smrg 2978d522f475Smrg <li>add menu items and corresponding actions for switching on/off 2979d522f475Smrg the UTF-8 mode and Xft (TrueType) support. 2980d522f475Smrg 2981d522f475Smrg <li>add logic to handle switching UTF-8 mode on/off. It worked if 2982d522f475Smrg the escape sequences were flushed, but if data was mixed in with 2983d522f475Smrg the same write, some were not handled properly (report by 2984d522f475Smrg Nicolas George). 2985d522f475Smrg 2986d522f475Smrg <li>modify to allow turning UTF-8 mode on/off via escape sequence even 2987d522f475Smrg if <code>-wc</code> option was not given at startup (patch by Peter 2988d522f475Smrg Berg Larsen). 2989d522f475Smrg 2990d522f475Smrg <li>amend fix for XFree86 Bugzilla #981, adjusting for savedlines value 2991d522f475Smrg (report by Tim Adye). 2992d522f475Smrg 2993d522f475Smrg <li>fix a typo in computing relative font size (Jess Thrysoee). 2994d522f475Smrg</ul> 2995d522f475Smrg 2996d522f475Smrg<H1><A NAME="xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A></H1> 2997d522f475Smrg<ul> 2998d522f475Smrg <li>improve configure-script checks for FreeType and related libraries, 2999d522f475Smrg using <code>xft-config</code> or <code>freetype-config</code> 3000d522f475Smrg scripts when available. 3001d522f475Smrg 3002d522f475Smrg <li>fix configure-script check for <code>SYSV</code> definition by 3003d522f475Smrg ensuring whether <code>sys_errlist[]</code> is declared, and by 3004d522f475Smrg modifying the test program to include <code>X11/Intrinsic.h</code> 3005d522f475Smrg to check that <code>wchar_t</code> is declared consistently (report 3006d522f475Smrg by H Merijn Brand). 3007d522f475Smrg</ul> 3008d522f475Smrg 3009d522f475Smrg<H1><A NAME="xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A></H1> 3010d522f475Smrg<ul> 3011d522f475Smrg <li>correct logic for configurations that may attempt to open both 3012d522f475Smrg old/new-style pseudoterminals. In this case, the old-style are 3013d522f475Smrg preferred. Logic was broken in <a href="#xterm_145">patch #145</a> 3014d522f475Smrg (XFree86 Bugzilla #997, report/patch by Kean Johnston). 3015d522f475Smrg 3016d522f475Smrg <li>modify handling of <code>eightBitInput</code> resource in UTF-8 3017d522f475Smrg mode to translate the value into UTF-8. Otherwise an illegal 3018d522f475Smrg UTF-8 code is sent to the application (report by Bram Moolenaar). 3019d522f475Smrg 3020d522f475Smrg <li>modify <code>uxterm</code> script to interpret help and version 3021d522f475Smrg options so xterm does not always create a window when the user 3022d522f475Smrg requests this information (Debian #223926). 3023d522f475Smrg 3024d522f475Smrg <li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla #981). 3025d522f475Smrg 3026d522f475Smrg <li>modify DECSCL to perform a hard reset (RIS) as per DEC manuals. 3027d522f475Smrg Extended DECSCL to accept parameters for vt4XX and vt5xx terminals. 3028d522f475Smrg 3029d522f475Smrg <li>correct logic for ANSI conformance level escape sequences, which 3030d522f475Smrg were confused with DEC conformance level escape sequences. 3031d522f475Smrg 3032d522f475Smrg <li>correct state for vt52 shift-in/shift-out, which was not reset 3033d522f475Smrg properly after <a href="#xterm_171">patch #171</a>. 3034d522f475Smrg 3035d522f475Smrg <li>correct handling of graphics characters for vt52 mode, which did 3036d522f475Smrg not display line-drawing characters after G1 fix from 3037d522f475Smrg <a href="#xterm_182">patch #182</a>. 3038d522f475Smrg 3039d522f475Smrg <li>fixes for configure script to work with current Cygwin headers 3040d522f475Smrg and libraries. 3041d522f475Smrg 3042d522f475Smrg <li>modify <code>Imakefile</code> to put the current directory at the 3043d522f475Smrg beginning of the include searchpath (David Dawes). 3044d522f475Smrg</ul> 3045d522f475Smrg 3046d522f475Smrg<H1><A NAME="xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A></H1> 3047d522f475Smrg<ul> 3048d522f475Smrg <li>correct logic for <code>metaSendsEscape</code> resource to allow 3049d522f475Smrg for the meta-right key to be tested. Improve check for meta/alt 3050d522f475Smrg modifiers by dropping the assumption that a keysym is associated 3051d522f475Smrg with only one modifier, and by ignoring NoSymbol entries in the 3052d522f475Smrg xmodmap data (XFree86 Bugzilla #924, patch by David Dawes). 3053d522f475Smrg 3054d522f475Smrg <li>correct wrapping logic for line-drawing characters written in 3055d522f475Smrg non-UTF-8 mode of xterm build for wide-characters (XFree86 Bugzilla 3056d522f475Smrg #918, report/patch by Jürgen Keil). 3057d522f475Smrg 3058d522f475Smrg <li>improve manpage description of resources, in particular the 3059d522f475Smrg <code>utf8Fonts</code> class (XFree86 Bugzilla #905). 3060d522f475Smrg 3061d522f475Smrg <li>add definitions to compile with glibc-based GNU/Hurd, GNU/KFreeBSD 3062d522f475Smrg and GNU/KNetBSD (XFree86 Bugzilla #893). 3063d522f475Smrg 3064d522f475Smrg <li>compiler-warning fixes (patch by Christian Biere). 3065d522f475Smrg 3066d522f475Smrg <li>add README.i18n (Tomohiro KUBOTA). 3067d522f475Smrg 3068d522f475Smrg <li>correct initialization of G1 character set mapping, which used 3069d522f475Smrg line-drawing set as a result of confusion between "DEC Supplemental 3070d522f475Smrg Graphic" and "DEC Special Graphic" character sets 3071d522f475Smrg (see <a href="#xterm_34">patch #34</a> regarding DECSTR). 3072d522f475Smrg 3073d522f475Smrg <li>correct ifdef in main.c for variable utret (patch by 3074d522f475Smrg Bernhard Rosenkraenzer). 3075d522f475Smrg 3076d522f475Smrg <li>document in xterm's manpage how to use XFree86 ":unscaled" keyword 3077d522f475Smrg to suppress scaling of bold fonts. 3078d522f475Smrg 3079d522f475Smrg <li>when deriving bold fontname from normal fontname, use the normal 3080d522f475Smrg font's average width to avoid for example selecting 7x13bold 3081d522f475Smrg from an 8x13 normal font (Debian #107769). 3082d522f475Smrg</ul> 3083d522f475Smrg 3084d522f475Smrg<H1><A NAME="xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A></H1> 3085d522f475Smrg<ul> 3086d522f475Smrg <li>implement <code>boldMode</code> for wide-character logic in 3087d522f475Smrg <code>drawXtermText()</code> (report by Michael Schroeder). 3088d522f475Smrg 3089d522f475Smrg <li>modify <code>UXTerm.ad</code> resource file to include 3090d522f475Smrg "XTerm-color" rather than "XTerm", in case the latter file contains 3091d522f475Smrg no color resource definitions, e.g., after <a 3092d522f475Smrg href="#xterm_180">patch #180</a>. 3093d522f475Smrg 3094d522f475Smrg <li>add action <code>load-vt-fonts()</code> and configure option 3095d522f475Smrg <code>--enable-load-vt-fonts</code> which allows users to define 3096d522f475Smrg additional sets of VT-fonts which can be loaded at runtime. 3097d522f475Smrg 3098d522f475Smrg <li>add logic to wide-character support which attempts to load fonts 3099d522f475Smrg specified by <code>utf8Fonts</code> subresources at startup. The 3100d522f475Smrg subresources have the same names as the fonts which they replace, 3101d522f475Smrg e.g., <code>font</code>, <code>font1</code>, etc., so that the 3102d522f475Smrg ISO-10646-1 fonts can be specified in the <code>XTerm</code> 3103d522f475Smrg app-defaults file (this is an adaptation of a patch by Tomohiro 3104d522f475Smrg KUBOTA). 3105d522f475Smrg 3106d522f475Smrg <li>improve Set Font escape string handling by making the relative 3107d522f475Smrg settings apply to the size of the font, as in shift keypad 3108d522f475Smrg plus/minus rather than the menu index. 3109d522f475Smrg 3110d522f475Smrg <li>simplify parameter passing for the <code>set-vt-font</code> action 3111d522f475Smrg and related code. 3112d522f475Smrg 3113d522f475Smrg <li>cleanup some include-ordering, moving some recently-added hardcoded 3114d522f475Smrg stuff into xterm.h where it will not interfere with the configure 3115d522f475Smrg script. 3116d522f475Smrg 3117d522f475Smrg <li>modify <code>xtermAddInput()</code> (see note on augmentation in <a 3118d522f475Smrg href="#xterm_158">patch #158</a>) to use the complete set of 3119d522f475Smrg default keyboard translations so that one can use shifted pageup, 3120d522f475Smrg wheel mouse, etc., while the mouse pointer is over the scrollbar. 3121d522f475Smrg (Debian #178812). 3122d522f475Smrg 3123d522f475Smrg <li>make save/restore mode controls apply to show/blink cursor states. 3124d522f475Smrg 3125d522f475Smrg <li>add escape sequence to start/stop blinking cursor, which allows 3126d522f475Smrg implementing <code>cvvis</code> terminfo capability (request by 3127d522f475Smrg Nate Bargmann). 3128d522f475Smrg 3129d522f475Smrg <li>add <code>indp</code> and <code>rin</code> to terminfo entry. 3130d522f475Smrg 3131d522f475Smrg <li>fix an out-of-bounds array reference in ScrnRefresh() for wide 3132d522f475Smrg characters (report by Dan Harnett, patch by Todd Miller, bug dates 3133d522f475Smrg from <a href="#xterm_141">patch #141</a>). 3134d522f475Smrg</ul> 3135d522f475Smrg 3136d522f475Smrg<H1><A NAME="xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A></H1> 3137d522f475Smrg<ul> 3138d522f475Smrg <li>several fixes for rendering using Xft (option <code>-fa</code>): 3139d522f475Smrg <ul> 3140d522f475Smrg <li>translate Unicode values (from UTF-8 output to xterm) for 3141d522f475Smrg line-drawing to xterm's internal code, etc., since TrueType fonts 3142d522f475Smrg generally do not have either set of line-drawing glyphs. xterm 3143d522f475Smrg can draw these directly (report by Abigail Brady). 3144d522f475Smrg <li>pass 16-bit values rather than 8-bit values to 3145d522f475Smrg xtermXftDrawString() to allow for wide-characters. 3146d522f475Smrg <li>remove spurious check for <code>colorBDMode</code> resource in 3147d522f475Smrg logic that does bold fonts. 3148d522f475Smrg <li>implement underlining. 3149d522f475Smrg </ul> 3150d522f475Smrg 3151d522f475Smrg <li>patches by Ilya Zakharevich: 3152d522f475Smrg <ul> 3153d522f475Smrg <li>improve drawXtermText() by making the recursive calls 3154d522f475Smrg communicate through arguments, and not through saving/restoring 3155d522f475Smrg global variables. 3156d522f475Smrg 3157d522f475Smrg <li>make double-width characters work with <code>-u8</code> option. 3158d522f475Smrg 3159d522f475Smrg <li>modify lookup of double-sized fonts by checking for a match 3160d522f475Smrg ignoring x/y resolution if the first check fails. 3161d522f475Smrg </ul> 3162d522f475Smrg 3163d522f475Smrg <li>make height of TrueType fonts match ascent+descent (patch by 3164d522f475Smrg Keith Packard). 3165d522f475Smrg 3166d522f475Smrg <li>correct configure-script check for imake $CFLAGS, which did not 3167d522f475Smrg check properly if imake was not available. 3168d522f475Smrg 3169d522f475Smrg <li>correct install rule in Makefile.in for <code>uxterm</code>, which 3170d522f475Smrg was attempting to strip the script (newsgroup posting by Fernan 3171d522f475Smrg Aguero). 3172d522f475Smrg 3173d522f475Smrg <li>correct AF/AB strings in termcap for xterm-256color and 3174d522f475Smrg xterm-88color entries (report by Josh Howard). 3175d522f475Smrg 3176d522f475Smrg <li>update wcwidth.c to incorporate changes from Markus Kuhn's 3177d522f475Smrg 2003-05-20 (Unicode 4.0) version of that file. 3178d522f475Smrg 3179d522f475Smrg <li>modify <code>scroll-back</code> and <code>scroll-forw</code> 3180d522f475Smrg actions to accept an adjustment value, e.g., 3181d522f475Smrg <pre> 3182d522f475Smrg <code>scroll-back(1, page-2)</code></pre> 3183d522f475Smrg to scroll back by 2 lines less than a page (patch by Greg 3184d522f475Smrg Klanderman). 3185d522f475Smrg 3186d522f475Smrg <li>use color resource setting from Debian package for xterm VT100 widget, 3187d522f475Smrg since the choice of blues provides better contrast. 3188d522f475Smrg 3189d522f475Smrg <li>remove color resources from <code>XTerm.ad</code>, leaving them 3190d522f475Smrg only in <code>XTerm-col.ad</code> (prompted by Debian package for 3191d522f475Smrg xterm). 3192d522f475Smrg 3193d522f475Smrg <li>correct configure script option --enable-pty-handshake (report by 3194d522f475Smrg Paul Gilmartin). 3195d522f475Smrg 3196d522f475Smrg <li>add <code>visualBellDelay</code> resource to modify the length of 3197d522f475Smrg time used for visual bell, for very slow displays or very fast 3198d522f475Smrg computers (reports by Ingo van Lil and Doug Toppin). 3199d522f475Smrg 3200d522f475Smrg <li>correct logic for initializing dynamic highlight color (patch by 3201d522f475Smrg Jess Thrysoee). 3202d522f475Smrg 3203d522f475Smrg <li>add a check for non-zero size in call to <code>XCopyArea()</code> 3204d522f475Smrg to accommodate a Solaris bug. 3205d522f475Smrg 3206d522f475Smrg <li>correct typo in example for character classes in xterm manpage 3207d522f475Smrg (Debian #198910). 3208d522f475Smrg 3209d522f475Smrg <li>link xterm with bind_on_load option on Darwin to work around a 3210d522f475Smrg deadlock in the dynamic loader when a signal is received while 3211d522f475Smrg the dynamic loader is looking up symbols (patches by Rob Braun, 3212d522f475Smrg Torrey Lyons). 3213d522f475Smrg 3214d522f475Smrg <li>modify configure script to avoid using "head -1". 3215d522f475Smrg 3216d522f475Smrg <li>update config.guess, config.sub 3217d522f475Smrg 3218d522f475Smrg <li>modify ifdef's to work around inclusion of types FcChar32 and 3219d522f475Smrg XftCharSpec with FreeType 2.0 (see <a href="#xterm_175">patch #175</a>). 3220d522f475Smrg 3221d522f475Smrg <li>modify the predictable version of the generated logfile name (see 3222d522f475Smrg <a href="#xterm_171">patch #171</a>) to append the process-id rather 3223d522f475Smrg than a random value. 3224d522f475Smrg 3225d522f475Smrg <li>resync with XFree86 CVS: 3226d522f475Smrg <ul> 3227d522f475Smrg <li>Enable SCO function keys in xterm 3228d522f475Smrg <li>Make Delete key send DEL by default on SCO in xterm 3229d522f475Smrg </ul> 3230d522f475Smrg</ul> 3231d522f475Smrg 3232d522f475Smrg<H1><A NAME="xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A></H1> 3233d522f475Smrg<ul> 3234d522f475Smrg <li>modify ifdef's for WTMPX_FILE to allow building on cygwin again. 3235d522f475Smrg 3236d522f475Smrg <li>change the default of pty-handshaking configure option (and related 3237d522f475Smrg default for imake) to assume this feature is needed. 3238d522f475Smrg 3239d522f475Smrg <li>add ifdef's so configure option for XawPlus library works (patch 3240d522f475Smrg by Pavel Roskin). 3241d522f475Smrg 3242d522f475Smrg <li>add <code>$(MAIN_DEFINES)</code> to the variables checked by the 3243d522f475Smrg configure script that may contain information set by imake. This 3244d522f475Smrg allows xterm to build/run properly using the configure script on 3245d522f475Smrg IRIX64. 3246d522f475Smrg 3247d522f475Smrg <li>add configure check for ".exe" suffix on cygwin. 3248d522f475Smrg</ul> 3249d522f475Smrg 3250d522f475Smrg<H1><A NAME="xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A></H1> 3251d522f475Smrg<ul> 3252d522f475Smrg <li>modify default for configure <code>--enable-pty-handshake</code> 3253d522f475Smrg option to enable it for Solaris (report by Nelson Beebe). 3254d522f475Smrg 3255d522f475Smrg <li>modify <code>in_put()</code> function to call 3256d522f475Smrg <code>PreeditPosition()</code> only when the cursor's position has 3257d522f475Smrg changed. This addresses report by Stefan Baums of high CPU usage 3258d522f475Smrg while xterm with chinput are running in the background (patch by 3259d522f475Smrg Yong Li). 3260d522f475Smrg 3261d522f475Smrg <li>improved explanation of <code>-ls</code> conflict with 3262d522f475Smrg <code>-e</code> option in xterm manpage (adapted from comments by 3263d522f475Smrg Henning Makholm). 3264d522f475Smrg 3265d522f475Smrg <li>correct comment in terminfo file regarding modifier used for 3266d522f475Smrg <code>kDC</code> (Debian #189764, report by Henning Makholm). 3267d522f475Smrg 3268d522f475Smrg <li>correct/extend some of the keypad description in ctlseqs.ms 3269d522f475Smrg (report by Henning Makholm). 3270d522f475Smrg 3271d522f475Smrg <li>correct keypad-mapping table in input.c so <code>XK_KP_Equal</code> 3272d522f475Smrg works (report by Henning Makholm). 3273d522f475Smrg 3274d522f475Smrg <li>modified to work with CJK double-width (bi-width/monospace) fonts. 3275d522f475Smrg They're similar to Roman Czbora and David Starner's gnuunifonts in 3276d522f475Smrg that Latin letters and numbers have all the same width which is 3277d522f475Smrg exactly the half of the width of East Asian characters. (patch by 3278d522f475Smrg Jungshik Shin <jshin@mailaps.org>). 3279d522f475Smrg 3280d522f475Smrg <li>add configure option <code>--enable-broken-osc</code> and resource 3281d522f475Smrg <code>brokenLinuxOSC</code> to accommodate scripts which do not 3282d522f475Smrg distinguish between running in the Linux console and running in X. 3283d522f475Smrg Linux console recognizes malformed control strings which start 3284d522f475Smrg with an <code>OSC</code>, but are fixed-length, with no terminator. 3285d522f475Smrg 3286d522f475Smrg <li>add configure option <code>--enable-broken-st</code> and resource 3287d522f475Smrg <code>brokenStringTerm</code> to allow 3288d522f475Smrg user to revert one part of the parsing table corrections from 3289d522f475Smrg <a href="#xterm_171">patch #171</a>. (reports by 3290d522f475Smrg Matthias Scheler and 3291d522f475Smrg Kirill Ponomarew indicate that someone's 3292d522f475Smrg network firmware sends an <code><escape>X</code>). 3293d522f475Smrg 3294d522f475Smrg <li>modify configure <code>--disable-imake</code> to provide values 3295d522f475Smrg for <code>OSMAJORVERSION</code>, <code>OSMINORVERSION</code>, 3296d522f475Smrg <code>FUNCPROTO</code> and <code>NARROWPROTO</code> (report by 3297d522f475Smrg Heiko Schlichting). 3298d522f475Smrg 3299d522f475Smrg <li>correct <code>vttests/16colors.sh</code>, which omitted the 3300d522f475Smrg <code>$SUF</code> variable in output strings (patch by Paul 3301d522f475Smrg Gilmartin). 3302d522f475Smrg 3303d522f475Smrg <li>modify shell scripts in <code>vttests</code> directory to attempt 3304d522f475Smrg to use named signals in the <code>trap</code> statement, making 3305d522f475Smrg this portable to OS/390 (report by Paul Gilmartin). Tested on 3306d522f475Smrg SunOS 4.1.4, which implements only numbers. 3307d522f475Smrg</ul> 3308d522f475Smrg 3309d522f475Smrg<H1><A NAME="xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A></H1> 3310d522f475Smrg<ul> 3311d522f475Smrg <li>fix definition of <code>USE_HANDSHAKE</code>, must be numeric 3312d522f475Smrg (reported by Jens Schleusener). 3313d522f475Smrg</ul> 3314d522f475Smrg 3315d522f475Smrg<H1><A NAME="xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A></H1> 3316d522f475Smrg<ul> 3317d522f475Smrg <li>add configure option <code>--enable-pty-handshake</code> to allow 3318d522f475Smrg one to compile-in support for the pty handshaking logic, and 3319d522f475Smrg resource <code>ptyHandshake</code> to enable or disable it 3320d522f475Smrg (suggested by Ian Collier). 3321d522f475Smrg 3322d522f475Smrg <li>restore <code>USE_HANDSHAKE</code> ifdef removed in 3323d522f475Smrg <a href="#xterm_159">patch #159</a> 3324d522f475Smrg to address Debian #39964. 3325d522f475Smrg 3326d522f475Smrg <li>move ifdef's for ttysize/winsize into xterm_io.h 3327d522f475Smrg 3328d522f475Smrg <li>simplify loop on <code>tgetent</code>, check if the successive 3329d522f475Smrg entries in the lookup table are the same. That makes xterm do 3330d522f475Smrg one less lookup if there is no "xterm" entry in the termcap file 3331d522f475Smrg (report by Derek Martin). 3332d522f475Smrg 3333d522f475Smrg <li>correct manpage discussion of <code>$TERM</code> and 3334d522f475Smrg <code>$TERMCAP</code> variables, which omitted the Tektronix 3335d522f475Smrg emulation and a note of the final "dumb" fallback. 3336d522f475Smrg 3337d522f475Smrg <li>broaden ifdef for <code>XRegisterIMInstantiateCallback()</code> 3338d522f475Smrg from <a href="#xterm_175">patch #175</a> (XIM fix) to exclude 3339d522f475Smrg non-XFree86 (report by Nelson Beebe indicates this breaks for 3340d522f475Smrg Solaris, IRIX and OSF/1). 3341d522f475Smrg 3342d522f475Smrg <li>correct resource-size for <code>iconFont</code> (this was added 3343d522f475Smrg by X11R6.3). 3344d522f475Smrg 3345d522f475Smrg <li>improve configure check for XKB bell extension, to work around 3346d522f475Smrg inconsistent implementation of this feature (reports by Nelson 3347d522f475Smrg Beebe, Kriston Rehberg and David Ellement). 3348d522f475Smrg 3349d522f475Smrg <li>modify configure-check for <code>tty</code> group to be less 3350d522f475Smrg strict in batch mode (report by Nelson Beebe). 3351d522f475Smrg 3352d522f475Smrg <li>modify to allow building with g++, to use its compiler warnings 3353d522f475Smrg (suggested by Nelson Beebe). 3354d522f475Smrg 3355d522f475Smrg <li>modify <code>dec2ucs[]</code> table to reflect newer codes 3356d522f475Smrg available for scanlines 1, 3, 7, 9 (report by Michael Schroeder). 3357d522f475Smrg 3358d522f475Smrg <li>add configure option for XawPlus library. 3359d522f475Smrg</ul> 3360d522f475Smrg 3361d522f475Smrg<H1><A NAME="xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A></H1> 3362d522f475Smrg<ul> 3363d522f475Smrg <li>fix a SIGSEGV which could occur if xterm is connecting to XIM 3364d522f475Smrg server, and the XIM server is destroyed (patch by Nam SungHyun). 3365d522f475Smrg 3366d522f475Smrg <li>modify to use built-in line-drawing characters for Xft fonts 3367d522f475Smrg (patch by Andrew Tipton). 3368d522f475Smrg 3369d522f475Smrg <li>make menu reflect the state of the <code>tekInhibit</code> 3370d522f475Smrg resource. 3371d522f475Smrg 3372d522f475Smrg <li>make <code>signalInhibit</code> resource work, i.e., disable the 3373d522f475Smrg menu entries that would send signals to, or exit xterm. This was 3374d522f475Smrg probably broken in X11R5 when logging was disabled (report by Sven 3375d522f475Smrg Mascheck). 3376d522f475Smrg 3377d522f475Smrg <li>changed classes of <code>colorBDMode</code> and similar 3378d522f475Smrg resources that override colors when a video attribute is 3379d522f475Smrg set to <code>ColorAttrMode</code>, to make them distinct 3380d522f475Smrg from <code>ColorMode</code>. This avoids an unexpected 3381d522f475Smrg rendering of reverse video, for example (report by Paul Fox). 3382d522f475Smrg 3383d522f475Smrg <li>changed class of <code>veryBoldColors</code> to 3384d522f475Smrg <code>VeryBoldColors</code>, since 3385d522f475Smrg <code>ColorMode</code> is associated with boolean resources. 3386d522f475Smrg 3387d522f475Smrg <li>add option <code>-k8</code> and resource 3388d522f475Smrg <code>allowC1Printable</code> to allow users of non-VTxxx 3389d522f475Smrg character sets such as KOI-8 to treat the C1 control area 3390d522f475Smrg (character codes 128-159) as printable rather than control 3391d522f475Smrg characters. 3392d522f475Smrg 3393d522f475Smrg <li>add a null-pointer check for return-value of <code>ptsname()</code> 3394d522f475Smrg in HPUX-specific code (report by David Ellement). 3395d522f475Smrg 3396d522f475Smrg <li>revise the ifdef's used for <code>XKB</code> bell support. The 3397d522f475Smrg code was using a nonstandard call <code>XkbStdBell()</code>. 3398d522f475Smrg Changed to use <code>XkbBell()</code> (based on patch by 3399d522f475Smrg <derek@signalmarketing.com>). 3400d522f475Smrg 3401d522f475Smrg <li>add a null-pointer check in <code>xtermLoadFont()</code> in case 3402d522f475Smrg there is no wide-bold font (Nam SungHyun). 3403d522f475Smrg 3404d522f475Smrg <li>change <code>Makefile.in</code> to use autoconf's 3405d522f475Smrg <code>bindir</code>, <code>libdir</code> and <code>mandir</code> 3406d522f475Smrg variables (report by Nam SungHyun). 3407d522f475Smrg 3408d522f475Smrg <li>add <code>le</code> to termcap <code>xterm-basic</code> entry. 3409d522f475Smrg Though missing from older termcaps for xterm, some applications 3410d522f475Smrg check for it (report by Matthias Buelow). 3411d522f475Smrg 3412d522f475Smrg <li>modify <code>uxterm</code> script to strip modifiers such as "@euro" 3413d522f475Smrg from the locale setting before adding ".UTF-8" (Debian #179929). 3414d522f475Smrg 3415d522f475Smrg <li>modify the remaining places where tek4014 emulation uses 3416d522f475Smrg <code>XDefineCursor()</code>, to make it work as originally 3417d522f475Smrg implemented, e.g., when switching back to alpha mode. 3418d522f475Smrg Added test-screen in vttest to test this feature properly. 3419d522f475Smrg</ul> 3420d522f475Smrg 3421d522f475Smrg<H1><A NAME="xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A></H1> 3422d522f475Smrg<ul> 3423d522f475Smrg <li>work-around for XFree86 bug which made <code>XDefineCursor()</code> 3424d522f475Smrg on a shell-window no longer work. The tek4014 emulation used this. 3425d522f475Smrg Use the next lower window (report by Karl Rudolf Bauchspiess). 3426d522f475Smrg 3427d522f475Smrg <li>add a resource setting <code>allowWindowOps</code> to control 3428d522f475Smrg whether the extended window operations should be allowed, e.g., 3429d522f475Smrg resize, iconify, report window attributes. This is to accommodate 3430d522f475Smrg people who are not capable of using a pager to view log-files. 3431d522f475Smrg</ul> 3432d522f475Smrg 3433d522f475Smrg<H1><A NAME="xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A></H1> 3434d522f475Smrg<ul> 3435d522f475Smrg <li>reset mouse mode to normal on a full reset. This does not apply 3436d522f475Smrg to mouse hilite tracking mode, of course (see ctlseqs.ms). 3437d522f475Smrg 3438d522f475Smrg <li>add a time-delay at the point where mouse hilite tracking mode 3439d522f475Smrg choses to not handle X events, to avoid runaway CPU usage 3440d522f475Smrg (report by D Hugh Redelmeier). 3441d522f475Smrg 3442d522f475Smrg <li>check for illegal character in DECUDK string, quit if detected. 3443d522f475Smrg</ul> 3444d522f475Smrg 3445d522f475Smrg<H1><A NAME="xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A></H1> 3446d522f475Smrg<ul> 3447d522f475Smrg <li>fixes to make repainting of 256-color example work properly 3448d522f475Smrg (reports by Abigail Brady and Scott A Crosby). 3449d522f475Smrg <ul> 3450d522f475Smrg <li>set flag in <code>AllocateAnsiColor()</code> to ensure the color 3451d522f475Smrg is allocated once only. 3452d522f475Smrg <li>fix check in <code>ScrnRefresh</code>, which was comparing 3453d522f475Smrg background colors only if the ANSI foreground colors also were set. 3454d522f475Smrg </ul> 3455d522f475Smrg 3456d522f475Smrg <li>merge <code>Error()</code> calls and some <code>exit()</code> calls 3457d522f475Smrg into <code>SysError()</code>, and change that to add the brief 3458d522f475Smrg explanation for each error code which is provided in the manpage. 3459d522f475Smrg Change a few <code>SysError()</code>, calls to avoid using code 1, to 3460d522f475Smrg avoid confusion with exit status from places that do not use 3461d522f475Smrg <code>SysError()</code>. 3462d522f475Smrg 3463d522f475Smrg <li>simplify logic used to open a debug logfile as the standard error. 3464d522f475Smrg 3465d522f475Smrg <li>modify the <code>-e</code> option so that if it fails, xterm will 3466d522f475Smrg check if only one argument follows, e.g., it was quoted, and then 3467d522f475Smrg retry using <code>sh -c</code>. 3468d522f475Smrg 3469d522f475Smrg <li>modify parsing of DECUDK string parameter to allow a comma between 3470d522f475Smrg pairs of hexadecimal digits (Ray Neuman <raymond@one.com.au> 3471d522f475Smrg reports that "real" terminals accept this; perhaps they simply 3472d522f475Smrg ignore unexpected characters). 3473d522f475Smrg 3474d522f475Smrg <li>fix a few problems with the <code>$TERMCAP</code> string generated 3475d522f475Smrg by <code>resize</code>: 3476d522f475Smrg <ul> 3477d522f475Smrg <li>for Bourne shell, add an <code>export</code> command. 3478d522f475Smrg This was missing as far back as X11R5. 3479d522f475Smrg <li>escape exclamation marks, used in xterm's reset string. 3480d522f475Smrg <li>translate literal <code>\177\</code> to "^?". 3481d522f475Smrg </ul> 3482d522f475Smrg 3483d522f475Smrg <li>improve configure check for <code>tgetent()</code> to work when 3484d522f475Smrg <code>$TERMCAP</code> has been set to a specific entry. 3485d522f475Smrg 3486d522f475Smrg <li>modify <code>minstall.sh</code> to use "%" rather than "@", 3487d522f475Smrg to avoid problems with AFS (report by Zdenek Sekera). 3488d522f475Smrg 3489d522f475Smrg <li>list fatal error codes from <code>error.h</code> in the manpage, 3490d522f475Smrg remove unused codes in <code>error.h</code>. 3491d522f475Smrg 3492d522f475Smrg <li>use more explicit wording for manpage list of color resources, 3493d522f475Smrg since at least one user confused the generic names such as "black" 3494d522f475Smrg with the names in rgb.txt (the latter are now used). 3495d522f475Smrg 3496d522f475Smrg <li>minor fix to description of 1003 mouse mode in ctlseqs.ms 3497d522f475Smrg (Larry Riedel). 3498d522f475Smrg</ul> 3499d522f475Smrg 3500d522f475Smrg<H1><A NAME="xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A></H1> 3501d522f475Smrg<ul> 3502d522f475Smrg <li>modify parser tables to improve detection of malformed control 3503d522f475Smrg sequences, making xterm behave more like a real DEC terminal 3504d522f475Smrg (patch by Paul Williams). 3505d522f475Smrg 3506d522f475Smrg <li>update comment in <code>input.c</code> to document 3507d522f475Smrg <code>Meta</code> as a modifier for escape sequences (patch by D 3508d522f475Smrg Roland Walker). 3509d522f475Smrg 3510d522f475Smrg <li>add ifdef'd code for logging option which adds the hostname and a 3511d522f475Smrg timestamp to the generated logfile name. The ifdef's are setup 3512d522f475Smrg with the configure script (patch by Nelson Beebe). 3513d522f475Smrg 3514d522f475Smrg <li>remove <code>xevents()</code> call from the end of 3515d522f475Smrg <code>BlinkCursor()</code>, to fix an occasional problem 3516d522f475Smrg which caused xterm to pause until a key was pressed. 3517d522f475Smrg The reason for this was that there was no check to ensure that 3518d522f475Smrg there really were events for <code>xevents()</code> to process. 3519d522f475Smrg (patch by Semen A Ustimenko <semenu@FreeBSD.org>). 3520d522f475Smrg 3521d522f475Smrg <li>remove unused mode-params from <code>open()</code> calls that do 3522d522f475Smrg not create a file. 3523d522f475Smrg 3524d522f475Smrg <li>modify configure script to put new items first on 3525d522f475Smrg <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid conflict 3526d522f475Smrg with environment's <em>-I</em> and <em>-D</em> options. 3527d522f475Smrg 3528d522f475Smrg <li>update config.guess, config.sub 3529d522f475Smrg 3530d522f475Smrg <li>resync with XFree86 CVS: 3531d522f475Smrg <ul> 3532d522f475Smrg <li>fix va_args glitches for xterm/libfontconfig: 0 == (void*)0 3533d522f475Smrg isn't true for all platforms (Egbert Eich). 3534d522f475Smrg <li>initialise ProgramName in xterm's main before referencing it 3535d522f475Smrg (#5473, Peter Valchev). 3536d522f475Smrg <li>some cleanup of Imakefile ifdef's (Marc La France). 3537d522f475Smrg </ul> 3538d522f475Smrg</ul> 3539d522f475Smrg 3540d522f475Smrg<H1><A NAME="xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A></H1> 3541d522f475Smrg<ul> 3542d522f475Smrg <li>correct an off-by-one allocating data for sorted help message. 3543d522f475Smrg 3544d522f475Smrg <li>modify configure script to check for Xpm library, on which XFree86 3545d522f475Smrg Xaw library depends. 3546d522f475Smrg 3547d522f475Smrg <li>update config.guess, config.sub 3548d522f475Smrg</ul> 3549d522f475Smrg 3550d522f475Smrg<H1><A NAME="xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A></H1> 3551d522f475Smrg<ul> 3552d522f475Smrg <li>modify wording of some options in help message to make them use 3553d522f475Smrg <code>-/+</code> consistently with respect to "on/off" or "off/on". 3554d522f475Smrg 3555d522f475Smrg <li>sort options list which is displayed in help- and syntax-messages 3556d522f475Smrg at runtime to simplify maintenance. 3557d522f475Smrg 3558d522f475Smrg <li>remove support for Amoeba and Minix (Juliusz Chroboczek noted it 3559d522f475Smrg was removed from XFree86 server; there have been no users since 3560d522f475Smrg 1996). 3561d522f475Smrg 3562d522f475Smrg <li>add configure script option <code>--disable-session-mgt</code> 3563d522f475Smrg to control whether the session management code should be compiled-in 3564d522f475Smrg (request by H Merijn Brand). 3565d522f475Smrg 3566d522f475Smrg <li>ifdef'd the session-management changes with 3567d522f475Smrg <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which predates 3568d522f475Smrg the related definitions. 3569d522f475Smrg 3570d522f475Smrg <li>fix <code>decode_keyvalue()</code>, which did not properly parse 3571d522f475Smrg multiple settings as needed for the <code>ttyModes</code> resource, 3572d522f475Smrg since it did not skip over the parsed data. 3573d522f475Smrg 3574d522f475Smrg <li>fix an option-parsing conflict between <code>-class</code> and 3575d522f475Smrg <code>-cjk_width</code> (Nam SungHyun) 3576d522f475Smrg 3577d522f475Smrg <li>add a missing null in <code>XtVaSetValues()</code> call used in 3578d522f475Smrg <code>Cleanup()</code> (Nam SungHyun) 3579d522f475Smrg</ul> 3580d522f475Smrg 3581d522f475Smrg<H1><A NAME="xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A></H1> 3582d522f475Smrg<ul> 3583d522f475Smrg <li>improve data reported for control sequence that requests window 3584d522f475Smrg position by taking into account the window decorations, e.g., 3585d522f475Smrg border and title (patch by Jess Thrysoee <jess@thrysoee.dk>). 3586d522f475Smrg 3587d522f475Smrg <li>add <code>-cjk_width</code> and corresponding resource 3588d522f475Smrg <code>cjkWidth</code> (patch by Jungshik Shin 3589d522f475Smrg <jshin@mailaps.org>). 3590d522f475Smrg 3591d522f475Smrg <li>add <code>-into</code> option, for embedding xterm in a Tcl/Tk 3592d522f475Smrg application (patch by George Peter Staplin <georgeps@xmission.com>). 3593d522f475Smrg 3594d522f475Smrg <li>add simple session management (XSM) client capabilities to xterm. 3595d522f475Smrg So a session manager such as, e.g., xsm, should be able to respawn or 3596d522f475Smrg kill xterms without the help of an SM proxy (like smproxy), which is 3597d522f475Smrg a hack and almost always buggy (patch by David Madore). 3598d522f475Smrg 3599d522f475Smrg <li>fix conflict between ifdef's for <code>OPT_DEC_LOCATOR</code> and 3600d522f475Smrg <code>OPT_READLINE</code> in button.c (reported by Ilya Zakharevich). 3601d522f475Smrg 3602d522f475Smrg <li>fix for inconsistent use of <code>struct utmp</code> versus 3603d522f475Smrg <code>struct utmpx</code> introduced in <a href="#xterm_167">patch #167</a> 3604d522f475Smrg (patches by Paul Gilmartin, Marc La France). 3605d522f475Smrg 3606d522f475Smrg <li>modify logic for <code>metaSendsEscape</code> to allow it to work 3607d522f475Smrg in a setup where the Meta-key is not recognized as a modifier by 3608d522f475Smrg the key-translations logic (from a discussion of eightBitInput 3609d522f475Smrg with H.J.Lu, however Vincent Lefevre reported this in January). 3610d522f475Smrg 3611d522f475Smrg <li>use null pointer values consistently, rather than literal "0", for 3612d522f475Smrg ending variable-length argument lists, e.g., for 3613d522f475Smrg <code>execlp()</code> (based on patch by Matthieu Herrb). 3614d522f475Smrg 3615d522f475Smrg <li>correct logic of <code>ChangeAnsiColorRequest()</code>, which would 3616d522f475Smrg do a screen repaint after replying to a request for information. 3617d522f475Smrg 3618d522f475Smrg <li>improve scripts in vttests to work with systems whose shells support 3619d522f475Smrg <code>echo -n</code> and have, as does Debian, an unrelated 3620d522f475Smrg <code>print</code> utility. 3621d522f475Smrg 3622d522f475Smrg <li>add vttests/acolors.sh to demonstrate OSC 4, which queries or 3623d522f475Smrg sets ANSI colors. 3624d522f475Smrg 3625d522f475Smrg <li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich). 3626d522f475Smrg 3627d522f475Smrg <li>typos in xterm manpage (Jens Schweikhardt) 3628d522f475Smrg 3629d522f475Smrg <li>remove a redundant GCC_UNUSED from InitPopup() (Nam SungHyun) 3630d522f475Smrg</ul> 3631d522f475Smrg 3632d522f475Smrg<H1><A NAME="xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A></H1> 3633d522f475Smrg<ul> 3634d522f475Smrg <li>correct ifdef's for <code>USE_TERMCAP</code> to match cygwin 3635d522f475Smrg configuration. 3636d522f475Smrg 3637d522f475Smrg <li>fix several places in ctlseqs.ms which had no boxes around the 3638d522f475Smrg literal text (report by Ilya Zakharevich). 3639d522f475Smrg 3640d522f475Smrg <li>integrated patch from Ilya Zakharevich to extend mouse support for 3641d522f475Smrg readline (ifdef'd with OPT_READLINE). 3642d522f475Smrg 3643d522f475Smrg <li>modify terminfo description to match default for 3644d522f475Smrg <code>modifyCursorKeys</code> resource. 3645d522f475Smrg 3646d522f475Smrg <li>add <code>modifyCursorKeys</code> resource to control how the 3647d522f475Smrg shift- and similar modifiers are used to make a cursor escape 3648d522f475Smrg sequence. The default makes a modified escape sequence always start 3649d522f475Smrg with CSI and puts the modifier as the second parameter, to avoid 3650d522f475Smrg confusing applications that would interpret the first parameter as a 3651d522f475Smrg repeat count. The original behavior can be obtained by setting the 3652d522f475Smrg resource to 0 (from newsgroup discussion with Stephen J Turnbull 3653d522f475Smrg and Jeffrey Altman). 3654d522f475Smrg 3655d522f475Smrg <li>correct missing initializations for <code>appdefaultCursor</code> 3656d522f475Smrg and <code>appdefaultKeypad</code> resources. 3657d522f475Smrg 3658d522f475Smrg <li>add configure option <code>--enable-luit</code> and ifdef'd the 3659d522f475Smrg luit-related code with OPT_LUIT_PROG. 3660d522f475Smrg 3661d522f475Smrg <li>integrate patch by Tomohiro KUBOTA from 3662d522f475Smrg http://www.xfree86.org/pipermail/i18n/2002-July/003378.html which 3663d522f475Smrg modifies xterm to invoke luit. 3664d522f475Smrg 3665d522f475Smrg <li>update wcwidth.c to match Markus Kuhn's 2002-05-18 version. 3666d522f475Smrg 3667d522f475Smrg <li>correct limit-checking in <code>ComputeSelect()</code> to handle 3668d522f475Smrg selections that extend off the visible area; rather 3669d522f475Smrg than modify the parameters to <code>TrackText()</code>, use 3670d522f475Smrg <code>ScrollSelection()</code> to update the highlighting limits. 3671d522f475Smrg (reported by Yegappan Lakshmanan and Nelson Beebe, 3672d522f475Smrg patch by Alexander V Lukyanov). 3673d522f475Smrg 3674d522f475Smrg <li>correct manpage description of <code>tiXtraScroll</code> resource 3675d522f475Smrg (reported by Tony Finch). 3676d522f475Smrg 3677d522f475Smrg <li>changes from OpenBSD: 3678d522f475Smrg <ul> 3679d522f475Smrg <li>Make xterm setgid utmp to be able to update utmp even 3680d522f475Smrg with root privileges revoked. 3681d522f475Smrg <li>If not updating utmp, revoke group privileges totally too. 3682d522f475Smrg </ul> 3683d522f475Smrg 3684d522f475Smrg <li>changes from NetBSD: 3685d522f475Smrg <ul> 3686d522f475Smrg <li>Check that the return value from ttyslot() is greater than 0 3687d522f475Smrg before writing the utmp file. 3688d522f475Smrg Fixes w's "w: Stale utmp entry: <user> <tty> <pty>" errors. 3689d522f475Smrg <li>Use openpty() to deal with new pty naming scheme. 3690d522f475Smrg </ul> 3691d522f475Smrg 3692d522f475Smrg <li>add <code>print-redir</code> action and menu entry to allow user to 3693d522f475Smrg switch terminal in/out of printer controller mode. It appears from 3694d522f475Smrg the manual that a real vt220 would not switch back to normal mode, so 3695d522f475Smrg another mechanism is used (addresses Debian #37517). 3696d522f475Smrg 3697d522f475Smrg <li>check if <code>printerCommand</code> resource string is empty, use 3698d522f475Smrg this to allow user to disable printer function. 3699d522f475Smrg 3700d522f475Smrg <li>trim trailing blanks from resource strings. 3701d522f475Smrg 3702d522f475Smrg <li>check return value from <code>ptsname()</code>, which may return 3703d522f475Smrg null for example if someone has changed the permissions of /dev/pts 3704d522f475Smrg to zero (Debian #121899). 3705d522f475Smrg 3706d522f475Smrg <li>modify OS/2 version to use <code>__UNIXOS2__</code> definition 3707d522f475Smrg rather than <code>__EMX__</code>, related cleanup (patch by Holger 3708d522f475Smrg Veit). 3709d522f475Smrg 3710d522f475Smrg <li>used modified indent 2.0 3711d522f475Smrg (patch <a href="ftp://invisible-island.net/gnu-patches/">20020428</a>) 3712d522f475Smrg to reformat most of the C source files, to simplify maintenance. 3713d522f475Smrg 3714d522f475Smrg <li>fix a couple of places where there were leading tabs on 3715d522f475Smrg symbol-definition lines in Imakefile (Marc La France from report by 3716d522f475Smrg Tony Finch) 3717d522f475Smrg 3718d522f475Smrg <li>add imake variable (TraceXTerm) to allow building debug version 3719d522f475Smrg (Egbert Eich). 3720d522f475Smrg</ul> 3721d522f475Smrg 3722d522f475Smrg<H1><A NAME="xterm_166">Patch #166 - 2002/03/25 - XFree86 4.2.0</A></H1> 3723d522f475Smrg<ul> 3724d522f475Smrg <li>correct a bug in selection: double clicking on a word which 3725d522f475Smrg was partly scrolled off the screen may select that text (report 3726d522f475Smrg by Vincent Lefevre <vincent@vinc17.org>). 3727d522f475Smrg 3728d522f475Smrg <li>implement <code>veryBoldColors</code> resource to control whether 3729d522f475Smrg the corresponding video attribute such as <code>bold</code> is 3730d522f475Smrg displayed when using <code>colorBDMode</code>, etc. (request by Josh 3731d522f475Smrg Howard <jrh@vicor-nb.com>). 3732d522f475Smrg 3733d522f475Smrg <li>define escape sequences for function keys F21-F35 (patch by Steve Wall). 3734d522f475Smrg 3735d522f475Smrg <li>change the colors for the 256-color model, making them less skewed 3736d522f475Smrg toward black (patch by Steve Wall). 3737d522f475Smrg 3738d522f475Smrg <li>add <code>vt100Graphics</code> resource 3739d522f475Smrg (see <a href="#xterm_115">patch #115</a>, 3740d522f475Smrg based on discussion with Glenn Maynard). 3741d522f475Smrg 3742d522f475Smrg <li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid potential 3743d522f475Smrg incompatibilities between these flavors of Athena widgets. 3744d522f475Smrg 3745d522f475Smrg <li>add configure check for XFree86 4.x Xaw library, whose geometry 3746d522f475Smrg management is broken, to avoid trying to use it for toolbar 3747d522f475Smrg configuration. 3748d522f475Smrg 3749d522f475Smrg <li>updates to configure script from vile and lynx to allow 3750d522f475Smrg configure.in to be compiled with autoconf 2.5x 3751d522f475Smrg 3752d522f475Smrg <li>add a check for null pointer return by <code>ptsname()</code> 3753d522f475Smrg (newsgroup posting from Mike Silva <mikesilva@lucent.com>). 3754d522f475Smrg 3755d522f475Smrg <li>fill in a few details needed to allow UTF-8 mode to switch on/off 3756d522f475Smrg after startup. This requires that <code>wideChars</code> resource be 3757d522f475Smrg set. (based on comments in 4 Aug 2001 by Alexey Marinichev 3758d522f475Smrg <lyosha@lyosha.2y.net>). 3759d522f475Smrg 3760d522f475Smrg <li>remove duplicate install rules that make directories, e.g., so installing 3761d522f475Smrg manpage will not create app-defaults directory. 3762d522f475Smrg 3763d522f475Smrg <li>add comment in in <code>do_osc()</code>, reserving cases 30 and 31 3764d522f475Smrg for for Konsole (request by Stephan Binner 3765d522f475Smrg <Stephan.Binner@gmx.de>). 3766d522f475Smrg 3767d522f475Smrg <li>fixes for ctlseqs.ms and xterm.man 3768d522f475Smrg (patch by Werner LEMBERG <wl@gnu.org>). 3769d522f475Smrg 3770d522f475Smrg <li>add check for monochrome display, disabling colorMode in that 3771d522f475Smrg case (fixes Debian #134130). 3772d522f475Smrg 3773d522f475Smrg <li>resync with XFree86 CVS: 3774d522f475Smrg <ul> 3775d522f475Smrg <li>Fix some xterm build warnings on *BSD (David Dawes). 3776d522f475Smrg <li>Only use SA_RESTART in xterm when it's available (Frank Liu). 3777d522f475Smrg <li>Fix incorrect code in signal handlers in most of the clients, 3778d522f475Smrg xterm and xdm not done yet (Matthieu Herrb). 3779d522f475Smrg </ul> 3780d522f475Smrg</ul> 3781d522f475Smrg 3782d522f475Smrg<H1><A NAME="xterm_165">Patch #165 - 2002/01/05 - XFree86 4.1.0</A></H1> 3783d522f475Smrg<ul> 3784d522f475Smrg <li>modify <code>uxterm</code> script to strip encoding part from 3785d522f475Smrg environment variable before adding ".UTF-8" (based on Debian 3786d522f475Smrg #125947, but using a more portable solution). 3787d522f475Smrg 3788d522f475Smrg <li>add an assignment statement in VTInitialize() to make 3789d522f475Smrg <code>awaitInput</code> resource work. 3790d522f475Smrg 3791d522f475Smrg <li>use new macros init_Bres(), etc., in VTInitialize() to add trace of 3792d522f475Smrg the initialization of resources. 3793d522f475Smrg 3794d522f475Smrg <li>modify checks for $LC_ALL, related environment variables to ensure 3795d522f475Smrg the resulting strings are nonempty (report by Markus Kuhn). 3796d522f475Smrg 3797d522f475Smrg <li>add an ifdef in charproc.c for num_ptrs variable in case all 3798d522f475Smrg configure options are disabled. 3799d522f475Smrg 3800d522f475Smrg <li>modify definition of getXtermBackground() to avoid negative array 3801d522f475Smrg index warning on Tru64 (report by Jeremie Petit). 3802d522f475Smrg 3803d522f475Smrg <li>improve fix from patch #165 (still Debian #117184, report by Matt 3804d522f475Smrg Zimmerman <mdz@debian.org>) 3805d522f475Smrg 3806d522f475Smrg <li>correct install rule for uxterm in Makefile.in, to handle the 3807d522f475Smrg case where building in a different directory than xterm's source 3808d522f475Smrg (patch by Paul Gilmartin). 3809d522f475Smrg 3810d522f475Smrg <li>documented ANSI.SYS-style cursor save/restore escape sequences 3811d522f475Smrg in ctlseqs.ms, which are in xterm since X11R5. 3812d522f475Smrg 3813d522f475Smrg <li>correct two entries in the default charClass table, which did not 3814d522f475Smrg follow the manpage comment about the character number corresponding 3815d522f475Smrg to the class (patch by Marc Bevand <bevand_m@epita.fr>). 3816d522f475Smrg 3817d522f475Smrg <li>fix a couple of typos in comments in the app-defaults files 3818d522f475Smrg (David Krause <xfree86@davidkrause.com>). 3819d522f475Smrg 3820d522f475Smrg <li>resync with XFree86 CVS: 3821d522f475Smrg <ul> 3822d522f475Smrg <li>update language of copyrights in some files to reflect the fact 3823d522f475Smrg that they were reassigned from X Consortium to The Open Group in 3824d522f475Smrg 1998. Note that this xterm source is derived from the 1996 3825d522f475Smrg version from X Consortium, does not incorporate changes made by X 3826d522f475Smrg Consortium or The Open Group after that date, hence we do not add 3827d522f475Smrg The Open Group's 1998 copyright date to related files. 3828d522f475Smrg 3829d522f475Smrg <li>save/restore <code>errno</code> in signal catcher (Matthieu Herrb). 3830d522f475Smrg 3831d522f475Smrg <li>modify UXTerm.ad's font5 resource so that xterm can display double 3832d522f475Smrg width characters using a font distributed with XFree86 (Tomohiro KUBOTA). 3833d522f475Smrg </ul> 3834d522f475Smrg</ul> 3835d522f475Smrg 3836d522f475Smrg<H1><A NAME="xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A></H1> 3837d522f475Smrg<ul> 3838d522f475Smrg <li>correct a case where <code>ptyInitialErase</code> and 3839d522f475Smrg <code>backarrowKeyIsErase</code> resources combine to set 3840d522f475Smrg <code>DECBKM</code> mode, but a <code>reset</code> command would not 3841d522f475Smrg reset xterm to that state, making the erase character revert to ^H 3842d522f475Smrg (Debian #117184) 3843d522f475Smrg</ul> 3844d522f475Smrg 3845d522f475Smrg<H1><A NAME="xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A></H1> 3846d522f475Smrg<ul> 3847d522f475Smrg <li>correct ifdef's for <code>__QNX__</code> and 3848d522f475Smrg <code>USE_SYSV_PGRP</code> in main.c call to <code>tcsetpgrp</code>, 3849d522f475Smrg which broke bash behavior around <a href="#xterm_140">patch #140</a> 3850d522f475Smrg (report/patch by Frank Liu <fliu@mail.vipstage.com>). 3851d522f475Smrg 3852d522f475Smrg <li>modify trace.c to fix missing definition of GCC_UNUSED for 3853d522f475Smrg compilers other than gcc when configured for trace code (report/patch 3854d522f475Smrg by Paul Gilmartin). 3855d522f475Smrg 3856d522f475Smrg <li>change format in TraceOptions() to use long rather than int, since 3857d522f475Smrg the latter could lose precision on 64-bit machines (report/patch by 3858d522f475Smrg Nelson Beebe). 3859d522f475Smrg 3860d522f475Smrg <li>modify xterm manual page and minstall.sh to allow imake rules 3861d522f475Smrg to define location of app-defaults directory (Debian #87611). 3862d522f475Smrg 3863d522f475Smrg <li>review/update list of conflicting preprocesor symbols to remove 3864d522f475Smrg from $CPPFLAGS at the end of the configure script. In particular, 3865d522f475Smrg this allows one to configure xterm without the utempter library on 3866d522f475Smrg Redhat 7.1 (report/patch by Adam Sulmicki). 3867d522f475Smrg</ul> 3868d522f475Smrg 3869d522f475Smrg<H1><A NAME="xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A></H1> 3870d522f475Smrg<ul> 3871d522f475Smrg <li>correct logic that processes <code>-class</code> option, so that 3872d522f475Smrg a following <code>-e</code> option is handled (Debian #116297). 3873d522f475Smrg 3874d522f475Smrg <li>improve options-decoding to allow <code>-version</code> and 3875d522f475Smrg <code>-help</code> options to be combined (Debian #110226). 3876d522f475Smrg 3877d522f475Smrg <li>add a 10 millisecond delay in event loop when processing 3878d522f475Smrg <code>-hold</code> option, to avoid using too much CPU time 3879d522f475Smrg (Debian #116213). 3880d522f475Smrg 3881d522f475Smrg <li>prefix final program execution in <code>uxterm</code> with "exec" 3882d522f475Smrg to avoid a useless shell hanging around (Christian Weisgerber). 3883d522f475Smrg</ul> 3884d522f475Smrg 3885d522f475Smrg<H1><A NAME="xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A></H1> 3886d522f475Smrg<ul> 3887d522f475Smrg <li>modify logic that resets keypad application mode to avoid doing 3888d522f475Smrg this if there is no modifier associated with the Num_Lock keysym 3889d522f475Smrg (report by John E Davis <davis@space.mit.edu> and Alan W Irwin 3890d522f475Smrg <irwin@beluga.phys.uvic.ca>). 3891d522f475Smrg 3892d522f475Smrg <li>add built-in translation for Control/KP_Separator to KP_Subtract, 3893d522f475Smrg to accommodate users who wish to use xmodmap to reassign the top 3894d522f475Smrg row of the numeric keypad. 3895d522f475Smrg 3896d522f475Smrg <li>correct Imakefile install-rule for <code>uxname</code> script 3897d522f475Smrg (reported by Nam SungHyun <namsh@lge.com>). 3898d522f475Smrg 3899d522f475Smrg <li>resync with XFree86 CVS: correct typo in <code><ncurses/term.h></code> 3900d522f475Smrg ifdef. 3901d522f475Smrg</ul> 3902d522f475Smrg 3903d522f475Smrg<H1><A NAME="xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A></H1> 3904d522f475Smrg<ul> 3905d522f475Smrg <li>modify logic in main.c 3906d522f475Smrg (see <a href="#xterm_145">patch #145</a>) to avoid generating the 3907d522f475Smrg same identifier, for example, for /dev/tty1 and /dev/pts/1, which 3908d522f475Smrg is used to denote an entry in the utmp file (Debian bug report 3909d522f475Smrg #84676), A similar fix was also sent by Jerome Borsboom 3910d522f475Smrg <borsboom@westbrabant.net> in May, but I overlooked it when 3911d522f475Smrg reviewing bug reports. 3912d522f475Smrg 3913d522f475Smrg <li>add configure check for <code><ncurses/term.h></code> to get 3914d522f475Smrg rid of hardcoded <code>__CYGWIN__</code> ifdef in resize.c 3915d522f475Smrg <p> 3916d522f475Smrg NOTE: The CYGWIN port should not be linking <code>resize</code> 3917d522f475Smrg with ncurses. It appears that the only reason it is, is because 3918d522f475Smrg both the ncurses and termcap ports on that platform are badly 3919d522f475Smrg misconfigured (essential pieces have been removed, etc). Checking 3920d522f475Smrg for <code><ncurses/term.h></code> does not hurt anything, 3921d522f475Smrg since there are some correct installations that are set up that 3922d522f475Smrg way. 3923d522f475Smrg 3924d522f475Smrg <li>add a sample <code>uxterm</code> script, which uses the 3925d522f475Smrg <code>UXTerm</code> application defaults for UTF-8 environments. 3926d522f475Smrg 3927d522f475Smrg <li>undo change to xterm application defaults, since this introduced an 3928d522f475Smrg unnecessary incompatibility. The intended functionality was 3929d522f475Smrg already addressed by the <a href="#xterm_141">UXTerm</a> 3930d522f475Smrg app-defaults file. 3931d522f475Smrg 3932d522f475Smrg <li>resync with XFree86 CVS: 3933d522f475Smrg <ul> 3934d522f475Smrg <li>Modified xterm app default to use LFD fontnames instead of old type 3935d522f475Smrg (Michael Schroeder). 3936d522f475Smrg <li>Fix xterm when XIM is disabled - caused a segfault 3937d522f475Smrg (Tomohiro Kubota). 3938d522f475Smrg </ul> 3939d522f475Smrg</ul> 3940d522f475Smrg 3941d522f475Smrg<H1><A NAME="xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A></H1> 3942d522f475Smrg<ul> 3943d522f475Smrg <li>remove an ifdef for <code>USE_HANDSHAKE</code> added in patch 3944d522f475Smrg #158 from the second <code>TIOCSSIZE</code> ioctl call in the 3945d522f475Smrg initialization code. Paul Gilmartin reports that for Solaris 2.6 3946d522f475Smrg (sparc), stty does not show that xterm sets rows and columns unless 3947d522f475Smrg the second ioctl is executed. 3948d522f475Smrg 3949d522f475Smrg <li>correct treatment of empty parameter list for some OSC strings 3950d522f475Smrg (report by Sami Farin <sfarin@ratol.fi>). 3951d522f475Smrg</ul> 3952d522f475Smrg 3953d522f475Smrg<H1><A NAME="xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A></H1> 3954d522f475Smrg<ul> 3955d522f475Smrg <li>augment key translations for scrollbar widget to ensure that 3956d522f475Smrg keystrokes intended for the text area are not lost if the mouse 3957d522f475Smrg pointer happens to fall on the scrollbar. This can happen, for 3958d522f475Smrg instance, if the user's <code>app-defaults</code> or 3959d522f475Smrg <code>.Xdefaults</code> file contains a translations resource, 3960d522f475Smrg though it may also happen through unrelated resource settings: 3961d522f475Smrg probably a bug in libXt (reported by Paul Fox 3962d522f475Smrg <pgf@foxharp.boston.ma.us> and Dmitry Yu. Bolkhovityanov 3963d522f475Smrg <D.Yu.Bolkhovityanov@inp.nsk.su>). 3964d522f475Smrg 3965d522f475Smrg <li>widen ifdef's in xterm.h to define <code>__EXTENSIONS__</code> on 3966d522f475Smrg Solaris, for compilers other than gcc. This was added along 3967d522f475Smrg <code>_POSIX_C_SOURCE</code> with in <a href="#xterm_151">patch 3968d522f475Smrg #151</a>, but is not sufficient since Sun's compiler does not define 3969d522f475Smrg <code>__STDC__</code> by default (report by Matthias Scheler 3970d522f475Smrg <tron@zhadum.de>). 3971d522f475Smrg 3972d522f475Smrg <li>modify xterm to obtain the closest matching color if an exact color 3973d522f475Smrg is not available, e.g., on 8-bit displays (patch by Steve Wall) 3974d522f475Smrg 3975d522f475Smrg <li>patch by Tomohiro KUBOTA <tkubota@riken.go.jp> to implement 3976d522f475Smrg "OverTheSpot" preedit type of XIM input: 3977d522f475Smrg <ul> 3978d522f475Smrg <li>This preedit type is a reasonable compromise between 3979d522f475Smrg simpleness of implementation and usefulness. "Root" preedit 3980d522f475Smrg type is easy to implement but not useful; "OnTheSpot" preedit 3981d522f475Smrg type is the best in the point of view of user interface but 3982d522f475Smrg very complex. And more, "OverTheSpot" is the preedit type 3983d522f475Smrg which the most XIM servers support. Thus, to achieve reasonable 3984d522f475Smrg usability, support of "OverTheSpot" preedit type is needed. 3985d522f475Smrg 3986d522f475Smrg <li>In "OverTheSpot" preedit type, the preedit (preconversion) 3987d522f475Smrg string is displayed at the position of the cursor. On the 3988d522f475Smrg other hand, it is XIM server's responsibility to display 3989d522f475Smrg the preedit string. Thus, it is needed for XIM client (here 3990d522f475Smrg XTerm) to inform the XIM server of the cursor position. 3991d522f475Smrg And more, to achieve good visual proportion, preedit string 3992d522f475Smrg must be written using proper font. Thus, it is XIM client's 3993d522f475Smrg responsibility to inform the XIM server of the proper font. 3994d522f475Smrg The font must be supplied by "fontset". Fontset is a set of 3995d522f475Smrg fonts with charsets which are specified by the current locale. 3996d522f475Smrg Since XTerm uses ISO10646 fonts regardless of the current locale, 3997d522f475Smrg the fonts for XIM must be prepared separately. It is difficult 3998d522f475Smrg to prepare fonts which are similar to XTerm font. Thus, my 3999d522f475Smrg patch uses a simple way - the default font is "*" which matches 4000d522f475Smrg every fonts and X library will automatically choose fonts with 4001d522f475Smrg proper charsets. I added "-fx" command option and "ximFont" 4002d522f475Smrg resource to override this default font setting. 4003d522f475Smrg 4004d522f475Smrg <li>changed the definition of "OverTheSpot" preedit type 4005d522f475Smrg from XIMPreeditPosition|XIMStatusArea 4006d522f475Smrg to XIMPreeditPosition|XIMStatusNothing. 4007d522f475Smrg This matches the behavior of other programs such as 4008d522f475Smrg Rxvt, Kterm, Gedit. 4009d522f475Smrg 4010d522f475Smrg <li>A tiny XIM bugfix is also included. By calling XSetLocaleModifiers() 4011d522f475Smrg with parameter of "", it can consier XMODIFIERS environmental 4012d522f475Smrg variable which is a standard way for users to specify XIM server 4013d522f475Smrg to be used. 4014d522f475Smrg </ul> 4015d522f475Smrg 4016d522f475Smrg <li>adjust configure script to accommodate repackaging of keysym2ucs.c 4017d522f475Smrg as include-file for xutf8.c (patch by Tomohiro KUBOTA 4018d522f475Smrg <kubota@debian.org>). 4019d522f475Smrg 4020d522f475Smrg <li>add the <code>UXTerm</code> app-defaults file to makefile install 4021d522f475Smrg rules (request by Juliusz Chroboczek). 4022d522f475Smrg 4023d522f475Smrg <li>correct logic in <code>get_termcap()</code>, which returned false 4024d522f475Smrg if the <code>tgetent()</code> call indicated that xterm was linked 4025d522f475Smrg with terminfo. Although the <code>$TERMCAP</code> variable cannot be 4026d522f475Smrg adjusted in this case, xterm still needs information from this call 4027d522f475Smrg to extract data to initialize the erase-mode when the 4028d522f475Smrg <code>ptyInitialErase</code> resource is false. 4029d522f475Smrg 4030d522f475Smrg <li>modify <code>ScrollbarReverseVideo()</code> function to cache the 4031d522f475Smrg original border color, so it can restore that when an application 4032d522f475Smrg flashes the screen (Bugzilla #38872). 4033d522f475Smrg 4034d522f475Smrg <li>resync with XFree86 CVS: 4035d522f475Smrg <ul> 4036d522f475Smrg <li>remove ifdef's for X_NOT_STDC_ENV (David Dawes). 4037d522f475Smrg <li>add Cygwin to special errno handling case in ptydata.c (Alan Hourihane) 4038d522f475Smrg <li>set screen size earlier in initialization, to address a race 4039d522f475Smrg with window manager resizing its clients (Keith Packard). 4040d522f475Smrg </ul> 4041d522f475Smrg</ul> 4042d522f475Smrg 4043d522f475Smrg<H1><A NAME="xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A></H1> 4044d522f475Smrg<ul> 4045d522f475Smrg <li>patch by Juliusz Chroboczek to clean up button.c and input.c. The 4046d522f475Smrg basic idea is to use a single set of APIs in the XTerm core, and put 4047d522f475Smrg a set of workarounds in a separate file. As you will notice, this 4048d522f475Smrg drastically simplifies parts of the code; in particular, the only 4049d522f475Smrg remaining ifdefs related to the differences between Xutf8 and legacy 4050d522f475Smrg systems are related to the selection provider logic. 4051d522f475Smrg 4052d522f475Smrg This defines two new files, xutf8.h and xutf8.c, provide some 4053d522f475Smrg half-hearted but fully portable emulation for the three Xutf8* 4054d522f475Smrg functions that XTerm uses. 4055d522f475Smrg 4056d522f475Smrg Putting these in a separate file will allow people to experiment with 4057d522f475Smrg more complex versions without making the core of XTerm more difficult 4058d522f475Smrg to maintain. 4059d522f475Smrg 4060d522f475Smrg The functionality of the emulation is as follows. 4061d522f475Smrg <ul> 4062d522f475Smrg <li>Xutf8TextListToTextProperty fully handles XStringstyle and 4063d522f475Smrg XUTF8StringStyle. It will only generate STRING for XStdICCTextStyle, 4064d522f475Smrg and wil only generate Latin-1 in XCompoundTextStyle (but label it as 4065d522f475Smrg COMPOUND_TEXT, as the spec requires). (I have hesitated to make this 4066d522f475Smrg function fail for XStdICCTextStyle and XCompoundTextStyle; this might 4067d522f475Smrg be a smart thing to do, in the hope that the selection requestor will 4068d522f475Smrg try UTF8_STRING afterwards; opinions?) 4069d522f475Smrg 4070d522f475Smrg <li>Xutf8TextPropertyToTextList fully handles STRING and UTF8_STRING. 4071d522f475Smrg It systematically fails for COMPOUND_TEXT. 4072d522f475Smrg 4073d522f475Smrg <li>Xutf8LookupString will properly handle single-keystroke input for 4074d522f475Smrg the keysyms covered by Markus' keysym2ucs function. It will not 4075d522f475Smrg handle either compose key input or external input methods. 4076d522f475Smrg </ul> 4077d522f475Smrg 4078d522f475Smrg <li>add an ifdef for <code>SunXK_F36</code>, used in 4079d522f475Smrg <code>xtermcapKeycode()</code> (patch by Mark Waggoner 4080d522f475Smrg <waggoner@ichips.intel.com>). 4081d522f475Smrg 4082d522f475Smrg <li>modify check for login name to try <code>getlogin()</code> and 4083d522f475Smrg $LOGNAME, $USER environment variables to detect if the user has 4084d522f475Smrg logged in under an alias, i.e., an account with the same user id 4085d522f475Smrg but a different name (Debian bug report #70084). 4086d522f475Smrg 4087d522f475Smrg <li>add resource <code>tiXtraScroll</code>, which can be used to 4088d522f475Smrg preserve the screen contents in the scrollback rather than erasing 4089d522f475Smrg it when starting a fullscreen application such as <code>vi</code> 4090d522f475Smrg (patch by Ken Martin <fletcher@catsreach.org>). 4091d522f475Smrg 4092d522f475Smrg <li>two patches by Denis Zaitsev <zzz@cd-club.ru>: 4093d522f475Smrg <ul> 4094d522f475Smrg <li>added <code>forceBoxChars</code> resource to control the 4095d522f475Smrg "line-drawing characters" option. 4096d522f475Smrg 4097d522f475Smrg <li>added <code>freeBoldBox</code> resource, which, when set true, 4098d522f475Smrg suppresses check in <code>same_font_size()</code>, so xterm does 4099d522f475Smrg not attempt to ensure that the bold font is the same size as 4100d522f475Smrg the normal font. 4101d522f475Smrg </ul> 4102d522f475Smrg 4103d522f475Smrg <li>change the color class for ANSI colors and similar ones such as 4104d522f475Smrg bold-color, etc., to follow the convention that the classname is the 4105d522f475Smrg instance name with a leading capital (e.g., <code>color0</code> and 4106d522f475Smrg <code>Color0</code> rather than <code>color0</code> and 4107d522f475Smrg <code>Foreground</code>). There was little use for Foreground as a 4108d522f475Smrg class other than to create occasional confusion and bug reports, most 4109d522f475Smrg recently by Nelson Beebe who reports that it disables colors in xterm 4110d522f475Smrg but not on Linux, which is probably due to a difference in resource 4111d522f475Smrg evaluation order. A configure script option (--disable-color-class) 4112d522f475Smrg is provided for anyone who did use the older behavior. 4113d522f475Smrg 4114d522f475Smrg <li>fix a signal-handling bug. When running xterm with 4115d522f475Smrg <code>ksh</code> or similar shell such as bash 2.05, xterm will hang 4116d522f475Smrg and not respond to keystrokes after the user types 4117d522f475Smrg <code>suspend</code>. Additionally the popup menus do not respond, 4118d522f475Smrg so it is not possible to send SIGCONT to the shell. 4119d522f475Smrg What is happening is that the shell is sending itself SIGSTOP, and it 4120d522f475Smrg is being stopped. Per specification it also means that the operating 4121d522f475Smrg system is sending SIGCHLD to parent to the bash (XTERM). 4122d522f475Smrg Now the issue is that xterm assumes it cannot happen and it expects 4123d522f475Smrg to receive SIGCHLD only upon <em>termination</em> of its children. 4124d522f475Smrg This causes a deadlock with xterm waiting for the child to 4125d522f475Smrg die, and the child waiting for SIGCONT. 4126d522f475Smrg (report/patch by Adam Sulmicki), analysis/testing by Sven Mascheck 4127d522f475Smrg <sven.mascheck@student.uni-ulm.de>). 4128d522f475Smrg 4129d522f475Smrg <li>correct some inconsistent checks for <code>XtReleaseGC()</code> 4130d522f475Smrg calls in <code>xtermLoadFont()</code> (patch by Nam SungHyun 4131d522f475Smrg <namsh@lge.com>). 4132d522f475Smrg 4133d522f475Smrg <li>updated wcwidth.c and keysym2ucs.c to versions dated 2001/1/12 4134d522f475Smrg and 2001/4/18, respectively from 4135d522f475Smrg http://www.cl.cam.ac.uk/~mgk25/ucs/ 4136d522f475Smrg 4137d522f475Smrg <li>correction to change from <a href="#xterm_90">patch #90</a>, 4138d522f475Smrg which was intended to 4139d522f475Smrg reset the saved cursor position for normal/alternate screens 4140d522f475Smrg on a soft reset, but actually wiped out all of the saved cursor 4141d522f475Smrg information. Just reset the saved position for the current screen 4142d522f475Smrg (report by Michael Schroeder). 4143d522f475Smrg 4144d522f475Smrg <li>modify ShowCursor() and HideCursor() so that if the cursor points 4145d522f475Smrg to the second part of a wide character, make the show/hide operate on 4146d522f475Smrg the first position of the wide character (patch by Sven Verdoolaege). 4147d522f475Smrg 4148d522f475Smrg <li>scrolling in the alternate screen just before switching back to the 4149d522f475Smrg main screen can cause extra blank lines to be inserted into the 4150d522f475Smrg scrollback buffer (patch by Paul Vojta 4151d522f475Smrg <vojta@math.berkeley.edu>). 4152d522f475Smrg 4153d522f475Smrg <li>resync with XFree86 4.1.0: 4154d522f475Smrg <ul> 4155d522f475Smrg <li>Use TermcapLibrary as -lncurses instead of -ltermcap, fixes 4156d522f475Smrg problem building xterm/resize on Cygwin/XFree86 (Harold Hunt). 4157d522f475Smrg <li>Install xterm.termcap and xterm.terminfo when installing xterm 4158d522f475Smrg (Torrey T. Lyons). 4159d522f475Smrg <li>Fix some build issues on Cygwin/XFree86 (Suhaib Siddiqi). 4160d522f475Smrg <li>Define CBAUD, when it's missing in xterm, on LynxOS 4161d522f475Smrg (Stuart Lissaman). 4162d522f475Smrg </ul> 4163d522f475Smrg</ul> 4164d522f475Smrg 4165d522f475Smrg<H1><A NAME="xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A></H1> 4166d522f475Smrg<ul> 4167d522f475Smrg <li>change order of selection-target types to make 8-bit xterm prefer 4168d522f475Smrg UTF8_STRING to COMPOUND_TEXT (patch by Juliusz Chroboczek). 4169d522f475Smrg 4170d522f475Smrg <li>document <code>-fa</code>, <code>-fs</code> command-line options 4171d522f475Smrg and <code>faceName</code>, <code>faceSize</code> 4172d522f475Smrg resources which are used by the freetype library support. 4173d522f475Smrg 4174d522f475Smrg <li>if configure script finds freetype libraries, but imake definitions 4175d522f475Smrg do not have the XRENDERFONT definition, define it anyway. 4176d522f475Smrg 4177d522f475Smrg <li>modify configure script check for freetype libraries to include 4178d522f475Smrg <code><Xlib.h></code>, since an older version of the related 4179d522f475Smrg headers relies on this (patch by Adam Sulmicki). 4180d522f475Smrg</ul> 4181d522f475Smrg 4182d522f475Smrg<H1><A NAME="xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A></H1> 4183d522f475Smrg<ul> 4184d522f475Smrg <li>correct return type of in_put() from <a href="#xterm_155">patch #153</a> 4185d522f475Smrg changes, which left it not wide enough for UTF-8 (patch by Bruno Haible). 4186d522f475Smrg</ul> 4187d522f475Smrg 4188d522f475Smrg<H1><A NAME="xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A></H1> 4189d522f475Smrg<ul> 4190d522f475Smrg <li>undo check for return value from <code>pututline</code> (used for 4191d522f475Smrg debugging) since that function does not return a value on Slackware 4192d522f475Smrg 3.6. 4193d522f475Smrg 4194d522f475Smrg <li>correct length in ScreenWrite, when rendering invisible text 4195d522f475Smrg (patch by Sven Verdoolaege <skimo@kotnet.org>). 4196d522f475Smrg 4197d522f475Smrg <li>fixes/improvements for the <code>i18nSelection</code> resource 4198d522f475Smrg from patch #153, by Bruno Haible: 4199d522f475Smrg 4200d522f475Smrg <ul> 4201d522f475Smrg <li>add missing initialization for <code>i18nSelection</code> 4202d522f475Smrg resource. 4203d522f475Smrg 4204d522f475Smrg <li>split-out the non-ICCM aspect of the 4205d522f475Smrg <code>i18nSelection</code> resource as a new resource, 4206d522f475Smrg <code>brokenSelections</code>. 4207d522f475Smrg </ul> 4208d522f475Smrg 4209d522f475Smrg <li>add configure check for <code><time.h></code> and 4210d522f475Smrg <code><sys/time.h></code>, to allow for Unixware 7, 4211d522f475Smrg which requires both. If the configure script is not used, only 4212d522f475Smrg <code><time.h></code> will be included as before (report 4213d522f475Smrg by Thanh Ma). 4214d522f475Smrg 4215d522f475Smrg <li>fix redefinition of <code>dup2</code>, <code>getutent</code>, 4216d522f475Smrg <code>getutid</code>, <code>getutline</code> and <code>sleep</code> 4217d522f475Smrg functions on Unixware 7 (report by Thanh Ma 4218d522f475Smrg <Thanh.Ma@casi-rusco.com>) 4219d522f475Smrg 4220d522f475Smrg <li>add a fall-back definition for <code>__hpux</code>, which is 4221d522f475Smrg apparently not defined in some compilers on HPUX 11.0 (reported 4222d522f475Smrg by Clint Olsen). 4223d522f475Smrg 4224d522f475Smrg <li>change VAL_INITIAL_ERASE, which is used as a fallback for the 4225d522f475Smrg <code>"kb"</code> termcap string to 8, since that matches the 4226d522f475Smrg xterm terminal description (request by Alexander V Lukyanov). 4227d522f475Smrg 4228d522f475Smrg <li>correct an off-by-one in <code>ClearInLine</code>, which caused 4229d522f475Smrg the erase-characters (ECH) control to display incorrectly 4230d522f475Smrg (patch by Alexander V Lukyanov). 4231d522f475Smrg 4232d522f475Smrg <li>correct escape sequences shown in terminfo for shifted editing 4233d522f475Smrg keys. The modifier code was for the control key rather than 4234d522f475Smrg the shift key. 4235d522f475Smrg</ul> 4236d522f475Smrg 4237d522f475Smrg<H1><A NAME="xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A></H1> 4238d522f475Smrg<ul> 4239d522f475Smrg <li>increase PTYCHARLEN to 8 for os390, add some debugging traces 4240d522f475Smrg for UTMP functions (patch by Paul Gilmartin). 4241d522f475Smrg 4242d522f475Smrg <li>correct an misplaced brace in <code>SelectionReceived()</code> 4243d522f475Smrg (patch by Bruno Haible). 4244d522f475Smrg 4245d522f475Smrg <li>correct an assignment dropped in <code>SelectionReceived()</code> 4246d522f475Smrg which made it not compile for wide-characters combined with debug 4247d522f475Smrg traces. 4248d522f475Smrg 4249d522f475Smrg <li>correct typo, clarify description of 88- and 256-color controls 4250d522f475Smrg (report by Bram Moolenaar). 4251d522f475Smrg 4252d522f475Smrg <li>correct a typo in ctlseqs.ms which caused DEC Locator control 4253d522f475Smrg sequences using single quote "'" display grave "`" instead (reported 4254d522f475Smrg by Paul Williams, apparently in patch #114). 4255d522f475Smrg</ul> 4256d522f475Smrg 4257d522f475Smrg<H1><A NAME="xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A></H1> 4258d522f475Smrg<ul> 4259d522f475Smrg <li>correct index in inner loop in <code>VTInitI18N()</code> from 4260d522f475Smrg patch #151 changes, which resulted in infinite loop under some 4261d522f475Smrg conditions (report/analysis by Paul Gilmartin). 4262d522f475Smrg 4263d522f475Smrg <li>remove spurious "%|" from terminfo sgr capabilities 4264d522f475Smrg (report/analysis by Adam M Costello, Debian bug #89222). 4265d522f475Smrg 4266d522f475Smrg <li>add shell script to adjust list of dynamic libraries linked by 4267d522f475Smrg <code>resize</code> when building with the standalone configure 4268d522f475Smrg script. Otherwise it uses the same list as for xterm, which is 4269d522f475Smrg excessive. 4270d522f475Smrg 4271d522f475Smrg <li>fix a few compiler warnings reported by the 20010305 gcc snapshot. 4272d522f475Smrg</ul> 4273d522f475Smrg 4274d522f475Smrg<H1><A NAME="xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A></H1> 4275d522f475Smrg<ul> 4276d522f475Smrg <li>patch from Juliusz Chroboczek <jch@pps.jussieu.fr> which 4277d522f475Smrg alters the behaviour of selections in XTerm. 4278d522f475Smrg It is believed to follow the ICCCM + UTF8_STRING to the letter, both 4279d522f475Smrg in UTF-8 and in eight-bit mode. From his description: 4280d522f475Smrg <ul> 4281d522f475Smrg <li>When compiled against XFree86 4.0.2, the patched XTerm will make 4282d522f475Smrg the selection available as COMPOUND_TEXT, STRING or UTF8_STRING in 4283d522f475Smrg both modes. It will request selections in the following order: 4284d522f475Smrg <p> 4285d522f475Smrg UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, STRING.<br> 4286d522f475Smrg eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, STRING. 4287d522f475Smrg 4288d522f475Smrg <li>When compiled against an earlier version of XFree86 (or compiled with 4289d522f475Smrg OPT_UTF8_API=0), it will still obey the ICCCM, but will neither 4290d522f475Smrg request nor provide UTF8_STRING in eight-bit mode, and neither TEXT 4291d522f475Smrg nor COMPOUND_TEXT in UTF-8 mode. 4292d522f475Smrg <li>For compatibility with previous versions of XTerm, a resource 4293d522f475Smrg <code>i18nSelections</code> is provided, please see the manpage for 4294d522f475Smrg details. However, due to an unexpected combination of ICCCM 4295d522f475Smrg extensions by various bits and pieces of the libraries, interacting 4296d522f475Smrg with previous versions of XTerm will work in many locales even 4297d522f475Smrg without this flag. (Please do not set this resource to true by 4298d522f475Smrg default, as this would violate the ICCCM.) 4299d522f475Smrg </ul> 4300d522f475Smrg 4301d522f475Smrg <li>improved error checking/reporting in VTInitI18N(), ensuring that 4302d522f475Smrg lack of input method styles is treated distinctly from a mismatch. 4303d522f475Smrg 4304d522f475Smrg <li>remove an incorrect ifdef from patch #141 which suppressed 4305d522f475Smrg overstriking to simulate bold font when xterm was compiled to support 4306d522f475Smrg wide characters (report/analysis by Adam M Costello 4307d522f475Smrg <amc@cs.berkeley.edu>, fixes Debian bugs #76404, #77575). 4308d522f475Smrg 4309d522f475Smrg <li>modify <code>RequestResize()</code> function to save/restore window 4310d522f475Smrg manager hints. Its call to <code>XtMakeResizeRequest()</code> had 4311d522f475Smrg the undesirable side-effect of clearing window manager hints, e.g., 4312d522f475Smrg when switching to 132-columns via DECCOLM escape sequence. Window 4313d522f475Smrg manager hints make it simple to resize xterm in terms of character 4314d522f475Smrg cells rather than pixels (reported by Christian Weisgerber as well 4315d522f475Smrg as Debian bug #79939). 4316d522f475Smrg <p> 4317d522f475Smrg This applies to the normal configuration. When built with toolbar 4318d522f475Smrg support, the hints are applied to a different widget level (more 4319d522f475Smrg work will be needed to make hints work with the toolbar). 4320d522f475Smrg 4321d522f475Smrg <li>fix a redefinition warning for resize.c on OpenBSD (patch by 4322d522f475Smrg Christian Weisgerber). 4323d522f475Smrg 4324d522f475Smrg <li>change resource corresponding to <code>-T</code> option to match 4325d522f475Smrg Xt library's <code>-title</code>, i.e., <code>.title</code> 4326d522f475Smrg rather than <code>*title</code> so the command-line options are 4327d522f475Smrg interchangeable as documented (Debian bug report #68843). 4328d522f475Smrg 4329d522f475Smrg <li>add script used from autoconf'd makefile for installing manpages, 4330d522f475Smrg since recent XFree86 changing the way section numbers are represented 4331d522f475Smrg makes the install dependent on extra scripts. 4332d522f475Smrg 4333d522f475Smrg <li>add configure check for freetype libraries and configure option 4334d522f475Smrg --disable-freetype to override this feature. 4335d522f475Smrg 4336d522f475Smrg <li>modify some configure script macros to avoid using changequote(), 4337d522f475Smrg which has been rendered useless in the latest autoconf alpha 2.49c 4338d522f475Smrg 4339d522f475Smrg <li>update config.guess, config.sub to 2001-2-13 4340d522f475Smrg 4341d522f475Smrg <li>remove redundant/contradictory __CYGWIN__ definitions from resize.c 4342d522f475Smrg 4343d522f475Smrg <li>correct manpage typo introduced by X11R6.5 resync. 4344d522f475Smrg</ul> 4345d522f475Smrg Changes from XFree86 4.0.2: 4346d522f475Smrg<ul> 4347d522f475Smrg <li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris to 4348d522f475Smrg make this compile with <code>gcc -ansi -pedantic</code> (report 4349d522f475Smrg by <mark@zang.com>. 4350d522f475Smrg</ul> 4351d522f475Smrg 4352d522f475Smrg<H1><A NAME="xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A></H1> 4353d522f475Smrg<ul> 4354d522f475Smrg <li>move the binding for shifted keypad plus/minus, which invokes the 4355d522f475Smrg <code>larger-vt-font()</code> and <code>smaller-vt-font()</code> 4356d522f475Smrg actions, respectively, into the translations resource (suggested by 4357d522f475Smrg Marius Gedminas <mgedmin@puni.osf.lt>). 4358d522f475Smrg 4359d522f475Smrg <li>modify configure script to support the 4360d522f475Smrg <code>--program-prefix</code>, <code>--program-suffix</code> and 4361d522f475Smrg <code>--program-transform-name</code> options (request by Alison 4362d522f475Smrg Winters <alison@mirrabooka.com>). 4363d522f475Smrg 4364d522f475Smrg <li>patch from Robert Brady 4365d522f475Smrg <ul> 4366d522f475Smrg <li>fix a scrolling / combining characters display anomaly 4367d522f475Smrg 4368d522f475Smrg <li>fix a problem with double-width characters where if the primary 4369d522f475Smrg font had no box-drawing characters, the right hand half of 4370d522f475Smrg double-width characters was erased (reported by Yao Zhang 4371d522f475Smrg <yzhang@sharemedia.com>). 4372d522f475Smrg 4373d522f475Smrg <li>fix special case of null byte for key handling in UTF-8 locales. 4374d522f475Smrg </ul> 4375d522f475Smrg 4376d522f475Smrg <li>modify logic that compares sizes of normal and bold fonts to be 4377d522f475Smrg more forgiving of the font server's choice of bold font which must 4378d522f475Smrg match the normal font's size. Now <code>same_font_size()</code> 4379d522f475Smrg compares the height of the fonts rather than individually ascent and 4380d522f475Smrg descent, and allows the bold font to be one pixel smaller than the 4381d522f475Smrg normal font (addresses a report by Alan Citterman 4382d522f475Smrg <alan@mticket.com>, who says that something in patches #146 to 4383d522f475Smrg #148 made xterm more likely to overstrike bold fonts, and indirectly 4384d522f475Smrg Debian bug report #76404, which reports the opposite). 4385d522f475Smrg 4386d522f475Smrg <li>make configure script use $CFLAGS and $CPPFLAGS consistently, 4387d522f475Smrg including removing a chunk from configure.in which attempted to 4388d522f475Smrg save/restore $CPPFLAGS while processing value set by the --x-includes 4389d522f475Smrg option, but lost values set in an intervening AC_CHECK_HEADERS. This 4390d522f475Smrg change modifies macros CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and 4391d522f475Smrg CF_X_TOOLKIT, as well as removing variables IMAKE_CFLAGS and X_CFLAGS 4392d522f475Smrg from the generated makefile (the AC_CHECK_HEADERS problem was 4393d522f475Smrg reported by Albert Chin-A-Young <china@thewrittenword.com<). 4394d522f475Smrg 4395d522f475Smrg <li>correct a comparison in SELECTWORD case of ComputeSelect(), which 4396d522f475Smrg resulted in a word-selection wrapping past the first column without 4397d522f475Smrg checking the first column's character class (reported by Christian 4398d522f475Smrg Lacunza <celacunza@netscape.net> 4399d522f475Smrg 4400d522f475Smrg <li>correct a logic in UTF-8 mode for selecting double-width characters; 4401d522f475Smrg a combining character was omitted (patch by Markus Kuhn). 4402d522f475Smrg 4403d522f475Smrg <li>add feature to pop (raise) window when a bell is received 4404d522f475Smrg (patch by Gael Roualland <gael.roualland@dial.oleane.com>). 4405d522f475Smrg 4406d522f475Smrg <li>add __NetBSD__ and __OpenBSD__ to special-case in xterm_io.h 4407d522f475Smrg for USE_POSIX_TERMIOS definition (patch by Christian Weisgerber). 4408d522f475Smrg 4409d522f475Smrg <li>move special-case HPUX include for <sys/bsdtty.h> to 4410d522f475Smrg xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for HPUX 4411d522f475Smrg 10.20 (report by Bruno Betro). 4412d522f475Smrg</ul> 4413d522f475Smrg 4414d522f475Smrg<H1><A NAME="xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A></H1> 4415d522f475Smrg<ul> 4416d522f475Smrg <li>restructured includes for <code>termios.h</code>, 4417d522f475Smrg <code>termio.h</code> and related definitions for main.c, os2main.c, 4418d522f475Smrg screen.c and resize.c so they will share equivalent definitions in a 4419d522f475Smrg new header <code>xterm_io.h</code>. This is intended to solve some 4420d522f475Smrg problems mainly for HPUX which appear to arise from inconsistent 4421d522f475Smrg definitions for SIGWINCH- and HAS_LTCHARS-related symbols (reports 4422d522f475Smrg by Bruno Betro, Jeremie Petit and Clint Olsen). 4423d522f475Smrg 4424d522f475Smrg <li>improve usability of double-width fonts by allowing normal fonts 4425d522f475Smrg to be given as double-width (from a patch by Fabrice Bellard 4426d522f475Smrg <bellard@email.enst.fr>). 4427d522f475Smrg 4428d522f475Smrg <li>correct a few compiler warnings in TRACE() macros for 4429d522f475Smrg signed/unsigned variable differences (reported by Clint Olsen). 4430d522f475Smrg 4431d522f475Smrg <li>make configure script use $CFLAGS and $CPPFLAGS more consistently, 4432d522f475Smrg i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC macro. 4433d522f475Smrg 4434d522f475Smrg <li>expanded description of environment variables in manual-page. 4435d522f475Smrg 4436d522f475Smrg <li>modify OPT_TCAP_QUERY feature to always return the termcap or 4437d522f475Smrg terminfo capability string in the response, and to read/write the 4438d522f475Smrg names in hexadecimal form to allow for the special case of termcap's 4439d522f475Smrg <code>k;</code> name (patch by Bram Moolenaar). 4440d522f475Smrg 4441d522f475Smrg <li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so the 4442d522f475Smrg corresponding configure options work (patch by Bram Moolenaar). 4443d522f475Smrg 4444d522f475Smrg <li>resync with XFree86 4.0.1g: 4445d522f475Smrg <ul> 4446d522f475Smrg <li>Rewrite Xft library for Render extension/core text and font management 4447d522f475Smrg Change xterm to use new interface (Keith Packard). 4448d522f475Smrg </ul> 4449d522f475Smrg</ul> 4450d522f475Smrg 4451d522f475Smrg<H1><A NAME="xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A></H1> 4452d522f475Smrg<ul> 4453d522f475Smrg <li>document logfile options in man-page. 4454d522f475Smrg 4455d522f475Smrg <li>correct spelling of <code>-samename</code> option in help message. 4456d522f475Smrg 4457d522f475Smrg <li>add configure script option <code>--enable-tcap-query</code> 4458d522f475Smrg (request by Bram Moolenaar). 4459d522f475Smrg 4460d522f475Smrg <li>patch by Bram Moolenaar to add a 4461d522f475Smrg "Co" or "colors" entry to the OPT_TCAP_QUERY feature. 4462d522f475Smrg <li>patch by Kiyokazu SUTO <suto@ks-and-ks.ne.jp>: 4463d522f475Smrg <ul> 4464d522f475Smrg <li>add support for bold font for double width characters. 4465d522f475Smrg The font name may be specified with the command line option 4466d522f475Smrg <code>-fwb</code> or with resource 4467d522f475Smrg <code>wideBoldFont</code> (class <code>WideBoldFont</code>). 4468d522f475Smrg <li>correct underlining of double width character string, which 4469d522f475Smrg was drawn only half width. 4470d522f475Smrg <li>correct binary search of precomposed character table, which 4471d522f475Smrg may return wrong result when <code>int</code> is just 32 bits. 4472d522f475Smrg </ul> 4473d522f475Smrg 4474d522f475Smrg <li>some changes to align terminfo with ncurses 5.2: 4475d522f475Smrg <ul> 4476d522f475Smrg <li>remove xtermm description, retaining xterm-mono since the former 4477d522f475Smrg conflicts with ncurses. 4478d522f475Smrg <li>modify initialization and reset strings to avoid putting the 4479d522f475Smrg save/restore cursor operations bracketing changes to video 4480d522f475Smrg attributes, since the changes could be lost when the cursor is 4481d522f475Smrg restored. This affects xterm-r6 and xterm-8bit (the xterm-xfree86 4482d522f475Smrg entry uses the soft-reset feature which resets scrolling margins 4483d522f475Smrg and origin mode without requiring us to save/restore the cursor 4484d522f475Smrg position). 4485d522f475Smrg <li>make a few entries explicitly inherit from xterm-xfree86 rather 4486d522f475Smrg than xterm: xterm-rep, xterm-xmc, xterm-nrc 4487d522f475Smrg </ul> 4488d522f475Smrg 4489d522f475Smrg <li>ensure that sign-extension does not affect <code>ctype</code> 4490d522f475Smrg macros by using <code>CharOf()</code> macro to coerce the parameter 4491d522f475Smrg to an unsigned char. 4492d522f475Smrg 4493d522f475Smrg <li>resync with XFree86 4.0.1d: 4494d522f475Smrg <ul> 4495d522f475Smrg <li>Add primitive support in xterm for Xft based fonts (Keith Packard). 4496d522f475Smrg The changes are ifdef'd with <code>-DXRENDERFONT</code>. 4497d522f475Smrg </ul> 4498d522f475Smrg</ul> 4499d522f475Smrg 4500d522f475Smrg<H1><A NAME="xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A></H1> 4501d522f475Smrg<ul> 4502d522f475Smrg <li>correct implementation of <code>ptyInitialErase</code>: the 4503d522f475Smrg value assigned to <code>initial_erase</code> was for the control 4504d522f475Smrg terminal, which is correct as far as it goes. But there was no 4505d522f475Smrg following test for the pseudo-terminal's erase value, which would 4506d522f475Smrg overwrite the default obtained from the control terminal 4507d522f475Smrg (reported by Christian Weisgerber <naddy@mips.inka.de>). 4508d522f475Smrg 4509d522f475Smrg <li>modify check for printable-characters in OSC string to use xterm's 4510d522f475Smrg ansi_table rather than isprint() macro, to isolate this check from 4511d522f475Smrg locale settings. This fixes a problem using 8-bit characters to 4512d522f475Smrg set the title (reported by Ricardas Cepas <rch@richard.eu.org>). 4513d522f475Smrg 4514d522f475Smrg <li>modify sample scripts to check for printf before print, since the 4515d522f475Smrg latter is not as well standardized (e.g., on Linux). 4516d522f475Smrg 4517d522f475Smrg <li>updated config.sub, config.guess to reflect changes on 4518d522f475Smrg subversions.gnu.org 4519d522f475Smrg</ul> 4520d522f475Smrg 4521d522f475Smrg<H1><A NAME="xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A></H1> 4522d522f475Smrg<ul> 4523d522f475Smrg <li>correct two instances overlooked from patch #141 which assumed 4524d522f475Smrg UTF-8 mode without checking, causing a core dump in non-UTF-8 mode 4525d522f475Smrg (one instance was reported by Tommi Virtanen <tv@debian.org>). 4526d522f475Smrg 4527d522f475Smrg <li>correct a problem selecting from the scrollback buffer in UTF-8 4528d522f475Smrg mode by changing remaining getXtermCell() calls to XTERM_CELL() as in 4529d522f475Smrg the non-UTF-8 cases (report by Markus Kuhn, patch by Robert Brady). 4530d522f475Smrg</ul> 4531d522f475Smrg 4532d522f475Smrg<H1><A NAME="xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A></H1> 4533d522f475Smrg<ul> 4534d522f475Smrg <li>several changes from Robert Brady for UTF-8 configuration: 4535d522f475Smrg <ul> 4536d522f475Smrg <li>doublewide characters don't lose their accents when the cursor 4537d522f475Smrg moves onto or from them (a visual bug) 4538d522f475Smrg 4539d522f475Smrg <li>fix logic in addXtermCombining, which mean that if the low byte 4540d522f475Smrg of a cell's first combining char was 0, a following combining char 4541d522f475Smrg would go into combining slot 1, not 2. 4542d522f475Smrg 4543d522f475Smrg <li>modify logic for cut-buffers so UTF-8 data is first converted 4544d522f475Smrg to Latin1. 4545d522f475Smrg 4546d522f475Smrg <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL. 4547d522f475Smrg 4548d522f475Smrg <li>modify to allow xterm to to show combining characters 4549d522f475Smrg attached to doublewidth characters. 4550d522f475Smrg 4551d522f475Smrg <li>correct bug in linewrap with -u8 option (reported by 4552d522f475Smrg Andreas Koenig <andreas.koenig@anima.de>). 4553d522f475Smrg </ul> 4554d522f475Smrg 4555d522f475Smrg <li>several changes to PTY logic (based on request by Tim Ryan 4556d522f475Smrg <timryan@nortelnetworks.com>). 4557d522f475Smrg <ul> 4558d522f475Smrg <li>modify treatment of <code>-S</code> option to to make it work with 4559d522f475Smrg Unix98 PTY's. 4560d522f475Smrg 4561d522f475Smrg <li>restore sense of IsPts flag in <code>get_pty()</code>, which was 4562d522f475Smrg lost in Unix98 changes. 4563d522f475Smrg 4564d522f475Smrg <li>use new functions <code>my_pty_id()</code> and 4565d522f475Smrg <code>my_pty_name()</code> to simplify/fix strings used for utmp, 4566d522f475Smrg wtmp identifiers. 4567d522f475Smrg 4568d522f475Smrg <li>simplify <code>get_pty()</code> function, making it have a single 4569d522f475Smrg return point so its inputs/outputs can be identified. 4570d522f475Smrg </ul> 4571d522f475Smrg 4572d522f475Smrg <li>update config.guess and config.sub and scripts to my 20000819 patch, 4573d522f475Smrg adding cases for OS/2 EMX. 4574d522f475Smrg 4575d522f475Smrg <li>add special case for os390 compiler options to configure script 4576d522f475Smrg (patch by Paul Gilmartin) 4577d522f475Smrg 4578d522f475Smrg <li>fix some unused-variable compiler warnings (reported by 4579d522f475Smrg Zdenek Sekera). 4580d522f475Smrg 4581d522f475Smrg <li>split-out some string functions into xstrings.c, to use them 4582d522f475Smrg more consistently among main.c, os2main.c and resize.c 4583d522f475Smrg 4584d522f475Smrg <li>align termcap/terminfo files, adding entries to make them match. 4585d522f475Smrg The termcap entries are necessarily less complete than the terminfo, 4586d522f475Smrg to fit within 1023 character per entry. 4587d522f475Smrg 4588d522f475Smrg <li>add terminfo entry for xterm-sco (SCO function keys). 4589d522f475Smrg 4590d522f475Smrg <li>modify <code>same_font_name()</code> to properly handle wildcard 4591d522f475Smrg introduced in <code>bold_font_name()</code>, making comparison for 4592d522f475Smrg different fonts succeed when only the normal font is specified. This 4593d522f475Smrg is needed to decide if 1-pixel offset should be used. (reported 4594d522f475Smrg in a newsgroup by Bart Oldeman <enbeo@enbeo.resnet.bris.ac.uk>) 4595d522f475Smrg 4596d522f475Smrg <li>correct preprocessor line for OPT_WIDE_CHARS in drawXtermText() 4597d522f475Smrg from patch #141 which resulted in overstriking for bold fonts not 4598d522f475Smrg working. 4599d522f475Smrg 4600d522f475Smrg <li>correct Imakefile from 4.0.1c resync so UTF-8 modules are in 4601d522f475Smrg UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 support. 4602d522f475Smrg</ul> 4603d522f475Smrg 4604d522f475Smrg<H1><A NAME="xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A></H1> 4605d522f475Smrg<ul> 4606d522f475Smrg <li>remove a spurious assignment in ScreenWrite() from Robert Brady's 4607d522f475Smrg patch which set a null at the "end" of the buffer to be written. 4608d522f475Smrg That made the autowrap feature write a blank in the first column for 4609d522f475Smrg the non-UTF-8 configuration, rather than the actual character 4610d522f475Smrg (reported by Alan Citterman <alan@mticket.com>). 4611d522f475Smrg</ul> 4612d522f475Smrg 4613d522f475Smrg<H1><A NAME="xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A></H1> 4614d522f475Smrg<ul> 4615d522f475Smrg <li>add a check to ensure that <code>-class</code> command-line option 4616d522f475Smrg is not confused with <code>-c</code> (reported by Paul Townsend 4617d522f475Smrg <aab@aab.cc.purdue.edu>). 4618d522f475Smrg</ul> 4619d522f475Smrg 4620d522f475Smrg<H1><A NAME="xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A></H1> 4621d522f475Smrg<ul> 4622d522f475Smrg <li>correction to precompose scripts, so 0061 + 0300 will now be really 4623d522f475Smrg be displayed as 00C0 (patch by Robert Brady 4624d522f475Smrg <robert@susu.org.uk>). 4625d522f475Smrg 4626d522f475Smrg <li>correct macro ClassSelects() in button.c, used to hide ifdef's for 4627d522f475Smrg OPT_WIDE_CHARS in patch #141 (reported by Andreas Paul 4628d522f475Smrg <paula@informatik.tu-muenchen.de>). 4629d522f475Smrg 4630d522f475Smrg <li>change wcwidth.h to include stddef.h rather than wchar.h, which is 4631d522f475Smrg not present on OpenBSD and FreeBSD (reported by Christian 4632d522f475Smrg Weisgerber and Bram Moolenaar). 4633d522f475Smrg 4634d522f475Smrg <li>newer config.sub and config.guess, from lynx 2.8.4dev.7 4635d522f475Smrg</ul> 4636d522f475Smrg 4637d522f475Smrg<H1><A NAME="xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A></H1> 4638d522f475Smrg<ul> 4639d522f475Smrg <li>Most of this patch is an integration of Robert Brady's patch #11 4640d522f475Smrg for doublewidth and combining characters, from 4641d522f475Smrg http://www.ecs.soton.ac.uk/~rwb197/xterm/. In this context, 4642d522f475Smrg doublewidth refers to 16-bit character sets which may have glyphs 4643d522f475Smrg occupying two cells. 4644d522f475Smrg 4645d522f475Smrg <li>add command-line option <code>-class</code>, which allows one 4646d522f475Smrg to override xterm's resource class. Also add resource file 4647d522f475Smrg <code>UXTerm.ad</code>, which simplifies using xterm for both 4648d522f475Smrg 8-bit character sets and UTF-8. 4649d522f475Smrg 4650d522f475Smrg <li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram 4651d522f475Smrg Moolenaar, Steve Wall). 4652d522f475Smrg</ul> 4653d522f475Smrg 4654d522f475Smrg<H1><A NAME="xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A></H1> 4655d522f475Smrg<ul> 4656d522f475Smrg <li>modify Makefile.in to circumvent GNU make's built-in suffix rule 4657d522f475Smrg for ".sh" which confuses install.sh with the "make install" target 4658d522f475Smrg (report/patch by Paul Gilmartin). 4659d522f475Smrg 4660d522f475Smrg <li>implement an experimental control sequence which an application may 4661d522f475Smrg use to query the terminal to determine what sequence of characters it 4662d522f475Smrg would send for a given function key. This is ifdef'd with 4663d522f475Smrg OPT_TCAP_QUERY (request by Bram Moolenaar). 4664d522f475Smrg 4665d522f475Smrg <li>add /usr/local to search path in CF_X_ATHENA configure macro 4666d522f475Smrg to build with Xaw3d on OpenBSD (patch by Christian Weisgerber). 4667d522f475Smrg 4668d522f475Smrg <li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to 4669d522f475Smrg xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate (report 4670d522f475Smrg by Alain Filbois <Alain.Filbois@loria.fr>). 4671d522f475Smrg 4672d522f475Smrg <li>correct a few errors in xterm.man: font in filename example for 4673d522f475Smrg Tektronix emulation, and description of -nul/+nul command-line 4674d522f475Smrg options (report by Eric Fischer <enf@pobox.com>). 4675d522f475Smrg 4676d522f475Smrg <li>update config.guess and config.sub (from tin and lynx) 4677d522f475Smrg</ul> 4678d522f475Smrg 4679d522f475Smrg<H1><A NAME="xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A></H1> 4680d522f475Smrg<ul> 4681d522f475Smrg <li>back out change to <code>-name</code> command-line option, 4682d522f475Smrg restoring its original behavior (as noted by David Madore, the 4683d522f475Smrg correct interpretation of this option is the application instance 4684d522f475Smrg rather than the application class). 4685d522f475Smrg</ul> 4686d522f475Smrg 4687d522f475Smrg<H1><A NAME="xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A></H1> 4688d522f475Smrg<ul> 4689d522f475Smrg <li>workaround for fixed fonts which are generated from Unicode fonts: 4690d522f475Smrg they omit glyphs for some xterm's less-used line-drawing characters, 4691d522f475Smrg which caused xterm to set a flag telling it to use only its internal 4692d522f475Smrg line-drawing characters. Do not set the flag (it can be set from the 4693d522f475Smrg popup menu), and xterm will generate only the line-drawing glyphs 4694d522f475Smrg which actually are missing. 4695d522f475Smrg <br> 4696d522f475Smrg Otherwise, when used for large fonts, xterm may generate a 2-pixel 4697d522f475Smrg wide line, which can leave dots on the screen. 4698d522f475Smrg 4699d522f475Smrg <li>restore first line of 256colres.pl, omitted in 4.0c diffs. 4700d522f475Smrg</ul> 4701d522f475Smrg<H1><A NAME="xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A></H1> 4702d522f475Smrg<ul> 4703d522f475Smrg <li>make command-line <code>-name</code> option work as documented. 4704d522f475Smrg Apparently this was lost in X11R5 when coding to use 4705d522f475Smrg <code>XtAppInitialize</code>. 4706d522f475Smrg 4707d522f475Smrg <li>limit numeric parameters of control sequences to 65535 to 4708d522f475Smrg simplify checks for numeric overflow. 4709d522f475Smrg 4710d522f475Smrg <li>change index into UDK list to unsigned to guard against numeric 4711d522f475Smrg overflow making the index negative (Taneli Huuskonen 4712d522f475Smrg <huuskone@cc.helsinki.fi>). 4713d522f475Smrg 4714d522f475Smrg <li>change <code>sun function-keys</code> resource name to 4715d522f475Smrg <code>sunFunctionKeys</code> to work around redefinition of the 4716d522f475Smrg token <code>sun</code> by xrdb on Solaris. Similarly, renamed 4717d522f475Smrg resource <code>sun keyboard</code> to <code>sunKeyboard</code> 4718d522f475Smrg (Steve Wall). 4719d522f475Smrg 4720d522f475Smrg <li>change similar resource names for HP and SCO to avoid potential 4721d522f475Smrg conflict with xrdb symbols on other systems, as well as for 4722d522f475Smrg consistency. 4723d522f475Smrg 4724d522f475Smrg <li>reorganized the install targets in the autoconf'd Makefile, adding 4725d522f475Smrg install-app, install-bin, install-dirs and install-man. The 4726d522f475Smrg app-defaults class can be overridden by setting the make variable 4727d522f475Smrg 'CLASS', simplifying customization of xterm as a Unicode terminal, 4728d522f475Smrg e.g., CLASS=UXTerm. 4729d522f475Smrg 4730d522f475Smrg <li>add limit checks to <code>ClearInLine()</code>, 4731d522f475Smrg <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to 4732d522f475Smrg correct potential out-of-bounds indexing (prompted by Debian bug 4733d522f475Smrg report #64713, which reported a problem with ICH escape sequences). 4734d522f475Smrg 4735d522f475Smrg <li>updates to config.sub and config.guess 4736d522f475Smrg Kevin Buettner <kev@primenet.com> for elf64_ia64 4737d522f475Smrg Bernd Kuemmerlen <bkuemmer@mevis.de> and MacOS X. 4738d522f475Smrg 4739d522f475Smrg <li>patch from Paul Gilmartin for os390 to check for errno set to 4740d522f475Smrg ENODEV on failure to open /dev/tty when there is no controlling 4741d522f475Smrg terminal. 4742d522f475Smrg 4743d522f475Smrg <li>patch from H Merijn Brand <h.m.brand@hccnet.nl> for 4744d522f475Smrg building on Digital Unix 4.0 and AIX 4.2. 4745d522f475Smrg 4746d522f475Smrg <li>modify DECRQSS reply for DECSCL to additionally report if the 4747d522f475Smrg terminal is set for 8-bit controls. 4748d522f475Smrg</ul> 4749d522f475Smrg 4750d522f475Smrg<H1><A NAME="xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A></H1> 4751d522f475Smrg<ul> 4752d522f475Smrg <li>add a resource (<code>limitResize</code>) 4753d522f475Smrg limiting resizing via the CSI 4 t and CSI 8 t sequences. 4754d522f475Smrg 4755d522f475Smrg <li>ignore out-of-bounds resize requests, i.e., where sign-extension 4756d522f475Smrg or truncation of the parameters would occur. 4757d522f475Smrg</ul> 4758d522f475Smrg 4759d522f475Smrg<H1><A NAME="xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A></H1> 4760d522f475Smrg<ul> 4761d522f475Smrg <li>remove code introduced in #134 which made some backgrounds bold. 4762d522f475Smrg 4763d522f475Smrg <li>minor correction to format of updated $TERMCAP when adding 4764d522f475Smrg <code>kb</code> capability for <code>ptyInitialErase</code> logic. 4765d522f475Smrg 4766d522f475Smrg <li>improved test for SVR4 definition. 4767d522f475Smrg</ul> 4768d522f475Smrg 4769d522f475Smrg<H1><A NAME="xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A></H1> 4770d522f475Smrg<ul> 4771d522f475Smrg <li>update URL's and mailing addresses, moved to http://dickey.his.com 4772d522f475Smrg and dickey@herndon4.his.com 4773d522f475Smrg 4774d522f475Smrg <li>correct missing quotes in CF_TTY_GROUP configure script macro in 4775d522f475Smrg case the script is run in batch mode. 4776d522f475Smrg 4777d522f475Smrg <li>modify ownership-check of log file to ignore the group ownership. 4778d522f475Smrg Otherwise xterm cannot create logfiles in directories with set-gid 4779d522f475Smrg permissions. 4780d522f475Smrg 4781d522f475Smrg <li>simplify the logic that reads termcap data. 4782d522f475Smrg 4783d522f475Smrg <li>add fallback definition for B9600 in case line speed definition 4784d522f475Smrg for 38400 is missing (report by Jack J Woehr <jwoehr@ibm.net>, 4785d522f475Smrg for OpenBSD 2.6). 4786d522f475Smrg 4787d522f475Smrg <li>fix: Set highlightColor, and select a region containing the text 4788d522f475Smrg cursor. If the window loses focus, the cursor becomes hollow, with 4789d522f475Smrg the region inside the cursor being background/foreground, unlike the 4790d522f475Smrg rest of the selection, which is foreground/highlight 4791d522f475Smrg (patch by Ross Paterson <ross@soi.city.ac.uk>). 4792d522f475Smrg 4793d522f475Smrg <li>add configure script tests to define SVR4, SYSV and USE_POSIX_WAIT, 4794d522f475Smrg which enables xterm to compile on Solaris 7 and SCO Openserver 4795d522f475Smrg without imake, though there are still a few features for the latter 4796d522f475Smrg which require <code>sco</code> to be predefined. 4797d522f475Smrg 4798d522f475Smrg <li>patches from Steve Wall: 4799d522f475Smrg <ul> 4800d522f475Smrg <li>add support for two Sun-specific function keys. These keys are 4801d522f475Smrg labeled F11 and F12 on Sun Type 5 keyboards, but return SunXK_F36 and 4802d522f475Smrg SunXK_F37. Support will only be compiled in if the header file 4803d522f475Smrg <X11/Sunkeysym.h> exists and contains the appropriate symbol 4804d522f475Smrg definitions. The keycodes for the DEC keycodes were arbitrary unused 4805d522f475Smrg codes, but the ones for the Sun keycodes are what cmdtool and 4806d522f475Smrg shelltool actually send. 4807d522f475Smrg 4808d522f475Smrg <li>add <code>colorRV</code> and <code>colorRVMode</code> resources to 4809d522f475Smrg allow specifying a color to use for reverse video, similar to the 4810d522f475Smrg existing UL, BD, and BL modes. 4811d522f475Smrg 4812d522f475Smrg <li>add <code>alwaysUseMods</code> resource, to override check if 4813d522f475Smrg <code>alt</code> or <code>meta</code> modifiers are used in 4814d522f475Smrg <code>translations</code> resource. Revamped the code to calculate 4815d522f475Smrg the modifier value, and included Meta if alwaysUseMods is TRUE, using 4816d522f475Smrg values 9-16. 4817d522f475Smrg </ul> 4818d522f475Smrg 4819d522f475Smrg <li>patches from Paul Gilmartin for os390: 4820d522f475Smrg <ul> 4821d522f475Smrg <li>regularize the definition of CONTROL() and remove an 4822d522f475Smrg acknowledged "trial and error" table. 4823d522f475Smrg 4824d522f475Smrg <li>translate "^?" into A2E(0177) which is the EBCDIC "DEL" 4825d522f475Smrg rather than plain 0177 which is the EBCDIC quotation mark. 4826d522f475Smrg 4827d522f475Smrg <li>modify <code>xtermMissingChar()</code> so that EBCDIC codes 128-159 4828d522f475Smrg are not rendered as blanks by X server running on Solaris, which sees 4829d522f475Smrg those as control characters. 4830d522f475Smrg 4831d522f475Smrg <li>make debugging traces (configure --enable-trace) 4832d522f475Smrg work properly with EBCDIC. 4833d522f475Smrg </ul> 4834d522f475Smrg</ul> 4835d522f475Smrg 4836d522f475Smrg<H1><A NAME="xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A></H1> 4837d522f475Smrg<ul> 4838d522f475Smrg <li>add substitutions in autoconf'd Makefile for CPPFLAGS, LDFLAGS and 4839d522f475Smrg AWK (reported by Neil Bird). 4840d522f475Smrg 4841d522f475Smrg <li>correct uninitialized <code>childstat</code> variable from patch 4842d522f475Smrg #131 in <code>creat_as()</code> function, which caused logging to not 4843d522f475Smrg work on Solaris, whose <code>waitpid()</code> function does not 4844d522f475Smrg initialize its parameter. Add check for EINTR on return from 4845d522f475Smrg <code>waitpid()</code> as well (reported by Neil Bird 4846d522f475Smrg <neil.bird@rdel.co.uk>). 4847d522f475Smrg 4848d522f475Smrg <li>remove a redundant check for working <code>setuid()</code> function 4849d522f475Smrg introduced in patch #132 (Greg Smith reports that this does not work 4850d522f475Smrg as intended on os390). 4851d522f475Smrg 4852d522f475Smrg <li>change line speed from 9600bd to 38400bd, to accommodate people who 4853d522f475Smrg mistakenly use $TERM set to <em>vt100</em>, to reduce the effect of 4854d522f475Smrg padding associated with this terminal type. 4855d522f475Smrg 4856d522f475Smrg <li>add configure script check for IRIX 6.5's redefinition of baud 4857d522f475Smrg rates associated with <code>struct termio</code>, to correct a 4858d522f475Smrg situation where the baud rate was initialized to zero (reported by 4859d522f475Smrg Andrew Isaacson <adi@lcse.umn.edu>). 4860d522f475Smrg 4861d522f475Smrg <li>remove unused configure script check for VDISABLE. 4862d522f475Smrg</ul> 4863d522f475Smrg 4864d522f475Smrg<H1><A NAME="xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A></H1> 4865d522f475Smrg<ul> 4866d522f475Smrg <li>undo an incorrect change from patch #113 caused the right scrollbar 4867d522f475Smrg to be positioned incorrectly when re-enabling it (analysis by 4868d522f475Smrg D Roland Walker). 4869d522f475Smrg 4870d522f475Smrg <li>add ctrlFKeys resource, replacing constant for adjusting 4871d522f475Smrg control-F1 to control-F12 to VT220-style F10-F20. The resource 4872d522f475Smrg changes the constant 12 to a default value of 10 (request by 4873d522f475Smrg Jim Knoble <jmknoble@pobox.com>). 4874d522f475Smrg 4875d522f475Smrg <li>correct ifdef'ing for conflict between definitions in AIX's 4876d522f475Smrg <sys/select.h> and <X11/Xpoll.h> (reported by Clint 4877d522f475Smrg Olsen). 4878d522f475Smrg 4879d522f475Smrg <li>add checks for return-values of getutid(), initgroups() and 4880d522f475Smrg setuid() in main.c, as well as modifying ifdef's for __osf__ to 4881d522f475Smrg include tty-group and WTMP logic (adapted from patch by Paul Szabo 4882d522f475Smrg <psz@maths.usyd.edu.au>) 4883d522f475Smrg 4884d522f475Smrg <li>modify resize.c to build and work on os390 (uses EBCDIC) 4885d522f475Smrg (adapted from patch by Phil Sidler <Phil.Sidler@airborne.com>) 4886d522f475Smrg 4887d522f475Smrg <li>use Ires(), Bres() and Sres() macros to simplify resource list in 4888d522f475Smrg charproc.c 4889d522f475Smrg 4890d522f475Smrg <li>resync with XFree86 4.0a: 4891d522f475Smrg <ul> 4892d522f475Smrg <li>correct a typo in os2main.c (Holger Veit, from 4.0a). 4893d522f475Smrg </ul> 4894d522f475Smrg</ul> 4895d522f475Smrg 4896d522f475Smrg<H1><A NAME="xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A></H1> 4897d522f475Smrg<ul> 4898d522f475Smrg <li>integrate patch by Branden Robinson for improving logfile 4899d522f475Smrg security: 4900d522f475Smrg <ul> 4901d522f475Smrg <li>make the <code>creat_as()</code> function more strict by using 4902d522f475Smrg O_EXCL rather than O_APPEND. 4903d522f475Smrg <li>fixes to make DEBUG ifdef's compile/run, including making the 4904d522f475Smrg debug logfile more unique by appending a timestamp to its name. 4905d522f475Smrg <li>include <term.h> in resize.c, to fix a missing-prototype 4906d522f475Smrg warning. 4907d522f475Smrg </ul> 4908d522f475Smrg 4909d522f475Smrg <li>modified <code>creat_as()</code> a little more, retaining the 4910d522f475Smrg ability to append to a logfile If the user specifies the name. 4911d522f475Smrg Also, check if the opened file (which patch #130 ensures is 4912d522f475Smrg owned by the effective user) is not writable by other users. 4913d522f475Smrg 4914d522f475Smrg <li>use <code>creat_as()</code> logic to make tek4014 screen-copy 4915d522f475Smrg more secure (noted by Branden Robinson). 4916d522f475Smrg 4917d522f475Smrg <li>ifdef'd some of Branden's changes to build/work on older machines. 4918d522f475Smrg 4919d522f475Smrg <li>correct missing initialization of the <code>.mode</code> flag in 4920d522f475Smrg <code>ColorRes</code> struct, from patch #129. This worked on Linux 4921d522f475Smrg because <code>malloc()</code> zeroes memory on that platform 4922d522f475Smrg (reported by Christian Weisgerber). 4923d522f475Smrg 4924d522f475Smrg <li>modify logic for <code>deleteIsDEL</code> resource so it has 4925d522f475Smrg internally 3 states: unspecified, true and false. If unspecified, 4926d522f475Smrg the keyboard type determines whether the Delete key transmits 4927d522f475Smrg <code><ESC>[3~</code> or <code>\177</code>, and the popup menu 4928d522f475Smrg entry reflects the internal state. Otherwise, the popup menu entry 4929d522f475Smrg overrides the keyboard type (suggested by Dr Werner Fink, to make it 4930d522f475Smrg simpler to set resources that imitate the legacy X11R6 xterm). 4931d522f475Smrg</ul> 4932d522f475Smrg 4933d522f475Smrg<H1><A NAME="xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A></H1> 4934d522f475Smrg<ul> 4935d522f475Smrg <li>modify <code>scroll-forw()</code> and <code>scroll-back()</code> 4936d522f475Smrg actions, adding a third parameter which will direct xterm to ignore 4937d522f475Smrg the action when mouse reporting is enabled. This is needed for 4938d522f475Smrg the wheel mouse to be used to report to the application rather than 4939d522f475Smrg scroll the window. 4940d522f475Smrg 4941d522f475Smrg <li>add menu entry and action to allow disabling xterm's assumption 4942d522f475Smrg that the current font contains line-drawing characters if the 4943d522f475Smrg font cells 1-31 are nonempty. Some fonts may have other characters 4944d522f475Smrg (reported by Bruno Betro <bruno@iami.mi.cnr.it>). 4945d522f475Smrg 4946d522f475Smrg <li>add a check in <code>creat_as()</code> to ensure that the user 4947d522f475Smrg really owns the logfile that has been opened. 4948d522f475Smrg 4949d522f475Smrg <li>add logic to implement SCO function-keys. (This is really 4950d522f475Smrg incomplete, since I intend to revisit this and make xterm able to 4951d522f475Smrg emulate scoansi better than just the function-keys). 4952d522f475Smrg 4953d522f475Smrg <li>add configure script option --enable-sco-fkeys, minor related fixes 4954d522f475Smrg (patch by Dr Werner Fink). 4955d522f475Smrg 4956d522f475Smrg <li>fix typos in ctlseqs.ms (reported by Bram Moolenaar) 4957d522f475Smrg 4958d522f475Smrg <li>fix typo in sinstall.sh default for $TST_PROG (reported by 4959d522f475Smrg Paul Gilmartin <pg@sweng.stortek.com>) 4960d522f475Smrg</ul> 4961d522f475Smrg 4962d522f475Smrg<H1><A NAME="xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A></H1> 4963d522f475Smrg<ul> 4964d522f475Smrg <li>improve initialization of ANSI colors by delaying allocation until 4965d522f475Smrg each color is first used. 4966d522f475Smrg 4967d522f475Smrg <li>remove ifdef that prevented colorBD/colorUL/colorBL resources from 4968d522f475Smrg working when 256-color configuration was built (reported by 4969d522f475Smrg Todd Larason). 4970d522f475Smrg 4971d522f475Smrg <li>fix some minor inconsistencies in terminfo (Debian #58530). 4972d522f475Smrg</ul> 4973d522f475Smrg 4974d522f475Smrg<H1><A NAME="xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A></H1> 4975d522f475Smrg<ul> 4976d522f475Smrg <li>correct logic for <code>oldXtermFKeys</code> resource, fixes a core 4977d522f475Smrg dump when attempting to set it from the command-line (reported by Dr 4978d522f475Smrg Werner Fink). 4979d522f475Smrg <li>correct ifdef for meta-sends-escap so configure --disable-num-lock 4980d522f475Smrg builds. 4981d522f475Smrg</ul> 4982d522f475Smrg 4983d522f475Smrg<H1><A NAME="xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A></H1> 4984d522f475Smrg<ul> 4985d522f475Smrg <li>add resource, popup menu entry and control sequence to allow 4986d522f475Smrg changing the Delete key to send either DEL or the VT220-style 4987d522f475Smrg Remove escape sequence. 4988d522f475Smrg 4989d522f475Smrg <li>remove logic for metaSendsEscape that would allow xterm to send 4990d522f475Smrg <code><ESC>[3~</code> before a function key that would begin 4991d522f475Smrg with <code><ESC>[3~</code> (request by Christian Weisgerber). 4992d522f475Smrg 4993d522f475Smrg <li>add missing action and documentation for meta-sends-escape. 4994d522f475Smrg 4995d522f475Smrg <li>correct a few typos in ctlseqs.ms (incorrect code for Cyan color) 4996d522f475Smrg</ul> 4997d522f475Smrg 4998d522f475Smrg<H1><A NAME="xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A></H1> 4999d522f475Smrg<ul> 5000d522f475Smrg <li>patch by Markus Kuhn: 5001d522f475Smrg ensure that xterm will automatically activate the UTF-8 mode whenever 5002d522f475Smrg the name of the locale environment variable suggests that a UTF-8 5003d522f475Smrg locale is in use. This will help that by simply setting LC_CTYPE an 5004d522f475Smrg entire system can be switched over to UTF-8, without users having to 5005d522f475Smrg remember the UTF-8 command line options ("-u8", etc.) of the various 5006d522f475Smrg applications. Command line options and X resource entries can still 5007d522f475Smrg be used to override this default choice. 5008d522f475Smrg 5009d522f475Smrg <li>add old function-keys control sequences and popup menu entry, for 5010d522f475Smrg compatibility with legacy X11R6 xterm. 5011d522f475Smrg 5012d522f475Smrg <li>revert translation of editing keypad "Delete" key to legacy \177. 5013d522f475Smrg 5014d522f475Smrg <li>simplify the color-resource data expressions with macro COLOR_RES, 5015d522f475Smrg for later use in restructuring color initialization. 5016d522f475Smrg 5017d522f475Smrg <li>change encoding of wheel mouse (buttons 4 and 5) to avoid conflict 5018d522f475Smrg with legacy mouse modifiers (suggested by Bram Moolenaar). 5019d522f475Smrg</ul> 5020d522f475Smrg 5021d522f475Smrg<H1><A NAME="xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A></H1> 5022d522f475Smrg<ul> 5023d522f475Smrg <li>integrate patch by David Mathog 5024d522f475Smrg <mathog@seqaxp.bio.caltech.edu> to make this work on OpenVMS 5025d522f475Smrg 5026d522f475Smrg <li>rename some functions, e.g., <code>Index</code> to 5027d522f475Smrg <code>xtermIndex</code> so that ports such as VMS which link 5028d522f475Smrg externals ignoring case will not have library conflicts (reported by 5029d522f475Smrg David Mathog). 5030d522f475Smrg 5031d522f475Smrg <li>correct logic of <code>do_reversevideo()</code>, which did not 5032d522f475Smrg update the corresponding popup menu check mark (reported by David 5033d522f475Smrg Mathog, this was a detail overlooked in patch #94). 5034d522f475Smrg 5035d522f475Smrg <li>change TRACE macro so semicolon is not within definition, making 5036d522f475Smrg <em>indent</em> and similar programs work better. 5037d522f475Smrg 5038d522f475Smrg <li>add <code>depend</code> rule to Makefile.in 5039d522f475Smrg 5040d522f475Smrg <li>modify logic of boldColors resource to suppress it if an extended 5041d522f475Smrg color control has been used, e.g., for 88-color or 256-color mode 5042d522f475Smrg (patch by Todd Larason). 5043d522f475Smrg 5044d522f475Smrg <li>revise logic that handles menus and input translation for keyboard 5045d522f475Smrg type so only one can be selected at a time. 5046d522f475Smrg 5047d522f475Smrg <li>restore kdch1=\177 for the Sun function-key type, and make the 5048d522f475Smrg the Delete key send DEL (\177) if the oldXtermFKeys resource is set. 5049d522f475Smrg 5050d522f475Smrg <li>rephrase logic and ifdef's for POSIX VDISABLE to avoid preprocessor 5051d522f475Smrg expression that will not compile on NetBSD/x86 1.4.1 (reported by 5052d522f475Smrg Takaaki Nomura <amadeus@yk.rim.or.jp>). 5053d522f475Smrg 5054d522f475Smrg</ul> 5055d522f475Smrg 5056d522f475Smrg<H1><A NAME="xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A></H1> 5057d522f475Smrg<ul> 5058d522f475Smrg <li>change coding of editing keypad's "Delete" key to 5059d522f475Smrg <escape>[3~, in the default (Sun/PC) keyboard mode. 5060d522f475Smrg This makes the terminfo kdch1 capability independent of the 5061d522f475Smrg coding of the backarrow key, which sends either backspace (8) 5062d522f475Smrg or DEL (127). The reason for doing this (compatibility with 5063d522f475Smrg the <em>screen</em> program) outweighs the choice of DEL (127) 5064d522f475Smrg which was used in X11R5/X11R6 xterms. The <em>screen</em> 5065d522f475Smrg program translates whatever matches kdch1 into <escape>[3~, 5066d522f475Smrg even if it happens to be the stty erase character. 5067d522f475Smrg 5068d522f475Smrg <li>add encoding for control/?, to work around xmodmap or key 5069d522f475Smrg translations which may confuse backspace and delete. A control/? 5070d522f475Smrg will send DEL (127), and a control/H will of course send backspace 5071d522f475Smrg (8). 5072d522f475Smrg 5073d522f475Smrg <li>add encoding for kcbt to <escape>[Z (fixes Debian #54840). 5074d522f475Smrg 5075d522f475Smrg <li>minor correction to logic that encodes Sun and DEC function keys 5076d522f475Smrg to avoid sending an escape sequence if the key symbol is not found 5077d522f475Smrg in xterm's lookup table. 5078d522f475Smrg 5079d522f475Smrg <li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern 5080d522f475Smrg is more likely to be implemented when <em>imake</em> configures xterm 5081d522f475Smrg (fixes Debian #55105). 5082d522f475Smrg 5083d522f475Smrg <li>change manpage to make it clearer what codes are sent by the 5084d522f475Smrg backarrow key. 5085d522f475Smrg</ul> 5086d522f475Smrg 5087d522f475Smrg<H1><A NAME="xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A></H1> 5088d522f475Smrg<ul> 5089d522f475Smrg <li>add a note reserving OSC 51 for use in Emacs shell (request by 5090d522f475Smrg Rob Mayoff <mayoff@dqd.com>). 5091d522f475Smrg 5092d522f475Smrg <li>correct a missing backslash in xterm-vt220 termcap. 5093d522f475Smrg 5094d522f475Smrg <li>cleanup remaining quoted includes, preferring bracketed form. 5095d522f475Smrg 5096d522f475Smrg <li>minor configure-script macro updates from tin and vile. 5097d522f475Smrg 5098d522f475Smrg <li>add configure-script option for using utempter library, adapted 5099d522f475Smrg from Redhat 6.1 patch for XFree86 3.3.5 5100d522f475Smrg 5101d522f475Smrg <li>resync with XFree86 3.9.17a: 5102d522f475Smrg <ul> 5103d522f475Smrg <li>correction to QNX support (Frank Guangxin Liu) 5104d522f475Smrg <li>some cosmetic changes that did not correct any reported problems. 5105d522f475Smrg </ul> 5106d522f475Smrg</ul> 5107d522f475Smrg 5108d522f475Smrg<H1><A NAME="xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A></H1> 5109d522f475Smrg<ul> 5110d522f475Smrg <li>move the suggested wheel-mouse button translations into charproc.c 5111d522f475Smrg to simplify customization. Correct some minor logic errors in the 5112d522f475Smrg support for buttons 4 and 5, used for wheel mice (reported by 5113d522f475Smrg Bram Moolenaar). 5114d522f475Smrg 5115d522f475Smrg <li>implement <em>metaSendsEscape</em> resource, with corresponding 5116d522f475Smrg control sequence and menu entry. Like <em>eightBitInput</em>, this 5117d522f475Smrg causes xterm to send ESC prefixing the given key, but applies to 5118d522f475Smrg all keys and is independent of the 8-bit/7-bit terminal setting. 5119d522f475Smrg (requests by Alexander V Lukyanov and Marc Feeley). 5120d522f475Smrg 5121d522f475Smrg <li>correct potential indexing with negative subscript in udk_lookup(), 5122d522f475Smrg (reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>). 5123d522f475Smrg 5124d522f475Smrg <li>modify configure script that sets TERMINFO_DIR to use ${prefix} 5125d522f475Smrg rather than /usr if the --prefix option was specified (request by 5126d522f475Smrg Zdenek Sekera <zs@sgi.com>). 5127d522f475Smrg 5128d522f475Smrg <li>modify checks for repeat-character control sequence to test the 5129d522f475Smrg character class against xterm's state table, rather than the 5130d522f475Smrg isprint() macro (patch by Alexander V Lukyanov). 5131d522f475Smrg 5132d522f475Smrg <li>change several functions to macros to improve speed 5133d522f475Smrg 5134d522f475Smrg <li>two corrections to simulation of bold font via overstriking: 5135d522f475Smrg <ul> 5136d522f475Smrg <li>use clipping to avoid leaving trash at end of the text, and 5137d522f475Smrg <li>add brackets so wide-character logic does not fall-through 5138d522f475Smrg into the overstriking logic (reported by 5139d522f475Smrg Marc Feeley <feeley@IRO.UMontreal.CA>) 5140d522f475Smrg </ul> 5141d522f475Smrg 5142d522f475Smrg <li>add several entries to termcap file to make it have the same set 5143d522f475Smrg of aliases as the terminfo file. 5144d522f475Smrg 5145d522f475Smrg <li>scale the color values used for xterm-256color terminfo entry to 5146d522f475Smrg 0..1000, as expected by ncurses. 5147d522f475Smrg 5148d522f475Smrg <li>change xterm-r6 terminfo definitions for F1-F4 to match program. 5149d522f475Smrg 5150d522f475Smrg <li>Add QNX/Neutrino support (Frank Guangxin Liu 5151d522f475Smrg <frank@ctcqnx4.ctc.cummins.com>) 5152d522f475Smrg</ul> 5153d522f475Smrg<H1><A NAME="xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A></H1> 5154d522f475Smrg<ul> 5155d522f475Smrg <li>change label on "Sun/PC Keyboard" popup menu entry to "VT220 5156d522f475Smrg Keyboard", since the checked state corresponds to VT220 rather than 5157d522f475Smrg Sun/PC. 5158d522f475Smrg 5159d522f475Smrg <li>add configure test CF_UTMP_UT_XSTATUS to handle the variants of 5160d522f475Smrg utmp exit status (reports by Dave Ellement, Jeremie Petit, Tomas 5161d522f475Smrg Vanhala). 5162d522f475Smrg 5163d522f475Smrg <li>amend treatment of ALT key 5164d522f475Smrg (see <a href="#xterm_94">patch #94</a>) so that if ALT is used 5165d522f475Smrg as a modifier in key translations, then no parameter will be sent 5166d522f475Smrg in escape sequences for Sun/PC function keys (request by Dr Werner Fink). 5167d522f475Smrg 5168d522f475Smrg <li>modify default for OPT_I18N_SUPPORT to assume that 5169d522f475Smrg <code>XtSetLanguageProc()</code> is available in X11R5. 5170d522f475Smrg <p> 5171d522f475Smrg Caveat: <code>XtSetLanguageProc()</code> was 5172d522f475Smrg added fairly late in the X11R5 patches, and some vendors shipped 5173d522f475Smrg buggy versions of this function (request by Tomas Vanhala). 5174d522f475Smrg 5175d522f475Smrg <li>correct configure macro CF_SYSV_UTMP to test-link with functions 5176d522f475Smrg consistent with the header, e.g., getutent() for utmp.h and 5177d522f475Smrg getutxent() for utmpx.h (reported by Greg Smith). 5178d522f475Smrg 5179d522f475Smrg <li>modify terminfo entry for <code>xterm-xfree86</code> to reflect 5180d522f475Smrg modifiers for shift and control which (from a patch by Alexander V 5181d522f475Smrg Lukyanov). 5182d522f475Smrg 5183d522f475Smrg <li>modify terminfo entry for <code>xterm-sun</code> to match the 5184d522f475Smrg function-key definitions in ncurses. The pageup/pagedown and 5185d522f475Smrg related function keys correspond to the Sun keyboard, which does 5186d522f475Smrg not necessarily correspond with X's notion of those keys. 5187d522f475Smrg 5188d522f475Smrg <li>modify treatment of XK_Delete keysym so it transmits parameterized 5189d522f475Smrg VT220-style <code><ESC>[3~</code> if modifiers (shift, control 5190d522f475Smrg alt) are given (request by Alexander V Lukyanov). 5191d522f475Smrg 5192d522f475Smrg <li>corrected misspelled resource name in command-line option for 5193d522f475Smrg HP function keys. 5194d522f475Smrg</ul> 5195d522f475Smrg 5196d522f475Smrg<H1><A NAME="xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A></H1> 5197d522f475Smrg<ul> 5198d522f475Smrg <li>refine the change to <code>SGR_Background()</code> in patch #119, 5199d522f475Smrg by not flushing the pending scrolling operation if the background 5200d522f475Smrg color is not actually changing. This combination occurs when using 5201d522f475Smrg color-ls to display a long listing, since each line ends with an SGR0 5202d522f475Smrg which affects only the foreground color. The unnecessary flushing 5203d522f475Smrg made it noticeably slower (reported by D Roland Walker 5204d522f475Smrg <walker@pobox.com>). 5205d522f475Smrg 5206d522f475Smrg <li>remove obsolete documentation about modifiers which can be returned 5207d522f475Smrg in mouse tracking mode, and modify logic to ignore modifiers other 5208d522f475Smrg than the existing ones, e.g., NumLock (prompted by discussions with 5209d522f475Smrg Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>). 5210d522f475Smrg 5211d522f475Smrg <li>use free bit from obsolete shift-modifier coding of mouse tracking 5212d522f475Smrg button events to encode buttons 4 and 5, e.g., for a wheel mouse 5213d522f475Smrg (requests by Brad Pepers and Bram Moolenaar). 5214d522f475Smrg 5215d522f475Smrg <li>correct a place where the ptyInitialErase logic did not set the 5216d522f475Smrg backarrowKey state, and modify it further to use tgetstr() rather 5217d522f475Smrg than parse the termcap data returned from tgetent() so the 5218d522f475Smrg ptyInitialErase logic will work when xterm is linked with a terminfo 5219d522f475Smrg library (based on a patch by Dr Werner Fink <werner@suse.de>). 5220d522f475Smrg 5221d522f475Smrg <li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by 5222d522f475Smrg <michael.rohleder@stadt-frankfurt.de>) 5223d522f475Smrg 5224d522f475Smrg <li>improve configure script's utmp tests (based on reports by Greg 5225d522f475Smrg Smith for os390, and David Ellement for HPUX). 5226d522f475Smrg 5227d522f475Smrg <li>modify sinstall.sh to use uid=0 rather than 'root' to determine if 5228d522f475Smrg the installer is privileged. This is needed on some systems since 5229d522f475Smrg more than one account may be privileged (report by Greg Smith). 5230d522f475Smrg 5231d522f475Smrg <li>add an application resource, <code>messages</code> (and a 5232d522f475Smrg corresponding -/+mesg option) which controls the initial permission 5233d522f475Smrg on the terminal: if messages is set to true (the default), behavior 5234d522f475Smrg is as without the patch; if it is set to false (as per -mesg), the 5235d522f475Smrg terminal is opened in mode 0600, thus producing the effect of the 5236d522f475Smrg <code>mesg n</code> command. This is useful for users who want to 5237d522f475Smrg redirect all their messages to one particular xterm: it is more 5238d522f475Smrg pleasant to do this with xterm resources than with explicit calls to 5239d522f475Smrg the <code>mesg</code> program (patch, description by David Madore 5240d522f475Smrg <david.madore@ens.fr>). 5241d522f475Smrg</ul> 5242d522f475Smrg 5243d522f475Smrg<H1><A NAME="xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A></H1> 5244d522f475Smrg<ul> 5245d522f475Smrg <li>add responses (DA and DSR) for DEC locator mode 5246d522f475Smrg 5247d522f475Smrg <li>add coding for ANSI color to DA response 5248d522f475Smrg 5249d522f475Smrg <li>implement UTF-8 translation for Media Copy (print) operations. 5250d522f475Smrg 5251d522f475Smrg <li>implement vt320 control sequences for Print Composed Main Display 5252d522f475Smrg and for Print All Pages. The latter directs xterm to print the 5253d522f475Smrg current screen as well as the scrollback buffer. 5254d522f475Smrg 5255d522f475Smrg <li>correct error in _GNU_SOURCE configure test, which left it always 5256d522f475Smrg defined. 5257d522f475Smrg 5258d522f475Smrg <li>add more information, i.e., with strerror for some system calls in 5259d522f475Smrg the main program which may fail due to insufficient permissions 5260d522f475Smrg (prompted by a problem report for <code>-C</code> by Jeremie Petit 5261d522f475Smrg <Jeremie.Petit@digital.com>). 5262d522f475Smrg 5263d522f475Smrg <li>add workaround for conflict between <X11/Xpoll.h> and 5264d522f475Smrg <sys/select.h> on AIX 4.3 (Richard Griswold 5265d522f475Smrg <griswold@acm.org>). 5266d522f475Smrg 5267d522f475Smrg <li>add configure script test to resolve conflict between between 5268d522f475Smrg <X11/Xpoll.h> and <sys/select.h> 5269d522f475Smrg 5270d522f475Smrg <li>modify translation of UTF-8 sequences to reject "overly long" 5271d522f475Smrg variations (patch by Markus Kuhn). 5272d522f475Smrg 5273d522f475Smrg <li>remove <code>utf8controls</code> resource, since Markus' change 5274d522f475Smrg removes the corresponding logic. 5275d522f475Smrg 5276d522f475Smrg <li>correct a case where colors were not rendered properly. This 5277d522f475Smrg happened when an application inserted several lines, then changed 5278d522f475Smrg colors. If this was done all in one write, then there would be no 5279d522f475Smrg intervening refresh, and the new color was applied to the pending 5280d522f475Smrg scrolling operation which was awaiting the next refresh (reported 5281d522f475Smrg by Stephane Chazelas <Stephane_Chazelas@Raytheon.com>). 5282d522f475Smrg 5283d522f475Smrg</ul> 5284d522f475Smrg 5285d522f475Smrg<H1><A NAME="xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A></H1> 5286d522f475Smrg<ul> 5287d522f475Smrg <li>refine configure test for utmp versus utmpx, to build on HP-UX 10.x 5288d522f475Smrg (reported by David Ellement). 5289d522f475Smrg 5290d522f475Smrg <li>move the configure check for <code>const</code> after the check 5291d522f475Smrg for ANSI C compiler options, since those may be required to make 5292d522f475Smrg it work properly on HP-UX. 5293d522f475Smrg 5294d522f475Smrg <li>add configure test for defining <code>_GNU_SOURCE</code> 5295d522f475Smrg 5296d522f475Smrg <li>correction to <em>-hold</em> option, ensure that if data is already 5297d522f475Smrg in the output buffer that it will be displayed before closing the 5298d522f475Smrg PTY. 5299d522f475Smrg 5300d522f475Smrg <li>move the configure checks for setuid install of xterm into a script 5301d522f475Smrg to avoid installing it setuid'd to a non-root user (reported by 5302d522f475Smrg Adam Sulmicki <adam@cfar.umd.edu>). 5303d522f475Smrg 5304d522f475Smrg <li>correct configure script's check for termcap.h to avoid using 5305d522f475Smrg ncurses' version of it on systems that have a working 5306d522f475Smrg <code>tgetent()</code> function. This is needed to make 5307d522f475Smrg <code>resize</code> work properly. 5308d522f475Smrg 5309d522f475Smrg <li>fix some typography in ctlseqs.ms description of DEC locator events 5310d522f475Smrg (reported by Steve Wall). 5311d522f475Smrg</ul> 5312d522f475Smrg 5313d522f475Smrg<H1><A NAME="xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A></H1> 5314d522f475Smrg<ul> 5315d522f475Smrg <li>change order of tests in configure script for utmp and utmpx 5316d522f475Smrg to test utmpx first, to compile on Solaris (reported by 5317d522f475Smrg Leena Heino <liinu@uta.fi> 5318d522f475Smrg and Patrik Hagglund <patha@ida.liu.se>). 5319d522f475Smrg 5320d522f475Smrg <li>add a configure test for utmp.ut_xtime, needed for SCO Openserver, 5321d522f475Smrg and for lastlog, needed for Redhat 6.0, to refine the utmp/utmpx 5322d522f475Smrg auto-configure. 5323d522f475Smrg 5324d522f475Smrg <li>remove a spurious comma in an #undef (reported by 5325d522f475Smrg David Green <greendjf@cvhp152.marconicomms.com> and 5326d522f475Smrg David Ellement <ellement@sdd.hp.com> both on HP-UX, whose 5327d522f475Smrg compiler does care about syntax). 5328d522f475Smrg 5329d522f475Smrg <li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported by Suhaib 5330d522f475Smrg M. Siddiqi <Ssiddiqi@InspirePharm.Com>, who is told that the 5331d522f475Smrg next Cygnus release will drop that symbol in their next release). 5332d522f475Smrg 5333d522f475Smrg <li>minor cleanup of ifdef's for makeColorPair (patch by Steve Wall). 5334d522f475Smrg 5335d522f475Smrg <li>patch by Alexander V Lukyanov to work around problem observed 5336d522f475Smrg in XFree86 3.3.5, reported as bug #5419 to Mozilla. From the 5337d522f475Smrg problem report: 5338d522f475Smrg <blockquote> 5339d522f475Smrg xterm consumes cpu when selecting text with mouse (holding 5340d522f475Smrg down left mouse button) and when a program working under the 5341d522f475Smrg xterm outputs something to stdout. 5342d522f475Smrg <p> 5343d522f475Smrg Easy way to reproduce:<br> 5344d522f475Smrg <code>while :; do echo aaa; sleep 1; done</code><br> 5345d522f475Smrg (while this runs, select text and hold down left mouse button) 5346d522f475Smrg watch cpu load.<br> 5347d522f475Smrg release left mouse button - spinning stops. 5348d522f475Smrg </blockquote> 5349d522f475Smrg</ul> 5350d522f475Smrg 5351d522f475Smrg<H1><A NAME="xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A></H1> 5352d522f475Smrg<ul> 5353d522f475Smrg <li>modify warning if change-ownership of PTY fails; some 5354d522f475Smrg configurations may not happen to have old-style pty's (reported by 5355d522f475Smrg Bob Maynard). 5356d522f475Smrg 5357d522f475Smrg <li>improve check in configure script for group ownership of installed 5358d522f475Smrg xterm; some platforms use the -g option of ls to toggle group off 5359d522f475Smrg rather than on (reported by Greg Smith). 5360d522f475Smrg 5361d522f475Smrg <li>minor improvement to toolbar geometry, to make it not resizable. 5362d522f475Smrg This still is not satisfactory (but is usable) since the toolbar 5363d522f475Smrg overlaps the xterm widget if the window is resized to make it 5364d522f475Smrg smaller. It appears that some work is needed for the xterm widget's 5365d522f475Smrg geometry management to make it function properly. 5366d522f475Smrg 5367d522f475Smrg <li>implement configure script tests for utmp, tty group. 5368d522f475Smrg 5369d522f475Smrg <li>implement <em>-hold</em> option, allowing users to retain the 5370d522f475Smrg window after a shell has exited (this is recently an FAQ, but 5371d522f475Smrg prompted by a comment by Joachim Plaettner-Hochwarth 5372d522f475Smrg <plaettner@aem.umn.edu> in comp.unix.programmer, that the IRIX 5373d522f475Smrg winterm provides this option). 5374d522f475Smrg 5375d522f475Smrg <li>integrated change by Steve Wall to 5376d522f475Smrg add support for DEC Locator control sequences for xterm: 5377d522f475Smrg <pre> 5378d522f475Smrg 5379d522f475Smrg DECEFR - Enable Filter Rectangle 5380d522f475Smrg DECELR - Enable Locator Reports 5381d522f475Smrg DECSLE - Select Locator Events 5382d522f475Smrg DECRQLP - Request Locator Position 5383d522f475Smrg </pre> 5384d522f475Smrg This allows the xterm mouse to be used with applications that use the 5385d522f475Smrg DEC Locator sequences, such as VAX Tpu, or SMG$ based applications. 5386d522f475Smrg 5387d522f475Smrg <li>patch from Matthias Baake <Matthias.Baake@gmx.de>, for print 5388d522f475Smrg action. From his notes: 5389d522f475Smrg <ul> 5390d522f475Smrg <li>Bug 1: 5391d522f475Smrg Underlined text is preceded by ESC [0;2m . This should be ESC [0;4m , ESC 5392d522f475Smrg [2m doesn't seem to have any effect. (print.c/send_SGR) 5393d522f475Smrg 5394d522f475Smrg <li>Bug 2: 5395d522f475Smrg The check for the last non-empty column (while (last > 0) ... in 5396d522f475Smrg print.c/printLine) omits the rightmost column of the screen, the loop must 5397d522f475Smrg start with last = screen->max_col+1 instead of last = screen->max_col. 5398d522f475Smrg 5399d522f475Smrg <li>Bug 3: 5400d522f475Smrg Any attributes of the first character (and of all immediately following 5401d522f475Smrg characters with the same attributes) are ignored. The variable attr 5402d522f475Smrg (print.c/printLine) should be initialized with 0, not with *a & SGR_MASK. 5403d522f475Smrg </ul> 5404d522f475Smrg</ul> 5405d522f475Smrg 5406d522f475Smrg<H1><A NAME="xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A></H1> 5407d522f475Smrg<ul> 5408d522f475Smrg <li>integrated changes by Steve Wall to implement an 88-color model 5409d522f475Smrg for systems where 256-colors cannot be allocated. 5410d522f475Smrg 5411d522f475Smrg <li>when 256-color configuration is compiled, colored bold and 5412d522f475Smrg underlining is not available; ifdef'd to avoid possible odd effects 5413d522f475Smrg in this case (reported by Steve Wall). 5414d522f475Smrg 5415d522f475Smrg <li>add resource <em>cacheDoublesize</em>, to limit the caching of font 5416d522f475Smrg information for double-sized characters. This addresses a problem 5417d522f475Smrg reported by Aryeh Koenigsberg for X terminals with limited font 5418d522f475Smrg memory. 5419d522f475Smrg 5420d522f475Smrg <li>modify treatment of line-drawing characters in UTF-8 mode so that 5421d522f475Smrg the Unicode values are used rather than the C0 codes for storing the 5422d522f475Smrg translated characters (request by Markus Kuhn). 5423d522f475Smrg</ul> 5424d522f475Smrg 5425d522f475Smrg<H1><A NAME="xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A></H1> 5426d522f475Smrg<ul> 5427d522f475Smrg 5428d522f475Smrg <li>add configure script checks for Athena headers and libraries under 5429d522f475Smrg /usr/contrib to work on HPUX (reported by several people: 5430d522f475Smrg David Nixon <djn@csc.liv.ac.uk> 5431d522f475Smrg Aryeh Koenigsberg <aryeh.koenigsberg@telrad.co.il> 5432d522f475Smrg Johannes Mähner <johanm@camline.com> 5433d522f475Smrg Andrew Gaylard <andrew.gaylard@bsw.co.za>). 5434d522f475Smrg 5435d522f475Smrg <li>add check to configure script if xterm is installed setgid rather 5436d522f475Smrg than setuid, since wtmp and utmp may be installed with group-writable 5437d522f475Smrg permissions other than root (based on Debian bug report #7112 by Bo 5438d522f475Smrg Branten <bosse@ing.umu.se>). 5439d522f475Smrg 5440d522f475Smrg <li>rewrote logic that removes data from termcap entry, e.g., for 5441d522f475Smrg titeInhibit, to make it less likely to remove the wrong data. 5442d522f475Smrg 5443d522f475Smrg <li>correct logic which checks for missing characters used for line 5444d522f475Smrg drawing. The 0 character was tested unnecessarily, leading to 5445d522f475Smrg some inefficiency when rendering. 5446d522f475Smrg 5447d522f475Smrg <li>change termcap capability which is used as input or output of 5448d522f475Smrg ptyInitialErase logic from <em>kD</em> to <em>kb</em>. 5449d522f475Smrg Christian Weisgerber <naddy@mips.rhein-neckar.de> pointed out 5450d522f475Smrg in effect that <em>kD</em> (in terminfo <em>kdch1</em>) should 5451d522f475Smrg correspond to the control sequence for <em>dch1</em>, which deletes 5452d522f475Smrg from the current position toward the right. 5453d522f475Smrg 5454d522f475Smrg <li>check for failure to change ownership of the PTY device and warn 5455d522f475Smrg when xterm is running setuid'd to root. This was reported to happen 5456d522f475Smrg on the FreeBSD/NetBSD/OpenBSD systems as a result of the chflags() 5457d522f475Smrg call. 5458d522f475Smrg 5459d522f475Smrg <li>add xterm-noapp terminfo entry to illustate a nominally 5460d522f475Smrg bash-compatible terminal description. 5461d522f475Smrg</ul> 5462d522f475Smrg 5463d522f475Smrg<H1><A NAME="xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A></H1> 5464d522f475SmrgSeveral fixes. The main one is a first draft of pulldown menus. It's not 5465d522f475Smrgcomplete (I have some minor/annoying geometry problems to correct), but is 5466d522f475Smrgusable. Once it's complete I plan to add a menu to support additional 5467d522f475Smrgselections that won't fit on the current popup menus. Also, this fits into my 5468d522f475Smrglongterm plan to allow configuring with Motif libraries. 5469d522f475Smrg 5470d522f475Smrg<ul> 5471d522f475Smrg <li>correct error in input conversion for NRC mode (reported by 5472d522f475Smrg Stefan Traby <stefan@sime.com>). 5473d522f475Smrg 5474d522f475Smrg <li>fix initialization of num_lock data in Misc struct (since those 5475d522f475Smrg fields of the reference widget aren't initialized), and add logic to 5476d522f475Smrg deal with XVision whose NumLock key does not transmit but does alter 5477d522f475Smrg keypad state. 5478d522f475Smrg 5479d522f475Smrg <li>correct a missing return-value in get_pty(), for SCO 5480d522f475Smrg 5481d522f475Smrg <li>add E2A fix for backspace (Greg Smith), i.e.,<br> 5482d522f475Smrg #define VAL_INITIAL_ERASE A2E(127) 5483d522f475Smrg 5484d522f475Smrg <li>correct foreground color within cursor outline when the 5485d522f475Smrg window is unfocused (reported by Stephane Chazelas). 5486d522f475Smrg 5487d522f475Smrg <li>corrected position of scrollbar set in ResizeScrollBar(), which 5488d522f475Smrg left it positioned incorrectly if the right scrollbar were enabled 5489d522f475Smrg from the popup menu but was not initially enabled. 5490d522f475Smrg 5491d522f475Smrg <p> 5492d522f475Smrg I have noticed some additional problems with right-scrollbar on 5493d522f475Smrg X11R5 which I will correct later. 5494d522f475Smrg 5495d522f475Smrg <li>integrate changes by Jean-Claude Michot for QNX from XFree86 3.3.4c 5496d522f475Smrg 5497d522f475Smrg <li>add resources menuBar/MenuBar, menuHeight/MenuHeight for later 5498d522f475Smrg use in toolbar geometry. 5499d522f475Smrg 5500d522f475Smrg <li>add configure option --enable-toolbar 5501d522f475Smrg 5502d522f475Smrg <li>add missing definition to make ziconbeep logic not compile-in when 5503d522f475Smrg configure script disables it. 5504d522f475Smrg 5505d522f475Smrg <li>add configure-check for input-method support in X libraries 5506d522f475Smrg</ul> 5507d522f475Smrg 5508d522f475Smrg<H1><A NAME="xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A></H1> 5509d522f475Smrg<ul> 5510d522f475Smrg <li>add null-pointer check to FlushLog(), fixes a core dump when both 5511d522f475Smrg -l and -lf options are used when xterm is configured with wide-character 5512d522f475Smrg support. 5513d522f475Smrg 5514d522f475Smrg <li>remove "ISO" case for SD, which was due to a typographical error in 5515d522f475Smrg ECMA-48 (reported by Paul Williams <paul@celigne.co.uk> for 5516d522f475Smrg vttest). 5517d522f475Smrg 5518d522f475Smrg <li>add "FILES" section to manpage. 5519d522f475Smrg 5520d522f475Smrg <li>generate header file to initialize default resources for colors 5521d522f475Smrg 16-255. 5522d522f475Smrg 5523d522f475Smrg <li>patches by Greg Smith for os390: 5524d522f475Smrg <ul> 5525d522f475Smrg <li>add README.os390 5526d522f475Smrg 5527d522f475Smrg <li>use the pty_search() function to find an available pty/tty pair. 5528d522f475Smrg 5529d522f475Smrg <li>move E2A() call out of getXtermCell() to SaveText() function 5530d522f475Smrg so it will be available in all configurations. 5531d522f475Smrg </ul> 5532d522f475Smrg 5533d522f475Smrg <li>patches by Todd Larason: 5534d522f475Smrg <ul> 5535d522f475Smrg <li>enable SGR 48 5 in ISO color mode, not just 256 color mode 5536d522f475Smrg 5537d522f475Smrg <li>change configure's --disable-256-color option to 5538d522f475Smrg --enable-256-color, to match its effect 5539d522f475Smrg 5540d522f475Smrg <li>fix OSC 4 xx ? (report ansi color) to report a string which can 5541d522f475Smrg actually be used to set the color back 5542d522f475Smrg 5543d522f475Smrg <li>fix OSC 4 xx yy (change ansi color) to not allow setting colors > 5544d522f475Smrg 15 in 16 color mode 5545d522f475Smrg 5546d522f475Smrg <li>simplify the COLOR_ settings a bit in ptyx.h, along with setting 5547d522f475Smrg NUM_ANSI_COLORS needed for #1 and #4 above 5548d522f475Smrg 5549d522f475Smrg <li>correct string-terminator code passed for reference to OSC 5550d522f475Smrg responses; when in 7-bit mode, only the final byte of ST was seen. 5551d522f475Smrg 5552d522f475Smrg <li>Allow multiple color #;name pairs in OSC 4, 5553d522f475Smrg and document changes to match. 5554d522f475Smrg </ul> 5555d522f475Smrg</ul> 5556d522f475Smrg 5557d522f475Smrg<H1><A NAME="xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A></H1> 5558d522f475Smrg<ul> 5559d522f475Smrg <li>add control sequences for specifying the RGB value of the ANSI 5560d522f475Smrg colors, and for configuring with 256 colors (patch by Todd Larason 5561d522f475Smrg <jtl@molehill.org>). I made the default configuration to 5562d522f475Smrg 16-colors, because xterm uses the default color map (which has only 5563d522f475Smrg 256 colors). 5564d522f475Smrg 5565d522f475Smrg <li>correct an error in DCS $ q m reporting for colors 8-15 (Todd 5566d522f475Smrg Larason). 5567d522f475Smrg 5568d522f475Smrg <li>add test/demo script for double size characters. Used this to 5569d522f475Smrg test/correct display of double size characters that should wrap, 5570d522f475Smrg underlined double size characters. 5571d522f475Smrg 5572d522f475Smrg <li>increased cache size for double size fonts to 8, to allow for both 5573d522f475Smrg normal and bold fonts (from discussion with Aryeh Koenigsberg 5574d522f475Smrg <aryeh.koenigsberg@telrad.co.il>). 5575d522f475Smrg 5576d522f475Smrg <li>integrated patch from Greg Smith <rys@epaibm.rtpnc.epa.gov> 5577d522f475Smrg for port to OS390 (aka MVS). OS390 uses EBCDIC rather than ASCII. 5578d522f475Smrg 5579d522f475Smrg <li>correct an off-by-one in binary search limits in keysym2ucs.c (Markus 5580d522f475Smrg Kuhn). 5581d522f475Smrg 5582d522f475Smrg <li>implement logging for UTF-8 mode. The output is written in UTF-8 form. 5583d522f475Smrg</ul> 5584d522f475Smrg 5585d522f475Smrg<H1><A NAME="xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A></H1> 5586d522f475Smrg<ul> 5587d522f475Smrg <li>If colorMode is enabled by default, compile-in default resources to 5588d522f475Smrg match the colors listed in XTerm-col.ad (this should fix a 5589d522f475Smrg longstanding FAQ). 5590d522f475Smrg 5591d522f475Smrg <li>added new OSC 3 ; PROPNAME=VALUE ST escape 5592d522f475Smrg sequence to set an arbitrary X property on the top level xterm X11 5593d522f475Smrg window. Omit "=VALUE" to delete the X property (patch by Greg Badros 5594d522f475Smrg <gjb@cs.washington.edu>). 5595d522f475Smrg 5596d522f475Smrg <li>change internal flag used for <em>utf8controls</em> resource 5597d522f475Smrg so we allow 31-bit range of characters (suggested by Thomas Wolff). 5598d522f475Smrg 5599d522f475Smrg <li>add check for 16-bit characters in OSC strings, change them to '?' 5600d522f475Smrg (reported by Thomas Wolff). 5601d522f475Smrg 5602d522f475Smrg <li>modify logic of same_font_name() to avoid trying to interpret both 5603d522f475Smrg parameters as wildcard patterns. That does not (cannot) work, and in 5604d522f475Smrg some instances the font server will return unresolved wildcards for 5605d522f475Smrg the normal or bold fontnames, making them match inadvertently, 5606d522f475Smrg triggering the fallback overstrike logic (reported by Tim Adye). 5607d522f475Smrg</ul> 5608d522f475Smrg 5609d522f475Smrg<H1><A NAME="xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A></H1> 5610d522f475Smrg<ul> 5611d522f475Smrg <li>correct range-check from patch #108, which resulted in not being 5612d522f475Smrg able to select from the scrollback buffer (reported by Tim Adye 5613d522f475Smrg <T.J.Adye@rl.ac.uk>) 5614d522f475Smrg 5615d522f475Smrg <li>correct "no available ptys" problem with Cygwin B20.1 (patch by Tim 5616d522f475Smrg Adye). 5617d522f475Smrg 5618d522f475Smrg <li>modified install-ti rule in Makefile.in to allow override of the 5619d522f475Smrg terminfo directory when doing a "make install", i.e., by assigning 5620d522f475Smrg to TERMINFO_DIR (request by Zdenek Sekera <zs@sgi.com>). 5621d522f475Smrg 5622d522f475Smrg <li>added install-full rule to Makefile.in 5623d522f475Smrg 5624d522f475Smrg <li>resync mkdirs.sh and install.sh scripts against current autoconf 5625d522f475Smrg 5626d522f475Smrg <li>implement $(DESTDIR) in Makefile.in, making it simple to install 5627d522f475Smrg xterm and associated files into a directory just for packaging a 5628d522f475Smrg binary release (suggested by CaT <cat@zip.com.au>). 5629d522f475Smrg 5630d522f475Smrg <li>change IChar type to unsigned, rather than unsigned short, making 5631d522f475Smrg room for a flag to keep with 16-bit characters to prevent them from 5632d522f475Smrg being interpreted as C0 or C1 controls (reported by Thomas Wolff). 5633d522f475Smrg 5634d522f475Smrg <li>correct a typo from patch #107, incorrect array name, in the 5635d522f475Smrg filterUTF8 function (patch by Bruno Haible <haible@ilog.fr>) 5636d522f475Smrg 5637d522f475Smrg <li>add <em>utf8controls</em> resource to specify whether xterm should 5638d522f475Smrg interpret 16-bit characters unpacked from UTF-8 form as control 5639d522f475Smrg characters if they happen to fall into that range. This behavior 5640d522f475Smrg is left unspecified by the Unicode standard (request by Thomas Wolff). 5641d522f475Smrg 5642d522f475Smrg <li>modify handling of OSC to recover if application sends 16-bit 5643d522f475Smrg characters with codes above 255. We cannot display them as is, but 5644d522f475Smrg translate out-of-range characters to a '?' (reported by Thomas 5645d522f475Smrg Wolff). 5646d522f475Smrg</ul> 5647d522f475Smrg 5648d522f475Smrg<H1><A NAME="xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A></H1> 5649d522f475Smrg<ul> 5650d522f475Smrg <li>add a range-check to LastTextCol(), to guard against indexing 5651d522f475Smrg before the beginning of the scrollback buffer. This appears to 5652d522f475Smrg happen with certain fonts under X11R5 (reported by Stephane Chazelas 5653d522f475Smrg <Stephane_Chazelas@Raytheon.com>). 5654d522f475Smrg 5655d522f475Smrg <li>implement resource <em>boldMode</em>, to allow disabling the 5656d522f475Smrg simulation of bold fonts when the bold and normal fonts are not 5657d522f475Smrg different (requested by Will Day <willday@rom.oit.gatech.edu>). 5658d522f475Smrg 5659d522f475Smrg <li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few bugs in 5660d522f475Smrg the UTF-8 selection (patch by Juliusz Chroboczek). 5661d522f475Smrg 5662d522f475Smrg <li>correct logic of binary-search in keysym2ucs.c (patch by Markus 5663d522f475Smrg Kuhn). 5664d522f475Smrg 5665d522f475Smrg <li>add special interpretation of keysym codes above 0x1000000 as 5666d522f475Smrg the corresponding UCS value plus 0x1000000 (patch by Markus Kuhn). 5667d522f475Smrg</ul> 5668d522f475Smrg 5669d522f475Smrg<H1><A NAME="xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A></H1> 5670d522f475Smrg<ul> 5671d522f475Smrg <li>Two changes from Stephen P Wall. 5672d522f475Smrg From his description: 5673d522f475Smrg <blockquote> 5674d522f475Smrg The first change is simple - I added ESC[3J to erase the stored lines 5675d522f475Smrg above the screen. That's what the changes to util.c and ctlseqs.ms 5676d522f475Smrg are. 5677d522f475Smrg <p> 5678d522f475Smrg The second change is to get the blinking cursor working. I took out 5679d522f475Smrg the cursorBlinkTime resource, and put in cursorBlink (Boolean), 5680d522f475Smrg cursorOnTime (time cursor is on in msecs) and cursorOffTime, and added 5681d522f475Smrg a cursorblink item to the vtMenu to enable/disable it. 5682d522f475Smrg </blockquote> 5683d522f475Smrg 5684d522f475Smrg <li>Integrated a patch from Juliusz Chroboczek <jec@dcs.ed.ac.uk>. 5685d522f475Smrg From his description: 5686d522f475Smrg <blockquote> 5687d522f475Smrg With this patch, selection conversion works properly: 5688d522f475Smrg<pre> 5689d522f475Smrg ISO 8859-1 xterm -> ISO 8859-1 xterm (transferred as STRING); 5690d522f475Smrg ISO 8859-1 xterm -> UTF-8 xterm (transferred as STRING); 5691d522f475Smrg UTF-8 xterm -> ISO 8859-1 xterm (transferred as STRING); 5692d522f475Smrg UTF-8 xterm -> UTF-8 xterm (transferred as UTF-8). 5693d522f475Smrg</pre> 5694d522f475Smrg It will not work properly if one xterm is in, say, ISO 8859-2. 5695d522f475Smrg Actually, for this case xterm breaks the ICCCM routinely (sending ISO 5696d522f475Smrg 8859-2 data as STRING), so I wouldn't worry too much about it. I have 5697d522f475Smrg not changed the behaviour in eight-bit mode in any way. 5698d522f475Smrg </blockquote> 5699d522f475Smrg</ul> 5700d522f475Smrg 5701d522f475Smrg<H1><A NAME="xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A></H1> 5702d522f475Smrg<ul> 5703d522f475Smrg <li>remove duplicate fix for OpenBSD in resize.c 5704d522f475Smrg 5705d522f475Smrg <li>correct logic in ScreenWrite, which did not reset the high bytes 5706d522f475Smrg of 16-bit characters when overwriting them with a 8-bit character 5707d522f475Smrg string (reported by Thomas Wolff). 5708d522f475Smrg 5709d522f475Smrg <li>integrate patch by Markus Kuhn to provide limited support for 5710d522f475Smrg input of UTF-8 16-bit data by a lookup table. 5711d522f475Smrg 5712d522f475Smrg <li>correct check in non_blank_line to ensure we're in wide-character 5713d522f475Smrg mode before looking at the high bytes, for InsertChar. 5714d522f475Smrg</ul> 5715d522f475Smrg<H1><A NAME="xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A></H1> 5716d522f475Smrg<ul> 5717d522f475Smrg <li>implement new resource <em>trimSelection</em>, which allows xterm 5718d522f475Smrg to trim trailing blanks from selected lines. This does not affect 5719d522f475Smrg the highlighting. (reported by several people using <em>mutt</em>, 5720d522f475Smrg including 5721d522f475Smrg Hans Morten Kind <edphk@uib.no>, 5722d522f475Smrg Jeremy <jeremy@exit109.com> 5723d522f475Smrg and (Michael Fuller <msf@mds.rmit.edu.au>). 5724d522f475Smrg 5725d522f475Smrg <li>add patch by Matthieu Herrb to include term.h in resize for OpenBSD. 5726d522f475Smrg 5727d522f475Smrg <li>correct logic for UTF-8 in functions that hide and show the cursor; 5728d522f475Smrg it was displaying a space whenever the low byte of the character at 5729d522f475Smrg the cursor position was zero (reported by Thomas Wolff 5730d522f475Smrg <Thomas.Wolff@icn.siemens.de>). 5731d522f475Smrg</ul> 5732d522f475Smrg 5733d522f475Smrg<H1><A NAME="xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A></H1> 5734d522f475SmrgThis is a resync patch against XFree86 3.9Pn, reflecting changes which were 5735d522f475Smrgsubmitted by Branden Robinson, who worked with 5736d522f475SmrgWichert Akkerman <wichert@cs.leidenuniv.nl> 5737d522f475Smrgto set up ifdef's to handle GNU libc 2.1, 5738d522f475Smrgand use getpt() which lets xterm avoid having to know the actual PTY name. 5739d522f475Smrg<p> 5740d522f475SmrgI have also added a few fixes for signed/unsigned mismatches, and corrected 5741d522f475Smrga problem in the configure script (the UTF-8 code was always configured since 5742d522f475Smrgthe Imakefile defines this). 5743d522f475Smrg 5744d522f475Smrg<H1><A NAME="xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A></H1> 5745d522f475Smrg<ul> 5746d522f475Smrg <li>correct selection logic: I omitted an offset that accounts for 5747d522f475Smrg the distance into the scrollback buffer when rewriting this for 5748d522f475Smrg patch #101. Also fixed a similar problem for selecting double 5749d522f475Smrg size characters from the scrollback buffer (first was reported 5750d522f475Smrg by D Roland Walker <walker@pobox.com>). 5751d522f475Smrg 5752d522f475Smrg <li>improved support for Unix98 PTY's, using patch in Debian bug report 5753d522f475Smrg #35650, by J.H.M. Dassen <jdassen@wi.leidenuniv.nl>. From 5754d522f475Smrg the patch description: 5755d522f475Smrg <blockquote> 5756d522f475Smrg <ul> 5757d522f475Smrg <li>No longer links xterm against libutil on a glibc2.1 system. 5758d522f475Smrg libutil is a compatibility library and should only be used when 5759d522f475Smrg necessary. Rather than having get_pty() use openpty() from this 5760d522f475Smrg compatibility library, use the real UNIX98 pty support in get_pty() 5761d522f475Smrg (open()ing the master pty, through getpt() if available (glibc 5762d522f475Smrg extension)). Use openpty() only under glibc2.0. 5763d522f475Smrg <li>GNU libc2 is not Linux-specific; already it runs on the Hurd. It 5764d522f475Smrg provides the UNIX98 pty functions (plus the getpt() extension), 5765d522f475Smrg regardless of the underlying OS. Changed two constructs to look for 5766d522f475Smrg GNU libc2 only, not GNU libc2 on Linux. 5767d522f475Smrg </ul> 5768d522f475Smrg </blockquote> 5769d522f475Smrg 5770d522f475Smrg <li>improve font configuration, by checking if the user's resource 5771d522f475Smrg settings for normal and bold fonts give the same font sizes 5772d522f475Smrg (fixes problem reported by Peter Waltenberg <peterw@dascom.com>). 5773d522f475Smrg</ul> 5774d522f475Smrg 5775d522f475Smrg<H1><A NAME="xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A></H1> 5776d522f475Smrg<ul> 5777d522f475Smrg <li>revert change to openpty call in patch #101; this causes xterm to 5778d522f475Smrg fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn Brand). 5779d522f475Smrg 5780d522f475Smrg <li>modify print.c to move include of stdio.h after the autoconf'd 5781d522f475Smrg xtermcfg.h since HP's ANSI C compiler otherwise sees inconsistent 5782d522f475Smrg prototype for getopt, probably due to problem with const (reported by 5783d522f475Smrg H Merijn Brand). 5784d522f475Smrg</ul> 5785d522f475Smrg 5786d522f475Smrg<H1><A NAME="xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A></H1> 5787d522f475Smrg<ul> 5788d522f475Smrg <li>moved includes and definitions for 'select' from data.h to xterm.h 5789d522f475Smrg to fix problem introduced by prototype for getPtyData, part of UTF-8 5790d522f475Smrg changes (reported by Jens Schleusener <Jens.Schleusener@dlr.de>) 5791d522f475Smrg 5792d522f475Smrg <li>added "Meta <Btn2Down>:clear-saved-lines()" default 5793d522f475Smrg translation (patch by H Merijn Brand) 5794d522f475Smrg 5795d522f475Smrg <li>fixes to configure script and ifdef's in main.c to build on a 5796d522f475Smrg HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with egcs 1.1.2 5797d522f475Smrg and HP's ANSI C compiler (patch by H Merijn Brand 5798d522f475Smrg <PROCURA_BV@CompuServe.com>) 5799d522f475Smrg 5800d522f475Smrg <li>add more parentheses in ifdef's (patch by Bob Maynard). 5801d522f475Smrg 5802d522f475Smrg <li>eliminate conflicting definitions for USE_TERMINFO in resize.c 5803d522f475Smrg (reported by Jeremy Buhler). 5804d522f475Smrg 5805d522f475Smrg <li>change openpty call to pass NULL rather than ttydev parameter, 5806d522f475Smrg since that was used only to estimate the length of the 5807d522f475Smrg corresponding data, and may not really be long enough 5808d522f475Smrg (reported by Andreas Jaeger) 5809d522f475Smrg 5810d522f475Smrg <li>update description in xterm manpage for character class table, 5811d522f475Smrg which said it handles only 7-bit codes. 5812d522f475Smrg 5813d522f475Smrg <li>correct a typo in ScrnDeleteChar() which made it not clear the 5814d522f475Smrg high byte of wide-character data. 5815d522f475Smrg 5816d522f475Smrg <li>add logic to convert selection to UTF-8 form when appropriate. 5817d522f475Smrg This makes select/paste "work", but further work is needed to 5818d522f475Smrg make UTF-8 recognized as a locale in Xlib. 5819d522f475Smrg 5820d522f475Smrg <li>correct right-limit check when selecting double-width characters. 5821d522f475Smrg 5822d522f475Smrg <li>change default answerback response to an empty string. 5823d522f475Smrg</ul> 5824d522f475Smrg 5825d522f475Smrg<H1><A NAME="xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A></H1> 5826d522f475Smrg<ul> 5827d522f475Smrg <li>Correct a typo in the default resource value for 5828d522f475Smrg backarrowKeyIsErase: it was always true (reported by Bram 5829d522f475Smrg Moolenaar). 5830d522f475Smrg 5831d522f475Smrg <li>improve configure script's test if the installed xterm is setuid, 5832d522f475Smrg in case that is a symbolic link. 5833d522f475Smrg 5834d522f475Smrg <li>correct "install-ti" rule in Makefile.in, by not setting a blank 5835d522f475Smrg $TERMINFO value. That is interpreted as "." by ncurses' tic. 5836d522f475Smrg</ul> 5837d522f475Smrg 5838d522f475Smrg<H1><A NAME="xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A></H1> 5839d522f475Smrg<ul> 5840d522f475Smrg <li>correct logic that computes num_ptrs count of the number of indices 5841d522f475Smrg into the screen buffer. This is the maximum of the colors and 5842d522f475Smrg character-set indices; was incorrect in patch #97. 5843d522f475Smrg 5844d522f475Smrg <li>correct argument type for sigsetjmp, incidental change in patch 5845d522f475Smrg #96's Unix88 PTY patch (reported by Bram Moolenaar). 5846d522f475Smrg 5847d522f475Smrg <li>correct description of secondary DA in ctlseqs.ms (reported by Bram 5848d522f475Smrg Moolenaar). 5849d522f475Smrg 5850d522f475Smrg <li>decouple the backarrowKey and ptyInitialErase resources by 5851d522f475Smrg adding a new resource backarrowKeyIsErase, to accommodate people 5852d522f475Smrg using applications which have hardcoded tests for characters 8 and 5853d522f475Smrg 127 rather than relying on the stty settings. 5854d522f475Smrg 5855d522f475Smrg <li>modify the UTF-8 decoder so that all possible illegal UTF-8 5856d522f475Smrg sequences are properly represented by U+FFFD. This should be very 5857d522f475Smrg helpful for developers of code that output UTF-8 strings for 5858d522f475Smrg debugging. See the file utf-8-test.txt in 5859d522f475Smrg http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a 5860d522f475Smrg demonstration text that contains numerous illegal UTF-8 values. 5861d522f475Smrg (patch by Markus Kuhn). 5862d522f475Smrg 5863d522f475Smrg <li>correct a place in ScrnRefresh where I was filling the high byte of 5864d522f475Smrg a wide character with a space rather than a null (reported by Markus 5865d522f475Smrg Kuhn). 5866d522f475Smrg</ul> 5867d522f475Smrg 5868d522f475Smrg<H1><A NAME="xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A></H1> 5869d522f475Smrg<ul> 5870d522f475Smrg <li>correct data manipulation in unparseputc(), broken for 5871d522f475Smrg little-endian machines by patch #97's UTF-8 changes. This meant that 5872d522f475Smrg keyboard input on SunOS did not work, though Linux i386 was fine. 5873d522f475Smrg 5874d522f475Smrg <li>modify initialization for backarrowKey and logic for initial-erase 5875d522f475Smrg to prevent the initial-erase from overriding an explicitly set 5876d522f475Smrg backarrowKey resource (reported by Vikas Agnihotri). 5877d522f475Smrg 5878d522f475Smrg <li>add a missing null-pointer check in ScrnRefresh, for the 5879d522f475Smrg wide-characters configuration. 5880d522f475Smrg</ul> 5881d522f475Smrg 5882d522f475Smrg<H1><A NAME="xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A></H1> 5883d522f475Smrg<ul> 5884d522f475Smrg <li>add configure script test for -lutil, needed for openpty call when 5885d522f475Smrg configuring xterm for Glibc-2.1 and Unix98 PTY's (first reported by 5886d522f475Smrg Martin Lorentz" <m.lorentz@w12.link-goe.de>). 5887d522f475Smrg 5888d522f475Smrg <li>completely parenthesize ifdef expressions for Glibc (suggested by 5889d522f475Smrg Bob Maynard). 5890d522f475Smrg 5891d522f475Smrg <li>add initial-erase options (-ie, +ie) to help message (reported by 5892d522f475Smrg Vikas Agnihotri). 5893d522f475Smrg 5894d522f475Smrg <li>remove duplicate definition of USE_USG_PTYS (reported by Jeremy 5895d522f475Smrg Buhler). 5896d522f475Smrg 5897d522f475Smrg <li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a DEL 5898d522f475Smrg (\177). 5899d522f475Smrg I overlooked this when separating the styles of keyboard with 5900d522f475Smrg the <em>sunKeyboard</em> resources in patch #94, so that it normally 5901d522f475Smrg matches the value of the stty erase character: 5902d522f475Smrg <ul> 5903d522f475Smrg <li>Reported by Jae Gangemi <jgangemi@ccf.rutgers.edu>, 5904d522f475Smrg this caused emacs to not process the DEL properly, combining it 5905d522f475Smrg with succeeding characters. 5906d522f475Smrg <li>This does not appear to be related to a problem which I have 5907d522f475Smrg found with <em>screen</em>, which translates the stty erase into 5908d522f475Smrg the termcap <em>kD</em> or terminfo <em>kdch1</em> value 5909d522f475Smrg (depending on how it is linked) 5910d522f475Smrg if the $TERMCAP variable is set when <em>screen</em> is invoked. 5911d522f475Smrg </ul> 5912d522f475Smrg 5913d522f475Smrg <li>add command-line options for enabling UTF-8 mode: -u8 and +u8. 5914d522f475Smrg The more obvious -utf8 and +utf8 would conflict with xterm's 5915d522f475Smrg -ut and +ut (utmp) options. 5916d522f475Smrg 5917d522f475Smrg The UTF-8 changes were requested by Markus Kuhn 5918d522f475Smrg <Markus.Kuhn@cl.cam.ac.uk>. This patch does not complete UTF-8 5919d522f475Smrg implementation, but makes it usable, i.e., display and refresh work, 5920d522f475Smrg and I am able to display the test cases which Markus provides. 5921d522f475Smrg More work is needed to complete this feature: 5922d522f475Smrg <ul> 5923d522f475Smrg <li>the control sequences for switching in/out of UTF-8 mode are 5924d522f475Smrg partly implemented (don't use them). Similarly, the switching 5925d522f475Smrg between vt100 and tek4014 emulations when UTF-8 mode is enabled 5926d522f475Smrg will not work properly. 5927d522f475Smrg <p> 5928d522f475Smrg You must use the -u8 command line option 5929d522f475Smrg to use this feature, as well as compile with the OPT_WIDE_CHARS 5930d522f475Smrg definition. 5931d522f475Smrg <li>cut/paste only copies 8-bit characters. 5932d522f475Smrg <li>logging is disabled in the wide-character configuration 5933d522f475Smrg <li>printing only writes 8-bit characters. 5934d522f475Smrg <li>input only does 8-bit characters. This is the area that I know 5935d522f475Smrg least about. 5936d522f475Smrg </ul> 5937d522f475Smrg</ul> 5938d522f475Smrg 5939d522f475Smrg<H1><A NAME="xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A></H1> 5940d522f475Smrg<ul> 5941d522f475Smrg <li>modify Makefile.in to work with configure script's --srcdir option. 5942d522f475Smrg (patch by Jeremy Buhler <jbuhler@cs.washington.edu>) 5943d522f475Smrg 5944d522f475Smrg <li>add checks for 'echo -n' equivalent for 8colors.sh and 16colors.sh 5945d522f475Smrg scripts (reported by Vikas Agnihotri). 5946d522f475Smrg 5947d522f475Smrg <li>improve logic that looks for bold fonts to allow for wildcards 5948d522f475Smrg in the specification for normal fonts, and to ensure that if 5949d522f475Smrg a bold font is specified as normal, that xterm will simulate a 5950d522f475Smrg bold version of that using a one-pixel offset overstrike 5951d522f475Smrg (reported by Henrik Harmsen <harmsen@erv.ericsson.se>). 5952d522f475Smrg 5953d522f475Smrg <li>correct horizontal spacing of double width line-drawing characters 5954d522f475Smrg that xterm simulates. 5955d522f475Smrg 5956d522f475Smrg <li>improve support for Unix98 PTY's, using patch in Debian bug report 5957d522f475Smrg #35650, by Topi Miettinen <Topi.Miettinen@medialab.sonera.fi>. 5958d522f475Smrg Andreas Jaeger says this also corrects a permissions problem 5959d522f475Smrg reported by cat@zip.net.au 5960d522f475Smrg 5961d522f475Smrg <li>modify initial-erase logic to ensure that <code>ttyModes</code> 5962d522f475Smrg resource overrides it. 5963d522f475Smrg</ul> 5964d522f475Smrg 5965d522f475Smrg<H1><A NAME="xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A></H1> 5966d522f475Smrg<ul> 5967d522f475Smrg <li>modify primary DA response to allow a '1' parameter. 5968d522f475Smrg 5969d522f475Smrg <li>add printer and national replacement character sets to VT220 5970d522f475Smrg primary DA response. 5971d522f475Smrg 5972d522f475Smrg <li>document primary and secondary DA responses in ctlseqs.ms 5973d522f475Smrg 5974d522f475Smrg <li>use the patch number (e.g., 95) in the secondary DA response, 5975d522f475Smrg providing user applications a means of determining the version 5976d522f475Smrg of xterm for feature comparison (request by Bram Moolenaar). 5977d522f475Smrg 5978d522f475Smrg <li>make xterm respond to secondary DA when the decTerminalID 5979d522f475Smrg is set for VT100. 5980d522f475Smrg 5981d522f475Smrg <li>limit user-defined keys (DECUDK) to VT220-style keyboard 5982d522f475Smrg when sunKeyBoard resource is true. 5983d522f475Smrg 5984d522f475Smrg <li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with 5985d522f475Smrg Glibc-2.1 and no Unix98 PTY support (patch from From Andreas Jaeger 5986d522f475Smrg <aj@arthur.rhein-neckar.de>) 5987d522f475Smrg 5988d522f475Smrg <li>add optional feature (resource and command-line options) to make 5989d522f475Smrg xterm use the PTY's sense of erase character on startup, rather than 5990d522f475Smrg requiring it to be \177, or set the PTY's erase character to match 5991d522f475Smrg xterm's configuration. Note that while $TERMCAP is modified to 5992d522f475Smrg reflect the actual configuration, the terminfo kdch1 string is not 5993d522f475Smrg (request by Dirk H Hohndel <hohndel@suse.de>) 5994d522f475Smrg 5995d522f475Smrg <li>improve scripts in vttests to work with newer shells that do not 5996d522f475Smrg use 'echo -n'. 5997d522f475Smrg 5998d522f475Smrg <li>add fonts.sh example script 5999d522f475Smrg 6000d522f475Smrg <li>correct inequality in handling of "#1" font specification. 6001d522f475Smrg 6002d522f475Smrg <li>correct call to XGetWMNormalHints() used for computing maximum 6003d522f475Smrg screen size; the size hints may not have been set. 6004d522f475Smrg 6005d522f475Smrg <li>begin implementation of support for wide-characters (configure 6006d522f475Smrg option --enable-wide-chars defines OPT_WIDE_CHARS, invoke xterm with 6007d522f475Smrg -wc option to activate this feature). This patch optionally widens 6008d522f475Smrg internal data structures, invokes the 16-bit text output rather than 6009d522f475Smrg the 8-bit version and adds some tables. 6010d522f475Smrg 6011d522f475Smrg</ul> 6012d522f475Smrg<H1><A NAME="xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A></H1> 6013d522f475Smrg<ul> 6014d522f475Smrg <li>further fixes for terminfo: ka1, ka3, etc., differ between the 6015d522f475Smrg default xterm-xfree86 and xterm-vt220 entries. 6016d522f475Smrg 6017d522f475Smrg <li>change default (with sunKeyboard resource false) behavior of 6018d522f475Smrg the editing keypad "Delete" to send a 127, like xterm-r6. 6019d522f475Smrg The VT220-style <code><ESC>[3~</code> is sent when 6020d522f475Smrg sunKeyboard is true (reported by Tomas Vanhala). 6021d522f475Smrg 6022d522f475Smrg <li>add parameters to function keys to indicate if shift, control 6023d522f475Smrg or alt are set. The codes are based on a description of 6024d522f475Smrg a DEC VT510 with a PC keyboard, from Jeffrey Altman 6025d522f475Smrg <jaltman@watsun.cc.columbia.edu>. 6026d522f475Smrg 6027d522f475Smrg <li>add control sequence 1035, set-num-lock action and num-lock 6028d522f475Smrg menu entry to control the use of the NumLock and Alt keys for 6029d522f475Smrg the Sun/PC and VT220 keyboard extensions. 6030d522f475Smrg 6031d522f475Smrg <li>implement DECSET/DECRST numeric keypad (DECNKM) mode. 6032d522f475Smrg 6033d522f475Smrg <li>modify terminfo and termcap to use recommended "X Window" or "X11" 6034d522f475Smrg names rather than "X Windows" (reported by Tomas Vanhala). 6035d522f475Smrg 6036d522f475Smrg <li>suppress translation of shifted keypad "+" when sunKeyboard 6037d522f475Smrg is true. 6038d522f475Smrg 6039d522f475Smrg <li>workaround unexpected behavior (perhaps bug) in XmbLookupString, 6040d522f475Smrg which returns trash in the string buffer for numlock and control-key 6041d522f475Smrg combined with keypad-keys. 6042d522f475Smrg 6043d522f475Smrg <li>modify ScrollBarReverseVideo() to keep scrollbar border visible 6044d522f475Smrg when reverse video is toggled. 6045d522f475Smrg 6046d522f475Smrg <li>correct missing case for parameter 17 (set highlight color) in 6047d522f475Smrg dynamic colors control sequences. 6048d522f475Smrg 6049d522f475Smrg <li>extend dynamic colors control sequences to allow users to 6050d522f475Smrg determine the colors and font which are currently active. 6051d522f475Smrg 6052d522f475Smrg <li>minor tweak to OSC responses, to use BEL if the application used 6053d522f475Smrg that to end the request, rather than ST. This works better with 6054d522f475Smrg shell scripts, which may not handle an 6055d522f475Smrg <code><ESC>backslash</code> very well. 6056d522f475Smrg 6057d522f475Smrg <li>separate menu settings for reverse video from that done under 6058d522f475Smrg program control. 6059d522f475Smrg 6060d522f475Smrg <li>corrected ifdef's for menus, which did not allow tek4014 to 6061d522f475Smrg be suppressed properly (reported by Clint Olsen). 6062d522f475Smrg 6063d522f475Smrg <li>integrated patch from Pavel Roskin 6064d522f475Smrg <pavel_roskin@geocities.com> 6065d522f475Smrg for Linux-2.2.x with GLibc-2.1 and 6066d522f475Smrg /dev/ptmx support: 6067d522f475Smrg <ul> 6068d522f475Smrg <li>main.c and resize.c were using different rules to determine 6069d522f475Smrg whether ATT should be defined (actually USE_USG_PTYS is more 6070d522f475Smrg apt). 6071d522f475Smrg 6072d522f475Smrg <li>copy definitions from main.c to resize.c to prevent 6073d522f475Smrg sys/stream.h and sys/ptem.h from inclusion when SYSV is not 6074d522f475Smrg defined 6075d522f475Smrg 6076d522f475Smrg <li>define CNUL if not already defined like other variables. 6077d522f475Smrg 6078d522f475Smrg <li>/dev/tty does exist in Linux, but it doesn't mean, it 6079d522f475Smrg should be used. Therefore EACCES is now an acceptable 6080d522f475Smrg result. 6081d522f475Smrg 6082d522f475Smrg <li>ifdef'd several calls such as <code>ioctl (ptyfd, I_PUSH, 6083d522f475Smrg "ptem")</code> to build on Linux (I_PUSH is not defined when 6084d522f475Smrg sys/stropts.h is not included). 6085d522f475Smrg </ul> 6086d522f475Smrg 6087d522f475Smrg <li>initialize second "ltc" variable in main.c (reported by David 6088d522f475Smrg Dawes). 6089d522f475Smrg 6090d522f475Smrg <li>provide definition for USE_USG_PTYS in screen.c 6091d522f475Smrg 6092d522f475Smrg <li>add resource-files to install rule in standalone Makefile.in 6093d522f475Smrg 6094d522f475Smrg <li>add sample scripts to illustrate titlebar controls, resizing 6095d522f475Smrg and colors. 6096d522f475Smrg</ul> 6097d522f475Smrg 6098d522f475Smrg<H1><A NAME="xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A></H1> 6099d522f475SmrgHere are several fixes and minor enhancements. The chief ones 6100d522f475Smrgare the fixes for NumLock mode and reverse video, since we had become 6101d522f475Smrgused to working around the problems. 6102d522f475Smrg<ul> 6103d522f475Smrg <li>remove kfnd/kll/kslt strings from terminfo, because curses 6104d522f475Smrg applications do not necessarily return khome/kend pairs 6105d522f475Smrg (reported by Vikas Agnihotri). 6106d522f475Smrg 6107d522f475Smrg <li>implement NumLock resource which overrides the keyboard tables for the 6108d522f475Smrg special case of keypad keys. This is a problem introduced in xterm 6109d522f475Smrg by X11R6 changes, i.e., an ambiguity which in effect discarded vt100 6110d522f475Smrg keypad support. 6111d522f475Smrg 6112d522f475Smrg <li>modify Sun/PC keyboard mode to extend this (emulation of DEC vt100 6113d522f475Smrg keypad) to the remainder of the numeric keypad. Now, the default 6114d522f475Smrg operating mode of xterm uses the keyboard tables as-is (except if 6115d522f475Smrg the NumLock mode overrides), but provides good vt100 keypad compatibility 6116d522f475Smrg if the Sun/PC keyboard menu item is checked. 6117d522f475Smrg 6118d522f475Smrg <li>separate command-line settings for reverse video from that done 6119d522f475Smrg under program control. This is a problem which was introduced by 6120d522f475Smrg X11R6. Though <em>correct</em>, most users are confused by allowing 6121d522f475Smrg the reset command to undo the effect of the command-line <kbd>-rv</kbd> 6122d522f475Smrg option. 6123d522f475Smrg 6124d522f475Smrg <li>add description of function keys, keypad and cursor keys to ctlseqs.ms 6125d522f475Smrg 6126d522f475Smrg <li>add terminfo entries for xterm-vt52, xterm-sun and xterm-hp 6127d522f475Smrg 6128d522f475Smrg <li>correct typo (missing case value) for DECSET 35, enable/disable 6129d522f475Smrg shifted keypad action and a few compiler warnings (reported by Zdenek 6130d522f475Smrg Sekera <zs@sgi.com>). 6131d522f475Smrg 6132d522f475Smrg <li>correct reporting of color values 8-15 in DECRQSS (reported by 6133d522f475Smrg Vikas Agnihotri). 6134d522f475Smrg 6135d522f475Smrg <li>modify parsing of ttyModes resource to recognize "^-" as "undef" 6136d522f475Smrg (requested by Tomas Vanhala). 6137d522f475Smrg 6138d522f475Smrg <li>integrate/extend changes to add iconify/maximize actions 6139d522f475Smrg (from Edward S. Arthur <eda@ultranet.com>). 6140d522f475Smrg 6141d522f475Smrg <li>add control sequences for maximizing/restoring window, and 6142d522f475Smrg for reporting maximum screen size. 6143d522f475Smrg 6144d522f475Smrg <li>add 'interpret' action, to support local function-key interpretation. 6145d522f475Smrg Used properly, this makes most of the specialized actions of xterm 6146d522f475Smrg redundant. 6147d522f475Smrg 6148d522f475Smrg <li>add control sequence private modes 1051, 1052 and 1052, for 6149d522f475Smrg setting the Sun and HP function key modes, and for setting the 6150d522f475Smrg Sun/PC keyboard mode. 6151d522f475Smrg 6152d522f475Smrg <li>add configure option --disable-maximize 6153d522f475Smrg 6154d522f475Smrg <li>add configure option --disable-num-lcok 6155d522f475Smrg 6156d522f475Smrg <li>extend descriptions of configure script options in INSTALL. 6157d522f475Smrg</ul> 6158d522f475Smrg 6159d522f475Smrg<H1><A NAME="xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A></H1> 6160d522f475Smrg<ul> 6161d522f475Smrg <li>increase buffer size for tgetent (i.e., termcap) to 1500. This 6162d522f475Smrg fixes a problem where <em>screen</em> is built using ncurses or 6163d522f475Smrg GNU termcap and <em>xterm</em> is built using the standard termcap 6164d522f475Smrg interface. The former does not limit the termcap size, while the 6165d522f475Smrg latter is assumed to be no longer than 1023 characters. The 6166d522f475Smrg <em>screen</em> program's termcap entry is about 1200 characters 6167d522f475Smrg long. 6168d522f475Smrg 6169d522f475Smrg <li>change update_menu_item() to a function, to simplify debugging. 6170d522f475Smrg This also reduces the executable by 4Kb. 6171d522f475Smrg 6172d522f475Smrg <li>add control sequences for DECSET 30, 1010, 1011 like rxvt (enable 6173d522f475Smrg or disable some features that were only settable via resources or 6174d522f475Smrg command line arguments). 6175d522f475Smrg 6176d522f475Smrg <li>add control sequence for DECSET 35, which enables/disables the 6177d522f475Smrg shifted keypad functions. 6178d522f475Smrg 6179d522f475Smrg <li>add support for switching font sizes, by stepping through the 6180d522f475Smrg font menu using shifted keypad plus and minus. 6181d522f475Smrg 6182d522f475Smrg <li>correct missing initialization of tekInhibit and tekSmall resources. 6183d522f475Smrg 6184d522f475Smrg <li>correct ifdef's in charproc.c for XtNgeometry and XtCGeometry 6185d522f475Smrg (reported by Bram Moolenaar). 6186d522f475Smrg</ul> 6187d522f475Smrg 6188d522f475Smrg<H1><A NAME="xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A></H1> 6189d522f475Smrg<ul> 6190d522f475Smrg <li>Implement logic to translate input characters which are mapped 6191d522f475Smrg when in vt220 National Replacement Character mode (requested by 6192d522f475Smrg Tomas Vanhala). 6193d522f475Smrg 6194d522f475Smrg <li>Resync configure scripts with my patches to autoconf 2.13 6195d522f475Smrg 6196d522f475Smrg <li>Change order of -lXmu and -lXext to accommodate cygwin32 6197d522f475Smrg (reported by Vikas Agnihotri). 6198d522f475Smrg 6199d522f475Smrg <li>Add "-ti" option to set terminal emulation level from command 6200d522f475Smrg line rather than via resource. 6201d522f475Smrg 6202d522f475Smrg <li>Simplify some of the preprocessor logic using #elif. 6203d522f475Smrg</ul> 6204d522f475Smrg 6205d522f475Smrg<H1><A NAME="xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A></H1> 6206d522f475SmrgThis implements several small fixes and enhancements. The chief one implements 6207d522f475Smrgfallback support for line drawing characters with fonts that do not include 6208d522f475Smrgthose characters. But I implemented that last. 6209d522f475Smrg 6210d522f475Smrg<ul> 6211d522f475Smrg <li>If any of the glyphs in positions 0-31 (used by xterm to implement 6212d522f475Smrg the VT100 alternate character set) are zero-sized (i.e., missing), 6213d522f475Smrg xterm will reserve a normal space for the glyph when drawing. I 6214d522f475Smrg implemented a simple stroke-drawing function to draw the line-drawing 6215d522f475Smrg characters and a couple of the other (simpler) characters such as 6216d522f475Smrg diamond. (This was suggested by Vikas Agnihotri). 6217d522f475Smrg 6218d522f475Smrg <li>Modify the computation of doublesize characters to work around font 6219d522f475Smrg servers which shift the scaled characters up/down or do not give the 6220d522f475Smrg correct width. 6221d522f475Smrg 6222d522f475Smrg <li>Add popup menu item and corresponding resource settings to disable 6223d522f475Smrg the font-scaling logic for doublesize characters to work around 6224d522f475Smrg (older) font servers which simply do not draw the fonts scaled to the 6225d522f475Smrg size that they said they would. I see this problem on a SunOS system 6226d522f475Smrg running X11R5; the X11R6 servers seem well behaved. 6227d522f475Smrg 6228d522f475Smrg <li>Implement new escape sequence, private mode 1049, which combines 6229d522f475Smrg the switch to/from alternate screen mode with screen clearing and 6230d522f475Smrg cursor save/restore. Unlike the existing escape sequence, this 6231d522f475Smrg clears the alternate screen when switching to it rather than when 6232d522f475Smrg switching to the normal screen, thus retaining the alternate screen 6233d522f475Smrg contents for select/paste operations. 6234d522f475Smrg 6235d522f475Smrg <p>When I implemented the popup menu entry to toggle between the normal 6236d522f475Smrg and alternate screens, I considered only pasting from the normal 6237d522f475Smrg screen to the alternate; this improvement allows either direction. 6238d522f475Smrg 6239d522f475Smrg <li>Changed the termcap and terminfo for xterm-xfree86 and xterm-8bit 6240d522f475Smrg to use the new 1049 private mode. 6241d522f475Smrg 6242d522f475Smrg <li>Modify the logic which switches between normal and alternate 6243d522f475Smrg screens so that the save/restore cursor operations apply only to the 6244d522f475Smrg current screen. That means that applications which use the terminfo 6245d522f475Smrg smcur/rmcur or termcap ti/te capabilities will restore the cursor to 6246d522f475Smrg the original position on the normal screen rather than to the most 6247d522f475Smrg recent place where a save-cursor operation was performed. 6248d522f475Smrg 6249d522f475Smrg <p>I note that a real VT100 terminal would not behave in this way, 6250d522f475Smrg but it is a moot point since the VT100 does not implement alternate 6251d522f475Smrg screen, and therefore the save/restore cursor sequence would not be 6252d522f475Smrg used in this context. I reviewed the logic which switches between 6253d522f475Smrg normal and alternate screens based on some recent newsgroup postings 6254d522f475Smrg as well as a proposed patch in the Debian group which attempts to 6255d522f475Smrg do this (the patch has a bug, however, so I did not use it). 6256d522f475Smrg 6257d522f475Smrg <li>Add popup menu entry for toggling the titeInhibit resource. 6258d522f475Smrg 6259d522f475Smrg <li>Add new resource answerbackString, which overrides the default 6260d522f475Smrg "xterm" returned by xterm when responding to an ENQ (control/E) 6261d522f475Smrg character (request by Rajesh Vaidheeswarran <rv@fore.com>). 6262d522f475Smrg 6263d522f475Smrg <li>Add new resource keyboardDialect for setting the NRC display 6264d522f475Smrg character set (request by Tomas Vanhala, who notes that I should 6265d522f475Smrg add logic to translate the keyboard as well). 6266d522f475Smrg 6267d522f475Smrg <li>Add new command-line option and corresponding resources for making 6268d522f475Smrg xterm generate escape sequences compatible with HP terminals. Like 6269d522f475Smrg the existing Sun escape sequences, this is available as a popup menu 6270d522f475Smrg item. It is enabled by the configure script with the option 6271d522f475Smrg --enable-hp-fkeys (requested by Toni Mueller <sales@oeko.net>). 6272d522f475Smrg 6273d522f475Smrg <li>Add configure script option --disable-boxchars to disable the 6274d522f475Smrg fallback support for line drawing characters. 6275d522f475Smrg 6276d522f475Smrg <li>Fix ifdef's for configure script --disable-ansi-color, and reviewed 6277d522f475Smrg all configure options to ensure that all can be enabled/disabled 6278d522f475Smrg appropriately. 6279d522f475Smrg 6280d522f475Smrg <li>Update config.guess and config.sub, from Lynx. 6281d522f475Smrg</ul> 6282d522f475Smrg 6283d522f475Smrg<H1><A NAME="xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A></H1> 6284d522f475SmrgThis patch completes the implementation of double-sized character support 6285d522f475Smrgfor the VT100 emulation, and fixes a few minor bugs: 6286d522f475Smrg 6287d522f475Smrg<ul> 6288d522f475Smrg<li>corrected the cursor position in HideCursor, which did not multiply 6289d522f475Smrgthe column by two when in doublesize mode. 6290d522f475SmrgThis bug, which did not appear in normal use, 6291d522f475Smrgdates back to my original <a href="#xterm_44">changes</a> to partly implement 6292d522f475Smrgdouble-sized characters. 6293d522f475SmrgI noticed it when cat'ing a typescript from vttest's double-sized character 6294d522f475Smrgtest. 6295d522f475Smrg<li>ensure that the current line is repainted when switching between 6296d522f475Smrgsingle and double width characters. 6297d522f475Smrg<li>reduce the number of bits used for double-sized character coding 6298d522f475Smrgfrom 3 to 2, to make more room for soft-font codes. 6299d522f475Smrg<li>copy newer ifdef's from the XFree86 3.3.3 release's main.c, 6300d522f475Smrgwhich address details of glibc and powerpc. 6301d522f475Smrg<li>moved definition of DECL_ERRNO in xterm.h to match XFree86 3.3.3 6302d522f475Smrg<li>modify <em>resize</em> to remove the ifdef on SVr4 that suppressed 6303d522f475Smrgprinting the script for $LINES and $COLUMNS. 6304d522f475SmrgSolaris' resize utility does this; suppressing the behavior is unnecessary. 6305d522f475Smrg</ul> 6306d522f475SmrgI tested the double-sized characters using vttest and the xfsft patch. 6307d522f475SmrgThese fonts worked reasonably well: 6308d522f475Smrg<pre> 6309d522f475Smrg -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1 6310d522f475Smrg 9x15 6311d522f475Smrg</pre> 6312d522f475SmrgThe iso8859 font does not include box characters, of course, but looks good. 6313d522f475Smrg 6314d522f475Smrg<H1><A NAME="xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A></H1> 6315d522f475SmrgThis refines my #85 patch by checking for a case where the font server 6316d522f475Smrgreturns a bold font that does not quite correspond to the normal font. 6317d522f475SmrgWhen I asked for a bold version of the 6x12 font, the font server 6318d522f475Smrgreturned a near equivalent where the ascent and descent values did not 6319d522f475Smrgmatch, causing xterm to leave lines across the display. 6320d522f475SmrgThis patch makes xterm reject that type of mismatch, falling back to the 6321d522f475Smrgold font behavior. 6322d522f475Smrg 6323d522f475Smrg<H1><A NAME="xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A></H1> 6324d522f475SmrgThis corrects a problem reported by Stefan Dalibor. My table entries for the 6325d522f475Smrg<em>printerExtent</em> and <em>printerFormFeed</em> resources used the wrong 6326d522f475Smrgtypes for sizeof, causing the printer to not work properly on some platforms 6327d522f475Smrgbecause the <em>printAttributes</em> resource was overwritten (e.g., Digital Unix with DEC Alpha). 6328d522f475Smrg<p> 6329d522f475SmrgI reviewed all of the resource table entries and fixed a potential problem with 6330d522f475Smrg<em>resizeGravity</em>, which was typed as <em>int</em> rather than 6331d522f475Smrg<em>XtGravity</em>. 6332d522f475Smrg 6333d522f475Smrg<H1><A NAME="xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A></H1> 6334d522f475SmrgA small fix: when switching to/from the continuous mouse reporting mode, 6335d522f475Smrgthe event mask was incorrect if xterm was built under X11R5 because the 6336d522f475Smrgoriginal data was saved under an ifdef for active-icon. 6337d522f475Smrg 6338d522f475Smrg<H1><A NAME="xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A></H1> 6339d522f475SmrgSome cleanup (I noticed the pixel droppings a few months ago after getting a 6340d522f475Smrgnew 17" monitor): 6341d522f475Smrg<ul> 6342d522f475Smrg <li>split-out the functions that load/reload fonts for xterm as new 6343d522f475Smrg file fontutils.c to extend them to support automatic loading of 6344d522f475Smrg bold font corresponding to the normal font. Adapted logic from 6345d522f475Smrg EMU 1.3 for this purpose. This fixes most occurrences of pixel 6346d522f475Smrg droppings from bold characters. 6347d522f475Smrg 6348d522f475Smrg <li>modified by renaming variables and adding casts to permit compile 6349d522f475Smrg with g++. 6350d522f475Smrg 6351d522f475Smrg <li>modify headers so they can all be compiled without order 6352d522f475Smrg dependencies, and use bracketed rather than quoting includes to allow 6353d522f475Smrg compile from separate directory. 6354d522f475Smrg 6355d522f475Smrg <li>renamed xtermm terminfo entry to xterm-mono, to avoid conflict with 6356d522f475Smrg Solaris entry now in ncurses. 6357d522f475Smrg</ul> 6358d522f475Smrg 6359d522f475Smrg<H1><A NAME="xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni</A> and 3.3.2e</H1> 6360d522f475SmrgSeveral small fixes and enhancements, including a patch from 6361d522f475SmrgBjorn Helgaas: 6362d522f475Smrg<ul> 6363d522f475Smrg <li>correct initialization of TERMCAP environment variable, which 6364d522f475Smrg was frequently set to garbage on non-Linux systems because 6365d522f475Smrg "termcap" and "newtc" contained random data from the stack. 6366d522f475Smrg 6367d522f475Smrg <li>remove the LINEWRAPPED attribute from lines as they are cleared. 6368d522f475Smrg Previously, the attribute was set but never cleared. 6369d522f475Smrg 6370d522f475Smrg <li>make word and line selections work even when lines are wrapped 6371d522f475Smrg by xterm. Previously, selections were limited to one screen line. 6372d522f475Smrg</ul> 6373d522f475Smrgas well as 6374d522f475Smrg<ul> 6375d522f475Smrg <li>modify logic for line-wrapping to reset the associated flag if 6376d522f475Smrg the application deletes a character. This fixes a problem reported 6377d522f475Smrg by Bjorn Helgaas where word/line selection would still wrap even 6378d522f475Smrg after deleting characters from the first line. 6379d522f475Smrg <li>add kll/kH capabilities to xterm-xfree86 entries in termcap and 6380d522f475Smrg terminfo (request by Michael Schroeder). 6381d522f475Smrg <li>shorten descriptions in termcap to make resolved entries all 6382d522f475Smrg shorter than 1023 character limit. 6383d522f475Smrg <li>use DECSTR control sequence to shorten initialization and reset 6384d522f475Smrg strings in xterm-xfree86 termcap and terminfo. 6385d522f475Smrg <li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match termcap. 6386d522f475Smrg <li>correct typos in initialization and reset strings in xterm-r5 6387d522f475Smrg termcap and terminfo. 6388d522f475Smrg <li>disable special translations of key symbols (the backarrow key, 6389d522f475Smrg the editing keypad and the keypad "+") when a modifier other than 6390d522f475Smrg shift, control or numlock is used. This makes xterm handle the meta 6391d522f475Smrg key as expected by people using emacs (reported by Pete Harlan 6392d522f475Smrg <harlan@pointofchoice.com> in linux.debian.user newsgroup). 6393d522f475Smrg</ul> 6394d522f475Smrg 6395d522f475Smrg<H1><A NAME="sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A></H1> 6396d522f475Smrg 6397d522f475SmrgMerge changes through patch #83 with the 3.3.2e version. This follows a 6398d522f475Smrgpatch by Matthieu Herrb <matthieu@laas.fr> to add checks for non-null 6399d522f475Smrgreturn from malloc. 6400d522f475Smrg 6401d522f475Smrg<H1><A NAME="xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A></H1> 6402d522f475SmrgSeveral small fixes and enhancements: 6403d522f475Smrg<ul> 6404d522f475Smrg <li>add configure test to infer if xterm should be installed setuid 6405d522f475Smrg based on previously installed xterm (reported by Stephen Marley 6406d522f475Smrg and Stefan Dalibor). 6407d522f475Smrg 6408d522f475Smrg <li>integrate/extend patch by Jason Bacon to implement quasi-continuous 6409d522f475Smrg mouse reporting. 6410d522f475Smrg 6411d522f475Smrg <li>correct control sequences transmitted by function keys F1 to F4 6412d522f475Smrg when sunFunctionKeys resource is true (it was still using the 6413d522f475Smrg VT100 control sequences). 6414d522f475Smrg 6415d522f475Smrg <li>modify handling of backarrow key so that the control modifier 6416d522f475Smrg toggles the backspace/delete interpretation set by the 6417d522f475Smrg backarrowKey resource. 6418d522f475Smrg 6419d522f475Smrg <li>limit the row and column values used to report mouse position. 6420d522f475Smrg</ul> 6421d522f475Smrg 6422d522f475SmrgFrom resync with XFree86 3.9Nb: 6423d522f475Smrg<ul> 6424d522f475Smrg <li>add support for the VSTATUS control character (patch by 6425d522f475Smrg Robert Earl <rearl@teleport.com>). 6426d522f475Smrg</ul> 6427d522f475Smrg 6428d522f475Smrg<H1><A NAME="xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A></H1> 6429d522f475SmrgBug fix for patch #81: 6430d522f475Smrg<ul> 6431d522f475Smrg <li>remove an #undef for NBBY, which caused compile problem on FreeBSD 6432d522f475Smrg (reported by David Dawes). 6433d522f475Smrg</ul> 6434d522f475Smrg 6435d522f475Smrg<H1><A NAME="xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A></H1> 6436d522f475SmrgMore bug fixes: 6437d522f475Smrg<ul> 6438d522f475Smrg <li>fix conflicting ifdef's for TIOCSLTC when building with Linux on 6439d522f475Smrg AXP aka DEC Alpha (reported by Robin Cutshaw). 6440d522f475Smrg 6441d522f475Smrg <li>correction to patch #79, move assignment for *utptr->ut_user = 0; 6442d522f475Smrg back into non-SVR4 ifdef in main.c, since this clobbers username on 6443d522f475Smrg Solaris 2.5.1 (analysis by Will Day 6444d522f475Smrg <willday@rom.oit.gatech.edu>). 6445d522f475Smrg 6446d522f475Smrg <li>corrected khome/kend in xterm-8bit terminfo description. 6447d522f475Smrg 6448d522f475Smrg <li>improve cursor color by making it always the reverse of fg/bg 6449d522f475Smrg unless the cursorColor resource is set, i.e., to something other than 6450d522f475Smrg the default foreground (reported by Vikas Agnihotri and Bram 6451d522f475Smrg Moolenaar). 6452d522f475Smrg 6453d522f475Smrg <li>minor fixes for compiler warnings, including a syntax error in 6454d522f475Smrg the AMOEBA ifdef's. 6455d522f475Smrg</ul> 6456d522f475SmrgFrom resync with XFree86 3.9Aj: 6457d522f475Smrg<ul> 6458d522f475Smrg <li>correction to patch #73, supply missing #else for fallback definitions 6459d522f475Smrg of size_t, time_t (Robin Cutshaw <robin@intercore.com>). 6460d522f475Smrg</ul> 6461d522f475Smrg 6462d522f475Smrg<H1><A NAME="xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A></H1> 6463d522f475SmrgThis fixes a couple of items leftover or introduced by patch 79: 6464d522f475Smrg<ul> 6465d522f475Smrg <li>take out the logic that suppresses editing-keypad in vt100 mode 6466d522f475Smrg (those keys are too valuable to give up for a fine point of 6467d522f475Smrg emulation). 6468d522f475Smrg 6469d522f475Smrg <li>corrected a couple of places in terminfo where I missed using the 6470d522f475Smrg vt220-style editing-keypad codes for Find/Select (mapped to Home/End). 6471d522f475Smrg 6472d522f475Smrg <li>checked termcap file against terminfo, fix several places where it 6473d522f475Smrg was inconsistent. 6474d522f475Smrg</ul> 6475d522f475Smrg 6476d522f475Smrg<H1><A NAME="xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A></H1> 6477d522f475Smrg 6478d522f475SmrgThis patch fixes several small bugs: 6479d522f475Smrg<ul> 6480d522f475Smrg <li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas Vanhala). 6481d522f475Smrg 6482d522f475Smrg <li>add new resource 'oldXtermFKeys' which provides backward compatibility 6483d522f475Smrg for F1-F4 control sequences with TOG's xterm. 6484d522f475Smrg 6485d522f475Smrg <li>determine the server's default foreground/background Pixel values, 6486d522f475Smrg needed if the -flipPixels X server option is used (reported by 6487d522f475Smrg David Dawes). 6488d522f475Smrg 6489d522f475Smrg <li>correct logic for F1-F4 function keys so that they generate VT100 6490d522f475Smrg compatible escape sequences in VT220 mode, since that is what the 6491d522f475Smrg numeric keypad is supposed to do (reported by Ron Johnson, Jr. 6492d522f475Smrg <ronjohn@communique.net>). 6493d522f475Smrg 6494d522f475Smrg <li>modify logic for editing keypad to work more like VT220: don't 6495d522f475Smrg pass those codes in VT100-mode unless oldXtermFKeys mode is set. 6496d522f475Smrg 6497d522f475Smrg <li>correct an interaction with the editing-keypad logic that prevented 6498d522f475Smrg backarrow key from sending a 127 for the delete key (the 'remove' 6499d522f475Smrg escape sequence was being sent instead). 6500d522f475Smrg 6501d522f475Smrg <li>use return-value from getuid() rather than the parameter, to work on 6502d522f475Smrg systems which do not update the latter (patch by Kevin Buhr 6503d522f475Smrg <buhr@mozart.stat.wisc.edu>) 6504d522f475Smrg 6505d522f475Smrg <li>correct scrollbar border color when toggling to/from secure keyboard 6506d522f475Smrg mode (patch by Jeff Uphoff <juphoff@tarsier.cv.nrao.edu>) 6507d522f475Smrg 6508d522f475Smrg <li>modifications to terminfo file: 6509d522f475Smrg<ul> 6510d522f475Smrg <li>rename description to xterm-xfree86, adding an entry 'xterm' 6511d522f475Smrg which is derived from xterm-xfree86 to simplify customization. 6512d522f475Smrg 6513d522f475Smrg <li>change string for kdch1 from \177 to \E[3~, to address complaints 6514d522f475Smrg from Debian developers. (This applies to the key labeled "Delete", 6515d522f475Smrg and does not affect the backarrow key). 6516d522f475Smrg 6517d522f475Smrg <li>add user-strings u6, u7, u8, u9 to entries to make them work with 6518d522f475Smrg Daniel Weaver's "tack" program. 6519d522f475Smrg 6520d522f475Smrg <li>modify xterm-24, xterm-bold, xterm-boldso entries to disentangle them from 6521d522f475Smrg explicit dependency upon xterm-xfree86. 6522d522f475Smrg 6523d522f475Smrg <li>add generic 'xterm-color' entry. 6524d522f475Smrg 6525d522f475Smrg <li>minor corrections to xterm-xfree86, xterm-8bit, xterm-r5 and 6526d522f475Smrg xterm-r6 entries. 6527d522f475Smrg</ul> 6528d522f475Smrg</ul> 6529d522f475Smrg 6530d522f475Smrg<H1><A NAME="xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A></H1> 6531d522f475Smrg 6532d522f475SmrgAgain, most of the bulk of this patch is for ANSI conversion. I used the 6533d522f475SmrgIRIX compiler's -wlint option to find the remaining functions that use 6534d522f475SmrgK&R syntax (since gcc does not do this properly). 6535d522f475Smrg 6536d522f475SmrgAlso, I changed the logic in the print code slightly to close unwanted files 6537d522f475Smrgbefore opening a pipe to the printer. This may help in some configurations 6538d522f475Smrgwhere the line printer hangs until xterm closes the pipe. 6539d522f475Smrg 6540d522f475Smrg<H1><A NAME="xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A></H1> 6541d522f475Smrg 6542d522f475SmrgMost of the bulk of this patch is to convert the extended C (K&R functions 6543d522f475Smrgwith prototypes) to ANSI. I verified that on Linux by comparing object 6544d522f475Smrgfiles, to ensure that I did not, for example, interchange parameters in 6545d522f475Smrgthe function declarations. 6546d522f475Smrg<p> 6547d522f475SmrgThe rest of the patch fixes several minor bugs, and adds a few features: 6548d522f475Smrg<ul> 6549d522f475Smrg <li>back-out my use of ncurses "captoinfo -f" option (if/then/else/endif) 6550d522f475Smrg formatting, since ncurses did not correctly filter embedded newlines 6551d522f475Smrg in terminfo capability strings until _after_ ncurses 4.1, thus 6552d522f475Smrg corrupting setf/setb/sgr strings (reported by Darren Hiebert and 6553d522f475Smrg others). 6554d522f475Smrg 6555d522f475Smrg <li>document SGR 8, 28 (invisible/visible), add corresponding 6556d522f475Smrg capabilities to terminfo description. 6557d522f475Smrg<p> 6558d522f475Smrg I would also add the 'prot protected capability, but the control 6559d522f475Smrg sequences for that would not be recognized or properly ignored by the 6560d522f475Smrg older xterm programs. 6561d522f475Smrg 6562d522f475Smrg <li>modify ChangeGroup to not suppress a null-resource, but treat it as an 6563d522f475Smrg empty string (recommended by Stefan Dalibor). 6564d522f475Smrg 6565d522f475Smrg <li>add printerAutoClose resource to control whether printer is closed 6566d522f475Smrg when going offline. More than one person reports problems (on 6567d522f475Smrg Solaris 2.6 and Digital Unix 4.0) getting the printer to proceed 6568d522f475Smrg unless xterm exits; I think that it is a problem flushing the pipe. 6569d522f475Smrg Closing it ought to flush it. 6570d522f475Smrg 6571d522f475Smrg <li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N (but adapt 6572d522f475Smrg XtStackAlloc/XtStackFree for clarity, as well as fixing memory leak). 6573d522f475Smrg 6574d522f475Smrg <li>change calls on FillCurBackground to ClearCurBackground, in effect 6575d522f475Smrg using XClearArea rather than XFillRectangle when clearing as a 6576d522f475Smrg side-effect of scrolling and insertion (patch by Alexander V 6577d522f475Smrg Lukyanov) 6578d522f475Smrg 6579d522f475Smrg <li>correct some places where insert/delete did not _move_ the color 6580d522f475Smrg attributes, using memmove (patch by Alexander V Lukyanov 6581d522f475Smrg <lav@long.yar.ru>) 6582d522f475Smrg 6583d522f475Smrg <li>add ifdef's for __CYGWIN32__, for port to cygnus version B19.1 6584d522f475Smrg (patch by Andrew Sumner <andrew_sumner@hotmail.com>). 6585d522f475Smrg 6586d522f475Smrg <li>remove #define for hpux that turned on USE_SYSV_ENVVARS, since this 6587d522f475Smrg causes some applications (such as 'less') to get incorrect $LINES and 6588d522f475Smrg $COLUMNS values (reported by Clint Olsen). 6589d522f475Smrg 6590d522f475Smrg <li>modify behavior for HP-UX, to set the "reserved" process group 6591d522f475Smrg controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does not produce an 6592d522f475Smrg error (patch by Ben Yoshino <ben@wiliki.eng.hawaii.edu>). 6593d522f475Smrg 6594d522f475Smrg <li>correct length of underlining, reducing it by one pixel to avoid 6595d522f475Smrg leaving a dot when the application does not clear the whole screen 6596d522f475Smrg (patch by (Sergei Laskavy <Laskavy@cs.msu.su>). 6597d522f475Smrg<p> 6598d522f475Smrg I noticed this only recently myself (and other people as well); it 6599d522f475Smrg depends on the font chosen. A 6x10 font shows it, but the other 6600d522f475Smrg fonts (from XTerm.ad) do not. I also see a similar problem with the 6601d522f475Smrg emulation of bold fonts. 6602d522f475Smrg 6603d522f475Smrg <li>add include for Xos.h to xterm.h, to ensure proper definitions 6604d522f475Smrg (reported by Holger Veit). 6605d522f475Smrg 6606d522f475Smrg <li>update config.guess to recognize Unixware 2.1 and 7 (patch by 6607d522f475Smrg Mike Hopkirk <hops@sco.com>). 6608d522f475Smrg</ul> 6609d522f475Smrg 6610d522f475Smrg<H1><A NAME="xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A></H1> 6611d522f475Smrg 6612d522f475SmrgA fix for the print-window function, and some minor cleanup: 6613d522f475Smrg<ul> 6614d522f475Smrg <li>modify logic that closes pipe in the print-window function to not use 6615d522f475Smrg pclose, which does not work on all systems, since I did not open the 6616d522f475Smrg pipe with popen (reported by Stefan Dalibor). 6617d522f475Smrg 6618d522f475Smrg <li>correct name of $(EXTRA_LOAD_FLAGS) imake variable (reported 6619d522f475Smrg by Stefan Dalibor). 6620d522f475Smrg 6621d522f475Smrg <li>guard logic in ChangeGroup() function against null pointer 6622d522f475Smrg (reported by Stefan Dalibor). 6623d522f475Smrg 6624d522f475Smrg <li>ensure that menu entry for toggling sunKeyboard resource is 6625d522f475Smrg initialized (reported by Branden Robinson <branden@purdue.edu>). 6626d522f475Smrg 6627d522f475Smrg <li>gcc unused-variable warnings (reported by Bernd Ernesti 6628d522f475Smrg <bernd@arresum.inka.de>) 6629d522f475Smrg 6630d522f475Smrg <li>rename global variable 'buffer' to 'VTbuffer' 6631d522f475Smrg</ul> 6632d522f475Smrg 6633d522f475Smrg<H1><A NAME="xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A></H1> 6634d522f475Smrg 6635d522f475SmrgThis incorporates fixes from several people, as well as some improvements 6636d522f475Smrgthat I made based on feedback from users: 6637d522f475Smrg<ul> 6638d522f475Smrg <li>add option to standalone configure script, "--with-own-terminfo-dir", 6639d522f475Smrg which causes xterm to pass a predefined value of $TERMINFO to the 6640d522f475Smrg application. Also use this value in install rule "make install-ti", 6641d522f475Smrg for the standalone configure script. 6642d522f475Smrg 6643d522f475Smrg (patch & feedback from Tor Lillqvist <tml@hemuli.tte.vtt.fi>) 6644d522f475Smrg 6645d522f475Smrg <li>change ifdef's for "hpux" to "__hpux" (patch by Tor Lillqvist). The 6646d522f475Smrg imake configuration uses the former, but the latter is predefined by 6647d522f475Smrg HP's compilers. 6648d522f475Smrg 6649d522f475Smrg <li>define USE_SYSV_ENVVARS for HP-UX, curses does not use $TERMCAP (patch 6650d522f475Smrg by Tor Lillqvist). 6651d522f475Smrg 6652d522f475Smrg <li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's. Works 6653d522f475Smrg both on HP-UX 9 and 10. (patch by Tor Lillqvist). 6654d522f475Smrg 6655d522f475Smrg <li>modify configure script to obtain the $(EXTRA_LOADFLAGS) value from 6656d522f475Smrg imake, needed for compiling under DEC OSF/1 (reported by 6657d522f475Smrg Stefan Dalibor) 6658d522f475Smrg 6659d522f475Smrg <li>modify print-window action so that the printer is closed after 6660d522f475Smrg printing a window, unless the printer was already opened (i.e., 6661d522f475Smrg by an application running in the window). This makes the printing 6662d522f475Smrg complete without having to exit xterm, since not all systems treat 6663d522f475Smrg fflush through a pipe very well (reported by Stefan Dalibor) 6664d522f475Smrg 6665d522f475Smrg <li>modify printing code so that the ^M's are not printed if the 6666d522f475Smrg printAttribute resource is set to zero (request by Stefan Dalibor). 6667d522f475Smrg 6668d522f475Smrg <li>correct typo in xterm.man, for the default value of printAttribute 6669d522f475Smrg (reported by Stefan Dalibor). 6670d522f475Smrg 6671d522f475Smrg <li>correct printing code so that the alternate character set is 6672d522f475Smrg printed, like other attributes, with escape sequences. 6673d522f475Smrg 6674d522f475Smrg <li>correct termcap description, removing spurious 'm' character from 6675d522f475Smrg the 'op' capability (reported by Greg Woods <woods@weird.com>). 6676d522f475Smrg 6677d522f475Smrg <li>correct trace code so that the initial timestamp is set. 6678d522f475Smrg 6679d522f475Smrg <li>correct/modify utmp data for the Linux glibc 2 configuration, 6680d522f475Smrg so that the ut_line member is set before using it to update wtmp 6681d522f475Smrg (patch by Bill Nottingham <wen1@cec.wustl.edu>). 6682d522f475Smrg</ul> 6683d522f475Smrg 6684d522f475Smrg<H1><A NAME="xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A></H1> 6685d522f475Smrg 6686d522f475SmrgThis corrects a couple of recent bugs and adds a new resource: 6687d522f475Smrg<ul> 6688d522f475Smrg <li>modify definition of TRACE_CHILD so that it does not conflict with 6689d522f475Smrg ifdef's for USE_USG_PTYS in main.c (reported by Vikas Agnihotri 6690d522f475Smrg <VikasA@att.com> and Stefan Dalibor). 6691d522f475Smrg 6692d522f475Smrg <li>correct ownership of file (actually pipe) written by the print 6693d522f475Smrg controls. When undoing the setuid changes in patch #69, I overlooked 6694d522f475Smrg this. Now xterm forks a process which resets setuid and routes the 6695d522f475Smrg printer data as the real user. 6696d522f475Smrg 6697d522f475Smrg <li>add a new resource, "printAttributes", which controls whether 6698d522f475Smrg color attributes (or any attributes) are sent to the printer. 6699d522f475Smrg</ul> 6700d522f475Smrg 6701d522f475Smrg<H1><A NAME="xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A></H1> 6702d522f475Smrg 6703d522f475SmrgThis patch does the following: 6704d522f475Smrg<ul> 6705d522f475Smrg <li>implements a print-window facility for xterm. Though useful in 6706d522f475Smrg itself, I added it as part of some debugging which I am doing. 6707d522f475Smrg (Occasionally during an exposure event xterm fails to restore the 6708d522f475Smrg proper colors for highlighted text, and printing the screen will 6709d522f475Smrg show the internal states nicely). 6710d522f475Smrg<p> 6711d522f475Smrg The print facility now also displays the color information. 6712d522f475Smrg (I will probably make this a resource). 6713d522f475Smrg 6714d522f475Smrg <li>modified the xterm-16color terminfo description to use the setaf and 6715d522f475Smrg setab strings, which is a little more efficient (requested by Stephen 6716d522f475Smrg Marley). 6717d522f475Smrg 6718d522f475Smrg <li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, unistd.h, 6719d522f475Smrg errno) making the configure script test for these. 6720d522f475Smrg<p> 6721d522f475Smrg I removed the symbols Size_t and Time_t, since they no longer serve 6722d522f475Smrg a useful purpose. 6723d522f475Smrg 6724d522f475Smrg <li>added some debugging traces to show the initial screen size, 6725d522f475Smrg and the success/failure of the ioctl calls pass handle window 6726d522f475Smrg resizing events to the application (for Clint Olsen). 6727d522f475Smrg<p> 6728d522f475Smrg I also modified the trace code to produce two files since some 6729d522f475Smrg of the information is produced by the child process. So now 6730d522f475Smrg they are Trace-parent.out and Trace-child.out 6731d522f475Smrg 6732d522f475Smrg <li>updated configure test for ANSI compiler options to handle a 6733d522f475Smrg special case for HP-UX 10.x (reported by Clint Olsen). 6734d522f475Smrg</ul> 6735d522f475Smrg 6736d522f475Smrg<H1><A NAME="xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A></H1> 6737d522f475Smrg 6738d522f475SmrgThis is a patch from Chris Siebenmann <cks@hawkwind.utcs.toronto.edu>, 6739d522f475Smrgwhich I have cleaned up a little, and integrated into the configure script. 6740d522f475Smrg<p> 6741d522f475SmrgFrom his description: 6742d522f475Smrg<blockquote> 6743d522f475Smrg This set of patches is the latest incarnation of patches originally 6744d522f475Smrgwritten by Ian! D Allen, then of the University of Waterloo and now of 6745d522f475Smrgwho knows where; I have been carrying them forward from xterm to xterm 6746d522f475Smrgever since about X11R4. What they do is add an option so that when an 6747d522f475Smrgiconified xterm receives output it prepends '*** ' to its icon title 6748d522f475Smrgand (optionally) beeps the bell; deiconifying the xterm removes the 6749d522f475Smrg'*** '. Over the years I've found this to be incredibly convenient for 6750d522f475Smrgmonitoring all sorts of low-activity things. 6751d522f475Smrg</blockquote> 6752d522f475Smrg 6753d522f475Smrg<H1><A NAME="xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A></H1> 6754d522f475Smrg 6755d522f475SmrgThis patch is a slightly modified version of one by Richard Braakman, which 6756d522f475Smrgprevents buffer overflow in the input-method and preedit-type parsing in xterm. 6757d522f475SmrgI changed a couple of details to make the code more maintainable, and looked 6758d522f475Smrgfor similar things - copying into a fixed-size buffer (found none, though I did 6759d522f475Smrgspot an unused variable). 6760d522f475Smrg 6761d522f475Smrg<H1><A NAME="xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A></H1> 6762d522f475Smrg 6763d522f475SmrgThis patch corrects some minor bugs in xterm, and fills in some more details 6764d522f475Smrgin the VT220 emulation: 6765d522f475Smrg<UL> 6766d522f475Smrg <LI>modify Imakefile to use SpecialCObjectRule for menu and data modules, 6767d522f475Smrg making xterm build properly if logging is enabled 6768d522f475Smrg (patch by Scott Sewall <scott@iprg.nokia.com>). 6769d522f475Smrg 6770d522f475Smrg <LI>restore "ich" capability to terminfo entries, since 6771d522f475Smrg Michael Schroeder points out that "ich1" 6772d522f475Smrg is the one which is the problem in Solaris vi. 6773d522f475Smrg 6774d522f475Smrg <LI>correct color of cursor, which would disappear on inverse-video 6775d522f475Smrg since the initialization did not compare the cursor color against 6776d522f475Smrg both foreground and background (reported by Olivier Calle). 6777d522f475Smrg 6778d522f475Smrg <LI>correct abbreviation-test for -version and -help options, making 6779d522f475Smrg command-line option -vb work (reported by Stefan Dalibor). 6780d522f475Smrg 6781d522f475Smrg <LI>correct a dependency between ifdef's for OPT_I18N_SUPPORT and 6782d522f475Smrg OPT_INPUT_METHOD (reported by Stefan Dalibor). 6783d522f475Smrg 6784d522f475Smrg <LI>split-out character-set translations as new module charsets.c, to 6785d522f475Smrg implement VT220 national replacement character sets (a mode where 6786d522f475Smrg some of the characters are displayed as specific European glyphs). 6787d522f475Smrg This relies on xterm using an ISO 8859-1 font (approach suggested by 6788d522f475Smrg Kenneth R. Robinette <zkrr01@mailbox.neosoft.com>). 6789d522f475Smrg 6790d522f475Smrg <LI>correct a missing increment, which made SS2 and SS3 controls 6791d522f475Smrg repeat the shifted character. 6792d522f475Smrg 6793d522f475Smrg <LI>add xterm-nrc to terminfo to illustrate the VT220 national 6794d522f475Smrg replacement character sets. 6795d522f475Smrg 6796d522f475Smrg <LI>reformat terminfo using new ncurses tic option "-f", which makes 6797d522f475Smrg if/then/else/endif expressions easier to read. 6798d522f475Smrg</UL> 6799d522f475Smrg 6800d522f475Smrg<H1><A NAME="xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A></H1> 6801d522f475Smrg 6802d522f475SmrgThis corrects the problem in xterm with utmp, reported by Olivier Calle 6803d522f475Smrg<olivier@tc.fluke.com> 6804d522f475Smrgas well as some other people after the XFree86 3.3.2 release. 6805d522f475Smrg<P> 6806d522f475SmrgThe error was introduced by my patch #53 in XFree86 3.9r (October 1997). 6807d522f475Smrg<P> 6808d522f475SmrgThe correction removes the reset of setuid/setgid before the main event loop, 6809d522f475Smrgand solves the problem which I had worked around in a different manner: for 6810d522f475Smrgsome reason, the particular waitpid() call in creat_as() hangs, does not 6811d522f475Smrgreturn when the child process exits. I changed the ifdef's to force the Linux 6812d522f475Smrgconfiguration to use wait() instead. This call appears to work properly on 6813d522f475Smrgother platforms such as SunOS and Solaris. 6814d522f475Smrg<P> 6815d522f475SmrgI also added tests in the standalone configure script to check for the 6816d522f475Smrgexistence of waitpid(). 6817d522f475Smrg 6818d522f475Smrg<H1><A NAME="xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A></H1> 6819d522f475Smrg 6820d522f475SmrgThis corrects another problem with the logic for highlightColor resource. 6821d522f475SmrgAs reported by David Dawes: 6822d522f475Smrg<blockquote> 6823d522f475Smrg I've just noticed a problem with with the "inverse" control sequence 6824d522f475Smrg (ESC[7m) with the 3.3.2 xterm. What it does is sets the background 6825d522f475Smrg black, and the text the usual foreground colour rather than simply 6826d522f475Smrg swapping the foreground/background. 6827d522f475Smrg 6828d522f475Smrg</blockquote> 6829d522f475SmrgThis appears to be because when I added logic to check that the highlightColor 6830d522f475Smrgwas distinct from foreground and background colors, I did not add a further 6831d522f475Smrgcheck to see that it was not black (I would make an explicit check for the 6832d522f475Smrgresource not being set, but see nothing definite in the headers that would let 6833d522f475Smrgme reference an explicitly-undefined Pixel value, though there are some 6834d522f475Smrgimplications in xpm.h). But this should work. 6835d522f475Smrg 6836d522f475Smrg<H1><A NAME="xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A></H1> 6837d522f475Smrg 6838d522f475SmrgThis patch does the following: 6839d522f475Smrg<UL> 6840d522f475Smrg <LI>improve test for highlightColor so that xterm does not attempt to 6841d522f475Smrg use that unless it is different from the foreground and background 6842d522f475Smrg colors (reported by Stefan Dalibor 6843d522f475Smrg <Stefan.Dalibor@informatik.uni-erlangen.de>. 6844d522f475Smrg<P> 6845d522f475Smrg I could not reproduce this until I noticed that the -rev option 6846d522f475Smrg exposed it nicely. 6847d522f475Smrg 6848d522f475Smrg <LI>remove ich and ich1 from xterm and xterm-8bit terminfo descriptions. 6849d522f475Smrg SVr4 terminfo documents that you must not combine these with 6850d522f475Smrg smir/rmir, but ncurses allows it, opening a hole. Solaris 2.6 vi 6851d522f475Smrg does not work properly if it is using a terminfo description when 6852d522f475Smrg these are combined, since it was written to accommodate old terminals 6853d522f475Smrg that required it (reported by Stephen Marley). 6854d522f475Smrg 6855d522f475Smrg <LI>restore 1-pixel overlap of scrollbar border with left edge of window 6856d522f475Smrg (reported by Jim Burmeister <jimb@metrolink.com>). 6857d522f475Smrg 6858d522f475Smrg <LI>add a configure option, --enable-logfile-exec, which allows the 6859d522f475Smrg user to specify a pipe for logfile. This defines ALLOWLOGFILEEXEC. 6860d522f475Smrg 6861d522f475Smrg <LI>makes the ALLOWLOGFILEEXEC code compile & run, if configured. 6862d522f475Smrg 6863d522f475Smrg <LI>minor documentation nits. 6864d522f475Smrg</UL> 6865d522f475Smrg 6866d522f475Smrg<H1><A NAME="xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A></H1> 6867d522f475Smrg 6868d522f475SmrgThis fixes the problem reported with failure to build the <EM>resize</EM> 6869d522f475Smrgprogram (BSDI, OSF/1) due to not having <termcap.h>, by changing the 6870d522f475Smrgifdef to one that would be set only if the file exists (not currently 6871d522f475Smrgspecified, except by the standalone configure script). We do not really need 6872d522f475Smrgto include <termcap.h> to build, but only for a clean compile, since it 6873d522f475Smrgmay declare the tgetent() prototype. 6874d522f475Smrg 6875d522f475SmrgI also updated the man-page for <EM>resize</EM>, since I had recently noticed 6876d522f475Smrgthat it can be used to resize <EM>xterm</EM> using the "Sun" control sequences 6877d522f475Smrgoption. 6878d522f475Smrg 6879d522f475Smrg<H1><A NAME="xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A></H1> 6880d522f475Smrg 6881d522f475SmrgThis is a small patch to xterm's 8-bit terminal description. I noticed 6882d522f475Smrgwhile testing ncurses that I had specified the wrong (VT100-style) codes 6883d522f475Smrgfor the F1-F4. Xterm only uses VT220-style function keys in 8-bit mode. 6884d522f475Smrg 6885d522f475Smrg<H1><A NAME="xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A></H1> 6886d522f475Smrg 6887d522f475SmrgThis fixes the following problems with xterm: 6888d522f475Smrg<UL> 6889d522f475Smrg <LI>save/restore the ANSI foreground and background colors with the other 6890d522f475Smrg visible attributes in the save-cursor and restore-cursor operations. 6891d522f475Smrg This works around a problem with vim, which apparently assumed that 6892d522f475Smrg switching between the normal and alternate screens resets the colors 6893d522f475Smrg (reported by Jim Battle <jb@chromatic.com>). 6894d522f475Smrg<P> 6895d522f475Smrg It would be nice to implement save/restore cursor as a stack (and 6896d522f475Smrg solve this type of problem completely), but that would lead to 6897d522f475Smrg incompatibility with applications which assume they are running with a 6898d522f475Smrg VT100 or VT220. 6899d522f475Smrg 6900d522f475Smrg <LI>corrects behavior of a restore-cursor operation which does not 6901d522f475Smrg follow a save-cursor (it is supposed to set the character sets 6902d522f475Smrg to a known initial state). 6903d522f475Smrg 6904d522f475Smrg <LI>extends the sunKeyboard resource (and menu toggle) to modify the 6905d522f475Smrg home, end and delete keys on a Sun or PC editing keypad, making them 6906d522f475Smrg generate codes compatible with DEC VT220's Find, Select and Remove 6907d522f475Smrg keys. 6908d522f475Smrg 6909d522f475Smrg <LI>corrects a length in checking command-line options, which caused the 6910d522f475Smrg "-help" message to not work when X was not running. 6911d522f475Smrg 6912d522f475Smrg <LI>adds some detail to the man-page (requested by Jason Bacon 6913d522f475Smrg <acadix@execpc.com>) 6914d522f475Smrg 6915d522f475Smrg <LI>modify the standalone configure script to ignore the broken nsl and 6916d522f475Smrg socket libraries on IRIX 6.2 (the ones on 5.2 also are broken, so 6917d522f475Smrg this change just widens the check for the system version number). 6918d522f475Smrg</UL> 6919d522f475Smrg 6920d522f475Smrg<H1><A NAME="xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A></H1> 6921d522f475Smrg 6922d522f475SmrgThis is another patch from Bjorn Helgaas <helgaas@rsn.hp.com>, which I've 6923d522f475Smrgreviewed (and learned some). Following are his notes: 6924d522f475Smrg<P> 6925d522f475SmrgI poked around some more and finally got xterm-62 to build and run 6926d522f475Smrgcleanly on HP-UX 10.20. Here are the patches. They look sort of 6927d522f475Smrgugly, so here's a little explanation: 6928d522f475Smrg<UL> 6929d522f475Smrg <LI>aclocal.m4: Removed side effects from the AC_CACHE_VAL 6930d522f475Smrg commands in CF_FUNC_TGETENT. Previously, LIBS was set inside 6931d522f475Smrg AC_CACHE_VAL, which worked fine the first time configure was 6932d522f475Smrg run, but failed if there were cached values. 6933d522f475Smrg 6934d522f475Smrg <LI>aclocal.m4: Added temporary setting of LIBS before 6935d522f475Smrg AC_TRY_LINK in CF_FUNC_TGETENT. Previously, the last value set 6936d522f475Smrg by the AC_TRY_RUN loop was used, so only -lcurses was checked. 6937d522f475Smrg 6938d522f475Smrg <LI>configure.in: Added temporary setting of CPPFLAGS before 6939d522f475Smrg AC_CHECK_HEADERS for X11 files. Previously <X11/DECkeysym.h> 6940d522f475Smrg and <X11/Xpoll.h> were found only if they were in the compiler's 6941d522f475Smrg default include directories, even if `--x-includes=DIR' had been 6942d522f475Smrg used or AC_PATH_XTRA had found them elsewhere. 6943d522f475Smrg</UL> 6944d522f475SmrgThe problem on HP-UX was that we were linking with -lcurses rather than 6945d522f475Smrg-ltermcap due to the second bullet above, and apparently something in 6946d522f475SmrgHP-UX curses is broken. This seems very strange, because the only thing 6947d522f475Smrgused is tgetent, which should affect any tty/pty configuration, but I 6948d522f475Smrglost interest in tracking down the exact problem. 6949d522f475Smrg 6950d522f475Smrg<H1><A NAME="xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A></H1> 6951d522f475Smrg 6952d522f475SmrgThis is a patch mostly by Bjorn Helgaas <helgaas@dhc.net> (I added the 6953d522f475Smrgos2main.c change, and a little of the documentation). From Bjorn's 6954d522f475Smrgdescription: 6955d522f475Smrg<UL> 6956d522f475Smrg <LI>If you use the "-hc <color>" option or set the "highlightColor" 6957d522f475Smrg resource, text is highlighted by changing only the background color, 6958d522f475Smrg rather than using reverse video. I find this easier to read, 6959d522f475Smrg especially when selecting multi-colored text, and it is similar to 6960d522f475Smrg the way Netscape shows selections. 6961d522f475Smrg 6962d522f475Smrg <LI>Most of the code changes are under "#if OPT_HIGHLIGHT_COLOR". The 6963d522f475Smrg principal exception is in screen.c, where I added a couple calls to 6964d522f475Smrg resetXtermGC(). This seems like it could be a bug even without 6965d522f475Smrg the color highlighting changes (though I don't pretend to understand 6966d522f475Smrg all the logic). 6967d522f475Smrg</UL> 6968d522f475Smrg 6969d522f475Smrg<H1><A NAME="xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A></H1> 6970d522f475Smrg 6971d522f475SmrgThis patch modifies the reset behavior of xterm slightly: 6972d522f475Smrg<UL> 6973d522f475Smrg <LI>change the terminfo entry so that rs1 (one of the strings used by 6974d522f475Smrg the 'reset' program) does a hard reset rather than switching 6975d522f475Smrg character sets. This is more in accord with other terminal 6976d522f475Smrg descriptions. 6977d522f475Smrg 6978d522f475Smrg <LI>modifies the treatment of hard reset by the xterm program to 6979d522f475Smrg reset the saved lines. 6980d522f475Smrg 6981d522f475Smrg <LI>corrects hard reset by also resetting user-defined keys (DECUDK). 6982d522f475Smrg</UL> 6983d522f475Smrg 6984d522f475Smrg<H1><A NAME="xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A></H1> 6985d522f475Smrg 6986d522f475SmrgThis fixes some minor bugs and adds new functionality: 6987d522f475Smrg<UL> 6988d522f475Smrg <LI>add support for blinking text. 6989d522f475Smrg<UL> 6990d522f475Smrg <LI>This does not actually cause the 6991d522f475Smrg text to flash, but text with the blink attribute can be displayed 6992d522f475Smrg in color, using new resources colorBL and colorBLMode. 6993d522f475Smrg 6994d522f475Smrg <LI>If colors are not used, the blinking text will be displayed as 6995d522f475Smrg before (just like bold). The main purpose of this is to make 6996d522f475Smrg applications work properly when they assume the emulator supports 6997d522f475Smrg blinking text. 6998d522f475Smrg 6999d522f475Smrg <LI>I did this by moving the per-cell LINEWRAPPED flag to a per-line 7000d522f475Smrg flag, to make room for the new BLINK flag. There were no per-line 7001d522f475Smrg flags, so this changes a lot of logic. 7002d522f475Smrg</UL> 7003d522f475Smrg 7004d522f475Smrg <LI>corrected missing save-cursor logic in the handling of SGR 1048 7005d522f475Smrg (the new control sequence I added in patch #54, 1997/10/17). 7006d522f475Smrg Reported by Darren Hiebert. 7007d522f475Smrg 7008d522f475Smrg <LI>flush the output of the transparent printing after each line 7009d522f475Smrg Reported by Tomas Vanhala <vanhala@ling.helsinki.fi>. 7010d522f475Smrg 7011d522f475Smrg <LI>correct the modes that are affected by save/restore cursor by adding 7012d522f475Smrg WRAPAROUND and PROTECTED. 7013d522f475Smrg 7014d522f475Smrg <LI>corrected placement of one of the XSync calls that I added in patch 7015d522f475Smrg #51, 1997/9/15, which had the side-effect of writing on the window 7016d522f475Smrg border when the xterm was resizing from 132 to 80 columns. 7017d522f475Smrg 7018d522f475Smrg <LI>work around an incompatibility of the XKB definition used in xterm 7019d522f475Smrg versus that symbol from IRIX 6.2's imake definitions (by adjusting 7020d522f475Smrg the standalone configure script). 7021d522f475Smrg</UL> 7022d522f475Smrg 7023d522f475Smrg<H1><A NAME="xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A></H1> 7024d522f475Smrg 7025d522f475SmrgMy last patch has an off-by-one error in the comparison for argc. Douglas 7026d522f475SmrgKosovic <douglask@dstc.edu.au> showed me where (he got a core dump). 7027d522f475SmrgAlso, I think this explains Clint Olsen's problem, but the symptoms were more 7028d522f475Smrgsubtle (EINVAL for a system call if the -display option is omitted). 7029d522f475Smrg 7030d522f475Smrg<H1><A NAME="xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A></H1> 7031d522f475Smrg 7032d522f475SmrgThis patch does the following: 7033d522f475Smrg<UL> 7034d522f475Smrg <LI>implement logic to permit xterm to work with proportional fonts. 7035d522f475Smrg<UL> 7036d522f475Smrg <LI>Thomas Wolff 7037d522f475Smrg <Thomas.Wolff@sietec.de> 7038d522f475Smrg requested this (but it isn't exactly what he's asking 7039d522f475Smrg for - that's a more involved task). 7040d522f475Smrg 7041d522f475Smrg <LI>I chose to do this by rendering the characters on a fixed pitch, 7042d522f475Smrg because it would not be useful for existing applications to display 7043d522f475Smrg varying numbers of characters on each line. 7044d522f475Smrg 7045d522f475Smrg <LI>Except that this forces the display to be wider, it works reasonably 7046d522f475Smrg well. A couple of special cases (reverse + colorBD, for example) 7047d522f475Smrg do not display with proper colors, since the inter-character gaps 7048d522f475Smrg are painted with the background. 7049d522f475Smrg</UL> 7050d522f475Smrg 7051d522f475Smrg <LI>added a version number to the program (several people have requested 7052d522f475Smrg this). 7053d522f475Smrg 7054d522f475Smrg <LI>make the -version and -help options interpreted before the program 7055d522f475Smrg attempts to open the display. 7056d522f475Smrg 7057d522f475Smrg <LI>minor reorganization of the man-page (ordered the options, resources 7058d522f475Smrg and translations alphabetically - and eliminated some duplication). 7059d522f475Smrg 7060d522f475Smrg <LI>corrected a misspelled filename in Makefile.in, and added a lint 7061d522f475Smrg rule. 7062d522f475Smrg 7063d522f475Smrg <LI>updated the configure script to correct behavior when it cannot 7064d522f475Smrg find imake, as well as to fix the IRIX+gcc build (conflict with 7065d522f475Smrg /usr/include). 7066d522f475Smrg 7067d522f475Smrg <LI>regenerated the configure script with a newer patch to autoconf 7068d522f475Smrg that fixes a problem with environment space vs the configure --help 7069d522f475Smrg message. 7070d522f475Smrg</UL> 7071d522f475Smrg<H1><A NAME="xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A></H1> 7072d522f475Smrg 7073d522f475SmrgThis patch is mostly concerned with the standalone configure script; a few 7074d522f475Smrgminor corrections are added: 7075d522f475Smrg<UL> 7076d522f475Smrg <LI>add configure option --disable-tek4014, to allow xterm to be built 7077d522f475Smrg without the tek4014 emulation. 7078d522f475Smrg 7079d522f475Smrg <LI>add configure option --with-terminal-type, to allow xterm to be 7080d522f475Smrg compiled with default $TERM value other than "xterm" (e.g., 7081d522f475Smrg "xterm-16color") -- requested by Stephen Marley <stephen@memex.com>. 7082d522f475Smrg 7083d522f475Smrg <LI>fix a typo in the configure --help message -- reported by Darren 7084d522f475Smrg Hiebert <darren@hmi.com>. 7085d522f475Smrg 7086d522f475Smrg <LI>review diffs between main.c and os2main.c, to make them more alike. 7087d522f475Smrg (applies some minor bug-fixes to OS/2's version). 7088d522f475Smrg 7089d522f475Smrg <LI>add missing quotes in memmove/bcopy configure test 7090d522f475Smrg</UL> 7091d522f475Smrg 7092d522f475Smrg 7093d522f475Smrg<H1><A NAME="xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A></H1> 7094d522f475Smrg 7095d522f475SmrgThis patch is based on analysis by Arfst Ludwig <arfst@luxor.IN-Berlin.DE>, 7096d522f475Smrgwho reported: 7097d522f475Smrg<blockquote> 7098d522f475Smrg Setting the following resources xterm (all current versions) receives a 7099d522f475Smrg segmentation fault on <Btn2Up> after scrolling: 7100d522f475Smrg<PRE> 7101d522f475Smrg 7102d522f475Smrg *XTerm*VT100*translations: #override \ 7103d522f475Smrg ~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0)\n\ 7104d522f475Smrg Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1)\n\ 7105d522f475Smrg ~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0)\n\ 7106d522f475Smrg Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1) 7107d522f475Smrg</PRE> 7108d522f475Smrg (The above resources intention is to be able to paste the latest 7109d522f475Smrg selection even if the xterm was cleared.) 7110d522f475Smrg<P> 7111d522f475Smrg And here is how it works (and a fix!): The widget given to the action 7112d522f475Smrg handler as first argument is not guaranteed to be a XtermWidget (it can 7113d522f475Smrg be the ScrollbarWidget). Instead of accessing the widget's member 7114d522f475Smrg directly XtDisplay gives the required pointer in a safe way. 7115d522f475Smrg</blockquote> 7116d522f475SmrgI noticed that this was not the only instance (by reading the code, and testing 7117d522f475Smrgwith his example), and extended the solution to check the widget-class to 7118d522f475Smrgensure that it is indeed xterm's widget class before attempting to use it in 7119d522f475Smrgthe context of translations. 7120d522f475Smrg 7121d522f475Smrg<H1><A NAME="xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A></H1> 7122d522f475Smrg 7123d522f475SmrgThis fixes the segmentation violation noted by Rogier Wolff about a month 7124d522f475Smrgago. He'd set xterm to 400 (rows) by 150 columns, which broke because there 7125d522f475Smrgwere limited buffers (200 rows) used for juggling data when adding or deleting 7126d522f475Smrglines and for switching between alternate and normal screens. I replaced this 7127d522f475Smrgby an allocated buffer. 7128d522f475Smrg<P> 7129d522f475SmrgThe bug is simple to test if you set titeInhibit false. 7130d522f475Smrg 7131d522f475Smrg<H1><A NAME="xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A></H1> 7132d522f475Smrg 7133d522f475SmrgThis patch does the following: 7134d522f475Smrg<UL> 7135d522f475Smrg <LI>correct a minor placement problem with the right scrollbar. 7136d522f475Smrg 7137d522f475Smrg <LI>implement a new set of control sequences for switching between the 7138d522f475Smrg normal and alternate VT100 screens. These work around the older 7139d522f475Smrg sequences limitation that required modification of the runtime 7140d522f475Smrg $TERMCAP to cooperate with the titeInhibit resource (that can't work 7141d522f475Smrg with terminfo). I do this by moving all of the functionality of the 7142d522f475Smrg rmcur terminfo capability into the control sequences. 7143d522f475Smrg 7144d522f475Smrg <LI>implement the alternate-screen menu entry 7145d522f475Smrg</UL> 7146d522f475Smrg 7147d522f475Smrg<H1><A NAME="xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A></H1> 7148d522f475Smrg 7149d522f475SmrgThis patch adds a fix and implements a new feature (as well as some minor 7150d522f475Smrgtypos): 7151d522f475Smrg<UL> 7152d522f475Smrg <LI>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a problem 7153d522f475Smrg with the wait call with the logging option. It hung when the logfile 7154d522f475Smrg was opened as a command-line option. I fixed this by moving the 7155d522f475Smrg StartLogging() call down past the place where I'd reset the setuid 7156d522f475Smrg mode. So the logfile is opened as the real user, without having 7157d522f475Smrg to fork. 7158d522f475Smrg 7159d522f475Smrg <LI>Michael Rohleder <michael.rohleder@stadt-frankfurt.de> sent 7160d522f475Smrg me a patch which implements right-scrollbars for xterm. I used that 7161d522f475Smrg as a starting point, renamed the command-line options and reduced 7162d522f475Smrg the number of ifdef's. 7163d522f475Smrg</UL> 7164d522f475Smrg 7165d522f475Smrg<H1><A NAME="xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A></H1> 7166d522f475Smrg 7167d522f475SmrgThis patch addresses bugs and requests reported by 7168d522f475Smrg<UL> 7169d522f475Smrg <LI>Bob Maynard <rmaynard@montana.com>, 7170d522f475Smrg <LI>Clint Olsen <olsenc@ichips.intel.com>, 7171d522f475Smrg <LI>JCHANDRA@Inf.COM (JCHANDRA), 7172d522f475Smrg <LI>Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>, 7173d522f475Smrg <LI>Pablo Ariel Kohan <pablo@memco.co.il> 7174d522f475Smrg</UL> 7175d522f475Smrg 7176d522f475SmrgSome of the changes are interrelated (it was an unusually busy week). 7177d522f475Smrg<UL> 7178d522f475Smrg 7179d522f475Smrg <LI>change the default resource value for colorMode to true, matching 7180d522f475Smrg the Xterm.ad file. 7181d522f475Smrg 7182d522f475Smrg <LI>correct behavior of 'ech' control, making the default and 0 7183d522f475Smrg parameters erase one character rather than to the end of line 7184d522f475Smrg (reported by Michael Schroeder). 7185d522f475Smrg 7186d522f475Smrg <LI>add resource boldColors, command-line options +pc and -pc and 7187d522f475Smrg configure-script option to specify behavior of xterm's mapping bold 7188d522f475Smrg colors 0 through 7 to colors 8 through 15. 7189d522f475Smrg (request by Pablo Ariel Kohan). 7190d522f475Smrg 7191d522f475Smrg <LI>add resource colorAttrMode to specify whether colorULMode and 7192d522f475Smrg colorBDMode can override the ANSI colors 7193d522f475Smrg (from a problem report by Clint Olsen). 7194d522f475Smrg 7195d522f475Smrg <LI>correct a conflict between colorULMode/colorBDMode versus ANSI 7196d522f475Smrg colors, where exposure events would occasionally pick up the 7197d522f475Smrg former (e.g., colorBD) rather than ANSI colors. Testing the 7198d522f475Smrg colorAttrMode made this apparent, though it has been in the 7199d522f475Smrg code since 3.2A (patch #35 in Jan 1997). 7200d522f475Smrg 7201d522f475Smrg <LI>correct two problems with the optional logging support. On Linux 7202d522f475Smrg at least, the waitpid call in creat_as hangs when the logging is 7203d522f475Smrg toggled from the popup menu. Also, the mktemp template has the wrong 7204d522f475Smrg number of X's (since X11R5!). Fixed the waitpid problem by 7205d522f475Smrg exploiting the fact that the setuid behavior is reset before the 7206d522f475Smrg popup menus are available. 7207d522f475Smrg (reported by Jayachandran C.). 7208d522f475Smrg 7209d522f475Smrg <LI>add configure script options for building with the Xaw3d and neXtaw 7210d522f475Smrg libraries. 7211d522f475Smrg 7212d522f475Smrg <LI>correct CF_IMAKE_CFLAGS standalone configure script macro, so that it 7213d522f475Smrg will pick up $(ALLDEFINES) rather than $(STD_DEFINES). This is 7214d522f475Smrg needed to make scrollbars work on Linux, since that uses narrow 7215d522f475Smrg prototypes. 7216d522f475Smrg (reported by Bob Maynard). 7217d522f475Smrg 7218d522f475Smrg <LI>various minor updates to configure-script macros. 7219d522f475Smrg</UL> 7220d522f475Smrg 7221d522f475Smrg<H1><A NAME="xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A></H1> 7222d522f475Smrg 7223d522f475SmrgMost of this patch is related to the standalone configure script, though 7224d522f475Smrgthere are fixes/enhancements as well: 7225d522f475Smrg<UL> 7226d522f475Smrg <LI>add a new resource sunKeyboard, with associated command-line 7227d522f475Smrg option and menu-toggle that allows using a normal Sun or PC 7228d522f475Smrg keyboard to generated the complete DEC-style function keys 7229d522f475Smrg and keypad. 7230d522f475Smrg 7231d522f475Smrg <LI>correct a reversed foreground/background test in the control 7232d522f475Smrg sequence that replies with the current SGR settings. 7233d522f475Smrg 7234d522f475Smrg <LI>correct, by invoking XSync, a display problem that caused the 7235d522f475Smrg program to not properly update newly exposed areas when a font 7236d522f475Smrg change or 80/132 resize request was not completely accepted. 7237d522f475Smrg 7238d522f475Smrg <LI>restructured autoconf macros (I made a library of all of the 7239d522f475Smrg macros across the complicated configure scripts I'm working on). 7240d522f475Smrg 7241d522f475Smrg <LI>use the autoconf config.guess and config.sub scripts to better 7242d522f475Smrg identify the host-os. 7243d522f475Smrg 7244d522f475Smrg <LI>improve the configure script that uses 'imake' as a fallback for 7245d522f475Smrg definitions. 7246d522f475Smrg 7247d522f475Smrg <LI>correct several instances of unsigned/signed mixed expressions. 7248d522f475Smrg</UL> 7249d522f475Smrg 7250d522f475SmrgI've tested the configure script on Linux, SunOS 4.1.3, Solaris 2.5.1, 7251d522f475SmrgIRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but the last run properly 7252d522f475Smrgas well). 7253d522f475Smrg 7254d522f475Smrg<H1><A NAME="xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A></H1> 7255d522f475Smrg 7256d522f475SmrgThis is a collection of small fixes, and a couple of minor enhancements: 7257d522f475Smrg<UL> 7258d522f475Smrg <LI>plug a security hole in the implementation of Media Copy (print) 7259d522f475Smrg by invoking setuid just before the main loop. 7260d522f475Smrg 7261d522f475Smrg <LI>add an ifdef'd include for <sys/termio.h> for HP-UX, which allows 7262d522f475Smrg the program to process SIGWINCH events (this is a bug in X11R6.3) 7263d522f475Smrg 7264d522f475Smrg <LI>add state-table entries for VT52 emulation to enter/exit keypad 7265d522f475Smrg application mode. 7266d522f475Smrg 7267d522f475Smrg <LI>disable the popup-menu entry for 8-bit controls when the terminal-id 7268d522f475Smrg is less than 200 (e.g., VT52 or VT100). 7269d522f475Smrg 7270d522f475Smrg <LI>ensure that the popup-menu entry for 8-bit controls is updated when 7271d522f475Smrg the application enables/disables this mode, including the response 7272d522f475Smrg to a full-reset. 7273d522f475Smrg 7274d522f475Smrg <LI>implement VT300 DECBKM feature: set interpretation of the backarrow 7275d522f475Smrg key to either backspace or delete. The initial setting is via 7276d522f475Smrg resource; it can also be modified in the main popup menu. 7277d522f475Smrg 7278d522f475Smrg <LI>implement VTxxx KAM (ISO AM), which allows a keyboard to be locked 7279d522f475Smrg (i.e., the terminal discards input). 7280d522f475Smrg 7281d522f475Smrg <LI>implement VTxxx SRM, which is used to control local echoing of 7282d522f475Smrg input on the terminal. 7283d522f475Smrg 7284d522f475Smrg <LI>add terminfo and termcap entries for xterm-8bit, a variation of 7285d522f475Smrg the xterm description that uses 8-bit control characters. 7286d522f475Smrg 7287d522f475Smrg <LI>add fallback definitions for Imakefile to allow it to work on some 7288d522f475Smrg X11R5 systems that have no SpecialCObjectRule or ProgramTargetName 7289d522f475Smrg macros. 7290d522f475Smrg 7291d522f475Smrg <LI>add .c.o and .c.i rules to standalone Makefile.in 7292d522f475Smrg 7293d522f475Smrg <LI>correct order of -lXmu and -lXext in standalone configure script. 7294d522f475Smrg 7295d522f475Smrg <LI>add configure script options to allow selective disabling of 7296d522f475Smrg active-icon, input-method and i18n code (mainly for users with X11R5 7297d522f475Smrg or an incomplete X11R6 configuration). 7298d522f475Smrg 7299d522f475Smrg <LI>change menu-indices from #define's to enum values, thereby making 7300d522f475Smrg it work better with the ifdef's for logging and active-icon (the 7301d522f475Smrg X11R6.3 active-icon code is incorrectly ifdef'd; this corrects an 7302d522f475Smrg error introduced by incorporating that code). 7303d522f475Smrg 7304d522f475Smrg <LI>correct minor compile errors in the configuration where active-icon 7305d522f475Smrg is not used. 7306d522f475Smrg 7307d522f475Smrg <LI>add configure option to suppress echoing of long compiler commands 7308d522f475Smrg 7309d522f475Smrg <LI>correct spelling of decTerminalID in configure script help message 7310d522f475Smrg 7311d522f475Smrg <LI>use gcc __attribute__((unused)) to quiet warnings about unused 7312d522f475Smrg parameters when compiling with -W (to make it simpler to find the 7313d522f475Smrg real problems). 7314d522f475Smrg</UL> 7315d522f475Smrg 7316d522f475Smrg<H1><A NAME="xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A></H1> 7317d522f475Smrg 7318d522f475SmrgThis patch implements the VT100/VT220 Media Copy (i.e., print-screen) control 7319d522f475Smrgsequences. 7320d522f475Smrg 7321d522f475Smrg<H1><A NAME="xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A></H1> 7322d522f475Smrg 7323d522f475SmrgThis patch does the following (all but the first affect only the standalone 7324d522f475Smrgconfigure script): 7325d522f475Smrg<UL> 7326d522f475Smrg <LI>minor correction to positioning of underlines for small (e.g., 5x8) 7327d522f475Smrg font size. 7328d522f475Smrg <P> 7329d522f475Smrg The existing behavior allowed underlines to be drawn outside the 7330d522f475Smrg character-cell, so they weren't cleared properly under some 7331d522f475Smrg circumstances. 7332d522f475Smrg 7333d522f475Smrg <LI>adds more special-case tokens to the standalone configure script's 7334d522f475Smrg imake-option filter (e.g., "&&", since a "make -n main.o" on my IRIX 7335d522f475Smrg system uses that shell construct). 7336d522f475Smrg 7337d522f475Smrg <LI>adds a '--enable-logging' option for the standalone configure script. 7338d522f475Smrg 7339d522f475Smrg <LI>adds check and ifdef's for the standalone configure script to allow 7340d522f475Smrg for building on platforms with X11R6, which lacks Xpoll.h (introduced 7341d522f475Smrg in X11R6.1). 7342d522f475Smrg</UL> 7343d522f475Smrg 7344d522f475Smrg<H1><A NAME="xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A></H1> 7345d522f475Smrg 7346d522f475SmrgThis patch does the following 7347d522f475Smrg<UL> 7348d522f475Smrg <LI>corrects an indexing error in the doublesize character logic 7349d522f475Smrg (button.c) that caused core dump (this was reported by J. Wunsch). 7350d522f475Smrg <LI>corrects the logic of ShowCursor when it is painting in a doublesize 7351d522f475Smrg cell (charproc.c). 7352d522f475Smrg <LI>corrects, according to vttest, the behavior when switching to 7353d522f475Smrg doublesize characters and back again (doublechr.c). 7354d522f475Smrg <LI>adds cbt (back_tab) to the terminfo description (this was something 7355d522f475Smrg that I'd overlooked as applicable to curses optimization last 7356d522f475Smrg summer). 7357d522f475Smrg <LI>corrects, for the standalone xmc test, the logic for disabling xmc. 7358d522f475Smrg</UL> 7359d522f475Smrg 7360d522f475Smrg<H1><A NAME="xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A></H1> 7361d522f475Smrg 7362d522f475SmrgThis is a patch to provide test-support for some work I'm doing on ncurses. It 7363d522f475Smrgdoes not modify the normal configuration of xterm; the code is compiled if the 7364d522f475Smrgstandalone configure option "--enable-xmc-glitch" is specified. 7365d522f475Smrg 7366d522f475Smrg<H1><A NAME="xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A></H1> 7367d522f475Smrg 7368d522f475SmrgThis fixes the problem reported with xterm's cursor color versus the background 7369d522f475Smrg(the second chunk in this patch) and also removes some duplicate initialization 7370d522f475Smrgof the cursor GC's. If the cursor color at startup is the same as the 7371d522f475Smrgbackground, then xterm will use the reverse GC, ignoring the setting of the 7372d522f475SmrgcolorMode resource. 7373d522f475Smrg 7374d522f475Smrg<H1><A NAME="xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A></H1> 7375d522f475Smrg 7376d522f475SmrgThis implements the first part of the VT100 doublesize characters for xterm, 7377d522f475Smrgas well as fixing a handful of bugs: 7378d522f475Smrg<UL> 7379d522f475Smrg <LI>the doublesize character support uses the normal font (using scaled 7380d522f475Smrg fonts will be another patch) with blanks to simulate doublesize 7381d522f475Smrg characters. This patch does most of the global changes that'll be 7382d522f475Smrg required. I've hidden most of the details in macros and ifdef's so 7383d522f475Smrg it's easy to configure out (part of the patch is a configure option 7384d522f475Smrg for that purpose). 7385d522f475Smrg 7386d522f475Smrg <LI>corrected limits in DeleteChar() function -- it's always ignored the 7387d522f475Smrg size of the left border and scrollbar. I noticed this when working 7388d522f475Smrg on the doublesize characters since the glitch was doubled in size 7389d522f475Smrg (i.e., it wrapped some garbage around the right margin). 7390d522f475Smrg 7391d522f475Smrg <LI>corrected 'memmove()' logic, for standalone builds (it referenced a 7392d522f475Smrg malloc wrapper from my development library). 7393d522f475Smrg 7394d522f475Smrg <LI>add a check for HideCursor() to prevent repeated screen updates 7395d522f475Smrg (which can cause a spurious cursor glitch to appear, e.g., during 7396d522f475Smrg scrolling). I noticed this with the 3.2A version (but only a few 7397d522f475Smrg weeks ago, when I started working on this patch). 7398d522f475Smrg</UL> 7399d522f475Smrg 7400d522f475Smrg<H1><A NAME="xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A></H1> 7401d522f475Smrg 7402d522f475SmrgHere's a fix for two problems: 7403d522f475Smrg<UL> 7404d522f475Smrg <LI>modify handling of tgetent results in xterm and resize programs to 7405d522f475Smrg make them tolerant of missing termcap file, or unknown terminal name. 7406d522f475Smrg In this scheme, an explicit "-tn" option will succeed, overriding 7407d522f475Smrg the fallback list. 7408d522f475Smrg 7409d522f475Smrg <LI>a nit in the configure script (log extra information to help diagnose 7410d522f475Smrg which case of the test-compile of tgetent was used). 7411d522f475Smrg</UL> 7412d522f475Smrg 7413d522f475Smrg<H1><A NAME="xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A></H1> 7414d522f475Smrg 7415d522f475SmrgBram Moolenaar reported that the cursor color changed unexpectedly while 7416d522f475Smrgscrolling. The cause was that it used the same GC's as the logic that draws 7417d522f475Smrgthe ANSI colors. The bug only appears if the cursorColor resource isn't set, 7418d522f475Smrgand has been present since the initial implementation early last year. (The 7419d522f475Smrgsame bug also appears in rxvt ;-). Here's a fix. 7420d522f475Smrg 7421d522f475Smrg<H1><A NAME="xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A></H1> 7422d522f475Smrg 7423d522f475SmrgSome nits found by Darren Hiebert (missing part of install-rule, incorrect 7424d522f475Smrgassignment for --enable-color-mode option). 7425d522f475Smrg 7426d522f475Smrg<H1><A NAME="xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A></H1> 7427d522f475Smrg 7428d522f475SmrgPatch for the configure script's logic for obtaining imake predefined 7429d522f475Smrgsymbols. 7430d522f475Smrg 7431d522f475Smrg<H1><A NAME="xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A></H1> 7432d522f475Smrg 7433d522f475SmrgThis patch does the following: 7434d522f475Smrg<UL> 7435d522f475Smrg <LI>integrate the 16-color change for 'xterm' 7436d522f475Smrg 7437d522f475Smrg <LI>minor fixes/clarification of tgetent in terminfo vs termcap to 7438d522f475Smrg 'resize' 7439d522f475Smrg</UL> 7440d522f475Smrg 7441d522f475Smrg(both changes also modify the configure script) 7442d522f475Smrg 7443d522f475Smrg<H1><A NAME="xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A></H1> 7444d522f475Smrg 7445d522f475SmrgThis implements a simple configuration script with autoconf (to which I'll 7446d522f475Smrgadd more options later). It does the following: 7447d522f475Smrg<UL> 7448d522f475Smrg <LI>configures xterm to build with X11R5 (at least on SunOS 4.1, Solaris 7449d522f475Smrg 2.4, possibly IRIX - sorry network was down today, but I did test 7450d522f475Smrg an earlier version yesterday). 7451d522f475Smrg 7452d522f475Smrg <LI>enables/disables the configuration ifdef's for ANSI color and VT52 7453d522f475Smrg emulation. 7454d522f475Smrg</UL> 7455d522f475SmrgIt does not make tests for the things that imake does (that's another project), 7456d522f475Smrginstead it uses a hybrid of the autoconf tests for libraries and adds imake's 7457d522f475Smrgcompiler options (which are necessary in some cases to get main.c to compile). 7458d522f475Smrg 7459d522f475Smrg<H1><A NAME="xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A></H1> 7460d522f475Smrg 7461d522f475SmrgThis corrects a minor, but annoying error in the vt220 emulation: the DECUDK 7462d522f475Smrgis only supposed to be interpreted for _shifted_ function keys. 7463d522f475Smrg 7464d522f475Smrg<H1><A NAME="xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A></H1> 7465d522f475Smrg 7466d522f475SmrgThis corrects something that I overlooked in patch #27 (21-aug-1996), which is 7467d522f475Smrgthat when trimming the region to be repainted for the highlightSelection 7468d522f475Smrgresource of xterm, I still have to paint the background past the highlighted 7469d522f475Smrgregion. This only happens when I first do a selection in a window that's 7470d522f475Smrgpartly off-screen, then move the window on-screen. 7471d522f475Smrg 7472d522f475Smrg<H1><A NAME="xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A></H1> 7473d522f475Smrg 7474d522f475SmrgThis patch does the following: 7475d522f475Smrg<UL> 7476d522f475Smrg <LI>combines the coding for foreground and background colors into a 7477d522f475Smrg single byte, reducing the memory required to store saved-lines in 7478d522f475Smrg color. (I'll take back that byte in a following patch to use to 7479d522f475Smrg ensure the character-set, so there's no long-term decrease in memory 7480d522f475Smrg use). 7481d522f475Smrg 7482d522f475Smrg <LI>modifies the PF1-PF4 coding in termcap/terminfo. Because xterm is 7483d522f475Smrg still by default emulating vt100, the function key codes are 7484d522f475Smrg vt100-compatible (I overlooked this in patch #31). 7485d522f475Smrg 7486d522f475Smrg I also reformatted the whole terminfo file into a single-column, 7487d522f475Smrg for consistency. 7488d522f475Smrg 7489d522f475Smrg <LI>adds an interim xterm-vt220 description to accommodate the old and new 7490d522f475Smrg styles of function-keys (though probably it'd be better to drop the 7491d522f475Smrg old-style altogether). 7492d522f475Smrg</UL> 7493d522f475Smrg 7494d522f475Smrg<H1><A NAME="xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A></H1> 7495d522f475Smrg 7496d522f475SmrgThis patch does the following: 7497d522f475Smrg<UL> 7498d522f475Smrg <LI>implement DECSTR (soft terminal reset). The biggest diff is due to 7499d522f475Smrg adding another state table (note that there's only one useful state 7500d522f475Smrg here, but it's only 256 bytes rather than 1k as it would have been 7501d522f475Smrg before I reduced the size of state entries). 7502d522f475Smrg 7503d522f475Smrg <LI>some minor tidying up (e.g., signed/unsigned use bitcpy, MODE_DECCKM, 7504d522f475Smrg resetColor, resetCharsets). More is done in patch #35. 7505d522f475Smrg</UL> 7506d522f475Smrg 7507d522f475SmrgI got the description of DECSTR from a vt420 user's manual. I'll do some 7508d522f475Smrgtesting with vttest to ensure that there's nothing else to do than what was 7509d522f475Smrgdocumented. 7510d522f475Smrg 7511d522f475Smrg<H1><A NAME="xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A></H1> 7512d522f475Smrg 7513d522f475SmrgThis adds to the reset-fix by Matthieu Herrb <Mathieu.Herrb@mipnet.fr> a 7514d522f475Smrgsmall change to make xterm able to output 8-bit characters in VT100 mode. 7515d522f475Smrg 7516d522f475SmrgApplications that run on real VT100's don't do that anyway, and this feature 7517d522f475Smrgshould be removed sometime after finishing off the VT220 emulation (VT220's can 7518d522f475Smrgdo 8-bit characters). That would be a good time to change the default 7519d522f475Smrgterminal-id to 220. 7520d522f475Smrg 7521d522f475Smrg<H1><A NAME="xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A></H1> 7522d522f475Smrg 7523d522f475SmrgThis implements the REP (repeat) control for xterm. That isn't part of the DEC 7524d522f475SmrgVTxxx series, but is defined in ISO 6429. (Note that the base xterm terminal 7525d522f475Smrgdescription is <EM>not</EM> changed -- I added a variant, "xterm-rep"). 7526d522f475Smrg 7527d522f475Smrg<H1><A NAME="xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A></H1> 7528d522f475Smrg 7529d522f475SmrgThis implements vt52 emulation in xterm (ifdef'd so it can be removed). 7530d522f475SmrgI've been using it for testing for the past month or so. 7531d522f475Smrg 7532d522f475Smrg<H1><A NAME="xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A></H1> 7533d522f475Smrg 7534d522f475SmrgFrom bug-report by <auroux@clipper.ens.fr> (Denis Auroux), missing reset to 7535d522f475Smrgground state. I checked through the rest of <EM>that</EM> table and found another, 7536d522f475Smrgin the unimplemented MC (screen print). 7537d522f475Smrg 7538d522f475Smrg<H1><A NAME="xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A></H1> 7539d522f475Smrg 7540d522f475SmrgThis patch does the following: 7541d522f475Smrg<UL> 7542d522f475Smrg <LI>corrects the restoration of color for bold/underline color mode 7543d522f475Smrg 7544d522f475Smrg <LI>adds a resource 'decTerminalID' to control the reporting level of 7545d522f475Smrg xterm (e.g., VT100, VT220). 7546d522f475Smrg 7547d522f475Smrg <LI>uses the new resource to implement/correct the DA1, DA2 and 7548d522f475Smrg DECRPTUI reports. 7549d522f475Smrg 7550d522f475Smrg <LI>change valid-response code in DECRQSS from 0 to 1 (the manual says 0, 7551d522f475Smrg but the VT420 terminal I've been testing on says 1). 7552d522f475Smrg</UL> 7553d522f475Smrg 7554d522f475SmrgAll of these changes are based on vttest 2.6 7555d522f475Smrg<P> 7556d522f475Smrg(Most of the volume in the patch is to add 2 more state tables for parsing 7557d522f475Smrgthe 2nd/3rd device-attribute controls). 7558d522f475Smrg 7559d522f475Smrg<H1><A NAME="xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A></H1> 7560d522f475Smrg 7561d522f475SmrgThis patch corrects the following reported by Roland Rosenfeld 7562d522f475Smrg<roland@spinnaker.rhein.de>: 7563d522f475Smrg<UL> 7564d522f475Smrg <LI>handle SGR 22, 24 and 25 in combination with colorUL and colorBD 7565d522f475Smrg resources. Also noted & fixed reset of colored underline/bold 7566d522f475Smrg with SGR 0. 7567d522f475Smrg 7568d522f475Smrg <LI>a typo in the termcap (missing '['), from 3.1.2Dj (my error) 7569d522f475Smrg</UL> 7570d522f475Smrg 7571d522f475SmrgRoland also complained that he couldn't use box characters with 7572d522f475Smrg<PRE> 7573d522f475Smrg -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1 7574d522f475Smrg</PRE> 7575d522f475Smrgbut that's a known xterm limitation (the box characters must be part of the 7576d522f475Smrgfont, in the first 32 locations). 7577d522f475Smrg 7578d522f475Smrg<H1><A NAME="xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A></H1> 7579d522f475Smrg 7580d522f475SmrgThis patch fixes one of my long-term gripes: xterm's selection doesn't clearly 7581d522f475Smrgshow what's being selected (as per David's request, it's controlled by a 7582d522f475Smrgresource, which defaults to the older behavior). 7583d522f475Smrg 7584d522f475Smrg<H1><A NAME="xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A></H1> 7585d522f475Smrg 7586d522f475SmrgHere's a patch to fix a problem with xterm's cut/paste and another to modify 7587d522f475Smrgthe appearance of the highlighting while selecting. (The changes are 7588d522f475Smrgindependent, so you can see if the change to screen.c is desirable). 7589d522f475Smrg 7590d522f475Smrg<H1><A NAME="xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A></H1> 7591d522f475Smrg 7592d522f475SmrgHere's a correction for two minor bugs that I picked up in testing, plus 7593d522f475Smrgsome lint (from Solaris 2.5) where NULL was used incorrectly: 7594d522f475Smrg<UL> 7595d522f475Smrg <LI>make the second alternate font the same as the first (that's what 7596d522f475Smrg vt420 and dtterm do) 7597d522f475Smrg 7598d522f475Smrg <LI>corrected DECSCL report when DECSCL hasn't been set (i.e., don't 7599d522f475Smrg return a '60'). 7600d522f475Smrg</UL> 7601d522f475Smrg 7602d522f475Smrg<H1><A NAME="xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A></H1> 7603d522f475Smrg 7604d522f475SmrgThis patch does several things. In effect, xterm can (I think) do a reasonably 7605d522f475Smrggood job of emulating vt220 and vt320 terminals (as well as it was doing 7606d522f475Smrgvt100, at any rate ;-). 7607d522f475Smrg<P> 7608d522f475SmrgIt does NOT do: 7609d522f475Smrg<UL> 7610d522f475Smrg <LI>soft fonts 7611d522f475Smrg 7612d522f475Smrg <LI>rigel or sixel graphics 7613d522f475Smrg</UL> 7614d522f475Smrg<P> 7615d522f475SmrgAnyway, I: 7616d522f475Smrg<UL> 7617d522f475Smrg 7618d522f475Smrg <LI>added ECH, CPL, CNL, SU, SD, CBT, CHT controls 7619d522f475Smrg 7620d522f475Smrg <LI>added popup-menu for switching between DEC and Sun function keys. 7621d522f475Smrg (corrected alignment err wrt logging entry at that point). 7622d522f475Smrg 7623d522f475Smrg <LI>make xterm recognize both 8-bit and 7-bit controls (including 7624d522f475Smrg popup menu for switching modes). 7625d522f475Smrg 7626d522f475Smrg <LI>add user-definable function keys (aka DECUDK) 7627d522f475Smrg 7628d522f475Smrg <LI>support concealed text 7629d522f475Smrg 7630d522f475Smrg <LI>support protected text (both ISO compatible and DEC compatible - 7631d522f475Smrg that's not the same thing, btw), with SPA, EPA, DECSCA, DECSED, 7632d522f475Smrg DECSEL controls. 7633d522f475Smrg 7634d522f475Smrg <LI>implement DECSCL. 7635d522f475Smrg</UL> 7636d522f475Smrg<P> 7637d522f475SmrgI'll be continuing to test this patch for a while, but don't expect to add any 7638d522f475Smrgnew functionality (it passes all of the current tests I've built in vttest, but 7639d522f475SmrgI need to make more tests).. 7640d522f475Smrg 7641d522f475Smrg<H1><A NAME="xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A></H1> 7642d522f475Smrg 7643d522f475SmrgThis removes the blinking cursor I added last week (for performance reasons). 7644d522f475SmrgTime-permitting, I'll revisit this after 3.2 is released (there <EM>will</EM> be more 7645d522f475Smrgwork after XFree86 3.2, I assume). 7646d522f475Smrg 7647d522f475Smrg<H1><A NAME="xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A></H1> 7648d522f475Smrg 7649d522f475SmrgI looked more closely at my "double-negative" and realized that I had been 7650d522f475Smrgconfused by the default color scheme (black on white) in combination with 7651d522f475Smrgreverse video. However, I did see that the original_fg and original_bg data 7652d522f475Smrgweren't really used - so I removed that logic. 7653d522f475Smrg<P> 7654d522f475SmrgAlso: 7655d522f475Smrg<UL> 7656d522f475Smrg <LI>during initialization, check if ANSI colors are set with non fg/bg 7657d522f475Smrg values, disable color mode if not. This makes xterm tolerant of 7658d522f475Smrg applications that allocate the whole color map. 7659d522f475Smrg 7660d522f475Smrg <LI>implemented blinking cursor (default is <EM>off</EM>) 7661d522f475Smrg</UL> 7662d522f475Smrg 7663d522f475Smrg<H1><A NAME="xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A></H1> 7664d522f475Smrg 7665d522f475SmrgThis patch does the following: 7666d522f475Smrg<UL> 7667d522f475Smrg <LI>fixes some minor typography in the control-sequences documentation 7668d522f475Smrg (it didn't occur to me til I'd sent the last patch that I could use 7669d522f475Smrg ghostview for previewing the troff output ;-) 7670d522f475Smrg 7671d522f475Smrg <LI>adjusts the shell's background color in ReverseVideo so that flicker 7672d522f475Smrg in resizing is reduced 7673d522f475Smrg 7674d522f475Smrg <LI>adds an ifdef OPT_ISO_COLORS to allow configuring xterm without 7675d522f475Smrg the ISO color support (saves a lot of memory) 7676d522f475Smrg 7677d522f475Smrg <LI>used that ifdef to isolate/modify logic so that if the user doesn't 7678d522f475Smrg have the colorMode enabled, then ISO color support is disabled (saving 7679d522f475Smrg memory). 7680d522f475Smrg <P> 7681d522f475Smrg (If anyone needs numbers, I had savedLines set to 2000, and found 7682d522f475Smrg a reduction from ~700k to ~400k of allocated memory, according to 7683d522f475Smrg Purify). 7684d522f475Smrg</UL> 7685d522f475Smrg 7686d522f475Smrg<H1><A NAME="xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A></H1> 7687d522f475Smrg 7688d522f475SmrgThis documents the changes in control sequences for window operations that 7689d522f475SmrgI added in my previous patch. I'm testing another patch that allows the 7690d522f475Smrguser to use less memory if colors aren't needed. 7691d522f475Smrg 7692d522f475Smrg<H1><A NAME="xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A></H1> 7693d522f475Smrg 7694d522f475SmrgThis patch does the following: 7695d522f475Smrg<UL> 7696d522f475Smrg <LI>fixes the core dump that I reported on IRIX 5.2 (in main.c) 7697d522f475Smrg <P> 7698d522f475Smrg (it's worth noting that this bug exists in X11R6.1, so I'd like 7699d522f475Smrg to assume that someone's already submitted a fix to X Consortium...) 7700d522f475Smrg 7701d522f475Smrg <LI>change the interpretation of zero rows or columns in a resize-window 7702d522f475Smrg request to use the root window's size (looking more carefully at 7703d522f475Smrg dtterm, that seems to be what it does). 7704d522f475Smrg 7705d522f475Smrg <LI>change some memmove calls to memcpy for slightly better performance. 7706d522f475Smrg (also, a couple of memset calls to bzero - Quantify says bzero runs 7707d522f475Smrg 20% faster, I assume because there's one less argument). 7708d522f475Smrg 7709d522f475Smrg <LI>interpret character sets 1 and 2 (so that vttest gives a reasonable 7710d522f475Smrg result) Both rxvt and dtterm do something equivalent. 7711d522f475Smrg 7712d522f475Smrg <LI>fix a minor memory leak in the logic that retrieves the window or 7713d522f475Smrg icon names (Purify found this for me while I ran vttest). 7714d522f475Smrg</UL> 7715d522f475Smrg 7716d522f475Smrg<H1><A NAME="xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A></H1> 7717d522f475Smrg 7718d522f475SmrgThis implements the following: 7719d522f475Smrg<UL> 7720d522f475Smrg <LI>escape sequences that act like the CDE dtterm's window operations 7721d522f475Smrg (though I have implemented the default width and height -- I've seen 7722d522f475Smrg a rather buggy dtterm running that seems to treat width=0 or height=0 7723d522f475Smrg literally -- maybe that's a feature, not a bug?) 7724d522f475Smrg 7725d522f475Smrg <LI>minor tweak to the screen-repainting when resizing (I still cannot 7726d522f475Smrg entirely get rid of flicker). 7727d522f475Smrg 7728d522f475Smrg <LI>still more fixes to terminfo & termcap (I corrected my error for 7729d522f475Smrg the hpa code and added some other stuff by comparing to ncurses' 7730d522f475Smrg description and rxvt's). 7731d522f475Smrg 7732d522f475Smrg <LI>a tweak to the patch by Michael Rohleder for the color translation 7733d522f475Smrg 7734d522f475Smrg <LI>re-order attribute codes to allow later implementation of protected 7735d522f475Smrg fields (dtterm supposedly does this; it's probably more useful than 7736d522f475Smrg blinking or invisible text -- that uses up all of the available bits 7737d522f475Smrg without changing the attribute scheme radically). 7738d522f475Smrg</UL> 7739d522f475Smrg 7740d522f475Smrg<H1><A NAME="xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A></H1> 7741d522f475Smrg 7742d522f475SmrgThis patch implements for xterm several minor features from ISO 6429 which are 7743d522f475Smrguseful for terminfo applications. The HPA and VPA control sequences allow 7744d522f475Smrgcursor movement along a row or column, cutting down a little on the characters 7745d522f475Smrgtransmitted. The other codes allow resetting specific graphic rendition 7746d522f475Smrgattributes without modifying the other attributes. 7747d522f475Smrg 7748d522f475Smrg(now if someone just had time to implement blinking cursors...) 7749d522f475Smrg 7750d522f475Smrg<H1><A NAME="xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A></H1> 7751d522f475Smrg 7752d522f475SmrgAdam Tla/lka <atlka@pg.gda.pl> told me a couple of weeks ago that I'd missed 7753d522f475Smrgsome of the background coloring in xterm. I investigated, and found that while 7754d522f475SmrgI'd picked up on the clear-to-bottom and clear-to-end-of-line operations, I'd 7755d522f475Smrgoverlooked the insert/delete lines. Just so I wouldn't overlook any more of 7756d522f475Smrgthese, I updated a copy of vttest to test ISO colors and bce (background color 7757d522f475Smrgerase). This patch introduces a new function, ClearCurBackground, whose calls 7758d522f475Smrgreplace the direct XClearArea calls that I'd overlooked. 7759d522f475Smrg 7760d522f475Smrg(There's also a few compiler warnings fixed, etc ;-) 7761d522f475Smrg 7762d522f475Smrg<H1><A NAME="xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A></H1> 7763d522f475Smrg 7764d522f475SmrgThis fixes the problem reported by David Dawes, by making the 50msec select 7765d522f475Smrgtimeout for the Xaw3d arrow scrollbar a resource. (I made it a boolean for a 7766d522f475Smrgvariety of reasons -- to make it a number, you'd need an additional resource, 7767d522f475Smrgto avoid breaking the logic). 7768d522f475Smrg 7769d522f475Smrg<H1><A NAME="xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A></H1> 7770d522f475Smrg 7771d522f475SmrgThis patch brings the termcap and terminfo descriptions for xterm up to date. 7772d522f475SmrgI made the following changes: 7773d522f475Smrg<UL> 7774d522f475Smrg <LI>reformatted the terminfo description in a single-column (this is ok 7775d522f475Smrg for terminfo, and will simplify future patches -- can't do that for 7776d522f475Smrg termcap, since it would impact buffer requirements on some systems). 7777d522f475Smrg 7778d522f475Smrg <LI>omitted obsolete features in termcap to save a little space (bs, pt) 7779d522f475Smrg 7780d522f475Smrg <LI>added color capabilities to termcap (ut, Co, NC, op, AB, AF) 7781d522f475Smrg 7782d522f475Smrg <LI>corrected some capabilities (vi, ve) 7783d522f475Smrg 7784d522f475Smrg <LI>added 'st' (set tab) 7785d522f475Smrg 7786d522f475Smrg <LI>reduced function keys in termcap for 'xterm' to 12 because color 7787d522f475Smrg capabilities makes that description larger than 1023 characters. 7788d522f475Smrg 7789d522f475Smrg <LI>created new termcap name 'xtermm' (monochrome) to match the terminfo 7790d522f475Smrg list, and make that description have 20 function keys. 7791d522f475Smrg 7792d522f475Smrg <LI>added corresponding color capabilities to terminfo (bce, colors, 7793d522f475Smrg pairs, op, ncv, setab, setaf) 7794d522f475Smrg 7795d522f475Smrg <LI>corrected corresponding capabilities in terminfo (civis, cnorm, 7796d522f475Smrg rmcup, smcup) 7797d522f475Smrg 7798d522f475Smrg <LI>added capabilities (el1, hts) 7799d522f475Smrg 7800d522f475Smrg <LI>in both, corrected home/end keys to match the code correction made 7801d522f475Smrg by Thomas Mueller in 3.1.2Bk 7802d522f475Smrg 7803d522f475Smrg <P>=> (I'm still considering modifying the code & description to match 7804d522f475Smrg the rxvt program). 7805d522f475Smrg</UL> 7806d522f475Smrg 7807d522f475Smrg<H1><A NAME="xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A></H1> 7808d522f475Smrg 7809d522f475SmrgThis corrects my earlier changes for colors - the inner border of the xterm was 7810d522f475Smrggetting painted with the wrong color, since I'd moved the call to set the 7811d522f475Smrgbackground into the logic that tracks SGR information. 7812d522f475Smrg 7813d522f475Smrg<H1><A NAME="xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A></H1> 7814d522f475Smrg 7815d522f475SmrgThis corrects a memory leak in xterm that happens whenever one switches fonts. 7816d522f475Smrg 7817d522f475Smrg<H1><A NAME="xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A></H1> 7818d522f475Smrg 7819d522f475SmrgThis patch corrects the behavior of the ANSI colors in xterm when reverse 7820d522f475Smrgvideo is used, as well as some other lesser sins: 7821d522f475Smrg<UL> 7822d522f475Smrg <LI>button.c 7823d522f475Smrg<UL> 7824d522f475Smrg <LI>(compiler warnings: shadowing of 'time', redundant cast) 7825d522f475Smrg</UL> 7826d522f475Smrg 7827d522f475Smrg <LI>charproc.c 7828d522f475Smrg<UL> 7829d522f475Smrg <LI>renamed screen.colors[] array to screen.Acolors[] to more 7830d522f475Smrg easily distinguish the non-ANSI colors from the ANSI colors. 7831d522f475Smrg 7832d522f475Smrg <LI>moved logic of SGR_Save() into VTInitialize, getting rid of 7833d522f475Smrg local private variables original_fg and original_bg. 7834d522f475Smrg 7835d522f475Smrg <LI>moved some logic into getXtermForeground and getXtermBackground 7836d522f475Smrg from SGR_Foreground, SGR_Background, etc. 7837d522f475Smrg 7838d522f475Smrg <LI>corrected misleading 'row' to 'col' in case for CUF, CUB 7839d522f475Smrg sequences. 7840d522f475Smrg</UL> 7841d522f475Smrg 7842d522f475Smrg <LI>ctlseqs.ms 7843d522f475Smrg <LI>xterm.man 7844d522f475Smrg<UL> 7845d522f475Smrg <LI>(correct a misconception which I'd added that the color0 7846d522f475Smrg through color6 resource values apply to non-ANSI colors) 7847d522f475Smrg</UL> 7848d522f475Smrg 7849d522f475Smrg <LI>ptyx.h 7850d522f475Smrg<UL> 7851d522f475Smrg <LI>added original_fg, original_bg to TScreen structure. 7852d522f475Smrg</UL> 7853d522f475Smrg 7854d522f475Smrg <LI>scrollbar.c 7855d522f475Smrg<UL> 7856d522f475Smrg <LI>(compiler warnings: redundant cast) 7857d522f475Smrg</UL> 7858d522f475Smrg 7859d522f475Smrg <LI>util.c 7860d522f475Smrg<UL> 7861d522f475Smrg <LI>new functions getXtermForeground and getXtermBackground replace 7862d522f475Smrg the macros GET_FG and GET_BG, with the added functionality of 7863d522f475Smrg checking for the reverse-video status of xterm. 7864d522f475Smrg 7865d522f475Smrg <LI>in ReverseVideo, swap the SGR foreground and background colors 7866d522f475Smrg also. 7867d522f475Smrg</UL> 7868d522f475Smrg</UL> 7869d522f475Smrg 7870d522f475Smrg<H1><A NAME="xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A></H1> 7871d522f475Smrg 7872d522f475SmrgI observed an occasional glitch in the xterm's color behavior; a clear to end 7873d522f475Smrgof line would get a color that had been used in a program that supposedly reset 7874d522f475Smrgcolors. I traced this down to the way xterm was modifying colors of GC's on 7875d522f475Smrgthe fly; it didn't restore the original color of the GC, even though it would 7876d522f475Smrglater be used in functions (such as ClearRight) that assumed (my error) that 7877d522f475Smrgthe GC would have the current foreground or background color. 7878d522f475Smrg<P> 7879d522f475SmrgI fixed this by resetting the GC's colors with a new function 'resetXtermGC()', 7880d522f475Smrgand direct calls on SGR_Foreground/SGR_Background, as appropriate and using a 7881d522f475Smrgnew function 'updatedXtermGC()' to encapsulate the logic that modifies the GC's 7882d522f475Smrgcolor. (I also removed some commented-out code that was trying to do this -- 7883d522f475Smrgthe problem was a little more obscure). 7884d522f475Smrg 7885d522f475Smrg<H1><A NAME="xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A></H1> 7886d522f475Smrg 7887d522f475SmrgThis patch fixes the remaining problems that I had making xterm run with x11r5, 7888d522f475Smrgas well as a couple of other bugs. It follows my patch from yesterday, that 7889d522f475Smrgadded ifdef's for some of the input-method resources. 7890d522f475Smrg<UL> 7891d522f475Smrg <LI>corrected ifdef's that suppress the input-method code (doesn't 7892d522f475Smrg exist in my x11r5, and xterm works adequately without it). 7893d522f475Smrg 7894d522f475Smrg <LI>corrected fallback definition for 'Select()' macro (oops: I'd 7895d522f475Smrg copied the wrong text...) 7896d522f475Smrg 7897d522f475Smrg <LI>moved the declarations for the fd_set variables to data.[ch] 7898d522f475Smrg 7899d522f475Smrg <LI>corrected an ifdef in resize.c (sunos 4.x doesn't have termcap.h) 7900d522f475Smrg 7901d522f475Smrg <LI>corrected (in main.c) some unused/orphaned variables. 7902d522f475Smrg</UL> 7903d522f475Smrg 7904d522f475Smrg<H1><A NAME="xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A></H1> 7905d522f475Smrg 7906d522f475SmrgThis is mostly a documentation patch for xterm. It describes the color control 7907d522f475Smrgsequences in more detail, and documents some other features of xterm that 7908d522f475Smrgaren't described elsewhere. 7909d522f475Smrg<P> 7910d522f475SmrgI've also added a couple of ifdef's to fix (part of) the problem that I'm 7911d522f475Smrgworking on (making the program work properly on x11r5, where I'm doing memory 7912d522f475Smrgtesting -- I have a "good" version from mid-January, but my resync version 7913d522f475Smrgdoesn't work properly on x11r5). I'm not done with <EM>that</EM> yet. 7914d522f475Smrg 7915d522f475Smrg<H1><A NAME="xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A></H1> 7916d522f475Smrg 7917d522f475SmrgI did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've got an S3 card. 7918d522f475Smrg<P> 7919d522f475SmrgThis fixes the following in the 3.1.2n xterm: 7920d522f475Smrg<UL> 7921d522f475Smrg <LI>initialize cur_foreground, cur_background in charproc.c (Purify 7922d522f475Smrg told me they weren't initialized). 7923d522f475Smrg 7924d522f475Smrg <LI>add interpretation of codes 39, 49, to reset background and 7925d522f475Smrg foreground to default value (I'm told that ISO 6429 does this; but I 7926d522f475Smrg don't have a written reference -- yet -- can anyone help here?). 7927d522f475Smrg Anyway, rxvt does it, and it'll solve my remaining color management 7928d522f475Smrg problems. 7929d522f475Smrg 7930d522f475Smrg <LI>shadowing of 'time' in menu.c 7931d522f475Smrg 7932d522f475Smrg <LI>'Cardinal' vs 'int' in scrollbar.c 7933d522f475Smrg 7934d522f475Smrg <LI>several changes to permit compile with X11R5 (the system that I've 7935d522f475Smrg got Purify on won't be upgraded to X11R6 for a long time). 7936d522f475Smrg</UL> 7937d522f475Smrg<P> 7938d522f475SmrgI built this version (with a minor nit that I'll patch soon) on SunOS 4.1.3 so 7939d522f475Smrgthat I can test it some more with Purify. 7940d522f475Smrg<P> 7941d522f475Smrg<EM>btw</EM>: 7942d522f475Smrgthe changes made in Xpoll.h won't work on some older systems, because 7943d522f475Smrg fd_set isn't a defined type (I've got one machine at least that this 7944d522f475Smrg applies to). 7945d522f475Smrg 7946d522f475Smrg<H1><A NAME="xterm_06">Patch #6 - 1996/1/8</A></H1> 7947d522f475Smrg 7948d522f475SmrgThis patch does all of the SGR foreground/background fixes (i.e., clearing the 7949d522f475Smrgscreen after an SGR color is set causes that color to be used in the foreground 7950d522f475Smrgand/or background). If the FG_COLOR and/or BG_COLOR flags aren't set, then the 7951d522f475Smrgxterm foreground and background default to the window's values. This usage is 7952d522f475Smrgconsistent with various types of hardware (especially the IBM PC), and is also 7953d522f475Smrgused in rxvt. 7954d522f475Smrg<UL> 7955d522f475Smrg <LI>charproc.c: 7956d522f475Smrg<UL> 7957d522f475Smrg <LI>add/use new macros GET_FG, GET_BG - n/c. 7958d522f475Smrg 7959d522f475Smrg <LI>add/use new functions SGR_Foreground() and SGR_Background() 7960d522f475Smrg to set corresponding colors in GC's, and to retain sense of 7961d522f475Smrg "original" colors. 7962d522f475Smrg 7963d522f475Smrg <P> 7964d522f475Smrg => This makes redundant some of the corresponding logic 7965d522f475Smrg in HideCursor to set the foreground and background, 7966d522f475Smrg but I left it in since it <EM>may</EM> be fixing an unrelated 7967d522f475Smrg requirement. 7968d522f475Smrg 7969d522f475Smrg <LI>set GC's in LoadNewFont() according to whether the SGR fg/bg 7970d522f475Smrg colors are active. 7971d522f475Smrg 7972d522f475Smrg <P> 7973d522f475Smrg => This fixes some glitches in the accompanying resize, 7974d522f475Smrg that leaves parts of the window in the original 7975d522f475Smrg background color. 7976d522f475Smrg</UL> 7977d522f475Smrg 7978d522f475Smrg <LI>screen.c: 7979d522f475Smrg<UL> 7980d522f475Smrg <LI>modified ClearBufRows() to use the SGR fg/bg colors if 7981d522f475Smrg they're set. 7982d522f475Smrg 7983d522f475Smrg <LI>added function ScrnClearLines(), used this to replace 7984d522f475Smrg portions of ScrnInsertLine() and ScrnDeleteLine(). 7985d522f475Smrg The new function uses the SGR fg/bg colors if they're 7986d522f475Smrg set. 7987d522f475Smrg 7988d522f475Smrg <P> 7989d522f475Smrg => Otherwise, selection after an index or reverse index will 7990d522f475Smrg paint the wrong colors. 7991d522f475Smrg 7992d522f475Smrg <LI>modified ScrnDeleteChar() and ScrnInsertChar() 7993d522f475Smrg to use SGR fg/bg colors. 7994d522f475Smrg</UL> 7995d522f475Smrg 7996d522f475Smrg <LI>util.c: 7997d522f475Smrg<UL> 7998d522f475Smrg <LI>modified ClearRight() so that if either of the SGR fg/bg 7999d522f475Smrg colors is set, we don't bzero the attributes and color 8000d522f475Smrg arrays, but instead fill them with the appropriate codes. 8001d522f475Smrg 8002d522f475Smrg <LI>modified ClearLeft to use SGR fg/bg colors. 8003d522f475Smrg</UL> 8004d522f475Smrg</UL> 8005d522f475Smrg 8006d522f475Smrg<H1><A NAME="xterm_05">Patch #5 - 1996/1/7</A></H1> 8007d522f475Smrg 8008d522f475SmrgThis patch modifies the object code, by replacing indexing expressions with 8009d522f475Smrgtemporary variables with the full indexing expression. At first glance, this 8010d522f475Smrgseems inefficient (it did to me ;-), until remembering comments made in the 8011d522f475Smrgcompilers newsgroups that trying to "help" the compiler doesn't really work 8012d522f475Smrgthat well. A good optimizing compiler can do a better job than the programmer 8013d522f475Smrgcan. (There's a moral in the use of 'register' variables also, but I won't fix 8014d522f475Smrgthose...). 8015d522f475Smrg<P> 8016d522f475SmrgAnyway, the revised code generates a smaller object... 8017d522f475Smrg<UL> 8018d522f475Smrg<LI>charproc.c: 8019d522f475Smrg<UL> 8020d522f475Smrg<LI>recode index expressions in ShowCursor() and HideCursor() 8021d522f475Smrg using SCRN_BUF_xxxxS macros - changes object. 8022d522f475Smrg 8023d522f475Smrg<LI>replace constant '4' by MAX_PTRS - n/c. 8024d522f475Smrg</UL> 8025d522f475Smrg 8026d522f475Smrg<LI>ptyx.h: 8027d522f475Smrg<UL> 8028d522f475Smrg<LI>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS 8029d522f475Smrg macros, to pick up references to ScrnBuf data directly, and 8030d522f475Smrg added MAX_PTRS symbol to pick up those '4' constants strewn 8031d522f475Smrg about the code - n/c. 8032d522f475Smrg</UL> 8033d522f475Smrg 8034d522f475Smrg<LI>screen.c: 8035d522f475Smrg<UL> 8036d522f475Smrg<LI>recode index expressions in ScreenWrite() using 8037d522f475Smrg SCRN_BUF_xxxxS macros - changes object. 8038d522f475Smrg 8039d522f475Smrg<LI>replace constant '4' by MAX_PTRS - n/c. 8040d522f475Smrg 8041d522f475Smrg<LI>use macros BUF_CHARS, BUF_ATTRS - n/c. 8042d522f475Smrg 8043d522f475Smrg<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c 8044d522f475Smrg</UL> 8045d522f475Smrg 8046d522f475Smrg<LI>scrollbar.c: 8047d522f475Smrg<UL> 8048d522f475Smrg<LI>replace constant '4' by MAX_PTRS - n/c. 8049d522f475Smrg 8050d522f475Smrg<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c 8051d522f475Smrg</UL> 8052d522f475Smrg</UL> 8053d522f475Smrg 8054d522f475Smrg<H1><A NAME="xterm_04">Patch #4 - 1996/1/7</A></H1> 8055d522f475SmrgWhen setting up for this phase, I saw that you'd corrected the bug that I found 8056d522f475Smrgin ClearLeft. I decided to make this series of patches anyway, since 8057d522f475Smrgreadability never hurt (and there's the potential for finding another bug while 8058d522f475Smrgreviewing this set). 8059d522f475Smrg<UL> 8060d522f475Smrg<LI>button.c: 8061d522f475Smrg<UL> 8062d522f475Smrg<LI>use SCRN_BUF_xxxxS macros - n/c 8063d522f475Smrg</UL> 8064d522f475Smrg<LI>charproc.c: 8065d522f475Smrg<UL> 8066d522f475Smrg<LI>use SCRN_BUF_xxxxS macros - n/c 8067d522f475Smrg</UL> 8068d522f475Smrg<LI>ptyx.h: 8069d522f475Smrg<UL> 8070d522f475Smrg<LI>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS, 8071d522f475Smrg SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four 8072d522f475Smrg arrays that are derived from screen->buf. 8073d522f475Smrg</UL> 8074d522f475Smrg<LI>screen.c: 8075d522f475Smrg<UL> 8076d522f475Smrg<LI>use SCRN_BUF_xxxxS macros - n/c 8077d522f475Smrg</UL> 8078d522f475Smrg<LI>util.c: 8079d522f475Smrg<UL> 8080d522f475Smrg<LI>use SCRN_BUF_xxxxS macros - n/c 8081d522f475Smrg</UL> 8082d522f475Smrg</UL> 8083d522f475Smrg<H1><A NAME="xterm_03">Patch #3 - 1996/1/7</A></H1> 8084d522f475Smrg 8085d522f475SmrgThis is my third (and final cleanup) patch for xterm. It gets rid of the 8086d522f475Smrgunused stuff, and converts several functions to static (thereby reducing their 8087d522f475Smrgscope). 8088d522f475Smrg<P> 8089d522f475SmrgAt this point, the only compile warnings I've got (on Linux) are those about 8090d522f475Smrgthe select arguments (int vs fd_set type), and a missing declaration for 8091d522f475Smrgwaitpid. Those both are hard to get right without autoconfigure. 8092d522f475Smrg<P> 8093d522f475SmrgThe next patches will address the functional changes... 8094d522f475Smrg<UL> 8095d522f475Smrg<LI>Tekproc.c: 8096d522f475Smrg<UL> 8097d522f475Smrg<LI>changed several functions to 'static' that aren't used 8098d522f475Smrgoutside this module -- changes object 8099d522f475Smrg</UL> 8100d522f475Smrg<LI>charproc.c: 8101d522f475Smrg<UL> 8102d522f475Smrg<LI>changed several functions to 'static' that aren't used 8103d522f475Smrgoutside this module -- changes object 8104d522f475Smrg<LI>deleted unused function unparsefputs -- changes object. 8105d522f475Smrg</UL> 8106d522f475Smrg<LI>main.c: 8107d522f475Smrg<UL> 8108d522f475Smrg<LI>changed several functions to 'static' that aren't used 8109d522f475Smrgoutside this module -- changes object 8110d522f475Smrg<LI>ifdef'd out unused function 'consolepr()' -- changes object 8111d522f475Smrg<LI>removed unused variable 'dummy_tio' -- changes object 8112d522f475Smrg<LI>moved variable 'discipline' to quiet unused-warning -- changes object 8113d522f475Smrg</UL> 8114d522f475Smrg<LI>main.h: 8115d522f475Smrg<UL> 8116d522f475Smrg<LI>deleted unused definition of DEFBORDERWIDTH - n/c 8117d522f475Smrg</UL> 8118d522f475Smrg<LI>misc.c: 8119d522f475Smrg<UL> 8120d522f475Smrg<LI>changed several functions to 'static' that aren't used 8121d522f475Smrgoutside this module -- changes object 8122d522f475Smrg<LI>provide dummy return statements for xerror and xioerror to 8123d522f475Smrgquiet compiler warnings -- changes object 8124d522f475Smrg</UL> 8125d522f475Smrg<LI>ptyx.h: 8126d522f475Smrg<UL> 8127d522f475Smrg<LI>change sbuf_address and abuf_address to 'Char *' - n/c 8128d522f475Smrg</UL> 8129d522f475Smrg<LI>resize.c: 8130d522f475Smrg<UL> 8131d522f475Smrg<LI>changed several functions to 'static' that aren't used outside this module 8132d522f475Smrg-- changes object 8133d522f475Smrg</UL> 8134d522f475Smrg<LI>screen.c: 8135d522f475Smrg<UL> 8136d522f475Smrg<LI>remove unnecessary 'Char **' casts - n/c 8137d522f475Smrg</UL> 8138d522f475Smrg<LI>util.c: 8139d522f475Smrg<UL> 8140d522f475Smrg<LI>changed several functions to 'static' that aren't used outside this module 8141d522f475Smrg-- changes object 8142d522f475Smrg</UL> 8143d522f475Smrg</UL> 8144d522f475Smrg<H1><A NAME="xterm_02">Patch #2 - 1996/1/7</A></H1> 8145d522f475SmrgThis is my second patch to xterm. It corrects most of the gcc warnings (except 8146d522f475Smrgfor some that are due to X header files ;-). I compared objects to keep track 8147d522f475Smrgof the changes that don't affect the object code (n/c) versus those that do. 8148d522f475Smrg<P> 8149d522f475SmrgAt this point, I'm compiling (fairly) clean with gcc options 8150d522f475Smrg<PRE> 8151d522f475Smrg -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs 8152d522f475Smrg</PRE> 8153d522f475Smrg(I also compiled with -Wshadow, but while that found some things that I wanted 8154d522f475Smrgto find, there's far too many warnings from the X headers to be usable in this 8155d522f475Smrgcontext). 8156d522f475Smrg<P> 8157d522f475SmrgThe changes: 8158d522f475Smrg<UL> 8159d522f475Smrg<LI>Tekproc.c: 8160d522f475Smrg<UL> 8161d522f475Smrg<LI>parenthesized expression to avoid gcc warning -- n/c. 8162d522f475Smrg 8163d522f475Smrg<LI>corrected nested-extern declaration for Bool 8164d522f475Smrg waiting_for_initial_map; ourTopLevelShellArgs, and 8165d522f475Smrg number_ourTopLevelShellArgs - n/c 8166d522f475Smrg 8167d522f475Smrg</UL> 8168d522f475Smrg<LI>charproc.c: 8169d522f475Smrg<UL> 8170d522f475Smrg<LI>corrected potentially-unintialized variables 'scstype', 'xim', 8171d522f475Smrg and 'input_style' -- changes object. 8172d522f475Smrg 8173d522f475Smrg<LI>adjusted logic of VTparse so that gcc won't warn about setjmp 8174d522f475Smrg clobbering parsestate -- changes object. 8175d522f475Smrg 8176d522f475Smrg<LI>corrected initialization of 'scstype', which could have been 8177d522f475Smrg clobbered by setjmp/longjmp - changes object. 8178d522f475Smrg 8179d522f475Smrg<LI>corrected nested-extern declaration of 'term', 'ProgramName' 8180d522f475Smrg - n/c 8181d522f475Smrg</UL> 8182d522f475Smrg 8183d522f475Smrg<LI>cursor.c: 8184d522f475Smrg<UL> 8185d522f475Smrg<LI>corrected nested-extern declaration of 'term' -- n/c 8186d522f475Smrg 8187d522f475Smrg<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8188d522f475Smrg</UL> 8189d522f475Smrg 8190d522f475Smrg<LI>input.c: 8191d522f475Smrg<UL> 8192d522f475Smrg<LI>change interface of StringInput to assume size_t (i.e., 8193d522f475Smrg unsigned) nbytes -- changes object. 8194d522f475Smrg 8195d522f475Smrg<LI>change interface of funcvalue, and sunfuncvalue to use 8196d522f475Smrg 'KeySym' type instead of 'int' - changes object. 8197d522f475Smrg</UL> 8198d522f475Smrg 8199d522f475Smrg<LI>main.c: 8200d522f475Smrg<UL> 8201d522f475Smrg<LI>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h - n/c 8202d522f475Smrg 8203d522f475Smrg<LI>corrected missing params of 'do_hangup()' -- changes object 8204d522f475Smrg (note: the missing params were not used). 8205d522f475Smrg 8206d522f475Smrg<LI>corrected missing param of 'Error()' -- changes object 8207d522f475Smrg 8208d522f475Smrg<LI>corrected nested-extern 'environ' - n/c 8209d522f475Smrg 8210d522f475Smrg<LI>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' so 8211d522f475Smrg that gcc can see they won't be clobbered by the longjmp - 8212d522f475Smrg changes object. 8213d522f475Smrg 8214d522f475Smrg<LI>use Size_t type - n/c. 8215d522f475Smrg</UL> 8216d522f475Smrg 8217d522f475Smrg<LI>menu.c: 8218d522f475Smrg<UL> 8219d522f475Smrg<LI>removed redundant prototype for 'do_hangup()' -- n/c. 8220d522f475Smrg 8221d522f475Smrg<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c 8222d522f475Smrg</UL> 8223d522f475Smrg 8224d522f475Smrg<LI>menu.h: 8225d522f475Smrg<UL> 8226d522f475Smrg<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c 8227d522f475Smrg</UL> 8228d522f475Smrg 8229d522f475Smrg<LI>misc.c: 8230d522f475Smrg<UL> 8231d522f475Smrg<LI>corrected definition of 'HandleFocusChange()' -- changes 8232d522f475Smrg object 8233d522f475Smrg 8234d522f475Smrg<LI>cast parameters in call to 'TekExpose()' -- n/c 8235d522f475Smrg 8236d522f475Smrg<LI>corrected nested-extern declarations of 'term', 'toplevel', 8237d522f475Smrg ProgramName, and 'environ' -- n/c. 8238d522f475Smrg 8239d522f475Smrg<LI>use Size_t type - n/c. 8240d522f475Smrg</UL> 8241d522f475Smrg 8242d522f475Smrg<LI>proto.h: 8243d522f475Smrg<UL> 8244d522f475Smrg<LI>moved definition of SIGNAL_T (and SIGNAL_RETURN) here from 8245d522f475Smrg main.c, resize.c to allow use of this symbol in prototypes 8246d522f475Smrg (mostly in xterm.h). 8247d522f475Smrg 8248d522f475Smrg<LI>added definition 'Size_t' to use as corrected type for 8249d522f475Smrg strncpy, malloc sizes - n/c. 8250d522f475Smrg</UL> 8251d522f475Smrg 8252d522f475Smrg<LI>resize.c: 8253d522f475Smrg<UL> 8254d522f475Smrg<LI>moved SIGNAL_T definition to proto.h -- n/c. 8255d522f475Smrg 8256d522f475Smrg<LI>use Size_t type - n/c. 8257d522f475Smrg</UL> 8258d522f475Smrg 8259d522f475Smrg<LI>screen.c: 8260d522f475Smrg<UL> 8261d522f475Smrg<LI>use Size_t type - n/c. 8262d522f475Smrg</UL> 8263d522f475Smrg 8264d522f475Smrg<LI>tabs.c: 8265d522f475Smrg<UL> 8266d522f475Smrg<LI>corrected nested-extern declaration of 'term' -- n/c 8267d522f475Smrg</UL> 8268d522f475Smrg 8269d522f475Smrg<LI>util.c: 8270d522f475Smrg<UL> 8271d522f475Smrg<LI>corrected/supplied parameters to 'TekExpose()' -- changes 8272d522f475Smrg object (note: 'TekExpose()' doesn't use its parameters). 8273d522f475Smrg 8274d522f475Smrg<LI>corrected nested-extern declaration of 8275d522f475Smrg 'waiting_for_initial_map' -- n/c. 8276d522f475Smrg 8277d522f475Smrg<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8278d522f475Smrg</UL> 8279d522f475Smrg 8280d522f475Smrg<LI>xterm.h: 8281d522f475Smrg<UL> 8282d522f475Smrg<LI>prototype 'do_hangup()', 'HandleFocusChange()', 8283d522f475Smrg 'TekExpose()', 'Error()', 'Exit()' - forces changes in 8284d522f475Smrg various places. 8285d522f475Smrg 8286d522f475Smrg<LI>adjusted prototypes that pass 'Boolean' arguments to use 8287d522f475Smrg 'int' (this is the "correct" ANSI approach to extended 8288d522f475Smrg compiles; it's worth mentioning that gcc doesn't meet the 8289d522f475Smrg ANSI spec here). I used gcc -Wconversion to find these, but 8290d522f475Smrg there's a lot of unrelated warnings that are due to setting 8291d522f475Smrg NARROWPROTO in the config - n/c. 8292d522f475Smrg 8293d522f475Smrg<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c 8294d522f475Smrg</UL> 8295d522f475Smrg</UL> 8296d522f475Smrg<H1><A NAME="xterm_01">Patch #1 - 1996/1/6</A></H1> 8297d522f475SmrgThis is my first cleanup patch for xterm. It addresses all of the gcc warnings 8298d522f475Smrgfor -Wall, -Wmissing-prototypes and -Wstrict-prototypes that I can change 8299d522f475Smrgwithout modifying the object code. (I'm compiling this with gcc 2.7.0 for an 8300d522f475Smrgaout target, which makes it simple to compare objects. When I do ELF-only, 8301d522f475SmrgI've got a tool that compares that sort of thing as well). 8302d522f475Smrg<P> 8303d522f475SmrgBriefly, this patch adds (and uses) two header files in the xterm directory: 8304d522f475Smrg<PRE> 8305d522f475Smrg proto.h 8306d522f475Smrg xterm.h 8307d522f475Smrg</PRE> 8308d522f475SmrgI expect this to be the biggest patch by far. However (barring a misplaced 8309d522f475Smrgprototype), it shouldn't break anything, since the intent of the patch is to 8310d522f475Smrgprovide missing declarations. 8311d522f475Smrg</BODY> 8312d522f475Smrg</HTML> 8313