xterm.log.html revision 6879286f
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<!--
3 *****************************************************************************
4 * this file is part of xterm                                                *
5 *                                                                           *
6 * Copyright 1997-2009,2010 by Thomas E. Dickey                              *
7 *                                                                           *
8 * All Rights Reserved                                                       *
9 *                                                                           *
10 * Permission is hereby granted, free of charge, to any person obtaining a   *
11 * copy of this software and associated documentation files (the             *
12 * "Software"), to deal in the Software without restriction, including       *
13 * without limitation the rights to use, copy, modify, merge, publish,       *
14 * distribute, sublicense, and/or sell copies of the Software, and to        *
15 * permit persons to whom the Software is furnished to do so, subject to     *
16 * the following conditions:                                                 *
17 *                                                                           *
18 * The above copyright notice and this permission notice shall be included   *
19 * in all copies or substantial portions of the Software.                    *
20 *                                                                           *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS   *
22 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF                *
23 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.    *
24 * IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY  *
25 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,      *
26 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE         *
27 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                    *
28 *                                                                           *
29 * Except as contained in this notice, the name(s) of the above copyright    *
30 * holders shall not be used in advertising or otherwise to promote the      *
31 * sale, use or other dealings in this Software without prior written        *
32 * authorization.                                                            *
33 *****************************************************************************
34  $XTermId: xterm.log.html,v 1.995 2010/11/21 23:40:00 tom Exp $
35  -->
36<HTML>
37<HEAD>
38<TITLE>XTERM - Change Log</TITLE>
39<LINK REV=MADE HREF="mailto:dickey@invisible-island.net">
40<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
41</HEAD>
42<BODY>
43<HR>
44Copyright &copy; 1997-2009,2010 by <A
45HREF="mailto:dickey@invisible-island.net">Thomas E. Dickey</A>
46<HR>
47<H1>Contents</H1>
48This file contains a list of the changes that I have made for xterm,
49from the notes that I add when submitting a patch.
50<P>
51You should note that other changes have been made as well, by other people,
52to fix bugs and correct ifdef's for portability.
53Most of these are summarized in the XFree86 CHANGELOG
54(found in the unbundled tree, xc/programs/Xserver/hw/xfree86).
55<a href="http://invisible-island.net/xterm/xterm.log.html">Here</a>
56is the latest version of this file.
57
58<UL>
59<LI><A HREF="#xterm_267">Patch #267 - 2010/11/20</A>
60<LI><A HREF="#xterm_266">Patch #266 - 2010/10/24</A>
61<LI><A HREF="#xterm_265">Patch #265 - 2010/10/22</A>
62<LI><A HREF="#xterm_264">Patch #264 - 2010/10/14</A>
63<LI><A HREF="#xterm_263">Patch #263 - 2010/10/13</A>
64<LI><A HREF="#xterm_262">Patch #262 - 2010/8/30</A>
65<LI><A HREF="#xterm_261">Patch #261 - 2010/6/28</A>
66<LI><A HREF="#xterm_260">Patch #260 - 2010/6/20</A>
67<LI><A HREF="#xterm_259">Patch #259 - 2010/6/5</A>
68<LI><A HREF="#xterm_258">Patch #258 - 2010/5/1</A>
69<LI><A HREF="#xterm_257">Patch #257 - 2010/4/22</A>
70<LI><A HREF="#xterm_256">Patch #256 - 2010/3/6</A>
71<LI><A HREF="#xterm_255">Patch #255 - 2010/1/21</A>
72<LI><A HREF="#xterm_254">Patch #254 - 2010/1/6</A>
73<LI><A HREF="#xterm_253">Patch #253 - 2009/12/10</A>
74<LI><A HREF="#xterm_252">Patch #252 - 2009/12/7</A>
75<LI><A HREF="#xterm_251">Patch #251 - 2009/11/11</A>
76<LI><A HREF="#xterm_250">Patch #250 - 2009/10/13</A>
77<LI><A HREF="#xterm_249">Patch #249 - 2009/10/1</A>
78<LI><A HREF="#xterm_248">Patch #248 - 2009/9/11</A>
79<LI><A HREF="#xterm_247">Patch #247 - 2009/8/30</A>
80<LI><A HREF="#xterm_246">Patch #246 - 2009/8/16</A>
81<LI><A HREF="#xterm_245">Patch #245 - 2009/8/12</A>
82<LI><A HREF="#xterm_244">Patch #244 - 2009/8/9</A>
83<LI><A HREF="#xterm_243">Patch #243 - 2009/3/28</A>
84<LI><A HREF="#xterm_242">Patch #242 - 2009/2/15</A>
85<LI><A HREF="#xterm_241">Patch #241 - 2009/1/26</A>
86<LI><A HREF="#xterm_240">Patch #240 - 2009/1/25</A>
87<LI><A HREF="#xterm_239">Patch #239 - 2009/1/8</A>
88<LI><A HREF="#xterm_238">Patch #238 - 2008/12/30</A>
89<LI><A HREF="#xterm_237">Patch #237 - 2008/09/14</A>
90<LI><A HREF="#xterm_236">Patch #236 - 2008/07/27</A>
91<LI><A HREF="#xterm_235">Patch #235 - 2008/04/20</A>
92<LI><A HREF="#xterm_234">Patch #234 - 2008/03/02</A>
93<LI><A HREF="#xterm_233">Patch #233 - 2008/02/24</A>
94<LI><A HREF="#xterm_232">Patch #232 - 2008/01/30</A>
95<LI><A HREF="#xterm_231">Patch #231 - 2008/01/05</A>
96<LI><A HREF="#xterm_230">Patch #230 - 2007/12/31</A>
97<LI><A HREF="#xterm_229">Patch #229 - 2007/8/12</A>
98<LI><A HREF="#xterm_228">Patch #228 - 2007/7/22</A>
99<LI><A HREF="#xterm_227">Patch #227 - 2007/6/27</A>
100<LI><A HREF="#xterm_226">Patch #226 - 2007/6/17</A>
101<LI><A HREF="#xterm_225">Patch #225 - 2007/3/24</A>
102<LI><A HREF="#xterm_224">Patch #224 - 2007/2/11</A>
103<LI><A HREF="#xterm_223">Patch #223 - 2006/11/30</A>
104<LI><A HREF="#xterm_222">Patch #222 - 2006/10/17</A>
105<LI><A HREF="#xterm_221">Patch #221 - 2006/10/1</A>
106<LI><A HREF="#xterm_220">Patch #220 - 2006/9/10</A>
107<LI><A HREF="#xterm_219">Patch #219 - 2006/9/4</A>
108<LI><A HREF="#xterm_218">Patch #218 - 2006/8/27</A>
109<LI><A HREF="#xterm_217">Patch #217 - 2006/8/20</A>
110<LI><A HREF="#xterm_216">Patch #216 - 2006/8/3</A>
111<LI><A HREF="#xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A>
112<LI><A HREF="#xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A>
113<LI><A HREF="#xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A>
114<LI><A HREF="#xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A>
115<LI><A HREF="#xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A>
116<LI><A HREF="#xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A>
117<LI><A HREF="#xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A>
118<LI><A HREF="#xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A>
119<LI><A HREF="#xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A>
120<LI><A HREF="#xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A>
121<LI><A HREF="#xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A>
122<LI><A HREF="#xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A>
123<LI><A HREF="#xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A>
124<LI><A HREF="#xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A>
125<LI><A HREF="#xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A>
126<LI><A HREF="#xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A>
127<LI><A HREF="#xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A>
128<LI><A HREF="#xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A>
129<LI><A HREF="#xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A>
130<LI><A HREF="#xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A>
131<LI><A HREF="#xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A>
132<LI><A HREF="#xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A>
133<LI><A HREF="#xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A>
134<LI><A HREF="#xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A>
135<LI><A HREF="#xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A>
136<LI><A HREF="#xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A>
137<LI><A HREF="#xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A>
138<LI><A HREF="#xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A>
139<LI><A HREF="#xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A>
140<LI><A HREF="#xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A>
141<LI><A HREF="#xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A>
142<LI><A HREF="#xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A>
143<LI><A HREF="#xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A>
144<LI><A HREF="#xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A>
145<LI><A HREF="#xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A>
146<LI><A HREF="#xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A>
147<LI><A HREF="#xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A>
148<LI><A HREF="#xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A>
149<LI><A HREF="#xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A>
150<LI><A HREF="#xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A>
151<LI><A HREF="#xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A>
152<LI><A HREF="#xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A>
153<LI><A HREF="#xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A>
154<LI><A HREF="#xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A>
155<LI><A HREF="#xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A>
156<LI><A HREF="#xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A>
157<LI><A HREF="#xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A>
158<LI><A HREF="#xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A>
159<LI><A HREF="#xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A>
160<LI><A HREF="#xterm_166">Patch #166 - 2002/3/25 - XFree86 4.2.0</A>
161<LI><A HREF="#xterm_165">Patch #165 - 2002/1/5 - XFree86 4.1.0</A>
162<LI><A HREF="#xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A>
163<LI><A HREF="#xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A>
164<LI><A HREF="#xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A>
165<LI><A HREF="#xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A>
166<LI><A HREF="#xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A>
167<LI><A HREF="#xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A>
168<LI><A HREF="#xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A>
169<LI><A HREF="#xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A>
170<LI><A HREF="#xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A>
171<LI><A HREF="#xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A>
172<LI><A HREF="#xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A>
173<LI><A HREF="#xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A>
174<LI><A HREF="#xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A>
175<LI><A HREF="#xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A>
176<LI><A HREF="#xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A>
177<LI><A HREF="#xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A>
178<LI><A HREF="#xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A>
179<LI><A HREF="#xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A>
180<LI><A HREF="#xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A>
181<LI><A HREF="#xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A>
182<LI><A HREF="#xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A>
183<LI><A HREF="#xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A>
184<LI><A HREF="#xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A>
185<LI><A HREF="#xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A>
186<LI><A HREF="#xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A>
187<LI><A HREF="#xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A>
188<LI><A HREF="#xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A>
189<LI><A HREF="#xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A>
190<LI><A HREF="#xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A>
191<LI><A HREF="#xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A>
192<LI><A HREF="#xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A>
193<LI><A HREF="#xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A>
194<LI><A HREF="#xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A>
195<LI><A HREF="#xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A>
196<LI><A HREF="#xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A>
197<LI><A HREF="#xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A>
198<LI><A HREF="#xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A>
199<LI><A HREF="#xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A>
200<LI><A HREF="#xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A>
201<LI><A HREF="#xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A>
202<LI><A HREF="#xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A>
203<LI><A HREF="#xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A>
204<LI><A HREF="#xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A>
205<LI><A HREF="#xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A>
206<LI><A HREF="#xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A>
207<LI><A HREF="#xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A>
208<LI><A HREF="#xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A>
209<LI><A HREF="#xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A>
210<LI><A HREF="#xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A>
211<LI><A HREF="#xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A>
212<LI><A HREF="#xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A>
213<LI><A HREF="#xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A>
214<LI><A HREF="#xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A>
215<LI><A HREF="#xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A>
216<LI><A HREF="#xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A>
217<LI><A HREF="#xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A>
218<LI><A HREF="#xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A>
219<LI><A HREF="#xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A>
220<LI><A HREF="#xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A>
221<LI><A HREF="#xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A>
222<LI><A HREF="#xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A>
223<LI><A HREF="#xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A>
224<LI><A HREF="#xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A>
225<LI><A HREF="#xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A>
226<LI><A HREF="#xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A>
227<LI><A HREF="#xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A>
228<LI><A HREF="#xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A>
229<LI><A HREF="#xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A>
230<LI><A HREF="#xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A>
231<LI><A HREF="#xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A>
232<LI><A HREF="#xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A>
233<LI><A HREF="#xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A>
234<LI><A HREF="#xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A>
235<LI><A HREF="#xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A>
236<LI><A HREF="#xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A>
237<LI><A HREF="#xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A>
238<LI><A HREF="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A>
239<LI><A HREF="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A>
240<LI><A HREF="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A>
241<LI><A HREF="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A>
242<LI><A HREF="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni and 3.3.2e</A>
243<LI><A HREF="#sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A>
244<LI><A HREF="#xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A>
245<LI><A HREF="#xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A>
246<LI><A HREF="#xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A>
247<LI><A HREF="#xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A>
248<LI><A HREF="#xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A>
249<LI><A HREF="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A>
250<LI><A HREF="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A>
251<LI><A HREF="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A>
252<LI><A HREF="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A>
253<LI><A HREF="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A>
254<LI><A HREF="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A>
255<LI><A HREF="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A>
256<LI><A HREF="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A>
257<LI><A HREF="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A>
258<LI><A HREF="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A>
259<LI><A HREF="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A>
260<LI><A HREF="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A>
261<LI><A HREF="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A>
262<LI><A HREF="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A>
263<LI><A HREF="#xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A>
264<LI><A HREF="#xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A>
265<LI><A HREF="#xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A>
266<LI><A HREF="#xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A>
267<LI><A HREF="#xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A>
268<LI><A HREF="#xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A>
269<LI><A HREF="#xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A>
270<LI><A HREF="#xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A>
271<LI><A HREF="#xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A>
272<LI><A HREF="#xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A>
273<LI><A HREF="#xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A>
274<LI><A HREF="#xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A>
275<LI><A HREF="#xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A>
276<LI><A HREF="#xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A>
277<LI><A HREF="#xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A>
278<LI><A HREF="#xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A>
279<LI><A HREF="#xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A>
280<LI><A HREF="#xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A>
281<LI><A HREF="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A>
282<LI><A HREF="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A>
283<LI><A HREF="#xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A>
284<LI><A HREF="#xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A>
285<LI><A HREF="#xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A>
286<LI><A HREF="#xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A>
287<LI><A HREF="#xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A>
288<LI><A HREF="#xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A>
289<LI><A HREF="#xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A>
290<LI><A HREF="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A>
291<LI><A HREF="#xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A>
292<LI><A HREF="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A>
293<LI><A HREF="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A>
294<LI><A HREF="#xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A>
295<LI><A HREF="#xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A>
296<LI><A HREF="#xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A>
297<LI><A HREF="#xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A>
298<LI><A HREF="#xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A>
299<LI><A HREF="#xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A>
300<LI><A HREF="#xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A>
301<LI><A HREF="#xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A>
302<LI><A HREF="#xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A>
303<LI><A HREF="#xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A>
304<LI><A HREF="#xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A>
305<LI><A HREF="#xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A>
306<LI><A HREF="#xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A>
307<LI><A HREF="#xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A>
308<LI><A HREF="#xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A>
309<LI><A HREF="#xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A>
310<LI><A HREF="#xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A>
311<LI><A HREF="#xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A>
312<LI><A HREF="#xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A>
313<LI><A HREF="#xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A>
314<LI><A HREF="#xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A>
315<LI><A HREF="#xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A>
316<LI><A HREF="#xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A>
317<LI><A HREF="#xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A>
318<LI><A HREF="#xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A>
319<LI><A HREF="#xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A>
320<LI><A HREF="#xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A>
321<LI><A HREF="#xterm_06">Patch #6 - 1996/1/8</A>
322<LI><A HREF="#xterm_05">Patch #5 - 1996/1/7</A>
323<LI><A HREF="#xterm_04">Patch #4 - 1996/1/7</A>
324<LI><A HREF="#xterm_03">Patch #3 - 1996/1/7</A>
325<LI><A HREF="#xterm_02">Patch #2 - 1996/1/7</A>
326<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A>
327</UL>
328
329<H1><A NAME="xterm_267">Patch #267 - 2010/11/20</A></H1>
330<ul>
331	<li>minor formatting changes to ctlseqs.ms to simplify a script which
332	    extracts the feature information.  See the results in
333<a href="http://invisible-island.net/xterm/xterm.faq.html#compare_versions">Comparing versions, by counting controls</a> in the xterm FAQ.
334
335	<li>add <code>docs-clean</code> makefile rule.
336
337	<li>add <code>copy-selection</code> action (request by 
338	    Timo Juhani Lindfors, Debian #588785).
339
340	<li>trim leading/trailing blanks from string used for "Selection"
341	    font-menu data.
342
343	<li>trim leading/trailing blanks from color resource values.
344
345	<li>configure script improvements:
346	<ul>
347	<li>add workaround for removal of X11 dependency from Xt's package
348	    file (report by Robert Hooker).
349
350	<li>add workaround for removal of fontconfig dependency from Xft's
351	    package file (report by Jeremy Huddleston).
352
353	<li>add workaround for removal of Xmu dependency from Xaw's package
354	    file (report by Jeremy Huddleston).
355
356	<li>improve workaround in <code>CF_X_TOOLKIT</code> macro,
357	    checking for other
358	    possible packages where Xt's dependencies may be given.
359
360	<li>prefer <code>${name:=value}</code> to <code>${name-value}</code>,
361	    since recent bash changes break legacy support for that feature.
362	</ul>
363</ul>
364
365<H1><A NAME="xterm_266">Patch #266 - 2010/10/24</A></H1>
366<ul>
367	<li>add rpm and dpkg scripts, for testing.
368
369	<li>more fixes for Debian #600707 (report by  Cyril Brulebois).
370</ul>
371
372<H1><A NAME="xterm_265">Patch #265 - 2010/10/22</A></H1>
373<ul>
374	<li>fix a regression in fontname logic from 
375	    <a href="#xterm_263">patch #263</a> changes
376	    (Debian #600707, reported by Vincent Lefevre).
377
378	<li>revert modification of any-event/any-button protocol from
379	    <a href="#xterm_263">patch #263</a> changes.
380	    It interferes with selection using a
381	    shifted mouse button (reports by Neil Bird, Bram Moolenaar).
382</ul>
383
384<H1><A NAME="xterm_264">Patch #264 - 2010/10/14</A></H1>
385<ul>
386	<li>replace a null-pointer check with check for empty string in
387	    <code>xtermOpenFont</code>,
388	    to eliminate a warning message from
389	    <a href="#xterm_263">patch #263</a> changes.
390
391	<li>build-fix for <a href="#xterm_263">patch #263</a> when toolbar
392	    is not configured
393	    (patch by Chris Clayton)
394	    (reports by Robby Workman,
395	    David Wood).
396</ul>
397
398<H1><A NAME="xterm_263">Patch #263 - 2010/10/13</A></H1>
399<ul>
400	<li>corrected initialization of "misc" resource values, to ensure that
401	    xterm has allocated a copy of strings which may not have been
402	    malloc'd by the X library (Debian #600129).
403
404	<li>modify handling of any-event/any-button mouse protocol; it
405	    now is active with any combination of key-modifiers.
406
407	<li>add debugging feature <code>showWrapMarks</code>, which marks
408	    lines which xterm knows are wrapped, showing where a double-click
409	    will select past the end of a line.
410
411	<li>build-fix to address change in include-guards for
412	    <code>Xlib.h</code>
413	    in ongoing Xorg edits (patch by Jeremy Huddleston).
414
415	<li>improve <code>pointerMode</code> by continuing to watch for motion
416	    events after mouse tracking is disabled if the pointer is hidden
417	    (Debian #594856).
418
419	<li>further extend initialization for active-icon font to check if
420	    the font was not loaded succesfully,
421	    to retry with <code>font1</code>,
422	    or as even (if TrueType fonts are used) to use a TrueType font.
423	    The retries are to help with cases as in
424	    <a href="#xterm_241">patch #241</a> where the bitmap fonts are
425	    not available.
426
427	<li>fix special case of active-icon used when TrueType font is
428	    specified for the xterm window,
429	    from <a href="#xterm_261">patch #261</a> change.
430	    In that case, the default font's size was used for layout of the
431	    active icon's window (Debian #591265).
432</ul>
433
434<H1><A NAME="xterm_262">Patch #262 - 2010/8/30</A></H1>
435<ul>
436	<li>fix a case where changing the cursor color via escape sequences
437	    did not immediately update the screen (report by Andreas Wagner).
438
439	<li>implement ANSI and DEC request-mode control sequences.  The
440	    latter includes the xterm-specific private modes such as the
441	    mouse mode.  The feature is ifdef'd with the rectangle operations
442	    since its decoding overlaps that feature.
443
444	<li>correct typo in ctlseqs.ms for response of OSC 21 (patch by
445	    Kevin Schoedel).
446
447	<li>improve discussion of mouse tracking in ctlseqs.ms
448
449	<li>increase an array limit used in reporting mouse events (report
450	    by Ryan Johnson).
451
452	<li>add extended mouse-coordinates mode, allowing up to 2015x2015
453	    windows, using UTF-8 encoding (patch by Ryan Johnson).
454
455	<li>modify manpage hyphens to conform with
456	    <a href="http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html">Debian</a>.
457</ul>
458
459<H1><A NAME="xterm_261">Patch #261 - 2010/6/28</A></H1>
460<ul>
461	<li>fix regression in <code>renderFont</code> logic, from
462	    <a href="#xterm_260">patch #260</a> changes
463	    (report by Joseph Quinsey).
464</ul>
465
466<H1><A NAME="xterm_260">Patch #260 - 2010/6/20</A></H1>
467<ul>
468	<li>modify <code>plink.sh</code> to work around problem linking to
469	    recent PCRE libraries.
470
471	<li>extend <code>renderFont</code> resource to allow deferred switch
472	    to TrueType fonts without affecting existing resource settings
473	    (Debian #585620).
474
475	<li>modify configure macro CF_X_TOOLKIT to work around omission of
476	    ICE library from ".pc" file (report by Miroslav Lichvar).
477
478	<li>change configure script default for <code>--enable-broken-st</code>
479	    i.e., the <code>brokenStringTerm</code> feature)
480	    to normally enable it.
481	    If the corresponding resource is enabled,
482	    this feature eliminates an apparent freeze of xterm
483	    when sending mis-encoded data to the screen (Debian #584801).
484
485	<li>document in manpage some actions which were overlooked:
486	    <ul>
487            <li>readline-button
488            <li>scroll-lock
489            <li>set-8-bit-control
490	    </ul>
491
492	<li>undo a change to limit-check in <code>ScrnRefresh</code>
493	    in <a href="#xterm_257">patch #257</a>,
494	    which broke <code>fastScroll</code> feature
495	    (Debian #584841).
496
497	<li>modify handling of
498	    <code>brokenLinuxOSC</code> and
499	    <code>brokenStringTerm</code>
500	    to also sound the bell.
501
502	<li>add control/D and control/Q to controls which will cause early
503	    exit from control string per <code>brokenStringTerm</code>
504	    resource.
505
506	<li>improve documentation of <code>brokenStringTerm</code> resource
507	    in manpage.
508</ul>
509
510<H1><A NAME="xterm_259">Patch #259 - 2010/6/5</A></H1>
511<ul>
512	<li>modify configure check for
513	    <a href="http://invisible-island.net/luit/">luit</a> to include new
514	    aliases for the program
515	    (<code>xterm-filter</code> and
516	    <code>bluit</code>).
517
518	<li>add workaround in <code>xtermClearLEDs()</code> to account for
519	    Xkb's override, making vttest's LED demo reset the scroll
520	    lock.
521
522	<li>filter out client-message events when deciding whether to hide
523	    cursor, e.g., when using SCIM
524	    (patch/report by anonymous user).
525
526	<li>improve description of <code>-bd</code> option in manpage
527	    (report by Guy Daniel Clotilde).
528
529	<li>modify configure checks for PCRE and other libraries to use
530	    <code>pkg-config</code>, if available.
531
532	<li>amend change from <a href="#xterm_252">patch #252</a>, to take
533	    <code>veryColorColors</code> resource into account when checking
534	    <code>colorBDMode</code> resource for TrueType fonts
535	    (report by anonymous user).
536
537	<li>add <code>vttests/query-fonts.pl</code> script for
538	    demonstrating the <code>OSC&nbsp;50</code> font query.
539
540	<li>improve manpage discussion of Scroll Lock feature.
541
542	<li>improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS.
543
544	<li>fix warnings for "clang --analyze".
545
546	<li>change default for <code>allowScrollLock</code> resource to
547	    <code>false</code>, noting that the supposedly unused key has
548	    been useful for various rebindings (Debian #580946).
549</ul>
550
551<H1><A NAME="xterm_258">Patch #258 - 2010/5/1</A></H1>
552<ul>
553	<li>add pointer-checks in <code>ScrnRefresh</code> to fix a case in
554	    rapid scrolling where an empty record is fetched from the
555	    scrollback FIFO.
556</ul>
557
558<H1><A NAME="xterm_257">Patch #257 - 2010/4/22</A></H1>
559<ul>
560	<li>correct ctlseqs.ms description of OSC 17 and OSC 19
561	    (patch by Emanuele Giaquinta).
562
563	<li>corrected logic for <code>menuLocale</code> resource;
564	    the <code>setlocale</code> function returns the original locale
565	    only when querying.
566
567	<li>improve filtering of translations resource, narrowing the scope
568	    of the <code>alwaysUseMods</code> to address only the translations
569	    that would cause a key to be sent to the host (report by Andrew
570	    Gaylard).
571
572	<li>change default value of <code>menuLocale</code> resource to "C",
573	    to work around
574	    longstanding <a href="http://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg bug</a>.
575
576	<li>modify handling of <code>scrollKey</code> feature to ignore
577	    XON/XOFF keys.
578
579	<li>implement scroll-lock feature.
580
581	<li>revise memory allocation in UTF8toLatin1() to fix an out-of-bounds
582	    index (Mandriva #54531).
583
584	<li>compute value for first wide-character rather than assuming it is
585	    256, fixes problem with <code>-cjk_width</code> introduced in
586	    patches
587	    <a href="#xterm_242">242</a> and
588	    <a href="#xterm_249">249</a>
589	    (report by Thomas Wolff).
590
591	<li>improve configure script:
592	<ul>
593	    <li>corrected check for <code>_XOPEN_SOURCE</code> for OpenSolaris.
594
595	    <li>when possible, add rpath option for libraries in unusual places
596
597	    <li>add configure option <code>--disable-rpath-hack</code> to
598	        control whether the rpath option can be added.
599	</ul>
600
601	<li>modify <code>AllocateTermColor()</code> to separate initialization
602	    from control sequences,
603	    fixing problem from <a href="#xterm_254">patch #254</a> changes
604	    where enabling <code>allowSendEvents</code>
605	    resource prevents setting cursor color on command-line
606	    (Debian #572928). 
607
608	<li>amend logic from <a href="#xterm_185">patch #185</a> to not
609	    reallocate cell-array if processing <code>ESC&nbsp;%&nbsp;G</code>
610	    to switch from UTF-8 if already in ISO-8859-1 character set
611	    (report by Michael Koehne).
612
613	<li>fix to avoid calling <code>XmuInternStrings()</code> with zero
614	    count (report by Johan Bockg&#229;rd).
615
616	<li>fix build when --disable-ansi-color configure option is used.
617
618	<li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is defined
619	    (patch by Matthieu Herrb)
620</ul>
621
622<H1><A NAME="xterm_256">Patch #256 - 2010/3/6</A></H1>
623<ul>
624	<li>add TerminalEmulator to desktop category files.
625
626	<li>modify <code>sinstall.sh</code> to ignore the "." appended to
627	    permissions by selinux.
628
629	<li>change app-defaults organization, installing UXTerm-color
630	    and KOI8XTerm-color for consistent behavior regarding
631	    <code>customization:&nbsp;color</code> (prompted by discussion
632	    in Ubuntu #421261).
633
634	<li>fix typo in <code>minstall.sh</code> from
635	    <a href="#xterm_255">patch #255</a> changes,
636	    and add case for
637	    <code>/var/run</code> needed for full path of utmp
638	    (report by Julien Cristau).
639
640	<li>minor fix to xterm manpage, remove a comment stating that margin
641	    bell can be changed via the VT Options menu.  That was replaced in 
642	    <a href="#xterm_225">patch #225</a>
643
644	<li>add a "docs" rule to makefile.
645
646	<li>fix initialization of Atom used for <code>XkbBell</code> feature
647	    from <a href="#xterm_243">patch 243</a> changes.
648	    Unlike the other calls to <code>XInternAtom()</code>,
649	    in this case the flag telling X to create the Atom was unset
650	    (patch by Chris Adams).
651</ul>
652
653<H1><A NAME="xterm_255">Patch #255 - 2010/1/21</A></H1>
654<ul>
655	<li>rename <code>install.sh</code> to <code>install-sh</code> in case
656	    suffix-rules might interfere.
657
658	<li>extend range for <code>convertToUTF8</code> function to full
659	    31-bits, to use with printing, etc.
660
661	<li>improve manpage by checking for actual locations of
662	    utmp/wtmp files (Debian #562640).
663
664	<li>modify configure macro CF_XOPEN_SOURCE to remove -D's before
665	    adding the same name rather than relying on -U's, to reduce
666	    redefinition warnings for some platforms that have conflicting
667	    definitions in headers.
668
669	<li>correct logic used to switch to alternate screen using FIFO-lines
670	    configuration (Debian #565772).
671
672	<li>update config.guess, config.sub
673</ul>
674
675<H1><A NAME="xterm_254">Patch #254 - 2010/1/6</A></H1>
676<ul>
677	<li>add a configure-check to eliminate <code>install-ti</code>
678	    rule from Makefile when the system has no tic (terminfo compiler)
679	    program.  This lets one use the <code>install-full</code>
680	    rule more consistently.
681
682	<li>amend change to WriteText() function in 
683	    <a href="#xterm_252">patch #252</a> to take into account the
684	    <code>colorAttrMode</code> resource
685	    (report by Krzysztof Kotlenga).
686
687	<li>document <code>titleModes</code> resource in manpage, added in
688	    <a href="#xterm_252">patch #252</a>.
689
690	<li>modify tcap-query table entries for shifted up/down cursor keys
691	    to match ncurses convention.
692
693	<li>improve lookup of termcap-query data, allowing for duplicate
694	    keycodes versus missing entries.
695
696	<li>add control sequence which can be used to modify the terminal
697	    data used for the termcap-keyboard.
698
699	<li>improve portability of tcap-query feature, using terminfo functions
700	    in preference to termcap on systems having terminfo.
701
702	<li>improve font-setting/querying control (<code>OSC&nbsp;50</code>):
703	    <ul>
704	    <li>when TrueType font is selected, the TrueType
705		<code>faceName</code> will be set, rather than the bitmap font.
706	    <li>when TrueType font is selected, querying returns the name of
707	        the TrueType font.
708	    <li>querying a font recognizes the relative-font convention that
709	        setting a font could use.
710	    </ul>
711
712	<li>add menu-entry for allowColorOps.
713
714	<li>add new resources for fine-tuning menu entries:
715	    <code>allowColorOps</code>,
716	    <code>disallowedColorOps</code>,
717	    <code>disallowedFontOps</code> and
718	    <code>disallowedTcapOps</code>.
719
720	<li>correct logic for disabling the "TrueType Fonts" menu item; it was
721	    not ensuring that the <code>faceName</code> resource value was
722	    non-empty.
723
724	<li>implement VT520-style controls <code>DECSMBV</code> and
725	    <code>DECSWBV</code> for setting the margin- and warning-bell
726	    volume.
727
728	<li>fix a minor error from <a href="#xterm_243">patch #243</a> which
729	    made the zIconBeep feature use a minor-error tone rather than an
730	    informational tone.
731
732	<li>add a null-pointer check for the case where <code>renderFont</code>
733	    resource is true, but <code>faceName</code> resource is unset,
734	    used in logic to strip "xft:" prefix from
735	    <a href="#xterm_251">patch #251</a> changes
736	    (patch by Michael Riepe).
737
738	<li>add special case to configure CF_XOPEN_SOURCE macro to use extensions
739	    on Darwin (patch by Dennis Preiser).
740
741	<li>improve configure checks for regular expressions header and
742	    library
743
744	<li>update config.guess, config.sub
745</ul>
746
747<H1><A NAME="xterm_253">Patch #253 - 2009/12/10</A></H1>
748<ul>
749	<li>add a null-pointer check in <code>getPrinterFlags()</code>
750	    per changes in <a href="#xterm_252">patch #252</a>.
751
752	<li>add a null-pointer check, needed in UTF-8 mode for Xft fonts after
753	    changes in <a href="#xterm_252">patch #252</a> (patch by Alan
754	    Coopersmith).
755
756	<li>correct size when clearing struct for tek4014 (patch by Jochen
757	    Voss).
758
759	<li>parenthesize expression in <code>MoreRows</code> macro, fixing
760	    a limit check added in <a href="#xterm_251">patch #251</a>
761	    (Debian #560039).
762</ul>
763
764<H1><A NAME="xterm_252">Patch #252 - 2009/12/7</A></H1>
765<ul>
766	<li>modify title-querying logic to support retrieval of titles encoded
767	    using UTF-8.
768
769	<li>add new "title-modes" control sequence for controlling whether
770	    window/icon titles can be set or queried using UTF-8, optionally
771	    encoded in a hexadecimal string.
772
773	<li>use <code>mkdir&nbsp;-p</code> rather than <code>mkdirs.sh</code>
774	    (prompted by discussion of mawk by Aleksey Cheusov).
775
776	<li>add appropriate copyright/license notices to the bulk of files
777	    lacking same, and modify to use identical terms in others which
778	    used different wording.  The main exceptions are the files
779	    contributed by Markus Kuhn, who appears to prefer public domain
780	    distribution, noting that I have modified/improved several of these
781	    without changing the terms of distribution (request by Jari Aalto).
782
783	<li>add control sequences for resetting the "dynamic" colors to
784	    their default values.
785
786	<li>add control sequences for resetting the "special" colors to
787	    their default values.
788
789	<li>add control sequences for setting the "special" colors such as
790	    <code>colorBD</code> (bold).
791
792	<li>add overlooked case for setting highlight foreground color with
793	    the dynamic-colors control.
794
795	<li>add <code>OSC 104</code>, for resetting ANSI/16/88/256 colors to
796	    default.
797
798	<li>reset ANSI/16/88/256 colors to default in soft/hard reset functions.
799
800	<li>strip "xft:" prefix from <code>faceName</code> and
801	    <code>faceNameDoublesize</code> resource values,
802
803	<li>add <code>DECSCUSR</code> (discussion with Andy Koppe).
804
805	<li>add check/warning on failure to load font, to see if the name looks
806	    like an Xft pattern rather than XLFD.  This can happen if someone
807	    happens to modify their X resource settings for programs that read
808	    data from xterm's namespace.
809
810	<li>modify handling of <code>print</code> and
811	    <code>print-everything</code>
812	    actions to allow the various printer flags to be overridden  by
813	    supplying parameters.
814
815	<li>add resource <code>printerNewLine</code> (request by Ovidiu
816	    Gheorghioiu).
817
818	<li>minor cleanup, finish using <code>TScreenOf()</code> and
819	    <code>TekScreenOf()</code> macros introduced in 
820	    <a href="#xterm_224">patch #224</a>.
821
822	<li>improve checks in ShowCursor/HideCursor to get the background
823	    color, particularly when <code>highlightReverse</code> resource
824	    is used (reports by Jan Engelhardt, Christian Weisgerber).
825
826	<li>correct <code>checkVeryBoldAttr</code> to omit comparison of
827	    foreground color to special color values used for
828	    <code>color&lt;XX&gt;</code> resources (report by Jan Engelhardt).
829
830	<li>make <code>colorBDMode</code> and <code>colorULMode</code>
831	    resources work with TrueType configuration (report by Jan
832	    Engelhardt).
833</ul>
834
835<H1><A NAME="xterm_251">Patch #251 - 2009/11/11</A></H1>
836<ul>
837	<li>add window-ops controls to push/pop icon and/or window labels on
838	    a stack.
839
840	<li>minor fixes to align termcap file with terminfo.
841
842	<li>add resource <code>disallowedWindowOps</code>, to allow fine-tuning
843	    of features to suppress with the <code>allowWindowOps</code>
844	    resource (prompted by discussion with Bram Moolenaar).
845
846	<li>add makefile rules for resize-manpage to pdf, etc.
847
848	<li>further improve limit-checks in select/paste (Mandriva #54531).
849</ul>
850
851<H1><A NAME="xterm_250">Patch #250 - 2009/10/13</A></H1>
852<ul>
853	<li>add check and error-message for fonts that have no printable
854	    values in the ISO-8859-1 range (Debian #542434).
855
856	<li>some compiler-warning cleanup, in particular workaround for
857	    defective implementation of gcc's attribute warn_unused_result
858	    (report by Bram Moolenaar).
859
860	<li>improve estimate of single-column width for packed TrueType
861	    fonts by ignoring extents for codes 127 and 159.
862
863	<li>improve line-drawing for TrueType fonts which happen to have
864	    defined glyphs which are <em>not</em> line-drawing in 0..31
865	    by assuming they're not, and just checking the existence of
866	    the Unicode codepoints.  This makes it more likely that the
867	    user can override a misconfigured font using the "Line-Drawing
868	    Characters" menu entry.
869
870	<li>limit minimum cell-width for packed font to maximum-advance
871	    reported by Xft.  Some fonts are wider than that, even in the
872	    Latin-1 range (Debian #550497).
873
874	<li>add list of direct-contributors in "THANKS" file.
875
876	<li>stylistic changes to this file to help scripted extraction of
877	    list of contributors.
878
879	<li>correct off-by-one in <code>okPosition</code> fix from
880	    <a href="#xterm_249">patch #249</a> limit-checks which
881	    prevented double-click selection on the bottom line of the
882	    screen (reports by Rajeev V. Pillai, Debian #550368).
883
884	<li>add <code>-q</code> option to
885	    <code>vttest/256colors2.pl</code> and
886	    <code>vttest/88colors2.pl</code>
887	    to demonstrate bulk initialization of color palette.
888
889	<li>improve the workaround from patch #188 by enabling resources for
890	    the 88-color model.
891
892	<li>document in xterm manpage the limited availability of resources
893	    <code>color16</code> to <code>color255</code> as noted in
894	    <a href="#xterm_188">patch #188</a> (Ubuntu #438850).
895</ul>
896
897<H1><A NAME="xterm_249">Patch #249 - 2009/10/1</A></H1>
898<ul>
899	<li>change default for <code>allowWindowOps</code> resource to false.
900	    <!-- on the other hand, gnome-terminal, pterm and rxvt-unicode
901	        leave most of the related functionality enabled ;-) -->
902
903	<li>add limit-checks for result of visual_width() function,
904	    needed from <a href="#xterm_242">patch #242</a> and
905	    exposed by #244 changes (Debian #548321).
906
907	<li>improve limit-checks in select/paste.
908
909	<li>fix a remaining bug from 
910	    <a href="#xterm_230">patch #230</a>
911	    changes for displaying multi-column
912	    characters in a proportional font (report by Chris Jones).
913
914	<li>add new resource forcePackedFont and menu entry "Packed Font" to
915	    control whether to use the font's minimum (default) or maximum
916	    width when those differ.  The workaround which xterm uses to
917	    accommodate proportional fonts is not necessary with certain
918	    fonts such as unifont which happen to store a mixture of
919	    multicolumn glyphs (report by Chris Jones).
920
921	<li>fix an (old) bug which did not restart the timer for blinking text
922	    if the only blinking text was temporarily scrolled out of view,
923	    e.g., using the scrollbar.
924
925	<li>fix an (old) flaw in the delete-line operation where the text which
926	    is scrolled into view while the display is scrolled up was not
927	    repainted.
928
929	<li>improve delete-line and insert-line operations, retaining selection
930	    when the selection does not intersect the deleted/inserted lines.
931
932	<li>fix an (old) off-by-one error when an application cleared above the
933	    cursor position while the display was scrolled up, that would leave
934	    an extra line of text uncleared.
935
936	<li>fix a similar problem where the double-size attribute would not be
937	    reset when clearing the screen while the display was scrolled up.
938
939	<li>fix an indexing error which would occur if an application cleared
940	    a line while the display was scrolled up and was also in UTF-8 mode
941	    (Redhat #524503).
942	    The error was from <a href="#xterm_228">patch #228</a>
943	    but more visible after
944	    changes from <a href="#xterm_244">patch #244</a>.
945</ul>
946
947<H1><A NAME="xterm_248">Patch #248 - 2009/9/11</A></H1>
948<ul>
949	<li>fix an overlooked adjustment for selecting double-width characters
950	    in the narrow-character configuration.
951
952	<li>eliminate uses of <code>XTERM_CELL</code> and
953	    <code>XTERM_CELLC</code> where an appropriate <code>LineData</code>
954	    pointer is available.
955
956	<li>correct expression in <code>okScrnRow</code> macro, making
957	    selections give the length of lines below the visible screen
958	    (report by Stuart Henderson).
959
960	<li>correct logic used to improve performance of missing-glyph check,
961	    which did not handle line-drawing characters (Debian #545220).
962</ul>
963
964<H1><A NAME="xterm_247">Patch #247 - 2009/8/30</A></H1>
965<ul>
966	<li>add ifdef's and check for openpty() on DragonFly (patch by
967	    Alex Hornung).
968
969	<li>correct calculation for size of line's data block, which was
970	    sometimes off-by-one when configured
971	    using <code>--enable-16bit-chars</code>
972	    (report by H Merijn Brand).
973
974	<li>fix indexing error in print-everything feature from
975	    <a href="#xterm_246">patch #246</a> (patch by Ovidiu Gheorghioiu).
976</ul>
977
978<H1><A NAME="xterm_246">Patch #246 - 2009/8/16</A></H1>
979<ul>
980	<li>remove obsolete logic for saving/restoring wrapping flags, which
981	    did not work on 64-bit platform.  Wrapping flags (stored in the
982	    line-index) are now copied with line-data (Debian #541160).
983
984	<li>modify comments in app-defaults files to avoid problem with
985	    C preprocessor used by <code>xrdb</code> (Debian #541603).
986
987	<li>restore special case in <code>makeColorPair</code>,
988	    needed for <code>colorBDMode</code> resource (Debian #541089).
989
990	<li>correct <code>SetLineFlags()</code> macro, broken in
991	    <a href="#xterm_244">patch #244</a>
992	    when recoding to avoid gcc-specific bitfields (Debian #541236).
993
994	<li>modify initialization of screen buffers to ensure that pointers
995	    align to int-boundaries.
996	    This fixes a problem introduced in
997	    <a href="#xterm_244">patch #244</a>
998	    where the color- and character-arrays
999	    (stored after the video-attributes in each row)
1000	    might be misaligned (report by Rajeev V Pillai).
1001
1002	<li>add limit-check in <code>ScrnRefresh</code> for handling
1003	    saved-lines from the circular buffer which are repainted on a
1004	    screen whose width has increased.  To improve performance, circular
1005	    buffer entries are not resized (report by Rajeev V Pillai).
1006
1007	<li>correct type for <code>CellColor</code> (a late change in
1008	    <a href="#xterm_244">patch #244</a>
1009	    to avoid gcc-specifc enums made that unsigned
1010	    rather than unsigned short, for the 256-color option).
1011
1012	<li>fix typo in configure option --enable-16bit-chars (report by
1013	    Rajeev V. Pillai).
1014</ul>
1015
1016<H1><A NAME="xterm_245">Patch #245 - 2009/8/12</A></H1>
1017<ul>
1018	<li>correct a special case in saving FIFO-lines from
1019	    <a href="#xterm_244">patch #244</a>.
1020	    If the screen was shrunk, xterm used the wrong amount for copying
1021	    to FIFO-lines, and then used this amount to adjust the current
1022	    row on the screen.  That was both a visible defect (Debian #541109)
1023	    as well as a potential addressing error (Debian #541132, #541160,
1024	    and #541236).
1025
1026	<li>add clarification in xterm manual about the
1027	    various <code>allow<em>XXX</em>Ops</code> resources, which
1028	    are disabled when the 
1029	    <code>allowSendEvents</code> resource is active (patch by
1030	    Julien Cristau, Debian #531597).
1031</ul>
1032
1033<H1><A NAME="xterm_244">Patch #244 - 2009/8/9</A></H1>
1034<ul>
1035	<li>refactored storage of saved-lines, providing a configure option
1036	    to manage them as a FIFO (actually a circular buffer), improving
1037	    performance.
1038	    Added configure option <code>--enable-fifo-lines</code> to
1039	    enable/disable the new feature (it is enabled by default).
1040
1041	<li>added <code>fastScroll</code> resource, to amuse
1042	    people who measure terminal emulator performance by
1043	    <code>cat</code>'ing large files to the screen.
1044
1045	<li>modify check in <code>readPtyData</code> from return values
1046	    to provide exit on zero-bytes read from pty for FreeBSD, or
1047	    eliminate high-CPU in "xterm-hold" processing
1048	    (discussion with Ulrich Spoerlein, FreeBSD ports/136686).
1049	    The check was originally modified to combine negative/zero
1050	    values in XFree86-3.1.2E, 1996/05/06.
1051
1052	<li>add configure option <code>--enable-16bit-chars</code> to
1053	    provide wide-characters with 16-bits (rather than the default
1054	    32-bits).
1055
1056	<li>add <code>retryInputMethod</code> resource to allow configuring
1057	    out the retries xterm uses to connect to non-responsive XIM
1058	    server, to work around defective X configurations as noted in
1059	    <a href="http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html">NetBSD mailing list</a>.
1060
1061	<li>make regular-expression selection work for VT100 double-sized
1062	    characters.
1063
1064	<li>improve layout when drawing missing characters in a proportional
1065	    font, e.g., as boxes, to take into account whether they are
1066	    double-width (report by Guilbert Stabilo on comp.unix.shell).
1067
1068	<li>add capability for keypad-center (kb2/KA2) to termcap entry for
1069	    xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220
1070	    (FreeBSD conf/136336).
1071
1072	<li>change default for <code>keepSelection</code> resource to true
1073	    (prompted by discussion with David Muir Sharnoff).
1074
1075	<li>remove a limit-check in ptydata.c, allowing Unicode values past
1076	    64k to be displayed using TrueType fonts (Debian #458432).
1077
1078	<li>remove a vt52-specific ifdef to allow mapping F1-F4 to PF1-PF4
1079	    when vt52 support is not compiled (report by Olaf 'Rhialto'
1080	    Seibert).
1081
1082	<li>save/restore line-wrapping flags when converting from ISO-8859-1
1083	    encoding to UTF-8 encoding, as well as when resizing screen.
1084
1085	<li>remove extra adjustment of position in fix for Debian #418324.
1086
1087	<li>modify default check for <code>mkWidth</code> resource to check
1088	    for line-drawing characters, which are categorized as double-width
1089	    in Solaris 10 (report by Sebastian Kayser).
1090
1091	<li>add "print-everything" action (patch by Ovidiu Gheorghioiu).
1092
1093	<li>start refactoring scrollback data using new getLineData() function.
1094
1095	<li>demote recent change to Debian #252873 fix to experimental,
1096	    ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141).
1097
1098	<li>work around groff mapping of ASCII quotes using macros (requested
1099	    by Reuben Thomas based on Colin Watson advice, fixes Debian #378700).
1100
1101	<li>correct symbol used for default of <code>allowWindowOps</code>
1102	    which was <code>DEF_ALLOW_FONT</code>
1103	    rather than <code>DEF_ALLOW_WINDOW</code>
1104	    (report by Matthieu Herrb).
1105
1106	<li>amend fix for tek4014 from <a href="#xterm_243">patch #243</a>
1107	    to make it only apply to the Tek Options menu.
1108</ul>
1109
1110<H1><A NAME="xterm_243">Patch #243 - 2009/3/28</A></H1>
1111<ul>
1112	<li>revert change to default for <code>allowTcapOps</code> (request by
1113	    Bram Moolenaar).
1114
1115	<li>reallocate result returned by <code>xtermEnvLocale()</code> to
1116	    avoid reference to freed memory after handling
1117	    <code>menuLocale</code> resource.
1118
1119	<li>fix an old (X11R5) bug in tek4014 for switching fontsizes.
1120
1121	<li>add resource <code>defaultString</code> to make configurable the
1122	    use of "#" when pastes of UTF-8 text fail due to limitations in
1123	    the current locale settings.
1124
1125	<li>make the set of selection target Atom's configurable by two new
1126	    resources <code>eightBitSelectTypes</code> and
1127	    <code>utf8SelectTypes</code>, e.g., to use the <code>TEXT</code>
1128	    Atom in preference to <code>UTF8_STRING</code> (discussion with
1129	    Stanislav Sedov regarding koi8rxterm and the FreeBSD port).
1130
1131	<li>modify handling of <code>TARGETS</code> Atom by making it return
1132	    exactly the set of targets as those which xterm is currently
1133	    providing.
1134
1135	<li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly to
1136	    /bin/cat in <code>minstall.sh</code> to work around /etc/man.conf's
1137	    with those variables already set
1138	    (report by &#1052;&#1072;&#1088;&#1100;&#1103;&#1089;&#1080;&#1085;
1139	    &#1057;&#1077;&#1084;&#1105;&#1085;).
1140	<li>improve error-checking of tcap-query parser.
1141
1142	<li>add check for keyboard <code>tcap</code>), which ensures that
1143	    terminal descriptions containing the same string for
1144	    shifted/unshifted keys will be seen by tcap-query as only the
1145	    unshifted key.  (This would only happen with an incorrect terminal
1146	    description).
1147
1148	<li>fix conversion for input event-state to modifier-parameter which
1149	    made tcap-query feature not work with <code>tcapFunctionKeys</code>
1150	    (keyboard type <code>tcap</code>).
1151
1152	<li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow
1153	    overriding the default compiled-in values for
1154	    "allow<em>xxx</em>" resources.
1155
1156	<li>remove check on bell-percentage added in
1157	    <a href="#xterm_242">patch #242</a>,
1158	    which disallowed zero/negative values (Redhat Bugzilla #487829).
1159</ul>
1160
1161<H1><A NAME="xterm_242">Patch #242 - 2009/2/15</A></H1>
1162<ul>
1163	<li>fix configure check for <code>XkbBell</code> and provide
1164	    appropriate parameter for it.
1165
1166	<li>fix a caching problem with double-size fonts versus reverse video
1167	    that could cause core dump.
1168
1169	<li>repair double-size fonts from workaround
1170	    used in <a href="#xterm_240">patch #240</a>.
1171
1172	<li>add new section to the VT Fonts menu which allows enabling or
1173	    disabling the font, termcap (tcap-query), title and window
1174	    operations.
1175
1176	<li>add <code>fontWarnings</code> resource, to control whether to show
1177	    warnings on failure to load a font.
1178
1179	<li>improve warnings for unloadable fonts introduced in
1180	    <a href="#xterm_240">patch #240</a>
1181	    by limiting those to the cases where a font would be specified
1182	    directly by a resource setting rather than a derived fontname.
1183
1184	<li>further amend fix for Debian #252873
1185	    from <a href="#xterm_197">patch #197</a> to
1186	    treat a blank cell which does not have both foreground and background
1187	    colored as a non-colored cell.
1188	    This improves a special case where the cursor is on a blank
1189	    cell which had foreground color scrolled in
1190	    (report by Miroslav Lichvar).
1191	    <p>
1192	    Also add the same logic when hiding cursor, so the outline matches
1193	    the in-focus cursor.
1194
1195	<li>modify internals to reduce places PAIRED_CHARS() is used, making
1196	    WriteText() and ScrnWriteText() accept IChar array, as well as
1197	    providing a wrapper for drawXtermText().
1198
1199	<li>change default XIM font from "*" to "fixed" to improve startup
1200	    time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930).
1201
1202	<li>typo in #240 log (Slava Semushin)
1203</ul>
1204
1205<H1><A NAME="xterm_241">Patch #241 - 2009/1/26</A></H1>
1206<ul>
1207	<li>improve checks for missing bitmap fonts, fallback to "fixed" as
1208	    needed to work around broken font-packages (report by Jacek
1209	    Luczak).
1210
1211	<li>fix breakage from <a href="#xterm_240">patch #240</a> changes for
1212	    <code>xtermAddInput()</code> (patches by Jeff Chua, Julien Cristau).
1213</ul>
1214
1215<H1><A NAME="xterm_240">Patch #240 - 2009/1/25</A></H1>
1216<ul>
1217	<li>use <code>plink.sh</code> for linking xterm (suggested by Larry
1218	    Doolittle).
1219
1220	<li>add resource descriptions for input method to xterm manpage.
1221
1222	<li>update configure script; consistently append to $CFLAGS rather
1223	    than prepend.
1224
1225	<li>add <code>install-scripts</code> rule to makefile, to allow
1226	    koi8rxterm and uxterm scripts to be altered independently of
1227	    <code>install-bin</code> 
1228
1229	<li>add <code>-maximized</code> command-line option and corresponding
1230	    resource (prompted by alt.os.linux newsgroup comment).
1231
1232	<li>modify translations of scrollbar widget using
1233	    <code>xtermAddInput()</code>
1234	    (see <a href="#xterm_181">patch #181</a>) to accept the actions
1235	    that the vt100 widget accepts, such as shift-insert to perform
1236	    a paste operation (request by Martin Zwickel).
1237
1238	<li>change default for <code>allowTcapsOps</code> resource to false,
1239	    since it causes unexpected behavior for vim users with
1240	    <code>AltGr</code>.
1241
1242	<li>update config.guess, config.sub
1243</ul>
1244
1245<H1><A NAME="xterm_239">Patch #239 - 2009/1/8</A></H1>
1246<ul>
1247	<li>correct a cast in input.c, which broke translation of numeric
1248	    keypad codes to pageup, pagedown, etc., on 64-bit platform
1249	    (Debian #511138, report by Larry Doolittle).
1250</ul>
1251
1252<H1><A NAME="xterm_238">Patch #238 - 2008/12/30</A></H1>
1253<ul>
1254	<li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint
1255	    platforms.
1256
1257	<li>reset the screen wrapping-flag at the end of
1258	    <code>ClearRight</code> to fix an occasional case where the last
1259	    character of a scrolled and wrapped line would be cleared (patch by
1260	    Joe Peterson).
1261
1262	<li>modify to use POSIX coding for comparing resource settings such
1263	    as <code>locale</code>, to work with locales such as Turkish
1264	    (report by M Vefa Bicakci).
1265
1266	<li>turn on configure <code>paste64</code> feature by default
1267	    (request by Jean-Philippe Bernardy).
1268	    It is runtime enabled/disabled with <code>allowWindowOps</code>.
1269
1270	<li>turn on configure <code>tcap-query</code> feature by default,
1271	    add resource <code>allowTcapOps</code>
1272	    to make this runtime enabled/disabled.
1273
1274	<li>make <code>OSC 3</code> (change X property, from
1275	    <a href="#xterm_110">patch #110</a>)
1276	    subject to <code>allowWindowOps</code> resource.
1277
1278	<li>make VT220 <code>DSR</code> responses inactive in VT100-mode.
1279
1280	<li>make <code>DECUDK</code> feature inactive in VT100-mode.
1281
1282	<li>respond to incorrectly formatted <code>DECRQSS</code> with a
1283	    cancel.
1284
1285	<li>add <code>allowFontOps</code> 
1286	    resource to allow the fontsize-switching and font query/set
1287	    control sequences to be enabled/disabled
1288	    (prompted by Debian #510030).
1289
1290	<li>some code cleanup based on gcc 4.x <code>-Wconversion</code>
1291	    warnings in button.c and charproc.c
1292
1293	<li>modify <code>tcap-query</code> feature to not return data for
1294	    shifted cursor-keys when the keyboard type is set to vt220,
1295	    since returning the same string for shifted/unshifted keys may
1296	    confuse some applications (GenToo #212546).
1297</ul>
1298
1299<H1><A NAME="xterm_237">Patch #237 - 2008/09/14</A></H1>
1300<ul>
1301	<li>improve usability of TrueType fonts by making the font-size
1302	    switching for shifted keypad plus/minus use the
1303	    <code>faceSize</code> resources to determine the order of fonts
1304	    (when TrueType fonts are used) rather than the bitmap fonts, since
1305	    their sizes may not be in the same order (report by H Merijn
1306	    Brand)
1307
1308	<li>remove an optimization of <code>ConfigureNotify</code> events
1309	    from <a href="#xterm_236">patch #236</a>
1310	    which seems to interfere with passing <code>SIGWINCH</code> to 
1311	    applications (GenToo #233836).
1312
1313	<li>modify handling of <code>altSendsEscape</code> to reset the
1314	    <code>eightBitInput</code> mode, like <code>metaSendsEscape</code> 
1315	    (patch by Ted Phelps).
1316
1317	<li>add feature to show the text-cursor as an underline rather than a
1318	    box, plus command-line options <code>-uc</code> and
1319	    <code>+uc</code> and resource <code>cursorUnderLine</code> to
1320	    control the feature (patch by Paul Lampert).
1321
1322	<li>update config.guess, config.sub
1323</ul>
1324<H1><A NAME="xterm_236">Patch #236 - 2008/07/27</A></H1>
1325<ul>
1326	<li>correct memory reallocation when handling a paste of UTF-8 text
1327	    from <a href="#xterm_225">patch #225</a> changes
1328	    (report/patch by Max Mikhanosha).
1329
1330	<li>correct allocation of temporary buffer in
1331	    <code>xtermFindShell</code> in case the user's <code>$PATH</code>
1332	    contains no ":" (report/analysis by Victor Stinner,
1333	    Freedesktop.Org Bugzilla #16790).
1334
1335	<li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix
1336	    new compile problem exposed by fix for fd_mask (patch by
1337	    Hasso Tepper).
1338
1339	<li>add configure-check for ncurses <code>use_extended_names</code>,
1340	    (report by Martin Mokrejs).
1341
1342	<li>correct computation for toolbar height; layout manager already
1343	    takes into account <code>borderWidth</code> resource.
1344
1345	<li>implement VT320-style SCS (select character set) for ISO Latin-1
1346	    supplemental.
1347
1348	<li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919).
1349
1350	<li>fix to make <code>luit</code> work with xterm's <code>-ls</code>
1351	    option (report/patch by Marius Tolzmann).
1352
1353	<li>update config.guess, config.sub
1354</ul>
1355
1356<H1><A NAME="xterm_235">Patch #235 - 2008/04/20</A></H1>
1357<ul>
1358	<li>add control sequences for some of the recent resource/menu
1359	    settings:
1360	    <ul>
1361	    <li><code>altSendsEscape</code> (private mode 1039)
1362	    <li><code>keepSelection</code> (private mode 1040)
1363	    <li><code>selectToClipboard</code> (private mode 1041)
1364	    <li><code>bellIsUrgent</code> (private mode 1042)
1365	    <li><code>popOnBell</code> (private mode 1043)
1366	    </ul>
1367
1368	<li>add resource <code>formatOtherKeys</code> to provide an alternate
1369	    escape sequence format for the <code>modifyOtherKeys</code> 
1370	    resource (request by Paul LeoNerd Evans).
1371
1372	<li>adjust saved-cursor position if the window is resized while
1373	    displaying the alternate screen (Novell #196880, Debian #383384).
1374
1375	<li>improve pointer-checks to fix a bug exposed by resizing during
1376	    initialization under StumpWM window manager
1377	    (Fedora Bugzilla #437928).
1378
1379	<li>modify <code>unselectwindow()</code> to ensure that the mouse
1380	    pointer is not hidden after xterm loses focus (report by Jeremy
1381	    Huddleston).
1382
1383	<li>add special check for fd_mask on Mac OS X (report by Jeremy
1384	    Huddleston).
1385
1386	<li>add <code>dylib</code> to autoconf's suffix list used for checking
1387	    the result from <code>xmkmf</code>, to work with Mac OS X (report
1388	    by Jeremy Huddleston).
1389
1390	<li>correct initialization of bold- and wide-, wide-bold fonts which
1391	    may be set via the <code>utf8Fonts</code> subresource (Debian
1392	    #347790).
1393</ul>
1394
1395<H1><A NAME="xterm_234">Patch #234 - 2008/03/02</A></H1>
1396<ul>
1397	<li>modify <code>sinstall.sh</code> to use POSIX locale to 
1398	    bypass GNU ls changes to date-format.
1399
1400	<li>improved/refined changes for closing bitmap font (patch by
1401	    Andrea Odetti).
1402
1403	<li>improve resize computation for situations where the negotiation
1404	    fails, by invoking the xterm widget's core-class resize method
1405	    (Debian #365602, patch by Jim Paris).
1406
1407	<li>restore initialization of terminal's <code>VMIN</code> and
1408	    <code>VTIME</code> settings,
1409	    from <a href="#xterm_232">patch #232</a> changes
1410	    (patch by Matthieu Herrb).
1411</ul>
1412
1413<H1><A NAME="xterm_233">Patch #233 - 2008/02/24</A></H1>
1414<ul>
1415	<li>add configure check for <code>ttydefaults.h</code>, include if
1416	    needed, e.g., for systems where defining
1417	    <code>_POSIX_C_SOURCE</code>, etc.,
1418	    prevents it from being included via
1419	    <code>termios.h</code> (prompted by comments by Robert Delius Royar
1420	    and Jeremy Huddleston).
1421
1422	<li>bug-fixes for bugs.opensolaris.org (patches from Alan Coopersmith)
1423	    <dl>
1424	    <dt>4029911
1425	    <dd>fix a typo in manpage
1426	    <dt>4045962
1427	    <dd>xterm doesn't properly set ut_syslen
1428	    <dt>4192572
1429	    <dd>left-left-right misinterpreted as triple click
1430	    </dl>
1431
1432	<li>minor optimization to tab-initialization (patch by
1433	    N�meth M�rton).
1434
1435	<li>fix a case where an incorrect font was freed during initialization
1436	    from <a href="#xterm_232">patch #232</a> changes (patch by
1437	    Andrea Odetti).
1438
1439	<li>improve comparison used in <code>SameFont</code> function for
1440	    GC-caching (Julien Cristau).
1441
1442	<li>correct macro name used for default <code>CKILL</code> definition
1443	    to work with Mac OS X (report by Jeremy Huddleston).
1444</ul>
1445
1446<H1><A NAME="xterm_232">Patch #232 - 2008/01/30</A></H1>
1447<ul>
1448	<li>corrected logic in a font-cache used for reverse-video (Debian
1449	    #404079).
1450
1451	<li>add control sequence to alter <code>pointerMode</code> at runtime.
1452
1453	<li>add limit-checks for rectangle operation parameters (report by
1454	    Martin Pirker).
1455
1456	<li>modify <code>minstall.sh</code> to suppress <code>$MANPAGER</code>
1457	    and <code>$PAGER</code> environment variables, which may interfere
1458	    with redirecting output of <code>man</code> to a shell variable
1459	    (report/patch by Zdenek Sekera).
1460
1461	<li>do not try to hide mouse pointer in the tek4014 window, fixes
1462	    broken "-t" option at startup from
1463	    <a href="#xterm_230">patch #230</a> changes
1464	    (report by Robert K. Nelson).
1465
1466	<li>correct datatype used when drawing tek4014 data using xterm
1467	    compiled for wide-characters, on big-endian machines (reports
1468	    by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle
1469	    Reinhart).
1470
1471	<li>modify to cache the font-names along with the bitmap font data,
1472	    to improve comparison of fonts.
1473
1474	<li>modify to allow building with configure options
1475	    <code>--disable-ansi-color</code> and
1476	    <code>--disable-leaks</code> (Debian #459817, report/patch by N�meth M�rton).
1477
1478	<li>modify to allow building with configure options
1479	    <code>--enable-wide-chars</code> and
1480	    <code>--disable-c1-print</code> (Debian #459816, report/patch by N�meth M�rton).
1481
1482	<li>add <code>pointerMode</code> resource to control whether and
1483	    when the pointer cursor is hidden as the user types.
1484
1485	<li>simplify initialization of ttyMode- and related characters using
1486	    a table.
1487
1488	<li>modify initialization-logic for stty values that correspond to
1489	    ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt
1490	    flush, werase, lnext).  These were reset to constants for both
1491	    termios and legacy interfaces immediately after asking the system
1492	    for the existing values since X11R6.1, rather than using them to
1493	    provide inherited values.  While the legacy interface has some
1494	    constraints, e.g., on HPUX, the POSIX or termios interface should
1495	    not.  Your shell may reset these anyway
1496	    (prompted by patch by Ed Schouten).
1497
1498	<li>improve logic for hiding/displaying pointer-cursor (report by
1499	    Mark Brukhartz).
1500
1501	<li>add limit-checks to tabs.c, increase maximum column for setting
1502	    tab-stops from 320 to 1024 (report by N�meth M�rton).
1503
1504	<li>correct length, i.e., number of types of selection targets,
1505	    computed by <code>ConvertSelection()</code> when not handling
1506	    wide characters for the <code>XA_TARGETS()</code> case.
1507	    This leaves an extra Atom on the end of the list which is
1508	    not handled by
1509	    <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java applications</a>.
1510	    The problem was introduced in <a href="#xterm_151">patch #151</a>
1511	    (report by David Wood).
1512</ul>
1513
1514<H1><A NAME="xterm_231">Patch #231 - 2008/01/05</A></H1>
1515<ul>
1516	<li>undo change to <code>getXtermCell()</code> from patch #230
1517	    using <code>PACK_PAIR</code> macro (Debian #459014, analysis by
1518	    Caetano Jimenez Carezzato).
1519
1520	<li>minor documentation fixes (patch by Slava Semushin)
1521
1522	<li>add makefile actions to install KOI8RXTerm app-defaults file
1523	    (patch by Julien Cristau).
1524</ul>
1525
1526<H1><A NAME="xterm_230">Patch #230 - 2007/12/31</A></H1>
1527<ul>
1528	<li>add <code>quietGrab</code> resource, which when true, suppresses
1529	    cursor repainting when <code>NotifyGrab</code> and
1530	    <code>NotifyUngrab</code> event types are received during
1531	    change of focus (request by Nicolas George).
1532
1533	<li>do not treat Unicode BIDI control characters as combining
1534	    characters (Debian #457634).
1535
1536	<li>add <code>koi8rxterm</code>, from Debian.
1537
1538	<li>add manpage for <code>uxterm</code>, from Debian (Ubuntu #128136,
1539	    Debian #438645)
1540
1541	<li>remove ".xpm" suffixes from Icon filenames in desktop files since
1542	    it confuses some lookups following the
1543	    <a href="http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">Icon Theme Specification</a>
1544	    (report by Slava Semushin)
1545
1546	<li>correct width-calculation used for adjusting proportional fonts,
1547	    to work with wide-characters (Debian #441354).
1548
1549	<li>fixes/improvements for double-size characters:
1550	    <ul>
1551	    <li>correct old clipping calculation which used total height of
1552		glyphs where ascent was needed.
1553
1554	    <li>if bold font is unavailable, fall back to normal font
1555
1556	    <li>adjust to "work" with Xft (which does not support double-width
1557		single-height characters). 
1558
1559	    <li>restore reset of doublesize for a line when it is cleared,
1560	        broken in <a href="#xterm_228">patch #228</a>.
1561	    </ul>
1562
1563	<li>modify logic for <code>forceBoxChars</code> resource when using
1564	    TrueType fonts to be consistent with bitmap fonts
1565
1566	<li>modify logic for <code>forceBoxChars</code> resource to make the
1567	    "Line-Drawing Characters" menu entry use xterm's line-drawing
1568	    characters even asked to draw wide line-drawing characters which
1569	    are available in the font.
1570
1571	<li>modify rectangle-support functions to preserve colors when
1572	    filling/erasing to match WRQ Reflection behavior
1573	    (request by Enzo Toscano).
1574
1575	<li>add getopt-parsing to tcapquery.pl, including feature to test the
1576	    extended cursor/editing keys.
1577
1578	<li>make missing double-width glyphs display as double-width
1579	    (Debian #456236).
1580
1581	<li>change <code>tcap-fkeys</code> and <code>rectangles</code>
1582	    configure options to enable them by default.
1583
1584	<li>hide the mouse pointer while user is typing (request by Rodolfo
1585	    Borges).
1586
1587	<li>extend configure options
1588	    <code>--enable-tcap-query</code> and
1589	    <code>--enable-tcap-fkeys</code> to
1590	    send cursor- and editing-keypad keys modified according to the
1591	    keyboard (or termcap) selection for shift, alt, control, meta.
1592
1593	<li>modify <code>kdch1</code> in termcap, e.g., <code>xterm-r6</code>
1594	    to match the terminfo file.
1595
1596	<li>add <code>-hm</code> option to turn <code>highlightColorMode</code>
1597	    on or off.
1598
1599	<li>add <code>highlightColorMode</code> resource to separate the
1600	    new (since <a href="#xterm_225">patch #225</a>) highlighting with both text- and
1601	    background-colors (prompted by report/example by Thomas Wolff).
1602
1603	<li>add <em>Keep Selection</em> menu entry to turn the 
1604	    <code>keepSelection</code> resource on/off at runtime.
1605
1606	<li>add <code>keepSelection</code> resource, which when enabled,
1607	    tells xterm to retain the X selection even after it stops
1608	    highlighting it (patch by Sergey Vlasov).
1609
1610	<li>extend the <code>CSI&nbsp;&gt;&nbsp;n</code> sequence to allow
1611	    disabling all types of modified-keys that the
1612	    <code>CSI&nbsp;&gt;&nbsp;m</code> sequence affects.
1613
1614	<li>move include for <code>&lt;xtermcap.h&gt;</code> in
1615	    <code>resize.c</code> to avoid redefinition of <code>termios</code>
1616	    structure on OpenSolaris (report by Rahul Gopinathan Nair).
1617
1618	<li>extend terminfo building blocks for modified editing keys to
1619	    include all six keys.
1620
1621	<li>synchronize terminfo with ncurses (report by Stephane Chazelas)
1622	    <ul>
1623	    <li>equate <code>xterm-xfree86</code>
1624	        and <code>xterm-xf86-v44</code>.
1625	    <li>add ncurses extensions OTbs, AX, for termcap conversions.
1626	    <li>make old/legacy entries such as
1627	        <code>xterm-24</code>, <code>xterm-65</code>
1628	        and aliases <code>xterms</code>, <code>vs100</code>
1629		inherit from <code>xterm-old</code>.
1630	    <li>make <code>xterm-r5</code> and <code>xterm-r6</code> the
1631	        same, ignoring historical errors in X Consortium's version.
1632	    </ul>
1633
1634	<li>fix an ifdef in logic for selecting regular
1635	    expressions while in a narrow-character locale (Debian #449227).
1636</ul>
1637
1638<H1><A NAME="xterm_229">Patch #229 - 2007/8/12</A></H1>
1639<ul>
1640	<li>override locale in minstall.sh;
1641	    change in <a href="#xterm_226">patch #226</a>
1642	    does not work in UTF-8 locale (report by Zdenek Sekera).
1643
1644	<li>undo an incorrect fix for a memory leak
1645	    in <a href="#xterm_209">patch #209</a> (Debian #435858).
1646</ul>
1647
1648<H1><A NAME="xterm_228">Patch #228 - 2007/7/22</A></H1>
1649<ul>
1650	<li>modify configure script to permit combining
1651	    <code>--with-utempter</code>
1652	    and <code>--enable-setuid</code>, e.g., for using xterm with 
1653	    the utempter library on FreeBSD (report by Andriy Gapon).
1654
1655	<li>modify "Quit" menu entry to override the <code>-hold</code>
1656	    command-line option.
1657
1658	<li>add a check in the startup error-reporting to avoid writing to
1659	    pipe when it has not been opened.  In that case, report errors
1660	    directly to the standard error.
1661
1662	<li>add OPT_READLINE definition to xtermcfg.hin, overlooked in
1663	    <a href="#xterm_205">patch #205</a>
1664	    (report by Kalle Olavi Niemitalo).
1665
1666	<li>modify <code>88colors2.pl</code> and <code>256colors2.pl</code>,
1667	    adding <code>-r</code>
1668	    option to reverse the palettes for the extended colors.
1669
1670	<li>check for partial overwrite or deletion of multi-column characters
1671	    in several cases, e.g., insert-character, delete-character,
1672	    etc.,
1673	    and fill the remainder of the cells used by the multi-column
1674	    characters affected with blanks.
1675
1676	<li>correct character-class codes in wide-character mode for characters
1677	    215, 247 (see also <a href="#xterm_165">patch #165</a>).
1678
1679	<li>fix missing assignment for UTF-8 parsing in widget initialization
1680	    (Debian #403360).
1681
1682	<li>correct index expression used to set line-wrapping flag, making
1683	    selection from scrollback work consistently (Debian #430121,
1684	    report by Vincent Lefevre).
1685
1686	<li>amend changes to handshake in
1687	    <a href="#xterm_226">patch #226</a>
1688	    to accommodate Solaris, which relies on the extra setting of
1689	    the terminal size after I/O initialization.
1690	    Do this by adding new resource <code>ptySttySize</code>,
1691	    which is false for Linux and MacOS X, i.e., true for
1692	    for Solaris and other SVR4 platforms, as well as FreeBSD
1693	    (reports by David Wood, Renato Botelho).
1694
1695	<li>check for X events after cursor-left, and carriage return,
1696	    consistent with indexing operations
1697	    (comments by Vegard Nossum and Ingo Molnar on a mailing-list).
1698
1699	<li>initialize the <code>.keyboard</code> structure,
1700	    needed for some platforms (such as Solaris) after
1701	    <a href="#xterm_227">patch #227</a> fixes for keysyms
1702	    (patch by David Wood).
1703
1704	<li>update config.guess, config.sub
1705</ul>
1706
1707<H1><A NAME="xterm_227">Patch #227 - 2007/6/27</A></H1>
1708<ul>
1709	<li>exclude the Intel compiler from the extra gcc warning options
1710	    added in 
1711	    <a href="#xterm_226">patch #226</a>.
1712
1713	<li>modify change for Debian #422521
1714	    from <a href="#xterm_226">patch #226</a>
1715	    to work with configurations where the X server does not
1716	    recognize
1717	    the <code>XF86Paste</code>
1718	    or <code>SunPaste</code> keysyms (report by Paolo Pumilia).
1719
1720	<li>fix incorrect free in fix for "Selection" menu entry in
1721	    <a href="#xterm_226">patch #226</a>.
1722</ul>
1723
1724<H1><A NAME="xterm_226">Patch #226 - 2007/6/17</A></H1>
1725<ul>
1726	<li>add configure check to use <code>-Wno-unknown-pragmas</code> for
1727	    Solaris, and a few other new gcc warning options to address
1728	    regressions in its warning options.
1729
1730	<li>add sample desktop and icon files, along with configure options for
1731	    manipulating them.
1732
1733	<li>fix an infinite loop when showing a 2-column character in a
1734	    1-column screen (Debian #426863).
1735
1736	<li>add <code>XF86Paste</code> and <code>SunPaste</code> to the
1737	    default translations (Debian #422521, patch by Bernhard R Link).
1738
1739	<li>update wcwidth.c (partly based on/prompted by mailing list
1740	    comment).
1741
1742	<li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and Xorg
1743	    7.1 keysymdef.h file.
1744
1745	<li>improve <code>gen-pc-fkeys.pl</code>, making it show all of the
1746	    building-block terminfo entries used by xterm.
1747
1748	<li>correct strings used for modifiers applied to F1-F4 in xterm+pcf1
1749	    terminfo entry.
1750
1751	<li>improve session management by adding the ICE connection number
1752	    to the <code>select</code> call rather than waking up once per
1753	    second (patch by Miroslav Lichvar).
1754	    
1755	<li>add environment variable <code>$XTERM_LOCALE</code> to help
1756	    with shell initialization, e.g., to set a specific locale for
1757	    xterm on systems where a global locale is set in the shell
1758	    startup scripts.
1759
1760	<li>add resource settings <code>mkSampleSize</code> and
1761	    <code>mkSamplePass</code>
1762	    to modify the <code>mkWidth</code> added
1763	    in <a href="#xterm_201">patch #201</a>.
1764	    In <a href="#xterm_202">patch #202</a>,
1765	    xterm would also check if the system's
1766	    <code>wcwidth</code> matched its built-in tables
1767	    "well enough" to be used when <code>mkWidth</code> was false,
1768	    and if not would use the built-in tables anyway.
1769	    These resources allow the user to customize the decision
1770	    (prompted by comments by Emanuele Giaquinta)
1771
1772	<li>modify logic which resets/updates the screensize on the child
1773	    process side of the pseudo-terminal to do this only if a
1774	    successful handshake was received, e.g., as determined by
1775	    the <code>waitForMap</code> resource (prompted by reports
1776	    by Emanuele Giaquinta and Bernhard R Link, but see also
1777	    <a href="#xterm_177">patch #177</a> and
1778	    <a href="#xterm_159">patch #159</a>.
1779
1780	<li>improve permissions logic when closing pseudo-terminal
1781	    (Debian #12261,
1782	     patch by Nathanael Nerode,
1783	     analysis by Richard Braakman).
1784
1785	<li>add resource <code>highlightReverse</code> which controls whether
1786	    xterm will allow selection highlighting to hide reverse-video
1787	    or use the older behavior which inverts the foreground and
1788	    background colors when selected text with reverse-video attribute
1789	    (report by Adam M Costello, comments by Victor Vaile).
1790
1791	<li>restore a special case for cursor-color in
1792	    <code>ReverseVideo()</code>
1793	    lost in rewrite for <a href="#xterm_224">patch #224</a>
1794	    (report by Adam Sulmicki).
1795
1796	<li>correct initialization for menu entry for <code>bellIsUrgent</code> 
1797	    (patch by Emanuele Giaquinta).
1798
1799	<li>correct length of underlining for double-width Xft fonts
1800	    (report by Shidai Liu "Leo").
1801
1802	<li>correct clipping for double-width Xft fonts
1803	    (report by Shidai Liu "Leo").
1804
1805	<li>modify initialization for <code>italicULMode</code> to avoid
1806	    <code>XftPatternBuild</code> reusing bold attributes
1807	    (report by Shidai Liu "Leo").
1808
1809	<li>add a check in case someone tries to call the
1810	    <code>popup-menu()</code> action on a menu which is not initialized
1811	    (Debian #426364).
1812
1813	<li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by Peter
1814	    Bray).
1815
1816	<li>improve guess for X's manpage section in <code>minstall.sh</code>,
1817	    (prompted by comment by Miroslav Lichvar).
1818
1819	<li>modify <code>minstall.sh</code> to handle manpage patch with more
1820	    than one dot (patch by Miroslav Lichvar).
1821
1822	<li>fix configure message for --disable-setgid option (patch by
1823	    Miroslav Lichvar).
1824
1825	<li>add <code>allowTitleOps</code> resource to allow users to prevent
1826	    the title- and icon-names from changing (request by John Bashinski).
1827
1828	<li>fix "spawn-new-terminal" action, for the case where no parameter
1829	    is passed to the action (patch by Daniel Colascione).
1830
1831	<li>fix error-checking on internal font switching for "Selection"
1832	    menu entry (Debian #421523).
1833
1834	<li>amend select/paste change from
1835	    <a href="#xterm_225">patch #225</a>
1836	    by limiting it to non-UTF-8/non-KOI8-R encoding (Debian #420974).
1837
1838	<li>add workaround for groff ".URL" codes which are not present in
1839	    some commonly-used bitmap fonts (Debian #418324).
1840</ul>
1841
1842<H1><A NAME="xterm_225">Patch #225 - 2007/3/24</A></H1>
1843<ul>
1844	<li>add <code>useClipping</code> resource to allow clipping to be
1845	    disabled.
1846
1847	<li>use <code>XftDrawSetClipRectangles</code>
1848	    to work around Xft pixel-trash (report by Reuben Thomas).
1849
1850	<li>add configure option <code>--enable-tcap-fkeys</code>, and
1851	    resource <code>tcapFunctionKeys</code>, which can be used
1852	    to tell xterm to use function-key definitions from the termcap
1853	    (or terminfo) which it uses to set $TERM on startup.
1854
1855	<li>add resources <code>altIsNotMeta</code> and
1856	    <code>altSendsEscape</code> to allow one to use Alt-keys like the
1857	    meta-key even if they are bound to different keycodes (prompted by
1858	    discussion with Daniel Jacobowitz).
1859
1860	<li>revert a change from <a href="#xterm_216">patch #216</a>
1861	    that unnecessarily made the meta modifier override
1862	    the <code>eightBitInput</code> resource if the alt- and
1863	    meta-modifiers happened to overlap
1864	    (report/patch by Daniel Jacobowitz).
1865
1866	<li>correct associated font for active icon for colored text
1867	    (broken in <a href="#xterm_224">patch #224</a>).
1868
1869	<li>correct ifdef's for Darwin (patch by Emanuele Giaquinta).
1870
1871	<li>add <code>highlightTextColor</code> resource, and options
1872	    <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code>
1873	    (adapted from patch by Victor Vaile).
1874
1875	<li>revise <code>find_closest_color()</code> function to address
1876	    concern about borrowing from <code>Tcl/Tk</code>
1877	    (request by Dan McNichol).
1878
1879	<li>add "spawn-new-terminal" action, which can be assigned to key
1880	    translation, allowing one to spawn a new copy of xterm using
1881	    the current process' working directory (adapted from patch
1882	    by Daniel Colascione).
1883
1884	<li>improve select/paste between UTF-8 and Latin1 xterms by adapting
1885	    the translations from <a href="#xterm_185">patch #185</a>.
1886	    Extend that to include Unicode fullwidth forms FF00-FF5E.
1887	    Also modify select/paste of DEC line-drawing characters in
1888	    Latin1 mode to use ASCII characters.
1889
1890	<li>add "Enable Bell Urgency" to VT Options menu, removed "Enable
1891	    Margin Bell".
1892
1893	<li>add <code>bellIsUrgent</code> resource to control whether the
1894	    Urgency hint is set/reset.
1895
1896	<li>modify to set Urgency window manager hint on bell, reset it on
1897	    Focus-In event (patch by Emanuele Giaquinta).
1898
1899	<li>add <code>--disable-setgid</code> configure option (request by
1900	    Miroslav Lichvar).
1901
1902	<li>fix a possible infinite loop in last change to
1903	    <code>dabbrev-expand()</code> (patch by Emanuele Giaquinta).
1904
1905	<li>modify initialization to set the pty erase value if the
1906	    <code>erase</code> is set in the <code>ttyModes</code> resource. 
1907	    This overrides the <code>ptyInitialErase</code> setting (request by
1908	    Llu&#237;s Batlle i Rossell).
1909
1910	<li>add <code>initialFont</code> resource to xterm widget, like
1911	    tek-widget (Debian #299669).
1912
1913	<li>amend change to <code>boldMode</code> from
1914	    <a href="#xterm_223">patch #223</a> for Debian #347790.
1915	    As noted in Debian #412599, that made xterm
1916	    no longer match the documented behavior.
1917	    Add new resource <code>alwaysBoldMode</code>
1918	    to allow overriding the comparison
1919	    between normal/bold fonts when deciding whether to use overstriking
1920	    to simulate bold fonts.
1921
1922	<li>restore background color in ClearCurBackground(), omitted in
1923	    changes for <a href="#xterm_223">patch #223</a> (report by
1924	    Miroslav Lichvar).
1925
1926	<li>correct logic for repainting double-width TrueType characters
1927	    (prompted by test-case for Novell #246573).
1928
1929	<li>add a check to avoid trying to repeat a multibyte character
1930	    (report by Sami Farin).
1931
1932	<li>modify parameter to <code>XftNameParse()</code> to select wide
1933	    face-name as needed, to make <code>-fd</code> option work (patch by
1934	    Mike Fabian, Novell #246573).
1935
1936	<li>correct logic for mouse highlight tracking's abort sequence,
1937	    broken in a restructuring modification from
1938	    <a href="#xterm_224">patch #224</a>
1939	    (report by Thomas Wolff).
1940
1941	<li>revert the simplification of blinking cursor, since that broke
1942	    the xor'ing introduced in <a href="#xterm_193">patch #193</a>
1943	    (report by Thomas Wolff).
1944</ul>
1945
1946<H1><A NAME="xterm_224">Patch #224 - 2007/2/11</A></H1>
1947<ul>
1948	<li>simplify code for set/reset mode for blinking cursor 
1949	    (patch by Emanuele Giaquinta).
1950
1951	<li>modify <code>dabbrev-expand()</code> to restart after the last
1952	    match (patch by Emanuele Giaquinta).
1953
1954	<li>add control sequences for enabling/disabling focus in/out event
1955	    reporting (request by Bram Moolenaar).
1956
1957	<li>improve startup performance of menus by adding resource setting
1958	    <code>menuLocale</code> which can be set to override X's
1959	    lengthy initialization of fontsets - which are seldom used
1960	    for the <code>Xaw</code> popup menus (adapted from patch by
1961	    Dave Coffin).
1962
1963	<li>modify do_precomposition() function and make-compose.sh to handle
1964	    21-bit codes vs the 16-bit codes those were written for, and
1965	    fix a few mis-sorted codes
1966	    (patch by Thomas Wolff).
1967
1968	<li>handle special case in <code>-cjk_width</code>
1969	    which unexpectedly caused a character's width to change when
1970	    a combining character
1971	    (patch by Thomas Wolff)
1972
1973	<li>fix build for GNU/KFreeBSD (Debian #40111).
1974
1975	<li>consolidate GC creation/updating into a single module to reduce GC
1976	    manipulation (prompted by Debian #389476, though a complete fix
1977	    would involve optimizing the scrolling behavior).
1978
1979	<li>fix ifdef of xtermCellWidth(), which broke for a case without
1980	    TrueType and without wide-character support (report by Martin
1981	    Pirker).
1982
1983	<li>undo a comparison in <code>handle_translated_exposure</code> which
1984	    did not work due to X server optimization.  That caused the
1985	    inner border to be repainted with unexpected colors when handling
1986	    a repaint, e.g., after switching to/from another workspace
1987	    (Debian #401726, Redhat Bugzilla #223027).
1988
1989	<li>allow <code>-cr</code> option to override cursor color when
1990	    <code>-ah</code> option is used (Debian #406502).
1991
1992	<li>add a note in xterm's manpage explaining that the <code>-bw</code>
1993	    (or <code>-w</code>) option is only used by the window manager,
1994	    if at all (Debian #405043).
1995
1996	<li>make <code>Selection</code> of <code>VT&nbsp;Fonts</code> work with
1997	    <code>selectToClipboard</code> resource.
1998
1999	<li>correct length calculation for <code>Selection</code> entry of
2000	    <code>VT&nbsp;Fonts</code> menu, broken since it ignored the
2001	    actual selection length since X11R4.
2002
2003	<li>fixes for fontsize changes with <code>-fa</code> option (Redhat
2004	    Bugzilla #222340).
2005</ul>
2006
2007<H1><A NAME="xterm_223">Patch #223 - 2006/11/30</A></H1>
2008<ul>
2009	<li>add <code>--enable-rectangles</code> configure option (request by
2010	    Martin Pirker).
2011
2012	<li>correct default value for <code>--with-symlink</code> configure
2013	    option.
2014
2015	<li>fixes configure script macros that use <code>$X_EXTRA_LIBS</code>.
2016
2017	<li>modify configure script to provide support for pre-package config
2018	    versions of Xft aka "FreeType".
2019
2020	<li>add the Xaw scrollbar translations resource to the xterm manpage,
2021	    add an example showing how to change the mouse button assignments
2022	    (Debian #382225).
2023
2024	<li>amend a change from <a href="#xterm_216">patch #216</a>,
2025	    which omitted modifiers for control, meta, etc., if they were
2026	    mixed with any other modifiers.  The intent of the change was
2027	    to avoid confusion with
2028	    <code>XK_Mode_switch</code>
2029            and <code>XK_ISO_Level3_Shift</code>;
2030	    the check is now done explicitly (report by Daniel Jacobowitz).
2031
2032	<li>interpret a negative value for <code>modifyCursorKeys</code>
2033	    or <code>modifyFunctionKeys</code> resources to disable the
2034	    respective features (prompted by Novell #220728).
2035
2036	<li>amend cell-width computation for FreeType from
2037	    <a href="#xterm_217">patch #217</a>, which did not work
2038	    for VT100 line-drawing characters (Debian #399638, GenToo #147111).
2039
2040	<li>amend a change from <a href="#xterm_216">patch #216</a>,
2041	    which made alt-modifier on a cursor-key send a modifier parameter
2042	    (Novell #220728).
2043
2044	<li>correct an off-by-one that made DECCRA not work (report/patch by
2045	    Martin Pirker).
2046
2047	<li>revert an optimization in SGR_Foreground() and SGR_Background
2048	    from <a href="#xterm_209">patch #209</a> (Debian #347722,
2049	    analysis by Pierre Lombard).
2050
2051	<li>fix for <code>boldMode</code> (Debian #347790, patch by Tim Pope).
2052
2053	<li>amend fix for <code>-iconic</code> in
2054	    <a href="#xterm_208">patch #208</a>,
2055	    which broke the positioning part of <code>-geom</code> with toolbar
2056	    configuration.
2057
2058	<li>fix to prevent indexing error in regular expressions (patch
2059	    by Dennis Schneider).
2060
2061	<li>fixes to make the internalBorder area not change color due to
2062	    reverseVideo and/or related exposure events.  The latter was a very
2063	    old bug exposed in <a href="#xterm_196">patch #196</a> (report by
2064	    Neil Hoggarth, also Debian #397624).
2065</ul>
2066
2067<H1><A NAME="xterm_222">Patch #222 - 2006/10/17</A></H1>
2068<ul>
2069	<li>minor optimization for recoloring cursor via dynamic colors.
2070
2071	<li>fix a bug caused by restructuring of tek4014 widget (report by Paul
2072	    Schenkeveld)
2073</ul>
2074
2075<H1><A NAME="xterm_221">Patch #221 - 2006/10/1</A></H1>
2076<ul>
2077	<li>fix for regular expressions:  the code which converted the column
2078	    offset within a line did not check properly for the end of a line,
2079	    and if allowed to match the whole line, would select the beginning
2080	    of the following line.  If the following line were empty, in turn
2081	    it would select from the next, etc.  (report by Sean
2082	    Reifschneider).
2083
2084	<li>minor optimization of color allocation to avoid repainting the
2085	    screen if the corresponding color had not been allocated.
2086
2087	<li>fixes for vttests/256colors.pl (report by Egmont Koblinger).
2088
2089	<li>add terminfo building block entries for modifiers of the 6-key
2090	    editing keypad.
2091
2092	<li>fix for initialization of tek4014 which broke on QNX 6.1
2093</ul>
2094
2095<H1><A NAME="xterm_220">Patch #220 - 2006/9/10</A></H1>
2096<ul>
2097	<li>make "xterm -t -iconic" work as expected, i.e., start in tek4014
2098	    mode, but iconified.
2099</ul>
2100
2101<H1><A NAME="xterm_219">Patch #219 - 2006/9/4</A></H1>
2102<ul>
2103	<li>some internal restructuring to separate data for vt100 and tek4014
2104	    widgets.
2105
2106	<li>fix a few cases where form-events would be seen by the vt100
2107	    widget when built with the toolbar configuration.
2108</ul>
2109
2110<H1><A NAME="xterm_218">Patch #218 - 2006/8/27</A></H1>
2111<ul>
2112	<li>change behavior when encountering an illegal character in a title
2113	    string.  Rather than reject the string, translate illegal
2114	    characters into "?" and use the string (requested by Thomas Wolff).
2115
2116	<li>improve checks for nonprinting characters in title strings
2117	    (report by Samuel Thibault).
2118
2119	<li>correct typo in menu labels, changing <code>print-redirect</code>
2120	    to <code>print-redir</code>, making it follow the manpage and
2121	    match the usage for the actions table (report by Samuel Thibault).
2122
2123	<li>correct a typo that prevents building with some older systems such
2124	    as Solaris 2.6 (report by Julian Bridle).
2125</ul>
2126
2127<H1><A NAME="xterm_217">Patch #217 - 2006/8/20</A></H1>
2128<ul>
2129	<li>minor improvements to FreeType font layout and drawing.
2130
2131	<li>add a check in the ptyInitialErase logic to ensure that the
2132	    termcap was read (Redhat Bugzilla #201246).
2133
2134	<li>limit changes for reverse-video from
2135	    <a href="#xterm_216">patch #216</a> to cases where the
2136	    reverse-video command-line option is used
2137	    (report by Zdenek Sekera).
2138
2139	<li>correct bitmap-derived pointsizes for TrueType fonts; they should
2140	    be proportional to the square root of the area of the bitmap
2141	    fonts.
2142
2143	<li>add resources to specify pointsize of TrueType fonts (request
2144	    by Reuben Thomas).
2145
2146	<li>improve install of terminfo by filtering out harmless messages
2147	    related to extended capabilities.  At the same time, use ncurses
2148	    tic to compile the extended capabilities if possible
2149	    (report by Zdenek Sekera).
2150
2151	<li>update "xterm+pcfkeys" terminfo entry to correspond to
2152	    <a href="#xterm_216">patch #216</a>.
2153</ul>
2154
2155<H1><A NAME="xterm_216">Patch #216 - 2006/8/3</A></H1>
2156<ul>
2157	<li>improve handling of <code>ConfigureNotify</code> events by checking
2158	    if there are further events in the queue which obsolete the current
2159	    one (adapted from rxvt 2.7.5).  Only the normal normal
2160	    (non-toolbar) configuration is addressed in this patch.
2161
2162	<li>several changes to terminfo:
2163	<ul>
2164	    <li>incorporate some minor changes from ncurses to help keep these
2165	        synchronized:
2166	    <dl>
2167		<dt>2005-02-26
2168		<dd>modify sgr/sgr0 in xterm-new to improve tgetent's derived "me".
2169		<dt>2006-02-18
2170		<dd>remove ncv flag from xterm-16color
2171		<dt>2006-06-24
2172		<dd>improve xterm-256color by combining the 16-color
2173		setaf/setab strings with SGR 48,
2174		and cancelling the setf/setb strings.
2175	    </dl>
2176	    <li>use extended function-key definitions for xterm-sun, xterm-sco
2177	        entries.
2178
2179	    <li>add terminfo building-blocks corresponding to the
2180	        <code>modifyFunctionKeys</code>
2181	        and <code>modifyCursorKeys</code> resources.
2182	</ul>
2183
2184	<li>ifdef'd Sun function-key feature to make it optional, like HP and
2185	    SCO.
2186
2187	<li>extend table for termcap-query feature through F63, and updated
2188	    tcapquery.pl to match.
2189
2190	<li>modify logic for function-key input processing to allow function
2191	    key numbers which are constructed by control- and shift-modifiers
2192	    to extend beyond X's hardcoded limit of 35.
2193
2194	<li>add control sequence to set or reset the <code>eightBitInput</code>
2195	    resource.
2196
2197	<li>change default resource <code>modifyFunctionKeys</code> to 2
2198	    to avoid sending SS3 with parameters (report by Kalle Olavi Niemitalo).
2199
2200	<li>add control sequences for setting and resetting the values of the
2201	    <code>modifyCursorKeys</code>,
2202	    <code>modifyFunctionKeys</code> and
2203	    <code>modifyOtherKeys</code> resources.
2204
2205	<li>add <code>modifyFunctionKeys</code> resource like
2206	    <code>modifyCursorKeys</code>.
2207	    Setting this to zero allows one to use the control- and
2208	    shift-modifiers to construct function key strings,
2209	    for terminals using many function keys,
2210	    e.g., for <code>xterm-sun</code> or <code>xterm-sco</code>.
2211
2212	<li>modify screen responses and function-key logic to reduce the
2213	    number of writes made, to make it less likely that an application
2214	    would read only part of a function-key in a read operation
2215	    (suggested by John E Urbanczyk).
2216
2217	<li>add <code>combiningChars</code> resource, which allows the user to
2218	    specify the maximum number of combining characters that xterm will
2219	    store for each cell in wide-character mode (prompted by request by
2220	    Markus Kuhn to increase the limit from 2).
2221
2222	<li>improve logic in <code>metaSendsEscape</code> in case the Alt-
2223	    and Meta-keys are mapped to different modifiers.  That allows one
2224	    to use the Alt-key for shifting in the <code>eightBitInput</code>
2225	    and use a Meta-key modifier to prefix the result with an
2226	    <code>&lt;ESC&gt;</code>.
2227
2228	<li>improve <code>modifyCursorKeys</code> logic to prevent it from
2229	    modifying codes where <code>eightBitInput</code> or
2230	    <code>metaSendsEscape</code> are set
2231	    (request by Dan Nicolaescu).
2232
2233	<li>improve <code>modifyCursorKeys</code> logic to prevent it from
2234	    changing the user input when other modifiers such as AltGr are used
2235	    (report by Thomas Wolff).
2236
2237	<li>extend <code>modifyCursorKeys</code> to include the numeric keypad
2238	    when in application mode.
2239
2240	<li>improve <code>-reverse</code> (<code>-rv</code>) option
2241	    (patch by Jason Vas Dias, Redhat #189161).
2242
2243	<li>workaround for color resources on Fedora-5 which made the toolbar
2244	    colors inconsistent.
2245
2246	<li>corrected calls used for <code>--disable-setuid</code> option,
2247	    add debugging traces to help diagnose this area.
2248
2249	<li>modify configure script to ensure that <code>USE_UTMP_SETGID</code>
2250	    is defined only if the check for POSIX saved-ids succeeds, or
2251	    corresponds to one of the BSD systems known to have a workable
2252	    <code>setegid</code> function.
2253
2254	<li>extend configure check for POSIX saved-ids to include BSD systems
2255
2256	<li>modify CF_SYSV configure macro to work with gcc on HPUX 10.20,
2257	    whose broken
2258	    <code>&lt;term.h&gt;</code> relies on including
2259	    <code>&lt;termios.h&gt;</code>.
2260
2261	<li>change order of setuid/setgid ifdef checks in Imakefile to make
2262	    it simpler to produce a setgid install, allowing the latter to
2263	    override the former (prompted by an XFree86 commit).
2264
2265	<li>adapt a fix for setgid support from subsequent XFree86 changes
2266	    (patch by Emanuele Giaquinta).
2267
2268	<li>further improve setgid support (patches by Emanuele Giaquinta).
2269</ul>
2270
2271<H1><A NAME="xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A></H1>
2272<ul>
2273	<li>improve setgid support by exploiting the saved-ids feature on which
2274	    it relies (patch by Emanuele Giaquinta).
2275
2276	<li>make the <code>modifyOtherKeys</code> resource disabled by default
2277	    since the intermediate setting altered some common bindings
2278	    (report by Emanuele Giaquinta).
2279</ul>
2280
2281<H1><A NAME="xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A></H1>
2282<ul>
2283	<li>modify makefile rule for ctlseqs.txt to strip backspace/overstrikes,
2284	    and add a copy of ctlseqs.txt to the source tarballs (requests by
2285	    Bram Moolenaar, Emanuele Giaquinta).
2286
2287	<li>add <code>modifyOtherKeys</code> resource, analogous to the
2288	    <code>modifyCursorKeys</code> resource.  This applies to keys that
2289	    normally would transmit nothing when a given modifier is applied
2290	    (request by Dan Nicolaescu).
2291
2292	<li>add <code>default</code> to the acceptable values for the
2293	    <code>keyboardType</code> resource, allowing the <code>-kt</code>
2294	    command-line option to override app-defaults resource settings of
2295	    <code>sunKeyboard</code>, etc.
2296
2297	<li>correct ifdef's for <code>XkbBell()</code> which used the header
2298	    file but not the corresponding function in
2299	    <a href="#xterm_175">patch #175</a>
2300	    (report by Zach Beane).
2301
2302	<li>add xterm manpage to the <code>--with-symlink</code> logic.
2303
2304	<li>regenerated configure script to omit some debugging artifacts of
2305	    the SIGWINCH test.
2306
2307	<li>fix <code>install-man</code> rule in <code>Makefile.in</code> to
2308	    avoid including the <code>$(DESTDIR)</code> value in substitutions
2309	    made on the manpages (patch by Emanuele Giaquinta).
2310
2311	<li>improved fix for cursor deallocation
2312	    (Redhat #186935, patch by Jason Vas Dias).
2313
2314	<li>improve checks for setuid/setgid operation to accommodate limited
2315	    resource management in some kernels (GenToo #193238).
2316
2317	<li>update config.guess, config.sub
2318</ul>
2319
2320<H1><A NAME="xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A></H1>
2321<ul>
2322	<li>minor optimization to cell layout; will use that to simplify some
2323	    logic and allow for more than two combining characters in another
2324	    patch.
2325
2326	<li>add <code>utf8Latin1</code> resource to make optional the
2327	    feature from <a href="#xterm_209">patch #209</a> which
2328	    allowed ISO-8859-1 fonts to be used in cases
2329	    where a wide font was given.  This would only
2330	    work for the special case where the user normally used Latin-1
2331	    and wanted some wide characters (report by Rostislav Krasny).
2332
2333	<li>add <code>utf8Title</code> resource to manpage (Novell #52655).
2334
2335	<li>fix typo in table entry for <code>utf8Title</code> resource which
2336	    made it treated as an integer rather than boolean (patch by Mike
2337	    Fabian, Novell #52655).
2338</ul>
2339
2340<H1><A NAME="xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A></H1>
2341<ul>
2342	<li>improve description of <code>forceBoxChars</code> in manpage
2343	    (discussion with Joe Wells).
2344
2345	<li>set checkmark for "Select To Clipboard" menu entry on startup,
2346	    from resource setting.
2347
2348	<li>update manpage to note that <code>*customization:color</code> is
2349	    not needed, though it is useful (Redhat #188034).
2350
2351	<li>add underscore to sample pattern for URL in <code>XTerm.ad</code>
2352	    (Redhat #188037).
2353
2354	<li>modify install rule for manpage to use the configured app-defaults
2355	    directory (Redhat #188031).
2356
2357	<li>add checks in <code>releaseCursorGCs()</code> to ensure GC's are
2358	    distinct, needed since memory leak changes for
2359	    <a href="#xterm_208">patch #208</a>
2360	    (Redhat #186935, patch by Jason Vas Dias).
2361
2362	<li>modify <code>Imakefile</code> definitions to allow
2363	    <code>imake</code> to set <code>InstallXtermSetGID</code>.
2364	    Add symbol <code>InstGidFlags</code>.
2365
2366	<li>add configure script check to ensure that SIGWINCH if defined even
2367	    when headers undefine this as a side-effect of
2368	    <code>_POSIX_C_SOURCE</code>, etc.
2369
2370	<li>resync with XFree86 CVS
2371	<ul>
2372	   <li>ifdef-out chmod of terminal device for OS/2 (XFree86 #1663,
2373	       Frank Giessler).
2374	   <li>move new <code>Imakefile</code> chunk which defines
2375	       <code>$(CSGIDFLAGS)</code> before DEFINES,
2376	       e.g., for IRIX64 (Marc La France).
2377	</ul>
2378</ul>
2379
2380<H1><A NAME="xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A></H1>
2381<ul>
2382	<li>modify prefix/suffix transformation in makefile to make
2383	    <code>uxterm</code> install properly on Cygwin.
2384
2385	<li>restore the sizeof-comparison for <code>struct lastlog</code>
2386	    added in <a href="#xterm_208">patch #208</a>,
2387	    rendered (mostly) obsolete in <a href="#xterm_210">patch #210</a>,
2388	    since an imake configuration can still turn that code on
2389	    (prompted by comment by David Dawes).
2390
2391	<li>remove feature for <code>FreeBSDArchitecture</code> from
2392	    <code>Imakefile</code> which would install xterm using the
2393	    <code>utmp</code> group since a standard FreeBSD system has no such
2394	    group, though it would support this configuration.  FreeBSD
2395	    packager uses the <code>configure</code> script, which can make the
2396	    appropriate check (prompted by comment by David Dawes).
2397
2398	<li>fixes for gcc redefinition warnings when built using imake
2399	    (reports by David Dawes, Marc La France).
2400</ul>
2401
2402<H1><A NAME="xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A></H1>
2403<ul>
2404	<li>add configure check for workaround in
2405	    <a href="#xterm_208">patch #208</a>
2406	    for Solaris' inconsistent support for struct lastlog to quiet
2407	    compiler warnings
2408	    (prompted by David Dawes commit message for XFree86).
2409
2410	<li>fixes for BASE64 selection manipulation,
2411	    e.g., ensure that the string
2412	    terminator is written after cut-buffer data (report by Joe Allen).
2413
2414	<li>add vttests/paste64.pl script to test experimental option for
2415	    setting/getting selection data.
2416
2417	<li>add some error-checking in fontutils.c
2418	    (prompted by David Dawes commit message for XFree86).
2419
2420	<li>change xterm manpage to show the actual color resource names
2421	    <code>XtDefaultForeground</code> and
2422	    <code>XtDefaultBackground</code> rather than black and white
2423	    (prompted by discussion with Emanuele Giaquinta).
2424
2425	<li>add <code>utf8Title</code> resource and menu entry, allowing the
2426	    user to control whether title strings are interpreted as ISO-8859-1
2427	    or UTF-8 encoding (Novell #52655, #113206).
2428
2429	<li>change order of ifdef's for utempter versus platforms in
2430	    <code>Imakefile</code> to ensure a proper value for
2431	    <code>InstallXtermSetGID</code>
2432	    (prompted by Marc La France commit message for XFree86).
2433
2434	<li>update the cursor GCs when menu entry for reverse video is toggled.
2435	    (Redhat #183993).
2436
2437	<li>a memory-leak fix for <code>set_cursor_gcs()</code>
2438	    in <a href="#xterm_208">patch #208</a> broke the
2439	    <code>-cm</code> option (Redhat #182382).
2440</ul>
2441
2442<H1><A NAME="xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A></H1>
2443<ul>
2444	<li>remove <code>setf</code> and <code>setb</code> from
2445	    <code>xterm-256color</code> terminfo entry to avoid issues with
2446	    applications that ignore the ANSI strings (report by Emanuele
2447	    Giaquinta).
2448
2449	<li>remove obsolete references to "Xorg" to avoid confusion with
2450	    "X.org" (prompted by David Dawes commit message for XFree86).
2451
2452	<li>improve initial layout performance for the toolbar configuration
2453	    by precalculating the height of the toolbar.
2454
2455	<li>remove menu entry for "Enable Curses Emulation" (to make room for
2456	    "Select To Clipboard").
2457
2458	<li>add resource <code>selectToClipboard</code>,
2459	    action <code>set-select</code> and a menu entry to allow
2460	    users to switch between PRIMARY and CLIPBOARD for select/paste.
2461
2462	<li>allow cursor to have the same color as foreground (text), since it
2463	    is rendered as reverse (Debian #350664).
2464
2465	<li>amend change for loading <code>utf8Fonts</code> resource from <a
2466	    href="#xterm_204">patch #204</a> to allow an ISO-8859-1 "normal"
2467	    font to be combined with an ISO-10646 font if the latter is given
2468	    via the <code>-fw</code> option or its corresponding resource
2469	    value (prompted by comment in Novell #49305).
2470
2471	<li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for
2472	    <code>__GNU__</code> to set the controlling terminal (Debian
2473	    #348457).
2474
2475	<li>add configure option <code>--disable-leaks</code>.
2476
2477	<li>add a check in <code>Bell</code> to ensure that the VT100 widget
2478	    is realized, since it may be called by <code>xtermLoadFont</code>
2479	    given an incorrect font resource (Redhat #180450).
2480
2481	<li>improve initialization of wide-bold font by not using the derived
2482	    value when it happens to have few glyphs (report by Mboso Sampson).
2483
2484	<li>improve dynamic colors by not repainting the screen if only the
2485	    cursor color changes (request by Bram Moolenaar).
2486
2487	<li>fix menu initialization for tek4014 window broken in
2488	    <a href="#xterm_206">patch #206</a>.
2489
2490	<li>typo in manpage (Debian #351425).
2491
2492	<li>correct loop logic in <code>dotext</code> to prevent an infinite
2493	    loop if a wide character was just at the right margin when wrapping
2494	    was disabled (report by Serge van den Boom).
2495
2496	<li>initialize the saved-cursor data so a restore-cursor operation
2497	    without a preceding save-cursor operation will not modify the
2498	    foreground color.
2499
2500	<li>add a new selection feature: regular expressions, and new resources
2501	    which specify what happens on multiple mouse clicks:
2502	    <code>on2Clicks</code>,
2503	    <code>on3Clicks</code>,
2504	    <code>on4Clicks</code> and
2505	    <code>on5Clicks</code>.
2506
2507	<li>revert the <code>XTerm.ad</code> change from
2508	    <a href="#xterm_208">patch #208</a> (Debian #348384).
2509
2510	<li>fixes for the print-window to make it handle combining
2511	    characters in UTF-8 mode.
2512
2513	<li>add check to ensure that double-clicking to extend selection will
2514	    not extend it into the scrollback area.  This still allows users
2515	    to scroll back and select text (Debian #347415).
2516
2517	<li>add configure option <code>--with-tty-group</code> to help work
2518	    around deficiencies in packager's build environment (Debian
2519	    #349142).
2520
2521	<li>fix typo in configure script option
2522	    <code>--disable-narrowproto</code>
2523	    (report by David Mart&#237;nez Moreno).
2524
2525	<li>amend CF_X_FREETYPE changes for <code>pkg-config</code> check to
2526	    ensure that <code>Xft</code> is known to that tool (report and
2527	    patch by Emanuele Giaquinta).
2528
2529	<li>add an ifdef to allow <code>./configure --disable-active-icon</code>
2530	    to work, broken by new code for testing memory leaks in
2531	    <a href="#xterm_208">patch #208</a> (report by Brian Lindholm).
2532</ul>
2533
2534<H1><A NAME="xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A></H1>
2535<ul>
2536	<li>add <code>charClass</code> resource to <code>XTerm.ad</code> and
2537	    <code>UXTerm.ad</code> which simplifies selecting URLs (prompted
2538	    by Kirill Ponomarew).
2539
2540	<li>modify install rule for <code>uxterm</code> to account for the
2541	    <code>--program-prefix</code>, etc., options by invoking the
2542	    transformed name of xterm rather than simply "xterm".
2543
2544	<li>modify configure <code>--with-app-defaults</code> option to allow
2545	    <code>--without-app-defaults</code>.
2546
2547	<li>add configure <code>--with-symlink</code> option to make it simpler
2548	    to install successive versions of <code>xterm</code> renamed using
2549	    the <code>--program-prefix</code>, etc., options with a symbolic
2550	    link pointing to the most recent.
2551
2552	<li>make <code>-iconic</code> option work with toolbar configuration
2553	    (GenToo #113604).
2554
2555	<li>suppress <code>lastlog</code> feature for 64-bit Solaris
2556	    configuration since that platform provides only a 32-bit interface
2557	    (report by Peter Bray).
2558
2559	<li>fix memory reallocation for the "UTF-8" menu entry when xterm is
2560	    started using the <code>+u8</code> option (reported by Jan Willem
2561	    Stumpel).
2562
2563	<li>add a configure check for the actual path of <code>luit</code>,
2564	    to work around broken <code>imake</code> configurations.
2565
2566	<li>add a configure check for <code>pkg-config</code> (Redhat Bugzilla
2567	    #173541).
2568
2569	<li>modify install-rule for <code>uxterm</code> to omit executable
2570	    suffix, e.g., for Cygwin.
2571
2572	<li>modify <code>sinstall.sh</code> to work around quirks in Cygwin
2573	    configuration.
2574</ul>
2575
2576<H1><A NAME="xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A></H1>
2577<ul>
2578	<li>enable <code>lastlogx</code> support for NetBSD (was added, but
2579	    not enabled in <a href="#xterm_186">patch #186</a>).
2580
2581	<li>work around broken <code>lastlog.h</code> in glibc 2.3.5, which
2582	    includes <code>utmp.h</code>.
2583
2584	<li>revert part of recent XFree86 Imakefile change, restoring the
2585	    <code>-I.</code> needed for <code>xmkmf</code> builds of xterm
2586	    (XFree86 Bugzilla #1633,
2587	     reports by Alexander Pohoyda,
2588	     Matthieu Herrb).
2589
2590	<li>change compiled-in default for <code>printerCommand</code>
2591	    resource to an empty string.  People who want to use the
2592	    printer should be able to read the manual (Debian #311490).
2593
2594	<li>modify <code>Imakefile</code> to work around old problems in
2595	    <code>imake</code> configuration to allow test-builds using
2596	    <code>xmkmf</code> on Linux.  (This was not noticed since several
2597	    releases had broken definitions relating to Xft which were harder
2598	    to work around).
2599
2600	<li>link <code>resize</code> for SCO platforms (Kean Johnston).
2601</ul>
2602
2603<H1><A NAME="xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A></H1>
2604<ul>
2605	<li>add configure <code>--with-app-defaults</code> option to allow
2606	    app-defaults directory for install-rules to be customized.
2607
2608	<li>remove default translations for <code>dabbrev-expand()</code>
2609	    due to conflicts with existing keyboard arrangements.
2610
2611	<li>remove redundant check for <code>_NET_WM_PID</code>
2612	    (report by Emanuele Giaquinta).
2613
2614	<li>set icon border width explicitly to work around fvwm problem
2615	    with active icon resizing (report by Steve Morris, analysis
2616	    by Dominik Vogt).
2617
2618	<li>modify resource files to make the font-resources a little
2619	    more specific, e.g., changing "*VT100*" to "*VT100.", to
2620	    make the distinction between VT100.font and VT100.utf8Fonts.font
2621	    sharper, in case a packager modifies one of those.
2622
2623	<li>expanded comments in <code>UXTerm.ad</code> regarding the
2624	    font resources (Debian #319179).
2625
2626	<li>add <code>--enable-narrowproto</code> configure option to
2627	    accommodate X.org "modular" build (report by Stephan Hermann,
2628	    GenToo #17220).
2629
2630	<li>fix typo in xterm.man description of <code>+wf</code> (patch
2631	    by Tobias Stoeckmann).
2632
2633	<li>add <code>scrollBarBorder</code> resource (request by Floyd L
2634	    Davidson).
2635
2636	<li>modify <code>xterm-new</code> terminfo entry to use capabilities
2637	    for shifted scroll forward/reverse as shifted cursor up/down.
2638
2639	<li>correct updating of checkmark for toolbar entry in popup menu
2640	    (report by Emanuele Giaquinta).
2641
2642	<li>fix ifdef's to allow compiling with toolbar and without tek4014
2643	    (patch by Emanuele Giaquinta).
2644
2645	<li>use <code>openpty()</code> for Darwin port (patch by Emanuele
2646	    Giaquinta).
2647
2648	<li>fix GenToo #90697 a different way, postponing the logic in
2649	    <code>SetupToolbar</code> until the toolbar is actually needed,
2650	    i.e., the <code>+tb</code> option is handled as expected.
2651
2652	<li>revert fix made in <a href="#xterm_203">patch #203</a> for GenToo
2653	    #90697.  That introduced a problem with the control mouse
2654	    click-popups, while most of the performance problems can be
2655	    resolved by restricting the menu fonts (report by Emanuele
2656	    Giaquinta).
2657
2658	<li>fix a file-descriptor leak when calling <code>openpty()</code>
2659	    (OpenBSD system/4561).
2660
2661	<li>make a special case of resizing work like vt100: a hard reset
2662	    also resets the 132/80 mode.  The code to support this was
2663	    present since X11R5, but not used because the corresponding
2664	    initial state of the <code>-132</code> option was not saved.
2665
2666	<li>restore window manager hints after <code>XtMakeResizeRequest()</code>
2667	    calls.  One instance from <a href="#xterm_205">patch #205</a>
2668	    resulted in the window manager displaying pixels rather than
2669	    than characters after selecting a different font size (FreeBSD
2670	    ports/87424).
2671
2672	<li>remove special case for Darwin in CF_XOPEN_SOURCE
2673	    (Emanuele Giaquinta).
2674
2675	<li>modify parsing of control sequence <code>CSI&nbsp;T</code>
2676	    to allow scroll-down
2677	    to be sent while mouse tracking is enabled (request by
2678	    D Hugh Redelmeier).
2679
2680	<li>correct termcap "me" (mode-end) string so it does not modify the
2681	    alternate character set (report by Andrey Chernov).
2682
2683	<li>correct size-comparison in HandleInterpret() broken in changes
2684	    from <a href="#xterm_201">patch #201</a> to allocate input
2685	    buffer (Debian #334317).
2686
2687	<li>amend adjustments for scrollbar layout from
2688	    <a href="#xterm_204">patch #204</a> to make
2689	    this apply only to the toolbar configuration.  In the non-toolbar
2690	    configuration, the resulting scrollbar was shifted by its
2691	    borderwidth (report by Matthieu Herrb).
2692
2693	<li>add select-cursor-extend() action.
2694
2695	<li>fix some broken href's in xterm.log.html, and typo in the
2696	    INSTALL file (report/patch by David Mart&#237;nez Moreno).
2697
2698	<li>modify <code>Imakefile</code> to use setgid mode for installing
2699	    with Linux, OpenBSD and FreeBSD.
2700
2701	<li>add configure --with-setuid and --with-reference options to
2702	    allow packagers more flexibility in customizing install
2703	    permissions.
2704
2705	<li>generalize and make optional (configure --with-utmp-setgid)
2706	    the change made for XFree86 Bugzilla #878 in
2707	    <a href="#xterm_205">patch #205</a>
2708	    (FreeBSD bug report #ports/86663).
2709</ul>
2710
2711<H1><A NAME="xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A></H1>
2712<ul>
2713	<li>correct a typo in CF_FUNC_TGETENT introduced in <a
2714	    href="#xterm_198">patch #198</a> fix for Gentoo #69926.
2715
2716	<li>implement logic in termcap query to process multiple parameters
2717	    as documented in ctlseqs.ms
2718
2719	<li>fix buffer size used for termcap query, which was not long enough
2720	    for the terminfo "colors" name (patch by Bradd W. Szonye).
2721
2722	<li>add configure option --enable-readline-mouse, which turns on the
2723	    experimental OPT_READLINE code (patch by Ilya Zakharevich).
2724
2725	<li>for FreeBSD, drop setuid privileges after startup
2726	    (XFree86 Bugzilla #878, report/patch by Alexander Pohoyda)
2727
2728	<li>add menu entry (alt-esc) and corresponding action (alt-sends-esc)
2729	    to toggle the <code>eightBitInput</code> resource setting.
2730
2731	<li>generate configure script with autoconf 2.52 (patched) to use
2732	    the feature therein which forces the script's locale to POSIX
2733	    (Gentoo Bugzilla #105369).
2734
2735	<li>modify computation of rows/columns on resize to avoid extending
2736	    beyond the given limits, e.g., if resizing in response to a
2737	    "maximize" in Gnome or KDE which do not use the window manager
2738	    hints for this case (Debian #289123, Novell #61153).
2739
2740	<li>modifications to work with z/OS 1.4 (Paul Giordano).
2741
2742	<li>improve error-reporting when chown/chmod of the pseudo-terminal
2743	    fails, e.g., if a copy of xterm which was designed to work with
2744	    old-style pseudo-terminals is not installed setuid or setgid
2745	    (report by Jeremy C. Reed).
2746
2747	<li>patches from Emanuele Giaquinta:
2748	    <ul>
2749	    <li>ctlseqs.ms says that primary and secondary DA accept a
2750	        nonzero parameter, which is incorrect.  Also modify code
2751		to agree with this.
2752
2753	    <li>correct a comment in 88colres.pl
2754
2755	    <li>ctlseqs.ms says that the DEC Set/Reset control sequences for
2756		the backarrow key make it send DEL/BS, respectively, while it's
2757		the opposite.
2758
2759	    <li>update the menu entries for the metaSendsEscape, deleteIsDEL
2760		and numLock resources when changing them with the corresponding
2761		DEC Set/Reset control sequences.
2762	    </ul>
2763
2764	<li>fixes for configure script:
2765	    <ul>
2766	    <li>add special case for QNX, defining _QNX_SOURCE.
2767	    <li>check for preprocessors which do not perform -U and -D options
2768	        in the given order.
2769	    <li>improve macro to determine gcc version
2770	    <li>improve check for Intel compiler and related warning options
2771	    </ul>
2772
2773	<li>update config.guess, config.sub
2774
2775	<li>improve fix from <a href="#xterm_198">patch #198</a> for
2776	    <code>Cleanup()</code> by ensuring it is not called from the
2777	    SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)).
2778
2779	<li>eliminate a retry for a better-matching bold font, to work around
2780	    recent font server changes.
2781
2782	<li>fixes for Novell #113277:
2783	    <ul>
2784	    <li>specify weight for wide font which may be derived from
2785	        normal fontname.
2786	    <li>cache the derived wide- and widebolt-fontnames.
2787	    </ul>
2788
2789	<li>workaround for GenToo Bugzilla #100728.
2790
2791	<li>add menubar's border width to layout computation.  Normally this
2792	    is zero, but patterns such as <code>XTerm*borderWidth:1</code>
2793	    would give poor layout for the toolbar configuration.
2794</ul>
2795
2796<H1><A NAME="xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A></H1>
2797<ul>
2798	<li>work around quirk in shell which allowed user to "run" uxterm
2799	    script when there was no UTF-8 locale installed by entering
2800	    "sh -x uxterm".  Also popup an xmessage to show the problem
2801	    for users who run this via a GUI (Debian #318513).
2802
2803	<li>disallow changes to fonts, toolbar and scrollbar when the vt100
2804	    window is iconified, to simplify management of the active icon.
2805
2806	<li>fixes to make <code>-geom</code> option work properly with the
2807	    toolbar configuration (Gentoo Bugzilla #90717, #91967).
2808
2809	<li>minor improvements to scrollbar layout: ensure that the scrollbar
2810	    border is zero if the vt100 border is zero.
2811
2812	<li>improve initialization due to <code>utf8</code> resource by
2813	    loading the <code>utf8Fonts</code> resource in the case where
2814	    <code>locale</code> resource is false.  Also in this case, do
2815	    not disable switching UTF-8 mode on/off.
2816
2817	<li>minor optimization of TrueType font-loading, loads italic font
2818	    only when needed.
2819
2820	<li>correct variable used to store temporary result from lookup of bold
2821	    font, when initializing the wide-bold-font data and no immediate
2822	    match is found by asking for a bold variant of the wide-font.  The
2823	    result was to use overstriking rather than the actual bold font
2824	    (Debian #318162, patch by Eugene Konev).
2825
2826	<li>add checks to ensure vt100 widget is realized when it might be
2827	    updated via actions handled from a tek4014-only configuration.
2828</ul>
2829
2830<H1><A NAME="xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A></H1>
2831<ul>
2832	<li>modify initialization of <code>allowSendEvents</code> and
2833	    <code>allowWindowOps</code> to prevent modification with the
2834	    editres protocol.
2835
2836	<li>fix compiler warning for NetBSD by including util.h in main.c
2837	    (XFree86 Bugzilla #1596).
2838
2839	<li>fix to build on Darwin 8.x, which no longer provides
2840	    <code>setpgrp()</code> (patch by Min Sik Kim).
2841
2842	<li>adapted fixes for Legend (SCO) from diffs attached to
2843	    Freedesktop.Org Bugzilla #3180.
2844
2845	<li>fix typo in xterm manpage description of <code>-ls</code> option
2846	    (Freedesktop.Org Bugzilla #3543).
2847
2848	<li>add support for interpreting the underline attribute as an italic
2849	    font in Xft mode (patch by Chuck Blake).
2850
2851	<li>improve initialization of toolbar so that individual pulldown
2852	    menus are initialized on demand, as they are in the scenario
2853	    where they are invoked as popup menus (GenToo Bugzilla #90697).
2854
2855	<li>fix logic in <code>find_utmp</code>, which did not reset result
2856	    in <code>getutid()</code>, causing an infinite loop in some
2857	    conditions (report by Emil Mikulic).
2858
2859	<li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla #91008).
2860
2861	<li>modify ifdef's in ptyx.h and xterm_io.h to build with DragonFly
2862	    (patch by Jeroen Ruigrok).
2863
2864	<li>change default values for <code>minBufSize</code> and
2865	    <code>maxBufSize</code> to 4096 and 32768 respectively so that the
2866	    initial read request will match the value from before changes to
2867	    use <code>sched_yield()</code>.
2868
2869	<li>make paste of UTF-8 faster for Western character sets by checking
2870	    range of incoming data (patch by Joe Allen).
2871
2872	<li>add experimental option to allow
2873	    applications to get or set the selection data as a BASE64 string
2874	    (adapted from patch by Joe Allen).
2875
2876	<li>fix an off-by-one error parsing <code>-S/nn</code> option
2877	    (Debian #311438, report/fix by Peter Chubb).
2878
2879	<li>fix an initialization bug from
2880	    <a href="#xterm_201">patch #201</a> that broke logging
2881	    (report by Rodney Thayer).
2882
2883	<li>amend change to command-line processing in
2884	    <a href="#xterm_201">patch #201</a> to avoid
2885	    conflict with <code>-e</code> option (report by Servatius Brandt).
2886
2887	<li>suppress configure check for <code>_XOPEN_SOURCE</code> on
2888	    darwin.
2889
2890	<li>update config.guess, config.sub
2891</ul>
2892
2893<H1><A NAME="xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A></H1>
2894<ul>
2895	<li>add extended shift- and control-modifier cursor keys to
2896	    "xterm+pcfkeys" terminfo entry to correspond to ncurses 20050430
2897	    patch.
2898
2899	<li>fix a rare case where text would be written with the wrong colors
2900	    because output of scrolled text would reset the colors and the
2901	    new text would be written with the same colors (report/testcase
2902	    by Thomas Glanzmann).
2903
2904	<li>rename <code>$CMD</code> variable in <code>plink.sh</code> because
2905	    it is a reserved symbol in bash 3.00.16 (report by Ted Taylor).
2906
2907	<li>add environment variables <code>$XTERM_SHELL</code> and
2908	    <code>$XTERM_VERSION</code>
2909	    (request by Zdenek Sekera).
2910
2911	<li>corrected workaround for background color of menubar, which gave
2912	    a too-broad expression, coloring the background of the VT100
2913	    widget unless overridden by another resource setting.
2914
2915	<li>correct an error in the logic which decides when
2916	    <code>sched_yield()</code> is run; it would occasionally hang when
2917	    contending with other pseudo-terminal applications such as screen
2918	    (report by Kirill Ponomarew).
2919
2920	<li>modify initialization to decide whether to default to built-in
2921	    <code>wcwidth()</code> versus system's version based on the
2922	    starting locale and whether the system's version is poor quality
2923	    (suggested by Bram Moolenaar).
2924
2925	<li>update table for <code>mk_width()</code> from UnicodeData 4.1.0
2926	    using Markus Kuhn's <code>uniset</code> script.
2927</ul>
2928
2929<H1><A NAME="xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A></H1>
2930<ul>
2931	<li>improve resource files to show how the menubar and popup menus can
2932	    be colored (prompted by report by Joe Wells).
2933
2934	<li>modify parsing of OSC (and SOS, etc), strings so their contents
2935	    are not interpreted as UTF-8.  This allows non-ASCII title strings
2936	    to be set, provided that the window manager complies (report by
2937	    Thomas Wolff).
2938
2939	<li>improved some of the built-in line-drawing glyphs.
2940
2941	<li>correct color of "box" character drawn for line-drawing glyph 1
2942	    (report by Nicolas George).
2943
2944	<li>improve behavior when switching to UTF-8 mode after startup so
2945	    xterm will check if the current fonts are already wide
2946	    (ISO10646-1).  If they are not, xterm will use the
2947	    <code>utf8Fonts</code> subresource to load appropriate fonts
2948	    (request by Bram Moolenaar).
2949
2950	<li>modify logic for setting title-string so it applies to the current
2951	    widget rather than the vt100 widget.
2952
2953	<li>modify initialization for wide-bold fontname, to search for one
2954	    if none is given (report by Michael Schroeder).
2955
2956	<li>add resource <code>mkWidth</code> and command-line option
2957	    <code>-mk_width</code> to control whether xterm uses the built-in
2958	    version of wcwidth().
2959
2960	<li>add resource settings for minimum/maximum input buffer size, and
2961	    call to <code>sched_yield</code> to improve performance with newer
2962	    Linux kernels (adapted from patch by Nicolas George).
2963
2964	<li>correct computation of width for wide characters with the invisible
2965	    attribute (report by Thomas Wolff).
2966
2967	<li>modify interaction between <code>+u8</code> and <code>locale</code>
2968	    resource to allow the command-line option to override the resource
2969	    (requested by Thomas Wolff).
2970
2971	<li>add a limit check for scrolling margins in a one-line screen,
2972	    overlooked in fixes for
2973	    <a href="#xterm_198">patch #198</a> (Debian #297430).
2974
2975	<li>correct treatment of <code>iconBorderWidth</code> for resizing
2976	    an active-icon, and its description in manpage (Debian #296592).
2977
2978	<li>modify configure script <code>--disable-imake</code> to use the
2979	    script's definitions anyway if it cannot detect imake (prompted
2980	    by FreeBSD bug 77408).
2981
2982	<li>ignore error in the I/O initialization that tries to set the
2983	    tty to 7-bit input for the case where <code>eightBitInput</code>
2984	    resource is false (Debian #298551).
2985
2986	<li>modify command-processing to accept an optional parameter that
2987	    tells xterm which shell program to use (request by Zdenek Sekera).
2988
2989	<li>add simpler resource <code>keyboardType</code> which, when set,
2990	    overrides the individual keyboard-type resources and eliminates
2991	    the possibility of conflict between them.
2992
2993	<li>add initialization for <code>scoFunctionKeys</code> resource
2994	    (report by Rick K).
2995
2996	<li>correct logic of <code>ReallocateBufOffsets()</code> which did not
2997	    copy the content of the old screen buffer to the proper location,
2998	    making a repaint clear after switching to wide-character mode
2999	    (report by Bram Moolenaar):
3000
3001	<li>implement the remaining pieces to make xterm allocate cells for
3002	    wide-characters when the "UTF-8" menu entry is selected.  Also,
3003	    load the UTF-8 font when that menu entry is selected, or the escape
3004	    sequence for UTF-8 mode is received (report by Bram Moolenaar):
3005
3006	<li>add command-line options (<code>-tb</code>, <code>+tb</code>) and
3007	    resource <code>toolBar</code> to allow menu/toolbar to disabled or
3008	    enabled at startup (prompted by reports by Joe Wells).
3009
3010	<li>correct typo in configure script's --enable-dec-locator option
3011	    (report by Bram Moolenaar).
3012</ul>
3013
3014<H1><A NAME="xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A></H1>
3015<ul>
3016	<li>increase color pairs value for xterm-256color and xterm-88color to
3017	    match ncurses, which has an experimental option to support this.
3018
3019	<li>modify ifdef's to make AIX use termios rather than termio; the
3020            struct sizes for the two were not the same.
3021
3022	<li>improve CF_WITH_IMAKE_CFLAGS configure macro script for
3023	    OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX.
3024
3025	<li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by Min
3026	    Sik Kim).
3027
3028	<li>modify find_utmp() to initialize the whole utmpx struct (except
3029	    ut_id), since that is needed for OSF1 4.0D to prevent an infinite
3030	    loop on exit.
3031
3032	<li>add configure check before adding -D_POSIX_SOURCE since some
3033	    platforms predefine it, e.g., cygwin.
3034
3035	<li>add simplified sed expressions in CF_IMAKE_CFLAGS configure script
3036	    macro to ensure value for PROJECTROOT is quoted on Solaris, i.e.,
3037	    when nested <code>\(</code> and <code>\)</code> are not interpreted
3038	    correctly.
3039
3040	<li>correct DEC rectangle operations to reset state after completing
3041	    the operations.
3042
3043	<li>modify CASE_ST handling in charproc.c to ensure that the parse
3044	    state is reset even if xterm is not currently processing an OSC or
3045	    other string (patch by Johnny Billquist forwarded by Matthias
3046	    Scheler, NetBSD xsrc/29003).
3047
3048	<li>fix OS/2 build for innotek_libc (patch by David Yeo).
3049
3050	<li>fix a regression from <a href="#xterm_197">patch #197</a> fix for
3051	    Debian #277832 which disowned the selection if it was scrolled,
3052	    e.g., by the user pressing return at the bottom of the screen
3053	    (Debian #291787).
3054
3055	<li>move the warning/exit for missing $DISPLAY into the error handler
3056	    in case <code>-display</code> is given, and the connect fails for
3057	    some other reason.
3058</ul>
3059
3060<H1><A NAME="xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A></H1>
3061<ul>
3062	<li>instead of setting <code>$DISPLAY</code>, check for the unset
3063	    variable and warn/exit on this condition (comments by H Merijn
3064	    Brand and Bernhard R Link).
3065
3066	<li>fix a typo in Imakefile from <a href="#xterm_198">patch #198</a>
3067	    (reports/patches by Stefan Dirsch, Mike Castle).
3068</ul>
3069
3070<H1><A NAME="xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A></H1>
3071<ul>
3072	<li>set <code>$DISPLAY</code> to ":0" if it is not set.
3073
3074	<li>add <code>utmpDisplayId</code> resource to allow users to control
3075	    whether the display identifier (display number and screen number)
3076	    are retained in the connection information recorded in utmp
3077	    (discussion with Edoardo Tirtarahardja).
3078
3079	<li>add <code>bellOnReset</code> resource to allow users to disable
3080	    bell which sounds on hard reset since <a href="#xterm_183">patch
3081	    #183</a> changes to DECSCL (discussion with Danek Duvall).
3082
3083	<li>improve <code>$WINDOWID</code> for configuration with toolbar by
3084	    making it refer to the top-level shell rather than the parent of
3085	    the current window.  For that case, the parent is a form widget,
3086	    which does not have a name, which made the <code>$WINDOWID</code>
3087	    not very useful as a parameter for <code>xwininfo</code>
3088	    (suggested by Dave Bodenstab).
3089
3090	<li>fix a typo in WhichVFont() macro
3091	    from <a href="#xterm_197">patch #197</a> changes
3092	    which broke the --disable-active-icon configuration
3093	    (report by Ralf S. Engelschall).
3094
3095	<li>improve some limit checks (Gentoo Bugzilla #75604).
3096
3097	<li>add --disable-setuid option to configure script (Gentoo Bugzilla
3098	    #76543).
3099
3100	<li>add --disable-full-tgetent option to configure script, allowing one
3101	    to ignore a termcap library in favor of ncurses/curses (Gentoo
3102	    Bugzilla #69926).
3103
3104	<li>modify configure script to choose useful warning options for Intel
3105	    version 8.0 compiler.
3106
3107	<li>update config.guess, config.sub
3108
3109	<li>make active-icon work properly when TrueType fonts are used
3110	    (Debian #286068).
3111
3112	<li>correct change from <a href="#xterm_157">patch #157</a> which uses
3113	    getlogin() to check for an alias; the storage used for the related
3114	    getpwuid() call was overwritten by the data used for comparison
3115	    (patch by Per Hedeland).
3116
3117	<li>correct case of SCS for character set 0 (line-drawing) to allow it
3118	    to be selected into GR.
3119
3120	<li>fix a file-descriptor leak (Redhat Bugzilla #139597).
3121
3122	<li>modify <code>creat_as()</code> to only fork if xterm is actually
3123	    running as setuid and/or setgid.  This works around a Cygwin bug
3124	    which hangs when logging is enabled and makes xterm a little
3125	    faster for systems using interfaces such as utempter (report by
3126	    Al Goodman).
3127
3128	<li>modify <code>Cleanup()</code> to avoid operations such as X calls
3129	    that might use unsafe functions when it is called by a signal
3130	    handler (report by Michiel Boland).
3131
3132	<li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM changes
3133	    from <a href="#xterm_197">patch #197</a> that
3134	    broke DECSET 38:  switch to Tek4014 emulation (report by Dave
3135	    Bodenstab).
3136
3137	<li>fix for manpage escapes (Marc La France).
3138
3139	<li>improve on IRIX-specific change for Imakefile in XFree86 CVS versus
3140	    resize linking against termcap library to reflect definitions for
3141	    USE_TERMCAP in resize.c
3142</ul>
3143
3144<H1><A NAME="xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A></H1>
3145<ul>
3146	<li>modify configure script to remove empty "-DPROJECTROOT=" definition
3147	    which resulted unusable values for luit's default path.
3148
3149	<li>update precompose.c based on Unicode 4.0.1
3150
3151	<li>several minor fixes based on Intel compiler warnings.
3152
3153	<li>change default translations so a <code>BtnDown</code> which is
3154	    not recognized is simply ignored rather than emitting a bell.
3155	    That makes it less obtrusive when the user tries to use a mouse
3156	    which provides more capabilities than the X mouse driver supports,
3157	    e.g., one with a horizontal scroll wheel (Debian #265133).
3158
3159	<li>note in xterm's manpage that <code>translations</code> is not
3160	    specific to xterm (Debian #278897).
3161
3162	<li>modify uxterm script to use locale program to verify if the
3163	    derived locale is installed (Debian #246398).
3164
3165	<li>correct font handling for active icon when in UTF-8 mode (report
3166	    by Paolo Liberatore).
3167
3168	<li>make active-icon and toolbar configurations work together.
3169
3170	<li>modify the criteria for disowning primary selection.  Previously,
3171	    this happened anytime the cursor was moved before the end of the
3172	    selection.  That would ensure that any insert/delete of char or
3173	    line, as well as scrolling, would disown the selection.  The
3174	    new criteria change this to checking if the operations would
3175	    modify the data which is highlighted (Debian #277832).
3176
3177	<li>reimplement <code>DECALN</code> with functions for vt420 rectangles,
3178	    fixes selection for this case.
3179
3180	<li>implement vt420 rectangle operations.
3181
3182	<li>add parsing, for debug/test of vt220 soft-fonts.
3183
3184	<li>add menu entry, actions and escape sequence to allow
3185	    enabling/disabling toolbars at runtime.
3186
3187	<li>improve rendering for Xft, allow it to draw non-linedrawing
3188	    characters such as "pi", which were drawn from internal tables
3189	    with <a href="#xterm_180">patch #180</a>
3190	    (Freedesktop.org Bugzilla #1260).
3191
3192	<li>add configure option <code>--enable-mini-luit</code>, ifdef'd the
3193	    mini-luit feature with <code>OPT_MINI_LUIT</code>.
3194
3195	<li>add mini-luit feature, which supports Latin9 directly rather than
3196	    via luit, provided that Unicode fonts are used (Freedesktop.org
3197	    Bugzilla #1571, request by Stefan Dirsch, patch by Michael
3198	    Schroeder).
3199
3200	<li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x kernels,
3201	    set the corresponding flag for the slave pty, to enable UTF-8
3202	    interpretation of backspace in cooked mode (Freedesktop.org
3203	    Bugzilla #1578, request by Stefan Dirsch).
3204
3205	<li>modify <code>faceSize</code> resource to use a floating-point
3206	    internal value (adapted from patch by Sam Stephenson).
3207
3208	<li>correct handling selection of tabs over cleared space in UTF-8
3209	    mode.  In this special case, xterm represents the whitespace with
3210	    a null rather than a space character (Debian #276447).
3211
3212	<li>amend fix for infinite loop from <a href="#xterm_192">patch
3213	    #192</a> to check if there is wrapped text to output in a following
3214	    iteration (Debian #273202).
3215
3216	<li>fixes ifdef'd with <code>__INTERIX</code> to allow building with
3217	    Interix (Windows Services for UNIX) 3.5 using the xlibs libraries
3218	    from freedesktop.org (patch by Min Sik Kim).
3219
3220	<li>amend solution for Debian #252873, #260471 from <a
3221	    href="#xterm_194">patch #194</a> by making the cursor not
3222	    explicitly colored if only the foreground color is set, and the
3223	    cursor is on a blank space (Debian #275473).
3224
3225	<li>correct logic for send/receive mode (SRM) with regard to control
3226	    characters.
3227
3228	<li>fix masking of invisible text in wide-character mode, which did
3229	    not work for line-drawing characters.
3230
3231	<li>incorporate CF_XOPEN_SOURCE into configure script, replacing
3232	    CF_GNU_SOURCE.
3233</ul>
3234
3235<H1><A NAME="xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A></H1>
3236<ul>
3237	<li>add a special case to configure script to ignore NetBSD's
3238	    <code>grantpt()</code> which was recently added (but not part of a
3239	    release), until someone is able to ensure that xterm can use it
3240	    (report by Min Sik Kim).
3241
3242	<li>clear the buffer returned by getutid().  This fixes an infinite
3243	    loop on some platforms introduced in <a href="#xterm_193">patch
3244	    #193</a> by Debian #256468 fix (report by David Ellement).
3245</ul>
3246
3247<H1><A NAME="xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A></H1>
3248<ul>
3249	<li>correct length used for blinking text, make the last column blink
3250	    (patch by Alexander V Lukyanov).
3251
3252	<li>start changes to make doublesize characters work with TrueType
3253	    fonts (see <a href="#xterm_44">patch #44</a>).
3254
3255	<li>trim leading/trailing blanks from color resources as done for
3256	    other strings in <a href="#xterm_167">patch #167</a>.
3257
3258	<li>fixes for <code>showBlinkAsBold</code> resource (report by
3259	    Christoph Berg).
3260</ul>
3261
3262<H1><A NAME="xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A></H1>
3263<ul>
3264	<li>change clearing operations so foreground color attribute is not
3265	    set.  Usually this is benign, but in some cases when the cursor
3266	    color is not set explicitly, the cursor would show this color
3267	    (Debian #252873, #260471).
3268
3269	<li>add extra state (cursor-moved) to guard against deciding that the
3270	    cursor did not require repainting after an indexing operation
3271	    that leaves the cursor in the same location on the screen.
3272
3273	<li>fix a case where a full-screen indexing operation would
3274	    not restore the cursor-busy state.
3275
3276	<li>fix a repainting bug introduced in
3277	    <a href="#xterm_180">patch #180</a>:  when using a font
3278	    lacking line-drawing characters, a repaint of the screen could
3279	    skip horizontally an extra amount after filling in the missing
3280	    character (reports by Nicolas George, Hans de Goede, Redhat
3281	    Bugzilla #128341).
3282
3283	<li>rename terminfo fragment "xterm-pc-fkeys" to "xterm+pcfkeys" for
3284	    consistency with ncurses.
3285</ul>
3286
3287<H1><A NAME="xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A></H1>
3288<ul>
3289	<li>fix for wide-character selection from OpenBSD CVS
3290	    (report/patch by Matthieu Herrb).
3291
3292	<li>modify initialization and cleanup of utmp data to also compare
3293	    the <code>ut_line</code> member (Debian #256468).
3294
3295	<li>modify check on focus-change to ignore <code>FocusOut</code> events
3296	    generated by <code>XGrabKeyboard</code>.  This fixes a case where
3297	    the text cursor would act as if focus were lost when selecting the
3298	    "Secure Keyboard" menu option.
3299
3300	<li>add <code>gen-pc-fkeys.pl</code> script, use that to generate
3301	    terminfo fragment corresponding to the pc-style function keys.
3302
3303	<li>fix a case where the checkmark by the "VT220 Keyboard" menu entry
3304	    was not set on startup.
3305
3306	<li>separated two methods for making the cursor blink (menu and
3307	    escape sequence) by using the menu as the primary method and
3308	    XOR'ing the state of the escape sequence against that.
3309
3310	<li>modify logic for enabling blinking cursor via escape sequence as
3311	    well as the related save/restore operations so this is only
3312	    available if the <code>cursorBlink</code> resource was set on
3313	    startup.
3314</ul>
3315
3316<H1><A NAME="xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A></H1>
3317<ul>
3318	<li>change resource settings for color4 and color12, add some discussion
3319	    in <code>XTerm-col.ad</code> (Debian #241717).
3320
3321	<li>add a note in xterm manpage discussing the difference between
3322	    alt- and meta-keys, and the way the latter is used in the
3323	    <code>eightBitInput</code> resource.
3324
3325	<li>add a note in xterm manpage regarding possible conflict between
3326	    resource settings for <code>xterm.vt100.font</code> and
3327	    <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650).
3328
3329	<li>add compile-time customization of <code>backarrowKeyIsErase</code>
3330	    and <code>ptyInitialErase</code> default resource values
3331	    (adapted from OpenBSD CVS).
3332
3333	<li>change parameter of <code>FIONREAD</code> <code>ioctl()</code> call
3334	    from long to int
3335	    (discussion on tech-x11@netbsd.org regarding LP64 by
3336	    John Heasley and Matthias Scheler).
3337
3338	<li>modify configure script options for Athena widgets to work as
3339	    expected for "--without-Xaw3d", etc., (GenToo Bugzilla #53455).
3340
3341	<li>add case to uxterm to accommodate locales ending with "@euro",
3342	    e.g., fr_FR.UTF-8@euro (Debian #255197, report/analysis by
3343	    Matthieu Lagouge).
3344
3345	<li>add special case for VT100 graphic's "box" character (discussion
3346	    with Ben Armstrong).
3347
3348	<li>add missing initialization for bitmap-font sizes needed to make
3349	    fonts menu work with TrueType fonts (report by Ben Armstrong).
3350
3351	<li>save the fontnames for bold fonts that are derived from normal
3352	    fonts, or from the <code>boldFont</code> resource, so the same
3353	    value is restored when switching with the VT Fonts menu (Debian
3354	    #256086).
3355
3356	<li>fix manpage preprocessing (Marc La France).
3357
3358	<li>fix typo in manpage's description of character classes (Debian
3359	    #257073).
3360
3361	<li>modify terminfo to accommodate luit, which relies on G1 being used
3362	    via an ISO-2022 escape sequence (Debian #254316, analysis by
3363	    Juliusz Chroboczek).
3364
3365	<li>modify Makefile.in rule for ctlseqs.txt to work around groff SGR
3366	    misfeature.
3367
3368	<li>modify <code>XTerm.ad</code> to set <code>saveLines</code> default
3369	    to 1024 (Redhat Bugzilla #127132).
3370
3371	<li>add a limit-check in <code>dotext()</code> to prevent infinite
3372	    loop in a corner case of UTF-8 configuration.
3373
3374	<li>update config.guess, config.sub
3375</ul>
3376
3377<H1><A NAME="xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A></H1>
3378<ul>
3379	<li>correct options parsing for <code>-into</code> option so it
3380	    can be combined with <code>-e</code> (Redhat Bugzilla #124518,
3381	    report/patch by James Armstrong).
3382
3383	<li>fix ifdef's for <code>OPT_COLOR_RES2</code>
3384	    so that the fake resource table introduced in
3385	    <a href="#xterm_188">patch #188</a>
3386	    is not compiled if it is empty.
3387	    This happened to work with gcc (report by Joel Konkle-Parker).
3388
3389	<li>reorganize ptydata.c to use one input buffer shared between
3390	    the VTxxx and tek4014 emulators.  In the new scheme, UTF-8
3391	    decoding is performed on characters as they are needed by the
3392	    state machine rather than on buffers as they are read.
3393
3394	<li>work around change in quoting of PROJECTROOT symbol when using
3395	    configure script, from changes made in
3396	    <a href="#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS
3397	    (GenToo Bugzilla #50982).
3398</ul>
3399
3400<H1><A NAME="xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A></H1>
3401<ul>
3402	<li>correct state for values in the range 128-159 after translating
3403	    from UTF-8: this should be ignored unless the user overrides it
3404	    with the <code>allowC1Printable</code> resource (reported by
3405	    Simon Strandgaard).
3406
3407	<li>add configure-script check for nl_langinfo(CODESET), use this to
3408	    replace check of environment variables for UTF-8.
3409
3410	<li>change Makefile.in rules for 256colres.h and 88colres.h so they
3411	    are only made if they do not exist.  The maintainer-clean rule
3412	    will remove these files; they require perl to be made.
3413
3414	<li>remove check in configure script --enable-toolbar that suppressed
3415	    this option when building with Xaw7.
3416
3417	<li>apply fixes to Tektronix widget used for VT100 widget to make
3418	    toolbar work with Xaw7 (XFree86 4.x).
3419</ul>
3420
3421<H1><A NAME="xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A></H1>
3422<ul>
3423	<li>do not call xim_real_init() if <code>openIm</code> resource is
3424	    false (Debian #249025).
3425
3426	<li>minor improvements to built-in line-drawing.
3427
3428	<li>fix a few portability issues with dynamic abbreviation support,
3429	    i.e., did not compile on Tru64.
3430
3431	<li>modify constraints in form used to layout toolbar, to work with
3432	    newer Xaw in XFree86 4.x.
3433</ul>
3434
3435<H1><A NAME="xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A></H1>
3436<ul>
3437	<li>correct table entry for DEL in the ground state, which marked it
3438	    as a printable character from <a href="#xterm_171">patch #171</a>
3439	    (report by D Hugh Redelmeier).
3440
3441	<li>improve fix in <a href="#xterm_186">patch #186</a> for failure in
3442	    xim_real_init() by adding a sleep.
3443
3444	<li>fix a typo in os2main.c
3445	    (XFree86 Bugzilla #1358, report/patch by Frank Giessler).
3446
3447	<li>make escape sequence reporting dynamic colors consistent with the
3448	    logic that sets it; choosing the opposite color when reverse
3449	    video is set (XFree86 Bugzilla #1361, reported by Bradd W Szonye).
3450
3451	<li>modify initialization of 256- and 88-colors so that colors beyond
3452	    16 are normally not X resources.  This works around a hard-coded
3453	    limit in Xt which breaks xterm when 256-colors and luit are both
3454	    configured (report by Noah Friedman).
3455
3456	<li>remove <code>ncv</code> from <code>xterm-256color</code> terminfo
3457	    entry since it is no longer needed (report by Eli Zaretskii).
3458
3459	<li>add "erase2" and "eol2" keywords to <code>ttyModes</code> resource,
3460	    for recent/current FreeBSD.
3461
3462	<li>improve ifdef's for utempter library to omit direct calls to
3463	    <code>setutent()</code> or <code>getutent()</code> (adapted from
3464	    patch by Christian Biere).
3465
3466	<li>add dynamic abbreviation support like Emacs (patch by Tomasz
3467	    Cholewo).  This is ifdef'd with <code>OPT_DABBREV</code>, and
3468	    enabled via the configure script <code>--enable-dabbrev</code>
3469	    option.
3470
3471	<li>fix problem responding to session management events, e.g., which
3472	    would make logging out very slow (patch by Eddy De Greef, Debian
3473	    #233883).
3474
3475	<li>work around a newer bug in toolbar with XFree86 by forcing menus
3476	    to be fully initialized at startup.  In older versions of XFree86
3477	    and X11R6, it was possible to delay initialization of the menu
3478	    contents until it was popped up.  (The longstanding bug with
3479	    XFree86 4.x layout for toolbar still exists, though).
3480
3481	<li>modify <code>xtermAddInput</code> to work around core dump on
3482	    IRIX64 when initializing scrollbar translations if toolbar is
3483	    compiled-in.
3484
3485	<li>fix some minor conflicts in the 2-character entry names in the
3486	    termcap file.
3487</ul>
3488
3489<H1><A NAME="xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A></H1>
3490<ul>
3491	<li>change xterm version string to use <code>__vendorversion__</code>
3492	    where that is available, and "XTerm" otherwise.
3493
3494	<li>improve description of <code>utf8</code> resource in manpage
3495	    (Debian #179407).
3496
3497	<li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS to
3498	    handle <code>-D</code> options that define string values, e.g.,
3499	    for <code>XVENDORNAME</code>.
3500
3501	<li>modify configure macro CF_IMAKE_CFLAGS to allow (if
3502	    <code>$PATH</code> is set accordingly) to use the
3503	    <code>xmkmf</code> script within an X build tree.
3504
3505	<li>add missing <code>#undef OPT_SESSION_MGT</code> to xtermcfg.hin
3506	    to make the configure script's --disable-session-mgt option work.
3507
3508	<li>update config.guess, config.sub
3509</ul>
3510
3511<H1><A NAME="xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A></H1>
3512<ul>
3513	<li>change reset on <code>DECSCL</code> to a soft-reset (appears some
3514	    DEC manuals have errors).
3515
3516	<li>add a section to ctlseqs.ms elaborating on normal/alternate screens.
3517
3518	<li>modify initialization of Acolors[] so that any XtDefaultForeground
3519	    or XtDefaultBackground values are translated as in the Tcolors[],
3520	    to use the window's foreground/background colors.  This affects
3521	    the <code>colorBD</code> and similar resources which normally have
3522	    no explicit color assigned.
3523
3524	<li>modify initialization of Tektronix window so that control sequences
3525	    setting its color before the window is popped up will apply to
3526	    its initial colors.
3527
3528	<li>add control sequence to set Tektronix window's text-cursor.
3529
3530	<li>modify initialization of terminal colors, e.g., mouse pointer and
3531	    text cursor, to treat <code>XtDefaultForeground</code> and
3532	    <code>XtDefaultBackground</code> values as the actual foreground
3533	    and background colors of the terminal rather than white and black
3534	    (Debian #241717).
3535
3536	<li>remove an incorrect comparison against <code>PTYCHARLEN</code> in
3537	    parsing the <code>-S</code> option (report by Michael B Taylor).
3538
3539	<li>minor restructuring of terminfo/termcap files, having noted some
3540	    packager's customizations which caused the structure to be
3541	    confused.
3542
3543	<li>eliminate an isolated use of MIN/MAX in charproc.c
3544
3545	<li>replace <code>XtExtdefaultfont</code> and
3546	    <code>XtExtdefaultbackground</code> by their more familiar
3547	    equivalents
3548	    <code>XtDefaultFont</code> and
3549	    <code>XtDefaultBackground</code>.
3550
3551	<li>replace ifdef's using <code>SCO</code>, <code>sco</code> and
3552	    <code>SCO325</code> with <code>__SCO__</code>
3553	    (XFree86 Bugzilla #1301, Kean Johnston).
3554	    But ensure that it still builds on platforms where this symbol
3555	    is not defined.
3556
3557	<li>add <code>scoFunctionKeys</code> resource, to match manpage.
3558
3559	<li>update manpage discussion of menus and related resources.
3560
3561	<li>enable utmpx support for NetBSD 1.6C and newer (patch by
3562	    Matthias Scheler).
3563
3564	<li>add a note in the manpage discussing xterm's treatment of open
3565	    file-descriptors (request by Dan Shearer).
3566
3567	<li>modify <code>Help()</code> to make "xterm -h" write to standard
3568	    output rather than standard error (patch by Bram Moolenaar).
3569
3570	<li>check for type of failure in xim_real_init() to avoid looping when
3571	    the problem is an unsupported input method rather than a failure
3572	    to connect to the XIM server.  Problem was introduced in
3573	    <a href="#xterm_175">patch #175</a> (XFree86 Bugzilla #1306).
3574
3575	<li>modify <code>Imakefile</code> to remove dependency of "install"
3576	    target on the <code>xterm</code> executable to make installs from
3577	    tree without attempting to rebuild anything (commit by David Dawes,
3578	    report/patch from Lee Olsen).
3579
3580	<li>remove call to <code>ShowCursor</code> from
3581	    <code>SetCursorBlink()</code> since that is redundant,
3582	    and can cause display glitches if the cursor is already
3583	    blinking (XFree86 Bugzilla #1158, patch/report by Andreas Schwab).
3584</ul>
3585
3586<H1><A NAME="xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A></H1>
3587<ul>
3588	<li>fix tcap-query logic for the backspace key (XFree86 Bugzilla #1233,
3589	    report/patch by Anton Kovalenko).
3590
3591	<li>add test-scripts resize.pl and tcapquery.pl
3592
3593	<li>add translation to ASCII of commonly-used characters that groff
3594	    translates to Unicode, when the font in use does not provide the
3595	    corresponding glyphs (Debian #219551).
3596
3597	<li>modify RequestMaximize(), which performs maximize/restore via
3598	    control sequences, to account for window-frame (patch by
3599	    Jess Thrysoee).
3600
3601	<li>improve pattern used in <code>uxterm</code> to check for UTF-8
3602	    locale, e.g., for HPUX (patch by H Merijn Brand).
3603
3604	<li>add <code>-fd</code> option and resource
3605	    <code>faceNameDoublesize</code> to specify double-wide fonts with
3606	    Xft (adapted from patch by Zarick Lau).
3607
3608	<li>change a couple of resource classes from "Boolean" to specific
3609	    values: <code>freeBoldBox</code>, <code>forceBoxChars</code>.
3610
3611	<li>add resource <code>showMissingGlyphs</code> to outline places on
3612	    the screen where a font lacks the corresponding glyph.
3613
3614	<li>add resource <code>showBlinkAsBold</code> to control whether
3615	    blinking text should be shown as bold or actual blinking text.
3616
3617	<li>improve logic in ShowCursor() to avoid repainting the cursor when
3618	    it is already visible, e.g., in response to the DECTCEM escape
3619	    sequence.  This also addresses XFree86 Bugzilla #1158.
3620
3621	<li>implement blinking text, using the timer for blinking cursor.
3622
3623	<li>modify FreeType support to allow resizing the font, in the same
3624	    ways the window can be resized if fixed fonts are used.  The
3625	    relative font sizes are derived from the fixed font sizes.
3626
3627	<li>add menu items and corresponding actions for switching on/off
3628	    the UTF-8 mode and Xft (TrueType) support.
3629
3630	<li>add logic to handle switching UTF-8 mode on/off.  It worked if
3631	    the escape sequences were flushed, but if data was mixed in with
3632	    the same write, some were not handled properly (report by
3633	    Nicolas George).
3634
3635	<li>modify to allow turning UTF-8 mode on/off via escape sequence even
3636	    if <code>-wc</code> option was not given at startup (patch by Peter
3637	    Berg Larsen).
3638
3639	<li>amend fix for XFree86 Bugzilla #981, adjusting for savedlines value
3640	    (report by Tim Adye).
3641
3642	<li>fix a typo in computing relative font size (Jess Thrysoee).
3643</ul>
3644
3645<H1><A NAME="xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A></H1>
3646<ul>
3647	<li>improve configure-script checks for FreeType and related libraries,
3648	    using <code>xft-config</code> or <code>freetype-config</code>
3649	    scripts when available.
3650
3651	<li>fix configure-script check for <code>SYSV</code> definition by
3652	    ensuring whether <code>sys_errlist[]</code> is declared, and by
3653	    modifying the test program to include <code>X11/Intrinsic.h</code>
3654	    to check that <code>wchar_t</code> is declared consistently (report
3655	    by H Merijn Brand).
3656</ul>
3657
3658<H1><A NAME="xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A></H1>
3659<ul>
3660	<li>correct logic for configurations that may attempt to open both
3661	    old/new-style pseudoterminals.  In this case, the old-style are
3662	    preferred.  Logic was broken in <a href="#xterm_145">patch #145</a>
3663	    (XFree86 Bugzilla #997, report/patch by Kean Johnston).
3664
3665	<li>modify handling of <code>eightBitInput</code> resource in UTF-8
3666	    mode to translate the value into UTF-8.  Otherwise an illegal
3667	    UTF-8 code is sent to the application (report by Bram Moolenaar).
3668
3669	<li>modify <code>uxterm</code> script to interpret help and version
3670	    options so xterm does not always create a window when the user
3671	    requests this information (Debian #223926).
3672
3673	<li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla #981).
3674
3675	<li>modify DECSCL to perform a hard reset (RIS) as per DEC manuals.
3676	    Extended DECSCL to accept parameters for vt4XX and vt5xx terminals.
3677
3678	<li>correct logic for ANSI conformance level escape sequences, which
3679	    were confused with DEC conformance level escape sequences.
3680
3681	<li>correct state for vt52 shift-in/shift-out, which was not reset
3682	    properly after <a href="#xterm_171">patch #171</a>.
3683
3684	<li>correct handling of graphics characters for vt52 mode, which did
3685	    not display line-drawing characters after G1 fix from
3686	    <a href="#xterm_182">patch #182</a>.
3687
3688	<li>fixes for configure script to work with current Cygwin headers
3689	    and libraries.
3690
3691	<li>modify <code>Imakefile</code> to put the current directory at the
3692	    beginning of the include searchpath (patch by David Dawes).
3693</ul>
3694
3695<H1><A NAME="xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A></H1>
3696<ul>
3697	<li>correct logic for <code>metaSendsEscape</code> resource to allow
3698	    for the meta-right key to be tested.  Improve check for meta/alt
3699	    modifiers by dropping the assumption that a keysym is associated
3700	    with only one modifier, and by ignoring NoSymbol entries in the
3701	    xmodmap data (XFree86 Bugzilla #924, patch by David Dawes).
3702
3703	<li>correct wrapping logic for line-drawing characters written in
3704	    non-UTF-8 mode of xterm build for wide-characters (XFree86 Bugzilla
3705	    #918, report/patch by J&#x00fc;rgen Keil).
3706
3707	<li>improve manpage description of resources, in particular the
3708	    <code>utf8Fonts</code> class (XFree86 Bugzilla #905).
3709
3710	<li>add definitions to compile with glibc-based GNU/Hurd, GNU/KFreeBSD
3711	    and GNU/KNetBSD (XFree86 Bugzilla #893).
3712
3713	<li>compiler-warning fixes (patch by Christian Biere).
3714
3715	<li>add README.i18n (Tomohiro Kubota).
3716
3717	<li>correct initialization of G1 character set mapping, which used
3718	    line-drawing set as a result of confusion between "DEC Supplemental
3719	    Graphic" and "DEC Special Graphic" character sets
3720	    (see <a href="#xterm_34">patch #34</a> regarding DECSTR).
3721
3722	<li>correct ifdef in main.c for variable utret (patch by
3723	    Bernhard Rosenkraenzer).
3724
3725	<li>document in xterm's manpage how to use XFree86 ":unscaled" keyword
3726	    to suppress scaling of bold fonts.
3727
3728	<li>when deriving bold fontname from normal fontname, use the normal
3729	    font's average width to avoid for example selecting 7x13bold
3730	    from an 8x13 normal font (Debian #107769).
3731</ul>
3732
3733<H1><A NAME="xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A></H1>
3734<ul>
3735	<li>implement <code>boldMode</code> for wide-character logic in
3736	    <code>drawXtermText()</code> (report by Michael Schroeder).
3737
3738	<li>modify <code>UXTerm.ad</code> resource file to include
3739	    "XTerm-color" rather than "XTerm", in case the latter file contains
3740	    no color resource definitions, e.g., after <a
3741	    href="#xterm_180">patch #180</a>.
3742
3743	<li>add action <code>load-vt-fonts()</code> and configure option
3744	    <code>--enable-load-vt-fonts</code> which allows users to define
3745	    additional sets of VT-fonts which can be loaded at runtime.
3746
3747	<li>add logic to wide-character support which attempts to load fonts
3748	    specified by <code>utf8Fonts</code> subresources at startup.  The
3749	    subresources have the same names as the fonts which they replace,
3750	    e.g., <code>font</code>, <code>font1</code>, etc., so that the
3751	    ISO-10646-1 fonts can be specified in the <code>XTerm</code>
3752	    app-defaults file (adapted from patch by Tomohiro Kubota).
3753
3754	<li>improve Set Font escape string handling by making the relative
3755	    settings apply to the size of the font, as in shift keypad
3756	    plus/minus rather than the menu index.
3757
3758	<li>simplify parameter passing for the <code>set-vt-font</code> action
3759	    and related code.
3760
3761	<li>cleanup some include-ordering, moving some recently-added hardcoded
3762	    stuff into xterm.h where it will not interfere with the configure
3763	    script.
3764
3765	<li>modify <code>xtermAddInput()</code> (see note on augmentation in <a
3766	    href="#xterm_158">patch #158</a>) to use the complete set of
3767	    default keyboard translations so that one can use shifted pageup,
3768	    wheel mouse, etc., while the mouse pointer is over the scrollbar.
3769	    (Debian #178812).
3770
3771	<li>make save/restore mode controls apply to show/blink cursor states.
3772
3773	<li>add escape sequence to start/stop blinking cursor, which allows
3774	    implementing <code>cvvis</code> terminfo capability (request by
3775	    Nate Bargmann).
3776
3777	<li>add <code>indp</code> and <code>rin</code> to terminfo entry.
3778
3779	<li>fix an out-of-bounds array reference in ScrnRefresh() for wide
3780	    characters (report by Dan Harnett, patch by Todd Miller).
3781	    This bug dates from <a href="#xterm_141">patch #141</a>.
3782</ul>
3783
3784<H1><A NAME="xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A></H1>
3785<ul>
3786	<li>several fixes for rendering using Xft via option <code>-fa</code>:
3787	  <ul>
3788	  <li>translate Unicode values, i.e,. from UTF-8 output to xterm, for
3789	      line-drawing to xterm's internal code, etc., since TrueType fonts
3790	      generally do not have either set of line-drawing glyphs.  xterm
3791	      can draw these directly (report by Abigail Brady).
3792	  <li>pass 16-bit values rather than 8-bit values to
3793	      xtermXftDrawString() to allow for wide-characters.
3794	  <li>remove spurious check for <code>colorBDMode</code> resource in
3795	      logic that does bold fonts.
3796	  <li>implement underlining.
3797	  </ul>
3798
3799	<li>patches by Ilya Zakharevich:
3800	  <ul>
3801	  <li>improve drawXtermText() by making the recursive calls
3802	      communicate through arguments, and not through saving/restoring
3803	      global variables.
3804
3805	  <li>make double-width characters work with <code>-u8</code> option.
3806
3807	  <li>modify lookup of double-sized fonts by checking for a match
3808	      ignoring x/y resolution if the first check fails.
3809	  </ul>
3810
3811	<li>make height of TrueType fonts match ascent+descent (patch by
3812	    Keith Packard).
3813
3814	<li>correct configure-script check for imake $CFLAGS, which did not
3815	    check properly if imake was not available.
3816
3817	<li>correct install rule in Makefile.in for <code>uxterm</code>, which
3818	    was attempting to strip the script (newsgroup posting by Fernan
3819	    Aguero).
3820
3821	<li>correct AF/AB strings in termcap for xterm-256color and
3822	    xterm-88color entries (report by Josh Howard).
3823
3824	<li>update wcwidth.c to incorporate changes from Markus Kuhn's
3825	    2003-05-20 (Unicode 4.0) version of that file.
3826
3827	<li>modify <code>scroll-back</code> and <code>scroll-forw</code>
3828	    actions to accept an adjustment value, e.g.,
3829	    <pre>
3830	      <code>scroll-back(1, page-2)</code></pre>
3831	    to scroll back by 2 lines less than a page (patch by Greg
3832	    Klanderman).
3833
3834	<li>use color resource setting from Debian package for xterm VT100 widget,
3835	    since the choice of blues provides better contrast.
3836
3837	<li>remove color resources from <code>XTerm.ad</code>, leaving them
3838	    only in <code>XTerm-col.ad</code> (prompted by Debian package for
3839	    xterm).
3840
3841	<li>correct configure script option --enable-pty-handshake (report by
3842	    Paul Gilmartin).
3843
3844	<li>add <code>visualBellDelay</code> resource to modify the length of
3845	    time used for visual bell, for very slow displays or very fast
3846	    computers (reports by Ingo van Lil and Doug Toppin).
3847
3848	<li>correct logic for initializing dynamic highlight color (patch by
3849	    Jess Thrysoee).
3850
3851	<li>add a check for non-zero size in call to <code>XCopyArea()</code>
3852	    to accommodate a Solaris bug.
3853
3854	<li>correct typo in example for character classes in xterm manpage
3855	   (Debian #198910).
3856
3857	<li>link xterm with bind_on_load option on Darwin to work around a
3858	   deadlock in the dynamic loader when a signal is received while
3859	   the dynamic loader is looking up symbols (patches by Rob Braun,
3860	   Torrey Lyons).
3861
3862	<li>modify configure script to avoid using "head -1".
3863
3864	<li>update config.guess, config.sub
3865
3866	<li>modify ifdef's to work around inclusion of types FcChar32 and
3867	   XftCharSpec with FreeType 2.0 (see <a href="#xterm_175">patch #175</a>).
3868
3869	<li>modify the predictable version of the generated logfile name (see
3870	   <a href="#xterm_171">patch #171</a>) to append the process-id rather
3871	   than a random value.
3872
3873	<li>resync with XFree86 CVS
3874	<ul>
3875	   <li>Enable SCO function keys in xterm
3876	   <li>Make Delete key send DEL by default on SCO in xterm
3877	</ul>
3878</ul>
3879
3880<H1><A NAME="xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A></H1>
3881<ul>
3882	<li>modify ifdef's for WTMPX_FILE to allow building on cygwin again.
3883
3884	<li>change the default of pty-handshaking configure option (and related
3885	    default for imake) to assume this feature is needed.
3886
3887	<li>add ifdef's so configure option for XawPlus library works (patch
3888	    by Pavel Roskin).
3889
3890	<li>add <code>$(MAIN_DEFINES)</code> to the variables checked by the
3891	    configure script that may contain information set by imake.  This
3892	    allows xterm to build/run properly using the configure script on
3893	    IRIX64.
3894
3895	<li>add configure check for ".exe" suffix on cygwin.
3896</ul>
3897
3898<H1><A NAME="xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A></H1>
3899<ul>
3900	<li>modify default for configure <code>--enable-pty-handshake</code>
3901	    option to enable it for Solaris (report by Nelson Beebe).
3902
3903	<li>modify <code>in_put()</code> function to call
3904	    <code>PreeditPosition()</code> only when the cursor's position has
3905	    changed.  This addresses report by Stefan Baums of high CPU usage
3906	    while xterm with chinput are running in the background (patch by
3907	    Yong Li).
3908
3909	<li>improved explanation of <code>-ls</code> conflict with
3910	    <code>-e</code> option in xterm manpage (adapted from comments by
3911	    Henning Makholm).
3912
3913	<li>correct comment in terminfo file regarding modifier used for
3914	    <code>kDC</code> (Debian #189764, report by Henning Makholm).
3915
3916	<li>correct/extend some of the keypad description in ctlseqs.ms
3917	    (report by Henning Makholm).
3918
3919	<li>correct keypad-mapping table in input.c so <code>XK_KP_Equal</code>
3920	    works (report by Henning Makholm).
3921
3922	<li>modified to work with CJK double-width (bi-width/monospace) fonts.
3923	    They're similar to Roman Czbora and David Starner's gnuunifonts in
3924	    that Latin letters and numbers have all the same width which is
3925	    exactly the half of the width of East Asian characters.  (patch by
3926	    Jungshik Shin &lt;jshin@mailaps.org&gt;).
3927
3928	<li>add configure option <code>--enable-broken-osc</code> and resource
3929	    <code>brokenLinuxOSC</code> to accommodate scripts which do not
3930	    distinguish between running in the Linux console and running in X.
3931	    Linux console recognizes malformed control strings which start
3932	    with an <code>OSC</code>, but are fixed-length, with no terminator.
3933
3934	<li>add configure option <code>--enable-broken-st</code> and resource
3935	    <code>brokenStringTerm</code> to allow
3936	    user to revert one part of the parsing table corrections from
3937	    <a href="#xterm_171">patch #171</a>.  (reports by
3938	    Matthias Scheler and
3939	    Kirill Ponomarew indicate that someone's
3940	    network firmware sends an <code>&lt;escape&gt;X</code>).
3941
3942	<li>modify configure <code>--disable-imake</code> to provide values
3943	    for <code>OSMAJORVERSION</code>, <code>OSMINORVERSION</code>,
3944	    <code>FUNCPROTO</code> and <code>NARROWPROTO</code> (report by
3945	    Heiko Schlichting).
3946
3947	<li>correct <code>vttests/16colors.sh</code>, which omitted the
3948	    <code>$SUF</code> variable in output strings (patch by Paul
3949	    Gilmartin).
3950
3951	<li>modify shell scripts in <code>vttests</code> directory to attempt
3952	    to use named signals in the <code>trap</code> statement, making
3953	    this portable to OS/390 (report by Paul Gilmartin).  Tested on
3954	    SunOS 4.1.4, which implements only numbers.
3955</ul>
3956
3957<H1><A NAME="xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A></H1>
3958<ul>
3959	<li>fix definition of <code>USE_HANDSHAKE</code>, must be numeric
3960	    (reported by Jens Schleusener).
3961</ul>
3962
3963<H1><A NAME="xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A></H1>
3964<ul>
3965	<li>add configure option <code>--enable-pty-handshake</code> to allow
3966	    one to compile-in support for the pty handshaking logic, and
3967	    resource <code>ptyHandshake</code> to enable or disable it
3968	    (suggested by Ian Collier).
3969
3970	<li>restore <code>USE_HANDSHAKE</code> ifdef removed in
3971	    <a href="#xterm_159">patch #159</a>
3972	    to address Debian #39964.
3973
3974	<li>move ifdef's for ttysize/winsize into xterm_io.h
3975
3976	<li>simplify loop on <code>tgetent</code>, check if the successive
3977	    entries in the lookup table are the same.  That makes xterm do
3978	    one less lookup if there is no "xterm" entry in the termcap file
3979	    (report by Derek Martin).
3980
3981	<li>correct manpage discussion of <code>$TERM</code> and
3982	    <code>$TERMCAP</code> variables, which omitted the Tektronix
3983	    emulation and a note of the final "dumb" fallback.
3984
3985	<li>broaden ifdef for <code>XRegisterIMInstantiateCallback()</code>
3986	    from <a href="#xterm_175">patch #175</a> (XIM fix) to exclude
3987	    non-XFree86 (report by Nelson Beebe indicates this breaks for
3988	    Solaris, IRIX and OSF/1).
3989
3990	<li>correct resource-size for <code>iconFont</code> (this was added
3991	    by X11R6.3).
3992
3993	<li>improve configure check for XKB bell extension, to work around
3994	    inconsistent implementation of this feature (reports by Nelson
3995	    Beebe, Kriston Rehberg and David Ellement).
3996
3997	<li>modify configure-check for <code>tty</code> group to be less
3998	    strict in batch mode (report by Nelson Beebe).
3999
4000	<li>modify to allow building with g++, to use its compiler warnings
4001	    (suggested by Nelson Beebe).
4002
4003	<li>modify <code>dec2ucs[]</code> table to reflect newer codes
4004	    available for scanlines 1, 3, 7, 9 (report by Michael Schroeder).
4005
4006	<li>add configure option for XawPlus library.
4007</ul>
4008
4009<H1><A NAME="xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A></H1>
4010<ul>
4011	<li>fix a SIGSEGV which could occur if xterm is connecting to XIM
4012	    server, and the XIM server is destroyed (patch by Nam SungHyun).
4013
4014	<li>modify to use built-in line-drawing characters for Xft fonts
4015	    (patch by Andrew Tipton).
4016
4017	<li>make menu reflect the state of the <code>tekInhibit</code>
4018	    resource.
4019
4020	<li>make <code>signalInhibit</code> resource work, i.e., disable the
4021	    menu entries that would send signals to, or exit xterm.  This was
4022	    probably broken in X11R5 when logging was disabled (report by Sven
4023	    Mascheck).
4024
4025	<li>changed classes of <code>colorBDMode</code> and similar
4026	    resources that override colors when a video attribute is
4027	    set to <code>ColorAttrMode</code>, to make them distinct
4028	    from <code>ColorMode</code>.  This avoids an unexpected
4029	    rendering of reverse video, for example (report by Paul Fox).
4030
4031	<li>changed class of <code>veryBoldColors</code> to
4032	    <code>VeryBoldColors</code>, since
4033	    <code>ColorMode</code> is associated with boolean resources.
4034
4035	<li>add option <code>-k8</code> and resource
4036	    <code>allowC1Printable</code> to allow users of non-VTxxx
4037	    character sets such as KOI-8 to treat the C1 control area
4038	    (character codes 128-159) as printable rather than control
4039	    characters.
4040
4041	<li>add a null-pointer check for return-value of <code>ptsname()</code>
4042	    in HPUX-specific code (report by David Ellement).
4043
4044	<li>revise the ifdef's used for <code>XKB</code> bell support.  The
4045	    code was using a nonstandard call <code>XkbStdBell()</code>.
4046	    Changed to use <code>XkbBell()</code> (based on patch by
4047	    &lt;derek@signalmarketing.com&gt;).
4048
4049	<li>add a null-pointer check in <code>xtermLoadFont()</code> in case
4050	    there is no wide-bold font (Nam SungHyun).
4051
4052	<li>change <code>Makefile.in</code> to use autoconf's
4053	    <code>bindir</code>, <code>libdir</code> and <code>mandir</code>
4054	    variables (report by Nam SungHyun).
4055
4056	<li>add <code>le</code> to termcap <code>xterm-basic</code> entry.
4057	    Though missing from older termcaps for xterm, some applications
4058	    check for it (report by Matthias Buelow).
4059
4060	<li>modify <code>uxterm</code> script to strip modifiers such as "@euro"
4061	    from the locale setting before adding ".UTF-8" (Debian #179929).
4062
4063	<li>modify the remaining places where tek4014 emulation uses
4064	    <code>XDefineCursor()</code>, to make it work as originally
4065	    implemented, e.g., when switching back to alpha mode.
4066	    Added test-screen in vttest to test this feature properly.
4067</ul>
4068
4069<H1><A NAME="xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A></H1>
4070<ul>
4071	<li>work-around for XFree86 bug which made <code>XDefineCursor()</code>
4072	    on a shell-window no longer work.  The tek4014 emulation used this.
4073	    Use the next lower window (report by Karl Rudolf Bauchspiess).
4074
4075	<li>add a resource setting <code>allowWindowOps</code> to control
4076	    whether the extended window operations should be allowed, e.g.,
4077	    resize, iconify, report window attributes.  This is to accommodate
4078	    people who are not capable of using a pager to view log-files.
4079</ul>
4080
4081<H1><A NAME="xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A></H1>
4082<ul>
4083	<li>reset mouse mode to normal on a full reset.  This does not apply
4084	    to mouse hilite tracking mode, of course (see ctlseqs.ms).
4085
4086	<li>add a time-delay at the point where mouse hilite tracking mode
4087	    choses to not handle X events, to avoid runaway CPU usage
4088	    (report by D Hugh Redelmeier).
4089
4090	<li>check for illegal character in DECUDK string, quit if detected.
4091</ul>
4092
4093<H1><A NAME="xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A></H1>
4094<ul>
4095	<li>fixes to make repainting of 256-color example work properly
4096	  (reports by Abigail Brady and Scott A Crosby).
4097	  <ul>
4098	   <li>set flag in <code>AllocateAnsiColor()</code> to ensure the color
4099	     is allocated once only.
4100	   <li>fix check in <code>ScrnRefresh</code>, which was comparing
4101	     background colors only if the ANSI foreground colors also were set.
4102	  </ul>
4103
4104	<li>merge <code>Error()</code> calls and some <code>exit()</code> calls
4105	  into <code>SysError()</code>, and change that to add the brief
4106	  explanation for each error code which is provided in the manpage.
4107	  Change a few <code>SysError()</code>, calls to avoid using code 1, to
4108	  avoid confusion with exit status from places that do not use
4109	  <code>SysError()</code>.
4110
4111	<li>simplify logic used to open a debug logfile as the standard error.
4112
4113	<li>modify the <code>-e</code> option so that if it fails, xterm will
4114	  check if only one argument follows, e.g., it was quoted, and then
4115	  retry using <code>sh&nbsp;-c</code>.
4116
4117	<li>modify parsing of DECUDK string parameter to allow a comma between
4118	  pairs of hexadecimal digits (Ray Neuman &lt;raymond@one.com.au&gt;
4119	  reports that "real" terminals accept this; perhaps they simply
4120	  ignore unexpected characters).
4121
4122	<li>fix a few problems with the <code>$TERMCAP</code> string generated
4123	  by <code>resize</code>:
4124	  <ul>
4125	   <li>for Bourne shell, add an <code>export</code> command.
4126	     This was missing as far back as X11R5.
4127	   <li>escape exclamation marks, used in xterm's reset string.
4128	   <li>translate literal <code>\177\</code> to "^?".
4129	  </ul>
4130
4131	<li>improve configure check for <code>tgetent()</code> to work when
4132	  <code>$TERMCAP</code> has been set to a specific entry.
4133
4134	<li>modify <code>minstall.sh</code> to use "%" rather than "@",
4135	  to avoid problems with AFS (report by Zdenek Sekera).
4136
4137	<li>list fatal error codes from <code>error.h</code> in the manpage,
4138	  remove unused codes in <code>error.h</code>.
4139
4140	<li>use more explicit wording for manpage list of color resources,
4141	  since at least one user confused the generic names such as "black"
4142	  with the names in rgb.txt (the latter are now used).
4143
4144	<li>minor fix to description of 1003 mouse mode in ctlseqs.ms
4145	  (Larry Riedel).
4146</ul>
4147
4148<H1><A NAME="xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A></H1>
4149<ul>
4150	<li>modify parser tables to improve detection of malformed control
4151	  sequences, making xterm behave more like a real DEC terminal
4152	  (patch by Paul Williams).
4153
4154	<li>update comment in <code>input.c</code> to document
4155	  <code>Meta</code> as a modifier for escape sequences (patch by D
4156	  Roland Walker).
4157
4158	<li>add ifdef'd code for logging option which adds the hostname and a
4159	  timestamp to the generated logfile name.  The ifdef's are setup
4160	  with the configure script (patch by Nelson Beebe).
4161
4162	<li>remove <code>xevents()</code> call from the end of
4163	  <code>BlinkCursor()</code>, to fix an occasional problem
4164	  which caused xterm to pause until a key was pressed.
4165	  The reason for this was that there was no check to ensure that
4166	  there really were events for <code>xevents()</code> to process.
4167	  (patch by Semen A Ustimenko &lt;semenu@FreeBSD.org&gt;).
4168
4169	<li>remove unused mode-params from <code>open()</code> calls that do
4170	  not create a file.
4171
4172	<li>modify configure script to put new items first on
4173	  <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid conflict
4174	  with environment's <em>-I</em> and <em>-D</em> options.
4175
4176	<li>update config.guess, config.sub
4177
4178	<li>resync with XFree86 CVS
4179	<ul>
4180	  <li>fix va_args glitches for xterm/libfontconfig:  0 == (void*)0
4181	    isn't true for all platforms (Egbert Eich).
4182	  <li>initialise ProgramName in xterm's main before referencing it
4183	    (#5473, Peter Valchev).
4184          <li>some cleanup of Imakefile ifdef's (Marc La France).
4185	</ul>
4186</ul>
4187
4188<H1><A NAME="xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A></H1>
4189<ul>
4190	<li>correct an off-by-one allocating data for sorted help message.
4191
4192	<li>modify configure script to check for Xpm library, on which XFree86
4193	  Xaw library depends.
4194
4195	<li>update config.guess, config.sub
4196</ul>
4197
4198<H1><A NAME="xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A></H1>
4199<ul>
4200	<li>modify wording of some options in help message to make them use
4201	  <code>-/+</code> consistently with respect to "on/off" or "off/on".
4202
4203	<li>sort options list which is displayed in help- and syntax-messages
4204	  at runtime to simplify maintenance.
4205
4206	<li>remove support for Amoeba and Minix (Juliusz Chroboczek noted it
4207	  was removed from XFree86 server; there have been no users since
4208	  1996).
4209
4210	<li>add configure script option <code>--disable-session-mgt</code>
4211	  to control whether the session management code should be compiled-in
4212	  (request by H Merijn Brand).
4213
4214	<li>ifdef'd the session-management changes with
4215	  <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which predates
4216	  the related definitions.
4217
4218	<li>fix <code>decode_keyvalue()</code>, which did not properly parse
4219	  multiple settings as needed for the <code>ttyModes</code> resource,
4220	  since it did not skip over the parsed data.
4221
4222	<li>fix an option-parsing conflict between <code>-class</code> and
4223	  <code>-cjk_width</code> (Nam SungHyun)
4224
4225	<li>add a missing null in <code>XtVaSetValues()</code> call used in
4226	  <code>Cleanup()</code> (Nam SungHyun)
4227</ul>
4228
4229<H1><A NAME="xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A></H1>
4230<ul>
4231	<li>improve data reported for control sequence that requests window
4232	  position by taking into account the window decorations, e.g.,
4233	  border and title (patch by Jess Thrysoee &lt;jess@thrysoee.dk&gt;).
4234
4235	<li>add <code>-cjk_width</code> and corresponding resource
4236	  <code>cjkWidth</code> (patch by Jungshik Shin
4237	  &lt;jshin@mailaps.org&gt;).
4238
4239	<li>add <code>-into</code> option, for embedding xterm in a Tcl/Tk
4240	  application (patch by George Peter Staplin &lt;georgeps@xmission.com&gt;).
4241
4242	<li>add simple session management (XSM) client capabilities to xterm.
4243	  So a session manager such as, e.g., xsm, should be able to respawn or
4244	  kill xterms without the help of an SM proxy (like smproxy), which is
4245	  a hack and almost always buggy (patch by David Madore).
4246
4247	<li>fix conflict between ifdef's for <code>OPT_DEC_LOCATOR</code> and
4248	  <code>OPT_READLINE</code> in button.c (reported by Ilya Zakharevich).
4249
4250	<li>fix for inconsistent use of <code>struct utmp</code> versus
4251	  <code>struct utmpx</code> introduced in <a href="#xterm_167">patch #167</a>
4252	  (patches by Paul Gilmartin, Marc La France).
4253
4254	<li>modify logic for <code>metaSendsEscape</code> to allow it to work
4255	  in a setup where the Meta-key is not recognized as a modifier by
4256	  the key-translations logic (discussion of eightBitInput with H.J.Lu).
4257	  Note however that Vincent Lefevre reported this in January).
4258
4259	<li>use null pointer values consistently, rather than literal "0", for
4260	  ending variable-length argument lists, e.g., for
4261	  <code>execlp()</code> (based on patch by Matthieu Herrb).
4262
4263	<li>correct logic of <code>ChangeAnsiColorRequest()</code>, which would
4264	  do a screen repaint after replying to a request for information.
4265
4266	<li>improve scripts in vttests to work with systems whose shells support
4267	  <code>echo -n</code> and have, as does Debian, an unrelated
4268	  <code>print</code> utility.
4269
4270	<li>add vttests/acolors.sh to demonstrate OSC 4, which queries or
4271	  sets ANSI colors.
4272
4273	<li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).
4274
4275	<li>typos in xterm manpage (Jens Schweikhardt)
4276
4277	<li>remove a redundant GCC_UNUSED from InitPopup() (Nam SungHyun)
4278</ul>
4279
4280<H1><A NAME="xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A></H1>
4281<ul>
4282	<li>correct ifdef's for <code>USE_TERMCAP</code> to match cygwin
4283	  configuration.
4284
4285	<li>fix several places in ctlseqs.ms which had no boxes around the
4286	  literal text (report by Ilya Zakharevich).
4287
4288	<li>extend mouse support for readline,
4289	    ifdef'd with OPT_READLINE
4290	    (integrated patch from Ilya Zakharevich).
4291
4292	<li>modify terminfo description to match default for
4293	  <code>modifyCursorKeys</code> resource.
4294
4295	<li>add <code>modifyCursorKeys</code> resource to control how the
4296	  shift- and similar modifiers are used to make a cursor escape
4297	  sequence.  The default makes a modified escape sequence always start
4298	  with CSI and puts the modifier as the second parameter, to avoid
4299	  confusing applications that would interpret the first parameter as a
4300	  repeat count.  The original behavior can be obtained by setting the
4301	  resource to 0 (newsgroup discussion with Stephen J Turnbull,
4302	  Jeffrey Altman).
4303
4304	<li>correct missing initializations for <code>appdefaultCursor</code>
4305	  and <code>appdefaultKeypad</code> resources.
4306
4307	<li>add configure option <code>--enable-luit</code> and ifdef'd the
4308	  luit-related code with OPT_LUIT_PROG.
4309
4310	<li>modify xterm to invoke luit (integrated patch by Tomohiro Kubota)
4311
4312	<li>update wcwidth.c to match Markus Kuhn's 2002-05-18 version.
4313
4314	<li>correct limit-checking in <code>ComputeSelect()</code> to handle
4315	  selections that extend off the visible area; rather
4316	  than modify the parameters to <code>TrackText()</code>, use
4317	  <code>ScrollSelection()</code> to update the highlighting limits.
4318	  (reported by Yegappan Lakshmanan and Nelson Beebe,
4319	   patch by Alexander V Lukyanov).
4320
4321	<li>correct manpage description of <code>tiXtraScroll</code> resource
4322	  (reported by Tony Finch).
4323
4324	<li>changes from OpenBSD:
4325	<ul>
4326	   <li>Make xterm setgid utmp to be able to update utmp even
4327	   with root privileges revoked.
4328	   <li>If not updating utmp, revoke group privileges totally too.
4329	</ul>
4330
4331	<li>changes from NetBSD:
4332	<ul>
4333	 <li>Check that the return value from ttyslot() is greater than 0
4334	  before writing the utmp file.
4335	  Fixes w's "w: Stale utmp entry: &lt;user&gt; &lt;tty&gt; &lt;pty&gt;" errors.
4336	 <li>Use openpty() to deal with new pty naming scheme.
4337	</ul>
4338
4339	<li>add <code>print-redir</code> action and menu entry to allow user to
4340	  switch terminal in/out of printer controller mode.  It appears from
4341	  the manual that a real vt220 would not switch back to normal mode, so
4342	  another mechanism is used (addresses Debian #37517).
4343
4344	<li>check if <code>printerCommand</code> resource string is empty, use
4345	  this to allow user to disable printer function.
4346
4347	<li>trim trailing blanks from resource strings.
4348
4349	<li>check return value from <code>ptsname()</code>, which may return
4350	  null for example if someone has changed the permissions of /dev/pts
4351	  to zero (Debian #121899).
4352
4353	<li>modify OS/2 version to use <code>__UNIXOS2__</code> definition
4354	  rather than <code>__EMX__</code>, related cleanup (patch by Holger
4355	  Veit).
4356
4357	<li>used modified indent 2.0
4358	  (patch <a href="ftp://invisible-island.net/gnu-patches/">20020428</a>)
4359	  to reformat most of the C source files, to simplify maintenance.
4360
4361	<li>fix a couple of places where there were leading tabs on
4362	  symbol-definition lines in Imakefile (Marc La France from report by
4363	  Tony Finch)
4364
4365	<li>add imake variable (TraceXTerm) to allow building debug version
4366	  (Egbert Eich).
4367</ul>
4368
4369<H1><A NAME="xterm_166">Patch #166 - 2002/03/25 - XFree86 4.2.0</A></H1>
4370<ul>
4371	<li>correct a bug in selection: double clicking on a word which
4372	  was partly scrolled off the screen may select that text (report
4373	  by Vincent Lefevre &lt;vincent@vinc17.org&gt;).
4374
4375	<li>implement <code>veryBoldColors</code> resource to control whether
4376	  the corresponding video attribute such as <code>bold</code> is
4377	  displayed when using <code>colorBDMode</code>, etc.  (request by Josh
4378	  Howard &lt;jrh@vicor-nb.com&gt;).
4379
4380	<li>define escape sequences for function keys F21-F35 (patch by Steve Wall).
4381
4382	<li>change the colors for the 256-color model, making them less skewed
4383	  toward black (patch by Steve Wall).
4384
4385	<li>add <code>vt100Graphics</code> resource
4386	  (see <a href="#xterm_115">patch #115</a>,
4387	  based on discussion with Glenn Maynard).
4388
4389	<li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid potential
4390	  incompatibilities between these flavors of Athena widgets.
4391
4392	<li>add configure check for XFree86 4.x Xaw library, whose geometry
4393	  management is broken, to avoid trying to use it for toolbar
4394	  configuration.
4395
4396	<li>updates to configure script from vile and lynx to allow
4397	  configure.in to be compiled with autoconf 2.5x
4398
4399	<li>add a check for null pointer return by <code>ptsname()</code>
4400	  (newsgroup posting from Mike Silva &lt;mikesilva@lucent.com&gt;).
4401
4402	<li>fill in a few details needed to allow UTF-8 mode to switch on/off
4403	  after startup.  This requires that <code>wideChars</code> resource be
4404	  set.  (based on comments in 4 Aug 2001 by Alexey Marinichev
4405	  &lt;lyosha@lyosha.2y.net&gt;).
4406
4407	<li>remove duplicate install rules that make directories, e.g., so installing
4408	  manpage will not create app-defaults directory.
4409
4410	<li>add comment in in <code>do_osc()</code>, reserving cases 30 and 31
4411	  for for Konsole (request by Stephan Binner
4412	  &lt;Stephan.Binner@gmx.de&gt;).
4413
4414	<li>fixes for ctlseqs.ms and xterm.man
4415	  (patch by Werner Lemberg &lt;wl@gnu.org&gt;).
4416
4417	<li>add check for monochrome display, disabling colorMode in that
4418	  case (fixes Debian #134130).
4419
4420	<li>resync with XFree86 CVS
4421	<ul>
4422	   <li>Fix some xterm build warnings on *BSD (patch by David Dawes).
4423	   <li>Only use SA_RESTART in xterm when it's available (patch by Frank Liu).
4424	   <li>Fix incorrect code in signal handlers in most of the clients,
4425	     xterm and xdm not done yet (patch by Matthieu Herrb).
4426	</ul>
4427</ul>
4428
4429<H1><A NAME="xterm_165">Patch #165 - 2002/01/05 - XFree86 4.1.0</A></H1>
4430<ul>
4431	<li>modify <code>uxterm</code> script to strip encoding part from
4432	  environment variable before adding ".UTF-8" (based on Debian
4433	  #125947, but using a more portable solution).
4434
4435	<li>add an assignment statement in VTInitialize() to make
4436	  <code>awaitInput</code> resource work.
4437
4438	<li>use new macros init_Bres(), etc., in VTInitialize() to add trace of
4439	  the initialization of resources.
4440
4441	<li>modify checks for $LC_ALL, related environment variables to ensure
4442	  the resulting strings are nonempty (report by Markus Kuhn).
4443
4444	<li>add an ifdef in charproc.c for num_ptrs variable in case all
4445	  configure options are disabled.
4446
4447	<li>modify definition of getXtermBackground() to avoid negative array
4448	  index warning on Tru64 (report by Jeremie Petit).
4449
4450	<li>improve fix from patch #165 (still Debian #117184, report by Matt
4451	  Zimmerman &lt;mdz@debian.org&gt;)
4452
4453	<li>correct install rule for uxterm in Makefile.in, to handle the
4454	  case where building in a different directory than xterm's source
4455	  (patch by Paul Gilmartin).
4456
4457	<li>documented ANSI.SYS-style cursor save/restore escape sequences
4458	  in ctlseqs.ms, which are in xterm since X11R5.
4459
4460	<li>correct two entries in the default charClass table, which did not
4461	  follow the manpage comment about the character number corresponding
4462	  to the class (patch by Marc Bevand &lt;bevand_m@epita.fr&gt;).
4463
4464	<li>fix a couple of typos in comments in the app-defaults files
4465	  (David Krause &lt;xfree86@davidkrause.com&gt;).
4466
4467	<li>resync with XFree86 CVS
4468	  <ul>
4469	  <li>update language of copyrights in some files to reflect the fact
4470	      that they were reassigned from X Consortium to The Open Group in
4471	      1998.  Note that this xterm source is derived from the 1996
4472	      version from X Consortium, does not incorporate changes made by X
4473	      Consortium or The Open Group after that date, hence we do not add
4474	      The Open Group's 1998 copyright date to related files.
4475
4476	  <li>save/restore <code>errno</code> in signal catcher (patch by Matthieu Herrb).
4477
4478	  <li>modify UXTerm.ad's font5 resource so that xterm can display double
4479	      width characters using a font distributed with XFree86 (Tomohiro Kubota).
4480	  </ul>
4481</ul>
4482
4483<H1><A NAME="xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A></H1>
4484<ul>
4485	<li>correct a case where <code>ptyInitialErase</code> and
4486	  <code>backarrowKeyIsErase</code> resources combine to set
4487	  <code>DECBKM</code> mode, but a <code>reset</code> command would not
4488	  reset xterm to that state, making the erase character revert to ^H
4489	  (Debian #117184)
4490</ul>
4491
4492<H1><A NAME="xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A></H1>
4493<ul>
4494	<li>correct ifdef's for <code>__QNX__</code> and
4495	  <code>USE_SYSV_PGRP</code> in main.c call to <code>tcsetpgrp</code>,
4496	  which broke bash behavior around <a href="#xterm_140">patch #140</a>
4497	  (report/patch by Frank Liu &lt;fliu@mail.vipstage.com&gt;).
4498
4499	<li>modify trace.c to fix missing definition of GCC_UNUSED for
4500	  compilers other than gcc when configured for trace code (report/patch
4501	  by Paul Gilmartin).
4502
4503	<li>change format in TraceOptions() to use long rather than int, since
4504	  the latter could lose precision on 64-bit machines (report/patch by
4505	  Nelson Beebe).
4506
4507	<li>modify xterm manual page and minstall.sh to allow imake rules
4508	  to define location of app-defaults directory (Debian #87611).
4509
4510	<li>review/update list of conflicting preprocesor symbols to remove
4511	  from $CPPFLAGS at the end of the configure script.  In particular,
4512	  this allows one to configure xterm without the utempter library on
4513	  Redhat 7.1 (report/patch by Adam Sulmicki).
4514</ul>
4515
4516<H1><A NAME="xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A></H1>
4517<ul>
4518	<li>correct logic that processes <code>-class</code> option, so that
4519	  a following <code>-e</code> option is handled (Debian #116297).
4520
4521	<li>improve options-decoding to allow <code>-version</code> and
4522	  <code>-help</code> options to be combined (Debian #110226).
4523
4524	<li>add a 10 millisecond delay in event loop when processing
4525	  <code>-hold</code> option, to avoid using too much CPU time
4526	  (Debian #116213).
4527
4528	<li>prefix final program execution in <code>uxterm</code> with "exec"
4529	  to avoid a useless shell hanging around (Christian Weisgerber).
4530</ul>
4531
4532<H1><A NAME="xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A></H1>
4533<ul>
4534	<li>modify logic that resets keypad application mode to avoid doing
4535	   this if there is no modifier associated with the Num_Lock keysym
4536	   (report by John E Davis &lt;davis@space.mit.edu&gt; and Alan W Irwin
4537	   &lt;irwin@beluga.phys.uvic.ca&gt;).
4538
4539	<li>add built-in translation for Control/KP_Separator to KP_Subtract,
4540	   to accommodate users who wish to use xmodmap to reassign the top
4541	   row of the numeric keypad.
4542
4543	<li>correct Imakefile install-rule for <code>uxname</code> script
4544	   (reported by Nam SungHyun &lt;namsh@lge.com&gt;).
4545
4546	<li>resync with XFree86 CVS &ndash; correct typo in <code>&lt;ncurses/term.h&gt;</code>
4547	   ifdef.
4548</ul>
4549
4550<H1><A NAME="xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A></H1>
4551<ul>
4552	<li>modify logic in main.c
4553	    (see <a href="#xterm_145">patch #145</a>) to avoid generating the
4554	    same identifier, for example, for /dev/tty1 and /dev/pts/1, which
4555	    is used to denote an entry in the utmp file (Debian bug report
4556	    #84676),  A similar fix was also sent by Jerome Borsboom
4557	    &lt;borsboom@westbrabant.net&gt; in May, but I overlooked it when
4558	    reviewing bug reports.
4559
4560	<li>add configure check for <code>&lt;ncurses/term.h&gt;</code> to get
4561	    rid of hardcoded <code>__CYGWIN__</code> ifdef in resize.c
4562	    <p>
4563	    NOTE: The CYGWIN port should not be linking <code>resize</code>
4564	    with ncurses.  It appears that the only reason it is, is because
4565	    both the ncurses and termcap ports on that platform are badly
4566	    misconfigured (essential pieces have been removed, etc).  Checking
4567	    for <code>&lt;ncurses/term.h&gt;</code> does not hurt anything,
4568	    since there are some correct installations that are set up that
4569	    way.
4570
4571	<li>add a sample <code>uxterm</code> script, which uses the
4572	    <code>UXTerm</code> application defaults for UTF-8 environments.
4573
4574	<li>undo change to xterm application defaults, since this introduced an
4575	    unnecessary incompatibility.  The intended functionality was
4576	    already addressed by the <a href="#xterm_141">UXTerm</a>
4577	    app-defaults file.
4578
4579	<li>resync with XFree86 CVS
4580	<ul>
4581	<li>Modified xterm app default to use LFD fontnames instead of old type
4582	    (Michael Schroeder).
4583	<li>Fix xterm when XIM is disabled - caused a segfault
4584	    (Tomohiro Kubota).
4585	</ul>
4586</ul>
4587
4588<H1><A NAME="xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A></H1>
4589<ul>
4590	<li>remove an ifdef for <code>USE_HANDSHAKE</code> added in patch
4591	   #158 from the second <code>TIOCSSIZE</code> ioctl call in the
4592	   initialization code.  Paul Gilmartin reports that for Solaris 2.6
4593	   (sparc), stty does not show that xterm sets rows and columns unless
4594	   the second ioctl is executed.
4595
4596	<li>correct treatment of empty parameter list for some OSC strings
4597	   (report by Sami Farin &lt;sfarin@ratol.fi&gt;).
4598</ul>
4599
4600<H1><A NAME="xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A></H1>
4601<ul>
4602	<li>augment key translations for scrollbar widget to ensure that
4603	   keystrokes intended for the text area are not lost if the mouse
4604	   pointer happens to fall on the scrollbar.  This can happen, for
4605	   instance, if the user's <code>app-defaults</code> or
4606	   <code>.Xdefaults</code> file contains a translations resource,
4607	   though it may also happen through unrelated resource settings:
4608	   probably a bug in libXt (reported by Paul Fox
4609	   &lt;pgf@foxharp.boston.ma.us&gt; and Dmitry Yu.  Bolkhovityanov
4610	   &lt;D.Yu.Bolkhovityanov@inp.nsk.su&gt;).
4611
4612	<li>widen ifdef's in xterm.h to define <code>__EXTENSIONS__</code> on
4613	   Solaris, for compilers other than gcc.  This was added along
4614	   <code>_POSIX_C_SOURCE</code> with in <a href="#xterm_151">patch
4615	   #151</a>, but is not sufficient since Sun's compiler does not define
4616	   <code>__STDC__</code> by default (report by Matthias Scheler
4617	   &lt;tron@zhadum.de&gt;).
4618
4619	<li>modify xterm to obtain the closest matching color if an exact color
4620	   is not available, e.g., on 8-bit displays (patch by Steve Wall)
4621
4622	<li>implement "OverTheSpot" preedit type of XIM input
4623	   (patch by Tomohiro Kubota):
4624	  <ul>
4625	  <li>This preedit type is a reasonable compromise between
4626	    simpleness of implementation and usefulness.  "Root" preedit
4627	    type is easy to implement but not useful; "OnTheSpot" preedit
4628	    type is the best in the point of view of user interface but
4629	    very complex.  And more, "OverTheSpot" is the preedit type
4630	    which the most XIM servers support.  Thus, to achieve reasonable
4631	    usability, support of "OverTheSpot" preedit type is needed.
4632
4633	  <li>In "OverTheSpot" preedit type, the preedit (preconversion)
4634	    string is displayed at the position of the cursor.  On the
4635	    other hand, it is XIM server's responsibility to display
4636	    the preedit string.  Thus, it is needed for XIM client (here
4637	    XTerm) to inform the XIM server of the cursor position.
4638	    And more, to achieve good visual proportion, preedit string
4639	    must be written using proper font.  Thus, it is XIM client's
4640	    responsibility to inform the XIM server of the proper font.
4641	    The font must be supplied by "fontset".  Fontset is a set of
4642	    fonts with charsets which are specified by the current locale.
4643	    Since XTerm uses ISO10646 fonts regardless of the current locale,
4644	    the fonts for XIM must be prepared separately.  It is difficult
4645	    to prepare fonts which are similar to XTerm font.  Thus, my
4646	    patch uses a simple way - the default font is "*" which matches
4647	    every fonts and X library will automatically choose fonts with
4648	    proper charsets.  I added "-fx" command option and "ximFont"
4649	    resource to override this default font setting.
4650
4651	  <li>changed the definition of "OverTheSpot" preedit type
4652	    from XIMPreeditPosition|XIMStatusArea
4653	    to XIMPreeditPosition|XIMStatusNothing.
4654	    This matches the behavior of other programs such as
4655	    Rxvt, Kterm, Gedit.
4656
4657	  <li>A tiny XIM bugfix is also included.  By calling XSetLocaleModifiers()
4658	    with parameter of "", it can consier XMODIFIERS environmental
4659	    variable which is a standard way for users to specify XIM server
4660	    to be used.
4661	  </ul>
4662
4663	<li>adjust configure script to accommodate repackaging of keysym2ucs.c
4664	  as include-file for xutf8.c (patch by Tomohiro Kubota).
4665
4666	<li>add the <code>UXTerm</code> app-defaults file to makefile install
4667	  rules (request by Juliusz Chroboczek).
4668
4669	<li>correct logic in <code>get_termcap()</code>, which returned false
4670	  if the <code>tgetent()</code> call indicated that xterm was linked
4671	  with terminfo.  Although the <code>$TERMCAP</code> variable cannot be
4672	  adjusted in this case, xterm still needs information from this call
4673	  to extract data to initialize the erase-mode when the
4674	  <code>ptyInitialErase</code> resource is false.
4675
4676	<li>modify <code>ScrollbarReverseVideo()</code> function to cache the
4677	  original border color, so it can restore that when an application
4678	  flashes the screen (Bugzilla #38872).
4679
4680	<li>resync with XFree86 CVS
4681	<ul>
4682	  <li>remove ifdef's for X_NOT_STDC_ENV (patch by David Dawes).
4683	  <li>add Cygwin to special errno handling case in ptydata.c (Alan Hourihane)
4684	  <li>set screen size earlier in initialization, to address a race
4685	    with window manager resizing its clients (Keith Packard).
4686	</ul>
4687</ul>
4688
4689<H1><A NAME="xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A></H1>
4690<ul>
4691	<li>clean up button.c and input.c (patch by Juliusz Chroboczek).  The
4692	  basic idea is to use a single set of APIs in the XTerm core, and put
4693	  a set of workarounds in a separate file.  As you will notice, this
4694	  drastically simplifies parts of the code; in particular, the only
4695	  remaining ifdefs related to the differences between Xutf8 and legacy
4696	  systems are related to the selection provider logic.
4697
4698	  This defines two new files, xutf8.h and xutf8.c, provide some
4699	  half-hearted but fully portable emulation for the three Xutf8*
4700	  functions that XTerm uses.
4701
4702	  Putting these in a separate file will allow people to experiment with
4703	  more complex versions without making the core of XTerm more difficult
4704	  to maintain.
4705
4706	  The functionality of the emulation is as follows.
4707	  <ul>
4708	  <li>Xutf8TextListToTextProperty fully handles XStringstyle and
4709	  XUTF8StringStyle.  It will only generate STRING for XStdICCTextStyle,
4710	  and wil only generate Latin-1 in XCompoundTextStyle (but label it as
4711	  COMPOUND_TEXT, as the spec requires).  (I have hesitated to make this
4712	  function fail for XStdICCTextStyle and XCompoundTextStyle; this might
4713	  be a smart thing to do, in the hope that the selection requestor will
4714	  try UTF8_STRING afterwards; opinions?)
4715
4716	  <li>Xutf8TextPropertyToTextList fully handles STRING and UTF8_STRING.
4717	  It systematically fails for COMPOUND_TEXT.
4718
4719	  <li>Xutf8LookupString will properly handle single-keystroke input for
4720	  the keysyms covered by Markus' keysym2ucs function.  It will not
4721	  handle either compose key input or external input methods.
4722	  </ul>
4723
4724	<li>add an ifdef for <code>SunXK_F36</code>, used in
4725	  <code>xtermcapKeycode()</code> (patch by Mark Waggoner
4726	  &lt;waggoner@ichips.intel.com&gt;).
4727
4728	<li>modify check for login name to try <code>getlogin()</code> and
4729	  $LOGNAME, $USER environment variables to detect if the user has
4730	  logged in under an alias, i.e., an account with the same user id
4731	  but a different name (Debian bug report #70084).
4732
4733	<li>add resource <code>tiXtraScroll</code>, which can be used to
4734	  preserve the screen contents in the scrollback rather than erasing
4735	  it when starting a fullscreen application such as <code>vi</code>
4736	  (patch by Ken Martin &lt;fletcher@catsreach.org&gt;).
4737
4738	<li>two patches by Denis Zaitsev &lt;zzz@cd-club.ru&gt;:
4739	<ul>
4740	  <li>added <code>forceBoxChars</code> resource to control the
4741	    "line-drawing characters" option.
4742
4743	  <li>added <code>freeBoldBox</code> resource, which, when set true,
4744	    suppresses check in <code>same_font_size()</code>, so xterm does
4745	    not attempt to ensure that the bold font is the same size as
4746	    the normal font.
4747	</ul>
4748
4749	<li>change the color class for ANSI colors and similar ones such as
4750	  bold-color, etc., to follow the convention that the classname is the
4751	  instance name with a leading capital (e.g., <code>color0</code> and
4752	  <code>Color0</code> rather than <code>color0</code> and
4753	  <code>Foreground</code>).  There was little use for Foreground as a
4754	  class other than to create occasional confusion and bug reports, most
4755	  recently by Nelson Beebe who reports that it disables colors in xterm
4756	  but not on Linux, which is probably due to a difference in resource
4757	  evaluation order.  A configure script option (--disable-color-class)
4758	  is provided for anyone who did use the older behavior.
4759
4760	<li>fix a signal-handling bug.  When running xterm with
4761	  <code>ksh</code> or similar shell such as bash 2.05, xterm will hang
4762	  and not respond to keystrokes after the user types
4763	  <code>suspend</code>.  Additionally the popup menus do not respond,
4764	  so it is not possible to send SIGCONT to the shell.
4765	  What is happening is that the shell is sending itself SIGSTOP, and it
4766	  is being stopped.  Per specification it also means that the operating
4767	  system is sending SIGCHLD to parent to the bash (XTERM).
4768	  Now the issue is that xterm assumes it cannot happen and it expects
4769	  to receive SIGCHLD only upon <em>termination</em> of its children.
4770	  This causes a deadlock with xterm waiting for the child to
4771	  die, and the child waiting for SIGCONT.
4772	  (report/patch by Adam Sulmicki), analysis/testing by Sven Mascheck
4773	  &lt;sven.mascheck@student.uni-ulm.de&gt;).
4774
4775	<li>correct some inconsistent checks for <code>XtReleaseGC()</code>
4776	  calls in <code>xtermLoadFont()</code> (patch by Nam SungHyun
4777	  &lt;namsh@lge.com&gt;).
4778
4779	<li>updated wcwidth.c and keysym2ucs.c to versions dated 2001/1/12
4780	  and 2001/4/18, respectively from
4781		http://www.cl.cam.ac.uk/~mgk25/ucs/
4782
4783	<li>correction to change from <a href="#xterm_90">patch #90</a>,
4784	  which was intended to
4785	  reset the saved cursor position for normal/alternate screens
4786	  on a soft reset, but actually wiped out all of the saved cursor
4787	  information.  Just reset the saved position for the current screen
4788	  (report by Michael Schroeder).
4789
4790	<li>modify ShowCursor() and HideCursor() so that if the cursor points
4791	  to the second part of a wide character, make the show/hide operate on
4792	  the first position of the wide character (patch by Sven Verdoolaege).
4793
4794	<li>scrolling in the alternate screen just before switching back to the
4795	  main screen can cause extra blank lines to be inserted into the
4796	  scrollback buffer (patch by Paul Vojta
4797	  &lt;vojta@math.berkeley.edu&gt;).
4798
4799	<li>resync with XFree86 4.1.0:
4800	<ul>
4801	  <li>Use TermcapLibrary as -lncurses instead of -ltermcap, fixes
4802	    problem building xterm/resize on Cygwin/XFree86 (Harold Hunt).
4803	  <li>Install xterm.termcap and xterm.terminfo when installing xterm
4804	    (Torrey T. Lyons).
4805	  <li>Fix some build issues on Cygwin/XFree86 (Suhaib Siddiqi).
4806	  <li>Define CBAUD, when it's missing in xterm, on LynxOS
4807	    (Stuart Lissaman).
4808	</ul>
4809</ul>
4810
4811<H1><A NAME="xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A></H1>
4812<ul>
4813	<li>change order of selection-target types to make 8-bit xterm prefer
4814	  UTF8_STRING to COMPOUND_TEXT (patch by Juliusz Chroboczek).
4815
4816	<li>document <code>-fa</code>, <code>-fs</code> command-line options
4817	  and <code>faceName</code>, <code>faceSize</code>
4818	  resources which are used by the freetype library support.
4819
4820	<li>if configure script finds freetype libraries, but imake definitions
4821	  do not have the XRENDERFONT definition, define it anyway.
4822
4823	<li>modify configure script check for freetype libraries to include
4824	  <code>&lt;Xlib.h&gt;</code>, since an older version of the related
4825	  headers relies on this (patch by Adam Sulmicki).
4826</ul>
4827
4828<H1><A NAME="xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A></H1>
4829<ul>
4830	<li>correct return type of in_put() from <a href="#xterm_155">patch #153</a>
4831	  changes, which left it not wide enough for UTF-8 (patch by Bruno Haible).
4832</ul>
4833
4834<H1><A NAME="xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A></H1>
4835<ul>
4836	<li>undo check for return value from <code>pututline</code> (used for
4837	  debugging) since that function does not return a value on Slackware
4838	  3.6.
4839
4840	<li>correct length in ScreenWrite, when rendering invisible text
4841	  (patch by Sven Verdoolaege &lt;skimo@kotnet.org&gt;).
4842
4843	<li>fixes/improvements for the <code>i18nSelection</code> resource
4844	  from patch #153, by Bruno Haible:
4845
4846	<ul>
4847	  <li>add missing initialization for <code>i18nSelection</code>
4848	    resource.
4849
4850	  <li>split-out the non-ICCM aspect of the
4851	    <code>i18nSelection</code> resource as a new resource,
4852	    <code>brokenSelections</code>.
4853	</ul>
4854
4855	<li>add configure check for <code>&lt;time.h&gt;</code> and
4856	  <code>&lt;sys/time.h&gt;</code>, to allow for Unixware&nbsp;7,
4857	  which requires both.  If the configure script is not used, only
4858	  <code>&lt;time.h&gt;</code> will be included as before (report
4859	  by Thanh Ma).
4860
4861	<li>fix redefinition of <code>dup2</code>, <code>getutent</code>,
4862	  <code>getutid</code>, <code>getutline</code> and <code>sleep</code>
4863	  functions on Unixware&nbsp;7 (report by Thanh Ma
4864	  &lt;Thanh.Ma@casi-rusco.com&gt;)
4865
4866	<li>add a fall-back definition for <code>__hpux</code>, which is
4867	  apparently not defined in some compilers on HPUX 11.0 (reported
4868	  by Clint Olsen).
4869
4870	<li>change VAL_INITIAL_ERASE, which is used as a fallback for the
4871	  <code>"kb"</code> termcap string to 8, since that matches the
4872	  xterm terminal description (request by Alexander V Lukyanov).
4873
4874	<li>correct an off-by-one in <code>ClearInLine</code>, which caused
4875	  the erase-characters (ECH) control to display incorrectly
4876	  (patch by Alexander V Lukyanov).
4877
4878	<li>correct escape sequences shown in terminfo for shifted editing
4879	  keys.  The modifier code was for the control key rather than
4880	  the shift key.
4881</ul>
4882
4883<H1><A NAME="xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A></H1>
4884<ul>
4885	<li>increase PTYCHARLEN to 8 for os390, add some debugging traces
4886	  for UTMP functions (patch by Paul Gilmartin).
4887
4888	<li>correct an misplaced brace in <code>SelectionReceived()</code>
4889	  (patch by Bruno Haible).
4890
4891	<li>correct an assignment dropped in <code>SelectionReceived()</code>
4892	  which made it not compile for wide-characters combined with debug
4893	  traces.
4894
4895	<li>correct typo, clarify description of 88- and 256-color controls
4896	  (report by Bram Moolenaar).
4897
4898	<li>correct a typo in ctlseqs.ms which caused DEC Locator control
4899	  sequences using single quote "'" display grave "`" instead (reported
4900	  by Paul Williams, apparently in patch #114).
4901</ul>
4902
4903<H1><A NAME="xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A></H1>
4904<ul>
4905	<li>correct index in inner loop in <code>VTInitI18N()</code> from
4906	  patch #151 changes, which resulted in infinite loop under some
4907	  conditions (report/analysis by Paul Gilmartin).
4908
4909	<li>remove spurious "%|" from terminfo sgr capabilities
4910	  (report/analysis by Adam M Costello, Debian #89222).
4911
4912	<li>add shell script to adjust list of dynamic libraries linked by
4913	  <code>resize</code> when building with the standalone configure
4914	  script.  Otherwise it uses the same list as for xterm, which is
4915	  excessive.
4916
4917	<li>fix a few compiler warnings reported by the 20010305 gcc snapshot.
4918</ul>
4919
4920<H1><A NAME="xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A></H1>
4921<ul>
4922	<li>alter the behaviour of selections in XTerm (patch by Juliusz Chroboczek).
4923	  It is believed to follow the ICCCM + UTF8_STRING to the letter, both
4924	  in UTF-8 and in eight-bit mode.  From his description:
4925	  <ul>
4926	  <li>When compiled against XFree86 4.0.2, the patched XTerm will make
4927	    the selection available as COMPOUND_TEXT, STRING or UTF8_STRING in
4928	    both modes.  It will request selections in the following order:
4929	    <p>
4930	      UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, STRING.<br>
4931	      eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, STRING.
4932
4933	  <li>When compiled against an earlier version of XFree86 (or compiled with
4934	    OPT_UTF8_API=0), it will still obey the ICCCM, but will neither
4935	    request nor provide UTF8_STRING in eight-bit mode, and neither TEXT
4936	    nor COMPOUND_TEXT in UTF-8 mode.
4937	  <li>For compatibility with previous versions of XTerm, a resource
4938	    <code>i18nSelections</code> is provided, please see the manpage for
4939	    details.  However, due to an unexpected combination of ICCCM
4940	    extensions by various bits and pieces of the libraries, interacting
4941	    with previous versions of XTerm will work in many locales even
4942	    without this flag.  (Please do not set this resource to true by
4943	    default, as this would violate the ICCCM.)
4944	  </ul>
4945
4946	<li>improved error checking/reporting in VTInitI18N(), ensuring that
4947	  lack of input method styles is treated distinctly from a mismatch.
4948
4949	<li>remove an incorrect ifdef from patch #141 which suppressed
4950	  overstriking to simulate bold font when xterm was compiled to support
4951	  wide characters (report/analysis by Adam M Costello
4952	  &lt;amc@cs.berkeley.edu&gt;, Debian #76404, Debian #77575).
4953
4954	<li>modify <code>RequestResize()</code> function to save/restore window
4955	  manager hints.  Its call to <code>XtMakeResizeRequest()</code> had
4956	  the undesirable side-effect of clearing window manager hints, e.g.,
4957	  when switching to 132-columns via DECCOLM escape sequence.  Window
4958	  manager hints make it simple to resize xterm in terms of character
4959	  cells rather than pixels (reports by Christian Weisgerber,
4960	  Debian #79939).
4961	  <p>
4962	  This applies to the normal configuration.  When built with toolbar
4963	  support, the hints are applied to a different widget level (more
4964	  work will be needed to make hints work with the toolbar).
4965
4966	<li>fix a redefinition warning for resize.c on OpenBSD (patch by
4967	  Christian Weisgerber).
4968
4969	<li>change resource corresponding to <code>-T</code> option to match
4970	  Xt library's <code>-title</code>, i.e.,  <code>.title</code>
4971	  rather than <code>*title</code> so the command-line options are
4972	  interchangeable as documented (Debian bug report #68843).
4973
4974	<li>add script used from autoconf'd makefile for installing manpages,
4975	  since recent XFree86 changing the way section numbers are represented
4976	  makes the install dependent on extra scripts.
4977
4978	<li>add configure check for freetype libraries and configure option
4979	  --disable-freetype to override this feature.
4980
4981	<li>modify some configure script macros to avoid using changequote(),
4982	  which has been rendered useless in the latest autoconf alpha 2.49c
4983
4984	<li>update config.guess, config.sub to 2001-2-13
4985
4986	<li>remove redundant/contradictory __CYGWIN__ definitions from resize.c
4987
4988	<li>correct manpage typo introduced by X11R6.5 resync.
4989</ul>
4990	Changes from XFree86 4.0.2:
4991<ul>
4992	<li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris to
4993	  make this compile with <code>gcc -ansi -pedantic</code> (report
4994	  by &lt;mark@zang.com&gt;.
4995</ul>
4996
4997<H1><A NAME="xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A></H1>
4998<ul>
4999	<li>move the binding for shifted keypad plus/minus, which invokes the
5000	  <code>larger-vt-font()</code> and <code>smaller-vt-font()</code>
5001	  actions, respectively, into the translations resource (suggested by
5002	  Marius Gedminas &lt;mgedmin@puni.osf.lt&gt;).
5003
5004	<li>modify configure script to support the
5005	  <code>--program-prefix</code>, <code>--program-suffix</code> and
5006	  <code>--program-transform-name</code> options (request by Alison
5007	  Winters &lt;alison@mirrabooka.com&gt;).
5008
5009	<li>fixes for wide/combining characters (Robert Brady):
5010	<ul>
5011	   <li>fix a scrolling / combining characters display anomaly
5012
5013	   <li>fix a problem with double-width characters where if the primary
5014	       font had no box-drawing characters, the right hand half of
5015	       double-width characters was erased (reported by Yao Zhang
5016	       &lt;yzhang@sharemedia.com&gt;).
5017
5018	   <li>fix special case of null byte for key handling in UTF-8 locales.
5019	</ul>
5020
5021	<li>modify logic that compares sizes of normal and bold fonts to be
5022	  more forgiving of the font server's choice of bold font which must
5023	  match the normal font's size.  Now <code>same_font_size()</code>
5024	  compares the height of the fonts rather than individually ascent and
5025	  descent, and allows the bold font to be one pixel smaller than the
5026	  normal font (addresses a report by Alan Citterman
5027	  &lt;alan@mticket.com&gt;, who says that something in patches #146 to
5028	  #148 made xterm more likely to overstrike bold fonts, and indirectly
5029	  Debian bug report #76404, which reports the opposite).
5030
5031	<li>make configure script use $CFLAGS and $CPPFLAGS consistently,
5032	  including removing a chunk from configure.in which attempted to
5033	  save/restore $CPPFLAGS while processing value set by the --x-includes
5034	  option, but lost values set in an intervening AC_CHECK_HEADERS.  This
5035	  change modifies macros CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and
5036	  CF_X_TOOLKIT, as well as removing variables IMAKE_CFLAGS and X_CFLAGS
5037	  from the generated makefile (the AC_CHECK_HEADERS problem was
5038	  reported by Albert Chin-A-Young &lt;china@thewrittenword.com&lt;).
5039
5040	<li>correct a comparison in SELECTWORD case of ComputeSelect(), which
5041	  resulted in a word-selection wrapping past the first column without
5042	  checking the first column's character class (reported by Christian
5043	  Lacunza &lt;celacunza@netscape.net&gt;
5044
5045	<li>correct a logic in UTF-8 mode for selecting double-width characters;
5046	  a combining character was omitted (patch by Markus Kuhn).
5047
5048	<li>add feature to pop (raise) window when a bell is received
5049	  (patch by Gael Roualland &lt;gael.roualland@dial.oleane.com&gt;).
5050
5051	<li>add __NetBSD__ and __OpenBSD__ to special-case in xterm_io.h
5052	  for USE_POSIX_TERMIOS definition (patch by Christian Weisgerber).
5053
5054	<li>move special-case HPUX include for &lt;sys/bsdtty.h&gt; to
5055	  xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for HPUX
5056	  10.20 (report by Bruno Betro).
5057</ul>
5058
5059<H1><A NAME="xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A></H1>
5060<ul>
5061	<li>restructured includes for <code>termios.h</code>,
5062	  <code>termio.h</code> and related definitions for main.c, os2main.c,
5063	  screen.c and resize.c so they will share equivalent definitions in a
5064	  new header <code>xterm_io.h</code>.  This is intended to solve some
5065	  problems mainly for HPUX which appear to arise from inconsistent
5066	  definitions for SIGWINCH- and HAS_LTCHARS-related symbols (reports
5067	  by Bruno Betro, Jeremie Petit and Clint Olsen).
5068
5069	<li>improve usability of double-width fonts by allowing normal fonts
5070	  to be given as double-width (from a patch by Fabrice Bellard
5071	  &lt;bellard@email.enst.fr&gt;).
5072
5073	<li>correct a few compiler warnings in TRACE() macros for
5074	  signed/unsigned variable differences (reported by Clint Olsen).
5075
5076	<li>make configure script use $CFLAGS and $CPPFLAGS more consistently,
5077	  i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC macro.
5078
5079	<li>expanded description of environment variables in manual-page.
5080
5081	<li>modify OPT_TCAP_QUERY feature to always return the termcap or
5082	  terminfo capability string in the response, and to read/write the
5083	  names in hexadecimal form to allow for the special case of termcap's
5084	  <code>k;</code> name (patch by Bram Moolenaar).
5085
5086	<li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so the
5087	  corresponding configure options work (patch by Bram Moolenaar).
5088
5089	<li>resync with XFree86 4.0.1g:
5090	<ul>
5091	  <li>Rewrite Xft library for Render extension/core text and font management
5092	    Change xterm to use new interface (Keith Packard).
5093	</ul>
5094</ul>
5095
5096<H1><A NAME="xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A></H1>
5097<ul>
5098	<li>document logfile options in man-page.
5099
5100	<li>correct spelling of <code>-samename</code> option in help message.
5101
5102	<li>add configure script option <code>--enable-tcap-query</code>
5103	  (request by Bram Moolenaar).
5104
5105	<li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature
5106	    (patch by Bram Moolenaar).
5107	<li>patch by Kiyokazu Suto &lt;suto@ks-and-ks.ne.jp&gt;:
5108	<ul>
5109	  <li>add support for bold font for double width characters.
5110	     The font name may be specified with the command line option
5111	     <code>-fwb</code> or with resource
5112	     <code>wideBoldFont</code> (class <code>WideBoldFont</code>).
5113	  <li>correct underlining of double width character string, which
5114	     was drawn only half width.
5115	  <li>correct binary search of precomposed character table, which
5116	     may return wrong result when <code>int</code> is just 32 bits.
5117	  </ul>
5118
5119	<li>some changes to align terminfo with ncurses 5.2:
5120	<ul>
5121	  <li>remove xtermm description, retaining xterm-mono since the former
5122	    conflicts with ncurses.
5123	  <li>modify initialization and reset strings to avoid putting the
5124	    save/restore cursor operations bracketing changes to video
5125	    attributes, since the changes could be lost when the cursor is
5126	    restored.  This affects xterm-r6 and xterm-8bit (the xterm-xfree86
5127	    entry uses the soft-reset feature which resets scrolling margins
5128	    and origin mode without requiring us to save/restore the cursor
5129	    position).
5130	  <li>make a few entries explicitly inherit from xterm-xfree86 rather
5131	    than xterm: xterm-rep, xterm-xmc, xterm-nrc
5132	</ul>
5133
5134	<li>ensure that sign-extension does not affect <code>ctype</code>
5135	  macros by using <code>CharOf()</code> macro to coerce the parameter
5136	  to an unsigned char.
5137
5138	<li>resync with XFree86 4.0.1d:
5139	<ul>
5140	  <li>Add primitive support in xterm for Xft based fonts (Keith Packard).
5141	    The changes are ifdef'd with <code>-DXRENDERFONT</code>.
5142	</ul>
5143</ul>
5144
5145<H1><A NAME="xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A></H1>
5146<ul>
5147	<li>correct implementation of <code>ptyInitialErase</code>:  the
5148	  value assigned to <code>initial_erase</code> was for the control
5149	  terminal, which is correct as far as it goes.  But there was no
5150	  following test for the pseudo-terminal's erase value, which would
5151	  overwrite the default obtained from the control terminal
5152	  (reported by Christian Weisgerber &lt;naddy@mips.inka.de&gt;).
5153
5154	<li>modify check for printable-characters in OSC string to use xterm's
5155	  ansi_table rather than isprint() macro, to isolate this check from
5156	  locale settings.  This fixes a problem using 8-bit characters to
5157	  set the title (reported by Ricardas Cepas &lt;rch@richard.eu.org&gt;).
5158
5159	<li>modify sample scripts to check for printf before print, since the
5160	  latter is not as well standardized (e.g., on Linux).
5161
5162	<li>updated config.sub, config.guess to reflect changes on
5163	  subversions.gnu.org
5164</ul>
5165
5166<H1><A NAME="xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A></H1>
5167<ul>
5168	<li>correct two instances overlooked from patch #141 which assumed
5169	  UTF-8 mode without checking, causing a core dump in non-UTF-8 mode
5170	  (one instance was reported by Tommi Virtanen &lt;tv@debian.org&gt;).
5171
5172	<li>correct a problem selecting from the scrollback buffer in UTF-8
5173	  mode by changing remaining getXtermCell() calls to XTERM_CELL() as in
5174	  the non-UTF-8 cases (report by Markus Kuhn, patch by Robert Brady).
5175</ul>
5176
5177<H1><A NAME="xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A></H1>
5178<ul>
5179	<li>changes for UTF-8 configuration (Robert Brady):
5180	<ul>
5181	  <li>doublewide characters don't lose their accents when the cursor
5182	    moves onto or from them (a visual bug)
5183
5184	  <li>fix logic in addXtermCombining, which mean that if the low byte
5185	    of a cell's first combining char was 0, a following combining char
5186	    would go into combining slot 1, not 2.
5187
5188	  <li>modify logic for cut-buffers so UTF-8 data is first converted
5189	    to Latin1.
5190
5191	  <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL.
5192
5193	  <li>modify to allow xterm to to show combining characters
5194	   attached to doublewidth characters.
5195
5196	  <li>correct bug in linewrap with -u8 option (reported by
5197	    Andreas Koenig &lt;andreas.koenig@anima.de&gt;).
5198	</ul>
5199
5200	<li>several changes to PTY logic (based on request by Tim Ryan
5201	  &lt;timryan@nortelnetworks.com&gt;).
5202	<ul>
5203	  <li>modify treatment of <code>-S</code> option to to make it work with
5204	    Unix98 PTY's.
5205
5206	  <li>restore sense of IsPts flag in <code>get_pty()</code>, which was
5207	    lost in Unix98 changes.
5208
5209	  <li>use new functions <code>my_pty_id()</code> and
5210	    <code>my_pty_name()</code> to simplify/fix strings used for utmp,
5211	    wtmp identifiers.
5212
5213	  <li>simplify <code>get_pty()</code> function, making it have a single
5214	    return point so its inputs/outputs can be identified.
5215	</ul>
5216
5217	<li>update config.guess and config.sub and scripts to my 20000819 patch,
5218	   adding cases for OS/2 EMX.
5219
5220	<li>add special case for os390 compiler options to configure script
5221	  (patch by Paul Gilmartin)
5222
5223	<li>fix some unused-variable compiler warnings (reported by
5224	  Zdenek Sekera).
5225
5226	<li>split-out some string functions into xstrings.c, to use them
5227	  more consistently among main.c, os2main.c and resize.c
5228
5229	<li>align termcap/terminfo files, adding entries to make them match.
5230	  The termcap entries are necessarily less complete than the terminfo,
5231	  to fit within 1023 character per entry.
5232
5233	<li>add terminfo entry for xterm-sco (SCO function keys).
5234
5235	<li>modify <code>same_font_name()</code> to properly handle wildcard
5236	  introduced in <code>bold_font_name()</code>, making comparison for
5237	  different fonts succeed when only the normal font is specified.  This
5238	  is needed to decide if 1-pixel offset should be used.  (reported
5239	  in a newsgroup by Bart Oldeman &lt;enbeo@enbeo.resnet.bris.ac.uk&gt;)
5240
5241	<li>correct preprocessor line for OPT_WIDE_CHARS in drawXtermText()
5242	  from patch #141 which resulted in overstriking for bold fonts not
5243	  working.
5244
5245	<li>correct Imakefile from 4.0.1c resync so UTF-8 modules are in
5246	  UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 support.
5247</ul>
5248
5249<H1><A NAME="xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A></H1>
5250<ul>
5251	<li>remove a spurious assignment in ScreenWrite() from Robert Brady's
5252	  patch which set a null at the "end" of the buffer to be written.
5253	  That made the autowrap feature write a blank in the first column for
5254	  the non-UTF-8 configuration, rather than the actual character
5255	  (reported by Alan Citterman &lt;alan@mticket.com&gt;).
5256</ul>
5257
5258<H1><A NAME="xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A></H1>
5259<ul>
5260	<li>add a check to ensure that <code>-class</code> command-line option
5261	  is not confused with <code>-c</code> (reported by Paul Townsend
5262	  &lt;aab@aab.cc.purdue.edu&gt;).
5263</ul>
5264
5265<H1><A NAME="xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A></H1>
5266<ul>
5267	<li>correction to precompose scripts, so 0061 + 0300 will now be really
5268	  be displayed as 00C0 (patch by Robert Brady
5269	  &lt;robert@susu.org.uk&gt;).
5270
5271	<li>correct macro ClassSelects() in button.c, used to hide ifdef's for
5272	  OPT_WIDE_CHARS in patch #141 (reported by Andreas Paul
5273	  &lt;paula@informatik.tu-muenchen.de&gt;).
5274
5275	<li>change wcwidth.h to include stddef.h rather than wchar.h, which is
5276	  not present on OpenBSD and FreeBSD (reported by Christian
5277	  Weisgerber and Bram Moolenaar).
5278
5279	<li>newer config.sub and config.guess, from lynx 2.8.4dev.7
5280</ul>
5281
5282<H1><A NAME="xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A></H1>
5283<ul>
5284	<li>changes for doublewidth and combining characters, from
5285	  http://www.ecs.soton.ac.uk/~rwb197/xterm/
5286	  (integrated patch by Robert Brady).
5287	  In this context,
5288	  doublewidth refers to 16-bit character sets which may have glyphs
5289	  occupying two cells.
5290
5291	<li>add command-line option <code>-class</code>, which allows one
5292	  to override xterm's resource class.  Also add resource file
5293	  <code>UXTerm.ad</code>, which simplifies using xterm for both
5294	  8-bit character sets and UTF-8.
5295
5296	<li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram
5297	  Moolenaar, Steve Wall).
5298</ul>
5299
5300<H1><A NAME="xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A></H1>
5301<ul>
5302	<li>modify Makefile.in to circumvent GNU make's built-in suffix rule
5303	  for ".sh" which confuses install.sh with the "make install" target
5304	  (report/patch by Paul Gilmartin).
5305
5306	<li>implement an experimental control sequence which an application may
5307	  use to query the terminal to determine what sequence of characters it
5308	  would send for a given function key.  This is ifdef'd with
5309	  OPT_TCAP_QUERY (request by Bram Moolenaar).
5310
5311	<li>add /usr/local to search path in CF_X_ATHENA configure macro
5312	  to build with Xaw3d on OpenBSD (patch by Christian Weisgerber).
5313
5314	<li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to
5315	  xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate (report
5316	  by Alain Filbois &lt;Alain.Filbois@loria.fr&gt;).
5317
5318	<li>correct a few errors in xterm.man:  font in filename example for
5319	  Tektronix emulation, and description of -nul/+nul command-line
5320	  options (report by Eric Fischer &lt;enf@pobox.com&gt;).
5321
5322	<li>update config.guess and config.sub, from tin and lynx.
5323</ul>
5324
5325<H1><A NAME="xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A></H1>
5326<ul>
5327	<li>back out change to <code>-name</code> command-line option,
5328	  restoring its original behavior (as noted by David Madore, the
5329	  correct interpretation of this option is the application instance
5330	  rather than the application class).
5331</ul>
5332
5333<H1><A NAME="xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A></H1>
5334<ul>
5335	<li>workaround for fixed fonts which are generated from Unicode fonts:
5336	  they omit glyphs for some xterm's less-used line-drawing characters,
5337	  which caused xterm to set a flag telling it to use only its internal
5338	  line-drawing characters.  Do not set the flag (it can be set from the
5339	  popup menu), and xterm will generate only the line-drawing glyphs
5340	  which actually are missing.
5341	  <br>
5342	  Otherwise, when used for large fonts, xterm may generate a 2-pixel
5343	  wide line, which can leave dots on the screen.
5344
5345	<li>restore first line of 256colres.pl, omitted in 4.0c diffs.
5346</ul>
5347<H1><A NAME="xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A></H1>
5348<ul>
5349	<li>make command-line <code>-name</code> option work as documented.
5350	  Apparently this was lost in X11R5 when coding to use
5351	  <code>XtAppInitialize</code>.
5352
5353	<li>limit numeric parameters of control sequences to 65535 to
5354	  simplify checks for numeric overflow.
5355
5356	<li>change index into UDK list to unsigned to guard against numeric
5357	  overflow making the index negative (Taneli Huuskonen
5358	  &lt;huuskone@cc.helsinki.fi&gt;).
5359
5360	<li>change <code>sun&nbsp;function-keys</code> resource name to
5361	  <code>sunFunctionKeys</code> to work around redefinition of the
5362	  token <code>sun</code> by xrdb on Solaris.  Similarly, renamed
5363	  resource <code>sun&nbsp;keyboard</code> to <code>sunKeyboard</code>
5364	  (Steve Wall).
5365
5366	<li>change similar resource names for HP and SCO to avoid potential
5367	  conflict with xrdb symbols on other systems, as well as for
5368	  consistency.
5369
5370	<li>reorganized the install targets in the autoconf'd Makefile, adding
5371	  install-app, install-bin, install-dirs and install-man.  The
5372	  app-defaults class can be overridden by setting the make variable
5373	  'CLASS', simplifying customization of xterm as a Unicode terminal,
5374	  e.g., CLASS=UXTerm.
5375
5376	<li>add limit checks to <code>ClearInLine()</code>,
5377	  <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to
5378	  correct potential out-of-bounds indexing (prompted by Debian bug
5379	  report #64713, which reported a problem with ICH escape sequences).
5380
5381	<li>updates to config.sub and config.guess
5382	  Kevin Buettner &lt;kev@primenet.com&gt; for elf64_ia64
5383	  Bernd Kuemmerlen &lt;bkuemmer@mevis.de&gt; and MacOS X.
5384
5385	<li>for os390, add check for errno set to
5386	  ENODEV on failure to open /dev/tty when there is no controlling
5387	  terminal (patch by Paul Gilmartin).
5388
5389	<li>fixes for building on Digital Unix 4.0 and AIX 4.2
5390	    (patch from H Merijn Brand &lt;h.m.brand@hccnet.nl&gt;).
5391
5392	<li>modify DECRQSS reply for DECSCL to additionally report if the
5393	  terminal is set for 8-bit controls.
5394</ul>
5395
5396<H1><A NAME="xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A></H1>
5397<ul>
5398	<li>add a resource (<code>limitResize</code>)
5399	  limiting resizing via the CSI 4 t and CSI 8 t sequences.
5400
5401	<li>ignore out-of-bounds resize requests, i.e., where sign-extension
5402	  or truncation of the parameters would occur.
5403</ul>
5404
5405<H1><A NAME="xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A></H1>
5406<ul>
5407	<li>remove code introduced in #134 which made some backgrounds bold.
5408
5409	<li>minor correction to format of updated $TERMCAP when adding
5410	  <code>kb</code> capability for <code>ptyInitialErase</code> logic.
5411
5412	<li>improved test for SVR4 definition.
5413</ul>
5414
5415<H1><A NAME="xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A></H1>
5416<ul>
5417	<li>update URL's and mailing addresses, moved to http://dickey.his.com
5418	  and dickey@herndon4.his.com
5419
5420	<li>correct missing quotes in CF_TTY_GROUP configure script macro in
5421	  case the script is run in batch mode.
5422
5423	<li>modify ownership-check of log file to ignore the group ownership.
5424	  Otherwise xterm cannot create logfiles in directories with set-gid
5425	  permissions.
5426
5427	<li>simplify the logic that reads termcap data.
5428
5429	<li>add fallback definition for B9600 in case line speed definition
5430	  for 38400 is missing (report by Jack J Woehr &lt;jwoehr@ibm.net&gt;,
5431	  for OpenBSD 2.6).
5432
5433	<li>fix:  Set highlightColor, and select a region containing the text
5434	  cursor.  If the window loses focus, the cursor becomes hollow, with
5435	  the region inside the cursor being background/foreground, unlike the
5436	  rest of the selection, which is foreground/highlight
5437	  (patch by Ross Paterson &lt;ross@soi.city.ac.uk&gt;).
5438
5439	<li>add configure script tests to define SVR4, SYSV and USE_POSIX_WAIT,
5440	  which enables xterm to compile on Solaris 7 and SCO Openserver
5441	  without imake, though there are still a few features for the latter
5442	  which require <code>sco</code> to be predefined.
5443
5444	<li>patches from Steve Wall:
5445	<ul>
5446	<li>add support for two Sun-specific function keys.  These keys are
5447	  labeled F11 and F12 on Sun Type 5 keyboards, but return SunXK_F36 and
5448	  SunXK_F37.  Support will only be compiled in if the header file
5449	  &lt;X11/Sunkeysym.h&gt; exists and contains the appropriate symbol
5450	  definitions.  The keycodes for the DEC keycodes were arbitrary unused
5451	  codes, but the ones for the Sun keycodes are what cmdtool and
5452	  shelltool actually send.
5453
5454	<li>add <code>colorRV</code> and <code>colorRVMode</code> resources to
5455	  allow specifying a color to use for reverse video, similar to the
5456	  existing UL, BD, and BL modes.
5457
5458	<li>add <code>alwaysUseMods</code> resource, to override check if
5459	  <code>alt</code> or <code>meta</code> modifiers are used in
5460	  <code>translations</code> resource.  Revamped the code to calculate
5461	  the modifier value, and included Meta if alwaysUseMods is TRUE, using
5462	  values 9-16.
5463	</ul>
5464
5465	<li>fixes for os390 (Paul Gilmartin):
5466	<ul>
5467	<li>regularize the definition of CONTROL() and remove an
5468	  acknowledged "trial and error" table.
5469
5470	<li>translate "^?" into A2E(0177) which is the EBCDIC "DEL"
5471	  rather than plain 0177 which is the EBCDIC quotation mark.
5472
5473	<li>modify <code>xtermMissingChar()</code> so that EBCDIC codes 128-159
5474	  are not rendered as blanks by X server running on Solaris, which sees
5475	  those as control characters.
5476
5477	<li>make debugging traces (configure --enable-trace)
5478	 work properly with EBCDIC.
5479	</ul>
5480</ul>
5481
5482<H1><A NAME="xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A></H1>
5483<ul>
5484	<li>add substitutions in autoconf'd Makefile for CPPFLAGS, LDFLAGS and
5485	  AWK (reported by Neil Bird).
5486
5487	<li>correct uninitialized <code>childstat</code> variable from patch
5488	  #131 in <code>creat_as()</code> function, which caused logging to not
5489	  work on Solaris, whose <code>waitpid()</code> function does not
5490	  initialize its parameter.  Add check for EINTR on return from
5491	  <code>waitpid()</code> as well (reported by Neil Bird
5492	  &lt;neil.bird@rdel.co.uk&gt;).
5493
5494	<li>remove a redundant check for working <code>setuid()</code> function
5495	  introduced in patch #132. Greg Smith reports that this does not work
5496	  as intended on os390.
5497
5498	<li>change line speed from 9600bd to 38400bd, to accommodate people who
5499	  mistakenly use $TERM set to <em>vt100</em>, to reduce the effect of
5500	  padding associated with this terminal type.
5501
5502	<li>add configure script check for IRIX 6.5's redefinition of baud
5503	  rates associated with <code>struct termio</code>, to correct a
5504	  situation where the baud rate was initialized to zero (reported by
5505	  Andrew Isaacson &lt;adi@lcse.umn.edu&gt;).
5506
5507	<li>remove unused configure script check for VDISABLE.
5508</ul>
5509
5510<H1><A NAME="xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A></H1>
5511<ul>
5512	<li>undo an incorrect change from patch #113 caused the right scrollbar
5513	  to be positioned incorrectly when re-enabling it (analysis by
5514	  D Roland Walker).
5515
5516	<li>add ctrlFKeys resource, replacing constant for adjusting
5517	  control-F1 to control-F12 to VT220-style F10-F20.  The resource
5518	  changes the constant 12 to a default value of 10 (request by
5519	  Jim Knoble &lt;jmknoble@pobox.com&gt;).
5520
5521	<li>correct ifdef'ing for conflict between definitions in AIX's
5522	  &lt;sys/select.h&gt; and &lt;X11/Xpoll.h&gt; (reported by Clint
5523	  Olsen).
5524
5525	<li>add checks for return-values of getutid(), initgroups() and
5526	  setuid() in main.c, as well as modifying ifdef's for __osf__ to
5527	  include tty-group and WTMP logic (adapted from patch by Paul Szabo
5528	  &lt;psz@maths.usyd.edu.au&gt;)
5529
5530	<li>modify resize.c to build and work on os390 (uses EBCDIC)
5531	  (adapted from patch by Phil Sidler &lt;Phil.Sidler@airborne.com&gt;)
5532
5533	<li>use Ires(), Bres() and Sres() macros to simplify resource list in
5534	  charproc.c
5535
5536	<li>resync with XFree86 4.0a:
5537	<ul>
5538	  <li>correct a typo in os2main.c (Holger Veit, from 4.0a).
5539	</ul>
5540</ul>
5541
5542<H1><A NAME="xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A></H1>
5543<ul>
5544	<li>improve logfile security (integrated patch by Branden Robinson)
5545	  <ul>
5546	  <li>make the <code>creat_as()</code> function more strict by using
5547	    O_EXCL rather than O_APPEND.
5548	  <li>fixes to make DEBUG ifdef's compile/run, including making the
5549	    debug logfile more unique by appending a timestamp to its name.
5550	  <li>include &lt;term.h&gt; in resize.c, to fix a missing-prototype
5551	    warning.
5552	  </ul>
5553
5554	<li>modified <code>creat_as()</code> a little more, retaining the
5555	  ability to append to a logfile If the user specifies the name.
5556	  Also, check if the opened file (which patch #130 ensures is
5557	  owned by the effective user) is not writable by other users.
5558
5559	<li>use <code>creat_as()</code> logic to make tek4014 screen-copy
5560	  more secure (noted by Branden Robinson).
5561
5562	<li>ifdef'd some of Branden's changes to build/work on older machines.
5563
5564	<li>correct missing initialization of the <code>.mode</code> flag in
5565	  <code>ColorRes</code> struct, from patch #129.  This worked on Linux
5566	  because <code>malloc()</code> zeroes memory on that platform
5567	  (reported by Christian Weisgerber).
5568
5569	<li>modify logic for <code>deleteIsDEL</code> resource so it has
5570	  internally 3 states:  unspecified, true and false.  If unspecified,
5571	  the keyboard type determines whether the Delete key transmits
5572	  <code>&lt;ESC&gt;[3~</code> or <code>\177</code>, and the popup menu
5573	  entry reflects the internal state.  Otherwise, the popup menu entry
5574	  overrides the keyboard type (suggested by Dr Werner Fink, to make it
5575	  simpler to set resources that imitate the legacy X11R6 xterm).
5576</ul>
5577
5578<H1><A NAME="xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A></H1>
5579<ul>
5580	<li>modify <code>scroll-forw()</code> and <code>scroll-back()</code>
5581	  actions, adding a third parameter which will direct xterm to ignore
5582	  the action when mouse reporting is enabled.  This is needed for
5583	  the wheel mouse to be used to report to the application rather than
5584	  scroll the window.
5585
5586	<li>add menu entry and action to allow disabling xterm's assumption
5587	  that the current font contains line-drawing characters if the
5588	  font cells 1-31 are nonempty.  Some fonts may have other characters
5589	  (reported by Bruno Betro &lt;bruno@iami.mi.cnr.it&gt;).
5590
5591	<li>add a check in <code>creat_as()</code> to ensure that the user
5592	  really owns the logfile that has been opened.
5593
5594	<li>add logic to implement SCO function-keys.  (This is really
5595	  incomplete, since I intend to revisit this and make xterm able to
5596	  emulate scoansi better than just the function-keys).
5597
5598	<li>add configure script option --enable-sco-fkeys, minor related fixes
5599	  (patch by Dr Werner Fink).
5600
5601	<li>fix typos in ctlseqs.ms (reported by Bram Moolenaar)
5602
5603	<li>fix typo in sinstall.sh default for $TST_PROG (reported by
5604	  Paul Gilmartin &lt;pg@sweng.stortek.com&gt;)
5605</ul>
5606
5607<H1><A NAME="xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A></H1>
5608<ul>
5609	<li>improve initialization of ANSI colors by delaying allocation until
5610	  each color is first used.
5611
5612	<li>remove ifdef that prevented colorBD/colorUL/colorBL resources from
5613	  working when 256-color configuration was built (reported by
5614	  Todd Larason).
5615
5616	<li>fix some minor inconsistencies in terminfo (Debian #58530).
5617</ul>
5618
5619<H1><A NAME="xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A></H1>
5620<ul>
5621	<li>correct logic for <code>oldXtermFKeys</code> resource, fixes a core
5622	  dump when attempting to set it from the command-line (reported by Dr
5623	  Werner Fink).
5624	<li>correct ifdef for meta-sends-escap so configure --disable-num-lock
5625	  builds.
5626</ul>
5627
5628<H1><A NAME="xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A></H1>
5629<ul>
5630	<li>add resource, popup menu entry and control sequence to allow
5631	  changing the Delete key to send either DEL or the VT220-style
5632	  Remove escape sequence.
5633
5634	<li>remove logic for metaSendsEscape that would allow xterm to send
5635	  <code>&lt;ESC&gt;[3~</code> before a function key that would begin
5636	  with <code>&lt;ESC&gt;[3~</code> (request by Christian Weisgerber).
5637
5638	<li>add missing action and documentation for meta-sends-escape.
5639
5640	<li>correct a few typos in ctlseqs.ms (incorrect code for Cyan color)
5641</ul>
5642
5643<H1><A NAME="xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A></H1>
5644<ul>
5645	<li>ensure that xterm will automatically activate the UTF-8 mode whenever
5646	  the name of the locale environment variable suggests that a UTF-8
5647	  locale is in use (patch by Markus Kuhn).
5648	  This will help that by simply setting LC_CTYPE an
5649	  entire system can be switched over to UTF-8, without users having to
5650	  remember the UTF-8 command line options ("-u8", etc.) of the various
5651	  applications.  Command line options and X resource entries can still
5652	  be used to override this default choice.
5653
5654	<li>add old function-keys control sequences and popup menu entry, for
5655	  compatibility with legacy X11R6 xterm.
5656
5657	<li>revert translation of editing keypad "Delete" key to legacy \177.
5658
5659	<li>simplify the color-resource data expressions with macro COLOR_RES,
5660	  for later use in restructuring color initialization.
5661
5662	<li>change encoding of wheel mouse (buttons 4 and 5) to avoid conflict
5663	  with legacy mouse modifiers (suggested by Bram Moolenaar).
5664</ul>
5665
5666<H1><A NAME="xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A></H1>
5667<ul>
5668	<li>make this work on OpenVMS
5669	    (integrated patch by David Mathog).
5670
5671	<li>rename some functions, e.g., <code>Index</code> to
5672	  <code>xtermIndex</code> so that ports such as VMS which link
5673	  externals ignoring case will not have library conflicts (reported by
5674	  David Mathog).
5675
5676	<li>correct logic of <code>do_reversevideo()</code>, which did not
5677	  update the corresponding popup menu check mark (reported by David
5678	  Mathog, this was a detail overlooked in patch #94).
5679
5680	<li>change TRACE macro so semicolon is not within definition, making
5681	  <em>indent</em> and similar programs work better.
5682
5683	<li>add <code>depend</code> rule to Makefile.in
5684
5685	<li>modify logic of boldColors resource to suppress it if an extended
5686	  color control has been used, e.g., for 88-color or 256-color mode
5687	  (patch by Todd Larason).
5688
5689	<li>revise logic that handles menus and input translation for keyboard
5690	  type so only one can be selected at a time.
5691
5692	<li>restore kdch1=\177 for the Sun function-key type, and make the
5693	  the Delete key send DEL (\177) if the oldXtermFKeys resource is set.
5694
5695	<li>rephrase logic and ifdef's for POSIX VDISABLE to avoid preprocessor
5696	  expression that will not compile on NetBSD/x86 1.4.1 (reported by
5697	  Takaaki Nomura &lt;amadeus@yk.rim.or.jp&gt;).
5698
5699</ul>
5700
5701<H1><A NAME="xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A></H1>
5702<ul>
5703	<li>change coding of editing keypad's "Delete" key to
5704	  &lt;escape&gt;[3~, in the default (Sun/PC) keyboard mode.
5705	  This makes the terminfo kdch1 capability independent of the
5706	  coding of the backarrow key, which sends either backspace (8)
5707	  or DEL (127).  The reason for doing this (compatibility with
5708	  the <em>screen</em> program) outweighs the choice of DEL (127)
5709	  which was used in X11R5/X11R6 xterms.  The <em>screen</em>
5710	  program translates whatever matches kdch1 into &lt;escape&gt;[3~,
5711	  even if it happens to be the stty erase character.
5712
5713	<li>add encoding for control/?, to work around xmodmap or key
5714	  translations which may confuse backspace and delete.  A control/?
5715	  will send DEL (127), and a control/H will of course send backspace
5716	  (8).
5717
5718	<li>add encoding for kcbt to &lt;escape&gt;[Z (fixes Debian #54840).
5719
5720	<li>minor correction to logic that encodes Sun and DEC function keys
5721	  to avoid sending an escape sequence if the key symbol is not found
5722	  in xterm's lookup table.
5723
5724	<li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
5725	  is more likely to be implemented when <em>imake</em> configures xterm
5726	  (fixes Debian #55105).
5727
5728	<li>change manpage to make it clearer what codes are sent by the
5729	  backarrow key.
5730</ul>
5731
5732<H1><A NAME="xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A></H1>
5733<ul>
5734	<li>add a note reserving OSC 51 for use in Emacs shell (request by
5735	  Rob Mayoff &lt;mayoff@dqd.com&gt;).
5736
5737	<li>correct a missing backslash in xterm-vt220 termcap.
5738
5739	<li>cleanup remaining quoted includes, preferring bracketed form.
5740
5741	<li>minor configure-script macro updates from tin and vile.
5742
5743	<li>add configure-script option for using utempter library, adapted
5744	  from Redhat 6.1 patch for XFree86 3.3.5
5745
5746	<li>resync with XFree86 3.9.17a:
5747	<ul>
5748	  <li>correction to QNX support (Frank Guangxin Liu)
5749	  <li>some cosmetic changes that did not correct any reported problems.
5750	</ul>
5751</ul>
5752
5753<H1><A NAME="xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A></H1>
5754<ul>
5755	<li>move the suggested wheel-mouse button translations into charproc.c
5756	  to simplify customization.  Correct some minor logic errors in the
5757	  support for buttons 4 and 5, used for wheel mice (reported by
5758	  Bram Moolenaar).
5759
5760	<li>implement <em>metaSendsEscape</em> resource, with corresponding
5761	  control sequence and menu entry.  Like <em>eightBitInput</em>, this
5762	  causes xterm to send ESC prefixing the given key, but applies to
5763	  all keys and is independent of the 8-bit/7-bit terminal setting.
5764	  (requests by Alexander V Lukyanov and Marc Feeley).
5765
5766	<li>correct potential indexing with negative subscript in udk_lookup(),
5767	  (reported by Ian Collier &lt;Ian.Collier@comlab.ox.ac.uk&gt;).
5768
5769	<li>modify configure script that sets TERMINFO_DIR to use ${prefix}
5770	  rather than /usr if the --prefix option was specified (request by
5771	  Zdenek Sekera &lt;zs@sgi.com&gt;).
5772
5773	<li>modify checks for repeat-character control sequence to test the
5774	  character class against xterm's state table, rather than the
5775	  isprint() macro (patch by Alexander V Lukyanov).
5776
5777	<li>change several functions to macros to improve speed
5778
5779	<li>two corrections to simulation of bold font via overstriking:
5780	<ul>
5781	  <li>use clipping to avoid leaving trash at end of the text, and
5782	  <li>add brackets so wide-character logic does not fall-through
5783	    into the overstriking logic (reported by
5784	    Marc Feeley &lt;feeley@IRO.UMontreal.CA&gt;)
5785	</ul>
5786
5787	<li>add several entries to termcap file to make it have the same set
5788	 of aliases as the terminfo file.
5789
5790	<li>scale the color values used for xterm-256color terminfo entry to
5791	 0..1000, as expected by ncurses.
5792
5793	<li>change xterm-r6 terminfo definitions for F1-F4 to match program.
5794
5795	<li>Add QNX/Neutrino support (Frank Guangxin Liu
5796	 &lt;frank@ctcqnx4.ctc.cummins.com&gt;)
5797</ul>
5798<H1><A NAME="xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A></H1>
5799<ul>
5800	<li>change label on "Sun/PC Keyboard" popup menu entry to "VT220
5801	  Keyboard", since the checked state corresponds to VT220 rather than
5802	  Sun/PC.
5803
5804	<li>add configure test CF_UTMP_UT_XSTATUS to handle the variants of
5805	  utmp exit status (reports by Dave Ellement, Jeremie Petit, Tomas
5806	  Vanhala).
5807
5808	<li>amend treatment of ALT key
5809	  (see <a href="#xterm_94">patch #94</a>) so that if ALT is used
5810	  as a modifier in key translations, then no parameter will be sent
5811	  in escape sequences for Sun/PC function keys (request by Dr Werner Fink).
5812
5813	<li>modify default for OPT_I18N_SUPPORT to assume that
5814	  <code>XtSetLanguageProc()</code> is available in X11R5.
5815	  <p>
5816	  Caveat: <code>XtSetLanguageProc()</code> was
5817	  added fairly late in the X11R5 patches, and some vendors shipped
5818	  buggy versions of this function (request by Tomas Vanhala).
5819
5820	<li>correct configure macro CF_SYSV_UTMP to test-link with functions
5821	  consistent with the header, e.g., getutent() for utmp.h and
5822	  getutxent() for utmpx.h (reported by Greg Smith).
5823
5824	<li>modify terminfo entry for <code>xterm-xfree86</code> to reflect
5825	  modifiers for shift and control which (from a patch by Alexander V
5826	  Lukyanov).
5827
5828	<li>modify terminfo entry for <code>xterm-sun</code> to match the
5829	  function-key definitions in ncurses.  The pageup/pagedown and
5830	  related function keys correspond to the Sun keyboard, which does
5831	  not necessarily correspond with X's notion of those keys.
5832
5833	<li>modify treatment of XK_Delete keysym so it transmits parameterized
5834	  VT220-style <code>&lt;ESC&gt;[3~</code> if modifiers (shift, control
5835	  alt) are given (request by Alexander V Lukyanov).
5836
5837	<li>corrected misspelled resource name in command-line option for
5838	  HP function keys.
5839</ul>
5840
5841<H1><A NAME="xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A></H1>
5842<ul>
5843	<li>refine the change to <code>SGR_Background()</code> in patch #119,
5844	  by not flushing the pending scrolling operation if the background
5845	  color is not actually changing.  This combination occurs when using
5846	  color-ls to display a long listing, since each line ends with an SGR0
5847	  which affects only the foreground color.  The unnecessary flushing
5848	  made it noticeably slower (reported by D Roland Walker
5849	  &lt;walker@pobox.com&gt;).
5850
5851	<li>remove obsolete documentation about modifiers which can be returned
5852	  in mouse tracking mode, and modify logic to ignore modifiers other
5853	  than the existing ones, e.g., NumLock (prompted by discussions with
5854	  Christian Weisgerber and Brad Pepers &lt;brad@linuxcanada.com&gt;).
5855
5856	<li>use free bit from obsolete shift-modifier coding of mouse tracking
5857	  button events to encode buttons 4 and 5, e.g., for a wheel mouse
5858	  (requests by Brad Pepers and Bram Moolenaar).
5859
5860	<li>correct a place where the ptyInitialErase logic did not set the
5861	  backarrowKey state, and modify it further to use tgetstr() rather
5862	  than parse the termcap data returned from tgetent() so the
5863	  ptyInitialErase logic will work when xterm is linked with a terminfo
5864	  library (based on a patch by Dr Werner Fink &lt;werner@suse.de&gt;).
5865
5866	<li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration
5867	    (patch by Michael Rohleder).
5868
5869	<li>improve configure script's utmp tests (based on reports by Greg
5870	  Smith for os390, and David Ellement for HPUX).
5871
5872	<li>modify sinstall.sh to use uid=0 rather than 'root' to determine if
5873	  the installer is privileged.  This is needed on some systems since
5874	  more than one account may be privileged (report by Greg Smith).
5875
5876	<li>add an application resource, <code>messages</code> (and a
5877	  corresponding -/+mesg option) which controls the initial permission
5878	  on the terminal:  if messages is set to true (the default), behavior
5879	  is as without the patch; if it is set to false (as per -mesg), the
5880	  terminal is opened in mode 0600, thus producing the effect of the
5881	  <code>mesg n</code> command.  This is useful for users who want to
5882	  redirect all their messages to one particular xterm:  it is more
5883	  pleasant to do this with xterm resources than with explicit calls to
5884	  the <code>mesg</code> program  (patch, description by David Madore
5885	  &lt;david.madore@ens.fr&gt;).
5886</ul>
5887
5888<H1><A NAME="xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A></H1>
5889<ul>
5890	<li>add responses (DA and DSR) for DEC locator mode
5891
5892	<li>add coding for ANSI color to DA response
5893
5894	<li>implement UTF-8 translation for Media Copy (print) operations.
5895
5896	<li>implement vt320 control sequences for Print Composed Main Display
5897	  and for Print All Pages.  The latter directs xterm to print the
5898	  current screen as well as the scrollback buffer.
5899
5900	<li>correct error in _GNU_SOURCE configure test, which left it always
5901	  defined.
5902
5903	<li>add more information, i.e., with strerror for some system calls in
5904	  the main program which may fail due to insufficient permissions
5905	  (prompted by a problem report for <code>-C</code> by Jeremie Petit
5906	  &lt;Jeremie.Petit@digital.com&gt;).
5907
5908	<li>add workaround for conflict between &lt;X11/Xpoll.h&gt; and
5909	  &lt;sys/select.h&gt; on AIX 4.3 (Richard Griswold
5910	  &lt;griswold@acm.org&gt;).
5911
5912	<li>add configure script test to resolve conflict between between
5913	  &lt;X11/Xpoll.h&gt; and &lt;sys/select.h&gt;
5914
5915	<li>modify translation of UTF-8 sequences to reject "overly long"
5916	  variations (patch by Markus Kuhn).
5917
5918	<li>remove <code>utf8controls</code> resource, since Markus' change
5919	  removes the corresponding logic.
5920
5921	<li>correct a case where colors were not rendered properly.  This
5922	  happened when an application inserted several lines, then changed
5923	  colors.  If this was done all in one write, then there would be no
5924	  intervening refresh, and the new color was applied to the pending
5925	  scrolling operation which was awaiting the next refresh (reported
5926	  by Stephane Chazelas &lt;Stephane_Chazelas@Raytheon.com&gt;).
5927
5928</ul>
5929
5930<H1><A NAME="xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A></H1>
5931<ul>
5932	<li>refine configure test for utmp versus utmpx, to build on HP-UX 10.x
5933	  (reported by David Ellement).
5934
5935	<li>move the configure check for <code>const</code> after the check
5936	  for ANSI C compiler options, since those may be required to make
5937	  it work properly on HP-UX.
5938
5939	<li>add configure test for defining <code>_GNU_SOURCE</code>
5940
5941	<li>correction to <em>-hold</em> option, ensure that if data is already
5942	  in the output buffer that it will be displayed before closing the
5943	  PTY.
5944
5945	<li>move the configure checks for setuid install of xterm into a script
5946	  to avoid installing it setuid'd to a non-root user (reported by
5947	  Adam Sulmicki &lt;adam@cfar.umd.edu&gt;).
5948
5949	<li>correct configure script's check for termcap.h to avoid using
5950	  ncurses' version of it on systems that have a working
5951	  <code>tgetent()</code> function.  This is needed to make
5952	  <code>resize</code> work properly.
5953
5954	<li>fix some typography in ctlseqs.ms description of DEC locator events
5955	  (reported by Steve Wall).
5956</ul>
5957
5958<H1><A NAME="xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A></H1>
5959<ul>
5960	<li>change order of tests in configure script for utmp and utmpx
5961	  to test utmpx first, to compile on Solaris (reported by
5962	  Leena Heino &lt;liinu@uta.fi&gt;
5963	  and Patrik Hagglund &lt;patha@ida.liu.se&gt;).
5964
5965	<li>add a configure test for utmp.ut_xtime, needed for SCO Openserver,
5966	  and for lastlog, needed for Redhat 6.0, to refine the utmp/utmpx
5967	  auto-configure.
5968
5969	<li>remove a spurious comma in an #undef (reported by
5970	  David Green &lt;greendjf@cvhp152.marconicomms.com&gt; and
5971	  David Ellement &lt;ellement@sdd.hp.com&gt; both on HP-UX, whose
5972	  compiler does care about syntax).
5973
5974	<li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported by Suhaib
5975	  M. Siddiqi &lt;Ssiddiqi@InspirePharm.Com&gt;, who is told that the
5976	  next Cygnus release will drop that symbol in their next release).
5977
5978	<li>minor cleanup of ifdef's for makeColorPair (patch by Steve Wall).
5979
5980	<li>work around problem observed in XFree86 3.3.5
5981	    (patch by Alexander V Lukyanov, Mozilla #5419).
5982	    From the problem report:
5983	<blockquote>
5984	xterm consumes cpu when selecting text with mouse (holding
5985	down left mouse button) and when a program working under the
5986	xterm outputs something to stdout.
5987	<p>
5988	Easy way to reproduce:<br>
5989		<code>while :; do echo aaa; sleep 1; done</code><br>
5990	(while this runs, select text and hold down left mouse button)
5991	watch cpu load.<br>
5992	release left mouse button - spinning stops.
5993	</blockquote>
5994</ul>
5995
5996<H1><A NAME="xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A></H1>
5997<ul>
5998	<li>modify warning if change-ownership of PTY fails; some
5999	  configurations may not happen to have old-style pty's (reported by
6000	  Bob Maynard).
6001
6002	<li>improve check in configure script for group ownership of installed
6003	  xterm; some platforms use the -g option of ls to toggle group off
6004	  rather than on (reported by Greg Smith).
6005
6006	<li>minor improvement to toolbar geometry, to make it not resizable.
6007	  This still is not satisfactory (but is usable) since the toolbar
6008	  overlaps the xterm widget if the window is resized to make it
6009	  smaller.  It appears that some work is needed for the xterm widget's
6010	  geometry management to make it function properly.
6011
6012	<li>implement configure script tests for utmp, tty group.
6013
6014	<li>implement <em>-hold</em> option, allowing users to retain the
6015	  window after a shell has exited (this is recently an FAQ, but
6016	  prompted by a comment by Joachim Plaettner-Hochwarth
6017	  &lt;plaettner@aem.umn.edu&gt; in comp.unix.programmer, that the IRIX
6018	  winterm provides this option).
6019
6020	<li>add support for DEC Locator control sequences for xterm
6021	  (integrated patch by Steve Wall):
6022	  <pre>
6023
6024		DECEFR, "Enable Filter Rectangle"
6025		DECELR, "Enable Locator Reports"
6026		DECSLE, "Select Locator Events"
6027		DECRQLP, "Request Locator Position"
6028	  </pre>
6029	  This allows the xterm mouse to be used with applications that use the
6030	  DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
6031
6032	<li>improve print action (patch by Matthias Baake).  From his notes,
6033	  <ul>
6034	    <li>Bug 1<br>
6035	      Underlined text is preceded by ESC&nbsp;[0;2m . This should be ESC&nbsp;[0;4m&nbsp;,
6036	      ESC&nbsp;[2m doesn't seem to have any effect. (print.c/send_SGR)
6037
6038	    <li>Bug 2<br>
6039	      The check for the last non-empty column (while (last &gt; 0) ... in
6040	      print.c/printLine) omits the rightmost column of the screen, the loop must
6041	      start with last = screen-&gt;max_col+1 instead of last = screen-&gt;max_col.
6042
6043	    <li>Bug 3<br>
6044	      Any attributes of the first character (and of all immediately following
6045	      characters with the same attributes) are ignored. The variable attr
6046	      (print.c/printLine) should be initialized with 0, not with *a &amp; SGR_MASK.
6047	  </ul>
6048</ul>
6049
6050<H1><A NAME="xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A></H1>
6051<ul>
6052	<li>integrated changes by Steve Wall to implement an 88-color model
6053	  for systems where 256-colors cannot be allocated.
6054
6055	<li>when 256-color configuration is compiled, colored bold and
6056	  underlining is not available; ifdef'd to avoid possible odd effects
6057	  in this case (reported by Steve Wall).
6058
6059	<li>add resource <em>cacheDoublesize</em>, to limit the caching of font
6060	  information for double-sized characters.  This addresses a problem
6061	  reported by Aryeh Koenigsberg for X terminals with limited font
6062	  memory.
6063
6064	<li>modify treatment of line-drawing characters in UTF-8 mode so that
6065	  the Unicode values are used rather than the C0 codes for storing the
6066	  translated characters (request by Markus Kuhn).
6067</ul>
6068
6069<H1><A NAME="xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A></H1>
6070<ul>
6071
6072	<li>add configure script checks for Athena headers and libraries under
6073	  /usr/contrib to work on HPUX (reported by several people:
6074		David Nixon &lt;djn@csc.liv.ac.uk&gt;
6075		Aryeh Koenigsberg &lt;aryeh.koenigsberg@telrad.co.il&gt;
6076		Johannes M&#x00E4;hner &lt;johanm@camline.com&gt;
6077		Andrew Gaylard &lt;andrew.gaylard@bsw.co.za&gt;).
6078
6079	<li>add check to configure script if xterm is installed setgid rather
6080	  than setuid, since wtmp and utmp may be installed with group-writable
6081	  permissions other than root (based on Debian bug report #7112 by Bo
6082	  Branten &lt;bosse@ing.umu.se&gt;).
6083
6084	<li>rewrote logic that removes data from termcap entry, e.g., for
6085	  titeInhibit, to make it less likely to remove the wrong data.
6086
6087	<li>correct logic which checks for missing characters used for line
6088	  drawing.  The 0 character was tested unnecessarily, leading to
6089	  some inefficiency when rendering.
6090
6091	<li>change termcap capability which is used as input or output of
6092	  ptyInitialErase logic from <em>kD</em> to <em>kb</em>.
6093	  Christian Weisgerber &lt;naddy@mips.rhein-neckar.de&gt; pointed out
6094	  in effect that <em>kD</em> (in terminfo <em>kdch1</em>) should
6095	  correspond to the control sequence for <em>dch1</em>, which deletes
6096	  from the current position toward the right.
6097
6098	<li>check for failure to change ownership of the PTY device and warn
6099	  when xterm is running setuid'd to root.  This was reported to happen
6100	  on the FreeBSD/NetBSD/OpenBSD systems as a result of the chflags()
6101	  call.
6102
6103	<li>add xterm-noapp terminfo entry to illustate a nominally
6104	  bash-compatible terminal description.
6105</ul>
6106
6107<H1><A NAME="xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A></H1>
6108Several fixes.  The main one is a first draft of pulldown menus.  It's not
6109complete (I have some minor/annoying geometry problems to correct), but is
6110usable.  Once it's complete I plan to add a menu to support additional
6111selections that won't fit on the current popup menus.  Also, this fits into my
6112longterm plan to allow configuring with Motif libraries.
6113
6114<ul>
6115	<li>correct error in input conversion for NRC mode (reported by
6116	  Stefan Traby &lt;stefan@sime.com&gt;).
6117
6118	<li>fix initialization of num_lock data in Misc struct (since those
6119	  fields of the reference widget aren't initialized), and add logic to
6120	  deal with XVision whose NumLock key does not transmit but does alter
6121	  keypad state.
6122
6123	<li>correct a missing return-value in get_pty(), for SCO
6124
6125	<li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br>
6126	  #define VAL_INITIAL_ERASE A2E(127)
6127
6128	<li>correct foreground color within cursor outline when the
6129	  window is unfocused (reported by Stephane Chazelas).
6130
6131	<li>corrected position of scrollbar set in ResizeScrollBar(), which
6132	  left it positioned incorrectly if the right scrollbar were enabled
6133	  from the popup menu but was not initially enabled.
6134
6135	  <p>
6136	  I have noticed some additional problems with right-scrollbar on
6137	  X11R5 which I will correct later.
6138
6139	<li>integrate changes by Jean-Claude Michot for QNX from XFree86 3.3.4c
6140
6141	<li>add resources menuBar/MenuBar, menuHeight/MenuHeight for later
6142	  use in toolbar geometry.
6143
6144	<li>add configure option --enable-toolbar
6145
6146	<li>add missing definition to make ziconbeep logic not compile-in when
6147	  configure script disables it.
6148
6149	<li>add configure-check for input-method support in X libraries
6150</ul>
6151
6152<H1><A NAME="xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A></H1>
6153<ul>
6154	<li>add null-pointer check to FlushLog(), fixes a core dump when both
6155	  -l and -lf options are used when xterm is configured with wide-character
6156	  support.
6157
6158	<li>remove "ISO" case for SD, which was due to a typographical error in
6159	  ECMA-48 (reported by Paul Williams &lt;paul@celigne.co.uk&gt; for
6160	  vttest).
6161
6162	<li>add "FILES" section to manpage.
6163
6164	<li>generate header file to initialize default resources for colors
6165	  16-255.
6166
6167	<li>fixes for os390 (Greg Smith):
6168	<ul>
6169	  <li>add README.os390
6170
6171	  <li>use the pty_search() function to find an available pty/tty pair.
6172
6173	  <li>move E2A() call out of getXtermCell() to SaveText() function
6174	      so it will be available in all configurations.
6175	</ul>
6176
6177	<li>patches by Todd Larason:
6178	<ul>
6179	  <li>enable SGR 48 5 in ISO color mode, not just 256 color mode
6180
6181	  <li>change configure's --disable-256-color option to
6182	    --enable-256-color, to match its effect
6183
6184	  <li>fix OSC 4 xx ?  (report ansi color) to report a string which can
6185	    actually be used to set the color back
6186
6187	  <li>fix OSC 4 xx yy (change ansi color) to not allow setting colors &gt;
6188	    15 in 16 color mode
6189
6190	  <li>simplify the COLOR_ settings a bit in ptyx.h, along with setting
6191	    NUM_ANSI_COLORS needed for #1 and #4 above
6192
6193	  <li>correct string-terminator code passed for reference to OSC
6194	    responses; when in 7-bit mode, only the final byte of ST was seen.
6195
6196	  <li>Allow multiple color #;name pairs in OSC 4,
6197	    and document changes to match.
6198	</ul>
6199</ul>
6200
6201<H1><A NAME="xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A></H1>
6202<ul>
6203	<li>add control sequences for specifying the RGB value of the ANSI
6204	  colors, and for configuring with 256 colors (patch by Todd Larason
6205	  &lt;jtl@molehill.org&gt;).  I made the default configuration to
6206	  16-colors, because xterm uses the default color map (which has only
6207	  256 colors).
6208
6209	<li>correct an error in DCS $ q m reporting for colors 8-15 (Todd
6210	  Larason).
6211
6212	<li>add test/demo script for double size characters.  Used this to
6213	  test/correct display of double size characters that should wrap,
6214	  underlined double size characters.
6215
6216	<li>increased cache size for double size fonts to 8, to allow for both
6217	  normal and bold fonts (discussion with Aryeh Koenigsberg
6218	  &lt;aryeh.koenigsberg@telrad.co.il&gt;).
6219
6220	<li>add fixes for port to OS390 aka MVS
6221	    (integrated patch from Greg Smith &lt;rys@epaibm.rtpnc.epa.gov&gt;).
6222	    OS390 uses EBCDIC rather than ASCII.
6223
6224	<li>correct an off-by-one in binary search limits in keysym2ucs.c (Markus
6225	  Kuhn).
6226
6227	<li>implement logging for UTF-8 mode.  The output is written in UTF-8 form.
6228</ul>
6229
6230<H1><A NAME="xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A></H1>
6231<ul>
6232	<li>If colorMode is enabled by default, compile-in default resources to
6233	  match the colors listed in XTerm-col.ad (this should fix a
6234	  longstanding FAQ).
6235
6236	<li>added new OSC&nbsp;3&nbsp;;&nbsp;PROPNAME=VALUE&nbsp;ST escape
6237	  sequence to set an arbitrary X property on the top level xterm X11
6238	  window.  Omit "=VALUE" to delete the X property (patch by Greg Badros
6239	  &lt;gjb@cs.washington.edu&gt;).
6240
6241	<li>change internal flag used for <em>utf8controls</em> resource
6242	  so we allow 31-bit range of characters (suggested by Thomas Wolff).
6243
6244	<li>add check for 16-bit characters in OSC strings, change them to '?'
6245	  (reported by Thomas Wolff).
6246
6247	<li>modify logic of same_font_name() to avoid trying to interpret both
6248	  parameters as wildcard patterns.  That does not (cannot) work, and in
6249	  some instances the font server will return unresolved wildcards for
6250	  the normal or bold fontnames, making them match inadvertently,
6251	  triggering the fallback overstrike logic (reported by Tim Adye).
6252</ul>
6253
6254<H1><A NAME="xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A></H1>
6255<ul>
6256	<li>correct range-check from patch #108, which resulted in not being
6257	  able to select from the scrollback buffer (reported by Tim Adye
6258	  &lt;T.J.Adye@rl.ac.uk&gt;)
6259
6260	<li>correct "no available ptys" problem with Cygwin B20.1 (patch by Tim
6261	  Adye).
6262
6263	<li>modified install-ti rule in Makefile.in to allow override of the
6264	  terminfo directory when doing a "make install", i.e., by assigning
6265	  to TERMINFO_DIR (request by Zdenek Sekera &lt;zs@sgi.com&gt;).
6266
6267	<li>added install-full rule to Makefile.in
6268
6269	<li>resync mkdirs.sh and install.sh scripts against current autoconf
6270
6271	<li>implement $(DESTDIR) in Makefile.in, making it simple to install
6272	  xterm and associated files into a directory just for packaging a
6273	  binary release (suggested by CaT &lt;cat@zip.com.au&gt;).
6274
6275	<li>change IChar type to unsigned, rather than unsigned short, making
6276	  room for a flag to keep with 16-bit characters to prevent them from
6277	  being interpreted as C0 or C1 controls (reported by Thomas Wolff).
6278
6279	<li>correct a typo from patch #107, incorrect array name, in the
6280	  filterUTF8 function (patch by Bruno Haible &lt;haible@ilog.fr&gt;)
6281
6282	<li>add <em>utf8controls</em> resource to specify whether xterm should
6283	  interpret 16-bit characters unpacked from UTF-8 form as control
6284	  characters if they happen to fall into that range.  This behavior
6285	  is left unspecified by the Unicode standard (request by Thomas Wolff).
6286
6287	<li>modify handling of OSC to recover if application sends 16-bit
6288	  characters with codes above 255.  We cannot display them as is, but
6289	  translate out-of-range characters to a '?' (reported by Thomas
6290	  Wolff).
6291</ul>
6292
6293<H1><A NAME="xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A></H1>
6294<ul>
6295	<li>add a range-check to LastTextCol(), to guard against indexing
6296	  before the beginning of the scrollback buffer.  This appears to
6297	  happen with certain fonts under X11R5 (reported by Stephane Chazelas
6298	  &lt;Stephane_Chazelas@Raytheon.com&gt;).
6299
6300	<li>implement resource <em>boldMode</em>, to allow disabling the
6301	  simulation of bold fonts when the bold and normal fonts are not
6302	  different (requested by Will Day &lt;willday@rom.oit.gatech.edu&gt;).
6303
6304	<li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few bugs in
6305	  the UTF-8 selection (patch by Juliusz Chroboczek).
6306
6307	<li>correct logic of binary-search in keysym2ucs.c (patch by Markus
6308	  Kuhn).
6309
6310	<li>add special interpretation of keysym codes above 0x1000000 as
6311	  the corresponding UCS value plus 0x1000000 (patch by Markus Kuhn).
6312</ul>
6313
6314<H1><A NAME="xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A></H1>
6315<ul>
6316	<li>Two changes from Stephen P Wall.
6317	  From his description:
6318	<blockquote>
6319	The first change is simple - I added ESC[3J to erase the stored lines
6320	above the screen.  That's what the changes to util.c and ctlseqs.ms
6321	are.
6322	<p>
6323	The second change is to get the blinking cursor working.  I took out
6324	the cursorBlinkTime resource, and put in cursorBlink (Boolean),
6325	cursorOnTime (time cursor is on in msecs) and cursorOffTime, and added
6326	a cursorblink item to the vtMenu to enable/disable it.
6327	</blockquote>
6328
6329	<li>improve selection (integrated patch by Juliusz Chroboczek).
6330	  From his description:
6331	<blockquote>
6332	With this patch, selection conversion works properly:
6333<pre>
6334	ISO 8859-1 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
6335	ISO 8859-1 xterm -&gt; UTF-8 xterm (transferred as STRING);
6336	UTF-8 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
6337	UTF-8 xterm -&gt; UTF-8 xterm (transferred as UTF-8).
6338</pre>
6339	It will not work properly if one xterm is in, say, ISO 8859-2.
6340	Actually, for this case xterm breaks the ICCCM routinely (sending ISO
6341	8859-2 data as STRING), so I wouldn't worry too much about it.  I have
6342	not changed the behaviour in eight-bit mode in any way.
6343	</blockquote>
6344</ul>
6345
6346<H1><A NAME="xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A></H1>
6347<ul>
6348	<li>remove duplicate fix for OpenBSD in resize.c
6349
6350	<li>correct logic in ScreenWrite, which did not reset the high bytes
6351	  of 16-bit characters when overwriting them with a 8-bit character
6352	  string (reported by Thomas Wolff).
6353
6354	<li>provide limited support for
6355	    input of UTF-8 16-bit data by a lookup table
6356	    (integrated patch by Markus Kuhn).
6357
6358	<li>correct check in non_blank_line to ensure we're in wide-character
6359	  mode before looking at the high bytes, for InsertChar.
6360</ul>
6361<H1><A NAME="xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A></H1>
6362<ul>
6363	<li>implement new resource <em>trimSelection</em>, which allows xterm
6364	  to trim trailing blanks from selected lines.  This does not affect
6365	  the highlighting. (reported by several people using <em>mutt</em>,
6366	  including
6367	  Hans Morten Kind &lt;edphk@uib.no&gt;,
6368	  Jeremy &lt;jeremy@exit109.com&gt;
6369	  and (Michael Fuller &lt;msf@mds.rmit.edu.au&gt;).
6370
6371	<li>include term.h in resize for OpenBSD (patch by Matthieu Herrb).
6372
6373	<li>correct logic for UTF-8 in functions that hide and show the cursor;
6374	  it was displaying a space whenever the low byte of the character at
6375	  the cursor position was zero (reported by Thomas Wolff
6376	  &lt;Thomas.Wolff@icn.siemens.de&gt;).
6377</ul>
6378
6379<H1><A NAME="xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A></H1>
6380This is a resync patch against XFree86 3.9Pn, reflecting changes which were
6381submitted by Branden Robinson, who worked with
6382Wichert Akkerman &lt;wichert@cs.leidenuniv.nl&gt;
6383to set up ifdef's to handle GNU libc 2.1,
6384and use getpt() which lets xterm avoid having to know the actual PTY name.
6385<p>
6386I have also added a few fixes for signed/unsigned mismatches, and corrected
6387a problem in the configure script (the UTF-8 code was always configured since
6388the Imakefile defines this).
6389
6390<H1><A NAME="xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A></H1>
6391<ul>
6392	<li>correct selection logic: I omitted an offset that accounts for
6393	  the distance into the scrollback buffer when rewriting this for
6394	  patch #101.  Also fixed a similar problem for selecting double
6395	  size characters from the scrollback buffer (first was reported
6396	  by D Roland Walker &lt;walker@pobox.com&gt;).
6397
6398	<li>improved support for Unix98 PTY's, using patch in Debian bug report
6399	  #35650, by J.H.M. Dassen &lt;jdassen@wi.leidenuniv.nl&gt;. From
6400	  the patch description:
6401	<blockquote>
6402	<ul>
6403	<li>No longer links xterm against libutil on a glibc2.1 system.
6404	  libutil is a compatibility library and should only be used when
6405	  necessary.  Rather than having get_pty() use openpty() from this
6406	  compatibility library, use the real UNIX98 pty support in get_pty()
6407	  (open()ing the master pty, through getpt() if available (glibc
6408	  extension)).  Use openpty() only under glibc2.0.
6409	<li>GNU libc2 is not Linux-specific; already it runs on the Hurd.  It
6410	  provides the UNIX98 pty functions (plus the getpt() extension),
6411	  regardless of the underlying OS.  Changed two constructs to look for
6412	  GNU libc2 only, not GNU libc2 on Linux.
6413	</ul>
6414	</blockquote>
6415
6416	<li>improve font configuration, by checking if the user's resource
6417	 settings for normal and bold fonts give the same font sizes
6418	 (fixes problem reported by Peter Waltenberg &lt;peterw@dascom.com&gt;).
6419</ul>
6420
6421<H1><A NAME="xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A></H1>
6422<ul>
6423	<li>revert change to openpty call in patch #101; this causes xterm to
6424	  fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn Brand).
6425
6426	<li>modify print.c to move include of stdio.h after the autoconf'd
6427	  xtermcfg.h since HP's ANSI C compiler otherwise sees inconsistent
6428	  prototype for getopt, probably due to problem with const (reported by
6429	  H Merijn Brand).
6430</ul>
6431
6432<H1><A NAME="xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A></H1>
6433<ul>
6434	<li>moved includes and definitions for 'select' from data.h to xterm.h
6435	  to fix problem introduced by prototype for getPtyData, part of UTF-8
6436	  changes (reported by Jens Schleusener &lt;Jens.Schleusener@dlr.de&gt;)
6437
6438	<li>added "Meta &lt;Btn2Down&gt;:clear-saved-lines()" default
6439	  translation (patch by H Merijn Brand)
6440
6441	<li>fixes to configure script and ifdef's in main.c to build on a
6442	  HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with egcs 1.1.2
6443	  and HP's ANSI C compiler (patch by H Merijn Brand
6444	  &lt;PROCURA_BV@CompuServe.com&gt;)
6445
6446	<li>add more parentheses in ifdef's (patch by Bob Maynard).
6447
6448	<li>eliminate conflicting definitions for USE_TERMINFO in resize.c
6449	  (reported by Jeremy Buhler).
6450
6451	<li>change openpty call to pass NULL rather than ttydev parameter,
6452	  since that was used only to estimate the length of the
6453	  corresponding data, and may not really be long enough
6454	  (reported by Andreas Jaeger)
6455
6456	<li>update description in xterm manpage for character class table,
6457	  which said it handles only 7-bit codes.
6458
6459	<li>correct a typo in ScrnDeleteChar() which made it not clear the
6460	  high byte of wide-character data.
6461
6462	<li>add logic to convert selection to UTF-8 form when appropriate.
6463	  This makes select/paste "work", but further work is needed to
6464	  make UTF-8 recognized as a locale in Xlib.
6465
6466	<li>correct right-limit check when selecting double-width characters.
6467
6468	<li>change default answerback response to an empty string.
6469</ul>
6470
6471<H1><A NAME="xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A></H1>
6472<ul>
6473	<li>Correct a typo in the default resource value for
6474	  backarrowKeyIsErase:  it was always true (reported by Bram
6475	  Moolenaar).
6476
6477	<li>improve configure script's test if the installed xterm is setuid,
6478	  in case that is a symbolic link.
6479
6480	<li>correct "install-ti" rule in Makefile.in, by not setting a blank
6481	  $TERMINFO value.  That is interpreted as "." by ncurses' tic.
6482</ul>
6483
6484<H1><A NAME="xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A></H1>
6485<ul>
6486	<li>correct logic that computes num_ptrs count of the number of indices
6487	  into the screen buffer.  This is the maximum of the colors and
6488	  character-set indices; was incorrect in patch #97.
6489
6490	<li>correct argument type for sigsetjmp, incidental change in patch
6491	  #96's Unix88 PTY patch (reported by Bram Moolenaar).
6492
6493	<li>correct description of secondary DA in ctlseqs.ms (reported by Bram
6494	  Moolenaar).
6495
6496	<li>decouple the backarrowKey and ptyInitialErase resources by
6497	  adding a new resource backarrowKeyIsErase, to accommodate people
6498	  using applications which have hardcoded tests for characters 8 and
6499	  127 rather than relying on the stty settings.
6500
6501	<li>modify the UTF-8 decoder so that all possible illegal UTF-8
6502	  sequences are properly represented by U+FFFD.  This should be very
6503	  helpful for developers of code that output UTF-8 strings for
6504	  debugging.  See the file utf-8-test.txt in
6505	  http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a
6506	  demonstration text that contains numerous illegal UTF-8 values.
6507	  (patch by Markus Kuhn).
6508
6509	<li>correct a place in ScrnRefresh where I was filling the high byte of
6510	  a wide character with a space rather than a null (reported by Markus
6511	  Kuhn).
6512</ul>
6513
6514<H1><A NAME="xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A></H1>
6515<ul>
6516	<li>correct data manipulation in unparseputc(), broken for
6517	  little-endian machines by patch #97's UTF-8 changes.  This meant that
6518	  keyboard input on SunOS did not work, though Linux i386 was fine.
6519
6520	<li>modify initialization for backarrowKey and logic for initial-erase
6521	  to prevent the initial-erase from overriding an explicitly set
6522	  backarrowKey resource (reported by Vikas Agnihotri).
6523
6524	<li>add a missing null-pointer check in ScrnRefresh, for the
6525	  wide-characters configuration.
6526</ul>
6527
6528<H1><A NAME="xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A></H1>
6529<ul>
6530	<li>add configure script test for -lutil, needed for openpty call when
6531	  configuring xterm for Glibc-2.1 and Unix98 PTY's (first reported by
6532	  Martin Lorentz" &lt;m.lorentz@w12.link-goe.de&gt;).
6533
6534	<li>completely parenthesize ifdef expressions for Glibc (suggested by
6535	  Bob Maynard).
6536
6537	<li>add initial-erase options (-ie, +ie) to help message (reported by
6538	  Vikas Agnihotri).
6539
6540	<li>remove duplicate definition of USE_USG_PTYS (reported by Jeremy
6541	  Buhler).
6542
6543	<li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a DEL
6544	  (\177).
6545	  I overlooked this when separating the styles of keyboard with
6546	  the <em>sunKeyboard</em> resources in patch #94, so that it normally
6547	  matches the value of the stty erase character:
6548	  <ul>
6549	  <li>Reported by Jae Gangemi &lt;jgangemi@ccf.rutgers.edu&gt;,
6550	    this caused emacs to not process the DEL properly, combining it
6551	    with succeeding characters.
6552	  <li>This does not appear to be related to a problem which I have
6553	    found with <em>screen</em>, which translates the stty erase into
6554	    the termcap <em>kD</em> or terminfo <em>kdch1</em> value
6555	    (depending on how it is linked)
6556	    if the $TERMCAP variable is set when <em>screen</em> is invoked.
6557	  </ul>
6558
6559	<li>add command-line options for enabling UTF-8 mode: -u8 and +u8.
6560	  The more obvious -utf8 and +utf8 would conflict with xterm's
6561	  -ut and +ut (utmp) options.
6562
6563	  The UTF-8 changes were requested by Markus Kuhn
6564	  &lt;Markus.Kuhn@cl.cam.ac.uk&gt;.  This patch does not complete UTF-8
6565	  implementation, but makes it usable, i.e., display and refresh work,
6566	  and I am able to display the test cases which Markus provides.
6567	  More work is needed to complete this feature:
6568	  <ul>
6569	  <li>the control sequences for switching in/out of UTF-8 mode are
6570	    partly implemented (don't use them).  Similarly, the switching
6571	    between vt100 and tek4014 emulations when UTF-8 mode is enabled
6572	    will not work properly.
6573	    <p>
6574	    You must use the -u8 command line option
6575	    to use this feature, as well as compile with the OPT_WIDE_CHARS
6576	    definition.
6577	  <li>cut/paste only copies 8-bit characters.
6578	  <li>logging is disabled in the wide-character configuration
6579	  <li>printing only writes 8-bit characters.
6580	  <li>input only does 8-bit characters.  This is the area that I know
6581	    least about.
6582	  </ul>
6583</ul>
6584
6585<H1><A NAME="xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A></H1>
6586<ul>
6587	<li>modify Makefile.in to work with configure script's --srcdir option.
6588	  (patch by Jeremy Buhler &lt;jbuhler@cs.washington.edu&gt;)
6589
6590	<li>add checks for 'echo -n' equivalent for 8colors.sh and 16colors.sh
6591	  scripts (reported by Vikas Agnihotri).
6592
6593	<li>improve logic that looks for bold fonts to allow for wildcards
6594	  in the specification for normal fonts, and to ensure that if
6595	  a bold font is specified as normal, that xterm will simulate a
6596	  bold version of that using a one-pixel offset overstrike
6597	  (reported by Henrik Harmsen &lt;harmsen@erv.ericsson.se&gt;).
6598
6599	<li>correct horizontal spacing of double width line-drawing characters
6600	  that xterm simulates.
6601
6602	<li>improve support for Unix98 PTY's, using patch in Debian bug report
6603	  #35650, by Topi Miettinen &lt;Topi.Miettinen@medialab.sonera.fi&gt;.
6604	  Andreas Jaeger says this also corrects a permissions problem
6605	  reported by cat@zip.net.au
6606
6607	<li>modify initial-erase logic to ensure that <code>ttyModes</code>
6608	  resource overrides it.
6609</ul>
6610
6611<H1><A NAME="xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A></H1>
6612<ul>
6613	<li>modify primary DA response to allow a '1' parameter.
6614
6615	<li>add printer and national replacement character sets to VT220
6616	  primary DA response.
6617
6618	<li>document primary and secondary DA responses in ctlseqs.ms
6619
6620	<li>use the patch number (e.g., 95) in the secondary DA response,
6621	  providing user applications a means of determining the version
6622	  of xterm for feature comparison (request by Bram Moolenaar).
6623
6624	<li>make xterm respond to secondary DA when the decTerminalID
6625	  is set for VT100.
6626
6627	<li>limit user-defined keys (DECUDK) to VT220-style keyboard
6628	  when sunKeyBoard resource is true.
6629
6630	<li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with
6631	  Glibc-2.1 and no Unix98 PTY support (patch from Andreas Jaeger
6632	  &lt;aj@arthur.rhein-neckar.de&gt;)
6633
6634	<li>add optional feature (resource and command-line options) to make
6635	  xterm use the PTY's sense of erase character on startup, rather than
6636	  requiring it to be \177, or set the PTY's erase character to match
6637	  xterm's configuration.  Note that while $TERMCAP is modified to
6638	  reflect the actual configuration, the terminfo kdch1 string is not
6639	  (request by Dirk H Hohndel &lt;hohndel@suse.de&gt;)
6640
6641	<li>improve scripts in vttests to work with newer shells that do not
6642	  use 'echo -n'.
6643
6644	<li>add fonts.sh example script
6645
6646	<li>correct inequality in handling of "#1" font specification.
6647
6648	<li>correct call to XGetWMNormalHints() used for computing maximum
6649	  screen size; the size hints may not have been set.
6650
6651	<li>begin implementation of support for wide-characters (configure
6652	  option --enable-wide-chars defines OPT_WIDE_CHARS, invoke xterm with
6653	  -wc option to activate this feature).  This patch optionally widens
6654	  internal data structures, invokes the 16-bit text output rather than
6655	  the 8-bit version and adds some tables.
6656
6657</ul>
6658<H1><A NAME="xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A></H1>
6659<ul>
6660	<li>further fixes for terminfo: ka1, ka3, etc., differ between the
6661	  default xterm-xfree86 and xterm-vt220 entries.
6662
6663	<li>change default (with sunKeyboard resource false) behavior of
6664	  the editing keypad "Delete" to send a 127, like xterm-r6.
6665	  The VT220-style <code>&lt;ESC&gt;[3~</code> is sent when
6666	  sunKeyboard is true (reported by Tomas Vanhala).
6667
6668	<li>add parameters to function keys to indicate if shift, control
6669	  or alt are set.  The codes are based on a description of
6670	  a DEC VT510 with a PC keyboard, from Jeffrey Altman
6671	  &lt;jaltman@watsun.cc.columbia.edu&gt;.
6672
6673	<li>add control sequence 1035, set-num-lock action and num-lock
6674	  menu entry to control the use of the NumLock and Alt keys for
6675	  the Sun/PC and VT220 keyboard extensions.
6676
6677  	<li>implement DECSET/DECRST numeric keypad (DECNKM) mode.
6678
6679	<li>modify terminfo and termcap to use recommended "X Window" or "X11"
6680	  names rather than "X Windows" (reported by Tomas Vanhala).
6681
6682	<li>suppress translation of shifted keypad "+" when sunKeyboard
6683	  is true.
6684
6685	<li>workaround unexpected behavior (perhaps bug) in XmbLookupString,
6686	  which returns trash in the string buffer for numlock and control-key
6687	  combined with keypad-keys.
6688
6689	<li>modify ScrollBarReverseVideo() to keep scrollbar border visible
6690	  when reverse video is toggled.
6691
6692	<li>correct missing case for parameter 17 (set highlight color) in
6693	  dynamic colors control sequences.
6694
6695	<li>extend dynamic colors control sequences to allow users to
6696	  determine the colors and font which are currently active.
6697
6698	<li>minor tweak to OSC responses, to use BEL if the application used
6699	  that to end the request, rather than ST.  This works better with
6700	  shell scripts, which may not handle an
6701	  <code>&lt;ESC&gt;backslash</code> very well.
6702
6703	<li>separate menu settings for reverse video from that done under
6704	  program control.
6705
6706	<li>corrected ifdef's for menus, which did not allow tek4014 to
6707	  be suppressed properly (reported by Clint Olsen).
6708
6709	<li>changes for Linux-2.2.x with GLibc-2.1 and
6710	  /dev/ptmx support (integrated patch from Pavel Roskin):
6711	<ul>
6712	  <li>main.c and resize.c were using different rules to determine
6713	    whether ATT should be defined (actually USE_USG_PTYS is more
6714	    apt).
6715
6716	  <li>copy definitions from main.c to resize.c to prevent
6717	    sys/stream.h and sys/ptem.h from inclusion when SYSV is not
6718	    defined
6719
6720	  <li>define CNUL if not already defined like other variables.
6721
6722	  <li>/dev/tty does exist in Linux, but it doesn't mean, it
6723	    should be used.  Therefore EACCES is now an acceptable
6724	    result.
6725
6726	  <li>ifdef'd several calls such as <code>ioctl (ptyfd, I_PUSH,
6727	    "ptem")</code> to build on Linux (I_PUSH is not defined when
6728	    sys/stropts.h is not included).
6729	</ul>
6730
6731	<li>initialize second "ltc" variable in main.c (reported by David
6732	  Dawes).
6733
6734	<li>provide definition for USE_USG_PTYS in screen.c
6735
6736	<li>add resource-files to install rule in standalone Makefile.in
6737
6738	<li>add sample scripts to illustrate titlebar controls, resizing
6739	  and colors.
6740</ul>
6741
6742<H1><A NAME="xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A></H1>
6743Here are several fixes and minor enhancements.  The chief ones
6744are the fixes for NumLock mode and reverse video, since we had become
6745used to working around the problems.
6746<ul>
6747	<li>remove kfnd/kll/kslt strings from terminfo, because curses
6748	  applications do not necessarily return khome/kend pairs
6749	  (reported by Vikas Agnihotri).
6750
6751	<li>implement NumLock resource which overrides the keyboard tables for the
6752	  special case of keypad keys.  This is a problem introduced in xterm
6753	  by X11R6 changes, i.e., an ambiguity which in effect discarded vt100
6754	  keypad support.
6755
6756	<li>modify Sun/PC keyboard mode to extend this (emulation of DEC vt100
6757	  keypad) to the remainder of the numeric keypad.  Now, the default
6758	  operating mode of xterm uses the keyboard tables as-is (except if
6759	  the NumLock mode overrides), but provides good vt100 keypad compatibility
6760	  if the Sun/PC keyboard menu item is checked.
6761
6762	<li>separate command-line settings for reverse video from that done
6763	  under program control.  This is a problem which was introduced by
6764	  X11R6.  Though <em>correct</em>, most users are confused by allowing
6765	  the reset command to undo the effect of the command-line <kbd>-rv</kbd>
6766	  option.
6767
6768	<li>add description of function keys, keypad and cursor keys to ctlseqs.ms
6769
6770	<li>add terminfo entries for xterm-vt52, xterm-sun and xterm-hp
6771
6772	<li>correct typo (missing case value) for DECSET 35, enable/disable
6773	  shifted keypad action and a few compiler warnings (reported by Zdenek
6774	  Sekera &lt;zs@sgi.com&gt;).
6775
6776	<li>correct reporting of color values 8-15 in DECRQSS (reported by
6777	  Vikas Agnihotri).
6778
6779	<li>modify parsing of ttyModes resource to recognize "^-" as "undef"
6780	  (requested by Tomas Vanhala).
6781
6782	<li>integrate/extend changes to add iconify/maximize actions
6783	  (from Edward S. Arthur &lt;eda@ultranet.com&gt;).
6784
6785	<li>add control sequences for maximizing/restoring window, and
6786	  for reporting maximum screen size.
6787
6788	<li>add 'interpret' action, to support local function-key interpretation.
6789	  Used properly, this makes most of the specialized actions of xterm
6790	  redundant.
6791
6792	<li>add control sequence private modes 1051, 1052 and 1052, for
6793	  setting the Sun and HP function key modes, and for setting the
6794	  Sun/PC keyboard mode.
6795
6796	<li>add configure option --disable-maximize
6797
6798	<li>add configure option --disable-num-lcok
6799
6800	<li>extend descriptions of configure script options in INSTALL.
6801</ul>
6802
6803<H1><A NAME="xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A></H1>
6804<ul>
6805	<li>increase buffer size for tgetent (i.e., termcap) to 1500.  This
6806	  fixes a problem where <em>screen</em> is built using ncurses or
6807	  GNU termcap and <em>xterm</em> is built using the standard termcap
6808	  interface.  The former does not limit the termcap size, while the
6809	  latter is assumed to be no longer than 1023 characters.  The
6810	  <em>screen</em> program's termcap entry is about 1200 characters
6811	  long.
6812
6813	<li>change update_menu_item() to a function, to simplify debugging.
6814	  This also reduces the executable by 4Kb.
6815
6816	<li>add control sequences for DECSET 30, 1010, 1011 like rxvt (enable
6817	  or disable some features that were only settable via resources or
6818	  command line arguments).
6819
6820	<li>add control sequence for DECSET 35, which enables/disables the
6821	  shifted keypad functions.
6822
6823	<li>add support for switching font sizes, by stepping through the
6824	  font menu using shifted keypad plus and minus.
6825
6826	<li>correct missing initialization of tekInhibit and tekSmall resources.
6827
6828	<li>correct ifdef's in charproc.c for XtNgeometry and XtCGeometry
6829	  (reported by Bram Moolenaar).
6830</ul>
6831
6832<H1><A NAME="xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A></H1>
6833<ul>
6834	<li>Implement logic to translate input characters which are mapped
6835	  when in vt220 National Replacement Character mode (requested by
6836	  Tomas Vanhala).
6837
6838	<li>Resync configure scripts with my patches to autoconf 2.13
6839
6840	<li>Change order of -lXmu and -lXext to accommodate cygwin32
6841	  (reported by Vikas Agnihotri).
6842
6843	<li>Add "-ti" option to set terminal emulation level from command
6844	  line rather than via resource.
6845
6846	<li>Simplify some of the preprocessor logic using #elif.
6847</ul>
6848
6849<H1><A NAME="xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A></H1>
6850This implements several small fixes and enhancements.  The chief one implements
6851fallback support for line drawing characters with fonts that do not include
6852those characters.  But I implemented that last.
6853
6854<ul>
6855	<li>If any of the glyphs in positions 0-31 (used by xterm to implement
6856	  the VT100 alternate character set) are zero-sized (i.e., missing),
6857	  xterm will reserve a normal space for the glyph when drawing.  I
6858	  implemented a simple stroke-drawing function to draw the line-drawing
6859	  characters and a couple of the other (simpler) characters such as
6860	  diamond.  (This was suggested by Vikas Agnihotri).
6861
6862	<li>Modify the computation of doublesize characters to work around font
6863	  servers which shift the scaled characters up/down or do not give the
6864	  correct width.
6865
6866	<li>Add popup menu item and corresponding resource settings to disable
6867	  the font-scaling logic for doublesize characters to work around
6868	  (older) font servers which simply do not draw the fonts scaled to the
6869	  size that they said they would.  I see this problem on a SunOS system
6870	  running X11R5; the X11R6 servers seem well behaved.
6871
6872	<li>Implement new escape sequence, private mode 1049, which combines
6873	  the switch to/from alternate screen mode with screen clearing and
6874	  cursor save/restore.  Unlike the existing escape sequence, this
6875	  clears the alternate screen when switching to it rather than when
6876	  switching to the normal screen, thus retaining the alternate screen
6877	  contents for select/paste operations.
6878
6879	<p>When I implemented the popup menu entry to toggle between the normal
6880	  and alternate screens, I considered only pasting from the normal
6881	  screen to the alternate; this improvement allows either direction.
6882
6883	<li>Changed the termcap and terminfo for xterm-xfree86 and xterm-8bit
6884	  to use the new 1049 private mode.
6885
6886	<li>Modify the logic which switches between normal and alternate
6887	  screens so that the save/restore cursor operations apply only to the
6888	  current screen.  That means that applications which use the terminfo
6889	  smcur/rmcur or termcap ti/te capabilities will restore the cursor to
6890	  the original position on the normal screen rather than to the most
6891	  recent place where a save-cursor operation was performed.
6892
6893	<p>I note that a real VT100 terminal would not behave in this way,
6894	  but it is a moot point since the VT100 does not implement alternate
6895	  screen, and therefore the save/restore cursor sequence would not be
6896	  used in this context.  I reviewed the logic which switches between
6897	  normal and alternate screens based on some recent newsgroup postings
6898	  as well as a proposed patch in the Debian group which attempts to
6899	  do this (the patch has a bug, however, so I did not use it).
6900
6901	<li>Add popup menu entry for toggling the titeInhibit resource.
6902
6903	<li>Add new resource answerbackString, which overrides the default
6904	  "xterm" returned by xterm when responding to an ENQ (control/E)
6905	  character (request by Rajesh Vaidheeswarran &lt;rv@fore.com&gt;).
6906
6907	<li>Add new resource keyboardDialect for setting the NRC display
6908	  character set (request by Tomas Vanhala, who notes that I should
6909	  add logic to translate the keyboard as well).
6910
6911	<li>Add new command-line option and corresponding resources for making
6912	  xterm generate escape sequences compatible with HP terminals.  Like
6913	  the existing Sun escape sequences, this is available as a popup menu
6914	  item.  It is enabled by the configure script with the option
6915	  --enable-hp-fkeys (requested by Toni Mueller &lt;sales@oeko.net&gt;).
6916
6917	<li>Add configure script option --disable-boxchars to disable the
6918	  fallback support for line drawing characters.
6919
6920	<li>Fix ifdef's for configure script --disable-ansi-color, and reviewed
6921	  all configure options to ensure that all can be enabled/disabled
6922	  appropriately.
6923
6924	<li>Update config.guess and config.sub, from Lynx.
6925</ul>
6926
6927<H1><A NAME="xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A></H1>
6928This patch completes the implementation of double-sized character support
6929for the VT100 emulation, and fixes a few minor bugs:
6930
6931<ul>
6932<li>corrected the cursor position in HideCursor, which did not multiply
6933the column by two when in doublesize mode.
6934This bug, which did not appear in normal use,
6935dates back to my original <a href="#xterm_44">changes</a> to partly implement
6936double-sized characters.
6937I noticed it when cat'ing a typescript from vttest's double-sized character
6938test.
6939<li>ensure that the current line is repainted when switching between
6940single and double width characters.
6941<li>reduce the number of bits used for double-sized character coding
6942from 3 to 2, to make more room for soft-font codes.
6943<li>copy newer ifdef's from the XFree86 3.3.3 release's main.c,
6944which address details of glibc and powerpc.
6945<li>moved definition of DECL_ERRNO in xterm.h to match XFree86 3.3.3
6946<li>modify <em>resize</em> to remove the ifdef on SVr4 that suppressed
6947printing the script for $LINES and $COLUMNS.
6948Solaris' resize utility does this; suppressing the behavior is unnecessary.
6949</ul>
6950I tested the double-sized characters using vttest and the xfsft patch.
6951These fonts worked reasonably well:
6952<pre>
6953	-bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
6954	9x15
6955</pre>
6956The iso8859 font does not include box characters, of course, but looks good.
6957
6958<H1><A NAME="xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A></H1>
6959This refines my #85 patch by checking for a case where the font server
6960returns a bold font that does not quite correspond to the normal font.
6961When I asked for a bold version of the 6x12 font, the font server
6962returned a near equivalent where the ascent and descent values did not
6963match, causing xterm to leave lines across the display.
6964This patch makes xterm reject that type of mismatch, falling back to the
6965old font behavior.
6966
6967<H1><A NAME="xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A></H1>
6968This corrects a problem reported by Stefan Dalibor.  My table entries for the
6969<em>printerExtent</em> and <em>printerFormFeed</em> resources used the wrong
6970types for sizeof, causing the printer to not work properly on some platforms
6971because the <em>printAttributes</em> resource was overwritten (e.g., Digital Unix with DEC Alpha).
6972<p>
6973I reviewed all of the resource table entries and fixed a potential problem with
6974<em>resizeGravity</em>, which was typed as <em>int</em> rather than
6975<em>XtGravity</em>.
6976
6977<H1><A NAME="xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A></H1>
6978A small fix: when switching to/from the continuous mouse reporting mode,
6979the event mask was incorrect if xterm was built under X11R5 because the
6980original data was saved under an ifdef for active-icon.
6981
6982<H1><A NAME="xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A></H1>
6983Some cleanup (I noticed the pixel droppings a few months ago after getting a
6984new 17" monitor):
6985<ul>
6986	<li>split-out the functions that load/reload fonts for xterm as new
6987	  file fontutils.c to extend them to support automatic loading of
6988	  bold font corresponding to the normal font.  Adapted logic from
6989	  EMU 1.3 for this purpose.  This fixes most occurrences of pixel
6990	  droppings from bold characters.
6991
6992	<li>modified by renaming variables and adding casts to permit compile
6993	  with g++.
6994
6995	<li>modify headers so they can all be compiled without order
6996	  dependencies, and use bracketed rather than quoting includes to allow
6997	  compile from separate directory.
6998
6999	<li>renamed xtermm terminfo entry to xterm-mono, to avoid conflict with
7000	  Solaris entry now in ncurses.
7001</ul>
7002
7003<H1><A NAME="xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni</A> and 3.3.2e</H1>
7004Several small fixes and enhancements, including a patch from
7005Bjorn Helgaas:
7006<ul>
7007	<li>correct initialization of TERMCAP environment variable, which
7008	  was frequently set to garbage on non-Linux systems because
7009	  "termcap" and "newtc" contained random data from the stack.
7010
7011	<li>remove the LINEWRAPPED attribute from lines as they are cleared.
7012	  Previously, the attribute was set but never cleared.
7013
7014	<li>make word and line selections work even when lines are wrapped
7015	  by xterm.  Previously, selections were limited to one screen line.
7016</ul>
7017as well as
7018<ul>
7019	<li>modify logic for line-wrapping to reset the associated flag if
7020	  the application deletes a character. This fixes a problem reported
7021	  by Bjorn Helgaas where word/line selection would still wrap even
7022	  after deleting characters from the first line.
7023	<li>add kll/kH capabilities to xterm-xfree86 entries in termcap and
7024	  terminfo (request by Michael Schroeder).
7025	<li>shorten descriptions in termcap to make resolved entries all
7026	  shorter than 1023 character limit.
7027	<li>use DECSTR control sequence to shorten initialization and reset
7028	  strings in xterm-xfree86 termcap and terminfo.
7029	<li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match termcap.
7030	<li>correct typos in initialization and reset strings in xterm-r5
7031	  termcap and terminfo.
7032	<li>disable special translations of key symbols (the backarrow key,
7033	  the editing keypad and the keypad "+") when a modifier other than
7034	  shift, control or numlock is used.  This makes xterm handle the meta
7035	  key as expected by people using emacs (reported by Pete Harlan
7036	  &lt;harlan@pointofchoice.com&gt; in linux.debian.user newsgroup).
7037</ul>
7038
7039<H1><A NAME="sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A></H1>
7040
7041Merge changes through patch #83 with the 3.3.2e version.
7042<p>
7043This follows a change from XFree86 CVS which adds checks for non-null
7044return from malloc (patch by Matthieu Herrb).
7045
7046<H1><A NAME="xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A></H1>
7047Several small fixes and enhancements:
7048<ul>
7049	<li>add configure test to infer if xterm should be installed setuid
7050	  based on previously installed xterm (reported by Stephen Marley
7051	  and Stefan Dalibor).
7052
7053	<li>implement quasi-continuous mouse reporting
7054	    (integrated patch by Jason Bacon).
7055
7056	<li>correct control sequences transmitted by function keys F1 to F4
7057	  when sunFunctionKeys resource is true (it was still using the
7058	  VT100 control sequences).
7059
7060	<li>modify handling of backarrow key so that the control modifier
7061	  toggles the backspace/delete interpretation set by the
7062	  backarrowKey resource.
7063
7064	<li>limit the row and column values used to report mouse position.
7065</ul>
7066
7067From resync with XFree86 3.9Nb:
7068<ul>
7069	<li>add support for the VSTATUS control character (patch by
7070	  Robert Earl &lt;rearl@teleport.com&gt;).
7071</ul>
7072
7073<H1><A NAME="xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A></H1>
7074Bug fix for patch #81:
7075<ul>
7076	<li>remove an #undef for NBBY, which caused compile problem on FreeBSD
7077	  (reported by David Dawes).
7078</ul>
7079
7080<H1><A NAME="xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A></H1>
7081More bug fixes:
7082<ul>
7083	<li>fix conflicting ifdef's for TIOCSLTC when building with Linux on
7084	  AXP aka DEC Alpha (reported by Robin Cutshaw).
7085
7086	<li>correction to patch #79, move assignment for *utptr-&gt;ut_user = 0;
7087	  back into non-SVR4 ifdef in main.c, since this clobbers username on
7088	  Solaris 2.5.1 (analysis by Will Day
7089	  &lt;willday@rom.oit.gatech.edu&gt;).
7090
7091	<li>corrected khome/kend in xterm-8bit terminfo description.
7092
7093	<li>improve cursor color by making it always the reverse of fg/bg
7094	  unless the cursorColor resource is set, i.e., to something other than
7095	  the default foreground (reported by Vikas Agnihotri and Bram
7096	  Moolenaar).
7097
7098	<li>minor fixes for compiler warnings, including a syntax error in
7099	  the AMOEBA ifdef's.
7100</ul>
7101From resync with XFree86 3.9Aj:
7102<ul>
7103	<li>correction to patch #73, supply missing #else for fallback definitions
7104	  of size_t, time_t (Robin Cutshaw &lt;robin@intercore.com&gt;).
7105</ul>
7106
7107<H1><A NAME="xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A></H1>
7108This fixes a couple of items leftover or introduced by patch 79:
7109<ul>
7110	<li>take out the logic that suppresses editing-keypad in vt100 mode
7111	  (those keys are too valuable to give up for a fine point of
7112	  emulation).
7113
7114	<li>corrected a couple of places in terminfo where I missed using the
7115	  vt220-style editing-keypad codes for Find/Select (mapped to Home/End).
7116
7117	<li>checked termcap file against terminfo, fix several places where it
7118	  was inconsistent.
7119</ul>
7120
7121<H1><A NAME="xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A></H1>
7122
7123This patch fixes several small bugs:
7124<ul>
7125	<li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas Vanhala).
7126
7127	<li>add new resource 'oldXtermFKeys' which provides backward compatibility
7128	  for F1-F4 control sequences with TOG's xterm.
7129
7130	<li>determine the server's default foreground/background Pixel values,
7131	  needed if the -flipPixels X server option is used (reported by
7132	  David Dawes).
7133
7134	<li>correct logic for F1-F4 function keys so that they generate VT100
7135	  compatible escape sequences in VT220 mode, since that is what the
7136	  numeric keypad is supposed to do (reported by Ron Johnson, Jr.
7137	  &lt;ronjohn@communique.net&gt;).
7138
7139	<li>modify logic for editing keypad to work more like VT220: don't
7140	  pass those codes in VT100-mode unless oldXtermFKeys mode is set.
7141
7142	<li>correct an interaction with the editing-keypad logic that prevented
7143	  backarrow key from sending a 127 for the delete key (the 'remove'
7144	  escape sequence was being sent instead).
7145
7146	<li>use return-value from getuid() rather than the parameter, to work on
7147	  systems which do not update the latter (patch by Kevin Buhr
7148	  &lt;buhr@mozart.stat.wisc.edu&gt;)
7149
7150	<li>correct scrollbar border color when toggling to/from secure keyboard
7151	  mode (patch by Jeff Uphoff &lt;juphoff@tarsier.cv.nrao.edu&gt;)
7152
7153	<li>modifications to terminfo file:
7154<ul>
7155	  <li>rename description to xterm-xfree86, adding an entry 'xterm'
7156	    which is derived from xterm-xfree86 to simplify customization.
7157
7158	  <li>change string for kdch1 from \177 to \E[3~, to address complaints
7159	    from Debian developers.  (This applies to the key labeled "Delete",
7160	    and does not affect the backarrow key).
7161
7162	  <li>add user-strings u6, u7, u8, u9 to entries to make them work with
7163	    Daniel Weaver's "tack" program.
7164
7165	  <li>modify xterm-24, xterm-bold, xterm-boldso entries to disentangle them from
7166	    explicit dependency upon xterm-xfree86.
7167
7168	  <li>add generic 'xterm-color' entry.
7169
7170	  <li>minor corrections to xterm-xfree86, xterm-8bit, xterm-r5 and
7171	    xterm-r6 entries.
7172</ul>
7173</ul>
7174
7175<H1><A NAME="xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A></H1>
7176
7177Again, most of the bulk of this patch is for ANSI conversion.  I used the
7178IRIX compiler's -wlint option to find the remaining functions that use
7179K&amp;R syntax (since gcc does not do this properly).
7180
7181Also, I changed the logic in the print code slightly to close unwanted files
7182before opening a pipe to the printer.  This may help in some configurations
7183where the line printer hangs until xterm closes the pipe.
7184
7185<H1><A NAME="xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A></H1>
7186
7187Most of the bulk of this patch is to convert the extended C (K&amp;R functions
7188with prototypes) to ANSI.  I verified that on Linux by comparing object
7189files, to ensure that I did not, for example, interchange parameters in
7190the function declarations.
7191<p>
7192The rest of the patch fixes several minor bugs, and adds a few features:
7193<ul>
7194	<li>back-out my use of ncurses "captoinfo -f" option (if/then/else/endif)
7195	  formatting, since ncurses did not correctly filter embedded newlines
7196	  in terminfo capability strings until _after_ ncurses 4.1, thus
7197	  corrupting setf/setb/sgr strings (reported by Darren Hiebert and
7198	  others).
7199
7200	<li>document SGR 8, 28 (invisible/visible), add corresponding
7201	  capabilities to terminfo description.
7202<p>
7203	  I would also add the 'prot protected capability, but the control
7204	  sequences for that would not be recognized or properly ignored by the
7205	  older xterm programs.
7206
7207	<li>modify ChangeGroup to not suppress a null-resource, but treat it as an
7208	  empty string (recommended by Stefan Dalibor).
7209
7210	<li>add printerAutoClose resource to control whether printer is closed
7211	  when going offline.  More than one person reports problems (on
7212	  Solaris 2.6 and Digital Unix 4.0) getting the printer to proceed
7213	  unless xterm exits; I think that it is a problem flushing the pipe.
7214	  Closing it ought to flush it.
7215
7216	<li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N (but adapt
7217	  XtStackAlloc/XtStackFree for clarity, as well as fixing memory leak).
7218
7219	<li>change calls on FillCurBackground to ClearCurBackground, in effect
7220	  using XClearArea rather than XFillRectangle when clearing as a
7221	  side-effect of scrolling and insertion  (patch by Alexander V
7222	  Lukyanov)
7223
7224	<li>correct some places where insert/delete did not _move_ the color
7225	  attributes, using memmove (patch by Alexander V  Lukyanov
7226	  &lt;lav@long.yar.ru&gt;)
7227
7228	<li>add ifdef's for __CYGWIN32__, for port to cygnus version B19.1
7229	  (patch by Andrew Sumner &lt;andrew_sumner@hotmail.com&gt;).
7230
7231	<li>remove #define for hpux that turned on USE_SYSV_ENVVARS, since this
7232	  causes some applications (such as 'less') to get incorrect $LINES and
7233	  $COLUMNS values (reported by Clint Olsen).
7234
7235	<li>modify behavior for HP-UX, to set the "reserved" process group
7236	  controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does not produce an
7237	  error (patch by Ben Yoshino &lt;ben@wiliki.eng.hawaii.edu&gt;).
7238
7239	<li>correct length of underlining, reducing it by one pixel to avoid
7240	  leaving a dot when the application does not clear the whole screen
7241	  I noticed this only recently myself (and other people as well); it
7242	  depends on the font chosen.  A 6x10 font shows it, but the other
7243	  fonts from XTerm.ad do not.  I also see a similar problem with the
7244	  emulation of bold fonts.
7245	  (patch by Sergei Laskavy &lt;Laskavy@cs.msu.su&gt;).
7246
7247	<li>add include for Xos.h to xterm.h, to ensure proper definitions
7248	  (reported by Holger Veit).
7249
7250	<li>update config.guess to recognize Unixware 2.1 and 7 (patch by
7251	  Mike Hopkirk &lt;hops@sco.com&gt;).
7252</ul>
7253
7254<H1><A NAME="xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A></H1>
7255
7256A fix for the print-window function, and some minor cleanup:
7257<ul>
7258	<li>modify logic that closes pipe in the print-window function to not use
7259	  pclose, which does not work on all systems, since I did not open the
7260	  pipe with popen (reported by Stefan Dalibor).
7261
7262	<li>correct name of $(EXTRA_LOAD_FLAGS) imake variable (reported
7263	  by Stefan Dalibor).
7264
7265	<li>guard logic in ChangeGroup() function against null pointer
7266	  (reported by Stefan Dalibor).
7267
7268	<li>ensure that menu entry for toggling sunKeyboard resource is
7269	  initialized (reported by Branden Robinson &lt;branden@purdue.edu&gt;).
7270
7271	<li>gcc unused-variable warnings (reported by Bernd Ernesti
7272	  &lt;bernd@arresum.inka.de&gt;)
7273
7274	<li>rename global variable 'buffer' to 'VTbuffer'
7275</ul>
7276
7277<H1><A NAME="xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A></H1>
7278
7279This incorporates fixes from several people, as well as some improvements
7280that I made based on feedback from users:
7281<ul>
7282	<li>add option to standalone configure script, "--with-own-terminfo-dir",
7283	  which causes xterm to pass a predefined value of $TERMINFO to the
7284	  application.  Also use this value in install rule "make install-ti",
7285	  for the standalone configure script.
7286
7287	  (patch &amp; feedback from Tor Lillqvist &lt;tml@hemuli.tte.vtt.fi&gt;)
7288
7289	<li>change ifdef's for "hpux" to "__hpux" (patch by Tor Lillqvist).  The
7290	  imake configuration uses the former, but the latter is predefined by
7291	  HP's compilers.
7292
7293	<li>define USE_SYSV_ENVVARS for HP-UX, curses does not use $TERMCAP (patch
7294	  by Tor Lillqvist).
7295
7296	<li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's.  Works
7297	  both on HP-UX 9 and 10.  (patch by Tor Lillqvist).
7298
7299	<li>modify configure script to obtain the $(EXTRA_LOADFLAGS) value from
7300	  imake, needed for compiling under DEC OSF/1 (reported by
7301	  Stefan Dalibor)
7302
7303	<li>modify print-window action so that the printer is closed after
7304	  printing a window, unless the printer was already opened (i.e.,
7305	  by an application running in the window).  This makes the printing
7306	  complete without having to exit xterm, since not all systems treat
7307	  fflush through a pipe very well (reported by Stefan Dalibor)
7308
7309	<li>modify printing code so that the ^M's are not printed if the
7310	  printAttribute resource is set to zero (request by Stefan Dalibor).
7311
7312	<li>correct typo in xterm.man, for the default value of printAttribute
7313	  (reported by Stefan Dalibor).
7314
7315	<li>correct printing code so that the alternate character set is
7316	  printed, like other attributes, with escape sequences.
7317
7318	<li>correct termcap description, removing spurious 'm' character from
7319	  the 'op' capability (reported by Greg Woods &lt;woods@weird.com&gt;).
7320
7321	<li>correct trace code so that the initial timestamp is set.
7322
7323	<li>correct/modify utmp data for the Linux glibc 2 configuration,
7324	  so that the ut_line member is set before using it to update wtmp
7325	  (patch by Bill Nottingham &lt;wen1@cec.wustl.edu&gt;).
7326</ul>
7327
7328<H1><A NAME="xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A></H1>
7329
7330This corrects a couple of recent bugs and adds a new resource:
7331<ul>
7332	<li>modify definition of TRACE_CHILD so that it does not conflict with
7333	  ifdef's for USE_USG_PTYS in main.c (reported by Vikas Agnihotri
7334	  &lt;VikasA@att.com&gt; and Stefan Dalibor).
7335
7336	<li>correct ownership of file (actually pipe) written by the print
7337	  controls.  When undoing the setuid changes in patch #69, I overlooked
7338	  this.  Now xterm forks a process which resets setuid and routes the
7339	  printer data as the real user.
7340
7341	<li>add a new resource, "printAttributes", which controls whether
7342	  color attributes (or any attributes) are sent to the printer.
7343</ul>
7344
7345<H1><A NAME="xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A></H1>
7346
7347This patch does the following:
7348<ul>
7349	<li>implements a print-window facility for xterm.  Though useful in
7350	  itself, I added it as part of some debugging which I am doing.
7351	  (Occasionally during an exposure event xterm fails to restore the
7352	  proper colors for highlighted text, and printing the screen will
7353	  show the internal states nicely).
7354<p>
7355	  The print facility now also displays the color information.
7356	  (I will probably make this a resource).
7357
7358	<li>modified the xterm-16color terminfo description to use the setaf and
7359	  setab strings, which is a little more efficient (requested by Stephen
7360	  Marley).
7361
7362	<li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, unistd.h,
7363	  errno) making the configure script test for these.
7364<p>
7365	  I removed the symbols Size_t and Time_t, since they no longer serve
7366	  a useful purpose.
7367
7368	<li>added some debugging traces to show the initial screen size,
7369	  and the success/failure of the ioctl calls pass handle window
7370	  resizing events to the application (for Clint Olsen).
7371<p>
7372	  I also modified the trace code to produce two files since some
7373	  of the information is produced by the child process.  So now
7374	  they are Trace-parent.out and Trace-child.out
7375
7376	<li>updated configure test for ANSI compiler options to handle a
7377	  special case for HP-UX 10.x (reported by Clint Olsen).
7378</ul>
7379
7380<H1><A NAME="xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A></H1>
7381
7382This is a patch from Chris Siebenmann &lt;cks@hawkwind.utcs.toronto.edu&gt;,
7383which I have cleaned up a little, and integrated into the configure script.
7384<p>
7385From his description:
7386<blockquote>
7387 This set of patches is the latest incarnation of patches originally
7388written by Ian! D Allen, then of the University of Waterloo and now of
7389who knows where; I have been carrying them forward from xterm to xterm
7390ever since about X11R4.  What they do is add an option so that when an
7391iconified xterm receives output it prepends '*** ' to its icon title
7392and (optionally) beeps the bell; deiconifying the xterm removes the
7393'*** '. Over the years I've found this to be incredibly convenient for
7394monitoring all sorts of low-activity things.
7395</blockquote>
7396
7397<H1><A NAME="xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A></H1>
7398
7399This patch is a slightly modified version of one by Richard Braakman, which
7400prevents buffer overflow in the input-method and preedit-type parsing in xterm.
7401I changed a couple of details to make the code more maintainable, and looked
7402for similar things - copying into a fixed-size buffer (found none, though I did
7403spot an unused variable).
7404
7405<H1><A NAME="xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A></H1>
7406
7407This patch corrects some minor bugs in xterm, and fills in some more details
7408in the VT220 emulation:
7409<UL>
7410	<LI>modify Imakefile to use SpecialCObjectRule for menu and data modules,
7411	  making xterm build properly if logging is enabled
7412	  (patch by Scott Sewall &lt;scott@iprg.nokia.com&gt;).
7413
7414	<LI>restore "ich" capability to terminfo entries, since
7415	  Michael Schroeder points out that "ich1"
7416	  is the one which is the problem in Solaris vi.
7417
7418	<LI>correct color of cursor, which would disappear on inverse-video
7419	  since the initialization did not compare the cursor color against
7420	  both foreground and background (reported by Olivier Calle).
7421
7422	<LI>correct abbreviation-test for -version and -help options, making
7423	  command-line option -vb work (reported by Stefan Dalibor).
7424
7425	<LI>correct a dependency between ifdef's for OPT_I18N_SUPPORT and
7426	  OPT_INPUT_METHOD (reported by Stefan Dalibor).
7427
7428	<LI>split-out character-set translations as new module charsets.c, to
7429	  implement VT220 national replacement character sets (a mode where
7430	  some of the characters are displayed as specific European glyphs).
7431	  This relies on xterm using an ISO 8859-1 font (approach suggested by
7432	  Kenneth R. Robinette &lt;zkrr01@mailbox.neosoft.com&gt;).
7433
7434	<LI>correct a missing increment, which made SS2 and SS3 controls
7435	  repeat the shifted character.
7436
7437	<LI>add xterm-nrc to terminfo to illustrate the VT220 national
7438	  replacement character sets.
7439
7440	<LI>reformat terminfo using new ncurses tic option "-f", which makes
7441	  if/then/else/endif expressions easier to read.
7442</UL>
7443
7444<H1><A NAME="xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A></H1>
7445
7446This corrects the problem in xterm with utmp, reported by Olivier Calle
7447&lt;olivier@tc.fluke.com&gt;
7448as well as some other people after the XFree86 3.3.2 release.
7449<P>
7450The error was introduced by my patch #53 in XFree86 3.9r (October 1997).
7451<P>
7452The correction removes the reset of setuid/setgid before the main event loop,
7453and solves the problem which I had worked around in a different manner:  for
7454some reason, the particular waitpid() call in creat_as() hangs, does not
7455return when the child process exits.  I changed the ifdef's to force the Linux
7456configuration to use wait() instead.  This call appears to work properly on
7457other platforms such as SunOS and Solaris.
7458<P>
7459I also added tests in the standalone configure script to check for the
7460existence of waitpid().
7461
7462<H1><A NAME="xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A></H1>
7463
7464This corrects another problem with the logic for highlightColor resource.
7465As reported by David Dawes:
7466<blockquote>
7467	I've just noticed a problem with with the "inverse" control sequence
7468	(ESC[7m) with the 3.3.2 xterm.  What it does is sets the background
7469	black, and the text the usual foreground colour rather than simply
7470	swapping the foreground/background.
7471
7472</blockquote>
7473This appears to be because when I added logic to check that the highlightColor
7474was distinct from foreground and background colors, I did not add a further
7475check to see that it was not black (I would make an explicit check for the
7476resource not being set, but see nothing definite in the headers that would let
7477me reference an explicitly-undefined Pixel value, though there are some
7478implications in xpm.h).  But this should work.
7479
7480<H1><A NAME="xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A></H1>
7481
7482This patch does the following:
7483<UL>
7484	<LI>improve test for highlightColor so that xterm does not attempt to
7485	  use that unless it is different from the foreground and background
7486	  colors (reported by Stefan Dalibor
7487	  &lt;Stefan.Dalibor@informatik.uni-erlangen.de&gt;.
7488<P>
7489	  I could not reproduce this until I noticed that the -rev option
7490	  exposed it nicely.
7491
7492	<LI>remove ich and ich1 from xterm and xterm-8bit terminfo descriptions.
7493	  SVr4 terminfo documents that you must not combine these with
7494	  smir/rmir, but ncurses allows it, opening a hole.  Solaris 2.6 vi
7495	  does not work properly if it is using a terminfo description when
7496	  these are combined, since it was written to accommodate old terminals
7497	  that required it (reported by Stephen Marley).
7498
7499	<LI>restore 1-pixel overlap of scrollbar border with left edge of window
7500	  (reported by Jim Burmeister &lt;jimb@metrolink.com&gt;).
7501
7502	<LI>add a configure option, --enable-logfile-exec, which allows the
7503	  user to specify a pipe for logfile.  This defines ALLOWLOGFILEEXEC.
7504
7505	<LI>makes the ALLOWLOGFILEEXEC code compile &amp; run, if configured.
7506
7507	<LI>minor documentation nits.
7508</UL>
7509
7510<H1><A NAME="xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A></H1>
7511
7512This fixes the problem reported with failure to build the <EM>resize</EM>
7513program (BSDI, OSF/1) due to not having &lt;termcap.h&gt;, by changing the
7514ifdef to one that would be set only if the file exists (not currently
7515specified, except by the standalone configure script).  We do not really need
7516to include &lt;termcap.h&gt; to build, but only for a clean compile, since it
7517may declare the tgetent() prototype.
7518
7519I also updated the man-page for <EM>resize</EM>, since I had recently noticed
7520that it can be used to resize <EM>xterm</EM> using the "Sun" control sequences
7521option.
7522
7523<H1><A NAME="xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A></H1>
7524
7525This is a small patch to xterm's 8-bit terminal description.  I noticed
7526while testing ncurses that I had specified the wrong (VT100-style) codes
7527for the F1-F4.  Xterm only uses VT220-style function keys in 8-bit mode.
7528
7529<H1><A NAME="xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A></H1>
7530
7531This fixes the following problems with xterm:
7532<UL>
7533	<LI>save/restore the ANSI foreground and background colors with the other
7534	  visible attributes in the save-cursor and restore-cursor operations.
7535	  This works around a problem with vim, which apparently assumed that
7536	  switching between the normal and alternate screens resets the colors
7537	  (reported by Jim Battle &lt;jb@chromatic.com&gt;).
7538<P>
7539	  It would be nice to implement save/restore cursor as a stack (and
7540	  solve this type of problem completely), but that would lead to
7541	  incompatibility with applications which assume they are running with a
7542	  VT100 or VT220.
7543
7544	<LI>corrects behavior of a restore-cursor operation which does not
7545	  follow a save-cursor (it is supposed to set the character sets
7546	  to a known initial state).
7547
7548	<LI>extends the sunKeyboard resource (and menu toggle) to modify the
7549	  home, end and delete keys on a Sun or PC editing keypad, making them
7550	  generate codes compatible with DEC VT220's Find, Select and Remove
7551	  keys.
7552
7553	<LI>corrects a length in checking command-line options, which caused the
7554	  "-help" message to not work when X was not running.
7555
7556	<LI>add some detail to the man-page (requested by Jason Bacon
7557	  &lt;acadix@execpc.com&gt;)
7558
7559	<LI>modify the standalone configure script to ignore the broken nsl and
7560	  socket libraries on IRIX 6.2 (the ones on 5.2 also are broken, so
7561	  this change just widens the check for the system version number).
7562</UL>
7563
7564<H1><A NAME="xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A></H1>
7565
7566This is another patch from Bjorn Helgaas &lt;helgaas@rsn.hp.com&gt;, which I've
7567reviewed (and learned some).  Following are his notes:
7568<P>
7569I poked around some more and finally got xterm-62 to build and run
7570cleanly on HP-UX 10.20.  Here are the patches.  They look sort of
7571ugly, so here's a little explanation:
7572<UL>
7573        <LI>aclocal.m4: Removed side effects from the AC_CACHE_VAL
7574        commands in CF_FUNC_TGETENT.  Previously, LIBS was set inside
7575        AC_CACHE_VAL, which worked fine the first time configure was
7576        run, but failed if there were cached values.
7577
7578        <LI>aclocal.m4: Added temporary setting of LIBS before
7579        AC_TRY_LINK in CF_FUNC_TGETENT.  Previously, the last value set
7580        by the AC_TRY_RUN loop was used, so only -lcurses was checked.
7581
7582        <LI>configure.in: Added temporary setting of CPPFLAGS before
7583        AC_CHECK_HEADERS for X11 files.  Previously &lt;X11/DECkeysym.h&gt;
7584        and &lt;X11/Xpoll.h&gt; were found only if they were in the compiler's
7585        default include directories, even if `--x-includes=DIR' had been
7586        used or AC_PATH_XTRA had found them elsewhere.
7587</UL>
7588The problem on HP-UX was that we were linking with -lcurses rather than
7589-ltermcap due to the second bullet above, and apparently something in
7590HP-UX curses is broken.  This seems very strange, because the only thing
7591used is tgetent, which should affect any tty/pty configuration, but I
7592lost interest in tracking down the exact problem.
7593
7594<H1><A NAME="xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A></H1>
7595
7596This is a patch mostly by Bjorn Helgaas &lt;helgaas@dhc.net&gt; (I added the
7597os2main.c change, and a little of the documentation).  From Bjorn's
7598description:
7599<UL>
7600	<LI>If you use the "-hc &lt;color&gt;" option or set the "highlightColor"
7601	  resource, text is highlighted by changing only the background color,
7602	  rather than using reverse video.  I find this easier to read,
7603	  especially when selecting multi-colored text, and it is similar to
7604	  the way Netscape shows selections.
7605
7606	<LI>Most of the code changes are under "#if OPT_HIGHLIGHT_COLOR".  The
7607	  principal exception is in screen.c, where I added a couple calls to
7608	  resetXtermGC().  This seems like it could be a bug even without
7609	  the color highlighting changes (though I don't pretend to understand
7610	  all the logic).
7611</UL>
7612
7613<H1><A NAME="xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A></H1>
7614
7615This patch modifies the reset behavior of xterm slightly:
7616<UL>
7617	<LI>change the terminfo entry so that rs1 (one of the strings used by
7618	  the 'reset' program) does a hard reset rather than switching
7619	  character sets.  This is more in accord with other terminal
7620	  descriptions.
7621
7622	<LI>modifies the treatment of hard reset by the xterm program to
7623	  reset the saved lines.
7624
7625	<LI>corrects hard reset by also resetting user-defined keys, i.e., DECUDK.
7626</UL>
7627
7628<H1><A NAME="xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A></H1>
7629
7630This fixes some minor bugs and adds new functionality:
7631<UL>
7632	<LI>add support for blinking text.
7633<UL>
7634	  <LI>This does not actually cause the
7635	  text to flash, but text with the blink attribute can be displayed
7636	  in color, using new resources colorBL and colorBLMode.
7637
7638	  <LI>If colors are not used, the blinking text will be displayed as
7639	  before (just like bold).  The main purpose of this is to make
7640	  applications work properly when they assume the emulator supports
7641	  blinking text.
7642
7643	  <LI>I did this by moving the per-cell LINEWRAPPED flag to a per-line
7644	  flag, to make room for the new BLINK flag.  There were no per-line
7645	  flags, so this changes a lot of logic.
7646</UL>
7647
7648	<LI>corrected missing save-cursor logic in the handling of SGR 1048
7649	  (the new control sequence I added in patch #54, 1997/10/17).
7650	  Reported by Darren Hiebert.
7651
7652	<LI>flush the output of the transparent printing after each line
7653	  Reported by Tomas Vanhala &lt;vanhala@ling.helsinki.fi&gt;.
7654
7655	<LI>correct the modes that are affected by save/restore cursor by adding
7656	  WRAPAROUND and PROTECTED.
7657
7658	<LI>corrected placement of one of the XSync calls that I added in patch
7659	  #51, 1997/9/15, which had the side-effect of writing on the window
7660	  border when the xterm was resizing from 132 to 80 columns.
7661
7662	<LI>work around an incompatibility of the XKB definition used in xterm
7663	  versus that symbol from IRIX 6.2's imake definitions (by adjusting
7664	  the standalone configure script).
7665</UL>
7666
7667<H1><A NAME="xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A></H1>
7668
7669My last patch has an off-by-one error in the comparison for argc.  Douglas
7670Kosovic &lt;douglask@dstc.edu.au&gt; showed me where (he got a core dump).
7671Also, I think this explains Clint Olsen's problem, but the symptoms were more
7672subtle (EINVAL for a system call if the -display option is omitted).
7673
7674<H1><A NAME="xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A></H1>
7675
7676This patch does the following:
7677<UL>
7678	<LI>implement logic to permit xterm to work with proportional fonts.
7679<UL>
7680	  <LI>Thomas Wolff
7681	  &lt;Thomas.Wolff@sietec.de&gt;
7682	  requested this (but it isn't exactly what he's asking
7683	  for - that's a more involved task).
7684
7685	  <LI>I chose to do this by rendering the characters on a fixed pitch,
7686	  because it would not be useful for existing applications to display
7687	  varying numbers of characters on each line.
7688
7689	  <LI>Except that this forces the display to be wider, it works reasonably
7690	  well.  A couple of special cases (reverse + colorBD, for example)
7691	  do not display with proper colors, since the inter-character gaps
7692	  are painted with the background.
7693</UL>
7694
7695	<LI>added a version number to the program (several people have requested
7696	  this).
7697
7698	<LI>make the -version and -help options interpreted before the program
7699	  attempts to open the display.
7700
7701	<LI>minor reorganization of the man-page (ordered the options, resources
7702	  and translations alphabetically - and eliminated some duplication).
7703
7704	<LI>corrected a misspelled filename in Makefile.in, and added a lint
7705	  rule.
7706
7707	<LI>updated the configure script to correct behavior when it cannot
7708	  find imake, as well as to fix the IRIX+gcc build (conflict with
7709	  /usr/include).
7710
7711	<LI>regenerated the configure script with a newer patch to autoconf
7712	  that fixes a problem with environment space vs the configure --help
7713	  message.
7714</UL>
7715<H1><A NAME="xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A></H1>
7716
7717This patch is mostly concerned with the standalone configure script; a few
7718minor corrections are added:
7719<UL>
7720	<LI>add configure option --disable-tek4014, to allow xterm to be built
7721	  without the tek4014 emulation.
7722
7723	<LI>add configure option --with-terminal-type, to allow xterm to be
7724	  compiled with default $TERM value other than "xterm" (e.g.,
7725	  "xterm-16color") -- requested by Stephen Marley &lt;stephen@memex.com&gt;.
7726
7727	<LI>fix a typo in the configure --help message -- reported by Darren
7728	  Hiebert &lt;darren@hmi.com&gt;.
7729
7730	<LI>review diffs between main.c and os2main.c, to make them more alike.
7731	  (applies some minor bug-fixes to OS/2's version).
7732
7733	<LI>add missing quotes in memmove/bcopy configure test
7734</UL>
7735
7736
7737<H1><A NAME="xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A></H1>
7738
7739This patch is based on analysis by Arfst Ludwig &lt;arfst@luxor.IN-Berlin.DE&gt;,
7740who reported:
7741<blockquote>
7742	Setting the following resources xterm (all current versions) receives a
7743	segmentation fault on &lt;Btn2Up&gt; after scrolling:
7744<PRE>
7745
7746	  *XTerm*VT100*translations:    #override \
7747	      ~Shift~Ctrl&lt;Btn2Up&gt;: insert-selection(PRIMARY, CUT_BUFFER0)\n\
7748	      Shift~Ctrl&lt;Btn2Up&gt;:  insert-selection(CLIPBOARD, CUT_BUFFER1)\n\
7749	      ~Shift&lt;BtnUp&gt;:       select-end(PRIMARY, CUT_BUFFER0)\n\
7750	      Shift&lt;BtnUp&gt;:        select-end(CLIPBOARD, CUT_BUFFER1)
7751</PRE>
7752	(The above resources intention is to be able to paste the latest
7753	selection even if the xterm was cleared.)
7754<P>
7755	And here is how it works (and a fix!):  The widget given to the action
7756	handler as first argument is not guaranteed to be a XtermWidget (it can
7757	be the ScrollbarWidget).  Instead of accessing the widget's member
7758	directly XtDisplay gives the required pointer in a safe way.
7759</blockquote>
7760I noticed that this was not the only instance (by reading the code, and testing
7761with his example), and extended the solution to check the widget-class to
7762ensure that it is indeed xterm's widget class before attempting to use it in
7763the context of translations.
7764
7765<H1><A NAME="xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A></H1>
7766
7767This fixes the segmentation violation noted by Rogier Wolff about a month
7768ago.  He'd set xterm to 400 (rows) by 150 columns, which broke because there
7769were limited buffers (200 rows) used for juggling data when adding or deleting
7770lines and for switching between alternate and normal screens.  I replaced this
7771by an allocated buffer.
7772<P>
7773The bug is simple to test if you set titeInhibit false.
7774
7775<H1><A NAME="xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A></H1>
7776
7777This patch does the following:
7778<UL>
7779	<LI>correct a minor placement problem with the right scrollbar.
7780
7781	<LI>implement a new set of control sequences for switching between the
7782	  normal and alternate VT100 screens.  These work around the older
7783	  sequences limitation that required modification of the runtime
7784	  $TERMCAP to cooperate with the titeInhibit resource (that can't work
7785	  with terminfo).  I do this by moving all of the functionality of the
7786	  rmcur terminfo capability into the control sequences.
7787
7788	<LI>implement the alternate-screen menu entry
7789</UL>
7790
7791<H1><A NAME="xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A></H1>
7792
7793This patch adds a fix and implements a new feature (as well as some minor
7794typos):
7795<UL>
7796	<LI>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a problem
7797	  with the wait call with the logging option.  It hung when the logfile
7798	  was opened as a command-line option.  I fixed this by moving the
7799	  StartLogging() call down past the place where I'd reset the setuid
7800	  mode.  So the logfile is opened as the real user, without having
7801	  to fork.
7802
7803	<LI>improve Rohleder's changes by
7804	    renaming the command-line options and reducing the number of ifdef's.
7805
7806	<LI>implement right-scrollbars for xterm
7807	  (patch by Michael Rohleder &lt;michael.rohleder@stadt-frankfurt.de&gt;).
7808</UL>
7809
7810<H1><A NAME="xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A></H1>
7811
7812This patch addresses bugs and requests reported by
7813<UL>
7814	<LI>Bob Maynard &lt;rmaynard@montana.com&gt;,
7815	<LI>Clint Olsen &lt;olsenc@ichips.intel.com&gt;,
7816	<LI>JCHANDRA@Inf.COM (JCHANDRA),
7817	<LI>Michael Schroeder &lt;Michael.Schroeder@informatik.uni-erlangen.de&gt;,
7818	<LI>Pablo Ariel Kohan &lt;pablo@memco.co.il&gt;
7819</UL>
7820
7821Some of the changes are interrelated (it was an unusually busy week).
7822<UL>
7823
7824	<LI>change the default resource value for colorMode to true, matching
7825	  the Xterm.ad file.
7826
7827	<LI>correct behavior of 'ech' control, making the default and 0
7828	  parameters erase one character rather than to the end of line
7829	  (reported by Michael Schroeder).
7830
7831	<LI>add resource boldColors, command-line options +pc and -pc and
7832	  configure-script option to specify behavior of xterm's mapping bold
7833	  colors 0 through 7 to colors 8 through 15.
7834	  (request by Pablo Ariel Kohan).
7835
7836	<LI>add resource colorAttrMode to specify whether colorULMode and
7837	  colorBDMode can override the ANSI colors
7838	  (report by Clint Olsen).
7839
7840	<LI>correct a conflict between colorULMode/colorBDMode versus ANSI
7841	  colors, where exposure events would occasionally pick up the
7842	  former (e.g., colorBD) rather than ANSI colors.  Testing the
7843	  colorAttrMode made this apparent, though it has been in the
7844	  code since 3.2A (patch #35 in Jan 1997).
7845
7846	<LI>correct two problems with the optional logging support.  On Linux
7847	  at least, the waitpid call in creat_as hangs when the logging is
7848	  toggled from the popup menu.  Also, the mktemp template has the wrong
7849	  number of X's (since X11R5!).  Fixed the waitpid problem by
7850	  exploiting the fact that the setuid behavior is reset before the
7851	  popup menus are available.
7852	  (reported by Jayachandran C.).
7853
7854	<LI>add configure script options for building with the Xaw3d and neXtaw
7855	  libraries.
7856
7857	<LI>correct CF_IMAKE_CFLAGS standalone configure script macro, so that it
7858	  will pick up $(ALLDEFINES) rather than $(STD_DEFINES).  This is
7859	  needed to make scrollbars work on Linux, since that uses narrow
7860	  prototypes.
7861	  (reported by Bob Maynard).
7862
7863	<LI>various minor updates to configure-script macros.
7864</UL>
7865
7866<H1><A NAME="xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A></H1>
7867
7868Most of this patch is related to the standalone configure script, though
7869there are fixes/enhancements as well:
7870<UL>
7871	<LI>add a new resource sunKeyboard, with associated command-line
7872	  option and menu-toggle that allows using a normal Sun or PC
7873	  keyboard to generated the complete DEC-style function keys
7874	  and keypad.
7875
7876	<LI>correct a reversed foreground/background test in the control
7877	  sequence that replies with the current SGR settings.
7878
7879	<LI>correct, by invoking XSync, a display problem that caused the
7880	  program to not properly update newly exposed areas when a font
7881	  change or 80/132 resize request was not completely accepted.
7882
7883	<LI>restructured autoconf macros (I made a library of all of the
7884	  macros across the complicated configure scripts I'm working on).
7885
7886	<LI>use the autoconf config.guess and config.sub scripts to better
7887	  identify the host-os.
7888
7889	<LI>improve the configure script that uses 'imake' as a fallback for
7890	  definitions.
7891
7892	<LI>correct several instances of unsigned/signed mixed expressions.
7893</UL>
7894
7895I've tested the configure script on Linux, SunOS 4.1.3, Solaris 2.5.1,
7896IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but the last run properly
7897as well).
7898
7899<H1><A NAME="xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A></H1>
7900
7901This is a collection of small fixes, and a couple of minor enhancements:
7902<UL>
7903	<LI>plug a security hole in the implementation of Media Copy (print)
7904	  by invoking setuid just before the main loop.
7905
7906	<LI>add an ifdef'd include for &lt;sys/termio.h&gt; for HP-UX, which allows
7907	  the program to process SIGWINCH events (this is a bug in X11R6.3)
7908
7909	<LI>add state-table entries for VT52 emulation to enter/exit keypad
7910	  application mode.
7911
7912	<LI>disable the popup-menu entry for 8-bit controls when the terminal-id
7913	  is less than 200 (e.g., VT52 or VT100).
7914
7915	<LI>ensure that the popup-menu entry for 8-bit controls is updated when
7916	  the application enables/disables this mode, including the response
7917	  to a full-reset.
7918
7919	<LI>implement VT300 DECBKM feature: set interpretation of the backarrow
7920	  key to either backspace or delete.  The initial setting is via
7921	  resource; it can also be modified in the main popup menu.
7922
7923	<LI>implement VTxxx KAM (ISO AM), which allows a keyboard to be locked
7924	  (i.e., the terminal discards input).
7925
7926	<LI>implement VTxxx SRM, which is used to control local echoing of
7927	  input on the terminal.
7928
7929	<LI>add terminfo and termcap entries for xterm-8bit, a variation of
7930	  the xterm description that uses 8-bit control characters.
7931
7932	<LI>add fallback definitions for Imakefile to allow it to work on some
7933	  X11R5 systems that have no SpecialCObjectRule or ProgramTargetName
7934	  macros.
7935
7936	<LI>add .c.o and .c.i rules to standalone Makefile.in
7937
7938	<LI>correct order of -lXmu and -lXext in standalone configure script.
7939
7940	<LI>add configure script options to allow selective disabling of
7941	  active-icon, input-method and i18n code (mainly for users with X11R5
7942	  or an incomplete X11R6 configuration).
7943
7944	<LI>change menu-indices from #define's to enum values, thereby making
7945	  it work better with the ifdef's for logging and active-icon (the
7946	  X11R6.3 active-icon code is incorrectly ifdef'd; this corrects an
7947	  error introduced by incorporating that code).
7948
7949	<LI>correct minor compile errors in the configuration where active-icon
7950	  is not used.
7951
7952	<LI>add configure option to suppress echoing of long compiler commands
7953
7954	<LI>correct spelling of decTerminalID in configure script help message
7955
7956	<LI>use gcc __attribute__((unused)) to quiet warnings about unused
7957	  parameters when compiling with -W (to make it simpler to find the
7958	  real problems).
7959</UL>
7960
7961<H1><A NAME="xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A></H1>
7962
7963This patch implements the VT100/VT220 Media Copy (i.e., print-screen) control
7964sequences.
7965
7966<H1><A NAME="xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A></H1>
7967
7968This patch does the following (all but the first affect only the standalone
7969configure script):
7970<UL>
7971	<LI>minor correction to positioning of underlines for small (e.g., 5x8)
7972	  font size.
7973	<P>
7974	  The existing behavior allowed underlines to be drawn outside the
7975	  character-cell, so they weren't cleared properly under some
7976	  circumstances.
7977
7978	<LI>adds more special-case tokens to the standalone configure script's
7979	  imake-option filter (e.g., "&amp;&amp;", since a "make -n main.o" on my IRIX
7980	  system uses that shell construct).
7981
7982	<LI>adds a '--enable-logging' option for the standalone configure script.
7983
7984	<LI>adds check and ifdef's for the standalone configure script to allow
7985	  for building on platforms with X11R6, which lacks Xpoll.h (introduced
7986	  in X11R6.1).
7987</UL>
7988
7989<H1><A NAME="xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A></H1>
7990
7991This patch does the following
7992<UL>
7993	<LI>corrects an indexing error in the doublesize character logic
7994	  (button.c) that caused core dump (this was reported by J.  Wunsch).
7995	<LI>corrects the logic of ShowCursor when it is painting in a doublesize
7996	  cell (charproc.c).
7997	<LI>corrects, according to vttest, the behavior when switching to
7998	  doublesize characters and back again (doublechr.c).
7999	<LI>adds cbt (back_tab) to the terminfo description (this was something
8000	  that I'd overlooked as applicable to curses optimization last
8001	  summer).
8002	<LI>corrects, for the standalone xmc test, the logic for disabling xmc.
8003</UL>
8004
8005<H1><A NAME="xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A></H1>
8006
8007This is a patch to provide test-support for some work I'm doing on ncurses.  It
8008does not modify the normal configuration of xterm; the code is compiled if the
8009standalone configure option "--enable-xmc-glitch" is specified.
8010
8011<H1><A NAME="xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A></H1>
8012
8013This fixes the problem reported with xterm's cursor color versus the background
8014(the second chunk in this patch) and also removes some duplicate initialization
8015of the cursor GC's.  If the cursor color at startup is the same as the
8016background, then xterm will use the reverse GC, ignoring the setting of the
8017colorMode resource.
8018
8019<H1><A NAME="xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A></H1>
8020
8021This implements the first part of the VT100 doublesize characters for xterm,
8022as well as fixing a handful of bugs:
8023<UL>
8024	<LI>the doublesize character support uses the normal font (using scaled
8025	  fonts will be another patch) with blanks to simulate doublesize
8026	  characters.  This patch does most of the global changes that'll be
8027	  required.  I've hidden most of the details in macros and ifdef's so
8028	  it's easy to configure out (part of the patch is a configure option
8029	  for that purpose).
8030
8031	<LI>corrected limits in DeleteChar() function -- it's always ignored the
8032	  size of the left border and scrollbar.  I noticed this when working
8033	  on the doublesize characters since the glitch was doubled in size
8034	  (i.e., it wrapped some garbage around the right margin).
8035
8036	<LI>corrected 'memmove()' logic, for standalone builds (it referenced a
8037	  malloc wrapper from my development library).
8038
8039	<LI>add a check for HideCursor() to prevent repeated screen updates
8040	  (which can cause a spurious cursor glitch to appear, e.g., during
8041	  scrolling).  I noticed this with the 3.2A version (but only a few
8042	  weeks ago, when I started working on this patch).
8043</UL>
8044
8045<H1><A NAME="xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A></H1>
8046
8047Here's a fix for two problems:
8048<UL>
8049	<LI>modify handling of tgetent results in xterm and resize programs to
8050	  make them tolerant of missing termcap file, or unknown terminal name.
8051	  In this scheme, an explicit "-tn" option will succeed, overriding
8052	  the fallback list.
8053
8054	<LI>a nit in the configure script (log extra information to help diagnose
8055	  which case of the test-compile of tgetent was used).
8056</UL>
8057
8058<H1><A NAME="xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A></H1>
8059
8060Bram Moolenaar reported that the cursor color changed unexpectedly while
8061scrolling.  The cause was that it used the same GC's as the logic that draws
8062the ANSI colors.  The bug only appears if the cursorColor resource isn't set,
8063and has been present since the initial implementation early last year.  (The
8064same bug also appears in rxvt ;-).  Here's a fix.
8065
8066<H1><A NAME="xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A></H1>
8067
8068Some nits found by Darren Hiebert (missing part of install-rule, incorrect
8069assignment for --enable-color-mode option).
8070
8071<H1><A NAME="xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A></H1>
8072
8073Patch for the configure script's logic for obtaining imake predefined
8074symbols.
8075
8076<H1><A NAME="xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A></H1>
8077
8078This patch does the following:
8079<UL>
8080	<LI>integrate the 16-color change for 'xterm'
8081
8082	<LI>minor fixes/clarification of tgetent in terminfo vs termcap to
8083	  'resize'
8084</UL>
8085
8086(both changes also modify the configure script)
8087
8088<H1><A NAME="xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A></H1>
8089
8090This implements a simple configuration script with autoconf (to which I'll
8091add more options later).  It does the following:
8092<UL>
8093	<LI>configures xterm to build with X11R5 (at least on SunOS 4.1, Solaris
8094	  2.4, possibly IRIX - sorry network was down today, but I did test
8095	  an earlier version yesterday).
8096
8097	<LI>enables/disables the configuration ifdef's for ANSI color and VT52
8098	  emulation.
8099</UL>
8100It does not make tests for the things that imake does (that's another project),
8101instead it uses a hybrid of the autoconf tests for libraries and adds imake's
8102compiler options (which are necessary in some cases to get main.c to compile).
8103
8104<H1><A NAME="xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A></H1>
8105
8106This corrects a minor, but annoying error in the vt220 emulation: the DECUDK
8107is only supposed to be interpreted for _shifted_ function keys.
8108
8109<H1><A NAME="xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A></H1>
8110
8111This corrects something that I overlooked in patch #27 (21-aug-1996), which is
8112that when trimming the region to be repainted for the highlightSelection
8113resource of xterm, I still have to paint the background past the highlighted
8114region.  This only happens when I first do a selection in a window that's
8115partly off-screen, then move the window on-screen.
8116
8117<H1><A NAME="xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A></H1>
8118
8119This patch does the following:
8120<UL>
8121	<LI>combines the coding for foreground and background colors into a
8122	  single byte, reducing the memory required to store saved-lines in
8123	  color.  (I'll take back that byte in a following patch to use to
8124	  ensure the character-set, so there's no long-term decrease in memory
8125	  use).
8126
8127	<LI>modifies the PF1-PF4 coding in termcap/terminfo.  Because xterm is
8128	  still by default emulating vt100, the function key codes are
8129	  vt100-compatible (I overlooked this in patch #31).
8130
8131	  I also reformatted the whole terminfo file into a single-column,
8132	  for consistency.
8133
8134	<LI>adds an interim xterm-vt220 description to accommodate the old and new
8135	  styles of function-keys (though probably it'd be better to drop the
8136	  old-style altogether).
8137</UL>
8138
8139<H1><A NAME="xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A></H1>
8140
8141This patch does the following:
8142<UL>
8143	<LI>implement DECSTR (soft terminal reset).  The biggest diff is due to
8144	  adding another state table (note that there's only one useful state
8145	  here, but it's only 256 bytes rather than 1k as it would have been
8146	  before I reduced the size of state entries).
8147
8148	<LI>some minor tidying up (e.g., signed/unsigned use bitcpy, MODE_DECCKM,
8149	  resetColor, resetCharsets).  More is done in patch #35.
8150</UL>
8151
8152I got the description of DECSTR from a vt420 user's manual.  I'll do some
8153testing with vttest to ensure that there's nothing else to do than what was
8154documented.
8155
8156<H1><A NAME="xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A></H1>
8157
8158This adds to the reset-fix by Matthieu Herrb &lt;Mathieu.Herrb@mipnet.fr&gt; a
8159small change to make xterm able to output 8-bit characters in VT100 mode.
8160
8161Applications that run on real VT100's don't do that anyway, and this feature
8162should be removed sometime after finishing off the VT220 emulation (VT220's can
8163do 8-bit characters).  That would be a good time to change the default
8164terminal-id to 220.
8165
8166<H1><A NAME="xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A></H1>
8167
8168This implements the REP (repeat) control for xterm.  That isn't part of the DEC
8169VTxxx series, but is defined in ISO 6429.  (Note that the base xterm terminal
8170description is <EM>not</EM> changed -- I added a variant, "xterm-rep").
8171
8172<H1><A NAME="xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A></H1>
8173
8174This implements vt52 emulation in xterm (ifdef'd so it can be removed).
8175I've been using it for testing for the past month or so.
8176
8177<H1><A NAME="xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A></H1>
8178
8179From bug-report by &lt;auroux@clipper.ens.fr&gt; (Denis Auroux), missing reset to
8180ground state.  I checked through the rest of <EM>that</EM> table and found another,
8181in the unimplemented MC (screen print).
8182
8183<H1><A NAME="xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A></H1>
8184
8185This patch does the following:
8186<UL>
8187	<LI>corrects the restoration of color for bold/underline color mode
8188
8189	<LI>adds a resource 'decTerminalID' to control the reporting level of
8190	  xterm (e.g., VT100, VT220).
8191
8192	<LI>uses the new resource to implement/correct the DA1, DA2 and
8193	  DECRPTUI reports.
8194
8195	<LI>change valid-response code in DECRQSS from 0 to 1 (the manual says 0,
8196	  but the VT420 terminal I've been testing on says 1).
8197</UL>
8198
8199All of these changes are based on vttest 2.6
8200<P>
8201(Most of the volume in the patch is to add 2 more state tables for parsing
8202the 2nd/3rd device-attribute controls).
8203
8204<H1><A NAME="xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A></H1>
8205
8206This patch corrects the following reported by Roland Rosenfeld
8207&lt;roland@spinnaker.rhein.de&gt;:
8208<UL>
8209	<LI>handle SGR 22, 24 and 25 in combination with colorUL and colorBD
8210	  resources.  Also noted &amp; fixed reset of colored underline/bold
8211	  with SGR 0.
8212
8213	<LI>a typo in the termcap (missing '['), from 3.1.2Dj (my error)
8214</UL>
8215
8216Roland also complained that he couldn't use box characters with
8217<PRE>
8218	-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
8219</PRE>
8220but that's a known xterm limitation (the box characters must be part of the
8221font, in the first 32 locations).
8222
8223<H1><A NAME="xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A></H1>
8224
8225This patch fixes one of my long-term gripes:  xterm's selection doesn't clearly
8226show what's being selected (as per David's request, it's controlled by a
8227resource, which defaults to the older behavior).
8228
8229<H1><A NAME="xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A></H1>
8230
8231Here's a patch to fix a problem with xterm's cut/paste and another to modify
8232the appearance of the highlighting while selecting.  (The changes are
8233independent, so you can see if the change to screen.c is desirable).
8234
8235<H1><A NAME="xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A></H1>
8236
8237Here's a correction for two minor bugs that I picked up in testing, plus
8238some lint (from Solaris 2.5) where NULL was used incorrectly:
8239<UL>
8240	<LI>make the second alternate font the same as the first (that's what
8241	  vt420 and dtterm do)
8242
8243	<LI>corrected DECSCL report when DECSCL hasn't been set (i.e., don't
8244	  return a '60').
8245</UL>
8246
8247<H1><A NAME="xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A></H1>
8248
8249This patch does several things.  In effect, xterm can (I think) do a reasonably
8250good job of emulating vt220 and vt320 terminals (as well as it was doing
8251vt100, at any rate ;-).
8252<P>
8253It does NOT do:
8254<UL>
8255	<LI>soft fonts
8256
8257	<LI>rigel or sixel graphics
8258</UL>
8259<P>
8260Anyway, I:
8261<UL>
8262
8263	<LI>added ECH, CPL, CNL, SU, SD, CBT, CHT controls
8264
8265	<LI>added popup-menu for switching between DEC and Sun function keys.
8266	  (corrected alignment err wrt logging entry at that point).
8267
8268	<LI>make xterm recognize both 8-bit and 7-bit controls (including
8269	  popup menu for switching modes).
8270
8271	<LI>add user-definable function keys (aka DECUDK)
8272
8273	<LI>support concealed text
8274
8275	<LI>support protected text (both ISO compatible and DEC compatible -
8276	  that's not the same thing, btw), with SPA, EPA, DECSCA, DECSED,
8277	  DECSEL controls.
8278
8279	<LI>implement DECSCL.
8280</UL>
8281<P>
8282I'll be continuing to test this patch for a while, but don't expect to add any
8283new functionality (it passes all of the current tests I've built in vttest, but
8284I need to make more tests)..
8285
8286<H1><A NAME="xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A></H1>
8287
8288This removes the blinking cursor I added last week (for performance reasons).
8289Time-permitting, I'll revisit this after 3.2 is released (there <EM>will</EM> be more
8290work after XFree86 3.2, I assume).
8291
8292<H1><A NAME="xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A></H1>
8293
8294I looked more closely at my "double-negative" and realized that I had been
8295confused by the default color scheme (black on white) in combination with
8296reverse video.  However, I did see that the original_fg and original_bg data
8297weren't really used - so I removed that logic.
8298<P>
8299Also:
8300<UL>
8301	<LI>during initialization, check if ANSI colors are set with non fg/bg
8302	  values, disable color mode if not.  This makes xterm tolerant of
8303	  applications that allocate the whole color map.
8304
8305	<LI>implemented blinking cursor (default is <EM>off</EM>)
8306</UL>
8307
8308<H1><A NAME="xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A></H1>
8309
8310This patch does the following:
8311<UL>
8312	<LI>fixes some minor typography in the control-sequences documentation
8313	  (it didn't occur to me til I'd sent the last patch that I could use
8314	  ghostview for previewing the troff output ;-)
8315
8316	<LI>adjusts the shell's background color in ReverseVideo so that flicker
8317	  in resizing is reduced
8318
8319	<LI>adds an ifdef OPT_ISO_COLORS to allow configuring xterm without
8320	  the ISO color support (saves a lot of memory)
8321
8322	<LI>used that ifdef to isolate/modify logic so that if the user doesn't
8323	  have the colorMode enabled, then ISO color support is disabled (saving
8324	  memory).
8325	<P>
8326	  (If anyone needs numbers, I had savedLines set to 2000, and found
8327	  a reduction from ~700k to ~400k of allocated memory, according to
8328	  Purify).
8329</UL>
8330
8331<H1><A NAME="xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A></H1>
8332
8333This documents the changes in control sequences for window operations that
8334I added in my previous patch.  I'm testing another patch that allows the
8335user to use less memory if colors aren't needed.
8336
8337<H1><A NAME="xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A></H1>
8338
8339This patch does the following:
8340<UL>
8341	<LI>fixes the core dump that I reported on IRIX 5.2 (in main.c)
8342	<P>
8343	  (it's worth noting that this bug exists in X11R6.1, so I'd like
8344	  to assume that someone's already submitted a fix to X Consortium...)
8345
8346	<LI>change the interpretation of zero rows or columns in a resize-window
8347	  request to use the root window's size (looking more carefully at
8348	  dtterm, that seems to be what it does).
8349
8350	<LI>change some memmove calls to memcpy for slightly better performance.
8351	  also, a couple of memset calls to bzero, since Quantify says bzero runs
8352	  20% faster, I assume because there's one less argument.
8353
8354	<LI>interpret character sets 1 and 2 (so that vttest gives a reasonable
8355	  result) Both rxvt and dtterm do something equivalent.
8356
8357	<LI>fix a minor memory leak in the logic that retrieves the window or
8358	  icon names (Purify found this for me while I ran vttest).
8359</UL>
8360
8361<H1><A NAME="xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A></H1>
8362
8363This implements the following:
8364<UL>
8365	<LI>escape sequences that act like the CDE dtterm's window operations
8366	  (though I have implemented the default width and height -- I've seen
8367	  a rather buggy dtterm running that seems to treat width=0 or height=0
8368	  literally -- maybe that's a feature, not a bug?)
8369
8370	<LI>minor tweak to the screen-repainting when resizing (I still cannot
8371	  entirely get rid of flicker).
8372
8373	<LI>still more fixes to terminfo &amp; termcap (I corrected my error for
8374	  the hpa code and added some other stuff by comparing to ncurses'
8375	  description and rxvt's).
8376
8377	<LI>a tweak to the changes by Michael Rohleder for the color translation
8378
8379	<LI>re-order attribute codes to allow later implementation of protected
8380	  fields (dtterm supposedly does this; it's probably more useful than
8381	  blinking or invisible text -- that uses up all of the available bits
8382	  without changing the attribute scheme radically).
8383</UL>
8384
8385<H1><A NAME="xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A></H1>
8386
8387This patch implements for xterm several minor features from ISO 6429 which are
8388useful for terminfo applications.  The HPA and VPA control sequences allow
8389cursor movement along a row or column, cutting down a little on the characters
8390transmitted.  The other codes allow resetting specific graphic rendition
8391attributes without modifying the other attributes.
8392
8393(now if someone just had time to implement blinking cursors...)
8394
8395<H1><A NAME="xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A></H1>
8396
8397Adam Tla/lka &lt;atlka@pg.gda.pl&gt; told me a couple of weeks ago that I'd missed
8398some of the background coloring in xterm.  I investigated, and found that while
8399I'd picked up on the clear-to-bottom and clear-to-end-of-line operations, I'd
8400overlooked the insert/delete lines.  Just so I wouldn't overlook any more of
8401these, I updated a copy of vttest to test ISO colors and bce (background color
8402erase).  This patch introduces a new function, ClearCurBackground, whose calls
8403replace the direct XClearArea calls that I'd overlooked.
8404
8405(There's also a few compiler warnings fixed, etc ;-)
8406
8407<H1><A NAME="xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A></H1>
8408
8409This fixes the problem reported by David Dawes, by making the 50msec select
8410timeout for the Xaw3d arrow scrollbar a resource.  (I made it a boolean for a
8411variety of reasons -- to make it a number, you'd need an additional resource,
8412to avoid breaking the logic).
8413
8414<H1><A NAME="xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A></H1>
8415
8416This patch brings the termcap and terminfo descriptions for xterm up to date.
8417I made the following changes:
8418<UL>
8419	<LI>reformatted the terminfo description in a single-column (this is ok
8420	  for terminfo, and will simplify future patches -- can't do that for
8421	  termcap, since it would impact buffer requirements on some systems).
8422
8423	<LI>omitted obsolete features in termcap to save a little space (bs, pt)
8424
8425	<LI>added color capabilities to termcap (ut, Co, NC, op, AB, AF)
8426
8427	<LI>corrected some capabilities (vi, ve)
8428
8429	<LI>added 'st' (set tab)
8430
8431	<LI>reduced function keys in termcap for 'xterm' to 12 because color
8432	  capabilities makes that description larger than 1023 characters.
8433
8434	<LI>created new termcap name 'xtermm' (monochrome) to match the terminfo
8435	  list, and make that description have 20 function keys.
8436
8437	<LI>added corresponding color capabilities to terminfo (bce, colors,
8438	  pairs, op, ncv, setab, setaf)
8439
8440	<LI>corrected corresponding capabilities in terminfo (civis, cnorm,
8441	  rmcup, smcup)
8442
8443	<LI>added capabilities (el1, hts)
8444
8445	<LI>in both, corrected home/end keys to match the code correction made
8446	  by Thomas Mueller in 3.1.2Bk
8447
8448	  <P>=&gt; (I'm still considering modifying the code &amp; description to match
8449	      the rxvt program).
8450</UL>
8451
8452<H1><A NAME="xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A></H1>
8453
8454This corrects my earlier changes for colors - the inner border of the xterm was
8455getting painted with the wrong color, since I'd moved the call to set the
8456background into the logic that tracks SGR information.
8457
8458<H1><A NAME="xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A></H1>
8459
8460This corrects a memory leak in xterm that happens whenever one switches fonts.
8461
8462<H1><A NAME="xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A></H1>
8463
8464This patch corrects the behavior of the ANSI colors in xterm when reverse
8465video is used, as well as some other lesser sins:
8466<UL>
8467	<LI>button.c
8468<UL>
8469		<LI>(compiler warnings: shadowing of 'time', redundant cast)
8470</UL>
8471
8472	<LI>charproc.c
8473<UL>
8474		<LI>renamed screen.colors[] array to screen.Acolors[] to more
8475		easily distinguish the non-ANSI colors from the ANSI colors.
8476
8477		<LI>moved logic of SGR_Save() into VTInitialize, getting rid of
8478		local private variables original_fg and original_bg.
8479
8480		<LI>moved some logic into getXtermForeground and getXtermBackground
8481		from SGR_Foreground, SGR_Background, etc.
8482
8483		<LI>corrected misleading 'row' to 'col' in case for CUF, CUB
8484		sequences.
8485</UL>
8486
8487	<LI>ctlseqs.ms
8488	<LI>xterm.man
8489<UL>
8490		<LI>(correct a misconception which I'd added that the color0
8491		through color6 resource values apply to non-ANSI colors)
8492</UL>
8493
8494	<LI>ptyx.h
8495<UL>
8496		<LI>added original_fg, original_bg to TScreen structure.
8497</UL>
8498
8499	<LI>scrollbar.c
8500<UL>
8501		<LI>(compiler warnings: redundant cast)
8502</UL>
8503
8504	<LI>util.c
8505<UL>
8506		<LI>new functions getXtermForeground and getXtermBackground replace
8507		the macros GET_FG and GET_BG, with the added functionality of
8508		checking for the reverse-video status of xterm.
8509
8510		<LI>in ReverseVideo, swap the SGR foreground and background colors
8511		also.
8512</UL>
8513</UL>
8514
8515<H1><A NAME="xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A></H1>
8516
8517I observed an occasional glitch in the xterm's color behavior; a clear to end
8518of line would get a color that had been used in a program that supposedly reset
8519colors.  I traced this down to the way xterm was modifying colors of GC's on
8520the fly; it didn't restore the original color of the GC, even though it would
8521later be used in functions (such as ClearRight) that assumed (my error) that
8522the GC would have the current foreground or background color.
8523<P>
8524I fixed this by resetting the GC's colors with a new function 'resetXtermGC()',
8525and direct calls on SGR_Foreground/SGR_Background, as appropriate and using a
8526new function 'updatedXtermGC()' to encapsulate the logic that modifies the GC's
8527color.  (I also removed some commented-out code that was trying to do this --
8528the problem was a little more obscure).
8529
8530<H1><A NAME="xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A></H1>
8531
8532This patch fixes the remaining problems that I had making xterm run with x11r5,
8533as well as a couple of other bugs.  It follows my patch from yesterday, that
8534added ifdef's for some of the input-method resources.
8535<UL>
8536	<LI>corrected ifdef's that suppress the input-method code (doesn't
8537	  exist in my x11r5, and xterm works adequately without it).
8538
8539	<LI>corrected fallback definition for 'Select()' macro (oops: I'd
8540	  copied the wrong text...)
8541
8542	<LI>moved the declarations for the fd_set variables to data.[ch]
8543
8544	<LI>corrected an ifdef in resize.c (sunos 4.x doesn't have termcap.h)
8545
8546	<LI>corrected (in main.c) some unused/orphaned variables.
8547</UL>
8548
8549<H1><A NAME="xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A></H1>
8550
8551This is mostly a documentation patch for xterm.  It describes the color control
8552sequences in more detail, and documents some other features of xterm that
8553aren't described elsewhere.
8554<P>
8555I've also added a couple of ifdef's to fix (part of) the problem that I'm
8556working on (making the program work properly on x11r5, where I'm doing memory
8557testing -- I have a "good" version from mid-January, but my resync version
8558doesn't work properly on x11r5).  I'm not done with <EM>that</EM> yet.
8559
8560<H1><A NAME="xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A></H1>
8561
8562I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF).  I've got an S3 card.
8563<P>
8564This fixes the following in the 3.1.2n xterm:
8565<UL>
8566	<LI>initialize cur_foreground, cur_background in charproc.c (Purify
8567	  told me they weren't initialized).
8568
8569	<LI>add interpretation of codes 39, 49, to reset background and
8570	  foreground to default value (I'm told that ISO 6429 does this; but I
8571	  don't have a written reference -- yet -- can anyone help here?).
8572	  Anyway, rxvt does it, and it'll solve my remaining color management
8573	  problems.
8574
8575	<LI>shadowing of 'time' in menu.c
8576
8577	<LI>'Cardinal' vs 'int' in scrollbar.c
8578
8579	<LI>several changes to permit compile with X11R5 (the system that I've
8580	  got Purify on won't be upgraded to X11R6 for a long time).
8581</UL>
8582<P>
8583I built this version (with a minor nit that I'll patch soon) on SunOS 4.1.3 so
8584that I can test it some more with Purify.
8585<P>
8586<EM>btw</EM>:
8587the changes made in Xpoll.h won't work on some older systems, because
8588	fd_set isn't a defined type (I've got one machine at least that this
8589	applies to).
8590
8591<H1><A NAME="xterm_06">Patch #6 - 1996/1/8</A></H1>
8592
8593This patch does all of the SGR foreground/background fixes (i.e., clearing the
8594screen after an SGR color is set causes that color to be used in the foreground
8595and/or background).  If the FG_COLOR and/or BG_COLOR flags aren't set, then the
8596xterm foreground and background default to the window's values.  This usage is
8597consistent with various types of hardware (especially the IBM PC), and is also
8598used in rxvt.
8599<UL>
8600	<LI>charproc.c:
8601<UL>
8602		<LI>add/use new macros GET_FG, GET_BG - n/c.
8603
8604		<LI>add/use new functions SGR_Foreground() and SGR_Background()
8605		  to set corresponding colors in GC's, and to retain sense of
8606		  "original" colors.
8607
8608		  <P>
8609		  =&gt; This makes redundant some of the corresponding logic
8610		     in HideCursor to set the foreground and background,
8611		     but I left it in since it <EM>may</EM> be fixing an unrelated
8612		     requirement.
8613
8614		<LI>set GC's in LoadNewFont() according to whether the SGR fg/bg
8615		  colors are active.
8616
8617		  <P>
8618		  =&gt; This fixes some glitches in the accompanying resize,
8619		     that leaves parts of the window in the original
8620		     background color.
8621</UL>
8622
8623	<LI>screen.c:
8624<UL>
8625		<LI>modified ClearBufRows() to use the SGR fg/bg colors if
8626		  they're set.
8627
8628		<LI>added function ScrnClearLines(), used this to replace
8629		  portions of ScrnInsertLine() and ScrnDeleteLine().
8630		  The new function uses the SGR fg/bg colors if they're
8631		  set.
8632
8633		  <P>
8634		  =&gt; Otherwise, selection after an index or reverse index will
8635		     paint the wrong colors.
8636
8637		<LI>modified ScrnDeleteChar() and ScrnInsertChar()
8638		  to use SGR fg/bg colors.
8639</UL>
8640
8641	<LI>util.c:
8642<UL>
8643		<LI>modified ClearRight() so that if either of the SGR fg/bg
8644		  colors is set, we don't bzero the attributes and color
8645		  arrays, but instead fill them with the appropriate codes.
8646
8647		<LI>modified ClearLeft to use SGR fg/bg colors.
8648</UL>
8649</UL>
8650
8651<H1><A NAME="xterm_05">Patch #5 - 1996/1/7</A></H1>
8652
8653This patch modifies the object code, by replacing indexing expressions with
8654temporary variables with the full indexing expression.  At first glance, this
8655seems inefficient (it did to me ;-), until remembering comments made in the
8656compilers newsgroups that trying to "help" the compiler doesn't really work
8657that well.  A good optimizing compiler can do a better job than the programmer
8658can.  (There's a moral in the use of 'register' variables also, but I won't fix
8659those...).
8660<P>
8661Anyway, the revised code generates a smaller object...
8662<UL>
8663<LI>charproc.c:
8664<UL>
8665<LI>recode index expressions in ShowCursor() and HideCursor()
8666		  using SCRN_BUF_xxxxS macros - changes object.
8667
8668<LI>replace constant '4' by MAX_PTRS - n/c.
8669</UL>
8670
8671<LI>ptyx.h:
8672<UL>
8673<LI>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS
8674		  macros, to pick up references to ScrnBuf data directly, and
8675		  added MAX_PTRS symbol to pick up those '4' constants strewn
8676		  about the code - n/c.
8677</UL>
8678
8679<LI>screen.c:
8680<UL>
8681<LI>recode index expressions in ScreenWrite() using
8682		  SCRN_BUF_xxxxS macros - changes object.
8683
8684<LI>replace constant '4' by MAX_PTRS - n/c.
8685
8686<LI>use macros BUF_CHARS, BUF_ATTRS - n/c.
8687
8688<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c
8689</UL>
8690
8691<LI>scrollbar.c:
8692<UL>
8693<LI>replace constant '4' by MAX_PTRS - n/c.
8694
8695<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c
8696</UL>
8697</UL>
8698
8699<H1><A NAME="xterm_04">Patch #4 - 1996/1/7</A></H1>
8700When setting up for this phase, I saw that you'd corrected the bug that I found
8701in ClearLeft.  I decided to make this series of patches anyway, since
8702readability never hurt (and there's the potential for finding another bug while
8703reviewing this set).
8704<UL>
8705<LI>button.c:
8706<UL>
8707<LI>use SCRN_BUF_xxxxS macros - n/c
8708</UL>
8709<LI>charproc.c:
8710<UL>
8711<LI>use SCRN_BUF_xxxxS macros - n/c
8712</UL>
8713<LI>ptyx.h:
8714<UL>
8715<LI>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS,
8716		  SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four
8717		  arrays that are derived from screen-&gt;buf.
8718</UL>
8719<LI>screen.c:
8720<UL>
8721<LI>use SCRN_BUF_xxxxS macros - n/c
8722</UL>
8723<LI>util.c:
8724<UL>
8725<LI>use SCRN_BUF_xxxxS macros - n/c
8726</UL>
8727</UL>
8728<H1><A NAME="xterm_03">Patch #3 - 1996/1/7</A></H1>
8729
8730This is my third (and final cleanup) patch for xterm.  It gets rid of the
8731unused stuff, and converts several functions to static (thereby reducing their
8732scope).
8733<P>
8734At this point, the only compile warnings I've got (on Linux) are those about
8735the select arguments (int vs fd_set type), and a missing declaration for
8736waitpid.  Those both are hard to get right without autoconfigure.
8737<P>
8738The next patches will address the functional changes...
8739<UL>
8740<LI>Tekproc.c:
8741<UL>
8742<LI>changed several functions to 'static' that aren't used
8743outside this module -- changes object
8744</UL>
8745<LI>charproc.c:
8746<UL>
8747<LI>changed several functions to 'static' that aren't used
8748outside this module -- changes object
8749<LI>deleted unused function unparsefputs -- changes object.
8750</UL>
8751<LI>main.c:
8752<UL>
8753<LI>changed several functions to 'static' that aren't used
8754outside this module -- changes object
8755<LI>ifdef'd out unused function 'consolepr()' -- changes object
8756<LI>removed unused variable 'dummy_tio' -- changes object
8757<LI>moved variable 'discipline' to quiet unused-warning -- changes object
8758</UL>
8759<LI>main.h:
8760<UL>
8761<LI>deleted unused definition of DEFBORDERWIDTH - n/c
8762</UL>
8763<LI>misc.c:
8764<UL>
8765<LI>changed several functions to 'static' that aren't used
8766outside this module -- changes object
8767<LI>provide dummy return statements for xerror and xioerror to
8768quiet compiler warnings -- changes object
8769</UL>
8770<LI>ptyx.h:
8771<UL>
8772<LI>change sbuf_address and abuf_address to 'Char *' - n/c
8773</UL>
8774<LI>resize.c:
8775<UL>
8776<LI>changed several functions to 'static' that aren't used outside this module
8777-- changes object
8778</UL>
8779<LI>screen.c:
8780<UL>
8781<LI>remove unnecessary 'Char **' casts - n/c
8782</UL>
8783<LI>util.c:
8784<UL>
8785<LI>changed several functions to 'static' that aren't used outside this module
8786-- changes object
8787</UL>
8788</UL>
8789<H1><A NAME="xterm_02">Patch #2 - 1996/1/7</A></H1>
8790This is my second patch to xterm.  It corrects most of the gcc warnings (except
8791for some that are due to X header files ;-).  I compared objects to keep track
8792of the changes that don't affect the object code (n/c) versus those that do.
8793<P>
8794At this point, I'm compiling (fairly) clean with gcc options
8795<PRE>
8796	-Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs
8797</PRE>
8798(I also compiled with -Wshadow, but while that found some things that I wanted
8799to find, there's far too many warnings from the X headers to be usable in this
8800context).
8801<P>
8802The changes:
8803<UL>
8804<LI>Tekproc.c:
8805<UL>
8806<LI>parenthesized expression to avoid gcc warning -- n/c.
8807
8808<LI>corrected nested-extern declaration for Bool
8809		  waiting_for_initial_map; ourTopLevelShellArgs, and
8810		  number_ourTopLevelShellArgs - n/c
8811
8812</UL>
8813<LI>charproc.c:
8814<UL>
8815<LI>corrected potentially-unintialized variables 'scstype', 'xim',
8816		  and 'input_style' -- changes object.
8817
8818<LI>adjusted logic of VTparse so that gcc won't warn about setjmp
8819		  clobbering parsestate -- changes object.
8820
8821<LI>corrected initialization of 'scstype', which could have been
8822		  clobbered by setjmp/longjmp - changes object.
8823
8824<LI>corrected nested-extern declaration of 'term', 'ProgramName'
8825		  - n/c
8826</UL>
8827
8828<LI>cursor.c:
8829<UL>
8830<LI>corrected nested-extern declaration of 'term' -- n/c
8831
8832<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
8833</UL>
8834
8835<LI>input.c:
8836<UL>
8837<LI>change interface of StringInput to assume size_t (i.e.,
8838		  unsigned) nbytes -- changes object.
8839
8840<LI>change interface of funcvalue, and sunfuncvalue to use
8841		  'KeySym' type instead of 'int' - changes object.
8842</UL>
8843
8844<LI>main.c:
8845<UL>
8846<LI>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h - n/c
8847
8848<LI>corrected missing params of 'do_hangup()' -- changes object
8849		  (note: the missing params were not used).
8850
8851<LI>corrected missing param of 'Error()' -- changes object
8852
8853<LI>corrected nested-extern 'environ' - n/c
8854
8855<LI>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' so
8856		  that gcc can see they won't be clobbered by the longjmp -
8857		  changes object.
8858
8859<LI>use Size_t type - n/c.
8860</UL>
8861
8862<LI>menu.c:
8863<UL>
8864<LI>removed redundant prototype for 'do_hangup()' -- n/c.
8865
8866<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c
8867</UL>
8868
8869<LI>menu.h:
8870<UL>
8871<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c
8872</UL>
8873
8874<LI>misc.c:
8875<UL>
8876<LI>corrected definition of 'HandleFocusChange()' -- changes
8877		  object
8878
8879<LI>cast parameters in call to 'TekExpose()' -- n/c
8880
8881<LI>corrected nested-extern declarations of 'term', 'toplevel',
8882		  ProgramName, and 'environ' -- n/c.
8883
8884<LI>use Size_t type - n/c.
8885</UL>
8886
8887<LI>proto.h:
8888<UL>
8889<LI>moved definition of SIGNAL_T (and SIGNAL_RETURN) here from
8890		  main.c, resize.c to allow use of this symbol in prototypes
8891		  (mostly in xterm.h).
8892
8893<LI>added definition 'Size_t' to use as corrected type for
8894		  strncpy, malloc sizes - n/c.
8895</UL>
8896
8897<LI>resize.c:
8898<UL>
8899<LI>moved SIGNAL_T definition to proto.h -- n/c.
8900
8901<LI>use Size_t type - n/c.
8902</UL>
8903
8904<LI>screen.c:
8905<UL>
8906<LI>use Size_t type - n/c.
8907</UL>
8908
8909<LI>tabs.c:
8910<UL>
8911<LI>corrected nested-extern declaration of 'term' -- n/c
8912</UL>
8913
8914<LI>util.c:
8915<UL>
8916<LI>corrected/supplied parameters to 'TekExpose()' -- changes
8917		  object (note:  'TekExpose()' doesn't use its parameters).
8918
8919<LI>corrected nested-extern declaration of
8920		  'waiting_for_initial_map' -- n/c.
8921
8922<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
8923</UL>
8924
8925<LI>xterm.h:
8926<UL>
8927<LI>prototype 'do_hangup()', 'HandleFocusChange()',
8928		  'TekExpose()', 'Error()', 'Exit()' - forces changes in
8929		  various places.
8930
8931<LI>adjusted prototypes that pass 'Boolean' arguments to use
8932		  'int' (this is the "correct" ANSI approach to extended
8933		  compiles; it's worth mentioning that gcc doesn't meet the
8934		  ANSI spec here).  I used gcc -Wconversion to find these, but
8935		  there's a lot of unrelated warnings that are due to setting
8936		  NARROWPROTO in the config - n/c.
8937
8938<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
8939</UL>
8940</UL>
8941<H1><A NAME="xterm_01">Patch #1 - 1996/1/6</A></H1>
8942This is my first cleanup patch for xterm.  It addresses all of the gcc warnings
8943for -Wall, -Wmissing-prototypes and -Wstrict-prototypes that I can change
8944without modifying the object code.  (I'm compiling this with gcc 2.7.0 for an
8945aout target, which makes it simple to compare objects.  When I do ELF-only,
8946I've got a tool that compares that sort of thing as well).
8947<P>
8948Briefly, this patch adds (and uses) two header files in the xterm directory:
8949<PRE>
8950	proto.h
8951	xterm.h
8952</PRE>
8953I expect this to be the biggest patch by far.  However (barring a misplaced
8954prototype), it shouldn't break anything, since the intent of the patch is to
8955provide missing declarations.
8956</BODY>
8957</HTML>
8958